Git commits in Moodle 1.6.x by gustav_delius

commit c848b76045fdf8adf6cafb458802d0183ecc1473
Author: gustav_delius <gustav_delius>
Date:   Sat, 14 Oct 2006 06:28:42 +0800
Tag:    v1.6.4

When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php

commit 572badbdcec78dc0964af50d7e6c3ad3181bbda8
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 Oct 2006 17:53:12 +0800
Tag:    v1.6.3

Fixed bug that prevented guest access to courses that are not enrollable

commit 3d2e01f6c82bc34f3b10726a01abec71d8125368
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 Oct 2006 01:07:36 +0800
Tag:    v1.6.3

Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either.

commit 4ae8c9aca1621a3da35f1bde340a0425ebe14005
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 Oct 2006 00:34:20 +0800
Tag:    v1.6.3

Don't use addslashes on data coming from form and don't use stripslashes on data coming from database

commit a32090a4c16128d26c03669468f2be4ee595c369
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 Oct 2006 06:19:10 +0800
Tag:    v1.6.3

Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570

commit 7b66125271e3b23704a721e77521a2d14ca621d4
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 Oct 2006 05:22:43 +0800
Tag:    v1.6.3

Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570

commit 00ba27c58226bc5ab2d31e45fa4a6521bd1ffb40
Author: gustav_delius <gustav_delius>
Date:   Wed, 04 Oct 2006 02:13:47 +0800
Tag:    v1.6.3

The course upload size limit applies to students only, it should not be imposed for teacher uploads.

commit 02cc013abfebcdcea3bd7ba692e8cc4907b13267
Author: gustav_delius <gustav_delius>
Date:   Mon, 18 Sep 2006 01:33:42 +0800
Tag:    v1.6.3

Removed a PHP notice

commit 01b91ac45966bc5ee5f2b2972843d56ad5a4ea38
Author: gustav_delius <gustav_delius>
Date:   Sun, 17 Sep 2006 18:14:05 +0800
Tag:    v1.6.3

Fixed bug MDL-6341 which meant that studentview was not working in hidden courses.

commit f610ac5e18248e1cda7986a001790b062c062607
Author: gustav_delius <gustav_delius>
Date:   Tue, 05 Sep 2006 06:00:26 +0800
Tag:    v1.6.2

Had to comment out the line that updates the timemodified field when a discussion is moved from one forum to another one because the timemodified field is used to sort the list of discussions and also to provide the "Last post" date. It should really be renamed to something like "timeoflastpost".

commit eb9b7f1a3e9caac26f0694d3e04cb8e35a684aa9
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Sep 2006 20:22:02 +0800
Tag:    v1.6.2

Take out invalid </tr>. While this makes the html valid some work should still be done on the layout of this.

commit 4508fdd28278613efcdf5bcafe6c6790a1dd591e
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Sep 2006 19:39:54 +0800
Tag:    v1.6.2

The file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore the fallback default in the function get_list_of_countries() should always be en_utf8.

commit 6a2f9ca9228479e4f00d5870c339dc45e050bab6
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Sep 2006 19:22:48 +0800
Tag:    v1.6.2

Remove undefined variable notice

commit bf9cdc2b906f836178b2846a99278d60ce401990
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Sep 2006 04:27:54 +0800
Tag:    v1.6.2

Fix by Jesse Scott so that database sessions respect sessiontimeout setting. Closing bug 5912

commit 5a521aa30ff8c1d218917ab1850d4f359794e763
Author: gustav_delius <gustav_delius>
Date:   Mon, 28 Aug 2006 16:59:57 +0800
Tag:    v1.6.2

Small correction in the documentation for the $CFG global

commit b692cb65b7af5e2a454b1885991e94db00d1d7da
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 May 2006 04:27:04 +0800
Tag:    v1.6.0

Answers to essay questions are now saved correctly when navigating to another page, fixing bug 4478

commit 0472d056f60513b8f055fc09fe9376b451eccf1c
Author: gustav_delius <gustav_delius>
Date:   Sun, 14 May 2006 01:04:11 +0800
Tag:    v1.6.0

Removing obsolete defaults

commit 07f8831194cd6268b8de85ba1493d4824061be2e
Author: gustav_delius <gustav_delius>
Date:   Sun, 14 May 2006 00:41:22 +0800
Tag:    v1.6.0

Introduce question_attempts table, closing bug 5468 Fixed incorrect check for whether to update state or insert new one in save_question_session() Deal with manually graded states correctly during regrading Increase state sequence number during manual grading Supplied missing userid to quiz_save_best_grade() during manual grading

commit 8a6733ead1a564559b3d8bfeebf0ef0e9c868710
Author: gustav_delius <gustav_delius>
Date:   Sat, 13 May 2006 18:34:02 +0800
Tag:    v1.6.0

Updated comments and made sure teacher preview gets restarted when changes are saved, fixing bug 5478

commit 3b62b2ba13a2f14bbe7cf8774ff57770e19152d3
Author: gustav_delius <gustav_delius>
Date:   Tue, 02 May 2006 16:37:46 +0800
Tag:    v1.6.0

Fixed column names. Thanks Jean-Michel. See bug 5262

commit 0c1e3a145fe774f5b836b6e26df55fb5696293e8
Author: gustav_delius <gustav_delius>
Date:   Tue, 02 May 2006 06:26:06 +0800
Tag:    v1.6.0

Changing the category on the import or export page also changes it on the question edit page, closing bug 5348 again

commit 7d042862c83653102bbc046955d51adf333d172b
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 01:33:30 +0800
Tag:    v1.6.0

Warning strings for missing questions or question types. Misprint in string name fixed.

commit 2b44d03f81624ece71fd83596285a3cda447b77f
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 01:33:00 +0800
Tag:    v1.6.0

Error message for when a questiontype is missing is prepended to question text.

commit f57c624262f34ba0a659576b784ec19667a296eb
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 01:31:33 +0800
Tag:    v1.6.0

Use the missingtype question type to print the explanation message when a random question is missing

commit 2be604b665e3f3501c98239e5b6c93e7e73a96c2
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 01:30:22 +0800
Tag:    v1.6.0

Missingtype now also works without notices when the missing question has no answers.

commit ed28abca24d8389628038d8dac883e3a62c89ad5
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 01:13:44 +0800
Tag:    v1.6.0

Don't throw a php error when there are no question answers in the default question type.

commit 4572d78f71a13becface8824b7f91308fa12b400
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 00:59:23 +0800
Tag:    v1.6.0

When a teacher deletes a question that was already used as a random question in a quiz the student now gets a useful message about the fact rather than just a php error.

commit 28a8ec91489ee0d01ffda2376356142ac4572bc7
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 00:23:55 +0800
Tag:    v1.6.0

Make sure that the newgraded field always points to a valid state.

commit 2e9b6d157c60a496b894e067ec6960cee19c705f
Author: gustav_delius <gustav_delius>
Date:   Mon, 01 May 2006 00:15:04 +0800
Tag:    v1.6.0

Fixed bug 5192

commit 1a1293edd7030fb292ef83d0dc9dd23f0b17d7b6
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 23:11:13 +0800
Tag:    v1.6.0

Making sure grading and feedback use the same way of testing responses, thanks to Joseph, bug 5134

commit b518c69e3bef446f355db41179d532abf5fdbbb5
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 20:07:08 +0800
Tag:    v1.6.0

Question preview now handles duplicate responses properly

commit ca56222d5083e78ad27a172cefe7f7aa977e0014
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 19:45:14 +0800
Tag:    v1.6.0

Fixed and simplified the logic in the response processing. Remove the walking through previous graded states.

commit c4c11af8983da7ede7c3073990b7948c76fee23e
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 16:11:49 +0800
Tag:    v1.6.0

Now that the shuffling within a question can be controlled also at question level the default at the module level needs to be set to true, otherwise people can not test the question setting.

commit 7a38b61bfa5ff5e13a223af2f9a60839f29dd4f0
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 04:01:27 +0800
Tag:    v1.6.0

Fixing empty lines

commit 26f6d51c8889b8862d10975a7359d1b38c5c83d5
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 03:52:44 +0800
Tag:    v1.6.0

Fixed empty lines

commit a159b825a324d622a52496a4519856702019bd3a
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 03:46:41 +0800
Tag:    v1.6.0

Fixed empty lines

commit 99dc4f381c60cb2c0b854661e6af1a8d50061a1b
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 Apr 2006 03:36:56 +0800
Tag:    v1.6.0

Removed empty lines

commit 3f13e160943b79c7eca03c6425f2fa3d660ab618
Author: gustav_delius <gustav_delius>
Date:   Fri, 28 Apr 2006 17:44:13 +0800
Tag:    v1.6.0

Removed the answershuffle field from the random short answer question because in a random question this options is irrelevant.

commit 4ff35ad41e01b9ca8896579eb7f2ae3ccea2c1d4
Author: gustav_delius <gustav_delius>
Date:   Fri, 28 Apr 2006 17:43:19 +0800
Tag:    v1.6.0

Small improvement to help files

commit b59126298d77364fb6e0b2d575ae72c8b31dbe4d
Author: gustav_delius <gustav_delius>
Date:   Fri, 28 Apr 2006 17:34:33 +0800
Tag:    v1.6.0

Just a small comment to avoid problems in the future

commit 125bb7003e0c021acd0fdf6dc9fe5b654d56d161
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 15:46:34 +0800
Tag:    v1.6.0

sortorder is now remembered between pages, fixing bug 5328

commit 239d373ff94669c53c3ca47b693ab3240ec8d7a4
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 15:21:55 +0800
Tag:    v1.6.0

Had to change attribute of select tag from disabled to readonly in order to get the feedback popups to work, see bug 5338

commit a60a7b0d21f257774e889023bcc4f18a0ea8ed2b
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 14:55:38 +0800
Tag:    v1.6.0

Fixing filtering of category names, now using PARAM_NOTAGS. Fixing bug 5349

commit dc454ef428e35d84e07f78f32fe61835b6efd781
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 14:42:10 +0800
Tag:    v1.6.0

question category is not remembered correctly by import and export pages, fixing bug 5348

commit 754d6f1bb3048615c6794cfc32dce027bd4a3901
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 04:32:54 +0800
Tag:    v1.6.0

Corrected location of restorelibpre15.php, see http://moodle.org/mod/forum/discuss.php?d=44156

commit 50530eb782c596c60cea75729c704a8152bfb534
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 04:29:32 +0800
Tag:    v1.6.0

The information from question_rqp_types table should not be loaded every time questionlib.php is loaded but only when the questiontype menu is actually needed.

commit a2c0f03e5e50a6f63c11e2503c7605a26bdcaf67
Author: gustav_delius <gustav_delius>
Date:   Thu, 27 Apr 2006 04:05:21 +0800
Tag:    v1.6.0

I incorrectly had renamed quiz_ to question_ in some places.

commit 1e7b7003f23d3bef70bd275f31e0c60ea2dcc297
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Apr 2006 23:20:26 +0800
Tag:    v1.6.0

Deal with modules that are missing their language strings

commit 4111194d9eca87c6061b9e2a0ecfc8595b5af119
Author: gustav_delius <gustav_delius>
Date:   Fri, 21 Apr 2006 14:50:51 +0800
Tag:    v1.6.0

Use delete_question() to delete question, bug 5275

commit 6037288eebf3a7e383af6072282b788b497c7b96
Author: gustav_delius <gustav_delius>
Date:   Fri, 21 Apr 2006 07:10:45 +0800
Tag:    v1.6.0

Fixed code that relied on globals hack. Fixed bug 5261

commit d1873436d2a445c1ddeeb479e85ce091410f8fc9
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Apr 2006 07:15:11 +0800
Tag:    v1.6.0

Fixed small typo in help file, bug 5243

commit c1f52a2f8111d10c9966884a0672c92c2d914bd1
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Apr 2006 07:00:04 +0800
Tag:    v1.6.0

Change of words suggested in bug 5245

commit a9d80ad800fe711c750a6bfa95f942fdd6e8ec43
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Apr 2006 06:58:00 +0800
Tag:    v1.6.0

Fixed small typo in help file.

commit f7fccc0362eb6d1d1946198902edbb812af073b0
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Apr 2006 06:53:38 +0800
Tag:    v1.6.0

Make sure category from correct course is shown.

commit 9977aa0f4a55da68946998078ca59fbb565fcc69
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Apr 2006 05:49:14 +0800
Tag:    v1.6.0

Don't forget the prefix_ for table names

commit 54b3626b9f23647e6ff51a0de234acb853bf0798
Author: gustav_delius <gustav_delius>
Date:   Mon, 17 Apr 2006 13:31:21 +0800
Tag:    v1.6.0

Moved all question deletion code to showbank.php. Fixed bug 5186

commit 05803bf17085f4f219eef9f8788346836eb3ca35
Author: gustav_delius <gustav_delius>
Date:   Fri, 14 Apr 2006 05:35:24 +0800
Tag:    v1.6.0

