Commit Graph

787 Commits

Author SHA1 Message Date
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
mjollnir_ 0f71f48bcb MDL-14591 - added a get_name static method to portfolio plugins and use this as a default title for adding new instances.
also fixed a small bug in 'cleanup' function. nico - your flickr plugin is missing a string for the name
2008-09-02 16:21:14 +00:00
jerome a660039578 MDL-15402: new version of repository administration 2008-09-02 08:58:53 +00:00
skodak 552c374e80 MDL-16283 fixed notice; merged from MOODLE_19_STABLE 2008-08-31 20:45:10 +00:00
skodak 598b38f743 MDL-15635 library inclusion refactoring 2008-08-30 18:47:22 +00:00
mjollnir_ b91b274b92 MDL-16180 - add portfolio support to mnet 2008-08-30 11:25:29 +00:00
skodak 10f19c4925 MDL-15876 I hope the multicheckbox now works 100% :-) 2008-08-28 07:08:08 +00:00
jerome e6be3a6987 MDL-13766: refactor all repository_instances() => repository_get_instances() 2008-08-28 05:30:19 +00:00
skodak 8b4ca8f74e MDL-16208 fixed deleting of orphaned module tables 2008-08-26 06:54:43 +00:00
skodak 633239f619 MDL-16115 strict fixes for admin settings unmask field too 2008-08-26 06:41:37 +00:00
tjhunt e2249afe2b MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system. 2008-08-26 01:05:01 +00:00
mjollnir_ 31f3d99e45 MDL-15865 - fixing search for portfolio settings page 2008-08-22 16:17:30 +00:00
tjhunt 220a5c8721 MDL-16171 - Allow mdd/xxx/defaults.php to load data into the config_plugins table. 2008-08-22 06:38:54 +00:00
skodak bba0beaee2 MDL-15716 Tightened dataroot security checks and and 'loud' administrator warning 2008-08-21 15:29:42 +00:00
dongsheng 04bd6d2def "MDL-13766, small changes to repository management" 2008-08-19 03:56:52 +00:00
skodak 3f2b8c4129 MDL-16108 force autocomplete off for unmaskable password fields; merged from MOODLE_19_STABLE 2008-08-18 20:39:03 +00:00
skodak 775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00