19 Commits

Author SHA1 Message Date
Paul Holden
a3c5606fd2
MDL-75640 completion: report entity column for completion criteria. 2023-05-19 17:27:50 +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
Dani Palou
aec31e312a MDL-77400 reportbuilder: Fix enrolment status return type 2023-02-28 10:41:12 +01:00
guillermogomez
43c64bc141 MDL-77062 reportbuilder: Add filters/conditions for completion entity
This commit will add missing fields as Time enrolled/started/reaggregated
in the filter/condition area for the completion entity when creating a course participants
as a report source in the Report Builder.
2023-01-31 18:37:44 -05:00
Sara Arjona
139a629763 Merge branch 'MDL-75177' of https://github.com/paulholden/moodle 2023-01-03 17:50:34 +01:00
David Matamoros
facc3322e4 MDL-76301 course: Add course overview files to courses datasource 2022-12-16 13:56:15 +01:00
Paul Holden
f550239e78 MDL-75177 reportbuilder: preload context data for column callback.
Improve performance/reduce query count by requesting all necessary
data as part of initial column SQL. See also dc60fe66.
2022-12-14 09:52:55 +00:00
Marina Glancy
064eccd4fc MDL-75525 reportbuilder: specify initial sorting for datasources 2022-11-07 15:43:45 +01:00
Sara Arjona
7d53813db7 Merge branch 'MDL-75349' of https://github.com/paulholden/moodle 2022-11-04 12:06:36 +03:00
Jun Pataleta
9bdfcc46d3 Merge branch 'MDL-75358-master' of https://github.com/marinaglancy/moodle 2022-10-31 10:10:16 +08:00
Paul Holden
6c9b4d1e24 MDL-75349 course: include groups entity data in participants report. 2022-10-20 12:33:17 +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
Marina Glancy
dcc44ae4c0 MDL-75358 reportbuilder: display nulls as empty cells for numeric/bool 2022-09-20 18:18:38 +02: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
David Matamoros
e6c1284a93 MDL-74364 course: Fix for deleted users SQL condition 2022-08-17 17:51:34 +02: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
David Matamoros
63088862b4 MDL-74497 reportbuilder: Ensure entity report element order is kept 2022-05-18 13:19:34 +02:00
David Matamoros
5e68da7868 MDL-74497 reportbuilder: Use new methods in existing datasources
- Replace all individual calls to add all columns, filters and
conditions on the cohorts datasource with the new
method add_all_from_entities().

- Replace all individual calls to add all columns, filters and
conditions on the courses datasource with the new
method add_all_from_entities().

- Replace all individual calls to add all columns, filters and
conditions on the users datasource with the new
method add_all_from_entity().
2022-05-13 08:36:31 +02:00
Paul Holden
bd9abebcd1 MDL-72280 course: implement course datasource for custom reporting.
Create new entity for exposing report data on course categories,
joining it to the course entity to provide data for the reportbuilder
editor.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2021-10-22 17:19:33 +01:00