mirror of
https://github.com/SREd-URV/moodle-auth_ip.git
synced 2026-05-16 21:41:30 +02:00
Compare commits
6 Commits
2021081100
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a52834dd2 | ||
|
|
dc66123341 | ||
|
|
2c2ba642c8 | ||
|
|
0618160ac1 | ||
|
|
b17f083c5a | ||
|
|
44e6261d5b |
@@ -3,6 +3,7 @@ Release notes
|
||||
|
||||
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. (#13) Added privacy metadata file.
|
||||
|
||||
Contributors
|
||||
============
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
[](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-ci.yml) [](https://github.com/SREd-URV/moodle-auth_ip/actions/workflows/moodle-release.yml)
|
||||
|
||||
Authentication plugin restricted by IP
|
||||
===
|
||||
|
||||
|
||||
32
classes/privacy/provider.php
Normal file
32
classes/privacy/provider.php
Normal 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';
|
||||
}
|
||||
}
|
||||
@@ -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_ipvalidips'] = 'IPs vàlides';
|
||||
$string['pluginname'] = 'Autenticació per IP';
|
||||
$string['privacy:metadata'] = 'El plugin Autenticació per IP no emmagatzema cap dada personal.';
|
||||
|
||||
@@ -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_ipvalidips'] = 'Valid IPs';
|
||||
$string['pluginname'] = 'Authentication by IP';
|
||||
$string['privacy:metadata'] = 'The Authentication by IP plugin does not store any personal data.';
|
||||
|
||||
@@ -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_ipvalidips'] = 'IPs válidas';
|
||||
$string['pluginname'] = 'Autenticación por IP';
|
||||
$string['privacy:metadata'] = 'El plugin Autenticación por IP no almacena ningún dato personal.';
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
|
||||
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->component = 'auth_ip'; // Full name of the plugin (used for diagnostics)
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->release = '2021081100';
|
||||
$plugin->release = '2022021700';
|
||||
|
||||
Reference in New Issue
Block a user