Git commits in Moodle 1.8.0 by tjhunt

commit 696b50fff2aac139310fe59477bff0800f4f0003
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 18:17:20 +0800
Tag:    v1.8.0

Small code cleanup to fix an obscure warning. If you got an error in the middle of creating a quiz attempt, you could get an attempt with no states. Then that caused an error when the attempt was deleted. Merged from MOODLE_17_STABLE.

commit 3849917982cbe2d539e0b468bc859c4e9c4b2a57
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 17:34:11 +0800
Tag:    v1.8.0

Fix notice. Merged from MOODLE_17_STABLE.

commit c9666935af52f5e126de82fc3d1a97c6eac2fdf1
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 07:11:47 +0800
Tag:    v1.8.0

MDL-9107 (regression from) MDL-8994 - adding random questions to a quiz was broken.

commit f81b4b1a1b08e8e46698069db265ce20939fd145
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 07:00:44 +0800
Tag:    v1.8.0

MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form. Manual merge of the corresponding change from MOODLE_17_STABLE.

commit 989f2ccd472c89a338a29c7291883ce9fbd2510d
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 06:09:35 +0800
Tag:    v1.8.0

Putting back print_box in 1.8.

I know, I cocked up and committed a print_box in 1.7 when I backported something. In 1.7, that function does not exist. Thanks toAndrea Bicciolo for fixing it. But in 1.8, print_simple_box has been deprecated.

commit fa62c456eb0a235b225368aae7985cea82479d5e
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 00:35:55 +0800
Tag:    v1.8.0

MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:

commit cca01e1519629c4f1a1f52f8ca1b2023981e7ff9
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 00:06:13 +0800
Tag:    v1.8.0

Add developer debugging to something that should not happen, and fix one instance of it. Backported from HEAD.

commit 6df629681210912777a7b2cd8a897e5937c83178
Author: tjhunt <tjhunt>
Date:   Thu, 29 Mar 2007 00:57:05 +0800
Tag:    v1.8.0

MDL-9061 - Only show global assign roles warning if you are assigning roles in the global context! Also, change name of admin menu entry to reduce confusion.

commit 9e6f284ae67b68fa0f228844b49a5b9bfae516bb
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 07:01:45 +0900
Tag:    v1.8.0

Followup to MDL-8994 - validate the category id we got from the form.

commit 3c8c7ad245816bac23cb98ea996a08946408385b
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 06:31:33 +0900
Tag:    v1.8.0

MDL-7241 - Manual grading report, sort by completed time didn't. Merged from MOODLE_16_STABLE.

commit acccc0148bd2df00f24ae187aa182e8465b0e862
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 01:43:56 +0900
Tag:    v1.8.0

Make debugging more helpful by printing a full stack trace.

commit 79dc9d16bedf85263c8a315bc6a7eb9ae0830bc7
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 20:46:03 +0900
Tag:    v1.8.0

MDL-9004 - Breadcrumb trail is wrong when editing a quiz question.

commit 66adefcbf613c61a3bedb77d68dd1b7d8b0a0fb8
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 09:10:32 +0900
Tag:    v1.8.0

MDL-8994 - Question category selector on the question type editing forms is ignored.

commit c01c3954af211159f6118501ac00851ce7d54bf7
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:25:27 +0900
Tag:    v1.8.0

MDL-7259 - Item analysis report does not use the right format_text settings. Merged from MOODLE_16_STABLE.

commit c48ca9308f846bf83c3c286766eec2fb3640ca82
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:04:35 +0900
Tag:    v1.8.0

Fix whitespace problems and Eclipse warnings in Item Analysis quiz report.

commit fe4acc87a00c1c129fbc015f7753c9320fa4fb1a
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 02:12:38 +0900
Tag:    v1.8.0

Improve string handling in the question type base class.

commit aff7b7bd00c775ed1989d07de8f393d37e6f54b8
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 19:40:35 +0900
Tag:    v1.8.0

MDL-8946 - Fix a regression that broke question export.

Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz.

Some other miscellaneous code cleaning too.

commit 1d3301fc3df01d112129d7638b8609e2eacbce3e
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 09:16:55 +0900
Tag:    v1.8.0

MDL-8978 - Regression from MDL-6386. Merged from MOODLE_16_STABLE.

