- We now track when each query was created and last modified, along with the user who modified it. (With the necessary Privacy API bits.)
- Fix the sort-order of reports on the index page.
- Fix the bug with list of email recipients being saved wrongly.
- Fix a bug when the value in a cell ended in a backslash.
- Minor styling fix.
- Updates to make everything work with Moodle 3.11.
- Fix downloading for Moodle 3.9+.
- When editing queries, the SQL field is now styled more prettily.
- For scheduled reports, the list of users to email is now stored as a list of userids, rather than usernames. (Configuration of existing reports is automatically updated on upgrade.)
- Scheduled reports which accumulate one row at a time now display with the most recent data at the top.
- When sending emails for scheduled reports, the number of rows in the results is now added to the subject line.
- Report results can now be downloaded in any of data format that Moodle supports, not just CSV.
- Admins can control the maximum possible limit for the number of rows a query can return.
- Admins can now set which day is considered the first of the week for weekly reports. This defaults to the Moodle setting for this for new installs. For existing installs, it stays the same as before (Saturday) but you can change it.
- If a report has query parameters, they can now be set in the URL (GET parameters) so you can bookmark a particular variant of a report.
- There is a parameter you can add to the URL of a report, so it is displayed with 'embedded' page layout, suitable for showing in an iframe.
- Also, change the page layout used in the normal case to 'report'.
- Query param values that are integers are now sent to the database as integers, which can lead to queries being optimised better.
- Fix an issue with showing the results of scheduled reports, when the report only produces data sometimes.
- Improve handling of 'pretty' column names.
- Fix compatibility with the messaging API changes in Moodle 3.6.
- Improve message default settings on install.
- Move hard-coded English string 'Run report' to the language file.
- New feature for columns that are links. If the SQL query returns two
columns
name
andname_link_url
(for any value ofname
) then the that will be shown as a single column of links, where the visible link text comes from thename
column, and the URL comes from thename_link_url
column. - The exact case of the column titles is extracted from the query. So,
if your query is
SELECT 'x' AS My_HTML
, previously the table would display the column heading as 'my html'. Now it will show 'My HTML'. - A summary of the number of rows output under the table.
- Moodle 3.3 compatibility re-established thanks to Paul Holden.
- Behat tests fixed for Moodle 3.6.
- Privacy API implementation.
- Fix escaping of values in reports that contain HTML special characters.
- Fix bug where the report name was missing from scheduled task emails.
- Fix some coding style issues.
- Due to privacy API support, this version now only works in Moodle 3.4+ For older Moodles, you will need to use a previous version of this plugin.
Changes were not documented here.