9789 Commits

Author SHA1 Message Date
Ilya Tregubov
8debfd63ba
Merge branch 'MDL-78207-master' of https://github.com/sarjona/moodle 2023-06-15 09:21:11 +08:00
Jun Pataleta
b5931eaf4f Merge branch 'MDL-78306-master' of https://github.com/andrewnicols/moodle 2023-06-15 00:05:15 +08:00
Andrew Nicols
57558cb17f
MDL-78306 tool_dataprivacy: Convert data request modal to ESM 2023-06-14 21:41:49 +08:00
Ilya Tregubov
9611669cae
Merge branch 'MDL-70152-master' of https://github.com/andelacruz/moodle 2023-06-14 13:24:06 +08:00
Jun Pataleta
0dd37eaa54 Merge branch 'MDL-78313-blocks-performance' of https://github.com/brendanheywood/moodle 2023-06-14 10:15:44 +08:00
Brendan Heywood
c653fe20bd MDL-78341 tool_httpsreplace: Make progress order deterministic 2023-06-14 09:09:43 +10:00
Sara Arjona
af164ce9c7 MDL-78207 resource: Move file type to activity badge
One of the resource settings, the file type, has been moved to the
activity badge near the activity name.
The rest of the information will be displayed using the afterlink
feature.

However, for now, the activity page still displays all the information
together (that's why resource_get_optional_details() supports now one
new parameter, $showtype, to define whether the file type should be
displayed or not).
2023-06-13 12:09:58 +02:00
Brendan Heywood
38be84b2cf MDL-78313 admin: Improve performance of manage blocks page
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-06-13 17:49:29 +10:00
Jun Pataleta
ab384ef813 Merge branch 'MDL-78175-master' of https://github.com/ferranrecio/moodle 2023-06-13 13:43:48 +08:00
Sara Arjona
86edd3d142 Merge branch 'MDL-78415-master-enfix' of https://github.com/vmdef/moodle 2023-06-08 20:33:02 +02:00
Víctor Déniz
7e3b1b1450 MDL-78415 lang: Fix Behat tests regressions after merging en_fix strings 2023-06-08 11:40:13 +01:00
Jun Pataleta
78c71f408a Merge branch 'MDL-78036' of https://github.com/stronk7/moodle 2023-06-08 11:03:39 +08:00
Andrew Nicols
15c15030d6
Merge branch 'MDL-76406-master' of https://github.com/safatshahin/moodle 2023-06-08 10:36:54 +08:00
Sara Arjona
357ad39138 Merge branch 'MDL-78322' of https://github.com/paulholden/moodle 2023-06-07 12:42:57 +02:00
Paul Holden
0c69ff1dd1
MDL-77193 mnet: correct sorting of access control table. 2023-06-07 09:53:01 +08:00
Eloy Lafuente (stronk7)
10e3afc5d8
MDL-78036 behat: Move all links from old docs to new counterparts 2023-06-06 12:38:01 +02:00
Simey Lameze
2367bc9ff6 MDL-69231 behat: remaining work for role capability generator
This commit does few things:
* Unify data generators usage to role short name.
* Replace remaining manual steps to use the new data generator.
* Also replaced other manual steps to set config to use data generators.
* Tidy up of some tests, aligning pipes and splitting one line steps into multiple lines.
* Fixes tests to have one Given/When/Then per scenario.
2023-06-02 12:47:27 +08:00
Andrew Nicols
aa2fc4048e MDL-69231 behat: Update tests to use new generator 2023-06-02 12:47:27 +08:00
Andrew Nicols
1a4303c9bc MDL-69231 tests: Add role capability setting generator 2023-06-02 12:47:27 +08:00
Safat
091d9d2d86 MDL-76406 core: Add environment check for versions not supporting 8.2 2023-06-02 12:01:56 +10:00
Ilya Tregubov
d0012c7e3f
Merge branch 'MDL-77259' of https://github.com/paulholden/moodle 2023-06-01 09:29:12 +08:00
Sara Arjona
db4a3d9455 Merge branch 'MDL-77907-master' of https://github.com/andelacruz/moodle 2023-05-31 12:17:59 +02:00
Ferran Recio
0ad8fd077c MDL-78175 course: move role renaming to participants 2023-05-29 09:25:18 +02:00
Angelia Dela Cruz
c95ef35b60 MDL-70152 behat: Forum behat generators use UI
Behat cleanup and optimisation
2023-05-29 10:32:20 +08:00
Angelia Dela Cruz
640db57c0e MDL-70152 behat: Forum behat generators use UI
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:32:12 +08:00
Jun Pataleta
e1d1cf8bfe Merge branch 'MDL-78346-master' of https://github.com/andrewnicols/moodle 2023-05-25 16:22:55 +08:00
Andrew Nicols
cc193bd7a6
MDL-78346 tool_langimport: Print any notifications before redirect 2023-05-25 14:54:35 +08:00
Jun Pataleta
b67930a29c Merge branch 'MDL-78346-master' of https://github.com/andrewnicols/moodle 2023-05-25 11:43:37 +08:00
Jun Pataleta
881b51c8e2 Merge branch 'MDL-77159-master' of https://github.com/andrewnicols/moodle 2023-05-25 11:39:52 +08:00
Andrew Nicols
68122a9d89
MDL-78346 tool_langimport: Redirect after action to prevent resubmission 2023-05-25 11:14:14 +08:00
Andrew Nicols
ad7a5030f1
MDL-78346 tool_langimport: Prevent uninstallation of invalid targets 2023-05-25 11:14:14 +08:00
Andrew Nicols
1cd51db6a1
Merge branch 'MDL-77341-master' of https://github.com/meirzamoodle/moodle 2023-05-25 10:44:50 +08:00
Petr Skoda
8a9e5aeb7a MDL-78332 core: fix hook discovery and use is_subclass_of()
And order hooks in admin UI - core first.
2023-05-24 19:53:18 +02:00
Andrew Nicols
c730b8735f
MDL-77159 tool_langimport: Replace YUI module with ESM 2023-05-24 20:40:14 +08:00
Jun Pataleta
6ee1bac7d8 Merge branch 'MDL-78132-master' of https://github.com/sarjona/moodle 2023-05-24 12:04:58 +08:00
Sara Arjona
e7ec8da607 MDL-78132 badges: deprecate functions and strings
When the logic to get the correct apiBase has been moved to the
backpack, some strings and methods have been marked as deprecated.
2023-05-23 08:47:10 +02:00
Andrew Nicols
03e4afdb39 MDL-78132 badges: move apiBase consumption to backpack
The logic to create the issuer has been moved to the backpack form
in order to improve the workflow and update the apiBase with the
proper value comming from the badgeconnect.json manifest file.

