11 years agoNOBUG: Turned off zlib compression when serving javascript files.
Sam Hemelryk [Fri, 5 Nov 2010 07:03:05 +0000 (07:03 +0000)]
NOBUG: Turned off zlib compression when serving javascript files.

11 years agowebservice MDL-18655 add new capability moodle/user:viewalldetails allowing to see...
jerome mouneyrac [Fri, 5 Nov 2010 06:55:43 +0000 (06:55 +0000)]
webservice MDL-18655 add new capability moodle/user:viewalldetails allowing to see all user information. This capability is set up copying the current moodle/user:update assignations

11 years agothemes MDL-24895 Fixed phantom scroll bar bug that was occurring on OSX Firefox,...
Sam Hemelryk [Fri, 5 Nov 2010 06:37:06 +0000 (06:37 +0000)]
themes MDL-24895 Fixed phantom scroll bar bug that was occurring on OSX Firefox, Chrome, and Safari

11 years agoMDL-15573, question export rewrite
Dongsheng Cai [Fri, 5 Nov 2010 06:34:00 +0000 (06:34 +0000)]
MDL-15573, question export rewrite

11 years agorss MDL-25076 made forum rss feeds that are displaying discussions instead of posts...
Andrew Davis [Fri, 5 Nov 2010 06:13:31 +0000 (06:13 +0000)]
rss MDL-25076 made forum rss feeds that are displaying discussions instead of posts correctly set the item titles

11 years agooutput MDL-24895 Removed debugging notice when setting an unchangeable pagelayout
Sam Hemelryk [Fri, 5 Nov 2010 04:19:08 +0000 (04:19 +0000)]
output MDL-24895 Removed debugging notice when setting an unchangeable pagelayout

11 years agoblocks MDL-25074 When adding pretend blocks if the requested region doesn't exist...
Sam Hemelryk [Fri, 5 Nov 2010 03:45:32 +0000 (03:45 +0000)]
blocks MDL-25074 When adding pretend blocks if the requested region doesn't exist it now uses the default region.

11 years agothemes lib MDL-24895 Multiple fixes to better handle overflow.
Sam Hemelryk [Fri, 5 Nov 2010 02:53:47 +0000 (02:53 +0000)]
themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.

11 years agoMDL-25069, chat, check if user loggedin
Dongsheng Cai [Fri, 5 Nov 2010 02:41:16 +0000 (02:41 +0000)]
MDL-25069, chat, check if user loggedin

11 years agoblock-blog_recent MDL-22942 Fixed up block config function, blog_recent doesn't have...
Sam Hemelryk [Fri, 5 Nov 2010 01:55:51 +0000 (01:55 +0000)]
block-blog_recent MDL-22942 Fixed up block config function, blog_recent doesn't have global settings

11 years agoUpdated the HEAD build version to 20101105
Moodle Robot [Fri, 5 Nov 2010 00:47:33 +0000 (00:47 +0000)]
Updated the HEAD build version to 20101105

11 years agoMDL-21395 rewording help string
Helen Foster [Thu, 4 Nov 2010 17:48:43 +0000 (17:48 +0000)]
MDL-21395 rewording help string

11 years agoMDL-21395 deleting unused string
Helen Foster [Thu, 4 Nov 2010 17:04:50 +0000 (17:04 +0000)]
MDL-21395 deleting unused string

11 years agocap rewording
Helen Foster [Thu, 4 Nov 2010 15:11:47 +0000 (15:11 +0000)]
cap rewording

11 years agoWorkshop aggregation is not expected to produce any output, just redirects back to...
David Mudrak [Thu, 4 Nov 2010 14:45:03 +0000 (14:45 +0000)]
Workshop aggregation is not expected to produce any output, just redirects back to the workshop main page

11 years agoquestion type upgrade MDL-24863 Fix broken upgrade on MSSQL.
Tim Hunt [Thu, 4 Nov 2010 09:49:00 +0000 (09:49 +0000)]
question type upgrade MDL-24863 Fix broken upgrade on MSSQL.
Thanks to mark williams for the report.

11 years agomessage MDL-24763 altered a debugging() call to have a unique message
Andrew Davis [Thu, 4 Nov 2010 06:36:56 +0000 (06:36 +0000)]
message MDL-24763 altered a debugging() call to have a unique message

