Luuk Verhoeven
197e5c3b58
Merge pull request #22 from LdesignMedia/2-fix-ip-validation
...
Fix #2 - Reject IP addresses that Moodle cannot match
5.3.2
2026-10-16 13:18:37 +02:00
Nihaal Shaikh
06a5f9c8c9
Fix #2 - Reject IP addresses that Moodle cannot match
...
The custom IP field and the predefined ranges form accepted invalid
entries such as 2001:db8::1garbage, 192.168.1.0/24garbage or
192.168.1.0/999. address_in_subnet() silently skips those entries, so a
"must not" restriction with a typo let blocked users in.
Validation now only accepts formats address_in_subnet() can match: a
single address, a subnet (mask 0-32 / 0-128) or a range in the last
group with end >= start. IPv6 forms cleanremoteaddr() cannot parse are
rejected as well. JS and PHP share the same rules; PHP also checks each
entry against address_in_subnet() as a safety net.
- Allow spaces after commas in the restriction field
- Support IPv6 ranges, e.g. 2001:db8::1-ff
- Add PHPUnit tests for helper::is_valid_ipaddress_list()
- Bump version to 2026101500 (5.3.2)
2026-10-15 09:04:58 +02:00
Luuk Verhoeven
150067f43d
Update CHANGELOG.md
5.3.1
2026-10-14 10:51:13 +02:00
Luuk Verhoeven
b1f0bc2f09
Update version.php
2026-10-14 10:49:32 +02:00
Nihaal Shaikh
9269cb7f76
Merge pull request #21 from minhduchoang195/#20_fix_failed_unittest
...
#20 Correct db/install.xml so that the unit test passes successfully.
2026-10-14 10:27:27 +02:00
Hoang, Minh Duc
2210e85ca0
#20 Add the required attribute sequence to each field
2026-10-12 12:56:11 +02:00
Luuk Verhoeven
6b24f4a2b9
Merge pull request #19 from LdesignMedia/124cwve5xb7-upgrade-52-53
...
124cwve5xb7 upgrade 52 53
2026-09-23 14:08:29 +02:00
Nihaal Shaikh
00941bbc54
Update #124cwve5xb7 - Bump release to 5.3.0 for Moodle 5.3 support
2026-09-23 11:34:38 +02:00
Nihaal Shaikh
cf5409707f
Update #124cwve5xb7 - Bump release to 5.2.0 for Moodle 5.2 support
2026-09-23 11:01:30 +02:00
Luuk Verhoeven
d730ed97fd
Merge pull request #17 from LdesignMedia/86c7xvd2d-improve-plugin-visibility
...
Update #86c7xvd2d - Polish plugin for improved visibility
2026-03-30 11:25:44 +02:00
Hamza Tamyachte
474f91ccbc
Update #86c7xvd2d - Polish plugin for improved visibility
...
- Remove TODO section from README
- Add SECURITY.md
- Update FUNDING.yml to LdesignMedia
2026-03-21 03:04:04 +01:00
Hamza Tamyachte
d65fd40621
Update #86c89ftg9 - Bump release to 5.1.1 for plugin availability_ipaddress
5.1.1
2026-03-18 10:21:56 +01:00
Hamza Tamyachte
4632008dfb
Update CHANGELOG.md
2026-03-18 10:19:50 +01:00
Hamza Tamyachte
c91646df81
Merge pull request #16 from LdesignMedia/86c89ftg9-fix-php-version-compat
...
Fix #86c89ftg9 - Remove PHP 7.4 typed properties for PHP 7.3 compatibility
2026-03-18 10:17:06 +01:00
Hamza Tamyachte
d2c231e657
Merge branch 'main' into 86c89ftg9-fix-php-version-compat
2026-03-18 10:16:46 +01:00
Hamza Tamyachte
700820480d
Update #86c89ftg9 - Bump version to 2026031800 for plugin availability_ipaddress
2026-03-18 10:13:19 +01:00
Nihaal Shaikh
e91befdf10
Merge pull request #15 from LdesignMedia/86c8jzuvd-upgrade-moodle51
...
Update #86c8jzuvd - upgraded plugin to support Moodle 5.1, moved chan…
5.1.0
2026-03-16 13:13:15 +01:00
Nihaal Shaikh
3f5f4ee6cb
Update #86c8jzuvd - Moodle code style followed
2026-03-16 13:09:05 +01:00
Hamza Tamyachte
cccebb6c15
Update #86c89ftg9 - Reorganise changelog and update PHP compatibility docs
2026-03-15 22:35:39 +01:00
Hamza Tamyachte
af275d1699
Fix #86c89ftg9 - Remove PHP 7.4 typed properties for PHP 7.3 compatibility
...
Remove typed property declarations to prevent fatal parse errors on
Moodle 4.0.x servers running PHP 7.3. Lower environment.xml PHP
requirement from 7.4 to 7.3.
Fixes #13
2026-03-15 22:22:16 +01:00
Nihaal Shaikh
5dce3ed488
Update #86c8jzuvd - upgraded plugin to support Moodle 5.1, moved changelog to separate file
2026-03-03 13:26:17 +01:00
Vincent Cornelis
e74ed2ae69
Merge pull request #12 from LdesignMedia/86c46bd0u-predefined-ranges
...
Update #86c46bd0u - Add support for predefined IP addresses/ranges
5.0.2
2025-10-09 10:18:07 +02:00
Vincent Cornelis
15ba2b295b
Update #86c46bd0u - Add language string depending on _not_ setting
2025-09-19 13:44:36 +02:00
Vincent Cornelis
fe3a5b2302
Update #86c46bd0u - Add support for predefined IP addresses/ranges
2025-08-04 17:38:30 +02:00
Luuk Verhoeven
26669e73f1
Merge pull request #11 from LdesignMedia/86c3hkgy9-update-moodle-50
...
Update #86c3hkgy9 - Update Moodle Version 50
5.0.0
2025-05-27 14:43:41 +02:00
Jan Choroś
e7e5cbe91d
Update #86c3hkgy9 - Update Moodle Version 50
2025-05-22 15:35:21 +02:00
Luuk Verhoeven
d56173f6b8
Update version.php
4.5.1
2025-04-04 10:21:42 +02:00
Luuk Verhoeven
c9b5e6cb7d
Merge pull request #10 from LdesignMedia/86c2xmcmw-upgrade-45
...
86c2xmcmw upgrade 45
2025-04-04 10:17:52 +02:00
Luuk Verhoeven
fcfa4eb773
Delete .github/workflows/AppScan.yml
2025-04-04 10:17:17 +02:00
Nihaal Shaikh
b98a63e1f4
Update #86c2xmcmw - readme and version file updated
2025-04-04 09:25:26 +02:00
Nihaal Shaikh
a836731b24
Update #86c2xmcmw - upgraded plugin to M45
2025-04-04 09:19:36 +02:00
Luuk Verhoeven
c2f5e7e22c
Update language file for phpcs
2024-07-20 22:54:06 +02:00
Luuk Verhoeven
761d643479
Update version
2024-07-20 22:22:05 +02:00
Luuk Verhoeven
5ef0c811c0
Update remove sonar cloud
2024-07-20 22:14:31 +02:00
Luuk Verhoeven
6633439651
Update RegExp to not exceed 132 characters
2024-07-20 22:12:54 +02:00
Luuk Verhoeven
4b4fced58b
Add auto release
2024-07-20 15:08:33 +02:00
Luuk Verhoeven
8ae54193d2
Update code and environment checks
2024-07-20 15:01:12 +02:00
Luuk Verhoeven
26bbc1cbdb
Add CI workflows
2023-09-26 13:41:32 +02:00
Luuk Verhoeven
5d615ddb24
Add CI workflows
2023-09-26 13:31:05 +02:00
Luuk Verhoeven
5e2566fbba
Add CI workflows
2023-09-26 13:25:29 +02:00
Luuk Verhoeven
96c93c4096
Add CI workflows
2023-09-26 13:24:54 +02:00
Luuk Verhoeven
d302aa626a
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# .github/workflows/ci.yml
2023-09-26 13:23:32 +02:00
Luuk Verhoeven
787dba81f0
Add CI workflows
2023-09-26 13:23:17 +02:00
Luuk Verhoeven
f24ef270a5
Update version.php
3.11.2
2022-06-04 11:08:38 +02:00
Luuk Verhoeven
0e7ec99338
Merge pull request #7 from MFreakNL/#2am8vvp_test_moodle4
...
Moodle 4.0 release
2022-05-30 23:31:11 +02:00
Hamza Tamyachte
3b489f3406
Add Moodle 4.0 Support
2022-05-30 14:36:35 +02:00
Hamza Tamyachte
84ea4a9165
Add Moodle 4.0 Support
2022-05-30 11:38:27 +02:00
Vincent Cornelis
9d6f7e51b9
Add changelog
2022-02-14 15:24:32 +01:00
Vincent Cornelis
855f8fecaa
Update condition.php
...
indentation fix
2022-02-11 17:48:54 +01:00
Vincent Cornelis
30459042d7
Update version.php
...
Bumped version number
3.11.1
2022-02-11 17:42:18 +01:00