824 Commits

Author SHA1 Message Date
tjhunt
373f0afd24 MDL-15494 - No allowance for the possibility that something might go wrong when processing the response to a question. 2008-07-01 13:34:09 +00:00
sam_marshall
2bc710366d MDL-14679 minor dml conversion errors in quiz backup 2008-07-01 13:19:24 +00:00
tjhunt
7ddafd1bc8 Another unit test. 2008-07-01 10:54:55 +00:00
tjhunt
b10c38a37b MDL-15452 - ongoing - Put the OU quiz navigation improvements into the Moodle codebase
* Javadoc comments for most of the code I committed on Friday.
* Implement the get_question_status method.
* Along the way, refactor duplicated logic between two of the question types, questionlib, and the new code - removing inconsistency while doing so.
2008-06-30 16:56:49 +00:00
tjhunt
5e581dd487 MDL-15139 - Cannot create Random Short Answer questions becuase the validation code is buggy. Fix thanks to Paul-Andre Chasse. 2008-06-26 13:13:06 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
jamiesensei
01f3ba1350 CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB. Ooops, and adding DB as global variable in method. 2008-06-21 16:35:26 +00:00
jamiesensei
c9f4940e64 CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB. 2008-06-21 16:33:55 +00:00
pichetp
ea632e8846 closing properly questions <label> i.e. adding </label> line 459-61 when some errors 2008-06-19 01:43:52 +00:00
tjhunt
1f5645bc57 MDL-15290 - Missing question types not handled properly on backup. 2008-06-18 14:29:37 +00:00
nicolasconnault
0d03d6be5b CONTRIB-490 Adding support for generation of test calculated question type (thanks Pierre Pichet) 2008-06-17 12:08:53 +00:00
thepurpleblob
169d0efa6c MDL-MDL-15173
Remove obsolete coursetestmanager format to contrib
2008-06-16 14:39:44 +00:00
jamiesensei
455c3efa13 MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" oops ought to give that function name a 'question_' prefix 2008-06-16 13:59:30 +00:00
jamiesensei
6f51ed72be MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" added method random_guess_score to question type objects and a new function in questionlib that calls the question type method. 2008-06-16 13:29:00 +00:00
pichetp
c4d18bdd5c MDL-15123 adding <br/> to align new
correct response-true value diagnosis in in datasetitems_form.php
2008-06-16 03:05:35 +00:00
pichetp
1d9ed69813 MDL-15123 Using true value limits to grade responses 2008-06-16 00:49:43 +00:00
dongsheng
bd8ee7c1c4 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +00:00
dongsheng
fd9f6cd330 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +00:00
dongsheng
d9f30321da "MDL-14129, fix print_error" 2008-06-15 11:07:51 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
pichetp
857caf3b69 MDL-14625 more tolerant to missing subquestions 2008-06-15 03:47:04 +00:00
thepurpleblob
e5d7d1dc02 MDL-15229
Fixed incorrect options array for DB call
2008-06-13 10:52:58 +00:00
nicolasconnault
b9bd6da4f8 CONTRIB-490 Added support for scripted generation of questions. Calculated type not yet supported (datasets too complicated ;) 2008-06-12 09:15:16 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault
9cf4a18b41 MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
pichetp
fbcd080be9 MDL-15102 $questionid is the id so array($questionid) line 337 2008-06-07 12:28:32 +00:00
nicolasconnault
f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +00:00
skodak
bae736241a MDL-15095 core backup/restore conversion finished 2008-06-04 20:51:02 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
pichetp
2da119601a MDL-15068 novirtualquestiontype string 2008-06-02 11:02:50 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
534792cd82 MDL-14679 removed all instances of get_records_select_menu() 2008-06-01 15:52:12 +00:00
skodak
44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
tjhunt
c0ffeb3969 MDL-14764 - Imported multichoice questions may have a blank answernumbering value, which results in an "ERR" prefix to all answers' text. Thanks to Nate H for the fix. 2008-05-27 13:42:27 +00:00
tjhunt
5412cd289a MDL-14593 - delete icons in the question bank do not work. This was a regression caused by part of the fix for MDL-13982. I hvae reverted that bit for now, pending a better solution. 2008-05-27 10:35:13 +00:00
jamiesensei
720be6f2c3 MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name"
Also added a drop down box to select question to mark instead of the viewquestions table. The drop down box is available at the top of every page, but only if there is more than one manually gradeable question in the quiz. If there is only one question it is automatically selected for marking.

Also added a new constant QUESTION_EVENTS_GRADED during a general refactoring of UI code in grading report and some improvements to efficiency of SQL in report.

Merged from Moodle 1.9 branch
2008-05-26 11:39:51 +00:00
dongsheng
0be2c85848 "MDL-14129, fix print_error call" 2008-05-21 07:53:23 +00:00
dongsheng
64e71d27b6 "MDL-14129, fix print_error" 2008-05-21 06:04:30 +00:00
dongsheng
0b4f4187a2 "MDL-14129, fix print_error" 2008-05-21 05:07:37 +00:00
tjhunt
949c59ace0 MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0. 2008-05-20 17:09:40 +00:00
dongsheng
2471ef8650 "MDL-14129, fix print_error" 2008-05-20 03:09:35 +00:00
pichetp
907a375942 MDL-14054 Display of correct answers in the popup window already use for feedback 2008-05-18 17:22:41 +00:00
pichetp
df79079f49 MDL-1625 Make multianswer questions more tolerant if one of the subquestions is missing 2008-05-18 15:23:17 +00:00
tjhunt
ed5ba2df55 MDL-14750 - followup - make the code robust in the case their are broken questions in the DB. 2008-05-15 16:05:47 +00:00
skodak
6751698058 MDL-14451 removed pre 1.9 upgrade code 2008-05-14 23:35:00 +00:00
skodak
42519b5d7e MDL-14451 removed 1.4 compatibility code 2008-05-12 22:56:48 +00:00
tjhunt
e4cdf3fb2c MDL-10899 - followup - need to move random questions too. 2008-05-12 15:59:05 +00:00
skodak
dd1e295528 MDL-14451 removed pre 1.9 upgrade code - question upgrade related 2008-05-11 19:03:24 +00:00