Commit graph

238 commits

Author SHA1 Message Date
sstidl
e5f54fbd78
Release 5.3.0 (#587)
* Update README.md

Added simple manual instructions

* Link to docker documentation

* Add basic docker compose example

* add descriptive alt-text to GIF

* Fix some typos and formatting

* Updated Docker to use php8.2-apache as the upstream image.

* Clean up apt lists after installation in Dockerfile

* Update Dockerfile

Co-authored-by: Quentame <polletquentin74@me.com>

* fix typo

* doc: sqlite db persistance explained

* Create docker-publish.yml

* Update docker-publish.yml

* Update docker-publish.yml

* fix action

* switch docker image location

* without image signing

* remove signing

* switch units to Mbit/s

* move examples to folder

* fix ipinfo parsing

* fix regression on getIpinfo

* removed trailing whitespaces

* integrate ios favicon

closes #400

* set single-server-full as index

---------

Co-authored-by: Les W <30345058+leswaters@users.noreply.github.com>
Co-authored-by: bt90 <btom1990@googlemail.com>
Co-authored-by: An | Anton Röhm <18481195+AnTheMaker@users.noreply.github.com>
Co-authored-by: 0kyn <0kyn.dev@gmail.com>
Co-authored-by: Marc Zampetti <zampettim@users.noreply.github.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
Co-authored-by: Quentame <polletquentin74@me.com>
Co-authored-by: Stefan STIDL <stefan.stidl@ffg.at>
2023-11-26 12:46:27 +01:00
Federico Dossena
6a4a05d883 Replaced speedtest with speed test 2023-08-28 22:12:08 +02: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
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
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