Skip to content

Commit cd6bb24

Browse files
Merge pull request #190 from IONOS-Productivity/mk/dev/update-to-v31.0.6-with-submodules
update to v31.0.6 with submodules
2 parents 7e474f1 + 01c2817 commit cd6bb24

5,830 files changed

Lines changed: 146247 additions & 137876 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.

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
watch_file lib/versioncheck.php
2+
watch_file package.json
3+
use flake

.eslintrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ module.exports = {
3535
jsdoc: {
3636
mode: 'typescript',
3737
},
38+
'import/resolver': {
39+
typescript: {}, // this loads <rootdir>/tsconfig.json to eslint
40+
},
3841
},
3942
overrides: [
4043
// Allow any in tests
@@ -43,6 +46,6 @@ module.exports = {
4346
rules: {
4447
'@typescript-eslint/no-explicit-any': 'warn',
4548
},
46-
}
49+
},
4750
],
4851
}

.git-blame-ignore-revs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,16 @@
22

33
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
44
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
6+
# Format control structures
7+
caff1023ea72bb2ea94130e18a2a6e2ccf819e5f
8+
# Update to coding-standard 1.1.1
9+
aa5f037af71c915424c6dcfd5ad2dc82797dc0d6
10+
# Update to coding-standard 1.2.3
11+
af6de04e9e141466dc229e444ff3f146f4a34765
12+
0bd284cb81b6866338aaaa67aa1d81ef9bfbb2ab
13+
8af7ecb2576071f170ecbb0aa2311b26581e40e2
14+
# Update to coding-standard 1.3.1
15+
9836e9b16484582d309c8437ab46d82e34956941
16+
# Automated refactorings
17+
49dd79eabb2b8902559a7a4e8f8fcad54f46b604

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
/apps/files_trashbin/src* @skjnldsv
4242

4343
# Security team
44+
/build/psalm-baseline-security.xml @nickvergessen
4445
/resources/codesigning @mgallien @miaulalala @nickvergessen
4546
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
46-
/.drone.yml @nickvergessen
4747

4848
# Two-Factor Authentication
4949
# https://github.com/nextcloud/wg-two-factor-authentication#members
@@ -70,8 +70,8 @@ ResponseDefinitions.php @provokateurin
7070
/lib/public/UserStatus @nickvergessen
7171

7272
# Groupware
73-
/build/integration/dav_features/caldav.feature @miaulalala @st3iny @SebastianKrupinski
74-
/build/integration/dav_features/carddav.feature @miaulalala @st3iny @SebastianKrupinski
73+
/build/integration/dav_features/caldav.feature @st3iny @SebastianKrupinski
74+
/build/integration/dav_features/carddav.feature @st3iny @SebastianKrupinski
7575

