4586 Commits

Author SHA1 Message Date
Paul Holden
2408f98357 MDL-71898 mod_quiz: escape user identity fields on override pages. 2021-07-08 23:30:33 +02:00
Eloy Lafuente (stronk7)
1ba1b4ea9c Merge branch 'MDL-72063-master-en_fix' of git://github.com/mudrd8mz/moodle 2021-07-04 11:02:13 +02:00
David Mudrák
d2e9ca4821 MDL-72063 lang: Use fixed strings in tests, too 2021-07-01 19:28:13 +02:00
Helen Foster
ab53075f22 MDL-72063 lang: Import fixed English strings (en_fix) 2021-07-01 14:11:23 +02:00
Andrew Nicols
bccac31627 Merge branch 'MDL-72010' of https://github.com/timhunt/moodle 2021-07-01 11:10:43 +08:00
Sara Arjona
9bcc08aacf Merge branch 'MDL-71971-master' of git://github.com/lucaboesch/moodle 2021-06-30 16:16:07 +02:00
Eloy Lafuente (stronk7)
4242216e86 Merge branch 'MDL-71947-master' of https://github.com/bmbrands/moodle 2021-06-29 11:39:26 +02:00
Luca Bösch
f662ea7e5d MDL-71971 mod_quiz: separate "Repaginate" and "Select multiple items" 2021-06-25 00:03:41 +02:00
Tim Hunt
8f20d1627b MDL-72010 quiz: prevent session timeouts during attempts 2021-06-24 12:24:47 +01:00
Bas Brands
72a7171b5c MDL-71947 core_quiz: vertical forms for access rule popups 2021-06-24 12:31:13 +02:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Víctor Déniz
9fed7e6f13 Merge branch 'MDL-71764' of https://github.com/paulholden/moodle 2021-06-17 01:43:50 +01:00
Paul Holden
709b5aa9e1 MDL-71764 mod_quiz: custom user profile field support for attempts. 2021-06-10 20:52:22 +01:00
Andrew Nicols
d3654c3a27 Merge branch 'MDL-71838' of https://github.com/timhunt/moodle 2021-06-10 11:38:50 +08:00
abgreeve
ef1d17c8ba Merge branch 'MDL-71644-master' of https://github.com/NashTechOpenUniversity/moodle 2021-06-03 09:40:43 +08:00
Tim Hunt
1287ecaeff MDL-71838 quiz reports: average rows calc can run out of memory
Should not use get_records when you mean record_exists.
2021-06-02 16:06:32 +01:00
Tien Nguyen
b14e2d3bf3 MDL-71628 quiz: Quiz review: names not shown on Manual grading screens 2021-05-25 16:28:52 +07:00
Thong Bui
f81cdd42b2 MDL-71644 Quiz: The issues outstanding from MDL-70947.
Issue 1: While essay question's uploading progress, we need to disable submit
buttons to prevent submit form event.

Issue 2: Enable buttons after pressing cancel button on the popup
confirming overwrite file existed.
2021-05-20 08:29:31 +07:00
Eloy Lafuente (stronk7)
ba4a7b8ccb Merge branch 'MDL-71126-master' of git://github.com/HuongNV13/moodle 2021-05-19 23:02:41 +02:00
Huong Nguyen
46aece2b63 MDL-71126 Quiz: Manual grading page size preference can get stuck at 0
Including in this change:
 - New positiveint regex rule to check if the value is a positive integer
