128 Commits

Author SHA1 Message Date
Helen Foster
b0ccfc5ce8 config settings: MDL-16658 small rewording 2010-01-05 22:18:03 +00:00
Eloy Lafuente
5e934890c9 MDL-16658 restore - new restore:createuser cap + pre-check users before restoring; merged from 19_STABLE 2009-12-30 17:35:36 +00:00
Petr Skoda
73e504bca9 MDL-20799 renewed support for alternative theme dir location 2009-12-23 18:52:42 +00:00
Petr Skoda
5cc1e1eb75 MDL-18006 MDL-18807 MDL-20853 suggest some longer and better salt 2009-11-17 16:30:39 +00:00
Petr Skoda
9d975de438 MDL-18006 MDL-18807 MDL-20853 adding salt info into config-dist.php 2009-11-17 15:55:13 +00:00
Martin Dougiamas
29ba20ac04 backup/nopasswords MDL-20383 Backups are now never saved with user passwords unless the admin has defined $CFG->includeuserbackupsinpasswords in config.php (Merged from 1.9) Credits to Eloy 2009-11-17 05:58:24 +00:00
Petr Skoda
dfede59d62 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:10:07 +00:00
skodak
f1064cca78 MDL-19039 improved default frontpage role capability evealuation, needs to be manually enabled in config.php 2009-10-05 17:08:16 +00:00
samhemelryk
5afbd0e783 blocklib MDL-20207 Added $CFG->undeletableblocktypes and documented in config-dist 2009-09-11 06:00:32 +00:00
skodak
9c733e8621 MDL-19417 added timezone settings info 2009-08-17 08:10:13 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
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