]> git.mjollnir.org Git - moodle.git/log
moodle.git
16 years agoAccessibility: MDL-17705: Thanks Tim
danmarsden [Mon, 22 Dec 2008 07:03:09 +0000 (07:03 +0000)]
Accessibility: MDL-17705: Thanks Tim

16 years agoadmin tree: MDL-13104 - fix another external page so there are not problems when...
tjhunt [Mon, 22 Dec 2008 03:16:57 +0000 (03:16 +0000)]
admin tree: MDL-13104 - fix another external page so there are not problems when you click the blocks editing on/off button.

16 years ago"MDL-17381, language file for repository module"
dongsheng [Mon, 22 Dec 2008 02:46:13 +0000 (02:46 +0000)]
"MDL-17381, language file for repository module"

16 years ago"MDL-17381, first working wikemedia plugin"
dongsheng [Mon, 22 Dec 2008 02:44:18 +0000 (02:44 +0000)]
"MDL-17381, first working wikemedia plugin"

16 years agoUpdated the HEAD build version to 20081222
moodlerobot [Sun, 21 Dec 2008 23:51:32 +0000 (23:51 +0000)]
Updated the HEAD build version to 20081222

16 years agoXHTML Striiict:MDL-17705
danmarsden [Sun, 21 Dec 2008 22:28:58 +0000 (22:28 +0000)]
XHTML Striiict:MDL-17705

16 years agotypo:MDL-17719 - thanks Nicolas Martignoni
danmarsden [Sun, 21 Dec 2008 21:27:28 +0000 (21:27 +0000)]
typo:MDL-17719 - thanks Nicolas Martignoni

16 years agotypo:MDL-17720 - thanks Nicolas Martignoni
danmarsden [Sun, 21 Dec 2008 21:23:55 +0000 (21:23 +0000)]
typo:MDL-17720 - thanks Nicolas Martignoni

16 years agoAutomatic installer.php lang files by installer_builder (20081222)
moodlerobot [Sun, 21 Dec 2008 16:31:29 +0000 (16:31 +0000)]
Automatic installer.php lang files by installer_builder (20081222)

16 years agoAdding kk_utf8 to installer langs.
stronk7 [Sun, 21 Dec 2008 16:02:16 +0000 (16:02 +0000)]
Adding kk_utf8 to installer langs.

16 years agoMDL-6467 add "swf" and "flv" to the list of files for which relative urls are convert...
gbateson [Sun, 21 Dec 2008 01:49:16 +0000 (01:49 +0000)]
MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls

16 years agoUpdated the HEAD build version to 20081221
moodlerobot [Sat, 20 Dec 2008 23:56:38 +0000 (23:56 +0000)]
Updated the HEAD build version to 20081221

16 years agoMDL-16184 - patch to correct the calculation of first, and last access to a SCORM...
piers [Sat, 20 Dec 2008 06:20:43 +0000 (06:20 +0000)]
MDL-16184 - patch to correct the calculation of first, and last access to a SCORM attempt.

16 years agoUpdated the HEAD build version to 20081220
moodlerobot [Fri, 19 Dec 2008 23:53:03 +0000 (23:53 +0000)]
Updated the HEAD build version to 20081220

16 years agoMDL-15499 Fix to conditional availability: list of activities for completion included...
sam_marshall [Fri, 19 Dec 2008 12:19:36 +0000 (12:19 +0000)]
MDL-15499 Fix to conditional availability: list of activities for completion included those with completion turned off

16 years agoMDL-15499 Fix to warning from conditional availability changes
sam_marshall [Fri, 19 Dec 2008 12:02:10 +0000 (12:02 +0000)]
MDL-15499 Fix to warning from conditional availability changes

16 years agoMDL-15499 Fixes to conditional availability restore (still not tested in HEAD as...
sam_marshall [Fri, 19 Dec 2008 11:55:41 +0000 (11:55 +0000)]
MDL-15499 Fixes to conditional availability restore (still not tested in HEAD as restore is broken in general, but based on a version that now works in 1.9)

16 years agoMDL-15499 Minor fix to conditional activity form display in IE
sam_marshall [Fri, 19 Dec 2008 11:33:28 +0000 (11:33 +0000)]
MDL-15499 Minor fix to conditional activity form display in IE

16 years agoMDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499)
sam_marshall [Fri, 19 Dec 2008 10:59:36 +0000 (10:59 +0000)]
MDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499)

