Skip to content

Commit 8024c70

Browse files
authored
Merge branch 'nextcloud:master' into nmc/2027-custom-build
2 parents c3a91af + 6dab523 commit 8024c70

File tree

7,370 files changed

+75833
-131139
lines changed

Some content is hidden

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

7,370 files changed

+75833
-131139
lines changed

.devcontainer/Dockerfile

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:noble
22

33
ARG DEBIAN_FRONTEND=noninteractive
44

@@ -7,29 +7,29 @@ RUN apt-get update -y && \
77
apt install -y apache2 vim software-properties-common sudo nano gnupg2
88

99
RUN apt-get install --no-install-recommends -y \
10-
php8.1 \
11-
php8.1-common \
12-
php8.1-gd \
13-
php8.1-zip \
14-
php8.1-curl \
15-
php8.1-xml \
16-
php8.1-xmlrpc \
17-
php8.1-mbstring \
18-
php8.1-sqlite \
19-
php8.1-xdebug \
20-
php8.1-pgsql \
21-
php8.1-intl \
22-
php8.1-imagick \
23-
php8.1-gmp \
24-
php8.1-apcu \
25-
php8.1-bcmath \
26-
php8.1-redis \
27-
php8.1-soap \
28-
php8.1-imap \
29-
php8.1-opcache \
30-
php8.1-cli \
31-
php8.1-dev \
32-
libmagickcore-6.q16-3-extra \
10+
php8.3 \
11+
php8.3-common \
12+
php8.3-gd \
13+
php8.3-zip \
14+
php8.3-curl \
15+
php8.3-xml \
16+
php8.3-xmlrpc \
17+
php8.3-mbstring \
18+
php8.3-sqlite \
19+
php8.3-xdebug \
20+
php8.3-pgsql \
21+
php8.3-intl \
22+
php8.3-imagick \
23+
php8.3-gmp \
24+
php8.3-apcu \
25+
php8.3-bcmath \
26+
php8.3-redis \
27+
php8.3-soap \
28+
php8.3-imap \
29+
php8.3-opcache \
30+
php8.3-cli \
31+
php8.3-dev \
32+
libmagickcore-6.q16-7-extra \
3333
curl \
3434
lsof \
3535
make \
@@ -42,15 +42,15 @@ RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
4242
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
4343
rm /tmp/composer-setup.php /tmp/composer-setup.sig
4444

45-
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
46-
echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
47-
echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini
45+
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.3/cli/conf.d/20-xdebug.ini && \
46+
echo "xdebug.remote_autostart = 1" >> /etc/php/8.3/cli/conf.d/20-xdebug.ini && \
47+
echo "apc.enable_cli=1" >> /etc/php/8.3/cli/conf.d/20-apcu.ini
4848

4949
# Autostart XDebug for apache
5050
RUN { \
5151
echo "xdebug.mode=debug"; \
5252
echo "xdebug.start_with_request=yes"; \
53-
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini
53+
} >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini
5454

5555
# Docker
5656
RUN apt-get -y install \

.devcontainer/Dockerfile.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
2+
SPDX-License-Identifier: AGPL-3.0-or-later

.devcontainer/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
# Nextcloud DevContainer
26

37
## Usage
48

59
Make sure you have the [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers) extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use <kbd>F1</kbd>&rarr;*Dev Containers: Open Folder in Container*.
610

7-
Alternatively open the project directly in [GitHub Codespaces](https://github.com/features/codespaces).
11+
Alternatively open the project directly in [GitHub Codespaces](https://github.com/codespaces/new?hide_repo_select=true&ref=master&repo=60243197&skip_quickstart=true).
812

913
That's already it. Everything else will be configured automatically by the Containers startup routine.
1014

@@ -69,4 +73,4 @@ any other user.
6973
The Apache webserver is already configured to automatically try to connect to a debugger process
7074
listening on port `9003`. To start the VSCode debugger process, use the delivered debug profile `Listen for XDebug`.
7175
After you started the VSCode debugger, just navigate to the appropriate Nextcloud URL to get your
72-
debug hits.
76+
debug hits.

.devcontainer/codespace.config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
/**
4+
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
*/
37
$codespaceName = getenv('CODESPACE_NAME');
48
$codespaceDomain = getenv('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN');
59

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
2+
SPDX-License-Identifier: AGPL-3.0-or-later

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
version: '3'
24
services:
35
nextclouddev:

.devcontainer/entrypoint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
2-
2+
#
3+
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
#
36
sudo service apache2 start
47

58
while sleep 1000; do :; done

.devcontainer/launch.json.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
2+
SPDX-License-Identifier: AGPL-3.0-or-later

.devcontainer/postStart.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
2-
2+
#
3+
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
#
36
# Set git safe.directory
47
git config --global --add safe.directory /var/www/html
58
git config --global --add safe.directory /var/www/html/3rdparty

.devcontainer/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
#
3+
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
#
26
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
37

48
cd $DIR/

.drone.yml

Lines changed: 12 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@
22
kind: pipeline
33
name: litmus
44

5+
# SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
6+
# SPDX-License-Identifier: AGPL-3.0-or-later
7+
58
steps:
69
- name: submodules
710
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
811
commands:
912
- git submodule update --init
1013
- name: litmus-v1
11-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
14+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
1215
commands:
1316
- bash tests/travis/install.sh sqlite
1417
- bash apps/dav/tests/travis/litmus-v1/script.sh
1518
- name: litmus-v2
16-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
19+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
1720
commands:
1821
- bash tests/travis/install.sh sqlite
1922
- bash apps/dav/tests/travis/litmus-v2/script.sh
@@ -36,7 +39,7 @@ steps:
3639
commands:
3740
- git submodule update --init
3841
- name: caldavtester-new-endpoint
39-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
42+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
4043
commands:
4144
- bash tests/travis/install.sh sqlite
4245
- bash apps/dav/tests/travis/caldav/install.sh
@@ -60,7 +63,7 @@ steps:
6063
commands:
6164
- git submodule update --init
6265
- name: caldavtester-old-endpoint
63-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
66+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
6467
commands:
6568
- bash tests/travis/install.sh sqlite
6669
- bash apps/dav/tests/travis/caldav/install.sh
@@ -84,7 +87,7 @@ steps:
8487
commands:
8588
- git submodule update --init
8689
- name: carddavtester-new-endpoint
87-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
90+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
8891
commands:
8992
- bash tests/travis/install.sh sqlite
9093
- bash apps/dav/tests/travis/carddav/install.sh
@@ -108,7 +111,7 @@ steps:
108111
commands:
109112
- git submodule update --init
110113
- name: carddavtester-old-endpoint
111-
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
114+
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest
112115
commands:
113116
- bash tests/travis/install.sh sqlite
114117
- bash apps/dav/tests/travis/carddav/install.sh
@@ -122,46 +125,8 @@ trigger:
122125
- pull_request
123126
- push
124127

125-
---
126-
kind: pipeline
127-
name: samba
128-
129-
steps:
130-
- name: submodules
131-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
132-
commands:
133-
- git submodule update --init
134-
- name: sqlite-php8.0-samba-native
135-
image: ghcr.io/nextcloud/continuous-integration-samba-native-php8.0:latest
136-
commands:
137-
- smbd -D -FS &
138-
- ./autotest-external.sh sqlite smb-linux
139-
- wget https://codecov.io/bash -O codecov.sh
140-
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
141-
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
142-
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
143-
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
144-
# Temporarily disabled because it times out for unknown reasons 98% of the time
145-
#- name: sqlite-php8.0-samba-non-native
146-
# image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php8.0:latest
147-
# commands:
148-
# - smbd -D -FS &
149-
# - ./autotest-external.sh sqlite smb-linux
150-
# - wget https://codecov.io/bash -O codecov.sh
151-
# - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
152-
# - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
153-
# - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
154-
# - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
155-
156-
trigger:
157-
branch:
158-
- master
159-
- stable*
160-
event:
161-
- pull_request
162-
- push
163-
164-
165128
---
166129
kind: signature
167-
hmac: e34c8c2ca36355a8dcaf01c7bd14c53bd42d25a4d631533e2c8109e2690c2a98
130+
hmac: 06ddea3f1885983230fcc996e805245357ac90e39599ed11a70161a7c09746d7
131+
132+
...

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# https://editorconfig.org
22

3+
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
36
root = true
47

58
[*]

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
# Ignoring folders for eslint
24
node_modules/
35
3rdparty/

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
15
module.exports = {
26
globals: {
37
__webpack_nonce__: true,

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
/dist/* binary
24
/package-lock.json merge=binary
35
/core/css/*.css* binary

.github/CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
## Submitting issues
26

37
If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc].

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
custom: https://nextcloud.com/include/

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
name: "Bug report: Nextcloud Server"
1+
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
name: "🐛 Bug report: Nextcloud Server"
24
description: "Submit a report and help us improve Nextcloud Server"
35
title: "[Bug]: "
46
labels: ["bug", "0. Needs triage"]
@@ -9,6 +11,14 @@ body:
911
### 👍 Thank you for contributing to our project!
1012
Please note this is a **free and open-source** project. Most people take on their own time to help you, so please, be patient.
1113
You can obtain [Enterprise support](https://nextcloud.com/support/) if you run Nextcloud Server in a mission critical environment.
14+
- type: markdown
15+
attributes:
16+
value: |
17+
### 🚨 SECURITY INFO
18+
If you are reporting a security concern, please report it via [our HackerOne page](https://hackerone.com/nextcloud) instead and review our [security policy](https://nextcloud.com/security/).
19+
This allows us to coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
20+
It also may qualify your report for a bug bounty reward.
21+
Thank you for helping make Nextcloud more secure!
1222
- type: checkboxes
1323
id: before-posting
1424
attributes:
@@ -38,7 +48,7 @@ body:
3848
label: Steps to reproduce
3949
description: |
4050
Describe the steps to reproduce the bug.
41-
The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ answer.
51+
The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ answer.
4252
value: |
4353
1.
4454
2.
@@ -76,9 +86,9 @@ body:
7686
Select Nextcloud Server version.
7787
_Versions not listed here are not maintained and not supported anymore_
7888
options:
79-
- "26"
8089
- "27"
8190
- "28"
91+
- "29"
8292
- "master"
8393
validations:
8494
required: true
@@ -197,7 +207,7 @@ body:
197207
Provide Nextcloud Signing status.
198208
First, login as Admin user into your Nextcloud, then access this URL:
199209
```shell
200-
https://yournextcloud.tld/index.php/settings/integrity/failed
210+
https://yournextcloud.tld/index.php/settings/integrity/failed
201211
```
202212
> NOTE: This will be automatically formatted into code for better readability.
203213
render: shell
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
2+
SPDX-License-Identifier: AGPL-3.0-or-later

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
blank_issues_enabled: false
1+
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
23
contact_links:
4+
- name: 🚨 Report a security or privacy issue
5+
url: https://hackerone.com/nextcloud
6+
about: Report security and privacy related issues privately to the Nextcloud team, so we can coordinate the fix and release without potentially exposing all Nextcloud servers and users in the meantime.
37
- name: ❓ Community Support and Help
48
url: https://help.nextcloud.com/
59
about: Configuration, webserver/proxy or performance issues and other questions

.github/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
firstPRMergeComment: >
24
Thanks for your first pull request and welcome to the community!
35
Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

0 commit comments

Comments
 (0)