Ilya Tregubov
b4675942ce
Merge branch 'MDL-52206-master-rebased' of git://github.com/peterRd/moodle
2021-10-07 12:55:12 +07:00
Peter Dias
2c7893cf9f
MDL-52206 core: Update new activity_custom_completion
...
Update the custom_completion classes to accept the new completion
criteria
2021-10-04 19:45:47 +08:00
Peter Dias
cd52b46e89
MDL-52206 quiz: Remove completionpass completion from quiz
...
AMOS BEGIN
MOV [completionpass,mod_quiz],[completionpassgrade,core_completion]
MOV [completionpassdesc,mod_quiz],[completionpassgrade_desc,core_completion]
MOV [completionpass_help,mod_quiz],[completionpassgrade_help,core_completion]
AMOS END
2021-10-04 19:44:03 +08:00
Safat Shahin
f9fc355ec7
MDL-71679 mod_quiz: Updates for new qbank api
...
This implementation will introduct changes to
the mod_quiz to implement the new qbank api
for view. Major changes are introduced in
the custom view and also all the legacy points
to the old qbank are changed to qbank plugins
where needed. It also deprecated and deletes
classes and scripts which were kept not to
break mod_quiz for the new api implementation.
2021-10-04 15:44:25 +11:00
Huong Nguyen
af4fb733ee
MDL-71797 quiz: Improve the checks when fetching user's attempts
2021-09-07 09:04:23 +02:00
Guillermo Gomez
fb10b36c04
MDL-71585 qbank_managecategories: Add managecategories to core
...
This implementation will introduce a qbank plugin "managecategories"
which will add the question categories feature in the question bank view
by replacing the core classes. Having this plugin will give users
the flexibility of enabling or disabling the category tab.
2021-09-03 09:41:18 +10:00
Tien Nguyen
dd6fd520e3
MDL-72137 Quiz: Quiz submission email notification update
...
Quiz submission notifications: separate out User versus System
2021-08-23 15:38:33 +07:00
safatshahin
dfed4fd040
MDL-71516 core_question: Qbank api implementation
...
This commit implements the qbank api so that any plugin
can implement its own question bank. This api currently
works parallely with the moodle core classes and the
added qbank in the core, means the moment a plugin
is installed, that object is replaced with the object
from the plugin instead of core, which means the api
has flexibility till the plugins are integrated and the
plugins can be integrated in any order.
All the old classes are still there and not deprecated
as there is a different tracker for the changes to the
quiz and another tracker for class deprecation and
class renaming. Core question units tests are pointing
to the new api structure but the classes are pointing
to the location related to the plugin availability.
Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch >
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net >
one more array fix
2021-08-17 18:57:31 +10:00
Tien Nguyen
ac59c8b8e0
MDL-71984 Quiz: Add new attempt's events
...
Add attempt_updated, attempt_autosaved and attempt_question_restarted
events.
Update attempt_viewed to add page number.
2021-07-08 15:13:06 +07:00
Luca Bösch
f662ea7e5d
MDL-71971 mod_quiz: separate "Repaginate" and "Select multiple items"
2021-06-25 00:03:41 +02:00
Juan Leyva
3018d40e88
MDL-71492 mod_quiz: Include missing gradepass in WebService
2021-05-05 14:44:16 +02:00
Huong Nguyen
5444f88e4f
MDL-70720 Quiz: Improve capability checks when fetching users' best grades
2021-05-04 17:23:11 +02:00
Michael Hawkins
a9a4e56bb3
MDL-71189 mod_quiz: Update completion rule descriptions method
...
Allow for conditions that are not set, consistent with other modules.
They will usually always be set in practice, but best to handle it,
which also helps with unit testing.
2021-05-03 13:36:11 +08:00
Michael Hawkins
b77c66ac10
MDL-71189 core_completion: Adding completion sort order to activities
...
This implements sort ordering for all completion conditions, in
activities which support custom completion conditions.
2021-05-03 13:36:11 +08:00
Sara Arjona
d0a84d36d7
Merge branch 'MDL-71127' of git://github.com/paulholden/moodle
2021-04-28 12:58:15 +02:00
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