From 554b8789d6774a89a86f38c37437e4ed091deaa3 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:48:21 +0800 Subject: [PATCH 01/16] MDL-61881 report_backup: Implement null privacy provider --- report/backups/classes/privacy/provider.php | 46 +++++++++++++++++++++ report/backups/lang/en/report_backups.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/backups/classes/privacy/provider.php diff --git a/report/backups/classes/privacy/provider.php b/report/backups/classes/privacy/provider.php new file mode 100644 index 0000000000000..bab05ac8da79b --- /dev/null +++ b/report/backups/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_backups. + * + * @package report_backups + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_backups\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_backups implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/backups/lang/en/report_backups.php b/report/backups/lang/en/report_backups.php index 3128d3f2dac0e..c413f33c735b4 100644 --- a/report/backups/lang/en/report_backups.php +++ b/report/backups/lang/en/report_backups.php @@ -30,3 +30,4 @@ $string['pluginname'] = 'Backups report'; $string['strftimetime'] = '%I:%M:%S %p'; $string['viewlogs'] = 'View logs'; +$string['privacy:metadata'] = 'The report_backups plugin does not store any personal data.'; From e9251c0fe57c219fb3472e22739172e9d1686c07 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:48:55 +0800 Subject: [PATCH 02/16] MDL-61881 report_competency: Implement null privacy provider --- .../competency/classes/privacy/provider.php | 46 +++++++++++++++++++ .../competency/lang/en/report_competency.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/competency/classes/privacy/provider.php diff --git a/report/competency/classes/privacy/provider.php b/report/competency/classes/privacy/provider.php new file mode 100644 index 0000000000000..e2966980e570d --- /dev/null +++ b/report/competency/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_competency. + * + * @package report_competency + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_competency\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_competency implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/competency/lang/en/report_competency.php b/report/competency/lang/en/report_competency.php index 1c368f9666245..f2e4dfa1b2e72 100644 --- a/report/competency/lang/en/report_competency.php +++ b/report/competency/lang/en/report_competency.php @@ -28,3 +28,4 @@ $string['pluginname'] = 'Competency breakdown'; $string['rating'] = 'Rating'; $string['usercompetencysummary'] = 'User competency summary'; +$string['privacy:metadata'] = 'The report_competency plugin does not store any personal data.'; From c68b4a9d049a188f6e99a0c3455fc58d7eb2f444 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:49:18 +0800 Subject: [PATCH 03/16] MDL-61881 report_configlog: Implement null privacy provider --- report/configlog/classes/privacy/provider.php | 46 +++++++++++++++++++ report/configlog/lang/en/report_configlog.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/configlog/classes/privacy/provider.php diff --git a/report/configlog/classes/privacy/provider.php b/report/configlog/classes/privacy/provider.php new file mode 100644 index 0000000000000..cee5d89cd2e4a --- /dev/null +++ b/report/configlog/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_configlog. + * + * @package report_configlog + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_configlog\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_configlog implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/configlog/lang/en/report_configlog.php b/report/configlog/lang/en/report_configlog.php index e2c331ca631dd..b53ec45b1a010 100644 --- a/report/configlog/lang/en/report_configlog.php +++ b/report/configlog/lang/en/report_configlog.php @@ -30,3 +30,4 @@ $string['setting'] = 'Setting'; $string['timemodified'] = 'Date'; $string['value'] = 'New value'; +$string['privacy:metadata'] = 'The report_configlog plugin does not store any personal data.'; From 16044f514005fca06cbfe8b30b9fa39b5f70cbff Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:49:50 +0800 Subject: [PATCH 04/16] MDL-61881 report_courseoverview: Implement null privacy provider --- .../classes/privacy/provider.php | 46 +++++++++++++++++++ .../lang/en/report_courseoverview.php | 3 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 report/courseoverview/classes/privacy/provider.php diff --git a/report/courseoverview/classes/privacy/provider.php b/report/courseoverview/classes/privacy/provider.php new file mode 100644 index 0000000000000..ead2dacbcce83 --- /dev/null +++ b/report/courseoverview/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_courseoverview. + * + * @package report_courseoverview + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_courseoverview\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_courseoverview implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/courseoverview/lang/en/report_courseoverview.php b/report/courseoverview/lang/en/report_courseoverview.php index 8928a86e629da..5d0fc1dbea8ea 100644 --- a/report/courseoverview/lang/en/report_courseoverview.php +++ b/report/courseoverview/lang/en/report_courseoverview.php @@ -24,4 +24,5 @@ */ $string['courseoverview:view'] = 'View course overview report'; -$string['pluginname'] = 'Course overview'; \ No newline at end of file +$string['pluginname'] = 'Course overview'; +$string['privacy:metadata'] = 'The report_courseoverview plugin does not store any personal data.'; From 7b78c329c5ba603e27a926ba480cebb326db13e4 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:53:19 +0800 Subject: [PATCH 05/16] MDL-61881 report_eventlist: Implement null privacy provider --- report/eventlist/classes/privacy/provider.php | 46 +++++++++++++++++++ report/eventlist/lang/en/report_eventlist.php | 2 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 report/eventlist/classes/privacy/provider.php diff --git a/report/eventlist/classes/privacy/provider.php b/report/eventlist/classes/privacy/provider.php new file mode 100644 index 0000000000000..88697e0d8fc10 --- /dev/null +++ b/report/eventlist/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_eventlist. + * + * @package report_eventlist + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_eventlist\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_eventlist implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/eventlist/lang/en/report_eventlist.php b/report/eventlist/lang/en/report_eventlist.php index dc8ffb91b1dfd..4e15eb4fc01d3 100644 --- a/report/eventlist/lang/en/report_eventlist.php +++ b/report/eventlist/lang/en/report_eventlist.php @@ -56,4 +56,4 @@ $string['typedeclaration'] = 'Other event parameters'; $string['update'] = 'update'; $string['yes'] = 'yes'; - +$string['privacy:metadata'] = 'The report_eventlist plugin does not store any personal data.'; From 747ac8e9c4a54ee543c92ba912628e91b57d4cb5 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:53:45 +0800 Subject: [PATCH 06/16] MDL-61881 report_insights: Implement null privacy provider --- report/insights/classes/privacy/provider.php | 46 ++++++++++++++++++++ report/insights/lang/en/report_insights.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/insights/classes/privacy/provider.php diff --git a/report/insights/classes/privacy/provider.php b/report/insights/classes/privacy/provider.php new file mode 100644 index 0000000000000..be7f83bd24cf2 --- /dev/null +++ b/report/insights/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_insights. + * + * @package report_insights + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_insights\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_insights implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/insights/lang/en/report_insights.php b/report/insights/lang/en/report_insights.php index 68eab01fe96d5..f1c49765e60d7 100644 --- a/report/insights/lang/en/report_insights.php +++ b/report/insights/lang/en/report_insights.php @@ -45,3 +45,4 @@ $string['timerange'] = 'Time range'; $string['timerangewithdata'] = '{$a->timestart} to {$a->timeend}'; $string['selectotherinsights'] = 'Select other insights...'; +$string['privacy:metadata'] = 'The report_insights plugin does not store any personal data.'; From 219c1360039f45e235dbcb6892faa080dc76e20a Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:54:09 +0800 Subject: [PATCH 07/16] MDL-61881 report_log: Implement null privacy provider --- report/log/classes/privacy/provider.php | 46 +++++++++++++++++++++++++ report/log/lang/en/report_log.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/log/classes/privacy/provider.php diff --git a/report/log/classes/privacy/provider.php b/report/log/classes/privacy/provider.php new file mode 100644 index 0000000000000..2df51db7596df --- /dev/null +++ b/report/log/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_log. + * + * @package report_log + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_log\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_log implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/log/lang/en/report_log.php b/report/log/lang/en/report_log.php index 82d6f23824238..43706f8aac3e4 100644 --- a/report/log/lang/en/report_log.php +++ b/report/log/lang/en/report_log.php @@ -49,3 +49,4 @@ $string['selectlogreader'] = 'Select log reader'; $string['web'] = 'Web'; $string['ws'] = 'Web service'; +$string['privacy:metadata'] = 'The report_log plugin does not store any personal data.'; From c4c5061d1c8c685204201ad8d86eb722a324fb59 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:54:38 +0800 Subject: [PATCH 08/16] MDL-61881 report_loglive: Implement null privacy provider --- report/loglive/classes/privacy/provider.php | 46 +++++++++++++++++++++ report/loglive/lang/en/report_loglive.php | 3 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 report/loglive/classes/privacy/provider.php diff --git a/report/loglive/classes/privacy/provider.php b/report/loglive/classes/privacy/provider.php new file mode 100644 index 0000000000000..f0dd1e9744569 --- /dev/null +++ b/report/loglive/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_loglive. + * + * @package report_loglive + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_loglive\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_loglive implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/loglive/lang/en/report_loglive.php b/report/loglive/lang/en/report_loglive.php index e8c98f1b93dd4..bb83efd976726 100644 --- a/report/loglive/lang/en/report_loglive.php +++ b/report/loglive/lang/en/report_loglive.php @@ -36,4 +36,5 @@ $string['pause'] = 'Pause live updates'; $string['pluginname'] = 'Live logs'; $string['resume'] = 'Resume live updates'; -$string['selectlogreader'] = 'Select log reader'; \ No newline at end of file +$string['selectlogreader'] = 'Select log reader'; +$string['privacy:metadata'] = 'The report_loglive plugin does not store any personal data.'; From c1a8f55b86cc090c5e62f5fb4df099a8c08d88a2 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:55:07 +0800 Subject: [PATCH 09/16] MDL-61881 report_outline: Implement null privacy provider --- report/outline/classes/privacy/provider.php | 46 +++++++++++++++++++++ report/outline/lang/en/report_outline.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/outline/classes/privacy/provider.php diff --git a/report/outline/classes/privacy/provider.php b/report/outline/classes/privacy/provider.php new file mode 100644 index 0000000000000..3ddcbd34419f8 --- /dev/null +++ b/report/outline/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_outline. + * + * @package report_outline + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_outline\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_outline implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/outline/lang/en/report_outline.php b/report/outline/lang/en/report_outline.php index fb10e8c4aa9b9..338e54364925a 100644 --- a/report/outline/lang/en/report_outline.php +++ b/report/outline/lang/en/report_outline.php @@ -35,3 +35,4 @@ $string['page-report-outline-index'] = 'Course outline report'; $string['page-report-outline-user'] = 'User course outline report'; $string['pluginname'] = 'Activity report'; +$string['privacy:metadata'] = 'The report_outline plugin does not store any personal data.'; From 70b123700a120c7f75c11e029bf4c372fa5869a8 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:55:26 +0800 Subject: [PATCH 10/16] MDL-61881 report_participation: Implement null privacy provider --- .../classes/privacy/provider.php | 46 +++++++++++++++++++ .../lang/en/report_participation.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/participation/classes/privacy/provider.php diff --git a/report/participation/classes/privacy/provider.php b/report/participation/classes/privacy/provider.php new file mode 100644 index 0000000000000..b29f19d18120d --- /dev/null +++ b/report/participation/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_participation. + * + * @package report_participation + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_participation\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_participation implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/participation/lang/en/report_participation.php b/report/participation/lang/en/report_participation.php index b32232f49e21f..aa94c31d0b5c1 100644 --- a/report/participation/lang/en/report_participation.php +++ b/report/participation/lang/en/report_participation.php @@ -29,3 +29,4 @@ $string['page-report-participation-x'] = 'Any participation report'; $string['page-report-participation-index'] = 'Course participation report'; $string['pluginname'] = 'Course participation'; +$string['privacy:metadata'] = 'The report_participation plugin does not store any personal data.'; From 024d11a8ab61f0587768df48be83b866145d9b61 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:55:47 +0800 Subject: [PATCH 11/16] MDL-61881 report_performance: Implement null privacy provider --- .../performance/classes/privacy/provider.php | 46 +++++++++++++++++++ .../lang/en/report_performance.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/performance/classes/privacy/provider.php diff --git a/report/performance/classes/privacy/provider.php b/report/performance/classes/privacy/provider.php new file mode 100644 index 0000000000000..8f6e62ac4fea1 --- /dev/null +++ b/report/performance/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_performance. + * + * @package report_performance + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_performance\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_performance implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/performance/lang/en/report_performance.php b/report/performance/lang/en/report_performance.php index d460eccc66dc3..ae0f3bbb9f70c 100644 --- a/report/performance/lang/en/report_performance.php +++ b/report/performance/lang/en/report_performance.php @@ -48,3 +48,4 @@ $string['performancereportdesc'] = 'This report lists issues which may affect performance of the site {$a}'; $string['pluginname'] = 'Performance overview'; $string['value'] = 'Value'; +$string['privacy:metadata'] = 'The report_performance plugin does not store any personal data.'; From 2b0b91d7ee6169d185bc86031875955c2bc6a95c Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:56:07 +0800 Subject: [PATCH 12/16] MDL-61881 report_questioninstances: Implement null privacy provider --- .../classes/privacy/provider.php | 46 +++++++++++++++++++ .../lang/en/report_questioninstances.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/questioninstances/classes/privacy/provider.php diff --git a/report/questioninstances/classes/privacy/provider.php b/report/questioninstances/classes/privacy/provider.php new file mode 100644 index 0000000000000..7056ecb986387 --- /dev/null +++ b/report/questioninstances/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_questioninstances. + * + * @package report_questioninstances + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_questioninstances\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_questioninstances implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/questioninstances/lang/en/report_questioninstances.php b/report/questioninstances/lang/en/report_questioninstances.php index d66beb92c0811..f27581f3f39da 100644 --- a/report/questioninstances/lang/en/report_questioninstances.php +++ b/report/questioninstances/lang/en/report_questioninstances.php @@ -36,3 +36,4 @@ $string['reportsettings'] = 'Report settings'; $string['totalquestions'] = 'Total'; $string['visiblequestions'] = 'Visible'; +$string['privacy:metadata'] = 'The report_questioninstances plugin does not store any personal data.'; From d8e07b9f75c8930f7bcb93726657eb68a90d4a6c Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:56:31 +0800 Subject: [PATCH 13/16] MDL-61881 report_security: Implement null privacy provider --- report/security/classes/privacy/provider.php | 46 ++++++++++++++++++++ report/security/lang/en/report_security.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/security/classes/privacy/provider.php diff --git a/report/security/classes/privacy/provider.php b/report/security/classes/privacy/provider.php new file mode 100644 index 0000000000000..ef328e76544ee --- /dev/null +++ b/report/security/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_security. + * + * @package report_security + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_security\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_security implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/security/lang/en/report_security.php b/report/security/lang/en/report_security.php index a389768411d62..d6d1d7a56abd6 100644 --- a/report/security/lang/en/report_security.php +++ b/report/security/lang/en/report_security.php @@ -141,3 +141,4 @@ $string['statusserious'] = 'Serious'; $string['statuswarning'] = 'Warning'; $string['timewarning'] = 'Data processing may take a long time, please be patient...'; +$string['privacy:metadata'] = 'The report_security plugin does not store any personal data.'; From b398f0702a61efd3af3cbe0aae36fac6b54bf0b0 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:56:53 +0800 Subject: [PATCH 14/16] MDL-61881 report_stats: Implement null privacy provider --- report/stats/classes/privacy/provider.php | 46 +++++++++++++++++++++++ report/stats/lang/en/report_stats.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/stats/classes/privacy/provider.php diff --git a/report/stats/classes/privacy/provider.php b/report/stats/classes/privacy/provider.php new file mode 100644 index 0000000000000..b77263fd5500c --- /dev/null +++ b/report/stats/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_stats. + * + * @package report_stats + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_stats\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_stats implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/stats/lang/en/report_stats.php b/report/stats/lang/en/report_stats.php index 1ee3034b9c76d..947981d7e09c3 100644 --- a/report/stats/lang/en/report_stats.php +++ b/report/stats/lang/en/report_stats.php @@ -31,3 +31,4 @@ $string['page-report-stats-index'] = 'Course statistics report'; $string['page-report-stats-user'] = 'User course statistics report'; $string['stats:view'] = 'View course statistics report'; +$string['privacy:metadata'] = 'The report_stats plugin does not store any personal data.'; From 71098b95247b5c35c4d1dc1b4c6beb5312a3de90 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Mon, 9 Apr 2018 09:57:15 +0800 Subject: [PATCH 15/16] MDL-61881 report_usersessions: Implement null privacy provider --- .../usersessions/classes/privacy/provider.php | 46 +++++++++++++++++++ .../lang/en/report_usersessions.php | 1 + 2 files changed, 47 insertions(+) create mode 100644 report/usersessions/classes/privacy/provider.php diff --git a/report/usersessions/classes/privacy/provider.php b/report/usersessions/classes/privacy/provider.php new file mode 100644 index 0000000000000..87f9546114fe9 --- /dev/null +++ b/report/usersessions/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for report_usersessions. + * + * @package report_usersessions + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace report_usersessions\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for report_usersessions implementing null_provider. + * + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/report/usersessions/lang/en/report_usersessions.php b/report/usersessions/lang/en/report_usersessions.php index ebbaf93ead93d..51424d0a4815e 100644 --- a/report/usersessions/lang/en/report_usersessions.php +++ b/report/usersessions/lang/en/report_usersessions.php @@ -28,3 +28,4 @@ $string['pluginname'] = 'User sessions report'; $string['thissession'] = 'Current session'; $string['usersessions:manageownsessions'] = 'Manage own browser sessions'; +$string['privacy:metadata'] = 'The report_usersessions plugin does not store any personal data.'; From 6f77c097770adeb9d47f97d891853962f01ea448 Mon Sep 17 00:00:00 2001 From: Zig Tan Date: Wed, 11 Apr 2018 10:06:51 +0800 Subject: [PATCH 16/16] MDL-61881 report: fix privacy lang strings --- report/backups/lang/en/report_backups.php | 2 +- report/competency/lang/en/report_competency.php | 2 +- report/configlog/lang/en/report_configlog.php | 2 +- report/courseoverview/lang/en/report_courseoverview.php | 2 +- report/eventlist/lang/en/report_eventlist.php | 2 +- report/insights/lang/en/report_insights.php | 2 +- report/log/lang/en/report_log.php | 2 +- report/loglive/lang/en/report_loglive.php | 2 +- report/outline/lang/en/report_outline.php | 2 +- report/participation/lang/en/report_participation.php | 2 +- report/performance/lang/en/report_performance.php | 2 +- report/questioninstances/lang/en/report_questioninstances.php | 2 +- report/security/lang/en/report_security.php | 2 +- report/stats/lang/en/report_stats.php | 2 +- report/usersessions/lang/en/report_usersessions.php | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/report/backups/lang/en/report_backups.php b/report/backups/lang/en/report_backups.php index c413f33c735b4..72a9c1681311d 100644 --- a/report/backups/lang/en/report_backups.php +++ b/report/backups/lang/en/report_backups.php @@ -30,4 +30,4 @@ $string['pluginname'] = 'Backups report'; $string['strftimetime'] = '%I:%M:%S %p'; $string['viewlogs'] = 'View logs'; -$string['privacy:metadata'] = 'The report_backups plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Backups reports plugin does not store any personal data.'; diff --git a/report/competency/lang/en/report_competency.php b/report/competency/lang/en/report_competency.php index f2e4dfa1b2e72..a49ae5f613e04 100644 --- a/report/competency/lang/en/report_competency.php +++ b/report/competency/lang/en/report_competency.php @@ -28,4 +28,4 @@ $string['pluginname'] = 'Competency breakdown'; $string['rating'] = 'Rating'; $string['usercompetencysummary'] = 'User competency summary'; -$string['privacy:metadata'] = 'The report_competency plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Competency breakdown plugin does not store any personal data.'; diff --git a/report/configlog/lang/en/report_configlog.php b/report/configlog/lang/en/report_configlog.php index b53ec45b1a010..a6f4fcbfbd8e4 100644 --- a/report/configlog/lang/en/report_configlog.php +++ b/report/configlog/lang/en/report_configlog.php @@ -30,4 +30,4 @@ $string['setting'] = 'Setting'; $string['timemodified'] = 'Date'; $string['value'] = 'New value'; -$string['privacy:metadata'] = 'The report_configlog plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Config changes plugin does not store any personal data.'; diff --git a/report/courseoverview/lang/en/report_courseoverview.php b/report/courseoverview/lang/en/report_courseoverview.php index 5d0fc1dbea8ea..c7eb97d788f8f 100644 --- a/report/courseoverview/lang/en/report_courseoverview.php +++ b/report/courseoverview/lang/en/report_courseoverview.php @@ -25,4 +25,4 @@ $string['courseoverview:view'] = 'View course overview report'; $string['pluginname'] = 'Course overview'; -$string['privacy:metadata'] = 'The report_courseoverview plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Course overview plugin does not store any personal data.'; diff --git a/report/eventlist/lang/en/report_eventlist.php b/report/eventlist/lang/en/report_eventlist.php index 4e15eb4fc01d3..892ea16c45206 100644 --- a/report/eventlist/lang/en/report_eventlist.php +++ b/report/eventlist/lang/en/report_eventlist.php @@ -56,4 +56,4 @@ $string['typedeclaration'] = 'Other event parameters'; $string['update'] = 'update'; $string['yes'] = 'yes'; -$string['privacy:metadata'] = 'The report_eventlist plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Events list plugin does not store any personal data.'; diff --git a/report/insights/lang/en/report_insights.php b/report/insights/lang/en/report_insights.php index f1c49765e60d7..2051e30ee65e0 100644 --- a/report/insights/lang/en/report_insights.php +++ b/report/insights/lang/en/report_insights.php @@ -45,4 +45,4 @@ $string['timerange'] = 'Time range'; $string['timerangewithdata'] = '{$a->timestart} to {$a->timeend}'; $string['selectotherinsights'] = 'Select other insights...'; -$string['privacy:metadata'] = 'The report_insights plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Insights plugin does not store any personal data.'; diff --git a/report/log/lang/en/report_log.php b/report/log/lang/en/report_log.php index 43706f8aac3e4..abf6fb4bdaf91 100644 --- a/report/log/lang/en/report_log.php +++ b/report/log/lang/en/report_log.php @@ -49,4 +49,4 @@ $string['selectlogreader'] = 'Select log reader'; $string['web'] = 'Web'; $string['ws'] = 'Web service'; -$string['privacy:metadata'] = 'The report_log plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Logs plugin does not store any personal data.'; diff --git a/report/loglive/lang/en/report_loglive.php b/report/loglive/lang/en/report_loglive.php index bb83efd976726..c0e1ad18eb66b 100644 --- a/report/loglive/lang/en/report_loglive.php +++ b/report/loglive/lang/en/report_loglive.php @@ -37,4 +37,4 @@ $string['pluginname'] = 'Live logs'; $string['resume'] = 'Resume live updates'; $string['selectlogreader'] = 'Select log reader'; -$string['privacy:metadata'] = 'The report_loglive plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Live logs plugin does not store any personal data.'; diff --git a/report/outline/lang/en/report_outline.php b/report/outline/lang/en/report_outline.php index 338e54364925a..208f78edeabe2 100644 --- a/report/outline/lang/en/report_outline.php +++ b/report/outline/lang/en/report_outline.php @@ -35,4 +35,4 @@ $string['page-report-outline-index'] = 'Course outline report'; $string['page-report-outline-user'] = 'User course outline report'; $string['pluginname'] = 'Activity report'; -$string['privacy:metadata'] = 'The report_outline plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Activity report plugin does not store any personal data.'; diff --git a/report/participation/lang/en/report_participation.php b/report/participation/lang/en/report_participation.php index aa94c31d0b5c1..793f4f97ff054 100644 --- a/report/participation/lang/en/report_participation.php +++ b/report/participation/lang/en/report_participation.php @@ -29,4 +29,4 @@ $string['page-report-participation-x'] = 'Any participation report'; $string['page-report-participation-index'] = 'Course participation report'; $string['pluginname'] = 'Course participation'; -$string['privacy:metadata'] = 'The report_participation plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Course participation plugin does not store any personal data.'; diff --git a/report/performance/lang/en/report_performance.php b/report/performance/lang/en/report_performance.php index ae0f3bbb9f70c..17e36c1165b05 100644 --- a/report/performance/lang/en/report_performance.php +++ b/report/performance/lang/en/report_performance.php @@ -48,4 +48,4 @@ $string['performancereportdesc'] = 'This report lists issues which may affect performance of the site {$a}'; $string['pluginname'] = 'Performance overview'; $string['value'] = 'Value'; -$string['privacy:metadata'] = 'The report_performance plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Performance overview plugin does not store any personal data.'; diff --git a/report/questioninstances/lang/en/report_questioninstances.php b/report/questioninstances/lang/en/report_questioninstances.php index f27581f3f39da..6230d11cd8e0b 100644 --- a/report/questioninstances/lang/en/report_questioninstances.php +++ b/report/questioninstances/lang/en/report_questioninstances.php @@ -36,4 +36,4 @@ $string['reportsettings'] = 'Report settings'; $string['totalquestions'] = 'Total'; $string['visiblequestions'] = 'Visible'; -$string['privacy:metadata'] = 'The report_questioninstances plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Question instances plugin does not store any personal data.'; diff --git a/report/security/lang/en/report_security.php b/report/security/lang/en/report_security.php index d6d1d7a56abd6..3e01e8d7a7aa3 100644 --- a/report/security/lang/en/report_security.php +++ b/report/security/lang/en/report_security.php @@ -141,4 +141,4 @@ $string['statusserious'] = 'Serious'; $string['statuswarning'] = 'Warning'; $string['timewarning'] = 'Data processing may take a long time, please be patient...'; -$string['privacy:metadata'] = 'The report_security plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Security overview plugin does not store any personal data.'; diff --git a/report/stats/lang/en/report_stats.php b/report/stats/lang/en/report_stats.php index 947981d7e09c3..c0dc7f4b4764f 100644 --- a/report/stats/lang/en/report_stats.php +++ b/report/stats/lang/en/report_stats.php @@ -31,4 +31,4 @@ $string['page-report-stats-index'] = 'Course statistics report'; $string['page-report-stats-user'] = 'User course statistics report'; $string['stats:view'] = 'View course statistics report'; -$string['privacy:metadata'] = 'The report_stats plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The Statistics plugin does not store any personal data.'; diff --git a/report/usersessions/lang/en/report_usersessions.php b/report/usersessions/lang/en/report_usersessions.php index 51424d0a4815e..1fbc317a40833 100644 --- a/report/usersessions/lang/en/report_usersessions.php +++ b/report/usersessions/lang/en/report_usersessions.php @@ -28,4 +28,4 @@ $string['pluginname'] = 'User sessions report'; $string['thissession'] = 'Current session'; $string['usersessions:manageownsessions'] = 'Manage own browser sessions'; -$string['privacy:metadata'] = 'The report_usersessions plugin does not store any personal data.'; +$string['privacy:metadata'] = 'The User sessions report plugin does not store any personal data.';