51218 Commits

Author SHA1 Message Date
Petr Skoda
aeacb7b128 MDL-31181 fix missing global $CFG that was breaking unit test teardown 2012-01-21 17:07:59 +01:00
Petr Skoda
681570b429 MDL-31182 fix fatal error when problem detected in finding messaging defaults 2012-01-21 16:59:16 +01:00
Petr Skoda
2e099772d9 MDL-31183 fix non-functional glossary_count_unrated_entries() 2012-01-21 16:47:03 +01:00
Petr Skoda
b310a86e49 MDL-31184 fix multiple problems when reseting individual glossary types 2012-01-21 16:31:04 +01:00
Petr Skoda
b1693caebc MDL-31185 fix missing CFG in forum_get_posts_by_user() 2012-01-21 16:17:06 +01:00
Petr Skoda
ecfc06d88a MDL-31186 fix wrong context preloading sql 2012-01-21 16:08:25 +01:00
Petr Skoda
1c199e29b1 MDL-31202 do not try sending emails to invalid addresses
The use of mtrace() in email_to_user() is most probably incorrect, I am going to use it only in CLI scripts (which includes cron). This should not be considered a security issue because we should be already validating emails when accepting them from untrusted users.
2012-01-21 15:21:08 +01:00
Petr Skoda
daac3835dc MDL-31208 fix obsolete get_record_sql() parameter
Credit goes to Rajesh Taneja.
2012-01-21 11:36:10 +01:00
Petr Skoda
820a8188ec MDL-31238 remove now unnecessary null to stdClass conversion for plugin settings 2012-01-21 11:15:30 +01:00
Petr Skoda
268b6709ec MDL-31238 always return object for plugin settings from get_config()
This prevents multiple creations of objects from NULL which is note a warnings in php54
2012-01-21 11:14:37 +01:00
Tim Hunt
0b94d6bff3 MDL-30120 questions: remove support for legacy qtype string names. 2012-01-20 19:42:42 +00:00
Tim Hunt
24400682a0 MDL-31065 question stats: fix analysis of responses not matching a given answer
When shortanswer, numerical, calculated and calculatedsimple questions
did not have a '*' match-anything answer, then any student response that
did not match any of the teacher-given answers were classified as
'[No response]', which was not right.

This patch fixes that. Such responses are now classified as
[Did not match any answer].

While I was doing this, I noticed that the display of tolerance
intervals for numerical questions in the response analysis was horrible,
so I improved it.
2012-01-20 17:44:22 +00:00
Tim Hunt
ee664a16f2 MDL-31205 quiz 'secure' window: scrollbars missing.
Embarrassing type in the arguments to openpopup
2012-01-20 17:28:26 +00:00
Tim Hunt
3159bf92e0 MDL-31065 qtype shortanswer: refactor the unit tests to use a proper helper. 2012-01-20 17:27:55 +00:00
Tim Hunt
c9b8a56f58 MDL-31058 qtype match 1.9 restore: fix restore of dodgy questions. 2012-01-20 17:27:23 +00:00
Tim Hunt
b7ab57f3af MDL-30033 quiz overall feedback not show for attempts with a -ve grade
This can happen, for example, if a student does really badly on a CBM quiz.
2012-01-20 17:12:43 +00:00
Marina Glancy
0387e003ad MDL-28352: Fixed bug in html_writer::select_time causing not autoselecting month 2012-01-20 16:04:59 +08:00
Sam Hemelryk
13915f89d4 MDL-31224 block_navigation: Fixed display of icons for node with an action_link action 2012-01-20 11:19:25 +08:00
Sam Hemelryk
ff8e5d47f8 MDL-29941 csslib: Improved PHPdocs and fixed up 4 and 5 char colour handling plus unittests 2012-01-20 11:05:38 +08:00
Sam Hemelryk
f37f608e75 MDL-29941 csslib: Peer-review documentation changes 2012-01-20 11:02:06 +08:00
Sam Hemelryk
6bbd4858b7 MDL-29941 csslib: Last minute cleanup before integration review
* Fixed reversed border styles.
* Added support for out of order background styles.
* Added more CSS tests again.
* Added better validation of CSS widths
2012-01-20 11:02:06 +08:00
Sam Hemelryk
0abd4846a0 MDL-29941 csslib: Improved PHPdocs 2012-01-20 11:02:06 +08:00
Sam Hemelryk
50836f26ca MDL-29941 csslib: Improved unit tests and fixed bugs with background and border partial style optimisation 2012-01-20 11:02:06 +08:00
Sam Hemelryk
1d1d807ea6 MDL-29941 csslib: Made optimisation an experimental option 2012-01-20 11:02:05 +08:00
Sam Hemelryk
8589a4a52e MDL-29941 csslib: Improved the stats generation and output 2012-01-20 11:02:05 +08:00
Sam Hemelryk
0e641c7437 MDL-29941 csslib: A CSS optimiser has been added to process our mountain of CSS 2012-01-20 11:02:05 +08:00
Marina Glancy
776d75b9a6 MDL-31179: added missing global 2012-01-20 10:33:27 +08:00
sam marshall
ea47046689 MDL-31153 File manager drag and drop English text improvement 2012-01-19 14:49:21 +00:00
Eloy Lafuente (stronk7)
f6b4ec2b4a weekly release 2.3dev (blame stronk7 for 0202 mistake)
On 20120102 version was incorrectly bumped to 2012-02-02. So,
until then (< 1mo) we are going to be incrementing decimal digits
only and not date ones (first 8).
2012-01-19 13:34:40 +01:00
Eloy Lafuente (stronk7)
aae1ebe999 Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-01-19 13:28:00 +01:00
Andrew Robert Nicols
2f76f1019e MDL-31242 Prevent redefinition of MOODLE_INTERNAL when loading multiple YUI modules from Moodle 2012-01-18 15:38:55 +01:00
Andrew Robert Nicols
7aefaa91c9 MDL-31245 Add missing 'icon' class to highlight button in topics format 2012-01-18 14:12:09 +00:00
Eloy Lafuente (stronk7)
7fb7e9835a MDL-31006 revert partially @ get_config()
The change from null to stdClass() in get_config() was leading to:

1) unit tests not passing.
2) non-equivalent evaluation in conditions (null evals false,
   stdClassi() evals true)
2012-01-18 02:09:46 +01:00
AMOS bot
3e2c9a037f Automatically generated installer lang files 2012-01-18 00:31:32 +00:00
Petr Skoda
927010240f MDL-31006 some more PHP54 notices
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Eloy Lafuente (stronk7)
ae924874d7 Merge branch 'w03_MDL-31213_m23_attributesmess' of git://github.com/skodak/moodle 2012-01-17 12:32:47 +01:00
Petr Skoda
48cbe43ded MDL-31213 fix incorrect modifications of quickforms attributes 2012-01-17 11:18:56 +01:00
Jerome Mouneyrac
2ada59b759 MDL-31077 REST server should return null if nothing fail and if the description function return null. 2012-01-17 15:37:27 +08:00
Eloy Lafuente (stronk7)
dc978ceb99 Merge branch 'w03_MDL-31053_m23_contextpreloading' of git://github.com/skodak/moodle 2012-01-17 02:18:46 +01:00
Eloy Lafuente (stronk7)
5f39437ae0 Merge branch 'w03_MDL-31127_m23_switchaccessinit' of git://github.com/skodak/moodle 2012-01-17 02:10:41 +01:00
Eloy Lafuente (stronk7)
679f37e5fe Merge branch 'w03_MDL-31161_m23_reqpluginnotice' of git://github.com/skodak/moodle 2012-01-17 02:05:53 +01:00
Eloy Lafuente (stronk7)
2176ed55e9 Merge branch 'MDL-31080' of git://github.com/timhunt/moodle 2012-01-17 01:58:51 +01:00
Eloy Lafuente (stronk7)
ec43e2267c Merge branch 'MDL-30408-master' of git://github.com/sammarshallou/moodle 2012-01-17 01:43:19 +01:00
Eloy Lafuente (stronk7)
4374d03158 Merge branch 'w03_MDL-31142_m23_slowiconv' of git://github.com/skodak/moodle 2012-01-17 01:36:03 +01:00
Eloy Lafuente (stronk7)
f58e09cbce Merge branch 'w03_MDL-31171_m23_blogattachment' of git://github.com/skodak/moodle 2012-01-17 01:31:59 +01:00
AMOS bot
c09ca45e96 Automatically generated installer lang files 2012-01-17 00:31:09 +00:00
Eloy Lafuente (stronk7)
479932c132 Merge branch 'w03_MDL-31170_m23_blogblocks' of git://github.com/skodak/moodle 2012-01-17 00:55:31 +01:00
Eloy Lafuente (stronk7)
325f3addf2 Merge branch 'MDL-3054' of git://github.com/nebgor/moodle 2012-01-16 12:24:35 +01:00
Eloy Lafuente (stronk7)
b3bc81893e Merge branch 'MDL-31196' of git://github.com/stronk7/moodle 2012-01-16 12:16:42 +01:00