From 3118758f1d2c1950d60382009a391015778a2568 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 29 Jan 2025 14:56:02 -0800 Subject: [PATCH] Update todo list --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 043e54d..cec98e5 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,14 @@ Parity with existing Python version * [ ] rename * [x] delete * [x] execute - * [ ] require items to declare action support + * [x] require items to declare action support * [ ] state files * [ ] source environment * [ ] working directory set * [ ] update web UI credentials * [ ] automatic crontab integration * [ ] feed supports item TTS -* [ ] data directory from envvars +* [x] data directory from envvars * [ ] source-level tt{s,d,l} * [ ] source batching * channels @@ -43,10 +43,11 @@ Parity with existing Python version * [x] deactivate items * [ ] mass deactivate * [ ] punt - * [ ] trigger actions + * [x] trigger actions * [x] add ad-hoc items * [ ] show/hide deactivated items * [ ] show/hide tts items + * [ ] sort by time ?? created * [ ] NixOS module * [ ] NixOS module demo @@ -92,6 +93,7 @@ Any unspecified field is equivalent to the empty string, object, or 0, depending | `body` | Optional | Body text of the item as raw HTML. This will be displayed in the item without further processing! Consider your sources' threat models against injection attacks. | `link` | Optional | A hyperlink associated with the item. | `time` | Optional | A Unix timestamp associated with the item, not necessarily when the item was created. Items sort by `time` when it is defined and fall back to `created`. Displayed in the item footer. +| `action` | Optional | A JSON object with keys for all supported actions. No schema is imposed on the values. Existing items are updated with new values when a fetch or action produces them, with some exceptions: