142 Commits

Author SHA1 Message Date
Petr Skoda
f11f8ba27b MDL-23118 improved proxy forwarding setting docs 2010-07-07 15:44:51 +00:00
Eloy Lafuente
d440bcfa28 NOBUG fix typo causing problems using config-dist.php as base 2010-05-26 16:06:17 +00:00
Petr Skoda
554a3c4c4c fixed gnu version 2010-05-21 17:48:57 +00:00
Petr Skoda
b646340f0b fixed typo 2010-05-21 17:36:48 +00:00
Petr Skoda
3b5ff37f24 MDL-22546 removing dirroot from the config.php - this should finally solve the symbolic links issues because we know 100% what should be in $CFG->dirroot once we get into lib/setup.php, it is being initialised there automatically instead + more robust handling of dataroot + simplified config-dist.php and installer; the $CFG->admin is now visible only if admin directory can not be found; please note the old config.php's are still going to work, if admins remove the dirroot they have to add the __FILE__ into require_once lib/setup.php at the end of old config 2010-05-21 17:32:15 +00:00
Petr Skoda
12bb0c3ef5 MDL-22515 plugin settings can be forced now too + minor CFG init refactoring + get_config() cleanup 2010-05-19 13:30:13 +00:00
David Mudrak
e799e8192f Forgot to rename the string cache setting in config-dist.php 2010-05-18 06:07:05 +00:00
David Mudrak
f53fde9f47 MDL-22015 core_string_manager cache can be disabled by setting $CFG->disablelangdiskcache 2010-05-16 19:58:47 +00:00
Eloy Lafuente
2de3539b43 MDL-21432 backup - clean temps after execution 2010-04-29 18:30:17 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
David Mudrak
91ee8a67d6 config-dist.php: adding more settings and warnings for developers 2010-03-25 12:05:55 +00:00
David Mudrak
d0bf00e064 config-dist.php: new template for DB connection settings 2010-03-25 11:55:09 +00:00
David Mudrak
49da4a5fa8 MDL-18903 All outgoing emails can be diverted into a single address
This is highly useful when developing or debugging any emailing feature.
I am going to backport this after the end of the current Ice Age.
2010-03-25 01:29:02 +00:00
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
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