813 Commits

Author SHA1 Message Date
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
tjhunt
e2134c5ddc Following the fixes for MDL-14750 and MDL-10899, do a database upgrade that fixes any bogus values in the parent or category columns of multianswer questions' subquestions. 2008-05-09 15:50:44 +00:00
tjhunt
9ade28e57e MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database. This commit also fixes a regression introduced by the fix for MDL-5482. 2008-05-09 15:10:39 +00:00
tjhunt
7fb1b88dc7 MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767. 2008-05-09 15:05:36 +00:00
tjhunt
08121fadcb Problem when editing calculated questions when installed on Postgres. 2008-05-09 15:02:24 +00:00
tjhunt
a588d813cb MDL-14762 - find and update links to files in answer->feedback when moving questions between contexts. 2008-05-09 13:13:43 +00:00
tjhunt
994fbaabc9 MDL-14727 - Do a database update to fix random questions with the wrong parent (there may be some of these floating around in people's databases becuase of MDL-5482.) 2008-05-07 13:34:54 +00:00
tjhunt
3ff8a1877a MDL-5482 - Backup and restore problems for match, random and truefalse question types.
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:32:03 +00:00
tjhunt
0c9822268f MDL-14681 - Fix package name of question/update.php. 2008-05-06 07:34:46 +00:00
thepurpleblob
3f5633df11 MDL-14406
Ensure 'length' field for description type questions is 0 and that
default for all questions is 0

Merged from STABLE_19
2008-05-01 12:21:55 +00:00
scyrma
fca9088244 MDL-14588 - Prevent error message when calling function with null variable (merge from 1.9) 2008-04-29 03:30:01 +00:00
tjhunt
8e77884c4e MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix. Merged from MOODLE_18_STABLE.
At the same time, remove direct references to $_REQUEST and $_POST in this code.
2008-04-23 13:45:38 +00:00