Commit Graph

155 Commits

Author SHA1 Message Date
jerome mouneyrac 7886efc41e webservice MDL-20803 add switch to disable documentation, fix renderer call on login page, fix xhtml strict, add css file. TODO: use output render function to display tag, move all css style into the css file 2009-12-21 04:01:02 +00:00
Petr Skoda 78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Penny Leach edf1fc350a portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/* 2009-11-18 13:27:38 +00:00
Dongsheng Cai 99d5265525 "MDL-20602, added link external option in file picker" 2009-11-08 13:20:37 +00:00
Petr Skoda 11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
skodak 72977b3786 MDL-17135 moving all webservice and external API related admin UI to new directory, I did not expect there would be so many files, sorry for the trouble 2009-10-21 19:58:50 +00:00
jerome 4955481bf3 webservice MDL-17135 fix navigation (kudo to Sam) + trivial few changes 2009-10-20 06:34:46 +00:00
dongsheng e98a55c066 "MDL-20470, add an option to enable/disable filepicker button" 2009-10-14 03:11:48 +00:00
dongsheng 1a03384f5e "MDL-20470, rename formslib element name and add an option to turn the picker button on/off" 2009-10-13 08:31:50 +00:00
moodler da124b5e40 Fixed a spelling error protokol -> protocol 2009-10-13 06:16:06 +00:00
skodak cc93c7da15 MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days 2009-10-12 21:46:16 +00:00
dongsheng 92eaeca5c9 "MDL-20470, use a gloabl varible repositoryuseexternallink to make filepicker return the link instead of downloading to moodle file pool" 2009-10-07 10:16:45 +00:00
dongsheng 1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak a5747cf828 MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +00:00
dongsheng 5430f05b37 "MDL-18848, curl_cache is not specific to repository module any more" 2009-04-14 02:34:38 +00:00
tjhunt dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt 5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +00:00
tjhunt b810a4d3c9 filters: MDL-17684 Look for the filter name in filter_myfilter.php first.
This makes filters more plugginable, becuase with this lang file name, get_string will look for the filter name in filter/myfilter/lang/en_utf8/filter_myfilter.php.

To do this, there is a new function filter_get_name in filterlib that contains the logic.

Also, a new function filter_get_all_installed to replace the logic for getting all filters that was duplicated in three places.

filter_get_name no longer does such a nice fall-back if the name is missing, to encourage people to supply the right string. The fallback now looks like '[[filtername]] (filter/tidy)'.
2009-03-30 08:33:13 +00:00
tjhunt c5fce2fa76 admin reports: MDL-18134 Third-party admin reports not listed with the correct name.
Regression caused by MDL-17372.
2009-02-04 02:15:33 +00:00
skodak ab2eb65c88 MDL-17846 moved blocks code from /blocks/db/* to core 2009-01-10 21:06:53 +00:00
skodak 36641dd264 MDL-17372 fixed regression in 3rd party admin reports; merged from MOODLE_19_STABLE 2008-12-06 20:43:45 +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 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