Git commits in Moodle x.x.x by gustav_delius

commit 84dfbdd2f6a62d697d8195417d6dcbec05311dd0
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 Oct 2007 16:42:23 +0800
Tag:    v2.0.0-rc1

Fixed error in the SQL in get_users_by_capability() that made many things not work properly on the course front page.

commit f9144364f49a787c5098422894c40595be1fe4d9
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 Oct 2007 16:27:39 +0800
Tag:    v1.9.0

Fixed yet another error in the same bit of SQL in get_users_by_capability() that made many things not work properly on the course front page.

commit e19c5c10180f69fdb8fe778482ad7b18896a1560
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 Oct 2007 16:20:31 +0800
Tag:    v1.9.0

Fixing typo that led to fatal SQL error

commit 1f17c197e96470fa00215efe1e4cc47cdff7a2b9
Author: Gustav Delius <gustav.delius@gmail.com>
Date:   Mon, 16 Oct 2006 16:05:26 +0800
Tag:    v2.3.0-beta

Fixed typo, converting <p> into </p>

commit 408964a73bc8bfa8528ba57ecaf2321f407fff3d
Author: gustav_delius <gustav_delius>
Date:   Sat, 14 Oct 2006 07:28:09 +0800
Tag:    v1.7.0

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 549a78703bf4add22951d01ec68f34da2047243e
Author: gustav_delius <gustav_delius>
Date:   Sat, 14 Oct 2006 07:27:37 +0800
Tag:    v1.8.0

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 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 6a8b20b7904cf30849abcce3f69195ca6a86ddf3
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 Oct 2006 01:20:35 +0800
Tag:    v1.7.0

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 1ca20e0272ea0adaeceb0d59ea023b0463d22077
Author: gustav_delius <gustav_delius>
Date:   Sun, 08 Oct 2006 01:18:15 +0800
Tag:    v1.7.0

Don't use stripslashes on data coming from database

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 6ac0909983322c3beac42c7bca8d87c6637db9ff
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 Oct 2006 06:45:01 +0800
Tag:    v1.7.0

Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570. For some reason this script is not using get_users() but is instead constructing its own sql, so the change to get_users() had to be duplicated here.

commit 6bff0453f57c4b84e5a33a951ce9d27556b47756
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 Oct 2006 06:21:09 +0800
Tag:    v1.7.0

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

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 1dab3c83849da79656a0822ed75ee01c666bc2bc
Author: gustav_delius <gustav_delius>
Date:   Wed, 04 Oct 2006 02:19:38 +0800
Tag:    v1.7.0

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

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 0839ef65d5f1449e587ed80df3c9233198906eaa
Author: gustav_delius <gustav_delius>
Date:   Mon, 18 Sep 2006 01:43:30 +0800
Tag:    v1.7.0

Removed a PHP notice

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 b7ef492c414405bd2239729abec794adee673463
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Sep 2006 20:23:11 +0800
Tag:    v1.7.0

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

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 5b3df41fd9b7b24c45bf6fd63bb753fd5703f5e3
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Sep 2006 19:38:45 +0800
Tag:    v1.7.0

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 e57d9d69f747e23b18d05f7dd3fa99c87545b525
Author: gustav_delius <gustav_delius>
Date:   Mon, 28 Aug 2006 17:00:38 +0800
Tag:    v1.7.0

Small correction in the documentation for the $CFG global

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 91d7ead073c9b04c4c277e196d8fdaeae84f432e
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 May 2006 04:42:14 +0800
Tag:    v1.7.0

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

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 569936ac790580c058d5058d959604dc2141e7ba
Author: gustav_delius <gustav_delius>
Date:   Sun, 14 May 2006 01:28:28 +0800
Tag:    v1.5.4

Making sure timelimit is converted to integer before being written to database, otherwise postgreSQL complains. Closing bug 5401

commit 38316f63a5379667a5ef2df6d68fc18b9a562c96
Author: gustav_delius <gustav_delius>
Date:   Sun, 14 May 2006 01:06:32 +0800
Tag:    v1.7.0

Removing obsolete defaults

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

Removing obsolete defaults

commit 36be25f6e55006cd6fcc768cb3d5ec404d385515
Author: gustav_delius <gustav_delius>
Date:   Sun, 14 May 2006 00:57:17 +0800
Tag:    v1.7.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 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 4377c290c02f8c6c19144c8e143e7aaff19c47ae
Author: gustav_delius <gustav_delius>
Date:   Sat, 13 May 2006 18:39:15 +0800
Tag:    v1.7.0

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

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 ab4595f6402fa9ed8c7080be272e0654bf4546e6
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 Apr 2006 17:49:17 +0800
Tag:    v1.5.4

Prevent student from seeing quiz when closed, bug 5070

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 fb6dd5f2b1cbfe052560c12adbcf3dd7edc503c5
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Mar 2006 18:13:36 +0800
Tag:    v1.5.4

Reverted Martin's encryption of the key in the responses table for now until we are sure all potential problems have been ironed out. See discussion at http://security.moodle.org/mod/forum/discuss.php?d=178

commit 3b7d7fe9c0783d592332b91d5927bdf778f0d306
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Mar 2006 16:46:03 +0800
Tag:    v1.5.4

Moving <td>, fixing bug 5019

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 e475c02f337a98d37263b9f7ddc283de5996f425
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Mar 2006 00:39:55 +0800
Tag:    v1.5.4

Fixed tolerance problem, see bug 3225

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 7649c6ff5ca8a14d24a04f37168e835d9dfde23c
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Mar 2006 16:16:18 +0800
Tag:    v1.5.4

Turned off regrading of quizzes that have the attemptonlast option set because of the bug reported in http://moodle.org/mod/forum/discuss.php?d=42029#194212

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 b21be43f6b478dd14ba243313d1570c3c8179a79
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Mar 2006 04:44:44 +0800
Tag:    v1.5.4

Committed fix for bug 4829

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 02dd661361a0bcf1fff8d54ea65aea733ae18b4c
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Feb 2006 05:47:42 +0800
Tag:    v1.5.4

Backported fix for bug 4217  to STABLE

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 ddf32e386a6e5acb006f8515cf5aaa7a2f05948b
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 06:00:32 +0800
Tag:    v1.5.4

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 2caa75465ed76a39a67ed0c4cfbd9bfa5c939f2f
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Feb 2006 05:53:41 +0800
Tag:    v1.5.4

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 e94270f61d9659bceb0395883c76d6ef224d7433
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 16:56:06 +0800
Tag:    v1.5.4

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 32ddabcb9f56e25336bc0e3b571f08b4666d6b46
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 08:21:58 +0800
Tag:    v1.5.4

Sorry, I was a bit hasty in my last commit.

commit 33dde4269701461b11b072ca6b55a200d9b53a14
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 08:19:12 +0800
Tag:    v1.5.4

Don't apply lateness check when teacher previews. Bug 4495

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 181d29fefb9c1fdffe4f375f20802e2b0e4b57c6
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 06:55:11 +0800
Tag:    v1.5.4

backported fixes from HEAD, closing bug 4688

commit b0d1fa4ff895936c2d31b3777a88cba85f7b3460
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Feb 2006 03:18:07 +0800
Tag:    v1.5.4

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

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 aa6bdce1ff4d34811ba149957e4c462f7a81dc33
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 06:37:20 +0800
Tag:    v1.5.4

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 aff698756b746b1a9cb87d6e13a8569f3e475594
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Feb 2006 05:02:18 +0800
Tag:    v1.5.4

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

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 aa9e82825c4e4d375838137f8a60acb3bd5ac89a
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 00:42:49 +0800
Tag:    v1.5.4

removed two method definitions that are used for the editing form removed an extraneous addslashes

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 c8a6cdb32e70739fe3a3283b4716c1630a7932c0
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Feb 2006 00:17:57 +0800
Tag:    v1.5.4

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

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 affcbadb7a9c9f90b020b619ac5ddfb33b90b482
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 20:29:43 +0800
Tag:    v1.5.4

Added defaults to database fields needed by msyql 5

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 e4bcb3647457299a73f1579929c36086a93592cc
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Feb 2006 20:18:37 +0800
Tag:    v1.5.4

Added default = '' to various text fields because otherwise I get warnings since I upgraded to mysql 5

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 b9b2939acd1d85a3a957dc64d84df1343cc61875
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 05:41:31 +0800
Tag:    v1.5.4

Fixing wrong language string name, see bug 4254

commit dc2bfe815d146bbb8b557cd9e2ae51df09af354f
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Feb 2006 05:29:20 +0800
Tag:    v1.5.4

Added addslashes

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 00aad1aee6812247c6a53fa69865a4b5d41c3340
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Feb 2006 05:50:37 +0800
Tag:    v1.5.4

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 d336b1888d4179f0a772faf1d4fbd0c915d0d563
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Feb 2006 08:34:49 +0800
Tag:    v1.5.4

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 cc18f37b11eb785c309862577b7e603c31e44c23
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 06:57:26 +0800
Tag:    v1.5.4

fixed grammar problem reported by Nicole Hansen in bug 4515

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 d80fcee1b44da80ca3dde6a7eca10ce3d1a125f0
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 05:04:31 +0800
Tag:    v1.5.4

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 cb10ac600f2578cbef3d54c081cdc122c6387ec8
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Jan 2006 04:42:37 +0800
Tag:    v1.5.4

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 f9212cb330f999be162b440571ab1f27dc526f2d
Author: gustav_delius <gustav_delius>
Date:   Wed, 07 Dec 2005 07:57:31 +0800
Tag:    v1.5.4

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

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 b483d8c81e6a92ee4b93da2102b867cb5dc18c93
Author: gustav_delius <gustav_delius>
Date:   Sat, 01 Oct 2005 21:36:06 +0800
Tag:    v1.5.3

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 8b0d0c175657ce298ba01b2c12e17e54193f1188
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 21:03:24 +0800
Tag:    v1.5.3

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 9111a763bd28673f861b66b555691bcd3f3055f8
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 20:28:38 +0800
Tag:    v1.5.3

Fix for bug 4019 and some other XHTML issues

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 d00c2e2310d3f2b792acee2a36f6579684cb60da
Author: gustav_delius <gustav_delius>
Date:   Sat, 17 Sep 2005 20:00:20 +0800
Tag:    v1.5.3

Fixed bug 4052

commit 435241d3851b7564da74f86521cd2c90929e51bc
Author: gustav_delius <gustav_delius>
Date:   Fri, 16 Sep 2005 15:26:48 +0800
Tag:    v1.5.3

Fixed bug 4077

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 9122a1e62d6f0a807bca43a058573ea15ccc3f69
Author: gustav_delius <gustav_delius>
Date:   Sat, 27 Aug 2005 04:46:57 +0800
Tag:    v1.5.3

Fix for missing action icons, reported in http://moodle.org/mod/forum/discuss.php?d=28466#139179

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 e45b5f24d420345e75f346445cf197234ce39f66
Author: gustav_delius <gustav_delius>
Date:   Fri, 26 Aug 2005 16:53:13 +0800
Tag:    v1.5.3

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 c5c3568d89886ae6fec867a9f9c22dafc4509caa
Author: gustav_delius <gustav_delius>
Date:   Fri, 26 Aug 2005 15:56:54 +0800
Tag:    v1.5.3

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 87e29596d50f70423434ae2eab3d95f3b1d03bd6
Author: gustav_delius <gustav_delius>
Date:   Thu, 28 Jul 2005 01:19:20 +0800
Tag:    v1.5.3

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 a8181107ebb4a0ac9ab153ce590aeaf3e83454b8
Author: gustav_delius <gustav_delius>
Date:   Mon, 25 Jul 2005 22:16:36 +0800
Tag:    v1.5.3

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 890a6a5be340e6a7a9b49fb32abdcb5950bbc2fb
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 15:46:59 +0800
Tag:    v1.5.3

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 ffd834a5c20864d75b9e8832fc70a4821c080554
Author: gustav_delius <gustav_delius>
Date:   Sat, 23 Jul 2005 04:40:31 +0800
Tag:    v1.5.3

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 3c4b7700e53f409f9f108f4ee7576da1093e66d2
Author: gustav_delius <gustav_delius>
Date:   Fri, 22 Jul 2005 17:25:11 +0800
Tag:    v1.5.3

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 901d0f94a85579543499b3986c000b1a0a99e5b9
Author: gustav_delius <gustav_delius>
Date:   Thu, 14 Jul 2005 00:55:15 +0800
Tag:    v1.5.2

old version tried to use $CFG before loading config.php

commit ae89234a6597cd5827b19d190936e721d9344f63
Author: gustav_delius <gustav_delius>
Date:   Mon, 11 Jul 2005 22:20:42 +0800
Tag:    v1.5.2

Undid some of Julian's changes that refer to a non-existent database field.

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 a26a0e25dd52678d278d5c31399d7c054112e7bc
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Jul 2005 08:14:13 +0800
Tag:    v1.5.2

