4111 Commits

Author SHA1 Message Date
Benjamin Abraham
c8482f09c6 MDL-74869 theme: Moved activity icon color into variables
Moved colors of the activity-icon-colors map into variables
with default value to make them easy to override.
2023-07-14 09:46:55 +02:00
Andrew Nicols
5d1a115c64
Merge branch 'MDL-78587' of https://github.com/paulholden/moodle 2023-07-13 16:49:58 +02:00
Sara Arjona
075377a996
Merge branch 'MDL-78522-master' of https://github.com/ilyatregubov/moodle 2023-07-13 16:49:58 +02:00
Paul Holden
1125af7857
MDL-78587 course: use tertiary nav selector on participant pages. 2023-07-12 18:26:23 +01:00
Ferran Recio
205cd5a338 MDL-78279 tool_componentlibrary: add dropdown page 2023-07-10 11:41:20 +02:00
Ilya Tregubov
a688a9369f
MDL-78522 cohort: Enable tests that were disabled in 73839. 2023-07-07 15:42:30 +08:00
Ilya Tregubov
86d1a91fd6
MDL-77375 tool_dataprivacy: Fix menus going floaty. 2023-07-06 13:08:27 +08:00
Ilya Tregubov
94452ea194
Merge branch 'MDL-77375-master' of https://github.com/rezaies/moodle 2023-07-06 09:19:57 +08:00
Ilya Tregubov
048edee1e2
Merge branch 'MDL-74301-master' of https://github.com/kabalin/moodle 2023-07-06 09:06:31 +08:00
Andrew Nicols
cee81e21c1
Merge branch 'MDL-77599' of https://github.com/stronk7/moodle 2023-07-05 21:58:47 +08:00
Andrew Nicols
619f6fc2ca
Merge branch 'MDL-73839-master-6' of https://github.com/ilyatregubov/moodle 2023-07-04 22:11:53 +08:00
Ruslan Kabalin
572ca40ce7 MDL-74301 eslint: Enable 'reportUnusedDisableDirectives' eslint setting
This will warn on unused /* eslint-disable */ statements.
2023-07-03 15:21:53 +01:00
Eloy Lafuente (stronk7)
d9f7fe9c3f
MDL-77599 coding-style: Replace forbidden @const tags by @var
@const is not a valid phpdoc tag and @var should be used to
document both classes properties and constants (no matter how
weird that may sound, heh).

Link to (draft right now) PHP-FIG:

https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#518-var

So, with this commit we are just replacing all uses by the correct
@var one. Note that the type is entirely optional, in fact I think
that there isn't much need of it for constants because it's obvious
for both humans and machines which the type is. But, as far as it's
also correct to specify it, we haven't modified that detail.

The only detail modified are the cases where the constant name was
specified in the phpdoc, that's not needed, hence, the names have
been removed from there when present (a couple of cases).
2023-07-03 15:58:16 +02:00
Huong Nguyen
65b13ed81b
Merge branch 'MDL-78204-master' of https://github.com/roland04/moodle 2023-06-30 16:12:10 +07:00
Ilya Tregubov
a82ccf2b83
MDL-73839 tool_uploadcourse: Temporary disable some tests.
This commit will be reverted in MDL-78522.
2023-06-30 11:57:49 +08:00
Ilya Tregubov
fb4304b075
MDL-73839 tool_uploadcourse: Enable cohort enrolment for course upload. 2023-06-30 11:57:49 +08:00
Ilya Tregubov
491a784813
MDL-73839 tool_uploadcourse: Proper enrol instance updates.
We should use update_instance() method instead of direct query.
Fixed validation role method to validate roleids and role names.
Fiexed bug in unit test - course creator role shouldn't be assigned for
self enrolment method.
2023-06-30 11:57:48 +08:00
Shamim Rezaie
c235339e02 MDL-77375 tool_dataprivacy: set boundary of the dropdowns 2023-06-30 11:27:32 +10:00
Huong Nguyen
3af841965b
MDL-67529 tool_dataprivacy: Fix Behat failures 2023-06-29 17:32:52 +08:00
Andrew Nicols
86eece196e
Merge branch 'MDL-76104-master' of https://github.com/HuongNV13/moodle 2023-06-29 17:32:51 +08:00
Andrew Nicols
461be11d34
Merge branch 'MDL-67529-master' of https://github.com/andrewnicols/moodle 2023-06-29 10:15:44 +08:00
Andrew Nicols
e5d0a83285
MDL-67529 tool_dataprivacy: Coding style updates 2023-06-28 21:39:22 +08:00
Kiet Chan
65be92f661
MDL-67529 GDPR: Option to filter which courses are included 2023-06-27 18:45:07 +08:00
Andrew Nicols
827ba96806
Merge branch 'MDL-78459' of https://github.com/paulholden/moodle 2023-06-27 13:14:08 +08:00
Jun Pataleta
132cf637f3 Merge branch 'MDL-77637-trimmed' of https://github.com/Chocolate-lightning/moodle 2023-06-27 10:33:34 +08:00
Mathew May
997134f52f MDL-77637 gradebook_setup: Create gradeitems via dyn form 2023-06-27 09:01:25 +08:00
Mikel Martín
fb49de8875 MDL-78204 core: Add new showmore/showless UI component
- Create a new 'showmore' template that receives both collapsed and expanded content.
Initially only the collapsed content will be displayed with a "Show more" button. When it is expanded,
only the expanded content will be displayed with "Show less" button.

