Commit graph

111143 commits

Author SHA1 Message Date
Jun Pataleta
e510b7bed8
Merge branch 'MDL-78916-master' of https://github.com/junpataleta/moodle 2023-09-15 16:57:57 +08:00
Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:56:22 +08:00
Huong Nguyen
b65724480b
Merge branch 'MDL-79057-master' of https://github.com/junpataleta/moodle 2023-09-15 16:54:09 +08:00
Huong Nguyen
0f1a65723f
Merge branch 'MDL-79313-master' of https://github.com/junpataleta/moodle 2023-09-15 16:54:09 +08:00
Huong Nguyen
632e603304
Merge branch 'MDL-78728' of https://github.com/paulholden/moodle 2023-09-15 16:19:27 +08:00
Jun Pataleta
62a91c861c
Merge branch 'MDL-78467-master' of https://github.com/sammarshallou/moodle 2023-09-15 16:19:26 +08:00
Jun Pataleta
4370887449
Merge branch 'MDL-78916-master' of https://github.com/junpataleta/moodle 2023-09-15 16:19:06 +08:00
Ilya Tregubov
8f8ea5a4d1
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:19:04 +08:00
Huong Nguyen
9fc4c35ca7
Merge branch 'MDL-79057-master' of https://github.com/junpataleta/moodle 2023-09-15 16:16:21 +08:00
Huong Nguyen
58ff81ac83
Merge branch 'MDL-79313-master' of https://github.com/junpataleta/moodle 2023-09-15 16:16:21 +08:00
Jun Pataleta
bb4bcf6165
MDL-79347 course_format: Fix focus outline for Edit conditions link
Use `btn btn-sm` classes to provide a default focus outline for the
Edit conditions link.
2023-09-15 15:05:13 +08:00
Jake Dallimore
4464e46336
MDL-78916 mod_lti: deprecate and remove unused strings and files
These strings and files supported the old way of creating course-level
tools, which has now been fully replaced.
2023-09-15 10:47:10 +08:00
Jake Dallimore
f41a0dcacf
MDL-78916 mod_lti: remove delegate option for name and email sharing
These settings are no longer configurable on a per-instance basis, so
'delegate to teacher' needs to be removed from the options list for the
relevant fields in the tool type edit form. For existing tool types,
allow 'delegate to teacher' to continue to be used only if it's the
currently set value of these fields. If changed, it cannot be set again.
2023-09-15 10:47:10 +08:00
Jake Dallimore
3cabbfd00f
MDL-78916 mod_lti: update behat tests to test new instance form 2023-09-15 10:47:10 +08:00
Jake Dallimore
630066c4f5
MDL-78916 mod_lti: update add/edit instance form to new design
This form layout applies when adding or editing any instance which is
based on a preconfigured tool (course or site). That is now the only
supported way of configuring a mod_lti instance.
2023-09-15 10:47:10 +08:00
Ilya Tregubov
5da0cee324
Merge branch 'MDL-79334' of https://github.com/paulholden/moodle 2023-09-14 19:46:53 +08:00
Ilya Tregubov
38dc039ed7
Merge branch 'MDL-78267-icon-fix' of https://github.com/HuongNV13/moodle 2023-09-14 19:41:07 +08:00
Huong Nguyen
6be34542ca
MDL-78267 core: Add missing SVG icon for MoodleNet 2023-09-14 18:29:08 +07:00
Ferran Recio
f652b769fe MDL-79351 completion: fix form_trait code smells 2023-09-14 12:24:41 +02:00
Petr Skoda
f94ad6f65f MDL-79338 core: add primary navigation hook tests 2023-09-14 11:51:21 +02:00
Ilya Tregubov
f5050ab31f
Merge branch 'MDL-78255-master' of https://github.com/davewoloszyn/moodle 2023-09-14 17:50:24 +08:00
Petr Skoda
b2a2d3dc66 MDL-79338 core: add support for hook callback redirection in tests 2023-09-14 11:47:52 +02:00
Ilya Tregubov
de0481af58
Merge branch 'MDL-79220-master' of https://github.com/andelacruz/moodle 2023-09-14 17:43:13 +08:00
Petr Skoda
f42cc76a78 MDL-79336 core: add core\hook\stoppable_trait 2023-09-14 11:33:01 +02:00
Matt Porritt
072efd797a
MDL-78534 Authentication: MFA Remove icon from support link. 2023-09-14 16:51:54 +08:00
sam marshall
0f8577784d MDL-78467 core_cache: Improve cache locking API
* Makes it possible to safely call acquire_lock so that it throws an
  exception instead of returning false if it can't get a lock (which
  most existing uses assumed it already does).
* Fix some omissions from the requirelockingbeforewrite option (it
  now checks on delete).
* Modinfo uses a versioned cache, so it is not necessary to delete
  items, only increase the version. (Provided we keep track of
  cacherev carefully...)