16 years agoMDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499)
sam_marshall [Fri, 19 Dec 2008 10:51:33 +0000 (10:51 +0000)]
MDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499)

16 years agoMDL-17694: very small stickyblocks improvements (Merged from MOODLE_19_STABLE)
mjollnir_ [Fri, 19 Dec 2008 09:49:33 +0000 (09:49 +0000)]
MDL-17694: very small stickyblocks improvements (Merged from MOODLE_19_STABLE)

16 years agoMDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields...
mjollnir_ [Fri, 19 Dec 2008 08:56:25 +0000 (08:56 +0000)]
MDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields to return. These are used by messaging/emailing. (Merged from MOODLE_19_STABLE)

16 years agoMDL-17692: count_role_users now accepts an int or an array of ints for roleid - this...
mjollnir_ [Fri, 19 Dec 2008 08:45:44 +0000 (08:45 +0000)]
MDL-17692: count_role_users now accepts an int or an array of ints for roleid - this is now consistent with get_role_users. (Merged from MOODLE_19_STABLE)

16 years ago"FILTER/MDL-14582, filters 2.0, compatible with old filters"
dongsheng [Fri, 19 Dec 2008 02:16:00 +0000 (02:16 +0000)]
"FILTER/MDL-14582, filters 2.0, compatible with old filters"

16 years agouser tabs MDL-17472 Fixed a regression where the $secondrow variable of forum posts...
moodler [Fri, 19 Dec 2008 01:47:32 +0000 (01:47 +0000)]
user tabs MDL-17472 Fixed a regression where the $secondrow variable of forum posts was being wiped out (See also MDLSITE-594)

16 years agoUpdated the HEAD build version to 20081219
moodlerobot [Thu, 18 Dec 2008 23:54:02 +0000 (23:54 +0000)]
Updated the HEAD build version to 20081219

16 years agoMDL-17556: Improve performance of get_fast_modinfo when courses have many activities
sam_marshall [Thu, 18 Dec 2008 17:52:29 +0000 (17:52 +0000)]
MDL-17556: Improve performance of get_fast_modinfo when courses have many activities

16 years agoMDL-15499 - Spacing fixes only
moodler [Thu, 18 Dec 2008 02:46:25 +0000 (02:46 +0000)]
MDL-15499 - Spacing fixes only

16 years agoMDL-17009 restore of mnet users - order some recently added strings and add 1 more...
stronk7 [Thu, 18 Dec 2008 00:23:17 +0000 (00:23 +0000)]
MDL-17009 restore of mnet users - order some recently added strings and add 1 more. Merged from 19_STABLE

16 years agoMDL-17009 restore of mnet users - Automatic switching of remote users (unknown host...
stronk7 [Thu, 18 Dec 2008 00:20:51 +0000 (00:20 +0000)]
MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. Merged from 19_STABLE

16 years agoUpdated the HEAD build version to 20081218
moodlerobot [Wed, 17 Dec 2008 23:55:28 +0000 (23:55 +0000)]
Updated the HEAD build version to 20081218

16 years agoMDL-17009 restore of mnet users - New lang strings. Merged from 19_STABLE
stronk7 [Wed, 17 Dec 2008 23:39:28 +0000 (23:39 +0000)]
MDL-17009 restore of mnet users - New lang strings. Merged from 19_STABLE

16 years agoMDL-17009 restore of mnet users - Prevent teachers to restore this type of backups...
stronk7 [Wed, 17 Dec 2008 23:36:10 +0000 (23:36 +0000)]
MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. Merged from 19_STABLE

16 years agoAutomatic installer.php lang files by installer_builder (20081218)
moodlerobot [Wed, 17 Dec 2008 23:27:58 +0000 (23:27 +0000)]
Automatic installer.php lang files by installer_builder (20081218)

16 years agoMDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead...
skodak [Wed, 17 Dec 2008 18:10:58 +0000 (18:10 +0000)]
MDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead of $cm->id; merged from MOODLE_19_STABLE

16 years agoMDL-15499: Conditional availability of activities
sam_marshall [Wed, 17 Dec 2008 16:37:35 +0000 (16:37 +0000)]
MDL-15499: Conditional availability of activities

16 years agoquiz editing: MDL-17398 made question grading field smaller to accommodate a bigger...
pilpi [Wed, 17 Dec 2008 16:11:49 +0000 (16:11 +0000)]
quiz editing: MDL-17398 made question grading field smaller to accommodate a bigger 'save' button in some languages (finnish:Tallenna)

16 years agoMDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is...
fmarier [Wed, 17 Dec 2008 02:55:33 +0000 (02:55 +0000)]
MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster)

