No description
  • JavaScript 94.2%
  • PHP 4.7%
  • Vue 0.9%
Find a file
github-actions[bot] fe50440c86
Merge pull request #1179 from nextcloud/dependabot/npm_and_yarn/fast-uri-3.1.2
Chore(deps): Bump fast-uri from 3.0.6 to 3.1.2
2026-05-08 22:28:22 +00:00
.github docs: add silverkszlo as owner 2026-03-26 22:40:17 +01:00
.tx [tx-robot] Update transifex configuration 2022-10-01 03:00:56 +00:00
appinfo feat(deps): Add Nextcloud 34 support 2026-02-17 16:10:13 +00: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 Update screenshots 2022-09-19 10:04:42 +02:00
img Move the app to it's own setting section 2018-06-26 12:04:55 +02:00
js chore(assets): Recompile assets 2026-03-16 07:36:35 +00:00
l10n fix(l10n): Update translations from Transifex 2026-05-03 02:03:52 +00:00
lib fix: Enable safe mode for markdown parser 2026-03-19 20:00:27 +01:00
LICENSES feat: Port to vue3 2025-11-18 12:34:17 +01:00
src chore: Fix SPDX header 2026-03-16 08:33:49 +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 chore: Add SPDX header 2024-05-09 11:55:51 +02:00
.gitattributes Ignore compiled JS from git diffs 2019-03-18 11:09:35 +01:00
.gitignore ci(psalm): Add psalm CI 2024-10-23 11:11:02 +02:00
.l10nignore chore: Add SPDX header 2024-05-09 11:55:51 +02:00
.php-cs-fixer.dist.php chore: Add rector and cs-fix 2025-10-31 16:24:05 +01:00
AUTHORS.md chore: Add SPDX header 2024-05-09 11:55:51 +02:00
babel.config.js chore: Add SPDX header 2024-05-09 11:55:51 +02:00
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): Bump erusev/parsedown from 1.7.4 to 1.8.0 2026-02-21 02:03:08 +00:00
COPYING Add packaging step to Makefile 2018-08-23 15:19:52 +02:00
eslint.config.mjs feat: Port to vue3 2025-11-18 12:34:17 +01:00
Makefile chore: Add SPDX header 2024-05-09 11:55:51 +02:00
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): Bump fast-uri from 3.0.6 to 3.1.2 2026-05-08 22:27:06 +00:00
package.json Merge pull request #1129 from nextcloud/dependabot/npm_and_yarn/vite-7.2.7 2026-03-06 11:36:20 +00: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 🎉