Commit Graph

48 Commits

Author SHA1 Message Date
9cbc95a6db Fix Windows build
Fixes #44, closes #45
v1.1.5
2022-07-09 01:03:33 +08:00
fa749f3b45 goreleaser: don't upx compress Linux MIPS bianries 2022-07-09 00:54:04 +08:00
a5d18ef24c Added url_base parameter to customize the root url and allow hosting with another application. (#41)
* Added `url_base` parameter and code to rewrite URL

* Manage redirect on stats login

Co-authored-by: Nicolas Ledez <github.public@ledez.net>
2022-07-09 00:44:49 +08:00
f09f2df2e3 Changed installation guide (#40)
- Added a notice about install the software using prebuilt binary packages.
- Added a notice about installing the software using my Ansible role.
2022-07-09 00:44:00 +08:00
86763bd3aa Feature: TLS and HTTP/2 (#39) 2022-03-27 02:47:16 +08:00
22f21a270b Add missing go.mod dependency 2022-01-18 15:52:20 +08:00
5944c3ca28 Rework session management (#37)
Co-authored-by: Kaustubh <kaustubh@rop.app>
2022-01-18 15:48:01 +08:00
c67b8ec91d Support systemd socket activation (#35)
* Support systemd socket activation

If the process has been started with systemd socket activation
configured, then serve requests on the passed-in socket instead of
attempting to bind to an address.

* Add example systemd unit files.

Add example systemd unit files which make use of systemd's security
facilities, and also allow binding to port 80 whilst running as an
unpriviliged process (using systemd socket activation).
2022-01-18 15:47:32 +08:00
281aff1725 Update Dockerfile (#36)
update alpine to 3.15 (same as golang:alpine)
2022-01-18 15:46:15 +08:00
158e37d3ae Docker: Fix asset copy step to copy from the correct directory (#33)
Assets were moved from the `assets` folder to the `web/assets` folder in
commit 7204ae2e19 but the `Dockerfile` has
not been adjusted to copy from there.
2021-10-17 21:51:13 +08:00
2583e5113a Use default html assets 2021-09-27 11:11:08 +08:00
42cc7740a5 Fix windows/arm64 build v1.1.4 2021-09-18 13:56:26 +08:00
bee29e8b7e Update goreleaser config 2021-09-18 13:12:01 +08:00
89a5de0105 Support in-memory telemetry/stats database 2021-09-18 02:19:14 +08:00
800760054e Embed tzdata and rootcerts in binary
For use in environments without tzdata or root certs (like embedded devices)

Fixes #29
2021-09-18 01:58:35 +08:00
8c1aa6b39b Support none database type to disable stats/telemetry
Fixes #21
2021-09-18 01:48:10 +08:00
7204ae2e19 Embed default assets 2021-09-17 21:06:00 +08:00
83d25e00fe Update dependencies 2021-09-17 20:32:57 +08:00
a9adc15ce9 Sync frontend components with PHP version 2021-09-17 20:32:31 +08:00
2ca5dbf071 Add RPM package SPEC (#23) 2021-07-05 14:02:19 +08:00
dcb9882978 Allow negative coordinates
Fixes #25
2021-05-21 14:21:45 +08:00
c755a05b61 Update dependencies v1.1.3 2021-03-18 18:20:08 +08:00
e2d2f66e97 Remove web server logger
Fixes #18
2021-03-18 18:17:20 +08:00
f033591c81 Fix ISP string 2020-12-21 12:07:27 +08:00
890bc10096 Update PNG output to match PHP impl. better 2020-12-21 00:17:35 +08:00
fe438802ca Fix missing format calls and minor error handling (#17) 2020-12-16 17:42:24 +08:00
fc6e99b45c Let Viper handle the config file v1.1.2 2020-11-10 16:33:19 +08:00
c815103e20 Merge pull request #11 from JackyCZJ/master
fix(mysql) timestamp marshall error , fix
v1.1.1
2020-08-24 18:32:48 +08:00
19432dbb37 fix(mysql) timestamp marshall error , fix
Signed-off-by: JackyCZJ <chenzj@esixnetwork.net>
2020-08-24 18:28:36 +08:00
31d51deba5 Update README 2020-08-20 15:44:41 +08:00
cf93e8c545 gofmt 2020-08-20 10:32:50 +08:00
b138d9b6bc Use a proven library to calculate distance
Also rounding distance at 2 decimals instead of round to 5
2020-08-20 10:22:47 +08:00
01347b8514 Update dependencies v1.1.0 2020-08-19 17:03:19 +08:00
a0a6db8597 Add Proxy Protocol support
Closes #9
2020-08-19 17:02:37 +08:00
b76ebec8d0 Update README 2020-08-19 11:38:35 +08:00
86e43891b2 Update README 2020-08-19 11:32:37 +08:00
f884386a54 Support HEAD method for all endpoints via middleware 2020-08-17 15:23:54 +08:00
6970d87166 Return 404 for non-existing files instead of 403 2020-08-15 23:13:23 +08:00
2958853375 Support HTTP HEAD method (#7) 2020-08-15 18:09:48 +08:00
d2d0d7d085 Merge pull request #5 from AxelFernandez/master
Delete an F in From Dockerfile
2020-08-11 07:07:18 +02:00
0cfdb0ea9e Delete an F in From Dockerfile 2020-08-11 00:48:13 -03:00
a992da4780 Dockerfile for speedtest-go (#3)
* fix a typo in the Readme an built a Dockerfile

* typo on the RUN
2020-07-01 10:03:12 +08:00
64cf616e59 Add index.html v1.0.1 2020-06-17 13:35:15 +08:00
60329fc832 Add option to specify config file 2020-06-16 16:24:29 +08:00
bd721cdb07 Allow user to specify assets path in settings
Fixes #2
2020-06-16 16:24:29 +08:00
8971ba8117 Handle URLs with an extraneous /backend/ prefix (#1)
* handle /backend in URLs as speedtest_worker.js is set up to do so

* fixed dropped slashes
2020-06-08 11:43:51 +08:00
30c56a0d46 Add assets and settings.toml to release archive 2020-06-03 10:59:28 +08:00
fad1302a73 Migrate code from Go branch to new repo v1.0.0 2020-06-02 18:10:50 +08:00