134 Commits

Author SHA1 Message Date
skodak
c781942f1a merged from MOODLE_15_STABLE 2005-07-04 17:03:58 +00:00
thepurpleblob
220776acdd Merged from STABLE 2005-06-20 09:15:30 +00:00
martinlanghoff
bd10cc11f2 Apache log integration -- moved documentation to config-dist.php. 2005-05-17 04:13:29 +00:00
martinlanghoff
5c5c16bb98 Apache log integration -- updated with more options to control what is logged as username. Implemented by Patrick Li. 2005-05-17 04:03:48 +00:00
stronk7
e55b73fdb7 Some tabs are out! 2005-05-16 19:03:07 +00:00
thepurpleblob
88fea1ca34 Added variable $CFG->disablemycourses 2005-05-13 08:56:31 +00:00
mjollnir_
acd2279e54 Merged from MOODLE_14_STABLE: SQL errors are now (optionally -- defaults to off) logged to the apache error log. Helps debugging! Credit: Patrick Li <patrick@catalyst.net.nz> 2005-05-11 23:34:46 +00:00
moodler
4c20222852 A quick hack to allow anonymising of all names.
You can make everyone have the name "Bruce" if you want.   }-)
2005-05-10 06:18:30 +00:00
martinlanghoff
853df85e56 Performance/footprint profiling patch complete -- is enabled by CFG->default>7 or by a few defines in your config.php. 2005-04-07 00:11:28 +00:00
stronk7
a06967fdb9 Added support for $CFG->filtermatchoneperpage, allowing a phrase
to be linked only once in the entire page.
2005-03-21 23:47:21 +00:00
moodler
57f781f733 Changed variable name because Eloy has plans for $CFG->filtermatchoneperpage :-) 2005-03-21 08:37:43 +00:00
moodler
9d5ef89280 So $CFG->filtermatchfirstonly isn't forgotten 2005-03-20 17:13:50 +00:00
moodler
ce5e431b60 $CFG->preferlinegraphs will make graphs use lines instead of bars 2005-03-20 09:15:53 +00:00
moodler
1ac7ee24d7 CFG->nofixday can override the ficing of day format in userdate 2005-03-10 14:10:21 +00:00
moodler
5fd1a5d81f Cleaned up this file a bit, was getting messy! 2005-03-05 18:13:44 +00:00
martinlanghoff
f93426cf07 Merged from MOODLE_14_STABLE - Added option to respect php.ini session settings, else we reenable garbage collection for sessions. Fixes stale session problems with Debian systems, but still allows package maintainers to override. 2005-02-13 22:54:25 +00:00
mjollnir_
bb64b51aa3 First cut of email to module (or core) processing.
This patch contains:

* email_to_user will set the envelope sender to a special bounce processing address (based on $CFG settings)
* email_to_user will accept (and set) a reply-to header, to be generated by the module calling the function.

* new functions:

	* generate_email_processing_address - ALWAYS use this to generate the reply-to header. reply-to header will look like this:

	(LIMIT: 64 chars total)
	prefix - EXACTLY four chars
	encodeded, packed, moduleid (0 for core) (2 chars)
	up to 42 chars for the modules to put anything they want it (can contain userid (or, eg for forum, postids to reply to), or anything really. 42 chars is ABSOLUTE LIMIT)
	16 char hash (half an md5) of the first part of the address, together with a site "secret"

	* moodle_process_email - any non-module email processing goes here (currently used for processing bounces)

* bounce handling:

	* config settings for bounce threshold and ratio (and whether to handle bounces at all)
	* if too many bounces occur against any given user, user_not_fully_set_up will force an email address change
	* associated functions (over_bounce_threshold, set_send_count, set_bounce_count)

* handling emails to noreply address (see below)

