112648 Commits

Author SHA1 Message Date
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
e567c21d6e
weekly release 4.4dev 2024-02-23 08:37:39 +07:00
Huong Nguyen
3d36a37499
NOBUG: Fixed SVG browser compatibility 2024-02-23 08:37:37 +07:00
Huong Nguyen
17ddc82c5c
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-02-23 08:37:35 +07:00
Jun Pataleta
2b9bf38dcb
Merge branch 'MDL-80207-behat' of https://github.com/HuongNV13/moodle 2024-02-22 13:56:27 +08:00
Huong Nguyen
ed16ef495d
Merge branch 'MDL-80844' of https://github.com/stronk7/moodle 2024-02-22 11:23:47 +07:00
Huong Nguyen
40f501fb4e
Merge branch 'MDL-80338' of https://github.com/paulholden/moodle 2024-02-22 11:17:52 +07:00
Huong Nguyen
3061024726
Merge branch 'MDL-80608-main' of https://github.com/sammarshallou/moodle 2024-02-22 11:05:28 +07:00
Huong Nguyen
5d4c88e3da
Merge branch 'MDL-79266' of https://github.com/paulholden/moodle 2024-02-22 10:54:18 +07:00
Andrew Nicols
7e0315041c
Merge branch 'MDL-80821' of https://github.com/marinaglancy/moodle 2024-02-22 11:50:38 +08:00
Huong Nguyen
939d1c5050
Merge branch 'MDL-62404' of https://github.com/timhunt/moodle 2024-02-22 10:49:38 +07:00
Huong Nguyen
e7e0d2bfac
Merge branch 'MDL-80868' of https://github.com/paulholden/moodle 2024-02-22 10:43:00 +07:00
Huong Nguyen
e4c70c3b57
Merge branch 'MDL-80950-main' of https://github.com/sarjona/moodle 2024-02-22 10:40:11 +07:00
Huong Nguyen
3f2b136249
Merge branch 'MDL-80862-main' of https://github.com/andrewnicols/moodle 2024-02-22 10:35:59 +07:00
Huong Nguyen
c27fc14649
MDL-80207 tool_messageinbound: Fix Behat failure 2024-02-22 10:04:46 +07:00
Huong Nguyen
c35ec6ff2c
Merge branch 'MDL-80481_master' of https://github.com/santoshndev/moodle 2024-02-22 09:50:34 +07:00
Santosh Nagargoje
dce64c0a53 MDL-80481 report: Fixed breadcrumb menu issue 2024-02-22 01:59:00 +05:30
Sara Arjona
93b3eff237
Merge branch 'MDL-76441' of https://github.com/stronk7/moodle 2024-02-21 17:49:52 +01:00
Sara Arjona
4d6cde901a
Merge branch 'MDL-79151-fix' of https://github.com/sarjona/moodle 2024-02-21 17:46:38 +01:00
Sara Arjona
8ebd1e5cd2
MDL-79151 customfield: Remove illegal whitespace 2024-02-21 17:46:12 +01:00
Sara Arjona
3bfec9398a
Merge branch 'mdl-79151-master' of https://github.com/Fragonite/moodle 2024-02-21 17:36:12 +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
Sara Arjona
15d399ec8c
Merge branch 'MDL-80404-main' of https://github.com/andelacruz/moodle 2024-02-21 13:23:25 +01:00
Sara Arjona
969897c2fe
Merge branch 'MDL-78944' of https://github.com/Chocolate-lightning/moodle 2024-02-21 09:18:45 +01:00
Angelia Dela Cruz
6ea99c8897 MDL-80404 mod_data: Behat for url autolinking and opening in new window 2024-02-21 15:59:44 +08:00
Eloy Lafuente (stronk7)
eec4ca8cf0
NOBUG: Avoid already closed PRs to get any comment
This is an adjustment for MDL-77166, where the auto-close PRs
workflow was introduced.

That workflow does close and lock any PR in the moodle/moodle.git repo.

