10085 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
29a541724f
MDL-65292 style: Fix all the function declaration ordering
This has been generated running the following Sniff,
part of the Moodle's CodeSniffer standard:
- PSR2.Methods.MethodDeclaration

It just ensures all the function declarations have
the correct order for:
- abstract and final.
- visibility (public, protected, private).
- static.

So, all the lines modified by this commit are function declarations
and the only changes are in the positions of those keywords.
2024-02-28 23:47:47 +01:00
Eloy Lafuente (stronk7)
ba1f804ffa
MDL-65292 style: Fix all function declarations white space
This has been generated running the following Sniffs, all
them part of the Moodle's CodeSniffer standard:
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Functions.NullableTypeDeclaration
- moodle.Methods.MethodDeclarationSpacing
- Squiz.Whitespace.ScopeKeywordSpacing

All them are, exclusively, about correct spacing, so the changes
are, all them, only white space changes.

Only exceptions to the above are 3 changes what were setting the
return type in a new line, and, when that happens, the closing
parenthesis (bracket) has to go to the same line than the colon.
2024-02-28 23:33:26 +01:00
Huong Nguyen
3d36a37499
NOBUG: Fixed SVG browser compatibility 2024-02-23 08:37:37 +07:00
Huong Nguyen
c27fc14649
MDL-80207 tool_messageinbound: Fix Behat failure 2024-02-22 10:04:46 +07:00
Sara Arjona
93b3eff237
Merge branch 'MDL-76441' of https://github.com/stronk7/moodle 2024-02-21 17:49:52 +01:00
Sara Arjona
4e341bfc97
Merge branch 'wip_MDL-79802_line_v8' of https://github.com/gjb2048/moodle 2024-02-21 17:29:39 +01:00
Sara Arjona
617442dc16
Merge branch 'MDL-80605-master' of https://github.com/jbs1/moodle 2024-02-21 16:19:11 +01:00
Huong Nguyen
0d8c9ed4ae
Merge branch 'MDL-78284-main' of https://github.com/sarjona/moodle 2024-02-21 09:49:41 +07:00
Jun Pataleta
289678c458
Merge branch 'MDL-78994_master' of https://github.com/marxjohnson/moodle 2024-02-21 10:47:35 +08:00
Juan Leyva
5e39876428
MDL-79802 tool_mobile: Support new setting in the mobile app 2024-02-20 18:13:02 +00:00
Gareth Barnard
270326244b
MDL-79802 core_h5p: Add a new setting for adding custom H5P styles. 2024-02-20 18:12:18 +00:00
Mark Johnson
c6d4066201
MDL-78994 tool_policy: Move guest consent to start of page.
When a site has policies but a user has not logged in, a banner is
displayed to inform the guest user of the polciies. This banner was
inserted by Javascript at the end of the DOM, so keyboard users had to
tab through the whole page to reach it.

This commit makes the following changes:
* Change the callback used to display the policy banner from
_before_standard_html_head to _before_standard_top_of_body_html.
* Define the banner's body text in an HTML element, rather than a
Javascript parameter.
* Set absolute positioning on the banner for behat sites, so it does not
display at the top of the page and overlap the site header.
* Revert use of the standard_head_html_prepend hook in tool_policy from
MDL-79076.

