110620 Commits

Author SHA1 Message Date
Sara Arjona
2ec4ac7e4a
Merge branch 'MDL-78612-master' of https://github.com/andrewnicols/moodle 2023-08-30 17:55:32 +02:00
Andrew Nicols
c85cca3e33
MDL-78612 core: Wrap modal_factory.create in pendingPromise 2023-08-30 12:41:37 +08:00
Sara Arjona
a586bfbd95
Merge branch 'MDL-72359-master' of https://github.com/HuongNV13/moodle 2023-08-29 16:15:36 +02:00
Huong Nguyen
a2866d6833
MDL-72359 core_analytics: Better handling of MAX_TIME
We are limited by both PHP's max int value and DB (cross-db) max int allowed.
We need to use the smallest one
2023-08-29 20:36:58 +07:00
Andrew Nicols
8f9b3e1d52
Merge branch 'master_MDL-79134' of https://github.com/mattporritt/moodle 2023-08-29 13:32:46 +08:00
Ilya Tregubov
b327210cd2
Merge branch 'MDL-78615' of https://github.com/paulholden/moodle 2023-08-29 13:32:46 +08:00
Huong Nguyen
84b62bb1a0
Merge branch 'MDL-72359-master' of https://github.com/andrewnicols/moodle 2023-08-29 13:32:45 +08:00
Jun Pataleta
cc7bc1a553
Merge branch 'MDL-79064-master' of https://github.com/andrewnicols/moodle 2023-08-29 13:32:45 +08:00
Huong Nguyen
11c4a69ea9
Merge branch '78241-master-tiny-recordrtc-fix-availability-conditions' of https://github.com/DSI-Universite-Rennes2/moodle 2023-08-29 13:32:45 +08:00
Andrew Nicols
70f9c1c595
Merge branch 'MDL-78106-master' of https://github.com/kevpercy/moodle 2023-08-29 13:32:44 +08:00
Huong Nguyen
c1e4bae8b6
Merge branch 'MDL-78961' of https://github.com/paulholden/moodle 2023-08-29 13:32:41 +08:00
Huong Nguyen
33d04612cd
MDL-78509 tool_mfa: Improve PHPUnit for factor_cohort and factor_role 2023-08-29 10:39:58 +07:00
Huong Nguyen
83522d40d8
Merge branch 'MDL-78509-master' of https://github.com/stevandoMoodle/moodle 2023-08-29 10:38:27 +07:00
Andrew Nicols
5349b8aecf
Merge branch 'MDL-79059-master-2' of https://github.com/junpataleta/moodle 2023-08-29 11:36:16 +08:00
Jun Pataleta
b300c56a19
Merge branch 'MDL-79085' of https://github.com/paulholden/moodle 2023-08-29 11:29:43 +08:00
Andrew Nicols
c9c1f1ce18
Merge branch 'MDL-79092-master' of https://github.com/rhell4/moodle 2023-08-29 11:22:03 +08:00
Andrew Nicols
3c459071e9
Merge branch 'MDL-79169-int-deprecate-m' of https://github.com/Peterburnett/moodle 2023-08-29 11:17:55 +08:00
Andrew Nicols
8b9cf9e422
Merge branch 'MDL-79150-requirelockingwrite' of https://github.com/brendanheywood/moodle 2023-08-29 11:16:22 +08:00
Andrew Nicols
14582ea452
Merge branch 'MDL-78855-master' of https://github.com/ilyatregubov/moodle 2023-08-29 11:15:02 +08:00
Ilya Tregubov
5dc60d9f94
MDL-78855 tool_uploadcourse: Create instance only if plugin supports it 2023-08-29 11:14:04 +08:00
Andrew Nicols
fa05f66052
Merge branch 'MDL-74810-master' of https://github.com/junpataleta/moodle 2023-08-29 11:12:35 +08:00
Stevani Andolo
00db83d1bf MDL-78509 tool_mfa: Fixes based on the report and other issues
In this commit, there are couple of fixes based on the report:
1. Removed legacy polyfill from provider.php
2. Fixed phpunit warning detected by CodeChecker
3. Removed unused files
4. Fixed the PHPunit failures by removing "securityquestions"
   from the data_provider due to it has not been included as one of the factors
5. Added PHPunit test to the factors that can be unittested
6. Removed !important rule from tool_mfa/styles.css
7. Added (int) type to sleep method within sleep_timer method due to a php deprecation
in too_mfa/classes/manager.php
8. Changed last param form bool to string in not_enough_factors() when initiating
a new single_button object in tool_mfa/renderer.php
9. Add explanation text to login page
10. Fixed "Access to an undefined property .." from PHPStan
12. Fixed all the "Variable $.. might not be defined" from PHPStan
13. Fixed the issue from https://github.com/catalyst/moodle-tool_mfa/issues/379
2023-08-29 11:06:44 +08:00
Stevani Andolo
63d8cfcf87 MDL-78509 lib_webauthn: Moved webauthn to lib
It was suggested to move the WebAuthn library form
admin/tool/mfa/webauthn/.extlib to lib/webauthn
2023-08-29 11:06:44 +08:00
Stevani Andolo
a639783409 MDL-78509 tool_mfa: Boarded the tool_mfa into core
In this patch the "commitid" of the "upstream" has been included in this
commit. Also, we did not include three factors, which are SMS, Security
Questions and Login Banner.