Removed settings tab, see bug 5189

commit bd9964841dc491dbd1a96212cfd8b33fd88f0ef3
Author: gustav_delius <gustav_delius>
Date:   Fri, 14 Apr 2006 05:23:15 +0800
Tag:    v1.6.0

Fixed bug 5187 that led to error when creating cloze question

commit da1cc5a44e2c5329d29eb09b6475cf3bb4447a7c
Author: gustav_delius <gustav_delius>
Date:   Thu, 13 Apr 2006 08:37:14 +0800
Tag:    v1.6.0

Fixed problem with slashes, bug 5177

commit d6d29245e7d87f65bf3b295d44398d4f7f2a8323
Author: gustav_delius <gustav_delius>
Date:   Thu, 13 Apr 2006 08:02:36 +0800
Tag:    v1.6.0

Now there is an option to see all attempts, even for users who have since unenrolled. That is necessary in order to be able to delete these attempts, see http://moodle.org/mod/forum/discuss.php?d=34421

commit ffa6ed53e4dfe5490368f2a0cd76dc13b737b062
Author: gustav_delius <gustav_delius>
Date:   Thu, 13 Apr 2006 07:24:58 +0800
Tag:    v1.6.0

Fixed display of information about existing attempts.

commit 375ab4586f102ba168de42feb695fac3ab131c11
Author: gustav_delius <gustav_delius>
Date:   Thu, 13 Apr 2006 06:57:01 +0800
Tag:    v1.6.0

use function from questionlib.php to delete attempt data

commit 78517b5a6bb16cb46e967766cecf57289b496206
Author: gustav_delius <gustav_delius>
Date:   Thu, 13 Apr 2006 06:48:58 +0800
Tag:    v1.6.0

Don't show users who have unenrolled. Show display options also when current options lead to empty table.

commit 89a6e4358a3532be5a79e2e66d57482196af6edd
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Apr 2006 06:22:31 +0800
Tag:    v1.6.0

Fixed parameter type for $confirm

commit 2e8973e77911fc22725bacd96f89552a1795d72e
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Apr 2006 05:49:43 +0800
Tag:    v1.6.0

Teachers now can preview timelimited quizzes even after the closing date

commit 44582764afccf25a0ddb0dc35c3cd7cd5763ba27
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Apr 2006 05:40:28 +0800
Tag:    v1.6.0

Fixed recoding of parent field for random questions

commit ab620fbf2b9927fb214b70bb15b98dc95fd46432
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Apr 2006 04:42:31 +0800
Tag:    v1.6.0

Added call to optional_param()

commit 424dba12cfb23186113dacb53248f6724d3b3f5f
Author: gustav_delius <gustav_delius>
Date:   Tue, 11 Apr 2006 15:16:10 +0800
Tag:    v1.6.0

Fixed typo preventing the editing of multianswer questions.

commit cbe20043b517c390bbc931b4efe8f0585b8fb8b5
Author: gustav_delius <gustav_delius>
Date:   Tue, 11 Apr 2006 06:10:32 +0800
Tag:    v1.6.0

Whenever a question is edited the version field is set to question_hash(), see bug 2958.

commit 9d4cbe5615759b67f6be3aa258ac47d68cb933a1
Author: gustav_delius <gustav_delius>
Date:   Tue, 11 Apr 2006 04:28:46 +0800
Tag:    v1.6.0

Manual grading report plugin is now no longer essay-specific.

commit 097bd3f5e8c6ba29f43154b4c3c703db23650313
Author: gustav_delius <gustav_delius>
Date:   Tue, 11 Apr 2006 03:58:34 +0800
Tag:    v1.6.0

No longer print the comment boxes for each question in review because it was too slow. We are back to opening the comment box in a popup window.

commit 34b40897db262cbc35588f5c2a1d57f550dc3016
Author: gustav_delius <gustav_delius>
Date:   Tue, 11 Apr 2006 03:13:21 +0800
Tag:    v1.6.0

Added  action 'continue attempt' to log_display

commit 848d886edb47eb293f97715296a4fe8bc64f61ba
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 06:48:58 +0800
Tag:    v1.6.0

Small change to question_print_comment_box() to allow multiple boxes on one page

commit cf156ab045a880ddc71ff474433c2bee1aec13a5
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 06:43:22 +0800
Tag:    v1.6.0

Taking out random question hack that is no longer needed.

commit 7ff90101a67de027d489d1e6c7e70b09a4a45b43
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 06:31:59 +0800
Tag:    v1.6.0

Simplify text on submit button

commit 955567ad2f7c51e92296652a0c4a756cc0b561d4
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 05:59:55 +0800
Tag:    v1.6.0

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

commit 7a0b035bf99400489e88955721ba9e8db0c4e195
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 05:58:58 +0800
Tag:    v1.6.0

Make student name into a link on the review page

commit 1d7e093418d3773d9e0ffc424a1c96147380756d
Author: gustav_delius <gustav_delius>
Date:   Mon, 10 Apr 2006 05:35:44 +0800
Tag:    v1.6.0

Small fix so that unattempted questions would never be marked

commit 7c404f9b2b0f98ffc02e6b431c30dbb8e60c324a
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 Apr 2006 22:20:52 +0800
Tag:    v1.6.0

Fixed some small xhtml problems and removed a warning

commit 2a2aba273fd3137e6f04c32e7b7d287aeaf71ce7
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 Apr 2006 16:22:18 +0800
Tag:    v1.6.0

submit button for teacher comment is now included in question_print_comment_box

commit ec65c6ad7caef079a8734615f6fe7d5f6aaf4dec
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 Apr 2006 16:13:26 +0800
Tag:    v1.6.0

This has extra code to exclude preview attempts from the grading

commit b6e907a245ddbe17a69125725717625e3ede3b72
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 Apr 2006 00:00:29 +0800
Tag:    v1.6.0

Manual grading

commit 03c541cb9aab06f889378c6d6fe05759a221a2e1
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 15:55:48 +0800
Tag:    v1.6.0

class clearfix is the medicine against collapsing divs, see bug 5119

commit 5f4f60881171b25252fb91f1fc2a485804bbad1f
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 14:08:55 +0800
Tag:    v1.6.0

Replaced layout table around question by div. Doesn't display right in firefox yet.

commit 934eea9e4390e7589151ac6dc39805ee77cfcc42
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 13:28:18 +0800
Tag:    v1.6.0

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.

commit 6463e8a6b691850a23516c807efaf70f21265f96
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 04:35:49 +0800
Tag:    v1.6.0

Fixing a large number of tidy warnings

commit 755bddf11869b009c88897c29069277c8dacd5ad
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 03:59:02 +0800
Tag:    v1.6.0

Improvements to response history. Three small bug fixes.

commit 80bbc7d7d1ec65873bc62415d0db1fe99e3e6519
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 00:45:14 +0800
Tag:    v1.6.0

Some code cleanup, relying more on the functions from questionlib.php. Not currently functional, awaiting the central manual grading feature.

commit 01bd54e0cbee923deb2ab32e2c0bfcfe94b72009
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 00:43:41 +0800
Tag:    v1.6.0

Jean-Michel's fix to the get_actual_responses() method

commit 3a5a6f59a3fdf2fa5c40e7a054ad0aedb910eedd
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 Apr 2006 00:42:00 +0800
Tag:    v1.6.0

Introduce field for teacher comments, in preparation for manual grading

commit a488b9325ca67385aedfa9bf43f7185bcae4534e
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 20:56:37 +0800
Tag:    v1.6.0

Replace require_variable() by required_param()

commit e49a8d099e08076e8ccc68273ff6df18e984a9ae
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 20:54:48 +0800
Tag:    v1.6.0

Supply default values for more arguments of question_list()

commit 22c08850d70193ddc22abe05f06e841fde8227ca
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 04:02:37 +0800
Tag:    v1.6.0

Fixing stupid typos from previous commit

commit 4feb8730d7b044c5cde1576f3d05c2428643089d
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 03:43:42 +0800
Tag:    v1.6.0

Fix to make it work without globals hack

commit ded180686e186eb2ed7e3f24589d6f494944f14a
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 03:35:51 +0800
Tag:    v1.6.0

Fix to make it work without globals hack

commit e8a4049ddd549b4e05ea8043d3abbcae2ee77eae
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 02:52:37 +0800
Tag:    v1.6.0

Removed some unnecessary code

commit 3ab76e65627e53a24b3988c43c74e6f2bfe9a2d3
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Apr 2006 01:37:59 +0800
Tag:    v1.6.0

Don't duplicate site name in navigation bar

commit 9c7c8d63f4551554cd2b882bd3f856cf9afb9b5d
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 17:43:29 +0800
Tag:    v1.6.0

Prevent student from seeing quiz when closed, bug 5070

commit 87b18f4ab7d67aa94df60e0aacfef133b50ab12a
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 15:46:52 +0800
Tag:    v1.6.0

Fixed call to required_param()

commit 20d6d84d438ff960a236d23e739512d6bda0820a
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 15:39:32 +0800
Tag:    v1.6.0

Fixed call to required_param()

commit 7baa9c8016e2d3180ca5cb9b23602c9114e73405
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 14:11:40 +0800
Tag:    v1.6.0

Fixing the name of the PostgreSQL files

commit 0a5b58af8963ed9eab77a2305329cd5f90cd2d4c
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 13:53:18 +0800
Tag:    v1.6.0

Many bugfixes accummulated during CVS outage, more to come.

commit 3082b744acb6a5553c016e4316250cf4bdc976b3
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Mar 2006 16:45:36 +0800
Tag:    v1.6.0

Moving <td>, fixing bug 5019

commit 8cc274defcc473e1a8dd0e8b69b93d8d3462551b
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 16:27:56 +0800
Tag:    v1.6.0

Changed the get_actual_responses() method to truncate at 40 characters, contributed by Jean-Michel.

commit 223ad0b94bd62262a873b4deda76159b53ae749b
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 15:39:36 +0800
Tag:    v1.6.0

Better fix for bug 3225 that is reading the precision setting from php.ini, contributed by Paulo

commit 66125eda14099865f02cb13a3ce86d39a686d900
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 15:37:51 +0800
Tag:    v1.6.0

Fixed incorrect use of quiz_get_renderoptions. This quiz-specific function should in future be removed from this question code

commit bc2feba364652f881120dfd6edfde8a8a10de65c
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 01:38:30 +0800
Tag:    v1.6.0

Some preparation for manual grading

commit 5eae68aa2a499fbdaec7f7e5580e259fc122f553
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 00:38:44 +0800
Tag:    v1.6.0

Fixed tolerance problem, see bug 3225

commit 3a58ad11bcd6cc8075b831c976935f0ffc1a4d92
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Mar 2006 16:45:02 +0800
Tag:    v1.6.0

The "Reports" tab is now a "Results" tab so that the grading fits in better.

commit 31e95855b85d551f249a2d7bed0d5479e159d3b3
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Mar 2006 16:41:20 +0800
Tag:    v1.6.0

Improved quiz report plugin mechanism and converted the manual grading script into a report plugin

commit ffa1f07890e06c682c62b381dfba7a5aaef088cc
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Mar 2006 16:38:55 +0800
Tag:    v1.6.0

Removed notices caused by empty responses

commit 5f9ef821df8f4bd984e11cf41931802f72efc885
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 20:02:46 +0800
Tag:    v1.6.0

Moved detailed responses report into contrib

commit a239d1d92c0603f1b51af40aeba1e49aea4ba5d7
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 19:11:29 +0800
Tag:    v1.6.0

Renamed the question style class from question to que, see bug 4904

commit d077b8793e39bf5b8ebff63c12e3acd9941c05f8
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 18:48:47 +0800
Tag:    v1.6.0

Took out the restriction of the question styles to the quiz module only.

commit d23e3e11dd2d4855ea311cf5e9d42819bb29a0f5
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 15:59:43 +0800
Tag:    v1.6.0

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

commit f1b50ee94c169f0fbb42e795dc12601b10e705c1
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 05:36:00 +0800
Tag:    v1.6.0

Use existing language string for correct answer

commit 0705c069c0dad41e77f128cbb4a9ab4659bf3921
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 05:28:41 +0800
Tag:    v1.6.0

Shortened and simplified a string, so that it fits better onto the quiz editing form.

commit 5cb9076a581b9c6b8447c84932c5d78b123189a1
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 05:07:11 +0800
Tag:    v1.6.0

Removed warning when deleting questions with no states

commit d7bc70247cc5ba2c087201285391e1a62b2c5cf6
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 05:04:44 +0800
Tag:    v1.6.0

Fixed typo

commit 4eda4eecbd1b7fd7dc64a95ed34d6e9ad97a4a48
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Mar 2006 05:21:59 +0800
Tag:    v1.6.0

