Skip to content

Commit 4e657a9

Browse files
authored
Merge branch 'master' into feature/s3-kms-encryption
2 parents 97e0092 + 0c83a9d commit 4e657a9

File tree

1,054 files changed

+15006
-32455
lines changed

Some content is hidden

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

1,054 files changed

+15006
-32455
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ body:
7171
Select Nextcloud Server version.
7272
_Versions not listed here are not maintained and not supported anymore_
7373
options:
74-
- "30"
75-
- "31"
7674
- "32"
75+
- "33"
7776
- "master"
7877
validations:
7978
required: true
@@ -96,6 +95,7 @@ body:
9695
Select PHP engine version serving Nextcloud Server.
9796
_Describe in the "Additional info" section if you chose "Other"._
9897
options:
98+
- "PHP 8.5"
9999
- "PHP 8.4"
100100
- "PHP 8.3"
101101
- "PHP 8.2"

.github/dependabot.yml

Lines changed: 61 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ updates:
2121
- package-ecosystem: composer
2222
directories:
2323
- "/"
24-
- "/build/integration"
24+
- "/vendor-bin/behat"
2525
- "/vendor-bin/cs-fixer"
2626
- "/vendor-bin/openapi-extractor"
2727
- "/vendor-bin/phpunit"
@@ -64,16 +64,18 @@ updates:
6464
- "@vitest/*"
6565

6666
# Latest stable release
67+
6768
# Composer dependencies for linting and testing
6869
- package-ecosystem: composer
69-
target-branch: stable32
70+
target-branch: stable33
7071
directories:
7172
- "/"
7273
- "/vendor-bin/behat"
7374
- "/vendor-bin/cs-fixer"
7475
- "/vendor-bin/openapi-extractor"
7576
- "/vendor-bin/phpunit"
7677
- "/vendor-bin/psalm"
78+
- "/vendor-bin/rector"
7779
schedule:
7880
interval: weekly
7981
day: saturday
@@ -87,11 +89,13 @@ updates:
8789
- dependency-name: "*"
8890
update-types: ["version-update:semver-major", "version-update:semver-minor"]
8991

90-
# Latest stable branch
9192
# frontend dependencies
9293
- package-ecosystem: npm
93-
target-branch: stable32
94-
directory: "/"
94+
target-branch: stable33
95+
directories:
96+
- "/"
97+
- "/build/frontend"
98+
- "/build/frontend-legacy"
9599
schedule:
96100
interval: weekly
97101
day: saturday
@@ -103,13 +107,65 @@ updates:
103107
- "feature: dependencies"
104108
# Disable automatic rebasing because without a build CI will likely fail anyway
105109
rebase-strategy: "disabled"
110+
groups:
111+
vite:
112+
patterns:
113+
- "vite"
114+
- "@nextcloud/vite-config"
115+
vitest:
116+
patterns:
117+
- "vitest"
118+
- "@vitest/*"
106119
ignore:
107120
# no major updates on stable branches
108121
- dependency-name: "*"
109122
update-types: ["version-update:semver-major"]
110123

111124
# Older stable releases
112125

126+
# Composer dependencies for linting and testing
127+
- package-ecosystem: composer
128+
target-branch: stable32
129+
directories:
130+
- "/"
131+
- "/vendor-bin/behat"
132+
- "/vendor-bin/cs-fixer"
133+
- "/vendor-bin/openapi-extractor"
134+
- "/vendor-bin/phpunit"
135+
- "/vendor-bin/psalm"
136+
schedule:
137+
interval: weekly
138+
day: saturday
139+
time: "04:30"
140+
timezone: Europe/Paris
141+
labels:
142+
- "3. to review"
143+
- "feature: dependencies"
144+
ignore:
145+
# only patch updates on stable branches
146+
- dependency-name: "*"
147+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
148+
149+
# frontend dependencies
150+
- package-ecosystem: npm
151+
target-branch: stable32
152+
directory: "/"
153+
schedule:
154+
interval: weekly
155+
day: saturday
156+
time: "04:30"
157+
timezone: Europe/Paris
158+
open-pull-requests-limit: 20
159+
labels:
160+
- "3. to review"
161+
- "feature: dependencies"
162+
# Disable automatic rebasing because without a build CI will likely fail anyway
163+
rebase-strategy: "disabled"
164+
ignore:
165+
# no major updates on stable branches
166+
- dependency-name: "*"
167+
update-types: ["version-update:semver-major"]
168+
113169
# Composer dependencies for linting and testing
114170
- package-ecosystem: composer
115171
target-branch: stable31

.github/workflows/autocheckers.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ jobs:
5252

5353
steps:
5454
- name: Checkout server
55-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
55+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5656
with:
5757
persist-credentials: false
5858
submodules: true
5959

