5 Commits

Author SHA1 Message Date
Daniel Tomé Fernández
dc66123341 #13 - Added privacy metadata translations 2022-02-17 09:13:29 +01:00
Jordi Pujol-Ahulló
2c2ba642c8 Merge pull request #14 from SREd-URV/13-added-privacy-provider
13 - Added privacy provider file
2022-02-16 21:09:33 +01:00
Daniel Tomé Fernández
0618160ac1 13 - Added privacy provider file 2022-02-16 16:52:30 +01:00
Jordi Pujol-Ahulló
b17f083c5a add releasing badge 2021-08-13 14:20:48 +02:00
Jordi Pujol-Ahulló
44e6261d5b Add badge 2021-08-13 14:19:14 +02:00
7 changed files with 40 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ Release notes
1. (#12) Minimum Moodle version supported is 3.3. 1. (#12) Minimum Moodle version supported is 3.3.
1. (#12) Use Github Actions to pass tests and update release on Moodle Plugins directory. 1. (#12) Use Github Actions to pass tests and update release on Moodle Plugins directory.
1. (#13) Added privacy metadata file.
Contributors Contributors
============ ============

View File

@@ -1,3 +1,5 @@
[![Moodle Plugin CI](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-ci.yml/badge.svg)](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-ci.yml) [![Releasing in the Plugins directory](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-release.yml/badge.svg)](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-release.yml)
Authentication plugin restricted by IP Authentication plugin restricted by IP
=== ===

View File

@@ -0,0 +1,32 @@
<?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/>.
namespace auth_ip\privacy;
defined('MOODLE_INTERNAL') || die();
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';
}
}

View File

@@ -31,3 +31,4 @@ $string['auth_ipmailsubject'] = 'Plugin autenticació restringit per IP: IPs can
$string['auth_ipmailtext'] = 'S\'han actualitzat les IPs acceptades pel plugin d\'autenticació restringit per IP'; $string['auth_ipmailtext'] = 'S\'han actualitzat les IPs acceptades pel plugin d\'autenticació restringit per IP';
$string['auth_ipvalidips'] = 'IPs vàlides'; $string['auth_ipvalidips'] = 'IPs vàlides';
$string['pluginname'] = 'Autenticació per IP'; $string['pluginname'] = 'Autenticació per IP';
$string['privacy:metadata'] = 'El plugin Autenticació per IP no emmagatzema cap dada personal.';

View File

@@ -31,3 +31,4 @@ $string['auth_ipmailsubject'] = 'IPs changed on authentication plugin by IP';
$string['auth_ipmailtext'] = 'Accepted IPs for the authentication plugin by IP have been updated.'; $string['auth_ipmailtext'] = 'Accepted IPs for the authentication plugin by IP have been updated.';
$string['auth_ipvalidips'] = 'Valid IPs'; $string['auth_ipvalidips'] = 'Valid IPs';
$string['pluginname'] = 'Authentication by IP'; $string['pluginname'] = 'Authentication by IP';
$string['privacy:metadata'] = 'The Authentication by IP plugin does not store any personal data.';

View File

@@ -31,3 +31,4 @@ $string['auth_ipmailsubject'] = 'Plugin de autenticación restringido por IP: IP
$string['auth_ipmailtext'] = 'Se han actualizado las IPs aceptadas por el plugin de autenticación restringido por IP'; $string['auth_ipmailtext'] = 'Se han actualizado las IPs aceptadas por el plugin de autenticación restringido por IP';
$string['auth_ipvalidips'] = 'IPs válidas'; $string['auth_ipvalidips'] = 'IPs válidas';
$string['pluginname'] = 'Autenticación por IP'; $string['pluginname'] = 'Autenticación por IP';
$string['privacy:metadata'] = 'El plugin Autenticación por IP no almacena ningún dato personal.';

View File

@@ -27,8 +27,8 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$plugin->version = 2021081100; // The current plugin version (Date: YYYYMMDDXX) $plugin->version = 2022021700; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2017051500; // Requires this Moodle version (3.3) for changes in settings.php. $plugin->requires = 2017051500; // Requires this Moodle version (3.3) for changes in settings.php.
$plugin->component = 'auth_ip'; // Full name of the plugin (used for diagnostics) $plugin->component = 'auth_ip'; // Full name of the plugin (used for diagnostics)
$plugin->maturity = MATURITY_STABLE; $plugin->maturity = MATURITY_STABLE;
$plugin->release = '2021081100'; $plugin->release = '2022021700';