Paul Holden
bf39fc43b4
MDL-80014 reportbuilder: entity method to retrieve all table aliases.
2023-12-13 10:06:19 +00:00
Paul Holden
3dec3fb8ce
MDL-79397 reportbuilder: update reports to use auto-generated aliases.
...
We no longer need to be concerned about the manual setting of entity
table aliases (e.g. to avoid duplication between entities, or for using
a single entity multiple times), as it's handled transparently for us.
2023-12-07 17:19:01 +00:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions.
2023-12-07 17:19:01 +00:00
Paul Holden
28304c4045
MDL-79191 grade: correct column type for the grade column (float).
2023-08-31 15:12:45 +01:00
Paul Holden
db5c663fb9
MDL-76902 course: create categories datasource for custom reporting.
...
New report source based on the course category entity, joined to the
course, cohort and role assignment/user entities to provide data for
the reportbuilder editor.
2023-08-23 13:42:27 +01:00
Sara Arjona
a1f108a996
Merge branch 'MDL-78761' of https://github.com/paulholden/moodle
2023-08-17 09:09:15 +02:00
Paul Holden
34ab8329e7
MDL-78755 course: default participant source conditions and sorting.
...
Ensure the default state of the report source shows only active user
enrolments, and implements sorting for consistency.
2023-08-02 14:49:26 +01:00
Paul Holden
e630700fda
MDL-78761 enrol: correct enrolment suspended state report filter.
2023-07-21 17:12:32 +01:00
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