6060
- name: Set up php ${{ matrix.php-versions }}
61-
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
61+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
62+
timeout-minutes: 5
6263
with:
6364
php-version: ${{ matrix.php-versions }}
6465
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -81,13 +82,14 @@ jobs:
8182

8283
steps:
8384
- name: Checkout server
84-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
85+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8586
with:
8687
persist-credentials: false
8788
submodules: true
8889

8990
- name: Set up php ${{ matrix.php-versions }}
90-
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
91+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
92+
timeout-minutes: 5
9193
with:
9294
php-version: ${{ matrix.php-versions }}
9395
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite

.github/workflows/block-outdated-3rdparty.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- 'version.php'
3232
3333
- name: Checkout
34-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
34+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3535
with:
3636
persist-credentials: false
3737

.github/workflows/block-unconventional-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
30+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3131
with:
3232
persist-credentials: false
3333

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ jobs:
3232
build-mode: none
3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
35+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3636
with:
3737
persist-credentials: false
3838

3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
40+
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
4141
with:
4242
languages: ${{ matrix.language }}
4343
build-mode: ${{ matrix.build-mode }}
4444
config-file: ./.github/codeql-config.yml
4545

4646
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
47+
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
4848
with:
4949
category: "/language:${{matrix.language}}"

.github/workflows/command-compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
key: git-repo
104104

105105
- name: Checkout ${{ needs.init.outputs.head_ref }}
106-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
106+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
107107
with:
108108
# Needed to allow force push later
109109
persist-credentials: true
@@ -124,7 +124,7 @@ jobs:
124124
fallbackNpm: '^11.3'
125125

126126
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
127-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
127+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
128128
with:
129129
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
130130
cache: npm

.github/workflows/command-pull-3rdparty.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: comment-branch
3939

4040
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
41-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
41+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4242
with:
4343
persist-credentials: false
4444
fetch-depth: 0

.github/workflows/cypress.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
exit 1
4949
5050
- name: Checkout server
51-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
51+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5252
with:
5353
persist-credentials: false
5454
# We need to checkout submodules for 3rdparty
@@ -72,7 +72,7 @@ jobs:
7272
fallbackNpm: '^11.3'
7373

7474
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
75-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
75+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
7676
with:
7777
node-version: ${{ steps.versions.outputs.nodeVersion }}
7878

@@ -160,7 +160,7 @@ jobs:
160160
path: ./
161161

162162
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
163-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
163+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
164164
with:
165165
node-version: ${{ needs.init.outputs.nodeVersion }}
166166

@@ -171,7 +171,7 @@ jobs:
171171
run: ./node_modules/cypress/bin/cypress install
172172

173173
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
174-
uses: cypress-io/github-action@7ef72e250a9e564efb4ed4c2433971ada4cc38b4 # v6.10.4
174+
uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8
175175
with:
176176
# We already installed the dependencies in the init job
177177
install: false
@@ -195,7 +195,7 @@ jobs:
195195
SETUP_TESTING: ${{ matrix.containers == 'setup' && 'true' || '' }}
196196

197197
- name: Upload snapshots and videos
198-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
198+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
199199
if: always()
200200
with:
201201
name: snapshots_${{ matrix.containers }}
@@ -218,7 +218,7 @@ jobs:
218218
run: docker exec nextcloud-e2e-test-server_${{ env.APP_NAME }} tar -cvjf - data > data.tar
219219

220220
- name: Upload data archive
221-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
221+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
222222
if: failure() && matrix.containers != 'component'
223223
with:
224224
name: nc_data_${{ matrix.containers }}

.github/workflows/files-external-ftp.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-ftp:
4050
runs-on: ubuntu-latest
@@ -55,7 +65,7 @@ jobs:
5565

5666
steps:
5767
- name: Checkout server
58-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
68+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5969
with:
6070
persist-credentials: false
6171
submodules: true
@@ -71,7 +81,8 @@ jobs:
7181
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
7282
7383
- name: Set up php ${{ matrix.php-versions }}
74-
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
84+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 #v2.36.0
85+
timeout-minutes: 5
7586
with:
7687
php-version: ${{ matrix.php-versions }}
7788
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -104,14 +115,14 @@ jobs:
104115

105116
- name: Upload code coverage
106117
if: ${{ !cancelled() && matrix.coverage }}
107-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
118+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
108119
with:
109120
files: ./clover.xml
110121
flags: phpunit-files-external-ftp
111122

112123
- name: Upload test results
113124
if: ${{ !cancelled() }}
114-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
125+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
115126
with:
116127
flags: phpunit-files-external-ftp
117128

0 commit comments

Comments
 (0)