A better fix for bug 3520

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

Merging from STABLE

commit 4fad07671cb7598c6fdb305fdec8b5717e506505
Author: gustav_delius <gustav_delius>
Date:   Fri, 08 Jul 2005 02:07:09 +0800
Tag:    v1.5.2

Fixed bug 3520

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 f29752571b3ea16ee45cc67712203822f1ca5e82
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:53:15 +0800
Tag:    v1.5.1

Added another 'continue' (or 'close this window') button towards the top of the review page, as requested in bug 3695

commit 73f25e0fca8f59583b71eee08f34d937cb641aa8
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:51:54 +0800
Tag:    v1.5.1

removed php notice

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 d404868d2b1843d0a5c9cc39568e81549476b128
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:39:30 +0800
Tag:    v1.5.1

Quiz title and attempt number are now shown on one line as requested in 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 b974afac9c34c66239ddd9d2a108eccd107311ae
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 22:19:55 +0800
Tag:    v1.5.1

Can now delete answers in multiple choice questions, fixing bug 3707

commit c5a48a8908fd7b70a08ecd3eb4452e687b07a82a
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 06:34:45 +0800
Tag:    v1.5.1

There was a bug when a student reattempted a quiz based on a previous attempt that was already correct. Now fixed.

commit 8264da3c50575347a245f6f00d6430964dab2241
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 03:26:19 +0800
Tag:    v1.5.1

Fixed bug 3684

commit 5cbc7a8b67c990d651776ebaac50e1ece9424761
Author: gustav_delius <gustav_delius>
Date:   Thu, 07 Jul 2005 02:00:56 +0800
Tag:    v1.5.1

Get rid of a PHP notice

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

Merged from STABLE

commit 9182889ff90c23d0adcb0dde1fe75fdf007121c8
Author: gustav_delius <gustav_delius>
Date:   Wed, 06 Jul 2005 15:32:59 +0800
Tag:    v1.5.1

In the past questions on the right hand side of the editing screen were previewed with the default settings whereas those on the left hand side were previewed with the quiz settings. That did create confusion among users so now questions will always be previewed with the quiz settings.

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 3d6fb28178ae6f039d82d2a2d5703ad3cccf70f0
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Jun 2005 00:41:44 +0800
Tag:    v1.5.1

Changed "Later, while the quiz is still open" to "While the quiz is still open", see http://moodle.org/mod/forum/discuss.php?d=26311

commit 0c6e298228793b0a18e4cb2d1b341306d741c49b
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Jun 2005 00:23:32 +0800
Tag:    v1.5.1

Removed the "Continue" button from the attempt page, see http://moodle.org/mod/forum/discuss.php?d=25972

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 79cc5ce8392e359dc2efbcda0d35e2f14ee9859c
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Jun 2005 20:53:45 +0800
Tag:    v1.5.1

XHTML compliance

commit 3693b82020d5cda3c69b7ffb37f525d40b2babd7
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Jun 2005 16:02:06 +0800
Tag:    v1.5.1

changed & to &amp;

commit e80ad3b374e868d78f8b83f0a5034dbe19d7dc12
Author: gustav_delius <gustav_delius>
Date:   Fri, 24 Jun 2005 15:52:26 +0800
Tag:    v1.5.1

quoted two attributes for XHTML compliance

commit e546494f922bd73df0a0ab18a2227910070a4762
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Jun 2005 15:05:51 +0800
Tag:    v1.5.1

fixed error in sql syntax

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

merged from stable

commit 4fb6abdd287299c91e7a052ef5a7ac3dd1b7ad0a
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Jun 2005 06:06:25 +0800
Tag:    v1.5.1

changed more relative filenames to absolute, see bug 3483

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

merged from stable

commit ba2e6a32ea9b1bae54bae4888f11bf4cee3fa801
Author: gustav_delius <gustav_delius>
Date:   Tue, 14 Jun 2005 02:22:32 +0800
Tag:    v1.5.1

replaced relative links to absolute links because some web servers get confused, see bug 3483

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

merged from stable

commit 3a60417d9d802c9e26700b7cd249332bac16b4c7
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Jun 2005 21:49:37 +0800
Tag:    v1.5.1

Help files from Enrique, slightly modified. Closing bug 3432

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 530b8335f1dc79430c161c041f151f021cfc1d8e
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Jun 2005 05:43:32 +0800
Tag:    v1.5.1

Fixed a typo

commit 2876a137d8af4e7e7556fb94e52d2bdc42dc132c
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Jun 2005 04:44:59 +0800
Tag:    v1.5.1

Temporarily switching off "Save as new question" button until bug 3445 is fixed

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

Merged from stable

commit 9dadc1a89e5e7d3f74b85db01a351ceb94fdb4c6
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Jun 2005 04:37:52 +0800
Tag:    v1.5.0

Regrading now used the proper session mechanism. Also it now works with old-style attempts which have only a single state.

commit 2ac3cee6747205b718ee2e0193472e7df1bdc593
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Jun 2005 04:25:04 +0800
Tag:    v1.5.0

Restoring of user attempts and states disabled for now, see bug 3159

commit f3bb54f36f7a6ef2c500faf5169facca44adc0bf
Author: gustav_delius <gustav_delius>
Date:   Mon, 06 Jun 2005 04:19:17 +0800
Tag:    v1.5.0

Fixed typo

commit 7371dc44d0d59c4650fdb28a8fe0d881c801e6f2
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 23:52:18 +0800
Tag:    v1.5.0

removed some unnecessary fields

commit 16a8215aa13351e9da82c6167781639576cd88c4
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 23:37:22 +0800
Tag:    v1.5.0

just fixing some comments

commit 6d0ea082270d7fdf1684ec1806132f4777780a41
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 23:08:34 +0800
Tag:    v1.5.0

taken out a notice to temporarily fix bug 3130

commit 85a6b27786407b7b1dd5feaa8b862c9cd7d47fa0
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 22:14:54 +0800
Tag:    v1.5.0

Fixed the calculated question editing wizard temporarily for Moodle 1.5 until Julian gets his new version ready.

commit db7f11c3d7065dca1788b74aee1235c2c20318f2
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 21:59:37 +0800
Tag:    v1.5.0

fixed some typos

commit 98133a3eec62815619dfab5a2eff62058771b841
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 21:22:03 +0800
Tag:    v1.5.0

Random questions now store both the wrapped question id and the response in the same state record, essentially going back to Julian's model.

commit 122299654f4625c7f4ead15d9cc3a7f21870a7d0
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 20:03:50 +0800
Tag:    v1.5.0

Improved the display of readonly form fields in questions so that they are no longer grey on grey

commit 52fa982eba83cde74f0f3552df363f1bbb246161
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 19:49:32 +0800
Tag:    v1.5.0

Change to when newly created states get saved Changes to what is printed during regrade

commit 3c76674f764b67b31dcc9841920e7242512b879f
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 06:43:28 +0800
Tag:    v1.5.0

More graceful behaviour when there are not enough questions for the random questions.

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 5ebe26c7d084e3e728bb7447ca7c6462fa01dddb
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 01:22:00 +0800
Tag:    v1.5.0

fixed typo

commit a616b097902a2d89fcd83ba00d389733df49c043
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Jun 2005 01:13:26 +0800
Tag:    v1.5.0

The versioning code will not be in Moodle 1.5

commit 4a4d46cadeaa6ce30e72668722939650373bb78e
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 19:40:57 +0800
Tag:    v1.5.0

slight improvement of layout

commit 4aa3ac1609a8b61316415e2d4faf241e5befa3b3
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 19:19:48 +0800
Tag:    v1.5.0

Print notice on preview when secure window will be used for students Also improved some language strings

commit 775d4dd817f38fedc7ef668e8b517c39270c1ea9
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 19:16:37 +0800
Tag:    v1.5.0

Print notice on preview when secure window will be used for students

commit e0b0ef395fbf12f03ee8e74fb3be33318483a5d5
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 19:10:36 +0800
Tag:    v1.5.0

Show link to attempts list only if student attemtps exist.

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 90abc879349fea7dd07d08bc4684ba3c84e80bf9
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 17:10:13 +0800
Tag:    v1.5.0

attempts.php has moved to report/overview/report.php

commit 8c040068caa6dd9dc8a06b2b16ad1b427295a3ce
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 17:07:40 +0800
Tag:    v1.5.0

Removed the quiz upgrade warning.

commit 67a8ef42353ac58f1a2f47b13d9ea9dd2d2ba9aa
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 16:58:16 +0800
Tag:    v1.5.0

removing the old statistics reports

commit c17f91905aeabff6a272f5ceb9d7e7c81d45e9bf
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 16:55:37 +0800
Tag:    v1.5.0

put back the overview report folder

commit 1b2457c31248bfa26cb7cc8abaa4aa0b24301bc2
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 16:54:56 +0800
Tag:    v1.5.0

added regrading page

commit 2fbd81b02d65a5b7524ee3bd6716560c7fe12be1
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 16:47:33 +0800
Tag:    v1.5.0

Fixed bug 3410. Admins are no longer shown ALL categories in drop-down menu.

commit e729020edaab1f56b8342fafefb07d63a3f0ec0c
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 16:30:49 +0800
Tag:    v1.5.0

Improve alignment in table in mod.html for IE Missing questions lead to notice rather than fatal error Attempts report now moved to reports/overview put in empty regrading page for Julian to complete Moved some of the styles out of styles.php into standard style Fixed error on reviewquestion.php put infobox on reviewquestion.php fixed <form> tag on item analysis report

commit b7691750049bc0d22f537c317a0159dfbc105105
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Jun 2005 04:43:50 +0800
Tag:    v1.5.0

The popup window didn't always close.

commit 72a054b9f9a62bca3eed664b5393dd47ab253d8a
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Jun 2005 04:07:50 +0800
Tag:    v1.5.0

Fixed bug 3393

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

tiny tweaks

commit 6be3c998020bae9d842d0864967f42343739bf70
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Jun 2005 02:34:24 +0800
Tag:    v1.5.0

replaced some error() by redirect()

commit 20101a6092068d1077223ac44712de70e4828845
Author: gustav_delius <gustav_delius>
Date:   Thu, 02 Jun 2005 02:16:52 +0800
Tag:    v1.5.0

Improved error messages a bit

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 3d7a1cbf2b128d910d2f3c090f1a45ca7a8c7715
Author: gustav_delius <gustav_delius>
Date:   Wed, 01 Jun 2005 13:56:46 +0800
Tag:    v1.5.0

A missing ! led to 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 94acf297c67c8de7c4032e48e76404df32ec0c99
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 May 2005 15:18:25 +0800
Tag:    v1.5.0

Better name for the new function

commit b94257273c1a18f778c4845a25224a4bf2e3eef4
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 May 2005 15:11:20 +0800
Tag:    v1.5.0

Disabled versioning and re-grading until it is fixed.

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 668087495310e889e53bdcaba646ff40f65fe82e
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 May 2005 05:41:39 +0800
Tag:    v1.5.0

reverted to version before Julian's attempt at fixing bug 3311

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 11e9ca5af1e7e4d4bef05215b8146b32570cb14e
Author: gustav_delius <gustav_delius>
Date:   Wed, 25 May 2005 14:02:03 +0800
Tag:    v1.5.0

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

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 4c21136a5bd704c29fe827e3433e7b6108809e64
Author: gustav_delius <gustav_delius>
Date:   Wed, 25 May 2005 00:07:10 +0800
Tag:    v1.5.0

fixed 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 0d00dc375fbb2790df4dfd4d8295baae842bbe90
Author: gustav_delius <gustav_delius>
Date:   Fri, 06 May 2005 14:24:04 +0800
Tag:    v1.5.0

file report.php was added on branch MOODLE_15_STABLE on 2005-06-04 08:55:37 +0000

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

file report.php was added on branch MOODLE_15_STABLE on 2005-06-04 08:54:56 +0000

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

commit 08dd99537aa29985715be3b70f7848eb8f8e6c8f
Author: gustav_delius <gustav_delius>
Date:   Sun, 03 Apr 2005 07:38:08 +0800
Tag:    v1.5.0

primary key has to be id, see bug 2832

commit 75f087b6e73ab047409250b3467782adb3315876
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Apr 2005 06:59:30 +0800
Tag:    v1.5.0

converted & to &amp;

commit 77d2fdab8cf6b55a4ac0dd464156044f4696d7c8
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Apr 2005 06:33:42 +0800
Tag:    v1.5.0

Correctly closing input tags

commit 1aacfd55aafc45c80f7a255355c207ef185e2251
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Apr 2005 06:32:43 +0800
Tag:    v1.5.0

Correctly closing input tags

commit 1d5be4ff3078e649dda1a876d9f141f1912704ab
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Apr 2005 06:25:18 +0800
Tag:    v1.5.0

file markindividual.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 48d45f1fe0275126675fca5ea6495e6cc75990e1
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Apr 2005 06:25:18 +0800
Tag:    v1.5.0

