503 Commits

Author SHA1 Message Date
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
skodak
91b59e05ed MDL-16491 fixed typos, versions were not saved in upgrade savepoints 2008-09-14 07:39:41 +00:00
tjhunt
1d1ca5ef85 MDL-16457 Remove support for old-style filterconfig.html files 2008-09-11 10:22:22 +00:00
tjhunt
d849880e56 MDL-16411 Move all plugintype_pluginname_version values from config to config_plugins 2008-09-10 10:15:05 +00:00
jerome
d9dc2150ae MDL-15402: display title attribut for show/hide image in the repository administration 2008-09-10 04:12:42 +00:00
mjollnir_
bee4bce2a9 MDL-15833 - provide helper functions to determine expected time, and allow admins to set thresholds. 2008-09-09 08:57:51 +00:00
tjhunt
b032b49099 MDL-16348 Reorganise admin tree:
* New Capability report put under Users -> Permissions
* Miscellaneous category renamed to Development
* Unit tests and Functional DB test moved to be under Development.
* The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files.
* There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

There was already a way for admin report plugins to control where they appeared in the tree, but it was not documented, so see http://docs.moodle.org/en/Development:Admin_reports
2008-09-08 11:32:31 +00:00
jerome
faaa613d99 MDL-15404: fix few bugs in repository administration, add a beta version of the course repository list 2008-09-05 06:30:18 +00:00
jerome
4d5948f1ac MDL-15402: Repository admin: separate operations in three columns, change small icons into bigger icon and texts. Change Create instance link as a Create instance button. 2008-09-04 07:03:01 +00:00
jerome
48a065f203 MDL-15402: dimmed text when plugin type is hidden 2008-09-04 03:41:23 +00:00
jerome
5a8ca18789 MDL-15402: add repository_cache_expire common option 2008-09-03 09:45:27 +00:00
jerome
0fc5247c5f MDL-15402: fix XHTML for repository admin pages + don't use anymore deprecated functions print_simple_box_xxx() 2008-09-03 08:45:14 +00:00