Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 783fdd9

Browse files
authored
Merge branch 'nextcloud:master' into master
2 parents 91ff45d + 705494a commit 783fdd9

File tree

1,516 files changed

+20676
-11405
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,516 files changed

+20676
-11405
lines changed

.drone.yml

+6-363
Large diffs are not rendered by default.

.github/CODEOWNERS

+8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
*/Activity/* @nickvergessen
22
*/Notifications/* @nickvergessen
3+
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
4+
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
5+
6+
# Two-Factor Authentication
7+
# https://github.com/nextcloud/wg-two-factor-authentication#members
8+
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
9+
*/TwoFactorAuth/* @ChristophWurst @miaulalala @nickvergessen
10+
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen

.github/dependabot.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ updates:
6262
day: saturday
6363
time: "03:00"
6464
timezone: Europe/Paris
65-
target-branch: stable20
65+
target-branch: stable21
6666
labels:
6767
- "3. to review"
6868
- "feature: dependencies"
@@ -80,7 +80,7 @@ updates:
8080
day: saturday
8181
time: "03:00"
8282
timezone: Europe/Paris
83-
target-branch: stable21
83+
target-branch: stable22
8484
labels:
8585
- "3. to review"
8686
- "feature: dependencies"
@@ -98,7 +98,7 @@ updates:
9898
day: saturday
9999
time: "03:00"
100100
timezone: Europe/Paris
101-
target-branch: stable22
101+
target-branch: stable23
102102
labels:
103103
- "3. to review"
104104
- "feature: dependencies"
@@ -117,7 +117,7 @@ updates:
117117
day: saturday
118118
time: "03:00"
119119
timezone: Europe/Paris
120-
target-branch: stable20
120+
target-branch: stable21
121121
labels:
122122
- "3. to review"
123123
- "feature: dependencies"
@@ -135,7 +135,7 @@ updates:
135135
day: saturday
136136
time: "03:00"
137137
timezone: Europe/Paris
138-
target-branch: stable21
138+
target-branch: stable22
139139
labels:
140140
- "3. to review"
141141
- "feature: dependencies"
@@ -153,7 +153,7 @@ updates:
153153
day: saturday
154154
time: "03:00"
155155
timezone: Europe/Paris
156-
target-branch: stable22
156+
target-branch: stable23
157157
labels:
158158
- "3. to review"
159159
- "feature: dependencies"

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
php-versions: ['7.3', '7.4', '8.0']
9+
php-versions: ['7.3', '7.4', '8.0', '8.1']
1010
name: php${{ matrix.php-versions }} lint
1111
steps:
1212
- name: Checkout

.github/workflows/oci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php-versions: [ '7.3', '7.4', '8.0' ]
17+
php-versions: [ '7.3', '7.4', '8.0', '8.1']
1818
databases: [ 'oci' ]
1919

2020
name: php${{ matrix.php-versions }}-${{ matrix.databases }}
@@ -40,7 +40,7 @@ jobs:
4040
uses: shivammathur/setup-php@v2
4141
with:
4242
php-version: ${{ matrix.php-versions }}
43-
extensions: ctype,curl,dom,fileinfo,gd,iconv,imagick,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
43+
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
4444
tools: phpunit:9
4545
coverage: none
4646

.github/workflows/s3-external.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
php-version: ${{ matrix.php-versions }}
4747
tools: phpunit
48-
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
48+
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
4949

5050
- name: Set up Nextcloud
5151
run: |
@@ -94,7 +94,7 @@ jobs:
9494
with:
9595
php-version: ${{ matrix.php-versions }}
9696
tools: phpunit
97-
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
97+
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
9898

9999
- name: Set up Nextcloud
100100
run: |
+16-9
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
name: Update Psalm baseline
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '5 4 * * *'
67

78
jobs:
89
update-psalm-baseline:
910
runs-on: ubuntu-latest
11+
1012
steps:
1113
- uses: actions/checkout@v2
12-
- name: Checkout submodules
13-
shell: bash
14-
run: |
15-
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
16-
git submodule sync --recursive
17-
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
14+
with:
15+
submodules: true
16+
1817
- name: Set up php7.4
19-
uses: shivammathur/setup-php@master
18+
uses: shivammathur/setup-php@v2
2019
with:
2120
php-version: 7.4
22-
extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
21+
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
2322
coverage: none
23+
2424
- name: Composer install
2525
run: composer install
26+
2627
- name: Psalm
2728
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
29+
continue-on-error: true
30+
2831
- name: Reset composer
2932
run: |
3033
git clean -f lib/composer
3134
git checkout composer.json composer.lock lib/composer
35+
3236
- name: Create Pull Request
3337
uses: peter-evans/create-pull-request@v3
3438
with:
@@ -38,9 +42,12 @@ jobs:
3842
author: nextcloud-command <[email protected]>
3943
signoff: true
4044
branch: automated/noid/psalm-baseline-update
45+
# Make sure we can open multiple PRs
46+
branch-suffix: timestamp
4147
title: '[Automated] Update psalm-baseline.xml'
4248
body: |
4349
Auto-generated update psalm-baseline.xml with fixed psalm warnings
4450
labels: |
4551
automated pr
46-
reviewers: juliushaertl, artonge, kesselb
52+
3. to review
53+
team-reviewers: server-backend

.htaccess

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</IfModule>
4444

4545
# Add cache control for static resources
46-
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico)$">
46+
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
4747
Header set Cache-Control "max-age=15778463"
4848
</FilesMatch>
4949

@@ -75,6 +75,7 @@
7575

7676
<IfModule mod_mime.c>
7777
AddType image/svg+xml svg svgz
78+
AddType application/wasm wasm
7879
AddEncoding gzip svgz
7980
</IfModule>
8081

3rdparty

Submodule 3rdparty updated 701 files

apps/accessibility/appinfo/info.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>Accessibility</name>
66
<summary>Accessibility options for nextcloud</summary>
77
<description><![CDATA[Provides multiple accessibilities options to ease your use of Nextcloud]]></description>
8-
<version>1.9.0</version>
8+
<version>1.10.0</version>
99
<licence>agpl</licence>
1010
<author>John Molakvoæ</author>
1111
<namespace>Accessibility</namespace>
@@ -16,7 +16,7 @@
1616
<bugs>https://github.com/nextcloud/server/issues</bugs>
1717

1818
<dependencies>
19-
<nextcloud min-version="23" max-version="23"/>
19+
<nextcloud min-version="24" max-version="24"/>
2020
</dependencies>
2121

2222
<repair-steps>

apps/accessibility/composer/composer/InstalledVersions.php

+13
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,21 @@
2424
*/
2525
class InstalledVersions
2626
{
27+
/**
28+
* @var mixed[]|null
29+
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
30+
*/
2731
private static $installed;
32+
33+
/**
34+
* @var bool|null
35+
*/
2836
private static $canGetVendors;
37+
38+
/**
39+
* @var array[]
40+
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
41+
*/
2942
private static $installedByVendor = array();
3043

3144
/**

apps/accessibility/composer/composer/installed.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'type' => 'library',
66
'install_path' => __DIR__ . '/../',
77
'aliases' => array(),
8-
'reference' => '7239b3d560b52ed604484a0a549dd5805e3f21e4',
8+
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
99
'name' => '__root__',
1010
'dev' => false,
1111
),
@@ -16,7 +16,7 @@
1616
'type' => 'library',
1717
'install_path' => __DIR__ . '/../',
1818
'aliases' => array(),
19-
'reference' => '7239b3d560b52ed604484a0a549dd5805e3f21e4',
19+
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
2020
'dev_requirement' => false,
2121
),
2222
),

apps/accessibility/js/accessibility.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/accessibility/js/accessibility.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)