-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterms.php
More file actions
101 lines (98 loc) · 9.99 KB
/
terms.php
File metadata and controls
101 lines (98 loc) · 9.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
require_once("pcu/lib/generator.php");
$generator = new PCUGenerator("Terms of use");
$generator->start_content();
?>
<tlf-background-tile padding="big">
<h3>Go to</h3>
<ul>
<li><a href="#terms">Terms of use</a></li>
<li><a href="#privacy">Privacy policy</a></li>
</ul>
</tlf-background-tile>
<tlf-background-tile padding="big">
<h3 id="terms">Terms of use</h3>
<p>All of our services are <b>free</b> and <a href="https://github.com/PumpkinCellOS/utility">open source</a>, licensed under MIT License. So, no secrets, you can just check the code :)</p>
<h4>License</h4>
<div style="border: 1px solid white; padding: 10px">
<p><b>MIT License</b></p>
<p>Copyright © 2020-2021 PumpkinCell</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
</div>
<h4>Account</h4>
<p><a href="/signup.php">Creating an account</a> is also <b>free</b>. When you create a PumpkinCell.net account, you <b>need to</b> give your username and password that are used for logging in. Note that e-mail address is not supported, so we don't have any way to authorize sign-ups (This will change in future). If you forgot a password, <a href="mailto:sppmacd@pm.me">get in touch</a> with me.</p>
<h4>Public content</h4>
<p>The user may post some public content (See <a href="#privacy-public-content">Privacy Policy</a>). The content is subject to the following terms:</p>
<ul>
<li>TODO</li>
</ul>
<h4>Changing of these terms</h4>
<p>For now, these terms can change without notice. There is a date of last update in bottom of the page. The account notifications about terms change are planned.</p>
<h4></h4>
<h3 id="privacy">Privacy Policy</h3>
<h4>Summary</h4>
<p>I <b>really</b> value your privacy, not like some other sites. So, I don't store any data about you <i>except</i> when you are logged in.</p>
<h4>When you are not logged in</h4>
<p>As I said, we then don't store any personal data. Only if any error occurs, the anonymous log message (date, error message, page/script which caused an error) is saved on our server to allow me fix it.</p>
<p>Example error.log file extract:</p>
<pre>
[Mon Mar 15 14:36:03 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined index: sort in /mnt/hdd_ext4/prog/Big/www/html/utility/hw-planner/api.php on line 23'
[Mon Mar 15 14:36:03 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined index: sort in /mnt/hdd_ext4/prog/Big/www/html/utility/hw-planner/api.php on line 23'
[Mon Mar 15 14:36:07 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined property: stdClass::$message in /mnt/hdd_ext4/prog/Big/www/html/api/login.php on line 60'
[Mon Mar 15 14:36:07 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined index: userData in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 5PHP message: PHP Notice: Trying to access array offset on value of type null in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 123PHP message: PHP Notice: Trying to access array offset on value of type null in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 129'
[Mon Mar 15 14:36:12 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: session_start(): A session had already been started - ignoring in /mnt/hdd_ext4/prog/Big/www/html/lib/pcu.php on line 69PHP message: PHP Notice: Undefined index: userData in /mnt/hdd_ext4/prog/Big/www/html/lib/pcu.php on line 70PHP message: PHP Notice: Undefined property: stdClass::$message in /mnt/hdd_ext4/prog/Big/www/html/api/login.php on line 60'
[Mon Mar 15 14:36:13 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined property: stdClass::$message in /mnt/hdd_ext4/prog/Big/www/html/api/login.php on line 60'
[Mon Mar 15 14:36:13 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined index: userData in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 5PHP message: PHP Notice: Trying to access array offset on value of type null in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 123PHP message: PHP Notice: Trying to access array offset on value of type null in /mnt/hdd_ext4/prog/Big/www/html/index.php on line 129'
[Mon Mar 15 14:36:15 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: session_start(): A session had already been started - ignoring in /mnt/hdd_ext4/prog/Big/www/html/lib/pcu.php on line 69PHP message: PHP Notice: Undefined index: userData in /mnt/hdd_ext4/prog/Big/www/html/lib/pcu.php on line 70PHP message: PHP Notice: Undefined property: stdClass::$message in /mnt/hdd_ext4/prog/Big/www/html/api/login.php on line 60'
[Mon Mar 15 14:36:18 2021] [error] [pid 44839] mod_proxy_fcgi.c(859): AH01071: Got error 'PHP message: PHP Notice: Undefined index: sort in /mnt/hdd_ext4/prog/Big/www/html/utility/hw-planner/api.php on line 23'
</pre>
<p>For administrative purposes, we store also date/time of the request, requested file, status, referer and user agent.</p>
<p>Example access.log file extract:</p>
<pre>
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /pcu/style.css HTTP/1.1" 200 1631 "https://pumpkincell.duckdns.org/pcu/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /res/pumpkin2-beta.png HTTP/1.1" 200 14279 "https://pumpkincell.duckdns.org/pcu/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /pcu/form.css HTTP/1.1" 200 1072 "https://pumpkincell.duckdns.org/pcu/style.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /pcu/tilify.css HTTP/1.1" 200 1274 "https://pumpkincell.duckdns.org/pcu/style.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /pcu/tilify.js HTTP/1.1" 200 4844 "https://pumpkincell.duckdns.org/pcu/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /res/fonts/OpenSans-Regular.ttf HTTP/1.1" 304 204 "https://pumpkincell.duckdns.org/pcu/style.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:48:00 +0200] "GET /res/fonts/OpenSans-Bold.ttf HTTP/1.1" 304 204 "https://pumpkincell.duckdns.org/pcu/style.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:15:49:54 +0200] "GET /pcu/ HTTP/1.1" 200 7365 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0"
pumpkincell.duckdns.org:443 - - [11/Aug/2021:16:03:16 +0200] "GET / HTTP/1.1" 200 4977 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36"
</pre>
<h4>When you are logged in</h4>
<p>If you set your profile to public, the following information may be public (can be seen by everybody who knows your username or user ID):</p>
<ul id="privacy-public-content">
<li><b>Basic account information</b> (username, display name, account description, role, status, join date)</li>
</ul>
<p>All profiles are private by default. This can be changed in profile settings. The public data can be retrieved using a unique user ID (UID) or an username.</p>
<p>We store all public data, plus the following:</p>
<ul>
<li><b>A unique user ID (UID), which is autogenerated on registration</b> (required)</li>
<li><b>An SHA256 hash of your password</b> (required)</li>
<li><b>An e-mail address</b> (optional)</li>
<li><b>All data you give in services</b> (optional). This includes:
<ul>
<li>Cloud files</li>
<li>HW Planner tasks with change log</li>
</ul>
</li>
</ul>
<h4>Cookies</h4>
<p>The site use cookies only for keeping you logged in. They are not used anywhere when you do not use a PumpkinCell.net account.</p>
<p><b>NOTE:</b> An exception is Twitch Overlay, which uses cookies to store Twitch authentication data. See <a href="https://www.twitch.tv/p/en/legal/privacy-notice/">Twitch privacy notice</a> for more details.</p>
<h4>All cookies that are used</h4>
<table>
<thead>
<tr><td>Name</td><td>Expires</td><td>Purpose</td></tr>
</thead>
<tbody>
<tr><td>PHPSESSID</td><td>Session</td><td>Keeps the session after logon.</td></tr>
<tr><td>auth_data</td><td>Session</td><td>In Twitch Overlay, stores Twitch authentication data.</td></tr>
</tbody>
</table>
</tlf-background-tile>
<?php
$generator->finish();
?>