Skip to content

Commit cd583c1

Browse files
authored
Merge branch 'master' into nmc/issues/39461-devcontainer-arm
2 parents aefda25 + c983f5f commit cd583c1

File tree

3,089 files changed

+90081
-79036
lines changed

Some content is hidden

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

3,089 files changed

+90081
-79036
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"dockerComposeFile": "docker-compose.yml",
44
"service": "nextclouddev",
55
"postCreateCommand": ".devcontainer/setup.sh",
6+
"postStartCommand": ".devcontainer/postStart.sh",
67
"forwardPorts": [
78
80,
89
8080,

.devcontainer/postStart.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
# Set git safe.directory
4+
git config --global --add safe.directory /var/www/html
5+
git config --global --add safe.directory /var/www/html/3rdparty

.drone.yml

Lines changed: 1 addition & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,126 +1591,6 @@ trigger:
15911591
- pull_request
15921592
- push
15931593

1594-
---
1595-
kind: pipeline
1596-
name: acceptance-app-files
1597-
1598-
steps:
1599-
- name: submodules
1600-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1601-
commands:
1602-
- git submodule update --init
1603-
- name: acceptance-app-files
1604-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1605-
commands:
1606-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
1607-
1608-
services:
1609-
- name: selenium
1610-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1611-
environment:
1612-
# Reduce default log level for Selenium server (INFO) as it is too
1613-
# verbose.
1614-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1615-
1616-
trigger:
1617-
branch:
1618-
- master
1619-
- stable*
1620-
event:
1621-
- pull_request
1622-
- push
1623-
1624-
---
1625-
kind: pipeline
1626-
name: acceptance-app-files-sharing
1627-
1628-
steps:
1629-
- name: submodules
1630-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1631-
commands:
1632-
- git submodule update --init
1633-
- name: acceptance-app-files-sharing
1634-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1635-
commands:
1636-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
1637-
1638-
services:
1639-
- name: selenium
1640-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1641-
environment:
1642-
# Reduce default log level for Selenium server (INFO) as it is too
1643-
# verbose.
1644-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1645-
1646-
trigger:
1647-
branch:
1648-
- master
1649-
- stable*
1650-
event:
1651-
- pull_request
1652-
- push
1653-
1654-
---
1655-
kind: pipeline
1656-
name: acceptance-app-files-sharing-link
1657-
1658-
steps:
1659-
- name: submodules
1660-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1661-
commands:
1662-
- git submodule update --init
1663-
- name: acceptance-app-files-sharing-link
1664-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1665-
commands:
1666-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
1667-
1668-
services:
1669-
- name: selenium
1670-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1671-
environment:
1672-
# Reduce default log level for Selenium server (INFO) as it is too
1673-
# verbose.
1674-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1675-
1676-
trigger:
1677-
branch:
1678-
- master
1679-
- stable*
1680-
event:
1681-
- pull_request
1682-
- push
1683-
1684-
---
1685-
kind: pipeline
1686-
name: acceptance-app-files-tags
1687-
1688-
steps:
1689-
- name: submodules
1690-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1691-
commands:
1692-
- git submodule update --init
1693-
- name: acceptance-app-files-tags
1694-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1695-
commands:
1696-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
1697-
1698-
services:
1699-
- name: selenium
1700-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1701-
environment:
1702-
# Reduce default log level for Selenium server (INFO) as it is too
1703-
# verbose.
1704-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1705-
1706-
trigger:
1707-
branch:
1708-
- master
1709-
- stable*
1710-
event:
1711-
- pull_request
1712-
- push
1713-
17141594
---
17151595
kind: pipeline
17161596
name: acceptance-header
@@ -1741,36 +1621,6 @@ trigger:
17411621
- pull_request
17421622
- push
17431623

1744-
---
1745-
kind: pipeline
1746-
name: acceptance-login
1747-
1748-
steps:
1749-
- name: submodules
1750-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1751-
commands:
1752-
- git submodule update --init
1753-
- name: acceptance-login
1754-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1755-
commands:
1756-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
1757-
1758-
services:
1759-
- name: selenium
1760-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1761-
environment:
1762-
# Reduce default log level for Selenium server (INFO) as it is too
1763-
# verbose.
1764-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1765-
1766-
trigger:
1767-
branch:
1768-
- master
1769-
- stable*
1770-
event:
1771-
- pull_request
1772-
- push
1773-
17741624
---
17751625
kind: pipeline
17761626
name: acceptance-users
@@ -1998,4 +1848,4 @@ trigger:
19981848
- push
19991849
---
20001850
kind: signature
2001-
hmac: a5c0c1e40125b53ff88c617699710f3dc9685d80f06fd8f560b2662ccb1c3497
1851+
hmac: 6814dc276b076a391796f3639b27499592e974db8e5e7a4043a120ce215b78cd

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ indent_style = space
3131
[build/psalm-baseline.xml]
3232
indent_size = 2
3333
indent_style = space
34+
35+
[config/*config.php]
36+
indent_size = 2
37+
indent_style = space

.github/CODEOWNERS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
/apps/federation/appinfo/info.xml @datenangebot
1212
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @Fenn-CS
1313
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
14+
/apps/files_reminders/appinfo/info.xml @Pytal
1415
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
1516
/apps/files_trashbin/appinfo/info.xml @Pytal @icewind1991
1617
/apps/files_versions/appinfo/info.xml @artonge @icewind1991
1718
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
1819
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
1920
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
21+
/apps/sharebymail/appinfo/info.xml @Altahrim
2022
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
2123
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
2224
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
@@ -28,13 +30,32 @@
2830

2931
# Security team
3032
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
33+
/.drone.yml @nickvergessen
3134

3235
# Two-Factor Authentication
3336
# https://github.com/nextcloud/wg-two-factor-authentication#members
3437
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen @st3iny
3538
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
3639
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny
3740

41+
# Limit login to IP
42+
# Watch login routes for https://github.com/nextcloud/limit_login_to_ip
43+
/core/routes.php @Altahrim
44+
45+
# OpenAPI
46+
openapi.json @provokateurin
47+
ResponseDefinitions.php @provokateurin
48+
49+
# Talk team
50+
/lib/private/Comments @nickvergessen
51+
/lib/private/Federation @nickvergessen
52+
/lib/private/Talk @nickvergessen
53+
/lib/public/Comments @nickvergessen
54+
/lib/public/Federation @nickvergessen
55+
/lib/public/OCM @nickvergessen
56+
/lib/public/Talk @nickvergessen
57+
/lib/public/UserStatus @nickvergessen
58+
3859
# Personal interest
3960
*/Activity/* @nickvergessen
4061
*/Notifications/* @nickvergessen

.github/workflows/command-compile.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
require: write
2424

2525
- name: Add reaction on start
26-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
26+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
2727
with:
2828
token: ${{ secrets.COMMAND_BOT_PAT }}
2929
repository: ${{ github.event.repository.full_name }}
@@ -53,8 +53,14 @@ jobs:
5353
needs: init
5454

5555
steps:
56+
- name: Restore cached git repository
57+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
58+
with:
59+
path: .git
60+
key: git-repo
61+
5662
- name: Checkout ${{ needs.init.outputs.head_ref }}
57-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
63+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
5864
with:
5965
token: ${{ secrets.COMMAND_BOT_PAT }}
6066
fetch-depth: 0
@@ -66,14 +72,14 @@ jobs:
6672
git config --local user.name "nextcloud-command"
6773
6874
- name: Read package.json node and npm engines version
69-
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
75+
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
7076
id: package-engines-versions
7177
with:
72-
fallbackNode: '^16'
73-
fallbackNpm: '^7'
78+
fallbackNode: '^20'
79+
fallbackNpm: '^9'
7480

7581
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
76-
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
82+
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
7783
with:
7884
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
7985
cache: npm
@@ -82,6 +88,8 @@ jobs:
8288
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
8389

8490
- name: Install dependencies & build
91+
env:
92+
CYPRESS_INSTALL_BINARY: 0
8593
run: |
8694
npm ci
8795
npm run build --if-present
@@ -108,7 +116,7 @@ jobs:
108116
git push --force origin ${{ needs.init.outputs.head_ref }}
109117
110118
- name: Add reaction on failure
111-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
119+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
112120
if: failure()
113121
with:
114122
token: ${{ secrets.COMMAND_BOT_PAT }}

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,23 @@ jobs:
1818

1919
steps:
2020
- name: Add reaction on start
21-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa
21+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
2222
with:
2323
token: ${{ secrets.COMMAND_BOT_PAT }}
2424
repository: ${{ github.event.repository.full_name }}
2525
comment-id: ${{ github.event.comment.id }}
26-
reaction-type: "+1"
26+
reactions: "+1"
2727

28-
- name: Checkout the latest code
29-
uses: actions/checkout@v3
28+
- name: Init branch
29+
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
30+
id: comment-branch
31+
32+
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
33+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3034
with:
3135
fetch-depth: 0
3236
token: ${{ secrets.COMMAND_BOT_PAT }}
37+
ref: ${{ steps.comment-branch.outputs.head_ref }}
3338

3439
- name: Setup git
3540
run: |
@@ -46,10 +51,10 @@ jobs:
4651
git push
4752
4853
- name: Add reaction on failure
49-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa
54+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
5055
if: failure()
5156
with:
5257
token: ${{ secrets.COMMAND_BOT_PAT }}
5358
repository: ${{ github.event.repository.full_name }}
5459
comment-id: ${{ github.event.comment.id }}
55-
reaction-type: "-1"
60+
reactions: "-1"

.github/workflows/command-rebase.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323

2424
steps:
2525
- name: Add reaction on start
26-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
26+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
2727
with:
2828
token: ${{ secrets.COMMAND_BOT_PAT }}
2929
repository: ${{ github.event.repository.full_name }}
3030
comment-id: ${{ github.event.comment.id }}
3131
reaction-type: "+1"
3232

3333
- name: Checkout the latest code
34-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
34+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5.2
3535
with:
3636
fetch-depth: 0
3737
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -42,7 +42,7 @@ jobs:
4242
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
4343

4444
- name: Add reaction on failure
45-
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
45+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
4646
if: failure()
4747
with:
4848
token: ${{ secrets.COMMAND_BOT_PAT }}

0 commit comments

Comments
 (0)