Commit graph

4574 commits

Author SHA1 Message Date
raortegar
9e6b1b9118 MDL-78511 tool_mfa: Refactor SMS factor code
In this patch I have refactor the SMS factor code
to not require local_aws as a dependency.
Namespaces and paths from clases copied
from local_aws adapted to the new location.
2023-12-12 10:36:40 +01:00
raortegar
d35330a49e MDL-78511 tool_mfa: Include useful code from local_aws
In this patch we have included some useful classes implemented
In the plugin local_aws developed by Catalyst
2023-12-08 15:27:05 +01:00
raortegar
0773c553ec MDL-78511 tool_mfa: Include SMS factor into core
In this patch we have included the SMS factor from "tool_mfa"
developed by Catalyst.

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-12-08 15:27:05 +01:00
Brendan Heywood
76c940134c
MDL-80309 tasks: Clean up mtrace logs 2023-12-07 12:08:29 +08:00
Paul Holden
608bddeb3d
MDL-79839 tool_task: clean task classname parameter prior to use. 2023-12-07 10:53:39 +08:00
Stevani Andolo
4b5c79f7d2 MDL-80174 tool_log: ensure "other" data is safely unserialized. 2023-12-06 03:54:20 +01:00
Sara Arjona
9cb654b356
Merge branch 'MDL-79979-main' of https://github.com/aanabit/moodle 2023-12-05 16:16:42 +01:00
Jun Pataleta
d9b6450a5f
Merge branch 'MDL-73974-main' of https://github.com/junpataleta/moodle 2023-12-05 23:09:51 +08:00
Karen Holland
f947158b94
MDL-73974 tool_brickfield: Processing alpha fontsizes 2023-12-05 22:49:32 +08:00
Juan Leyva
40734d5afc MDL-73008 tool_policy: Bump version for WS 2023-12-05 10:28:29 +01:00
Juan Leyva
6b2806e745 MDL-73008 tool_policy: New WS to set user acceptances 2023-12-05 10:27:31 +01:00
Juan Leyva
7d7ab3aa1c MDL-73008 tool_policy: New WS to retrieve user acceptances 2023-12-05 10:27:31 +01:00
Jun Pataleta
04bc690557
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle 2023-12-04 16:12:07 +08:00
Jun Pataleta
1d5ee36809
Merge branch 'MDL-79986-main' of https://github.com/sarjona/moodle 2023-12-04 16:01:37 +08:00
Ilya Tregubov
6c5e5bc564 Merge branch 'MDL-74417-manage-sesskeys' of https://github.com/bwalkerl/moodle 2023-12-04 11:35:41 +08:00
Huong Nguyen
7d08697fb9 Merge branch 'MDL-79784-master' of https://github.com/jleyva/moodle 2023-12-04 09:25:11 +07:00
Benjamin Walker
b833927648 MDL-74417 admin: Remove sesskey from test settings links 2023-12-01 18:41:50 +10:00
Sara Arjona
d53dc05e9e
MDL-79986 output: Add view section action 2023-12-01 09:15:48 +01:00
David Mudrák
7f67a96521 MDL-80221 lang: Use fixed strings in the tests, too 2023-12-01 06:27:36 +01:00
Ilya Tregubov
37737a92d6 Merge branch 'MDL-79890-master' of https://github.com/andrewnicols/moodle 2023-11-30 10:44:35 +08:00
Juan Leyva
4b6750c93a MDL-79784 tool_mobile: Add missing external::format_text 2023-11-27 13:37:58 +01:00
Andrew Nicols
71ab68a7d0
Merge branch 'MDL-79966-main' of https://github.com/sammarshallou/moodle 2023-11-23 10:26:53 +08:00
Huong Nguyen
e93a025823 Merge branch 'MDL-78496-main' of https://github.com/andrewnicols/moodle 2023-11-23 09:22:20 +07:00
Helen Foster
de4f02d809 MDL-80221 lang: Import fixed English strings (en_fix) 2023-11-22 22:48:47 +01:00
Amaia Anabitarte
f7fa5cbfbb MDL-79979 tool_generator: Use auto-enrol admin in new courses setting 2023-11-21 08:39:29 +01:00
sam marshall
1c4d433d5f MDL-79966 core_task: Scheduled task timing (crontab fields) is wrong 2023-11-20 17:13:21 +00:00
David Woloszyn
cbbcacdd8f MDL-78426 core_theme: Move theme's settings to theme card
Theme selector and theme settings have been renamed. Theme admin
section has been removed and contents merged into Appearance category.
2023-11-20 17:05:35 +11:00
Andrew Nicols
525212f2d2
MDL-78496 core: Address phpcs issues with upgrade.php files 2023-11-19 21:20:53 +08:00
Andrew Nicols
545b36cd4a
MDL-78496 upgrade: remove all the < 4.1.0 upgrade steps
Also includes an upgrade step to prevent upgrading from any
version < 2021112802 (v4.1.0) as anti-cheating measure.
2023-11-17 23:25:36 +08:00
Huong Nguyen
3aa5c60399 Merge branch 'MDL-79714-master' of https://github.com/meirzamoodle/moodle 2023-11-16 10:55:22 +07:00
Ilya Tregubov
105ae8942a
Merge branch 'MDL-79987-master' of https://github.com/sarjona/moodle 2023-11-16 09:29:00 +08:00
Huong Nguyen
011a606c13 Merge branch 'MDL-73852-master' of https://github.com/ilyatregubov/moodle 2023-11-15 09:32:09 +07:00
Andrew Nicols
dfccb3f3c4
MDL-79890 core: Stop using get_class() without args
PHP 8.3 deprecates the use of `get_class()` without arguments. The
following alternatives should instead be used as appropriate:

