Commit graph

3993 commits

Author SHA1 Message Date
Shamim Rezaie
18d6ff7880 MDL-61557 Questions: Fixed moving question categories to top 2018-03-05 13:40:02 +11:00
Shamim Rezaie
ee1052bd18 MDL-61556 Questions: Fixed moving question categories between contexts 2018-03-03 16:31:59 +11:00
Shamim Rezaie
2d7b0534d3 MDL-61503 Questions: Fix sql query to get questions by tags 2018-03-02 15:40:44 +11:00
Shamim Rezaie
4fa49cc647 MDL-61380 Quiz: Adding a random question 2018-03-01 11:50:52 +11:00
Simey Lameze
1657d0b6a9 MDL-61444 question: hardFreeze tags element if no caps 2018-02-23 07:44:57 +08:00
Andrew Nicols
d40b84e253 Merge branch 'MDL-61444-master' of git://github.com/lameze/moodle 2018-02-22 09:59:15 +08:00
Simey Lameze
4509be2296 MDL-61444 question: freeze element for users without caps 2018-02-22 09:44:15 +08:00
Eloy Lafuente (stronk7)
0f8c06e0f5 Merge branch 'MDL-61437-master' of git://github.com/lameze/moodle 2018-02-22 08:30:57 +08:00
Andrew Nicols
85973908a5 Merge branch 'MDL-61444-master' of git://github.com/lameze/moodle 2018-02-22 08:30:50 +08:00
Simey Lameze
728e195c5e MDL-61437 mod_quiz: rename question_build_display_preference function 2018-02-21 09:13:50 +08:00
Simey Lameze
e2795e8632 MDL-61444 question: replace all question tag capability checks 2018-02-19 14:21:59 +08:00
Luca Bösch
a58fd9710d MDL-61408 qbehaviour: Correct "Check" button styling. 2018-02-16 08:45:56 +01:00
Andrew Nicols
1e41e6ddd9 Merge branch 'MDL-61135-master' of git://github.com/ryanwyllie/moodle 2018-02-12 11:34:56 +08:00
Andrew Nicols
49b12fdbd1 Merge branch 'MDL-61133-master-fixes' of https://github.com/lameze/moodle 2018-02-08 12:01:55 +08:00
Ryan Wyllie
d7abdb64ee MDL-61135 question: add behat test for tag filtering 2018-02-08 02:44:17 +00:00
Ryan Wyllie
fff033322a MDL-61135 mod_quiz: add tag condition to question bank form 2018-02-08 02:44:17 +00:00
Ryan Wyllie
f33dc783f1 MDL-61135 mod_quiz: add question bank fragment 2018-02-08 02:44:16 +00:00
Ryan Wyllie
031a275288 MDL-61135 question: add tag filter condition 2018-02-08 02:44:16 +00:00
Ryan Wyllie
73d16fc61d MDL-61135 question: split edit setup logic out from POST param parsing
Decouple the business logic in the question_edit_setup function from
the GET/POST param parsing to allow the business logic to be run
on params directly passed to it.
2018-02-08 02:25:30 +00:00
Simey Lameze
e842596d1d MDL-61133 core_question: disable form change checker 2018-02-08 10:10:51 +08:00
Andrew Nicols
e742f93303 Merge branch 'MDL-61132-master' of git://github.com/rezaies/moodle 2018-02-06 14:33:41 +08:00
Simey Lameze
d1db765a64 MDL-61133 core_question: move all selectors to a new module 2018-02-06 10:24:22 +08:00
Simey Lameze
fd5e2ead95 MDL-61133 core_question: add new question tags modal 2018-02-06 10:09:10 +08:00
Shamim Rezaie
b0ae7d082a MDL-61132 Questions: Fix behat failures 2018-02-05 13:59:39 +11:00
Simey Lameze
7f4b6dfe70 MDL-61133 core_question: tags form and fragment callback 2018-02-05 10:58:04 +08:00
Simey Lameze
680d5c5be6 MDL-61133 core_question: new submit_tags_form webservice 2018-02-05 10:58:04 +08:00
Simey Lameze
d587dc6f6f MDL-61133 core_question: add tags column class to question list 2018-02-05 10:57:04 +08:00
Shamim Rezaie
869320c7f4 MDL-61132 Questions: Unit tests compatibility
Modified unit tests to adapt with "Top" categories.
2018-02-05 11:58:58 +11:00
Shamim Rezaie
f86f8c85c1 MDL-61132 Questions: Adapt logic on export/import
Modified import/export to adapt with "Top" categories.
2018-02-05 11:58:58 +11:00
Shamim Rezaie
3b8f3198de MDL-61132 Quiz: "Random" question from "Top" categories
* Support for adding ranodm questions from "Top" categories
2018-02-05 11:58:57 +11:00
Shamim Rezaie
9275220de3 MDL-61132 Questions: Question Bank amendments to cope with Top category
* Display "Top" categories in the category filter when listing questions in the question bank
* Prevent editing "Top" categories
* Prevent deleting "Top" categories
2018-02-05 11:58:52 +11:00
Luca Bösch
eeb8e895da MDL-61250 questions: Omit leading space in question preview link 2018-01-25 14:24:09 +01:00
Andrew Nicols
f486223806 NOBUG: Fixed SVG browser compatibility 2018-01-25 15:14:21 +08:00
Eloy Lafuente (stronk7)
a610100586 Merge branch 'MDL-61077' of git://github.com/timhunt/moodle 2018-01-22 02:26:04 +01:00
Luca Bösch
7583efe9f5 MDL-45367 questions: Add SVG icons for question types. 2018-01-18 15:29:35 +01:00
Tim Hunt
bccad386b0 MDL-61077 question stats: make calculations more robust 2018-01-15 16:07:57 +00:00
David Monllao
88d7a6a6b7 MDL-60960 qtype_essay: Update specific_filepicker_options deprecation message 2018-01-15 15:58:19 +01:00
Andrew Hancox
f3d9872aa3 MDL-41090 questions: Allow embedding files in response comments 2018-01-15 11:19:06 +00:00
Andrew Hancox
fd2ce923cf MDL-41090 questions: Move editor and filepicker options into engine 2018-01-15 11:19:01 +00:00
Andrew Hancox
18e1450b4b MDL-41090 questions: Support for files in behaviour response 2018-01-09 21:12:58 +00:00
David Monllao
1a43d6de99 MDL-50246 question: enable/disable add question button when available 2017-12-27 17:54:59 +01:00
Luca Bösch
4bfcdfed4e MDL-50246 quiz: Add selected questions to quiz btn disabled 0 selected 2017-12-22 09:25:12 +01:00
Damyon Wiese
baa8c89a56 MDL-32113 qtype_numerical: Fix db upgrade step
The upgrade step was creating a column with no default, which is different to the structure
for a new install. This was picked up by the magical cibot.
2017-12-19 16:54:25 +08:00
Damyon Wiese
6e1bfdda19 Merge branch 'MDL-32113-master' of https://github.com/lucaboesch/moodle 2017-12-19 15:12:11 +08:00
Luca Bösch
ff4d8e802c MDL-32113 qtype numerical: Cope with oracle & mssql DB float 38 limit. 2017-12-19 08:07:22 +01:00
Luca Bösch
e00e36fa4f MDL-31521 questions: Allow more than one unit with multiplier equal to 1 2017-12-14 22:34:19 +01:00
Damyon Wiese
39377f8083 Merge branch 'MDL-44667-master' of https://github.com/snake/moodle 2017-12-12 10:26:08 +08:00
Jake Dallimore
3112c22004 MDL-44667 database: fix incorrect usages of $DB->get_field
Some places were passing 5 params, meaning the strictness param was
lost. This fixes those usages.
2017-12-04 16:53:51 +08:00
Eloy Lafuente (stronk7)
e4eba4c346 MDL-59159 upgrade: clean < 3.1.0 upgrade steps
LTS (3.5) requires previous LTS (3.1)

This just deletes all the upgrade steps previous to 3.1.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2016052300 (v3.1.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2017-12-04 01:18:57 +01:00
sam marshall
a938e4096c MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00