Skip to content

Commit 7e5181f

Browse files
committed
Resolve merge conflict
Signed-off-by: Apoorv Parle <[email protected]>
2 parents ca7a97f + af8cac0 commit 7e5181f

File tree

180 files changed

+3937
-1671
lines changed

Some content is hidden

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

180 files changed

+3937
-1671
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
2-
name: 🐛 Bug report
3-
about: Help us improving by reporting a bug
2+
name: 🐛 Bug report - no questions and no support!
3+
about: Help us improving by reporting a bug - this category is not for questions and also not for support! Please use one of the options below for questions and support
44
labels: 0. Needs triage
55
---
66

77
<!---
8+
- Before submitting a bug report, please read through the documentation available at https://github.com/nextcloud/all-in-one#faq
89
- If you use Cloudflare Tunnel or Cloudflare Proxy, see https://github.com/nextcloud/all-in-one#notes-on-cloudflare-proxytunnel for known issues/limitations and workarounds.
910
- For issues with Collabora or Talk, make sure to follow https://github.com/nextcloud/all-in-one/discussions/1358. It may already resolve your issue and makes it easier to help you.
11+
1012
--->
1113

1214
<!--- Please fill out the whole template below -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
blank_issues_enabled: false
22
contact_links:
3+
- name: 📘 Documentation on Nextcloud AIO
4+
url: https://github.com/nextcloud/all-in-one#faq
5+
about: Please read the docs first before submitting any report or request!
6+
- name: ⛑️ General questions and support
7+
url: https://help.nextcloud.com/tag/aio
8+
about: For general questions, support and help
39
- name: 💡 Suggest a new feature or discuss one
410
url: https://github.com/nextcloud/all-in-one/discussions/categories/ideas
511
about: For new feature requests and discussion of existing ones
6-
- name: ❓ Questions on AIO
12+
- name: ❓ Questions about Nextcloud AIO
713
url: https://github.com/nextcloud/all-in-one/discussions/categories/questions
8-
about: For questions regarding AIO
9-
- name: ⛑️ Community Support and Help
10-
url: https://help.nextcloud.com/tag/aio
11-
about: For other types of questions
14+
about: For questions specifically about AIO
1215
- name: 💼 Nextcloud Enterprise
1316
url: https://portal.nextcloud.com/
14-
about: If you are a Nextcloud Enterprise customer, or need Professional support, so it can be resolved directly by our dedicated engineers more quickly
17+
about: If you are a Nextcloud Enterprise customer, or need Professional support, so it can be resolved directly by our dedicated engineers more quickly

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
version: 2
22
updates:
33
- package-ecosystem: "github-actions"
4-
directory: "/"
4+
directory: ".github/workflows"
55
schedule:
66
interval: "daily"
77
time: "12:00"
88
open-pull-requests-limit: 10
9+
rebase-strategy: "disabled"
10+
labels:
11+
- 3. to review
12+
- dependencies
913
- package-ecosystem: composer
1014
directory: "/php/"
1115
schedule:
1216
interval: "daily"
1317
time: "12:00"
1418
open-pull-requests-limit: 10
19+
rebase-strategy: "auto"
1520
labels:
1621
- 3. to review
1722
- dependencies
1823
- package-ecosystem: "docker"
1924
directories:
25+
- "/Containers/alpine"
2026
- "/Containers/apache"
2127
- "/Containers/borgbackup"
2228
- "/Containers/clamav"
@@ -39,6 +45,7 @@ updates:
3945
interval: "daily"
4046
time: "04:00"
4147
open-pull-requests-limit: 10
48+
rebase-strategy: "disabled"
4249
labels:
4350
- 3. to review
4451
- dependencies

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check out code
1515
uses: actions/checkout@v4
1616
- name: Check spelling
17-
uses: codespell-project/actions-codespell@v2
17+
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2
1818
with:
1919
check_filenames: true
2020
check_hidden: true

.github/workflows/dependency-updates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
jobs:
99
dependency_updates:
1010
name: Run dependency update script
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: shivammathur/setup-php@v2
14+
- uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
1515
with:
1616
php-version: 8.3
1717
extensions: apcu
@@ -44,7 +44,7 @@ jobs:
4444
)"
4545
sed -i "s|pecl install APCu.*\;|pecl install APCu-$apcu_version\;|" ./Containers/mastercontainer/Dockerfile
4646
- name: Create Pull Request
47-
uses: peter-evans/create-pull-request@v7
47+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
4848
with:
4949
commit-message: php dependency updates
5050
signoff: true

.github/workflows/helm-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Turnstyle
19-
uses: softprops/turnstyle@v2
19+
uses: softprops/turnstyle@f9f8ef3f634144b126a09ea5b3bfe51ddebc700f # v2
2020
with:
2121
continue-after-seconds: 180
2222
env:
@@ -32,7 +32,7 @@ jobs:
3232
3333
# See https://github.com/helm/chart-releaser-action/issues/6
3434
- name: Set up Helm
35-
uses: azure/setup-helm@v4
35+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4
3636
with:
3737
version: v3.6.3
3838

