]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Rewrite IP ban management 1273/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 9 Feb 2019 15:44:48 +0000 (16:44 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sat, 9 Feb 2019 15:44:48 +0000 (16:44 +0100)
commitb49a04f796b9ad8533c53fee541132a4c2214909
treee7948198422b8edbc3ae080a591963afefba3c35
parent905f8675a728841b03b300d2c7dc909a1c4f7f03
Rewrite IP ban management

This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager.
IPs are now stored in the same format as the datastore, through FileUtils.

Fixes #1032 #587
application/security/BanManager.php [new file with mode: 0644]
application/security/LoginManager.php
doc/md/Server-configuration.md
index.php
tests/security/BanManagerTest.php [new file with mode: 0644]
tests/security/LoginManagerTest.php