Commit Graph

51 Commits

Author SHA1 Message Date
patrickslee a3c092c96d Mass cleanup of bad postgres upgrade scripts 2005-08-15 22:30:47 +00:00
mjollnir_ 9d7b35c73c Renaming index to match table (rqp_type) more on 3547 2005-06-19 21:30:09 +00:00
mjollnir_ 32321469bc Fixing typo on index for rqp type (bug 3547) 2005-06-19 21:27:57 +00:00
mjollnir_ 8f3e3695e3 Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query 2005-06-15 22:36:20 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
michaelpenne 4f1b940454 The two .sql scripts were missing the uniqueid column in the quiz_attempts table. 2005-09-19 19:12:35 +00:00
patrickslee 4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
mjollnir_ b71748a86c Merged from MOODLE_15_STABLE: Fixing typo on index for rqp type (bug 3547) 2005-06-19 21:31:26 +00:00
mjollnir_ adf19ef5b4 Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query 2005-06-15 22:49:02 +00:00
mjollnir_ f010d33875 Merged from MOODLE_14_STABLE. Merging in my last unmerged patch. Corrects a bad constraint name in postgres for quiz. Bumped quiz version 2005-05-17 21:51:29 +00:00
mindforge e81abe1e3e The remaining DB files for the previous fix. 2005-05-14 17:28:17 +00:00
mjollnir_ 9c05be5508 Change new to newest for quiz_newest_states (reserved word) 2005-05-08 10:38:56 +00:00
mjollnir_ 730e965b17 New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148) but committing anyway as is clean apart from this. 2005-05-07 00:23:50 +00:00
moodler 6477dadd33 Allow answer choices of any length. Bug 2814. (SE) 2005-04-20 05:19:35 +00:00
gustav_delius 1909875912 Renamed quiz_question_version to quiz_question_versions as suggested by Eloy in bug 2777 2005-03-23 20:59:55 +00:00
gustav_delius 4dd7a7fd6e Fixed log, bug 2778 2005-03-21 00:06:04 +00:00
gustav_delius 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
stronk7 72036f9305 New quiz option addded: decimalpoints
(used to decide the number of decimals showed in grades)
2005-02-14 18:24:24 +00:00
defacer 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
skodak 577f51902e fixed typo 2005-01-10 21:32:44 +00:00
kaipe d70ccc495c New feature:
Maximum-number-of-questions-per-page
2005-01-03 00:41:33 +00:00
gustav_delius 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
moodler f5a1c0c064 New field popup to control new feature: launch quiz in fullscreen popup window 2004-12-14 06:43:22 +00:00
kaipe 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
mjollnir_ 556b96786e Merged from MOODLE_14_STABLE: Indexes for quiz and version bump (honoring partial freeze) 2004-11-19 04:14:13 +00:00
kaipe 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
moodler 193ba8e7c4 Enlarge answer field to TEXT (see http://moodle.org/mod/forum/discuss.php?d=10333) 2004-10-17 04:08:32 +00:00
paca70 55bcf883c3 Fixes for new postgres database creation 2004-09-24 07:49:40 +00:00
paca70 20cb89ec4e Quickly tested updates for postgresql. (seems to work here) 2004-08-11 10:27:00 +00:00
moodler 88c898f590 Added new fields for quiz password and subnet restrictions 2004-07-07 07:47:33 +00:00
julmis f41e824f33 QuizTimer modifications added plus necessary files along. 2004-06-02 18:03:05 +00:00
moodler 004f8037f4 Fixed missing log_displays - thanks Eloy! 2004-02-19 13:28:31 +00:00
moodler 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
moodler 8bd35f870c Fixed commas 2003-08-31 05:57:17 +00:00
moodler 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
moodler 757a0abd94 Corrected the stamp I just added and added a separate version field instead 2003-08-23 14:18:44 +00:00
moodler 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
moodler 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
moodler 9c02661096 Added a question field to numerical table for completeness 2003-07-10 14:09:43 +00:00
paca70 ea563f8f99 Postgres needs full longnames for indexes to prevent overlapping names. 2003-05-03 06:44:03 +00:00
moodler 4b85b71712 New quiz switches to
- shuffle questions order
  - shuffle answers order
2003-04-09 13:57:08 +00:00
moodler c4dfc485eb Fixes for main SQL defintions - from Juro Chlebec 2003-04-04 10:47:37 +00:00
moodler 54a67a5921 First cut at adding new "fixed" Match question type, which is manually
created.  Works OK after limited testing.

I've also renamed some strings to do with "Random Match", so that this
question type is now called "Random Short-Answer Match".

Later there will be a new 'Random Match' which randomly selects one of the
existing "Match" questions.
2003-03-30 16:46:50 +00:00
moodler df103e8212 Questions now have a defaultgrade column (which defaults to 1)
... this grade is used as the default grade when adding questions
to a quiz.

At the moment it's just so that some imported questions can have
different defaults, but a field should be added to all question
editing pages.
2003-03-03 17:43:13 +00:00
moodler 86bce68fa8 New table for Postgres 2003-02-24 10:42:07 +00:00
moodler a2fe7cc0dc Changed three fields to avoid SQL problems with PostgreSQL etc:
quiz_truefalse:  true->trueanswer  and false->falseanswer
quiz_questions:  type->qtype
2003-01-03 16:01:48 +00:00
moodler 8ac3158791 Robustness fixes 2003-01-01 13:17:27 +00:00
moodler 31fefa636d More database tweaking ... looking pretty good with PostgreSQL now 2002-12-23 13:48:31 +00:00
moodler a3eea09cc9 More fixes for postgreSQL etc 2002-12-23 11:47:17 +00:00
moodler ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00