From 8f02e1d64d159e77df65cf40744f1ec07f454dd0 Mon Sep 17 00:00:00 2001 From: Julien Loizelet Date: Wed, 21 Dec 2022 14:12:53 +0900 Subject: [PATCH] feat(*): Prepare release 1.11.0 --- CHANGELOG.md | 8 ++++++++ crowdsec.php | 4 ++-- inc/Constants.php | 2 +- readme.txt | 6 +++++- tests/e2e-ddev/utils/helpers.js | 3 +++ 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 258881c..8df7c78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.11.0](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v1.11.0) - 2022-12-22 +[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v1.10.0...v1.11.0) + +### Added +- Add LAPI request timeout setting (default to 120 seconds) +--- + ## [1.10.0](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v1.10.0) - 2022-12-01 [_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v1.9.0...v1.10.0) ### Changed diff --git a/crowdsec.php b/crowdsec.php index 0098403..3791959 100644 --- a/crowdsec.php +++ b/crowdsec.php @@ -4,7 +4,7 @@ * Plugin URI: https://github.com/crowdsecurity/cs-wordpress-bouncer * Description: Safer Together. Protect your WordPress application with CrowdSec. * Tags: crowdsec-bouncer, wordpress, security, firewall, captcha, ip-scanner, ip-blocker, ip-blocking, ip-address, ip-database, ip-range-check, crowdsec, ban-hosts, ban-management, anti-hacking, hacker-protection, captcha-image, captcha-generator, captcha-generation, captcha-service - * Version: 1.10.0 + * Version: 1.11.0 * Author: CrowdSec * Author URI: https://www.crowdsec.net/ * Github: https://github.com/crowdsecurity/cs-wordpress-blocker @@ -13,7 +13,7 @@ * Requires PHP: 7.2 * Requires at least: 4.9 * Tested up to: 6.1 - * Stable tag: 1.10.0 + * Stable tag: 1.11.0 * Text Domain: crowdsec-wp * First release: 2021. */ diff --git a/inc/Constants.php b/inc/Constants.php index d8e8c57..c489783 100644 --- a/inc/Constants.php +++ b/inc/Constants.php @@ -22,7 +22,7 @@ class Constants extends LibConstants public const CROWDSEC_DEBUG_LOG_PATH = __DIR__ . '/../logs/debug.log'; public const CROWDSEC_CACHE_PATH = __DIR__ . '/../.cache'; public const CROWDSEC_CONFIG_PATH = __DIR__ . '/standalone-settings.php'; - public const CROWDSEC_BOUNCER_USER_AGENT = 'WordPress CrowdSec Bouncer/v1.10.0'; + public const CROWDSEC_BOUNCER_USER_AGENT = 'WordPress CrowdSec Bouncer/v1.11.0'; public const CROWDSEC_BOUNCER_GEOLOCATION_DIR = __DIR__ . '/../geolocation'; public const CROWDSEC_BOUNCER_TLS_DIR = __DIR__ . '/../tls'; diff --git a/readme.txt b/readme.txt index ded3e97..e8135e1 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://crowdsec.net/ Tags: crowdsec-bouncer, wordpress, security, firewall, captcha, ip-scanner, ip-blocker, ip-blocking, ip-address, ip-database, ip-range-check, crowdsec, ban-hosts, ban-management, anti-hacking, hacker-protection, captcha-image, captcha-generator, captcha-generation, captcha-service Requires at least: 4.9 Tested up to: 6.1 -Stable tag: 1.10.0 +Stable tag: 1.11.0 Requires PHP: 7.2 License: MIT License URI: https://opensource.org/licenses/MIT @@ -44,6 +44,10 @@ This WordPress plugin is a "bouncer", which purpose is to block detected attacks == Changelog == += 1.11 (2022-12-22) = + +- Add LAPI request timeout setting + = 1.10 (2022-12-01) = - Modify ban and captcha walls templating for W3C validity diff --git a/tests/e2e-ddev/utils/helpers.js b/tests/e2e-ddev/utils/helpers.js index f187927..47bbdeb 100644 --- a/tests/e2e-ddev/utils/helpers.js +++ b/tests/e2e-ddev/utils/helpers.js @@ -53,8 +53,11 @@ const onAdminGoToThemePage = async () => { }; const onLoginPageLoginAsAdmin = async () => { + await wait(2000); await page.fill("#user_login", ADMIN_LOGIN); + await wait(2000); await page.fill("#user_pass", ADMIN_PASSWORD); + await wait(2000); await page.waitForSelector("#wp-submit"); await page.click("#wp-submit"); };