Skip to content

Commit

Permalink
Merge pull request #4898 from getkirby/release/3.8.3
Browse files Browse the repository at this point in the history
3.8.3
  • Loading branch information
bastianallgeier authored Dec 6, 2022
2 parents f16b0b4 + 0958b4e commit 41719bd
Show file tree
Hide file tree
Showing 292 changed files with 2,769 additions and 2,145 deletions.
28 changes: 0 additions & 28 deletions .github/dependabot.yml

This file was deleted.

42 changes: 22 additions & 20 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# To upgrade pinned actions: Use https://github.com/mheap/pin-github-action

name: CI - Backend
on:
push:
Expand Down Expand Up @@ -49,7 +51,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
fetch-depth: 2

Expand All @@ -64,27 +66,27 @@ jobs:

- name: Setup PHP cache environment
id: ext-cache
uses: shivammathur/cache-extensions@fc01a9cdc93341e96c2078d848f2e96240d83c17 # pin@v1
uses: shivammathur/cache-extensions@861c58f0808a7d49515b111c6f780a7085f63973 # pin@v1
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
key: php-v1

- name: Cache PHP extensions
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # pin@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # pin@v3
with:
path: ${{ steps.ext-cache.outputs.dir }}
key: ${{ steps.ext-cache.outputs.key }}
restore-keys: ${{ steps.ext-cache.outputs.key }}

- name: Setup PHP environment
uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # pin@v2
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # pin@v2
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
ini-values: ${{ env.ini }}
coverage: pcov
tools: phpunit:9.5.22, psalm:4.26.0
tools: phpunit:9.5.26, psalm:5.1.0

- name: Setup problem matchers
run: |
Expand All @@ -93,7 +95,7 @@ jobs:
- name: Cache analysis data
id: finishPrepare
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # pin@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # pin@v3
with:
path: ~/.cache/psalm
key: backend-analysis-${{ matrix.php }}
Expand All @@ -115,7 +117,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
PHP: ${{ matrix.php }}
if: env.token != ''
uses: codecov/codecov-action@66b3de25f6f91f65eb92c514d31d6b6f13d5ab18 # pin@v3
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # for better reliability if the GitHub API is down
fail_ci_if_error: true
Expand All @@ -125,7 +127,7 @@ jobs:

- name: Upload code scanning results to GitHub
if: always() && steps.finishPrepare.outcome == 'success'
uses: github/codeql-action/upload-sarif@7e72857c42532e0c5757d954def4bf7cb35249fa # pin@v2
uses: github/codeql-action/upload-sarif@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # pin@v2
with:
sarif_file: sarif

Expand All @@ -146,36 +148,36 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3

- name: Preparations
run: mkdir sarif

- name: Setup PHP cache environment
id: ext-cache
uses: shivammathur/cache-extensions@fc01a9cdc93341e96c2078d848f2e96240d83c17 # pin@v1
uses: shivammathur/cache-extensions@861c58f0808a7d49515b111c6f780a7085f63973 # pin@v1
with:
php-version: ${{ env.php }}
extensions: ${{ env.extensions }}
key: php-analysis-v1

- name: Cache PHP extensions
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # pin@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # pin@v3
with:
path: ${{ steps.ext-cache.outputs.dir }}
key: ${{ steps.ext-cache.outputs.key }}
restore-keys: ${{ steps.ext-cache.outputs.key }}

- name: Setup PHP environment
id: finishPrepare
uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # pin@v2
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # pin@v2
with:
php-version: ${{ env.php }}
extensions: ${{ env.extensions }}
coverage: none
tools: |
composer:2.3.8, composer-normalize:2.28.3, composer-require-checker:4.1.0,
composer-unused:0.7.12, phpcpd:6.0.3, phpmd:2.12.0
composer:2.4.4, composer-normalize:2.28.3, composer-require-checker:4.1.0,
composer-unused:0.7.12, phpcpd:6.0.3, phpmd:2.13.0
- name: Validate composer.json/composer.lock
if: always() && steps.finishPrepare.outcome == 'success'
Expand All @@ -199,7 +201,7 @@ jobs:

- name: Upload code scanning results to GitHub
if: always() && steps.finishPrepare.outcome == 'success'
uses: github/codeql-action/upload-sarif@7e72857c42532e0c5757d954def4bf7cb35249fa # pin@v2
uses: github/codeql-action/upload-sarif@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # pin@v2
with:
sarif_file: sarif

Expand All @@ -213,18 +215,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3

- name: Setup PHP environment
uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # pin@v2
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # pin@v2
with:
php-version: ${{ env.php }}
coverage: none
tools: php-cs-fixer:3.10.0
tools: php-cs-fixer:3.13.0

- name: Cache analysis data
id: finishPrepare
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # pin@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # pin@v3
with:
path: ~/.php-cs-fixer
key: coding-style
Expand All @@ -240,7 +242,7 @@ jobs:
if: >
always() && steps.finishPrepare.outcome == 'success' &&
github.event_name == 'pull_request'
uses: reviewdog/action-suggester@ab82daa6ea9b84fe43db7747bb10fa087f34e1ab # pin@v1
uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e # pin@v1
with:
tool_name: PHP-CS-Fixer
fail_on_error: "true"
14 changes: 8 additions & 6 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# To upgrade pinned actions: Use https://github.com/mheap/pin-github-action

