Skip to content

Commit 14f72b0

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 44e512b + 0797fd8 commit 14f72b0

4,747 files changed

Lines changed: 51108 additions & 67480 deletions

File tree

Some content is hidden

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

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = {
2222
'plugin:cypress/recommended',
2323
],
2424
rules: {
25+
'comma-dangle': 'error',
2526
'no-tabs': 'warn',
2627
// TODO: make sure we fix this as this is bad vue coding style.
2728
// Use proper sync modifier
@@ -30,6 +31,7 @@ module.exports = {
3031
// allows custom xxxx:xxx events formats
3132
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
3233
}],
34+
'vue/html-self-closing': 'error',
3335
},
3436
settings: {
3537
jsdoc: {

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ af6de04e9e141466dc229e444ff3f146f4a34765
1717
49dd79eabb2b8902559a7a4e8f8fcad54f46b604
1818
# @nextcloud/vue import paths
1919
b06f5ba4c47450f355a8903c1a93ac68e8c6cfc2
20+
# Update to coding-standard 1.4.0
21+
5981b7eb512aa411f51cad541d01c5c6e93476f0

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ ResponseDefinitions.php @provokateurin @nextcloud/server-backend
9595
# Groupware
9696
/build/integration/dav_features/caldav.feature @st3iny @SebastianKrupinski @tcitworld
9797
/build/integration/dav_features/carddav.feature @hamza221 @SebastianKrupinski
98+
/lib/private/Calendar @st3iny @SebastianKrupinski @tcitworld
99+
/lib/private/Contacts @hamza221 @SebastianKrupinski
98100
/lib/public/Calendar @st3iny @SebastianKrupinski @tcitworld
99101
/lib/public/Contacts @hamza221 @SebastianKrupinski
100102

.github/workflows/autocheckers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
submodules: true
5959

6060
- name: Set up php ${{ matrix.php-versions }}
61-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
61+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
6262
with:
6363
php-version: ${{ matrix.php-versions }}
6464
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -87,7 +87,7 @@ jobs:
8787
submodules: true
8888

8989
- name: Set up php ${{ matrix.php-versions }}
90-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
90+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
9191
with:
9292
php-version: ${{ matrix.php-versions }}
9393
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/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
run: ./node_modules/cypress/bin/cypress install
175175

176176
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
177-
uses: cypress-io/github-action@be1bab96b388bbd9ce3887e397d373c8557e15af # v6.9.2
177+
uses: cypress-io/github-action@6c143abc292aa835d827652c2ea025d098311070 # v6.10.1
178178
with:
179179
# We already installed the dependencies in the init job
180180
install: false

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
4444

4545
strategy:
46-
# do not stop on another job's failure
4746
fail-fast: false
4847
matrix:
4948
php-versions: ['8.1', '8.4']
@@ -72,7 +71,7 @@ jobs:
7271
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
7372
7473
- name: Set up php ${{ matrix.php-versions }}
75-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
74+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
7675
with:
7776
php-version: ${{ matrix.php-versions }}
7877
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

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

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ jobs:
4343
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
4444

4545
strategy:
46+
fail-fast: false
4647
matrix:
47-
php-versions: ['8.1', '8.2', '8.3', '8.4']
48+
php-versions: ['8.1', '8.2', '8.4']
4849
include:
49-
- php-versions: '8.2'
50+
- php-versions: '8.3'
5051
coverage: ${{ github.event_name != 'pull_request' }}
5152

52-
name: php${{ matrix.php-versions }}-s3
53+
name: php${{ matrix.php-versions }}-s3-minio
5354

5455
services:
5556
minio:
@@ -69,7 +70,7 @@ jobs:
6970
submodules: true
7071

7172
- name: Set up php ${{ matrix.php-versions }}
72-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
73+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
7374
with:
7475
php-version: ${{ matrix.php-versions }}
7576
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -87,19 +88,19 @@ jobs:
8788
composer install
8889
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
8990
./occ app:enable --force files_external
90-
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
91+
echo "<?php return ['run' => true, 'minio' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
9192
9293
- name: Wait for S3
9394
run: |
94-
sleep 10
9595
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
9696
9797
- name: PHPUnit
98-
run: composer run test:files_external -- \
99-
apps/files_external/tests/Storage/Amazons3Test.php \
100-
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
101-
--log-junit junit.xml \
102-
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
98+
run: |
99+
composer run test:files_external -- \
100+
--group S3 \
101+
--log-junit junit.xml \
102+
apps/files_external/tests/Storage \
103+
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
103104
104105
- name: Upload code coverage
105106
if: ${{ !cancelled() && matrix.coverage }}
@@ -114,6 +115,11 @@ jobs:
114115
with:
115116
flags: phpunit-files-external-s3
116117

118+
- name: Nextcloud logs
119+
if: always()
120+
run: |
121+
cat data/nextcloud.log
122+
117123
- name: S3 logs
118124
if: always()
119125
run: |
@@ -128,19 +134,19 @@ jobs:
128134

129135
strategy:
130136
matrix:
131-
php-versions: ['8.1', '8.2', '8.3']
137+
php-versions: ['8.1', '8.2', '8.4']
132138
include:
133139
- php-versions: '8.3'
134-
coverage: true
140+
coverage: ${{ github.event_name != 'pull_request' }}
135141

136-
name: php${{ matrix.php-versions }}-s3
142+
name: php${{ matrix.php-versions }}-s3-localstack
137143

138144
services:
139145
localstack:
140146
env:
141147
SERVICES: s3
142148
DEBUG: 1
143-
image: localstack/localstack@sha256:b52c16663c70b7234f217cb993a339b46686e30a1a5d9279cb5feeb2202f837c # v4.4.0
149+
image: localstack/localstack@sha256:9d4253786e0effe974d77fe3c390358391a56090a4fff83b4600d8a64404d95d # v4.5.0
144150
ports:
145151
- "4566:4566"
146152

@@ -152,7 +158,7 @@ jobs:
152158
submodules: true
153159

154160
- name: Set up php ${{ matrix.php-versions }}
155-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
161+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
156162
with:
157163
php-version: ${{ matrix.php-versions }}
158164
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -167,14 +173,15 @@ jobs:
167173
composer install
168174
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
169175
./occ app:enable --force files_external
170-
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
176+
echo "<?php return ['run' => true, 'localstack' => true, 'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
171177
172178
- name: PHPUnit
173-
run: composer run test:files_external -- \
174-
apps/files_external/tests/Storage/Amazons3Test.php \
175-
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
176-
--log-junit junit.xml \
177-
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
179+
run: |
180+
composer run test:files_external -- \
181+
--group S3 \
182+
--log-junit junit.xml \
183+
apps/files_external/tests/Storage \
184+
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
178185
179186
- name: Upload code coverage
180187
if: ${{ !cancelled() && matrix.coverage }}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
4444

4545
strategy:
46-
# do not stop on another job's failure
4746
fail-fast: false
4847
matrix:
4948
php-versions: ['8.1', '8.4']
@@ -68,7 +67,7 @@ jobs:
6867
if [[ '${{ matrix.sftpd }}' == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp 'test:test:::data'; fi
6968
7069
- name: Set up php ${{ matrix.php-versions }}
71-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
70+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
7271
with:
7372
php-version: ${{ matrix.php-versions }}
7473
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
4444

4545
strategy:
46+
fail-fast: false
4647
matrix:
4748
php-versions: ['8.1']
4849
include:
@@ -65,7 +66,7 @@ jobs:
6566
submodules: true
6667

6768
- name: Set up php ${{ matrix.php-versions }}
68-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
69+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
6970
with:
7071
php-version: ${{ matrix.php-versions }}
7172
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -92,7 +93,7 @@ jobs:
9293
apps/files_external/tests/env/wait-for-connection 127.0.0.1 445 60
9394
9495
- name: PHPUnit
95-
run: composer run test:files_external -- --verbose \
96+
run: composer run test:files_external -- \
9697
apps/files_external/tests/Storage/SmbTest.php \
9798
--log-junit junit.xml \
9899
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
4444

4545
strategy:
46+
fail-fast: false
4647
matrix:
4748
php-versions: ['8.1', '8.2', '8.3', '8.4']
4849
include:
@@ -65,7 +66,7 @@ jobs:
6566
submodules: true
6667

6768
- name: Set up php ${{ matrix.php-versions }}
68-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0
69+
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e #v2.34.1
6970
with:
7071
php-version: ${{ matrix.php-versions }}
7172
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -89,7 +90,7 @@ jobs:
8990
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://test:pass@localhost:8081/webdav/
9091
9192
- name: PHPUnit
92-
run: composer run test:files_external -- --verbose \
93+
run: composer run test:files_external -- \
9394
apps/files_external/tests/Storage/WebdavTest.php \
9495
--log-junit junit.xml \
9596
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

0 commit comments

Comments
 (0)