2529 Commits

Author SHA1 Message Date
Tim Hunt
f05fedc84d quiz overview report MDL-23377 can't delete attempts when there are no students.
Actually, reviewing this, I noticed some other security checks were missing, for
example we should ensure the users can only delete attempts belonging to this quiz!
2010-08-03 13:15:27 +00:00
Tim Hunt
07a2b2f0f0 quiz overview MDL-23377 whitespace cleanup, before doing the real fix. 2010-08-03 12:54:23 +00:00
Tim Hunt
b0e4fa419e quiz statistics NOBUG code cleanup. 2010-08-03 11:10:57 +00:00
Tim Hunt
2a8a78c320 quiz MDL-22691 error when editing a block's config on the quiz view page. 2010-08-03 11:10:38 +00:00
Tim Hunt
e10367a4cf quiz NOBUG Attempt {$a} was appearing on the view page. Need a new lang string. 2010-08-03 10:55:22 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
David Mudrak
c768af3dc5 MDL-21695 Removing legacy question formats help, details moved to wiki docs 2010-08-02 21:03:00 +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
Helen Foster
b55ff60378 MDL-21695 adding help string 2010-08-02 15:04:33 +00:00
Rossiani Wijaya
1bc204132e MDL-20430: Fixed pluralization for accessibility. 2010-08-02 03:42:53 +00:00
Tim Hunt
a49cb927fd NOBUG more consistent use of URLs for the quiz reports. 2010-07-28 15:08:34 +00:00
Tim Hunt
a88ba5700c NOBUG quiz start attempt Fix the quiz password page. 2010-07-28 15:06:28 +00:00
Tim Hunt
d8011b7bde NOBUG quiz summary Align the submit all and finish button properly. 2010-07-28 15:04:26 +00:00
David Mudrak
122fc5d9d5 NOMDL quiz: fixed sql params handling in recent activity report
The $params set were thrown away by array() statement, leading to DML
error.
2010-07-26 22:20:51 +00:00
Petr Skoda
0384043b59 MDL-23450 moving question/format/hotpot to contrib for now, because it is not ready for Moodle 2.0 yet 2010-07-24 17:30:46 +00:00
Sam Hemelryk
304f00da6c quiz-report-grading MDL-20724 Fixed display of table when no results are available due to firstname/surname filtering. Merged from 19 2010-07-23 06:09:23 +00:00
Petr Skoda
792881f0fe fixed some comment typos 2010-07-22 09:43:30 +00:00
Petr Skoda
07cb6678ae MDL-23204 convert text to html in quiz intro 2010-07-16 09:22:57 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Martin Dougiamas
204f394e27 Converted some quiz events to use frankenstyle component names (spit) 2010-07-08 04:07:23 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Tim Hunt
45c4a5c770 quiz MDL-21533 remove all mention of overlib from the quiz, by moving necessary code to qtype_multianswer, which is the only place it is used. 2010-07-05 16:55:39 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Rossiani Wijaya
377d7b82f6 MDL-20410 - remove set_focuscontrol (bulk commit) 2010-07-01 05:35:27 +00:00
David Mudrak
6855dc3088 MDL-21695 Removing unused help files
tableexportformats.html removed as suggested by Helen.
2010-06-28 14:36:50 +00:00
Tim Hunt
cd0a2ed882 quiz reports MDL-22847 Cannot delete quiz attempts when a group is selected. 2010-06-23 20:09:09 +00:00
Tim Hunt
6e8e524aa1 quiz secure mode: MDL-22724 missing attempt quiz button if browser security is enable.
Thanks to Rossiani Wijaya for finding and fixing this.
2010-06-10 15:29:33 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
Tim Hunt
1a0e96c708 quiz edit: MDL-22651 apply mudrd8mz's fix. Thanks David. 2010-06-06 07:18:32 +00:00
Tim Hunt
837f832526 quiz summary. Change 'Started' to 'Not answered'. 2010-06-03 11:04:42 +00:00
Rossiani Wijaya
0db46681e2 MDL-20447 - bulk upload: add heading to the page 2010-06-02 05:42:22 +00:00
Rossiani Wijaya
f484c0ad08 MDL-22257 - Change the fields value (3rd parameter) from 'id' to 'u.id' 2010-05-28 07:24:01 +00:00
Pierre Pichet
eec8ba2343 MDL-21695 moving strings related to Choose dataset properties and Edit the datasets from quiz.php to qtype_calculated.php 2010-05-26 00:10:38 +00:00
Helen Foster
3a1d485c4a MDL-21695 adding help strings 2010-05-22 20:34:15 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Rossiani Wijaya
942308b74d Change the fields value (3rd parameter) from 'id' to 'u.id' 2010-05-21 03:50:00 +00:00
Sam Hemelryk
34e1770111 navigation MDL-20276 Fixed version number 2010-05-21 03:22:51 +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
Rossiani Wijaya
ef7700377b fixed typo for parameter value from treu to true. 2010-05-21 02:33:43 +00:00
Dan Marsden
9df209c122 Quiz Events MDL-22539 add events to start and process attempts 2010-05-20 23:01:22 +00:00
Martin Dougiamas
765a1d4ba8 MDL-19628 getremoteaddr() now normally returns 0.0.0.0, which is good for logs and so on. It can be made to return null when that is required, by a new parameter. 2010-05-20 02:36:20 +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
Tim Hunt
175a3fd83a quiz settings: Revert some changes I committed by accident while commiting the patch for MDL-21780. 2010-05-11 14:12:49 +00:00
Pierre Pichet
78e5300ded MDL-21780 removing a DO NO COMMIT echo ;) 2010-05-11 13:13:17 +00:00
Tim Hunt
cb323d0258 quiz recent activity: MDL-22410 permission check was wrong. 2010-05-10 22:36:40 +00:00
Tim Hunt
7bc488dc3d quiz settings MDL-21780 more work on group and user setting overrides
The group setting tab is now disabled if there are no groups in the course.
The code also now respects groupings.
Thanks to Matt Petro for this patch.
2010-05-10 22:15:17 +00:00
Tim Hunt
45213559b4 quiz upgrade MDL-20856 quiz upgrade was duplicating the statistics row in the quiz_report table. 2010-05-07 00:59:02 +00:00
Tim Hunt
2b38499d60 MDL-20860 quiz grades that had already been formatted for output were being used in database queries.
Which really does not work in locales that use , as a decimal point.

Also, this commit fixes one performance problem in index.php with DB queries in a loop.
2010-05-07 00:08:16 +00:00