124 Commits

Author SHA1 Message Date
moodler
0e15269a94 bug fixing 2006-01-23 05:41:51 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
mjollnir_
5cde495031 Merged from MOODLE_15_STABLE (ish): Fixing the mass migrate postgres upgrade to be silent in quiz. Added a fix to a previous rename table that breaks pg_dump & pg_restore (incorrectly named sequence) 2005-10-05 01:36:59 +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
gustav_delius
286a5c6e36 Fixed a table comment 2005-07-14 09:42:10 +00:00
gustav_delius
35bcb92150 fixed typo, see bug 3687 2005-07-08 00:21:02 +00:00
gustav_delius
27d132c0f7 Fixed bug 3687 2005-07-07 14:57:28 +00:00
gustav_delius
39e3c1f1c3 Merged from STABLE 2005-07-06 07:53:17 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
mjollnir_
f45ea97457 Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547) 2005-06-19 21:38:39 +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
gustav_delius
39395fd60b merged from stable 2005-06-12 09:57:13 +00:00
gustav_delius
fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
stronk7
465ce22cf0 Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!

Merged from MOODLE_15_STABLE
2005-06-03 12:52:22 +00:00
gustav_delius
c724f48209 updated database creation by exporting from my database that was created by updating from 1.4. Merge from 1.5 2005-05-25 06:15:21 +00:00
gustav_delius
5913c377ea implemented Eloy's fix to the duplicate records problem, closing bug 3293 2005-05-20 21:39:34 +00:00
gustav_delius
be34c2948d Improved reporting during upgrade, see bug 3297 2005-05-19 07:54:29 +00:00
gustav_delius
f19360ff41 Switched off the verbose feedback and removed some old code 2005-05-18 03:34:44 +00:00
gustav_delius
54b3f8eb85 fixed typo in the wiki to markdown upgrade 2005-05-17 22:18:17 +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
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
gustav_delius
3bac7ecaf8 removed doubled-up code, thanks Eloy 2005-05-16 05:26:09 +00:00
mindforge
e81abe1e3e The remaining DB files for the previous fix. 2005-05-14 17:28:17 +00:00
mindforge
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
gustav_delius
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
gustav_delius
5b6e1eebd7 Fixed the mess I made with a type in version.php. Thanks Eloy. 2005-05-13 15:49:15 +00:00
mjollnir_
124dabc799 Updating postgres.php to match mysql.php with max-min/2 rather than min+max/2 2005-05-08 21:28:37 +00:00
gustav_delius
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
mjollnir_
9c05be5508 Change new to newest for quiz_newest_states (reserved word) 2005-05-08 10:38:56 +00:00
gustav_delius
3e34b1dc14 Changed table field name 'new' to 'newest' for postgres compatibility 2005-05-08 10:35:47 +00:00
mjollnir_
2a8057e7ef Porting quiz upgrade to postgres. Still one bug remains - see 3148 2005-05-07 02:38:42 +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
gustav_delius
dea537e55e loops in upgrade script no longer produce output 2005-05-06 10:50:59 +00:00
gustav_delius
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
moodler
6477dadd33 Allow answer choices of any length. Bug 2814. (SE) 2005-04-20 05:19:35 +00:00
gustav_delius
99eb4d955c forgot something in the last commit 2005-04-13 16:05:46 +00:00
gustav_delius
983a7390df Random questions should be hidden 2005-04-13 16:02:20 +00:00
thepurpleblob
f0e13cf157 Whoops - forgot the db prefix in the where clause 2005-04-12 20:04:50 +00:00
thepurpleblob
5d48f310a5 Update wiki-like text format to Markdown 2005-04-12 07:52:31 +00:00
mjollnir_
9d99be2aa4 Fixing postgres upgrade for quiz 2005-04-06 02:04:17 +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