Commit graph

4164 commits

Author SHA1 Message Date
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
Tim Hunt
453022307e MDL-34483 qformat_examview: Commit example file.
Supplied by Rick Jerz.
2012-07-30 11:57:36 +01:00
Tim Hunt
13fb133365 MDL-47494 ddmarker: Merge pull request #14 from jamiepratt/wip_ou-4201_php_strict_notices
OU-4201 fixing php strict notices
2012-07-30 03:27:39 -07:00
Jamie Pratt
15c668b0d6 MDL-47494 ddimageortext: NOBUG Hilight drop target, and use YUI dd groups. 2012-07-30 13:09:21 +07:00
Jamie Pratt
326d8f8d3f MDL-47494 ddmarker: OU-4201 fixing php strict notices 2012-07-29 13:00:54 +07:00
Tim Hunt
3045d510d7 MDL-47494 ddwtos: Hilight drop target, and use YUI dd groups. 2012-07-27 16:15:59 +01:00
Tim Hunt
1577cd61c8 MDL-47494 ddwtos: Merge pull request #9 from jamiepratt/wip_ou-4202_version_fixes
OU-4202 fix version no to require Moodle 2.3
2012-07-27 06:01:23 -07:00
Tim Hunt
09c8445abf MDL-47494 ddimageortext: Merge pull request #11 from jamiepratt/wip_ou-4193_ddfix
OU-4193 Fix for broken drag and drop with YUI 3.5.1
2012-07-27 05:57:32 -07:00
Jean-Michel Vedrine
3a24ae8b17 MDL-34483 qformat_examview: handle more questions.
These fixes come from testing with the example file supplied by Rick
Jerz.
2012-07-27 12:13:38 +01:00
Jamie Pratt
c9af2d68c3 MDL-47494 ddwtos: OU-4202 fix version no to require Moodle 2.3 2012-07-27 14:23:49 +07:00
Jamie Pratt
dbca110a81 MDL-47494 gapselect: OU-4202 fix version no to require Moodle 2.3 2012-07-27 14:23:49 +07:00
Jamie Pratt
3d0b5fc7c0 MDL-47494 ddmarker: OU-4202 fix version no to require Moodle 2.3 2012-07-27 14:23:49 +07:00
Jamie Pratt
4e4b48a478 MDL-47494 ddimageortext: OU-4202 fix version no to require Moodle 2.3 2012-07-27 13:38:51 +07:00
Jamie Pratt
34826a67c3 MDL-47494 ddwtos: OU-4200 Fix for broken drag and drop with YUI 3.5.1 2012-07-27 12:54:50 +07:00
Jamie Pratt
93905b6881 MDL-47494 ddimageortext: OU-4193 Fix for broken drag and drop with YUI 3.5.1 2012-07-27 12:54:21 +07:00
Jean-Michel Vedrine
9c3afc5bb6 MDL-34483 qformat_examview: clean the code to make codechecker happy 2012-07-26 18:54:31 +01:00
Jean-Michel Vedrine
2562c138ec MDL-34483 qformat_examview: changes required to make it basically work. 2012-07-26 18:54:30 +01:00
Frederic Massart
21c08c63ca MDL-34458 Librairies: Replaced deprecated get_context_instance() 2012-07-24 16:58:17 +08:00
Dan Poltawski
5082d87c03 Merge branch 'wip-mdl-32940' of git://github.com/rajeshtaneja/moodle 2012-07-24 13:39:59 +08:00
Aparup Banerjee
acb88dbed3 Merge branch 'wip-mdl-32942' of git://github.com/rajeshtaneja/moodle 2012-07-24 12:14:17 +08:00
Rajesh Taneja
61cca0b7fc MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT 2012-07-23 17:21:05 +08:00
Dan Poltawski
4f22bcbc41 Merge branch 'MDL-34066' of git://github.com/timhunt/moodle 2012-07-23 14:54:46 +08:00
Dan Poltawski
3fb8128fb6 Merge branch 'MDL-34251' of git://github.com/timhunt/moodle 2012-07-23 14:01:59 +08:00
Dan Poltawski
bdaff201bb Merge branch 'MDL-34226' of git://github.com/timhunt/moodle 2012-07-23 13:53:46 +08:00