commit 52742e6f055c383a9d9022f80cf19144e54695ef
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:45:04 +0900
Tag:    v1.8.0

MDL-8299 - Wrong capability on review.php. Merged from MOODLE_17_STABLE.

commit f9cecaf2f152c66e7af2bd174d75d816fa1f240c
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:23:50 +0900
Tag:    v1.8.0

MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1. Effectively the same fix as just applied to MOODLE_1.7_STABLE.

commit 7f1908567b4a26a4b1931f302b32f177a0bba8b7
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 00:06:33 +0900
Tag:    v1.8.0

MDL-4084 Backup all question categories in a course, not just the ones from which questions are used in a quiz.

commit 1043fa2dffb24c4648c4b8eceef9ba2dbeaab300
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:31:16 +0900
Tag:    v1.8.0

MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. Backported from HEAD.

commit 900022293b5aba307a1b57863af0e5b12aa15182
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:07:00 +0900
Tag:    v1.8.0

Matching qestion type was failing to correctly determine wheterh the student had changed their answer.

commit 81cdbf08e903c98cf847ca81c1f967500efdc922
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:59:15 +0900
Tag:    v1.8.0

MDL-6462 - Cloze (multianswer) question special character issues. Merged from MOODLE_16_STABLE.

commit a2b74a93004045d15f19402826a5906c820d90f2
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:53:03 +0900
Tag:    v1.8.0

Fix notice.

commit 5dc53c6b7b817cd43ee6e5207e1b3ab00bc06175
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:24:04 +0900
Tag:    v1.8.0

MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. Merged from MOODLE_17_STABLE.

commit f0d2d9ae0c27d0c7dfdbed037adfa19ed9bfee6b
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:10:49 +0900
Tag:    v1.8.0

Oops, reverting. Eloy had already fixed it.

commit 7a43fb909ba5063066b540f37aaa6c1904703069
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:08:04 +0900
Tag:    v1.8.0

MDL-8232 - can't use = on TEXT colums with MSSQL - was breaking numerical question type upgrade. Merged from MOODLE_17_STABLE.

commit 77f814a368f11d5b610850f5c9d7cae3f77b3b85
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 05:14:48 +0900
Tag:    v1.8.0

MDL-8772 - Use the same list of places to search in get_string and help.php.

commit 04bfc2247d8aa4211ec34bf8128c3986e456c92b
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 00:29:22 +0900
Tag:    v1.8.0

Notice when a student attempts a quiz, because there are no tabs to display.

commit c2f3c09b3b689735584eee235f86cf9cbaa2dcfd
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 20:33:01 +0900
Tag:    v1.8.0

Fix typo

commit 4f510e2ec82c2b83d001cf9c26f87e4eaa95f14a
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 02:43:03 +0900
Tag:    v1.8.0

Eliminate bizarre use of function_exists.

commit 803b4bf64c22f2cb7d2cadaf332c45455545073e
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:27:56 +0900
Tag:    v1.8.0

Entity decoding only done the right number of times on import, not once too often. Also, fix a notice and and Eclipse warning. Backported from HEAD.

commit 775db8e809cf9c1a64ea0e66764bd46e6668dba0
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:24:42 +0900
Tag:    v1.8.0

Use the right string processing when outputting question text on import/export. Backported from HEAD

commit 758594946630506631741084057b5c83fa64cac2
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:20:58 +0900
Tag:    v1.8.0

Use the right string processing functions when outputting question names. Backported from HEAD

commit 6365af1cf6d77b57301e8975642978f83834cbdd
Author: tjhunt <tjhunt>
Date:   Sat, 10 Mar 2007 09:33:34 +0900
Tag:    v1.8.0

MDL-8177 - Random questions selected deleted questions.

commit b978bf3a875fb9be7d7eaecffdd6c5929b9c2439
Author: tjhunt <tjhunt>
Date:   Fri, 09 Mar 2007 23:33:43 +0900
Tag:    v1.8.0

Groups upgrade fails if you have groups defined, but none of them contain any members.

commit 3b563f5893b33a0797fb51c7ae1e012ad4e00709
Author: tjhunt <tjhunt>
Date:   Wed, 07 Mar 2007 03:00:13 +0900
Tag:    v1.8.0

