Browse Source

Legals: final draft under counsel

biotorrents 4 years ago
parent
commit
d2485b834f
3 changed files with 33 additions and 41 deletions
  1. 0
    1
      sections/legal/dmca.php
  2. 22
    40
      sections/legal/privacy.php
  3. 11
    0
      static/functions/ajax.class.js

+ 0
- 1
sections/legal/dmca.php View File

@@ -14,7 +14,6 @@ View::show_header('DMCA'); ?>
14 14
   </p>
15 15
 
16 16
   <ul class="p">
17
-
18 17
     <li>
19 18
       Identification of the copyrighted work you claim is infringed.
20 19
       <em>Please include your copyright registration number or proof of status pending.</em>

+ 22
- 40
sections/legal/privacy.php View File

@@ -102,53 +102,35 @@ View::show_header('Privacy'); ?>
102 102
 
103 103
 
104 104
   <h3>
105
-    GDPR data protection rights
105
+    GDPR: European Union residents
106 106
   </h3>
107 107
 
108 108
   <p>
109
-    EU residents are entitled to GDPR protections.
110
-    Please attach a screenshot of your profile page to prove account ownership,
111
-    and redact sensitive data if you wish.
109
+    <a href="https://gdpr-info.eu/art-14-gdpr/">Art. 14 GDPR ¶ 5(a) and (b)</a>, and
110
+    <a href="https://gdpr-info.eu/art-27-gdpr/">Art. 27 ¶ 2</a> apply.
111
+    Accordingly, we haven't designated an EU representative.
112
+    Generally, we don't collect any personal data as defined in
113
+    <a href="https://gdpr-info.eu/art-4-gdpr/">Art. 4</a>
114
+    except what you voluntarily provide us.
112 115
   </p>
113 116
 
114
-  <ul class="p">
115
-    <li>
116
-      <strong>Access.</strong>
117
-      You have the right to request copies of your personal data.
118
-      We may charge a small fee for this service.
119
-    </li>
120
-
121
-    <li>
122
-      <strong>Rectification.</strong>
123
-      You have the right to request we correct what you believe is inaccurate,
124
-      and to request we complete what you believe is not.
125
-    </li>
126
-
127
-    <li>
128
-      <strong>Erasure.</strong>
129
-      You have the right to request we erase your personal data on certain conditions.
130
-    </li>
131
-
132
-    <li>
133
-      <strong>Restrict Processing.</strong>
134
-      You have the right to request we restrict processing your personal data on certain conditions.
135
-    </li>
117
+  <p>
118
+    We don't pass information to any 3rd-party processors or share it with anyone.
119
+    We only use it to communicate with you for our mutual business purposes,
120
+    and we'll be happy to delete your information
121
+    to the extent you don't enter into a business relationship with us.
122
+  </p>
136 123
 
137
-    <li>
138
-      <strong>Object to Processing.</strong>
139
-      You have the right to object to our processing your personal data on certain conditions.
140
-    </li>
141 124
 
142
-    <li>
143
-      <strong>Data Portability.</strong>
144
-      You have the right to request we transfer personal data we've collected to you or to others,
145
-      on certain conditions.
146
-    </li>
147
-  </ul>
125
+  <h3>
126
+    CCPA: California residents
127
+  </h3>
148 128
 
149 129
   <p>
150
-    If you make a request, we have one month to respond.
151
-    Please contact us if you'd like to exercise these rights.
130
+    We're exempt from the California Consumer Privacy Act pursuant to
131
+    <a href="https://ccpa-info.com/home/1798-140-definitions/">CIV 1798.140(c)(1)(A)</a>.
132
+    Nonetheless, we'll be happy to delete your information
133
+    to the extent you don't enter into a business relationship with us.
152 134
   </p>
153 135
 
154 136
 
@@ -210,7 +192,7 @@ View::show_header('Privacy'); ?>
210 192
   </h3>
211 193
 
212 194
   <p>
