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
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
Petr Skoda
0ed7146b02
MDL-22584 fixed non standard space char breaking file upgrades
2010-11-01 16:00:47 +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
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
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
Sam Hemelryk
65e52192d5
NOBUG: Removed duplicate call to set pagelayout within adminlib
2010-11-01 02:10:31 +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
David Mudrak
9d16a85707
MDL-24932 fixed IE related bugs in moodleemoticon plugin
2010-10-29 21:22:11 +00:00
Andrew Davis
388025cbeb
message MDL-24713 added code to mark messages/notifications read if messaging is disabled to prevent the new message table getting huge
2010-10-29 08:02:42 +00:00
Rossiani Wijaya
b2b204b764
MDL-20044: fixed ajax functionality when using bullet points (<ul>) in topic summary.
2010-10-29 03:38:59 +00:00
Eloy Lafuente
5d31799af8
MDL-24397 dml - added some tests for limits with subqueries
2010-10-28 10:53:55 +00:00
Andrew Davis
f5b9b38cc9
message MDL-18977 altered messaging defaults generation
2010-10-28 08:25:36 +00:00
Rossiani Wijaya
4756795bf7
MDL-22528: fixed AJAX Course editing in Chrome and Safari.
2010-10-28 07:13:56 +00:00
Andrew Davis
6c4e8db081
message MDL-24894 now correctly setting timeread for notifications when there are no processors selected
2010-10-28 07:12:39 +00:00
Andrew Davis
7868480ab3
message MDL-24879 removed commented out code
2010-10-28 04:00:38 +00:00
Andrew Davis
212badff4d
message MDL-24879 added something to cron to remove read notifications
2010-10-28 03:59:40 +00:00
David Mudrak
5d394ec1b3
MDL-24507 tinymce moodleemoticon plugin replaces all occurrences of emoticon text with the image
2010-10-27 22:27:56 +00:00
David Mudrak
9632db7aea
MDL-23027 CLI installer allows to define site name and shortname
...
Credit goes to James Brisland for the submitted patch. I just polished
it a bit and changed the SQL condition that selects the site course
record from id=1 to format='site' (see xmldb_main_install() for how the
site course record is initialised, we should not rely on the id assigned
to it by the DB engine).
2010-10-27 19:18:45 +00:00
David Mudrak
ca7250661c
MDL-24507 new TinyMCE plugin moodleemoticon
2010-10-27 18:13:17 +00:00
David Mudrak
b9fadae72d
MDL-24507 support for the TinyMCE moodleemoticon plugin
2010-10-27 18:12:26 +00:00
Andrew Davis
fe983847dd
message MDL-24873 changes to reduce server load and also get the forum's custom email headers passed through correctly
2010-10-27 08:47:33 +00:00
Petr Skoda
1fa894b374
fixed table name typo
2010-10-27 08:09:32 +00:00
Petr Skoda
2b27ae7274
MDL-24878 fixed missing returns in cli fatal_error rendering
2010-10-27 07:48:19 +00:00
Andrew Davis
db0acadf45
message MDL-24873 updated message_popup_window() to be faster
2010-10-27 06:52:23 +00:00
Sam Hemelryk
8c74eec886
phpmailer MDL-24876 Changed var from private to public and noted in readme file
2010-10-27 06:26:30 +00:00
Andrew Davis
8d8d0ee2de
message MDL-24873 committing new version of message_popup_window() that should be much faster
2010-10-27 06:22:41 +00:00
Sam Hemelryk
3b59524d31
blogs MDL-24875 Increased uniquehash field size to 255 and added a str length check to external blog syncing.
2010-10-27 05:25:00 +00:00
Andrew Davis
2ab19e2a97
message MDL-18977 message defaults. having another go.
2010-10-27 02:55:55 +00:00
Andrew Davis
69554090c7
message MDL-18977 made the message preference default setting code a little more sophisticated to accomodate some requests
2010-10-27 02:14:26 +00:00
Petr Skoda
d217b95068
MDL-22584 detect file paths that are too long to fit into 255 char db field
2010-10-26 19:14:22 +00:00
Petr Skoda
ecb97a50f9
MDL-24852 updated yui readme
2010-10-26 19:07:56 +00:00
Petr Skoda
af3426f65e
MDL-24852 switching to yui 2.8.2
2010-10-26 19:06:14 +00:00
Petr Skoda
8ebc6dff42
MDL-24852 phploader meta info for yui 2.8.2
2010-10-26 19:02:15 +00:00
Petr Skoda
d0e538ba1c
MDL-19702 rewritten context caching by Sam Marshall + tweaks for potential problems caused by drift
2010-10-26 16:21:23 +00:00
Petr Skoda
f6f06d6919
MDL-22878 fixed incorrect install flag name, patch by John Beedell
2010-10-26 14:37:23 +00:00
Petr Skoda
fad1178612
MDL-24694 fixing broken upgrade once more - this step was skipped because two blocks had the same version number
2010-10-26 13:04:33 +00:00
Petr Skoda
f026fd1c82
MDL-24847 fixed incorrect unittest setup
2010-10-26 12:58:13 +00:00
Andrew Davis
018f4f996d
message MDL-24771 moved the upgrade code
2010-10-26 08:45:51 +00:00
Petr Skoda
d827f7b8b0
MDL-24848 fixed broken extra memory limit
2010-10-26 08:02:51 +00:00
Petr Skoda
8260ca36d5
MDL-24848 prevent undefined docs url problems in install
2010-10-26 08:01:22 +00:00
Andrew Davis
14a0e7ddff
message MDL-24771 another big commit of messaging fixes
2010-10-26 08:00:29 +00:00
Petr Skoda
79556891f8
MDL-24847 fixed problem when default roles have probibit capabilities
2010-10-26 07:51:09 +00:00