@@ -41,7 +41,7 @@ jobs:
4141
helm lint ./nextcloud-aio-helm-chart
4242
4343
- name: Run chart-releaser
44-
uses: helm/chart-releaser-action@v1.6.0
44+
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
4545
with:
4646
mark_as_latest: false
4747
charts_dir: .

.github/workflows/imaginary-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
sed -i "s|^ENV IMAGINARY_HASH.*$|ENV IMAGINARY_HASH=$imaginary_version|" ./Containers/imaginary/Dockerfile
2323
2424
- name: Create Pull Request
25-
uses: peter-evans/create-pull-request@v7
25+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
2626
with:
2727
commit-message: imaginary-update automated change
2828
signoff: true

.github/workflows/lint-helm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Install Helm
19-
uses: azure/setup-helm@v4
19+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4
2020
with:
2121
version: v3.11.1
2222

.github/workflows/lint-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3737

3838
- name: Set up php ${{ matrix.php-versions }}
39-
uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2
39+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
4040
with:
4141
php-version: ${{ matrix.php-versions }}
4242
coverage: none

.github/workflows/lock-threads.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
action:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: dessant/lock-threads@v5
17+
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5
1818
with:
1919
issue-inactive-days: '14'
2020
process-only: 'issues'

.github/workflows/nextcloud-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
# Imagick
5353
imagick_version="$(
54-
git ls-remote --tags https://github.com/Imagick/imagick.git \
54+
git ls-remote --tags https://github.com/imagick/imagick.git \
5555
| cut -d/ -f3 \
5656
| grep -viE '[a-z]' \
5757
| tr -d '^{}' \
@@ -79,7 +79,7 @@ jobs:
7979
fi
8080
8181
- name: Create Pull Request
82-
uses: peter-evans/create-pull-request@v7
82+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
8383
with:
8484
commit-message: nextcloud-update automated change
8585
signoff: true

.github/workflows/php-deprecation-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Set up php
21-
uses: shivammathur/setup-php@v2
21+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
2222
with:
2323
php-version: 8.3
2424
extensions: apcu

