101078 Commits

Author SHA1 Message Date
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
Sara Arjona
3da88a7664 weekly release 4.0dev 2021-05-11 12:42:28 +02:00
Sara Arjona
349c0e503e Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-05-11 12:42:25 +02:00
AMOS bot
9c638cf22b Automatically generated installer lang files 2021-05-11 00:07:55 +00:00
Víctor Déniz
823dd4ec6a Merge branch 'MDL-71060-master' of https://github.com/NashTechOpenUniversity/moodle 2021-05-10 23:40:53 +01:00
Víctor Déniz
b697c3ddec Merge branch 'MDL-70900' of https://github.com/stronk7/moodle 2021-05-10 22:47:13 +01:00
Víctor Déniz
85ccac0afb Merge branch 'MDL-71543-master_toggleicon' of https://github.com/brickfield/moodle 2021-05-10 22:06:59 +01:00
Sara Arjona
f08cbfa679 Merge branch 'MDL-71570-master' of git://github.com/mihailges/moodle 2021-05-10 15:38:24 +02:00
Sara Arjona
71c59ad8dd Merge branch 'MDL-71533' of git://github.com/danmarsden/moodle 2021-05-10 11:37:58 +02:00
Jun Pataleta
3ebe3953da Merge branch 'MDL-71552-master_heatmaptoggle' of https://github.com/brickfield/moodle 2021-05-10 17:23:05 +08:00
Mihail Geshoski
4cbde3c918 MDL-71570 mod_forum: Avoid using deprecated string in forum templates 2021-05-10 12:21:31 +08:00
Mihail Geshoski
1aaa3ca8a2 MDL-71570 core_grades: Avoid using deprecated string in grade templates 2021-05-10 12:17:15 +08:00
Thong Bui
d1d7873f3a MDL-71060 Questions: Duplicates 'Current category' text. 2021-05-10 00:22:55 +07:00
Víctor Déniz
0a3b42e250 Merge branch 'MDL-71544-master_Errorspage' of https://github.com/brickfield/moodle 2021-05-08 20:30:31 +01:00
Eloy Lafuente (stronk7)
52ef32e4ff MDL-70900 ci: Move highest PHP to 8.0 (from current 7.4)
Also adds xmlrpc-beta from PECL (PHP8 moved the extension there)
and setups max_input_vars=5000 as initial value (see MDL-71390).

