109361 Commits

Author SHA1 Message Date
Paul Holden
5cc7311717
MDL-73138 user: avoid double encoding participant filter values. 2023-05-26 10:25:33 +01:00
Sara Arjona
4ed782dd03 weekly release 4.3dev 2023-05-26 09:28:35 +02:00
Sara Arjona
cb5ce03aae Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2023-05-26 09:28:25 +02:00
Andrew Nicols
0f25d9360d
Merge branch 'MDL-77252-master-fix' of https://github.com/davewoloszyn/moodle 2023-05-26 11:12:44 +08:00
David Woloszyn
81414b527a MDL-77252 course: Fixed failing communication room status test 2023-05-26 11:55:23 +10:00
Jun Pataleta
e1d1cf8bfe Merge branch 'MDL-78346-master' of https://github.com/andrewnicols/moodle 2023-05-25 16:22:55 +08:00
Andrew Nicols
cc193bd7a6
MDL-78346 tool_langimport: Print any notifications before redirect 2023-05-25 14:54:35 +08:00
Andrew Nicols
18dc795907
MDL-78266 core: Simplify string fetching/storing/retrieval
Rather than storing strings by an ID, we instead store them by the
string placeholder value.

This means that:
- we can fetch them by placeholder (e.g. `[[_s144]]`) rather than by
  index
- we can lazily clean them on fetch
- we only clean them once, rather than on every insertion.
2023-05-25 13:42:15 +08:00
Andrew Nicols
a438e2c72d
MDL-78266 core: Simplify string treatment in core/templates
The old handling was extremely convoluted, and likely inefficient.

It's much clearer to use a regex with named groups and loop through in a
standard way.
2023-05-25 13:42:08 +08:00
Andrew Nicols
1ef815cd97
MDL-78266 core: Break apart core/templates
This commit breaks apart the responsibilities of the core/templates
module to separate out the different constituent parts. Broadly speaking
these are:
- core/local/templates/loader - responsible for fetching, and caching,
  of templates
- core/local/templates/renderer - A Moodle wrapper around the Mustache
  engine
