mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-22 15:47:30 +00:00
Add privacy policy
This commit is contained in:
parent
248c812f05
commit
998bd3d7cb
@ -25,20 +25,22 @@ html
|
||||
form(method="get" action="/search").search-form
|
||||
input(type="text" placeholder="Search" name="q" autocomplete="off" value=query).search
|
||||
|
||||
block content
|
||||
div
|
||||
block content
|
||||
|
||||
footer.footer__container
|
||||
div.footer__center
|
||||
p Released as AGPL free software.
|
||||
.footer__cols
|
||||
div
|
||||
h3.footer__colhead Source
|
||||
ul.footer__list
|
||||
li: a(href="https://sr.ht/~cadence/tube") Project hub
|
||||
li: a(href="https://lists.sr.ht/~cadence/tube-announce") Announcements
|
||||
li: a(href="https://todo.sr.ht/~cadence/tube") Report a problem
|
||||
div
|
||||
h3.footer__colhead About
|
||||
ul.footer__list
|
||||
// li: a(href="/privacy") Privacy policy
|
||||
// li: a(href="/js-licenses") JavaScript licenses
|
||||
if showNav
|
||||
footer.footer__container
|
||||
div.footer__center
|
||||
p Released as AGPL free software.
|
||||
.footer__cols
|
||||
div
|
||||
h3.footer__colhead Source
|
||||
ul.footer__list
|
||||
li: a(href="https://sr.ht/~cadence/tube") Project hub
|
||||
li: a(href="https://lists.sr.ht/~cadence/tube-announce") Announcements
|
||||
li: a(href="https://todo.sr.ht/~cadence/tube") Report a problem
|
||||
div
|
||||
h3.footer__colhead About
|
||||
ul.footer__list
|
||||
li: a(href="/privacy") Privacy policy
|
||||
// li: a(href="/js-licenses") JavaScript licenses
|
||||
|
40
pug/privacy.pug
Normal file
40
pug/privacy.pug
Normal file
@ -0,0 +1,40 @@
|
||||
extends includes/layout.pug
|
||||
|
||||
block head
|
||||
title Privacy policy
|
||||
|
||||
block content
|
||||
main.privacy-page
|
||||
h1 Privacy policy
|
||||
p This document contains details about the data this website collects, what it is used for, how it is stored, how it is shared, and how it can be removed.
|
||||
h2 Data collected
|
||||
h3 Data provided by you
|
||||
p CloudTube will store this information when you personally enter it into the site:
|
||||
ul
|
||||
li personal settings
|
||||
li list of channels you have subscribed to
|
||||
li list of videos you have watched (only if enabled in settings)
|
||||
h3 Data collected passively
|
||||
p When your device requests any resource from CloudTube, this information about the request may be stored for up to 14 days:
|
||||
ul
|
||||
li the time the request was made
|
||||
li the IP address
|
||||
li the requested URL
|
||||
li the response status code
|
||||
h2 Accounts and cookies
|
||||
p CloudTube does not allow users to create accounts.
|
||||
p The first time a user personally provides data to the site, such as changing settings or subscribing to a channel, an ephemeral session is created and linked to a cookie.
|
||||
p On future visits, this cookie will be used to look up the session, and provide a response based on that stored information.
|
||||
p As described above, no personally identifiable information is linked to sessions.
|
||||
p If the user never personally provides data to the site, no cookie will be stored.
|
||||
h2 What the data is used for
|
||||
ul
|
||||
li providing the core service
|
||||
li providing information for debugging
|
||||
h2 How the data is shared
|
||||
p It is not.
|
||||
p Data stored by the site remains within the site, and is never shared with other companies or individuals.
|
||||
h2 How to delete your data
|
||||
p #[a(href="/settings") Visit the settings page] and find the "delete data" section. Read the text.
|
||||
p To delete your data, check "I understand the consequences", then click "permanently erase my data".
|
||||
p This will erase all of your data from the server, and delete the identifying cookie from your web browser.
|
3
sass/includes/privacy-page.sass
Normal file
3
sass/includes/privacy-page.sass
Normal file
@ -0,0 +1,3 @@
|
||||
.privacy-page
|
||||
max-width: 600px
|
||||
margin: 0 auto
|
@ -8,6 +8,7 @@
|
||||
@use "includes/subscriptions-page.sass"
|
||||
@use "includes/settings-page.sass"
|
||||
@use "includes/cant-think-page.sass"
|
||||
@use "includes/privacy-page.sass"
|
||||
@use "includes/forms.sass"
|
||||
@use "includes/nav.sass"
|
||||
@use "includes/footer.sass"
|
||||
|
@ -17,6 +17,7 @@ const {setInstance} = require("pinski/plugins")
|
||||
|
||||
server.addPugDir("pug", ["pug/includes"])
|
||||
server.addRoute("/cant-think", "pug/cant-think.pug", "pug")
|
||||
server.addRoute("/privacy", "pug/privacy.pug", "pug")
|
||||
|
||||
server.addStaticHashTableDir("html/static/js")
|
||||
server.addStaticHashTableDir("html/static/js/elemjs")
|
||||
|
Loading…
Reference in New Issue
Block a user