Skip to content

Commit

Permalink
add privacy policy
Browse files Browse the repository at this point in the history
  • Loading branch information
rjkat committed Nov 3, 2021
1 parent 324b912 commit f76162c
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
</ui-textbox>
</div>
<div v-if="!joinFailed" style="text-align: center;">
<p class="join-info-text">Choose your name to join and solve this crossword with others in real time.</p>
<p class="join-info-text">Choose your display name to join and solve this crossword with others in real time.</p>
<ui-textbox ref="nameBox" class="crossword-join-input crossword-name-input" v-model="solverName" @keydown-enter="joinClicked()">
<b>0A</b> Your name ({{solverName ? solverName.length : 0}})
<b>0A</b> Your display name ({{solverName ? solverName.length : 0}})
</ui-textbox>
<ui-button :loading="joinLoading" color="primary" :disabled="joinDisabled()" @click="joinClicked()">Join</ui-button>
</div>
Expand Down
49 changes: 49 additions & 0 deletions client/privacy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Privacy Policy - Confuzzle</title>
<link href="stylesheets/prism-eno-light.css" rel="stylesheet" />
<style type="text/css">
code[class*="language-"], pre[class*="language-"] {
white-space: pre-line !important;
word-break: break-word !important;
}
</style>
</head>

<body>
<script src="../node_modules/prismjs/prism.js"></script>
<script src="../node_modules/prismjs/components/prism-markdown.js"></script>

<div style="display: flex; justify-content: space-around;">
<pre style="width: 67vw;"><code class="language-markdown">
# 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.

</code></pre>
</div>

</body>

</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: /');
Expand Down

0 comments on commit f76162c

Please sign in to comment.