Commit graph

26 commits

Author SHA1 Message Date
523e9fdcad
Determine proper client IP prior to rate limiting, then pass it through 2026-01-06 22:57:39 -08:00
80266514e0
more renaming 2026-01-06 17:17:43 -08:00
4ec74d8967
better naming 2026-01-06 17:12:38 -08:00
98747a3d30
implement view options n,q,Q,0,1,2 2026-01-06 15:34:17 -08:00
06b4a6057a
implement ansi/text and user-agent based html output 2026-01-06 10:15:33 -08:00
95ce25919f
add favicon 2026-01-06 09:10:00 -08:00
456057a2c0
working IP address implementation and unit tests around GeoIP/full handler flow
All checks were successful
Generic zig build / build (push) Successful in 1m18s
Generic zig build / deploy (push) Successful in 14s
2026-01-05 22:56:32 -08:00
ffd87490cd
remove hard coded 500 errors from handleWeatherInternal
All checks were successful
Generic zig build / build (push) Successful in 1m29s
Generic zig build / deploy (push) Successful in 1m16s
2026-01-05 16:57:33 -08:00
6e829eea30
handle client ip without forwarding headers
All checks were successful
Generic zig build / build (push) Successful in 1m17s
Generic zig build / deploy (push) Successful in 13s
2026-01-05 16:13:59 -08:00
a5afaeb848
more logging
All checks were successful
Generic zig build / build (push) Successful in 1m19s
Generic zig build / deploy (push) Successful in 12s
2026-01-05 15:20:31 -08:00
005874b7bf
set the location display name in the handler 2026-01-04 11:23:42 -08:00
52a5bf2543
rename ansi to formatted 2026-01-03 16:11:06 -08:00
8df2877644
add location header to ease debugging 2025-12-19 15:43:08 -08:00
62e7b83d1b
Return 404 instead of defaulting to London if no location found 2025-12-19 15:42:36 -08:00
50f8889e6e
be clear on which allocator this is 2025-12-19 15:41:26 -08:00
8b51be05af
move cache to the provider interface to persist raw provider data 2025-12-19 15:27:01 -08:00
0a175c55d3
update cache implementation with proper L1/L2 persistence 2025-12-19 14:35:23 -08:00
ac6ddf829d
location_query is never null 2025-12-18 18:01:20 -08:00
a172a9a325
startsWith there makes no sense 2025-12-18 17:59:04 -08:00
60cede5a8b
simplify structure 2025-12-18 17:58:15 -08:00
7d06d281e0
address location fallback logic, for now 2025-12-18 17:54:13 -08:00
4195f43fa7
centralize/reuse coordinates structure 2025-12-18 15:41:08 -08:00
448c49ae79
convert provider -> Provider 2025-12-18 15:06:44 -08:00
61bd6c6b90
update GeoIP -> GeoIp 2025-12-18 13:33:59 -08:00
015418fccb
Had AI collapse appropriate files to avoid nested structs 2025-12-18 13:23:06 -08:00
1800c68081
move zig to base, python/go out to legacy 2025-12-18 12:24:21 -08:00
Renamed from zig/src/http/handler.zig (Browse further)