Commit Graph

67 Commits

Author SHA1 Message Date
7bea8c247a Update todo list 2025-01-29 22:42:11 -08:00
647584e55b Order items by .time or .created 2025-01-29 22:41:50 -08:00
c4d53eb993 Hook up the Deactivate All button 2025-01-29 22:21:17 -08:00
3519517b96 Disable action button while the action runs 2025-01-29 19:34:55 -08:00
7477504508 Swap outerHTML by default 2025-01-29 19:34:25 -08:00
3118758f1d Update todo list 2025-01-29 14:56:02 -08:00
6ef51b7286 Execute actions from web UI 2025-01-29 14:54:29 -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
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
421271e2c3 Require nonempty source in Execute() 2025-01-29 07:39:00 -08:00
6c312a1aae Update data path resolution 2025-01-27 21:54:46 -08:00
9dacdb987a Add more Execute test cases 2025-01-27 21:27:20 -08:00
18dd930579 Update todo list 2025-01-27 21:10:45 -08:00
fc2fadedd3 Fill in some links 2025-01-27 21:08:33 -08:00
186f24e486 Add item deactivation 2025-01-27 21:04:21 -08:00
76449d814f Vendor htmx 2.0.4 2025-01-27 20:34:07 -08:00
af77322755 Add link to item page
This will be useful later for editing items
2025-01-27 20:28:46 -08:00
565522535f Move item template to its own file 2025-01-27 19:35:13 -08:00
1057b54b3d Refactor item into a template 2025-01-27 17:05:20 -08:00
c49b6c9088 Use go.1.22 routing style 2025-01-27 16:49:50 -08:00
c18cc73496 Move template input types to html module 2025-01-24 21:41:46 -08:00
ab58837b5d Basic source feed view based on Python version 2025-01-24 21:27:26 -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
79dbea50c2 Import README content from Python, include todo list 2025-01-24 10:00:45 -08:00
f89d5f5d05 Hook up the web to the db 2025-01-24 07:15:54 -08:00
d71334cda7 Add air to devshell for live reloading 2025-01-23 16:58:55 -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
675cb64f47 Refactor get item functions 2025-01-23 11:36:51 -08:00
2d7d48846d Add transaction utility 2025-01-23 10:03:46 -08:00
0fa79abdfd Add missing err checks 2025-01-23 09:08:17 -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
fb0d4e9aee Add actions to the database 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
1468c3adc4 Split migrations and source logic into separate files
Merge commit '82a2b5e'; commit 'bd488d7' into HEAD
2025-01-18 14:03:50 -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
82a2b5eab9 Remove source code 2025-01-18 14:00:53 -08:00