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
https://github.com/moodleou/moodle-quizaccess_honestycheck/commit/babf149c2cc6dd734c272cd332b2032cc19db7d8
for an example of using this.
2014-05-19 16:59:04 +01:00
Sam Hemelryk
01773a6d00
MDL-44180 mod_quiz: unified @package use
2014-03-03 08:37:06 +13: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
Tim Hunt
613002ced4
MDL-29627 quiz access rules: fix two little problems found during integration.
...
Missing include was breaking unit tests if they were run separately.
Missing breaks in one switch.
2011-10-18 00:39:22 +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
0eafc98852
MDL-29627 fix code-checker issues throughout the quiz code.
2011-10-13 11:13:16 +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
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
e5844040a0
MDL-29627 quiz access: fix variable names that don't match the coding style.
2011-10-13 11:13:02 +01:00
Tim Hunt
a28a5d74af
MDL-29627 refactor quiz access rules into separate subplugins.
2011-10-13 11:13:00 +01:00