Paul Holden
176ed8e798
MDL-80254 reportbuilder: better handling of deleted users in schedules.
...
We should verify that schedule and audience users are active accounts,
and that we don't try to send report schedules either from/to them if
they aren't.
2023-12-04 09:48:39 +00:00
Paul Holden
9c8323c932
MDL-79216 reportbuilder: standardize on filter field unit lang string.
...
Replace/deprecate specific string identifier with generic version that
was introduced in the commit prior.
AMOS BEGIN
CPY [filterdurationunit,core_reportbuilder],[filterfieldunit,core_reportbuilder]
AMOS END
2023-12-01 09:39:01 +00:00
Paul Holden
0d9b79fb20
MDL-79216 files: new report filter type for filesize data.
2023-12-01 09:39:01 +00:00
Paul Holden
6a9eadceb6
MDL-79998 reportbuilder: user entity method to get identity fields.
2023-11-10 10:22:51 +00:00
Paul Holden
58d9babe56
MDL-79629 javascript: native promises enhancing autocomplete module.
...
Preserve existing `enhance` method return of jQuery style promises to
allow calling code to continue relying on that (e.g. when calling old
style `.done` and `.fail`).
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-11-08 20:05:35 +00:00
Sara Arjona
2fc405aa35
Merge branch 'MDL-79629' of https://github.com/paulholden/moodle
2023-11-08 09:57:30 +01:00
Sara Arjona
48c4fe03c1
Merge branch 'MDL-79646' of https://github.com/paulholden/moodle
2023-11-06 12:45:54 +01:00
Huong Nguyen
49a90873b0
Merge branch 'MDL-77805-master' of https://github.com/roland04/moodle
2023-11-06 16:21:38 +07:00
Ilya Tregubov
8d7511b230
Merge branch 'MDL-79446' of https://github.com/paulholden/moodle
2023-11-06 09:13:47 +08:00
Mikel Martín
136fa1ef0c
MDL-77805 reportbuilder: Improve filter dropdown UI
...
- Modify the filters dropdown UI to have a fixed height and inner scroll.
This will improve displaying long filter dropdowns.
- Modify the filters dropdown buttons to be always displayed sticked to the bottom.
- Clean unused styles in filters dropdown
2023-11-02 18:08:05 +01:00
Paul Holden
07bf09c063
MDL-79646 reportbuilder: transition effect after drag/drop in editor.
2023-11-02 14:58:52 +00:00
Paul Holden
aa304792f9
MDL-79629 reportbuilder: enhance condition/filter selection in editor.
...
Enhance the select element used for each with the autocomplete module.
Co-authored-by: Mikel Martín <mikel@moodle.com>
2023-11-02 14:50:10 +00:00
Paul Holden
28134fe199
MDL-79446 reportbuilder: native support for parameter name suffixes.
2023-11-02 09:27:07 +00:00
Jun Pataleta
a634f92b4d
Merge branch 'MDL-77804-master' of https://github.com/roland04/moodle
2023-10-27 23:37:00 +08:00
Paul Holden
da6ef4ac1d
MDL-79705 reportbuilder: remove checkbox field callback handling.
...
We no longer need special handling of this field type, because it
now returns language strings rather than HTML markup for a checkbox
element on display.
2023-10-17 16:51:26 +01:00
Paul Holden
e19c4e89d1
MDL-79446 reportbuilder: optional $suffix for generated alias/params.
...
Allows for, and documents, intended usage when the result of these
methods is used elsewhere (e.g. in `$DB->get_in_or_equal`).
2023-10-11 15:10:39 +01:00
Mikel Martín
c5ee19b29c
MDL-77804 reportbuilder: Improve horizontal filter forms UI
...
- Separate Inline forms styles in a different section and improve them
- Re-organize the styles and comments to improve readability and mantainability
- Make defined variables overridable
2023-10-10 15:15:13 +02:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses
2023-08-29 10:57:54 +08:00
Sara Arjona
999fbc3bdd
Merge branch 'MDL-75855' of https://github.com/paulholden/moodle
2023-08-24 16:49:34 +02:00
Ilya Tregubov
60693cd9b6
Merge branch 'MDL-77067' of https://github.com/paulholden/moodle
2023-08-24 09:59:58 +08:00
Paul Holden
b9a5a3626e
MDL-77067 reportbuilder: indicate when audiences are used in schedules.
...
Indicate in each audience card whether it's used as part of a report
schedule, and inform user again upon deletion of said audience.
2023-08-23 16:09:17 +01:00
Paul Holden
8fe1f83fe1
MDL-75855 reportbuilder: don't allow condition/filter duplication.
...
Custom reports shouldn't allow the same condition and/or filter
instance to exist more that once per report.
2023-08-22 18:47:33 +01:00
Paul Holden
3ca41c77e4
MDL-76902 reportbuilder: entity method for defining table join alias.
2023-08-22 15:16:31 +01:00
Sara Arjona
df5d62eac2
Merge branch 'MDL-78844' of https://github.com/paulholden/moodle
2023-08-17 09:10:51 +02:00
Sara Arjona
2bb12d9e2c
Merge branch 'MDL-78758' of https://github.com/paulholden/moodle
2023-08-17 09:09:16 +02:00
Paul Holden
c9f689ae6c
MDL-78844 reportbuilder: external validate system report access method.
2023-08-09 13:49:27 +01:00
Sara Arjona
565d6a45a3
Merge branch 'MDL-78879' of https://github.com/paulholden/moodle
2023-08-08 13:04:30 +02:00
Paul Holden
9c108c8d88
MDL-78758 reportbuilder: stricter checking of source default sorting.
2023-08-07 10:21:51 +01:00
Ilya Tregubov
c5bbb46886
Merge branch 'MDL-78807' of https://github.com/paulholden/moodle
2023-08-03 09:33:04 +08:00
Paul Holden
e4e7e59d90
MDL-78807 reportbuilder: ensure report base conditions are non-empty.
2023-08-02 13:50:50 +01:00
Paul Holden
501a170cb6
MDL-78879 reportbuilder: allow for negation of category filter.
...
Add "Equal to" and "Not equal to" operators to the filter class.
AMOS BEGIN
CPY [subcats,qtype_randomsamatch],[includesubcategories,moodle]
AMOS END
2023-08-02 12:26:54 +01:00
Jun Pataleta
f8aa9a6504
Merge branch 'MDL-78117' of https://github.com/paulholden/moodle
2023-08-02 16:24:50 +08:00
Paul Holden
d8df4ad675
MDL-78117 reportbuilder: use context entity in report sources.
...
Deprecate existing columns, to be replaced by corresponding elements
from the new entity.
2023-08-02 08:05:50 +01:00
Andrew Nicols
30f7e50770
Merge branch 'MDL-78575-master' of https://github.com/snake/moodle
2023-08-01 09:38:15 +08:00
Paul Holden
36ab5e5d1a
MDL-78532 reportbuilder: external method for retrieving system report.
2023-07-18 12:05:07 +01:00
Ilya Tregubov
254fd16dcd
Merge branch 'MDL-75359' of https://github.com/paulholden/moodle
2023-07-11 09:29:20 +08:00
Jake Dallimore
348e347f79
MDL-78575 core_reportbuilder: allow reports to override the zerostate
...
Allow report implementations to control what is shown when no results
are found for the current report+filters. Allow setting to null to
allow calling code to omit this notice entirely.
2023-07-10 15:55:56 +08:00
Andrew Nicols
3d5afd6061
Merge branch 'MDL-75810' of https://github.com/paulholden/moodle
2023-07-09 22:23:29 +08:00
Paul Holden
2ffda63da8
MDL-75359 reportbuilder: fixes for custom/user profile field elements.
...
Ensures cross-DB compatibility for all types of both custom and user
profile fields, specifically when they're filtered and/or aggregated.
Implement stress testing of both via appropriate report sources.
2023-07-07 14:45:24 +01:00
Paul Holden
d3f189d6db
MDL-76769 reportbuilder: re-use custom field data table alias/joins.
...
Ensure that when a column/filter on the same custom field is used,
they each share a single join (see also 8f721652
).
2023-06-29 08:11:45 +01:00
Paul Holden
ecf47ff23b
MDL-78350 reportbuilder: parse javascript before rendering template.
2023-06-21 17:33:40 +01:00
Paul Holden
e8ae9680bc
MDL-75810 reportbuilder: entity method for returning tag SQL joins.
2023-06-16 18:21:24 +01:00
Paul Holden
8ed7c78ecf
MDL-78364 reportbuilder: earlier calculation of schedule recipients.
2023-06-05 16:22:28 +01:00
Paul Holden
f500b2d878
MDL-76900 course: add enrolment/role entities to participants source.
...
Deprecate columns/filters from current enrolment entity, to be
replaced by corresponding elements from each of the new entities.
2023-05-17 08:02:44 +01:00
Paul Holden
8f7bff9789
MDL-76900 reportbuilder: allow for deprecation of entity elements.
...
Don't allow deprecated columns/filters to be added to new custom
reports. Where they already exist, emit deprecation debugging.
2023-05-17 08:02:06 +01:00
Paul Holden
5404200d9d
MDL-76900 enrol: new enrolment method and role report entities.
...
The new entities encapsulate related data for easier re-use across
reports, and are also intended to replace similar columns/filters
from the current enrolment entity.
2023-05-15 14:12:31 +01:00
Sara Arjona
7fc14069ea
Merge branch 'MDL-77614' of https://github.com/paulholden/moodle
2023-05-10 12:54:34 +02:00
Paul Holden
6312467346
MDL-77614 reportbuilder: throw exception if entity name already exists.
2023-04-25 12:55:09 +01:00
Paul Holden
7c7024af31
MDL-76971 reportbuilder: switch remaining classes to external_api.
...
Continues on the work started in a3cc26f8
, to remove the last
remnants of usage of previous external API classes.
2023-04-25 08:50:47 +01:00
Shamim Rezaie
b54fbcf532
Merge branch 'MDL-77555' of https://github.com/paulholden/moodle
2023-04-05 11:25:16 +01:00