Commit graph

1362 commits

Author SHA1 Message Date
gustav_delius
955567ad2f Make sure all random questions have their parent field correctly set, just in case something went wrong here in the past. This may have been the cause of bug 5137 2006-04-09 21:59:55 +00:00
gustav_delius
7a0b035bf9 Make student name into a link on the review page 2006-04-09 21:58:58 +00:00
mark-nielsen
caca24d5d3 Minor updates:
comments no longer print inside the question (only in the textfield)
  fixed problem with quotes by adding addslashes
2006-04-08 21:46:59 +00:00
mark-nielsen
e99b375972 Updated the form handling code. This report is now functional again. 2006-04-08 20:55:03 +00:00
mark-nielsen
fbe4d5ce51 Updated viewquestion to be more generic and moved it to its own function 2006-04-08 18:56:39 +00:00
mark-nielsen
0a52521122 Updated the viewquestions action to be more generic so that any manually graded question type would be compatible.
Moved viewquestions code to function view_questions.  This is an attempt to make the code much more readable.  All action code will eventually be moved to its own function.
2006-04-08 18:24:49 +00:00
urs_hunkler
5b2f6e51f9 copied back the CSS for the timer positioning from version 1.12 2006-04-08 15:06:36 +00:00
urs_hunkler
2d91754b33 copied back the CSS for Item analysis and for grading 2006-04-08 12:25:06 +00:00
gustav_delius
ec65c6ad7c This has extra code to exclude preview attempts from the grading 2006-04-08 08:13:26 +00:00
urs_hunkler
d975f343ba replaced DEPRECATED center tag with a div. introduced a new class=mdl-align with the CSS text-align: center 2006-04-07 16:17:17 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
gustav_delius
934eea9e43 Introduce field for teacher comments, in preparation for manual grading. I am afraid I forgot to commit this yesterday, so now it is possible that some new beta testers installed Moodle without this new field. 2006-04-07 05:28:18 +00:00
gustav_delius
755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
gustav_delius
80bbc7d7d1 Some code cleanup, relying more on the functions from questionlib.php. Not currently functional, awaiting the central manual grading feature. 2006-04-06 16:45:14 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
gustav_delius
9c7c8d63f4 Prevent student from seeing quiz when closed, bug 5070 2006-04-05 09:43:29 +00:00
gustav_delius
20d6d84d43 Fixed call to required_param() 2006-04-05 07:39:32 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
moodler
ba76a8f5cf Fixing some Javascript errors on IE 2006-04-05 02:40:34 +00:00
gustav_delius
3082b744ac Moving <td>, fixing bug 5019 2006-03-29 08:45:36 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
gustav_delius
3a58ad11bc The "Reports" tab is now a "Results" tab so that the grading fits in better. 2006-03-27 08:45:02 +00:00
gustav_delius
31e95855b8 Improved quiz report plugin mechanism and converted the manual grading script into a report plugin 2006-03-27 08:41:20 +00:00
gustav_delius
5f9ef821df Moved detailed responses report into contrib 2006-03-26 12:02:46 +00:00
gustav_delius
d23e3e11dd Moved the code for basing new attempts on previous attempts from questions to quiz and fixed the bug reported at http://moodle.org/mod/forum/discuss.php?d=42029#194212 in the process 2006-03-26 07:59:43 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
363773ef87 Removing questiontype settings from quiz settings page 2006-03-23 19:56:42 +00:00
gustav_delius
cd9ca85409 Timer now uses the client's clock. Patch contributed by Phillip Franks, see bug 4967 2006-03-23 19:32:24 +00:00
gustav_delius
6dfc23760f The obsolete table quiz_attemptonlast_datasets should no longer get created 2006-03-22 22:04:31 +00:00
gustav_delius
fe9b5cfd0b Fixed the links to the question review script. 2006-03-22 21:30:00 +00:00
gustav_delius
0429cd86c3 Deleting attempts properly now 2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation 2006-03-22 17:22:36 +00:00
gustav_delius
609c7d517d Fixed bug 4953 2006-03-22 17:18:55 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
gustav_delius
3be86ca6b3 In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables. 2006-03-22 08:41:56 +00:00
gustav_delius
6040798269 Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types. 2006-03-21 23:08:36 +00:00
gustav_delius
c5d94c4150 Moved questiontype specific backup functions into questiontype classes 2006-03-21 18:15:09 +00:00
gustav_delius
fe1106f0d1 Now the question backup code has been separated from the quiz backup code. 2006-03-21 16:50:42 +00:00
moodler
92b6d775b2 No reports or grading when there are no questions 2006-03-21 09:28:08 +00:00
moodler
c88369b8e3 Christian's code to support time delays 2006-03-21 09:24:47 +00:00
moodler
07679347f4 Removing language files we don't need 2006-03-21 09:23:20 +00:00
gustav_delius
f67172b64b Moved code to delete questions and question categories to lib/questionlib.php
Also fixed bug 4949
2006-03-21 09:06:34 +00:00
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +00:00
gustav_delius
75cd257be8 Moved the quiz constants into lib.php to keep things simple. 2006-03-20 20:59:46 +00:00
gustav_delius
6b11a0e863 Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options. 2006-03-20 20:45:55 +00:00
gustav_delius
c0749a1605 Fixed backup and restore for match questions 2006-03-19 09:50:43 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
gustav_delius
c6abbe5e39 Some incomplete work on the restore code (committing only because I am moving to a different machine) 2006-03-16 21:17:31 +00:00
michaelpenne
2ea3451018 SQL error occured when viewing this page and no questions have been added to the quiz. This has been fixed. 2006-03-16 03:26:49 +00:00
gustav_delius
7befd0188d If a student has not attempted a question then the grade column for that question will show -- instead of 0. 2006-03-13 18:36:36 +00:00