Skip to content

Commit 6d79ece

Browse files
Merge branch 'master' into mrv/tfa-configuring
2 parents b817e45 + 9c3321c commit 6d79ece

File tree

4,386 files changed

+169775
-114320
lines changed

Some content is hidden

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

4,386 files changed

+169775
-114320
lines changed

.codecov.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.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

.devcontainer/setup.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
33

44
cd $DIR/
55

6-
# Set git safe.directory
7-
git config --global --add safe.directory /var/www/html
8-
git config --global --add safe.directory /var/www/html/3rdparty
9-
106
git submodule update --init
117

128
# Codespace config

.drone.yml

Lines changed: 5 additions & 271 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
kind: pipeline
23
name: checkers
34

@@ -1240,7 +1241,7 @@ steps:
12401241
commands:
12411242
# JavaScript files are not used in integration tests, so it is not needed to
12421243
# build them.
1243-
- git clone --depth 1 --branch master https://github.com/nextcloud/spreed apps/spreed
1244+
- git clone --depth 1 --branch main https://github.com/nextcloud/spreed apps/spreed
12441245
- cd apps/spreed
12451246
- composer --version
12461247
- composer self-update --2
@@ -1560,276 +1561,6 @@ trigger:
15601561
- pull_request
15611562
- push
15621563

