Andrew Nicols
dd94dea8c2
MDL-81063 tool_usertours: Allow hooks to manage usertour filters
...
Two new hooks are introduced to allow plugins to add their own user tour
filters.
Separate hooks are identified for both clientside, and serverside
filters.
2024-04-10 12:41:32 +08:00
Sara Arjona
099ceb42a0
Merge branch 'MDL-81456-main' of https://github.com/andrewnicols/moodle
2024-04-08 16:11:26 +02:00
Huong Nguyen
21c0470541
Merge branch 'MDL-75037' of https://github.com/paulholden/moodle
2024-04-08 16:06:00 +07:00
Andrew Nicols
2b49ad42f5
MDL-81456 core: Use DI for all hook access
...
Using DI for all hook access means that it becomes significantly easier
to mock hooks and callbacks for unit testing without fundamentally
altering the structure of the code purely for the purposes of unit
testing.
2024-04-08 09:35:41 +08:00
Juan Leyva
8ed83886f3
MDL-81405 tool_mobile: Set Partitioned cookie for the mobile app
2024-04-06 12:21:00 +02:00
Huong Nguyen
c11e160812
MDL-79920 tool_mfa: Minor updates
...
- String deprecation
- Use Prefetch for language strings
2024-04-05 11:29:20 +07:00
Huong Nguyen
8a5022a5e7
Merge branch 'MDL-79920-main' of https://github.com/davewoloszyn/moodle
2024-04-05 11:28:26 +07:00
David Woloszyn
5662d6a619
MDL-79920 tool_mfa: Tests for new MFA methods and layout
2024-04-05 10:10:09 +11:00
David Woloszyn
c415eed491
MDL-79920 factor_email: String changes for email factor
2024-04-05 10:10:09 +11:00
David Woloszyn
a64b26cb86
MDL-79920 factor_sms: Improvements to the sms setup
...
Unlike other configurable factors, sms factor is not yet compatible
with the newly introduced replace action.
2024-04-05 10:10:09 +11:00
David Woloszyn
dbef09ab19
MDL-79920 factor_totp: Improvements to the totp setup
2024-04-05 10:10:09 +11:00
David Woloszyn
71a5622c71
MDL-79920 factor_webauthn: Improvements to the webauthn setup
2024-04-05 10:10:09 +11:00
David Woloszyn
34bc9a2e9f
MDL-79920 tool_mfa: Improve MFA management for users
...
Includes the ability to replace/update a factor. Major changes to
classes and strings were performed to allow for these improvements.
2024-04-05 10:10:09 +11:00
Ilya Tregubov
ddc1c5ee9a
Merge branch 'MDL-81144-main' of https://github.com/andrewnicols/moodle
2024-04-04 10:30:37 +08:00
Paul Holden
f04e2c5723
MDL-75037 core: update Moodlenet repository search URLs.
2024-04-03 12:58:03 +01:00
Andrew Nicols
14ca464910
Merge branch 'MDL-80397-main' of https://github.com/roland04/moodle
2024-04-03 12:53:03 +08:00
Andrew Nicols
679001e729
MDL-81144 core: Convert before_footer to hook
2024-04-02 10:23:44 +08:00
Andrew Nicols
6ad9f2606f
MDL-81144 tool_mobile: Standarise hook locations
2024-04-02 10:23:42 +08:00
Andrew Nicols
770e6b49f4
MDL-81144 core: Convert standard_footer_html to hook
2024-04-02 10:23:41 +08:00
Andrew Nicols
3105ea7dc2
MDL-81144 core: Convert before_standard_top_of_body_html to hook
2024-04-02 10:23:41 +08:00
Mikel Martín
b28f3b7666
MDL-80397 theme: Refactor card-deck class dropped in BS5
...
- Refactor recentlyaccessedcourses, starredcourses and myovervew blocks
removing card-deck helper class occurrences
- Refactor card-deck helper class occurrences with utility classes
2024-03-27 10:10:22 +01:00
Andrew Nicols
bb80e4f90d
MDL-80332 core: Coding style fixes
2024-03-26 22:43:12 +08:00
Andrew Nicols
c9030a8243
Merge branch 'MDL-80332-master' of https://github.com/jleyva/moodle
2024-03-26 22:10:29 +08:00
Jun Pataleta
35dcf18395
Merge branch 'MDL-80875-main' of https://github.com/sarjona/moodle
2024-03-26 12:05:40 +08:00
Jun Pataleta
556347c4f1
Merge branch 'MDL-81266' of https://github.com/stronk7/moodle
2024-03-26 10:34:47 +08:00
Daniel Ziegenberg
08027e408c
MDL-81281 phpunit: assertObjectHasAttribute is deprecated
...
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectHasProperty() instead."
So we replace all instances of assertObjectHasAttribute with
assertObjectHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-03-25 16:21:45 +01:00
Juan Leyva
8b30632b31
MDL-80332 tool_mobile: Fallback por app launches
2024-03-25 15:48:40 +01:00
Juan Leyva
658d96f889
MDL-80332 login: New hooks for complete login and passed MFA
2024-03-25 15:48:39 +01:00
Sara Arjona
2fecfa597b
MDL-80875 uploadcourse: Fix params validation
2024-03-25 08:09:19 +01:00
Andrew Nicols
c748baffc1
Merge branch 'MDL-80827-main' of https://github.com/stevandoMoodle/moodle
2024-03-25 11:43:28 +08:00
Sara Arjona
1e1d6d8be8
Merge branch 'MDL-71734' of https://github.com/paulholden/moodle
2024-03-21 16:11:40 +01:00
Paul Holden
011619dbd3
MDL-71734 lang: final removal of deprecated 400 strings.
2024-03-21 09:44:15 +00:00
Ilya Tregubov
cd2fb2fe78
Merge branch 'MDL-79668-main' of https://github.com/kevpercy/moodle
2024-03-21 12:22:58 +08:00
Sara Arjona
be1bb3dfc3
Merge branch 'MDL-80290-task-ui' of https://github.com/brendanheywood/moodle
2024-03-20 17:12:13 +01:00
Brendan Heywood
51a752fae2
MDL-80290 task: Refactor styles to be consistent
2024-03-19 13:02:39 +11:00
Brendan Heywood
40b8c75967
MDL-80290 task: Task autolink urls and emails in mtrace
2024-03-19 12:56:00 +11:00
Marina Glancy
6fdeabd5b5
MDL-80566 user: convert callback 'bulk_user_actions' to hook
2024-03-15 17:00:00 +00:00
Jake Dallimore
78b73c45ac
MDL-81180 tool_mobile: fix typo in callback namespace
2024-03-15 12:17:07 +08:00
Jake Dallimore
93aa177f11
Merge branch 'MDL-81180-main' of https://github.com/andrewnicols/moodle
2024-03-15 10:27:51 +08:00
Sara Arjona
4b5f957743
Merge branch 'MDL-81007-master' of https://github.com/jleyva/moodle
2024-03-14 10:37:43 +01:00
Sara Arjona
05dd0cd384
Merge branch 'MDL-80204-master' of https://github.com/izendegi/moodle
2024-03-13 12:24:41 +01:00
Iñigo Zendegi
a840d06652
MDL-80204 lang: Polysemic lang strings to & from
...
AMOS BEGIN
CPY [to,moodle],[todate,moodle]
MOV [to,moodle],[torecipient,moodle]
CPY [from,moodle],[fromdate,moodle]
MOV [from,moodle],[fromsender,moodle]
AMOS END
2024-03-12 11:51:03 +01:00
Jun Pataleta
3c3e6fd0e2
Merge branch 'MDL-80871-main' of https://github.com/andrewnicols/moodle
2024-03-12 11:41:58 +08:00
Andrew Nicols
9cdc5850c5
Merge branch 'MDL-75952' of https://github.com/stronk7/moodle
2024-03-12 10:45:02 +08:00
Andrew Nicols
43e2e62be4
MDL-80871 tool_usertours: Allow tours to ignore completion
...
The use-case here is for tours which must be shown on every page load.
The tour still needs to be ended for the current page, but should be
shown again on the next time the page is loaded.
2024-03-11 22:51:10 +08:00
Andrew Nicols
4d992e8cae
MDL-80871 tool_usertours: Coding style fixes
2024-03-11 22:51:10 +08:00
Kevin Percy
39813b1f50
MDL-79668 lib: Update Font Awesome to v6.5.1
2024-03-11 17:08:40 +08:00
Andrew Nicols
bbc98c82c0
MDL-81180 core: Add support for array notation in hook callback
2024-03-11 16:49:54 +08:00
Eloy Lafuente (stronk7)
361dfe8145
MDL-75952 general: Since php81, refection->setAccessible() is no-op
...
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php
As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
2024-03-10 21:15:00 +01:00
Andrew Nicols
0a30867cdf
MDL-81047 core: Rename standard_head_html_prepend hook
...
This commit updates the name of the standard_head_html_prepend hook to
meet coding style agreed in MDL-79077.
2024-03-08 23:56:39 +08:00