moodle.git
12 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.

12 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.

12 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

12 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.

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

12 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.

12 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.

12 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.

12 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

12 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

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

12 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

12 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.

12 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,

12 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.

12 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

12 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"

12 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"

12 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"

12 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>

12 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.

12 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.

12 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"

12 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"

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

12 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"

12 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

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

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

12 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

12 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

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.)

12 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"

12 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.

12 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.

12 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!

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

12 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"

12 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.

12 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"

12 years agoUpdated the HEAD build version to 20081211
moodlerobot [Wed, 10 Dec 2008 23:53:25 +0000 (23:53 +0000)]
Updated the HEAD build version to 20081211

12 years agoquiz editing: MDL-17595 changed string from "question name" to "question"
pilpi [Wed, 10 Dec 2008 14:44:40 +0000 (14:44 +0000)]
quiz editing: MDL-17595 changed string from "question name" to "question"

12 years agoquiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI
pilpi [Wed, 10 Dec 2008 14:21:43 +0000 (14:21 +0000)]
quiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI

12 years agoquiz editing: MDL-17590 added an id attribute for the grading input field to make...
pilpi [Wed, 10 Dec 2008 12:04:28 +0000 (12:04 +0000)]
quiz editing: MDL-17590 added an id attribute for the grading input field to make labels work

12 years agoMDL-11090
thepurpleblob [Wed, 10 Dec 2008 09:39:02 +0000 (09:39 +0000)]
MDL-11090
Added absent trim - Thanks Tim :-)

Merged from STABLE_19

12 years agoquiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does...
tjhunt [Wed, 10 Dec 2008 09:11:30 +0000 (09:11 +0000)]
quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.

Also MDL-17585 Improve layout of manual grading forms to make them look more like formslib forms. The standard trick of stealing the HTML and class names that formslib works, so the standard style rules apply to your form.

12 years agojavascript cleanup: MDL-16583 clean up the close_window function in weblib.php.
tjhunt [Wed, 10 Dec 2008 08:57:50 +0000 (08:57 +0000)]
javascript cleanup: MDL-16583 clean up the close_window function in weblib.php.

12 years ago"MDL-17570,clean align property, merged from 1.9"
dongsheng [Wed, 10 Dec 2008 07:24:11 +0000 (07:24 +0000)]
"MDL-17570,clean align property, merged from 1.9"

12 years ago"MDL-17570, cleanup align property in div, merged from 1.9"
dongsheng [Wed, 10 Dec 2008 06:48:54 +0000 (06:48 +0000)]
"MDL-17570, cleanup align property in div, merged from 1.9"

12 years agoquiz: MDL-6085 when editing a question from various places like a preview attempt...
tjhunt [Wed, 10 Dec 2008 06:26:47 +0000 (06:26 +0000)]
quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.

And MDL-17568 minor niggles with new queston navigation:
* The bit that scrolls down to the question you just submitted in adaptive mode was not working with random questions.
* Teachers reviewing an open attempt were shown the qusetions as editable, not read only!

12 years agoadmin MDL-17429 Move registration button to admin menu, and make registration page...
moodler [Wed, 10 Dec 2008 06:23:35 +0000 (06:23 +0000)]
admin MDL-17429 Move registration button to admin menu, and make registration page a proper admin page, also fix bad DML call
admin MDL-16867 Change "Optional subsystems" menu item to "Advanced features"

(Sorry for the mixed checkin)

12 years agoSimple whitespace cleanup.
tjhunt [Wed, 10 Dec 2008 05:32:51 +0000 (05:32 +0000)]
Simple whitespace cleanup.

12 years agoquiz results block: MDL-17583 notices in HEAD.
tjhunt [Wed, 10 Dec 2008 04:13:04 +0000 (04:13 +0000)]
quiz results block: MDL-17583 notices in HEAD.

12 years agocourse request: MDL-17575 and MDL-6160 further improvements:
tjhunt [Wed, 10 Dec 2008 02:57:41 +0000 (02:57 +0000)]
course request: MDL-17575 and MDL-6160 further improvements:

1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.

12 years agoperformance: MDL-17577 only include lib/questionlib.php from the few parts of mod...
tjhunt [Wed, 10 Dec 2008 02:11:42 +0000 (02:11 +0000)]
performance: MDL-17577 only include lib/questionlib.php from the few parts of mod/quiz/lib.php that actually need it. Merged from MOODLE_19_STABLE.

12 years agotruefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio...
tjhunt [Wed, 10 Dec 2008 00:54:27 +0000 (00:54 +0000)]
truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons.