2021-05-14 17:01:45 +07:00
Paul Holden
21c3869d03 MDL-71619 privacy: extend correct class in provider testcases.
Extending the privacy provider testcase means that it's tearDown
method will reset the request writer.
2021-05-13 11:51:00 +01:00
abgreeve
178adf1c2f Merge branch 'MDL-68747-master' of https://github.com/dcai/moodle 2021-05-07 11:43:42 +08:00
Jake Dallimore
52af65ca60 Merge branch 'MDL-71492-master' of git://github.com/jleyva/moodle 2021-05-06 09:15:47 +08:00
Juan Leyva
3018d40e88 MDL-71492 mod_quiz: Include missing gradepass in WebService 2021-05-05 14:44:16 +02:00
Sara Arjona
b65d5a3da2 Merge branch 'MDL-71187-master' of git://github.com/lucaboesch/moodle 2021-05-05 12:13:59 +02:00
Luca Bösch
21503ed5e6 MDL-71187 quizaccess_seb: Change "Launch Safe Exam Browser" to a href.
In order to allow for correct seb:// or sebs:// calls without browser
warnings of insecure links, it is not possible to send a get request
with an attached cmid parameter to the unknown seb:// or sebs://
URL via a form button.
We've got to use a <a href> link outside a form to circumvent
browsers warning of an insecure link and call Safe Exam Browser
correctly.
2021-05-05 10:54:01 +02:00
Huong Nguyen
5444f88e4f MDL-70720 Quiz: Improve capability checks when fetching users' best grades 2021-05-04 17:23:11 +02:00
Paul Holden
f40dfdf51e MDL-71130 quiz_grading: escape user idnumber on display. 2021-05-04 17:23:11 +02:00
Jun Pataleta
fd8544b37c Merge branch 'MDL-71401-master-3' of git://github.com/mickhawkins/moodle 2021-05-04 12:26:34 +08:00
Michael Hawkins
cac5b30e01 MDL-71401 mod_quiz: Add behat testing for multiple completion conditions
Other tests check behaviour of individual conditions, this tests that
when multiple core and custom conditions are required, each will be
updated as required and not cache until all are completed.
2021-05-04 12:19:29 +08:00
Sara Arjona
b04d1c3041 Merge branch 'MDL-71163-master' of git://github.com/rezaies/moodle 2021-05-03 11:59:58 +02:00
Víctor Déniz
6d3107641d Merge branch 'MDL-71189-master-3' of git://github.com/mickhawkins/moodle 2021-05-03 08:08:34 +01: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
Ilya Tregubov
cf1cf222e7 MDL-66431 core: Fix behat tests.
Move activity creation to data generators. Only fixing those
tests failing due to removing usemodchooser preference.
2021-05-01 16:22:03 +02:00
Shamim Rezaie
e25be6bd22 MDL-71163 quizaccess_openclosedate: remove duplicate date info
The quiz module now showa the quiz open and close dates at the top of
the page. So there is no need for the quizaccess_openclosedate plugin to
display these dates in the middle of the page.
2021-04-30 17:13:56 +10:00
Sara Arjona
1aa318d3e0 Merge branch 'MDL-71162-master-2' of git://github.com/mickhawkins/moodle 2021-04-29 17:27:20 +02:00
Michael Hawkins
b7289dfd80 MDL-71162 mod_quiz: Improve behat testing for completion conditions 2021-04-29 00:41:07 +08:00
Sara Arjona
d0a84d36d7 Merge branch 'MDL-71127' of git://github.com/paulholden/moodle 2021-04-28 12:58:15 +02:00
Sara Arjona
92cfa71cd0 Merge branch 'MDL-70763' of git://github.com/paulholden/moodle 2021-04-28 12:36:23 +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
ec519a6488 MDL-71410 mod_quiz: Cache quiz times in modinfo for performance
We update the dates with user/group overrides. The calculation of
the override in the quiz module is different from the assignment
module as the quiz_overrides table des not have a sortorder column.
See quiz_update_effective_access().
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
Sara Arjona
7046626952 Merge branch 'MDL-71392' of git://github.com/paulholden/moodle 2021-04-26 11:52:46 +02:00
Sara Arjona
12f64a02c9 Merge branch 'MDL-71144-master' of git://github.com/rezaies/moodle 2021-04-23 13:16:01 +02:00
Andrew Nicols
1a34066129 Merge branch 'master-MDL-71376' of https://github.com/rjnl/moodle 2021-04-23 11:52:21 +08:00
Andrew Nicols
b124832fe6 Merge branch 'MDL-70970' of git://github.com/paulholden/moodle 2021-04-23 11:26:53 +08: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