moodle/mod/quiz
Tim Hunt 18dff75754 MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.
2012-01-12 12:10:08 +00:00
..
accessrule MDL-30635 enable standard cron for all question and quiz plugin types. 2012-01-06 18:42:35 +00:00
backup MDL-29627 quiz access rules: backup and restore of data. 2011-10-13 11:13:24 +01:00
db MDL-30635 enable standard cron for all question and quiz plugin types. 2012-01-06 18:42:35 +00:00
lang/en MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-12 12:10:08 +00:00
pix MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
report MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron 2012-01-11 14:02:57 +00:00
simpletest MDL-31095 quiz: fix bug in quiz::has_questions. 2012-01-12 12:10:06 +00:00
accessmanager.php MDL-29627 quiz access rules: quiz edit settings was broken with no custom rules installed. 2011-10-18 08:22:05 +01:00
accessmanager_form.php MDL-29627 quiz access move strings only used in one subplugin into that plugin. 2011-10-13 11:13:22 +01:00
addrandom.php MDL-29464 quiz add random question popup does not update sumgrades. 2011-09-21 16:39:31 +01:00
addrandomform.php MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
attempt.php MDL-29627 quiz access refactor password check into a generic check page. 2011-10-13 11:13:20 +01:00
attemptlib.php MDL-31095 quiz: fix bug in quiz::has_questions. 2012-01-12 12:10:06 +00:00
comment.php MDL-29360 quiz comment.php has broken JS for the Cancel button. 2011-09-16 12:03:46 +01:00
edit.js MDL-20636 Fix top of file boilerplate in mod/quiz. 2011-02-21 16:13:25 +00:00
edit.php MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-12 12:10:08 +00:00
editlib.php MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-12 12:10:08 +00:00
grade.php MDL-30182 fix missing include. Sorry. 2011-11-17 08:02:20 +00:00
index.php MDL-27932 quiz - fix some calls to quiz_feedback_for_grade() 2011-06-20 01:46:29 +02:00
lib.php MDL-30635 enable standard cron for all question and quiz plugin types. 2012-01-06 18:42:35 +00:00
locallib.php MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-12 12:10:08 +00:00
mod_form.php MDL-29627 quiz old popup int column => new browsersecurity column. 2011-10-13 11:13:18 +01:00
module.js MDL-29743 quiz: Finish attempt link didn't save responses in some brosers. 2011-11-15 11:10:51 +00:00
override_form.php MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
overridedelete.php MDL-28469 quiz settings pages should be pagelayout admin. 2011-10-03 16:38:34 +01:00
overrideedit.php MDL-28469 quiz settings pages should be pagelayout admin. 2011-10-03 16:38:34 +01:00
overrides.php MDL-28469 quiz settings pages should be pagelayout admin. 2011-10-03 16:38:34 +01:00
processattempt.php MDL-29854 questions: display better message and more useful continue 2011-10-25 14:49:57 +01:00
renderer.php MDL-31019 quiz secure mode. Fix typo that breaks submit. 2012-01-09 17:09:11 +00:00
report.php MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
review.php MDL-29828 quiz review: fix display of overdue time. 2011-10-20 23:16:58 +01:00
reviewquestion.php MDL-29627 quiz_access_manager move all output code to the renderer. 2011-10-13 11:13:12 +01:00
settings.php MDL-29627 quiz old popup int column => new browsersecurity column. 2011-10-13 11:13:18 +01:00
settingslib.php MDL-29627 quiz old popup int column => new browsersecurity column. 2011-10-13 11:13:18 +01:00
startattempt.php MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-12 12:10:08 +00:00
styles.css MDL-29226 RTL fixes - additions and amendments 2011-11-19 00:53:14 +00:00
summary.php MDL-30209 quiz refers to wrong rendere method in two places. 2011-11-15 11:23:03 +00:00
version.php MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron 2012-01-11 14:02:57 +00:00
view.php MDL-30873 quiz: display an overall grade for preview users. 2011-12-23 12:54:50 +00:00