Commit graph

46353 commits

Author SHA1 Message Date
Tim Hunt
222fb6e5fe quiz MDL-24140 navigating to a question that was not first on the page was broken. 2010-11-02 19:20:58 +00:00
Tim Hunt
6723a0390b MDL-24140 Each attempt builds on last setting was being ingored in one place.
The code was behaving as if it was always true.
2010-11-02 19:12:21 +00:00
Tim Hunt
20d891228f MDL-24256 question category editing was messed up.
The unerlying problem seemed to be too many uses of pass-by-reference in listlib, where it was not necessary.
In investigating this code, I ended up doing a fair bit of cleaning up. Apologies that it leads to an unclear changeset.
2010-11-02 18:38:50 +00:00
Sam Marshall
b608881ca4 Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (update: glossary too) 2010-11-02 16:21:34 +00:00
Sam Marshall
72d021a927 Unit tests MDL-24976 Fixed conditionlib unit test (also added thing to ensure that debug warning in conditionlib is shown in unit test if applicable) 2010-11-02 15:04:21 +00:00
David Mudrak
7f91ba532b MDL-25015 documenting the usage of M.util.get_string() 2010-11-02 14:59:32 +00:00
David Mudrak
b532be2d53 MDL-25015 get_string() logic implementation in javascript
The new function allows to substitute {$a} placeholders on client side.
Version bump needed to clear javascript caches.
2010-11-02 14:24:19 +00:00
Sam Marshall
e67c213cc3 Unit tests MDL-24907 Fix blog unit tests 2010-11-02 14:18:11 +00:00
Sam Marshall
31fe61a22f Unit tests MDL-24975 Completion unit tests fix 2010-11-02 14:14:00 +00:00
Pierre Pichet
d8741145e8 MDL-24503 eliminating diagnostic echo or print_r() 2010-11-02 13:28:06 +00:00
Andrew Davis
f1c5b522fc condition MDL-24180 added a help item to the conditional activity availability config UI 2010-11-02 08:35:33 +00:00
Andrew Davis
4090a30fa2 message MDL-24972 removed some no longer required references to tabs 2010-11-02 07:58:16 +00:00
Andrew Davis
4ffa1463ec message MDL-24972 made sure all strings in messages are in the message recipient's language 2010-11-02 07:37:25 +00:00
David Mudrak
8179c167e4 MDL-24932 moodlemedia tinymce: fixed JavaScript syntax to make IE7 happy
Credit goes to Mauno Korpelainen for spotting this.
2010-11-02 06:44:08 +00:00
Andrew Davis
08cd70cf48 message MDL-24972 integrated message search into /message/index.php instead of having it happen on a separate page. This removed the need for contacts.php to exist. 2010-11-02 06:09:10 +00:00
Dongsheng Cai
980c237e6c MDL-25002, fixed wiki preview 2010-11-02 05:19:37 +00:00
Aparup Banerjee
55c5882639 global search MDL-24625 setting groupid to 0 for indexing 2010-11-02 03:50:09 +00:00
Dongsheng Cai
f776e221e5 MDL-24888, fixed tags itemtype in lib/db/upgrade.php 2010-11-02 03:26:10 +00:00
Andrew Davis
f20b0afabb message MDL-24972 removed the repeated restatement of your search terms in the search results 2010-11-02 03:09:56 +00:00
Andrew Davis
a402c30923 message MDL-24972 made search box smaller and added highlighting of currently selected user 2010-11-02 03:05:11 +00:00
Sam Hemelryk
37a75bee9f mod-wiki MDL-25001 Added missing arguments to optional_param_calls 2010-11-02 03:02:08 +00:00
Dongsheng Cai
d0da42d1b7 MDL-24917, display activity backup area in restore-pre ui 2010-11-02 02:29:21 +00:00
Eloy Lafuente
384437085a MDL-24996 - make forum_print_post() to specify context on format_text() calls 2010-11-02 01:59:20 +00:00
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