From b15433ecd264f40db1e5228e016efdf7e8ef5cab Mon Sep 17 00:00:00 2001 From: Scott Verbeek Date: Wed, 23 Dec 2020 15:42:43 +1000 Subject: [PATCH 1/2] Added Privacy Provider --- classes/privacy/provider.php | 46 ++++++++++++++++++++++++++++++++++++ lang/de/local_reminders.php | 1 + lang/en/local_reminders.php | 1 + lang/fr/local_reminders.php | 1 + lang/ja/local_reminders.php | 1 + version.php | 2 +- 6 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 classes/privacy/provider.php diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php new file mode 100644 index 0000000..9e92997 --- /dev/null +++ b/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Plugin privacy provider + * + * @package local_reminders + * @author Scott Verbeek + * @copyright 2020 Catalyst AU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace local_reminders\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy provider class for package local_reminders + */ +class provider implements + // This plugin does not store any personal user data. + \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/lang/de/local_reminders.php b/lang/de/local_reminders.php index 43dd60a..79a8f0a 100644 --- a/lang/de/local_reminders.php +++ b/lang/de/local_reminders.php @@ -57,6 +57,7 @@ $string['messageprovider:reminders_site'] = 'Benachrichtigungen für Website-weite Ereignisse'; $string['messageprovider:reminders_user'] = 'Benachrichtigungen für benutzerspezifische Ereignisse'; $string['pluginname'] = 'Erinnerungen an Ereignisse'; +$string['privacy:metadata'] = 'Das Erinnerungen an Ereignisse Plugin speichert keine persönlichen Daten.'; $string['reminderdaysahead'] = 'Vorher informieren:'; $string['reminderfrom'] = 'Erinnerung von'; $string['sendactivityreminders'] = 'Erinnerung an Aktivität:'; diff --git a/lang/en/local_reminders.php b/lang/en/local_reminders.php index f90ad30..5a7a1d8 100644 --- a/lang/en/local_reminders.php +++ b/lang/en/local_reminders.php @@ -90,6 +90,7 @@ $string['messagetitleprefixdescription'] = 'This text will be inserted as a prefix (within square brackets) to the title of every reminder message is being sent.'; $string['overduemessage'] = 'This activity is overdue!'; $string['pluginname'] = 'Event Reminders'; +$string['privacy:metadata'] = 'The Event Reminders plugin does not store any personal data.'; $string['overdueactivityreminders'] = 'Activity Overdue Reminders:'; $string['overdueactivityremindersdescription'] = 'If checked, then reminders will be sent to users who are overdue the activity.'; $string['reminderdaysahead'] = 'Send before:'; diff --git a/lang/fr/local_reminders.php b/lang/fr/local_reminders.php index 25a041d..e343a65 100644 --- a/lang/fr/local_reminders.php +++ b/lang/fr/local_reminders.php @@ -57,6 +57,7 @@ $string['messageprovider:reminders_site'] = 'Notifications de rappels d\'événement du Site'; $string['messageprovider:reminders_user'] = 'Notifications de rappels d\'événement Utilisateur'; $string['pluginname'] = 'Rappels d\'évenement'; +$string['privacy:metadata'] = 'Le plugin Rappels d\'évenement ne stocke aucune donnée personnelle.'; $string['reminderdaysahead'] = 'Envoyer avant :'; $string['reminderfrom'] = 'Rappel de '; $string['sendactivityreminders'] = 'Rappels d\'activité :'; diff --git a/lang/ja/local_reminders.php b/lang/ja/local_reminders.php index 109fe1f..227da7f 100644 --- a/lang/ja/local_reminders.php +++ b/lang/ja/local_reminders.php @@ -57,6 +57,7 @@ $string['messageprovider:reminders_site'] = 'サイト全体のイベントへのリマインダー通知です'; $string['messageprovider:reminders_user'] = 'ユーザーのイベントへのリマインダー通知です'; $string['pluginname'] = 'イベントリマインダー'; +$string['privacy:metadata'] = 'イベントリマインダープラグインは個人データを保存しません。'; $string['reminderdaysahead'] = '送信時期:'; $string['reminderfrom'] = 'Reminder from'; $string['sendactivityreminders'] = '活動へのリマインダー:'; diff --git a/version.php b/version.php index e4dc1d1..09d5c6a 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020071700; +$plugin->version = 2020122300; $plugin->requires = 2018051700; // Require moodle 3.5 or higher. $plugin->release = '2.2.2'; $plugin->maturity = MATURITY_RC; From bc8654f7e48aebed6e51bb706ae42751bb014f6e Mon Sep 17 00:00:00 2001 From: isuru89 Date: Sat, 9 Jan 2021 11:37:21 +0530 Subject: [PATCH 2/2] release v2.2.3 --- README.md | 5 ++++- README.txt | 4 +++- version.php | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f401937..7926ea3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Moodle - Local Reminders --- -![Version](https://img.shields.io/badge/version-v2.2.2-blue) +![Version](https://img.shields.io/badge/version-v2.2.3-blue) ![Moodle Version](https://img.shields.io/badge/moodle-%3E%3D%203.5-orange) ![License](https://img.shields.io/badge/license-GPL%20v3-green) [![Build Status](https://travis-ci.org/isuru89/moodle-reminders-for-calendar-events.svg?branch=master)](https://travis-ci.org/isuru89/moodle-reminders-for-calendar-events) @@ -94,6 +94,9 @@ In addition to above, user can control reminders for calendar event changes per ## Changelog +### v2.2.3 + * Added privacy provider for the plugin (#99) + #### v2.2.2 * Fixed plain text message format for notifications in mobile device (#87) * Fixed legacy cron duplication issue (#91) diff --git a/README.txt b/README.txt index cf63475..bdd9310 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Author: Isuru Madushanka Weerarathna (uisurumadushanka89@gmail.com) Blog: https://medium.com/@isuru89 Copyright: 2020 Isuru Madushanka Weerarathna License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later -Version: 2.2.2 +Version: 2.2.3 == Introduction == This plugin will create a set of reminders for Moodle calendar events and will send them automatically @@ -30,6 +30,8 @@ to recall their scheduled event before the actual moment. 6. Now you can change the plug-in specific settings via Site Administration -> Plugins -> Local Plugins -> Reminders. == Change Log == +v2.2.3 + + Added privacy provider (#99) v2.2.2 + Fixed plain text message format for notifications in mobile device (#87) + Fixed legacy cron duplication issue (#91) diff --git a/version.php b/version.php index 09d5c6a..2427881 100644 --- a/version.php +++ b/version.php @@ -25,8 +25,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020122300; +$plugin->version = 2021010800; $plugin->requires = 2018051700; // Require moodle 3.5 or higher. -$plugin->release = '2.2.2'; +$plugin->release = '2.2.3'; $plugin->maturity = MATURITY_RC; $plugin->component = 'local_reminders';