Commit Graph

55 Commits

Author SHA1 Message Date
1795fe94b1 Add timeout parameter to CLI commands that execute actions 2025-02-21 21:05:50 -08:00
ee32e8ecd4 Set global default timeout to 2 minutes 2025-02-21 20:49:55 -08:00
1be261f54d Remove crontab integration 2025-02-20 08:03:08 -08:00
76353c4029 Implement background fetch 2025-02-20 07:19:21 -08:00
7446f92cc8 Automatic crontab updates on modifying INTAKE_CRON 2025-02-12 10:14:31 -08:00
7361fd4600 Combine action add/edit with on conflict replace 2025-02-12 09:49:27 -08:00
b12a411fd6 Add crontab integration 2025-02-10 13:42:48 -08:00
8d9dcec038 Add error item on action failure 2025-02-10 08:23:03 -08:00
f38cfa3008 Add RandomHex() helper 2025-02-10 08:23:03 -08:00
bc19b0a70f Simplify Execute setup 2025-02-07 15:06:05 -08:00
3874abf8bd Add offset and limit parameters to item queries 2025-02-07 07:29:32 -08:00
b4db1d4f11 Fix migrate command not failing when migration fails 2025-02-05 22:08:29 -08:00
2894493d34 Support INTAKE_TTX env settings 2025-02-05 13:53:09 -08:00
c0d8e8ae31 Add tt{l,d,s} to item add command 2025-02-05 12:14:53 -08:00
f7dd694b67 Support tt{l,d} in source updates 2025-02-05 11:38:30 -08:00
ff943704c4 Add passwd --stdin 2025-02-04 20:22:50 -08:00
c8227b405d Implement passwd command 2025-02-02 00:20:51 -08:00
e40e2a3245 Add channels 2025-01-31 17:24:30 -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
d89f85e141 Convert DB to interface 2025-01-31 08:44:09 -08:00
ced1de05e8 Set source envs in action executions 2025-01-31 08:00:07 -08:00
a238d1f239 Add source environment variables 2025-01-31 07:50:56 -08:00
9cfa568eff Pass state directly through Execute instead of statePath 2025-01-30 16:04:31 -08:00
68038839ec Remove argument used only for logging 2025-01-30 08:28:13 -08:00
9bf840fcec Eliminate global variables in cmd 2025-01-30 08:28:13 -08:00
f5e9277e26 Add statePath argument to Execute 2025-01-30 08:28:13 -08:00
34fa784c44 Factor out ExecuteItemAction helper 2025-01-30 08:28:13 -08:00
680d8db6bb action execute respects item action support 2025-01-29 09:13:48 -08:00
7ca6ccfaf3 Rename variables 2025-01-29 09:07:57 -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
6c312a1aae Update data path resolution 2025-01-27 21:54:46 -08:00
fcea58148e Use --id instead of --item for item add 2025-01-24 21:15:19 -08:00
f153263bc4 Add on_create triggers 2025-01-24 15:41:52 -08:00
f89d5f5d05 Hook up the web to the db 2025-01-24 07:15:54 -08:00
13c2c64583 Create basic layout for web server 2025-01-23 16:58:29 -08:00
a84a464901 Implement updating items 2025-01-23 14:24:16 -08:00
1fb9e5853c Add --diff to action execute 2025-01-23 13:50:45 -08:00
4a75e8e814 Implement most of action execute 2025-01-23 13:32:09 -08:00
9a77beb582 Add more information to CLI help text 2025-01-23 13:23:21 -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
7b8d3796bd Implement action {add,delete,edit,list} 2025-01-23 08:37:56 -08:00
14df3cac03 Implement source {add,list,delete} 2025-01-23 08:37:56 -08:00
4355a79ec0 Refactor db open to helper func 2025-01-23 08:37:56 -08:00
cb161b4f91 Reorganize CLI commands 2025-01-23 06:57:39 -08:00
2a58c01319 Refactor db access to ensure pragmas are set, fix foreign keys 2025-01-19 21:33:49 -08:00
10f4294328 Add Execute() and test command 2025-01-17 13:49:23 -08:00
4b93a258a6 Refactor item formatting into core/item.go 2025-01-17 07:30:01 -08:00