838 Commits

Author SHA1 Message Date
tjhunt
9f9eec1ef0 MDL-15542 - Refactor quiz response processing into a separate processresponses.php. 2008-07-15 16:46:24 +00:00
tjhunt
b55797b8cc MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase. I was able to factor out some commonalities with review.php along the way. 2008-07-15 15:30:39 +00:00
tjhunt
e6099294d5 MDL-14413 - Invalid function name - is_image_by_extentsion in QTI export 2008-07-15 09:18:36 +00:00
tjhunt
cdfaa8386e Removing calls to depricated stripslashes. It is no longer needed with dmllib 2.0. 2008-07-14 15:29:30 +00:00
jamiesensei
04c8148a4f MDL-15102 "Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing." fixing a couple of typos which were causing errors. 2008-07-14 06:37:39 +00:00
thepurpleblob
fb2ce31bfc MDL-14431:
Moving qti2 to qti_two as numbers are not allowed in module names
2008-07-11 10:49:08 +00:00
thepurpleblob
fba84198e5 MDL-14431:
Changing name of qti2 format, as digits not allowed in module names
2008-07-11 10:47:19 +00:00
tjhunt
9289e44cd2 Fix developer debug warning about space in popup window names. 2008-07-10 17:20:27 +00:00
thepurpleblob
f94902db28 MDL-15008
Make question import/export formats fully pluggable, especially in respect of languages.
2008-07-10 15:06:19 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
thepurpleblob
79e3dd8e3c MDL-14431
Changing import/export help to be properly pluggable.
2008-07-09 13:07:29 +00:00
tjhunt
1b8b535dda MDL-11905 - Users with the capability to export questions may not have the capability to access backupdata. Therefore we need to change where question export files are stored. Merged from the 1.9 stable branch.
Note that once the file API is finished, this will have to be redone. I have created MDL-15573 for that.
2008-07-08 11:23:31 +00:00
thepurpleblob
e7ef42f531 MDL-15473
Fixed typo causing the image location to be ignored if the base_64 image is not included.

Mereged from STABLE_19
2008-07-07 11:54:39 +00:00
thepurpleblob
5ca9e32d97 MDL-13010
Now correctly checks for category context id and does not fail if it isn't there.

Merged from STABLE_19
2008-07-03 14:50:30 +00:00
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