file rqp.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 1938a6f1faa17aae0cf8480a6f625f2af08b0bad
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Apr 2005 06:04:20 +0800
Tag:    v1.5.0

Checking in fix to WebCT import contributed by Breanndan O'Cinneide at http://moodle.org/mod/forum/discuss.php?d=17969. Closing bug 2475

commit 4f063738c643b1cd65b1437283a73a9896133650
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Apr 2005 04:01:04 +0800
Tag:    v1.5.0

Julian has fixed "Attempted on" and "Time taken" display and removed a javascript error.

commit a5c5a1807f3b674eb8c85d870909a816e66479f5
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Mar 2005 03:24:04 +0800
Tag:    v1.5.0

fixed bug 2782

commit 1909875912b345bee90d80cc6a806b39e580898f
Author: gustav_delius <gustav_delius>
Date:   Thu, 24 Mar 2005 04:59:55 +0800
Tag:    v1.5.0

Renamed quiz_question_version to quiz_question_versions as suggested by Eloy in bug 2777

commit 4dd7a7fd6eabbe38088c0d6227e3c5da072b2561
Author: gustav_delius <gustav_delius>
Date:   Mon, 21 Mar 2005 08:06:04 +0800
Tag:    v1.5.0

Fixed log, bug 2778

commit 7760f60e6920c7792116fb080de0308327a6e6a5
Author: gustav_delius <gustav_delius>
Date:   Fri, 18 Mar 2005 17:21:26 +0800
Tag:    v1.5.0

Select all / Deselect all look better as links

commit 02852fddbd7270c99ab3565c2f6528c5df5c2cf0
Author: gustav_delius <gustav_delius>
Date:   Fri, 18 Mar 2005 01:06:05 +0800
Tag:    v1.5.0

file quiz.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit cd8d4471c819a059a68bcd205be2dc209e006b56
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 23:12:07 +0800
Tag:    v1.5.0

Print course in footer

commit 4e8bad7d31f695ff54b4f17213f70d84937f852b
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 08:29:09 +0800
Tag:    v1.5.0

Fix for bug 2749

commit c6f99d9640a44739c44b5bacdffe364d5d45dda4
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 08:17:47 +0800
Tag:    v1.5.0

Fix for bug 2750

commit f52d48db389ccbb7b75fe449319d9e041ac79831
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:15:36 +0800
Tag:    v1.5.0

Added clone function to get around the differences in object handling between php4 and php5.

commit ab0d2f82a6eef026d976a743bfd9df740e5bb35c
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file edittype.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 68aad3e6ec9b48a4f65715ed78361213dab559b7
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file nusoap.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 62aff3b4331b0afdb2f9ffd89734d606efbf5894
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file uni_soap.php5 was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 537343247b3cb649093880f507b94aa554e7bfa9
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file types.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit db70793c70918f01891d138a2a84dc2b84d55733
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file lib.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 7e9fa11af73127b31b490a52dfe2fffe45794d2f
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file rqp.html was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 5959d925049e16eb478d36b92cc7daa0500f1312
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file rqp.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 6da45c73571e4cb983a4d8cb0c190777936bc9f8
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file questiontype.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit addf795a66fb4cbb4b73fc935f93793bcce21b14
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file editquestion.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 9d2b2e72c9305e16af4357ea9c059ccd2a20a3a0
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file uni_soap.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 55ab4eb47a28cbf82330483fcb9118484eb7573c
Author: gustav_delius <gustav_delius>
Date:   Thu, 17 Mar 2005 06:12:54 +0800
Tag:    v1.5.0

file remote.php was initially added on branch MOODLE_15_QUIZREFACTOR.

commit 2f2aad664dbacc381cd0bd8c8acf440050841803
Author: gustav_delius <gustav_delius>
Date:   Wed, 16 Mar 2005 20:35:19 +0800
Tag:    v1.5.0

implemented fix for bug 2745 contributed by kagotani

commit ee9eb2c74fa47627c2719a97ad089524f1e2830d
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Mar 2005 15:56:45 +0800
Tag:    v1.5.0

Applied patch supplied by Brian King to remove the non-functional category selection menu from the export form. Closing bug 1945.

commit a9222637f42abc8780aaf384c7dbdcff42a0c2ff
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Mar 2005 14:55:01 +0800
Tag:    v1.5.0

When removing question from quiz delete all responses for that question in that quiz

commit 90abbc9e15a1535ce4d43e03251f62a363651d33
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Mar 2005 14:22:55 +0800
Tag:    v1.5.0

I had forgotten to check that single questions are added only once to quiz

commit 93d34a8c5bd81b0934764c935fb9ccee5dda3d1e
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Mar 2005 21:55:19 +0800
Tag:    v1.5.0

some XHTML fixes

commit e6157a73684fcdbd0eb74a11a6c87d5893e63a1a
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Mar 2005 17:56:10 +0800
Tag:    v1.5.0

fixed typo leading to bug 2723

commit 9fe1f87bbee57d9e34faf7801f28b292087480f1
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Mar 2005 17:54:38 +0800
Tag:    v1.4.5

fixed typo leading to bug 2723

commit 8e445985d428c531232e5180af9e3290985446dd
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Mar 2005 07:12:35 +0800
Tag:    v1.5.0

format_text inserted to fix bug 2558

commit 19201c8daca78b74b0eb9ab858085dd4803c5528
Author: gustav_delius <gustav_delius>
Date:   Tue, 08 Mar 2005 17:31:20 +0800
Tag:    v1.5.0

called table column 'Action' consistently, fixing bug 2698

commit 6419e3bf29c5d2ed7c6ad5982d7eb98f4ecf0909
Author: gustav_delius <gustav_delius>
Date:   Tue, 08 Mar 2005 17:22:57 +0800
Tag:    v1.5.0

forgot to commit this move left icon earlier. This is not a professionally created icon, perhaps someone can do a better job?

commit 9274189f25ce7d39e8550caaa93269a740e4b607
Author: gustav_delius <gustav_delius>
Date:   Tue, 08 Mar 2005 03:45:39 +0800
Tag:    v1.5.0

small fix to the versioning code

commit c63bf72a9d2ca6d2a79b9bc8ba171849fbc3b1ac
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Mar 2005 22:57:23 +0800
Tag:    v1.5.0

The up and down arrows for moving sections now jump to the moved section when the page reloads. Makes it easier to move sections over longer distances. I actually thought I had fixed this a long time ago but apparently not.

commit 03f9425fd29d22a5936ca213f8e0e0724598f476
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Mar 2005 20:00:46 +0800
Tag:    v1.5.0

The teacher can now move selected questions to a chosen category or delete them, see http://moodle.org/mod/forum/discuss.php?d=16239 and http://moodle.org/mod/forum/discuss.php?d=19734

commit 1997f3673197b401e5bbbd5a995ad4f448b1a3a7
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Mar 2005 00:03:59 +0800
Tag:    v1.5.0

Questions that are in use are now only deleted from the category list but not from quizzes or old attempts.

commit fef9b51dac107ae2f8fe0ba3a646c4b4a324ee8a
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Mar 2005 20:55:26 +0800
Tag:    v1.5.0

Now can add a single question to quiz with a single click.

commit b7c42fe64afb0c67dbec7a6b221197195ed7140d
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Mar 2005 20:09:41 +0800
Tag:    v1.5.0

clone is PHP5 only and also wasn't really needed here

commit 3d3f159086ee2d509380a92422711bce72b17329
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Mar 2005 19:52:05 +0800
Tag:    v1.5.0

fixed notice in preview

commit c6bfdec3fc8d2db34be464bc01e573e23e54e748
Author: gustav_delius <gustav_delius>
Date:   Thu, 03 Mar 2005 23:17:45 +0800
Tag:    v1.5.0

Versioning of questions: when editing questions the teacher is told about the quizzes in which the question is used and is asked whether to replace them with the new version or not. If there are already attempts at a question than the original version is always kept in the database for audit purposes. More details at http://moodle.org/mod/forum/discuss.php?d=16479

commit e163bf2d3315db88a67d0a84c30e6ea1817b780b
Author: gustav_delius <gustav_delius>
Date:   Thu, 03 Mar 2005 22:56:19 +0800
Tag:    v1.5.0

Create guest user account during installation, fixing bug 2667

commit 009f39beab2c374decc0aeea44fc798f6d2ecb28
Author: gustav_delius <gustav_delius>
Date:   Thu, 03 Mar 2005 03:49:04 +0800
Tag:    v1.5.0

fixed bug caused by user_login_string() being called with course id instead of course object

commit 072171497c7072f5a1c3d5f001ecfba96df02219
Author: gustav_delius <gustav_delius>
Date:   Fri, 25 Feb 2005 17:14:05 +0800
Tag:    v1.5.0

forcelogin, forceloginprofiles and opentogoogle are config variables to do with setting permissions, so I moved them to the appropriate section on the config page.

commit d2a9f7cc69a48a5a71bc6045381bfec88084c189
Author: gustav_delius <gustav_delius>
Date:   Fri, 25 Feb 2005 14:08:40 +0800
Tag:    v1.5.0

removed &amp; from url in password change confirmation email, see bug 2502

commit 1c887009abef4712bf642f6709ea4748636fb8b3
Author: gustav_delius <gustav_delius>
Date:   Fri, 25 Feb 2005 06:24:03 +0800
Tag:    v1.5.0

fixed single quote bug that led to $post->subject being displayed.

commit 6f07ab6444a696d5603a56e50146bc7b568bde32
Author: gustav_delius <gustav_delius>
Date:   Thu, 24 Feb 2005 16:49:32 +0800
Tag:    v1.5.0

Updated calls to get_string() for some strings that were moved to lang/en/admin.php

commit 1d86c8ea4cf1690e61590d3e42e3a942c3158bfc
Author: gustav_delius <gustav_delius>
Date:   Sun, 20 Feb 2005 02:31:29 +0800
Tag:    v1.5.0

I confused stripslashes with addslashes clown

commit 75249234fe2a325c16f07860a7ffa3284ff7b500
Author: gustav_delius <gustav_delius>
Date:   Sun, 20 Feb 2005 01:52:30 +0800
Tag:    v1.5.0

I replaced the magic_quotes hack with something more elegant because I needed to be able to post a deeper array than the old code would allow. Any objections to this?

commit ee930c461d121c61684da4256304e8c688773a3d
Author: gustav_delius <gustav_delius>
Date:   Sat, 19 Feb 2005 01:20:06 +0800
Tag:    v1.5.0

made appearance of quiz setup page look like the resource setup pages, see bug 2587. Also added the new variable quiz_questionsperpage properly.

commit 56c0715e774eb81d7933639348ebe5ac309aea8b
Author: gustav_delius <gustav_delius>
Date:   Fri, 18 Feb 2005 14:41:12 +0800
Tag:    v1.5.0

The teacher forum has no coursemodule and this led to errors in particular in forum_print_latest_discussions().

commit 1ee55c41d9f12fcf7dafb93f9c8ea63a416b412d
Author: gustav_delius <gustav_delius>
Date:   Fri, 18 Feb 2005 03:19:21 +0800
Tag:    v1.5.0

Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576

commit 5f3903428990414196030816c282f77171b7a55b
Author: gustav_delius <gustav_delius>
Date:   Wed, 16 Feb 2005 20:50:11 +0800
Tag:    v1.5.0

Don't show groups icons for resources and labels, see bug 2538

commit ec81373f501eea91312491f3a3b2ae370467dab6
Author: gustav_delius <gustav_delius>
Date:   Wed, 16 Feb 2005 18:40:48 +0800
Tag:    v1.5.0

In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions  require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".

commit f622d17759e62df41c977a49501ef6c72a6b9949
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 08:05:00 +0800
Tag:    v1.5.0

Fix bug 1998

commit 8203d211ada21e889d75fe86df100b011a880132
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 08:04:09 +0800
Tag:    v1.5.0

Fix bug 1937

commit ea9711529043b0955fd622f9e63be12ec3d5b174
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 08:03:21 +0800
Tag:    v1.5.0

Fix bug 1905

commit be495e2097632418072a832a371b1749ce0a0e21
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 06:52:20 +0800
Tag:    v1.5.0

Only course creators can move courses to a different category. This fixes bug 2065.

commit 8dc93b9445641c221a9a2e16117532f61e6dc318
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 06:23:45 +0800
Tag:    v1.5.0

Invisible sections are no longer shown in jump menu, see bug 2085

commit 8a6e783ff020a142fa3268cef1d8df1a1ef92b8a
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 05:43:43 +0800
Tag:    v1.5.0

small fix

commit 0d645d7cc1ccbe9024427bbbf19a695920cc253a
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 05:30:02 +0800
Tag:    v1.5.0

changed language string, see bug 2169

commit 6e3e7e0e184b19729b8ef9753a19793d5a0af1b9
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 05:29:20 +0800
Tag:    v1.5.0

