diff --git a/CHANGELOG.md b/CHANGELOG.md index 856c82d6..a7eadf7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # OpenId Connect Generic Changelog +**3.10.0** + +- Chore: @timnolte - Dependency updates. +- Fix: @drzraf - Prevents running the auth url filter twice. +- Fix: @timnolte - Updates the log cleanup handling to properly retain the configured number of log entries. +- Fix: @timnolte - Updates the log display output to reflect the log retention policy. +- Chore: @timnolte - Adds Unit Testing & New Local Development Environment. +- Feature: @timnolte - Updates logging to allow for tracking processing time. +- Feature: @menno-ll - Adds a remember me feature via a new filter. +- Improvement: @menno-ll - Updates WP Cookie Expiration to Same as Session Length. + **3.9.1** - Improvement: @timnolte - Refactors Composer setup and GitHub Actions. diff --git a/README.md b/README.md index d201ac65..9ee73b2f 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ **Donate link:** http://www.daggerhart.com/ **Tags:** security, login, oauth2, openidconnect, apps, authentication, autologin, sso **Requires at least:** 5.0 -**Tested up to:** 6.2.2 -**Stable tag:** 3.9.1 +**Tested up to:** 6.4.3 +**Stable tag:** 3.10.0 **Requires PHP:** 7.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -51,6 +51,17 @@ On the settings page for this plugin (Dashboard > Settings > OpenID Connect Gene ## Changelog ## +### 3.10.0 ### + +* Chore: @timnolte - Dependency updates. +* Fix: @drzraf - Prevents running the auth url filter twice. +* Fix: @timnolte - Updates the log cleanup handling to properly retain the configured number of log entries. +* Fix: @timnolte - Updates the log display output to reflect the log retention policy. +* Chore: @timnolte - Adds Unit Testing & New Local Development Environment. +* Feature: @timnolte - Updates logging to allow for tracking processing time. +* Feature: @menno-ll - Adds a remember me feature via a new filter. +* Improvement: @menno-ll - Updates WP Cookie Expiration to Same as Session Length. + ### 3.9.1 ### * Improvement: @timnolte - Refactors Composer setup and GitHub Actions. diff --git a/languages/openid-connect-generic.pot b/languages/openid-connect-generic.pot index d37e9a71..990d2c92 100644 --- a/languages/openid-connect-generic.pot +++ b/languages/openid-connect-generic.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2023 daggerhart +# Copyright (C) 2024 daggerhart # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: OpenID Connect Generic 3.9.1\n" +"Project-Id-Version: OpenID Connect Generic 3.10.0\n" "Report-Msgid-Bugs-To: " "https://github.com/daggerhart/openid-connect-generic/issues\n" -"POT-Creation-Date: 2023-10-28 04:07:10+00:00\n" +"POT-Creation-Date: 2024-04-09 01:24:09+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: en\n" @@ -25,45 +25,45 @@ msgstr "" "X-Textdomain-Support: yes\n" "X-Generator: grunt-wp-i18n 1.0.3\n" -#: includes/openid-connect-generic-client-wrapper.php:288 +#: includes/openid-connect-generic-client-wrapper.php:293 msgid "Session expired. Please login again." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:535 +#: includes/openid-connect-generic-client-wrapper.php:540 msgid "User identity is not linked to an existing WordPress user." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:589 +#: includes/openid-connect-generic-client-wrapper.php:598 msgid "Invalid user." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:775 +#: includes/openid-connect-generic-client-wrapper.php:816 msgid "No appropriate username found." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:785 +#: includes/openid-connect-generic-client-wrapper.php:826 #. translators: %1$s is the santitized version of the username from the IDP. msgid "Username %1$s could not be sanitized." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:807 +#: includes/openid-connect-generic-client-wrapper.php:848 #. translators: %1$s is the configured User Claim nickname key. msgid "No nickname found in user claim using key: %1$s." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:904 +#: includes/openid-connect-generic-client-wrapper.php:945 msgid "User claim incomplete." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:1006 +#: includes/openid-connect-generic-client-wrapper.php:1048 msgid "Bad user claim result." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:1070 +#: includes/openid-connect-generic-client-wrapper.php:1114 msgid "Can not authorize." msgstr "" -#: includes/openid-connect-generic-client-wrapper.php:1099 +#: includes/openid-connect-generic-client-wrapper.php:1143 msgid "Failed user creation." msgstr "" @@ -79,67 +79,67 @@ msgstr "" msgid "Missing authentication code." msgstr "" -#: includes/openid-connect-generic-client.php:238 +#: includes/openid-connect-generic-client.php:240 msgid "Request for authentication token failed." msgstr "" -#: includes/openid-connect-generic-client.php:269 +#: includes/openid-connect-generic-client.php:273 msgid "Refresh token failed." msgstr "" -#: includes/openid-connect-generic-client.php:284 +#: includes/openid-connect-generic-client.php:288 msgid "Missing token body." msgstr "" -#: includes/openid-connect-generic-client.php:292 +#: includes/openid-connect-generic-client.php:296 msgid "Invalid token." msgstr "" -#: includes/openid-connect-generic-client.php:343 +#: includes/openid-connect-generic-client.php:349 msgid "Request for userinfo failed." msgstr "" -#: includes/openid-connect-generic-client.php:403 +#: includes/openid-connect-generic-client.php:409 msgid "Missing authentication state." msgstr "" -#: includes/openid-connect-generic-client.php:440 +#: includes/openid-connect-generic-client.php:446 msgid "No identity token." msgstr "" -#: includes/openid-connect-generic-client.php:447 +#: includes/openid-connect-generic-client.php:453 msgid "Missing identity token." msgstr "" -#: includes/openid-connect-generic-client.php:474 +#: includes/openid-connect-generic-client.php:480 msgid "Bad ID token claim." msgstr "" -#: includes/openid-connect-generic-client.php:479 +#: includes/openid-connect-generic-client.php:485 msgid "No subject identity." msgstr "" -#: includes/openid-connect-generic-client.php:485 +#: includes/openid-connect-generic-client.php:491 msgid "No matching acr values." msgstr "" -#: includes/openid-connect-generic-client.php:505 +#: includes/openid-connect-generic-client.php:511 msgid "Bad user claim." msgstr "" -#: includes/openid-connect-generic-client.php:525 +#: includes/openid-connect-generic-client.php:531 msgid "Invalid user claim." msgstr "" -#: includes/openid-connect-generic-client.php:530 +#: includes/openid-connect-generic-client.php:536 msgid "Error from the IDP." msgstr "" -#: includes/openid-connect-generic-client.php:539 +#: includes/openid-connect-generic-client.php:545 msgid "Incorrect user claim." msgstr "" -#: includes/openid-connect-generic-client.php:546 +#: includes/openid-connect-generic-client.php:552 msgid "Unauthorized access." msgstr "" @@ -152,22 +152,34 @@ msgstr "" msgid "Login with OpenID Connect" msgstr "" -#: includes/openid-connect-generic-option-logger.php:264 -msgid "Type" +#: includes/openid-connect-generic-option-logger.php:228 +msgid "Details" +msgstr "" + +#: includes/openid-connect-generic-option-logger.php:229 +msgid "Data" msgstr "" -#: includes/openid-connect-generic-option-logger.php:268 +#: includes/openid-connect-generic-option-logger.php:236 msgid "Date" msgstr "" -#: includes/openid-connect-generic-option-logger.php:272 +#: includes/openid-connect-generic-option-logger.php:240 +msgid "Type" +msgstr "" + +#: includes/openid-connect-generic-option-logger.php:244 msgid "User" msgstr "" -#: includes/openid-connect-generic-option-logger.php:276 +#: includes/openid-connect-generic-option-logger.php:248 msgid "URI " msgstr "" +#: includes/openid-connect-generic-option-logger.php:252 +msgid "Response Time (sec)" +msgstr "" + #: includes/openid-connect-generic-settings-page.php:108 msgid "OpenID Connect - Generic Client" msgstr "" @@ -492,7 +504,7 @@ msgstr "" msgid "Log information about login attempts through OpenID Connect Generic." msgstr "" -#: openid-connect-generic.php:217 +#: openid-connect-generic.php:242 msgid "Private site" msgstr "" diff --git a/openid-connect-generic.php b/openid-connect-generic.php index ba8a551c..bcf67390 100644 --- a/openid-connect-generic.php +++ b/openid-connect-generic.php @@ -16,7 +16,7 @@ * Plugin Name: OpenID Connect Generic * Plugin URI: https://github.com/daggerhart/openid-connect-generic * Description: Connect to an OpenID Connect identity provider using Authorization Code Flow. - * Version: 3.9.1 + * Version: 3.10.0 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: daggerhart @@ -91,7 +91,7 @@ class OpenID_Connect_Generic { * * @var string */ - const VERSION = '3.9.1'; + const VERSION = '3.10.0'; /** * Plugin settings. diff --git a/package-lock.json b/package-lock.json index 1d0bf38f..0087a10c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openid-connect-generic", - "version": "3.9.1", + "version": "3.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openid-connect-generic", - "version": "3.9.1", + "version": "3.10.0", "hasInstallScript": true, "license": "GPL-2.0-only", "dependencies": { diff --git a/package.json b/package.json index 420a575e..5a1901d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openid-connect-generic", - "version": "3.9.1", + "version": "3.10.0", "description": "OpenID Connect generic WordPress plugin.", "main": "Gruntfile.js", "repository": { diff --git a/readme.txt b/readme.txt index 805c5320..f1941df6 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: daggerhart, tnolte Donate link: http://www.daggerhart.com/ Tags: security, login, oauth2, openidconnect, apps, authentication, autologin, sso Requires at least: 5.0 -Tested up to: 6.2.2 -Stable tag: 3.9.1 +Tested up to: 6.4.3 +Stable tag: 3.10.0 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -51,6 +51,17 @@ On the settings page for this plugin (Dashboard > Settings > OpenID Connect Gene == Changelog == += 3.10.0 = + +* Chore: @timnolte - Dependency updates. +* Fix: @drzraf - Prevents running the auth url filter twice. +* Fix: @timnolte - Updates the log cleanup handling to properly retain the configured number of log entries. +* Fix: @timnolte - Updates the log display output to reflect the log retention policy. +* Chore: @timnolte - Adds Unit Testing & New Local Development Environment. +* Feature: @timnolte - Updates logging to allow for tracking processing time. +* Feature: @menno-ll - Adds a remember me feature via a new filter. +* Improvement: @menno-ll - Updates WP Cookie Expiration to Same as Session Length. + = 3.9.1 = * Improvement: @timnolte - Refactors Composer setup and GitHub Actions.