Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.9.1 Bug Fix and Refactoring Release #431

Merged
merged 111 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
07fd73c
Update openid-connect-generic-client-wrapper.php
jkouris Sep 10, 2020
eb4ab16
Implement singleton pattern for OpenID_Connect_Generic class
RobjS Jun 3, 2020
91e1574
Add functions.php file for global functions
RobjS Sep 22, 2020
21840a7
Make client_wrapper a public property
RobjS Sep 22, 2020
aa8040e
Support aggregated claims (#254)
schanzen Jan 5, 2021
6a51950
use tabs instead of spaces
schanzen Jan 5, 2021
2e8c8d1
added define config with OIDC_LOGIN_TYPE and OIDC_CLIENT_SCOPE
Jan 8, 2021
0d65108
More define-driven settings
Jan 12, 2021
ae92607
Merge branch 'dev' into feature/defines-config
timnolte Jan 12, 2021
6ac195f
Merge branch 'dev' into aggregated_claims
timnolte Jan 12, 2021
6ddf5f6
Merge branch 'dev' into feature/defines-config
timnolte Jan 13, 2021
b30f392
Merge branch 'dev' into origin/feature/session-expired-action
timnolte Jan 13, 2021
e63a158
fix linting
schanzen Jan 13, 2021
73665b9
Merge branch 'aggregated_claims' of github.com:schanzen/openid-connec…
schanzen Jan 13, 2021
36de2d2
fix code analysis errors
schanzen Jan 13, 2021
7d1565f
Merge branch 'dev' into aggregated_claims
schanzen Jan 13, 2021
ed62587
fix more linting, add more exception handling
schanzen Jan 13, 2021
590af03
Merge branch 'aggregated_claims' of github.com:schanzen/openid-connec…
schanzen Jan 13, 2021
09d3350
Added the OIDC_CREATE_IF_DOES_NOT_EXIST define
Jan 12, 2021
65e4420
Added documentation and phpstan defines
Jan 13, 2021
313d35d
Merge branch
Jan 13, 2021
df19bd1
Merge branch 'dev' into feature/implement-singleton-pattern
RobjS Jan 14, 2021
132977f
Added data in environment_settings
Jan 14, 2021
581b279
Merge branch 'dev' into feature/defines-config
timnolte Jan 20, 2021
e5adfff
Merge branch 'dev' into aggregated_claims
timnolte Jan 20, 2021
9dde05b
Merge pull request #304 from oidc-wp/main
timnolte Apr 16, 2021
7555377
Fixes QS not being added to the redirect URL
slykar Sep 7, 2021
63646ab
fix #178
rkcreation Sep 9, 2021
1a5fa9b
add a basic method to refresh user claim outside of this plugin
rkcreation Sep 9, 2021
e19d6f3
fix return doc
rkcreation Sep 9, 2021
e1e5d28
add a basic method to refresh user claim outside of this plugin
rkcreation Sep 9, 2021
ba1f76a
fix return doc
rkcreation Sep 9, 2021
b127e4c
Revert "fix return doc"
rkcreation Sep 9, 2021
c6a3fd8
Revert "add a basic method to refresh user claim outside of this plugin"
rkcreation Sep 9, 2021
1ccef32
Initial Codepsaces Development Environment
timnolte Sep 11, 2021
adfad99
Adds Gitpod Support Alongside Codespaces Support
timnolte Oct 12, 2021
1e5889b
Only load admin CSS when showing settings page
Oct 25, 2021
abce4d6
Updates Development Environment for PHP & WordPress
timnolte Dec 5, 2021
78f1784
Fixes Running PHPStan in Docker & Static Analysis Issues
timnolte Dec 5, 2021
0967e16
Update GitHub Actions for PHP/Composer/WordPress Changes
timnolte Dec 5, 2021
41fcb0c
Updates WordPress Version Composer Dependencies
timnolte Dec 5, 2021
6c89b56
Fixes GitHub Actions for Composer 2 Changes
timnolte Dec 5, 2021
cb760fc
Fixes GitHub Actions for PHP Unit testing
timnolte Dec 7, 2021
63e9e68
Updates GrumPHP & GrumPHP Unit Testing PHP 8 Support
timnolte Dec 7, 2021
e69cc0c
Updates Unit Testing for PHPUnit Testing w/ PHP8
timnolte Dec 7, 2021
ab45307
Updates Unit Testing Composer Updates to Run w/ PHP 8
timnolte Dec 7, 2021
2c3eb5d
Updates Composer PHPUnit for PHP 8 Override
timnolte Dec 7, 2021
e704a75
Multisite/network configurations use your current blog as the default…
danc1248 Jan 7, 2022
250d3e9
CodeSpaces Dev Container Updates & Composer Updates
timnolte Jan 13, 2022
cb2e6f6
Updating GrumPHP & Composer Dependencies
timnolte Jan 15, 2022
c0dda8f
Merge pull request #369 from timnolte/feature/codespaces
timnolte Feb 25, 2022
2aa9d3c
Merge branch 'dev' into override-default-blog-id-for-user-search
timnolte Feb 25, 2022
42c14cb
Merge branch 'dev' into dev
timnolte Feb 25, 2022
dba533f
Merge pull request #364 from danc1248/override-default-blog-id-for-us…
timnolte Feb 25, 2022
195c5a0
Adds Additional Constants for Plugin Configuration
timnolte Feb 25, 2022
0c25443
Feature PR Merge to Resolve Conflict
timnolte Feb 25, 2022
11494b4
Merge branch 'upstream-dev' into dev
timnolte Feb 25, 2022
d39e3d5
Merge branch 'dev' into origin/feature/session-expired-action
timnolte Feb 25, 2022
a58dd88
Merge branch 'dev' into aggregated_claims
timnolte Feb 25, 2022
6baee18
Merge pull request #255 from schanzen/aggregated_claims
timnolte Feb 25, 2022
480dded
Merge pull request #190 from dxw/feature/implement-singleton-pattern
timnolte Feb 25, 2022
fd1cba2
Updates NPM Modules & Changes Plugin Instance Visibility
timnolte Feb 25, 2022
7435072
Merge pull request #380 from timnolte/fix/Class-Instance-Access
timnolte Feb 25, 2022
ffc80a2
Bump tar from 4.4.13 to 4.4.19
dependabot[bot] Feb 25, 2022
64df8f2
Merge pull request #377 from oidc-wp/dependabot/npm_and_yarn/tar-4.4.19
timnolte Feb 25, 2022
e86dd7e
Bump hosted-git-info from 2.8.8 to 2.8.9
dependabot[bot] Feb 25, 2022
6c90a2a
Bump lodash from 4.17.19 to 4.17.21
dependabot[bot] Feb 25, 2022
b43bf9e
Bump ssri from 6.0.1 to 6.0.2
dependabot[bot] Feb 25, 2022
cce674d
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Feb 25, 2022
69e9311
Bump ws from 6.2.1 to 6.2.2
dependabot[bot] Feb 25, 2022
c12b309
Merge pull request #382 from oidc-wp/dependabot/npm_and_yarn/ssri-6.0.2
timnolte Feb 26, 2022
c147487
Merge pull request #383 from oidc-wp/dependabot/npm_and_yarn/lodash-4…
timnolte Feb 26, 2022
d311c8d
Merge pull request #381 from oidc-wp/dependabot/npm_and_yarn/path-par…
timnolte Feb 26, 2022
b81e467
Merge pull request #385 from oidc-wp/dependabot/npm_and_yarn/ws-6.2.2
timnolte Feb 26, 2022
8a0e738
Merge pull request #384 from oidc-wp/dependabot/npm_and_yarn/hosted-g…
timnolte Feb 26, 2022
73a7391
Merge branch 'dev' into dev
timnolte Feb 26, 2022
fc7149c
Merge pull request #337 from rkcreation/dev
timnolte Feb 26, 2022
939372b
coding standards issues
Feb 26, 2022
abd2077
Fix wordpress coding standards issues
Feb 26, 2022
71570fb
Merge pull request #228 from jkouris/origin/feature/session-expired-a…
timnolte Mar 2, 2022
63e3e1e
Merge branch 'dev' into limit-css-loading
timnolte Mar 2, 2022
5efb906
Merge pull request #345 from tommcc/limit-css-loading
timnolte Mar 2, 2022
59f9818
Merge pull request #338 from rkcreation/refresh-user-claim
timnolte Mar 4, 2022
56e3a66
Redone acr-values-support
Glowsome Mar 7, 2022
3639d07
Fix code-standard errors
Glowsome Mar 8, 2022
9b812d7
Update openid-connect-generic-client.php
Glowsome Mar 8, 2022
f04995c
Update openid-connect-generic-client-wrapper.php
Glowsome Mar 8, 2022
aad391a
Update openid-connect-generic-settings-page.php
Glowsome Mar 8, 2022
7d12b2e
Update openid-connect-generic-client.php
Glowsome Mar 8, 2022
c42bf78
Merge pull request #388 from Glowsome/acr-value-support
timnolte Mar 9, 2022
63ef4bb
Refactors new ACR Handling Code for Better Code Quality
timnolte Mar 9, 2022
1fb512f
Merge pull request #389 from timnolte/refactor/331-acr-values
timnolte Mar 9, 2022
64f87d3
Fixes #243 Nickname from Claim Regression
timnolte Mar 15, 2022
5d11431
Merge pull request #390 from timnolte/fix/243-nickname-from-claim-reg…
timnolte Mar 17, 2022
eeb3cb6
Merge branch 'dev' into dev
timnolte Mar 17, 2022
2ddc368
Merge pull request #335 from slykar/dev
timnolte Mar 17, 2022
3f8629e
Fixes Indentity Mapping & Creation Issues
timnolte Mar 18, 2022
30eafa5
Merge pull request #392 from timnolte/fix/case-sensitive-identity-map…
timnolte Mar 19, 2022
82b0a00
Dependabot Security Related Fixes & Refactoring
timnolte Mar 19, 2022
40f2bab
Merge pull request #393 from timnolte/fix/20220318-dependabot-alerts
timnolte Mar 19, 2022
d4db7f1
Updates WP to Latest Dev Standard for Local Development
timnolte Mar 21, 2022
0b9f060
Merge pull request #395 from timnolte/fix/WordPress-Local-Dev-Version
timnolte Mar 21, 2022
0d4aabd
Refactors Callable Refresh User Claims Function & Action
timnolte Mar 22, 2022
99ec7c8
Merge pull request #396 from timnolte/refactor/339-refresh-user-claim
timnolte Mar 22, 2022
6f291ea
Merges branch 'main' into dev after release
timnolte Mar 23, 2022
9544d57
Updates to Allow Composer Installers Version 1 & 2 (#426)
timnolte Aug 16, 2022
349c288
Bump minimist from 1.2.5 to 1.2.6 (#398)
dependabot[bot] Aug 16, 2022
39ef540
Bump grunt from 1.4.1 to 1.5.3 (#407)
dependabot[bot] Aug 16, 2022
0603783
Bump terser from 5.12.1 to 5.14.2 (#422)
dependabot[bot] Aug 18, 2022
026eb37
Fixes and Updates GitHub Actions (#430)
timnolte Aug 19, 2022
ad3d6f5
Prepares New Bug Fix and Refactoring Release
timnolte Aug 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 7 additions & 18 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,31 @@ on:
push:
branches:
- dev
- main
- 'release/**'
- 'feature/**'
- 'fix/**'

env:
WP_MULTISITE: 0
ACTION_VERSION: 2

jobs:
check:
name: Setup & Check
check_i18n:
name: Setup & Check Internationalization

runs-on: ubuntu-latest

steps:
- name: Checkout Code
# https://github.com/marketplace/actions/checkout
uses: actions/checkout@v2

- name: Setup Node Environment
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
uses: actions/setup-node@v2
with:
node-version: 14.x

- name: Cache node modules
uses: actions/cache@v2
env:
npm-cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.npm-cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.npm-cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
node-version-file: '.nvmrc'
cache: ${{ !env.ACT && 'npm' || '' }}

- name: NPM Install
run: npm ci
Expand Down
44 changes: 27 additions & 17 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,53 @@ on:
push:
branches:
- dev
- main
- 'release/**'
- 'feature/**'
- 'fix/**'

env:
PHP_VERSION: 7.4
PHP_VERSION: '7.4'
WP_MULTISITE: 0
COMPOSER_VERSION: '2.2'
ACTION_VERSION: 2

jobs:
check:
name: Setup & Check
check_linting:
name: Setup & Check Coding Standards

runs-on: ubuntu-latest

steps:
- name: Checkout Code
# https://github.com/marketplace/actions/checkout
uses: actions/checkout@v2

- name: Setup PHP Environment
uses: shivammathur/setup-php@v2
# https://github.com/marketplace/actions/setup-php-action
with:
php-version: ${{ env.PHP_VERSION }}
tools: composer:v2
- name: Get Composer Cache Directory
id: composer-cache
if: ${{ !env.ACT }}
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache Composer dependencies
uses: actions/cache@v2
if: ${{ !env.ACT }}
# https://github.com/marketplace/actions/cache
uses: actions/cache@v3
env:
composer-cache-name: cache-vendor
composer-cache-name: cache-composer
with:
path: ~/vendor
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-${{ hashFiles('**/composer.lock') }}
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-v${{ env.ACTION_VERSION }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.composer-cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-build-${{ env.composer-cache-name }}-v${{ env.ACTION_VERSION }}-

- name: Setup PHP & Composer Environment
# https://github.com/marketplace/actions/setup-php-action
uses: shivammathur/setup-php@v2
with:
php-version: "${{ env.PHP_VERSION }}"
tools: "composer:${{ env.COMPOSER_VERSION }}"

- name: Environment Check
run: php -v && composer --version

- name: Install Composer Dependencies
run: composer install
Expand Down
67 changes: 34 additions & 33 deletions .github/workflows/pr-unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,61 @@ on:
pull_request:

env:
PHP_STABLE_VERSION: '7.4'
WP_PREF_STABLE_VERSION: '5.7.*'
PHP_VERSION: '7.4'
WP_VERSION: '5.9.*'
WP_MULTISITE: 0
COMPOSER_VERSION: '2.2'
ACTION_VERSION: 2

jobs:
test:
pr_unit_testing:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
include:
- job-name: 'Preferred Stable Requirements'
bleeding-edge: false
php-version: '7.4'
wordpress-version: '5.7.*'
wp-multisite-mode: 0

name: '${{ matrix.job-name }} (PHP:${{ matrix.php-version }}/WP:${{ matrix.wordpress-version }})'
name: 'Unit Test PR in Latest Stable Requirements'

steps:
- name: Checkout Code
# https://github.com/marketplace/actions/checkout
uses: actions/checkout@v2

- name: Setup PHP Environment
uses: shivammathur/setup-php@v2
# https://github.com/marketplace/actions/setup-php-action
- name: Get Composer Cache Directory
id: composer-cache
if: ${{ !env.ACT }}
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache Composer dependencies
if: ${{ !env.ACT }}
uses: actions/cache@v2
env:
composer-cache-name: cache-composer
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-wp-${{ env.WP_VERSION }}-v${{ env.ACTION_VERSION }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.composer-cache-name }}-wp-${{ env.WP_VERSION }}-v${{ env.ACTION_VERSION }}-

- name: Setup Node Environment
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.nvmrc'
cache: ${{ !env.ACT && 'npm' || '' }}

- name: Cache Composer dependencies
uses: actions/cache@v2
env:
composer-cache-name: cache-vendor
- name: Setup PHP & Composer Environment
# https://github.com/marketplace/actions/setup-php-action
uses: shivammathur/setup-php@v2
with:
path: ~/vendor
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.composer-cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
php-version: "${{ env.PHP_VERSION }}"
tools: "composer:${{ env.COMPOSER_VERSION }}"

- name: Environment Check
run: php -v && composer --version

- name: Require Specified WordPress Version
run: composer require johnpbloch/wordpress-core:${{ matrix.wordpress-version }} --dev --prefer-source --update-with-all-dependencies
run: composer require johnpbloch/wordpress-core:${{ env.WP_VERSION }} php-stubs/wordpress-stubs:${{ env.WP_VERSION }} wp-phpunit/wp-phpunit:${{ env.WP_VERSION }} --dev --prefer-source --update-with-all-dependencies

- name: Install Composer Dependencies
run: composer install
run: composer install --prefer-dist

- name: NPM Setup
run: npm ci
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
WP_MULTISITE: 0
ACTION_VERSION: 2

jobs:
release:
Expand All @@ -25,18 +26,22 @@ jobs:
with:
node-version: 14.x

- name: Get NPM Cache Directory
id: npm-cache
if: ${{ !env.ACT }}
run: echo "::set-output name=dir::$(npm config get cache)"

- name: Cache Node Modules
if: ${{ !env.ACT }}
uses: actions/cache@v2
env:
npm-cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.npm-cache-name }}-${{ hashFiles('**/package-lock.json') }}
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.npm-cache-name }}-v${{ env.ACTION_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.npm-cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-build-${{ env.npm-cache-name }}-v${{ env.ACTION_VERSION }}-

- name: NPM Install
run: npm ci
Expand Down
47 changes: 26 additions & 21 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,53 @@ on:
push:
branches:
- dev
- main
- 'release/**'
- 'feature/**'
- 'fix/**'

env:
PHP_VERSION: 7.4
WP_MODE: 'single'
PHP_VERSION: '7.4'
WP_MULTISITE: 0
WP_VERSION: '5.7.*'
COMPOSER_VERSION: '2.2'
ACTION_VERSION: 2

jobs:
check:
name: Setup & Check
check_static_analysis:
name: Setup & Perform Static Analysis

runs-on: ubuntu-latest

steps:
- name: Checkout Code
# https://github.com/marketplace/actions/checkout
uses: actions/checkout@v2

- name: Setup PHP Environment
uses: shivammathur/setup-php@v2
# https://github.com/marketplace/actions/setup-php-action
with:
php-version: ${{ env.PHP_VERSION }}
tools: composer:v2
- name: Get Composer Cache Directory
id: composer-cache
if: ${{ !env.ACT }}
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache Composer dependencies
uses: actions/cache@v2
if: ${{ !env.ACT }}
# https://github.com/marketplace/actions/cache
uses: actions/cache@v3
env:
composer-cache-name: cache-vendor
composer-cache-name: cache-composer
with:
path: ~/vendor
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-${{ hashFiles('**/composer.lock') }}
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.composer-cache-name }}-v${{ env.ACTION_VERSION }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.composer-cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-build-${{ env.composer-cache-name }}-v${{ env.ACTION_VERSION }}-

- name: Setup PHP & Composer Environment
# https://github.com/marketplace/actions/setup-php-action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
tools: "composer:${{ env.COMPOSER_VERSION }}"

- name: Require Specified WordPress Version
run: composer require johnpbloch/wordpress-core:${{ env.WP_VERSION }} --dev --prefer-source --update-with-all-dependencies
- name: Environment Check
run: php -v && composer --version

- name: Install Composer Dependencies
run: composer install
Expand Down
Loading