fixed typo, closing bug 2167

commit fe48879334a0dac91e18702e6af059ab97f12e52
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 05:27:50 +0800
Tag:    v1.5.0

fixed typo

commit c7a5b3b1f740f9a97dc9b8e5b8dce8bb901f78fd
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 04:49:28 +0800
Tag:    v1.5.0

Forum search now no longer shows posts from other groups from forums that are in separate groups mode, see bug 2308

commit db837a6645bdd9a100ff2addd2dc0bce488952a5
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 03:38:10 +0800
Tag:    v1.5.0

Fixed behaviour of groups.php in the case of an empty group, see bug 2346

commit ce3c1c2bbd836c6a81d03fefa56770eb821a9a4e
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 03:29:52 +0800
Tag:    v1.5.0

removed undefined string

commit d6af49274b0f69bf7a9bac4ff7a7baeca805be24
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 03:14:14 +0800
Tag:    v1.5.0

Taken out duplicates and added a lot more enrollment strings, see bug 2541

commit 1d7bda4583148a049d9ac5388c2a9c5b54fcbcb9
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 02:46:08 +0800
Tag:    v1.5.0

Fixed some typos.

commit e3ff14ca3cb685af99249148947a83798adc57ec
Author: gustav_delius <gustav_delius>
Date:   Mon, 14 Feb 2005 00:41:12 +0800
Tag:    v1.5.0

Fixed bug 2392

commit f1cc0382a237dcf88407922634d37f41fb686571
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 23:22:04 +0800
Tag:    v1.5.0

Clicking on the icons controlling a section brings you back to the same section, see bug 2433

commit 2f945146d7eac431f95281757a311c6524fc54c9
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 22:58:45 +0800
Tag:    v1.5.0

Made the quiz paging bar look more like the standard one, see bug 2443.

commit ec99b88e97e49a57d2c219c44ad62aabbd244260
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 21:23:46 +0800
Tag:    v1.5.0

$isteacheredit was not defined

commit 17db65ef3fe1ea784c389ea6983ee19ee3392b70
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 21:12:03 +0800
Tag:    v1.5.0

Added visibility check to all workshop pages, see bug 2450.

commit 88165dbc72b7b39ab69f9290736b3d7a934f854e
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 20:03:45 +0800
Tag:    v1.5.0

index of lesson help files, see bug 2510

commit 4bd2e69a51772aa127f61be3f349444e1429d1e1
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 19:43:05 +0800
Tag:    v1.5.0

When course is hidden a student trying to enter gets the new message "This course is currently unavailable to students", see bug 2511

commit eb58929bbb381b9732ab44fac97b4eba1d98cc27
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 19:22:48 +0800
Tag:    v1.5.0

Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530

commit a10464d6cddb574d3e64a1160c53234e899b792f
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 17:35:40 +0800
Tag:    v1.5.0

Moved visibility code to make sure that activities added in hidden sections are hidden.

commit 48e535bc350d51d0b62c75acdd826674735e5cb1
Author: gustav_delius <gustav_delius>
Date:   Sun, 13 Feb 2005 05:41:22 +0800
Tag:    v1.5.0

Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().

commit 8930d421249a07c02833507e1f75b80e038e1006
Author: gustav_delius <gustav_delius>
Date:   Sat, 12 Feb 2005 03:51:29 +0800
Tag:    v1.5.0

The table on view.php now also shows the marks achieved in each attempt in addition to the rescaled grade.

commit 2ce17a0d5a4df43f67c6ae8fd04db096540d68bd
Author: gustav_delius <gustav_delius>
Date:   Mon, 07 Feb 2005 05:04:10 +0800
Tag:    v1.5.0

The html editor was inserting a paragraph with just a space in it which clearly created problems for fields that the user wanted to leave empty. There was also a problem when switching to text mode and back again: the status bar showed Path: Path:. I have taken out the second one.

commit 0e2851b998124b4779348033c2238bc445599413
Author: gustav_delius <gustav_delius>
Date:   Mon, 07 Feb 2005 02:18:44 +0800
Tag:    v1.5.0

Avoid using <p> tags because different browsers treat them differently (e.g in firefox if a table cell starts with a <p> it will start with an empty line, in IE it will not). Use <div> instead.

commit 0726eb27bbf1c066cbc89a953524be297868a9b3
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 23:18:09 +0800
Tag:    v1.5.0

replaced href="#" by href="javascript:void()" as suggested in bug #1980

commit 2b6271fccc7042f2618871cd4649aff107013dae
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 18:42:31 +0800
Tag:    v1.5.0

I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove'  because it does not delete the question but only removes it from the quiz.

commit 51d0c8b0bd1bdce4dd5f0117854acd3711f7315d
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 15:55:05 +0800
Tag:    v1.5.0

edit column in question tables on edit.php are now wide enough to hold all icons without line break

commit f0148d973c61013ae0e65c769d1d23b9aac6ce06
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 15:45:40 +0800
Tag:    v1.5.0

If a question is removed from a quiz then also all existing responses (e.g. from teacher attempts) are removed. Thanks to Eloy for pointing out that this was missing, http://moodle.org/mod/forum/discuss.php?d=17167#83331

commit b37cacae47f75669463139bfef0b5eb512b8316c
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 05:03:04 +0800
Tag:    v1.5.0

It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488

commit 6eaae5bdd27b7770c2f7bb8baf44340fa56bcd8f
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 04:00:15 +0800
Tag:    v1.5.0

fixed my own type (missing ;)

commit 6f7970138a2a1eb59ea89a5191022771efdc3f89
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Feb 2005 01:28:06 +0800
Tag:    v1.5.0

Taken out some $THEME

commit adf3c0155122abedb0fa546e81e50e14ce172eb2
Author: gustav_delius <gustav_delius>
Date:   Fri, 04 Feb 2005 02:04:15 +0800
Tag:    v1.5.0

fixed stupid bug in code for adding random questions

commit ea2d8d8a27fbd669a6646718c768b3784fc21c71
Author: gustav_delius <gustav_delius>
Date:   Tue, 25 Jan 2005 01:40:47 +0800
Tag:    v1.5.0

fixed bug in paging bar on participants list

commit e6d10b266b9088dfef52571048520596fa13058d
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 17:10:34 +0800
Tag:    v1.5.0

fixed sesskey bug reported by Eloy. Thanks Eloy.

commit 0353801a2b52e66456d4b76531f045a7ac278412
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 06:27:16 +0800
Tag:    v1.5.0

There is now a mechanism by which question types can have their own setup options. Because this does not change anything unless it is used I hope it is o.k. that I am submitting this without asking first. This is based on code by Mad Alex.

commit 0fc48cbfa58975b9617433f65ac2e167eb8cf8c3
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 04:08:45 +0800
Tag:    v1.5.0

question.php now uses sesskey. This means that all question type plug-ins will have to add it to their edit forms.

commit 010ec024b840f8a90f93143f2010b9a2f4d56cc8
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 03:14:35 +0800
Tag:    v1.5.0

made multiple.php save to database in addition to $SESSION->modform and also introduced sesskey

commit fc1bc87bb0904c79e14f627969dbad89941f7ca7
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 03:03:05 +0800
Tag:    v1.5.0

better parameter validation and some code cleanup for category.php

commit 4acc80ead1ad37a398965d5ed43d5de92c73708d
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 02:59:10 +0800
Tag:    v1.5.0

if the current category is deleted then revert back to the default category

commit 56b2152f697276d50ffcd9c5d1164bb4b420437d
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 02:17:33 +0800
Tag:    v1.5.0

better parameter validation and general code cleanup for edit.php

commit 873b77f0f56b4189a3fce56ac6a00ad9b86cc496
Author: gustav_delius <gustav_delius>
Date:   Sun, 23 Jan 2005 00:13:08 +0800
Tag:    v1.5.0

previously I had forgotten to save sumgrades

commit 4ac04efaf79bf2fc041442602f5b4c0b4a00c9d6
Author: gustav_delius <gustav_delius>
Date:   Sat, 22 Jan 2005 23:42:22 +0800
Tag:    v1.5.0

quiz edit.php now saves changes to the quiz in the database as soon as the teacher makes them, see http://moodle.org/mod/forum/discuss.php?d=17167

commit 446d87651b0f0f791e7f187c20daead9e7436082
Author: gustav_delius <gustav_delius>
Date:   Sat, 22 Jan 2005 23:22:06 +0800
Tag:    v1.5.0

fixed my own stupid single/double quote mistake

commit cf68266001a6415e598f4967884117d561e5c5d1
Author: gustav_delius <gustav_delius>
Date:   Fri, 21 Jan 2005 05:45:58 +0800
Tag:    v1.5.0

newer version of overlib is smaller and better. This comes straight from http://www.macridesweb.com/oltest/.

commit ef0921d1ffa480949dede8f8c5f8a8d2c132d9ef
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Jan 2005 17:50:33 +0800
Tag:    v1.5.0

It is now possible to base new questions on existing ones, see get_string('editingquestion', 'quiz');

commit 0befd376af5a61e81b701957f3114c3b9e367aac
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Jan 2005 16:11:49 +0800
Tag:    v1.5.0

fixed missing courseid in breadcrumbs

commit ff6048dd1084b7e1d4e5846827cd1e259ecf46a3
Author: gustav_delius <gustav_delius>
Date:   Wed, 19 Jan 2005 03:26:01 +0800
Tag:    v1.5.0

messagetext in history shoulld not be wrapped in paragraph tags

commit 798b70a12f7a720b9d2c43cd951039b963b50e65
Author: gustav_delius <gustav_delius>
Date:   Mon, 17 Jan 2005 01:54:34 +0800
Tag:    v1.5.0

If the focus is on the section that is being moved then move the focus along. Fixes bug 2026

commit 181b888e160b38f3a14474bc2a9b77b836e4d0d6
Author: gustav_delius <gustav_delius>
Date:   Mon, 17 Jan 2005 01:27:40 +0800
Tag:    v1.5.0

ugly hack to fix bug 1824 about wrong fullname format in log info.

commit 713492e36c198aad6acb80feaecbc175fe60acb8
Author: gustav_delius <gustav_delius>
Date:   Sun, 16 Jan 2005 05:59:41 +0800
Tag:    v1.5.0

corrected typo in previous commit

commit dc9e582553c4436ea9f93bc07f5b02eacd100a20
Author: gustav_delius <gustav_delius>
Date:   Sun, 16 Jan 2005 05:55:25 +0800
Tag:    v1.5.0

fixed bug 1887

commit 61e59ace64708934b3955667f8d4abdefad92a98
Author: gustav_delius <gustav_delius>
Date:   Sun, 16 Jan 2005 05:49:22 +0800
Tag:    v1.5.0

implemented fix for restore problem given in bug #1589

commit ee563adc91d6f6c4cce8a37cc90053bfc4000254
Author: gustav_delius <gustav_delius>
Date:   Fri, 14 Jan 2005 19:53:10 +0800
Tag:    v1.5.0

added the utf8 languages to the list of exceptions in the function break_up_long_words().

commit b18a43275cc319f8fb1871ab03d628d6fc07c237
Author: gustav_delius <gustav_delius>
Date:   Fri, 14 Jan 2005 01:53:23 +0800
Tag:    v1.5.0

if you use \n in single-quoted strings it will not be converted to a line break.

commit c1edf51947e346240632fb387042458830bdd651
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Jan 2005 15:03:25 +0800
Tag:    v1.5.0

When setting up a new quiz the teacher is always redirected to the question edit page so there is no need for two buttons on mod.html

commit 9f9cff594c51706103c820616bb27818290e7706
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Jan 2005 14:30:32 +0800
Tag:    v1.5.0

Just some comment text to explain the $QUIZ_QUESTION_TYPE array.

commit e76640e26edfa5d4620152cd9585b5e64067601a
Author: gustav_delius <gustav_delius>
Date:   Wed, 12 Jan 2005 04:03:16 +0800
Tag:    v1.5.0

fixed short php tag spotted by Mad Alex

commit 76cacec8197e852371ec204c6d1f3b43efd41211
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 Jan 2005 04:06:00 +0800
Tag:    v1.5.0

split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle.

commit 85ceebe2d3d2e2048368a847518ee04207fc7f86
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Jan 2005 04:07:58 +0800
Tag:    v1.5.0

It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged.

commit 1da1f5a8906817295754ae7d40ba4d86d1a55e87
Author: gustav_delius <gustav_delius>
Date:   Thu, 06 Jan 2005 01:27:23 +0800
Tag:    v1.5.0

It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged.

commit ac27e47dc48dbe82b19e24ae59e281b74e758213
Author: gustav_delius <gustav_delius>
Date:   Sun, 02 Jan 2005 23:10:50 +0800
Tag:    v1.5.0

Hierarchical question categories from mediagonal, see http://moodle.org/bugs/bug.php?op=show&bugid=1947

