298 Commits

Author SHA1 Message Date
skodak
0646607098 MDL-19962 automatic regeneration of the sessio nid during each login; merging unused lang strings 2009-08-06 13:25:21 +00:00
mits
7b35381084 MDL-19944 Removed duplicate "enable guest access". 2009-07-27 21:18:59 +00:00
skodak
360dde50ba MDL-19943 new debug optiosn for validators link and page info in footer 2009-07-27 20:36:28 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +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
nicolasconnault
2ad4090ed7 MDL-19467 Fixed one of Tim's typos and added a language string for URL 2009-06-30 05:49:58 +00:00
tjhunt
42fafd4b57 debug / lang string: MDL-19467 Debugging option to show where each lang string came from.
New option on Administration -> Server -> Debugging called
'Show origin of languages strings' ($CFG->debugstringids).

If this is set, get_string will add the name of the lang file and the id of the string
to each string it gets, so instead of returning 'No', it will return '{No admin/checkboxno}'.
2009-06-30 01:59:48 +00:00
wildgirl
a0ebed93a2 admin lang string: MDL-17022 small rewording 2009-06-24 13:19:17 +00:00
skodak
b004fca172 MDL-18976 simplexml ext now marked as required, credit goes to Dan Poltawski 2009-06-03 21:15:47 +00:00
skodak
cfe3321562 MDL-19352 maintenance mode reimplemented - now using$CFG + cli script 2009-06-03 08:23:05 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
926378ce4d MDL-15249 localized cli upgrade 2009-05-31 12:39:16 +00:00
skodak
b8523467c7 MDL-15249 towards localized cli installer 2009-05-30 19:02:04 +00:00
skodak
c31d94e8ba MDL-15249 towards localized cli installer 2009-05-30 17:14:24 +00:00
moodler
c159f28b6b filter/mediaplugin MDL-19006 Add auto-embedding of images that are linked to. 2009-04-29 07:30:41 +00:00
dongsheng
5430f05b37 "MDL-18848, curl_cache is not specific to repository module any more" 2009-04-14 02:34:38 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
tjhunt
456c8cc738 filters: MDL-7336 redo global settings page to use the new libs
Note: ->stringfilters update not done yet.
2009-04-13 07:03:32 +00:00
tjhunt
a8be3f4287 qtype admin: sort lang file properly 2009-04-07 05:16:38 +00:00
fmarier
c65ab2be95 Password policy: MDL-17602 new "max consecutive identical characters" setting 2009-04-03 02:22:52 +00:00
dongsheng
f54217e0c5 "MDL-13224, language string for mymoodle options" 2009-04-02 03:32:10 +00:00
skodak
c6e1d6af3f MDL-18540 fixing "extra" memory strings 2009-03-30 17:09:39 +00:00
dongsheng
7022dd3930 "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9" 2009-03-26 02:09:28 +00:00
poltawski
3ad2bfedfc Fix 'progile' typo MDL-18312
merged from MOODLE_19_STABLE
2009-03-25 09:46:12 +00:00
tjhunt
c468795ce9 switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
stronk7
16fcfc720a MDL-18468 Adding admin experimental option to enable split on restore. Thanks for string cleanup, Helen.
Merged from 19_STABLE (more or less)
2009-03-09 23:43:39 +00:00
skodak
ad0cf519df MDL-18223 merging missing strings from MOODLE_19_STABLE 2009-02-17 22:49:51 +00:00
skodak
ff08798b11 MDL-11313 merged strings into HEAD (will not be used there) 2009-02-17 22:25:13 +00:00
jerome
24350e0625 Web service MDL-17135 add web services administration 2009-02-13 03:08:35 +00:00
skodak
f404df92b1 MDL-18153 fixed typo - thanks Nicolas Martignoni 2009-02-07 22:15:15 +00:00
mits
3b818618cf Fixed typo: 'please neable it' -> 'please enable it' 2009-02-02 23:33:44 +00:00
skodak
58045d100f MDL-10275 fixed string case 2009-02-01 16:36:54 +00:00
skodak
c808379ef8 MDL-10275 moved the rest of environment tests from install.php to admin/index.php; please note that there is no need to update installer lacg packs becuase install.php will not have environment checks anymore soon ;-) 2009-02-01 16:20:59 +00:00
mits
a825fec763 Fixed html closing <p> tags. 2009-02-01 16:16:13 +00:00
skodak
fbf2c91e43 MDL-10275 added fatal PHP config setting test on each page, replaces some tests done in installer 2009-02-01 13:37:42 +00:00
skodak
795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
skodak
88582df496 MDL-17458 refactored guest and admin user creation + refactored roles install + added protection for installation hijacking + added reliable session test right before editting of admin account 2009-01-29 22:54:41 +00:00
dongsheng
56f68fcff4 "MDL-17864, remove all styles in language pack" 2009-01-16 04:21:49 +00:00
moodler
8a9b7606e9 lang fix MDL-12886 Updated description of web services to explain what they are ;-) 2009-01-16 02:48:05 +00:00
jerome
884f46c926 web service MDL-12886 add web services settings into admin 2009-01-15 08:18:00 +00:00
dongsheng
beeee4d21d "MDL-17747, add max category depth setting, merged from 1.9" 2009-01-14 04:48:22 +00:00
skodak
1c82b3f2d9 MDL-17458 fixed some buttons and upgrade strings 2009-01-13 11:40:43 +00:00
skodak
61f9c4b4f4 MDL-17868 detection of incorrect hadnling of floats in version numbers - this should prevent dataloss in case it does not work as expected; merged from MOODLE_19_STABLE 2009-01-13 09:04:09 +00:00
tjhunt
4413941fee course requests: MDL-6160 clean up admin option for choosing who is notified. Merged from MOODLE_19_STABLE.
Also, change the 'notifyloginfailures' setting to use the same sort of admin setting type.
2009-01-08 07:07:00 +00:00
ikawhero
410fc5a24d MDL-17791 Can make a link from user data when adding a new custom user
profile text field
2009-01-06 07:31:26 +00:00
dongsheng
6bfc7fd579 "MDL-17747, Add Max category depth as a configuratble setting to the site settings, merged from 1.9, credit goes to Jason Hardin" 2009-01-06 06:52:53 +00:00
skodak
b20c631896 MDL-17203 hash salt added to calendar export 2008-12-31 15:50:46 +00:00
skodak
dbf9d4cb37 MDL-17203 new option for disabling of calendar export 2008-12-31 14:10:44 +00:00
stronk7
0d125cbe1b MDL-17009 restore of mnet users - order some recently added strings and add 1 more. Merged from 19_STABLE 2008-12-18 00:23:17 +00:00