mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-05-17 05:48:41 +02:00
8eb790f800827bf11e490b4bf55ad59ea605d0d6
Make sure validate ipv4 address is correct, dont allow additional junk.
Moodle - availability ip address plugin
Restrict access to any activity by ip-address. Most activities don't support this feature.
Author
- Author: Luuk Verhoeven, MFreak.nl
- Min. required: Moodle 3.2.x
- Supports PHP: 7.0 | 7.1
List of features
- Supports comma separate list of ip-addresses
- Subnet support, eg 192.168.1.0/24
- Inline ip-address validation
- Turning on/off with eye icon, without lossing the input value.
Installation
- Copy this plugin to the
availability\condition\ipaddressfolder on the server - Login as administrator
- Go to Site Administrator > Notification
- Install the plugin
TODO
- Behat tests ip validation
Security
If you discover any security related issues, please email luuk@MFreak.nl instead of using the issue tracker.
License
The GNU GENERAL PUBLIC LICENSE. Please see License File for more information.
Contributing
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.
Languages
PHP
100%
