From d18f21107a43649eaed395d37a9a879a0c5f09e5 Mon Sep 17 00:00:00 2001 From: Federico Dossena Date: Sun, 30 Jun 2019 08:00:04 +0200 Subject: [PATCH 1/3] Update .gitignore --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index aaa13dd..c53159e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -telemetry/idObfuscation_salt.php -getIP_serverLocation.php +results/idObfuscation_salt.php +backend/getIP_serverLocation.php From 6cecacb61b9b689f4c2d05ef6d9509a33a09d770 Mon Sep 17 00:00:00 2001 From: dosse91 Date: Wed, 21 Aug 2019 12:34:27 +0200 Subject: [PATCH 2/3] Added privacy policy to examples with telemetry --- doc.md | 5 +++ example-multipleServers-full.html | 56 +++++++++++++++++++++++++++++ example-singleServer-full.html | 58 ++++++++++++++++++++++++++++++- 3 files changed, 118 insertions(+), 1 deletion(-) diff --git a/doc.md b/doc.md index 26741e2..4d7e98a 100644 --- a/doc.md +++ b/doc.md @@ -114,6 +114,11 @@ If you're not using telemetry and results sharing, you can delete the `results` Details about the examples and how to make custom UIs will be discussed later. +#### Privacy +Telemetry contains personal information (according to GDPR defintion), therefore it is important to treat this data respectfully of national and international laws, especially if you plan to offer the service in the European Union. + +`example-singleServer-full.html` and `example-multipleServers-full.html` both contain a privacy policy for the service: you MUST read it, change it if necessary, and add your email address for data deletion requests. __Failure to comply with GDPR regulations can get you in serious trouble.__ + ### Multiple servers, PHP The speedtest can automatically choose between multiple test points and use the one with the lowest ping in a list. diff --git a/example-multipleServers-full.html b/example-multipleServers-full.html index c72a932..49b1aa3 100644 --- a/example-multipleServers-full.html +++ b/example-multipleServers-full.html @@ -303,6 +303,27 @@ function initUI(){ animation: fadeOut 0.4s; display:none; } + #privacyPolicy{ + position:fixed; + top:2em; + bottom:2em; + left:2em; + right:2em; + overflow-y:auto; + width:auto; + height:auto; + box-shadow:0 0 3em 1em #000000; + z-index:999999; + text-align:left; + background-color:#FFFFFF; + padding:1em; + } + a.privacy{ + text-align:center; + font-size:0.8em; + color:#808080; + display:block; + } @keyframes fadeIn{ 0%{ opacity:0; @@ -345,6 +366,7 @@ function initUI(){ Source code + diff --git a/example-singleServer-full.html b/example-singleServer-full.html index e3c4467..d33ff24 100644 --- a/example-singleServer-full.html +++ b/example-singleServer-full.html @@ -220,6 +220,27 @@ function initUI(){ height:auto; margin: 0.25em 0; } + #privacyPolicy{ + position:fixed; + top:2em; + bottom:2em; + left:2em; + right:2em; + overflow-y:auto; + width:auto; + height:auto; + box-shadow:0 0 3em 1em #000000; + z-index:999999; + text-align:left; + background-color:#FFFFFF; + padding:1em; + } + a.privacy{ + text-align:center; + font-size:0.8em; + color:#808080; + display:block; + } @media all and (max-width:65em){ body{ font-size:1.5vw; @@ -240,7 +261,8 @@ function initUI(){

HTML5 Speedtest

-
+

+ Privacy
@@ -282,6 +304,40 @@ function initUI(){
Source code
+ From 9b47e2d2f5f16cbce12267222ace1f1c41686e4d Mon Sep 17 00:00:00 2001 From: Sean Zhang Date: Thu, 22 Aug 2019 12:41:14 +0800 Subject: [PATCH 3/3] Add favicon.ico (#219) --- example-multipleServers-full.html | 1 + example-multipleServers-pretty.html | 1 + example-singleServer-basic.html | 1 + example-singleServer-chart.html | 1 + example-singleServer-customSettings.html | 1 + example-singleServer-full.html | 1 + example-singleServer-gauges.html | 1 + example-singleServer-pretty.html | 1 + example-singleServer-progressBar.html | 1 + favicon.ico | Bin 0 -> 16958 bytes 10 files changed, 9 insertions(+) create mode 100644 favicon.ico diff --git a/example-multipleServers-full.html b/example-multipleServers-full.html index 49b1aa3..9be9d0e 100644 --- a/example-multipleServers-full.html +++ b/example-multipleServers-full.html @@ -1,6 +1,7 @@ + diff --git a/example-multipleServers-pretty.html b/example-multipleServers-pretty.html index 43abeda..1fa4e71 100644 --- a/example-multipleServers-pretty.html +++ b/example-multipleServers-pretty.html @@ -1,6 +1,7 @@ + HTML5 Speedtest diff --git a/example-singleServer-basic.html b/example-singleServer-basic.html index 1600214..6971e2a 100644 --- a/example-singleServer-basic.html +++ b/example-singleServer-basic.html @@ -3,6 +3,7 @@ HTML5 Speedtest + diff --git a/example-singleServer-chart.html b/example-singleServer-chart.html index b26beec..cb16ee3 100644 --- a/example-singleServer-chart.html +++ b/example-singleServer-chart.html @@ -3,6 +3,7 @@ HTML5 Speedtest +