Commit Graph

112 Commits

Author SHA1 Message Date
samhemelryk 458eb0d10c overlib MDL-19735 Overlib is now included only where it is used
At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
2009-09-17 07:46:20 +00:00
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
tjhunt 4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
nicolasconnault 6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
stronk7 577ba35087 MDL-19350 upgrade blocks - adding missing savepoints to question types 2009-06-03 17:27:07 +00:00
stronk7 74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
fmarier 316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
tjhunt 4d41f4eee8 Add missing Id tags to all files under question, to help the unmerged files script. 2009-02-19 01:09:44 +00:00
tjhunt 24e8b9b684 question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174
These are all to do with the combination of the $form->category, and $form->categorymoveto fields on the question editing forms since Moodle 1.9. These are now resolved to a single ->category value in question.php, which simplifies the logic for the individual question types.

MDL-15774 and MDL-12719 errors editing Cloze question
MDL-17105 problems with qustion saving logic.
MDL-18174 'Select from subcategories' option not preserved when editing a random question.
2009-02-13 06:11:42 +00:00
pichetp 103a800d67 MDL-17995 replacing is_null() by empty(). 2009-01-26 01:21:58 +00:00
pichetp 8795a5ae25 MDL-17995 replacing $wrapped !='' by !is_null($wrapped)
MDL-17857 Allowing multianwer (Cloze) question to have a 0 default grade as other question types
2009-01-25 14:49:02 +00:00
pichetp 0bddf4b6ac Displacing <label> to enclose correctly answer text in question display
so no possible XML problem.
Cleaning comments
Better handling of empty responses when grading,
2008-11-29 15:02:27 +00:00
jamiesensei 2280e147c5 MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.

Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
2008-11-28 10:14:19 +00:00
pichetp fd97082c59 MDL-17264 Adding control of usecase for the shortanswer type using SHORTANSER_C or
SAC or MWC
2008-11-24 04:10:43 +00:00
pichetp e95d204d9a MDL-14763 remove automatic numbering of multichoice vertical or horizontal display 2008-11-12 07:02:25 +00:00
pichetp 665e82f8f8 MDL-14763 new lang strings and MDL-17134 2008-11-10 19:47:49 +00:00
pichetp 2605364117 MDL-17104 and MDL-17105 unused old questions are deleted more correclty and take in
account that the actual questiontype/save_question() create a new question when categorytomove
 is not set..
2008-11-09 21:55:58 +00:00
tjhunt 8409cec0df qtype database definitions: MDL-16978 Lots of foreign key definitions in install.xml files erroniously link to the questions table. It should be question. 2008-10-23 07:30:12 +00:00
jamiesensei 869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
pichetp 5967aa032d Improving multichoice display MDL-14763: cleaning code from echos and print_r 2008-09-03 18:24:10 +00:00
pichetp e5ebbd53d4 Improving multichoice display MDL-14763 2008-08-18 18:31:31 +00:00
skodak 775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +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
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
pichetp ea632e8846 closing properly questions <label> i.e. adding </label> line 459-61 when some errors 2008-06-19 01:43:52 +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
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
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
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 9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +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
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
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
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt e2ae84a298 MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language. 2008-02-28 12:53:02 +00:00
pichetp a0052d89ac cleaning // 2008-02-18 20:43:08 +00:00
pichetp 292a01dfa7 removing an echo diagnostic message MDL-12063 2008-02-18 17:00:23 +00:00
pichetp 814a96fa47 MDL-13419 removing space before input html element 2008-02-18 16:37:13 +00:00
pichetp eb29fc2747 MDL-12255 Adding questiontext decoding and subquestions validation when editing, decodeverifyquestiontext string 2008-01-27 17:16:35 +00:00
pichetp b119a40f16 MDL-3274 further trimming 2008-01-26 15:21:44 +00:00
pichetp eba53585bd adjusting input display to answer length MDL-3274 2008-01-26 14:30:29 +00:00
tjhunt 06e2b0de2a MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9. 2008-01-08 18:37:46 +00:00