267 Commits

Author SHA1 Message Date
wildgirl
6f6b8f3f0f small fix: MDL-19268 thanks to Emanuel Delgado 2009-05-31 17:33:45 +00:00
tjhunt
86b5ea0f85 blocklib: MDL-19010 start of block_manager - get and set regions 2009-05-06 09:14:01 +00:00
skodak
fa4556c54f MDL-17458 prevent trailing whitespace problems in config.php 2009-03-28 15:15:22 +00:00
skodak
27d41812c3 MDL-17942 $CFG->respectsessionsettings obsoleted by db sessions - can not be used anymore 2009-01-18 17:37:56 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
84ebf08dcc MDL-16483 $CFG->unittestprefix not required anymore to run unit tests that do not need fake db; it should be saer to let admins modify the prefix in config.php instead of modifying it from php 2009-01-10 16:06:53 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
nicolasconnault
d27a349bfe MDL-16486 Improved interface, added permission warning and other minor fixes 2008-09-23 06:42:18 +00:00
skodak
c57e90153a MDL-15267 PHP5 strict object warning, whitespace fixes 2008-08-31 22:23:53 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
thepurpleblob
1ed96821e6 MDL-15476
Can now override the public key lifetime by specificying value
for $CFG->mnetkeylifetime in config.php

Merged from STABLE_19
2008-06-30 15:01:24 +00:00
dongsheng
c7126a3162 "MDL-14703, remove obsolete options, merged from MOODLE_19_STABLE" 2008-05-16 02:23:05 +00:00
dongsheng
1f86e80f0c "MDL-14538, remove duplicated settings, see tracker, merged from MOODLE_19_STABLE" 2008-04-30 03:55:11 +00:00
skodak
f4fa5a636c MDL-13483 adding noemailever info; merged from MOODLE_19_STABLE 2008-02-25 14:30:45 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
stronk7
4d248a2e80 New $CFG->xmldbreconstructprevnext setting to allow edition of XMLDB
out from the XMLDBEditor, ignoring the prev/next stuff, that will be
automatically regenerated by the Editor by simply loading and saving
the edited file. Credit goes to skodak!
2007-07-05 16:24:24 +00:00
moodler
3b36536185 Some fixes for copyright years etc 2007-06-27 07:24:24 +00:00
ikawhero
6f93e96c19 Config setting for the theme order priorities. 2007-05-03 07:39:27 +00:00
mjollnir_
c68e9d06f6 xmldb: added $CFG options for disabling next / previous value checkings & enforced comment checking. merged from mahara :) 2007-04-20 00:10:52 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
moodler
72df7e1ebd Merging $CFG->disablestatsprocessing from stable 2006-09-03 15:46:21 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler
418b4e5a5f Merged new variable $CFG->allowvisiblecoursesinhiddencategories from stable 2006-07-13 14:18:29 +00:00
skodak
b96f1ad6d5 fixed typo bug #4527 2006-04-23 23:16:02 +00:00
thepurpleblob
9ecf1c7727 Removed comments for global filter settings.
These now have a GUI option on the admin=>filters page
2006-03-20 15:06:10 +00:00
skodak
46b8113012 optional unicode characters and better conversion to ascii in function clean_file(); fixed textlib setup code; unicode related cleanup in config-dist.php
I am going to review the usage of clean_filename() now
2006-03-04 11:35:08 +00:00
skodak
af5be70cf2 Optional "Login as" password protection - please test, usage explained in config-dist.php 2006-03-03 20:33:38 +00:00
moodler
6b25f553cc Fixed some typos 2006-03-01 09:12:13 +00:00
moodler
880a6f6b7a Added a new config variable that will mail db connection errors to someone (eg admin) 2006-03-01 09:06:57 +00:00
ikawhero
9677eb79c5 Making custom scripts path generic so it is not forced to be in the
dataroot directory which is writable by the web server.
Path cleaned to avoid relative directory links.
2006-02-23 07:04:13 +00:00
thepurpleblob
286174bddf $CFG->filterall has a setting on the filters admin page, so isn't
needed in here any more.
2005-11-14 15:36:01 +00:00
mjollnir_
243a4e75b8 New 404 handler for a custompix fallback 2005-09-30 00:39:58 +00:00
moodler
18259d4fd3 Adding the capability to replace existing scripts with customised versions.
See config-dist.php for more info.

Will add an admin interface for this later.

Shane.
2005-07-14 15:35:23 +00:00
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