12 years agoMDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL...
skodak [Tue, 9 Dec 2008 23:55:47 +0000 (23:55 +0000)]
MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557 - not sure which one ;-) fixed DML syntax

12 years agoUpdated the HEAD build version to 20081210
moodlerobot [Tue, 9 Dec 2008 23:53:09 +0000 (23:53 +0000)]
Updated the HEAD build version to 20081210

12 years agoMDL-17115 fixed new DML syntax
skodak [Tue, 9 Dec 2008 23:52:20 +0000 (23:52 +0000)]
MDL-17115 fixed new DML syntax

12 years agoMDL-15107 DML syntax fix
skodak [Tue, 9 Dec 2008 23:50:18 +0000 (23:50 +0000)]
MDL-15107 DML syntax fix

12 years agoMDL-17275 fixed DML syntax
skodak [Tue, 9 Dec 2008 23:46:03 +0000 (23:46 +0000)]
MDL-17275 fixed DML syntax

12 years agoMDL-17491 oracle dml: towards full support
skodak [Tue, 9 Dec 2008 22:24:07 +0000 (22:24 +0000)]
MDL-17491 oracle dml: towards full support

12 years agoMDL-13978 fixed code to use new DML syntax
skodak [Tue, 9 Dec 2008 22:17:18 +0000 (22:17 +0000)]
MDL-13978 fixed code to use new DML syntax

12 years agoMDL12333 fixed code to use new DML syntax
skodak [Tue, 9 Dec 2008 22:15:03 +0000 (22:15 +0000)]
MDL12333 fixed code to use new DML syntax

12 years agoMDL-17567 sibolleth: fixed code to use new DML syntax
skodak [Tue, 9 Dec 2008 22:13:08 +0000 (22:13 +0000)]
MDL-17567 sibolleth: fixed code to use new DML syntax

12 years agoMDL-17572 - remove php short tags.
piers [Tue, 9 Dec 2008 22:00:03 +0000 (22:00 +0000)]
MDL-17572 - remove php short tags.

12 years agofix php short tags:MDL-17566: Thanks Stephen Bourget
danmarsden [Tue, 9 Dec 2008 20:41:44 +0000 (20:41 +0000)]
fix php short tags:MDL-17566: Thanks Stephen Bourget

12 years agoMDL-17479 category search: replaced old update capability; merged from MOODLE__STABLE
skodak [Tue, 9 Dec 2008 20:30:02 +0000 (20:30 +0000)]
MDL-17479 category search: replaced old update capability; merged from MOODLE__STABLE

12 years agoMDL-17502 oops, I have overlooked Tim already fixed this - sorry; merged from MOODLE_...
skodak [Tue, 9 Dec 2008 16:35:28 +0000 (16:35 +0000)]
MDL-17502 oops, I have overlooked Tim already fixed this - sorry; merged from MOODLE_19_STABLE

12 years agoMDL-17502 accesslib: added warning if incorrect parameters supplied to has_all_capabi...
skodak [Tue, 9 Dec 2008 16:25:38 +0000 (16:25 +0000)]
MDL-17502 accesslib: added warning if incorrect parameters supplied to has_all_capabilities() and fixed parameters in course lib code

12 years agocourse categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this...
tjhunt [Tue, 9 Dec 2008 09:27:25 +0000 (09:27 +0000)]
course categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this code yesterday!

12 years agoMDL-17491 oracle dml: problem notes
skodak [Tue, 9 Dec 2008 09:03:37 +0000 (09:03 +0000)]
MDL-17491 oracle dml: problem notes

12 years ago"MDL-17391, fix bugs when press insert link button on tinymce"
dongsheng [Tue, 9 Dec 2008 07:30:51 +0000 (07:30 +0000)]
"MDL-17391, fix bugs when press insert link button on tinymce"

12 years ago"MDL-17473, overwrite supported_filetypes function"
dongsheng [Tue, 9 Dec 2008 06:55:12 +0000 (06:55 +0000)]
"MDL-17473, overwrite supported_filetypes function"

12 years ago"MDL-17391, fix file_type_to_ext to class, which should return array all the time"
dongsheng [Tue, 9 Dec 2008 06:52:27 +0000 (06:52 +0000)]
"MDL-17391, fix file_type_to_ext to class, which should return array all the time"

12 years agoMDL-17391, change paramters of repository_get_client.
moodler [Tue, 9 Dec 2008 06:50:06 +0000 (06:50 +0000)]
MDL-17391, change paramters of repository_get_client.

12 years agodefine roles: MDL-16966 go back to 'Define roles' in the admin menu, rather than...
tjhunt [Tue, 9 Dec 2008 05:14:15 +0000 (05:14 +0000)]
define roles: MDL-16966 go back to 'Define roles' in the admin menu, rather than 'Manage roles'