We have detected that, when proceeding to lock the PRs it's
always adding a comment. But we only want that when closing the
PRs (as they are open). When the only task is to lock them (normally
old PRs that are already closed by not locked) we don't want any
comment to be added (so no notification/spam happens on those old PRs).

Luckily there is a setting for it: skip-closed-pr-comment: true

So applying for it. Note that we have run various tests in fork
repository and it seems to be working ok. Only open PRs got the
comment and closed PRs were silently locked.
2024-02-21 08:27:39 +01:00
Huong Nguyen
8654b66416
Merge branch 'MDL-79792-master' of https://github.com/andelacruz/moodle 2024-02-21 14:25:11 +07:00
Angelia Dela Cruz
31ce6c87fb MDL-79792 core_badges: Behat test for awarding badge to group members 2024-02-21 13:55:45 +08: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
Huong Nguyen
c9c096ec9a
Merge branch 'MDL-80730-main' of https://github.com/sarjona/moodle 2024-02-21 09:43:16 +07:00
Jun Pataleta
457274ab03
Merge branch 'MDL-79003-main' of https://github.com/andrewnicols/moodle 2024-02-21 10:36:21 +08:00
Huong Nguyen
8eff491604
Merge branch 'MDL-80251-main' of https://github.com/laurentdavid/moodle 2024-02-21 09:33:05 +07: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
Paul Holden
d370f9b134
Merge branch 'MDL-79520-fix' of https://github.com/sarjona/moodle into main 2024-02-20 16:10:11 +00:00
Sara Arjona
7326ef3e4a
MDL-79520 core: Fix upgrade version 2024-02-20 16:27:38 +01:00
Sara Arjona
4a9be9001d
Merge branch 'MDL-80912' of https://github.com/paulholden/moodle 2024-02-20 15:39:18 +01:00
Jun Pataleta
ea4874094b
Merge branch 'MDL-79520-main' of https://github.com/snake/moodle 2024-02-20 22:22:05 +08:00
Sara Arjona
307ec03056
Merge branch 'MDL-80383-main' of https://github.com/rjnl/moodle 2024-02-20 15:20:00 +01: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
Sara Arjona
d46fdeb9fd
Merge branch 'MDL-76024-fix' of https://github.com/HuongNV13/moodle 2024-02-20 12:29:10 +01:00
Sara Arjona
be3f74c0a2
NOBUG: Bump version and missed upgrade step
When MDL-80557 was integrated, the version number in the upgrading
step, 2024020200.02, was previous to the released version, 2024021500.00,
so anybody that has updated to 4.4dev between 0202 and 0215 didn't
get that upgrade step executed.
This commit should fix it :-)
2024-02-20 16:55:19 +07:00
Huong Nguyen
e8d5dc93e0
MDL-76024 qtype calculated: Fix deprecation related to dynamic property 2024-02-20 16:38:49 +07:00
Jake Dallimore
b2e184f9ad
MDL-79520 core: upgrade step to update existing Clever issuers to OIDC
This change is an upgrade step which:
- Updates endpoints to the new endpoints
- Updates user field mappings so they map the new OIDC userinfo fields
- Updates the issuer's baseurl
2024-02-20 17:10:04 +08:00
Jake Dallimore
d20af220f8
MDL-79520 core: update Clever integration to use OpenId Connect
Instead of creating the endpoints manually, and fetching the user info
from several endpoints, which also necessitates the use of a custom
client subclass, use the OpenId configuration endpoint to auto-configure
endpoints, and then use the userinfo endpoint to fetch user info.
2024-02-20 17:07:03 +08:00
Alexander Van der Bellen
0aea55c3e6 MDL-79151 backup: Add custom field backup and restore API 2024-02-20 15:28:28 +08:00
Andrew Nicols
8ebd9f08e4
MDL-80862 core: Tidy up state vars in task manager 2024-02-20 12:44:58 +08:00
Huong Nguyen
f406ea8b76
Merge branch 'MDL-80936' of https://github.com/paulholden/moodle 2024-02-20 10:28:10 +07:00