Compare commits

...

2 Commits

Author SHA1 Message Date
librespeed 10146dd6a4 Copy public key in container 2024-10-19 12:53:50 -04:00
librespeed 29d0cb069e Move changes from index.html to docker/ui.php 2024-10-19 12:49:54 -04:00
2 changed files with 21 additions and 17 deletions

View File

@ -31,6 +31,8 @@ COPY results/*.ttf /speedtest/results/
COPY *.js /speedtest/
COPY favicon.ico /speedtest/
COPY librespeed-public-key.asc /speedtest/
COPY docker/servers.json /servers.json
COPY docker/*.php /speedtest/

View File

@ -414,6 +414,15 @@ function initUI(){
filter: invert(1);
}
}
ul.list li{
display: inline-block;
text-align: center;
padding: 0px 20px;
}
.i2pd_highlighted{
color: rgb(137, 76, 132)
}
</style>
<title><?= getenv('TITLE') ?: 'LibreSpeed' ?></title>
</head>
@ -425,7 +434,7 @@ function initUI(){
<div id="testWrapper" class="hidden">
<div id="startStopBtn" onclick="startStop()"></div><br/>
<?php if(getenv("TELEMETRY")=="true"){ ?>
<a class="privacy" href="#" onclick="I('privacyPolicy').style.display=''">Privacy</a>
<a class="privacy" href="#" onclick="I('privacyPolicy').style.display=''">Info</a>
<?php } ?>
<div id="serverArea">
Server: <select id="server" onchange="s.setSelectedServer(SPEEDTEST_SERVERS[this.value])"></select>
@ -467,11 +476,18 @@ function initUI(){
<img src="" id="resultsImg" />
</div>
</div>
<a href="https://github.com/librespeed/speedtest">Source code</a>
<ul class="list">
<li><p>Powered by <span class="i2pd_highlighted">i2pd</span></p></li>
<li><p>librespeed@mail.i2p</p></li>
<li><a href="librespeed-public-key.asc">PGP key</a></li>
</ul>
</div>
<div id="privacyPolicy" style="display:none">
<h2>Privacy Policy</h2>
<h2>Service info</h2>
<p>This HTML5 speed test server is configured with telemetry enabled.</p>
<h4>I2P info</h4>
<p>This service uses <span class="i2pd_highlighted">i2pd</span> v2.54.0 (0.9.64) with 3 hopes</p>
<h4>What data we collect</h4>
<p>
At the end of the test, the following data is collected and stored:
@ -479,11 +495,7 @@ function initUI(){
<li>Test ID</li>
<li>Time of testing</li>
<li>Test results (download and upload speed, ping and jitter)</li>
<li>IP address</li>
<li>ISP information</li>
<li>Approximate location (inferred from IP address, not GPS)</li>
<li>User agent and browser locale</li>
<li>Test log (contains no personal information)</li>
</ul>
</p>
<h4>How we use the data</h4>
@ -493,16 +505,6 @@ function initUI(){
<li>Allow sharing of test results (sharable image for forums, etc.)</li>
<li>To improve the service offered to you (for instance, to detect problems on our side)</li>
</ul>
No personal information is disclosed to third parties.
</p>
<h4>Your consent</h4>
<p>
By starting the test, you consent to the terms of this privacy policy.
</p>
<h4>Data removal</h4>
<p>
If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>
Contact this email address for all deletion requests: <a href="mailto:<?=getenv("EMAIL") ?>"><?=getenv("EMAIL") ?></a>.
</p>
<br/><br/>
<div class="closePrivacyPolicy">