2023-05-25 13:42:00 +08:00
Andrew Nicols
16dee82ce5
MDL-78266 core: Migrate core/templates to esm 2023-05-25 12:09:46 +08:00
Andrew Nicols
e82aed72e6
Merge branch 'MDL-78012' of https://github.com/paulholden/moodle 2023-05-25 12:02:55 +08:00
Jun Pataleta
c1c6234aea Merge branch 'MDL-78339' of https://github.com/paulholden/moodle 2023-05-25 12:01:15 +08:00
Jun Pataleta
d1de2ba1a4 Merge branch 'MDL-76065-master' of https://github.com/lameze/moodle 2023-05-25 11:56:54 +08:00
Jun Pataleta
fe69b61828 Merge branch 'MDL-78169-master' of https://github.com/andrewnicols/moodle 2023-05-25 11:50:22 +08:00
Jun Pataleta
428e604344 Merge branch 'MDL-78320' of https://github.com/paulholden/moodle 2023-05-25 11:48:42 +08:00
Jun Pataleta
b67930a29c Merge branch 'MDL-78346-master' of https://github.com/andrewnicols/moodle 2023-05-25 11:43:37 +08:00
Jun Pataleta
881b51c8e2 Merge branch 'MDL-77159-master' of https://github.com/andrewnicols/moodle 2023-05-25 11:39:52 +08:00
Andrew Nicols
68122a9d89
MDL-78346 tool_langimport: Redirect after action to prevent resubmission 2023-05-25 11:14:14 +08:00
Andrew Nicols
ad7a5030f1
MDL-78346 tool_langimport: Prevent uninstallation of invalid targets 2023-05-25 11:14:14 +08:00
Andrew Nicols
d895574c9a
Merge branch 'MDL-77252-master' of https://github.com/davewoloszyn/moodle 2023-05-25 10:49:30 +08:00
Andrew Nicols
1cd51db6a1
Merge branch 'MDL-77341-master' of https://github.com/meirzamoodle/moodle 2023-05-25 10:44:50 +08:00
Andrew Nicols
5c183a99e7
Merge branch 'MDL-78307-master' of https://github.com/dpalou/moodle 2023-05-25 10:42:19 +08:00
Andrew Nicols
b50d41b085
Merge branch 'MDL-63759-master' of https://github.com/srobotta/moodle 2023-05-25 10:37:03 +08:00
Andrew Nicols
e6e753024c
Merge branch 'MDL-78332' of https://github.com/skodak/moodle 2023-05-25 10:03:22 +08:00
Andrew Nicols
e702298612
Merge branch 'MDL-77995' of https://github.com/paulholden/moodle 2023-05-25 09:49:11 +08:00
Petr Skoda
8a9e5aeb7a MDL-78332 core: fix hook discovery and use is_subclass_of()
And order hooks in admin UI - core first.
2023-05-24 19:53:18 +02:00
Paul Holden
b2dd8a3cbd
MDL-78320 quiz_overview: format group names in overview report. 2023-05-24 16:19:29 +01:00
Andrew Nicols
d8a7039f92
Merge branch 'MDL-77983-master' of https://github.com/rjnl/moodle 2023-05-24 21:14:41 +08:00
Andrew Nicols
c730b8735f
MDL-77159 tool_langimport: Replace YUI module with ESM 2023-05-24 20:40:14 +08:00
Petr Skoda
0dcb5c4281 MDL-78332 core: remove unnecessary hooks reset method 2023-05-24 14:35:59 +02:00
Jun Pataleta
ac0767cac4 Merge branch 'MDL-77353_Master' of https://github.com/catalyst/moodle-MDL-76126 2023-05-24 20:18:59 +08:00
Dani Palou
53eb03bcc6 MDL-78307 quiz: Fix URL passed to secure_window.init_close_button 2023-05-24 13:10:50 +02:00
Dani Palou
a5a33b8d4a MDL-78307 quiz: Fix contexturl passed to attempt_overdue message 2023-05-24 13:10:50 +02:00
Paul Holden
373c163f74
MDL-78339 webservice: correctly namespace external API. 2023-05-24 09:36:23 +01:00
Andrew Nicols
03d70834c9
Merge branch 'MDL-73464-master' of https://github.com/Chocolate-lightning/moodle 2023-05-24 14:56:47 +08:00
Stephan Robotta
95f5e32f99 MDL-63759 iplookup: use OSM if Google is not used, use accuracy radius 2023-05-24 08:40:34 +02:00
Andrew Nicols
cb3ea26ae6
Merge branch 'MDL-78016' of https://github.com/stronk7/moodle 2023-05-24 14:32:56 +08:00
David Mudrák
b407af725f MDL-73464 book: Scroll to chapter top when navigating through the book
When navigating to the next / previous chapter, the chapter should be
the page element that gets the user's attention and focus. Its title
should be displayed at the prominent top page area without the need to
scroll to it all the time.
2023-05-24 14:32:45 +08:00
Jun Pataleta
d78de537ff Merge branch 'MDL-78005-master' of https://github.com/davewoloszyn/moodle 2023-05-24 12:06:52 +08:00
Jun Pataleta
6ee1bac7d8 Merge branch 'MDL-78132-master' of https://github.com/sarjona/moodle 2023-05-24 12:04:58 +08:00
Nathan Nguyen
1452caac93 MDL-77353 core: examples of new user function usage 2023-05-24 13:05:13 +10:00
Nathan Nguyen
f897ecd627 MDL-77353 core_user: new functions
New functions:
    * `core_user::get_profile_picture` for retrieving user picture.
    * `core_user::get_profile_url` for retrieving profile url.
    * `core_user::get_fullname` for retrieving user full name.

Note: the context is not used as this stage. It will be used by "User Disguises" plugin, which will be implemented later.
2023-05-24 13:05:02 +10:00
Simey Lameze
42a01d20e3 MDL-75961 behat: review and enhance mod_imscp tests
This commit makes the following improvements to mod_imscp tests:
* Removes unnecessary @javascript and @_file_upload tags from non-JS tests.
* Removes user/enrol data generation from tests that can be performed as admin.
* Removes "I log out" and other unnecessary steps.
2023-05-24 10:27:41 +08:00
Angelia Dela Cruz
deb4e69f74 MDL-75961 behat: IMSCP behat generators use UI
Replace steps that manually add IMSCP instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-05-24 10:01:17 +08:00
Sara Arjona
8705d4e478 Merge branch 'MDL-78176' of https://github.com/AnupamaSarjoshi/moodle 2023-05-23 17:45:47 +02:00
Sara Arjona
53bd6aaaf8 Merge branch 'MDL-75640' of https://github.com/paulholden/moodle 2023-05-23 17:41:06 +02:00
Sara Arjona
1df51b02f8 Merge branch 'MDL-78242' of https://github.com/paulholden/moodle 2023-05-23 17:36:50 +02:00
Jun Pataleta
b5c0d804f1 Merge branch 'MDL-75512-master' of https://github.com/ilyatregubov/moodle 2023-05-23 20:16:44 +08:00
Andrew Nicols
67ba0d3e83
MDL-74954 core: Detect changes to hook overrides 2023-05-23 16:03:37 +08:00