11 years agomessage MDL-24763 prevented notifications from appearing in the messages block
Andrew Davis [Thu, 4 Nov 2010 06:04:40 +0000 (06:04 +0000)]
message MDL-24763 prevented notifications from appearing in the messages block

11 years agoNOBUG: Fixed syntax error
Sam Hemelryk [Thu, 4 Nov 2010 05:20:09 +0000 (05:20 +0000)]
NOBUG: Fixed syntax error

11 years agoMDL-22663, fixed webdav type option
Dongsheng Cai [Thu, 4 Nov 2010 03:46:41 +0000 (03:46 +0000)]
MDL-22663, fixed webdav type option

11 years agoUpdated the HEAD build version to 20101104
Moodle Robot [Thu, 4 Nov 2010 00:48:47 +0000 (00:48 +0000)]
Updated the HEAD build version to 20101104

11 years agoMDL-24896 Do not access PHPMailer's private properties but use public API only
David Mudrak [Wed, 3 Nov 2010 20:44:35 +0000 (20:44 +0000)]
MDL-24896 Do not access PHPMailer's private properties but use public API only

There was a problem with properties $to, $ReplyTo and $error_count that
are now private. $error_count is accessible via public IsError() method.
For the other two, we needed them just because of post-processing charset
conversion. So I just made sure that the charset is converted before
the recipent and reply-to names are added to the PHPMailer.

Also, I do not instantiate Typo3 during every email if it is not needed
and I pass the character set to it in lower case now as stated in
textlib documentation.

11 years agoMDL-24896 Removed hmm-note - PHPMailer's LE property is part of public API
David Mudrak [Wed, 3 Nov 2010 20:44:23 +0000 (20:44 +0000)]
MDL-24896 Removed hmm-note - PHPMailer's LE property is part of public API

11 years agoMDL-21276 removed forgotten MNet global variable declaration and unused static cache
David Mudrak [Wed, 3 Nov 2010 20:44:10 +0000 (20:44 +0000)]
MDL-21276 removed forgotten MNet global variable declaration and unused static cache

11 years agoMDL-24896 MDL-12596 RFCDate declared explicitly as public as it is in the parent...
David Mudrak [Wed, 3 Nov 2010 20:43:58 +0000 (20:43 +0000)]
MDL-24896 MDL-12596 RFCDate declared explicitly as public as it is in the parent class

The method used to be set as private in PHPdocs @access property in the
versions for PHP4. But apparenty upstream considers the function public.
Also, if the function did not declare visibility explicitly, it was
considered public anyway.

11 years agoMDL-24896 no more returning explicit reference by get_mailer
David Mudrak [Wed, 3 Nov 2010 20:43:46 +0000 (20:43 +0000)]
MDL-24896 no more returning explicit reference by get_mailer

PHP5 passes and returns reference to objects automatically, no need for
reference operator any more.

11 years agoMDL-24896 MDL-23240 class.phpmailer.php reverted to the vanilla upstream version
David Mudrak [Wed, 3 Nov 2010 20:43:34 +0000 (20:43 +0000)]
MDL-24896 MDL-23240 class.phpmailer.php reverted to the vanilla upstream version

11 years agoNOMDL Typo3 expects charset names in lower case
David Mudrak [Wed, 3 Nov 2010 19:33:08 +0000 (19:33 +0000)]
NOMDL Typo3 expects charset names in lower case

11 years agomessage MDL-24694 made the email message processor report success if the recipient...
Andrew Davis [Wed, 3 Nov 2010 07:57:31 +0000 (07:57 +0000)]
message MDL-24694 made the email message processor report success if the recipient has said they don't want to receive emails so that code sending messages isnt bothered by what looks like a failure.

11 years agomessage MDL-25033 made message search appear by default
Andrew Davis [Wed, 3 Nov 2010 07:33:26 +0000 (07:33 +0000)]
message MDL-25033 made message search appear by default

11 years agomessage MDL-25033 made the contact paging elements clickable even if they spill over...
Andrew Davis [Wed, 3 Nov 2010 06:56:17 +0000 (06:56 +0000)]
message MDL-25033 made the contact paging elements clickable even if they spill over into the right hand pane

11 years agoglobal search MDL-25030 fixed forum url anchor in index
Aparup Banerjee [Wed, 3 Nov 2010 04:09:59 +0000 (04:09 +0000)]
global search MDL-25030 fixed forum url anchor in index

