Jake Dallimore
eb94b5677c
MDL-79675 enrol_lti: fix login redirection after library deprecations
...
v5.7.0 changed this process. Now, we just fetch the URL and do our own
redirect.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v5.7.0
2024-03-06 08:44:14 +08:00
Jake Dallimore
f7c12a372d
MDL-79675 enrol_lti: migrate validate() calls to initialize() per v6.0.0
...
Calls to validate() have been replaced in v6.0.0.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v6.0.0
2024-03-06 08:44:14 +08:00
Jake Dallimore
7560375ad6
MDL-79675 enrol_lti: replace ImsCookie use with local implementation
...
The default implementation, previously included with the library, is no
longer shipped there. Clients must provide their own implementation of
the ICookie interface instead.
2024-03-06 08:44:14 +08:00
Ilya Tregubov
1c059cb3fe
MDL-80504 forum: Fix seperate group mode
2024-02-08 15:32:31 +08:00
Jun Pataleta
326c5ab3b1
Merge branch 'MDL-80060' of https://github.com/paulholden/moodle
2024-02-05 16:07:03 +08:00
David Woloszyn
4807a4dd5f
MDL-43056 tool_uploadcourse: Add capability to upload courses from file
...
An entrypoint capability has been added that allows accessing the
upload tool. Further relevant capability checks are then performed
depending on the action being taken during the upload process.
Co-authored-by: Marina Glancy <marina@moodle.com>
2024-01-31 11:29:33 +11:00
Sara Arjona
8b36abdb9d
Merge branch 'MDL-80259-main' of https://github.com/roland04/moodle
2024-01-24 09:16:12 +01:00
Mikel Martín
a198884333
MDL-80259 theme_boost: Refactor badge helper classes for Bootstrap 5
2024-01-23 08:27:23 +01:00
Jun Pataleta
8811491238
Merge branch 'MDL-78219-main' of https://github.com/snake/moodle
2024-01-23 11:59:36 +08:00
Paul Holden
ae4a5864ad
MDL-80060 enrol_manual: correct exception constructor arguments.
2024-01-17 08:57:38 +00:00
Andrew Nicols
b05fc42db9
MDL-80005 core: Emit deprecation notices for params
...
Most params are formally deprecated here. This was originally planned
for MDL-80042, but I realised that having an emit, and final param is a
very useful option going forward.
This patch also moves the is_deprecated(), and related methods to the
\core\deprecated attribute.
2024-01-17 12:19:45 +08:00
Jake Dallimore
0e74284dfc
MDL-78219 enrol_lti: fix auth method usage in base testcase
2024-01-15 15:41:52 +08:00
Paul Holden
b98fd96084
MDL-71733 behat: final removal of deprecated 400 step definitions.
2024-01-04 12:43:52 +00:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions.
2023-12-07 17:19:01 +00:00
Stephan Robotta
dd07c7c042
MDL-41465 reports: In separate group mode, limit to same
2023-12-06 13:53:28 +07:00
Ilya Tregubov
b684ef329e
Merge branch 'MDL-79692' of https://github.com/paulholden/moodle
2023-12-06 10:49:42 +08:00
Jun Pataleta
04bc690557
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle
2023-12-04 16:12:07 +08:00
Benjamin Walker
b833927648
MDL-74417 admin: Remove sesskey from test settings links
2023-12-01 18:41:50 +10:00
David Mudrák
7f67a96521
MDL-80221 lang: Use fixed strings in the tests, too
2023-12-01 06:27:36 +01:00
Helen Foster
de4f02d809
MDL-80221 lang: Import fixed English strings (en_fix)
2023-11-22 22:48:47 +01: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
meirzamoodle
3ee7968552
MDL-79714 message: Enable all default notifications
2023-11-13 22:15:29 +07:00
Paul Holden
1807aa1946
MDL-79692 enrol_meta: check for group validity when adding members.
2023-11-13 10:23:08 +00:00
Ilya Tregubov
bf51836399
MDL-73852 enrol_meta: Enable meta enrolment for course upload.
2023-11-03 08:52:15 +08: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
b70c7b141f
MDL-43820 enrol_self: Override find_instance
...
This one is bit tricky. find_instance will find first available since
results are not unique...
2023-10-26 14:27:05 +08:00
Ilya Tregubov
200886f8a6
MDL-43820 enrol_manual: Override find_instance
...
For manual enrol method there can be just one instance.
So we can just match by type
2023-10-26 14:27:04 +08:00
Ilya Tregubov
3ea15bcef1
MDL-43820 enrol_guest: Override find_instance
...
For guest enrol method there can be just one instance.
So we can just match by type
2023-10-26 14:27:03 +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
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
Sara Arjona
9877a06246
Merge branch 'MDL-79551-master-rc' of https://github.com/junpataleta/moodle
2023-10-04 12:28:14 +02:00
Paul Holden
2bb6c551cf
MDL-79310 enrol: restrict searched users to those user can view.
2023-10-04 14:30:45 +08:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release
2023-10-04 13:57:17 +08:00
Meirza
a72d935dbc
MDL-79511 enrol: Avoid errors on the dynamic properties creation
...
Currently, Moodle uses fetchOBject() from ADOdb to get the table columns.
Sadly, the current ADOdb, especially the fetchObject() function, still creates dynamic properties.
Altering the fetchObject() with fetchRow() to avoid the dynamic properties deprecation error on PHP 8.2
2023-09-27 16:42:50 +07:00
Jun Pataleta
e2f900b2ad
Merge branch 'MDL-79323-master-enfix' of https://github.com/vmdef/moodle
2023-09-21 15:29:40 +02:00
Paul Holden
57c4b58fd5
MDL-68712 enrol_self: improve detection/re-use of group enrolment keys.
2023-09-20 13:30:59 +01:00
Helen Foster
13b7ea5d44
MDL-79323 lang: Import fixed English strings (en_fix)
2023-09-19 10:24:37 +01:00
Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle
2023-09-15 16:56:22 +08:00
hieuvu
a3da58a9cb
MDL-78312 core_user: add an 'exact match only' option
2023-09-13 20:22:22 +07:00
Huong Nguyen
d3efd69dc1
Merge branch 'MDL-78993-master' of https://github.com/sarjona/moodle
2023-09-13 11:21:36 +07:00
Sara Arjona
ff844ab7bd
MDL-78993 theme: Remove $CFG->svgicons
...
The $CFG->svgicons setting was introduced in Moodle 2.4 due to incomplete
SVG support in certain web browsers.
The landscape has evolved significantly since then, and all modern browsers
now handle SVG files correctly.
The $CFG->svgicons settings has been removed and the supports_svg() method
has been updated with currently supported browsers (IE support was removed
in Moodle 3.10).
2023-09-12 15:28:03 +02: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
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
vtos
22129e914e
MDL-61811 enrol_manual: fixed updating of 'notifyall' field
...
When updating a manual enrolment instance, the value of 'notifyall' field must be calculated automatically based on the value of
'expirynotify' field. The relevant plugin's method missed that, thus, the value of 'notifyall' field was never updated when
editing a manual enrolment instance and changing the 'expirynotify' setting.
A functional test has been added to test the entire behaviour of the relevant plugin's method.
2023-08-20 12:28:15 +02:00
Andrew Nicols
4fcf078ef9
MDL-76557 enrol_lti: Fix unit test docs and convert to provider
2023-08-17 09:12:36 +02:00
ishatalkin
d9e182b5c6
MDL-76557 enrol_lti: sync_grades accepts status codes 200,201,202,204
2023-08-15 12:25:06 +03:00
Andrew Nicols
650fb3ba43
MDL-77174 enrol: Update role manager to drop YUI confirm module
2023-07-31 10:56:21 +08:00