dependabot[bot]
983f0cec83
Bump docker/setup-buildx-action from 3 to 4 ( #759 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 20:15:50 +01:00
dependabot[bot]
7b62e8417f
Bump docker/metadata-action from 5 to 6 ( #761 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 20:13:55 +01:00
dependabot[bot]
82b7a2629d
Bump docker/login-action from 3 to 4 ( #763 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 20:13:06 +01:00
Matthew Kobayashi
f1f48ae53e
fix: return client IPv6 address via cloudflared ( #757 )
...
* fix: return client IPv6 address via cloudflared
The cloudflared reverse proxy populates the X-Forwarded-For header for origin IPv4 addresses, however origin IPv6 addresses are added in a different header: Cf-Connecting-Ipv6. This updates the getIP.php mechanism to retrieve the value of this header and to prefer it over other client IP headers (in both cases only if the Cf-Connecting-Ipv6 header exists and is not empty).
* fix: Validate and normalise IP addresses from request headers
getClientIp() used HTTP_CF_CONNECTING_IPV6 and other headers verbatim, allowing malformed values to reach ISP lookups and the offline DB.
Add normalizeCandidateIp() helper that trims whitespace, extracts the first comma-separated token, and validates via filter_var(). Require FILTER_FLAG_IPV6 for the CF header and fall through to the next source on failure.
Written with assistance from OpenCode using Claude Opus 4.6.
2026-03-05 23:52:59 +01:00
MemphiZ
98f447c8db
Add .NET client library to README ( #739 )
2026-02-23 18:57:48 +01:00
Copilot
734a35f89c
Fix PHP version check for geoip2.phar compatibility ( #754 )
...
* Initial plan
* Fix PHP version check to require PHP 8.1.0+ for geoip2.phar
Changed from PHP_MAJOR_VERSION >= 8 to PHP_VERSION_ID >= 80100 to match
the actual requirement of geoip2.phar which needs PHP 8.1.0 or higher.
This prevents HTTP 500 errors on PHP 8.0.x installations.
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2026-01-31 21:45:28 +01:00
sstidl
85d3dd05dc
Update doc.md with nginx backend example link
...
Add example link for nginx backend configuration.
2026-01-23 21:18:09 +01:00
Copilot
9830af2c3a
Prepare 5.5.1 hotfix release ( #747 )
...
* Initial plan
* version numbers 5.5.1
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2026-01-11 23:16:58 +01:00
sventec
746824b77d
fix: update docker entrypoint sqlite db matching ( #746 )
...
* fix: update docker entrypoint sqlite db matching
* fixup! fix: update docker entrypoint sqlite db matching
---------
Co-authored-by: sventec <18218761+sventec@users.noreply.github.com>
2026-01-04 13:17:03 +01:00
sstidl
fdd2fd24a6
version numbers 5.5.0
2025-12-30 01:22:19 +01:00
Johan Pauwels
43116cb5a9
Add ARM v7 architecture to Docker images ( #741 )
2025-12-29 23:52:20 +01:00
Copilot
750f043872
Fix critical security vulnerability: Move SQLite database outside webroot ( #738 )
...
* Initial plan
* Fix critical security vulnerability: Move SQLite database outside webroot
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Update documentation to explain secure SQLite database path
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Clarify SQLite database security requirements for different installation scenarios
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Improve security documentation with web server configuration guidance
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Fix incomplete file path in documentation example
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Clarify that database file is created after first test in verification step
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2025-12-17 21:45:13 +01:00
Copilot
1360664796
Fix SQLite database path to resolve "unable to open database file" error ( #736 )
...
* Initial plan
* Fix SQLite database path and add write permission checks
- Changed default SQLite database path from '../../speedtest_telemetry.sql' to '__DIR__/speedtest_telemetry.db' to keep it within the results directory
- Added directory existence and writability checks with helpful error messages
- Added SQLite database files to .gitignore to prevent committing user data
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Fix indentation to use tabs consistently in telemetry_db.php
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Remove temporary backup file
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2025-12-17 21:00:20 +01:00
Copilot
a3ed06699f
Add alt attribute to speed test results image for accessibility ( #731 )
...
* Initial plan
* Add ALT attribute to SpeedTest result image for accessibility
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Add alt attribute to docker/ui.php for accessibility
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2025-12-07 23:13:38 +01:00
Stefan Stidl
17e4554e4d
add test script for arm docker build
2025-12-06 21:55:45 +01:00
Stefan Stidl
cbe05e49ab
fix dockerfile.alpine
2025-12-06 21:41:55 +01:00
Stefan Stidl
b065fc1c8d
fix alpine image again
2025-12-06 21:40:48 +01:00
Stefan Stidl
fc2dc5125d
Merge commit ' 1c5bde7881'
2025-12-06 21:03:47 +01:00
sstidl
1c5bde7881
Merge pull request #6 from sstidl:fix/arm-alpine
...
feat: update Dockerfile to use PHP 8.3-alpine3.19 and add QEMU setup for multi-arch builds
2025-12-06 20:06:06 +01:00
Stefan Stidl
6ab62409cb
feat: update Dockerfile to use PHP 8.3-alpine3.19 and add QEMU setup for multi-arch builds
2025-12-06 20:04:58 +01:00
sstidl
e6ca54e20f
Fix/arm alpine ( #729 )
...
* use alpine base image
* back to php alpine image
* Update Dockerfile.alpine
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* add iconv in alpine
* seperate build base
---------
Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-06 19:50:12 +01:00
Stefan Stidl
f408183a90
seperate build base
2025-12-06 19:43:13 +01:00
Stefan Stidl
7852e3beac
add iconv in alpine
2025-12-06 19:41:28 +01:00
sstidl
4efe5e6100
Update Dockerfile.alpine
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-06 19:30:02 +01:00
Stefan Stidl
81fdf0f5fd
back to php alpine image
2025-12-06 19:16:15 +01:00
Stefan Stidl
dcf30adca9
use alpine base image
2025-12-06 19:08:00 +01:00
sstidl
cb265a2d91
add eslinter, update github actions (stale issues, dependabot), optimize docker image ( #728 )
...
* Create stale.yml
* Configure Dependabot for GitHub Actions and Docker
Added support for GitHub Actions and Docker updates.
* Bump actions/stale from 5 to 10
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 10.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v10 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: '10'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* typo
* Add npm package manager with development tooling and improve Docker builds (#5 )
* Initial plan
* Add npm package manager with development tooling
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Add package manager investigation summary
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Improve Docker build process and analyze PHP package manager needs
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Fix documentation based on code review feedback
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Initial plan
* Add npm package manager with development tooling
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Add package manager investigation summary
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Improve Docker build process and analyze PHP package manager needs
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Fix documentation based on code review feedback
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* Restore Dockerfile.alpine to dev version (re-enable php-apache2)
* Remove redundant docker-php-extension-installer from Dockerfile.alpine
* remove useless ai files
* typo
* Initial plan
* Initial plan
* Improve Docker build process and analyze PHP package manager needs
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
* remove useless ai files
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at>
* Update .github/workflows/stale.yml
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
* Update Dockerfile.alpine
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
* Update .github/workflows/stale.yml
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-12-06 18:47:56 +01:00
sstidl
4458c69940
Merge pull request #726 from mkl262/master
...
feat: allow to specify obfuscation salt string
Thank you for contributing @mkl262
2025-10-18 11:37:19 +02:00
sstidl
64e4c3b768
Update docker/entrypoint.sh
...
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-10-18 11:34:14 +02:00
Michael Kanchuker
fd06e94de3
feat: allow to specify obfuscation salt string
2025-10-16 19:58:51 +03:00
sstidl
a1c43977ad
Merge pull request #693 from librespeed/fix-docker-images
...
Fix docker images and dual mode
2025-02-13 19:59:25 +01:00
sstidl
dd40a3a493
Merge pull request #668 from bogdanr/master
...
Added a modern design example
it doesnt do any harm to add another example :)
2024-12-29 19:49:53 +01:00
sstidl
e6fac5507e
fix phar loading on alpine
2024-12-29 18:14:18 +00:00
sstidl
af9cbc0dd9
repair own url detection, switched to js
2024-12-29 18:08:52 +00:00
sstidl
13eb4494df
Update docker/test/test-script.sh
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2024-12-29 17:50:48 +01:00
sstidl
6d31010feb
Update docker/ui.php
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2024-12-29 17:50:41 +01:00
sstidl
0274f6e587
Update docker/ui.php
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2024-12-29 17:49:51 +01:00
sstidl
fe85a805ac
documentation of docker tests
2024-12-29 16:41:50 +00:00
sstidl
de846743dc
Merge branch 'master' into fix-docker-images
2024-12-29 17:23:19 +01:00
sstidl
29e068654b
Merge pull request #679 from librespeed/fix-dual-mode
...
Fix-dual-mode
2024-12-29 17:15:08 +01:00
sstidl
5cad53ea60
Merge pull request #687 from iJuhan/fix/docker-docs
...
Update docker documentation
2024-12-03 14:32:38 +01:00
iJuhan
a8af966d88
fix: Update docker docs
2024-12-02 19:56:13 +01:00
sstidl
a177238636
improve test scripts
2024-12-01 22:44:37 +01:00
Stefan Stidl
c00ad26abe
fix permissions on db file
2024-12-01 22:08:51 +01:00
Stefan Stidl
3f20f0e8c5
Merge branch 'fix-dual-mode' of https://github.com/librespeed/speedtest into fix-dual-mode
2024-12-01 12:31:08 +01:00
Stefan S
c8696a87fa
fix Dual mode is broken #666
2024-12-01 12:30:35 +01:00
sstidl
c0c2a41c23
Merge pull request #678 from librespeed/fix-docker-images
...
alpine/debian docker image tests and fixes
2024-12-01 12:26:05 +01:00
Stefan S
783fd376a4
fix Dual mode is broken #666
2024-10-26 21:52:51 +02:00
Stefan S
513fe3fe6f
Merge branch 'master' of https://github.com/librespeed/speedtest into fix-docker-images
2024-10-26 18:20:48 +02:00
Stefan S
a964e3c975
change from pr#671
2024-10-26 18:12:30 +02:00