Commit graph

34933 commits

Author SHA1 Message Date
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
moodler
f94824dbbe 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)
2008-12-10 06:23:35 +00:00
tjhunt
426091ee1f Simple whitespace cleanup. 2008-12-10 05:32:51 +00:00
tjhunt
7192011c25 quiz results block: MDL-17583 notices in HEAD. 2008-12-10 04:13:04 +00:00
tjhunt
e452210a18 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.
2008-12-10 02:57:41 +00:00
tjhunt
be0ba083a0 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. 2008-12-10 02:11:42 +00:00
tjhunt
0a9356aad3 truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons. 2008-12-10 00:54:27 +00:00
skodak
d02bcc3c24 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 2008-12-09 23:55:47 +00:00
moodlerobot
4e87a3c021 Updated the HEAD build version to 20081210 2008-12-09 23:53:09 +00:00
skodak
c144ca1e6f MDL-17115 fixed new DML syntax 2008-12-09 23:52:20 +00:00
skodak
5f501fe105 MDL-15107 DML syntax fix 2008-12-09 23:50:18 +00:00
skodak
ecb45a9e40 MDL-17275 fixed DML syntax 2008-12-09 23:46:03 +00:00
skodak
2c4eb0064b MDL-17491 oracle dml: towards full support 2008-12-09 22:24:07 +00:00