MDL-8349 - responses not being filtered in history display.

commit b332877b9663d7a7eafaf13ec667b1ebcdac50da
Author: tjhunt <tjhunt>
Date:   Tue, 06 Mar 2007 16:57:13 +0900
Tag:    v1.8.0

Add a couple more plugin types to get_string that Martin missed yesterday.

commit 196b6f391808f429b0e6526ab71752cc7633acf8
Author: tjhunt <tjhunt>
Date:   Tue, 06 Mar 2007 03:05:39 +0900
Tag:    v1.8.0

MDL-8764 - In menus, show question categories from this course first, then published categories from other courses.

commit c34b9b9c9785fa7cf56c24aa970b50754ec56b28
Author: tjhunt <tjhunt>
Date:   Fri, 02 Mar 2007 01:41:50 +0900
Tag:    v1.8.0

Make error messages non-ambiguous.

commit 3ee2c02ec3288a415e71d1ec369ff1eef34e7fba
Author: tjhunt <tjhunt>
Date:   Fri, 02 Mar 2007 01:41:43 +0900
Tag:    v1.8.0

Make error messages non-ambiguous.

commit 7c1fb231562f449925e03e5add838c74aacfd25d
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 18:45:19 +0900
Tag:    v1.8.0

MDL-6773 - eliminate duplicate code for getting a list of question categories.

commit 28e9a6e43c4cee4f39e37203d9d022a6daf87a25
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:18:14 +0900
Tag:    v1.8.0

When restoring numerical questions, don't create duplicate unit definitions.

commit 1d0a5c8ff536f164c24297c0216f06c6757ae7d2
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:16:44 +0900
Tag:    v1.8.0

Improve validation code to match the recent improvements in shortanswer validation.

commit 19623c973c33027d83b30cd5eb4477b42eef52a2
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:15:23 +0900
Tag:    v1.8.0

Minor improvement to validation code.

commit 76b58ae598cc50cb4950050a9d21f063784d47bf
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:35:02 +0900
Tag:    v1.8.0

XHTML Strrrrrrict!

commit 6fce318ec5d01a9d45a2a90bc8ef361e2e339b4d
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:21:41 +0900
Tag:    v1.8.0

Bug with editing essay questions.

commit e3455f160aaf218fcf1e4a549075871c74b64a87
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:16:12 +0900
Tag:    v1.8.0

Remove CVS conflict markers.

commit 95e5c19295bb2bd35fa3dae7532905b986a36094
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:11:54 +0900
Tag:    v1.8.0

Remove CVS confilt markers.

commit 34949d8dcb3dbfa751342e75cc787e7b7a0dec40
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 21:24:39 +0900
Tag:    v1.8.0

XHTML Strrrrrrict! on quiz module config page.

commit 1589c98c56403edf68931dc877c52cdf612b1562
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 20:34:36 +0900
Tag:    v1.8.0

Correct logic for stopping people using guest access from doing quizzes.

commit 41d7faf891d67c1132420b32f4b10d36265af3bb
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 01:20:14 +0900
Tag:    v1.8.0

MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph Rzeau.

commit ecec5caee80a1125db40225b930b064a8842ec31
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 01:20:11 +0900
Tag:    v1.8.0

MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph Rzeau.

commit 7a201b247ec855cc90066a6c9aece6dcf455b77c
Author: tjhunt <tjhunt>
Date:   Tue, 27 Feb 2007 22:59:10 +0900
Tag:    v1.8.0

Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.

commit 1c63d8955ddd87f410156d2ef5e1e4ed7dfb0b14
Author: tjhunt <tjhunt>
Date:   Wed, 21 Feb 2007 00:18:22 +0900
Tag:    v1.8.0

Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller. Merged from MOODLE_17_STABLE.

commit 56e1965f4ff75c7aecc12beff81840b368a8d678
Author: tjhunt <tjhunt>
Date:   Tue, 20 Feb 2007 10:46:01 +0900
Tag:    v1.8.0

MDL-4793 - Option to show question text in the question bank.

Also, fix layout problems on the quiz editing screen.

commit 872964f14047f4c56ccc67aba8b5908a72c3efa0
Author: tjhunt <tjhunt>
Date:   Mon, 19 Feb 2007 13:24:02 +0900
Tag:    v1.8.0