1563-
---
1564-
kind: pipeline
1565-
name: acceptance-access-levels
1566-
1567-
steps:
1568-
- name: submodules
1569-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1570-
commands:
1571-
- git submodule update --init
1572-
- name: acceptance-access-levels
1573-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1574-
commands:
1575-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
1576-
1577-
services:
1578-
- name: selenium
1579-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1580-
environment:
1581-
# Reduce default log level for Selenium server (INFO) as it is too
1582-
# verbose.
1583-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1584-
1585-
trigger:
1586-
branch:
1587-
- master
1588-
- stable*
1589-
event:
1590-
- pull_request
1591-
- push
1592-
1593-
---
1594-
kind: pipeline
1595-
name: acceptance-app-files
1596-
1597-
steps:
1598-
- name: submodules
1599-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1600-
commands:
1601-
- git submodule update --init
1602-
- name: acceptance-app-files
1603-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1604-
commands:
1605-
- 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
1606-
1607-
services:
1608-
- name: selenium
1609-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1610-
environment:
1611-
# Reduce default log level for Selenium server (INFO) as it is too
1612-
# verbose.
1613-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1614-
1615-
trigger:
1616-
branch:
1617-
- master
1618-
- stable*
1619-
event:
1620-
- pull_request
1621-
- push
1622-
1623-
---
1624-
kind: pipeline
1625-
name: acceptance-app-files-sharing
1626-
1627-
steps:
1628-
- name: submodules
1629-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1630-
commands:
1631-
- git submodule update --init
1632-
- name: acceptance-app-files-sharing
1633-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1634-
commands:
1635-
- 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
1636-
1637-
services:
1638-
- name: selenium
1639-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1640-
environment:
1641-
# Reduce default log level for Selenium server (INFO) as it is too
1642-
# verbose.
1643-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1644-
1645-
trigger:
1646-
branch:
1647-
- master
1648-
- stable*
1649-
event:
1650-
- pull_request
1651-
- push
1652-
1653-
---
1654-
kind: pipeline
1655-
name: acceptance-app-files-sharing-link
1656-
1657-
steps:
1658-
- name: submodules
1659-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1660-
commands:
1661-
- git submodule update --init
1662-
- name: acceptance-app-files-sharing-link
1663-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1664-
commands:
1665-
- 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
1666-
1667-
services:
1668-
- name: selenium
1669-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1670-
environment:
1671-
# Reduce default log level for Selenium server (INFO) as it is too
1672-
# verbose.
1673-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1674-
1675-
trigger:
1676-
branch:
1677-
- master
1678-
- stable*
1679-
event:
1680-
- pull_request
1681-
- push
1682-
1683-
---
1684-
kind: pipeline
1685-
name: acceptance-app-files-tags
1686-
1687-
steps:
1688-
- name: submodules
1689-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1690-
commands:
1691-
- git submodule update --init
1692-
- name: acceptance-app-files-tags
1693-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1694-
commands:
1695-
- 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
1696-
1697-
services:
1698-
- name: selenium
1699-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1700-
environment:
1701-
# Reduce default log level for Selenium server (INFO) as it is too
1702-
# verbose.
1703-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1704-
1705-
trigger:
1706-
branch:
1707-
- master
1708-
- stable*
1709-
event:
1710-
- pull_request
1711-
- push
1712-
1713-
---
1714-
kind: pipeline
1715-
name: acceptance-header
1716-
1717-
steps:
1718-
- name: submodules
1719-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1720-
commands:
1721-
- git submodule update --init
1722-
- name: acceptance-header
1723-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1724-
commands:
1725-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
1726-
1727-
services:
1728-
- name: selenium
1729-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1730-
environment:
1731-
# Reduce default log level for Selenium server (INFO) as it is too
1732-
# verbose.
1733-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1734-
1735-
trigger:
1736-
branch:
1737-
- master
1738-
- stable*
1739-
event:
1740-
- pull_request
1741-
- push
1742-
1743-
---
1744-
kind: pipeline
1745-
name: acceptance-login
1746-
1747-
steps:
1748-
- name: submodules
1749-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1750-
commands:
1751-
- git submodule update --init
1752-
- name: acceptance-login
1753-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1754-
commands:
1755-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
1756-
1757-
services:
1758-
- name: selenium
1759-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1760-
environment:
1761-
# Reduce default log level for Selenium server (INFO) as it is too
1762-
# verbose.
1763-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1764-
1765-
trigger:
1766-
branch:
1767-
- master
1768-
- stable*
1769-
event:
1770-
- pull_request
1771-
- push
1772-
1773-
---
1774-
kind: pipeline
1775-
name: acceptance-users
1776-
1777-
steps:
1778-
- name: submodules
1779-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1780-
commands:
1781-
- git submodule update --init
1782-
- name: acceptance-users
1783-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1784-
commands:
1785-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
1786-
1787-
services:
1788-
- name: selenium
1789-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1790-
environment:
1791-
# Reduce default log level for Selenium server (INFO) as it is too
1792-
# verbose.
1793-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1794-
1795-
trigger:
1796-
branch:
1797-
- master
1798-
- stable*
1799-
event:
1800-
- pull_request
1801-
- push
1802-
1803-
---
1804-
kind: pipeline
1805-
name: acceptance-apps
1806-
1807-
steps:
1808-
- name: submodules
1809-
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
1810-
commands:
1811-
- git submodule update --init
1812-
- name: acceptance-apps
1813-
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
1814-
commands:
1815-
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
1816-
1817-
services:
1818-
- name: selenium
1819-
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
1820-
environment:
1821-
# Reduce default log level for Selenium server (INFO) as it is too
1822-
# verbose.
1823-
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
1824-
1825-
trigger:
1826-
branch:
1827-
- master
1828-
- stable*
1829-
event:
1830-
- pull_request
1831-
- push
1832-
18331564
---
18341565
kind: pipeline
18351566
name: nodb-codecov
@@ -1995,3 +1726,6 @@ trigger:
19951726
event:
19961727
- pull_request
19971728
- push
1729+
---
1730+
kind: signature
1731+
hmac: 6814dc276b076a391796f3639b27499592e974db8e5e7a4043a120ce215b78cd

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ trim_trailing_whitespace = false
2424
[*.svg]
2525
insert_final_newline = false
2626

27+
[package*.json]
28+
indent_size = 2
29+
indent_style = space
30+
2731
[build/psalm-baseline.xml]
2832
indent_size = 2
2933
indent_style = space
34+
35+
[config/*config.php]
36+
indent_size = 2
37+
indent_style = space

.eslintrc.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ module.exports = {
33
__webpack_nonce__: true,
44
_: true,
55
$: true,
6-
moment: true,
7-
escapeHTML: true,
8-
oc_userconfig: true,
96
dayNames: true,
7+
escapeHTML: true,
108
firstDay: true,
11-
'cypress/globals': true,
12-
},
13-
parserOptions: {
14-
parser: '@typescript-eslint/parser',
9+
moment: true,
10+
oc_userconfig: true,
11+
sinon: true,
1512
},
1613
plugins: [
1714
'cypress',
1815
],
1916
extends: [
20-
'@nextcloud',
17+
'@nextcloud/eslint-config/typescript',
2118
'plugin:cypress/recommended',
2219
],
2320
rules: {

0 commit comments

Comments
 (0)