Commit graph

250 commits

Author SHA1 Message Date
sstidl 197750eef9
Merge pull request #514 from 0kyn/fix-typos
Fix some typos and formatting
2023-11-04 01:24:38 +01:00
sstidl 8fafd70b46
Merge pull request #501 from bt90/patch-2
Link to docker documentation
2023-11-04 01:19:40 +01:00
Stefan STIDL e0fa5148fe doc: sqlite db persistance explained 2023-11-04 00:35:21 +01:00
Stefan STIDL 013e7d56e2 fix typo 2023-11-04 00:34:33 +01:00
sstidl 34dd410d14
Merge pull request #573 from PeterDaveHelloKitchen/Dockerfile
Clean up apt lists after installation in Dockerfile
2023-11-03 23:41:59 +01:00
sstidl 871ce1a664
Merge pull request #502 from bt90/patch-3
Add basic docker compose example
2023-11-03 23:17:55 +01:00
sstidl ae07bf2bdc
Merge pull request #570 from zampettim/upgrade-docker-php-82
Updated Docker to use php8.2-apache as the upstream image.
2023-11-03 22:48:39 +01:00
sstidl bb1506c39a
Update Dockerfile
Co-authored-by: Quentame <polletquentin74@me.com>
2023-11-03 22:48:12 +01:00
Peter Dave Hello abc85eb8c5 Clean up apt lists after installation in Dockerfile 2023-09-26 00:22:04 +08:00
Federico Dossena 6a4a05d883 Replaced speedtest with speed test 2023-08-28 22:12:08 +02:00
Marc Zampetti 427edfc416 Updated Docker to use php8.2-apache as the upstream image. 2023-08-09 16:36:48 -04:00
Tracy-B 5956e07a7a
Microsoft SQL Server support and Sanity Check page (#569)
* Create telemetry_mssql.sql

SQL to create the speedtest_users table on Microsoft SQL server.

This SQL is based on the original templates, and continues to uses nvarchar for all fields as the templates do – even though some of the fields should be int.

* Added support for Microsoft SQL Server

* New sanitycheck.php page plus required updates to telemetry_db.php

Created a sanity check page to verify that the required PHP extensions are installed, and that it is possible to connect to the database.

* Update README.md - MS SQL support

Added mention of Microsoft SQL Server as a supported DB engine.

* Added missing <tr> to sanitycheck.php
2023-07-31 08:10:56 +02:00
0kyn 71e3b47130 Fix some typos and formatting 2022-10-03 21:16:26 +02:00
bt90 16e0fb9bf4
Add basic docker compose example 2022-07-14 17:08:12 +02:00
bt90 d1ca8c2630
Link to docker documentation 2022-07-14 16:45:28 +02:00
rizlas 97e0390680
Postgres and mysql dependencies in docker file (#498) 2022-07-08 16:36:02 +00:00
Pavel Djundik fa0ac8cd23
Use random_bytes when available (#487) 2022-06-24 06:53:21 +00:00
dosse91 2f19331378 Fixed a bug that caused the frontend-only mode to not work properly with telemetry enabled on the docker version 2022-03-08 13:57:30 +01:00
Jeff Bierschbach afa84968c7
Save correct IP address to database (#457) 2022-01-08 12:16:05 +00:00
dosse91 5bddaac12a Release 5.2.5 2022-01-04 08:55:27 +01:00
dosse91 a85f2c086f Fixed minor vulnerability in stats.php 2022-01-03 16:30:39 +01:00
Jeff Bierschbach 4234f5fad3
Add mysql and postgresql settings to docker entrypoint (#452) 2021-12-21 13:24:30 +00:00
dosse91 eca7f06e21 Fixed character encoding in mysql db template 2021-06-13 19:01:13 +02:00
dosse91 3937b940e8 Results can now be fetched in json format instead of just an image (results/json.php 2021-04-21 16:20:12 +02:00
dosse91 8be8aba5ed Fixed typo in results/index.php 2021-04-13 10:27:36 +02:00
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