Add CMS content for legal texts to configuration#731
Merged
josecelano merged 1 commit intotorrust:developfrom Sep 15, 2024
Merged
Add CMS content for legal texts to configuration#731josecelano merged 1 commit intotorrust:developfrom
josecelano merged 1 commit intotorrust:developfrom
Conversation
Closed
ccecfc7 to
7ba8f78
Compare
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" ```
7ba8f78 to
7d82eb2
Compare
Member
Author
|
ACK 7d82eb2 |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: