~jan0sch/smederee

Showing details for patch 73efde13178bfa59670e79d629834e525109c9b1.
2022-11-01 (Tue), 1:37 PM - Jens Grassel - 73efde13178bfa59670e79d629834e525109c9b1

Legal: Add and adjust legally required texts

- add privacy policy
- add terms of use
- adjust contact and alpha notice page
- refer to Codeberg as source for texts
Summary of changes
3 files modified with 87 lines added and 9 lines removed
  • modules/hub/src/main/resources/messages_en.properties with 13 added and 3 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/privacyPolicy.scala.html with 11 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/termsOfUse.scala.html with 63 added and 6 removed lines
diff -rN -u old-smederee/modules/hub/src/main/resources/messages_en.properties new-smederee/modules/hub/src/main/resources/messages_en.properties
--- old-smederee/modules/hub/src/main/resources/messages_en.properties	2025-02-01 21:50:02.586756989 +0000
+++ new-smederee/modules/hub/src/main/resources/messages_en.properties	2025-02-01 21:50:02.590756999 +0000
@@ -103,15 +103,16 @@
 landingpage.alpha.issues.incomplete.text=Several features are not yet available.
 landingpage.alpha.issues.incomplete.title=Incomplete feature set
 landingpage.alpha.issues.intro=As mentioned some issues are to be expected, most notably:
-landingpage.alpha.issues.payment.text=Once we reach the phase in which the project stabilises and can be considered at least beta all users will be required to pay. However there is no payment plan yet and also we do not plan to price out users that are unable to pay. We will communicate these changes in advance and try to reach a feasible solution.
-landingpage.alpha.issues.payment.title=After the alpha phase payment will be required.
+landingpage.alpha.issues.payment.text=Once we reach the phase in which the project stabilises and can be considered production ready all users who maintain (host) their own project(s) here are expected to pay. However there is no payment plan yet and also we do not plan to price out users that are unable to pay. We will communicate these changes in advance and try to reach a feasible solution. Payment functionality will be rolled out and tested after we leave the alpha and enter the beta phase.
+landingpage.alpha.issues.payment.title=Payment will be required eventually.
 landingpage.alpha.issues.title=Issues to expect
 landingpage.alpha.title=Details about the public alpha phase of Smederee.
 
 landingpage.contact.title=Contact
 landingpage.contact.intro=Currently our preferred channel of communication is via email.
 landingpage.contact.email.title=E-Mail
-landingpage.contact.email.text=If you have feedback and questions, please don''t hesitate to ready out to us either via our official mailing list: {0} or directly (and in private) via email: {1}.
+#landingpage.contact.email.text=If you have feedback and questions, please don''t hesitate to ready out to us either via our official mailing list: {0} or directly (and in private) via email: {1}.
+landingpage.contact.email.text=If you have feedback and questions, please don''t hesitate to ready out to us directly (and in private) via email: {1}. We will have a mailing list in the future but currently this is work in progress.
 landingpage.contact.abuse.title=Abuse
 landingpage.contact.abuse.text=In the case of noticing content that you deem to be removed, please write an email to {0} and describe what content and why you think it should be removed.
 
@@ -140,6 +141,15 @@
 landingpage.index.splash.title=Craft Software!
 
 landingpage.privacy-policy.title=Privacy Policy
