Skip to content

Commit 4ffd1c9

Browse files
committed
Merge branch 'develop'
2 parents 7973655 + f8bcbcf commit 4ffd1c9

File tree

70 files changed

+1675
-1110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1675
-1110
lines changed

.github/workflows/docker-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup PHP, with composer and extensions
1212
uses: shivammathur/setup-php@v2
1313
with:
14-
php-version: 8.2
14+
php-version: 8.3
1515
extensions: dom, zip
1616
coverage: none
1717
tools: composer:v2

.github/workflows/pr.yaml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup PHP, with composer and extensions
2727
uses: shivammathur/setup-php@v2
2828
with:
29-
php-version: 8.2
29+
php-version: 8.3
3030
extensions: ctype, dom, iconv, json, zip, gd, soap
3131
coverage: none
3232
tools: composer:v2
@@ -48,6 +48,29 @@ jobs:
4848
composer install --no-interaction --no-progress
4949
composer normalize composer.json --dry-run
5050
51+
config-check:
52+
name: Check that config is up to date
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/checkout@master
56+
57+
- name: Install site
58+
run: |
59+
docker network create frontend
60+
docker compose pull
61+
docker compose up --detach
62+
63+
# Important: Use --no-interaction to make https://getcomposer.org/doc/06-config.md#discard-changes have effect.
64+
docker compose exec --user root phpfpm composer install --no-interaction
65+
66+
# Install the site
67+
docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes
68+
69+
- name: Export config
70+
run: docker compose exec --user root phpfpm vendor/bin/drush config:export --yes
71+
- name: Check for changes in config
72+
run: git diff --diff-filter=ACMRT --exit-code config/
73+
5174
phpcs:
5275
name: PHP - Check Coding Standards
5376
runs-on: ubuntu-latest
@@ -56,7 +79,7 @@ jobs:
5679
- name: Setup PHP, with composer and extensions
5780
uses: shivammathur/setup-php@v2
5881
with:
59-
php-version: 8.2
82+
php-version: 8.3
6083
extensions: ctype, dom, iconv, json, zip, gd, soap
6184
coverage: none
6285
tools: composer:v2
@@ -116,7 +139,7 @@ jobs:
116139
- name: Setup PHP, with composer and extensions
117140
uses: shivammathur/setup-php@v2
118141
with:
119-
php-version: 8.2
142+
php-version: 8.3
120143
extensions: ctype, dom, iconv, json, zip, gd, soap
121144
coverage: none
122145
tools: composer:v2
@@ -186,7 +209,7 @@ jobs:
186209
- name: Setup PHP, with composer and extensions
187210
uses: shivammathur/setup-php@v2
188211
with:
189-
php-version: 8.2
212+
php-version: 8.3
190213
extensions: ctype, dom, iconv, json, zip, gd, soap
191214
coverage: none
192215
tools: composer:v2

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
## [1.1.3]
12+
13+
- [PR-363](https://github.com/itk-dev/os2loop/pull/363)
14+
Security update
15+
16+
1117
## [1.1.2]
1218

13-
- [PR-362](https://github.com/itk-dev/os2loop/pull/362)
19+
- [PR-362](https://github.com/itk-dev/os2loop/pull/362)
1420
- Change Share with a friend form
1521
- Add chosen lib
1622
- Use chosen lib for profession and expertise fields

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,6 @@
1010
OS2loop is a question-answering system built on Drupal 9. See [os2.eu/produkt/os2loop](https://os2.eu/produkt/os2loop)
1111
(in Danish) for more information.
1212

13-
## Upgrading to Drupal 10
14-
15-
Upgrading to [Drupal 10](https://www.drupal.org/about/10) is a two-step process:
16-
first the site must be prepared for the upgrade ([tag:
17-
d-10-prepare](/releases/tag/d-10-prepare)) and then the actual upgrade must be
18-
performed.
19-
20-
```sh
21-
# Backup the database
22-
23-
# Prepare for the upgrade
24-
git checkout d-10-prepare
25-
composer install --no-dev --optimize-autoloader
26-
vendor/bin/drush --yes pm:uninstall samlauth
27-
vendor/bin/drush --yes deploy
28-
vendor/bin/drush --yes locale:update
29-
vendor/bin/drush --yes cache:rebuild
30-
31-
# Check that site still works
32-
33-
# Upgrade to Drupal 10
34-
git checkout «release tag»
35-
composer install --no-dev --optimize-autoloader
36-
vendor/bin/drush --yes deploy
37-
vendor/bin/drush --yes locale:update
38-
vendor/bin/drush --yes cache:rebuild
39-
```
40-
4113
## Installation
4214

4315
### Production

composer.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "project",
66
"homepage": "https://github.com/os2loop/os2loop",
77
"require": {
8-
"php": "^8.2",
8+
"php": "^8.3",
99
"composer/installers": "^2.0",
1010
"cweagans/composer-patches": "^1.7",
1111
"dompdf/dompdf": "^2.0",
@@ -69,7 +69,7 @@
6969
"ergebnis/composer-normalize": "^2.42",
7070
"kint-php/kint": "^5.0",
7171
"mglaman/phpstan-drupal": "^1.2",
72-
"os2loop/os2loop_fixtures": "dev-main",
72+
"os2loop/os2loop_fixtures": "^1.0",
7373
"phpspec/prophecy-phpunit": "^2.0",
7474
"phpstan/extension-installer": "^1.3",
7575
"phpstan/phpstan-deprecation-rules": "^1.1",
@@ -103,7 +103,13 @@
103103
},
104104
"os2loop/os2loop_fixtures": {
105105
"type": "path",
106-
"url": "web/profiles/custom/os2loop/modules/os2loop_fixtures"
106+
"url": "web/profiles/custom/os2loop/modules/os2loop_fixtures",
107+
"options": {
108+
"symlink": false,
109+
"versions": {
110+
"os2loop/os2loop_fixtures": "1.0-dev"
111+
}
112+
}
107113
},
108114
"drupal/views_flag_refresh": {
109115
"type": "package",
@@ -131,7 +137,8 @@
131137
"drupal/core-project-message": true,
132138
"ergebnis/composer-normalize": true,
133139
"php-http/discovery": true,
134-
"phpstan/extension-installer": true
140+
"phpstan/extension-installer": true,
141+
"tbachert/spi": true
135142
},
136143
"process-timeout": 0,
137144
"sort-packages": true
@@ -205,7 +212,7 @@
205212
"Handle undefined index when using form states (https://www.drupal.org/project/drupal/issues/2700667)": "https://www.drupal.org/files/issues/2020-03-11/2700667-104.patch"
206213
},
207214
"drupal/devel": {
208-
"Public methods are not visible in kint (https://www.drupal.org/project/devel/issues/3112201)": "https://www.drupal.org/files/issues/2022-04-26/devel_3112201_4.patch"
215+
"Public methods are not visible in kint (https://gitlab.com/drupalspoons/devel/-/issues/221 via https://www.drupal.org/project/devel/issues/3112201)": "https://gitlab.com/-/project/18040690/uploads/7897853cd83cb829ae8d752657e2f497/kint.221-5-3.patch"
209216
},
210217
"drupal/entity_print": {
211218
"Add page count https://www.drupal.org/project/entity_print/issues/2823430": "https://www.drupal.org/files/issues/2023-07-10/entity_print-dompdf_page_count-2823430-14.patch",

0 commit comments

Comments
 (0)