commit 15939a2fc91468ac7b4ad1491a8b5e921c86f8e7
Author: gustav_delius <gustav_delius>
Date:   Sun, 02 Jan 2005 15:42:24 +0800
Tag:    v1.5.0

 Introduced the language string 'editingteachershort' and set it to 'Editor'. Also fixed a typo. This closes bug 1949

commit 34283aa87d2a37fd237723c24c8da2b93a5bbec2
Author: gustav_delius <gustav_delius>
Date:   Sun, 02 Jan 2005 15:15:19 +0800
Tag:    v1.5.0

The teacher now can choose whether to see the advanced quiz options or not. This is handled as in the resource module. The "Show advanced options" button is only shown if the admin has chosen to declare some of the options as advanced.

commit 3cebccea7bed3bcdf198da71cd1d38db537642a2
Author: gustav_delius <gustav_delius>
Date:   Sat, 01 Jan 2005 04:42:53 +0800
Tag:    v1.5.0

defined $timeago

commit 444f6252dd01e2721bf76c23086ad9e1729b32fe
Author: gustav_delius <gustav_delius>
Date:   Sat, 01 Jan 2005 04:02:45 +0800
Tag:    v1.5.0

fixed some small bugs

commit a62356fcdd767f7ec5b3d0eebfb30efd5e85bed2
Author: gustav_delius <gustav_delius>
Date:   Fri, 31 Dec 2004 06:51:24 +0800
Tag:    v1.5.0

removed many php warnings and streamlined code

commit 0dc4810a9a9326ef7d6da833f6a27fe42f19671b
Author: gustav_delius <gustav_delius>
Date:   Thu, 30 Dec 2004 06:57:35 +0800
Tag:    v1.5.0

Changed user interface for adding multiple random questions, see http://moodle.org/mod/forum/discuss.php?d=16531#78785

commit 71d1ef585f4ade8353b03591877515bca92cf41b
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Dec 2004 18:03:53 +0800
Tag:    v1.5.0

added alt text to icons

commit 2d09198e5f029400f0c90111ba9ba6e48a175ed1
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Dec 2004 17:22:33 +0800
Tag:    v1.5.0

avoid division by zero when the sum of grades is zero

commit fa92dd24371321ff3105674b86c6060e61c4a67f
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Dec 2004 15:48:21 +0800
Tag:    v1.5.0

improved an error message, see http://moodle.org/bugs/bug.php?op=show&bugid=504&pos=0

commit df4fe0009bb7abcd6a5c6b2d2db8421294c2e070
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Dec 2004 15:21:55 +0800
Tag:    v1.5.0

avoids error when exporting 0 questions

commit 089a284b885d4390dbc85751cad2ee2c74e866be
Author: gustav_delius <gustav_delius>
Date:   Wed, 29 Dec 2004 15:19:54 +0800
Tag:    v1.5.0

sort category question list by type then name as suggested in http://moodle.org/bugs/bug.php?op=show&bugid=2045 Also removed a PHP notice

commit b63850e8d4a8e468cee25cf7084184c0626ee882
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Dec 2004 17:12:40 +0800
Tag:    v1.5.0

Fixed form error checking for cloze questions, see bug http://moodle.org/bugs/bug.php?op=show&bugid=697

commit b403c32aa0ba6d4d07ea1dbc94f8a69aee6e6e08
Author: gustav_delius <gustav_delius>
Date:   Tue, 28 Dec 2004 07:40:42 +0800
Tag:    v1.5.0

Reinstated the line in stripslashes_safe() that removes the slash that escapes a backslash. Martin removed this line in March. Why?

commit 48d3eadabcdfb8a9b466486f952939aa41911fb7
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Dec 2004 04:18:24 +0800
Tag:    v1.5.0

I have put a "Login as Student" link into the admin block.

commit dc511e9fdb9c24f1566389cc3aeb10e1aadf689e
Author: gustav_delius <gustav_delius>
Date:   Mon, 27 Dec 2004 00:09:12 +0800
Tag:    v1.5.0

removed php notice and fixed line endings

commit 8fbb315db3b318e8c3703fb010d993f51744e8d4
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Dec 2004 22:55:50 +0800
Tag:    v1.5.0

fixed missing string error that I introduced when improving the breadcrumbs.

commit b63c0ee52119419ee91950ad5afbf5c66a352bb2
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Dec 2004 21:58:07 +0800
Tag:    v1.5.0

Fixes a bug with user events created by an activity module. The old code assumed that the courseid would always be set but that is only the case for course events, not for user or group events. (See http://moodle.org/mod/forum/discuss.php?d=4466#20827 for a discussion about the meaning of the courseid field in the event table) I also made the $courseid argument to get_coursemodule_from_instance() optional. It is not needed and in some cases it will not be know, as for example for non-course events created by activity modules.

commit 78036f7835941df05649fee9fd5a18782a8e5930
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Dec 2004 15:28:14 +0800
Tag:    v1.5.0

Fixed event handling. Events must be deleted with delete_event.

commit a5c0990e5d5477f743dddd234312e0cf5223e22e
Author: gustav_delius <gustav_delius>
Date:   Thu, 23 Dec 2004 15:09:33 +0800
Tag:    v1.5.0

New quiz config page to allow admin to set defaults and hide options on the quiz setup page.

commit 267ef6f28f53d719b857153cb1d9c6214db5a9c9
Author: gustav_delius <gustav_delius>
Date:   Mon, 20 Dec 2004 22:26:37 +0800
Tag:    v1.5.0

Improved breadcrumbs on editing pages

commit eb89027f5b2979853318ea2bf19c6ed765517324
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Dec 2004 19:20:07 +0800
Tag:    v1.5.0

More changes to the user interface. See http://moodle.org/mod/forum/view.php?id=740.

commit 1c4e73b61483f1aa96a865af6f850781cb49ba27
Author: gustav_delius <gustav_delius>
Date:   Thu, 09 Dec 2004 17:34:43 +0800
Tag:    v1.5.0

Now teachers can again grade assessments. Also various tweaks of admin interface. This is work in progress. Heavy testing and further development will take place during the coming days, so consider this code as unstable.

commit 47162a5b591db3baf4856e848c1f84aadbb28bfe
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Dec 2004 18:39:06 +0800
Tag:    v1.5.0

fixed cutoffime misprint

commit 9e5b9a20848e4aab5f7e9c4d58148289d237d9bd
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Dec 2004 18:09:25 +0800
Tag:    v1.5.0

fixed missing ) and undefined $timenow

commit dabfc8989914f42c46a42773d080bb502cab026b
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Dec 2004 17:10:06 +0800
Tag:    v1.5.0

added periods at the end of some sentences.

commit 9a41fb44c034d01999d3655252358be28a56275d
Author: gustav_delius <gustav_delius>
Date:   Wed, 08 Dec 2004 16:29:11 +0800
Tag:    v1.5.0

removed duplicated sentences from emails

commit cb0d44c59f395e0d5cc3a821df4288f7bd4464d9
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Dec 2004 16:33:52 +0800
Tag:    v1.5.0

fixed warning when realuser is not set.

commit 2317a9f3b024f00dfc8756de74e6f932696cc98f
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Dec 2004 15:41:49 +0800
Tag:    v1.5.0

Fixed date check

commit adfefeb12a090dce208a913a5f399f2d7cb2bd23
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Dec 2004 15:32:16 +0800
Tag:    v1.5.0

$this->course was used but not defined.

commit a36a1759cf7b1db26d7404cd31a1db48912ef4e4
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Dec 2004 15:27:02 +0800
Tag:    v1.5.0

course.guest was not loaded from database but used in code.

commit 5e5b03eba030151796f42b0ae27ad40bfeb147f6
Author: gustav_delius <gustav_delius>
Date:   Tue, 07 Dec 2004 04:20:27 +0800
Tag:    v1.5.0

use filter_text instead of text_to_html

commit ab98918f096782688ef0c1345fccecd04f8e8942
Author: gustav_delius <gustav_delius>
Date:   Sun, 05 Dec 2004 19:49:18 +0800
Tag:    v1.5.0

Workshop module now works with dates rather than phases, see http://moodle.org/mod/forum/discuss.php?d=15541.

commit b61536bc9b1284f5d1aa530ae8c6509282a4b240
Author: gustav_delius <gustav_delius>
Date:   Wed, 24 Nov 2004 17:40:20 +0800
Tag:    v1.5.0

insert line break before language selection menu to make front page look similar to Moodle 1.4

commit 4de5f7bbdf8d3cc9850505abada8af94967afab7
Author: gustav_delius <gustav_delius>
Date:   Wed, 24 Nov 2004 17:38:04 +0800
Tag:    v1.5.0

added some missing styles to make Latest News and Recent Activity blocks look the same as  in Moodle 1.4

commit ab0e4dd42f433a5b0ed501c0a3daebc108ed1941
Author: gustav_delius <gustav_delius>
Date:   Wed, 24 Nov 2004 17:16:39 +0800
Tag:    v1.5.0

If a block is unknown then ignore it rather than throwing fatal error. In future one might want to have a dummy block that is displayed in this case to alert the user to the fact that some block code is missing.

commit cdef00de3e9c7381b8d98427c6349977a83d7797
Author: gustav_delius <gustav_delius>
Date:   Sun, 31 Oct 2004 06:51:12 +0800
Tag:    v1.5.0

Merged from STABLE. Fixed a bug that allowed teachers to upload images of arbitrary size

commit ebd32e3e3839b0b75c9bffb491afe6c3cfc48aad
Author: gustav_delius <gustav_delius>
Date:   Sun, 31 Oct 2004 06:40:22 +0800
Tag:    v1.4.2

Fixed a bug that allowed teachers to upload images of arbitrary size

commit 2f3b54ae54e3e68956a8d684a1b95019cb5cbf39
Author: gustav_delius <gustav_delius>
Date:   Wed, 27 Oct 2004 03:53:48 +0800
Tag:    v1.5.0

Put back call to forum_add_student in enrol_student() that Martin took out by mistake in revision 1.355

commit e8715b0d9bed254475590318b7822a7e9c5f6f81
Author: gustav_delius <gustav_delius>
Date:   Tue, 26 Oct 2004 04:33:27 +0800
Tag:    v1.4.2

added missing print_footer()

commit 42cc44d5605fb62309fa8186b7534749b3f64568
Author: gustav_delius <gustav_delius>
Date:   Sat, 02 Oct 2004 19:09:17 +0800
Tag:    v1.4.2

provisional fix for bug reported by Timothy Allen in http://moodle.org/mod/forum/discuss.php?d=13388. Provisional because I am not sure I am using the new parameter functions correctly.

commit 3da3bf18e2fcbee6ff7269fb6cc9d82e54874f92
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Oct 2004 04:39:35 +0800
Tag:    v1.5.0

Martin, did you really mean to switch XHTML on in the standard standard theme?

commit dfc12289a3c34c98ac5543f206ad712352c327d0
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Oct 2004 02:56:08 +0800
Tag:    v1.5.0

after removing empty line at top of section the editing icon was now a bit cramped in, so added an empty line below it but only if editing is on.

commit eab617f96c406a5aa041b982dab7f305f2c481bb
Author: gustav_delius <gustav_delius>
Date:   Fri, 01 Oct 2004 02:43:24 +0800
Tag:    v1.5.0

removed spurious empty line at start of sections

commit 7ecb19bba02c29377423950031d10e1b7a82247d
Author: gustav_delius <gustav_delius>
Date:   Sun, 26 Sep 2004 04:27:15 +0800
Tag:    v1.5.0

added explanation for format and visible fields in event table

commit e82cd4489c91fdca10b886c7844c18503028a639
Author: gustav_delius <gustav_delius>
Date:   Sat, 25 Sep 2004 02:49:13 +0800
Tag:    v1.5.0

fixed missing <br> reported by Ray

commit 8f0cd6ef0f7662fb95312c7629d4ab91e99e4a7b
Author: gustav_delius <gustav_delius>
Date:   Tue, 21 Sep 2004 19:41:58 +0800
Tag:    v1.5.0

Resolved problems with previous replacement of & to &amp; and fixed redirect() to entity encode the inut where needed. Julian Sedding

commit 5ddaa2e2371073138406ab3658179b5144d12fb4
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Sep 2004 18:28:08 +0800
Tag:    v1.5.0

resolved a conflict ith previous commit

commit 4fd59da7abc1f797a227c861744ad7e86b8d0f31
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Sep 2004 02:33:35 +0800
Tag:    v1.5.0

added missing </center>

commit ad954fc57490104038658ffd2c31a476c50cc8fe
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Sep 2004 02:23:38 +0800
Tag:    v1.5.0

closed some <input>s

commit 839f2456bb06035ebf9109b8d799ddb9f801605d
Author: gustav_delius <gustav_delius>
Date:   Fri, 17 Sep 2004 01:13:57 +0800
Tag:    v1.5.0