2023-09-14 09:28:10 +01:00
Paul Holden
fba49ba1cc
MDL-79283 core: add title to embedded iframe, for accessibility. 2023-09-14 09:26:14 +01:00
Ilya Tregubov
9992804ae5
Merge branch 'MDL-78267-master-2' of https://github.com/HuongNV13/moodle 2023-09-14 16:07:51 +08:00
Huong Nguyen
4ead50e696
MDL-78267 core: Partial course sharing for MoodleNet 2023-09-14 14:59:50 +07:00
Huong Nguyen
705a721c90
MDL-78267 core_courseformat: Language changes
Change from "Bulk edit" to "Bulk actions"
2023-09-14 14:59:50 +07:00
Huong Nguyen
f6b7447a68
MDL-78267 core_courseformat: Add mutation dispatch for bulk actions 2023-09-14 14:59:49 +07:00
Huong Nguyen
514df5a775
MDL-78267 core: Services for partial sharing course to MoodleNet 2023-09-14 14:59:49 +07:00
Huong Nguyen
c6bf02a3b5
MDL-78267 core: Backend API for partial sharing course for MoodleNet 2023-09-14 14:59:49 +07:00
Jun Pataleta
c356d161e8
Merge branch 'MDL-79158' of https://github.com/paulholden/moodle 2023-09-14 14:21:46 +08:00
Jun Pataleta
39d32096e7
Merge branch 'MDL-79181-master' of https://github.com/snake/moodle 2023-09-14 14:02:45 +08:00
Huong Nguyen
b3ffe8432b
MDL-78267 core: Move shared MoodleNet code to abstract 2023-09-14 11:11:42 +07:00
Jun Pataleta
9cd44cbf4c
Merge branch 'MDL-79356-master' of https://github.com/HuongNV13/moodle 2023-09-14 11:52:12 +08:00
Ilya Tregubov
41d8e24f81
Merge branch 'master_MDL-78534' of https://github.com/mattporritt/moodle 2023-09-14 11:05:46 +08:00
Huong Nguyen
e1cff527b9
MDL-79356 core: Convert MoodleNet modals to use new static methods 2023-09-14 09:44:19 +07:00
Jun Pataleta
b3ba9f84d8
Merge branch 'MDL-79340-master' of https://github.com/andrewnicols/moodle 2023-09-14 10:43:38 +08:00
Matt Porritt
9813e1eec6 MDL-78534 Authentication: MFA Improve 2nd factor verify flow
Improve login page worklow.
This patch improves the display and UX when a user provides
their second factor during the login process. It includes
refactoring the display to use a template fed by renderer.
2023-09-14 11:50:16 +10:00
Matt Porritt
77a998006f MDL-78534 Authentication: MFA factor updates for UI
Add additional display logic to factor classes.
Update each individual factor class and the based factor classs
with the ability to nominate an icon associated with the factor
type as well as any additional logic to assist with displaying
factor information during the login process. This includes string
updates.
2023-09-14 11:49:35 +10:00
Matt Porritt
27ca1dee46 MDL-78534 Authentication: MFA refactoring and clean up
General refactoring and cleanup of MFA code, to allow for easier
addition of UX improvements.
2023-09-14 11:49:34 +10:00
Matt Porritt
f140a0dff9 MDL-78534 Authentication: MFA Core login page style changes
Core login page and style changes to support mfa login workflow.
These are minor adjustments to core CSS and a core renderer
change to allow login workflow to better support MFA.
2023-09-14 11:49:04 +10:00
Ilya Tregubov
7903e9cc3a
Merge branch 'MDL-79195-master' of https://github.com/andelacruz/moodle 2023-09-14 09:35:41 +08:00
Amaia Anabitarte
9e42ab938c
MDL-78527 core_completion: Fixing latest behat fails 2023-09-13 17:00:09 +02:00
hieuvu
a3da58a9cb MDL-78312 core_user: add an 'exact match only' option 2023-09-13 20:22:22 +07:00
Paul Holden
40776c8956
MDL-79341 core: more robust testing of user-agent curl response.
The external test file URL concerns itself only with HTTP_USER_AGENT
matching, not sending response headers, which can differ according to
HTTP protocol in use by the endpoint (1.1 vs 2).

Given the returned response code itself is irrelevant to the testcase,
there's not much benefit to asserting it and risking random failures.
2023-09-13 13:30:52 +01:00
Jun Pataleta
f8b16ea91f
Merge branch 'MDL-78826-master' of https://github.com/roland04/moodle 2023-09-13 19:28:25 +08:00
Jake Dallimore
893ce4f7b2
MDL-78916 core_form: allow class overrides on button form element
This works the same as the customclassoverride on the submit element,
in that only the 'btn' class is hard coded in the template. Passing
$options['customclassoverride'] to the constructor allows calling code
to specify other classes to be added beside 'btn'. E.g. 'btn-primary'.
If no options array is passed, 'btn-secondary' is used (the existing
class used for button elements).
2023-09-13 17:37:06 +08:00