Commit Graph

92 Commits

Author SHA1 Message Date
Dan Poltawski 203d255116 Merge branch 'MDL-33393' of git://github.com/timhunt/moodle
Conflicts:
	mod/quiz/lang/en/quiz.php
2012-06-12 17:00:09 +08:00
Tim Hunt a6866c7e9f MDL-32783 quiz overdue handling: enforce end of grace period
The summary page was not enforcing the end of the grace period. If the
user had the summary page open, then they coudl still stubmit after the
end of the grace period.

Also, the editing form was not validating that the quiz grace period was
greater than quiz|graceperiodmin in the quiz configuration, and that
should be checked, so I added it.

I fear that processattempt.php is becoming very spaghetti-like with all
the timing rules, it really needs to be refactored, but not 2 weeks
before the 2.3 release. (When refactoring, we really need unit tests for
this.)
2012-06-07 19:17:07 +01:00
Tim Hunt d9552ab44f MDL-33393 quiz overdue handling: improve strings and add help 2012-06-07 17:33:46 +01:00
Tim Hunt 9e83f3d11d MDL-32788 quiz: clean up codechecker issues before the 2.3 release. 2012-05-04 15:12:23 +01:00
Dan Poltawski fdf26a0ec0 MDL-3030 mod_quiz: fix training whitespace 2012-04-30 11:05:29 +08:00
Tim Hunt 87427d9c7c MDL-3030 quiz overdue handling: new settings on quiz form and admin. 2012-04-27 15:07:23 +01:00
Tim Hunt 84da4788fd MDL-3030 quiz settings: reorganise form before adding new fields. 2012-04-27 15:07:22 +01:00
Tim Hunt ce74dcc3b6 MDL-32299 quiz mod_form: help icons for the review options 2012-04-05 16:25:32 +01:00
Sam Hemelryk ef844d0a15 Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
Petr Skoda fabbf4398b MDL-32094 some nasty quickforms hacks that should help with E_STRICT
Note: we have stopped tracking our QuickForms hacks long ago.
2012-03-18 18:39:37 +01:00
Charles Fulton 33c8d37b6f MDL-11047 quiz: enable sequential navigation 2012-03-15 10:09:27 -07:00
Glenn Ansley 7493a4bb3b MDL-31448 Replaced incorrect PHP comment 2012-01-31 14:39:23 -05: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 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 71c4154a98 MDL-26567 no grade category option on the quiz settings form.
Also, refine the standard_grading_coursemodule_elements method to add a
help string.

AMOS BEGIN
 CPY [gradecategory,grades],[gradecategoryonmodform,grades]
AMOS END
2011-09-20 11:10:34 +01:00
Tim Hunt 81522abd63 MDL-28166 fix some more instances of my favourite becuase typo. 2011-07-06 14:19:25 +01:00
Tim Hunt aac80ff319 MDL-20636 fix most of the remaining codechecker issues in mod/quiz and lib/questionlib.php. 2011-05-13 00:33:44 +01:00
Tim Hunt bb28e3bc5e MDL-27408 Moved the question engine install/upgrade code into the proper place.
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Tim Hunt 25a03faaca MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
Tim Hunt d0e25622bd MDL-20636 Two gradeboundary 0%s on the quiz editing form. One shoudl be a HTML editor. #392
This was a weird variable aliasing issue.
2011-04-11 14:40:04 +01:00
Tim Hunt 06cd11a989 MDL-20636 Fix scope of quiz edit form data_preprocessing. 2011-03-28 11:40:15 +01:00
Tim Hunt c7df5006b9 MDL-20636 Add lots of missing public/protected/private. 2011-03-23 16:22:25 +00:00
Tim Hunt ff58648f8a MDL-20636 Fix problem editing truefalse questions. #298
Also, fix a notice on the quiz editing form.
2011-03-21 12:42:54 +00:00
Tim Hunt c5c16a2c81 MDL-26324 Existing overall feedback on non-graded quizzes prevents editing 2011-03-04 17:50:31 +00:00
Tim Hunt a17b297d60 MDL-20636 Add missing defined('MOODLE_INTERNAL') || die(); 2011-02-23 16:00:20 +00:00
Tim Hunt ba6438471b MDL-20636 Fix top of file boilerplate in mod/quiz. 2011-02-21 16:13:25 +00:00
Tim Hunt a13d4fbd20 MDL-20636 Fix lots of minor quiz editing glitches. 2011-02-11 17:36:30 +00:00
Tim Hunt 1493619923 MDL-20636 Review option defaults in the admin settings. 2011-02-10 18:35:42 +00:00
Tim Hunt 167f1562f8 MDL-20636 Merge and fix quiz unit tests. 2011-02-09 20:18:21 +00:00
Tim Hunt f255782339 MDL-20636 You can now create a quiz, and edit the settings.
Little else works, but this is just the first step.
2011-02-09 20:18:06 +00:00
Tim Hunt 25302dee78 MDL-20636 Started work converting the quiz. 2011-02-09 20:18:03 +00:00
Petr Skoda b8ea3041eb MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate 2010-09-02 18:29:39 +00:00
Dongsheng Cai fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
David Mudrak 7292c11f51 MDL-21695 quiz: deprecated setHelpButton() and old_help_icon() replaced with new calls
Some help icons dropped without replacement as suggested by Helen, the
Help Writer. Some strings moved to core_question.

