Commit graph

265 commits

Author SHA1 Message Date
sstidl 74eab590eb
Merge pull request #581 from sstidl/dev
switch units to Mbit/s
2023-11-05 01:08:30 +01:00
Stefan Stidl 63583cb3f4 switch units to Mbit/s 2023-11-05 01:05:50 +01:00
sstidl 32f6e65a2e
Merge pull request #580 from sstidl/switch-docker-repo
Switch docker repo from docker-hub to github packages
2023-11-05 00:43:23 +01:00
Stefan Stidl b1aa63259c remove signing 2023-11-05 00:35:46 +01:00
Stefan Stidl e468c3d068 without image signing 2023-11-05 00:20:39 +01:00
Stefan Stidl 7c05ba084e switch docker image location 2023-11-05 00:14:48 +01:00
Stefan Stidl 60ea879bc3 fix action 2023-11-04 23:52:59 +01:00
sstidl 6c92ed8091
Update docker-publish.yml 2023-11-04 23:44:07 +01:00
sstidl cecf591d0f
Update docker-publish.yml 2023-11-04 23:14:27 +01:00
sstidl 06803a85fa
Merge pull request #512 from AnTheMaker/patch-1
Add descriptive alt-text to GIF in Readme
2023-11-04 15:14:10 +01:00
sstidl 364e6304b0
Merge pull request #1 from sstidl/sstidl-patch-1
Create docker-publish.yml
2023-11-04 02:44:48 +01:00
sstidl 992e24bab6
Create docker-publish.yml 2023-11-04 02:32:32 +01:00
sstidl bce9ced9ff
Merge pull request #500 from awsles/patch-1
Update README.md
2023-11-04 01:26:54 +01:00
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
An | Anton Röhm dd8c5f74f6
add descriptive alt-text to GIF 2022-10-01 13:45:28 +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
Les W 79afc769ea
Update README.md
Added simple manual instructions
2022-07-09 16:13:26 +01: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