Commit graph

102369 commits

Author SHA1 Message Date
Jun Pataleta
28f0fe3711 Merge branch 'MDL-71931-master' of git://github.com/andrewnicols/moodle 2021-07-14 00:41:58 +08:00
Sara Arjona
b0012a408d Merge branch 'MDL-71782' of https://github.com/stronk7/moodle 2021-07-13 16:44:34 +02:00
Sara Arjona
730792e51b Merge branch 'MDL-32103-master' of git://github.com/ilyatregubov/moodle 2021-07-13 16:28:36 +02:00
Ilya Tregubov
b26608d1d4 MDL-32103 completion: Fix CiBoT errors.
Old code still uses underscores in variable names, so CiBoT is
not happy. Making it constistant with Moodle code style.
2021-07-13 12:07:53 +02:00
Ilya Tregubov
4819625349 MDL-32103 completion: Allow instant completion updates.
For activity based course completion criteria allow instant
course completion updates if the activity completion state was changed
for a single user.
2021-07-13 12:07:53 +02:00
Andrew Nicols
a953a29616 MDL-71931 tool_usertours: Emit real events on step/tour transitions 2021-07-13 16:29:51 +08:00
Andrew Nicols
61e03fe208 MDL-71931 tool_usertours: Update to ES format 2021-07-13 16:11:12 +08:00
Jun Pataleta
5056a9641f Merge branch 'MDL-72036-master' of git://github.com/sarjona/moodle 2021-07-13 16:05:45 +08:00
Sara Arjona
a81c372f00 MDL-72036 atto_h5p: Random error with external URL
After a major upgrade was done in h5p.com, some random errors appeared
in the "H5P options are ignored for H5P URLs" scenario.
They have been fixed replacing the URL for different (which should
load quicker). As we're checking external content, no other improvement
can be done on the Moodle site.
2021-07-13 08:36:33 +02:00
Huong Nguyen
48d21af177 MDL-71790 calendar: Revamp the manage subscriptions page 2021-07-13 13:21:20 +07:00
Dongsheng Cai
ff035c0aa7 MDL-71790 calendar: Create a new calendar import page
The commit was originally from MDL-71808
2021-07-13 13:19:57 +07:00
Paul Holden
42281e48f5 MDL-70427 task: correct missing component when queuing adhoc task.
If the task belongs to a component, and doesn't have it's own
component property set then we can lazy-load it based on class
namespace.
2021-07-12 20:47:04 +01:00
Paul Holden
689e20c8ba MDL-70427 admin: remove plugin adhoc tasks during uninstall. 2021-07-12 20:43:14 +01:00
Paul Holden
5255026717 MDL-71050 h5p: account for parent languages retrieving translations.
Take account of parent languages when requesting given library
translation. For example if we are currently using "de_kids" as the
current language, we need to recurse each language pack looking for
a matching H5P translation ("de_kids" -> "de_du" -> "de").
2021-07-12 13:17:02 +01:00
Dmitri Pisarev
1983718149 MDL-63770 core: Fix a false-positive in reverseproxyabused check
A `reverseproxyabused` error is wrongly triggered when external port number doesn't equal internal.
2021-07-12 11:23:49 +02:00
AMOS bot
57152c75ad Automatically generated installer lang files 2021-07-11 00:07:47 +00:00
Eloy Lafuente (stronk7)
47f708fc30 MDL-71782 behat: Ensure page after saving changes is there
A similar approach was followed @ MDL-67935, although the
case doesn't seem to be the same.

