MyShaarli/application
VirtualTam 44acf70681 Refactor login / ban authentication steps
Relates to https://github.com/shaarli/Shaarli/issues/324

Added:
- Add the `LoginManager` class to manage logins and bans

Changed:
- Refactor IP ban management
- Simplify logic
- Avoid using globals, inject dependencies

Fixed:
- Use `ban_duration` instead of `ban_after` when setting a new ban

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:12:09 +01:00
..
api History: fix entries order 2017-05-07 17:11:25 +02:00
config Fix warnings when upgrading from legacy SebSauvage version 2018-01-25 19:55:31 +01:00
exceptions Shaarli's translation 2017-10-22 12:55:03 +02:00
.htaccess .htaccess files: support Apache 2.4+ syntax 2016-11-08 11:38:14 +01:00
ApplicationUtils.php Shaarli's translation 2017-10-22 12:55:03 +02:00
Base64Url.php API: fix JWT signature verification 2017-01-04 16:59:47 +01:00
Cache.php Shaarli's translation 2017-10-22 12:55:03 +02:00
CachedPage.php Cleanup: remove unused variables 2017-01-05 19:51:50 +01:00
FeedBuilder.php Don't URL encode description links if parameter 'redirector.encode_url' is set to false 2017-11-07 20:23:58 +01:00
FileUtils.php Robustness: safer gzinflate/zlib usage 2017-09-28 21:59:36 +02:00
History.php Shaarli's translation 2017-10-22 12:55:03 +02:00
HttpUtils.php Merge pull request #977 from ArthurHoaro/feature/dl-filter 2018-01-23 18:41:38 +01:00
Languages.php Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed 2018-01-31 12:39:17 +01:00
LinkDB.php Merge pull request #962 from ArthurHoaro/feature/perfs2 2017-10-28 12:44:44 +02:00
LinkFilter.php Shaarli's translation 2017-10-22 12:55:03 +02:00
LinkUtils.php Merge pull request #977 from ArthurHoaro/feature/dl-filter 2018-01-23 18:41:38 +01:00
LoginManager.php Refactor login / ban authentication steps 2018-02-05 18:12:09 +01:00
NetscapeBookmarkUtils.php Add language selection in the configure page of the default theme 2017-10-22 13:16:53 +02:00
PageBuilder.php Public/private filter: use two separate buttons 2018-01-24 18:46:31 +01:00
PluginManager.php Shaarli's translation 2017-10-22 12:55:03 +02:00
Router.php Adds a taglist view with edit/delete buttons 2017-05-25 15:25:04 +02:00
SessionManager.php Improve SessionManager constructor and tests 2017-11-08 20:26:03 +01:00
ThemeUtils.php Robustness: safer RainTPL directory handling 2017-09-28 21:57:20 +02:00
TimeZone.php Change timezone data structure send to the templates 2017-04-03 19:24:55 +02:00
Updater.php Add a filter to only display public links 2017-12-16 14:32:56 +01:00
Url.php INTL_IDNA_VARIANT_2003 is deprecated 2018-02-02 19:15:47 +01:00
Utils.php Move session ID check to SessionManager 2017-10-22 19:54:44 +02:00