Tim Hunt [Fri, 1 Jul 2011 08:44:31 +0000 (09:44 +0100)]
MDL-27418 fix minor regression found by Rajesh.
Tim Hunt [Wed, 29 Jun 2011 14:41:56 +0000 (15:41 +0100)]
MDL-27418 qtype numerical correct grading of 'right value, wrong unit' reponses.
Probably easiest to explain by example: If the right answer is 1.23 m with alternate
unit 100 cm = 1m then the completely right answers are 1.23 m and 123 cm.
Right answer, wrong unit responses include 1.23, 1.23 frogs and 1.23 cm.
123 m is not considered to have the correct numerical value.
We may well re-consider the way this works in a future version of Moodle.
Unit grading was not implemented before Moodle 2.0. In Moodle 2.0, the unit grading
was more permissive than here, for example 123 m would have been graded correctly in
2.0. However, I'm not sure I follow the rationale for that.
Tim Hunt [Wed, 29 Jun 2011 05:55:45 +0000 (06:55 +0100)]
MDL-27418 add unit tests for the problem case identified by Pierre.
Tim Hunt [Tue, 28 Jun 2011 17:26:34 +0000 (18:26 +0100)]
MDL-27418 add validation to stop students intering a thosands sep.
If it might be confused by a decimal point from another locale.
Tim Hunt [Tue, 28 Jun 2011 17:12:35 +0000 (18:12 +0100)]
MDL-27418 qtype numeric go back to the very permissive number parsing from Moodle 2.0.
I hope my unit tests are good enough to make this change safe.
Tim Hunt [Tue, 28 Jun 2011 16:37:09 +0000 (17:37 +0100)]
MDL-27418 qtype_numeric correct output of numbers in locales that use , for decimal point.
Tim Hunt [Tue, 28 Jun 2011 16:36:24 +0000 (17:36 +0100)]
MDL-27418 correct validation of numerical answers in qtype numeric.
This mostly affects locales that use , as decimal point.
Tim Hunt [Tue, 28 Jun 2011 16:34:24 +0000 (17:34 +0100)]
MDL-27418 fix typo
I really should refactor to eliminate this duplicated code.
Tim Hunt [Tue, 28 Jun 2011 15:33:01 +0000 (16:33 +0100)]
MDL-27430 qtype numerical put multiple-choice units back to radio buttons
It seems that people want to be able to use <sup> and <sub> here, which
makes sense, so we need to keep radio buttons for questions upgraded
from 2.0. The dropdown menu, however, is also nice, so keep that option
too for new questions.
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 15:32:54 +0000 (17:32 +0200)]
on-demand release 2.1beta
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 15:31:42 +0000 (17:31 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 15:12:40 +0000 (17:12 +0200)]
Merge branch 'MDL-28033' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 13:56:03 +0000 (15:56 +0200)]
Merge branch 'MDL-28049' of git://github.com/timhunt/moodle
sam marshall [Fri, 24 Jun 2011 13:02:04 +0000 (14:02 +0100)]
MDL-28021 Completion system can create inconsistent database rows
This change includes:
(1) update deletes older versions of inconsistent rows
(2) update drops one index and replaces it with a new unique index
(3) fixed to ensure that when it decides whether to insert or update
it uses current database state and not cached info
(4) unit tests updated to test #3
Conflicts:
lib/db/upgrade.php
version.php
Tim Hunt [Mon, 27 Jun 2011 12:59:57 +0000 (13:59 +0100)]
MDL-28049 conditional include so xml question format can work for both lesson and 3rd party qtypes.
This is a regression caused by MDL-27956.
Tim Hunt [Mon, 27 Jun 2011 12:43:11 +0000 (13:43 +0100)]
MDL-28033 Fatal error upgrading form 1.9 to 2.1 due to missing include.
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 12:06:13 +0000 (14:06 +0200)]
Merge branch 'unsigned_fixes' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 09:37:34 +0000 (11:37 +0200)]
MDL-28032 database - finally question->defaultmark goes signed. Changing prev commit.
Eloy Lafuente (stronk7) [Mon, 27 Jun 2011 08:11:02 +0000 (10:11 +0200)]
Merge branch 'wip-MDL-27809-master-r7' of git://github.com/samhemelryk/moodle
Sam Hemelryk [Mon, 27 Jun 2011 08:03:48 +0000 (16:03 +0800)]
Merge branch 'MDL-26199' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 27 Jun 2011 07:45:41 +0000 (15:45 +0800)]
Merge branch 'unsigned_fixes' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 27 Jun 2011 07:30:11 +0000 (15:30 +0800)]
Merge branch 'quizreport_langstrings' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 27 Jun 2011 07:28:49 +0000 (15:28 +0800)]
Merge branch 'backup_bump' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 27 Jun 2011 07:11:28 +0000 (15:11 +0800)]
MDL-27809 navigation: Fixed up a couple of minor issues after peer-review
AMOS bot [Mon, 27 Jun 2011 00:55:10 +0000 (00:55 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Sun, 26 Jun 2011 23:44:40 +0000 (01:44 +0200)]
Merge branch 'MDL-28024' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Sun, 26 Jun 2011 17:15:06 +0000 (19:15 +0200)]
MDL-28038 backup - bump
Eloy Lafuente (stronk7) [Sun, 26 Jun 2011 16:22:23 +0000 (18:22 +0200)]
MDL-28036 quiz - add some missing (reports) lang strings
Eloy Lafuente (stronk7) [Sun, 26 Jun 2011 11:12:42 +0000 (13:12 +0200)]
MDL-28032 database - fix some sign inconsistencies
Eloy Lafuente (stronk7) [Fri, 24 Jun 2011 23:09:51 +0000 (01:09 +0200)]
MDL-28032 database - retrofit signed info for decimal/float (improves diffs detection)
Tim Hunt [Fri, 24 Jun 2011 13:26:49 +0000 (14:26 +0100)]
MDL-28024 adaptive qbehaviour. Displayed penalties not rounded correctly.
Rossiani Wijaya [Fri, 24 Jun 2011 08:41:47 +0000 (16:41 +0800)]
MDL-27922 lesson mod: fixed string for activity link
Sam Hemelryk [Fri, 24 Jun 2011 08:42:41 +0000 (16:42 +0800)]
MDL-27809 navigation: Reworked the caching within navigation and improved the ordering of events in order to reduce the use of session without serious impact on serverload
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 22:48:51 +0000 (00:48 +0200)]
on-demand release 2.1beta
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 22:31:53 +0000 (00:31 +0200)]
Merge branch 'MDL-28012' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 22:21:58 +0000 (00:21 +0200)]
Merge branch 'MDL-27827_head' of git://github.com/grabs/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 22:13:48 +0000 (00:13 +0200)]
Merge branch 's11_MDL-27999_wiki_preview_master' of github.com:dongsheng/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 22:02:20 +0000 (00:02 +0200)]
Merge branch 'wip-MDL-27962-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 21:57:55 +0000 (23:57 +0200)]
Merge branch 'wip-MDL-27958-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 21:54:32 +0000 (23:54 +0200)]
Merge branch 'wip-MDL-27940-master' of git://github.com/samhemelryk/moodle
Andreas Grabs [Thu, 23 Jun 2011 18:33:12 +0000 (20:33 +0200)]
MDL-27827 - Missing messageprovider:message language string
Tim Hunt [Thu, 23 Jun 2011 17:53:07 +0000 (18:53 +0100)]
MDL-28012 Quiz editing status line can display screwy dates.
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 16:24:57 +0000 (18:24 +0200)]
on-demand release 2.1beta
stabijoh [Thu, 23 Jun 2011 10:52:38 +0000 (06:52 -0400)]
MDL-27998 canvas theme - fix font sizes
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 09:25:48 +0000 (11:25 +0200)]
weekly release 2.1beta
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 09:24:03 +0000 (11:24 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 09:16:00 +0000 (11:16 +0200)]
Merge branch 's10_MDL-27341_flickr_plugin_master' of git://github.com/dongsheng/moodle
Dongsheng Cai [Thu, 23 Jun 2011 09:13:46 +0000 (17:13 +0800)]
MDL-26677 flickr repo - fix undefined index usewatermarks
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 08:15:07 +0000 (10:15 +0200)]
Merge branch 'MDL-27920_grade_export' of git://github.com/andyjdavis/moodle
Andrew Davis (andyjdavis) [Thu, 23 Jun 2011 07:58:44 +0000 (15:58 +0800)]
MDL-27920 gradebook: fixes following integration review
Tim Hunt [Fri, 17 Jun 2011 17:31:22 +0000 (18:31 +0100)]
MDL-26199 further changes needed to make the question bank navigation behave.
Tim Hunt [Fri, 17 Jun 2011 17:30:55 +0000 (18:30 +0100)]
MDL-26199 keep track of the current category when switching pages in the question bank.
Dongsheng Cai [Thu, 23 Jun 2011 05:52:14 +0000 (13:52 +0800)]
MDL-27999 mod wiki, fixed broken image in preview
Sam Hemelryk [Thu, 23 Jun 2011 05:33:28 +0000 (13:33 +0800)]
MDL-27962 Fixed typo in tablelib preventing columns from being collapsed
Sam Hemelryk [Thu, 23 Jun 2011 04:16:09 +0000 (12:16 +0800)]
MDL-27958 Added missing set_context call which would cause errors for all contexts below course
Sam Hemelryk [Thu, 23 Jun 2011 03:29:26 +0000 (11:29 +0800)]
MDL-27940 navigaiton: Fixed an ordering problem so that when a parent was set for a node the nodes activity was accounted for
Sam Hemelryk [Thu, 23 Jun 2011 02:43:57 +0000 (10:43 +0800)]
Merge branch 'MDL-27169_master' of git://github.com/stronk7/moodle
AMOS bot [Thu, 23 Jun 2011 00:55:12 +0000 (00:55 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 00:04:30 +0000 (02:04 +0200)]
MDL-26677 repositories - clean one debugging var_dump()
Eloy Lafuente (stronk7) [Thu, 23 Jun 2011 00:02:24 +0000 (02:02 +0200)]
Merge branch 's10_MDL-27341_flickr_plugin_master' of git://github.com/dongsheng/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 23:14:19 +0000 (01:14 +0200)]
Merge branch 'MDL-27948' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:51:16 +0000 (00:51 +0200)]
Merge branch 'MDL-27929' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:46:29 +0000 (00:46 +0200)]
Merge branch 'MDL-27937' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:43:11 +0000 (00:43 +0200)]
Merge branch 'MDL-27973' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:37:13 +0000 (00:37 +0200)]
Merge branch 'MDL-27974' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:34:03 +0000 (00:34 +0200)]
Merge branch 'MDL-27979' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:29:28 +0000 (00:29 +0200)]
Merge branch 'MDL-27991' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 22:25:27 +0000 (00:25 +0200)]
Merge branch 'MDL-27196-hardcodedstrings' of git://github.com/mudrd8mz/moodle
Tim Hunt [Wed, 22 Jun 2011 20:07:40 +0000 (21:07 +0100)]
MDL-27979 Should be an edit link for each question when previewing or reviewing a quiz.
Tim Hunt [Wed, 22 Jun 2011 18:49:39 +0000 (19:49 +0100)]
MDL-27937 Calculated tolerance field should have the label Tolerance +-
Tim Hunt [Wed, 22 Jun 2011 18:24:45 +0000 (19:24 +0100)]
MDL-27991 End test... should be Finish attempt... to be more Moodly
Tim Hunt [Wed, 22 Jun 2011 17:53:15 +0000 (18:53 +0100)]
MDL-27948 The question engine should use recordsets to load attempt data
This should be good for performance (memory usage). It also avoids having to construct a meaningless, unique, first column, which is a pain on MyQSL.
Tim Hunt [Wed, 22 Jun 2011 17:46:15 +0000 (18:46 +0100)]
MDL-27929 question_attempts.minfraction should be signed!
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 17:28:36 +0000 (19:28 +0200)]
MDL-27169 filepicker - add explicit enctype to the js upload form. Credit goes to J Ross Nicoll, thanks!
David Mudrak [Wed, 22 Jun 2011 15:58:48 +0000 (17:58 +0200)]
MDL-27196 workshop - hardcoded strings in the random allocator
David Mudrak [Wed, 22 Jun 2011 15:40:40 +0000 (17:40 +0200)]
MDL-27196 workshop - hardcoded string in the number of errors strategy form
Tim Hunt [Wed, 22 Jun 2011 14:56:05 +0000 (15:56 +0100)]
MDL-27973 hopefully fix QTI2 question export.
Well, at least fix the most obvious notices.
Tim Hunt [Wed, 22 Jun 2011 14:26:34 +0000 (15:26 +0100)]
MDL-27974 problems with gift question import/export.
Double-escapeing in match export and not initialising combined feedback on import.
Also remove a lot of redundant breaks.
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 12:27:46 +0000 (14:27 +0200)]
Merge branch 'wip-mdl-26281-master' of git://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 12:21:01 +0000 (14:21 +0200)]
Merge branch 'wip-mdl-27956-master' of git://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 12:15:52 +0000 (14:15 +0200)]
Merge branch 'MDL-27969-randomallocator' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 12:11:18 +0000 (14:11 +0200)]
Merge branch 'MDL-27073_multilang-custommenu' of git://github.com/mudrd8mz/moodle
David Mudrak [Wed, 22 Jun 2011 10:03:56 +0000 (12:03 +0200)]
MDL-27969 workshop - prevent PHP notices in the random allocator
When generating the output of the allocation results, the names of
reviewers and authors are obtained based on the current state of assigned
roles and the 'musthavesubmission' setting. Therefore, when we want to
display information about a re-used allocation, the name of the author
or the name of the author may not be available.
In case of reviewers, we first try to reload the list including the
users without own submission. If it does not help, we just display the
id of the user instead of the name. In case of authors, we just display
the id the user. I can't see much point of eventual fetching the user
record from the database just to populate the list that almost no-one
reads anyway.
Sam Hemelryk [Wed, 22 Jun 2011 09:20:49 +0000 (17:20 +0800)]
Merge branch 'MDL-27952' of git://github.com/stronk7/moodle
Rajesh Taneja [Tue, 21 Jun 2011 05:31:32 +0000 (13:31 +0800)]
MDL-26281 Lesson - Fixed short answer with apostrophe and other html formats
Sam Hemelryk [Wed, 22 Jun 2011 09:15:10 +0000 (17:15 +0800)]
Merge branch 'MDL-27966_master' of git://github.com/stronk7/moodle
Sam Hemelryk [Wed, 22 Jun 2011 09:06:12 +0000 (17:06 +0800)]
Merge branch 'MDL-25811_master' of git://github.com/stronk7/moodle
Rajesh Taneja [Tue, 21 Jun 2011 08:57:37 +0000 (16:57 +0800)]
MDL-27956 Lesson - Fixed strings and readquestions scope
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 01:06:14 +0000 (03:06 +0200)]
Merge branch 's10_MDL-27341_flickr_json_error_master' of git://github.com/dongsheng/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 00:57:50 +0000 (02:57 +0200)]
Merge branch 'MDL-27860' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 00:52:50 +0000 (02:52 +0200)]
Merge branch 'MDL-27914' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 00:35:25 +0000 (02:35 +0200)]
Merge branch 'MDL-26948' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 22 Jun 2011 00:10:11 +0000 (02:10 +0200)]
MDL-27810 portfolio: Added ->portfolioenabled check to one more place
Eloy Lafuente (stronk7) [Tue, 21 Jun 2011 23:56:30 +0000 (01:56 +0200)]
Merge branch 'wip-MDL-27810-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 21 Jun 2011 23:52:57 +0000 (01:52 +0200)]
Merge branch 'MDL-27906_HEAD' of git://github.com/rwijaya/moodle
Eloy Lafuente (stronk7) [Tue, 21 Jun 2011 23:35:15 +0000 (01:35 +0200)]
Merge branch 'master_MDL-27959' of git://github.com/danmarsden/moodle
David Mudrak [Tue, 21 Jun 2011 22:34:45 +0000 (00:34 +0200)]
MDL-27970 workshop submission can't be edited after the deadline even if late submissions are allowed
Eloy Lafuente (stronk7) [Tue, 21 Jun 2011 14:23:24 +0000 (16:23 +0200)]
MDL-27966 timezones - updated to 2011g version + fix minor notice
Aparup Banerjee [Tue, 21 Jun 2011 06:22:00 +0000 (14:22 +0800)]
MDL-27914 data fixed image gallery template CSS selector for #singleimage to include img tag and set height to auto
Dan Marsden [Tue, 21 Jun 2011 04:39:46 +0000 (16:39 +1200)]
Choice MDL-27959 invalid strings