16 years agoUpdated the HEAD build version to 20081217
moodlerobot [Wed, 17 Dec 2008 00:35:54 +0000 (00:35 +0000)]
Updated the HEAD build version to 20081217

16 years agoMDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE
stronk7 [Wed, 17 Dec 2008 00:33:32 +0000 (00:33 +0000)]
MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE

16 years agoquiz editing: MDL-17417 added logging for random question creating
pilpi [Tue, 16 Dec 2008 22:36:29 +0000 (22:36 +0000)]
quiz editing: MDL-17417 added logging for random question creating

16 years agoMDL-17521 shortcuts at top of tag page for each sort of thing that's been tagged
jmg324 [Tue, 16 Dec 2008 16:33:30 +0000 (16:33 +0000)]
MDL-17521 shortcuts at top of tag page for each sort of thing that's been tagged

16 years agoMDL-17667: Added simple XSL-based 'doc' feature to xmldb
sam_marshall [Tue, 16 Dec 2008 12:55:21 +0000 (12:55 +0000)]
MDL-17667: Added simple XSL-based 'doc' feature to xmldb

16 years agoquiz editing: MDL-17664 Removed unneeded yui js includes
pilpi [Tue, 16 Dec 2008 11:21:22 +0000 (11:21 +0000)]
quiz editing: MDL-17664 Removed unneeded yui js includes

16 years ago"MDL-14651, hide input box when user doesn't have chat:talk capability"
dongsheng [Tue, 16 Dec 2008 05:04:56 +0000 (05:04 +0000)]
"MDL-14651, hide input box when user doesn't have chat:talk capability"

16 years ago"MDL-14949, add a new capablity chat:talk to enable readonly chat user, merged from...
dongsheng [Tue, 16 Dec 2008 04:58:40 +0000 (04:58 +0000)]
"MDL-14949, add a new capablity chat:talk to enable readonly chat user, merged from 1.9"