Added question type that is used if a question of unknown type is encountered. Also removed some of the unnecessary calls to name()

commit 5c2447494d59a6471a3f2879086a3a85b84e75bf
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Mar 2006 04:44:13 +0800
Tag:    v1.6.0

These are no longer needed because the backup functions are part of the questiontype classes now.

commit ca252edb1d406503a6f88e8097e74da75e0ee6a9
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Mar 2006 04:02:42 +0800
Tag:    v1.6.0

Setting title attribute on questiontype icons so that tooltips show the question type name

commit aaae75b04f2af37529f2977e7457e2c25393eb65
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Mar 2006 03:54:13 +0800
Tag:    v1.6.0

Renaming question/questiontypes/ to question/types/ as requested by Martin

commit 643ec47d321fb69d323c79e71532198418fbc650
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Mar 2006 03:31:46 +0800
Tag:    v1.6.0

Renaming question/questiontypes/ to question/types/ as requested by Martin

commit 363773ef87d6de9c70980759592c6c7c77a0aa59
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Mar 2006 03:56:42 +0800
Tag:    v1.6.0

Removing questiontype settings from quiz settings page

commit 1fc29d8a1ecf27395f4d5b21736e4336616661b6
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Mar 2006 03:51:58 +0800
Tag:    v1.6.0

Taking out help button from the grade option, there is really no help required.

commit cd9ca8540969d6b3b76baeb7c5d8c2e035edc97d
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Mar 2006 03:32:24 +0800
Tag:    v1.6.0

Timer now uses the client's clock. Patch contributed by Phillip Franks, see bug 4967

commit 5bf3aee8bb1ac07122a538929c2c09789592e77e
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 21:05:40 +0800
Tag:    v1.6.0

Do the module upgrades before the qtype upgrades

commit 76de2cdf1adb8ec1f138000af103e41a6a38efad
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 06:37:27 +0800
Tag:    v1.6.0

Putting the "Save as new question" button back.

commit 6dfc23760f12d9f66c0126119b5931c4619cb33e
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 06:04:31 +0800
Tag:    v1.6.0

The obsolete table quiz_attemptonlast_datasets should no longer get created

commit 7518b645b93754fbf30df1593184df366d1d8b0b
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 05:51:33 +0800
Tag:    v1.6.0

Removed some more references to quiz from the questiontype code.

commit fe9b5cfd0bc76e48ff59266c599b6a971ddab847
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 05:30:00 +0800
Tag:    v1.6.0

Fixed the links to the question review script.

commit 0429cd86c3f8216e4005cd169f30fa0eb94bcd87
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 02:27:28 +0800
Tag:    v1.6.0

Deleting attempts properly now

commit 4dca7e51ca12e54af9b64b4f3a9dd8f11c916684
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 01:22:36 +0800
Tag:    v1.6.0

Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation

commit 609c7d517d3bbcfa952502a7e1871041eff5aaa6
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Mar 2006 01:18:55 +0800
Tag:    v1.6.0

Fixed bug 4953

commit dfa47f965c85c8083d8d866b04a9f97304cd5591
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 21:51:25 +0800
Tag:    v1.6.0

Cleanup: don't use questiontype constants within questiontypes

commit 76a1cf366ebc9f934ee616c314085eb8e03afe9a
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 20:19:40 +0800
Tag:    v1.6.0

Don't name script files after the plugin, makes it more difficult to base a new plugin on an old one.

commit e08eba6a66debfcdb9665bf24c30f9fd5a86066c
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 19:56:04 +0800
Tag:    v1.6.0

These are no longer needed because the restore functions are part of the questiontype classes now.

commit 18cbc9683d5e7e804da1a79e4dcccb2a0cbf7377
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 19:19:26 +0800
Tag:    v1.6.0

rqp questions set the type to rqp_nn where nn is the rqp_type id

commit ead293420d0baf8af94309fa0e8b0518d8f68711
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 18:44:54 +0800
Tag:    v1.6.0

Questiontypes are doing their own database upgrade now. I modified the enrollment plugin mechanism to work for any type of plugin

commit ea889e7744a380ccff8dbaaffe56ceaddb57568b
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 18:32:29 +0800
Tag:    v1.6.0

Recode qtypes during restore of old backups.

commit 9b908126b99e218b51315e3728f767b186d7e45e
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 18:28:42 +0800
Tag:    v1.6.0

Bumped the backup version because I need this version in the question restore code.

commit 3be86ca6b365514615b482ce9c91986e9abf70d1
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 16:41:56 +0800
Tag:    v1.6.0

In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables.

commit 6040798269964d98c9798a4df7f955f7e1fedf8b
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 07:08:36 +0800
Tag:    v1.6.0

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.

commit ba8f7ff02ad146e6fe259aebb3065cf8c9b8b09d
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 06:35:03 +0800
Tag:    v1.6.0

Restore works again, except for random questions.

commit 315559d354161981f944a34e8849e38f94284905
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 04:59:32 +0800
Tag:    v1.6.0

Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home.

commit 6af1e0b2c2a06af46338a6b8a0fc13ce91809e8b
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 04:55:23 +0800
Tag:    v1.6.0

Fix bug 4952

commit c5d94c41504aeed696ea3c893ba8a5a5a130b5d1
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 02:15:09 +0800
Tag:    v1.6.0

Moved questiontype specific backup functions into questiontype classes

commit fe1106f0d165a81e120c76bb272a8e5724fcad30
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Mar 2006 00:50:42 +0800
Tag:    v1.6.0

Now the question backup code has been separated from the quiz backup code.

commit 924ff16a07096ac51d5ae9122f39526af70d1730
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 23:38:35 +0800
Tag:    v1.6.0

Moving question backup from mod/quiz/ to question/. In a first step I am making a duplicate copy of the whole backuplib.php. Next I will go in and delete the question backupcode from mod/quiz/backuplib.php and the quiz backup code from question/backuplib.php

commit cf60a28a0b64540c02ad5d485d9c0bfbfa8c98b8
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 23:33:30 +0800
Tag:    v1.6.0

Fixed small problem in delete_question()

commit f67172b64b3d456099995a05aad41da62afca6a0
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 17:06:34 +0800
Tag:    v1.6.0

Moved code to delete questions and question categories to lib/questionlib.php Also fixed bug 4949

commit 4b87fbe7ad58ffb4cb2ec3cb7cab8dbd5a902aad
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 07:05:35 +0800
Tag:    v1.6.0

Improved language strings used during deletion of courses

commit 90c3f310668bb63203adca939554ababb31d24c6
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 07:04:22 +0800
Tag:    v1.6.0

Some improvements to delete_question()

commit 75cd257be824d0287b73c4e0b59ddd9f55c01809
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 04:59:46 +0800
Tag:    v1.6.0

Moved the quiz constants into lib.php to keep things simple.

commit af3830ee4952a7cb9683d31b8f5a02c1f387fb1a
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 04:52:18 +0800
Tag:    v1.6.0

Rename quiz_default_questiontype to default_questiontype

commit 6b11a0e863a7bd0f4269140691d4ff10e1cb2dbf
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 04:45:55 +0800
Tag:    v1.6.0

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.

commit 077588e2a424a89f96cafcfe5d894b48108d4cde
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Mar 2006 04:19:29 +0800
Tag:    v1.6.0

Removed references to quiz

commit 7347c60b52dcf8ac3b73f548af93c61037401893
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Mar 2006 03:49:37 +0800
Tag:    v1.6.0

Teacher-provided text is now printed without cleaning.

commit 3abfa3a013a1146a64fd8c292552c304655bf49a
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Mar 2006 03:23:07 +0800
Tag:    v1.6.0

Show All link below question list.

commit d38bd8c1bebde92510f4ab60c958cb6ca431c96b
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Mar 2006 02:33:35 +0800
Tag:    v1.6.0

Removed a notice

commit afabbb337456f759d0b6241926c4139dc5af37f8
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Mar 2006 02:31:48 +0800
Tag:    v1.6.0

Almost forgot to take out diagnostic echo

commit f30bbcaf5bfbb60c2766d9e5b718fde71ab98f5c
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Mar 2006 02:28:29 +0800
Tag:    v1.6.0

Improved handling of event types so that now graded states can always be distinguished from ungraded ones.

commit 43a602a7a6ccb42a3b1ed4e6e5ae0523f0e7e84a
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 20:19:49 +0800
Tag:    v1.6.0

Small correction to comment

commit 570c30aaa01ca92d6b8542b6f2ca8bb6387610cf
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 19:05:04 +0800
Tag:    v1.6.0

slightly more informative error message

commit b2315a929d16223409e4ee287d7a94c617f2d040
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 19:03:12 +0800
Tag:    v1.6.0

Don't try to recode empty answers.

commit 96e5e2e251412f0954083cde00ca24ae9dd83345
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 19:02:36 +0800
Tag:    v1.6.0

I hadn't known that ! has higher precedence than ==

commit 18bd0d680c8addf297067a52c7eb855c99b36b35
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 18:43:12 +0800
Tag:    v1.6.0

miniscule change: subquestion code only has to be unique within question

commit 549880a59dd5a852d917601cb936873fd9f2dd7d
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 18:21:23 +0800
Tag:    v1.6.0

temporary fix to essay print_question... This really should be converted to using templates.

commit c0749a1605d669164db238d993e6d3a7a49e15dc
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 17:50:43 +0800
Tag:    v1.6.0

Fixed backup and restore for match questions

commit 28b904c8c2bef4a42061270aeab12423434f493d
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Mar 2006 17:20:42 +0800
Tag:    v1.6.0

Fixed multichoice restore Print message when recoding fails

commit ccccf04f709c8a834a17a1e85447e4b699e7e40a
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Mar 2006 22:14:55 +0800
Tag:    v1.6.0

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.

commit c6abbe5e39576146a42dd4266157beaa0558c217
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Mar 2006 05:17:31 +0800
Tag:    v1.6.0

Some incomplete work on the restore code (committing only because I am moving to a different machine)

commit 5872b4cca3a360fd1df1236ed9f32a6d6f74cef4
Author: gustav_delius <gustav_delius>
Date:   Thu, 16 Mar 2006 04:25:49 +0800
Tag:    v1.6.0

Fixed typo giving sesskey error

commit 7befd0188d24da8ef10f876692253a776cca7603
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Mar 2006 02:36:36 +0800
Tag:    v1.6.0

If a student has not attempted a question then the grade column for that question will show -- instead of 0.

commit 3e2c988f0ce6a9e089a5019faeb1935bf97e073e
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Mar 2006 02:30:35 +0800
Tag:    v1.6.0

Somehow missed this table reference during renaming.

commit b9618e80bd6312d47b6bb457418d24659506350e
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 08:21:35 +0800
Tag:    v1.6.0

Truncated long action name in log, see http://moodle.org/mod/forum/discuss.php?d=41446#190858

commit 31d21f22a515abd5f4b182d7dfb25787fe241c25
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 08:20:34 +0800
Tag:    v1.6.0

Better display of response history

commit 12fcd27da68c4b87200fee7beea45e0fdea6e7c5
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 08:18:38 +0800
Tag:    v1.6.0

Some work on question restore code, not complete

commit b2b97d6834b28a47ab9560443926e327e6f8c25f
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 05:27:14 +0800
Tag:    v1.6.0

Every questiontype should have its own backup and restore code. This is a first step in that direction. I have created the individual restore libraries for all question types but they are not yet used.

commit 32a189d636ef34f8e8252dc566cd3461660a9c88
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 05:17:42 +0800
Tag:    v1.6.0

More renamings to separate questions from quiz. Some other small fixes.

commit b0fb1e836bafe24162520a261c92894a6dbcda85
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 03:23:55 +0800
Tag:    v1.6.0

Default values for quiz_delay1 and quiz_delay2

commit 1bfdafd475a44ab73d8cf23c80a3a891c802c99c
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Mar 2006 03:14:56 +0800
Tag:    v1.6.0

The box for the warning was too narrow. In future this should probably be controlled by CSS.

commit 5433ee83ee4251c838302ac058b2ca0f4f0d3ec9
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Mar 2006 22:08:48 +0800
Tag:    v1.6.0

When the question name is taken from the question text it is now cut off at 15 characters.

commit f4b72cdb742dab7e81f6d53a4e5c17fe4f6c4c18
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Mar 2006 22:02:49 +0800
Tag:    v1.6.0

Made to work with the new templating system.

commit 2662cf46fc6ab9fa1c9a084df779b4d3b4722779
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Mar 2006 05:16:28 +0800
Tag:    v1.6.0

Some improvements to how the tabs and links behave.

commit 37a12367c5cf6fa2d41991243bf05fb505d84629
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Mar 2006 00:15:30 +0800
Tag:    v1.6.0

Templates and css hooks for more questiontypes. Essay and RQP will be done at a later date.