+landingpage.privacy-policy.intro=We are not collecting any user data aside from essential data required to keep the service running.
+landingpage.privacy-policy.backups.text=In the case of deleting your account, data in our rotating off-line backup files may continue to exist for up to 30 days according to GDPR guidelines.
+landingpage.privacy-policy.backups.title=Backups
+landingpage.privacy-policy.contributions.text=For all contributions done by you (dear user), you have full responsibility and control to add, modify, create this data. This includes for example the code you commit, content, repositories and your account settings and details. If some data cannot be modified by users, this is considered a technical bug that needs to be fixed. Please report such issues.
+landingpage.privacy-policy.contributions.title=User contributions
+landingpage.privacy-policy.ip-addresses.text=Server log files can contain IP addresses and user agent strings from connecting computers. These log files are deleted automatically within in 30 days.
+landingpage.privacy-policy.ip-addresses.title=IP addresses / Log files
+landingpage.privacy-policy.sources.text=This text was heavily inspired by the privacy policy of Codeberg.
+landingpage.privacy-policy.sources.title=Sources
 
 landingpage.terms-of-use.title=Terms of Use
 
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/privacyPolicy.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/privacyPolicy.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/privacyPolicy.scala.html	2025-02-01 21:50:02.590756999 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/privacyPolicy.scala.html	2025-02-01 21:50:02.590756999 +0000
@@ -14,6 +14,17 @@
     <div class="pure-u-1-1 pure-u-md-1-1">
       <div class="l-box">
         <h1>@Messages("landingpage.privacy-policy.title")</h1>