- Add 'showmore' component to component library
2023-06-26 09:32:39 +02:00
Huong Nguyen
f4801ce455
MDL-76104 usertours: Support the Moodle filters 2023-06-26 09:39:08 +07:00
Andrew Nicols
004924d52f Merge branch 'MDL-77260' of https://github.com/paulholden/moodle 2023-06-22 14:29:42 +02:00
Ilya Tregubov
b2dce5d60c Merge branch 'MDL-76629' of https://github.com/liorgil/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols
914073453f Merge branch 'MDL-68067' of https://github.com/Chocolate-lightning/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols
3e1d6d61a9 Merge branch 'MDL-78159-master' of https://github.com/meirzamoodle/moodle 2023-06-22 14:29:38 +02:00
Meirza
97ff68fd6b MDL-78159 lib: Added missing properties for core libraries
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-06-21 15:39:53 +07:00
Paul Holden
ed23ce7c77
MDL-77260 tool_monitor: group and sort list of components.
AMOS BEGIN
 CPY [coresubsystem,report_eventlist],[coresubsystem,tool_monitor]
AMOS END
2023-06-21 07:34:02 +01:00
eWallah
6f2d186c56 MDL-68067 tool_mobile: Mobile tool link does not have a class attribute. 2023-06-20 10:24:56 +08:00
Paul Holden
3af9bdfa7e
MDL-78459 tool_mobile: use site context in mobile manifest file.
Prevents debugging notices when the site shortname is formatted in
the response data.
2023-06-19 13:00:45 +01:00
Lior Gil
f92437428e MDL-76629 core_table: add sticky column option 2023-06-19 12:46:29 +03:00
Angelia Dela Cruz
fb9745ab0b MDL-74021 behat: Page behat generators use UI
Replace steps that manually add page instances via the UI and use
Behat generators. This improves the speed of Behat test runs.

Co-authored-by: Simey Lameze <simey@moodle.com>
2023-06-19 17:03:02 +08:00
Andrew Nicols
af757274a1
Merge branch 'MDL-78341-progress-bar-style' of https://github.com/brendanheywood/moodle 2023-06-15 11:53:06 +08:00
Andrew Nicols
4d15a4ee32
Merge branch 'MDL-69231-master' of https://github.com/lameze/moodle 2023-06-15 10:58:56 +08:00
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
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
Jun Pataleta
ab384ef813 Merge branch 'MDL-78175-master' of https://github.com/ferranrecio/moodle 2023-06-13 13:43:48 +08:00
Jun Pataleta
78c71f408a Merge branch 'MDL-78036' of https://github.com/stronk7/moodle 2023-06-08 11:03:39 +08:00
Sara Arjona
357ad39138 Merge branch 'MDL-78322' of https://github.com/paulholden/moodle 2023-06-07 12:42:57 +02: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