MDL-8145 - Add more options to the add random questions dropdown.

commit 3ca50b0dd3bc09c5140d3107c30e9f8d476bbf3e
Author: tjhunt <tjhunt>
Date:   Sun, 18 Feb 2007 02:16:50 +0900
Tag:    v1.8.0

MDL-8154 - Typo in course search code. Fix thanks to Anthony Borrow.

commit a95cd8a650edd5ae64ebd42e88bd12b267eea679
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jan 2007 20:09:32 +0900
Tag:    v1.8.0

Get the alt text for the question type icon in a better way.

commit f07d1d319716a0b381ece29435c72999a798f778
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jan 2007 21:35:29 +0900
Tag:    v1.8.0

When editing some question types, the options get jumbled up.

commit 09f7fa1183edc3756eff2fde1a03a307df37b618
Author: tjhunt <tjhunt>
Date:   Sat, 27 Jan 2007 02:52:23 +0900
Tag:    v1.8.0

Missing serf_default on decimal points field.

commit 627c9eae47875c6762c44b716171e4cba336cb88
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 19:07:05 +0900
Tag:    v1.8.0

Missing space.

commit 7f60ca5ec5a77825e586ee847671b3e5c2d6241e
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 18:59:13 +0900
Tag:    v1.8.0

correct icon path to use $CFG->pixpath.

commit 901011fd4d1539475b883ba10f3473a63661a419
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 02:38:51 +0900
Tag:    v1.8.0

MDL-8205 - Layout of quiz editing screen not right

commit bb006c95cc57f6a9425d778ac46418b812076f86
Author: tjhunt <tjhunt>
Date:   Thu, 18 Jan 2007 21:55:46 +0900
Tag:    v1.8.0

Fix broken JS.

commit 4f390427d58d4e9ce5cdc4fba1e2bdb04f33ff26
Author: tjhunt <tjhunt>
Date:   Thu, 18 Jan 2007 02:29:08 +0900
Tag:    v1.8.0

Minor problem with restoring numerical questions.

commit 7ca455cd56990931db2f7cdcd9a75720689e1579
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 23:54:55 +0900
Tag:    v1.8.0

The way mulit-response questoins show the right answer is a bit confusing.

commit 069a820a7e0a07e0600b443563c77c7ffa6590e1
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 19:31:36 +0900
Tag:    v1.8.0

Matching question rigth/wrong answer indication is broken.

commit ab6803a97c8d63795bbe622e50fbbe2f2065b27c
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 03:01:02 +0900
Tag:    v1.8.0

missed defaults_reprocessing to data_preprocessing

commit f38ceee677376699f29c9780e8cda70cd20e7597
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 02:51:05 +0900
Tag:    v1.8.0

Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.

commit d7933a55c8c057b07589cd4c32b78324bba554d6
Author: tjhunt <tjhunt>
Date:   Sat, 13 Jan 2007 03:30:27 +0900
Tag:    v1.8.0

Fix notices from admin_setting_configmultiselect when no options are selected.

commit b3170072129d93cf3427b08ae1019decf2465d0e
Author: tjhunt <tjhunt>
Date:   Sat, 13 Jan 2007 03:03:36 +0900
Tag:    v1.8.0

MDL-8165 - Admin setting to control which roles are synced to metacourses

commit a840456731e41b1fc9e2745d9a65d203be3b816b
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jan 2007 21:20:21 +0900
Tag:    v1.8.0

MDL-7496 - for numerical and short answer questions, the student was being told they were 'incorrect' before they had even had a chance to enter an answer!

commit 47cdbd1f6487acf23b8bd973e6fb67dc559aa735
Author: tjhunt <tjhunt>
Date:   Thu, 11 Jan 2007 21:18:10 +0900
Tag:    v1.8.0

Question session state logic improvement - if students have not yet entered an answer, don't do an EVENT_SAVE.

commit 9e93222df27db6cf72efa677271a1667ce9a418b
Author: tjhunt <tjhunt>
Date:   Sat, 06 Jan 2007 01:46:28 +0900
Tag:    v1.8.0

questioncategory formslib.php form control.