commit dc2ff7c34135725994da5861860d87e4091c0dda
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 18:42:15 +0800
Tag:    v1.6.0

Fixed incorrect function name, spotted by Penny

commit 70c01adb9102f9e8226fb943a6446085a1d46406
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 17:30:21 +0800
Tag:    v1.6.0

Improvement to tabbed interface

commit 567709c4e024c178c7dc45ed8d88aff9dfee2743
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 16:43:41 +0800
Tag:    v1.6.0

Tabs on question bank editing pages

commit f5565b6969b1f1db6efbcfc37a4738c55c6f83d0
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 15:36:09 +0800
Tag:    v1.6.0

Removing some more references to quiz from import/export code

commit dc1f00de195dcc5c55f7d86ed671f0a32a611eb6
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 15:03:57 +0800
Tag:    v1.6.0

Some little fixes and more renaming to cleanly separate question code from quiz code

commit c9026379543c79df5d84b72825c2d60ef14a752d
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 04:43:06 +0800
Tag:    v1.6.0

Committed fix for bug 4829

commit 062f1125cc28069d29cf9d31a3b91d5f3cba2404
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Feb 2006 17:36:31 +0800
Tag:    v1.6.0

*** empty log message ***

commit 4f48fb42afdd54461b81c30ca06b1a47e874435b
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Feb 2006 17:26:00 +0800
Tag:    v1.6.0

Towards removing reference to quiz module from the question code

commit f02c6f017e169309b6d3a233355992658651ca1e
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 21:48:43 +0800
Tag:    v1.6.0

Renamed QUIZ_QTYPES to QTYPES

commit b2db6c5a4133896125e30922815c299c1033462b
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 21:38:46 +0800
Tag:    v1.6.0

Removing the developer docs because they are now held in MoodleDocs

commit 4b32fd66aba28ecb8f2054d40f6862aac320962e
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 20:53:47 +0800
Tag:    v1.6.0

Moved function quiz_question_used from mod/quiz/locallib.php to question_used in lib/questionlib. Fixed some more links.

commit 219e92f2eb99deb27c464002df73f0a199261276
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 20:38:21 +0800
Tag:    v1.6.0

Preview now works also if no quiz is specified

commit 05054049a566809430ebbc884d7687a9dd800d60
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 20:11:30 +0800
Tag:    v1.6.0

Fixed the redirection url to edit.php

commit d242adcf8fddad2d01c0c06ca63a0053fbb62b14
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 20:01:47 +0800
Tag:    v1.6.0

Updated rqp scripts to work with the separate question scripts in moodle/question

commit 2466f4dafba8d462af0b4ebd11037d84484881b7
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 19:50:29 +0800
Tag:    v1.6.0

Added icon for the question bank link

commit b3ce2c2673b701045aa00822fdf9e358263cf295
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 19:38:17 +0800
Tag:    v1.6.0

Updated date on copyright notice

commit d7c4c1b653e955fb854273d92981edf27540c434
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:58:04 +0800
Tag:    v1.6.0

Admin Question link now points to the new question bank editing interface in moodle/question/

commit 8a274d4d37f5d406176d77508c79c619912d6fdd
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:51:26 +0800
Tag:    v1.6.0