XHTML compliance - fixed (hopefully) all <img> tags - global replace on <br> to <br /> - &amp; in URLs - got the forum module XHTML compliant Julian Sedding

commit e0b7b090d3d42147f7444bc5abc38f5734891ff4
Author: gustav_delius <gustav_delius>
Date:   Wed, 15 Sep 2004 04:39:28 +0800
Tag:    v1.5.0

towards XHTML compliance

commit 26686b7ae3b963a9bb96832875963a56a486baf6
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 06:39:20 +0800
Tag:    v1.5.0

closed some br and img tags

commit 1c5d9bbbecc9f852325a1ca9a8b50e8e63cce882
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 06:29:44 +0800
Tag:    v1.5.0

closed some br tags

commit b4510d5333f990991b1abc3ccbe3c05c3eae0c01
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 06:23:51 +0800
Tag:    v1.5.0

closed some input tags

commit 98ea2a6e023381ae200e84871fcd45a187ef23bb
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 05:55:34 +0800
Tag:    v1.5.0

closed some image tags

commit 9a58f7cb85059c9231ca1fa8d41e854468174fb2
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 05:43:59 +0800
Tag:    v1.5.0

towards XHTML compliance

commit 730a5f5abef19a0893f83c167d380d1374804363
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 04:45:41 +0800
Tag:    v1.5.0

fixed capitalization and quoting of attribute values

commit a43bbd9a15373dba392f1a7e4b2327e616f774b8
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 04:30:43 +0800
Tag:    v1.5.0

fixed quoting of attribute values

commit d1290cec392da97a1f42e51ebbd09cfab8323479
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 01:34:35 +0800
Tag:    v1.5.0

fixed capitalization and quoting of attribute values

commit 41905731b72e7c80102653d5880211fc6d25e29c
Author: gustav_delius <gustav_delius>
Date:   Mon, 13 Sep 2004 00:24:41 +0800
Tag:    v1.5.0

fixed capitalization and quoting of attribute values

commit 1c61c8d6bc5b082e7350686f6814f3b028332f6d
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 23:06:29 +0800
Tag:    v1.5.0

fixed capitalization and quoting of attribute values

commit a9ef4a630a576ab2e5a3bf34e43eca8a5a6b5767
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 22:41:49 +0800
Tag:    v1.5.0

closed <input /> <br /> <hr />

commit dcb1bd3c9a43741bfbe319432a85deff17f9882d
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 21:21:01 +0800
Tag:    v1.5.0

towards XHTML compliance

commit 24f2b65a4d94014bf17d6a4ad8771efecd7b8f37
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 20:21:27 +0800
Tag:    v1.5.0

towards XHTML compliance

commit 7ef0797deab0dd80031ab9a5d142f057dfd8bab6
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 09:34:24 +0800
Tag:    v1.5.0

some fixes for XHTML compliance

commit 0cdd138180cbf0719bc8834fa8b45d228eb959e6
Author: gustav_delius <gustav_delius>
Date:   Sun, 12 Sep 2004 08:21:21 +0800
Tag:    v1.5.0

some fixes for XHTML compliance

commit 03f191ad65c3d61fc0862c078e06931eb3420bb7
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Sep 2004 21:51:19 +0800
Tag:    v1.5.0

added little edit icons on participants list, see bug 1896

commit 5a2dea02dc2bcef26a89cb5eeaf113101b1869a1
Author: gustav_delius <gustav_delius>
Date:   Sat, 04 Sep 2004 21:23:08 +0800
Tag:    v1.5.0

keeping time information when student becomes teacher

commit 21c500f7559d2273fd3a0b810e32d3adb663bc8b
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 07:24:03 +0800
Tag:    v1.4.0

my second attempt at getting this block right.

commit 8ec882c22fb69715f62a46ec7e32cf218ba49fc1
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 04:57:26 +0800
Tag:    v1.4.0

Access to site participants list is now controlled through $CFG->showsiteparticipantslist

commit d31cdc0ee9a1ab05048ee36cb4be48deb828d92b
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 04:54:42 +0800
Tag:    v1.4.0

isteacher() with no arguments now does the expected

commit 129af656654a0114b1d9b9f58df6428c7dec649c
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 03:09:36 +0800
Tag:    v1.4.0

fixed the isstudent function

commit 04fd3138920e79ef52be295d7370f337b2768204
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 02:43:13 +0800
Tag:    v1.4.0

Site participants list now shows correct list of site students

commit 076cc57cc0ea2720b6421321ede2d33d20c42053
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 01:38:53 +0800
Tag:    v1.5.0

Merging TO Head

commit bee864c912f6081c50a16fad6db749c8e7962f15
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 01:28:47 +0800
Tag:    v1.4.0

Just tidying up.

commit 2700d113a2ad46fc35b87a6df1570e5d2f0b0f71
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 01:27:00 +0800
Tag:    v1.5.0

Merged from HEAD

commit 30bc2fa67186d4be76fedc1901047bf586ceefc7
Author: gustav_delius <gustav_delius>
Date:   Tue, 31 Aug 2004 00:42:32 +0800
Tag:    v1.4.0

This now implements the new rule on who is a site student, see http://moodle.org/mod/forum/discuss.php?d=8452#56743

commit cc4a7edf6f87ce742c449966aacc1c1b4feea24a
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 16:49:01 +0800
Tag:    v1.4.0

course teachers are also site students. This implements the rule described in http://moodle.org/mod/forum/discuss.php?d=8452#56678. This commit is probably pointless because the rules are likely to change again soon. I won't merge it onto HEAD.

commit eb4f1a380a69b38bf63f160060cccdbc7c3c8664
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 16:13:14 +0800
Tag:    v1.4.0

course teachers are also site students.

commit 77c96715d9dfee14a32b90cf3d81c7273cc4dbde
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 15:00:57 +0800
Tag:    v1.5.0

Added explanation of what happens to "Yes, initially" option when updating existing forum.

commit 039559bf98a00f3d97ee6b1686fe98cdd47c6a9f
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 14:40:09 +0800
Tag:    v1.5.0

New help file for initial force subscription

commit 7b5944cdb30153d5bb31a394a42954a52fbc55e1
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 03:17:27 +0800
Tag:    v1.5.0

Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084

commit 709f0ec8d502addea68360c0b9b3176234419c04
Author: gustav_delius <gustav_delius>
Date:   Mon, 30 Aug 2004 02:20:13 +0800
Tag:    v1.5.0

Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084

commit 2a2f5f1181e19680b6b31b78d52966c32a96b278
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 23:00:08 +0800
Tag:    v1.5.0

now the lastaccess field is also updated upon every login, closing bug 1833

commit 04755022552f94158e6e9f20fb07019c12130755
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 22:24:05 +0800
Tag:    v1.5.0

got rid of update_user_in_db, see bug 1833

commit 222ac91bc9136cb103a58c554882069b02f9473e
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 22:15:40 +0800
Tag:    v1.5.0

removed unnecessary calls to get_site()

commit 0db24926f4d9307fa080e4063e8d68d8dc1b5155
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 22:02:13 +0800
Tag:    v1.3.5

added constant SITEID=1

commit 19425053afaa06472bc5562d43ea345f73f9f327
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 22:00:49 +0800
Tag:    v1.4.0

added constant SITEID=1

commit aef7d2ef0b4980d92f9e1cc7a062c3f501ee89f5
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 20:54:39 +0800
Tag:    v1.4.0

replacing get_site() in add_to_log() for efficiency. Moodle 1.5 will have this done more thoroughly.

commit 540995b8014f9d47b4c2782a939ef1e8493105c9
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 19:41:55 +0800
Tag:    v1.5.0

add_to_log now updates lastaccess if used on site. See bug 1821

commit d5fe509f4499b3129bf0833cd10bab74d0437ed4
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 19:35:08 +0800
Tag:    v1.4.0

add_to_log now updates lastaccess if used on site. See bug 1821

commit 9f5329d86e37a2cb092c5ea3d9b0e5f127c9c39c
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 03:28:57 +0800
Tag:    v1.5.0

added explanation about non-editing teachers to help file

commit 8c8be6622e87b0f54537850d39345170429af667
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 03:27:46 +0800
Tag:    v1.4.0

added explanation about non-editing teachers to help file

commit 02e0b4274c150db6942d679d4ce6c07c0961177b
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 02:34:38 +0800
Tag:    v1.5.0

improvement of online_users block on front page, suggested by Bruno, see bug # 1821

commit d97903b9ca5dce9a9830f4813dbc14ec01675248
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 02:29:55 +0800
Tag:    v1.4.0

improvement of online_users block on front page, suggested by Bruno, see bug # 1821

commit ce265a46aa17d6b90476e71a96e252aaa77056a1
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 01:18:36 +0800
Tag:    v1.5.0

fixed name order in headings on log.php

commit d0437b3eabab2c5e8a3c3688d43b3cb743ffbdfc
Author: gustav_delius <gustav_delius>
Date:   Sun, 29 Aug 2004 01:17:25 +0800
Tag:    v1.4.0

fixed name order in headings on log.php

commit c83712b3de33055cd2d195f93831012a7becc384
Author: gustav_delius <gustav_delius>
Date:   Fri, 27 Aug 2004 06:22:56 +0800
Tag:    v1.5.0

fixed my own typo, bug 1798

commit 9b1f47c6bdbc142ee36f7e364a40e5bde0e697ac
Author: gustav_delius <gustav_delius>
Date:   Fri, 27 Aug 2004 06:17:07 +0800
Tag:    v1.4.0

fixed my own typo, bug 1798

commit 4202155868bb9e6db51b134b30496d7f5081589a
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 Aug 2004 12:16:52 +0800
Tag:    v1.5.0

fixed bug in online user list, see http://moodle.org/mod/forum/discuss.php?d=11554

commit d1dec2d112f4bc2be9a1f79735f7d49dbae7c82c
Author: gustav_delius <gustav_delius>
Date:   Thu, 26 Aug 2004 12:11:46 +0800
Tag:    v1.4.0

fixed bug in online user list, see http://moodle.org/mod/forum/discuss.php?d=11554

commit 8f6b80b90cb462fcfd1dac312de90080601f3712
Author: gustav_delius <gustav_delius>
Date:   Wed, 25 Aug 2004 02:38:14 +0800
Tag:    v1.4.0

Merging from stable branch

commit 2e32990a630f2e729f5f8be52142b57ba1cb3c48
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 23:14:32 +0800
Tag:    v1.4.0

reduced $module->requires to 052505 after Martin put my new functions into that version.

commit 56c1fd3684c9c68b3f3291b2934e8f0c2c63dbf2
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 20:51:28 +0800
Tag:    v1.4.0

disabled email_protect plugin, see Bug #1775

commit ae7fb33a551419355f7a7a19259a3b450ab1711e
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 20:50:57 +0800
Tag:    v1.4.0

disabled email_protect plugin, see Bug #1775

commit df85e5575069cefcf5e0132337559a4e6975d6d3
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 18:13:41 +0800
Tag:    v1.4.0

All the modules in which I made changes require the latest version of datalib.php.

commit bc1ed83f435435a5916f3e811d2875211a7b1019
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 05:27:52 +0800
Tag:    v1.4.0

fixed small typo

commit 2559db73e600471361062a3a0472a9816fcf65b1
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 05:26:03 +0800
Tag:    v1.4.0

fixed bug 1748

commit 956ad3b8a8d08910b402491764e17912bb703d18
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 04:46:01 +0800
Tag:    v1.4.0

removed ancient german release notes

commit 0420e8715d064cf73dd63f4af16a3b14441da804
Author: gustav_delius <gustav_delius>
Date:   Tue, 24 Aug 2004 04:34:52 +0800
Tag:    v1.4.0

removed empty bullet point

commit ecf0cf9ac406a8c1d82d63e2f4136b27cf066307
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 Aug 2004 03:58:54 +0800
Tag:    v1.4.0

fixed bug 1252. But this page could do with a lot more work.

commit 55a7af338d04b71148d362d0e4d4d7c1362abc12
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 Aug 2004 03:21:02 +0800
Tag:    v1.4.0

fixed phantom question bug #1299

commit 6b29ba6071639c04faa70ce34d9dac5e61fadf9d
Author: gustav_delius <gustav_delius>
Date:   Mon, 23 Aug 2004 01:52:21 +0800
Tag:    v1.4.0

added $CFG->filelifetime to config-dist.php

commit f950af3c43b2f7b285824ba5d1635e09da0cfd2f
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 22:38:47 +0800
Tag:    v1.4.0

All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.

commit 78bf3de3fe5bf544b6d585e802fbe70a15f9aa7d
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 17:58:02 +0800
Tag:    v1.4.0

fixed bug preventing move of module to bottom of section 0

commit 1ff45e740feceff69c6f19c8003735e5ad1b4033
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 05:19:21 +0800
Tag:    v1.4.0

fixed breadcrumbs

commit d022e345450e87bc40a522f8a3561e7b78d19993
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 05:18:33 +0800
Tag:    v1.4.0

