14 Commits

Author SHA1 Message Date
balki 4e84182926 Add bcrypt support for stats password 2026-05-07 14:00:40 -04:00
balki b7c5835680 Fix initialization of conf for stats 2026-05-07 13:59:17 -04:00
Maddie Zhan cd20f44d20 Sync PHP backend feature parity: IP detection, database backends, API endpoints, and frontend
- IP detection: Cloudflare IPv6, ULA IPv6, proxy header chain, offline GeoIP DB
- Database: add SQLite (pure Go, no CGo) and MSSQL backends
- API: add JSON result sharing endpoint and ID obfuscation
- Frontend: add modern CSS design, design switcher, favicon
- Compatibility: ?cors parameter support, human-friendly distance rounding
- Update Go to 1.21, add modernc.org/sqlite and maxminddb deps
2026-04-30 13:53:52 +08:00
Michael Stapelberg 603cbdeec5 go.mod: make module name match repository (#74) 2026-02-25 18:32:44 +08:00
Nick Miller 553a8c18cc Fix IP redaction: assign ReplaceAllString return values (#79)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 18:26:50 +08:00
Sharl.Jimh.Tsin 2ea9df0aba fix cookies not match while using subPath (#51) 2023-04-11 13:50:20 +08:00
Nicolas Ledez 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
kaustubh105 5944c3ca28 Rework session management (#37)
Co-authored-by: Kaustubh <kaustubh@rop.app>
2022-01-18 15:48:01 +08:00
Maddie Zhan 8c1aa6b39b Support none database type to disable stats/telemetry
Fixes #21
2021-09-18 01:48:10 +08:00
Maddie Zhan 7204ae2e19 Embed default assets 2021-09-17 21:06:00 +08:00
Maddie Zhan f033591c81 Fix ISP string 2020-12-21 12:07:27 +08:00
Maddie Zhan 890bc10096 Update PNG output to match PHP impl. better 2020-12-21 00:17:35 +08:00
Maddie Zhan bd721cdb07 Allow user to specify assets path in settings
Fixes #2
2020-06-16 16:24:29 +08:00
Maddie Zhan fad1302a73 Migrate code from Go branch to new repo 2020-06-02 18:10:50 +08:00