commit 36703ed7253c9633c4db06df569bcfd849c6a821
Author: tjhunt <tjhunt>
Date:   Sat, 23 Dec 2006 00:39:40 +0900
Tag:    v1.8.0

MDL-8003 - part - Use formslib for question editing forms

commit 9dae915acbbc4896b4d98e03dc8a37e92f572a48
Author: tjhunt <tjhunt>
Date:   Fri, 22 Dec 2006 22:29:20 +0900
Tag:    v1.8.0

New param type: PARAM_NUMBER, for floating point numbers.

commit 77ed3ba5fd5a177ded1659019c15f0ba20c38a05
Author: tjhunt <tjhunt>
Date:   Fri, 22 Dec 2006 21:52:13 +0900
Tag:    v1.8.0

MDL-8002 - Don't show overall feedback for incomplete quiz attempts. Also, cleanup of mod/quiz/index.php

commit 3246ed335d2a9125f43f995807103bf9e9477d8c
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 03:07:49 +0900
Tag:    v1.8.0

MDL-7975 - Make import and export of truefalse questions more reliable. Merged from MOODLE_17_STABLE.

commit 09db6da231412e446984075bfd3da83ebd8127fe
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 01:38:58 +0900
Tag:    v1.8.0

MDL-7972 - improve GIFT import export for truefalse questions. Also clean up whitespace in question/format/gift/format.php. MDL-7928 - Numerical question type should use * for the match anything answer - GIFT format part. - Merged from MOODLE_17_STABLE.

commit 55894a4205c73d10a3a3df69140833c7cee01d65
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:30:39 +0900
Tag:    v1.8.0

MDL-7928 - Numerical question type should use * for the match anything answer. Merged from MOODLE_17_STABLE.

commit 0dae5d33a76f37581205ec5f03bfcda1f5f895ae
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:23:31 +0900
Tag:    v1.8.0

MDL-7926 - set_field_select function. Merged from MOODLE_17_STABLE.

commit 828df720a25189fea0b8b30d126309778da67321
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 00:41:56 +0900
Tag:    v1.8.0

MDL-7925 - description question types were being created with defaultgrade = 1. It should be zero, so fix the bug, and reset any wrong ones in the database. Merged from MOODLE_17_STABLE.

commit 9016b062e71fe757d6de1b701a1cde07e31ecb87
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 17:58:53 +0900
Tag:    v1.8.0

MDL-7602 - Multianswer question type only works with invalid HTML. Merged from MOODLE_17_STABLE.

commit bb080d2046f42aa5770bd19bdb044cd09ade4633
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 08:46:15 +0900
Tag:    v1.8.0

MDL-7896 - error from random question type in adaptive mode. Merged from MOODLE_17_STABLE.

commit f4b7d5a3f9e60e10710e120a9a421d248345c8c7
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 02:12:04 +0900
Tag:    v1.8.0

Restore notices.

commit 1ff4cfaf6a0fc2ddc50458c64fc3f9499cf9ae18
Author: tjhunt <tjhunt>
Date:   Mon, 11 Dec 2006 23:03:01 +0900
Tag:    v1.8.0

MDL-7886 - typo in overview report javascript.

commit fb6179a16cfa81d7fc6728b7548d2a65e7a48567
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:47:40 +0900
Tag:    v1.8.0

MDL-7804 - Essay questions do not backup properly. Merged from MOODLE_16_STABLE.

commit 2e0ed03e5ed4180de4a6091a8ec3c9e9ee386b00
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:42:39 +0900
Tag:    v1.8.0

Fix error when restoring into a newly created course. The course files folder may not exist yet, so need to do a recursive directory create.

commit 89475b805d644e3b56e96cc1b88a5ce99d28eecd
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:38:56 +0900
Tag:    v1.8.0

Fixed notice when restoring a backup file that was created with Users: none.

commit b036f941e3e3f8eb2508f519d2ae8d7832509787
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:34:29 +0900
Tag:    v1.8.0

There was some random code between two functions definitions that was giving errors on restore. I assume it was just a copy and paste error, so I have deleted the offending lines so that restore works.

commit edea4db46b8d83b3102e672c76c25a4691e5af66
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:14:57 +0900
Tag:    v1.8.0

Add $level parameters to each backup method. Merged from MOODLE_17_STABLE.

