Paul Holden
ff717ac87f
MDL-75447 reportbuilder: return only valid audience instances.
2022-09-02 12:33:54 +01:00
Sara Arjona
4a5a79b7db
Merge branch 'MDL-74714' of https://github.com/paulholden/moodle
2022-08-31 13:25:31 +02:00
Sara Arjona
5bf3b5078e
Merge branch 'MDL-75333' of https://github.com/paulholden/moodle
2022-08-31 10:34:08 +02:00
Paul Holden
a75829829d
MDL-75333 reportbuilder: report audience type for site admins.
2022-08-30 16:08:40 +01:00
Ilya Tregubov
96dbcc0840
Merge branch 'MDL-75245' of https://github.com/paulholden/moodle
2022-08-30 14:59:50 +04:00
Sara Arjona
87db68a0ce
Merge branch 'MDL-75191' of https://github.com/paulholden/moodle
2022-08-30 09:48:29 +02:00
Víctor Déniz
48fb133523
Merge branch 'MDL-75537' of https://github.com/paulholden/moodle
2022-08-23 12:49:15 +01:00
Víctor Déniz
e1c4d1644b
Merge branch 'MDL-75290' of https://github.com/paulholden/moodle
2022-08-23 09:02:19 +01:00
Paul Holden
70950f89b2
MDL-75537 reportbuilder: add entity joins to user:auth filter.
2022-08-19 13:25:32 +01:00
Paul Holden
4b8f076560
MDL-75191 reportbuilder: use column callbacks in avg/sum aggregation.
...
When aggregating a column using either method, for numeric types we
should execute column callbacks to ensure consistent formatting.
2022-08-18 17:04:33 +01:00
Paul Holden
0304508926
MDL-75245 reportbuilder: re-factor current tag elements to new entity.
...
Update previous implementation of tags (9ebd801c
) in report sources to
use equivalent tag entity columns and filters.
2022-08-18 17:01:21 +01:00
Ilya Tregubov
c3d74f6991
Merge branch 'MDL-74364-master' of https://github.com/dravek/moodle
2022-08-17 14:53:50 +04:00
David Matamoros
0a66ba0188
MDL-74364 course: Add course participants datasource
...
- New Report Builder source for course participants
- New course completion entity
- New course enrolment entity
- New course last access entity
2022-08-17 12:40:34 +02:00
Shamim Rezaie
40f6f35463
Merge branch 'MDL-67685_Master' of https://github.com/tuanngocnguyen/moodle
2022-08-17 01:52:07 +10:00
Paul Holden
411269b529
MDL-74714 reportbuilder: clarify optional properties of exporters.
...
The custom report exporter should define its own editable element
properties (conditions, filters, etc) as optional, rather than each
of those element exporters defining their properties as optional.
2022-08-05 10:25:06 +01:00
Ilya Tregubov
2764133fb7
Merge branch 'MDL-75185' of https://github.com/paulholden/moodle
2022-08-03 16:26:55 +04:00
Jake Dallimore
d95071b537
Merge branch 'MDL-74721' of https://github.com/lostrogit/moodle
2022-08-03 15:47:38 +08:00
Paul Holden
905b394176
MDL-75205 reportbuilder: include report parameters on filters reset.
...
When resetting report filters, we need to include the original report
parameters in the external method call to ensure all those that are
required during validation are present (e.g. when determining if user
can view the current system report).
2022-08-02 12:43:52 +01:00
Nathan Nguyen
f32913dc65
MDL-67685 core_reportbuilder: Add autocomplete filter
2022-08-02 18:21:37 +07:00
Paul Holden
637e3a7c88
MDL-74957 reportbuilder: external method for triggering report view.
2022-07-29 14:11:34 +01:00
Jun Pataleta
0fb9cdedbb
Merge branch 'MDL-75235' of https://github.com/paulholden/moodle
2022-07-29 14:32:37 +08:00
Paul Holden
0d1aadc361
MDL-75290 reportbuilder: show user identity data on access tab.
...
Observe configured user identity for the site to determine additional
columns and filters to display on custom report access tab.
2022-07-28 20:35:34 +01:00
Paul Holden
5b91dabaac
MDL-75235 reportbuilder: external method to set report filter values.
2022-07-28 10:47:42 +01:00
Jun Pataleta
72410a4ca1
Merge branch 'MDL-75256' of https://github.com/paulholden/moodle
2022-07-28 10:10:13 +08:00
Carlos Castillo
335e097125
MDL-75311 reportbuilder: Fix error when send report schedule
2022-07-27 08:49:38 -05:00
Paul Holden
85544709d0
MDL-74656 reportbuilder: cast fields to char on mssql during concat.
2022-07-27 08:12:34 +01:00
Jun Pataleta
5b634ef13e
Merge branch 'MDL-74656' of https://github.com/paulholden/moodle
2022-07-26 20:03:39 +08:00
Paul Holden
d16ea57405
MDL-75235 reportbuilder: allow default filter form to be disabled.
...
This allows for custom filter forms to be implemented, rather than
using the default one for system reports.
2022-07-22 09:17:48 +01: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
Paul Holden
5582bc2ded
MDL-74656 reportbuilder: ensure nulls preserved in column callbacks.
...
When concatenating column fields in order to perform aggregation on
them (e.g. group concatenation), we need to preserve all null values
in the data passed to each column callback.
Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2022-07-19 08:23:54 +01:00
Paul Holden
f1a800bb7c
MDL-73867 reportbuilder: improve performance of the editable classes.
...
When instantiating classes that extend `inplace_editable` we can
improve performance by passing persistent instances we already have,
rather than re-requesting them.
Add test coverage to relevant classes.
2022-07-15 08:44:55 +01:00
Jun Pataleta
50598298ba
Merge branch 'MDL-75152' of https://github.com/paulholden/moodle
2022-07-13 13:02:07 +08:00
Jake Dallimore
cb525f3575
Merge branch 'MDL-74777' of https://github.com/paulholden/moodle
2022-07-11 11:02:30 +08:00
Carlos Castillo
ac7713b7b0
MDL-74721 reportbuilder: Disabling live editing in custom reports
2022-07-10 16:52:25 -05:00
Paul Holden
c2c7fc9825
MDL-75185 reportbuilder: order report source listing alphabetically.
2022-07-08 09:59:09 +01:00
Jun Pataleta
2857a3219c
Merge branch 'MDL-75054' of https://github.com/paulholden/moodle
2022-07-07 11:05:11 +08:00
David Matamoros
ecb95114e9
MDL-74885 reportbuilder: format value using percents from lang pack
2022-07-06 08:17:20 +02:00
Paul Holden
ec452a4e88
MDL-75152 reportbuilder: unique default tag aliases across entities.
2022-07-05 21:45:23 +01:00
Paul Holden
721f7a01e8
MDL-74777 reportbuilder: report filter by category/sub-categories.
...
AMOS BEGIN
CPY [choosecategory,core_grades],[categoryselect,core_reportbuilder]
AMOS END
2022-06-24 11:44:50 +01:00
Paul Holden
eb44a074fb
MDL-75054 reportbuilder: fix docblock for adding column callback.
...
Parameter type is now preserved, since ea45aefe
.
2022-06-22 23:57:26 +01:00
Jun Pataleta
09410d2f91
Merge branch 'MDL-74715' of https://github.com/paulholden/moodle
2022-06-20 21:57:39 +08:00
Paul Holden
f961443652
MDL-74715 reportbuilder: switch event for adding filters/conditions.
...
Switch the select element event listener to that provided by custom
events helper, for adding report filters and conditions. This improves
cross-platform support.
2022-06-20 09:09:10 +01:00
Ilya Tregubov
70fb867346
Merge branch 'MDL-74694' of https://github.com/paulholden/moodle
2022-06-17 15:07:04 +04:00
Ilya Tregubov
85463a83f6
Merge branch 'MDL-73726' of https://github.com/paulholden/moodle
2022-06-15 14:36:16 +04:00
Jun Pataleta
86676d6811
Merge branch 'MDL-72184' of https://github.com/paulholden/moodle
2022-06-15 10:27:56 +08:00
Sara Arjona
fe08655918
Merge branch 'MDL-73842' of https://github.com/paulholden/moodle
2022-06-14 15:19:55 +02:00
Ilya Tregubov
6b1122b0ae
Merge branch 'MDL-74453-master' of https://github.com/dravek/moodle
2022-06-13 15:03:42 +04:00
Paul Holden
9ebd801c07
MDL-73842 reportbuilder: add tags elements to course/user entities.
...
Both entities define columns and filters for related tags (referred
to as "interests" for users).
Create new generic tags filter type to facilitate this, which can be
re-used by any entities for components which support tagging.
2022-06-12 19:53:24 +01:00
Paul Holden
a1ba5c5f53
MDL-74694 reportbuilder: unit test coverage of external exporters.
2022-06-12 19:46:39 +01:00
Paul Holden
07d4be70f8
MDL-74694 reportbuilder: standardize report exporter boolean values.
...
Specify boolean properties as such, avoid direct interpolation into
templates.
2022-06-12 19:46:39 +01:00