Bumped version number (hadn't been done in a long time) in order to be able to require latest Moodle version in the quiz module.

commit 8a9ba05a8a2e85c03e05593b8a0394cd574817d2
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:43:59 +0800
Tag:    v1.6.0

Removing questiontypes from their old location, they are now in moodle/question/questiontypes/

commit 80a5e194ff4fd405dc14c81374c37b381cf83304
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:43:06 +0800
Tag:    v1.6.0

Updated quiz scripts to work with the separate question scripts in moodle/question

commit e586cfb4b032730f5fb9d4f51898d5cef10c0c09
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:35:28 +0800
Tag:    v1.6.0

Updated question scripts to work in their new location

commit e56a08dc1588bd03bb2a36a2dd3ae446e8fc6449
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:25:16 +0800
Tag:    v1.6.0

Updated questionlib to work with the new location of the question scripts

commit 516cf3eb59ae523f7997616502603793f38fae9a
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 18:21:40 +0800
Tag:    v1.6.0

Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location.

commit c6293e00db76d5017b6c5c8064a96e1f4994054a
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 03:16:39 +0800
Tag:    v1.6.0

Backing up the 'originalquestion' field

commit 3eb9904f610bb7b2dea9e52544e5befade0a2ce4
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 03:14:51 +0800
Tag:    v1.6.0

Restoring the 'originalquestion' field

commit 602d778b1f9fc88fd26cd2d03507de5e14288513
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Feb 2006 03:12:46 +0800
Tag:    v1.6.0

Experimenting with a new event type to accommodate teacher-marked questions. This is work in progress.

commit 4546212ce345f6a29e5454be0bd38b290793058e
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Feb 2006 03:19:42 +0800
Tag:    v1.6.0

Keep the action icons in the category questions list from wrapping. Eventually this editing page needs to be styled properly with css.

commit f7cf31f59451a6b94620ec135c49f8ffcc135904
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Feb 2006 03:12:29 +0800
Tag:    v1.6.0

Some mysql versions appear not to be willing to convert an empty string into a float. So setting all empty fields to 0 first.

commit f9cd8ce632200a4f839d3780aade9022a014d5c6
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Feb 2006 08:17:17 +0800
Tag:    v1.6.0

To determine whether a question has been graded we can now no longer look at wether the grade is the empty string because the grade is now always a number. Instead we use the $state->last_graded->event field.

commit 7fddf77ea567d74d2c565d66caca0a37d483e9ab
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Feb 2006 07:08:11 +0800
Tag:    v1.6.0

display template for truefalse questions. Also simplified the code.

commit dcfa8b2aa922d5ebc04073cfd4c30ce94d34d1e4
Author: gustav_delius <gustav_delius>
Date:   Wed, 22 Feb 2006 07:06:47 +0800
Tag:    v1.6.0

No submit button in readonly mode

commit 3fc63cbe969f67a45954946ca0894480df279af9
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Feb 2006 21:23:02 +0800
Tag:    v1.6.0

display template for shortanswer questions

commit fbf0e2a2042af6393e421652c221e3517501d155
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Feb 2006 05:10:13 +0800
Tag:    v1.6.0

Fix for bug 4810

commit 1d0f9df57ea3cca9a6fd87e66c003e1027744f6e
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Feb 2006 04:47:48 +0800
Tag:    v1.6.0

Added CVS hooks to templates

commit 38992f7e239c25b08e11017e1aedb94a21358cdd
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 17:04:09 +0800
Tag:    v1.6.0

Changed grade fields to type real, added missing essay question tables.

commit 0f03f3a0c28bee259efeb6639e361f46c937de43
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 07:08:52 +0800
Tag:    v1.6.0

This way around will work better. Sorry, I am tired.

commit e3d36faadf776997b51421c3a93e6a4d3f0919da
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 07:06:25 +0800
Tag:    v1.6.0

Tables for essay questions. Penny will check I didn't mess this up.

commit c1e24bcd8ec311078555e2bac5bd1d63deb056d4
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 06:49:30 +0800
Tag:    v1.6.0

Changing grade fields to float for postgre

commit 3dd1a5c4329167703143ac1a0d66751da122345c
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 06:19:00 +0800
Tag:    v1.6.0

Changing grade fields to float for mysql. Asking Penny to do the same for postgreSQL

commit c4c7a2a67b33f999e037d0e7b1a89f3449ad423c
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 05:46:36 +0800
Tag:    v1.6.0

Revert the fix to $status because it turns out that for example backup_putid() returns false when called with an id that has already been added.

commit e1eed5ccfc0ff14e3e68fa99f95dcc88a6b15031
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 01:41:27 +0800
Tag:    v1.6.0

Fix for bug 4217

commit d211bc1db1db891aa8eb039cc298588dad2a4880
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 01:37:29 +0800
Tag:    v1.6.0

Added string used to avoid confusion due to hidden questions, see bug 4217

commit 2e42186cbb89677bcd9cc7cef68925da718a3be4
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 01:30:45 +0800
Tag:    v1.6.0

Part of the future question type plug-in mechanism. This is not yet active, I am committing this only so as not to loose it.

commit 14afbbf0344c275e655b0d51eb01fee7cdb0ce0b
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 00:34:06 +0800
Tag:    v1.6.0

Added the much-requested question reordering tool

commit 1c34035a402f69597b7cb6522244c92771289c5a
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 00:32:59 +0800
Tag:    v1.6.0

Language string for the question reordering tool Fixed grammar

commit cd4f6b27a2bba8c4499f74dfaec89fef03aa25dd
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 00:27:02 +0800
Tag:    v1.6.0

Help file for the question reordering tool

commit 7af1e88286cbb0d19473c34bc7f3f0921f5fece1
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 21:26:58 +0800
Tag:    v1.6.0

Added comments to the code (when will moodle HQ start commenting their own code? wink

commit 1ef048aed30c1fe447d09da5eaa349f651489235
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 05:19:04 +0800
Tag:    v1.6.0

Fixing a misprint that was preventing multiple files from showing.

commit 238bf034733ac20b6a89e1dcbb471c7af87bf125
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 05:08:34 +0800
Tag:    v1.6.0

get_image now only returns the link, leaving the formating of the img tag up to the template

commit 997a2d5be3108835829f11ac90ef3ce2984a588d
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 05:07:39 +0800
Tag:    v1.6.0

New defaults, strings and help files for shuffle options

commit 162f62daaf0bdaa091532f6bb841d4c536a5b4dd
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 05:06:08 +0800
Tag:    v1.6.0

New strings for shuffle options

commit 5e397ce7b0e6cb98103dee866b73e00a6a18c5a0
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 05:05:23 +0800
Tag:    v1.6.0

New help files for shuffle options

commit a3b8af38056ec84bfa0b31b8c3b81b5e2acde259
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 04:41:08 +0800
Tag:    v1.6.0

Clear all floats before printing the next component.

commit 0f9f31c81c95089d80d591906e5ca36e89e08c54
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 04:01:36 +0800
Tag:    v1.6.0

Using html template for multichoice question

commit bffa0685da39f536f9b3dabee34ec48f21d76f3f
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 03:58:17 +0800
Tag:    v1.6.0

Added periods at the ends of the answer prompt sentences

commit ee49be211bd286de664a73c6e6e9a4133403824b
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 03:03:06 +0800
Tag:    v1.6.0

updated required Moodle version in an attempt to stop people installing the unstable quiz module code (I use unstable in the sense of rapidly changing, not in the sense of buggy of course smile)

commit 7f65c565be4e3dd4fd26c13179e8041bce27b500
Author: gustav_delius <gustav_delius>
Date:   Sun, 19 Feb 2006 01:32:56 +0800
Tag:    v1.6.0

First steps towards separating logic and layout in the printing of questions: the print_question() method in the default question type now uses the template question.html

commit 7aa42eb0c8f3b7abdc751952279be5c4e6d70d85
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 23:11:03 +0800
Tag:    v1.6.0

The import tab has to provide the course id.

commit c54da50b29958ca8f3d2257fd40f28424240f65f
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 23:09:08 +0800
Tag:    v1.6.0

An additional sorting order for category question list

commit a258d4fea8f27c5076f916a28c54b73ed5b1ad79
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 21:09:59 +0800
Tag:    v1.6.0

Make sure teachers can only import into categories for which they have editing rights.

commit 39230689efad5f5a31be9b01d8f2c0b6b60d527c
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 02:31:15 +0800
Tag:    v1.6.0

shuffleanswers is always turned on in cloze questions Feedback popups are now sticky, see http://moodle.org/mod/forum/discuss.php?d=39983#183780

commit 7f30d941bcd40f531770b2e705412a541e39c041
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 01:28:47 +0800
Tag:    v1.6.0

Corrected the page comment

commit 344be2522c72a725235c18e447ead0ff2ec05845
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 01:15:56 +0800
Tag:    v1.6.0

Added link to questions bank

commit 6551bb89691e495e46f60c148012f2c2f70296ce
Author: gustav_delius <gustav_delius>
Date:   Sat, 18 Feb 2006 01:15:17 +0800
Tag:    v1.6.0

Changing headers to decoupling the question editing page from the quiz module.

commit fe5a3eb2495b879a2d44d3a1e0ad5b183a11ae83
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 22:14:18 +0800
Tag:    v1.6.0

Better prompts for multiple choice questions, see bug 2791

commit f00da052c0d83ed5bf59a0ec6e98e0999b9c8726
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 06:01:57 +0800
Tag:    v1.6.0

Bug in "Prevent late submissions" setting fixed, thanks to Samuli, see bug 4780

commit 5c6b657acba1b304596f30c67543c3c044ec25a7
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 05:56:57 +0800
Tag:    v1.6.0

Bug in "Prevent late submissions" setting fixed, thanks to Samuli, see bug 4780

commit 997bcf0eb8cf7d5c2be5c3a3ff47d782f09dd594
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 02:15:15 +0800
Tag:    v1.6.0

As Eloy pointed out, my recent addition for including child categories used by random questions did not restrict to the course or the instances currently being backed up.

commit 95ea52d41b119900b7945280552b7e5c15962aa8
Author: gustav_delius <gustav_delius>
Date:   Thu, 16 Feb 2006 18:26:44 +0800
Tag:    v1.6.0

Changed language string "Move category to" to "Parent", see bug 4727

commit 92c781cab35c42e1ec43a75bf78bcf30a1b4d896
Author: gustav_delius <gustav_delius>
Date:   Thu, 16 Feb 2006 18:20:27 +0800
Tag:    v1.6.0

Update the stamp each time a question is edited. This is the outcome of a long Skype discussion with Eloy on 15/02/06. A planned improvement for the future is to set the stamp to a md5 hash of the questiondata to ensure that identical questions will have identical stamps. Currently it is possible to obtain some duplication during question restore if between backup and restore the teacher clicks on the Save button on the editing page without acutally making any changes. Admittedly not a very likely scenario and hence the current system is good enough for now.

commit 6a687a0e98de739868c214b77e66a1d9c04849a7
Author: gustav_delius <gustav_delius>
Date:   Thu, 16 Feb 2006 06:30:54 +0800
Tag:    v1.6.0

Now contains code to also backup those categories needed by random questions that recurse into child categories. Fixed the way the $status flag is handled.

commit 2b9221b9ff55af024775f23da1a000a5335a3f95
Author: gustav_delius <gustav_delius>
Date:   Thu, 16 Feb 2006 06:18:49 +0800
Tag:    v1.6.0

Fixed bug leading to warnings

commit 3181dafd6223381575dd78aead45e338179bb124
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 20:17:25 +0800
Tag:    v1.6.0

added language strings, in particular for the tabs and decimal digits

commit 1bc28beba0cb1781ff8065d991e738a448c7cb52
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 20:13:20 +0800
Tag:    v1.6.0

Improved the comment for set_field()

commit f0b2c1cc2b67f412ac61aeb9bb3fcfcfc294da8e
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 16:59:32 +0800
Tag:    v1.6.0

Applied fixes from bug 4319. Thanks to Jaroslav

commit 03d1753c1cf192f174cf9f63ae55657a79f784ec
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 16:38:41 +0800
Tag:    v1.6.0

Renamed table quiz_newest_states to question_sessions

commit 832d40420ca5e266e0ca48128f5ca4f22a054b6d
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 16:34:36 +0800
Tag:    v1.6.0

Renamed table quiz_newest_states to question_sessions

commit 786187cdfd6521d9731e1a17d34492d285c6b9a6
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 16:13:14 +0800
Tag:    v1.6.0

Removed unnecessary code: questions are only deleted if they have no attempts.

commit b2a90f76b2362fe7aa4504785ebd0791e4406856
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 08:16:57 +0800
Tag:    v1.6.0

Don't apply lateness check when teacher previews.

commit adaa8c8650e195a45a5bb5cef64fe4cd02fffa27
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 08:06:28 +0800
Tag:    v1.6.0

Grammar fix, bug 4526

commit 193b28398581bfc63b126817c96c5e3872531e6a
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 07:24:10 +0800
Tag:    v1.6.0

removed a warning, see bug 4406

commit 85b9b86f5151f6a3b8dff90c4eb4d9b59f86a81e
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 07:08:06 +0800
Tag:    v1.6.0

Round also the raw score.

commit 8c85be66982bfb441eedbc6c144982d6287c0884
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 02:37:03 +0800
Tag:    v1.6.0

Rounding errors could lead to "Partially correct" for correct answers, see http://moodle.org/mod/forum/discuss.php?d=39548

commit 24edc235c6e3a12d0a662753b94ceb355c7b0fd0
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 02:21:06 +0800
Tag:    v1.6.0

Fixed submit buttons

commit 12318329fa792f4f952614d6ecfc5f61395678f3
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Feb 2006 07:48:12 +0800
Tag:    v1.6.0

Edit link in preview mode now also for descriptions, see bug 4518

commit b04523d1c4666f28bb46567baf72bbe6eba9ce03
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Feb 2006 07:34:30 +0800
Tag:    v1.6.0

convert sequence field to text to accomodate very long sequences, see bug 4257

commit a42f00063581244ed37582e1a6f33f4a67fd23f7
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Feb 2006 07:15:40 +0800
Tag:    v1.6.0

Matching questions now no longer give away the answer in the page source, see bug 694 (that is an old bug!)

commit acb0c2d93e453b07c1479906dd0589886ec2591a
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 21:28:40 +0800
Tag:    v1.6.0

fixing hardcoded string, see bug 4432

commit 353138dc11899529d1aa7a9d7e3ae2b03449708a
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 21:20:57 +0800
Tag:    v1.6.0

Added a unique index for attempt->uniqueid

commit 6d08ff4f014270785cdc2cb5e200c16b9cc19582
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 19:23:47 +0800
Tag:    v1.6.0

Fixing javascript, see bug 4418

commit f0295d5aba5c1f532adfad712114bf49547181fd
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 07:30:37 +0800
Tag:    v1.6.0

Remove empty line, see bug 4747

commit 41323dff31d6902ebb272e2f85edcab49fa8afc4
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 06:38:13 +0800
Tag:    v1.6.0

Added missing percentages to the grade selector, closing bug 4250

commit aa960f6b0403f50758503cd0a61c6d7d9ae93f13
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 06:26:53 +0800
Tag:    v1.6.0

Edit link in preview window now says 'Edit'.

commit 0b72ce2051028f8458edbee2b08330a4ecbc03a4
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 05:50:38 +0800
Tag:    v1.6.0

Made page compatible with new tabbed interface and removed continue button as requested in bug 2919

commit 721b5b28c900177be1e985285e0e6fa30f626501
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 05:23:54 +0800
Tag:    v1.6.0

Stopped using the language strings for the assignment module because that was requested in bug 4558.

commit 8779eab55d7b573f588a4a695015e51a3310b23b
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 05:08:43 +0800
Tag:    v1.6.0

Avoid error messages in case $quiz->sumgrades is zero, closing bug 4454. Merged from STABLE

commit 162cbee2293e8b2e0170fb564bf277d297bcb5cc
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 23:28:17 +0800
Tag:    v1.6.0

Added field to versioning table needed by new versioning table (to be committed later)

commit d40d8ef7b1552eb2d36d12b061a0d910f0501ebd
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 23:24:45 +0800
Tag:    v1.6.0

quiz_delete_question() now recursively also deletes data associated with newer versions of the question.

commit 5a981c9480e034fff53e412f4a9381ee59f77e87
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 17:46:34 +0800
Tag:    v1.6.0

shuffleanswers option can now also be set at the question level, see http://moodle.org/mod/forum/discuss.php?d=39371

commit 906935f3b006525ef56ec4c21aa8165ee3eb9611
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 06:37:30 +0800
Tag:    v1.6.0

Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767

commit 7c4127efadd33abdb20301643e36f5650e33c9b9
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 05:07:08 +0800
Tag:    v1.6.0

Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767

commit 90ec0c2fc72cf5a87e1a50d5355022b3ae58a1b3
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 00:40:09 +0800
Tag:    v1.6.0

removed two method definitions that are used for the editing form

commit 6f51aa2e5bd78998260077772305b78e2362093d
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 00:13:21 +0800
Tag:    v1.6.0

get_actual_response() method for cloze question type contributed by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27730#181773

commit eaa5a1c0c892943746cbae45e6487f1516ddc394
Author: gustav_delius <gustav_delius>
Date:   Sat, 11 Feb 2006 22:07:54 +0800
Tag:    v1.6.0

Added missing icon (used by quiz editing page)

commit c4adc2c4933a8d50288ed0e2193924ad6e720122
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 21:57:22 +0800
Tag:    v1.6.0

Added a second row of tabs to the Edit tab: Questions, Categories, Import, Export, Settings Added phpdoc header to some files Improved language string and help file for decimal digits on grades

commit 4eedc50cbc7c986f9ba96b46513100318ab0f218
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 21:46:05 +0800
Tag:    v1.6.0

Excluded the description questiontypes from random questions

commit e7cb8f3e7afa6b066e9a0ac9fc6bd134022bd115
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 21:38:04 +0800
Tag:    v1.6.0

Now one can set the title attribute for a tab separately from its text

commit 27998b9e2f41585a159579ada40918564173f4b2
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 20:23:49 +0800
Tag:    v1.6.0

Added a NOT NULL to a text field just because others have it and now it agrees with my recent commit to STABLE.

commit bfb55c18703c29b990f7e965c5dc67c7ab8c9920
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 09:13:20 +0800
Tag:    v1.6.0

now loading central soap library

commit cd00e988bb508fddc60d7f0a855d4c9a2515670c
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 08:44:27 +0800
Tag:    v1.6.0

Introduced function quiz_delete_question() and questiontype methods delete_question()

commit c9dfed37c222cf8bc5e831cbc63c4d2bf954018f
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 07:28:30 +0800
Tag:    v1.6.0

Silenced notices produced by flush() and ob_flush() in regrading code.

commit 3bf0212c24dc362b6d4757f194366ac2fffda8bf
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 07:25:15 +0800
Tag:    v1.6.0

Another improvement on regrading. The code thought that grading for a question changed if the grade was like 1/3. The precision in the database is different than the newly calculated grade, so now we round both values to 5 decimal places, which should fix this problem. This was committed to STABLE  by Julian a long time ago

commit 27aa2243ea85afac4dfb195ea153ca28466e25f7
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 07:15:59 +0800
Tag:    v1.6.0

I was adding the slashes twice

commit 46fbd65ab7ae5b860f8f0b746003ec968711e045
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 06:52:05 +0800
Tag:    v1.6.0

Show grading details only if $options->scores is true

commit adce1ab5c1ca717ac2dce182a133ede2861ea4ab
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 05:22:07 +0800
Tag:    v1.6.0

Fixing problem from earlier merge

commit 668bc1f3a6ed0bc45054af2cb264afc7e2de2e5d
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 04:44:43 +0800
Tag:    v1.6.0

reverting change made by Martin D when going to version 1.230

commit 0e2057cb175c9328b9b4647c4cadcd16737be5a6
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 06:55:09 +0800
Tag:    v1.6.0

Added essay question to list of excluded types for random questions Also fixed type on previous commit

commit 5e468d30e17ddebd6eb9e600151c07474638d533
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 06:51:32 +0800
Tag:    v1.6.0

Fixed a potential bug that would have hit if one quiz would have had two random questions for the same category, one of which was set to recurse into subcategories and the other not. At the same time this improves performance because no longer all the potential questions are loaded from the database but only their ids.

commit d28ca2be6ff87dcdd701ae8df1e26f394b1367e3
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 02:58:49 +0800
Tag:    v1.6.0

Fixing image link, closing bug 4489

commit 205e0e2dd6e7e1c362a6afb25db825ccd36ccb33
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 02:45:31 +0800
Tag:    v1.6.0

Some comments added and fixed small potential bug in get_correct_responses()

commit fb06b99b788095678943df3495f434b3fd402c01
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 02:31:23 +0800
Tag:    v1.6.0

Reverting a change which Martin made in an attempt to encrypt information in the matching questiontype which unfortunately broke a lot of other question types.

commit 2b0906805b076ff98359f7f710bac305f49a0eda
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Feb 2006 08:35:51 +0800
Tag:    v1.6.0

Fix for bug 4678 contributed by rwmoore

commit a445d5e8b2bee582da5e7654b315f37c5e55ceed
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 07:17:47 +0800
Tag:    v1.6.0

shortened language string name as requested in bug 4568

commit 6e218d24ce3b8389c2699c072a58e7d86df6e0b6
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 05:09:48 +0800
Tag:    v1.6.0

Fixed alignment of form elements in IE

commit 56b5d16a4d81769557fc8aeb59421badca03f41a
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 04:45:54 +0800
Tag:    v1.6.0

Fixed alignment of module icon so it looks correct also in Firefox.

commit 9f55987836e2191a5b32f0a9cd01e05244cccee8
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Jan 2006 08:40:57 +0800
Tag:    v1.6.0

Now use language strings instead of 1,2,3 to express ordering choices

commit 9af43ab5376ee1446b2007aae7ef70c1dfb7df13
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Jan 2006 08:40:36 +0800
Tag:    v1.6.0

new language strings to express ordering choices

commit 9a609e0934b6c75b24852b649af099b0312dccc5
Author: gustav_delius <gustav_delius>
Date:   Wed, 07 Dec 2005 08:09:31 +0800
Tag:    v1.6.0

Removed some code that had not function and produced a warning. Merged from STABLE

commit ac17ef11628ee07c0fd14d9efb2775feb913ef8e
Author: gustav_delius <gustav_delius>
Date:   Sat, 19 Nov 2005 21:19:34 +0800
Tag:    v1.6.0

Replaced PARAM_TEXT (which does not exist) by PARAM_CLEAN. Someone who knows more about the search capability on this page might want to tightent that up. $wheresearch was not initialised, leading to php notice.

commit d9bd40280c5845c164693b611be7dfbeb0108fa6
Author: gustav_delius <gustav_delius>
Date:   Sat, 19 Nov 2005 19:08:51 +0800
Tag:    v1.6.0

Correcting corrupted line endings

commit 4bb36a97ce5ab51b765dca3414f44a561ccdfea8
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 Oct 2005 22:21:29 +0800
Tag:    v1.6.0

subscribing always requires the user to be logged in, even for forums on the home page.

commit e2fff6460db5e9549521008131631aac4a17ca6d
Author: gustav_delius <gustav_delius>
Date:   Fri, 21 Oct 2005 15:11:04 +0800
Tag:    v1.6.0

Many links to assess.php were missing $cm->id

commit d92a99581100bf6389e128e5983cfa2fb6fa7da2
Author: gustav_delius <gustav_delius>
Date:   Mon, 17 Oct 2005 15:59:47 +0800
Tag:    v1.6.0

Fixing misprint leading to fatal error

commit e4ec114a07756bc3180d1d463db8f877c53f2d1f
Author: gustav_delius <gustav_delius>
Date:   Sat, 01 Oct 2005 21:36:50 +0800
Tag:    v1.6.0

fixed a help button

commit 9c22e022cb1a1a505805d8317a0044e04a236f3b
Author: gustav_delius <gustav_delius>
Date:   Thu, 29 Sep 2005 22:26:25 +0800
Tag:    v1.6.0

Now uses print_user_picture() instead of custom code

commit 5c3706b27de3bc853d3afafbe52a76ee53a663b4
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Sep 2005 18:00:14 +0800
Tag:    v1.6.0

When teacher has "student view" on then the login string changes to ""Your are logged in as name in student view (Logout)", note the new 'in student view'. Discussed in bug 4113

commit 232b3ccc09c94632aca9fd061891272092855d9a
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Sep 2005 17:26:06 +0800
Tag:    v1.6.0

Turn editing on link in admin block was missing sesskey, fixing bug 4013

commit 1c349f7fa2fd9e0b20f366c9e1be0decc92d1893
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Sep 2005 05:44:09 +0800
Tag:    v1.6.0

fix to isstudent() for student view feature, see bug 4113

commit b1c9e0998abd6d8dc21d94f22911df99f04b1606
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Sep 2005 04:46:43 +0800
Tag:    v1.6.0

Allow underscore and hypen in module names

commit 57bc53c652b5b9e9f7b1b1bcf733aca65f08bddf
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Sep 2005 01:30:51 +0800
Tag:    v1.6.0

Made student view work also for admins. Also modified isstudent() function to take student view into account.

commit b4dd061d7a0fc7bcc08f0b6e0e148f1587132677
Author: gustav_delius <gustav_delius>
Date:   Sun, 25 Sep 2005 01:56:33 +0800
Tag:    v1.6.0

When adding a large number of courses to a metacourse the timelimit needs to be reset regularly in order to avoid the 30 second timeout.

commit dbc72c9959e4ca5d2f0efc42feecdccaa831a596
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 21:09:43 +0800
Tag:    v1.6.0

Fix for bug 3995

commit a567590ba5c4f05f6df04288659cdee5ef93e4c3
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 20:33:29 +0800
Tag:    v1.6.0

Fix for bug 4019

commit dc151b29afd493f3c5f715c134dd20c187b853a4
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 20:31:36 +0800
Tag:    v1.6.0

Merged from STABLE

commit c3f806312fc6ab989080f4516cd76e38477ab21c
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 20:10:35 +0800
Tag:    v1.6.0

Fix for bug 4052

commit 4df4ca3eeafed12a13cad20077489f7775f994d9
Author: gustav_delius <gustav_delius>
Date:   Fri, 16 Sep 2005 15:06:14 +0800
Tag:    v1.6.0

Fix for bug 4077

commit 537daa79bec138191c8438cde13395bed08f233d
Author: gustav_delius <gustav_delius>
Date:   Thu, 01 Sep 2005 00:32:49 +0800
Tag:    v1.6.0

Merged from STABLE.

commit e484e8f91596e081c9c18fb577453ee95331046b
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 03:24:17 +0800
Tag:    v1.6.0

Fix so that secure window closes itself even when no review is allowed, see bug 3891

commit aca55f679cd80ad60ce6cae3fc1ae61861055994
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 03:12:17 +0800
Tag:    v1.6.0

A bit of code cleanup as suggested by Olaf Rempel in bug 3881

commit d78d653a345eee7477484e14b9f3e0d12c54eaae
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 02:51:40 +0800
Tag:    v1.6.0

removed unnecessary code as suggested by Olaf Rempel in bug 3850

commit c0bbeb675a0c8e639f2848179640693821d4da48
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 02:47:24 +0800
Tag:    v1.6.0

Removed the restriction that the quiz timelimit has to be less than the session timeout

commit 9235fb7977f0276692033b1ae6b7a222478b65df
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 01:57:36 +0800
Tag:    v1.6.0

Removed the restriction that the quiz timelimit has to be less than the session timeout

commit 86831b4c690fd408fb0caef091124e9d1b49b687
Author: gustav_delius <gustav_delius>
Date:   Fri, 26 Aug 2005 16:56:18 +0800
Tag:    v1.6.0

Fixed bug 3950

commit 3db6659d2d60814608402e17cf5c82d9982cfab6
Author: gustav_delius <gustav_delius>
Date:   Fri, 26 Aug 2005 16:00:19 +0800
Tag:    v1.6.0

fix for bug 3953 provided by Jean-Michel

commit 36fb738b2a0d9c89e6648f65d3ae37e2dea8619f
Author: gustav_delius <gustav_delius>
Date:   Thu, 28 Jul 2005 01:22:21 +0800
Tag:    v1.6.0

fix for bug 3822 provided by razzor

commit 49347eacc5e7ee5cd79ef849569ea11cb48dec4d
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Jul 2005 22:19:21 +0800
Tag:    v1.6.0

Fix for question numbering provided by razzor, bug 3807

commit 59c9337e002c8d03f322f07f549dbfa53a5346cf
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 17:34:39 +0800
Tag:    v1.6.0

Merged from STABLE (only changed whitespace)

commit 6afbc42c4e02d815eb53ff83d979ee7ded7b530b
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 17:31:07 +0800
Tag:    v1.6.0

Merged from STABLE

commit 376b8cd21759137d33276bfe684b1c8ddfee6cf1
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 17:12:42 +0800
Tag:    v1.6.0

The fixes for the item analysis plug-in that were assembled by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27553

commit c24aca42c5891ef7442048b3789e0b62bae434a0
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 04:42:16 +0800
Tag:    v1.6.0

Resetting the timout counter to avoid the timeouts reported at http://moodle.org/mod/forum/discuss.php?d=24790#129431

commit 80ed3fe6b02b1364bf1c1f0d625e590275caa1f8
Author: gustav_delius <gustav_delius>
Date:   Fri, 22 Jul 2005 19:41:12 +0800
Tag:    v1.6.0

New report plug-in contributed by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27730

commit 970d0fe02c1f289ae761236f3590b2f23bc299ed
Author: gustav_delius <gustav_delius>
Date:   Fri, 22 Jul 2005 17:43:23 +0800
Tag:    v1.6.0

Improvements contributed by Jean-Michel Vedrine, see http://moodle.org/mod/forum/post.php?reply=130818. - you can change # of attempts per page displayed on screen - you can download results to Excel/text file, including detailed grades if you check this option.

commit 286a5c6e36ce39391efb829ffafe1bbe46930c26
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Jul 2005 17:42:10 +0800
Tag:    v1.6.0

Fixed a table comment

commit 937b63b09a881acd51c4b8141523a39b60565bd1
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Jul 2005 17:29:35 +0800
Tag:    v1.6.0

Merged from STABLE.

commit 6869085a5e90d30afd3f23ae3b7461c00d68d64e
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Jul 2005 15:00:35 +0800
Tag:    v1.6.0

Forgot to convert a $quiz to $cmoptions. Fixes bug 3749

commit ea79f5ba09dcb6f1fa859bf46d8be6ac5aa7a0ff
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Jul 2005 01:37:20 +0800
Tag:    v1.6.0

Fixed bug reported in http://moodle.org/mod/forum/discuss.php?d=27344

commit 35bcb9215086910318eae56e41827494e98df254
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Jul 2005 08:21:02 +0800
Tag:    v1.6.0

fixed typo, see bug 3687

commit 9bc2d82a461a3a4ba2a9277eb457bbe485e2132b
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Jul 2005 02:34:12 +0800
Tag:    v1.6.0

Merging from STABLE

commit bb52d44c6afab1892d6ba9906907b3e0bccf9714
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Jul 2005 01:16:56 +0800
Tag:    v1.6.0

Due date and start date are now optional, as requested in bug 867 and bug 3635

commit 27d132c0f7a3029688c6b62f21174cbb1b720779
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:57:28 +0800
Tag:    v1.6.0

Fixed bug 3687

commit 2b46608c3a3ed793376b7d1c9919d7603bbc1bb9
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:41:15 +0800
Tag:    v1.6.0

Merged from STABLE, satsifying bug 3696

commit 3f13a635abf685c24200194392b35d89f3bd5035
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:22:06 +0800
Tag:    v1.6.0

Merged fix for bug 3707 from STABLE

commit 39e3c1f1c3898355eef4bc60df6fb5995a144d73
Author: gustav_delius <gustav_delius>
Date:   Wed, 06 Jul 2005 15:53:17 +0800
Tag:    v1.6.0

Merged from STABLE

commit 7d0fdfd794c3ab20fffe716ea9852aef2d2f6c3f
Author: gustav_delius <gustav_delius>
Date:   Wed, 06 Jul 2005 14:44:18 +0800
Tag:    v1.6.0

Moved constants into constants.php so that they can be loaded where needed.

commit a08e9552fa91a3dcb5d1f6414ca15b31b20ba4ea
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Jul 2005 17:53:02 +0800
Tag:    v1.6.0

More steps towards the separation of questions from the quiz module.

commit d115d8c736ff44bfc959c2c7b5908e83fb00bc9f
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Jul 2005 02:14:51 +0800
Tag:    v1.6.0

I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380

commit ad7e7ba882ec438c48b6e0a832ae58cfb95f00e8
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Jul 2005 00:07:05 +0800
Tag:    v1.6.0

Two name changes: 1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example). 2) quiz_restore_question_sessions() has the simpler name quiz_get_states Also got rid of the quizfile.php in favour of file.php