commit f60774823f02f4a9808f44b51d96a89ef256c408
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:21:40 +0900
Tag:    v1.8.0

MDL-7719. Merged from MOODLE_17_STABLE.

commit 6542b1ecfe0ec3bfc42e184f07ee6e8f02b3c762
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:08:00 +0900
Tag:    v1.8.0

Typo in help. Thanks to Ken Wilson.

commit f725489c9a353c9f25b2a7aa770f2352dfbbfd7d
Author: tjhunt <tjhunt>
Date:   Mon, 04 Dec 2006 20:54:48 +0900
Tag:    v1.8.0

Typo. Merged from MOODLE_17_STABLE.

commit 485349ddf29758d10d517af4dc0403c40c887399
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:44:18 +0800
Tag:    v1.8.0

MDL-7720 - non-unicode-safe case-insensitive string comparison in shortanswer question type. Merged from MOODLE_17_STABLE.

commit 2962ad61e4a2b474bcb12889b2dfae0a4873a9f4
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:42:18 +0800
Tag:    v1.8.0

Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences. Merged from MOODLE_17_STABLE.

commit 536a64021875b908d743a0c00866229a895f4ba2
Author: tjhunt <tjhunt>
Date:   Sat, 25 Nov 2006 02:52:16 +0800
Tag:    v1.8.0

Minor tweak to fieldset styles.

commit 115faa2f7bd22729f9b53cbdf53573c90cb9299d
Author: tjhunt <tjhunt>
Date:   Tue, 21 Nov 2006 01:47:30 +0800
Tag:    v1.8.0

Fix column names.

commit 123545bc4fe2c0f30aed035fd2786458d01981d7
Author: tjhunt <tjhunt>
Date:   Tue, 21 Nov 2006 00:45:24 +0800
Tag:    v1.8.0

MDL-7607 - sync_metacourse is unnecessarily slow

commit 6a126d3c3fee9ebec2885748cd4cfff9c3b6720c
Author: tjhunt <tjhunt>
Date:   Mon, 20 Nov 2006 05:28:15 +0800
Tag:    v1.8.0

Fix function arguments.

commit bdf84aca924c26a58c193da03a595f725d003c3b
Author: tjhunt <tjhunt>
Date:   Fri, 17 Nov 2006 00:46:11 +0800
Tag:    v1.8.0

Typo in function name. Merged from MOODLE_17_STABLE.

commit f2603dcc8987bc17d611501fb049cff528d133e7
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 20:43:10 +0800
Tag:    v1.8.0

MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix. Merged from MOODLE_17_STABLE.

commit 84bf852c1b4aa50fac2ee13437f933280167e9bf
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 01:32:49 +0800
Tag:    v1.8.0

MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded. Merged from MOODLE_16_STABLE.

commit a4d79b0eb5a9e1cbf257fb38232bc3d8f4988171
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 00:58:44 +0800
Tag:    v1.8.0

MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE.

commit 1492a48f3cb6f02a07818428f259d68f7b645c34
Author: tjhunt <tjhunt>
Date:   Wed, 15 Nov 2006 20:59:49 +0800
Tag:    v1.8.0

MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x. Merged from MOODLE_16_STABLE.

commit f9c92efef365b5a3d2e68775196fac022814e15a
Author: tjhunt <tjhunt>
Date:   Tue, 14 Nov 2006 23:41:20 +0800
Tag:    v1.8.0

MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix. Merged from MOODLE_17_STABLE.

commit 9c23d3e8d6422b6630f4645a0cd1ddfd52f401e0
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 23:13:47 +0800
Tag:    v1.8.0

Improved help file as per Ralf Hilgenstock's suggestion: http://moodle.org/mod/forum/discuss.php?d=57400. Merged from MOODLE_17_STABLE.

commit ee6c93555f5029f0367988e7f0611617de745c43
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 20:06:52 +0800
Tag:    v1.8.0

MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php. Merged from MOODLE_17_STABLE.

commit dfa924cc99f45b1553ec6c5643d46a79e515df85
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 19:59:54 +0800
Tag:    v1.8.0

Make the close_window function better. Merged from MOODLE_17_STABLE.

