113521 Commits

Author SHA1 Message Date
Andrew Nicols
5b9fdc0e9a
MDL-81457 core: Do not mark tests as Incomplete when they are wrong
This check was marking a test as Incomplete if there was a bug in any
part of the test, rather than failing the test in such a way that the
test bug may be found.

https://docs.phpunit.de/en/9.6/incomplete-and-skipped-tests.html
2024-04-08 08:45:27 +08:00
Andrew Nicols
d9a8eb2bdb
MDL-81457 core: Mark SSL test as skipped, not incomplete
The incomplete test is intended for tests which are written but whose
code does not yet exist.

https://docs.phpunit.de/en/9.6/incomplete-and-skipped-tests.html
2024-04-08 08:45:16 +08:00
Sara Arjona
26649f5750
on-demand release 4.4dev+ 2024-04-05 13:23:37 +02:00
Sara Arjona
852ef9cbfc
NOBUG: Fixed SVG browser compatibility 2024-04-05 13:23:32 +02:00
Sara Arjona
6f3bf87f41
Merge branch 'MDL-79863-patch' of https://github.com/ilyatregubov/moodle 2024-04-05 10:07:40 +02:00
Ilya Tregubov
4243d21377 MDL-79863 qtype_ordering: Fix Behat test for backup and restore
We recently started to turn on async backup by default.
2024-04-05 16:00:11 +08: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
Andrew Nicols
554e491b6f
Merge branch 'MDL-80028-h5p_caps' of https://github.com/leonstr/moodle 2024-04-05 11:55:54 +08:00
Ilya Tregubov
313479e29f Merge branch 'MDL-81358' of https://github.com/paulholden/moodle 2024-04-05 11:37:11 +08:00
Ilya Tregubov
e5592f4c14 Merge branch 'MDL-81400-main' of https://github.com/roland04/moodle 2024-04-05 11:29:52 +08:00
Andrew Nicols
27c42aad0f
MDL-79863 qtype_ordering: Correctly order langstrings 2024-04-05 10:47:04 +08:00
Andrew Nicols
606158ca81
Merge branch 'MDL-79863-ordering' of https://github.com/Chocolate-lightning/moodle 2024-04-05 10:07:23 +08:00
Mathew May
135ed5b145 MDL-79863 qtype_ordering: Include required qtype function 2024-04-05 09:47:58 +08:00
Mathew May
178bed033a MDL-79863 qtype_ordering: Remove PHPDocs from overridden blocks 2024-04-05 09:47:58 +08:00
Mathew May
460e3b5a61 MDL-79863 question: Update docblocks 2024-04-05 09:47:58 +08:00
Ilya Tregubov
fedeefa784 Merge branch 'MDL-81406' of https://github.com/paulholden/moodle 2024-04-05 09:27:04 +08:00
Mathew May
7dda680e06 MDL-79863 qtype_ordering: Update comments and remove unused functions 2024-04-05 09:24:02 +08:00
Mihail Geshoski
d0a9505cee MDL-79863 qtype_ordering: Fix access control to files
The implementation of the check_file_access() method needs to be added
in the qtype_ordering_question class in order to ensure the users have
the appropriate access rights to a particular file.
2024-04-05 09:24:02 +08:00
Mathew May
881107a977 MDL-79863 qtype_ordering: Unit test updates 2024-04-05 09:24:02 +08:00
Mathew May
fbfbb7272a MDL-79863 format_gift: Set ID & tags from comment
Previously, third party imports could not add tags or the self defined ID numbers.
This is because if the plugin defines an import it just returns after completing skipping this non specific function.
2024-04-05 09:24:02 +08:00
Mathew May
3d68bd3fa7 MDL-79863 qtype_ordering: Core changes 2024-04-05 09:24:02 +08:00
Mathew May
385d40dfe1 MDL-79863 qtype_ordering: Remove third party files 2024-04-05 09:24:02 +08:00
Mathew May
db7abb51cb MDL-79863 qtype_ordering: Code checker & behat
Part of: MDL-79863
2024-04-05 09:24:02 +08:00
Mathew May
aa2ef1fe9c MDL-80416 qtype_ordering: Tests for reuse functionality
Part of: MDL-79863
2024-04-05 09:24:02 +08:00
Mihail Geshoski
6631b37eca MDL-79879 qtype_ordering: Improve the settings page
Part of: MDL-79863
2024-04-05 09:23:59 +08: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
David Woloszyn
b2ed67eb43 MDL-79920 theme: Introduced new icon circle css class 2024-04-05 10:10:09 +11:00
Andrew Nicols
91cacf6319
MDL-81084 core: Correct | to || 2024-04-05 07:02:35 +08:00
Sara Arjona
5949ac50f6
Merge branch 'MDL-81084-main' of https://github.com/andrewnicols/moodle 2024-04-04 17:55:48 +02:00
Sara Arjona
0447aa9144
Merge branch 'MDL-4188-main-2' of https://github.com/HuongNV13/moodle 2024-04-04 17:40:57 +02:00
Huong Nguyen
41f76c86ea
MDL-4188 core: Version bump 2024-04-04 22:19:56 +07:00
Leon Stringer
29c92d976d MDL-80028 mod_h5pactivity: teacher reviewattempts
By default grant mod/h5pactivity:reviewattempts to non-editing teacher
role.  This is already granted to this role's archetype.

