22895 Commits

Author SHA1 Message Date
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
Michael Hawkins
7c368add9c MDL-71401 mod_glossary: Update completion behat to test all changes 2021-05-04 12:19:29 +08:00
Michael Hawkins
9db08b47de MDL-71401 mod_forum: Update completion behat to test individual changes 2021-05-04 12:19:29 +08:00
Michael Hawkins
6469e8c1a9 MDL-71401 mod_data: Update completion behat to test individual changes 2021-05-04 12:18:36 +08:00
Michael Hawkins
70a653aa44 MDL-71401 assign: Update completion behat to test individual changes 2021-05-04 12:18:36 +08:00
Shamim Rezaie
47f7c24f2b MDL-71163 mod_lesson: Fix behat failures 2021-05-03 15:41:43 +02:00
Sara Arjona
b04d1c3041 Merge branch 'MDL-71163-master' of git://github.com/rezaies/moodle 2021-05-03 11:59:58 +02:00
Eloy Lafuente (stronk7)
3f9812835b Merge branch 'MDL-66431-fix' of github.com:sarjona/moodle 2021-05-03 10:07:47 +02:00
Adrian Greeve
c0fcd9bd64 Merge branch 'MDL-71440-master' of git://github.com/mihailges/moodle 2021-05-03 16:05:24 +08:00
Sara Arjona
1e40093bfa MDL-66431 behat: fix goutte + classic failure 2021-05-03 09:32:04 +02:00
Mihail Geshoski
1fa872b84f MDL-71440 mod_assign: New capability for viewing the submission summary
Creates a new capability mod/assign:viewownsubmissionsummary which will
be required in order to display the submission summary to the user in
the assignment page.
2021-05-03 15:27:27 +08: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
7d9fa772d9 MDL-66431 core: Fix lti test for classic theme. 2021-05-02 16:06:17 +02: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