commit 0d156caaae266b4861f4520ea48d61146c7072fa
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 19:42:42 +0800
Tag:    v1.6.0

I have started on the re-organisation to allow other modules to use the questiontypes. Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php. The default questiontype class is now defined in quiz/questiontypes/questiontype.php. See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852

commit be795125dd3e4d4850285d6543a807d69f75d8b3
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 19:38:42 +0800
Tag:    v1.6.0

small changes to documentation

commit 85f066ab0da06c1aeaaf5e678a72c3adf29fa81f
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 16:51:06 +0800
Tag:    v1.6.0

fixed the classification of tables into static and runtime in the documentation

commit f17d13f5cca67998133f975188eb6f344ee140c5
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 05:00:52 +0800
Tag:    v1.6.0

Some minor changes to the quiz module documentation.

commit fe88b9923797ba5f49ad9ba317832eef8759db1c
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 03:03:42 +0800
Tag:    v1.6.0

selected tab should not automatically become inactive.

commit e0c5c5e9746206894bd114c454411b3a208bd689
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Jul 2005 01:21:52 +0800
Tag:    v1.6.0

Remove potential PHP notices when $course is not an object.

commit 917dfbb66a325cf2c46c454bbdc2828fa8c21df5
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Jun 2005 23:37:27 +0800
Tag:    v1.6.0

Fixed typo that prevented upgrade

commit ed460c8e04d08944a778587b16f4bb22aac043ac
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Jun 2005 00:21:11 +0800
Tag:    v1.6.0

I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845.

commit bfff85cba1bbaa81c52a26f276a7eafaf9653c7a
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Jun 2005 22:00:59 +0800
Tag:    v1.6.0

changed & to &amp;, merged from STABLE

commit 9e201544883bb26b0e92132a2e4dfb9bd9d413b0
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Jun 2005 21:02:32 +0800
Tag:    v1.6.0

XHTML compliance, merged from STABLE

commit 8c95e97feceaef3f31a43783291d2d785b521d5d
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Jun 2005 14:57:30 +0800
Tag:    v1.6.0

merged from stable