11 years agomessage MDL-24970 removed more no longer used code
Andrew Davis [Wed, 3 Nov 2010 03:58:13 +0000 (03:58 +0000)]
message MDL-24970 removed more no longer used code

11 years agomessage MDL-24970 removed no longer used messaging code
Andrew Davis [Wed, 3 Nov 2010 03:49:30 +0000 (03:49 +0000)]
message MDL-24970 removed no longer used messaging code

11 years agoglobal search MDL-25009 indexing failures in each module are now handled so that...
Aparup Banerjee [Wed, 3 Nov 2010 03:47:52 +0000 (03:47 +0000)]
global search MDL-25009 indexing failures in each module are now handled so that indexing can proceed to the next module.

11 years agoglobal search MDL-25010 indexer now recurses through every forum post.
Aparup Banerjee [Wed, 3 Nov 2010 03:23:07 +0000 (03:23 +0000)]
global search MDL-25010 indexer now recurses through every forum post.
also a temp fix (MDL-24822) for forum groupid.

11 years agopublication MDL-24687 fix pb with screenshots sent during a second course sharing
jerome mouneyrac [Wed, 3 Nov 2010 02:43:40 +0000 (02:43 +0000)]
publication MDL-24687 fix pb with screenshots sent during a second course sharing

11 years agotheme-anomaly MDL-25028 Removed unused function is anomaly's lib.php file.
Sam Hemelryk [Wed, 3 Nov 2010 02:26:16 +0000 (02:26 +0000)]
theme-anomaly MDL-25028 Removed unused function is anomaly's lib.php file.

11 years agoUpdated the HEAD build version to 20101103
Moodle Robot [Wed, 3 Nov 2010 00:48:32 +0000 (00:48 +0000)]
Updated the HEAD build version to 20101103

11 years agoMDL-25018 stop html_to_text from breaking utf-8 multibyte characters.
Tim Hunt [Tue, 2 Nov 2010 20:03:48 +0000 (20:03 +0000)]
MDL-25018 stop html_to_text from breaking utf-8 multibyte characters.

11 years agoquiz 'secure' mode MDL-21085 remove popup-blocker check.
Tim Hunt [Tue, 2 Nov 2010 19:49:09 +0000 (19:49 +0000)]
quiz 'secure' mode MDL-21085 remove popup-blocker check.

It was unnecessary on modern browsers, since they let thought a pop-up if you just clicked on a link, so this check was just causing an annoying and misleading alert.

Since the popupchecker was only used here, and since it was implemented in a way that does not work on all browsers, I just deleted the function. If anyone ever finds that they acutally need this functionality, they can re-implement it in a way that works.

11 years agoquiz MDL-24140 navigating to a question that was not first on the page was broken.
Tim Hunt [Tue, 2 Nov 2010 19:20:58 +0000 (19:20 +0000)]
quiz MDL-24140 navigating to a question that was not first on the page was broken.

11 years agoMDL-24140 Each attempt builds on last setting was being ingored in one place.
Tim Hunt [Tue, 2 Nov 2010 19:12:21 +0000 (19:12 +0000)]
MDL-24140 Each attempt builds on last setting was being ingored in one place.
The code was behaving as if it was always true.

11 years agoMDL-24256 question category editing was messed up.
Tim Hunt [Tue, 2 Nov 2010 18:38:50 +0000 (18:38 +0000)]
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.

