Marina Glancy
59b1a78367
MDL-75791 reportbuilder: set persistent for active conditions
2022-09-19 16:56:19 +02:00
Paul Holden
959cdefa40
MDL-75721 reportbuilder: select from main table in absence of columns.
...
Ensure any joins added to the report itself are also present.
2022-09-15 17:07:29 +01:00
Víctor Déniz
9c1f55ae58
Merge branch 'MDL-75723' of https://github.com/paulholden/moodle
2022-09-14 20:30:37 +01:00
Víctor Déniz
5378c89521
Merge branch 'MDL-74140' of https://github.com/paulholden/moodle
2022-09-14 19:36:45 +01:00
Paul Holden
71a7537edd
MDL-75729 reportbuilder: improve handling of card toggle button.
2022-09-14 10:18:52 +01:00
Paul Holden
cc59c2d4c3
MDL-75723 reportbuilder: show loading icon when toggling edit mode.
2022-09-12 12:24:40 +01:00
Paul Holden
8a657e6d23
MDL-74140 reportbuilder: debugging panel while editing reports.
2022-09-12 10:36:48 +01:00
David Matamoros
131a97406b
MDL-75639 reportbuilder: Add new option to date filter
...
- In the past: to filter by all dates in the past
- In the future: to filter by all dates in the future
2022-09-09 10:15:28 +02:00
Jun Pataleta
abcba4d1b4
Merge branch 'MDL-75311' of https://github.com/lostrogit/moodle
2022-09-07 00:19:28 +08:00
Paul Holden
208adcf3d1
MDL-73938 reportbuilder: better Oracle support of long text columns.
...
Specifically during column grouping/aggregation, we need to avoid CLOB
datatype inconsistencies (ORA-00932).
2022-09-05 12:08:54 +01:00
Paul Holden
165e26fad9
MDL-73938 reportbuilder: helper methods for automating report tests.
...
Implement stress tester methods for iterating over report columns,
aggregation and conditions. Assert that each works correctly in
isolation, and when used in conjunction with other columns.
2022-09-05 12:07:17 +01:00
Paul Holden
4f94e42b5f
MDL-73938 reportbuilder: add filters API to support stress testing.
...
Filter types can now define sample values, to be used in forthcoming
stress test helpers, in order for them to become active in a report.
2022-09-05 11:17:24 +01:00
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