Define is a stronger verb than manage, and most of the things there are to do with defining roles. I keep finding myself looking for 'Define roles' in the menu when I am testing, which suggests changing the working in 1.9 does more harm than good.

12 years ago"REPOSITORY, BOXNET/MDL-17391, create a helper function to filter files in listing"
dongsheng [Tue, 9 Dec 2008 02:11:57 +0000 (02:11 +0000)]
"REPOSITORY, BOXNET/MDL-17391, create a helper function to filter files in listing"

12 years agoUpdated the HEAD build version to 20081209
moodlerobot [Mon, 8 Dec 2008 23:52:40 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081209

12 years agoMDL-17559 user edit: fixed undefined email property warnings; merged from MOODLE_19_S...
skodak [Mon, 8 Dec 2008 20:16:49 +0000 (20:16 +0000)]
MDL-17559 user edit: fixed undefined email property warnings; merged from MOODLE_19_STABLE

12 years agoMerged various fixes from 19 stable
exe-cutor [Mon, 8 Dec 2008 10:49:44 +0000 (10:49 +0000)]
Merged various fixes from 19 stable

12 years agoMDL-13746 course shortname up to 100cc (applied to mnet_enrol_course)
stronk7 [Mon, 8 Dec 2008 08:21:19 +0000 (08:21 +0000)]
MDL-13746 course shortname up to 100cc (applied to mnet_enrol_course)

12 years ago"MDL-17391, update repository instances when hide/show filepicker"
dongsheng [Mon, 8 Dec 2008 07:34:46 +0000 (07:34 +0000)]
"MDL-17391, update repository instances when hide/show filepicker"

12 years agocourse categories: MDL-17502 when deleting a category and its contents, check moodle...
tjhunt [Mon, 8 Dec 2008 07:28:19 +0000 (07:28 +0000)]
course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.

* Note: this would never lead to problems with default role definions.
* Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed.
* New helper function require_all_capabilities, a bit like require_any_capability.

12 years ago"MDL-17391, enable repository filter in html editor"
dongsheng [Mon, 8 Dec 2008 06:53:58 +0000 (06:53 +0000)]
"MDL-17391, enable repository filter in html editor"

12 years ago"MDL-17391, use repository filter in forum module"
dongsheng [Mon, 8 Dec 2008 05:23:31 +0000 (05:23 +0000)]
"MDL-17391, use repository filter in forum module"

12 years ago"MDL-17391, filter repository intances by file types"
dongsheng [Mon, 8 Dec 2008 05:19:09 +0000 (05:19 +0000)]
"MDL-17391, filter repository intances by file types"

12 years agocourse settings: MDL-17501 check for moodle/course:visibility in the course settings...
tjhunt [Mon, 8 Dec 2008 02:31:05 +0000 (02:31 +0000)]
course settings: MDL-17501 check for moodle/course:visibility in the course settings form.

1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.

12 years agoUpdated the HEAD build version to 20081208
moodlerobot [Sun, 7 Dec 2008 23:52:41 +0000 (23:52 +0000)]
Updated the HEAD build version to 20081208

12 years agoAutomatic installer.php lang files by installer_builder (20081208)
moodlerobot [Sun, 7 Dec 2008 23:25:50 +0000 (23:25 +0000)]
installer.php lang files by installer_builder (20081208)

12 years agoMDL-17519 - restore: preventing group member duplicates; merged from MOODLE_19_STABLE
skodak [Sun, 7 Dec 2008 22:24:43 +0000 (22:24 +0000)]
MDL-17519 - restore: preventing group member duplicates; merged from MOODLE_19_STABLE

12 years agoMDL-17115 - SCORM onload API checking. Hunt for the API. Matching part of the patch...
piers [Sun, 7 Dec 2008 22:22:51 +0000 (22:22 +0000)]
MDL-17115 - SCORM onload API checking. Hunt for the API.  Matching part of the patch that fixes scorm version detection.

12 years agoMDL-17537 course request: shortname in course_request is now the same length as in...
skodak [Sun, 7 Dec 2008 22:13:39 +0000 (22:13 +0000)]
MDL-17537 course request: shortname in course_request is now the same length as in course table - 100 chars

12 years agoskip content structure page:MDL-11908: skip content structure page with multiple...
danmarsden [Sun, 7 Dec 2008 21:54:49 +0000 (21:54 +0000)]
skip content structure page:MDL-11908: skip content structure page with multiple scos - if a teacher has set to skip, it should skip! - even with multiple scos.