107823 Commits

Author SHA1 Message Date
Jun Pataleta
95d5b0aab0 MDL-77105 core: Cast custom data to an array when evaluating filtericon
Since other modules may treat custom data as an object, we need to make
cast it to an array before evaluating for the `filtericon` custom data.
2023-03-28 18:49:27 +08:00
Jun Pataleta
bc1d7e854b MDL-77105 core: Add upgrade.txt notes 2023-03-27 14:00:58 +08:00
Jun Pataleta
99bc8f2b30 MDL-77105 mod_url: Declare filtericon custom data
* Set a custom data `filtericon` when the icon being rendered for the
URL resource is not equal to the default plugin icon.
2023-03-27 14:00:58 +08:00
Jun Pataleta
67f739499b MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons
Add a '.nofilter' class when rendering custom tool icons in order
to render them as is and without CSS filter on the activity chooser.
2023-03-27 14:00:38 +08:00
Jun Pataleta
538e17e199 MDL-77105 core_course: Add 'nofilter' class for non-monologo icons
When rendering content items, check whether the plugin has monologo
icons. If so, add a 'nofilter' class so the plugin icon can be
rendered as is and without the CSS filter.
2023-03-27 14:00:18 +08:00
Jun Pataleta
28d8c9c1e7 MDL-77105 block_timeline: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the timeline block.
2023-03-27 13:59:54 +08:00
Jun Pataleta
18703b71ac MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the recently accessed items block.
2023-03-27 13:59:33 +08:00
Jun Pataleta
f59220a76d MDL-77105 theme_boost: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the context header on the activity page.
2023-03-27 13:42:43 +08:00
Jun Pataleta
84198e03c7 MDL-77105 course_format: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the course homepage.
2023-03-27 13:42:43 +08:00
Jun Pataleta
f5d445a68f MDL-77105 core: Conditionally apply icon filter
* Apply the filter CSS property only to activity icons
that don't have the ".nofilter" class. This will allow
activities with non-SVG icons to be rendered as they are.
2023-03-27 13:42:41 +08:00
Jun Pataleta
30b0b0cf40 MDL-77105 core: Add a filtericon parameter to course mod icon URLs
* If a plugin defines a `filtericon` custom data or uses its monologo
version of the icon, a `filtericon` parameter is being added to the
icon's URL. This information can help plugins determine whether to
render the activity icon as is or with CSS filtering.
2023-03-27 13:36:42 +08:00
Jun Pataleta
69948eda10 MDL-77105 core: Method to determine whether a plugin has monolog icons 2023-03-27 13:36:38 +08:00
Sara Arjona
5898c3e5dd weekly release 4.1.2+ 2023-03-24 13:59:31 +01:00
Jun Pataleta
d2bc54fba9 Merge branch 'MDL-77669-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-03-24 11:51:36 +08:00
Jun Pataleta
9b07f56add Merge branch 'MDL-77626_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-03-24 10:40:36 +08:00
Sara Arjona
d2d49e150b Merge branch 'MDL-77705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-23 18:30:27 +01:00
Sara Arjona
a7d71e0e2d Merge branch 'MDL-77666-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-23 17:53:45 +01:00
Paul Holden
3fa384384e
Merge branch 'MDL-77392-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE 2023-03-23 12:25:29 +00:00
Stephan Robotta
66e88ace0f MDL-77392 calendar: calendar items are hidden because of settings 2023-03-23 12:53:09 +01:00
Paul Holden
fe07140e27
Merge branch 'MDL-77691-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE 2023-03-23 11:43:41 +00:00
Sara Arjona
fad4e118a4 Merge branch 'MDL-77380-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-03-22 14:06:07 +01:00
Sara Arjona
0d80eea9af Merge branch 'MDL-77692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-22 13:50:11 +01:00
Ilya Tregubov
0b973b52e9 weekly release 4.1.2+ 2023-03-22 09:37:08 +08:00
Ilya Tregubov
b158354710 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-03-22 09:37:06 +08:00
Paul Holden
ee3924702f
MDL-77705 reportbuilder: avoid re-using field alias between entities.
Ensure that when the user entity is added multiple times to a report,
when there are custom profile fields, each of those gets a unique table
alias per-entity.
2023-03-21 17:29:09 +00:00
Mikel Martín
0b2085648e MDL-77691 behat: Add step to navigate to profile page directly 2023-03-21 08:08:10 +01:00
Simey Lameze
939a416308 MDL-77380 block_myoverview: improve show toggle functionality test 2023-03-21 14:47:25 +08:00
Jun Pataleta
28d1db2f1d Merge branch 'MDL-75746_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-03-21 12:01:01 +08:00
Meirza
29a1cf86a3 MDL-77669 dml: Added extrainfo in the DB options config.
extrainfo is an extra information for the DB driver, e.g. SQL Server,
has additional configuration according to its environment,
which the administrator can specify to alter and override any connection options.

