Commit graph

110 commits

Author SHA1 Message Date
c1e864be61
add a slightly hacky "stop" endpoint in debug mode 2026-01-12 12:47:22 -08:00
f1c85205f9
move to arena allocation for airport data 2026-01-12 12:35:42 -08:00
4c678c1f7e
fix failing test 2026-01-12 11:21:12 -08:00
5c00c36802
AI: Add Png generation (test failing - but render is not terrible) 2026-01-12 11:19:46 -08:00
d0f08aacfa
partial changes for png generation 2026-01-12 11:16:59 -08:00
148bd862b5
use source code pro - fixes mobile browser rendering
All checks were successful
Generic zig build / build (push) Successful in 1m32s
Generic zig build / deploy (push) Successful in 24s
2026-01-10 09:26:07 -08:00
6a6101c495
add provider test 2026-01-09 13:54:11 -08:00
50e493aad5
stack allocate the cache key for weather 2026-01-09 11:59:35 -08:00
f936422b07
lock down date used in render function when under test 2026-01-09 11:58:54 -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
7dc4336474
vlean up geocache
All checks were successful
Generic zig build / build (push) Successful in 1m40s
Generic zig build / deploy (push) Successful in 14s
2026-01-08 21:18:02 -08:00
e8e31b25e8
store proper ip strings in new ip2l cache
All checks were successful
Generic zig build / build (push) Successful in 1m22s
Generic zig build / deploy (push) Successful in 13s
2026-01-08 20:38:17 -08:00
a79094efdc
delete cache if old 2026-01-08 20:03:42 -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
03ca266e1d
til adding U+FE0F specifies emoji representation. Updating emojis 2026-01-07 09:19:21 -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
6ce156e243
add astronomical times support 2026-01-06 22:38:19 -08:00
e95c13b1c6
moon phase calculation based on phoon 2026-01-06 19:15:24 -08:00
80266514e0
more renaming 2026-01-06 17:17:43 -08:00
4ec74d8967
better naming 2026-01-06 17:12:38 -08:00
58f6e390bd
update help 2026-01-06 17:00:34 -08:00
728076ce9f
fix json renderer 2026-01-06 17:00:13 -08:00
98747a3d30
implement view options n,q,Q,0,1,2 2026-01-06 15:34:17 -08:00
5e1c2fb44c
update help page 2026-01-06 14:42:03 -08:00
1e6a5e28ca
enable ip2location unconditionally as it can work without an api key
All checks were successful
Generic zig build / build (push) Successful in 1m18s
Generic zig build / deploy (push) Successful in 14s
2026-01-06 12:13:45 -08:00
ce958837e0
add pre tags for html 2026-01-06 10:45:37 -08:00
06b4a6057a
implement ansi/text and user-agent based html output 2026-01-06 10:15:33 -08:00
b466acb70a
implement CacheEntry deinit to clean up code a bit 2026-01-06 10:08:30 -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
bf4ea51424
make uncaughtError public
All checks were successful
Generic zig build / build (push) Successful in 2m22s
Generic zig build / deploy (push) Successful in 2m7s
2026-01-05 15:32:51 -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
83ce3afe58
add logging when we make a network request for geocoding through OSM
All checks were successful
Generic zig build / build (push) Successful in 1m15s
Generic zig build / deploy (push) Successful in 12s
2026-01-05 14:21:17 -08:00
9bdaaa64d7
clean up error message
Some checks failed
Generic zig build / build (push) Failing after 12s
Generic zig build / deploy (push) Has been skipped
2026-01-05 13:44:49 -08:00
87ffe7d598
move metno initialization earlier so less work is done if the environment variable is not set 2026-01-05 13:43:33 -08:00
b2cb5d537f
use git version in metno identifier 2026-01-05 13:34:37 -08:00
24903e4beb
first pass at MetNo user agent 2026-01-05 12:18:49 -08:00
ea17e18c6f
bring config to the top level/rename file 2026-01-05 11:20:24 -08:00
06720cc53c
look for database in default directory, download it during ci tests 2026-01-05 11:16:17 -08:00
cb3a51e47f
now that we have a cache directory, default geocache file to that directory 2026-01-05 10:56:14 -08:00
f98e11e773
make sure path exists 2026-01-05 00:44:21 -08:00
b2c6b3b651
ip2location 2026-01-05 00:39:24 -08:00