16 years agoUpdated the HEAD build version to 20081216
moodlerobot [Mon, 15 Dec 2008 23:52:47 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081216

16 years agoAutomatic installer.php lang files by installer_builder (20081216)
moodlerobot [Mon, 15 Dec 2008 23:26:14 +0000 (23:26 +0000)]
Automatic installer.php lang files by installer_builder (20081216)

16 years agoMDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no...
stronk7 [Mon, 15 Dec 2008 21:41:09 +0000 (21:41 +0000)]
MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions.

16 years agoMDL-17599 scheduled backup: add support for grade history setting + minor XML formatt...
stronk7 [Mon, 15 Dec 2008 21:35:47 +0000 (21:35 +0000)]
MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE

16 years agoaccesslib: MDL-17647, MDL-17648 and MDL-17649 Bug fix, improvement and unit test.
tjhunt [Mon, 15 Dec 2008 06:22:18 +0000 (06:22 +0000)]
accesslib: MDL-17647, MDL-17648 and MDL-17649 Bug fix, improvement and unit test.

MDL-17647 was referring to moodle/site:candoanything insstead of moodle/site:doanything

MDL-17648 Let get_users_by_capability take an array of capabilities, like has_any_capability

MDL-17649 get_users_by_capability must have unit tests (HEAD only).

The unit tests were briefly working (apart from the system context, which I had to set up by hand in the test contexts table). Then I made the mistake of trying to upgrade the test tables, and it all went horribly wrong (MDL-17644).

16 years agoforum subscriptions: MDL-14876 - followup - use the right table prefix on column...
tjhunt [Mon, 15 Dec 2008 06:08:51 +0000 (06:08 +0000)]
forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error.

16 years agounit tests: MDL-17646 Arrgh! edited the wrong file after making testsimpletestlib...
tjhunt [Mon, 15 Dec 2008 03:08:22 +0000 (03:08 +0000)]
unit tests: MDL-17646 Arrgh! edited the wrong file after making testsimpletestlib.php by copying testaccesslib.php!

16 years agoFlatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.
tjhunt [Mon, 15 Dec 2008 02:53:39 +0000 (02:53 +0000)]
Flatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.

I don't know exactly how this works, but it looks like a good fix to me, so committing.

16 years agounit tests: MDL-17646 Helper functions for loading and cleaning up test data.
tjhunt [Mon, 15 Dec 2008 02:39:55 +0000 (02:39 +0000)]
unit tests: MDL-17646 Helper functions for loading and cleaning up test data.

16 years agodml: MDL-17645 New database method delete_records_list.
tjhunt [Mon, 15 Dec 2008 02:13:11 +0000 (02:13 +0000)]
dml: MDL-17645 New database method delete_records_list.

16 years agoUpdated the HEAD build version to 20081215
moodlerobot [Sun, 14 Dec 2008 23:52:13 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081215

16 years agoMDL-16810 - amend upgrade process to preserve config values where possible. thanks...
piers [Sun, 14 Dec 2008 23:45:54 +0000 (23:45 +0000)]
MDL-16810 - amend upgrade process to preserve config values where possible. thanks for pointer Tim.

16 years agoAutomatic installer.php lang files by installer_builder (20081215)
moodlerobot [Sun, 14 Dec 2008 23:25:50 +0000 (23:25 +0000)]
Automatic installer.php lang files by installer_builder (20081215)

16 years agoMDL-17548 MNET: Fix email links for sites with path component in wwwroot
jonathanharker [Sun, 14 Dec 2008 22:50:22 +0000 (22:50 +0000)]
MDL-17548 MNET: Fix email links for sites with path component in wwwroot

Where Moodle sites had a path in their wwwroot, the MNET function that
forced remote users to go via their identity provider (to make sure they
were logged in) previously directed the user back to a URL like
contentprovider.com/moodle/moodle/mod/forum/view.php?f=7 where there
should only be one /moodle in the middle of the URL.

16 years agoMDL-16875 New Moodle setting - sessioncookiedomain
jonathanharker [Sun, 14 Dec 2008 22:28:39 +0000 (22:28 +0000)]
MDL-16875 New Moodle setting - sessioncookiedomain

 Added new sessioncookiedomain setting to session handling section.
 * allows you to change the domain that the Moodle cookies are available
   from. This is useful for Moodle customisations (i.e. Squirrelmail SSO
   or enrolment plugins) that need to share Moodle session information
   with a web application on another subdomain.
 * Will NOT work if the moodle host does not have a domain - i.e. just a
   hostname, e.g. 'localhost' or 'myhostname'. Needs a FQDN
 * Currently the setting is set to PARAM_TEXT length 50 since PARAM_HOST
   does not allow a leading dot e.g.  '.mydomain.com'
 * TODO: do we make up a new PARAM_COOKIEDOMAIN which is the same as
   PARAM_HOST but allows leading dots? Using PARAM_HOST and prepending a
   dot may not always be desirable.

16 years agoquiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions.
tjhunt [Sun, 14 Dec 2008 13:32:45 +0000 (13:32 +0000)]
quiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions.

16 years agoUpdated the HEAD build version to 20081214
moodlerobot [Sat, 13 Dec 2008 23:51:36 +0000 (23:51 +0000)]
Updated the HEAD build version to 20081214

16 years agoUpdated the HEAD build version to 20081213
moodlerobot [Fri, 12 Dec 2008 23:52:55 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081213

16 years agoAutomatic installer.php lang files by installer_builder (20081213)
moodlerobot [Fri, 12 Dec 2008 23:26:26 +0000 (23:26 +0000)]
Automatic installer.php lang files by installer_builder (20081213)

16 years agoMDL-17589 fixed handling of missing caps in admin tree; merged from MOODLE_19_STABLE
skodak [Fri, 12 Dec 2008 10:50:25 +0000 (10:50 +0000)]
MDL-17589 fixed handling of missing caps in admin tree; merged from MOODLE_19_STABLE

16 years agoquestions manual grading: MDL-15147 refine the logic for distinguishing '' and 0...
tjhunt [Fri, 12 Dec 2008 09:00:11 +0000 (09:00 +0000)]
questions manual grading: MDL-15147 refine the logic for distinguishing '' and 0, so you can grade an essay 0 without making a comment, but also, grade some, but not all student's work in the manual grading report.

16 years agoquiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to...
tjhunt [Fri, 12 Dec 2008 07:24:47 +0000 (07:24 +0000)]
quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI,

16 years agomatch qtype: MDL-17326 backup and restore problems
tjhunt [Fri, 12 Dec 2008 06:45:07 +0000 (06:45 +0000)]
match qtype: MDL-17326 backup and restore problems

* The shuffleanswers options was not backed up or restored.

* Responses were not properly recoded on restore.

16 years agocourse categories: fix typo introduced when fixing MDL-10801
tjhunt [Fri, 12 Dec 2008 06:19:01 +0000 (06:19 +0000)]
course categories: fix typo introduced when fixing MDL-10801

16 years ago"MDL-14129, update forum module language file"
dongsheng [Fri, 12 Dec 2008 05:53:48 +0000 (05:53 +0000)]
"MDL-14129, update forum module language file"

16 years ago"MDL-14129, fix error() in moodle2"
dongsheng [Fri, 12 Dec 2008 05:45:43 +0000 (05:45 +0000)]
"MDL-14129, fix error() in moodle2"

16 years ago"MDL-14129, remove the rest error() in moodle2"
dongsheng [Fri, 12 Dec 2008 04:53:32 +0000 (04:53 +0000)]
"MDL-14129, remove the rest error() in moodle2"

16 years agoMDL-17549 auth/radius: add CHAP and MSCHAP auth support, detect PHP extension
jonathanharker [Fri, 12 Dec 2008 04:44:53 +0000 (04:44 +0000)]
MDL-17549 auth/radius: add CHAP and MSCHAP auth support, detect PHP extension

     * Added support for CHAP and MSCHAP authentication schemes
       contributed by Stanislav Tsymbalov http://www.tsymbalov.net/
       original code at http://sourceforge.net/projects/moodleradius/
     * Tweak the detection of PHP RADIUS extension and Pear code
     * Update the warning notices to use more Moodly CSS classes

    lib/pear: Add RADIUS and CHAP PEAR libs

     * Add PEAR Auth_RADIUS and Crypt_CHAP packages to lib/pear

Author: Jonathan Harker <jonathan@catalyst.net.nz>

16 years agomatching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns...
tjhunt [Fri, 12 Dec 2008 04:39:38 +0000 (04:39 +0000)]
matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered

This was caused becuse the solution to MDL-9005 was not quite right.

16 years agonumerical and shortanswer question types: problems with compare_responses and test_re...
tjhunt [Fri, 12 Dec 2008 03:48:39 +0000 (03:48 +0000)]
numerical and shortanswer question types: problems with compare_responses and test_response.

MDL-15315 The previous fix for this issue with wildcard answers in the item analysis report caused the following two regressions. This patch fixes it properly.

MDL-17247 This is basiclly pointing out the weridness in the previous fix and gave some useful clues as to a proper solution. Thanks Oleg.

MDL-17610 This was a report of a problem with each attempt builds on last, with a shortanswer question, where the sutdent's response contains a '.

Also, lots of unit tests to try to ensure the new code is right.

16 years ago"MDL-14129, update language file for feedback module"
dongsheng [Fri, 12 Dec 2008 03:02:16 +0000 (03:02 +0000)]
"MDL-14129, update language file for feedback module"

16 years ago"MDL-14129, fix error() in feedback module"
dongsheng [Fri, 12 Dec 2008 03:01:00 +0000 (03:01 +0000)]
"MDL-14129, fix error() in feedback module"

16 years agoquestionlib: clarify a comment.
tjhunt [Fri, 12 Dec 2008 02:50:36 +0000 (02:50 +0000)]
questionlib: clarify a comment.

16 years ago"MDL-14129, fix error() in forum module"
dongsheng [Fri, 12 Dec 2008 02:30:56 +0000 (02:30 +0000)]
"MDL-14129, fix error() in forum module"

16 years agoUpdated the HEAD build version to 20081212
moodlerobot [Thu, 11 Dec 2008 23:52:38 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081212

16 years agoAutomatic installer.php lang files by installer_builder (20081212)
moodlerobot [Thu, 11 Dec 2008 23:26:04 +0000 (23:26 +0000)]
Automatic installer.php lang files by installer_builder (20081212)

16 years agomissed a comma:MDL-17612
danmarsden [Thu, 11 Dec 2008 21:36:55 +0000 (21:36 +0000)]
missed a comma:MDL-17612

16 years agofix typo, improve text a bit:MDL-17612
danmarsden [Thu, 11 Dec 2008 21:34:40 +0000 (21:34 +0000)]
fix typo, improve text a bit:MDL-17612

16 years agoMDL-17611 removing XSS risk from mod/feedback:complete, because this capability is...
skodak [Thu, 11 Dec 2008 18:06:01 +0000 (18:06 +0000)]
MDL-17611 removing XSS risk from mod/feedback:complete, because this capability is meant to be allowed in student roles

16 years agoMDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged...
stronk7 [Thu, 11 Dec 2008 16:40:09 +0000 (16:40 +0000)]
MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE

16 years agocourse search: MDL-10801 Search terms were not being highlighted consistently in...
tjhunt [Thu, 11 Dec 2008 10:47:48 +0000 (10:47 +0000)]
course search: MDL-10801 Search terms were not being highlighted consistently in the results.

16 years agoweblib: MDL-17606 Make the highlight function better, with unit tests.
tjhunt [Thu, 11 Dec 2008 10:33:57 +0000 (10:33 +0000)]
weblib: MDL-17606 Make the highlight function better, with unit tests.

16 years agoadmin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on...
tjhunt [Thu, 11 Dec 2008 09:21:41 +0000 (09:21 +0000)]
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.

16 years agoroles ui: Fix notices and XHTML strict.
tjhunt [Thu, 11 Dec 2008 09:08:20 +0000 (09:08 +0000)]
roles ui: Fix notices and XHTML strict.

16 years agoforum subscriptions: MDL-14876 user of deprecated functions was breaking managing...
tjhunt [Thu, 11 Dec 2008 07:01:57 +0000 (07:01 +0000)]
forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.

This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.

16 years agoquestion bank: MDL-14376 Errors deleting a course containing Cloze questions.
tjhunt [Thu, 11 Dec 2008 05:31:33 +0000 (05:31 +0000)]
question bank: MDL-14376 Errors deleting a course containing Cloze questions.

(For some reason, this only seemed to cause problems on MySQL.)

16 years ago"MDL-16954, get rid of remote_addr notice on cli, set ip = 0.0.0.0 in mdl_log table...
dongsheng [Thu, 11 Dec 2008 05:18:17 +0000 (05:18 +0000)]
"MDL-16954, get rid of remote_addr notice on cli, set ip = 0.0.0.0 in mdl_log table when accessed from cli, merged from 1.9"

16 years agomultianswer qtype help: Fix HTML errors.
tjhunt [Thu, 11 Dec 2008 05:14:34 +0000 (05:14 +0000)]
multianswer qtype help: Fix HTML errors.

16 years agomatching qtype: MDL-14420 Could not use '0' as a question stem. Oops, more tests...
tjhunt [Thu, 11 Dec 2008 05:01:37 +0000 (05:01 +0000)]
matching qtype: MDL-14420 Could not use '0' as a question stem. Oops, more tests need to be corrected.

16 years agomatching qtype: MDL-14420 Could not use '0' as a question stem. Bloody PHP!
tjhunt [Thu, 11 Dec 2008 04:57:39 +0000 (04:57 +0000)]
matching qtype: MDL-14420 Could not use '0' as a question stem. Bloody PHP!

16 years agomatching qtype: whitespace cleanup.
tjhunt [Thu, 11 Dec 2008 04:55:41 +0000 (04:55 +0000)]
matching qtype: whitespace cleanup.

16 years ago"MDL-17469, fix assignment date when restore course, merged from 1.9"
dongsheng [Thu, 11 Dec 2008 04:39:33 +0000 (04:39 +0000)]
"MDL-17469, fix assignment date when restore course, merged from 1.9"

16 years agonumerical qtype: MDL-15159 Error moving a numerical question type with no units from...
tjhunt [Thu, 11 Dec 2008 04:33:41 +0000 (04:33 +0000)]
numerical qtype: MDL-15159 Error moving a numerical question type with no units from one category to another.

16 years ago"MDL-17014, stop create repository type if plugin_init return false"
dongsheng [Thu, 11 Dec 2008 03:19:46 +0000 (03:19 +0000)]
"MDL-17014, stop create repository type if plugin_init return false"