{"id":15051242,"url":"https://github.com/nextcloud/terms_of_service","last_synced_at":"2025-07-08T01:36:44.876Z","repository":{"id":33473591,"uuid":"139585319","full_name":"nextcloud/terms_of_service","owner":"nextcloud","description":"📜 Requires users to accept the terms of service before accessing data.","archived":false,"fork":false,"pushed_at":"2025-06-23T01:49:28.000Z","size":130326,"stargazers_count":32,"open_issues_count":27,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-23T02:41:15.098Z","etag":null,"topics":["admin-tools","nextcloud","terms-and-conditions","terms-of-service"],"latest_commit_sha":null,"homepage":"https://apps.nextcloud.com/apps/terms_of_service","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-03T13:11:14.000Z","updated_at":"2025-06-23T01:49:31.000Z","dependencies_parsed_at":"2023-11-07T05:08:09.039Z","dependency_job_id":"eb6ac099-2538-43d4-a493-255631c905c6","html_url":"https://github.com/nextcloud/terms_of_service","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/nextcloud/terms_of_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fterms_of_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fterms_of_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fterms_of_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fterms_of_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud","download_url":"https://codeload.github.com/nextcloud/terms_of_service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Fterms_of_service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264176186,"owners_count":23568611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-tools","nextcloud","terms-and-conditions","terms-of-service"],"created_at":"2024-09-24T21:32:15.456Z","updated_at":"2025-07-08T01:36:44.861Z","avatar_url":"https://github.com/nextcloud.png","language":"JavaScript","readme":"\u003c!--\n - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\u003e\n# 📜 Terms of service\n\n[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/terms_of_service)](https://api.reuse.software/info/github.com/nextcloud/terms_of_service)\n\n\u003e ![](https://raw.githubusercontent.com/nextcloud/terms_of_service/master/docs/popup-dialog.png)\n\nRequires users to accept terms of service before accessing data. Text and languages are configurable on the administration panel.\n\n## 🔗 Display on public shares\n\nThe setting applies to shares via link or mail (with and without password protection).\n\nDefault is disabled: `0`\n```\n./occ config:app:set terms_of_service tos_on_public_shares --value '1'\n```\n## 👤 Exclude registered users\n\nTo exclude registered users from accepting the terms of service, set this config to `0`.\nTherefore, only public link and mail sharees have to accept the terms of service.\n\nDefault is enabled: `1`\n```\n./occ config:app:set terms_of_service tos_for_users --value '0'\n```\n\n## 🔌 Allow access from other services\n\nSome other services such as office suites communicate directly with the Nextcloud server.\nFor Nextcloud Office and Officeonline the `wopi_allowlist` settings of the respective apps are taken into account.\n\nTo allow other services to bypass the terms of service check:\n* Set `allow_path_prefix` to the paths that access should be granted to.\n* Set `allow_ip_ranges` to match the ip addresses of the servers in question.\n  If you are using a reverse proxy, use the ip address of the application server.\n  Access is allowed based on the x-forwarded-for header and not the source ip.\n\nDefault for `allow_path_prefix` is none: ``\nDefault for `allow_ip_ranges` is none: ``\n\n```\n./occ config:app:set terms_of_service allow_path_prefix --value '/apps/onlyoffice/download'\n./occ config:app:set terms_of_service allow_ip_ranges --value '10.0.0.5,10.0.0.6'\n```\n\n## 🏗️ Development setup\n\n1. Clone the repository\n2. Setup your environment: `make`\n3. Start contributing 🎉\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fterms_of_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud%2Fterms_of_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Fterms_of_service/lists"}