Co-authored-by: LukeCarrier <luke@carrier.im>

This is a backport of MDL-64153.
2023-03-21 08:48:39 +08:00
Ilya Tregubov
ea915c29e5 Merge branch 'mdl-72533-event-table-performance-MOODLE_401_STABLE' of https://github.com/petersistrom/moodle into MOODLE_401_STABLE 2023-03-21 08:24:59 +08:00
Paul Holden
deced83b06
Merge branch 'MDL-72124_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-03-20 17:04:54 +00:00
Paul Holden
fac1828222
MDL-77692 reportbuilder: format custom field condition/filter names. 2023-03-20 16:32:08 +00:00
Sara Arjona
502536c16e Merge branch 'MDL-77574-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-03-20 17:06:06 +01:00
Sara Arjona
1bfc0a1d14 Merge branch 'MDL-77523-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE 2023-03-20 13:42:49 +01:00
Mark Sharp
f8301fb4bc MDL-72533 core_calendar: improve calendar event table peformance
- Filter searchable courses if set.
- Sites with large groups should now experience better performance.
- Applies and optimises query against a proper date range.

Co-authored-by: Mark Sharp <mark.sharp@solent.ac.uk>
Co-authored-by: Peter Sistrom <petersistrom@catalyst-au.net>
Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
2023-03-20 12:09:24 +11:00
AMOS bot
9e97a353ad Automatically generated installer lang files 2023-03-20 00:07:41 +00:00
AMOS bot
e8cbc0b653 Automatically generated installer lang files 2023-03-18 00:07:42 +00:00
Sara Arjona
231c25e498 weekly release 4.1.2+ 2023-03-17 17:58:21 +01:00
Sara Arjona
3ff1293c12 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-03-17 17:58:12 +01:00
Jun Pataleta
eda00e2c73 Merge branch 'MDL-76257-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE 2023-03-17 11:01:22 +08:00
Jun Pataleta
85b4e2312e Merge branch 'MDL-77608-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-17 10:29:48 +08:00
AMOS bot
5707e7d40f Automatically generated installer lang files 2023-03-17 00:07:43 +00:00
Paul Holden
71e751565c
MDL-77666 contentbank: format category names for display. 2023-03-16 23:27:13 +00:00
Jake Dallimore
282df774a4 Merge branch 'MDL-76309-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE 2023-03-16 15:47:16 +08:00
Stefan Hanauska
9f5492df71 MDL-76309 mod_assign: Compatibility with zip download 2023-03-16 07:18:35 +01:00
Paul Holden
0920bd0810
MDL-76339 mod_bigbluebuttonbn: correct upgrade note fix versions.
Use agreed task name language string.
2023-03-15 19:15:29 +00:00
Paul Holden
a89cba84a1
Merge branch 'MDL-76339-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE 2023-03-15 19:05:57 +00:00
Andrew Nicols
f0b3ff2134 Merge branch 'MDL-77550-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE 2023-03-15 14:26:26 +08:00
Juan Segarra Montesinos
dbd7cedd24 MDL-77523 mod_data: textarea field should honor editor preferred format 2023-03-15 06:49:02 +01:00
Jun Pataleta
d5331827c4 Merge branch 'MDL-77611_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-03-15 10:01:04 +08:00