David Matamoros
48a6e92700
MDL-72061 reportbuilder: Report actions are shown in action menus
2022-02-09 15:55:08 +01:00
Paul Holden
683fc4d9d1
MDL-73811 reportbuilder: ensure audience cards are uniquely keyed.
2022-02-08 16:35:59 +00:00
Andrew Nicols
68ae89ccc4
Merge branch 'MDL-73631' of https://github.com/paulholden/moodle
2022-02-08 12:03:42 +08:00
Mikel Martín
268157743f
MDL-73116 reportbuilder: Use triggerElement parameter to return focus
2022-02-07 11:33:35 +01:00
Paul Holden
108feb6ffa
MDL-73631 reportbuilder: singular, pivoted Behat data generators.
2022-02-03 08:31:01 +00:00
Paul Holden
a73d989a65
MDL-73682 reportbuilder: allow columns to define how they're sorted.
2022-02-02 10:17:56 +00:00
Paul Holden
f37b67564a
MDL-73682 reportbuilder: move active columns method to datasource.
...
This is consistent with similar methods for retrieving the active
filters and conditions of a given custom report.
2022-02-02 09:30:00 +00:00
Ilya Tregubov
c94d463afa
Merge branch 'MDL-73706' of git://github.com/paulholden/moodle
2022-01-31 16:59:15 +02:00
Ilya Tregubov
2708e7ef60
Merge branch 'MDL-72756' of git://github.com/paulholden/moodle
2022-01-31 15:12:21 +02:00
Paul Holden
eb2e261df4
MDL-73706 reportbuilder: fix count for columns with multiple fields.
...
When using the "Count distinct" aggregation type on a column that
selects multiple fields, we should account for each of them in the
returned SQL.
Move helper method to facilitate this to the base aggregation class
so it can be re-used between all types.
2022-01-28 15:38:40 +00:00
Jun Pataleta
fd452f2fa2
Merge branch 'MDL-73470' of https://github.com/roland04/moodle
2022-01-28 11:02:01 +08:00
Paul Holden
9626002d56
MDL-72756 reportbuilder: implement tests covering privacy updates.
2022-01-27 12:04:05 +00:00
David Matamoros
ed55c7ecd6
MDL-72756 reportbuilder: Implement privacy provider
...
Co-authored-by: Paul Holden <paulh@moodle.com>
2022-01-27 12:04:03 +00:00
Mikel Martín
795087462f
MDL-73470 core: Move toggle template to core
2022-01-25 18:04:58 +01:00
Jun Pataleta
fbc3e7568e
Merge branch 'MDL-73493' of git://github.com/paulholden/moodle
2022-01-24 17:32:32 +08:00
Andrew Nicols
6bec1964cc
Merge branch 'MDL-73598' of https://github.com/paulholden/moodle
2022-01-24 11:29:48 +08:00
Jake Dallimore
1fa04d2e06
Merge branch 'MDL-73180' of git://github.com/paulholden/moodle
2022-01-24 10:37:53 +08:00
Paul Holden
628541b5e1
MDL-73493 reportbuilder: correct handling of empty string in filters.
...
This is specifically for Oracle, which treats empty strings and NULL
in an inconsistent manner unless passed as query parameters. Increase
test coverage of the same.
Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2022-01-21 15:43:01 +00:00
Mikel Martín
eb65298bcd
MDL-73166 core_reportbuilder: Fix action links accessibility
2022-01-20 09:48:29 +01:00
Paul Holden
335012580b
MDL-73598 reportbuilder: feature switch for custom reports.
2022-01-19 23:20:52 +00:00
Carlos Castillo
3d8620854a
MDL-73493 reportbuilder: Consider users without profile field defined
...
Include users who haven't defined text/checkbox custom profile field
in filter operators: 'Is not empty', 'Does not contain' and 'Is not equal to'.
2022-01-19 08:47:26 -05:00
Paul Holden
a844d885b2
MDL-73180 reportbuilder: improve relative date filter definitions.
...
Changes since the original implementation in e55abd71
mean that
relative date filtering (by last/next day/week, etc) is now based
on the actual current time, rather than the start or end of the
current time unit.
2022-01-19 08:22:03 +00:00
Ilya Tregubov
c10cf765d0
Merge branch 'MDL-73495-master' of https://github.com/dravek/moodle
2022-01-17 09:14:48 +02:00
Shamim Rezaie
c4706a93ea
Merge branch 'MDL-72757-master' of https://github.com/dravek/moodle
2022-01-13 18:29:28 +11:00
Jun Pataleta
8b73145310
Merge branch 'MDL-73467' of git://github.com/paulholden/moodle
2022-01-13 11:43:32 +08:00
Paul Holden
b625b9ffed
MDL-73467 reportbuilder: consistent scheduled report export class.
...
Use the same dataformat exporter in scheduled reports as that used
when downloading reports, from 7d753bed
.
2022-01-12 17:41:41 +00:00
Mikel Martín
142277dfcb
MDL-73469 reportbuilder: Fix clipped corners
...
- Fix clipped corners in toggle cards
- Fix left corners in left sidebar search input
2022-01-12 15:27:48 +01:00
Paul Holden
ee566b88a8
MDL-72757 reportbuilder: improve model event tests.
...
Remove some boilerplate/duplication in the current test methods
using @depends annotation to pass persistents between them.
2022-01-10 17:21:23 +01:00
David Matamoros
c6bf7d791e
MDL-73495 reportbuilder: Fix generation of dynamic tabs
2022-01-05 13:16:13 +01:00
David Matamoros
39b90208e1
MDL-72757 reportbuilder: Events for CRUD operations on report models
2022-01-05 09:55:36 +01:00
Paul Holden
98e7d99720
MDL-73468 reportbuilder: observe configured sorting when editing.
...
Users preferred sorting (via clicking on column headers) should only
take effect when pre/viewing the report, not when editing it.
2021-12-30 11:35:07 +00:00
Jun Pataleta
80c17cd2a0
Merge branch 'MDL-72701-master' of https://github.com/andrewnicols/moodle
2021-12-23 12:10:46 +08:00
Sara Arjona
3946c78c2e
Merge branch 'MDL-73275' of https://github.com/paulholden/moodle
2021-12-22 15:40:43 +01:00
Paul Holden
335f608abb
MDL-72598 reportbuilder: tasks and API for report schedule delivery.
2021-12-21 09:44:43 +00:00
Paul Holden
a05683d027
MDL-72598 reportbuilder: interface elements for creating schedules.
...
Add new tab to the report editor, with system report, external API
and Javascript modules for managing report schedules.
2021-12-21 08:57:17 +00:00
Andrew Nicols
3a70983d53
MDL-72701 unit tests: Generate default coverage
2021-12-21 09:24:00 +08:00
Paul Holden
d064a93d29
MDL-72598 reportbuilder: elements to allow audiences to be renamed.
...
This allows the user to give the audience more context, particularly
when they are used for selection on the forthcoming schedule form
editing.
2021-12-17 14:33:27 +00:00
Paul Holden
eb460d93aa
MDL-72598 reportbuilder: schema and model updates for schedules.
2021-12-17 14:33:27 +00:00
Víctor Déniz
3eafc7a1bc
Merge branch 'MDL-73280' of git://github.com/paulholden/moodle
2021-12-13 18:44:10 +00:00
Ilya Tregubov
6f44f008d8
Merge branch 'MDL-73278' of https://github.com/stronk7/moodle
2021-12-10 18:51:40 +02:00
Paul Holden
8bed417833
MDL-73280 reportbuilder: format checkbox profile fields correctly.
2021-12-09 14:09:44 +00:00
Paul Holden
805b9521fc
MDL-73280 reportbuilder: remove profile field column alias.
...
It's not required, and also could cause issues for fields that
contained differing casing in their shortname.
Co-authored-by: David Matamoros <davidmc@moodle.com>
2021-12-09 12:42:40 +00:00
Eloy Lafuente (stronk7)
deb0e76eee
MDL-73278 phpunit: Rename already namespaced classes to match file name
...
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.
All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:29 +01:00
Paul Holden
7d753bed0b
MDL-73275 reportbuilder: dataformat exporter for downloading.
...
If the current dataformat doesn't support HTML then clean the text
and remove all tags.
2021-12-06 10:41:29 +00:00
Paul Holden
b103060753
MDL-73103 reportbuilder: use new notification confirmation method.
...
Prefetch all language strings used by editor modules.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2021-12-03 13:01:58 +00:00
Jun Pataleta
f95cc84aa5
Merge branch 'MDL-72770' of https://github.com/roland04/moodle
2021-12-02 11:08:50 +08:00
Mikel Martín
6a6ebbac63
MDL-72770 reportbuilder: Display editor in full screen layout
...
- use 'popup' layout in editor page and create a custom navbar
- remove 'Settings' toggle button and show settings right sidebar with fixed position
- add 'Edit details' button on navbar that opens a modal to modify report basic settings
2021-12-01 17:12:45 +01:00
Paul Holden
171c615a1b
MDL-73149 reportbuilder: update sorting options after aggregation.
...
Aggregation types can disable column sorting, e.g. both the current
group concatenation types. If such a type is selected for a column
we should update the report sorting options, ensuring that only those
columns that can be sorted are available for selection.
2021-12-01 09:12:07 +00:00
Jun Pataleta
3ae9f4cac3
Merge branch 'MDL-72822' of https://github.com/roland04/moodle
2021-12-01 11:27:06 +08:00
Eloy Lafuente (stronk7)
cee0949109
Merge branch 'MDL-73074' of https://github.com/paulholden/moodle
2021-11-29 23:14:48 +01:00