PHPUnit test also updated as presumably non-editing teachers should
not be returned by get_active_users_join() if they have
mod/h5pactivity:reviewattempts.
2024-04-04 16:19:24 +01:00
Sara Arjona
744c1c8a5a
Merge branch 'MDL-81359-main' of https://github.com/sammarshallou/moodle 2024-04-04 17:02:51 +02:00
Huong Nguyen
6d196e73bb
Merge branch 'MDL-81386-main' of https://github.com/sarjona/moodle 2024-04-04 21:56:11 +07:00
Huong Nguyen
f64fda43d5
MDL-4188 behat: Turn off course welcome message
Turn off the course welcome message,
so we can easily test other messages.
2024-04-04 20:13:47 +07:00
Huong Nguyen
66e8bf76f9
MDL-4188 core: Modify PHPUnit to use the new sink method 2024-04-04 20:13:47 +07:00
Huong Nguyen
ad4f35f5a3
MDL-4188 core_course: Modify PHPUnit to use the new sink method 2024-04-04 20:13:47 +07:00
Huong Nguyen
c4e07686ea
MDL-4188 core_message: Modify PHPUnit to turn off course welcome message 2024-04-04 20:13:47 +07:00
Huong Nguyen
70f85b92e3
MDL-4188 mod_bigbluebuttonbn: Modify PHPUnit to use the new sink method 2024-04-04 20:13:47 +07:00
Huong Nguyen
b68a89a4da
MDL-4188 mod_forum: Modify PHPUnit to use the new sink method 2024-04-04 20:13:47 +07:00
Huong Nguyen
097a6d46e0
MDL-4188 enrol_self: Send course welcome message on enrolment
Including in this commit:
 - Use language strings from core_enrol to match with enrol_manual
 - Minor update for UI so Custom welcome message text area
   will not be shown if the Send course welcome message is
   set to No
 - enrol_self now using Hook API to send the welcome message
 - enrol_self_plugin::email_welcome_message() has been deprecated
 - Added Behat test to test the welcome message
2024-04-04 20:13:46 +07:00
Huong Nguyen
b6af21bec0
MDL-4188 enrol_manual: Send course welcome message on enrolment
AMOS BEGIN
  CPY [customwelcomemessage,enrol_self],[customwelcomemessage,core_enrol]
  CPY [customwelcomemessage_help,enrol_self],[customwelcomemessage_help,core_enrol]
AMOS END
2024-04-04 20:13:46 +07:00
Huong Nguyen
1593f02492
MDL-4188 core: Added course welcome message notification 2024-04-04 19:45:18 +07:00
Huong Nguyen
f53b0b84d2
MDL-4188 core_enrol: Added enrol_plugin::get_welcome_message_contact()
Including in this commit
 - enrol_self_plugin::get_welcome_email_contact() has been deprecated
2024-04-04 19:45:17 +07:00