Commit Graph

90 Commits

Author SHA1 Message Date
stronk7 63dc5bfcb2 Getting same records twice... ;-) 2009-09-08 08:41:43 +00:00
nicolasconnault fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
mudrd8mz 488275fc71 Fixed missing ";" - spotted during upgrade 2009-06-13 20:56:14 +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 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 26574bbad7 quiz/questions: Improve documentation of database tables. 2009-03-05 11:24:41 +00:00
tjhunt 3cac440b76 quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not. 2009-02-24 05:16:23 +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 2aef1fe52f question editing: MDL-18035 Nice refactoring from Oleg Sychev that saves 50+ lines of code between the various editing forms. 2009-02-18 06:52:11 +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
tjhunt 16590517fa fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices
A new install has NOT NULL DEFAULT 0.
2008-11-27 05:12:11 +00:00
tjhunt da012eb63a qtype multichoice: MDL-17029 - followup - revert my overzealous copying and pasting. Thanks to Myles Carrick for noticing my mistake. 2008-10-27 23:36:07 +00:00
tjhunt 4b31ac5cd1 qtype multichoice: MDL-17029 answernumbering option was not being backed up or restored. 2008-10-27 04:23:23 +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
tjhunt b3efa7078d MDL-14643 - Revert the hugely umpopular change from MDL-10841. 2008-08-19 02:36:12 +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
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 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
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 f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +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 dd1e295528 MDL-14451 removed pre 1.9 upgrade code - question upgrade related 2008-05-11 19:03:24 +00:00
tjhunt 5389648d0b MDL-14467 - qtype_multichoice help file in the wrong place - merged from 1.8/1.9 stable.
In addition, move the other multichoice help file to the correct location, and update all references.
2008-04-22 14:40:09 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt a656e0de48 MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph R?zeau. Merged from MOODLE_18_STABLE. 2008-01-08 18:29:20 +00:00
tjhunt 9088c6e2e4 MDL-12647 - Moving multiple_choice questions between contexts breaks them.
There was a subtle interaction between get_question_options  and replace_file_links for this question type.

Merged from MOODLE_19_STABLE.
2007-12-19 12:11:03 +00:00
skodak a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
tjhunt fe93ba838b MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE. 2007-11-20 12:41:04 +00:00
tjhunt 1061756d8e Minor whitespace fixup. 2007-11-07 15:41:20 +00:00
skodak f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
stronk7 126984a047 Second pass. Questions. Some more default comments are out. MDL-11385 2007-09-24 22:20:37 +00:00
tjhunt 4da81e7342 MDL-11310 - Multichoice edititing form should have space for 5 answers by default. Merged from MOODLE_18_STABLE. 2007-09-17 14:39:52 +00:00
jamiesensei 9fc3100f27 fix for MDL-11106 Images not showing up in shared categories 2007-09-04 11:55:10 +00:00
jamiesensei 88c8015ea0 fixing some problems with multichoice file link find and replace code for multichoice qtype. 2007-08-17 10:50:52 +00:00
tjhunt c389b50482 MDL-10863 - multichoice question type won't upgrade to 1.9 beta because MySQL sometimes treats enum constants case-insensitively. 2007-08-17 10:01:34 +00:00
tjhunt 2288211e7c MDL-10841 - show all feedback to multiple choice questions on the review page. 2007-08-15 16:22:54 +00:00
tjhunt ceeae340f9 MDL-10799 - Question types do not accurately determine whether their state has changed or not. Merged from MOODLE_18_STABLE. 2007-08-10 15:21:29 +00:00
jamiesensei 271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
tjhunt bfbafdfe74 MDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was playing at. Merged from MOODLE_18_STABLE. 2007-07-20 17:10:35 +00:00
tjhunt b60af635df MDL-10515 - Change HTML to make it easier to style multiple choice questions. Merged from MOODLE_18_STABLE 2007-07-18 13:57:24 +00:00
Martin Langhoff 08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
tjhunt ed66fb1390 MDL-9996 - Multiple choice answer box too small in the question editing form in Moodle 1.8. Merged from MOODLE_18_STABLE. 2007-06-11 16:42:13 +00:00
tjhunt e3b2eb60e1 MDL-9432 - Forgot to return success/failure in two places. 2007-04-19 17:37:14 +00:00
tjhunt c85607f0be MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle. 2007-04-18 15:56:21 +00:00