Commit Graph

19 Commits

Author SHA1 Message Date
Jordi Pujol-Ahulló
28bb6d345d Version bumping
Enhancement provided in the way of getting the client IP as Moodle does, using the lib/moodlelib.php::getremoteaddr() function.
2017-02-08 20:11:23 +01:00
Jordi Pujol-Ahulló
ece57fc964 Merge pull request #8 from CaxtonTaylor/patch-1
Modify auth.php IP evaluation to use lib/moodlelib.php:getremoteaddr() function.
2017-02-08 20:08:23 +01:00
CaxtonTaylor
a56f9eb234 Modify auth.php IP eval
Currently the plugin only gets the users IP form REMOTE_ADDR wich is not an entirely reliable source. a much better source would be the getremoteaddr() function since this is the one moodle uses in the reports. This also prevents issues wen moodle is implemented behind a load balancer. I tested the change in my server and it works like  a charm
2017-02-07 17:23:46 -05:00
Jordi Pujol-Ahulló
c5b0f4b784 Bump version with latest changes from CIDR. 2016-02-18 12:22:27 +01:00
Jordi Pujol-Ahulló
27ff9ab2db Merge pull request #4 from robertboloc/feature-cidr-support
Added CIDR support
2015-07-24 09:58:07 +02:00
Robert Boloc
0cb18b4573 Added unit tests 2015-07-23 20:50:17 +01:00
Robert Boloc
715a8f96b2 Added support for CIDRs 2015-07-23 20:50:06 +01:00
Jordi Pujol-Ahullo
86d14bf068 moodle-auth_ip - simplified code for portability through Moodle versions. Extended availability from Moodle 2.4 to Moodle 2.7. 2014-07-25 22:46:24 +02:00
jpahullo
e9e6b9cb3b Merge pull request #3 from robertboloc/patch-1
Filter $_SERVER input
2014-03-27 17:31:02 +01:00
Robert Boloc
f15b1c6ce5 Filter $_SERVER input
Added filter for the $_SERVER input, to improve security.
2014-03-22 10:07:43 +01:00
jpahullo
1db6929429 Merge pull request #1 from jpahullo/MOODLE_25_STABLE
Moodle 25 stable
2013-10-17 09:22:02 -07:00
Jordi Pujol Ahulló (32.1)
8fdb065ffd moodle-auth_ip - added maturity and release to version.php as suggested by Moodle.org. 2013-10-17 19:22:03 +02:00
Jordi Pujol Ahulló (32.1)
b8af563ef6 moodle-auth_ip - bumped required Moodle version 2013-10-17 19:06:53 +02:00
Jordi Pujol Ahulló (32.1)
87c83e1712 moodle-auth_ip: initial commit. 2013-10-17 19:00:08 +02:00
jpahullo
0faf2403c3 Merge pull request #2 from jpahullo/MOODLE_24_STABLE
moodle-auth_ip - added maturity and release to version.php as suggested by Moodle.org.
2013-10-17 09:21:19 -07:00
Jordi Pujol Ahulló (32.1)
4e3ef92e8b moodle-auth_ip - added maturity and release to version.php as suggested by Moodle.org. 2013-10-17 19:21:25 +02:00
Jordi Pujol Ahulló (32.1)
a844533b53 moodle-auth_ip - added maturity and release to version.php as suggested by Moodle.org. 2013-10-17 19:20:27 +02:00
Jordi Pujol Ahulló (32.1)
0eb1ba4963 moodle-auth_ip - bumped required Moodle version 2013-10-17 19:08:09 +02:00
jpahullo
677277c8c4 Initial commit 2013-10-17 07:44:39 -07:00