Commit graph

42 commits

Author SHA1 Message Date
cbabb810ee
pin us/non-us as well for imperial/metric default 2026-08-11 17:43:46 -07:00
95f677eb7f
remove png support 2026-08-04 16:19:37 -07:00
f9919d9521
upgrade to zig 0.16.0/fix latent MMDB C interop issue 2026-08-04 16:06:14 -07:00
315eb73bfa
move png to opt in at build time
All checks were successful
Generic zig build / build (push) Successful in 2m37s
Generic zig build / deploy (push) Successful in 33s
2026-03-05 11:03:21 -08:00
6e84aa815e
fix brittle tests 2026-03-05 10:41:14 -08:00
58c88f2320
add robots.txt and sitemap.xml 2026-03-05 10:39:46 -08:00
c1e864be61
add a slightly hacky "stop" endpoint in debug mode 2026-01-12 12:47:22 -08:00
d0f08aacfa
partial changes for png generation 2026-01-12 11:16:59 -08:00
f0b382375e
add newlines on line formatting
All checks were successful
Generic zig build / build (push) Successful in 1m37s
Generic zig build / deploy (push) Successful in 13s
2026-01-08 21:28:54 -08:00
bfae3c726b
get display name out of location resolver 2026-01-08 18:01:30 -08:00
59ec75dbf6
get one line output matching wttr.in 2026-01-08 15:05:15 -08:00
115af96c8a
update line and push custom to custom 2026-01-08 14:47:31 -08:00
d20b49dc90
add handler/server tests 2026-01-08 12:04:30 -08:00
05d470871f
move queryparams test to queryparams. handler now has no reference to allocators 2026-01-07 09:31:50 -08:00
17d94d9285
move to std.Io.Writer rather than allocating strings everywhere 2026-01-07 09:11:26 -08:00
b46940a7a3
prometheus support 2026-01-07 08:27:08 -08:00
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)