Commit graph

2439 commits

Author SHA1 Message Date
jerome
1b79955a70 MDL-15402: refactor get_admin_option_names() into get_type_option_names() 2008-09-18 03:19:52 +00:00
tjhunt
80f1f76e50 MDL-16411 - fix qtype admin page to look in the new place for version numbers. 2008-09-18 02:46:06 +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
nicolasconnault
b2313a2abe MDL-16177 2008-09-16 18:57:01 +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
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +00:00
mjollnir_
658837bb75 MDL-16523 - shortened admin mneu items for portfolio plugins 2008-09-16 08:10:24 +00:00
nicolasconnault
31355d28c1 MDL-15666 MDL-16486 2008-09-16 07:33:16 +00:00
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +00:00
jerome
b8f46e17de MDL-15402: fix a bug with parameter in the delete URL (wrong cleaning setting) + move flickr public email address setting from admin to instance 2008-09-15 09:21:29 +00:00
tjhunt
fa7bec7bef Turn off strict XML headers during upgrade, so if an error occurrs, you are more likely to be able to see what happened. 2008-09-15 04:21:15 +00:00
tjhunt
61d04bcc46 MDL-15632 Wrong permission in the admin tree defininition mean that people with moodle/role:manage could not define role, and people with moodle/role:assign could not assign system roles. 2008-09-12 05:18:27 +00:00
tjhunt
c861c8ac82 MDL-6751 improve the usability of the page a bit. 2008-09-11 11:07:04 +00:00
tjhunt
4b600aa005 MDL-16410 Implement the delete question type functionality on the question type administration screen. 2008-09-11 11:01:20 +00:00
tjhunt
0dc48e7132 MDL-16456 Remove support for old-style config.html files in modules. 2008-09-11 10:25:30 +00:00
tjhunt
1d1ca5ef85 MDL-16457 Remove support for old-style filterconfig.html files 2008-09-11 10:22:22 +00:00
tjhunt
e6b6b2bb73 MDL-14129 missing language string. 2008-09-11 08:49:42 +00:00
nicolasconnault
7a8977d5fb MDL-15666 MDL-16177 Fixed pgsql bug 2008-09-10 15:14:44 +00:00
tjhunt
bdff6b85d9 MDL-16409 - Finish the report. 2008-09-10 05:34:09 +00:00
nicolasconnault
74cd7b9303 MDL-15666 chat module caller tests and generation 2008-09-09 14:04:29 +00:00
nicolasconnault
3b19b67cd8 MDL-15666 adding data mod tables to list of tables to clean up 2008-09-09 13:01:23 +00:00
nicolasconnault
f968a736cf MDL-15666 database module caller unit test working (get_sha1 only) 2008-09-09 12:49:32 +00:00
nicolasconnault
2341547ccc MDL-15666 Fixed some fatal errors in database generation 2008-09-09 10:17:48 +00:00
tjhunt
3041a0dfed MDL-16409 Make a new admin report to list all questions of a particular type, by context
Partially done. This has the settings form, and queries the database for the right data, but does not format it correctly yet.
2008-09-09 10:16:17 +00:00
tjhunt
89ee3c7937 MDL-16348 - followup - prevent debug output when logged in as a non-admin. Thanks to Mat for ponting this out. 2008-09-09 09:35:54 +00:00
nicolasconnault
d5849d59ae MDL-15666 Added database and forum caller unit tests 2008-09-09 09:17:49 +00:00
tjhunt
c465505849 MDL-16343 - followup - HTML Strict! 2008-09-09 09:11:57 +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
8df9635465 MDL-16408 Improve counting of questions of a missing type. 2008-09-09 08:57:13 +00:00
tjhunt
03f3db97c3 MDL-16413 admin/report/question no longer needed in head since we no longer support upgrades from before 1.9 2008-09-09 08:47:49 +00:00
tjhunt
315d88b43f MDL-16343 - followup - remove one unused line of code. 2008-09-09 08:31:41 +00:00
tjhunt
0a82a1bbc4 MDL-14637 Allow modules to have a settingstree.php when they want to do something more complex that just settings.php - needs to be supported in modules.php too.
Also remove support for the old config.php here, since it has been removed everywhere else too.
2008-09-09 08:30:54 +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
tjhunt
f608aa031b Tab -> spaces 2008-09-08 07:11:13 +00:00
tjhunt
1ea118e4bd MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden. 2008-09-08 07:01:41 +00:00
nicolasconnault
f8d99d77f4 MDL-15666 Unit tests for Forum portfolio callers now passing. But I'm getting intermittent errors from the generator, a problem with contexts during forum generation. Please ignore for now. 2008-09-06 14:29:58 +00:00
nicolasconnault
d799878128 MDL-15666 Generator fixed. Ready for forum portfolio caller testing 2008-09-06 13:34:37 +00:00
nicolasconnault
6511446349 MDL-15666 Fixed error that caused blank page in unit test. Including generator library. Partly fixed generator. 2008-09-06 11:24:57 +00:00
tjhunt
88f94e5882 Fix deprecated print_simple_box calls. 2008-09-05 07:44:07 +00:00
tjhunt
bfaf310fe9 Fix deprecated print_simple_box calls. 2008-09-05 07:26:01 +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
nicolasconnault
eb32c6ca84 MDL-15666 minor fixes to assignment portfolio callers, additional param for generator (assignment type), and unit tests for sha1 2008-09-04 13:25:16 +00:00
jerome
0d0999141b MDL-15402: fix some admin menu titles for repository 2008-09-04 07:36:53 +00:00
jerome
01ecb25bc9 MDL-15402: when has_admin_config is false, do not display an empty admin config page during type creation. 2008-09-04 04:58:33 +00:00
jerome
47dafef79a MDL-15402: if a type has no multiple instances and cannot configure an instance, so do not display the list of instance for this type. 2008-09-04 02:15:30 +00:00
jerome
46dd6bb0cf MDL-15402: delete a type now delete all its instances, fix confirmation xhtml and message, change save label buttons, repository_get_instances() return now all instances if no context is defined 2008-09-03 11:02:25 +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