Commit graph

101946 commits

Author SHA1 Message Date
Paul Holden
de589ca25d MDL-67338 message: re-implement block page type patterns.
The `page_type_list` method for the message component was deprecated
in 5b0769db as part of MDL-54744. However it is still required when
trying to configure blocks on any messaging pages.
2021-07-14 19:32:24 +01:00
Eloy Lafuente (stronk7)
c2dd676a4e Merge branch 'MDL-72139-311' of git://github.com/cescobedo/moodle into MOODLE_311_STABLE 2021-07-14 13:59:58 +02:00
cescobedo
beb13397f8 MDL-72139 core_message: Fix encoding UTF-8 in prevent unclosed tags 2021-07-14 07:41:24 +02:00
Eloy Lafuente (stronk7)
13a902faea Merge branch 'MDL-71874-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-07-13 20:38:10 +02:00
Sara Arjona
7487cbd043 Merge branch 'MDL-71782_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-07-13 16:44:40 +02:00
Jun Pataleta
f884dee7e8 Merge branch 'MDL-72036-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-07-13 16:05:36 +08:00
Sara Arjona
f008960321 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:37:42 +02:00
Huong Nguyen
f53dd9c5d2 MDL-71656 atto: Add meaningful labels to colour items
Colour chooser supported:
 - atto_fontcolor
 - atto_backcolor
2021-07-13 13:07:06 +07:00
Paul Holden
e6a4dde54b 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:00 +01:00
Paul Holden
2a2fd7ad38 MDL-70427 admin: remove plugin adhoc tasks during uninstall. 2021-07-12 20:45:07 +01:00
Paul Holden
37716dc58e 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:07 +01:00
AMOS bot
bb4bcb120d Automatically generated installer lang files 2021-07-11 00:07:26 +00:00
Eloy Lafuente (stronk7)
2094d420e1 Moodle release 3.11.1 2021-07-10 18:56:04 +02:00
Eloy Lafuente (stronk7)
1e03249349 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 15:50:31 +02:00
Paul Holden
1f20d8dfed MDL-71835 report_log: correct query returning user fullname from DB. 2021-07-09 13:54:18 +01:00
Paul Holden
b40cf3ba54 MDL-67833 tool_customlang: break long text in component column. 2021-07-09 11:37:04 +01:00
AMOS bot
a50d03fa58 Automatically generated installer lang files 2021-07-09 00:07:33 +00:00
Eloy Lafuente (stronk7)
04eaed2029 weekly release 3.11+ 2021-07-08 23:44:06 +02:00
Jun Pataleta
edd769831c Merge branch 'MDL-71919-311-fix' of https://github.com/cescobedo/moodle into MOODLE_311_STABLE 2021-07-08 23:32:19 +02:00
Jun Pataleta
a405f1c947 Merge branch 'MDL-70594_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-07-08 23:32:19 +02:00
cescobedo
386b1ad8a6 MDL-71919 core_message: Fix tests in message_send 2021-07-08 23:32:19 +02:00
Huong Nguyen
cb48219537 MDL-71922 file: Enhance endless recursion requests protection 2021-07-08 23:32:19 +02:00
cescobedo
1f45155354 MDL-71919 core_message: Fix unclosed html tags in email notification 2021-07-08 23:32:19 +02:00
Paul Holden
17bbd8e109 MDL-71957 auth_shibboleth: safer session retrieval during logout. 2021-07-08 23:32:19 +02:00
Eloy Lafuente (stronk7)
fa012b1b3c MDL-70335 behat: Ensure the scenario passes under all themes
Also, get rid of not needed @javascript tag
2021-07-08 23:32:19 +02:00
Dongsheng Cai
ecae6484a4 MDL-71978 core_calendar: only allow owner to edit user subscriptions 2021-07-08 23:32:19 +02:00
Adrian Greeve
3a2b3ac3e0 Merge branch 'MDL-71887-311' of https://github.com/snake/moodle into MOODLE_311_STABLE 2021-07-08 23:32:19 +02:00
Paul Holden
e3343c280d MDL-71760 admin: escape identity fields in token management table. 2021-07-08 23:32:19 +02:00
Paul Holden
9360ddef14 MDL-71898 mod_quiz: escape user identity fields on override pages. 2021-07-08 23:32:19 +02:00
Mihail Geshoski
ee4a1fb8d4 MDL-58393 core: Remove firstname argument from emailconfirmation string 2021-07-08 23:32:19 +02:00
Sujith Haridasan
c750bd273b MDL-71241 course: Validate and sanitize sort arguments
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-07-08 23:32:10 +02:00
Mihail Geshoski
c4b65df459 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:32:10 +02:00
Mihail Geshoski
4d2f6a1d08 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:32:10 +02:00
Mihail Geshoski
db6340a0e1 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:31:50 +02:00
Andrew Nicols
d2cd91224f MDL-72108 js: Fix incorrect jsdoc examples for core/ajax 2021-07-08 10:39:44 +08:00
Claude Vervoort
5e64128392 MDL-71887 mod_lti: repost when no cookie due to crosssite request 2021-07-07 14:17:51 +08:00
Michael Hawkins
15264e5d9a MDL-71916 lib: Check cURL redirects for blocked URLs before following 2021-07-06 23:45:41 +02:00
Eloy Lafuente (stronk7)
01a23b30ca Merge branch 'MDL-70638-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-07-06 20:21:25 +02:00
Eloy Lafuente (stronk7)
bf5e9b7aec Merge branch 'MDL-70335-311' of https://github.com/juancs/moodle into MOODLE_311_STABLE 2021-07-06 20:18:33 +02:00
Eloy Lafuente (stronk7)
f70a99543d Merge branch 'MDL-71537-311' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_311_STABLE 2021-07-06 20:16:28 +02:00
Paul Holden
9ed376448f MDL-70638 user: correct access checks when serving profile files.
Requests for files from a users profile file area should follow
the same access checks as for the profile itself.
2021-07-06 10:28:22 +01:00
cescobedo
06d74009ba MDL-71917 core_message: Use $USER in WS delete_message_for_all_users 2021-07-06 13:33:39 +08:00
Thach Le Huy
ed48e5149b MDL-71537 User tours: Minor display errors on mobile 2021-07-06 09:34:25 +07:00
Paul Holden
318528af1a MDL-71981 user: escape identity fields if writer supports HTML. 2021-07-06 09:28:01 +08:00
Paul Holden
fb18ed8256 MDL-71981 dataformat: indicate HTML support in writer callback. 2021-07-06 09:28:01 +08:00
Ilya Tregubov
0d13cd3f29 Merge branch 'MDL-71796-311' of git://github.com/lameze/moodle into MOODLE_311_STABLE 2021-07-05 12:35:35 +02:00
Simey Lameze
4fc4c6b54b MDL-71796 mod_scorm: fix custom completion logic 2021-07-05 17:47:44 +08:00
Eloy Lafuente (stronk7)
74c605196d Merge branch 'MDL-72063-311-en_fix' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-07-04 11:02:27 +02:00
Juan Segarra Montesinos
b7b5d7112f MDL-70335 mod_forum: Subscribe users from Forced to Auto mode
When a teacher changes the subscription mode from forced
subscription to auto subscription using the "cog" icon in the
forum page, users are not seen in the Show/edit current
subscribers" page.

This does not happens when done from the Edit settings page.
2021-07-03 09:51:28 +02:00
Eloy Lafuente (stronk7)
90711fb0c3 MDL-70594 environment: Apply agreed changes
- PostgreSQL 10 required.
- Exif PHP extension recommended.
2021-07-01 22:41:37 +02:00