Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMS content for legal texts to configuration #731

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

josecelano
Copy link
Member

@josecelano josecelano commented Sep 13, 2024

We need to pass legal texts to the frontent but we don't have a proper CMS. For now, we have just added the texts in the configuration to make it possible for users to overrride them. These are the new values in the config:

[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]

[website.terms.upload]
content_upload_agreement = """I confirm that the content I am uploading is authorized, and I have read and agree to the 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.

"""

@josecelano josecelano linked an issue Sep 13, 2024 that may be closed by this pull request
@josecelano josecelano self-assigned this Sep 13, 2024
@josecelano josecelano added Enhancement / Feature Request Something New - User - Enjoyable to Use our Software labels Sep 13, 2024
@josecelano josecelano changed the title Add CMS content for legal textss to configuration Add CMS content for legal texts to configuration Sep 13, 2024
We need to pass legal texts to the frontent but we don't have a proper
CMS. For now, we have just added the texts in the configuration to make
it possible for users to overrride them. These are the new values in the
config:

```toml
[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]

[website.terms.upload]
content_upload_agreement = """I confirm that the content I am uploading is authorized, and I have read and agree to the terms."""

[website.terms.page]
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.

"""
title = "Usage Policies and Content Restrictions"
```
@josecelano
Copy link
Member Author

ACK 7d82eb2

@josecelano josecelano merged commit fd692a2 into torrust:develop Sep 15, 2024
12 of 13 checks passed
josecelano added a commit to torrust/torrust-index-gui that referenced this pull request Sep 15, 2024
367f420 feat: [#617] new static page with terms (Jose Celano)

Pull request description:

  Depends on:

  - torrust/torrust-index-types-lib#25
  - torrust/torrust-index#731

  URL: http://localhost:3000/terms

  It also adds a link in the footer. The page content is loaded in markdown format from the API (settings->website).

ACKs for top commit:
  josecelano:
    ACK 367f420

Tree-SHA512: 784d823560800c23da03295bf9c46677fcd20f0bfd638994be8bb675bf0961d57671c0d00a92eea566289803c89bc8e8e59261144f1feab973df50ffef573efd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- User - Enjoyable to Use our Software Enhancement / Feature Request Something New
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMS: Terms and demo
1 participant