In any case, it's curious that all local execution are
100% passing and only CIs fail so often. Just guessing if,
maybe, there is some Chrome version factor around (we
are running older, sticky, versions @ CIs.
2021-07-10 00:18:33 +02:00
Paul Holden
91b5e4195f MDL-71835 report_log: correct query returning user fullname from DB. 2021-07-09 13:54:10 +01:00
Ilya Tregubov
7226a0fe5f MDL-71847 course: Cover state classes with direct unit tests. 2021-07-09 13:43:17 +02:00
Paul Holden
f2f4d0a9bb MDL-67833 tool_customlang: break long text in component column. 2021-07-09 11:36:56 +01:00
AMOS bot
52a9bf728a Automatically generated installer lang files 2021-07-09 00:07:56 +00:00
Eloy Lafuente (stronk7)
c357779722 weekly release 4.0dev 2021-07-08 23:43:55 +02:00
Jun Pataleta
3b0e7c65f4 Merge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle 2021-07-08 23:30:35 +02:00
Jun Pataleta
b452bab8f7 Merge branch 'MDL-71919-master-fix' of https://github.com/cescobedo/moodle 2021-07-08 23:30:35 +02:00
Adrian Greeve
18515919e1 MDL-61460 tool_componentlibrary: Additional whitespace removal. 2021-07-08 23:30:35 +02:00
cescobedo
084833acbe MDL-71919 core_message: Fix tests in message_send 2021-07-08 23:30:35 +02:00
Jun Pataleta
f21ac401e2 Merge branch 'MDL-70594' of https://github.com/stronk7/moodle 2021-07-08 23:30:35 +02:00
Huong Nguyen
9b758d5cc8 MDL-71922 file: Enhance endless recursion requests protection 2021-07-08 23:30:35 +02:00
cescobedo
9aa5f7fe9b MDL-71919 core_message: Fix unclosed html tags in email notification 2021-07-08 23:30:35 +02:00
Adrian Greeve
65642ef97a Merge branch 'MDL-61460-master-fix' of https://github.com/andrewnicols/moodle 2021-07-08 23:30:34 +02:00
Adrian Greeve
f03a714607 MDL-61460 tool_componentlibrary: removed white space.
Also updated the version number as that was causing a problem.
2021-07-08 23:30:34 +02:00
Andrew Nicols
f1525fbdbf MDL-61460 tool_componentlibrary: JS Documentation fix 2021-07-08 23:30:34 +02:00
Adrian Greeve
a5336912d9 Merge branch 'MDL-61460-master-4' of git://github.com/bmbrands/moodle 2021-07-08 23:30:34 +02:00
Andrew Nicols
b3b7b3daca MDL-61460 core: Rebuild npm-shrinkwrap for new dependencies 2021-07-08 23:30:34 +02:00
Paul Holden
5bc561ee7a MDL-71957 auth_shibboleth: safer session retrieval during logout. 2021-07-08 23:30:34 +02:00
Jun Pataleta
23f60fe84f Merge branch 'MDL-70335' of https://github.com/stronk7/moodle 2021-07-08 23:30:34 +02:00
Dongsheng Cai
a4de29ced3 MDL-71978 core_calendar: only allow owner to edit user subscriptions 2021-07-08 23:30:34 +02:00
Eloy Lafuente (stronk7)
4094b4f92e MDL-70335 behat: Ensure the scenario passes under all themes
Also, get rid of not needed @javascript tag
2021-07-08 23:30:33 +02:00
Adrian Greeve
aad5a102c7 Merge branch 'MDL-71887-master' of https://github.com/snake/moodle 2021-07-08 23:30:33 +02:00
Paul Holden
7d177640b0 MDL-71760 admin: escape identity fields in token management table. 2021-07-08 23:30:33 +02:00
Paul Holden
2408f98357 MDL-71898 mod_quiz: escape user identity fields on override pages. 2021-07-08 23:30:33 +02:00
Mihail Geshoski
4772dece1d MDL-58393 core: Remove firstname argument from emailconfirmation string 2021-07-08 23:30:33 +02:00
Sujith Haridasan
b2527be7d3 MDL-71241 course: Validate and sanitize sort arguments
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-07-08 23:30:27 +02:00
Mihail Geshoski
084ff0c8da MDL-71242 core_course: Test the validation of the sort value
Adds new unit test, test_course_get_recent_courses_sort_validation(),
which is reponsible for testing the validation of the sort value in
course_get_recent_courses().
2021-07-08 23:30:26 +02:00
Mihail Geshoski
069cc7164c MDL-71242 core_course: Update test_course_get_recent_courses() unit test
Adds additional assertions in test_course_get_recent_courses() test to
ensure that the sort funcionality works as expected.
2021-07-08 23:30:26 +02:00
Mihail Geshoski
68c90578e7 MDL-71242 core_course: Validate the value of the sort argument
This change validates the value of the sort argument in
course_get_recent_courses().
2021-07-08 23:29:26 +02:00
Simey Lameze
8fd7e5edeb MDL-65252 mod_forum: make inline attachment field optional 2021-07-08 16:14:12 +08: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
Jun Pataleta
5c70150450 MDL-71788 calendar: Make it easier to copy the calendar URL
Converted the Calendar URL string to a read-only text input containing
the calendar URL. Pressing the "Copy URL" button will copy the calendar
URL to the clipboard.
Fixed Behat tests as well for the export feature. With the calendar URL
in a text input that clips the whole URL, the `preset_what` URL
parameter cannot be seen by the "I should see" step. Worked around
this by checking that the actual value attribute of the calendar URL
text input contains the preset_what parameter.

Plus: Deprecate the calendarurl string. It will be replaced by a new
lang string that does not contain the actual calendar URL.
2021-07-08 12:33:55 +08:00
Andrew Nicols
36f21508fb MDL-72108 js: Fix incorrect jsdoc examples for core/ajax 2021-07-08 10:39:13 +08:00