print notice when guest views chat.

commit c89bf29585f8bcb0856169ea21aec993038fe43d
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 05:02:59 +0800
Tag:    v1.4.0

fixed breadcrumbs when mod.php is used on site page

commit ff458eb5adf85c8155dca792b3cb84e9b174d0ed
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 04:59:13 +0800
Tag:    v1.4.0

removed some notices

commit 5be2cb7aefc35be8dbb277b505eb620d3267108f
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 04:25:15 +0800
Tag:    v1.4.0

removed notice

commit 90fcc576ea55fdd5b21a8c0d82ac5fb21b9f565c
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 04:20:58 +0800
Tag:    v1.4.0

Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.

commit 64c3e85374a285c02f644b1b697c25184a0b63fb
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 04:13:35 +0800
Tag:    v1.4.0

small bug in teacher link due to undefined $site

commit 713e7568def98bda4ffd78752fb8c44129bac239
Author: gustav_delius <gustav_delius>
Date:   Sun, 22 Aug 2004 00:26:51 +0800
Tag:    v1.4.0

improved documentation for wiki types

commit e0d46880e7c727387a5be24adb502fc9b100f46e
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 23:52:38 +0800
Tag:    v1.4.0

removed some hard-coded strings and a warning from setup page

commit 369fa1b01a0f35b49f91ed7b0c1e33c6ac95b13e
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 20:43:17 +0800
Tag:    v1.4.0

Moved the raw SQL out of here and into the new search_user function in datalib.php.

commit 900df8b6a50629d8a0bd0209907945aff6be5b72
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 20:41:40 +0800
Tag:    v1.4.0

Some changes to user database functions:

commit 7a1efb695dd721b050f52263daaa6d5e7dbd3d4d
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 17:01:01 +0800
Tag:    v1.4.0

fixed the problem that people trying to move blocks accidentally deleted them.

commit ff9fe325840b4df261904ed3b425208eb883fd56
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 04:32:38 +0800
Tag:    v1.4.0

removed some warnings from from fields, closing bug 1558

commit 067675c006d863682e5eef38f9bafc9a8e80b2e3
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 04:12:48 +0800
Tag:    v1.4.0

introduced the fullname() function in a lot of places. Still not complete though, especially in sorting.

commit c117aa6c24d142bcdc2c6293e17d41d9a450ac25
Author: gustav_delius <gustav_delius>
Date:   Sat, 21 Aug 2004 02:48:05 +0800
Tag:    v1.4.0

authenticate_user_login() function now works even if $user->auth is not yet set, fixing bug 1747

commit 4361ddcb22c0c8e00b5277e5d3cc0129898f4170
Author: gustav_delius <gustav_delius>
Date:   Wed, 18 Aug 2004 23:49:09 +0800
Tag:    v1.4.0

when adding students the teachers are no longer shown in list of potential students, closing bug 1749

commit 25c3c05796d048ac7226f0267807ad0440369368
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 Aug 2004 18:09:54 +0800
Tag:    v1.4.0

put recently deleted outdated language string back in so that the language pack will work with old versions.

commit f88803e06daa1f9643cf0457c04b29a10f66fdd8
Author: gustav_delius <gustav_delius>
Date:   Mon, 16 Aug 2004 05:01:34 +0800
Tag:    v1.4.0

Improved subscription editing interface according to discussion at http://moodle.org/mod/forum/discuss.php?d=11089#53612

commit 90e7063e45d7a049c5ba2e47e59a9abc8fbe7728
Author: gustav_delius <gustav_delius>
Date:   Sun, 15 Aug 2004 20:38:29 +0800
Tag:    v1.4.0

Editing teacher can now subscribe users to a forum, see http://moodle.org/mod/forum/discuss.php?d=11089

commit 09d4c9a984efed20e261a00930b23eb7ae302cb7
Author: gustav_delius <gustav_delius>
Date:   Tue, 03 Aug 2004 17:30:04 +0800
Tag:    v1.4.0

postgres should use INT8 only for very large integers, see bug1590

commit 2f565a77a3e0dbb9605674c663171c3c06c856fd
Author: gustav_delius <gustav_delius>
Date:   Tue, 03 Aug 2004 14:29:10 +0800
Tag:    v1.4.0

resource module requires recent version

commit 609ba03702745e74966996a4601d061808d40495
Author: gustav_delius <gustav_delius>
Date:   Fri, 30 Jul 2004 06:46:32 +0800
Tag:    v1.4.0

adding <th> to allowed tags, fixing bug 1635

commit 1ca17d43e773fe3ee5869ebd770ecd6a81ad4642
Author: gustav_delius <gustav_delius>
Date:   Fri, 30 Jul 2004 06:16:53 +0800
Tag:    v1.4.0

edit link corrected

commit fe4bc8337d99ad40218f106c586bfc554a625c43
Author: gustav_delius <gustav_delius>
Date:   Tue, 27 Jul 2004 15:42:14 +0800
Tag:    v1.4.0

removed non-standard line-endings, see http://moodle.org/mod/forum/discuss.php?d=10369.

commit 12ad5d08c2f1e5e1e8cfe141a18fa8e60e223b66
Author: gustav_delius <gustav_delius>
Date:   Tue, 20 Jul 2004 19:07:52 +0800
Tag:    v1.4.0

set maxlength for shortname field

commit 5fc2f2fdcbad86ccbbcc1328fc95f2c08f61aaf3
Author: gustav_delius <gustav_delius>
Date:   Fri, 02 Jul 2004 17:32:17 +0800
Tag:    v1.4.0

site front page can now have a topic section, see http://moodle.org/mod/forum/discuss.php?d=9444#45748

commit 8e8d0524afedbde17935656db5441a9e1b049666
Author: gustav_delius <gustav_delius>
Date:   Fri, 02 Jul 2004 06:29:04 +0800
Tag:    v1.4.0

made sure that the guest autologin does not happen when user replies to post

commit 2cc72e848fcd491140391ebe8344ab24648aa331
Author: gustav_delius <gustav_delius>
Date:   Fri, 02 Jul 2004 05:00:07 +0800
Tag:    v1.4.0

made get_course_users and similar functions work also for the site course

commit 43a4c024fba920e157a886056555c0b5c0782516
Author: gustav_delius <gustav_delius>
Date:   Fri, 02 Jul 2004 03:58:34 +0800
Tag:    v1.4.0

removed undefined notices showing on recent activity on site front page when no user logged in

commit 0f14574b85022f8058594f5f58f4ff837dd8ca7f
Author: gustav_delius <gustav_delius>
Date:   Thu, 01 Jul 2004 20:00:46 +0800
Tag:    v1.4.0

fixed bug 1550 about broken anchor links

commit ad6178ea81df13cf24e439eb512ab3801e3f33ea
Author: gustav_delius <gustav_delius>
Date:   Thu, 01 Jul 2004 18:18:14 +0800
Tag:    v1.4.0

fixed bug 1550 about broken anchor links

commit a5db6f8a4917245ff7d89ed9885692517501c4fc
Author: gustav_delius <gustav_delius>
Date:   Thu, 01 Jul 2004 16:27:58 +0800
Tag:    v1.4.0

got rid of some undefined index notices

commit 9b88d1a07c31ebb44c23e32552cbb4460888494d
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Jun 2004 20:41:05 +0800
Tag:    v1.4.0

added editing icon in course summary block

commit fe6571366c63abbe1357b7bb9cb524d88cf55565
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Jun 2004 20:09:29 +0800
Tag:    v1.4.0

introduced $CFG->autologinguests, see http://moodle.org/mod/forum/discuss.php?d=9161

commit 49fe4f99e18ddde11c115aeecc7c85cfcf1bbe99
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Jun 2004 05:46:32 +0800
Tag:    v1.3.2

using fullname() on info page, fixing bug 1596

commit 59b7ad8aaa581dd62f3c1e44f420e0772fdf2b3c
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Jun 2004 05:44:24 +0800
Tag:    v1.4.0

using fullname() on info page, fixing bug 1596

commit be0bdec88c102318869da9fb0cde6e719597e54d
Author: gustav_delius <gustav_delius>
Date:   Wed, 30 Jun 2004 05:16:58 +0800
Tag:    v1.4.0

a hack to fix bug 1598 regarding undefined $CFG->enrol

commit 7636b1194d6506c9856987d8ed4b1c4eaff63f95
Author: gustav_delius <gustav_delius>
Date:   Tue, 22 Jun 2004 15:38:05 +0800
Tag:    v1.4.0

don't replace smilies in plain text format

commit 734bdb63bf6ccd9e7a55b358614c2b58c065fda0
Author: gustav_delius <gustav_delius>
Date:   Tue, 15 Jun 2004 04:06:15 +0800
Tag:    v1.3.2

Site option forcelogin is now respected by /mod/forum/search.php, fixing bug 1566

commit 77915f7aa791954a74eab6c322c95a03006c54d0
Author: gustav_delius <gustav_delius>
Date:   Tue, 15 Jun 2004 04:02:50 +0800
Tag:    v1.4.0

Site option forcelogin is now respected by /mod/forum/search.php, fixing bug 1566

commit 4a9df3735266bb8cccc6c763375b796ee0046464
Author: gustav_delius <gustav_delius>
Date:   Thu, 10 Jun 2004 06:50:42 +0800
Tag:    v1.4.0

made sure that ungraded modules would not show up in gradebook

commit 9cb883d53d225fcab9b93be057e5edc2220503c3
Author: gustav_delius <gustav_delius>
Date:   Thu, 10 Jun 2004 06:00:51 +0800
Tag:    v1.4.0

small bug fix: $USER was not laoded in course admin block

commit 5bff67518f05055b99fe8c790102a0dd386e3d29
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 16:55:44 +0800
Tag:    v1.4.0

fixed the self-inflicted problem with navmenu on non-module pages.

commit cb6480373e064343c4495ae8071b267391a74025
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 16:46:43 +0800
Tag:    v1.4.0

jump menu now always shows "Jump to", see http://moodle.org/mod/forum/discuss.php?d=8543#41211

commit 6f9f3b693fe08914570a3c6540f8f2b836ed17af
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 16:36:28 +0800
Tag:    v1.4.0

fixed bug 1553 which gave error with empty jump menu

commit 578ba7762ee94c8136d44792ef96b8aed236111b
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 16:35:47 +0800
Tag:    v1.3.2

fixed bug 1553 which gave error with empty jump menu

commit 5e607236f39c8e6e4a7211f6932ca3b0bf5ab001
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 05:23:26 +0800
Tag:    v1.4.0

fixed problems with undefined $USER->id in recent activity block when no user logged in.

commit 266313e8c328afba0d12562939ab9889bd7f25e2
Author: gustav_delius <gustav_delius>
Date:   Wed, 09 Jun 2004 04:48:32 +0800
Tag:    v1.4.0

corrected type, bug 1551

commit 2cba76377f00859475afd683311c62b3feca91e8
Author: gustav_delius <gustav_delius>
Date:   Mon, 07 Jun 2004 03:27:56 +0800
Tag:    v1.4.0

Made two small changes to make the config.php issue clearer, see http://moodle.org/mod/forum/discuss.php?d=8712

commit 6e506bf902f5c71d25711ec56a2b9d16d09c4b96
Author: gustav_delius <gustav_delius>
Date:   Sun, 06 Jun 2004 20:49:55 +0800
Tag:    v1.4.0

Fixed bug 1535. Unless $CFG->forum_replytouser is set to 1 AND the user has set maildisplay nonzero, the address $CFG->noreplyaddress is sent instead of the user's address.

commit 81b5c8e3546af846611ef103b1e316a8cb826f91
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Jun 2004 23:34:16 +0800
Tag:    v1.4.0

Fixed bug 1532, backlink now translatable

commit e44497f329bb7e50bcba7e3fae79d2f33f99b0d4
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Jun 2004 20:04:02 +0800
Tag:    v1.4.0

Fixed bug 1531, section links to invisible sections now greyed out or hidden

commit 345692a64d63f9a135088ef33b323f0744098b35
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Jun 2004 20:03:22 +0800
Tag:    v1.3.2

Fixed bug 1531, section links to invisible sections now greyed out or hidden

commit 319225a71428e9f8c364ac66c925beeeebc80bd9
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Jun 2004 19:57:11 +0800
Tag:    v1.4.0

Fixed bug 1531, section links to invisible sections now greyed out or hidden

commit 86a8e9070b880c22a99a319c61428f940048eb14
Author: gustav_delius <gustav_delius>
Date:   Sat, 05 Jun 2004 19:56:51 +0800
Tag:    v1.3.2

Fixed bug 1531, section links to invisible sections now greyed out or hidden

commit c293c07a5e7050aa48deec5fd102ccb062333ca4
Author: gustav_delius <gustav_delius>
Date:   Tue, 01 Jun 2004 17:47:28 +0800
Tag:    v1.4.0