+        <p>@Messages("landingpage.privacy-policy.intro")</p>
+        <hr/>
+        <h2>@Messages("landingpage.privacy-policy.contributions.title")</h2>
+        <p>@Messages("landingpage.privacy-policy.contributions.text")</p>
+        <h2>@Messages("landingpage.privacy-policy.backups.title")</h2>
+        <p>@Messages("landingpage.privacy-policy.backups.text")</p>
+        <h2>@Messages("landingpage.privacy-policy.ip-addresses.title")</h2>
+        <p>@Messages("landingpage.privacy-policy.ip-addresses.text")</p>
+        <hr/>
+        <h2>@Messages("landingpage.privacy-policy.sources.title")</h2>
+        <p>@Messages("landingpage.privacy-policy.sources.text")</p>
       </div>
     </div>
   </div>
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/termsOfUse.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/termsOfUse.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/termsOfUse.scala.html	2025-02-01 21:50:02.590756999 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/termsOfUse.scala.html	2025-02-01 21:50:02.590756999 +0000
@@ -1,11 +1,11 @@
 @(baseUri: Uri = Uri(path = Uri.Path.Root), lang: LanguageCode = LanguageCode("en"))(csrf: Option[CsrfToken] = None, title: Option[String] = None)
 @myHeaders = {
-  <link rel="stylesheet" href="@{baseUri.addPath("assets/css/landingpage.css")}" />
-  <style>
-    main.content-wrapper {
-      top: unset !important;
-    }
-  </style>
+<link rel="stylesheet" href="@{baseUri.addPath("assets/css/landingpage.css")}" />
+<style>
+main.content-wrapper {
+  top: unset !important;
+}
+</style>
 }
 @main(baseUri, lang)(customHeaders = myHeaders)(csrf, title) {
 @defining(lang.toLocale) { implicit locale =>
@@ -14,6 +14,63 @@
     <div class="pure-u-1-1 pure-u-md-1-1">
       <div class="l-box">
         <h1>@Messages("landingpage.terms-of-use.title")</h1>
+        <div>Welcome to the Smederee. We would like to invite you to join us in our journey to build and maintain a productive, safe and enduring platform for the collaborative development and maintenance of Open-Source Software and Documentation.</div>
+        <div>To support our community, we provide the essential infrastructure and organizational framework for the development of Open-Source Projects in decentralized and global communities, and other endeavours which serve this mission. We strive to make and keep educational and informational content from the projects available on the internet free of charge, in perpetuity.</div>
+        <div>We welcome you (&ldquo;you&rdquo; or the &ldquo;user&rdquo;) as a contributor, user, editor or reader, and we encourage you to join our community. Before you participate, however, we ask that you please read and agree to the following Terms of Use (&ldquo;Terms of Use&rdquo;).</div>
+        <h2>§ 1 What we provide</h2>
+        <div>(1) For Free and Libre Open Source Software (FLOSS) projects, the Smederee provides various services like a public repository and version control system, wiki, and issue tracker hosting under certain terms and conditions. These services are referred to as &ldquo;service&rdquo;, &ldquo;hosting&rdquo; and &ldquo;platform&rdquo; in this document.</div>
+        <div>(2) Our service is open for all projects covered by a free software or open source licence, as defined by either the Free Software Foundation (FSF) or the Open Source Initiative (OSI).</div>
+        <div>(3) The Smederee is a service provided and operated by the <a href="https://www.wegtam.com" target="_blank">Wegtam GmbH</a>. The service relies on member contributions and income generated by paid account plans.</div>
+        <h2>§ 2 Allowed Content &amp; Usage</h2>
+        <div>(1) By using Smederee, you agree to adhere to the following rules when posting content (like repository contents, wiki articles, issue comments, etc.):
+          <ol>
+            <li>Repository content shall be licensed under an open-source license approved by the Free Software Foundation (<a href="https://www.gnu.org/licenses/license-list.html">see list of the FSF</a>) or the Open Source Initiative (<a href="https://opensource.org/licenses/">see list of the OSI</a>).<br/>
+              Reasonable exceptions are to a very limited extent considered acceptable. For example, releasing single logo image files of a FLOSS project under no licence or a separate non-free licence that requires derivative works to use their own logo that is clearly distinguishable from the original work even in absence of trademark registration.</li>
+            <li>Private repositories are only allowed for things required for FLOSS projects, like storing secrets, team-internal discussions or hiding projects from the public until they&rsquo;re ready for usage and/or contribution. They are also allowed for really small &amp; personal stuff like your journal, config files, ideas or notes, but explicitly not as a personal cloud or media storage.</li>
+            <li>Forks, migrations and testing repos are considered as inactive when they don&rsquo;t contain unique contributions and are inactive for more than a month. They shouldn&rsquo;t be kept for a prolonged amount of time, and thus might be removed after notifying maintainers and providing a 90 days period to ask for preservation.</li>
+            <li>Repositories and attachments may not contain harmful code that can be run accidentally during normal development workflow and should use proper disclaimers and protections if applicable. Furthermore, software that is clearly written to do harm to other computers is only allowed in the context of security research or education and must be flagged accordingly.</li>
+            <li>You must not share any content that&rsquo;s expressing hate or encouraging violence towards a person or group for any reason. We also <em>explicitly</em> do not tolerate:
+              <ul>
+                <li>Discriminatory behaviour towards and promoting oppression, especially of marginalized groups on grounds of ethnicity, gender, disability, nationality, education, age, and religion.</li>
+                <li>Violent nationalist propaganda, Nazi symbolism or promoting the ideology of National Socialism.</li>
+                <li>Mobbing, stalking, doxxing (exposing someone&rsquo;s personal information), brigading (inciting a group to spam a specific place for any reason), threatening and harassment, as well as encouraging others to do those things.</li>
+                <li>Insults, discriminatory jokes, sexualized comments and other unwanted sexual attention.</li>
+                <li>Sexually obscene content, including content involving the exploitation or sexualization of minors.</li>
+                <li>Content that&rsquo;s glorifying violence; that includes any violent material without a proper content warning.</li>
+                <li>Content that harms the reputation of Smederee or the Wegtam GmbH.</li>
+              </ul>
+            </li>
+          </ol>
+        </div>
+        <div>(2) Failure to comply with the rules in § 2 (1) leads to immediate removal of the content together with a warning; further violations might result in immediate account suspension. In non-obvious cases, decisions about account suspensions and content removal are made by the presidium, and require a simple majority.</div>
+        <div>(3) We additionally reserve the right to remove any content or account with a notice providing a reason and possibly conditions for re-uploading the content.</div>
+        <div>(4) Content that is deemed illegal in Germany (e.g. by violating copyright or privacy laws) will be taken offline and may lead to immediate account suspension.</div>
+        <div>(5) Actions intended to damage the association, its reputation, service availability or performance may lead to immediate account suspension. In the case of excessive traffic/resource usage, or unreasonable storage requirements, a warning will normally be issued at first, unless the actions are obviously done with malicious intent.</div>
+        <div>(6) Maintainers of a project can enforce stricter rules, for example by adding an easily discoverable Code of Conduct as a file in the repository root. It&rsquo;s the maintainers' task to enforce such additional rules.</div>
+        <h2>§ 3 Responsibilities, Copyright &amp; Guarantees</h2>
+        <div>(1) You are responsible for your own actions. Please act accordingly and apply appropriate security measures to protect your own data and account access credentials. This means especially that:
+          <ul>
+            <li>You are legally responsible for your edits and contributions on the platform, so for your own protection you should exercise caution and avoid contributing any content that may result in criminal or civil liability under any applicable laws (e.g. copyright and patent infringements, but also things like age-restricted content without age confirmation). Both the German legislation and the legislation in your country of residence may be relevant here.</li>
+            <li>You are solely responsible for your use of any third-party websites or resources. Although some projects may contain links to third-party websites and resources, we do not endorse and are not responsible or liable for their availability, accuracy, or the related content, products, or services, nor do we have any obligation to monitor such third-party content.</li>
+            <li>You are responsible for safeguarding your account credentials and should never disclose them to any third party.</li>
+            <li>You must make sure that we have a way to contact you by keeping the email address of your account up-to-date.</li>
+          </ul>
+        </div>
+        <div>(2) All content on the Version Control System and other facilities provided on the platform are uploaded by community members. Contributors own all rights and ownership for content and contributions they provided. Using the platform does not imply any transfer of ownership or copyright.</div>
+        <div>(3) We make no guarantees about the availability of the content hosted on our platform. Although we try to preserve all content for the future, you are solely responsible for making regular backups of everything you rely on.</div>
+        <div>(4) Changes to the Terms of Use are communicated via an announcement banner in your dashboard. If you do not login for longer than three months, it is your own responsibility to recheck for the current Terms of Use. If you disagree to a change, you are responsible for closing your account.</div>
+        <h2>§ 4 Cancellation and Termination</h2>
+        <div>(1) You may close your account at any time. Please be aware that it is your responsibility to remove content and contributions that you no longer wish to persist. All other content previously contributed by you might remain visible to other users of the platform.</div>
+        <div>(2) Abandoned user accounts or organizations with no (or extremely few) all-time contributions may be deleted after being unused for 365 days. A warning via email is sent 1 month in advance.</div>
+        <div>(3) Accounts created for the sole purpose of advertisement (excessive promotion of a product, service or company) are removed immediately.</div>
+        <div>(4) Please be aware that this list is neither exhaustive nor complete (illustrating the spirit of the law, not its letter). Be aware that any account can get suspended at any time if it is used for activities harming the Smederee or its associated platform and services, directly or indirectly, even if these activities are not explicitly listed in the examples above.</div>
+        <h2>§ 5 Disclaimer of Warranties and Liability</h2>
+        <div>(1) The materials on our platform are provided on an &lsquo;as is&rsquo; basis. Smederee (and Wegtam GmbH) makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights.</div>
+        <div>(2) Further, Smederee (and Wegtam GmbH) does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on its website or otherwise relating to such materials or on any sites linked to this site.</div>
+        <div>(3) In no event shall Smederee (and Wegtam GmbH) or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on Semderee’s platform, even if Smederee or a Smederee-authorized representative has been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you.</div>
+        <h2>§ 6 Sources &amp; License of this text</h2>
+        <div>This text is adapted from the Codeberg &ldquo;Terms of Use&rdquo; page and provided free to be adapted and remixed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA (Attribution-ShareAlike 4.0 International)</a> license.</div>
+        <div>Thank you for being an awesome member of the Smederee Community!</div>
       </div>
     </div>
   </div>