commit d84d379e97ff54fa826d8c7c6d69d496904f9247
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:47:34 +0800
Tag:    v1.8.0

Fix junk being output before print_header, which happened sometimes. Merged from MOODLE_17_STABLE.

commit d48b2c3f329e7116b74d7fe57b66ba2e4323938a
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:47:26 +0800
Tag:    v1.8.0

Add return option to notify(). Merged from MOODLE_17_STABLE.

commit 99aa18808fd7f88cb8e97ec9a74ca6a0b2b4922f
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 00:35:53 +0800
Tag:    v1.8.0

Make General feedback more tolerant of whitespace. Merged from MOODLE_17_STABLE.

commit ef95c65ed113b91f6b5823e034f6eebb445d6404
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 19:54:17 +0800
Tag:    v1.8.0

Fix problem with multichoice question grading. Merged from MOODLE_17_STABLE.

commit f6bde593c7f9168b2d252e276e05bfd1f91b75ca
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 18:24:04 +0800
Tag:    v1.8.0

Missing addslashes. Merged from MOODLE_17_STABLE.

commit 95ac8a4039e91f842ac90e4ec94a5810532f4c39
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 07:23:18 +0800
Tag:    v1.8.0

MDL-6315 - Manually grading a question 0 marks was not being registered. I took the opportunity to clean up the logic in this function a bit. Merged from MOODLE_16_STABLE.

commit 9a8b42c981081005932bc4ecbb3d945fac59b030
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:17:17 +0800
Tag:    v1.8.0

MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE.

commit 6a00f57926b2f56a8ea92f54c8cd0bd98d65fd5b
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:01:23 +0800
Tag:    v1.8.0

MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau. Merged from MOODLE_16_STABLE.

commit bc649d80d5f94054150849adb7890c51b74e9534
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 05:45:19 +0800
Tag:    v1.8.0

MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE.

commit ad6e05238f01dd05774ed8dedf537caa017268f9
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:58:09 +0800
Tag:    v1.8.0

MDL-6760 - cannot insert the string 'null' into the database. You can now. Merged from MOODLE_17_STABLE.

commit 026bec73b8a8f5c9ace5b1a4f27941e5b2368881
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:56:52 +0800
Tag:    v1.8.0

Fix bug with numerical questions with multiple answers. Merged from MOODLE_17_STABLE.

commit 172f6d95e14591dc43016448f17e7dc6873b41f7
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 18:56:35 +0800
Tag:    v1.8.0

Fix bugs with GIFT import. Merged from MOODLE_17_STABLE.

commit 879caa5172a7cc093e450dfae38cc42c33d2a975
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 23:23:54 +0800
Tag:    v1.8.0

Make things a bit more robust. Sorry, I can't remember exactly what the problem was that this fixed any more. It has been sitting around for a couple of weeks and I had forgotten to commit it.

commit 255940908163b47eb9f6ee89c7e300bcbf4e1b7f
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 22:54:55 +0800
Tag:    v1.8.0

Changes to dmllib seem to have broken quiz backup. This makes it work again. Merged from MOODLE_17_STABLE.

commit 7c9d46c96eb04723e17d1713916c1551a96ffcd2
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:40:26 +0800
Tag:    v1.8.0

Related to MDL-6249 - unit tests for address_in_subnet. Merged from MOODLE_17_STABLE.

commit df90796155338021cf502da8c8f54047c00d2d75
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:38:36 +0800
Tag:    v1.8.0

MDL-6249 - easier way for human beings (as opposed to network engineers) to specify IP ranges. Merged from MOODLE_17_STABLE.

commit 3a3771d2b931b4da800bd43d3af9b5ff2376c181
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 19:05:45 +0800
Tag:    v1.8.0

MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link. Merged from MOODLE_17_STABLE.

commit fdc8e778d593cdcc400b0e0c9f88f6539650d501
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 18:14:45 +0800
Tag:    v1.8.0

MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. Merged from MOODLE_16_STABLE.

commit 014094c42decfef764349c71a079d30df613d826
Author: tjhunt <tjhunt>
Date:   Thu, 12 Oct 2006 00:30:51 +0800
Tag:    v1.8.0

Take out 8) smiliey that interfeers with ligitimate content like (1998). Merged from MOODLE_17_STABLE.