commit f3d7f1ca50709938d52bfdf0de89eb72e1e1d38d
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Jun 2005 02:42:17 +0800
Tag:    v1.6.0

merged from stable

commit 9660d1de9c67a3d72c292f4599ca69d90560b2c6
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Jun 2005 21:51:22 +0800
Tag:    v1.6.0

merged from stable

commit 22fcd78b595eddd74ae1f5cd2da32c8616768090
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Jun 2005 21:49:37 +0800
Tag:    v1.6.0

file analysisdownload.html was initially added on branch MOODLE_15_STABLE.

commit 39395fd60bf1f72790bbc54a83b6cc84b47c7f69
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Jun 2005 17:57:13 +0800
Tag:    v1.6.0

merged from stable

commit 7dd7925ee449fb9759e2b55c289cd64ed83cb023
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Jun 2005 17:52:21 +0800
Tag:    v1.6.0

merged Julian's changes to calculated questions from stable branch

commit 4f80143e369bfff53492696b5540737c95c01f9e
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Jun 2005 18:14:24 +0800
Tag:    v1.6.0

merging from stable

commit fc44ee0de8fbfdef5fbf03c32948f48f34f9ff8c
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Jun 2005 04:51:15 +0800
Tag:    v1.6.0

Merged from stable

commit e132d90e02e47875e7b413860a78c407e00bfeb8
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 06:14:08 +0800
Tag:    v1.6.0

merged Enrique's correction from stable

commit 4b5d96abb29f6f734dc24841afc35f0a6dafe971
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 01:24:59 +0800
Tag:    v1.6.0

The versioning code will not be in Moodle 1.5, merged from stable

commit 6742ed5c5e9775f85f2ce058f1d206fe0fd40ce6
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 01:23:37 +0800
Tag:    v1.6.0

fixed typo, merged from stable

commit 7bbe08a267f262736df50a130066a076a6c6e095
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 17:58:35 +0800
Tag:    v1.6.0

Merged from stable

commit c9350c2957a4540720d6dd32b6544e8349734a1e
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 17:44:09 +0800
Tag:    v1.6.0

Removed the quiz upgrade warning. Merged from stable

commit ebbb178e3576d06a403df95a802ac4f3b72a05a3
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Jun 2005 03:02:07 +0800
Tag:    v1.6.0

tiny tweaks

commit 6851e7cd4acab1f480d2fb90f180ad32fbaf26e5
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Jun 2005 14:44:35 +0800
Tag:    v1.6.0

merged fix of bug 3377

commit 5ecf32ebf25ea51966fda7dcfd7c771017c293ff
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 May 2005 15:54:48 +0800
Tag:    v1.6.0

update of versioning doc

commit a2bb02cce243ba70c8e6791c6e9b7352e27f3e0c
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 May 2005 06:23:17 +0800
Tag:    v1.6.0

updates to versioning documentation

commit c724f48209fba589395f4bb7e7d285ecfa591cb9
Author: gustav_delius <gustav_delius>
Date:   Wed, 25 May 2005 14:15:21 +0800
Tag:    v1.6.0

updated database creation by exporting from my database that was created by updating from 1.4. Merge from 1.5

commit ee68029a882cdaa9aab59a0f69458ae2d38a61a7
Author: gustav_delius <gustav_delius>
Date:   Wed, 25 May 2005 00:11:55 +0800
Tag:    v1.6.0

merged fix for bug 3329

commit b3ccc054e752384187f8e24079246ddf7a42363c
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 May 2005 04:52:55 +0800
Tag:    v1.6.0

Upgrade all attempts at a quiz to the Moodle 1.5 model on attempts.php and report.php

commit 42d74f47f923f54aa212ba364b76e7709c80730a
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 May 2005 22:56:22 +0800
Tag:    v1.6.0

Some corrections

commit a472ce59609f2f535865b228c1f792ba3472e27b
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 May 2005 15:25:33 +0800
Tag:    v1.6.0

New version of item analysis from Enrique

commit cf74468046fb30854459edd45efaa0f3cea52935
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 May 2005 15:16:08 +0800
Tag:    v1.6.0

Forgot to commit this earlier

commit 081d3a9647de8f748439e08c5bd772290d481e65
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 May 2005 05:56:55 +0800
Tag:    v1.6.0

Fixed bug 3295

commit 5913c377ea5a3e27a0665edcdd80d466c93a4265
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 May 2005 05:39:34 +0800
Tag:    v1.6.0

implemented Eloy's fix to the duplicate records problem, closing bug 3293

commit f294ea047d89444d480947bec4b67b0a3fe58c42
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 May 2005 04:44:25 +0800
Tag:    v1.6.0

fixed weird line endings in this file because perhaps it is the cause of bug 3301.

commit 1ddb7f4efc193e62cd8a7e484ca459df67cffc2d
Author: gustav_delius <gustav_delius>
Date:   Fri, 20 May 2005 16:52:33 +0800
Tag:    v1.6.0

Printing of header moved into plugins themselves to allow them to provide export functionality which does not want a header printed. Thanks to Enrique for doing this.

commit 97f0cb15f1578eb3358db29a7893a39f0a12c01c
Author: gustav_delius <gustav_delius>
Date:   Thu, 19 May 2005 16:05:58 +0800
Tag:    v1.6.0

Questoin edit popup window now closes itself automatically, see bug 3140. Thank you Eloy for the lesson in javascript.

commit be34c2948db5ca1cd3b3f31cd24af65955763958
Author: gustav_delius <gustav_delius>
Date:   Thu, 19 May 2005 15:54:29 +0800
Tag:    v1.6.0

Improved reporting during upgrade, see bug 3297

commit 67f74fec53f0e051b7fce5bbb587eaecd20c6704
Author: gustav_delius <gustav_delius>
Date:   Thu, 19 May 2005 03:59:12 +0800
Tag:    v1.6.0

Some code cleanup: the function extract_response() is not used any more

commit c877e32fa20875c7827a45a4072383066881a46a
Author: gustav_delius <gustav_delius>
Date:   Thu, 19 May 2005 03:53:44 +0800
Tag:    v1.6.0

language file for the item analysis report for the quiz module developed by Enrique

commit 43f14820fd259598198949a1c414534ea75801b3
Author: gustav_delius <gustav_delius>
Date:   Thu, 19 May 2005 03:52:21 +0800
Tag:    v1.6.0

Updated version of item analysis report from Enrique

commit 5144dc4aba8905f582864c5907c90042026d32bf
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 May 2005 23:43:37 +0800
Tag:    v1.6.0

Shortened length of answer field for numerical questions to 20, closing bug 1508

commit f19360ff41a4ce0d99993c570795dcc137f7e304
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 May 2005 11:34:44 +0800
Tag:    v1.6.0

Switched off the verbose feedback and removed some old code

commit 278553ffdc470e02d6188c21a4e09306fb6ff4fe
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 May 2005 11:00:55 +0800
Tag:    v1.6.0

Avoid break between answer and feedback in multiple choice question

commit 6c6d199c48a05bcc3749c4a2d186ea4f01721490
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 May 2005 06:22:29 +0800
Tag:    v1.6.0

temporary fix to bug 3140

commit 54b3f8eb8594b566c74061639258779ec2f833f7
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 May 2005 06:18:17 +0800
Tag:    v1.6.0

fixed typo in the wiki to markdown upgrade

commit b43757dbfa5569446f9aa7fb8e89e3112e06c43c
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 21:25:40 +0800
Tag:    v1.6.0

language strings and help files have now been moved to the main language directory

commit 107c0c8406a81366524e190efe9e9d9e40d82998
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 21:24:05 +0800
Tag:    v1.6.0

language strings and help files moved here from mod/quiz/lang/en

commit 1b05eeedad2e2d5a9910fc49a7559f1b25298790
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 06:12:44 +0800
Tag:    v1.6.0

Put link to attempts on info page

commit 246143a1d83690f32335ba20f8dc79d1d4b58075
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 05:49:37 +0800
Tag:    v1.6.0

Cleaned up config.html a bit

commit 87c32d8b7ba9c34db46666a052bc945b87f534ed
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 05:04:15 +0800
Tag:    v1.6.0

removed unused language strings

commit 1f48479ebff98e2e3b34a1007faac69e24b9934c
Author: gustav_delius <gustav_delius>
Date:   Tue, 17 May 2005 03:21:34 +0800
Tag:    v1.6.0

quiz_upgrade_states() now creates entries in the quiz_newest_states table only for states that are associated to those questions that are listed in $attempt->layout.

commit 3ab87ece9882347cfd455b8c2f7accdbb3f3b543
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 May 2005 13:55:03 +0800
Tag:    v1.6.0

Some explanation of the paging mechanism.

commit 3bac7ecaf891cae7304c5d3833817d769023eebf
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 May 2005 13:26:09 +0800
Tag:    v1.6.0

removed doubled-up code, thanks Eloy

commit 1b6fe5003a826224c7e506654b6108dd155e9d61
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 May 2005 03:37:37 +0800
Tag:    v1.6.0

Removed some notices, some polishing. No need to load all users and then remove teachers, can simply load all students.

commit af4ed42f9f4c3f169d06399a6b360bd3b1b530a8
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 May 2005 00:06:17 +0800
Tag:    v1.6.0

fixed bug 3258

commit 57a41f7f3edaed5a2fd63501815173ae69357210
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 23:43:58 +0800
Tag:    v1.6.0

Put help icon on types.php

commit 0fc5939983046b8c00a49a1ed42381da195619f6
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 22:40:38 +0800
Tag:    v1.6.0

item analysis report contributed by Enrique Castro

commit f7cb98c5ed05accf3629189d6210da26cc17275b
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 22:21:11 +0800
Tag:    v1.6.0

changed string 'penalty' to 'penaltyfactor'

commit 488cf46b651a5001b8fef39bf5451b2aeacff19c
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 19:45:12 +0800
Tag:    v1.6.0

Cleaned up issues to do with timing. So for example late submissions are now detected correctly.

commit 9402459460d6a681bb3d9e5aa3f9a975c24f4190
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 16:02:45 +0800
Tag:    v1.6.0

improved display of paging bar on edit page

commit a5389464d7776450c7f904d013b71e659c7a1c82
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 15:54:31 +0800
Tag:    v1.6.0

edit page now remembers the paging for the question list

commit b4096d4c0bc8e3fbcc4c185bf1726fd09b6b34e0
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 15:44:31 +0800
Tag:    v1.6.0

remove an old line and thus a notice

commit 8e0fe8a5b43b2fe2b04f1159705c655dec4680ef
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 15:42:51 +0800
Tag:    v1.6.0

fixing bug 3256

commit db357168b9da7e129f381805fedbba8159cc0f8b
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 14:44:27 +0800
Tag:    v1.6.0

correcting typos in help file

commit 19ea2bad550ee5e0d200d52e14a7e3f39b00b114
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 14:36:25 +0800
Tag:    v1.6.0

Improvements to the language and help files for penalties and adaptive questions.

commit c5ea7a3a17615aeead713c615d741b38e6cc96ac
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 13:56:11 +0800
Tag:    v1.6.0

Finally I am making a start on the developer docs, prompted by a question from Eloy about penalties.

commit 8f015ea595118dac77001a4c3a579b3afc914415
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 04:16:31 +0800
Tag:    v1.6.0

my stupid editor has been eating whitespace

commit a0a36492358e7fdd8bb396fbdf465c53627c8650
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 03:20:36 +0800
Tag:    v1.6.0

Don't show penalty info if penaltyscheme is off.

commit 815bb0cf3220a425f9365fad3a2c9a2847044300
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 May 2005 00:21:11 +0800
Tag:    v1.6.0

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.

commit 5b6e1eebd790e164a3db0e3729cb48d1f5f68bb5
Author: gustav_delius <gustav_delius>
Date:   Fri, 13 May 2005 23:49:15 +0800
Tag:    v1.6.0

Fixed the mess I made with a type in version.php. Thanks Eloy.

commit 93210cdfdb1b0ecbbc35d2b0369644e946ece206
Author: gustav_delius <gustav_delius>
Date:   Fri, 13 May 2005 00:51:41 +0800
Tag:    v1.6.0

fixed my careless search and replace that got rid of all question_datasets

commit bae2f7480077fa7d5f8a3cfb1a8fa683934e2267
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 23:51:15 +0800
Tag:    v1.6.0

grading details should be shown in non-adaptive mode

commit 9b1a258947ba9db480e51bc7035ec0024eb74f15
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 23:34:08 +0800
Tag:    v1.6.0

just fixing my earlier fix

commit c4aff6543c575ff38931652ff64bd14341184bf7
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 23:00:27 +0800
Tag:    v1.6.0

Fixed bug reported at http://moodle.org/mod/forum/discuss.php?d=23526

commit b8897e49a85dc8fa518e569160269c89c06b43d5
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 18:12:24 +0800
Tag:    v1.6.0