Make sure course list block is never empty.

commit a5dc1376bf53ff19e165c10445ea68af6c679463
Author: gustav_delius <gustav_delius>
Date:   Tue, 01 Jun 2004 16:36:47 +0800
Tag:    v1.4.0

Use 'savechanges' on button when editing post.

commit 3705299bf4dfbd43dfec626e98c5085cbe108f03
Author: gustav_delius <gustav_delius>
Date:   Tue, 01 Jun 2004 02:58:42 +0800
Tag:    v1.4.0

changed language string 'savechanges' to 'posttoforum' on post.html

commit 0671ba130f3315b659849424c63d68791eed1c85
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 16:20:13 +0800
Tag:    v1.4.0

used is_internal_auth() to decide if to show "Add new user" link

commit 6c2eeff9b974c2ff326848d1ceb253acfe233bb0
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 07:28:20 +0800
Tag:    v1.4.0

language strings for duplicating

commit d33a2a6f39c4ee9ce1886b2d4445424b750d745f
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 07:09:21 +0800
Tag:    v1.4.0

It is now possible to duplicate a course module. See http://moodle.org/mod/forum/discuss.php?d=8468

commit 87f3a895f7e71b1671ce0aa8b68f7d91af34e95c
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 05:55:44 +0800
Tag:    v1.4.0

Removed the requirement that the admin has to enter a user desription when creating a new account, see bug 778

commit aed646106bb2a17616fe49bd7b264df8a1e7e97d
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 05:12:09 +0800
Tag:    v1.4.0

"Add a new user" link near top of page, see bug 713

commit f7f2ff6dba86fa4290d3b7f4ff0783a3ce28bb91
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 04:54:58 +0800
Tag:    v1.4.0

Only editing teachers are allowed to unenrol students

commit 62b807563275574adbdb1de7a414502ce12e9f6f
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 02:46:42 +0800
Tag:    v1.4.0

Changed participants list for site couse, see http://moodle.org/mod/forum/discuss.php?d=8455

commit 67f0d7a00a8a3bf963647d37969898a60e4616b3
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 01:43:50 +0800
Tag:    v1.4.0

Put mistakenly removed string back

commit cf84431be03434e4f565cb1718b99c6ba9a49224
Author: gustav_delius <gustav_delius>
Date:   Mon, 31 May 2004 01:25:26 +0800
Tag:    v1.4.0

Can now break off posts into a new discussion, see bug 673

commit 4c627190011f46bcf1c8601e94c2a0e05f7fb7a4
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 22:42:04 +0800
Tag:    v1.4.0

Delete links on forum post now only show if post has no children

commit c4f8793eceb4dad6426b1fbc4ab4be03d38c7b73
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 19:43:29 +0800
Tag:    v1.4.0

Fixed relative links in People block so that they work on the site home page.

commit c4936225c42c8340341d9b6b9136ae714117c605
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 19:24:00 +0800
Tag:    v1.4.0

Fixed breadcrumbs and some of the many undefined variables notices

commit 761b1f84699a5b4d3352a9a951502fbbe28099d0
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 19:22:06 +0800
Tag:    v1.4.0

Fixed relative links in recent activity, see bug 1497

commit c96a69542ab7f1482f911c2451edb151c7d8f6a4
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 18:48:11 +0800
Tag:    v1.4.0

Removed spurious characters from start of file (introduced by myself)

commit 58bed599f391297fd7a1f2f7b0d42c2bc3adc3d1
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 17:01:56 +0800
Tag:    v1.4.0

Configuration option for block_course_list to determine what admin sees

commit fad21b7c7b83a72ab35276af03b8f1c01b04c8b1
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 09:02:39 +0800
Tag:    v1.3.1

Also admin now sees only his or her own courses in the "My courses" block. Fixes bug 526

commit 0ae7e6f40e9230077ec0343509811070de425d90
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 08:55:48 +0800
Tag:    v1.3.1

Guest user now has Login link instead of Logout link, see http://moodle.org/mod/forum/post.php?reply=40214

commit 6bc502cca76ce477de26356784ffe143463056ec
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 08:33:45 +0800
Tag:    v1.3.1

List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034

commit c589ed7fd815f52f1465885222190911e032e2e2
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 00:24:38 +0800
Tag:    v1.3.1

A hack to fix bug 1488. html editor needs $course object defined. Should perhaps be solved differently in the long run.

commit 12f18ea1abf69e237600235819ebf013e4dc5fde
Author: gustav_delius <gustav_delius>
Date:   Sun, 30 May 2004 00:19:32 +0800
Tag:    v1.3.1

A hack to fix bug 1488. html editor needs $course object defined. Should perhaps be solved differently in the long run.

commit f1020d0dd253c8b75b40158a6444d1a9893bd2e9
Author: gustav_delius <gustav_delius>
Date:   Sat, 29 May 2004 18:40:07 +0800
Tag:    v1.3.1

section links now preserve focused view, see http://moodle.org/mod/forum/discuss.php?d=7648#37555

commit e48550e0b80551fb655a9619e7c1ba11120d1272
Author: gustav_delius <gustav_delius>
Date:   Sat, 29 May 2004 18:35:57 +0800
Tag:    v1.3.1

fixed empty boxes bug reported in http://moodle.org/mod/forum/discuss.php?d=8432

commit a69a27868468e85444c4b975078feca2bd7375cd
Author: gustav_delius <gustav_delius>
Date:   Sat, 29 May 2004 17:12:33 +0800
Tag:    v1.3.1

previous fix now also works in weekly format

commit 61cc70ae45d8f58ac719f6d9dc2a5ea398a955e6
Author: gustav_delius <gustav_delius>
Date:   Sat, 29 May 2004 16:40:41 +0800
Tag:    v1.3.1

section links now preserve focused view, see http://moodle.org/mod/forum/discuss.php?d=7648#37555

commit cb9a975f95dbfd06684c38e352846de93b39b18a
Author: gustav_delius <gustav_delius>
Date:   Wed, 26 May 2004 04:03:45 +0800
Tag:    v1.3.1

fixed bug 904

commit f81be26aeeac9d6b9e50f80e3e31dbaa19c809b3
Author: gustav_delius <gustav_delius>
Date:   Mon, 24 May 2004 04:46:29 +0800
Tag:    v1.3.0

Fixed bug 1443: In the case of a "Teacher Forum" the "Subscribe everyone to this forum" button now only subscribes teachers.

commit 52c4ef835a441412b5374e40eb6df3a90b8e09cd
Author: gustav_delius <gustav_delius>
Date:   Mon, 24 May 2004 04:23:19 +0800
Tag:    v1.3.0

Changed readme text because copying of theme folder is no longer needed as theme is now in main CVS

commit 7f21ed0a088c3b01d76b3730869166945238369f
Author: gustav_delius <gustav_delius>
Date:   Mon, 24 May 2004 02:55:20 +0800
Tag:    v1.3.0

Changed example for dirroot which must not contain capital letters

commit 6ecde2bef32984d07444f593e598623da07009d0
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 06:09:46 +0800
Tag:    v1.3.0

replaced very old install.html with current version from lang/en/doc. I guess this is duplicated here to make it easier to find for people?

commit d71cca4bea33ae682da5d60e7bca409da6b5fd4e
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 06:06:33 +0800
Tag:    v1.3.0

corrected small type reported in bug 1152

commit 78d7fa79cfadb96f6368e5dc85fa59a68b5e99ae
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 05:27:33 +0800
Tag:    v1.3.0

implemented a provisional hack by roger to avoid division by zero reported in bug 1231.

commit c12007857b30a9df324a70807c9aae526086dd79
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 04:52:53 +0800
Tag:    v1.3.0

removed some undefined variable errors. However there are lots of them in edit.html, see bug 1344

commit a86ea57ddfb40d00301e966b3dbc6d9147cace5e
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 04:47:14 +0800
Tag:    v1.3.0

category list now sorted when adding entry, thanks to Bernard, bug 1010

commit 4bb0a732cc0a3c2f5aacfb16322b91b337d6fba7
Author: gustav_delius <gustav_delius>
Date:   Sun, 09 May 2004 02:56:45 +0800
Tag:    v1.3.0

got rid of undefined variables warnings

commit c9e29670779628fd4826e3ecb991e0f17a257de1
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 May 2004 23:56:37 +0800
Tag:    v1.3.0

fixed bug 990 which allowed students to see grades even when they were not supposed to by typing in the URL

commit c2ce7ea4d8778c4e871ac4cd8310f29c2d35c3e4
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 May 2004 22:48:02 +0800
Tag:    v1.3.0

maxlength set in textfields to avoid exceeding length of database fields

commit 274e05dbd57223fae8770f45a5394128e33d09b1
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 May 2004 01:48:02 +0800
Tag:    v1.3.0

fixed bug 1093 by applying clean_text to $forum->intro

commit 8644437d66e93144d75d0552c0f2613fefd84413
Author: gustav_delius <gustav_delius>
Date:   Sat, 08 May 2004 01:07:31 +0800
Tag:    v1.3.0

fixed bug 1037 by improving clean_filename()

commit af91aca09c5cab7d56a91db1db312a6e4e53992e
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 May 2004 20:36:52 +0800
Tag:    v1.3.0

block name is now 'Section links'

commit aff97c0b2e80c05300af742d06f6d68d538f7aaa
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 May 2004 03:16:46 +0800
Tag:    v1.3.0

a new block providing links to weeks/topics, see http://moodle.org/mod/forum/discuss.php?d=7648

commit fab178a10bbca05ae983346b0ec77b0c56ac7429
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 May 2004 03:02:25 +0800
Tag:    v1.3.0

add anchors to week/topics on course homepage

commit cc539b6aafe6f3d97c7c85b27badaf075e6e9915
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 May 2004 00:37:55 +0800
Tag:    v1.3.0

Updated CVS info in foreign language docs

commit f86aaab21c9f0d3fd19f1ea4b7efa44a1248b2be
Author: gustav_delius <gustav_delius>
Date:   Fri, 07 May 2004 00:30:12 +0800
Tag:    v1.3.0

It is possible to create weekly repeating events but it is not yet possible to edit or delete them together. Also it is now possible to specify the duration in minutes as an alternative to specifying the end time and date.

commit dcd338ffdc5e8153f6e72840dee8795ddca39e0c
Author: gustav_delius <gustav_delius>
Date:   Wed, 05 May 2004 15:07:56 +0800
Tag:    v1.3.0

Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden.

commit 6ff27f32af04bc7befbf05a769384a2def64b6e7
Author: gustav_delius <gustav_delius>
Date:   Wed, 03 Mar 2004 06:11:48 +0800
Tag:    v1.2.0

fixed a typo in the URL produced by the group menu on forum/view.php

commit 800578b7fe791352525aca3ff3441c65876b0cf9
Author: gustav_delius <gustav_delius>
Date:   Sat, 31 Jan 2004 05:44:44 +0800
Tag:    v1.2.0

increase mailed to number(2)

commit c7cdd6ec8294b4d792e90064a1b2d353dee9d55b
Author: gustav_delius <gustav_delius>
Date:   Sat, 31 Jan 2004 05:40:31 +0800
Tag:    v1.2.0

moved the database update code to where it belongs

commit 3d94772d47c2b4d17004245483e770f7ce76e24f
Author: gustav_delius <gustav_delius>
Date:   Sat, 31 Jan 2004 02:21:56 +0800
Tag:    v1.2.0

better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log()

commit 6077020a60f4abada684b26aaf105ff28afc5945
Author: gustav_delius <gustav_delius>
Date:   Fri, 30 Jan 2004 22:50:03 +0800
Tag:    v1.2.0

got rid of bad line endings

commit d7143408df911641624925752e325cfa68296462
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 04:34:54 +0800
Tag:    v1.2.0

replaced incorrectly closed html tags, see bug 365

commit 2e39d2f810401468e8a999b865e81b23e2b2ca21
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 03:37:04 +0800
Tag:    v1.2.0

minor fixes, including bugs 997, 998

commit 09b78a6b3d44c5ca428b23128d110c670a1720fe
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 03:05:09 +0800
Tag:    v1.2.0

removed empty lines, which for example messed up the display of the license terms

commit 8c0ef41d6a7c45e5c6ce0bfbfb06b745c42f2d0d
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 01:04:54 +0800
Tag:    v1.2.0

reset timelimit so that script does not get timed out when posting to many users

commit 33dd9a0bcf80865747da4ab6c888b1307e9e8750
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 01:02:22 +0800
Tag:    v1.2.0

added missing </center>

commit 9928b09e6eca3638ce29aebaeb7a9257e0b01526
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 01:00:12 +0800
Tag:    v1.2.0

added alt text to some icons

commit 0d0e550f8827bb0f70046fdb3eb9e9249e9e934f
Author: gustav_delius <gustav_delius>
Date:   Mon, 26 Jan 2004 00:50:49 +0800
Tag:    v1.2.0

apply filter_text to course summary