Skip to content

Commit

Permalink
Merge pull request #101 from isuru89/release_2.0
Browse files Browse the repository at this point in the history
Release v2.2.3
  • Loading branch information
isuru89 authored Jan 9, 2021
2 parents fe82215 + bc8654f commit 7f22751
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Author: Isuru Madushanka Weerarathna ([email protected])
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
Expand All @@ -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)
Expand Down
46 changes: 46 additions & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Plugin privacy provider
*
* @package local_reminders
* @author Scott Verbeek <[email protected]>
* @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';
}
}
1 change: 1 addition & 0 deletions lang/de/local_reminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
$string['messageprovider:reminders_site'] = 'Benachrichtigungen f&uuml;r Website-weite Ereignisse';
$string['messageprovider:reminders_user'] = 'Benachrichtigungen f&uuml;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&auml;t:';
Expand Down
1 change: 1 addition & 0 deletions lang/en/local_reminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:';
Expand Down
1 change: 1 addition & 0 deletions lang/fr/local_reminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
$string['messageprovider:reminders_site'] = 'Notifications de rappels d\'&eacute;v&eacute;nement du Site';
$string['messageprovider:reminders_user'] = 'Notifications de rappels d\'&eacute;v&eacute;nement Utilisateur';
$string['pluginname'] = 'Rappels d\'&eacute;venement';
$string['privacy:metadata'] = 'Le plugin Rappels d\'&eacute;venement ne stocke aucune donnée personnelle.';
$string['reminderdaysahead'] = 'Envoyer avant :';
$string['reminderfrom'] = 'Rappel de ';
$string['sendactivityreminders'] = 'Rappels d\'activit&eacute; :';
Expand Down
1 change: 1 addition & 0 deletions lang/ja/local_reminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = '活動へのリマインダー:';
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2020071700;
$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';

0 comments on commit 7f22751

Please sign in to comment.