Commit Graph

23 Commits

Author SHA1 Message Date
cdac0ff71e Nix package build 2025-02-10 08:23:03 -08:00
e014b9f9b2 Simplify Execute goroutines 2025-02-09 22:59:04 -08:00
3874abf8bd Add offset and limit parameters to item queries 2025-02-07 07:29:32 -08:00
2894493d34 Support INTAKE_TTX env settings 2025-02-05 13:53:09 -08:00
f7dd694b67 Support tt{l,d} in source updates 2025-02-05 11:38:30 -08:00
d6a49593b7 TIL t.Helper() 2025-02-05 09:25:33 -08:00
f231c81f2d Reduce source.go to source functions 2025-01-31 15:21:44 -08:00
a0e4f1f9c4 Error on nonexistent sources instead of returning nothing 2025-01-31 14:22:38 -08:00
37142229ea Make item updates transactional 2025-01-31 09:55:07 -08:00
9cfa568eff Pass state directly through Execute instead of statePath 2025-01-30 16:04:31 -08:00
5692f60318 Add state blob to source 2025-01-30 15:22:57 -08:00
f5e9277e26 Add statePath argument to Execute 2025-01-30 08:28:13 -08:00
647584e55b Order items by .time or .created 2025-01-29 22:41:50 -08:00
f804299180 Add actions to items 2025-01-29 08:52:39 -08:00
d23efdf00b Check Item equality with a function
Using == won't work when the Action field is a map[string]RawMessage
2025-01-29 08:52:39 -08:00
453bc9d601 Replace AddItem with AddItems 2025-01-29 07:43:06 -08:00
f153263bc4 Add on_create triggers 2025-01-24 15:41:52 -08:00
b7683f6805 Implement source fetch 2025-01-23 12:26:21 -08:00
dde799ff8e Add option to show inactive items in feed 2025-01-23 11:40:56 -08:00
14df3cac03 Implement source {add,list,delete} 2025-01-23 08:37:56 -08:00
2a58c01319 Refactor db access to ensure pragmas are set, fix foreign keys 2025-01-19 21:33:49 -08:00
bd488d7b47 Remove migrations code 2025-01-18 14:03:14 -08:00
cd00c0fedc Move source logic to source.go 2025-01-18 14:02:17 -08:00