From 359f3c533111026f9d4ebbd3508d1b3da9caaaeb Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 24 Jun 2014 15:55:29 +0200 Subject: [PATCH] Added user authentication failure log --- com.woltlab.wcf/acpMenu.xml | 7 + com.woltlab.wcf/option.xml | 48 +++++- com.woltlab.wcf/templates/login.tpl | 2 + .../install/files/acp/templates/captcha.tpl | 3 + .../files/acp/templates/captchaQuestion.tpl | 43 ++++++ .../install/files/acp/templates/login.tpl | 2 + .../install/files/acp/templates/recaptcha.tpl | 144 +++++++++++------- .../userAuthenticationFailureList.tpl | 75 +++++++++ .../files/lib/acp/form/LoginForm.class.php | 68 ++++++++- ...serAuthenticationFailureListPage.class.php | 50 ++++++ .../UserAuthenticationFailure.class.php | 68 +++++++++ .../UserAuthenticationFailureAction.class.php | 16 ++ .../UserAuthenticationFailureEditor.class.php | 20 +++ .../UserAuthenticationFailureList.class.php | 15 ++ .../cronjob/DailyCleanUpCronjob.class.php | 10 ++ wcfsetup/install/lang/de.xml | 20 +++ wcfsetup/install/lang/en.xml | 20 +++ wcfsetup/setup/db/install.sql | 15 ++ 18 files changed, 569 insertions(+), 57 deletions(-) create mode 100644 wcfsetup/install/files/acp/templates/captcha.tpl create mode 100644 wcfsetup/install/files/acp/templates/captchaQuestion.tpl create mode 100644 wcfsetup/install/files/acp/templates/userAuthenticationFailureList.tpl create mode 100644 wcfsetup/install/files/lib/acp/page/UserAuthenticationFailureListPage.class.php create mode 100644 wcfsetup/install/files/lib/data/user/authentication/failure/UserAuthenticationFailure.class.php create mode 100644 wcfsetup/install/files/lib/data/user/authentication/failure/UserAuthenticationFailureAction.class.php create mode 100644 wcfsetup/install/files/lib/data/user/authentication/failure/UserAuthenticationFailureEditor.class.php create mode 100644 wcfsetup/install/files/lib/data/user/authentication/failure/UserAuthenticationFailureList.class.php diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 29df7909ae..42f72dfc57 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -135,6 +135,13 @@ wcf.acp.menu.link.log admin.system.canViewLog + + + + wcf.acp.menu.link.log + admin.system.canViewLog + enable_user_authentication_failure + diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index d83bc75e53..28ce100711 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -141,6 +141,9 @@ security.general + + security.general + security @@ -481,7 +484,7 @@ imagick:wcf.acp.option.image_adapter_type.imagick]]> - + - + + + + + + + + + +