Co-authored-by: Peter Burnett <peterburnett@catalyst-au.net>
Co-authored-by: Misha Golenkov <golenkovm@gmail.com>
Co-authored-by: Brendan Heywood <brendan@catalyst-au.net>
Co-authored-by: Alex Morris <alex.morris@catalyst.net.nz>
Co-authored-by: Dan Marsden <dan@danmarsden.com>
Co-authored-by: Kevin Pham <kevinpham@catalyst-au.net>
Co-authored-by: Chris Pratt <tonyyeb@gmail.com>
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
Co-authored-by: Tomo Tsuyuki <tomotsuyuki@catalyst-au.net>
Co-authored-by: Liam Kearney <https://github.com/LiamKearn>
Co-authored-by: Nicholas Hoobin <nicholashoobin@catalyst-au.net>
Co-authored-by: Scott Verbeek <scottverbeek@catalyst-au.net>
Co-authored-by: nomisge <https://github.com/nomisge>
Co-authored-by: Dmitrii Metelkin <dmitriim@catalyst-au.net>
Co-authored-by: Matthew Hilton <matthewhilton@catalyst-au.net>
Co-authored-by: Michael Geering <https://github.com/dryj>
Co-authored-by: alphadijkstra <https://github.com/alphadijkstra>
2023-08-29 11:06:44 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses 2023-08-29 10:57:54 +08:00
Andrew Nicols
fe80eecc44
MDL-79064 core: Improve Native promise support
As we migrate to primarily using natives promises, we should make it
easier to use and consume them.

This change:
- updates core/str to add new methods for:
  - getString
  - getStrings
- accept Native promises into Modal setters
2023-08-29 10:57:06 +08:00
Paul Holden
b52132d09d
MDL-78961 admin: correct smtppass preset configuration name. 2023-08-28 22:32:56 +01:00
Paul Holden
cfa1997b5a
MDL-79085 tool_mobile: give visible name to autologouttime config. 2023-08-28 22:23:50 +01:00
Sara Arjona
a52f94b754
Merge branch 'MDL-78980' of https://github.com/paulholden/moodle 2023-08-28 16:56:22 +02:00
Sara Arjona
0bf13bcc9c
Merge branch 'MDL-78747-master' of https://github.com/andrewnicols/moodle 2023-08-28 16:49:07 +02:00
Sara Arjona
31e9a68197
Merge branch 'MDL-78707' of https://github.com/paulholden/moodle 2023-08-28 16:40:47 +02:00
Sara Arjona
d02be922a0
Merge branch 'MDL-78656' of https://github.com/paulholden/moodle 2023-08-28 16:29:45 +02:00
Sara Arjona
f3777037d7
Merge branch 'MDL-79118' of https://github.com/paulholden/moodle 2023-08-28 14:37:36 +02:00
Sara Arjona
d52ea4c037
Merge branch 'MDL-78749-master' of https://github.com/BruceGoodGuy/moodle 2023-08-28 14:26:02 +02:00
Paul Holden
dae1dcc8ae
MDL-78835 group: include custom fields in related report entities. 2023-08-28 13:55:59 +02:00
Sara Arjona
67f225429b
Merge branch 'MDL-78248' of https://github.com/paulholden/moodle 2023-08-28 13:52:50 +02:00
Huong Nguyen
59bed31f53
Merge branch 'master_MDL-67390' of https://github.com/mattporritt/moodle 2023-08-28 16:21:35 +07:00
Jun Pataleta
be35034f1c
Merge branch 'MDL-76974' of https://github.com/paulholden/moodle 2023-08-28 17:03:27 +08:00
Jun Pataleta
ec90b342da
MDL-74810 core: get_time_interval_string() improvements
* Add parameter to drop zero time units. So a time interval like
  "3d 0h 0s" will be returned as "3d" only.
* Add parameter to display full format for time units. E.g. Instead of
  "3d 2h", it will be returned as "3 days 2 hours"
* Deprecate unused dateintervaldayshoursmins langconfig string.
2023-08-28 16:40:36 +08:00
Jun Pataleta
81ea8ad220
Merge branch 'MDL-61811-master_enrol_manual_notifyall_not_updating' of https://github.com/vtos/moodle 2023-08-28 16:08:53 +08:00
Ilya Tregubov
27e74b08c2
Merge branch 'MDL-79139' of https://github.com/paulholden/moodle 2023-08-28 15:39:53 +08:00
Ilya Tregubov
ccaa0c7143
Merge branch 'MDL-67186_master_v2' of https://github.com/TomoTsuyuki/moodle 2023-08-28 15:20:47 +08:00
Jun Pataleta
ae42728bb9
Merge branch 'MDL-74679-master' of https://github.com/whuml/moodle 2023-08-28 11:51:37 +08:00
Matt Porritt
4b556a6840 MDL-79134 Backup: Deprecate MD5 for included user passwords
Prevent backups containing legacy MD5 hashed user passwords
from being added back into the database. Hashes are converted
to random SHA512 hashed passwords upon restore for these backups.
2023-08-28 13:39:42 +10:00
Jun Pataleta
08fd13f79f
Merge branch 'MDL-79093-master' of https://github.com/sarjona/moodle 2023-08-28 10:17:35 +08:00
Kevin Percy
3f9dd2f210 MDL-78106 gradereport_grader: Force direction when clicking sort arrow 2023-08-28 10:03:10 +08:00
Kevin Percy
a9ea85a15d MDL-78106 gradereport_grader: Fixed sort arrow size in grader report 2023-08-28 10:00:15 +08:00
Andrew Nicols
e7b5d97c9a
MDL-78747 communication_matrix: Correct table name
Note: This feature is currently master-only, and alpha. I have therefore
decided not to migrate data and am just dumping and re-crating the
table.
2023-08-26 14:46:53 +08:00
Jun Pataleta
9bfcd77d51
on-demand release 4.3dev+ 2023-08-26 11:04:43 +08:00
Jun Pataleta
d6f6443993
NOBUG: Fixed file access permissions 2023-08-26 11:04:43 +08:00