- `get_class($this)` - The equivalent for instance methods
- `self::class` - The current class

Note that the behaviour of `get_class()` in a static method was
equivalent to `self::class` and _not_ `static::class`. That is to say
that the previous behaviour did not respect late static binding.
2023-11-15 09:14:40 +08:00
meirzamoodle
3ee7968552 MDL-79714 message: Enable all default notifications 2023-11-13 22:15:29 +07:00
Huong Nguyen
dd2e009ad1 Merge branch 'MDL-78334-master' of https://github.com/roland04/moodle 2023-11-13 10:49:08 +07:00
Sara Arjona
a0ba7d282a
MDL-79987 output: Add i/activities icon 2023-11-10 16:09:10 +01:00
Mikel Martín
c9c3a34bf1 MDL-78334 behat: Make SCSS deprecation check optional 2023-11-09 13:42:21 +01:00
Sara Arjona
0688cb5173
Merge branch 'MDL-79975' of https://github.com/paulholden/moodle 2023-11-08 18:02:58 +01:00
Ilya Tregubov
bf51836399
MDL-73852 enrol_meta: Enable meta enrolment for course upload. 2023-11-03 08:52:15 +08:00
Paul Holden
96fc3577f4
MDL-79975 tool_task: correct class attribute table cell property. 2023-11-02 13:15:05 +00:00
Ilya Tregubov
540dc05e1c
Merge branch 'MDL-70760-master' of https://github.com/vietlx426/moodle-1 2023-11-02 10:20:29 +08:00
viettruongq
2375b00a08 MDL-70760 admin: Limited length config setting validate client-side 2023-11-01 22:02:58 +07:00
Sara Arjona
78300ba8e3
Merge branch 'MDL-79849-master' of https://github.com/jleyva/moodle 2023-10-31 13:08:10 +01:00
Ilya Tregubov
93b2db25ba
MDL-43820 enrol_cohort: Override find_instance
For cohort enrol method we can have multiple instances. We can match
those by cohort idnumber and role provided.

Also adding some extra validation and update tests.
2023-10-26 14:27:06 +08:00
Ilya Tregubov
bf7ff76bcd
MDL-43820 enrol: Add method to find plugin enrol instance
When upload courses we need to match instance with provided data.
2023-10-26 14:27:02 +08:00
Juan Leyva
cf413635d8 MDL-79849 tool_mobile: Add search disabled features 2023-10-25 17:28:53 +02:00
Sara Arjona
512bc8d126
Merge branch 'MDL-79623-master' of https://github.com/PhMemmel/moodle 2023-10-10 16:19:14 +02:00
Jun Pataleta
9beff03a96
MDL-79626 upgrade: add the 4.3.0 separation line to all upgrade scripts 2023-10-10 10:44:17 +08:00
Philipp Memmel
8c8a11939b MDL-79623 tool_componentlibrary: Fix correct modal content attribute 2023-10-06 13:15:36 +00:00
Ilya Tregubov
b1774ab520
Merge branch 'MDL-79570-master' of https://github.com/ferranrecio/moodle 2023-10-06 11:09:29 +08:00