45680 Commits

Author SHA1 Message Date
Dan Marsden
a211a40c75 Assignment MDL-24948 fix depreceated calls to get group info 2010-11-02 01:38:56 +00:00
Eloy Lafuente
d0ff90ed4f MDL-25000 backup - prevent calling get_mapping() with empty ids. Yay, 25000! 2010-11-02 01:05:43 +00:00
Moodle Robot
25ba71960e Updated the HEAD build version to 20101102 2010-11-02 00:48:51 +00:00
Eloy Lafuente
d0ad98607d MDL-24962 backup - now destroying circular refs manually to help PHP 5.2 2010-11-01 22:09:44 +00:00
David Mudrak
1cf2faab39 MDL-24932 moodleemoticon tinymce: use restoreSelection() instead of custom bookmark hack
Credit goes to Mauno Korpelainen for the tip on how to sort out this IE
behaviour. Also, I moved compressed dialog.js to the revision directory to prevent
browser caching issues.
2010-11-01 19:53:53 +00:00
Tim Hunt
f2ca88b07f qtype_multichoice MDL-24937 multichoice questions were getting marked as answered even when they weren't. 2010-11-01 18:14:27 +00:00
Sam Marshall
49a874ce80 Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue (ahem, not using ereg) 2010-11-01 18:06:10 +00:00
Sam Marshall
cf72c96949 Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue 2010-11-01 18:04:26 +00:00
Sam Marshall
bf81b16824 Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23 exceptions and only 2 passes) 2010-11-01 18:00:57 +00:00
Tim Hunt
157434a522 quiz/question javascript MDL-24170 Enter in a shortanswer question preview should not flag the question.
That bit of JavaScript from mod/quiz/attempt.php is needed in question preview too, so refactor a bit.

I was disappointed to find that the
$PAGE->requires->js_module('core_question_engine');
line was needed in quiz_get_js_module, but it seems to be.

Also change non-Moodle-y string "End test..." to "Finish attempt..."
2010-11-01 17:44:59 +00:00
Tim Hunt
48c19b2551 quiz lang MDL-24170 move an old string to a more logical name, before making the real change.
AMOS BEGIN
 MOV [finishattempt,mod_quiz],[submitallandfinish,mod_quiz]
