Juan Leyva
0057c2ced6
MDL-52788 mod_quiz: Move start attempt code to new API functions
2016-03-11 10:19:53 +01:00
Tim Hunt
1f0f413187
MDL-46091 quiz start attempt: rationalise confirmations.
...
1. Don't show a warning if there are a limited number of attempts, only
if there is a time limit.
2. Merge that time-limit warning into the same form that is used for
entering a password, etc.
3. Make that form an JavaScript dialogue when you click the start attempt
button.
AMOS BEGIN
MOV ['confirmstarttimelimit', 'mod_quiz'], ['confirmstart', 'quizaccess_timelimit']
AMOS END
2016-01-18 22:12:41 +00:00
Tim Hunt
35cbe84bf7
MDL-44449 quiz access rules should have a delete hook.
...
So they can clean up their settings when the quiz is deleted.
See
babf149c2c
for an example of using this.
2014-05-19 16:59:04 +01:00
Tim Hunt
fb4ae869e5
MDL-44588 quiz: fix crazy variable called $this.
2014-03-12 18:20:45 +00:00
Sam Hemelryk
01773a6d00
MDL-44180 mod_quiz: unified @package use
2014-03-03 08:37:06 +13:00
Petr Škoda
059e08ed92
MDL-40220 use new core_component::get_plugin_list_with_class()
2013-07-16 22:37:15 +02:00
Tim Hunt
d823a63db0
MDL-39167 quiz access rules: need to validate their settings.
...
We were missing the hook in the form validation method. We had them
everywhere else they were needed.
2013-04-17 14:24:38 +01:00
Matt Petro
8e771aed93
MDL-35717 quiz: fix overdue attempt processing
2012-11-16 21:32:09 -05:00
Mark Nelson
f28da7fcc7
MDL-34025 - quiz secure window: fix popup closing
2012-06-27 15:00:23 +08:00
Tim Hunt
be18f589e2
MDL-3030 quiz overdue handling: test state, not timefinish where applicable.
2012-04-27 15:07:40 +01:00
Tim Hunt
2b2b645842
MDL-3030 quiz overdue handling: display message on the summary page.
...
This change also includes a clean-up of how we display and initialise the countdown timer.
2012-04-27 15:07:29 +01:00
Tim Hunt
2de9be52aa
MDL-3030 quiz overdue handling: show attempt state on the view page
2012-04-27 15:07:27 +01:00
Tim Hunt
e4df79dd9c
MDL-29627 quiz access rules: quiz edit settings was broken with no custom rules installed.
...
Thanks to Apu for reporting this.
2011-10-18 08:22:05 +01:00
Tim Hunt
987c2d491e
MDL-29627 quiz access refactor password check into a generic check page.
2011-10-13 11:13:20 +01:00
Tim Hunt
4344c5d5d9
MDL-29627 quiz old popup int column => new browsersecurity column.
...
The new column store more meaningful string constants.
2011-10-13 11:13:18 +01:00
Tim Hunt
1d9e1a3c06
MDL-29627 refactor the way the rules are constructed from the quiz.
2011-10-13 11:13:14 +01:00
Tim Hunt
d755b0f577
MDL-29627 quiz_access_manager move all output code to the renderer.
...
This achieves a massive clean-up. It simplifies comples code in a number
of places. It allows some methods and functions to be moved to a more
appropriate home (for example cannot_review_message to the quiz class).
It moves more logic out of the renderer.
2011-10-13 11:13:12 +01:00
Tim Hunt
dd70d561ef
MDL-29627 quiz load access settings when a quiz is being attempted.
2011-10-13 11:13:10 +01:00
Tim Hunt
c18ba64c3e
MDL-29627 load the existing settings when the quiz settings are re-edited.
2011-10-13 11:13:08 +01:00
Tim Hunt
b83c32d39f
MDL-29627 quiz access plugins can add fields to mod_form and save the data.
2011-10-13 11:13:06 +01:00
Tim Hunt
ea38245cfb
MDL-29627 quiz access: move the unit tests into the relevant plugins.
2011-10-13 11:13:04 +01:00