Commit Graph

4198 Commits

Author SHA1 Message Date
Jake Dallimore 9c6891e73a MDL-79384 tool_analytics: remove extraneous param from modal create call 2023-09-19 09:41:20 +08:00
Sara Arjona 3079511dc7 NOBUG: Fixed SVG browser compatibility 2023-09-15 17:33:23 +02:00
Ilya Tregubov 4355e38e88 Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:56:22 +08:00
Matt Porritt 072efd797a MDL-78534 Authentication: MFA Remove icon from support link. 2023-09-14 16:51:54 +08:00
Ilya Tregubov 41d8e24f81 Merge branch 'master_MDL-78534' of https://github.com/mattporritt/moodle 2023-09-14 11:05:46 +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
hieuvu a3da58a9cb MDL-78312 core_user: add an 'exact match only' option 2023-09-13 20:22:22 +07:00
Jun Pataleta f8b16ea91f Merge branch 'MDL-78826-master' of https://github.com/roland04/moodle 2023-09-13 19:28:25 +08:00
Huong Nguyen 50a74f6a2d Merge branch 'MDL-67271-master' of https://github.com/sarjona/moodle 2023-09-13 11:15:22 +07:00
Ilya Tregubov 94c9ce0595 Merge branch 'MDL-78806-master' of https://github.com/junpataleta/moodle 2023-09-13 10:54:54 +08:00
Sara Arjona b89774a17b MDL-67271 componentlibrary: Update fontawesomeicons
Regenerate the 'fontawesomeicons.json' file to enforce SVG rendering for
the icons.
The addition of '$CFG->svgicons = true;' in the config.php file addressed this.
It's important to note that '$CFG->svgicons' will eventually be deprecated as part
of MDL-78993. Consequently, I refrained from updating 'readme_moodle.txt,' as SVG
icons will become the default value once the removal is executed.
2023-09-12 10:54:15 +02:00
Sara Arjona 87589e07fc MDL-67271 pix: Add missing SVG files
The absence of SVG files has been addressed by including them,
sourced from the respective FontAwesome versions available for
download at https://fontawesome.com/icons
2023-09-12 10:54:15 +02:00
Huong Nguyen c723cac548 Merge branch 'MDL-79242-master' of https://github.com/jleyva/moodle 2023-09-12 10:27:08 +07:00
Jun Pataleta 1eb8ee32bb MDL-78806 core: Remove redundant site name
MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:58:54 +08:00
Andrew Nicols 48bc688ccd MDL-78324 core: Convert modals to use new static methods
This commit takes all modals which were not using the legacy
ModalFactory.create triggers and migrates them to the new Modal.create
method.
2023-09-09 00:04:11 +08:00
Andrew Nicols b5fc26bea7 MDL-78324 tool_licensemanager: Switch delete to utility confirmation
The core/utility confirmation modal can be used in this case to confirm
license actions. It is not necessary to have a custom module for this
purpose.
2023-09-09 00:04:04 +08:00
Andrew Nicols eafa7c0a6f Merge branch 'MDL-79241-master' of https://github.com/marinaglancy/moodle 2023-09-08 22:14:35 +08:00
Jun Pataleta dd49de72b2 Merge branch 'MDL-78954-master-fix' of https://github.com/lameze/moodle 2023-09-08 22:14:33 +08:00
Jun Pataleta b0f9fee6dd Merge branch 'MDL-77443-master' of https://github.com/andrewnicols/moodle 2023-09-08 22:14:33 +08:00
Simey Lameze 2ab8c0f17c NOBUG: increase expected size for downloaded file 2023-09-08 22:14:29 +08:00
Andrew Nicols 0b1db43788 MDL-79277 tool_mobile: Correct default value for empty param 2023-09-08 22:14:29 +08:00
Andrew Nicols b4bd5d9f5f Merge branch 'MDL-79277-master' of https://github.com/noeldemartin/moodle 2023-09-08 22:14:29 +08:00
Ferran Recio d54027dc6d MDL-78826 tool_componentlibrary: add dropdown js controls 2023-09-08 10:23:29 +02:00
Mikel Martín 8af68bbe09 MDL-78558 core_courseformat: Activity cards UI improvements
- Fix action menu and completion button size
- New 'Add activity' button styles
- Fix restriction container styles
- Fix action menu and groupmode button styles
- Fix hover styles for action menu and groupmode button
- Fix groupmode spacing styles
- Homogenize completion button colours
- Fix inplaceeditable and badge positioning
- Fix export filesize related behat
- Homogenize activity/section availability
- New add topic styles
2023-09-07 09:34:43 +02:00
Marina Glancy 3b160c7b71 MDL-79241 tool_mfa: correctly setup standard plugin type 2023-09-06 09:14:25 +01:00
Noel De Martin 87d4c398e3 MDL-79277 tool_mobile: Fix warning 2023-09-06 09:05:10 +02:00
Andrew Nicols 146a410d3a Merge branch 'MDL-78946' of https://github.com/paulholden/moodle 2023-09-05 10:34:40 +08:00
Andrew Nicols c550194bce Merge branch 'MDL-73734-streaming-output-api' of https://github.com/brendanheywood/moodle 2023-09-04 22:21:17 +08:00
Juan Leyva eeff6d4c05 MDL-79242 tool_mobile: Pass site as installation referrer for the app 2023-09-02 18:12:25 +02:00
Paul Holden 21ba055889 MDL-78946 tool_mfa: define factor subplugin type language strings. 2023-09-02 11:07:01 +01:00
Andrew Nicols 39367921b0 Merge branch 'MDL-78930-master' of https://github.com/sarjona/moodle 2023-09-01 11:46:15 +08:00
Matt Porritt 227a2f8e9c MDL-79051 Authentication: MFA Improve email template
Improve the layout, display and information architecture of
the email sent that contains the code for the email MFA factor.
2023-09-01 10:09:54 +07:00
Ilya Tregubov 9d4dba81b7 Merge branch 'MDL-79202' of https://github.com/paulholden/moodle 2023-09-01 10:29:41 +08:00
Huong Nguyen d190ac7889 Merge branch 'MDL-56020-master' of https://github.com/jleyva/moodle 2023-08-31 15:38:50 +07:00
Paul Holden c3f53e4e39 MDL-79202 tool_mobile: correctly interpolate minutes in exception. 2023-08-30 00:04:58 +01: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 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
Jun Pataleta b300c56a19 Merge branch 'MDL-79085' of https://github.com/paulholden/moodle 2023-08-29 11:29:43 +08:00
Ilya Tregubov 5dc60d9f94 MDL-78855 tool_uploadcourse: Create instance only if plugin supports it 2023-08-29 11:14:04 +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
Paul Holden cfa1997b5a MDL-79085 tool_mobile: give visible name to autologouttime config. 2023-08-28 22:23:50 +01:00
Juan Leyva 325ef8095e MDL-56020 search: Return global search settings 2023-08-28 15:48:18 +02:00
Brendan Heywood 072a15ced3 MDL-73734 tool_generator: Use streaming output api 2023-08-28 22:48:59 +10:00
Brendan Heywood a6055feebf MDL-73734 course: Use streaming output api when deleting courses 2023-08-28 22:48:59 +10:00