Note that this also includes a tiny modification when configuring
redis sessions, because there was some outdated code from old issue,
now fixed (MDL-60978), so that info has been removed.
2021-05-07 17:42:39 +02:00
Eloy Lafuente (stronk7)
ad8b3d2ba9 weekly release 4.0dev 2021-05-07 16:54:26 +02:00
Eloy Lafuente (stronk7)
dfb3c305a3 NOBUG: Fixed file access permissions 2021-05-07 16:54:26 +02:00
Eloy Lafuente (stronk7)
3a0397658e NOBUG: Fixed SVG browser compatibility 2021-05-07 16:54:23 +02:00
Jun Pataleta
91f398ce84 Merge branch 'MDL-71234-master' of git://github.com/HuongNV13/moodle 2021-05-07 12:21:33 +08:00
Huong Nguyen
860b5d8abc MDL-71234 usertours: Create tours for the activity completion output 2021-05-07 11:11:23 +07: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
Jun Pataleta
3482ce5f78 Merge branch 'MDL-71395-master-2' of git://github.com/marinaglancy/moodle 2021-05-07 10:30:23 +08:00
abgreeve
d30c967159 Merge branch 'MDL-70181' of https://github.com/stronk7/moodle 2021-05-07 10:21:46 +08:00
Dan Marsden
f7529abb48 MDL-71533 lib: Remove libraries that already exist in core. 2021-05-07 12:18:47 +12:00
Víctor Déniz
47d63ce9ef Merge branch 'MDL-71303' of https://github.com/StudiUM/moodle 2021-05-06 23:32:05 +01:00
Mike Churchward
0673d72e75 MDL-71543 block_accessreview: Toggling the heatmap icon image. 2021-05-06 17:30:49 -04: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
Eloy Lafuente (stronk7)
b0d79e3b18 Merge branch 'MDL-71313' of https://github.com/timhunt/moodle 2021-05-06 23:14:50 +02:00
Eloy Lafuente (stronk7)
e9f457e3c3 Merge branch 'MDL-71343-master' of https://github.com/rjnl/moodle 2021-05-06 23:07:29 +02:00
Mike Churchward
11646b9453 MDL-71552 block_accessreview: Removed 'alert' class when toggling off. 2021-05-06 16:06:17 -04:00
Marina Glancy
b46badb130 MDL-70926 core: getuserdate() shoud show debugging if null was passed
passing null to getdate() has different results in PHP7 and PHP8
2021-05-06 19:55:32 +02:00
Eloy Lafuente (stronk7)
5469202423 Merge branch 'MDL-70110-fix' of github.com:sarjona/moodle 2021-05-06 19:38:01 +02:00
Sara Arjona
71996ef16b MDL-70110 mod_assign: make phpunit test DB order agnostic 2021-05-06 19:24:10 +02:00
Mike Churchward
f5b85c0d31 MDL-71544 tool_brickfield: Allowing text to break in table. 2021-05-06 13:12:39 -04:00
Sara Arjona
076116e7a6 Merge branch 'MDL-71491' of git://github.com/paulholden/moodle 2021-05-06 18:42:18 +02:00
Sara Arjona
5e2a754e16 Merge branch 'MDL-71420' of https://github.com/stronk7/moodle 2021-05-06 17:58:02 +02:00
Víctor Déniz
e41ff4f15e Merge branch 'MDL-71402' of git://github.com/paulholden/moodle 2021-05-06 16:46:19 +01:00
Paul Holden
72304875ec MDL-71491 repository_flickr: return more file data.
See also 643b0cca.
2021-05-06 16:36:49 +01:00
Sara Arjona
84c49ccc1a Merge branch 'MDL-71268-master' of git://github.com/lucaboesch/moodle 2021-05-06 17:11:16 +02:00
Marina Glancy
5148d33fa1 MDL-71395 core: fix bug in google lib wrapper
because of changes in PHP8 the '' == 0 is no longer true and the error in the google api wrapper was discovered
2021-05-06 15:39:11 +02:00
Paul Holden
2877501ad8 MDL-71402 availability: fix group restriction button in mod form.
* The button to "Add group/grouping access restriction" under
   common module settings should only be present if corresponding
   availability plugins are enabled; and
 * Prevent the same button behaving as a submit button, which
   intercepted the user hitting return in the form and added a
   restriction without deliberate action taken by the user.
2021-05-06 14:20:37 +01:00
Marina Glancy
d7d609162e MDL-71395 block_tag_youtube: sometimes exception may have empty message 2021-05-06 14:44:24 +02:00
Eloy Lafuente (stronk7)
d676a8114e MDL-71420 environment: Add some strategic comments and todos.
This isn't really a deprecations where something is replaced
by another and all uses must adapt to. Instead it's just a
fallback functionality that will stop working in Moodle 4.2.

Because of that, I've tried to add TODO/@todo comments to
the places that will need to modified, always pointing to
MDL-71421 that is where the removal will happen.

Also, haven't added any debugging() output, after thinking
a lot about it, because this isn't anything that developers
can be using but a internal implementation detail (a fallback)
that we want to remove in some versions.
2021-05-06 14:29:33 +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
Sara Arjona
d8a029ad64 Merge branch 'MDL-71390-master' of git://github.com/marinaglancy/moodle 2021-05-06 08:01:47 +02:00
Jun Pataleta
5891fb1352 Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-06 11:38:48 +08:00