Commit graph

3487 commits

Author SHA1 Message Date
Tim Hunt
ca9385682f MDL-34430 qtype essay: upgrade from MDL-31393 needs a progress bar. 2012-08-23 20:08:30 +01:00
Tim Hunt
e7a6779efb MDL-35026 qtype multianswer: misnamed string.
AMOS BEGIN
 MOV [questionnadded,qtype_multianswer],[questionsadded,qtype_multianswer]
AMOS END
2012-08-23 19:28:53 +01:00
Tim Hunt
2b3f70dbad MDL-35023 qtype calculated: fix strict syntax problem. 2012-08-23 19:28:38 +01:00
Tim Hunt
9c2e178e2f MDL-35003 questions: remove stray full stop after correct answer.
In a few situations, this full stop makes things a bit more grammatical,
but there are many other situations where it causes problems. So, on
balance we will remove it.
2012-08-23 19:28:20 +01:00
Tim Hunt
d2acbd1ad4 MDL-34993 questions: convert numeric fields to float on load.
NUMBER(X,Y) typically come back from the DB as strings. If you don't
convert them to float, then when you display them, it appears as
1.0000000, which is not normally what you want.

Also, increase the size of the field on the edit form, so if you
question does have default mark 0.1234567, you can see that!
2012-08-23 19:28:05 +01:00
Tim Hunt
93266d0fe0 MDL-31837 numerical tolerance: better handling of very small tolerances.
The changes between Moodle 1.9 and 2.1 made the marking of very small
answers like 10^-20 almost impossible. This change fixes it.

This fix is almost entirely due the the careful research of Pierre
Pichet, who carefully testing various proposals, and worked out that
this one seemed best.
2012-08-23 19:15:15 +01:00
Jean-Michel Vedrine
7263fd6c53 MDL-34738 fix for the problem found during testing : dat files not accepted on some servers 2012-08-22 15:19:54 +02:00
Dan Poltawski
29e8b15d83 MDL-34808 qformat_examview - increment version 2012-08-21 11:05:22 +08:00
Dan Poltawski
6a721e3ebb Merge branch 'MDL-34808' of git://github.com/jmvedrine/moodle 2012-08-21 11:00:38 +08:00
Dan Poltawski
115728888a MDL-34738 qformat_blackboard - increment version number 2012-08-21 09:56:29 +08:00
Dan Poltawski
2a455e13e7 Merge branch 'MDL-34738' of git://github.com/jmvedrine/moodle 2012-08-21 09:39:50 +08:00
Eloy Lafuente (stronk7)
2bdbe66264 Merge branch 'MDL-34810' of git://github.com/timhunt/moodle 2012-08-21 01:36:15 +02:00
Tim Hunt
c3bb638a53 MDL-47494 gapselect: Merge branch 'MOODLE_22_STABLE' 2012-08-20 14:41:25 +01:00
Tim Hunt
2c627d24c4 MDL-47494 gapselect: New icon by Paul Hillery. 2012-08-20 14:41:25 +01:00
Tim Hunt
480efcf7c7 MDL-47494 ddmarker: Merge branch 'MOODLE_22_STABLE' 2012-08-20 14:39:54 +01:00
Tim Hunt
8abe8b670c MDL-47494 ddmarker: New icon by Paul Hillery. 2012-08-20 14:39:53 +01:00
Tim Hunt
599cad2bb2 MDL-47494 ddimageortext: Merge branch 'MOODLE_22_STABLE' 2012-08-20 14:39:07 +01:00
Tim Hunt
07ef9448bf MDL-47494 ddimageortext: New icon by Paul Hillery. 2012-08-20 14:38:44 +01:00
Tim Hunt
270a93ecfc MDL-47494 ddwtos: Merge branch 'MOODLE_22_STABLE' 2012-08-20 14:35:06 +01:00
Tim Hunt
7169a77abd MDL-47494 ddwtos: New icon by Paul Hillery. 2012-08-20 14:34:02 +01:00
Tim Hunt
77178d2d97 MDL-47494 ddwtos: Remove enums from install.xml 2012-08-20 10:54:33 +01:00
Jean-Michel Vedrine
01ef6c815e MDL-34808 load sample xml file from fixtures in tests 2012-08-20 10:44:34 +02:00
Jean-Michel Vedrine
735702f62c MDL-34738 load sample dat file in tests 2012-08-20 09:41:02 +02:00
Jean-Michel Vedrine
9d06b9eef9 MDL-34808 qformat examview Add phpunit tests to examview import format 2012-08-19 16:30:27 +02:00
Jean-Michel Vedrine
17ab0e74f9 MDL-34738 qformat blackboard: blackboard format is broken 2012-08-18 10:36:02 +02:00
Tim Hunt
be77e9b6a8 MDL-34810 question bank: user prefs for some display options
The options that are remembered persistently are
* Also show questions from sub-categories
* Also show old questions
* Show question text in the question list
* Number of questions per page
2012-08-16 17:13:03 +01:00
Tim Hunt
2ec325c252 MDL-29847 question preview: garbage collect old preview data.
This adds cron code which looks for question previews that have not been
touched for more than 24 hours, and deletes them.

