Commit graph

314 commits

Author SHA1 Message Date
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
skodak
eb6a973cdf MDL-17847 moev backup_config to config_plugin table 2009-01-11 15:49:35 +00:00
skodak
db5af9346a MDL-16483 reverting changes done to admin/index.php, adding new /admin/report/unittest/test_tables script.php (not finished yet!) 2009-01-11 11:19:52 +00:00
skodak
3e46c66a5d MDL-17427 - removed old file based logging from ugprade - going to add new upgrade logging later 2009-01-11 10:18:53 +00:00
skodak
1caea91efb MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
skodak
ac110efc6f MDL-17845 removed install/upgrade autopilot - not needed any more ;-)
there are now only two upgrade pages, one for core, the second for all plugins
2009-01-10 22:13:12 +00:00
skodak
704f4cdb7a MDL-17845 moved blocks code from /blocks/db/* to core 2009-01-10 22:01:20 +00:00
skodak
ab2eb65c88 MDL-17846 moved blocks code from /blocks/db/* to core 2009-01-10 21:06:53 +00:00
skodak
27bd819be5 MDL-17848 oops, yet more cron compatibility fixes for console_write() ;-) I have added a new console_write_error() too 2009-01-10 20:44:45 +00:00
skodak
f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +00:00
jerome
041a4b0f09 admin MDL-17155 cURL functions called in adminlib.php: add checking for disable_functions php configuration option, merged from 19 2009-01-09 02:10:56 +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
skodak
1b813f5c2a MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup 2009-01-02 21:05:16 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
skodak
1a5b427e44 MDL-17589 fixed handling of missing caps in admin tree; merged from MOODLE_19_STABLE 2008-12-12 10:50:25 +00:00
tjhunt
92f008465c admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.
That was becuase not enough information was being passed in for the blocks editing controls to construct the right URL to reload the page.

It is also now possible for admin external pages to add some UI next to the turn blocks editing on/off button. For example, when you are editing the list of course catgories, the turn editing off button is now in the right place.
2008-12-11 09:21:41 +00:00
skodak
b63a6a6338 MDL-17372 admin reports: Added full plugin support for admin reports - fixed sorting regression, plugins now loaded as last category 2008-11-28 08:04:23 +00:00
skodak
95f0446147 MDL-17372 course reports: Added full plugin support for course reports 2008-11-27 20:30:14 +00:00
skodak
d994ced22b MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring 2008-11-26 19:27:39 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
tjhunt
941e427680 unittests: MDL-17367 Fix regressions caused when admin/report/simpletest was renamed to unittest. Why was this done anyway? Some explanation in MDL-17001 might be nice. 2008-11-23 11:39:41 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
1e8e46879c roles interface: Code reorganisation and adding boilerplate comments.
I have collected code that used to be in lib/adminlib.php, lib/accesslib.php and user/selector/lib.php into a new admin/roles/lib.php file.

And I added standard GPL and Moodle comments to all the files in admin/roles.
2008-11-13 04:07:01 +00:00
tjhunt
a6e7237adc roles explanation: MDL-13538 Make a table showing the result of has_capability for every capabiltiy in a context.
This implements the page showing the table. It is not yet integrated into the tab bar. To try this, go to an Assign roles page (one with URL .../admin/roles/assign.php?contextid=...) and change the 'assign' to 'explain'.
2008-11-12 07:55:09 +00:00
mudrd8mz
66439e36ce MDL-17094 Allow translators to disable automatic language update during Moodle upgrade.
One needs just add $CFG->skiplangupgrade = true; to their config.php and keep their language pack up-to-date manually. This is intended for lang pack maintainers with CVS access only.

This is backpported from MOODLE_19_STABLE admin/index.php
2008-10-31 21:11:46 +00:00
skodak
7da83e81af MDL-16029 extralocations deprecated 2008-10-25 17:52:38 +00:00
skodak
53b20fe35a MDL-16637 removing obsoleted spellchecker support 2008-09-23 15:12:07 +00:00
nicolasconnault
2d5b05c878 MDL-16486 Implemented test DB upgrade, needs further testing 2008-09-22 08:54:33 +00:00
nicolasconnault
23b967c648 MDL-16486 Activated autopilot for test table install/upgrade 2008-09-18 13:43:27 +00:00
tjhunt
1a41e80653 MDL-16564 upate javadocs. 2008-09-18 10:23:03 +00:00
tjhunt
7fb0303d89 MDL-16564 Make admin settings work better with the cnfig_plugins table.
Also, take the opportunity to take the quiz-specific stuff out of adminlib.php, to make Petr happy.
2008-09-18 09:55:04 +00:00
nicolasconnault
a5905c9975 MDL-16486 Fixed mistyped function call 2008-09-18 07:34:18 +00:00
jerome
edb50637d7 MDL-15402: remove has_multiple_instance(), API will know there is multiple instance if the function get_instance_option_names() return a not empty object. 2008-09-18 05:21:51 +00:00
jerome
1b79955a70 MDL-15402: refactor get_admin_option_names() into get_type_option_names() 2008-09-18 03:19:52 +00:00
jerome
06e65e1e67 MDL-15402: remove has_admin_config() and has_instance_config() from repository lib and all repository plugins 2008-09-18 02:36:17 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
mjollnir_
b816c08a3f MDL-16526 - added admin notifications for misconfigured portfolio plugins.
does not get triggered while admin is currently editing, only when users use it.
2008-09-16 19:09:30 +00:00
nicolasconnault
356e001031 MDL-16483 minor fixes 2008-09-16 16:40:15 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00