353 Commits

Author SHA1 Message Date
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
tjhunt
1d00ec6a6a blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course. 2009-05-08 03:11:24 +00:00
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
f8b80dbd95 moodle_page: MDL-12212 completely remove the old tag and admin page classes 2009-05-06 09:11:07 +00:00
tjhunt
5ec434a9c2 moodle_page: MDL-12212 ->cm and ->activityrecord fields 2009-05-06 09:03:33 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
d7ab887938 moodle_page: MDL-14306 (part of MDL-12212) class name on body with ->category
If ->allowcategorythemes is set, includes all parent categories too
2009-05-06 08:46:48 +00:00
tjhunt
f230ce19ea moodle_page: MDL-12212 implement ->pagetype 2009-05-06 08:34:32 +00:00
tjhunt
c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
tjhunt
fb073f60ec adminlib: MDL-19038 lazy-load the list of users in admin_setting_users_with_capability 2009-05-01 10:32:12 +00:00
jerome
eef760748c repository MDL-15404 display instance number into the administration 2009-05-01 06:55:10 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
86b455cfc7 filters: MDL-7336 finish implementing delete on the admin page 2009-04-13 07:15:19 +00:00
tjhunt
5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +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
jerome
f7631e7397 web service MDL-12886 administration: implement settings for servers (add amf debug option) 2009-03-31 03:29:01 +00:00
tjhunt
b810a4d3c9 filters: MDL-17684 Look for the filter name in filter_myfilter.php first.
This makes filters more plugginable, becuase with this lang file name, get_string will look for the filter name in filter/myfilter/lang/en_utf8/filter_myfilter.php.

To do this, there is a new function filter_get_name in filterlib that contains the logic.

Also, a new function filter_get_all_installed to replace the logic for getting all filters that was duplicated in three places.

filter_get_name no longer does such a nice fall-back if the name is missing, to encourage people to supply the right string. The fallback now looks like '[[filtername]] (filter/tidy)'.
2009-03-30 08:33:13 +00:00
dongsheng
a774767903 "MDL-17966, fixed installation blocker, merged from 1.9" 2009-03-26 13:32:28 +00:00
dongsheng
b2bf016e1b "ADMINLIB/MDL-17966, overwrite write_setting to update settings instead execute sql execute in get_settings, this will not hurt performance, merged from 1.9" 2009-03-26 08:56:08 +00:00
dongsheng
145c285b43 "ADMINLIB/MDL-17966, update after writing settings, fix dml calls" 2009-03-26 02:39:35 +00:00
dongsheng
dbeb0aa7f2 "ADMINLIB/MDL-17966, update after writing settings, merged from 1.9" 2009-03-26 02:34:42 +00:00
dongsheng
ff601bf011 "ADMINLIB/MDL-17966, update after writing settings, merged from 1.9" 2009-03-26 02:25:46 +00:00
skodak
cb5f2411d7 MDL-17966 reverting previous commit, solution proposed in tracker 2009-03-24 11:01:45 +00:00
dongsheng
7719860b60 "ADMINLIB/MDL-17966, display changes saved in admin page, merged from 1.9" 2009-03-11 02:42:28 +00:00
tjhunt
de9c561ba9 admin setting: MDL-18485 Improve the display of defaults for admin_setting_text_with_advanced 2009-03-10 06:43:07 +00:00
dongsheng
8763ab760b "REPOSITORY, UPGRADE/MDL-18354, upgrade/install repository plugins using moodle hook" 2009-03-10 02:01:24 +00:00
jerome
386f206787 web service MDL-12886 fix capability name 2009-02-24 07:54:33 +00:00
jerome
d27c5d3383 web service MDL-17135 add moodle/site:usewebservice capability - display only web service users into administration page 2009-02-16 08:06:14 +00:00
jerome
24350e0625 Web service MDL-17135 add web services administration 2009-02-13 03:08:35 +00:00
tjhunt
3659fcaae6 Fix warnings and notices on plugin check page. 2009-02-02 04:42:07 +00:00
skodak
770f0cea30 MDL-17458 fixed headers used during installation 2009-02-01 17:45:32 +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
cd3acbf27e MDL-17850 support for customised site settings defaults in /local/defaults.php 2009-02-01 10:19:13 +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
skodak
db9d4a3d0a MDL-17427 moving upgrade code from adminlib to upgradelib + new upgrade logging functions 2009-01-29 21:17:52 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
18818abf4c MDL-17458 $CFG->rolesactive cleanup + other cleanup in upgrade code 2009-01-15 22:09:57 +00:00
tjhunt
67b0b2c5f4 admin settings: MDL-17877 Remember to pass u.id to get_users_by_capability. 2009-01-14 04:45:19 +00:00
skodak
301bf0b29c MDL-17878 new table for logging of changes in admin settings - only changes done through admin UI are logged 2009-01-13 19:02:00 +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
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
c20ce8742a MDL-17457 removed all statements from main install.xml, some more improvements 2009-01-12 19:36:59 +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
5c144d605e MDL-17845 now only one page per installs/upgrade :-D 2009-01-12 15:13:44 +00:00
skodak
73fa96d5d2 MDL-17854 removed PHP4isms from adminlib and friends 2009-01-11 16:42:19 +00:00