Commit graph

35295 commits

Author SHA1 Message Date
jonathanharker
e6e13284f9 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.
2008-12-14 22:28:39 +00:00
tjhunt
acf149ad15 quiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions. 2008-12-14 13:32:45 +00:00
moodlerobot
fe5612c3c6 Updated the HEAD build version to 20081214 2008-12-13 23:51:36 +00:00
moodlerobot
161f9b5d40 Updated the HEAD build version to 20081213 2008-12-12 23:52:55 +00:00
moodlerobot
54d778ddcd Automatic installer.php lang files by installer_builder (20081213) 2008-12-12 23:26:26 +00:00
skodak
1a5b427e44 MDL-17589 fixed handling of missing caps in admin tree; merged from MOODLE_19_STABLE 2008-12-12 10:50:25 +00:00
tjhunt
83f0fef567 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. 2008-12-12 09:00:11 +00:00
tjhunt
e285b6a8b6 quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI, 2008-12-12 07:24:47 +00:00
tjhunt
7028ab335d match qtype: MDL-17326 backup and restore problems
* The shuffleanswers options was not backed up or restored.

* Responses were not properly recoded on restore.
2008-12-12 06:45:07 +00:00
tjhunt
2f37e1083b course categories: fix typo introduced when fixing MDL-10801 2008-12-12 06:19:01 +00:00
dongsheng
73c763b75d "MDL-14129, update forum module language file" 2008-12-12 05:53:48 +00:00
dongsheng
771dc7b298 "MDL-14129, fix error() in moodle2" 2008-12-12 05:45:43 +00:00
dongsheng
60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
jonathanharker
3b8c248237 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>
2008-12-12 04:44:53 +00:00
tjhunt
299d9fb834 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.
2008-12-12 04:39:38 +00:00
tjhunt
be8563b63a 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.
2008-12-12 03:48:39 +00:00
dongsheng
f77b3caa37 "MDL-14129, update language file for feedback module" 2008-12-12 03:02:16 +00:00
dongsheng
cf238eaf3d "MDL-14129, fix error() in feedback module" 2008-12-12 03:01:00 +00:00
tjhunt
47ceac47e4 questionlib: clarify a comment. 2008-12-12 02:50:36 +00:00
dongsheng
12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
moodlerobot
9558f068a0 Updated the HEAD build version to 20081212 2008-12-11 23:52:38 +00:00
moodlerobot
ab38ec6b5c Automatic installer.php lang files by installer_builder (20081212) 2008-12-11 23:26:04 +00:00
danmarsden
07ee03ce04 missed a comma:MDL-17612 2008-12-11 21:36:55 +00:00
danmarsden
411928890e fix typo, improve text a bit:MDL-17612 2008-12-11 21:34:40 +00:00
skodak
9d4e4c3da0 MDL-17611 removing XSS risk from mod/feedback:complete, because this capability is meant to be allowed in student roles 2008-12-11 18:06:01 +00:00
stronk7
b0126ac9da MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE 2008-12-11 16:40:09 +00:00
tjhunt
04c5310674 course search: MDL-10801 Search terms were not being highlighted consistently in the results. 2008-12-11 10:47:48 +00:00
tjhunt
9289e4c90e weblib: MDL-17606 Make the highlight function better, with unit tests. 2008-12-11 10:33:57 +00:00
tjhunt
92f008465c 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.
2008-12-11 09:21:41 +00:00
tjhunt
a90d7cf93d roles ui: Fix notices and XHTML strict. 2008-12-11 09:08:20 +00:00
tjhunt
8d8d0bfaae 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.
2008-12-11 07:01:57 +00:00
tjhunt
3c573960ec question bank: MDL-14376 Errors deleting a course containing Cloze questions.
(For some reason, this only seemed to cause problems on MySQL.)
2008-12-11 05:31:33 +00:00
dongsheng
94b8568628 "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" 2008-12-11 05:18:17 +00:00
tjhunt
bf14070fa7 multianswer qtype help: Fix HTML errors. 2008-12-11 05:14:34 +00:00
tjhunt
f932b81953 matching qtype: MDL-14420 Could not use '0' as a question stem. Oops, more tests need to be corrected. 2008-12-11 05:01:37 +00:00
tjhunt
9ce0983b0d matching qtype: MDL-14420 Could not use '0' as a question stem. Bloody PHP! 2008-12-11 04:57:39 +00:00
tjhunt
f8394114c3 matching qtype: whitespace cleanup. 2008-12-11 04:55:41 +00:00
dongsheng
0dfd9e97ea "MDL-17469, fix assignment date when restore course, merged from 1.9" 2008-12-11 04:39:33 +00:00
tjhunt
26b266625b numerical qtype: MDL-15159 Error moving a numerical question type with no units from one category to another. 2008-12-11 04:33:41 +00:00
dongsheng
f1cfe56eb6 "MDL-17014, stop create repository type if plugin_init return false" 2008-12-11 03:19:46 +00:00
moodlerobot
865e89515a Updated the HEAD build version to 20081211 2008-12-10 23:53:25 +00:00
pilpi
dbd2b0fd45 quiz editing: MDL-17595 changed string from "question name" to "question" 2008-12-10 14:44:40 +00:00
pilpi
bb7e5140e0 quiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI 2008-12-10 14:21:43 +00:00
pilpi
d8875b3eae quiz editing: MDL-17590 added an id attribute for the grading input field to make labels work 2008-12-10 12:04:28 +00:00
thepurpleblob
5448544271 MDL-11090
Added absent trim - Thanks Tim :-)

Merged from STABLE_19
2008-12-10 09:39:02 +00:00
tjhunt
e8f99abc68 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.
2008-12-10 09:11:30 +00:00
tjhunt
b166403f18 javascript cleanup: MDL-16583 clean up the close_window function in weblib.php. 2008-12-10 08:57:50 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
aafdb447bf 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!
2008-12-10 06:26:47 +00:00