Commit Graph

115 Commits

Author SHA1 Message Date
54b3f8eb85 fixed typo in the wiki to markdown upgrade 2005-05-17 22:18:17 +00:00
28c6786b49 Modified DB update to adapt multianswer states to the new storage.
ATTENTION: This currently only works for upgrades that upgrade from quiz versions pre 2005042900!
2005-05-16 17:01:21 +00:00
3bac7ecaf8 removed doubled-up code, thanks Eloy 2005-05-16 05:26:09 +00:00
f2a06b873d Reverted some changes to the numerical questiontype and adapted the update script accordingly.
Fixes bugs 3168, 3225 and 3226.
2005-05-14 17:08:15 +00:00
815bb0cf32 There can now be an arbitrary number of rqp servers of each type.
The remote question types do show up on the editing drop-down like any other question type.
I have disabled rqp on php < 5 for the time being.
2005-05-14 16:21:11 +00:00
5b6e1eebd7 Fixed the mess I made with a type in version.php. Thanks Eloy. 2005-05-13 15:49:15 +00:00
4165bd36fc fixed problem with update of tolerance reported by Miles, see http://moodle.org/mod/forum/discuss.php?d=23288#110469 2005-05-08 21:06:14 +00:00
3e34b1dc14 Changed table field name 'new' to 'newest' for postgres compatibility 2005-05-08 10:35:47 +00:00
dea537e55e loops in upgrade script no longer produce output 2005-05-06 10:50:59 +00:00
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
6477dadd33 Allow answer choices of any length. Bug 2814. (SE) 2005-04-20 05:19:35 +00:00
983a7390df Random questions should be hidden 2005-04-13 16:02:20 +00:00
f0e13cf157 Whoops - forgot the db prefix in the where clause 2005-04-12 20:04:50 +00:00
5d48f310a5 Update wiki-like text format to Markdown 2005-04-12 07:52:31 +00:00
1909875912 Renamed quiz_question_version to quiz_question_versions as suggested by Eloy in bug 2777 2005-03-23 20:59:55 +00:00
4dd7a7fd6e Fixed log, bug 2778 2005-03-21 00:06:04 +00:00
c6bfdec3fc Versioning of questions: when editing questions the teacher is told about the quizzes in which the question is used and is asked whether to replace them with the new version or not. If there are already attempts at a question than the original version is always kept in the database for audit purposes. More details at http://moodle.org/mod/forum/discuss.php?d=16479 2005-03-03 15:17:45 +00:00
72036f9305 New quiz option addded: decimalpoints
(used to decide the number of decimals showed in grades)
2005-02-14 18:24:24 +00:00
28926a08e9 Changing that despicable grade column from mdl_quiz_grades to a
floating point data type, as it should be.
2005-01-27 03:10:57 +00:00
d6d080e26c Er, made a typo myself. This works now. 2005-01-05 17:47:01 +00:00
697fa7265d Fix faulty call to table_column 2005-01-05 17:42:57 +00:00
d70ccc495c New feature:
Maximum-number-of-questions-per-page
2005-01-03 00:41:33 +00:00
ac27e47dc4 Hierarchical question categories from mediagonal, see http://moodle.org/bugs/bug.php?op=show&bugid=1947 2005-01-02 15:10:50 +00:00
f5a1c0c064 New field popup to control new feature: launch quiz in fullscreen popup window 2004-12-14 06:43:22 +00:00
2ad1b388f7 Updating database and backup/restore in order to make it possible
for teachers to choose number of decimals for calculated questions.
Can someone please check if the database update for postgres7 turns out alright?
2004-12-05 12:56:01 +00:00
556b96786e Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze) 2004-11-19 04:14:13 +00:00
813ac2e00a The previous update was supposed to be an enlargement of answer in quiz_responses (not quiz_answers)
It is now correct and the mistake never made it to the stable version :-)
2004-11-13 19:25:13 +00:00
193ba8e7c4 Enlarge answer field to TEXT (see http://moodle.org/mod/forum/discuss.php?d=10333) 2004-10-17 04:08:32 +00:00
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
8c5a95facb Database update to support new question type Calculated
as well as units for Calculated and Numerical questions
2004-07-30 14:40:16 +00:00
88c898f590 Added new fields for quiz password and subnet restrictions 2004-07-07 07:47:33 +00:00
f41e824f33 QuizTimer modifications added plus necessary files along. 2004-06-02 18:03:05 +00:00
b2a3cd2d24 Quizzes with long periods (longer than 5 days) are now handled
in the calendar as two separate events ... one for open and one for close

bug 1402
2004-05-17 17:04:01 +00:00
d2f308c091 Support for events.
Ouch - I thought I'd checked this in days ago
2004-04-28 02:56:40 +00:00
004f8037f4 Fixed missing log_displays - thanks Eloy! 2004-02-19 13:28:31 +00:00
5cdb8a856a Quiz questions now have proper formatting controls.
Any format can be used.  This fixes a number of problems at once,
but the latest one is Bug #1047
2004-02-13 14:01:27 +00:00
54e5e3f387 Removing the log upgrades from here (too slow) 2004-02-05 08:24:04 +00:00
af7d68413f Update old quiz logs 2004-02-05 05:00:52 +00:00
4340a83ae8 Added some bug-fixing code from Eloy Lafuente that fixes a quiz problem.
What happens is that adding random questions used to set the timestamps
of these questions to the same value.  This is fine in normal operation,
but it stuffs up the backup of that course, overwriting the question.
When the course is restored, the missing questions cause quizzes to
have lots of red notices like "Question not found".

Anyhow, this patch should safely fix older installations that may have
these duplicate questions lying around.

THANKS ELOY!
2003-11-11 16:13:57 +00:00
23b4848794 Quiz categories now also have a unique stamp in them.
This is to make it easier when restoring backups,
especially when the questions are in a published
category from another course that still exists.
2003-08-27 12:53:21 +00:00
757a0abd94 Corrected the stamp I just added and added a separate version field instead 2003-08-23 14:18:44 +00:00
e9d8777ffb New "stamp" field on quiz questions with a unique identifier, as well as
some PostgreSQL fixes (Multianswer stuff had not been done on Postgres yet)
2003-08-23 13:28:32 +00:00
d6478d4f82 Changed "eachattemptbuildsonthelast" column name to
"attemptonlast". Seems to work.
2003-08-04 10:31:12 +00:00
0f36ecb9ea New quiz option - "Each attempt builds on the last"
This makes it possible for students to take a tedious quiz, save it half-way and have it graded. The student can then, at a later point, get back to the quiz and have the previous answers already filled in and graded. The student can then continue with the remaining questions as well as redo all the answers that got wrong at the previous attempt.
It seems to work fine with one little twisted exception:
Say that the student attempts the quiz first and that the teacher thereafter edits the quiz and removes or adds a few questions. This will work out fine for as long as the teacher do not get the idea of adding a question with question type RANDOM. The quiz will be fully functional again after removing that RANDOM question or resetting the option 'Each attempt builds on the last" to NO.
Not a very serious problem but it takes someone with greater insight in question type RANDOM to resolve it.

As always, I can not commit lang/en/quiz.php.
2003-08-03 22:54:02 +00:00
8b439f8c16 New question type - multianswer 2003-08-01 08:37:11 +00:00
29d5d0b40c New modular plugin structure for quiz reports.
The code for reviewing an existing attempt is now separate
in review.php and now has a log entry of it's own.

The overview and regrade reports are now in separate subdirectories
under the "report" directory.  Each has a primary "report.php" file
which implements the report as a class.

These existing reports are very simple, but now more complex ones
can easily be written.  (I am about to do one).
2003-07-24 05:18:00 +00:00
9c02661096 Added a question field to numerical table for completeness 2003-07-10 14:09:43 +00:00
361f649d7a New question type: Numerical questions.
Mostly coded by Henrik Kaipe - I changed a few things on the way in.
2003-07-10 13:25:07 +00:00
4b85b71712 New quiz switches to
- shuffle questions order
  - shuffle answers order
2003-04-09 13:57:08 +00:00