76 Commits

Author SHA1 Message Date
Matt Porritt
c6e0b0f346 MDL-82141 Administration: Use toggle for Plugin Management Table
Replace the "eye" icon for enabling and disabling plugins in tables
that use the Plugin Management Table (plugin_management_table) class
with the Font Awesome "toggle" icon.
2024-06-21 12:18:55 +10:00
Carlos Castillo
b7030c76c6 MDL-81764 reportbuilder: Include full name filter to Users system report 2024-05-02 15:23:20 +02:00
Huong Nguyen
ef2b329fef
Merge branch 'MDL-81476-main' of https://github.com/stevandoMoodle/moodle 2024-04-11 08:50:30 +07:00
Stevani Andolo
c9e0a29eba MDL-81476 admin_reportbuilder: Fixed user list page
This is basically just bringing back the same check done prior to
MDL-79270 where if there is no data being returned the default value for
the accessctr would be "allow".
2024-04-09 22:04:40 +08:00
Andrew Nicols
2b49ad42f5
MDL-81456 core: Use DI for all hook access
Using DI for all hook access means that it becomes significantly easier
to mock hooks and callbacks for unit testing without fundamentally
altering the structure of the code purely for the purposes of unit
testing.
2024-04-08 09:35:41 +08:00
Marina Glancy
c3db339f07 MDL-80560 admin: user list - show picture, download, fix identity fields 2024-03-19 12:20:35 +00:00
Jun Pataleta
3278ce7aba
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle 2024-03-08 08:00:41 +08:00
Andrew Nicols
2b7754ccc2
MDL-81011 core: Add attribute alternative to hooks interfaces
This change replaces the requirement for:
- \core\hook\deprecated_callback_replacement
- \core\hook\described_hook

These are replaced by appropriate Attributes.
2024-03-07 18:56:05 +08:00
Marina Glancy
d395925a40 MDL-80548 admin: Add bulk user actions also to user list 2024-03-04 12:14:45 +00:00
Eloy Lafuente (stronk7)
ba1f804ffa
MDL-65292 style: Fix all function declarations white space
This has been generated running the following Sniffs, all
them part of the Moodle's CodeSniffer standard:
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Functions.NullableTypeDeclaration
- moodle.Methods.MethodDeclarationSpacing
- Squiz.Whitespace.ScopeKeywordSpacing

All them are, exclusively, about correct spacing, so the changes
are, all them, only white space changes.

Only exceptions to the above are 3 changes what were setting the
return type in a new line, and, when that happens, the closing
parenthesis (bracket) has to go to the same line than the colon.
2024-02-28 23:33:26 +01: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
Sara Arjona
2893dc713c
Merge branch 'MDL-80328' of https://github.com/paulholden/moodle 2024-01-22 17:22:50 +01:00
Paul Holden
6576b1f9ba
MDL-80192 reportbuilder: ensure filter form group elements have labels.
This ensures compliance with the following WCAG criterion:

"H71: Providing a description for groups of form controls using fieldset
and legend elements".
2024-01-12 08:39:36 +00:00
Paul Holden
a32397feda
MDL-80328 user: use modal confirmation for admin deleting users. 2024-01-10 09:06:07 +00:00
Paul Holden
e56e9cd6de
MDL-80329 reportbuilder: trim whitespace in text filter content. 2023-12-13 10:15:32 +00:00
Sara Arjona
b45cf43e0c
Merge branch 'MDL-79270' of https://github.com/dravek/moodle 2023-12-12 17:32:47 +01:00
Paul Holden
c25882e8df
MDL-79270 admin: new filter type for filtering users by course role.
Use in the new browse users system report, to which it is quite
specific. The filter itself is a like for like replacement of the
pre-existing filter on the same page, and is really a combination
of existing role/category/course filters.
2023-12-11 12:36:57 +01:00
David Carrillo
f76a518cb1
MDL-79270 user: New 'Browse list of users' system report
- The report 'Browse list of users' has been converted to use Report
Builder.
- Behat tests have been fixed and some test have been deleted for not
being relevant anymore.
2023-12-11 12:36:54 +01:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions. 2023-12-07 17:19:01 +00:00
Jun Pataleta
181902853c
MDL-80037 theme: Indicate when $CFG->theme is defined in config.php
* And prevent selection of theme if $CFG->theme is defined in config.php
2023-11-17 09:25:20 +08:00
Jun Pataleta
fdb78d6431
MDL-78425 admin: Point Clear theme caches to correct URL
* Plus remove unnecessary call to require_once() in theme/index.php
2023-11-08 10:16:35 +08:00
David Woloszyn
103c2bb512 MDL-78425 core_theme: Theme selection now uses cards and modal 2023-11-08 11:10:41 +11:00
Paul Holden
3893c99825
MDL-79352 admin: fix links to tool plugin management page. 2023-10-09 15:11:11 +01:00
Paul Holden
33a63ca639
MDL-76295 reportbuilder: implement default datasource sorting.
Update all existing report sources to use the new default sorting
API from 064eccd4, updating existing tests to assert behaviour.
2023-08-23 15:32:50 +01: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
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
07a1dc04f8 MDL-74954 core: Add hook discovery feature 2023-05-20 11:03:46 +02:00
Andrew Nicols
573066ba5f MDL-76867 core_admin: Standardise plugin management when plugin missing from disk 2023-03-14 11:07:43 +08:00
Andrew Nicols
6aba049a64 MDL-76867 core_admin: Migrate media plugin management to dynamic table 2023-03-14 08:44:15 +08:00
Andrew Nicols
9bc9204a52 MDL-76867 core_admin: Migrate admin tool management to plugin management 2023-03-14 08:44:15 +08:00
Andrew Nicols
0d18f6d0d4 MDL-76867 core_admin: Migrate blocks admin ui to plugin management 2023-03-14 08:44:15 +08:00
Andrew Nicols
6d978dd35a MDL-76867 core_admin: Add support for editor sorting via ajax 2023-03-14 08:44:15 +08:00
Andrew Nicols
f54cc61e4b MDL-76867 core_admin: Migrate editors admin ui to plugin management 2023-03-14 08:44:15 +08:00
Andrew Nicols
9f1c596dbd MDL-76867 core_admin: Migrate module management table to dynamic table 2023-03-14 08:44:15 +08:00
Andrew Nicols
51cfde0d3f MDL-76867 core: Add plugin management page 2023-03-14 08:44:15 +08:00
Paul Holden
b3828cebd2 MDL-75034 reportbuilder: move classes into consistent namespace.
Use `reportbuilder` level two namespace for report related classes
(entities, system reports, etc) within components and sub-systems.
2022-10-07 15:05:34 +01:00
Paul Holden
62d22c6626 MDL-75191 task: cross DB support for task output filter.
Specifically avoids Oracle exception ORA-00932.
2022-08-31 09:16:06 +01:00
Paul Holden
30427e91c2 MDL-75191 task: implement task logs datasource for custom reporting.
Update existing entity to define remaining report elements. Add new
report source joining the entity to the user entity to provide data
for the reportbuilder editor.
2022-08-18 17:12:39 +01:00
Nathan Nguyen
7c3e78ca3c MDL-67685 core_admin: use autocomplete filter in task log 2022-08-02 18:21:37 +07:00
Paul Holden
d0b5241786 MDL-75256 task: move abstract get_name method to base class.
Allow adhoc tasks to implement this method, so they too can have
descriptive names for themselves. Default implementation added to
return the class name itself.
2022-07-22 09:13:53 +01:00
David Matamoros
c15e04193a MDL-73302 task: Add type filter to task logs system report
Adding 'type' filter to be able to filter between Ad hoc and Scheduled
tasks
2022-05-27 08:39:35 +02:00
sam marshall
8c926d5cca MDL-74421 core_admin: Task log classname filter should be clearer
Change filter title from 'Name' to 'Class name' to indicate that
it only filters the classname, not the display name of the task.
2022-04-04 14:18:51 +01:00
Mikel Martín
eb65298bcd MDL-73166 core_reportbuilder: Fix action links accessibility 2022-01-20 09:48:29 +01:00
Paul Holden
e55abd713e MDL-72662 reportbuilder: add relative date options to date filter.
Allow user to filter dates relative to the current date, e.g dates
within the previous year, the current week or next month.
2021-10-03 11:53:11 +01:00
Andrew Nicols
6ca7e3115a Merge branch 'MDL-67686' of git://github.com/paulholden/moodle 2021-09-28 15:17:23 +08:00
sam marshall
e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
Paul Holden
fc92e42abf MDL-67686 task: add duration filter to task logs report. 2021-09-24 08:14:37 +01:00
Carlos Castillo
2a6dce06df MDL-72251 Task: Display the time in full accuracy
For more specific diagnostic, it's added seconds in tasks time.
2021-09-12 13:08:25 -05:00
Eloy Lafuente (stronk7)
103027b723 Merge branch 'MDL-72163-master' of git://github.com/andrewnicols/moodle 2021-08-24 20:12:13 +02:00