From f76162c9c1e8cad675b091986fdefce68f7815b3 Mon Sep 17 00:00:00 2001 From: Rowan Katekar Date: Wed, 3 Nov 2021 14:17:25 +1100 Subject: [PATCH] add privacy policy --- client/App.vue | 4 ++-- client/privacy.html | 49 +++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- server/server.js | 4 ++++ 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 client/privacy.html diff --git a/client/App.vue b/client/App.vue index 909a5ce..4059adf 100644 --- a/client/App.vue +++ b/client/App.vue @@ -108,9 +108,9 @@
-

Choose your name to join and solve this crossword with others in real time.

+

Choose your display name to join and solve this crossword with others in real time.

- 0A Your name ({{solverName ? solverName.length : 0}}) + 0A Your display name ({{solverName ? solverName.length : 0}}) Join
diff --git a/client/privacy.html b/client/privacy.html new file mode 100644 index 0000000..3977d5d --- /dev/null +++ b/client/privacy.html @@ -0,0 +1,49 @@ + + + + + + Privacy Policy - Confuzzle + + + + + + + + +
+

+# Privacy Policy
+
+## 1. Terminology
+
+Herein "Confuzzle" refers to both the Confuzzle iOS application and confuzzle.app (this website).
+
+## 2. Types of personal information used by Confuzzle
+
+Information voluntarily submitted during a multiplayer session. For example this may include your chosen display name for that session, or answers typed into the crossword grid. 
+
+## 3. How Confuzzle uses this information
+
+This information is stored on a server and transmitted over a secure connection to other users in that session, solely for the purpose of enabling multiplayer functionality. Any information used by Confuzzle for this purpose is kept for no longer than 24 hours. No other personal information is collected, stored, or transmitted to third parties. 
+
+## 4. Transparency
+
+In order to facilitate independent verification of the above claims, the source code of Confuzzle (both the website and iOS application) is available for inspection at http://github.com/rjkat/confuzzle.
+
+## 5. Contact information
+
+Please contact privacy@confuzzle.app with any questions or concerns about this policy.
+
+
+
+ + + + \ No newline at end of file diff --git a/package.json b/package.json index f68323c..73e9a7f 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "test": "jest", "preinstall": "npx npm-force-resolutions", - "build": "parcel build client/index.html client/syntax.html --no-source-maps --no-cache --no-content-hash", + "build": "parcel build client/index.html client/syntax.html client/privacy.html --no-source-maps --no-cache --no-content-hash", "postbuild": "workbox injectManifest && workbox copyLibraries dist", "develop": "NODE_ENV=development nodemon -e js,vue server/index.js", "start": "node server/index.js" diff --git a/server/server.js b/server/server.js index 63f6939..bdfc202 100644 --- a/server/server.js +++ b/server/server.js @@ -126,6 +126,10 @@ app.use(function (req, res, next) { res.sendFile(path.join(__dirname + '/../dist/syntax.html')); return; } + if (req.path == '/privacy') { + res.sendFile(path.join(__dirname + '/../dist/privacy.html')); + return; + } if (req.path == '/robots.txt') { res.type('text/plain'); res.send('User-agent: *\nAllow: /$\nAllow: /syntax$\nDisallow: /');