11 years agoUnit tests MDL-24981 Fixed portfolio unit test so it at least runs (update: glossary...
Sam Marshall [Tue, 2 Nov 2010 16:21:34 +0000 (16:21 +0000)]
Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (update: glossary too)

11 years agoUnit tests MDL-24976 Fixed conditionlib unit test (also added thing to ensure that...
Sam Marshall [Tue, 2 Nov 2010 15:04:21 +0000 (15:04 +0000)]
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)

11 years agoMDL-25015 documenting the usage of M.util.get_string()
David Mudrak [Tue, 2 Nov 2010 14:59:32 +0000 (14:59 +0000)]
MDL-25015 documenting the usage of M.util.get_string()

11 years agoMDL-25015 get_string() logic implementation in javascript
David Mudrak [Tue, 2 Nov 2010 14:24:19 +0000 (14:24 +0000)]
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.

11 years agoUnit tests MDL-24907 Fix blog unit tests
Sam Marshall [Tue, 2 Nov 2010 14:18:11 +0000 (14:18 +0000)]
Unit tests MDL-24907 Fix blog unit tests

11 years agoUnit tests MDL-24975 Completion unit tests fix
Sam Marshall [Tue, 2 Nov 2010 14:14:00 +0000 (14:14 +0000)]
Unit tests MDL-24975 Completion unit tests fix

11 years agoMDL-24503 eliminating diagnostic echo or print_r()
Pierre Pichet [Tue, 2 Nov 2010 13:28:06 +0000 (13:28 +0000)]
MDL-24503  eliminating diagnostic echo or print_r()

11 years agocondition MDL-24180 added a help item to the conditional activity availability config UI
Andrew Davis [Tue, 2 Nov 2010 08:35:33 +0000 (08:35 +0000)]
condition MDL-24180 added a help item to the conditional activity availability config UI

11 years agomessage MDL-24972 removed some no longer required references to tabs
Andrew Davis [Tue, 2 Nov 2010 07:58:16 +0000 (07:58 +0000)]
message MDL-24972 removed some no longer required references to tabs

11 years agomessage MDL-24972 made sure all strings in messages are in the message recipient...
Andrew Davis [Tue, 2 Nov 2010 07:37:25 +0000 (07:37 +0000)]
message MDL-24972 made sure all strings in messages are in the message recipient's language

11 years agoMDL-24932 moodlemedia tinymce: fixed JavaScript syntax to make IE7 happy
David Mudrak [Tue, 2 Nov 2010 06:44:08 +0000 (06:44 +0000)]
MDL-24932 moodlemedia tinymce: fixed JavaScript syntax to make IE7 happy

Credit goes to Mauno Korpelainen for spotting this.

11 years agomessage MDL-24972 integrated message search into /message/index.php instead of having...
Andrew Davis [Tue, 2 Nov 2010 06:09:10 +0000 (06:09 +0000)]
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.

11 years agoMDL-25002, fixed wiki preview
Dongsheng Cai [Tue, 2 Nov 2010 05:19:37 +0000 (05:19 +0000)]
MDL-25002, fixed wiki preview

11 years agoglobal search MDL-24625 setting groupid to 0 for indexing
Aparup Banerjee [Tue, 2 Nov 2010 03:50:09 +0000 (03:50 +0000)]
global search MDL-24625 setting groupid to 0 for indexing

11 years agoMDL-24888, fixed tags itemtype in lib/db/upgrade.php
Dongsheng Cai [Tue, 2 Nov 2010 03:26:10 +0000 (03:26 +0000)]
MDL-24888, fixed tags itemtype in lib/db/upgrade.php

11 years agomessage MDL-24972 removed the repeated restatement of your search terms in the search...
Andrew Davis [Tue, 2 Nov 2010 03:09:56 +0000 (03:09 +0000)]
message MDL-24972 removed the repeated restatement of your search terms in the search results

11 years agomessage MDL-24972 made search box smaller and added highlighting of currently selecte...
Andrew Davis [Tue, 2 Nov 2010 03:05:11 +0000 (03:05 +0000)]
message MDL-24972 made search box smaller and added highlighting of currently selected user

11 years agomod-wiki MDL-25001 Added missing arguments to optional_param_calls
Sam Hemelryk [Tue, 2 Nov 2010 03:02:08 +0000 (03:02 +0000)]
mod-wiki MDL-25001 Added missing arguments to optional_param_calls

11 years agoMDL-24917, display activity backup area in restore-pre ui
Dongsheng Cai [Tue, 2 Nov 2010 02:29:21 +0000 (02:29 +0000)]
MDL-24917, display activity backup area in restore-pre ui

11 years agoMDL-24996 - make forum_print_post() to specify context on format_text() calls
Eloy Lafuente [Tue, 2 Nov 2010 01:59:20 +0000 (01:59 +0000)]
MDL-24996 - make forum_print_post() to specify context on format_text() calls

11 years agoAssignment MDL-24948 fix depreceated calls to get group info
Dan Marsden [Tue, 2 Nov 2010 01:38:56 +0000 (01:38 +0000)]
Assignment MDL-24948 fix depreceated calls to get group info

11 years agoMDL-25000 backup - prevent calling get_mapping() with empty ids. Yay, 25000!
Eloy Lafuente [Tue, 2 Nov 2010 01:05:43 +0000 (01:05 +0000)]
MDL-25000 backup - prevent calling get_mapping() with empty ids. Yay, 25000!

11 years agoUpdated the HEAD build version to 20101102
Moodle Robot [Tue, 2 Nov 2010 00:48:51 +0000 (00:48 +0000)]
Updated the HEAD build version to 20101102

11 years agoMDL-24962 backup - now destroying circular refs manually to help PHP 5.2
Eloy Lafuente [Mon, 1 Nov 2010 22:09:44 +0000 (22:09 +0000)]
MDL-24962 backup - now destroying circular refs manually to help PHP 5.2

11 years agoMDL-24932 moodleemoticon tinymce: use restoreSelection() instead of custom bookmark...
David Mudrak [Mon, 1 Nov 2010 19:53:53 +0000 (19:53 +0000)]
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.

11 years agoqtype_multichoice MDL-24937 multichoice questions were getting marked as answered...
Tim Hunt [Mon, 1 Nov 2010 18:14:27 +0000 (18:14 +0000)]
qtype_multichoice MDL-24937 multichoice questions were getting marked as answered even when they weren't.

11 years agoUnit tests MDL-24992 Fixed mod/wiki unit test CRLF issue (ahem, not using ereg)
Sam Marshall [Mon, 1 Nov 2010 18:06:10 +0000 (18:06 +0000)]
Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue (ahem, not using ereg)

11 years agoUnit tests MDL-24992 Fixed mod/wiki unit test CRLF issue
Sam Marshall [Mon, 1 Nov 2010 18:04:26 +0000 (18:04 +0000)]
Unit tests MDL-24992 Fixed mod/wiki unit test CRLF issue

11 years agoUnit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23...
Sam Marshall [Mon, 1 Nov 2010 18:00:57 +0000 (18:00 +0000)]
Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23 exceptions and only 2 passes)