We try to delete previews immediately. For example if the user clicks
start again, then we immediately delete their previous preview. However,
we can't do that if they just close the preview window. Hence we need
some cron code to clean up old preview that have got left lying around.

Normally, this code will not have much to do, so it will be very fast,
so we can afford to run it every cron.

This has been implemented in such a way that in future it will be easy
to add other cron code to the question bank.

Sadly, to make this work on MySQL, we require a horrible hack in the
already hacky delete_usage_records_for_mysql function.
2012-08-16 17:02:01 +01:00
Tim Hunt
51ffcb950a MDL-47494 ddmarker: Update release information. 2012-08-16 16:41:59 +02:00
Tim Hunt
4553903ca0 MDL-47494 ddmarker: Update release information. 2012-08-16 16:41:15 +02:00
Tim Hunt
1f8e5648fb MDL-47494 ddimageortext: Fix required version. 2012-08-16 16:38:16 +02:00
Tim Hunt
95fe59ff62 MDL-47494 ddimageortext: Update release information. 2012-08-16 16:32:36 +02:00
Tim Hunt
39a6b826d2 MDL-47494 ddimageortext: Update release information. 2012-08-16 16:31:46 +02:00
Tim Hunt
cd7cce9593 MDL-47494 ddwtos: Update release information. 2012-08-16 12:24:01 +02:00
Tim Hunt
5cd80c75c5 MDL-47494 ddwtos: Update release information. 2012-08-16 12:22:45 +02:00
Tim Hunt
90b4b3fef1 MDL-47494 gapselect: Update release information. 2012-08-16 11:59:32 +02:00
Tim Hunt
457af23a50 MDL-47494 gapselect: Update release information. 2012-08-16 11:58:38 +02:00
Eloy Lafuente (stronk7)
7ccede7af8 Merge branch 'MDL-34862' of git://github.com/timhunt/moodle 2012-08-15 03:30:56 +02:00
Dan Poltawski
06c548c783 Merge branch 'w33_MDL-34741_m24_yui2in3' of git://github.com/skodak/moodle 2012-08-14 15:33:10 +08:00
Tim Hunt
4c16e191e1 MDL-34862 question preview: improve preview ownership check.
Users should only be able to access their own quetion preview. In the
past, for reasons I can no longer remember, this was enforced
using the session. It is much better to set the question_usage to belong
to the user's context.
2012-08-13 16:53:15 +01:00
Tim Hunt
75d86b6fbc MDL-34807 question bank: navigation loses place.
The symptom is that where we are now is not shown in the settings
navigation. However, the underlying cause is that question/edit.php is
doing some crazy thing of its own to build $PAGE->url, rather than using
the one returned by question_edit_setup.

Not that this patch itentionally removes the returnurl param. It was
added as part of a big change MDL-20276, which I think just got this
detail wrong. That variable is never used.
2012-08-13 11:13:25 +01:00
Petr Škoda
7b66b651da MDL-34741 use 2in3 in question bank 2012-08-11 20:40:09 +02:00
Jamie Pratt
701baddf73 MDL-47494 ddmarker: Merge branch 'wip_js_fix_22' into wip_js_fix 2012-08-08 16:06:25 +07:00
Jamie Pratt
d99d47fdca MDL-47494 ddmarker: Merge branch 'wip_js_fix_21' into wip_js_fix_22 2012-08-08 16:05:10 +07:00
Jamie Pratt
b2500c880b MDL-47494 ddmarker: NOBUG fixing redundant empty divs every 2 secs 2012-08-08 16:01:33 +07:00
Tim Hunt
5355d9557b MDL-47494 ddimageortext: Merge branch 'MOODLE_22_STABLE' 2012-08-07 17:39:16 +01:00
Tim Hunt
148c37f7d7 MDL-47494 ddimageortext: Merge branch 'MOODLE_21_STABLE' into MOODLE_22_STABLE 2012-08-07 17:37:30 +01:00
Tim Hunt
727d8c94ab MDL-47494 ddimageortext: Russian translation, thanks to Sergey Zolotykhin. 2012-08-07 17:32:21 +01:00
Tim Hunt
2da2c6d949 MDL-47494 ddmarker: Merge branch 'MOODLE_22_STABLE' 2012-08-06 16:06:31 +01:00
Tim Hunt
5fb9aa82c7 MDL-47494 ddmarker: Merge branch 'MOODLE_21_STABLE' into MOODLE_22_STABLE 2012-08-06 16:05:35 +01:00
Tim Hunt
1e83b54f66 MDL-47494 ddmarker: Fix shuffle drag items + show misplaced bug. #4274 2012-08-06 16:04:16 +01:00