name: CI - Frontend
on:
push:
Expand Down Expand Up @@ -33,10 +35,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3

- name: Set up Node.js problem matchers and cache npm dependencies
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # pin@v3
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # pin@v3
with:
cache: "npm"
cache-dependency-path: panel/package-lock.json
Expand Down Expand Up @@ -74,10 +76,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3

- name: Set up Node.js problem matchers and cache npm dependencies
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # pin@v3
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # pin@v3
with:
cache: "npm"
cache-dependency-path: panel/package-lock.json
Expand All @@ -99,7 +101,7 @@ jobs:
if: >
always() && steps.finishPrepare.outcome == 'success' &&
github.event_name == 'pull_request'
uses: reviewdog/action-suggester@ab82daa6ea9b84fe43db7747bb10fa087f34e1ab # pin@v1
uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e # pin@v1
with:
tool_name: ESLint
fail_on_error: "true"
Expand All @@ -116,7 +118,7 @@ jobs:
if: >
always() && steps.finishPrepare.outcome == 'success' &&
github.event_name == 'pull_request'
uses: reviewdog/action-suggester@ab82daa6ea9b84fe43db7747bb10fa087f34e1ab # pin@v1
uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e # pin@v1
with:
tool_name: Prettier
fail_on_error: "true"
20 changes: 11 additions & 9 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# To upgrade pinned actions: Use https://github.com/mheap/pin-github-action

name: CI - Integration
on:
push:
Expand Down Expand Up @@ -46,12 +48,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
path: kirby

- name: Checkout Sandbox
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
repository: getkirby/sandbox
path: sandbox
Expand All @@ -68,28 +70,28 @@ jobs:
- name: Setup PHP cache environment
id: ext-cache
uses: shivammathur/cache-extensions@fc01a9cdc93341e96c2078d848f2e96240d83c17 # pin@v1
uses: shivammathur/cache-extensions@861c58f0808a7d49515b111c6f780a7085f63973 # pin@v1
with:
php-version: ${{ env.php }}
extensions: ${{ env.extensions }}
key: e2e-v1

- name: Cache PHP extensions
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # pin@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # pin@v3
with:
path: ${{ steps.ext-cache.outputs.dir }}
key: ${{ steps.ext-cache.outputs.key }}
restore-keys: ${{ steps.ext-cache.outputs.key }}

- name: Setup PHP environment
uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # pin@v2
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # pin@v2
with:
php-version: ${{ env.php }}
extensions: ${{ env.extensions }}
coverage: none

- name: Install dependencies
uses: cypress-io/github-action@be2de7b1fe1cdafb4a3c8da0a3746476ef636b65 # pin@v4
uses: cypress-io/github-action@c5724eda82337bcff977ce14509f47052c12e04c # pin@v5
with:
working-directory: kirby/panel
runTests: false
Expand All @@ -103,7 +105,7 @@ jobs:
working-directory: kirby/panel

- name: Run tests
uses: cypress-io/github-action@be2de7b1fe1cdafb4a3c8da0a3746476ef636b65 # pin@v4
uses: cypress-io/github-action@c5724eda82337bcff977ce14509f47052c12e04c # pin@v5
with:
working-directory: kirby/panel
install: false
Expand All @@ -122,14 +124,14 @@ jobs:
- name: Archive Cypress screenshots
if: failure()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # pin@v3
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # pin@v3
with:
name: cypress-screenshots
path: kirby/panel/cypress/screenshots

- name: Archive Cypress videos
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # pin@v3
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # pin@v3
with:
name: cypress-videos
path: kirby/panel/cypress/videos
4 changes: 4 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@
* Always prefer a site-wide Composer autoloader
* if it exists, it means that the user has probably
* installed additional packages
*
* @psalm-suppress MissingFile
*/
include $autoloader;
} elseif (is_file($autoloader = __DIR__ . '/vendor/autoload.php')) {
/**
* Fall back to the local autoloader if that exists
*
* @psalm-suppress MissingFile
*/
include $autoloader;
} else {
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "The Kirby 3 core",
"license": "proprietary",
"type": "kirby-cms",
"version": "3.8.2",
"version": "3.8.3",
"keywords": [
"kirby",
"cms",
Expand Down Expand Up @@ -38,7 +38,7 @@
"ext-openssl": "*",
"claviska/simpleimage": "3.7.0",
"composer/semver": "3.3.2",
"filp/whoops": "2.14.5",
"filp/whoops": "2.14.6",
"getkirby/composer-installer": "^1.2.1",
"laminas/laminas-escaper": "2.12.0",
"michelf/php-smartypants": "1.8.1",
Expand Down
Loading

0 comments on commit 41719bd

Please sign in to comment.