7676
# Personal interest
7777
*/Activity/* @nickvergessen

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In some areas unit testing is hard (aka almost impossible) as of today - in thes
4848

4949
### Sign your work
5050

51-
We use the Developer Certificate of Origin (DCO) as a additional safeguard
51+
We use the Developer Certificate of Origin (DCO) as an additional safeguard
5252
for the Nextcloud project. This is a well established and widely used
5353
mechanism to assure contributors have confirmed their right to license
5454
their contribution under the project's license.

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,6 @@ body:
6262
description: Describe what you expected to happen instead.
6363
validations:
6464
required: true
65-
- type: dropdown
66-
id: install-method
67-
attributes:
68-
label: Installation method
69-
description: |
70-
Select installation method you've used.
71-
_Describe the method in the "Additional info" section if you chose "Other"._
72-
options:
73-
- "Community Web installer on a VPS or web space"
74-
- "Community Manual installation with Archive"
75-
- "Community Docker image"
76-
- "Community NextcloudPi appliance"
77-
- "Community SNAP package"
78-
- "Community VM appliance"
79-
- "Other Community project"
80-
- "Official All-in-One appliance"
8165
- type: dropdown
8266
id: nextcloud-version
8367
attributes:
@@ -88,6 +72,7 @@ body:
8872
options:
8973
- "28"
9074
- "29"
75+
- "30"
9176
- "master"
9277
validations:
9378
required: true
@@ -110,10 +95,10 @@ body:
11095
Select PHP engine version serving Nextcloud Server.
11196
_Describe in the "Additional info" section if you chose "Other"._
11297
options:
113-
- "PHP 8.0"
114-
- "PHP 8.1"
115-
- "PHP 8.2"
11698
- "PHP 8.3"
99+
- "PHP 8.2"
100+
- "PHP 8.1"
101+
- "PHP 8.0"
117102
- "Other"
118103
- type: dropdown
119104
id: webserver
@@ -183,7 +168,7 @@ body:
183168
./occ config:list system
184169
```
185170
> NOTE: This will be automatically formatted into code for better readability.
186-
render: shell
171+
render: json
187172
- type: textarea
188173
id: apps
189174
attributes:
@@ -215,10 +200,10 @@ body:
215200
attributes:
216201
label: Nextcloud Logs
217202
description: |
218-
Provide Nextcloud logs lines.
219-
Copy all contents from `data/nextcloud.log` or a RAW from `/settings/admin/logging` section:
203+
Provide relevant Nextcloud log entries (e.g. from the time period you reproduced the problem).
204+
Copy full individual entries from `data/nextcloud.log` or use `Copy raw entry` from `/settings/admin/logging` section:
220205
> NOTE: This will be automatically formatted into code for better readability.
221-
render: shell
206+
render: json
222207
- type: textarea
223208
id: additional-info
224209
attributes:

.github/dependabot.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,25 @@ updates:
152152
# Disable automatic rebasing because without a build CI will likely fail anyway
153153
rebase-strategy: "disabled"
154154

155+
- package-ecosystem: npm
156+
directory: "/"
157+
schedule:
158+
interval: weekly
159+
day: saturday
160+
time: "03:00"
161+
timezone: Europe/Paris
162+
target-branch: stable30
163+
labels:
164+
- "3. to review"
165+
- "feature: dependencies"
166+
reviewers:
167+
- "nextcloud/server-dependabot"
168+
ignore:
169+
- dependency-name: "*"
170+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
171+
# Disable automatic rebasing because without a build CI will likely fail anyway
172+
rebase-strategy: "disabled"
173+
155174
- package-ecosystem: composer
156175
directory: "/build/integration"
157176
schedule:
@@ -188,6 +207,24 @@ updates:
188207
- dependency-name: "*"
189208
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
190209

210+
- package-ecosystem: composer
211+
directory: "/build/integration"
212+
schedule:
213+
interval: weekly
214+
day: saturday
215+
time: "03:00"
216+
timezone: Europe/Paris
217+
target-branch: stable30
218+
labels:
219+
- "3. to review"
220+
- "feature: dependencies"
221+
reviewers:
222+
- "nextcloud/server-dependabot"
223+
ignore:
224+
# ignore all GitHub linguist patch updates
225+
- dependency-name: "*"
226+
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
227+
191228
# GitHub Actions
192229
- package-ecosystem: "github-actions"
193230
directory: "/"

.github/workflows/autocheckers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
submodules: true
5858

5959
- name: Set up php ${{ matrix.php-versions }}
60-
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
60+
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
6161
with:
6262
php-version: ${{ matrix.php-versions }}
6363
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-merge-eol.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,22 @@ jobs:
2727

2828
steps:
2929
- name: Set server major version environment
30-
run: |
31-
# retrieve version number from branch reference
32-
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
33-
echo "server_major=$server_major" >> $GITHUB_ENV
34-
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV
35-
36-
- name: Checking if ${{ env.server_major }} is EOL
30+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
31+
with:
32+
github-token: ${{secrets.GITHUB_TOKEN}}
33+
script: |
34+
const regex = /^stable(\d+)$/
35+
const baseRef = context.payload.pull_request.base.ref
36+
const match = baseRef.match(regex)
37+
if (match) {
38+
console.log('Setting server_major to ' + match[1]);
39+
core.exportVariable('server_major', match[1]);
40+
console.log('Setting current_month to ' + (new Date()).toISOString().substr(0, 7));
41+
core.exportVariable('current_month', (new Date()).toISOString().substr(0, 7));
42+
}
43+
44+
- name: Checking if server ${{ env.server_major }} is EOL
45+
if: ${{ env.server_major != '' }}
3746
run: |
3847
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \
3948
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \

.github/workflows/block-merge-freeze.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,30 @@ jobs:
2828
runs-on: ubuntu-latest-low
2929

3030
steps:
31-
- name: Download version.php from ${{ github.base_ref }}
32-
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php' --output version.php
31+
- name: Register server reference to fallback to master branch
32+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
33+
with:
34+
github-token: ${{secrets.GITHUB_TOKEN}}
35+
script: |
36+
const baseRef = context.payload.pull_request.base.ref
37+
if (baseRef === 'main' || baseRef === 'master') {
38+
core.exportVariable('server_ref', 'master');
39+
console.log('Setting server_ref to master');
40+
} else {
41+
const regex = /^stable(\d+)$/
42+
const match = baseRef.match(regex)
43+
if (match) {
44+
core.exportVariable('server_ref', match[0]);
45+
console.log('Setting server_ref to ' + match[0]);
46+
} else {
47+
console.log('Not based on master/main/stable*, so skipping freeze check');
48+
}
49+
}
50+
51+
- name: Download version.php from ${{ env.server_ref }}
52+
if: ${{ env.server_ref != '' }}
53+
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ env.server_ref }}/version.php' --output version.php
3354

3455
- name: Run check
56+
if: ${{ env.server_ref != '' }}
3557
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'

0 commit comments

Comments
 (0)