22660 Commits

Author SHA1 Message Date
Paul Holden
3bd4d676c0 MDL-71717 libraries: upgrade to version 2.3.6 of FPDI. 2021-06-02 21:44:01 +01:00
Eloy Lafuente (stronk7)
fc3238baa2 Merge branch 'MDL-68394-master' of git://github.com/ilyatregubov/moodle 2021-05-27 12:21:00 +02:00
Ilya Tregubov
bbfb73afbd MDL-68394 h5pactivity: Limit query to given course module. 2021-05-27 12:08:28 +02:00
Eloy Lafuente (stronk7)
a2f6a833cc Merge branch 'MDL-68394-master' of git://github.com/ilyatregubov/moodle 2021-05-26 17:25:44 +02:00
Ilya Tregubov
045c3ec3ee MDL-68394 h5pactivity: Implement methods to display recent
activity info.
2021-05-26 06:54:34 +02:00
Jake Dallimore
83644cc414 Merge branch 'MDL-70990-master' of git://github.com/andrewnicols/moodle 2021-05-26 12:49:34 +08:00
Andrew Nicols
acd9d9823b MDL-70990 core_form: Replace FORM_SUBMIT_AJAX event
The legacy M.core.event.FORM_SUBMIT_AJAX ecent has been replaced with a
new core_form/events::formSubmittedByJavascript native DOM event.

The new event can be listened to at any point in the DOM using the
following syntax:

```
import {eventTypes} from 'core_form/events';

document.addEventListener(eventTypes.formSubmittedByJavascript, handler);
```

A backward-compatabibility layer is included to ensure that any
legacy YUI event triggered on a form is still respected and the new
native event is also fired.

A similar handler is also included to ensure that any legacy YUI event
listener is still called with the same arguments.

These legacy bridges will be removed after Moodle 4.3.
2021-05-26 10:46:49 +08:00
Andrew Nicols
d30f573f47 Merge branch 'MDL-71628-master' of https://github.com/nguyenphuctien/moodle 2021-05-26 10:38:48 +08:00
Sara Arjona
0fe09ffcad Merge branch 'MDL-68925_master' of git://github.com/mdjnelson/moodle 2021-05-25 15:34:23 +02:00
Tien Nguyen
b14e2d3bf3 MDL-71628 quiz: Quiz review: names not shown on Manual grading screens 2021-05-25 16:28:52 +07:00
Mark Nelson
e170f1c957 MDL-68925 assignfeedback_editpdf: avoid hiding comments with a menu open
Co-authored by: Jonathon Fowler <fowlerj@usq.edu.au>
2021-05-20 13:14:00 +08:00
Eloy Lafuente (stronk7)
ba4a7b8ccb Merge branch 'MDL-71126-master' of git://github.com/HuongNV13/moodle 2021-05-19 23:02:41 +02:00
Eloy Lafuente (stronk7)
c494791f30 Merge branch 'MDL-71619' of https://github.com/paulholden/moodle 2021-05-18 22:59:13 +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
Eloy Lafuente (stronk7)
d88452fd29 Merge branch 'MDL-71580-master-enfix' of git://github.com/mudrd8mz/moodle 2021-05-12 22:58:12 +02:00
Helen Foster
c8dc7bc942 MDL-71580 lang: Import fixed English strings (en_fix) 2021-05-12 17:10:16 +02:00
Eloy Lafuente (stronk7)
9d6aa39985 MDL-71583 versions: Add all the missing full-stops to version/requires
It seems that the new phpcs3 checker is now controlling those
line comments that previously were ignored.

This commit just looks for all the cases and bulk-add
them when needed. The bash script (mac) used to add all them is:

while read -r line; do
    arr=(${line//:/ })
    if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
        echo "  file ${arr[0]}, line ${arr[1]}"
        sed -i "${arr[1]}s/\$/\./" ${arr[0]}
    fi
done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
2021-05-11 20:11:07 +02:00
Mihail Geshoski
4cbde3c918 MDL-71570 mod_forum: Avoid using deprecated string in forum templates 2021-05-10 12:21:31 +08:00
abgreeve
178adf1c2f Merge branch 'MDL-68747-master' of https://github.com/dcai/moodle 2021-05-07 11:43:42 +08:00
Mathew May
c95b254046 MDL-70622 mod_lti: Tighten redirect param typing 2021-05-07 11:43:42 +08:00
Adam Olley
752ad3d8eb MDL-70622 mod_lti: Prevent xss on lti 1.3 authentication script
Without this, people can craft URLs that other users might use not realising
what they do - and as a XSS vulnerability, it could do any number of things the
clicking-user has access to do on the site.

Change-Id: I82adc71e8706d8929011b4b24523d5b62b8ccea1
2021-05-07 11:43:33 +08:00
Eloy Lafuente (stronk7)
ee22c95918 Merge branch 'MDL-70049-master_count_submissions' of https://github.com/agrowe/moodle 2021-05-06 23:26:50 +02:00
Eloy Lafuente (stronk7)
a7f40c5ac9 Merge branch 'MDL-70772' of git://github.com/paulholden/moodle 2021-05-06 23:19:55 +02:00
Sara Arjona
71996ef16b MDL-70110 mod_assign: make phpunit test DB order agnostic 2021-05-06 19:24:10 +02:00
Sara Arjona
5f476c2ab9 Merge branch 'MDL-70110-master' of https://github.com/septatrix/moodle 2021-05-06 13:15:59 +02:00
Víctor Déniz
c0c63b0a88 Merge branch 'MDL-71434' of git://github.com/paulholden/moodle 2021-05-06 11:11:40 +01:00
Jun Pataleta
5891fb1352 Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-06 11:38:48 +08:00
Shamim Rezaie
a27876c3df MDL-71518 behat: Remove %P and AM/PM
The %P modifier is not supported in the macOS (MDL-71549)
2021-05-06 12:31:42 +10:00
Jake Dallimore
c7c186681a Merge branch 'MDL-27193_glossaryDB' of https://github.com/andyjdavis/moodle 2021-05-06 09:49:14 +08:00
Jake Dallimore
52af65ca60 Merge branch 'MDL-71492-master' of git://github.com/jleyva/moodle 2021-05-06 09:15:47 +08:00
Andrew Davis
e34553d1b8 MDL-27193 mod_glossary: reducing system setting db queries 2021-05-05 23:13:53 +08:00
Juan Leyva
3018d40e88 MDL-71492 mod_quiz: Include missing gradepass in WebService 2021-05-05 14:44:16 +02:00
Sara Arjona
59ba1a9183 Merge branch 'MDL-71517' of https://github.com/paulholden/moodle 2021-05-05 12:17:31 +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
Jun Pataleta
e8b3ab767b Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-05 13:26:29 +08:00
Shamim Rezaie
35d1ac13d2 MDL-71518 core: Add weekday to activity dates 2021-05-05 13:56:06 +10:00
Eloy Lafuente (stronk7)
9b522367a0 Merge branch 'MDL-71425-master-enfix' of git://github.com/mudrd8mz/moodle 2021-05-04 23:39:32 +02:00
Eloy Lafuente (stronk7)
21e3cf71bc Merge branch 'MDL-71397-master' of git://github.com/marinaglancy/moodle 2021-05-04 23:37:33 +02:00
David Mudrák
ad30fde448 MDL-71425 lang: Fix reworded strings in tests 2021-05-04 17:45:18 +02:00
Paul Holden
06c4248b02 MDL-71359 mod_forum: empty forums shouldn't export anything. 2021-05-04 17:23:11 +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
Paul Holden
6b859f9481 MDL-71517 mod_data: remove invalid form custom data access.
On PHP7.4, trying to access array offsets of NULL triggers a notice.
2021-05-04 15:25:57 +01:00
Helen Foster
49efd0b4b6 MDL-71425 lang: Import fixed English strings (en_fix) 2021-05-04 14:51:44 +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
2984de32ff MDL-71401 mod_scorm: Completion behat test fix 2021-05-04 12:19:29 +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
Michael Hawkins
c2dd5d7bc7 MDL-71401 mod_lesson: Update completion behat to test individual changes 2021-05-04 12:19:29 +08:00