So, as part of this change in the workflow, the following changes
has been also implemented (to make the UI easier for users):

- The "Open Badges" oAuth issuer button has been removed from the
"OAuth Services" admin page. As they are created/updated when a backpack
is saved, this button is not required anymore.
- The "OAuth2 services" and "Backpack API URL" parameters have been
removed from the Manage backpacks form, because they are created on
the fly each time the backpack is saved.
2023-05-23 08:46:39 +02:00
Paul Holden
283f48f14c
MDL-78322 tool_cohortroles: don't assign roles to deleted users. 2023-05-22 20:14:31 +01:00
Meirza
e95540d9ff MDL-77341 mnet: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-20 21:37:01 +07:00
Andrew Nicols
07a1dc04f8 MDL-74954 core: Add hook discovery feature 2023-05-20 11:03:46 +02:00
Petr Skoda
99a7a7c782 MDL-74954 core: add Hooks based on PSR-14 2023-05-20 11:03:46 +02:00
Jun Pataleta
2ec6022d9c
Merge branch 'MDL-77733-master-fix' of https://github.com/lameze/moodle 2023-05-19 11:40:16 +08:00
Eloy Lafuente (stronk7)
3ee151f674
Merge branch 'MDL-76900-fix' of https://github.com/paulholden/moodle 2023-05-19 11:40:16 +08:00
Andrew Nicols
e177eff0f8
Merge branch 'MDL-77733-master' of https://github.com/lameze/moodle 2023-05-19 11:40:14 +08:00
Andrew Nicols
1c9e122df7 MDL-77733 behat: Remove extraneous no-axe option
There is no need for no-axe if we make axe a boolean value. We already
have automatic support for negated boolean flags.
2023-05-19 10:32:53 +08:00
Paul Holden
3894fa9460
MDL-76900 roles: improve Oracle support for entity description column.
Specifically during column grouping/aggregation, we need to avoid CLOB
datatype inconsistencies (ORA-00932).
2023-05-18 11:37:37 +01:00
Ilya Tregubov
63290dc925
Merge branch 'MDL-76900' of https://github.com/paulholden/moodle 2023-05-18 09:22:15 +08:00
Sara Arjona
36de54c1f8 Merge branch 'MDL-77350-master' of https://github.com/meirzamoodle/moodle 2023-05-17 08:27:26 +02:00
Paul Holden
fe0b0135b2
MDL-77259 tool_monitor: use core component API for event list.
The previous method of hardcoded filepaths, specifically for events
belonging to core, meant that any events belongs to core subsystems
were omitted (core_customfield, core_h5p, core_payment, etc).
2023-05-16 09:50:11 +01:00
Angelia Dela Cruz
46abdaa7ab MDL-77907 Behat: Coverage for duplicating competency framework 2023-05-16 12:50:53 +08:00