AMOS BEGIN
 HLP quiz/timelimit.html,[timelimit_help,mod_quiz]
 HLP quiz/grademethod.html,[grademethod_help,mod_quiz]
 HLP quiz/questionsperpage.html,[newpage_help,mod_quiz]
 HLP quiz/shufflewithin.html,[shufflewithin_help,mod_quiz]
 HLP quiz/penaltyscheme.html,[penaltyscheme_help,mod_quiz]
 HLP quiz/repeatattempts.html,[eachattemptbuildsonthelast_help,mod_quiz]
 HLP quiz/reviewoptions.html,[reviewoptionsheading_help,mod_quiz]
 HLP quiz/showuserpicture.html,[showuserpicture_help,mod_quiz]
 HLP quiz/decimalpoints.html,[decimalplaces_help,mod_quiz]
 HLP quiz/decimalplacesquestion.html,[decimalplacesquestion_help,mod_quiz]
 HLP quiz/requirepassword.html,[requirepassword_help,mod_quiz]
 HLP quiz/requiresubnet.html,[requiresubnet_help,mod_quiz]
 HLP quiz/timedelay1.html,[delay1st2nd_help,mod_quiz]
 HLP quiz/timedelay2.html,[delaylater_help,mod_quiz]
 HLP quiz/overallfeedback.html,[overallfeedback_help,mod_quiz]
 HLP quiz_statistics/negcovar.html,[negcovar_help,quiz_statistics]
 MOV [penaltyfactor,mod_quiz],[penaltyfactor,core_question]
 MOV [penaltyfactor_help,mod_quiz],[penaltyfactor_help,core_question]
 HLP quiz/penalty.html,[penaltyfactor_help,core_question]
AMOS END
2010-08-02 20:56:15 +00:00
Sam Hemelryk 56ed242b51 navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Martin Dougiamas bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda 8319260833 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:58:30 +00:00
jerome 05d5801ace quizz MDL-20421 remove php notice when Enable Safe Exam Browser integration is not activated, merged from 1.9 2009-10-05 03:09:55 +00:00
tjhunt 7d4dfc481e quiz: MDL-19145 Safe Exam Browser integration.
This is a better alternative to 'secure' mode.

It needs to be enabled by the administrator.
2009-09-30 10:57:57 +00:00
skodak d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +00:00
skodak adf8f3f9ad MDL-19668 improvements of _with_advanced admin setting classes finished, quiz settings updated too 2009-06-30 16:55:56 +00:00
tjhunt 25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
skodak 3268cf9921 MDL-18910 full support for module intro editor with embedded images 2009-04-22 06:48:15 +00:00
skodak 0cd1affc58 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:57:34 +00:00
skodak 42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
tjhunt 2f5f73d014 quiz editing: MDL-18871 logic was backwards for deciding whether to show the 'This quiz is not graded, so you cannot set overall feedback that differs by grade' warning introduced in MDL-18583. 2009-04-16 03:12:27 +00:00