Commit graph

225 commits

Author SHA1 Message Date
dosse91
084646d00e Moved docker stuff into the master branch instead of a separate one 2021-03-25 10:47:40 +01:00
dosse91
2ea9b4f4a3 Removed demo server from multipleServer examples because people don't understand the concept of demo 2021-03-16 08:58:29 +01:00
dosse91
624de7778b Release 5.2.3 2021-02-24 08:18:01 +01:00
dosse91
a3b20ba316 example-multipleServers-pretty now shows an error when no servers are available 2021-02-14 09:04:36 +01:00
SCG82
53fb62e096
Use unique names for nested callbacks (#397) 2021-02-09 14:00:51 +01:00
Perflyst
011f8843fc
Add timestamp (#383)
* Add timestamp in result image

* Remove format on timestamp
2020-12-17 16:00:44 +00:00
dosse91
3a35cd9cf2 Merge branch 'master' of https://github.com/librespeed/speedtest into master 2020-10-24 09:32:53 +02:00
dosse91
a8af6ba700 Improved settings behavior 2020-10-24 09:32:39 +02:00
Bernd Stellwag
fb7575b67b
Refactor results/ PHP code (#369)
* put code to insert and query data from database into separate file

* simplify obfuscation salt file handling

* use new DB interaction functions in telemetry.php

* use new DB interaction functions in stats.php

and fix indentation levels

* format telemetry settings file

* use new function for interacting with DB in index.php

* move drawing of the image into function and try to comment each section with what it does

* reorder lines for parts of the image to align with the order they appear on the image

* bugfix: display obfuscated and deobfuscated id in stats if id obfuscation is enabled

* improve error handling

* add missing PHPDocs to functions

* imageftbbox returns an array on success and false on failure so to check if the font is usable, check if we got an array

* fix dsn for postgres

* fix limit sql statement for postgresql

* remove obsolete require statement

* use require instead of require_once since the settings file might need to be loaded multiple times

because it just contains plain variables which will just get loaded into the current scope

* move require statements to the top of the file

* make sure files are readable before requiring them

* add constant to refer to the telemetry settings file and check if it is readable before loading it

* return null if no speedtest result was found for the given id and show according message to the user instead of just exiting

* use existing constant instead of string for telemetry settings file name

* uniformly use single quotes instead of double quotes as most code places already used single quotes

* somehow some tabs sneaked in, replace them to uniformly use spaces

* mysql now uses pdo, too, reflect that in the requirements documentation

* pass username and password as constructor parameters instead of via DSN
2020-10-20 07:43:48 +02:00
dosse91
c6a36e68c4 Test settings can now be changed while in state 4 and not just state 0 2020-10-20 07:35:28 +02:00
Bernd Stellwag
72cccd0619
make the clickable area around the link to the privacy message a bit bigger again so that it's easier to click on mobile devices (#366) 2020-10-11 19:21:10 +02:00
Bernd Stellwag
41638deab9
Fix privacy link width (#364)
* add missing line break

* fix privacy link being clickable over the full page width
2020-10-10 18:42:10 +02:00
Bernd Stellwag
4f9e1a9342
use correct name for accessing the X-Real-IP header via $_SERVER variable (#365) 2020-10-10 18:41:06 +02:00
Bernd Stellwag
a69a70f5f4
Refactor backend PHP code (#362)
* refactor getIP.php moving functionality into separate functions

* add some error checks

* remove closing php tags

* uniformly use single quotes for strings

most strings already used single quotes, some used double quotes

* refactor garbage moving functionality into functions
2020-10-10 07:08:17 +02:00
dosse91
d6877577d5 Bumped version to 5.2.2; Updated README.md 2020-09-27 20:35:58 +02:00
dosse91
e36de9a6ce Improved auto test duration formula 2020-09-27 20:18:01 +02:00
Niels Peen
5cef820749
fixes onend() (#358)
* fixes onend()

* Update speedtest.js
2020-09-17 18:13:35 +02:00
dosse91
3ccdd3d017 Bumped version to 5.2.1 2020-09-07 06:32:55 +02:00
dosse91
1d6568a9d3 Fixed a typo 2020-09-07 06:26:25 +02:00
Kristan Webb
9efae7c27c
Add Port option for MySql (#330) 2020-06-11 15:34:29 +02:00
kodaihirano
6fbe21f2f7
use delay in ultest (#319)
#318
2020-05-04 13:38:29 +02:00
dosse91
b7dce2bc04 Updated README.md 2020-03-12 11:59:40 +01:00
dosse91
42537b4e23 Updated doc.md 2020-03-09 08:52:24 +01:00
dosse91
bfe80d9fb9 Server list can now be loaded from a JSON file instead of hardcoding it 2020-03-09 08:16:06 +01:00
dosse91
4a1ea40b32 Updated README.md 2020-03-02 09:14:15 +01:00
dosse91
5d9b44c77b Fixed a bug where a variable wasn't initialized if enable_quirks was disabled 2020-02-17 18:49:09 +01:00
dosse91
6a3bc06757 Fixed error in doc.md 2019-12-13 19:19:14 +01:00
dosse91
cfd0eb0145 Removed Firefox xhr_ulMultistream browser quirk because it was outdated 2019-10-12 08:18:37 +02:00
dosse91
c95cfb10be Fixed a typo 2019-10-07 07:56:44 +02:00
dosse91
0c7ef8e979 Fixed query error in newer versions of sqlite and postgre 2019-10-01 06:46:22 +02:00
dosse91
1b059e6cc6 Improved redact_ip_addresses 2019-09-29 08:41:26 +02:00
dosse91
a50fcfe566 IP addresses can now be redacted automatically from telemetry 2019-09-28 08:22:14 +02:00
dosse91
247b9c0e4c Updated screenshot 2019-09-26 12:28:53 +02:00
dosse91
aa2380b1b5 Forgot logo 2019-09-25 09:20:49 +02:00
dosse91
f2e9e5ffc8 Updated README.md 2019-09-25 08:27:55 +02:00
dosse91
bd7ec37350 Renamed to LibreSpeed 2019-09-25 08:23:53 +02:00
dosse91
19c19ac088 Updated examples for better consistency 2019-09-24 14:11:57 +02:00
dosse91
9f4851dc8b Redesigned sharable image 2019-09-24 13:58:31 +02:00
dosse91
26009057f5 Changed ping estimation to match android app 2019-09-24 09:38:17 +02:00
dosse91
d5aed8e9b6 Updated examples with layout closer to the android app 2019-09-24 09:35:22 +02:00
dosse91
f059aa20d9 Updated README.md 2019-09-11 19:01:40 +02:00
dosse91
93a4410efa Fixed telemetry bug (yes, again) 2019-08-31 19:22:42 +02:00
dosse91
1f117a4c5c Fixed minor telemetry bugs 2019-08-29 21:22:26 +02:00
dosse91
c4d660440d MPOT examples updated to point to new Helsinki server 2019-08-29 07:52:59 +02:00
Sean Zhang
9b47e2d2f5 Add favicon.ico (#219) 2019-08-22 06:41:14 +02:00
dosse91
6cecacb61b Added privacy policy to examples with telemetry 2019-08-21 12:34:27 +02:00
Federico Dossena
d18f21107a
Update .gitignore 2019-06-30 08:00:04 +02:00
dosse91
164e86e398 Fixed some typos 2019-06-30 07:55:09 +02:00
dosse91
32af3c59e7 Updated .gitignore 2019-06-30 07:14:49 +02:00
dosse91
c3e576ddba Major project restructuring and unification with mpot branch 2019-06-30 07:03:06 +02:00