.github/workflows/playwright.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Playwright Tests
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
BASE_URL: https://localhost:8080
8+
9+
jobs:
10+
test:
11+
timeout-minutes: 60
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: lts/*
21+
22+
- name: Install dependencies
23+
run: cd php/tests && npm ci
24+
25+
- name: Install Playwright Browsers
26+
run: cd php/tests && npx playwright install --with-deps chromium
27+
28+
- name: Start fresh development server
29+
run: |
30+
docker rm --force nextcloud-aio-{mastercontainer,apache,notify-push,nextcloud,redis,database,domaincheck,whiteboard,imaginary,talk,collabora,borgbackup} || true
31+
docker volume rm nextcloud_aio_{mastercontainer,apache,database,database_dump,nextcloud,nextcloud_data,redis,backup_cache,elasticsearch} || true
32+
docker pull ghcr.io/nextcloud-releases/all-in-one:develop
33+
docker run \
34+
-d \
35+
--init \
36+
--name nextcloud-aio-mastercontainer \
37+
--restart always \
38+
--publish 8080:8080 \
39+
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
40+
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
41+
--env SKIP_DOMAIN_VALIDATION=true \
42+
--env APACHE_PORT=11000 \
43+
ghcr.io/nextcloud-releases/all-in-one:develop
44+
echo Waiting for 10 seconds for the development container to start ...
45+
sleep 10
46+
47+
- name: Run Playwright tests for initial setup
48+
run: cd php/tests && DEBUG=pw:api npx playwright test tests/initial-setup.spec.js
49+
50+
- name: Start fresh development server
51+
run: |
52+
docker rm --force nextcloud-aio-{mastercontainer,apache,notify-push,nextcloud,redis,database,domaincheck,whiteboard,imaginary,talk,collabora,borgbackup} || true
53+
docker volume rm nextcloud_aio_{mastercontainer,apache,database,database_dump,nextcloud,nextcloud_data,redis,backup_cache,elasticsearch} || true
54+
docker run \
55+
-d \
56+
--init \
57+
--name nextcloud-aio-mastercontainer \
58+
--restart always \
59+
--publish 8080:8080 \
60+
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
61+
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
62+
--env SKIP_DOMAIN_VALIDATION=false \
63+
--env APACHE_PORT=11000 \
64+
ghcr.io/nextcloud-releases/all-in-one:develop
65+
echo Waiting for 10 seconds for the development container to start ...
66+
sleep 10
67+
68+
- name: Run Playwright tests for backup restore
69+
run: cd php/tests && DEBUG=pw:api npx playwright test tests/restore-instance.spec.js
70+
71+
- uses: actions/upload-artifact@v4
72+
if: ${{ !cancelled() }}
73+
with:
74+
name: playwright-report
75+
path: php/tests/playwright-report/
76+
retention-days: 14
77+
overwrite: true

.github/workflows/psalm-update-baseline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414

1515
- name: Set up php
16-
uses: shivammathur/setup-php@v2
16+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
1717
with:
1818
php-version: 8.3
1919
extensions: apcu
@@ -30,7 +30,7 @@ jobs:
3030
continue-on-error: true
3131

3232
- name: Create Pull Request
33-
uses: peter-evans/create-pull-request@v7
33+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
3434
with:
3535
token: ${{ secrets.COMMAND_BOT_PAT }}
3636
commit-message: Update psalm baseline

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3030

3131
- name: Set up php
32-
uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2
32+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
3333
with:
3434
php-version: 8.3
3535
extensions: apcu

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Run Shellcheck
20-
uses: ludeeus/action-shellcheck@2.0.0
20+
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
2121
with:
2222
check_together: 'yes'
2323
env:

.github/workflows/talk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
# Janus
3838
janus_version="$(
39-
git ls-remote https://github.com/meetecho/janus-gateway v0.*.* \
39+
git ls-remote https://github.com/meetecho/janus-gateway v1.*.* \
4040
| cut -d/ -f3 \
4141
| sort -V \
4242
| grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$" \
@@ -45,7 +45,7 @@ jobs:
4545
sed -i "s|^ARG JANUS_VERSION=.*$|ARG JANUS_VERSION=$janus_version|" ./Containers/talk/Dockerfile
4646
4747
- name: Create Pull Request
48-
uses: peter-evans/create-pull-request@v7
48+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
4949
with:
5050
commit-message: talk-update automated change
5151
signoff: true

.github/workflows/twig-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/checkout@v4
2828

2929
- name: Set up php ${{ matrix.php-versions }}
30-
uses: shivammathur/setup-php@v2
30+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2
3131
with:
3232
php-version: 8.3
3333
extensions: apcu

.github/workflows/update-helm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ jobs:
1414
uses: actions/checkout@v4
1515
- name: update helm chart
1616
run: |
17-
DOCKER_TAG="$(curl -L -s 'https://registry.hub.docker.com/v2/repositories/nextcloud/all-in-one/tags?page_size=1024' | jq '."results"[]["name"]' | sed 's|"||g' | grep '^20[0-9_]\+' | grep -v latest | sort -r | head -1)"
17+
set -x
18+
GHCR_TOKEN="$(curl https://ghcr.io/token?scope=repository:nextcloud-releases/nce-php-fpm-mgmt:pull | jq '.token' | sed 's|"||g')"
19+
DOCKER_TAG="$(curl -H "Authorization: Bearer ${GHCR_TOKEN}" -L -s 'https://ghcr.io/v2/nextcloud-releases/all-in-one/tags/list?page_size=1024' | jq '.tags' | sed 's|"||g;s|[[:space:]]||g;s|,||g' | grep '^20[0-9_]\+' | grep -v latest | sort -r | head -1)"
1820
export DOCKER_TAG
21+
set +x
1922
if [ -n "$DOCKER_TAG" ] && ! grep -q "$DOCKER_TAG" ./nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml; then
2023
sudo bash nextcloud-aio-helm-chart/update-helm.sh "$DOCKER_TAG"
2124
fi
2225
- name: Create Pull Request
23-
uses: peter-evans/create-pull-request@v7
26+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
2427
with:
2528
commit-message: Helm Chart updates
2629
signoff: true

.github/workflows/update-yaml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
sudo bash manual-install/update-yaml.sh
1818
- name: Create Pull Request
19-
uses: peter-evans/create-pull-request@v7
19+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
2020
with:
2121
commit-message: Yaml updates
2222
signoff: true

Containers/alpine/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# syntax=docker/dockerfile:latest
2+
FROM alpine:3.21.3
3+
4+
RUN set -ex; \
5+
apk upgrade --no-cache -a

Containers/apache/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443,
4040
route /onlyoffice/* {
4141
uri strip_prefix /onlyoffice
4242
reverse_proxy {$ONLYOFFICE_HOST}:80 {
43-
header_up X-Forwarded-Host {http.request.host}/onlyoffice
43+
header_up X-Forwarded-Host {http.request.hostport}/onlyoffice
4444
header_up X-Forwarded-Proto https
4545
}
4646
}

Containers/apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# syntax=docker/dockerfile:latest
2-
FROM caddy:2.8.4-alpine AS caddy
2+
FROM caddy:2.10.0-alpine AS caddy
33

44
# From https://github.com/docker-library/httpd/blob/master/2.4/alpine/Dockerfile
5-
FROM httpd:2.4.62-alpine3.20
5+
FROM httpd:2.4.63-alpine3.21
66

77
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
88

0 commit comments

Comments
 (0)