Andrew Nicols
0f092b86b5
Merge branch 'MDL-77783-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-31 11:31:05 +08:00
Ilya Tregubov
74f3c34cbf
Merge branch 'MDL-70976-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-31 09:41:45 +08:00
Laurent David
ab3a244568
MDL-77456 core_courseformat: Fix highlight in course index
...
* When navigating to a restricted activity as a student from the course index
the item is not highlighted when refreshing the page.
2023-03-30 18:57:33 +02:00
Sara Arjona
7b13a543ad
Merge branch 'MDL-77761-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-30 17:53:20 +02:00
Sara Arjona
dd10dead0f
Merge branch 'MDL-77764-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-30 16:31:21 +02:00
Paul Holden
b84a48d1ee
Merge branch 'MDL-76481_401_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_401_STABLE
2023-03-30 12:50:09 +01:00
Sara Arjona
3794210019
Merge branch 'MDL-77762-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-30 13:45:18 +02:00
Jun Pataleta
cca75ca956
Merge branch 'MDL-77333_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-03-30 19:03:40 +08:00
Paul Holden
93c91af6a9
Merge branch 'MDL-77773-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-30 10:41:20 +01:00
Max Larkin
4f8c5ef086
MDL-76481 tool_brickfield: Fix PHP 8 report download
2023-03-30 09:15:05 +01:00
Paul Holden
5d10e53ba1
Merge branch 'MDL-75017_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-30 08:47:54 +01:00
Ilya Tregubov
cc0c62d564
Merge branch 'MDL-73771_401' of https://github.com/lostrogit/moodle into MOODLE_401_STABLE
2023-03-30 14:22:53 +08:00
Carlos Castillo
f17b006dcb
MDL-73771 theme: Fix scrollbar position
2023-03-29 09:15:39 -05:00
Shamim Rezaie
d50bb07b2b
Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-03-29 15:27:15 +11:00
Ilya Tregubov
b85f6a660b
Merge branch 'MDL-77740-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-29 10:58:47 +08:00
Jun Pataleta
dd584ab981
Merge branch 'MDL-77382-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-03-29 09:48:17 +08:00
Jun Pataleta
ab9b09908a
Merge branch 'MDL-76941-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-03-29 09:31:51 +08:00
Jun Pataleta
c99abd65ca
MDL-77783 core: Validate sublugins.json
...
* Validate the decoded subplugins.json before processing it.
* Log errors if subplugins.json is invalid or if plugintypes is not
defined.
2023-03-29 09:29:57 +08:00
Jun Pataleta
436ed2c4cb
MDL-77761 core_form: Add label for editor format selector
2023-03-29 08:09:54 +08:00
Eloy Lafuente (stronk7)
d0ddc7692b
MDL-77333 mod_resource: fixes generator uploading files + tests
...
MDL-76499 revealed a few problems with resource generators:
1. We were not covering with unit tests the upload of files from disk
(and here it's where the problem was).
2. There was a little of confusion between disk paths (only needed
to upload files) and file_area paths (the generator only creates
or uploads files to the root directory of the file area.
3. It was possible to request the upload of a file to the generator
without that file effectively existing.
This commit fixes those points and covers 99% of the generator code.
2023-03-28 19:06:18 +02:00
Paul Holden
449a8b0b31
weekly release 4.1.2+
2023-03-28 15:55:18 +01:00
Paul Holden
0f251ce165
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-28 15:55:16 +01:00
Andrew Nicols
5df8e8fa5f
MDL-77773 editor_tiny: Improve initial editor size
2023-03-28 20:48:05 +08:00
Paul Holden
7f6888bd53
Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-28 12:38:52 +01:00
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
Huong Nguyen
9a05e393dd
MDL-76941 tool_usertours: Fix accessibility issue when resizing
2023-03-28 12:18:17 +07:00
Jun Pataleta
ae63139985
Merge branch 'MDL-77630-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-03-28 12:06:17 +08:00
Jake Dallimore
e144ff8a43
Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-28 11:42:42 +08:00
Meirza
cd528df093
MDL-77630 mod_forum: correct typo in variable names
2023-03-28 09:39:01 +07:00
Jun Pataleta
6b96cf8676
Merge branch 'MDL-77670-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-03-28 07:05:04 +08:00
Paul Holden
2b0a0cecdf
MDL-77762 contentbank: always provide exit button when appropriate.
...
If the current user can access the content bank in the context of the
current item, then provide link back to it.
2023-03-27 18:08:53 +01:00
Paul Holden
7b614d6f51
MDL-77764 contentbank: add field label to context selection element.
2023-03-27 16:54:53 +01:00
Sara Arjona
e7cda153a2
Merge branch 'MDL-76376_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE
2023-03-27 16:56:30 +02:00
Sara Arjona
0d6eaef200
Merge branch 'MDL-77659_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-03-27 16:50:31 +02:00
Sara Arjona
f32c46bf0c
Merge branch 'MDL-73226-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-03-27 16:08:26 +02:00
Juan Leyva
eeae99afc7
MDL-73226 files: Add quota checks to core_user_add_user_private_files
2023-03-27 13:25:43 +02:00
Sara Arjona
8c9b54cc5d
Merge branch 'MDL-76303-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2023-03-27 12:41:18 +02:00
Paul Holden
da42c76300
Merge branch 'MDL-77729_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-27 11:09:26 +01:00
Sara Arjona
c2714ff1af
Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-03-27 11:43:26 +02: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