AMOS END
2010-11-01 17:36:15 +00:00
Sam Marshall
5bef986516 Backup MDL-24906 Fixed unit test failures 2010-11-01 16:33:30 +00:00
Petr Skoda
0ed7146b02 MDL-22584 fixed non standard space char breaking file upgrades 2010-11-01 16:00:47 +00:00
Eloy Lafuente
b31763f8b3 NOBUG: Clean already implemented TODO 2010-11-01 15:55:59 +00:00
Eloy Lafuente
f79e0753d4 MDL-23478 backup - Implement glossary_random & quiz_results after_restore() methods 2010-11-01 15:55:12 +00:00
Eloy Lafuente
648a575eda NOBUG: Added support for after_restore() methods on restore. Will help some blocks. 2010-11-01 15:53:35 +00:00
Eloy Lafuente
fe575d8215 NOBUG: Added note to avoid forgetting it 2010-11-01 15:52:18 +00:00
Eloy Lafuente
a03867380d MDL-22164 backup - cleaning old backup & restore code in blocks 2010-11-01 15:51:20 +00:00
Eloy Lafuente
9f68f2d5a6 MDL-24817 backup - added support for decode contents in plugins (and qtypes) 2010-11-01 15:49:01 +00:00
Eloy Lafuente
b5e58c1831 MDL-22164 backup - more cleanup of old 1.9 backup/restore code 2010-11-01 15:47:07 +00:00
Sam Marshall
152f2c0777 Unit tests MDL-24994 Numerical question unit test was broken 2010-11-01 15:46:58 +00:00
Sam Marshall
6b1cba1a12 Unit tests MDL-24982 testrepositorylib uses old test class 2010-11-01 15:20:16 +00:00
Sam Marshall
cf617be64e Unit tests MDL-24909 Unit tests used 5 minute time limit per test class; this is insufficient for gradebook tests on slow server. Changed to use 60 second limit per test function instead. Added constant and comment defining this behaviour. 2010-11-01 15:14:37 +00:00
Sam Marshall
1865b411fd Backup MDL-24906 Fixed unit test failures 2010-11-01 14:46:07 +00:00
Tim Hunt
6382910a87 quiz MDL-24499 simple typo when putting values into a string.
Thanks to Manish Verma for noticing this.
2010-11-01 14:40:25 +00:00
Tim Hunt
e09ca95eba quiz reports MDL-24603 columns in the overview report should be collapsible. 2010-11-01 14:36:58 +00:00
Tim Hunt
512b42be5e themes/unit tests MDL-24983 move the pretty colour styles to the base theme.
Patch thanks to James Brisland.
I know that in general, we should not have specific pretty colours in the base theme, but I think unit tests are an exception. The concept of "the bar being green" is so fundamental to unit testing, and this bit of the UI is developer only.
2010-11-01 13:40:06 +00:00
Sam Marshall
d854dff9ef xmldb MDL-24979 Made xmldb (a) not hide libxml errors permanently, (b) not incorrectly report previous errors with a later, working file 2010-11-01 13:35:27 +00:00
Tim Hunt
bfb82da3e4 get_config / unit tests MDL-24977 get_config('a_plugin'); should return something false when there is no config.
It was always casting the result to an object, even when it was an empty array. I changed it to return null in this case. So that if (get_config('a_plugin')) { /* Do something relying on the pugin having config */ ) works.
2010-11-01 12:20:39 +00:00
Sam Marshall
c3097e1333 Unit tests MDL-24978 Fixed locale dependency 2010-11-01 12:11:41 +00:00
Sam Marshall
ca79c36843 Unit tests MDL-24842: Fixed error in previous UnitTestCaseDatabase change 2010-11-01 11:14:34 +00:00
Sam Marshall
473792550d MDL-24914: Navigationlib unit test fails due to 'temporary' commenting of function in forum module which was used as example; changing example to data module 2010-11-01 10:46:42 +00:00
Inaki
d09cad434b grade/report: MDL-21001 Gradebook shows ranges always
We unconditionnally set them to visible, ignoring configured settings.
Fix it.
2010-11-01 10:24:21 +00:00
David Mudrak
f8392c810c MDL-24960 emoticon admin settings: fixed a bug in the upgrade path
I forgot to unset the $CFG->emoticon from the memory so the upgrade
process still had the old emoticons format loaded in the memory which
led to coding exception.
2010-11-01 09:35:57 +00:00
Andrew Davis
7610341ab8 message MDL-24972 removed a table from the messaging config page 2010-11-01 09:09:58 +00:00
Andrew Davis
31c532d0c8 message MDL-24972 removed the new search button and moved blocked users to last position in the messaging nav box 2010-11-01 09:01:45 +00:00
Andrew Davis
06d30c430c message MDL-24970 removed some commented out code and removed a reference to discussion.php 2010-11-01 07:34:32 +00:00
Petr Skoda
8365e25f6b MDL-24954 fixed inverted guest icons 2010-11-01 07:31:54 +00:00
Aparup Banerjee
c79fd8a91e global search MDL-24892 fix in wiki search document to use subwikis. 2010-11-01 03:34:42 +00:00
Andrew Davis
33bd52f3e9 message MDL-24935 a fix to prevent notifications of your own actions appearing in your own messaging history 2010-11-01 02:27:34 +00:00
Sam Hemelryk
65e52192d5 NOBUG: Removed duplicate call to set pagelayout within adminlib 2010-11-01 02:10:31 +00:00
Moodle Robot
086349fab4 Updated the HEAD build version to 20101101 2010-11-01 00:47:46 +00:00
Andreas Grabs
8d8e6694c8 MDL-24958 - bad permission check on anonymous feedbacks 2010-10-31 22:05:57 +00:00
Pierre Pichet
8f609a37cf MDL-10110 MDL-20296 improve grading when unit input is empty 2010-10-31 13:27:58 +00:00
Moodle Robot
522226e1ee Updated the HEAD build version to 20101031 2010-10-31 00:51:57 +00:00
Pierre Pichet
e8a67abab4 MDL-10110 Eliminating references to question_numerical_options table 2010-10-30 15:36:23 +00:00
Pierre Pichet
92b3600575 MDL-24503 recoding unit grading options 2010-10-30 15:14:57 +00:00
Moodle Robot
122416d197 Updated the HEAD build version to 20101030 2010-10-30 00:50:00 +00:00
David Mudrak
2bd56a246f MDL-24932 Fixed regression caused by the previous commit
To reproduce it, I just added a smiley via the popup and inserted some
character directly afterwards. While the smiley img was saved, the text
was not 8-o (it even did not appear in the HTML source view of the
editor before the save).
2010-10-29 22:51:51 +00:00
David Mudrak
d504aeba97 MDL-24932 way around for bloody IE8 loosing caret position in moodleemoticon
Credit goes to Jan Sindberg for the idea published at
http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=59653#p59653
2010-10-29 22:01:07 +00:00