Jun Pataleta
11df82e9f7
Merge branch 'MDL-71410-master' of git://github.com/rezaies/moodle
2021-04-27 12:36:24 +08:00
Shamim Rezaie
796e82124f
MDL-71410 mod_quiz: implement activity_dates for the quiz module
2021-04-27 14:32:26 +10:00
Shamim Rezaie
d61f18433f
MDL-71410 mod_quiz: Cache user and group overrides
2021-04-27 14:32:26 +10:00
Shamim Rezaie
7d102bb67d
MDL-71144 mod_quiz: custom_completion should not use deprecated function
...
This commit also removes an unnecessary DB query.
2021-04-22 21:11:43 +10:00
Paul Holden
4b3f22e5d1
MDL-71127 mod_quiz: fix thrown exception for invalid question columns.
2021-04-19 09:06:56 +01:00
Shamim Rezaie
a75861f78e
MDL-70935 mod_quiz: Custom completion implementation
2021-04-07 15:09:36 +08:00
Marina Glancy
612c230709
MDL-70966 various: Under PHP8 empty string is no longer equals to 0
2021-02-28 19:16:09 +01:00
Juan Leyva
caddb8f175
MDL-69823 mod_quiz: Return question options via WS
2020-11-10 19:16:24 +01:00
Juan Leyva
ba2d9643e7
MDL-54956 quiz: Fix WS to support files submission
2020-09-22 18:03:23 +02:00
Juan Leyva
8bec429a98
MDL-54956 quiz: Return response files in attempts
2020-09-22 18:03:23 +02:00
Russell Boyatt
fad72d7177
MDL-66899 quiz: Log a regrading event when quiz attempt is regraded.
2020-06-08 20:44:23 +01:00
Martin Hanusch
398f0ae110
MDL-68772 mod_quiz: Navigation overlay fix
2020-06-02 16:50:02 +02:00
Luca Bösch
87174e0a92
MDL-66930 quiz: Question type icon size/alignment in Boost and Classic.
2019-10-18 13:54:29 +02:00
Tim Hunt
c2200bd5dc
MDL-66553 quiz/questions: show idnumber and tags when adding from qbank
2019-10-11 13:59:26 +01:00
Juan Leyva
dfd4881589
MDL-65026 course: Fix modules intro formatting in WS
...
The Web Service seems to be doing excessive text cleaning.
2019-09-16 13:04:26 +02:00
Eloy Lafuente (stronk7)
8b9c0616b3
Merge branch 'MDL-65994-master' of git://github.com/junpataleta/moodle
2019-07-25 14:49:12 +08:00
Jun Pataleta
62e72577b5
MDL-65938 mod_quiz: Use new core/checkbox-toggleall
...
Plus:
* On the attempts report pages, the "Regrade selected attempts"
and "Delete selected attempts" buttons are now only enabled when
there's at least one item selected.
* Behat fixes for quiz edit feature after this patch
2019-07-19 13:14:11 +08:00
Jun Pataleta
cbd8641a8a
MDL-65994 question: Convert checkboxes to checkbox-toggleall element
2019-07-19 10:29:18 +08:00
Shamim Rezaie
3840540790
MDL-64340 mod_quiz: not display "add random question" when no permission
2019-06-21 08:52:14 +10:00
Juan Leyva
ee766461b4
MDL-65274 mod_quiz: Do not return a translated string
...
We should be returning proper error codes and the translated string can be part of the debug information.
2019-05-20 15:50:46 +02:00
Shamim Rezaie
aa6a8b98c6
MDL-65399 mod_quiz: UI should prevent deleting the last slot of section
2019-05-06 18:11:22 +10:00
Shamim Rezaie
a834294228
MDL-65399 mod_quiz: remove_slot should update the existing info
...
The remove_slot method should update the remaining slot's slot
attribute. It also should update the remaining slot's question number
and section info.
2019-05-06 15:34:50 +10:00
Shamim Rezaie
8affd823a4
MDL-65399 mod_quiz: Remove $slots from the \mod_quiz\structure class
...
It's enough to have $slotsinorder, and the $slots property
was redundant. There should only be a single source of truth.
2019-05-06 15:30:59 +10:00
Mathew May
5cac5fa428
MDL-64506 templates: BS2 m-x-x to BS4 mx-x
2019-04-03 19:47:11 +08:00
Michael Hughes
b09c036bb8
MDL-60683 quiz: Replace quiz legacy cron with tasks
2019-02-22 16:39:37 +00:00
M Kassaei
6bafb66c34
MDL-63825 Quiz: convert quiz repaginate.js from YUI to AMD
2019-02-08 15:50:45 +00:00
Tim Hunt
b195523758
MDL-63809 question bank: ensure question_has_capability_on can be called
2018-12-18 14:54:28 +11:00
Juan Leyva
904c37c6c8
MDL-63394 mod_quiz: Do not fail overdue if there is a grace period
2018-11-16 16:56:40 +01:00
Shamim Rezaie
6cd2de3ceb
MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill
...
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:04:25 +08:00
Shamim Rezaie
0db66dcf5d
MDL-63564 mod_quiz: support removal of multiple users in a context
...
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:04:23 +08:00
Shamim Rezaie
92d26b3940
MDL-63564 mod_quiz: Added quizaccess_user_provider interface
...
This issue is a part of the MDL-62560 Epic.
2018-11-02 13:56:02 +08:00
Shamim Rezaie
44b30f9ced
MDL-63626 mod_quiz: Fixed a bug when there was no attempt on the quiz
2018-10-12 01:03:39 +11:00
Andrew Nicols
63b0f6276c
MDL-62432 quiz: Check contexts more carefully
2018-05-15 09:25:51 +08:00
Andrew Nicols
037027230a
MDL-62384 mod_quiz: Improve performancy of privacy queries
2018-05-11 09:15:29 +08:00
Jake Dallimore
209f6e1eda
Merge branch 'MDL-61407-master' of git://github.com/andrewnicols/moodle
2018-05-04 11:50:26 +08:00
Andrew Nicols
4c729982c7
MDL-61407 mod_quiz: Add initial privacy implementation
2018-05-03 16:14:36 +08:00
Ryan Wyllie
8f0f0a5903
MDL-62149 quiz: include tag ids in random question link
2018-04-30 17:03:03 +08:00
David Monllao
b704717847
Merge branch 'MDL-61138-master-require-context-id' of git://github.com/ryanwyllie/moodle
2018-04-19 11:18:47 +02:00
Ryan Wyllie
1e46fb428f
MDL-61138 mod_quiz: use AMD modal for add random question
2018-04-18 11:45:00 +08:00
Shamim Rezaie
3090719d7d
MDL-61614 Quiz: Deleting a quiz slot should delete its random tags
2018-04-18 13:07:08 +10:00
Shamim Rezaie
d62793fdee
MDL-61614 Quiz: save slot's tags in a table when adding random question
2018-04-18 13:07:08 +10:00
Shamim Rezaie
c907987844
MDL-61514 Quiz: Display unavailable tags when editing random questions
...
When editing a random question, the form will display the tags that the random question
is configured to get questions from even if those tags do not exist anymore.
2018-03-12 13:40:20 +11:00
Shamim Rezaie
6650c66b59
MDL-61380 Questions: Editing configuration of existing random questions
...
Editing "random" questions follows a different procedure than adding them.
This commit takes care of editing a "random" question's configuration.
This commit also introduces mod_quiz\form\randomquestion_form, so mod_quiz
can edit random questions without having to use the form that is inside qtype_random.
2018-03-07 05:32:40 +11:00
Shamim Rezaie
78b3870c50
MDL-61380 Quiz: Initial implementation of slot_random class
2018-03-01 11:41:15 +11:00
Simey Lameze
cf81447c74
MDL-61135 mod_quiz: deprecate unused fragment_view class
2018-02-13 10:48:22 +08:00
Simey Lameze
fc23bc85cf
MDL-61135 mod_quiz: move fragment_view functions to custom_view class
2018-02-13 10:48:03 +08: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
171d7919b3
MDL-61135 mod_quiz: add question bank AMD modal
2018-02-08 02:44:16 +00:00
Ryan Wyllie
f33dc783f1
MDL-61135 mod_quiz: add question bank fragment
2018-02-08 02:44:16 +00:00
Juan Leyva
01a79b4e86
MDL-60908 mod_quiz: Return question state only when configured
...
The question state should be returned following the quiz review options
settings.
2018-01-09 16:54:32 +08:00