fixed bug 3191

commit 9f9265f302c79973c57b5b6c4fd625be4722b5e3
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 17:59:51 +0800
Tag:    v1.6.0

fixed bug 3190

commit 9a62a7634b7be9106282b3785cc330b6bdde5587
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 17:49:58 +0800
Tag:    v1.6.0

Made sure the questions that can be parent questions are backed up and restored first so that the recoding of the parent field will work.

commit 2e1111c5b14207009dca2f885a0b93d5240cfa23
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 17:37:09 +0800
Tag:    v1.6.0

Towards a Moodle 1.5 quiz backup and restore. Not tested yet. I moved some quiz speicific functions out of backup/backuplib.php into mod/quiz/backuplib.php

commit 4b97919fcdbfc71d42ef1641fbe9cf482c1582bb
Author: gustav_delius <gustav_delius>
Date:   Tue, 10 May 2005 01:24:03 +0800
Tag:    v1.6.0

I have changed check_php_version() to use version_compare() in an attempt to fix bug 3176

commit 2b4d7d14952df99439e85ba1ad90c335db07d348
Author: gustav_delius <gustav_delius>
Date:   Mon, 09 May 2005 13:47:21 +0800
Tag:    v1.6.0

took out call by reference in an addslashes to fix warning reported at http://moodle.org/mod/forum/discuss.php?d=23288#110511.

commit 90c7675076fd15f14ff65ad73464b73506c0bd13
Author: gustav_delius <gustav_delius>
Date:   Mon, 09 May 2005 13:34:20 +0800
Tag:    v1.6.0

reverted back to restorelib from before the merge. Removes the duplicate function definitions reported on the forums. Also I think this is the best version to start with.

commit d6516d90e1c4ba785d949798cc570e98d7d57a90
Author: gustav_delius <gustav_delius>
Date:   Mon, 09 May 2005 05:11:05 +0800
Tag:    v1.6.0

removed spurious <tr>

commit 4165bd36fcebc9f60e60f9b191d1b000df1cfebf
Author: gustav_delius <gustav_delius>
Date:   Mon, 09 May 2005 05:06:14 +0800
Tag:    v1.6.0

fixed problem with update of tolerance reported by Miles, see http://moodle.org/mod/forum/discuss.php?d=23288#110469

commit 14a02d9595d15fed79379b7ddfa3dcf60360bdbf
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 23:11:31 +0800
Tag:    v1.6.0

updated the database diagrams

commit 57ddd6adba94484ddb7174d5930be96453ca48f8
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 22:33:34 +0800
Tag:    v1.6.0

upgraded backuplib.php. Outstanding issues: quiz_rqp_type table and all of Julian's question-type specific stuff.

commit bacd044d45cb8f5682bc96bbb8ddfb7ed3af2104
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 19:24:03 +0800
Tag:    v1.6.0

fixed bug 3146 about secure popup window for review screen.

commit 3e34b1dc14a9f9a2a90d21a8d73b7359f2289dc7
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 18:35:47 +0800
Tag:    v1.6.0

Changed table field name 'new' to 'newest' for postgres compatibility

commit 75e1df6fd224863588adac3aaf32c10ef7ac5692
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 02:50:32 +0800
Tag:    v1.6.0

"Attempt builds on last" feature reenabled

commit 89cae10a6eabe62820737ff08a1b4a683e5e67a9
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 May 2005 01:18:53 +0800
Tag:    v1.6.0

Some corrections in the documentation

commit a5c53187ccd30dd9d38f721dad9b674f7e71dbbb
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 22:29:42 +0800
Tag:    v1.6.0

enabled penalties for all question types

commit f370553ef349d2878699e93eded82c8d9d4ea7a9
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 22:28:22 +0800
Tag:    v1.6.0

this got a bit messed up in the merge

commit 1105b32da0c64255e066e8c981c7a3228322174a
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 21:48:25 +0800
Tag:    v1.6.0

Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable.

commit ef76e0326dc43902bf722e737c417738bb012aa5
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 21:30:35 +0800
Tag:    v1.6.0

Some work on the penalty mechanism. Took out the multiplicative scheme because it is just too difficult to understand. Made all question types print grading details when quiz is in adaptive mode. Made improvements to the presentation of the grading details. Enabled the penalty mechanism in a few more (on my way towards doing it for all).

commit ab4f562bb2522a5f70cb7283be6ab99a24d5035b
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 01:07:27 +0800
Tag:    v1.6.0

Make it impossible to create a category in one course as the child of a category in another course, fixing bug 2940

commit e303a824ff45eb938563592f848e7d2d1b45bda7
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 00:43:28 +0800
Tag:    v1.6.0

Use the grade highlighting only if the maximum grade scheme is used, see bug 2545

commit 47d726e9aea0a015ac93c91c67f5cc91c41aeabb
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 00:27:30 +0800
Tag:    v1.6.0

Fixed error message that created a warning

commit 15f3e35a48119849d44c37aab5f12c2fca3ec2d2
Author: gustav_delius <gustav_delius>
Date:   Sat, 07 May 2005 00:25:55 +0800
Tag:    v1.6.0

One line to do with the multianswer upgrade that I forgot to merge

commit cd3fcec93aaa6b5f76553c337de569eb5b8ad041
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 21:13:23 +0800
Tag:    v1.6.0

Fixed typo in the example in the cloze question help file in some languages

commit c14199770ba38f17fab1bcc7a2fc2a1e437fed9b
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 19:21:00 +0800
Tag:    v1.6.0

Fix tooltip on question edit link, see bug 3139

commit dea537e55e0f18140ed47f7e1b48f9165ae9d5e7
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 18:50:59 +0800
Tag:    v1.6.0

loops in upgrade script no longer produce output

commit 43bc8c2929b4b4c40241f92dbcbc2e1177eff4bf
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 15:36:54 +0800
Tag:    v1.6.0

In non-adaptive mode the mark is printed as in the old days and not as --/n

commit 978f4388937ae82611b280f7f24d9731415bcffa
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 15:03:14 +0800
Tag:    v1.6.0

"Go" buttons are now enclosed in <noscript> tags.

commit ee1fb969c8274130c0e7a7317dd69a8d48e0e54f
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 14:24:04 +0800
Tag:    v1.6.0

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.

commit 8ea7537141308a9b97de633b20583b984e60f894
Author: gustav_delius <gustav_delius>
Date:   Thu, 05 May 2005 15:42:18 +0800
Tag:    v1.6.0

file penalty.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit bacb13df7e55613f8ec253935a5bad2680dc46fd
Author: gustav_delius <gustav_delius>
Date:   Fri, 29 Apr 2005 21:42:16 +0800
Tag:    v1.6.0

file reviewoptions.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit a4cd4e0bb2e6040615ab91ea6d6af96e88134602
Author: gustav_delius <gustav_delius>
Date:   Fri, 29 Apr 2005 19:25:58 +0800
Tag:    v1.6.0

file adaptive.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit dba1f6bcdbe28af6b9e75f4c1698ec147f88b698
Author: gustav_delius <gustav_delius>
Date:   Thu, 28 Apr 2005 15:40:21 +0800
Tag:    v1.6.0

Added a few lines so that if modules set the module name in a hidden field in their config.html then the form does not have to prefix all its variables. That makes it simpler to produce config.html by copy and paste from mod.html. Also then if the module provides a function modulename_process_options then the form variables can be processed by the module before being stored in $CFG.

commit e28f1bcd36fc59ba03f428e0456aa82cc6a59d11
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Apr 2005 14:37:09 +0800
Tag:    v1.6.0

file tabs.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 6858546b59592aeb234e76b6483d1bd30cabec8c
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Apr 2005 14:37:09 +0800
Tag:    v1.6.0

file styles.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit e256c88ce322285fa7ffd5323482898588e18cfb
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Apr 2005 14:37:08 +0800
Tag:    v1.6.0

file reviewquestion.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit b012523f1a0a6b80184875ebea36a73c182c3f6c
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Apr 2005 14:37:08 +0800
Tag:    v1.6.0

file attempts.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit f6174a3dff124cce1db104eee6e60eb18213df7b
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Apr 2005 04:09:50 +0800
Tag:    v1.6.0

better alignment of table cells

commit 4ea4562f1a7db8afd6a4e729c8cdc0998c350ce0
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Apr 2005 01:52:45 +0800
Tag:    v1.6.0

file editlib.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 0346dd395496f3cf24682a41986c198adcd77470
Author: gustav_delius <gustav_delius>
Date:   Wed, 20 Apr 2005 19:32:29 +0800
Tag:    v1.6.0

using 'counteditems' language string to help finnish translators, closing bug 2530

commit 308dedc436e72e91f8194b3e11cca96e32e8efbc
Author: gustav_delius <gustav_delius>
Date:   Wed, 20 Apr 2005 13:49:47 +0800
Tag:    v1.6.0

file questionsperpage.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 19bb8ff8f989be9c888fa8966e7d7a99486e8751
Author: gustav_delius <gustav_delius>
Date:   Tue, 19 Apr 2005 23:00:18 +0800
Tag:    v1.6.0

shortened a string

commit 52d55cfc51c2cda8c5ee932a9f04933d47caf112
Author: gustav_delius <gustav_delius>
Date:   Tue, 19 Apr 2005 22:58:16 +0800
Tag:    v1.6.0

improved navigation bar for module editing form

commit a0b30329ef4d8dfff1b23602c7a07e9cf0bd7816
Author: gustav_delius <gustav_delius>
Date:   Fri, 15 Apr 2005 19:32:44 +0800
Tag:    v1.6.0

This should fix bug 2938

commit 1452ca7b0b6121444ce8f0d5fea13ad4e5e3d975
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Apr 2005 23:08:54 +0800
Tag:    v1.6.0

Added explanation about editing quizzes that have already been attempted by students, in response to bug 2924

commit 99eb4d955c76f142e6250b1c2cc25249e3f3aa87
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Apr 2005 00:05:46 +0800
Tag:    v1.6.0

forgot something in the last commit

commit 983a7390dfa525c064009e98d0c23f06991e6aeb
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Apr 2005 00:02:20 +0800
Tag:    v1.6.0

Random questions should be hidden

commit 1e42af27867c9a156539c228acccb6caffda6d95
Author: gustav_delius <gustav_delius>
Date:   Wed, 13 Apr 2005 17:57:10 +0800
Tag:    v1.6.0

added paging bar also at the bottom of the table

commit c3a69c9233e0522392ebe870cf7e60823599e205
Author: gustav_delius <gustav_delius>
Date:   Wed, 13 Apr 2005 17:07:53 +0800
Tag:    v1.6.0

Closed some <input> tags for xhtml compliance

commit fdf49de1ca9134a0b5117449bb29bb64f3db572b
Author: gustav_delius <gustav_delius>
Date:   Wed, 13 Apr 2005 16:48:23 +0800
Tag:    v1.6.0

Fixed the problem reported in bug 2900 that the question count on the category page also counted old questions.

commit 55a77c6c66bd732f1e7332505a9ad5653028d9ad
Author: gustav_delius <gustav_delius>
Date:   Tue, 12 Apr 2005 16:48:13 +0800
Tag:    v1.6.0

navigation bar now uses appropriate strings for editing quesitons or editing quiz.

commit 4f764fc4d319be3df404d05b19bd204463b8d72d
Author: gustav_delius <gustav_delius>
Date:   Tue, 12 Apr 2005 16:15:47 +0800
Tag:    v1.6.0

Thanks to a suggestion by Martin published categories are printed with class="published" and unpublished ones with class="unpublished".

commit ad8394a6c5491ea03a1ba1893316805d254bc330
Author: gustav_delius <gustav_delius>
Date:   Tue, 12 Apr 2005 14:50:47 +0800
Tag:    v1.6.0

Ordinary unpublished categories were greyed out. That was confusing and I have now removed it.

commit 4fe082e86c64ad773dbab48071c60b8794227b09
Author: gustav_delius <gustav_delius>
Date:   Tue, 12 Apr 2005 12:48:11 +0800
Tag:    v1.6.0

quiz_decimalpoints now works correctly also as an advanced option.

commit 15c4e4ed8a84ee7b3cef405374e471fc9fb0586a
Author: gustav_delius <gustav_delius>
Date:   Mon, 11 Apr 2005 20:25:12 +0800
Tag:    v1.6.0

file penaltyscheme.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 68396ed91fa4f25bd7cc6ff63994e74ddb337e35
Author: gustav_delius <gustav_delius>
Date:   Sun, 10 Apr 2005 13:08:31 +0800
Tag:    v1.6.0

If help file is not found in language directory then look in language subdirectory of module directory.

commit 80352688250f11075724d3242dfcfd067e03701a
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Apr 2005 22:24:10 +0800
Tag:    v1.6.0

complete the renaming of get_user_timezone to get_user_timezone_offset started by Martin