No description
Find a file
github-actions[bot] 78a18bde8e
Merge pull request #1138 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.9.1
Chore(deps-dev): Bump bamarni/composer-bin-plugin from 1.9.0 to 1.9.1
2026-02-07 04:20:19 +00:00
.github ci(psalm): Fix dependency and version setup again 2025-11-05 08:57:13 +01:00
.tx
appinfo release v4.7.0-rc.2 2026-01-07 12:35:50 +01:00
build-js fix(reuse): Fix reuse issue 2025-11-05 08:53:05 +01:00
css feat: Port to vue3 2025-11-18 12:34:17 +01:00
docs
img
js release v4.7.0-rc.2 2026-01-07 12:35:50 +01:00
l10n fix(l10n): Update translations from Transifex 2026-02-07 01:58:54 +00:00
lib refactor: Use modern SabrePluginAddEvent 2025-12-18 11:13:32 +01:00
LICENSES feat: Port to vue3 2025-11-18 12:34:17 +01:00
src feat: Port to vue3 2025-11-18 12:34:17 +01:00
templates feat: Port to vue3 2025-11-18 12:34:17 +01:00
tests chore(psalm): Update stubs 2025-12-18 13:41:40 +01:00
vendor fix(composer): Don't add composer bin to autoloader 2025-11-19 15:17:47 +01:00
vendor-bin Chore(deps-dev): Bump phpunit/phpunit in /vendor-bin/phpunit 2026-01-28 01:14:03 +00:00
.eslintrc.js
.gitattributes
.gitignore ci(psalm): Add psalm CI 2024-10-23 11:11:02 +02:00
.l10nignore
.php-cs-fixer.dist.php chore: Add rector and cs-fix 2025-10-31 16:24:05 +01:00
AUTHORS.md
babel.config.js
CHANGELOG.md release: v4.7.0-rc1 2025-09-05 18:28:59 +02:00
composer.json Chore(deps): Bump geoip2/geoip2 from 2.13.0 to 3.3.0 2025-11-22 02:03:35 +00:00
composer.lock Chore(deps-dev): Bump bamarni/composer-bin-plugin from 1.9.0 to 1.9.1 2026-02-07 02:04:02 +00:00
COPYING
eslint.config.mjs feat: Port to vue3 2025-11-18 12:34:17 +01:00
Makefile
openapi-administration.json feat: Add public capabilities 2024-12-23 09:40:03 +01:00
openapi-full.json chore: Add rector and cs-fix 2025-10-31 16:24:05 +01:00
openapi.json chore: Add rector and cs-fix 2025-10-31 16:24:05 +01:00
package-lock.json Chore(deps-dev): Bump lodash from 4.17.21 to 4.17.23 2026-01-21 23:55:58 +00:00
package.json release v4.7.0-rc.2 2026-01-07 12:35:50 +01:00
psalm.xml refactor: Use modern SabrePluginAddEvent 2025-12-18 11:13:32 +01:00
README.md enh(docs): be more specific about IP to use in allow_ip_range 2025-04-28 15:36:44 +02:00
rector.php refactor(rector): Run rector 2025-11-19 15:43:39 +01:00
REUSE.toml feat: Port to vue3 2025-11-18 12:34:17 +01:00
stylelint.config.cjs feat: Port to vue3 2025-11-18 12:34:17 +01:00
tsconfig.json feat: Port to vue3 2025-11-18 12:34:17 +01:00
vite.config.ts feat: Port to vue3 2025-11-18 12:34:17 +01:00
webpack.js fix: don't create LICENSE.TXT anymore 2024-09-09 14:59:29 +02:00

📜 Terms of service

REUSE status

Requires users to accept terms of service before accessing data. Text and languages are configurable on the administration panel.

🔗 Display on public shares

The setting applies to shares via link or mail (with and without password protection).

Default is disabled: 0

./occ config:app:set terms_of_service tos_on_public_shares --value '1'

👤 Exclude registered users

To exclude registered users from accepting the terms of service, set this config to 0. Therefore, only public link and mail sharees have to accept the terms of service.

Default is enabled: 1

./occ config:app:set terms_of_service tos_for_users --value '0'

🔌 Allow access from other services

Some other services such as office suites communicate directly with the Nextcloud server. For Nextcloud Office and Officeonline the wopi_allowlist settings of the respective apps are taken into account.

To allow other services to bypass the terms of service check:

  • Set allow_path_prefix to the paths that access should be granted to.
  • Set allow_ip_ranges to match the ip addresses of the servers in question. If you are using a reverse proxy, use the ip address of the application server. Access is allowed based on the x-forwarded-for header and not the source ip.

Default for allow_path_prefix is none: Default for `allow_ip_ranges` is none:

./occ config:app:set terms_of_service allow_path_prefix --value '/apps/onlyoffice/download'
./occ config:app:set terms_of_service allow_ip_ranges --value '10.0.0.5,10.0.0.6'

🏗️ Development setup

  1. Clone the repository
  2. Setup your environment: make
  3. Start contributing 🎉