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
Mikel Martín
08d31c6657
MDL-72822 core_reportbuilder: Fix focus lost after applying changes
...
- Fix focus after adding conditions in the editor
- Fix focus after adding Filters in the editor
- Fix focus after applying sorting settings in editor
- Fix focus after selecting column aggregation in editor
2021-11-24 13:13:08 +01:00
Mikel Martín
8e25d534b4
MDL-72822 core_reportbuilder: Accessibility improvements
...
- Add sr-only headings to tabs
- Change role to 'presentation' in tab <li> elements
- Remove unnecessary aria-labelledby
- Fix heading levels
- Avoid duplicated IDs in audiences
- Replace empty links with buttons
- Fix mustache comments
- Fix mustache contexts
2021-11-24 10:26:14 +01:00
Andrew Nicols
eab5f3cfb2
Merge branch 'MDL-73069' of https://github.com/paulholden/moodle
2021-11-23 10:52:11 +08:00
Sara Arjona
be78cb02f2
Merge branch 'MDL-73129-master' of https://github.com/dravek/moodle
2021-11-23 10:52:11 +08:00
David Matamoros
6d1a7a8283
MDL-73129 reportbuilder: Remove string with trailing whitespace
2021-11-22 10:30:10 +01:00
Paul Holden
faeecd79ea
MDL-73074 reportbuilder: consistent lang strings in course filter.
2021-11-22 09:20:04 +00:00
Paul Holden
881dccaa7d
MDL-73069 reportbuilder: filter/condition for selecting user.
...
This allows a report creator to create personalised reports
according to the user who is viewing the report.
2021-11-22 09:17:52 +00:00
Paul Holden
f4bf4dca36
MDL-73112 reportbuilder: improve handling of concatenated columns.
...
This change overcomes limitations in certain DB engines (such as
MySQL[1]) which can lead to truncation of data when applying group
concatenation to columns.
Ensure we account for that by validating that we are able to extract
the expected number of fields from each concatenated value.
[1] https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_group_concat_max_len
2021-11-22 09:14:41 +00:00
Jun Pataleta
357ddcaff6
Merge branch 'MDL-72826' of git://github.com/paulholden/moodle
2021-11-19 11:07:03 +08:00
Paul Holden
80dd297a62
MDL-73090 reportbuilder: confirmation before resetting conditions.
...
Also prefetch all lang strings used by conditions editor.
2021-11-17 16:27:50 +00:00
Paul Holden
be11216d30
MDL-72826 reportbuilder: per-report option to show only unique rows.
...
This option allows report creators to avoid duplicate data being
displayed in their report. It is applied only when no columns in the
report currently have aggregation methods applied.
2021-11-16 13:59:16 +00:00
Paul Holden
c0ceaef772
MDL-73011 reportbuilder: remove workarounds for tab switching.
2021-11-11 23:54:56 +00:00
Mikel Martín
68eb55b8e6
MDL-72565 reportbuilder: Add card view functionality
...
Use card view settings to show a 'card view' for custom reports in small devices
2021-11-11 13:55:32 +01:00
Mikel Martín
aaa7a5a445
MDL-72565 reportbuilder: Add 'Card view' settings to custom reports
...
- Create a new 'settings' column in reportbuilder_report table and provide an API to manage it
- Add new card view settings to custom reports
2021-11-11 13:55:29 +01:00
Mikel Martín
f2582cc823
MDL-72565 reportbuilder: Use same template for system/custom reports
...
- rename 'system_report' template to 'report'
- view.php now uses 'report' template
Co-authored-by: Paul Holden <paulh@moodle.com>
2021-11-11 13:44:23 +01:00
Shamim Rezaie
d038fd822d
Merge branch 'MDL-72952' of https://github.com/roland04/moodle
2021-11-11 10:38:26 +11:00
Eloy Lafuente (stronk7)
2b18fad922
Merge branch 'MDL-72696' of https://github.com/paulholden/moodle
2021-11-10 19:20:39 +01:00
Mikel Martín
5a2624c472
MDL-72952 reportbuilder: UX behaviour improvements in audiences
...
- Show a toast notification when saving an audience
- Add form change checker when adding a new audience to prevent user from navigating away if it is not saved
- Remove expand/collapse animation in audience sidebar to be consistent with editor
Co-authored-By: Paul Holden <paulh@moodle.com>
2021-11-10 17:22:00 +01:00
Ilya Tregubov
90b40b99fd
Merge branch 'MDL-73001-master' of https://github.com/dravek/moodle
2021-11-09 14:55:30 +02:00
Paul Holden
7a7375df4d
MDL-72696 behat: support inplace editable fields of type select.
...
If an inplace editable field is using the "select" type, we should
treat it as a select field when setting it's value during scenarios.
2021-11-08 13:09:05 +00:00
David Matamoros
aaa041a9bd
MDL-73001 reportbuilder: Allow to set custom title to fullname columns
2021-11-08 13:54:41 +01:00
Sara Arjona
2a0c4a8a73
Merge branch 'MDL-72978-master' of https://github.com/dravek/moodle
2021-11-08 09:59:47 +01:00
Sara Arjona
f2d2d7810b
Merge branch 'MDL-72959' of https://github.com/paulholden/moodle
2021-11-08 08:57:04 +01:00
Eloy Lafuente (stronk7)
37fa747b30
Merge branch 'MDL-72968' of https://github.com/paulholden/moodle
2021-11-04 17:33:38 +01:00
Ilya Tregubov
6b0b757124
Merge branch 'MDL-72961' of https://github.com/paulholden/moodle
2021-11-04 14:40:26 +02:00
Eloy Lafuente (stronk7)
7faf678b59
Merge branch 'MDL-72987' of https://github.com/paulholden/moodle
2021-11-04 12:52:38 +01:00
Sara Arjona
61fef90a74
Merge branch 'MDL-72962' of git://github.com/paulholden/moodle
2021-11-04 12:30:27 +01:00
Eloy Lafuente (stronk7)
9e40598409
Merge branch 'MDL-72960' of https://github.com/paulholden/moodle
2021-11-03 19:09:11 +01:00
Paul Holden
3191443f47
MDL-72987 reportbuilder: reset manager cache between Behat tests.
2021-11-03 15:31:08 +00:00
Paul Holden
c7a7a54495
MDL-72959 reportbuilder: format course/category names in entities.
2021-11-02 16:21:45 +00:00