The combination of these changes means that the banner will be output
near the start of the HTML DOM, so will be accessible to keyboard users
early on in the tab order until dismissed. However, it will still appear
visually at the end of the page, to avoid clashing with the site header.
2024-02-20 13:38:51 +00:00
Jun Pataleta
dd8fa68f5d
Merge branch 'MDL-80207-main' of https://github.com/HuongNV13/moodle 2024-02-20 11:06:24 +08:00
Huong Nguyen
a63d39b0ad
MDL-80207 admin: Replace use of Horde with Roundcube 2024-02-20 09:36:24 +07:00
Huong Nguyen
28074f65af
MDL-80207 tool_messageinbound: Add Roundcube Framework 1.6.6 library 2024-02-20 09:36:12 +07:00
Jeremy Schulz
f1f517df34 MDL-80605 uploaduser: fixed username already existing when mail-matching 2024-02-19 17:24:27 +01:00
Luca Bösch
5a18657447 MDL-80082 tool_lp: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
e6962170ad MDL-80082 tool_cohortroles: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Eloy Lafuente (stronk7)
97a69a8360
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3 2024-02-15 18:44:42 +01:00
Sara Arjona
1cace1d129
MDL-78284 componentlibrary: Update activity icons information 2024-02-15 17:49:43 +01:00
Sara Arjona
8bde08c96d
Merge branch 'MDL-78088-master' of https://github.com/jleyva/moodle 2024-02-14 16:53:03 +01:00
Juan Leyva
53c94c0b21 MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_get_data_requests 2024-02-14 15:38:57 +01:00
Juan Leyva
2108c3a053 MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_create_data_request 2024-02-14 15:38:57 +01:00
Juan Leyva
f54185ab3a MDL-78088 tool_dataprivacy: New WS get_access_information 2024-02-14 15:09:31 +01:00
Juan Leyva
0be4d7b2bd MDL-78088 tool_dataprivacy: Enable and return additional info 2024-02-14 15:09:31 +01:00
Andrew Nicols
85c1dd0077
MDL-80072 core: Deprecate format_text smiley option
This was actually deprecated in Moodle 2.0 but did not emit.
2024-02-12 11:11:18 +08:00
Huong Nguyen
04020fb8f6
Merge branch 'MDL-78417' of https://github.com/paulholden/moodle 2024-02-08 15:31:59 +08:00
Huong Nguyen
3d2d81a411
Merge branch 'MDL-80512' of https://github.com/paulholden/moodle 2024-02-08 15:31:59 +08:00
Ilya Tregubov
9ad941c565 Merge branch 'MDL-80124' of https://github.com/paulholden/moodle 2024-02-07 13:16:06 +08:00
Ilya Tregubov
2150694d72 Merge branch 'MDL-80324' of https://github.com/paulholden/moodle 2024-02-07 13:11:58 +08:00
Jun Pataleta
9e7777c6ce
Merge branch 'MDL-75081' of https://github.com/paulholden/moodle 2024-02-07 11:36:44 +08:00
Paul Holden
bac703c534 MDL-54749 tool_langimport: require sesskey to update lang packs. 2024-02-07 02:34:19 +01:00
Paul Holden
662c5e1d31
MDL-75081 behat: define new heading named selector.
Co-authored-by: Jun Pataleta <jun@moodle.com>
2024-02-06 17:06:47 +00:00
Jun Pataleta
c424ba34e2
MDL-80725 tool_mfa: Apply en_fix to Behat tests
Also use the appropriate Behat tags `@tool @tool_mfa @factor_sms`
instead of `@tool_admin_mfa`.
2024-02-06 16:00:00 +08:00
Jun Pataleta
83532409cc
Merge branch 'MDL-80725-main-enfix' of https://github.com/mudrd8mz/moodle 2024-02-06 15:59:07 +08:00
Jun Pataleta
3c196b3039
Merge branch 'MDL-78427-master' of https://github.com/davewoloszyn/moodle 2024-02-05 13:42:17 +08:00
David Woloszyn
40d397ab5f MDL-78427 core_theme: Add theme usage report and icon
In addition to adding in theme usage reports, there is also the
addition of an icon on the theme cards which takes you to the report.
This icon only appears for that theme if it has been used in any
overriding context.
2024-02-02 11:16:46 +11:00
David Mudrák
dfc47df6e8 MDL-80725 lang: Fix Help and documentation regressions 2024-02-01 19:30:58 +01:00
Huong Nguyen
096a759b67 Merge branch 'MDL-80485' of https://github.com/paulholden/moodle 2024-02-01 11:30:44 +07:00
Huong Nguyen
5f78501071 Merge branch 'MDL-29261' of https://github.com/paulholden/moodle 2024-02-01 10:45:11 +07:00
Ilya Tregubov
29e492c22e Merge branch 'MDL-80727' of https://github.com/paulholden/moodle 2024-02-01 10:26:14 +08:00
Helen Foster
ddbfeecb83 MDL-80725 lang: Import fixed English strings (en_fix) 2024-01-31 18:45:03 +01:00
Ilya Tregubov
43f5bc3775 Merge branch 'MDL-43056-main' of https://github.com/davewoloszyn/moodle 2024-01-31 09:37:37 +08:00
David Woloszyn
4807a4dd5f MDL-43056 tool_uploadcourse: Add capability to upload courses from file
An entrypoint capability has been added that allows accessing the
upload tool. Further relevant capability checks are then performed
depending on the action being taken during the upload process.

Co-authored-by: Marina Glancy <marina@moodle.com>
2024-01-31 11:29:33 +11:00
Paul Holden
066cfa41a6
MDL-80485 tool_lp: consistent activity icon element styling. 2024-01-30 11:27:22 +00:00
Jun Pataleta
245edd9a11
Merge branch 'MDL-73008-master' of https://github.com/jleyva/moodle 2024-01-29 14:42:08 +08:00
Paul Holden
4efe3927d8
MDL-80727 tool_task: replace hard-coded adhoc task runner strings. 2024-01-25 22:42:25 +00:00
Paul Holden
87091e7b7c
MDL-80124 admin: prevent deletion of pre-installed preset definitions. 2024-01-25 21:51:41 +00:00
Huong Nguyen
ff96c6f05c Merge branch 'MDL-80224' of https://github.com/paulholden/moodle 2024-01-25 11:01:09 +07:00
Huong Nguyen
ccc9bf6b60 Merge branch 'MDL-76671-master' of https://github.com/jleyva/moodle 2024-01-25 10:23:56 +07:00