Commit Graph

10183 Commits

Author SHA1 Message Date
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
Huong Nguyen e084be6526 Merge branch 'main_MDL-81154' of https://github.com/mattporritt/moodle 2024-03-28 14:46:37 +07:00
Matt Porritt 6d3d498362 MDL-81154 Administration: Remove Moodle Services page
This commit effectively reverts MDL-63153.
Calls to action in the UI for other products or marketing
should link directly to the corresponding services in moodle.com
rather than trying to replicate parts of it in LMS.
2024-03-28 16:57:50 +11:00
Huong Nguyen 1320a2a397 Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle 2024-03-28 11:46:51 +07: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
Sara Arjona 92cceb7b5f Merge branch 'MDL-80560' of https://github.com/marinaglancy/moodle 2024-03-20 17:08:19 +01:00
Marina Glancy c3db339f07 MDL-80560 admin: user list - show picture, download, fix identity fields 2024-03-19 12:20:35 +00: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
Matt Porritt 66349bad3a MDL-81172 Administration: Add recommended custom check
Add support for custom environment checks to have a recommended
option in addition to required an optional.
2024-03-18 12:02:54 +11:00
Matt Porritt 5d74f366a0 MDL-81172 Backup: Async Backup on by default from install
Enable asynchronous backup and restore on new site install.
Existing behaviour is not changed for sites being upgraded.
Behat tests have been set to use synchronous mode.
2024-03-18 12:01:50 +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 d37c305311 Merge branch 'MDL-80167-main' of https://github.com/HuongNV13/moodle 2024-03-14 11:54:52 +01:00
Huong Nguyen 6a19d3289b MDL-80167 admin: Add environment check for Oracle database 2024-03-14 17:41:56 +07: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