Skip to content

Commit

Permalink
Prepares New Fix & Feature Release
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
timnolte committed Apr 9, 2024
1 parent e0c8229 commit f80ca4f
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 45 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
84 changes: 48 additions & 36 deletions languages/openid-connect-generic.pot
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: en\n"
Expand All @@ -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 ""

Expand All @@ -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 ""

Expand All @@ -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&nbsp;Time&nbsp;(sec)"
msgstr ""

#: includes/openid-connect-generic-settings-page.php:108
msgid "OpenID Connect - Generic Client"
msgstr ""
Expand Down Expand Up @@ -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 ""

Expand Down
4 changes: 2 additions & 2 deletions openid-connect-generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -91,7 +91,7 @@ class OpenID_Connect_Generic {
*
* @var string
*/
const VERSION = '3.9.1';
const VERSION = '3.10.0';

/**
* Plugin settings.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
15 changes: 13 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit f80ca4f

Please sign in to comment.