Commit graph

96 commits

Author SHA1 Message Date
2bc2b7dfc2
AI (partially fixed): Better ANSI rendering 2026-01-03 15:23:08 -08:00
92d12e36bc
additional condition detail 2026-01-03 12:39:59 -08:00
62bae1fb99
complete mock implementation, add tests/fix forecast calc (part 1) 2026-01-03 12:23:38 -08:00
06d25df997
add geoip download option for geoip test 2026-01-02 16:26:14 -08:00
7e3f50c5d7
fix leak in MetNo test 2026-01-02 16:08:36 -08:00
62ca0a7551
avoid stderr output in zig build test/move test to Lru 2026-01-02 16:08:07 -08:00
ede8b593b8
fix cache related segfault 2026-01-02 15:06:35 -08:00
7fd9810c78
add forecast data, feels like fields (leaking test) 2026-01-02 14:03:20 -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
aef0806040
reduce buffer and max entries sizes 2025-12-19 15:24:01 -08:00
0a175c55d3
update cache implementation with proper L1/L2 persistence 2025-12-19 14:35:23 -08:00
5fd9743e10
update emojis 2025-12-19 10:37:34 -08:00
048aca4ece
make metno conditions more exhaustive 2025-12-19 10:14:24 -08:00
52de6f0f9b
reorder emoji 2025-12-19 09:39:14 -08:00
4c95017e02
centralize emoji logic 2025-12-19 09:07:35 -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
9c7902aca8
ai stuff to fix colors, etc 2025-12-18 17:47:29 -08:00
662e0c5e33
clean up logging 2025-12-18 17:46:21 -08:00
a7721ff959
ai completed the ansi version 2025-12-18 17:03:34 -08:00
4ea857331f
add comment on why we are not using a proper middleware 2025-12-18 16:57:46 -08:00
4269cd6376
make sure cache saves to file properly 2025-12-18 16:50:36 -08:00
c99551e35c
adjust emojis 2025-12-18 16:39:01 -08:00
5352457032
use openweathermap weather codes 2025-12-18 16:26:40 -08:00
80b4e65ab2
centalize GeoIp lookup functions 2025-12-18 16:08:55 -08:00
9c6e73f582
add actual Coordinates.zig file 2025-12-18 15:54:44 -08:00
2834763c0a
talked AI into using a cImport and removed 60 LoC of duplicate code 2025-12-18 15:54:17 -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
66d1e7fa79
convert mock.zig -> Mock.zig 2025-12-18 15:01:50 -08:00
a2c2641558
clean up .gitignore/main.zig 2025-12-18 14:57:52 -08:00
e0decf9df9
make config more readable 2025-12-18 14:46:08 -08:00
5614225050
use airport data from zig fetch 2025-12-18 14:33:04 -08:00
7e7fd77ec7
clean up geolite db download process 2025-12-18 14:23:45 -08:00
3a837e2c1f
prefer getEnvMap to multiple calls to getEnvOwned 2025-12-18 13:54:51 -08:00
703e77c19d
remove error-based control flow/handle ipv6 2025-12-18 13:49:32 -08:00
8d9204ab8d
add note on translation page that translations not yet supported 2025-12-18 13:35:45 -08:00
61bd6c6b90
update GeoIP -> GeoIp 2025-12-18 13:33:59 -08:00
f729ea3540
update LRU -> Lru 2025-12-18 13:24:57 -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