-
Notifications
You must be signed in to change notification settings - Fork 27
CMS: Terms and demo #730
Copy link
Copy link
Closed
Labels
- User -Enjoyable to Use our SoftwareEnjoyable to Use our SoftwareEnhancement / Feature RequestSomething NewSomething NewHigh PriorityFocus RequiredFocus RequiredLegalLicenses and other Official DocumentsLicenses and other Official Documents
Milestone
Description
Relates to: torrust/torrust-index-gui#617
Context
We need to include legal information in the web app. The info will be provided by the API. Ideally, we should build a proper CMS, but since we don't want to postpone the version 3.0.0 release, we will use config values to allow users to easily customize those texts.
Temporary Solution
Add new config values for static content about terms (Usage Policies and Content Restrictions)
[website]
name = "Torrust"
# The app will run in demo mode if this section is provided. For now, that means to include a top banner with this warning.
[website.demo]
warning = """
⚠️ Please be aware: This demo resets all data weekly. Torrents not complying with our Usage Policies will be removed immediately without notice. We encourage the responsible use of this software in compliance with all legal requirements.
"""
[website.terms]
# The text for the checkbox in the upload torrent form.
[website.terms.upload]
content_upload_agreement = """
"I confirm that the content I am uploading is authorized, and I have read and agree to the [Usage Policies](./terms)."
"""
[website.terms.page]
title = "Usage Policies and Content Restrictions"
content = """
Our software is designed to support the distribution of legal, authorized content only. Users may only upload or share files that fall under the following categories:
- **Open-Source Licenses:** Content licensed under recognized open-source licenses, allowing for free distribution and modification.
- **Creative Commons Licenses:** Content released under Creative Commons licenses that permit sharing and distribution.
- **Public Domain:** Content that is free of copyright restrictions and available for public use.
**Prohibited Content:** Any content that infringes copyright, is subject to copyright protection, or is illegal under applicable laws is strictly prohibited. This includes but is not limited to copyrighted movies, music, software, books, and any other media.
**Enforcement:** We reserve the right to remove any content that does not comply with these policies without notice. We may also take additional steps, including reporting violations to the relevant authorities, if necessary.
"""NOTES
We did something similar this for the casbin configuration #702
However, that is app configuration not content.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- User -Enjoyable to Use our SoftwareEnjoyable to Use our SoftwareEnhancement / Feature RequestSomething NewSomething NewHigh PriorityFocus RequiredFocus RequiredLegalLicenses and other Official DocumentsLicenses and other Official Documents