11 years agoquiz/question javascript MDL-24170 Enter in a shortanswer question preview should...
Tim Hunt [Mon, 1 Nov 2010 17:44:59 +0000 (17:44 +0000)]
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
line was needed in quiz_get_js_module, but it seems to be.

Also change non-Moodle-y string "End test..." to "Finish attempt..."

11 years agoquiz lang MDL-24170 move an old string to a more logical name, before making the...
Tim Hunt [Mon, 1 Nov 2010 17:36:15 +0000 (17:36 +0000)]
quiz lang MDL-24170 move an old string to a more logical name, before making the real change.
 MOV [finishattempt,mod_quiz],[submitallandfinish,mod_quiz]

11 years agoBackup MDL-24906 Fixed unit test failures
Sam Marshall [Mon, 1 Nov 2010 16:33:30 +0000 (16:33 +0000)]
Backup MDL-24906 Fixed unit test failures

11 years agoMDL-22584 fixed non standard space char breaking file upgrades
Petr Skoda [Mon, 1 Nov 2010 16:00:47 +0000 (16:00 +0000)]
MDL-22584 fixed non standard space char breaking file upgrades

11 years agoNOBUG: Clean already implemented TODO
Eloy Lafuente [Mon, 1 Nov 2010 15:55:59 +0000 (15:55 +0000)]
NOBUG: Clean already implemented TODO

11 years agoMDL-23478 backup - Implement glossary_random & quiz_results after_restore() methods
Eloy Lafuente [Mon, 1 Nov 2010 15:55:12 +0000 (15:55 +0000)]
MDL-23478 backup - Implement glossary_random & quiz_results after_restore() methods

11 years agoNOBUG: Added support for after_restore() methods on restore. Will help some blocks.
Eloy Lafuente [Mon, 1 Nov 2010 15:53:35 +0000 (15:53 +0000)]
NOBUG: Added support for after_restore() methods on restore. Will help some blocks.

11 years agoNOBUG: Added note to avoid forgetting it
Eloy Lafuente [Mon, 1 Nov 2010 15:52:18 +0000 (15:52 +0000)]
NOBUG: Added note to avoid forgetting it

11 years agoMDL-22164 backup - cleaning old backup & restore code in blocks
Eloy Lafuente [Mon, 1 Nov 2010 15:51:20 +0000 (15:51 +0000)]
MDL-22164 backup - cleaning old backup & restore code in blocks

11 years agoMDL-24817 backup - added support for decode contents in plugins (and qtypes)
Eloy Lafuente [Mon, 1 Nov 2010 15:49:01 +0000 (15:49 +0000)]
MDL-24817 backup - added support for decode contents in plugins (and qtypes)

