Commit graph

181 commits

Author SHA1 Message Date
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +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
mjollnir_
658837bb75 MDL-16523 - shortened admin mneu items for portfolio plugins 2008-09-16 08:10:24 +00:00
tjhunt
1d1ca5ef85 MDL-16457 Remove support for old-style filterconfig.html files 2008-09-11 10:22:22 +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
0d0999141b MDL-15402: fix some admin menu titles for repository 2008-09-04 07:36:53 +00:00
jerome
4f2b9a4fed MDL-15402: change repository_cache_expire common option default to 120 (minutes) 2008-09-03 09:53:35 +00:00
jerome
5a8ca18789 MDL-15402: add repository_cache_expire common option 2008-09-03 09:45:27 +00:00
jerome
a660039578 MDL-15402: new version of repository administration 2008-09-02 08:58:53 +00:00
jerome
e6be3a6987 MDL-13766: refactor all repository_instances() => repository_get_instances() 2008-08-28 05:30:19 +00:00
skodak
90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +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
tjhunt
ff4b9fcbb2 MDL-16170 - Improve naming of the plugins category in the admin menu.
Yes, I know I changed an existing language string, which is supposed to be wrong, but I changed it so that the string 'plugin' is now 'Plugin'. I just cannot see that as a wrong change.
2008-08-22 03:32:49 +00:00
dongsheng
04bd6d2def "MDL-13766, small changes to repository management" 2008-08-19 03:56:52 +00:00
mjollnir_
08d5e18bf8 MDL-15865 - fixed admin settings stuff for hidden plugins 2008-08-13 09:21:53 +00:00
dongsheng
4a65c39a46 MDL-15402, add admin setting page, to meet requirement, make some changes to repository base class. 2008-08-13 04:09:13 +00:00
mjollnir_
096166c232 MDL-15902 : disable portfolios by default 2008-08-12 13:55:51 +00:00
jerome
dc633c9900 MDL-15402 finally we decided that the repository activation will be done with capabilities, and that there is no need to have a administration page for enable/disable repository, neither sort, neither settings. In administration we will just be able to setup an instance for Moodle context. 2008-08-06 03:30:55 +00:00
jerome
c5d2d0dd7c MDL-15402 implementation of repositories administration. Administrator can hide/show/sort/setup repositories. This code has been commited in order to be used by FilePicker.
Because it's doing the same thing than the filter manager, the code is similar. Some generic code need to be done (filter and repository code should use the same function, and the current generic filter lib should be refactor, at least their name). Optimization of original code should also be done if necessary.
2008-07-31 06:01:12 +00:00
mjollnir_
a50ef3d34f MDL-15865 - admin portfolio settings are now a settingspage rather than an admin page. 2008-07-29 10:51:18 +00:00
mjollnir_
67a87e7db2 portfolio checkin-
see http://git.catalyst.net.nz/gw?p=moodle-r2.git;a=shortlog;h=refs/heads/portfolio for changelog

commit point is this hash on that branch: f9642af4e8bd319d4ecdfd83589db61a8fa6fef2

This comes with two plugins, box.net & download
2008-07-25 08:14:11 +00:00
skodak
823e64a78c MDL-14679 towards /admin/settings conversion 2008-05-31 09:54:12 +00:00
jamiesensei
c37415a08d MDL-14637 "allow activity modules to add sub menus of settings pages to admin menu" and MDL-14565 "allow quiz reports to add configuration settings to the admin tree" added a mechanism to admin/settings/plugins.php to allow modules to include a file settingstree.php instead of settings.php which will allow for more flexibility of what a module can add to the admin settings menu.
Merged from 1.9

Added a comment to the if branch that includes config.html that this branch needs to be deleted as soon as quiz/config.html has been migrated to settingstree.php which is MDL-7010
2008-05-09 06:12:57 +00:00
skodak
109e3cb281 MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE 2007-12-25 10:03:59 +00:00
skodak
01ca2df07a MDL-12690 use the same title for block in admin tree as in blocks manage page; merged from MOODLE_19_STABLE 2007-12-21 09:53:00 +00:00
skodak
5d4afe012d MDL-12678 moved pinned blocks setup page to Modules/Blocks/; merged from MOODLE_19_STABLE 2007-12-20 16:31:04 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00