* new script - admin/process_email.php

	This script needs to be called from your mail program for anything starting with the 4 char prefix described above (and optionally, the noreply address)
	It will bounce emails to the noreplyaddress, with a friendly "this is not a real email address" message

	It will break down and unencode the email address into moduleid and validate the half md5 hash, and call $modname_process_email (if it exists). Arguments to these functions are: $modargs (any part of the email address that isn't the prefix, modid or the hash) and the contents of the email (read from STDIN).

* associated string changes/additions

* changes in config-dist.php to give clues as to how to set this up.

MODULE WRITERS!

take a look at new functions moodle_process_email and generate_email_processing_address  in moodlelib.php for ideas about how to

	* encode and unencode the arguments your module needs to do the processing
	* how to deal with multiple "actions" for any given module.

Martin Langhoff <martin@catalyst.net.nz> will be writing up some PROPER documentation, containing amongst other things config settings for different mail servers (this was developed against Postfix).  Feel free to email me with any feedback on the code or design, penny@catalyst.net.nz.  Or post on the developer fourm.
2005-02-08 02:57:14 +00:00
moodler
d99bab2d1d Some changes that may help on safe mode ... see bug 2093
The new directory permissions maintain group mode better,
and the manual chown is now removed to prevent safe mode
from getting upset.
2004-12-26 14:45:39 +00:00
moodler
366dfa6090 New config variable $CFG->tracksessionip will force Moodle to always
check that the user's IP number never changes
2004-09-27 14:35:37 +00:00
moodler
21f0148566 Two new config variables allow certain email addresses to be allowed or not. 2004-09-06 04:38:40 +00:00
mchurch
3eecaaf46d Added new config directives for default block functions. 2004-09-03 20:11:20 +00:00
moodler
9a3936a95e Merged loginhttps config from stable 2004-08-31 08:41:26 +00:00
gustav_delius
6b29ba6071 added $CFG->filelifetime to config-dist.php 2004-08-22 17:52:21 +00:00
moodler
3d3cb923b1 Formatting 2004-08-21 14:32:57 +00:00
julmis
d4cc7e31b3 Fixed paths for aspell setting. 2004-08-21 14:22:16 +00:00
julmis
eb2042f685 Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
8a33e3717d Based on code from Janne - this allows secure logins via https
$CFG->loginhttps

After logging in via https, Moodle returns to a normal http URL


More info:  http://moodle.org/mod/forum/discuss.php?d=8555
2004-06-19 16:13:28 +00:00
moodler
5ec98a94c3 Latest settings in config-dist.php (removed some) 2004-05-24 07:43:09 +00:00
gustav_delius
7f21ed0a08 Changed example for dirroot which must not contain capital letters 2004-05-23 18:55:20 +00:00
moodler
c9ca1fa5a1 A new option (off by default) will remove restrictions on usernames.
$CFG->extendedusernamechars
2004-05-15 07:30:31 +00:00
moodler
c81c6d0e34 Document $CFG->forceloginforprofiles 2004-05-03 14:57:11 +00:00
moodler
cec0a0fc30 New developmental setting to force UTF for the whole server
Plus, some optimisation on the way encoding is stored (in the session).
2004-04-27 13:57:46 +00:00
moodler
1e55ed2610 More details 2004-03-12 07:34:14 +00:00
moodler
aebaf90462 Changed default value for DB persistence 2004-03-12 07:30:34 +00:00
moodler
c6b456f66d Fixed some years 2004-03-10 13:21:12 +00:00
moodler
7758d00f97 New "secret" variable 2004-02-18 03:31:45 +00:00
moodler
609a2b13b7 SOme info about $CFG->filterall 2004-02-17 06:33:04 +00:00
moodler
9284861420 Updated config-dist.php since options have moved out of it 2004-02-10 05:06:12 +00:00
moodler
d363047eb0 TEXT CACHING
------------

I have a site which really needs this, so I went ahead with it already.

This add-on will cache formatted texts in the database and use them
for a specified timeperiod.

By default it is disabled.   Enable it with:

  $CFG->cachetext = 600;   // in seconds
2004-02-09 12:27:34 +00:00
moodler
21d1d0773b Added some documentation about a few preferences that are only in config.php
right now.
2004-02-08 14:27:54 +00:00
gustav_delius
6077020a60 got rid of bad line endings 2004-01-30 14:50:03 +00:00
moodler
e6ce0cb9f3 Undoing some wacko formatting ... What were you trying to do, Gustav? 2004-01-26 16:55:37 +00:00
gustav_delius
09b78a6b3d removed empty lines, which for example messed up the display of the license terms 2004-01-25 19:05:09 +00:00
moodler
2646460c6e Fixed up some examples 2003-12-07 13:49:51 +00:00
moodler
1e8ac0541b No need for useneweditor anymore 2003-11-03 16:13:59 +00:00
moodler
4c46c425db Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext

To enable the new editor, add this line into config.php:

  $CFG->useneweditor = true;
2003-10-29 08:06:11 +00:00
moodler
e67b9e31e5 NEW EXPERIMENTAL FEATURE: text filters.
This new feature allows arbitrary text filters to be added to
any HTML that is printed (forum posts, resources etc) ... anything
that uses the standard format_text function.

The first one properly supported is the glossary dynamic linking
feature.
2003-10-13 14:11:17 +00:00
moodler
5704a98da7 Some docs for PostgreSQL sockets users (see bug #749) 2003-09-14 17:50:07 +00:00
moodler
42b76b11bd Slightly different way of doing this to avoid problems with error_reporting
not working.
2003-09-01 12:07:06 +00:00
moodler
f7a6049e57 Checking in the include error code in again, with improvements
The problems I thought were happening were in fact another problem
on someone's installation (missing files).  This code now checks
for that too.
2003-05-26 01:54:11 +00:00