11 years agoMDL-22164 backup - more cleanup of old 1.9 backup/restore code
Eloy Lafuente [Mon, 1 Nov 2010 15:47:07 +0000 (15:47 +0000)]
MDL-22164 backup - more cleanup of old 1.9 backup/restore code

11 years agoUnit tests MDL-24994 Numerical question unit test was broken
Sam Marshall [Mon, 1 Nov 2010 15:46:58 +0000 (15:46 +0000)]
Unit tests MDL-24994 Numerical question unit test was broken

11 years agoUnit tests MDL-24982 testrepositorylib uses old test class
Sam Marshall [Mon, 1 Nov 2010 15:20:16 +0000 (15:20 +0000)]
Unit tests MDL-24982 testrepositorylib uses old test class

11 years agoUnit tests MDL-24909 Unit tests used 5 minute time limit per test class; this is...
Sam Marshall [Mon, 1 Nov 2010 15:14:37 +0000 (15:14 +0000)]
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.

11 years agoBackup MDL-24906 Fixed unit test failures
Sam Marshall [Mon, 1 Nov 2010 14:46:07 +0000 (14:46 +0000)]
Backup MDL-24906 Fixed unit test failures

11 years agoquiz MDL-24499 simple typo when putting values into a string.
Tim Hunt [Mon, 1 Nov 2010 14:40:25 +0000 (14:40 +0000)]
quiz MDL-24499 simple typo when putting values into a string.
Thanks to Manish Verma for noticing this.

11 years agoquiz reports MDL-24603 columns in the overview report should be collapsible.
Tim Hunt [Mon, 1 Nov 2010 14:36:58 +0000 (14:36 +0000)]
quiz reports MDL-24603 columns in the overview report should be collapsible.

11 years agothemes/unit tests MDL-24983 move the pretty colour styles to the base theme.
Tim Hunt [Mon, 1 Nov 2010 13:40:06 +0000 (13:40 +0000)]
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.

11 years agoxmldb MDL-24979 Made xmldb (a) not hide libxml errors permanently, (b) not incorrectl...
Sam Marshall [Mon, 1 Nov 2010 13:35:27 +0000 (13:35 +0000)]
xmldb MDL-24979 Made xmldb (a) not hide libxml errors permanently, (b) not incorrectly report previous errors with a later, working file

11 years agoget_config / unit tests MDL-24977 get_config('a_plugin'); should return something...
Tim Hunt [Mon, 1 Nov 2010 12:20:39 +0000 (12:20 +0000)]
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.

11 years agoUnit tests MDL-24978 Fixed locale dependency
Sam Marshall [Mon, 1 Nov 2010 12:11:41 +0000 (12:11 +0000)]
Unit tests MDL-24978 Fixed locale dependency

11 years agoUnit tests MDL-24842: Fixed error in previous UnitTestCaseDatabase change
Sam Marshall [Mon, 1 Nov 2010 11:14:34 +0000 (11:14 +0000)]
Unit tests MDL-24842: Fixed error in previous UnitTestCaseDatabase change

11 years agoMDL-24914: Navigationlib unit test fails due to 'temporary' commenting of function...
Sam Marshall [Mon, 1 Nov 2010 10:46:42 +0000 (10:46 +0000)]
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

11 years agograde/report: MDL-21001 Gradebook shows ranges always
Inaki [Mon, 1 Nov 2010 10:24:21 +0000 (10:24 +0000)]
grade/report: MDL-21001 Gradebook shows ranges always

We unconditionnally set them to visible, ignoring configured settings.
Fix it.

11 years agoMDL-24960 emoticon admin settings: fixed a bug in the upgrade path
David Mudrak [Mon, 1 Nov 2010 09:35:57 +0000 (09:35 +0000)]
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.

11 years agomessage MDL-24972 removed a table from the messaging config page
Andrew Davis [Mon, 1 Nov 2010 09:09:58 +0000 (09:09 +0000)]
message MDL-24972 removed a table from the messaging config page

11 years agomessage MDL-24972 removed the new search button and moved blocked users to last posit...
Andrew Davis [Mon, 1 Nov 2010 09:01:45 +0000 (09:01 +0000)]
message MDL-24972 removed the new search button and moved blocked users to last position in the messaging nav box