Sara Arjona
f0e2d12533
Merge branch 'MDL-75165' of https://github.com/paulholden/moodle
2022-10-27 16:50:09 +02:00
Sara Arjona
1ff87d2459
Merge branch 'MDL-75791-master' of https://github.com/marinaglancy/moodle
2022-10-21 09:07:58 +03:00
Sara Arjona
e31c9d3f84
Merge branch 'MDL-75931' of https://github.com/paulholden/moodle
2022-10-21 09:07:58 +03:00
Ilya Tregubov
1a89fd6287
Merge branch 'MDL-72058' of https://github.com/paulholden/moodle
2022-10-20 15:43:02 +03:00
Paul Holden
b10b89ec74
MDL-75349 group: implement groups datasource for custom reporting.
...
Create new entities for exposing report data on course groups and
groupings, joining to existing course/user entities to provide data
for the reportbuilder editor.
2022-10-20 12:30:06 +01:00
Paul Holden
8debad96ac
MDL-75535 reportbuilder: reset cache upon generating default report.
...
This ensures any properties set during creation (e.g. condition values)
are immediately present in unit tests.
2022-10-19 15:04:09 +01:00
Paul Holden
f1c3aca7ea
MDL-75165 reportbuilder: entity method to override multiple aliases.
2022-10-19 14:46:21 +01:00
Víctor Déniz
587deee8f5
Merge branch 'MDL-72722' of https://github.com/paulholden/moodle
2022-10-18 00:26:24 +01:00
Paul Holden
fd01461b7a
MDL-75449 reportbuilder: add no tags/exclude tags filter operators.
...
Allow user to filter for elements that either contain no tags, plus
those that don't contain selected tags.
2022-10-14 16:04:37 +01:00
Víctor Déniz
b17679e806
Merge branch 'MDL-75733' of https://github.com/paulholden/moodle
2022-10-13 22:52:28 +01:00
Víctor Déniz
5bfc28a5a0
Merge branch 'MDL-75734' of https://github.com/paulholden/moodle
2022-10-13 22:06:47 +01:00
Sara Arjona
6eb67954f3
Merge branch 'MDL-75811' of https://github.com/paulholden/moodle
2022-10-13 16:25:40 +02:00
Sara Arjona
c8cd544f21
Merge branch 'MDL-75883-master' of https://github.com/dravek/moodle
2022-10-13 16:14:41 +02:00
Ilya Tregubov
c3d7241ea3
Merge branch 'MDL-74956' of https://github.com/paulholden/moodle
2022-10-12 11:42:04 +03:00
Paul Holden
8822089877
MDL-74956 reportbuilder: external method for retrieving custom report.
2022-10-12 09:36:23 +01:00
Jun Pataleta
36e4ca71c6
Merge branch 'MDL-75034' of https://github.com/paulholden/moodle
2022-10-12 14:24:35 +08:00
Jun Pataleta
5ed4ea149a
Merge branch 'MDL-74913' of https://github.com/lostrogit/moodle
2022-10-11 12:18:46 +08:00
Paul Holden
045eb42c9d
MDL-75931 reportbuilder: use datasource for custom report exporters.
...
Make the related data property of the custom report exporters expect
an actual custom report instance, rather than the root base type.
2022-10-10 17:41:00 +01: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
David Matamoros
0e449ae6ee
MDL-75883 reportbuilder: Don't reload content when filter is deleted
...
- When filter is deleted in editing mode content does not need
to be reloaded
2022-10-07 08:31:58 +02:00
Andrew Nicols
3589299d82
Merge branch 'MDL-74955' of https://github.com/paulholden/moodle
2022-10-06 09:39:45 +08:00
Víctor Déniz
aa0be15591
Merge branch 'MDL-75192' of https://github.com/paulholden/moodle
2022-10-06 01:08:37 +01:00
Víctor Déniz
42e53489d7
Merge branch 'MDL-75729' of https://github.com/paulholden/moodle
2022-10-05 21:31:59 +01:00
Paul Holden
8f72165233
MDL-75733 reportbuilder: re-use user field data table alias/joins.
...
Ensure that when a column/filter on the same user profile field is
used, they share a single join.
2022-10-04 11:46:01 +01:00
Paul Holden
28cf1fa8a1
MDL-74955 reportbuilder: external method for listing custom reports.
2022-10-03 13:57:36 +01:00
Paul Holden
77018b7359
MDL-74955 reportbuilder: re-factor retrieving user reports to helper.
2022-10-03 13:22:10 +01:00
Paul Holden
5b353b73d6
MDL-72058 reportbuilder: replace custom dataformat export format.
...
The formatting of exported dataformat content is now always dependent
on whether the format supports HTML or not, so we no longer need our
custom export class for providing the same.
2022-10-03 09:16:06 +01:00
Carlos Castillo
a930def22b
MDL-74913 core_reportbuilder: Add divider to the report action menu
2022-10-03 09:48:43 +02:00
Andrew Nicols
5ea6aa4f23
Merge branch 'MDL-75721' of https://github.com/paulholden/moodle
2022-09-29 11:57:38 +08:00
Jake Dallimore
1fddc9c221
Merge branch 'MDL-75845' of https://github.com/paulholden/moodle
2022-09-29 11:22:42 +08:00
Paul Holden
382f62579b
MDL-75845 reportbuilder: hide "value" field for "current" operator.
...
When using the date filter with the "Current" operator, the "Value"
field should not be present (because it has no meaning). This fixes
a small regression from 131a9740
.
2022-09-28 12:44:50 +01:00
Paul Holden
610d2b0812
MDL-75192 reportbuilder: observe start day in current week filter.
...
Ensure we observe the site configuration/preference for calendar
first day of the week, in the current week date filter.
2022-09-28 12:09:08 +01:00
Andrew Nicols
c3f0e19d67
Merge branch 'MDL-75447' of https://github.com/paulholden/moodle
2022-09-28 12:41:02 +08:00
Paul Holden
fb0401f36b
MDL-75811 reportbuilder: concatenate using list seperator lang config.
2022-09-26 11:07:00 +01:00
Paul Holden
c63af9858b
MDL-75734 reportbuilder: remove Oracle restrictions on text columns.
...
We can filter long text columns in Oracle with appropriate API, so
can remove previous restrictions. See also recent change in 208adcf3
for similar.
2022-09-26 11:04:26 +01:00
Paul Holden
9a24440386
MDL-72722 reportbuilder: Oracle support for distinct group concat.
...
Requirements for Oracle were increased to 19c for Moodle 4.1 - now
with support for DISTINCT keyword within the LISTAGG function:
https://livesql.oracle.com/apex/livesql/file/content_HT1O85E4BHSBWN93G1B3M8SI2.html
2022-09-26 11:03:33 +01:00
Marina Glancy
4bb042c352
MDL-75358 reportbuilder: display nulls as empty cells in aggregation
2022-09-20 18:18:41 +02:00
Marina Glancy
dcc44ae4c0
MDL-75358 reportbuilder: display nulls as empty cells for numeric/bool
2022-09-20 18:18:38 +02:00
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