Tim Hunt
770d3ce426
MDL-46148 qtype_calculated: removed unused method.
2014-07-09 12:56:18 +01:00
Sam Hemelryk
95d294368f
Merge branch 'MDL-46212' of git://github.com/timhunt/moodle
...
Conflicts:
question/type/calculated/question.php
2014-07-08 11:43:09 +12:00
Tim Hunt
88ec9f308d
MDL-46148 qtype_calculated: validate formulas everywhere.
2014-07-07 14:33:34 +01:00
Tim Hunt
155bc75472
MDL-46148 qtype_calculated: function to validate equations in text.
2014-07-07 14:33:29 +01:00
Tim Hunt
29005a5418
MDL-46148 qtype_calculated: Remove unused function.
2014-07-07 14:33:24 +01:00
Tim Hunt
44f726a7b1
MDL-46148 qtype_calculated: unit tests + fixes for validation
2014-07-07 14:33:20 +01:00
Tim Hunt
f4fe3968a2
MDL-46212 questions: add {} whenver vars are put into "" strings
...
Having had one subtle bug cased be this, I decided to do a search and
fix all of these.
2014-07-03 14:02:39 +01:00
Tim Hunt
0e30442ca8
MDL-46212 question editing: extra answer fields notice.
...
It turns out that PHP does not interpret "$field[$key]" the way we were
expecting.
2014-07-03 13:56:11 +01:00
Marina Glancy
9422f6ee42
MDL-46163 question/quiz: fix elements ids and their labels
2014-07-03 10:13:00 +01:00
Tim Hunt
84deaaf8bb
MDL-46163 quiz/questions: fix missing hidden fields.
...
I have done this by eliminating the duplication between the base class
and the subclass.
This was a regression introdcued by MDL-40313.
2014-07-02 14:32:53 +01:00
Dan Poltawski
9cafb3433f
MDL-46163 question: fix missing ;
2014-07-02 07:22:15 +01:00
Dan Poltawski
c4058e6e0c
Merge branch 'MDL-46163_category_selector_renders_as_nested_form' of https://github.com/MorrisR2/moodle
2014-07-01 14:16:04 +01:00
Dan Poltawski
2d8c48a995
Merge branch 'MDL-40457-question_bank_plugins_columns' of git://github.com/MorrisR2/moodle
2014-07-01 10:12:52 +01:00
Ray Morris
17f229fae3
MDL-40457 Question Bank: Allow plugins to add columns to question bank view
...
Allows plugins to add columns to the question bank view by extending core_question\bank\column_base
Columns to display are set in $CFG->questionbankcolumns. Columns are namespaced and autoloaded to support this.
2014-06-29 21:28:52 -05:00
Ray Morris
1c906d4945
MDL-46163 Question bank: Category selector renders as nested form
2014-06-26 12:09:38 -05:00
Sam Hemelryk
78c12cdb0f
MDL-43365 lib: converted text and plugin deprecated classes to new scheme
...
Four core library classes renamed for autoloading with deprecated stubs
have been converted to the new scheme for autoloading.
They are:
* textlib
* collatorlib
* plugin_manager
* plugininfo_base
These will be removed in 2.9 by MDL-46124
2014-06-25 09:30:38 +12:00
Damyon Wiese
ca4f7f6105
MDL-45763 Question types: Allow saving '0' as question text.
2014-06-11 17:28:52 +08:00
Marina Glancy
5528117324
MDL-45763 question: fix SQL syntax for Oracle
2014-06-11 12:13:19 +08:00
Eric Merrill
516a3ddc76
MDL-45763 question: Correct random question text if set to true or false
2014-06-10 06:05:33 -04:00
Eric Merrill
a871a7a757
MDL-45763 question Random qtype should use '0' or '1' question text.
...
Some time ago, it when from using '0' for no-subcategories to blank.
Change to properly define '0' or '1', update old questions, and make
sure to fix newly restored questions.
2014-06-02 15:31:23 -04:00
Eloy Lafuente (stronk7)
f94891cc00
MDL-45503 upgrade: add v2.7.0 sep lines
2014-05-28 01:13:42 +02:00
Sam Hemelryk
36c95fe075
Merge branch 'MDL-45660' of git://github.com/timhunt/moodle
2014-05-26 11:52:32 +12:00
Jean-Michel Vedrine
8974442b72
MDL-45686 qtype_multichoice get_num_selected_choices return wrong result
2014-05-25 09:11:33 +02:00
Tim Hunt
8b431dca97
MDL-45660 question statistics: make comparison more robust.
2014-05-22 17:30:34 +01:00
Damyon Wiese
84f08cfa9d
MDL-45606 Unit test fix for MySQL and added a comment about the removed code.
2014-05-20 18:01:32 +08:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Eloy Lafuente (stronk7)
538bf99ece
MDL-45486 Bump all versions to planned release
...
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
James Pratt
96a0b9aaaa
MDL-45373 quiz response analysis : count all tries at question
...
don't filter repeated tries.
2014-05-06 12:26:02 +07:00
James Pratt
9b604f28d2
MDL-45114 quiz simulate report : multi-choice multi qtype response data
...
fixing download.
2014-04-19 15:04:16 +07:00
Dan Poltawski
72de455146
Merge branch 'MDL-45003-master' of git://github.com/jamiepratt/moodle
2014-04-15 10:33:30 +08:00
Dan Poltawski
34f7e31ffb
Merge branch 'MDL-40063_master' of https://github.com/markn86/moodle
2014-04-11 14:31:27 +08:00
James Pratt
f4555f88c8
MDL-45003 qtype numeric : classify invalid response as no response.
2014-04-11 12:41:23 +07:00
Mark Nelson
58940b190a
MDL-40063 mod_quiz: replaced 'addcategory' add_to_log call with an event
2014-04-10 20:38:34 -07:00
James Pratt
1d75d9fe70
MDL-44981 quiz statistics report : Differentiating '0' and no response
...
in numeric questions.
2014-04-07 19:13:04 +07:00
James Pratt
bec7719c3b
MDL-44980 quiz statistics report : break down by variants failing
...
when there has only been one variant seen.
2014-04-07 18:44:48 +07:00
Sam Hemelryk
e070ffd8ab
Merge branch 'MDL-32729-im' of git://github.com/andrewnicols/moodle
2014-04-02 16:37:19 +13:00
Andrew Nicols
5c1af530db
MDL-32729 Question: Load all hidden fields from the source form
2014-04-02 10:52:02 +08:00
Andrew Nicols
f87b22327f
MDL-32729 Question: Correct button selection when openin qbank chooser
...
Some browsers do not bubble form submission events to the window, and we
had more than one form on the page in certain conditions. We need to select
all of the forms on a page and then test the action.
2014-04-02 09:54:32 +08:00
Eloy Lafuente (stronk7)
96eead3f6c
MDL-24408 Whitespace fix.
2014-04-02 03:14:36 +02:00
Eloy Lafuente (stronk7)
bfa5acac64
Merge branch 'MDL-24408_2' of https://github.com/oasychev/moodle
2014-04-02 03:14:06 +02:00
Sam Hemelryk
0ea11b7cee
Merge branch 'MDL-32729-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2014-04-02 09:27:23 +13:00
Oleg Sychev
92e83e2d0e
MDL-24408 extra_question_fields: separate answer data creation code
...
Now any question using extra_question_fields can overload make_answer
(just as make_hint), instead of overloading whole initialise_question_answers.
2014-03-28 00:27:05 +03:00
Oleg Sychev
f0c6c18189
MDL-24408 extra_answer_fields: save_question_answers function
...
question_type::save_question_answers function added, supporting
saving answers and extra answer fields. It can be called from
save_question_options function for the questions, using
question_answers table. Special functions created for overloading
so that every question could tune it to it's own form.
Shortanswer qtype save_question_options() converted as a proof of
concept and for testing purposes.
2014-03-28 00:27:03 +03:00
Oleg Sychev
a68207b664
MDL-24408 extra_answer_fields: loading data to the question editing form
...
Now question_edit_form can load extra answer fields. If a question
type need to do something more complex for particular field, it
can overload added functions without duplicating other code.
2014-03-28 00:27:01 +03:00
Oleg Sychev
6276672854
MDL-24408 extra_answer_fields : get answers even if they miss extra data
...
Extra answer data may be optional, saving DB space - i.e. not every row in
question_answers will have respective row in extra answers table. Current
implementation of question_type::get_question_options() won't return such
answers at all. This commit fix that, changing join type for db query.
Also fixed coding style violation in the variable name in get_question_options.
2014-03-28 00:26:59 +03:00
Andrew Nicols
0b98f8e8e0
MDL-32729 Question: Convert remaining Questionbank code to YUI3
2014-03-27 00:28:08 +08:00
Andrew Robert Nicols
ac32c27e24
MDL-32729 Question: Switch to the YUI3 chooser dialogue
...
This uses the core chooserdialogue and associated style changes to make an
easily generated chooser with question descriptions.
2014-03-27 00:28:08 +08:00
Sam Hemelryk
46c627cf05
Merge branch 'MDL-44690-master' of git://github.com/jamiepratt/moodle
2014-03-26 13:25:51 +13:00
Andrew Nicols
1f777e5c6c
MDL-41987 Javascript: Tidy up YUI documentation
2014-03-25 17:01:37 +08:00
James Pratt
49dda8fe6e
MDL-44690 core_questions : amending unit tests
...
to use more human friendly format for submitted question type data.
2014-03-25 14:37:51 +07:00