213
-    We last updated this policy on 2021-02-12.
195
+    We last updated this policy on 2021-02-13.
214 196
   </p>
215 197
 
216 198
 
@@ -242,7 +224,7 @@ View::show_header('Privacy'); ?>
242 224
       Email
243 225
     </strong>
244 226
     <br />
245
-    gdpr at biotorrents dot de
227
+    privacy at biotorrents dot de
246 228
   </p>
247 229
 
248 230
   <p>

+ 11
- 0
static/functions/ajax.class.js View File

@@ -19,7 +19,9 @@
19 19
   }
20 20
   ajax.get("?action=get_post&post=" + postid);
21 21
 */
22
+
22 23
 "use strict";
24
+
23 25
 var ajax = {
24 26
   get: function (url, callback) {
25 27
     var req = new XMLHttpRequest();
@@ -34,6 +36,7 @@ var ajax = {
34 36
     req.open("GET", url, true);
35 37
     req.send(null);
36 38
   },
39
+
37 40
   post: function (url, data, callback) {
38 41
     var req = new XMLHttpRequest();
39 42
     var params = ajax.serialize(data);
@@ -49,6 +52,7 @@ var ajax = {
49 52
     req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
50 53
     req.send(params);
51 54
   },
55
+
52 56
   serialize: function (data) {
53 57
     var query = '',
54 58
       elements;
@@ -60,9 +64,11 @@ var ajax = {
60 64
       elements = document.getElementById(data).elements;
61 65
       for (var i = 0, il = elements.length; i < il; i++) {
62 66
         var element = elements[i];
67
+
63 68
         if (!element || element.disabled || element.name === '') {
64 69
           continue;
65 70
         }
71
+
66 72
         switch (element.type) {
67 73
           case 'text':
68 74
           case 'hidden':
@@ -71,6 +77,7 @@ var ajax = {
71 77
           case 'select-one':
72 78
             query += element.name + '=' + encodeURIComponent(element.value) + '&';
73 79
             break;
80
+
74 81
           case 'select-multiple':
75 82
             for (var j = 0, jl = element.options.length; j < jl; j++) {
76 83
               var current = element.options[j];
@@ -79,11 +86,13 @@ var ajax = {
79 86
               }
80 87
             }
81 88
             break;
89
+
82 90
           case 'radio':
83 91
             if (element.checked) {
84 92
               query += element.name + '=' + encodeURIComponent(element.value) + '&';
85 93
             }
86 94
             break;
95
+
87 96
           case 'checkbox':
88 97
             if (element.checked) {
89 98
               query += element.name + '=' + encodeURIComponent(element.value) + '&';
@@ -100,6 +109,7 @@ var ajax = {
100 109
 function Bookmark(type, id, newName) {
101 110
   var bmLinks = $('#bookmarklink_' + type + '_' + id + ', .bookmarklink_' + type + '_' + id);
102 111
   var oldName = bmLinks.html();
112
+
103 113
   ajax.get("bookmarks.php?action=add&type=" + type + "&auth=" + authkey + "&id=" + id, function () {
104 114
     bmLinks.parent('.remove_bookmark, .add_bookmark').toggleClass('add_bookmark remove_bookmark');
105 115
     bmLinks.html(newName).attr('title', 'Remove bookmark').removeAttr('onclick').off('click').click(function () {
@@ -121,6 +131,7 @@ function Unbookmark(type, id, newName) {
121 131
   } else {
122 132
     var bmLinks = $('#bookmarklink_' + type + '_' + id + ', .bookmarklink_' + type + '_' + id);
123 133
     var oldName = bmLinks.html();
134
+
124 135
     ajax.get("bookmarks.php?action=remove&type=" + type + "&auth=" + authkey + "&id=" + id, function () {
125 136
       bmLinks.parent('.remove_bookmark, .add_bookmark').toggleClass('add_bookmark remove_bookmark');
126 137
       bmLinks.html(newName).attr('title', 'Add bookmark').removeAttr('onclick').off('click').click(function () {

Loading…
Cancel
Save