summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/TODO.md b/TODO.md
index b80e812..615b2cc 100644
--- a/TODO.md
+++ b/TODO.md
@@ -14,24 +14,18 @@ Add support for uploading the avatar, instead of needing an URL to an image. As
14 14
15Add (back) the possibility to attach an image by URL. 15Add (back) the possibility to attach an image by URL.
16 16
17With this new disk layout, hidden posts (and their children) can be directly skipped (are there any other implications?). 17With this new disk layout, hidden posts (and their children) can be directly skipped when rendering the HTML timeline (are there any other implications?).
18 18
19## Wishlist 19## Wishlist
20 20
21Move the output messages to the global queue. 21Implement the ActivityPub C2S (Client to Server) API: https://www.w3.org/TR/activitypub/#client-to-server-interactions . I skipped that part of the documentation entirely, so I don't know if this is trivial or hell. The Android client at http://andstatus.org/ implements it, or so it seems. There may be others.
22 22
23Refactor the global queue to use a pool of threads. 23Implement HTTP caches (If-None-Match / ETag). I'm not sure if it's worth.
24
25Implement the ActivityPub C2S (Client to Server) API: (https://www.w3.org/TR/activitypub/#client-to-server-interactions). The client at http://andstatus.org/ implements it.
26
27Implement HTTP caches (If-None-Match / ETag).
28 24
29The 'history' pages are just monthly HTML snapshots of the local timeline. This is ok and cheap and easy, but is problematic if you e.g. intentionally delete a post because it will remain there in the history forever. If you activate local timeline purging, purged entries will remain in the history as 'ghosts', which may or may not be what the user wants. 25The 'history' pages are just monthly HTML snapshots of the local timeline. This is ok and cheap and easy, but is problematic if you e.g. intentionally delete a post because it will remain there in the history forever. If you activate local timeline purging, purged entries will remain in the history as 'ghosts', which may or may not be what the user wants.
30 26
31Implement bulleted lists. Mastodon is crap and won't show them, but other implementations (Friendica, Pleroma) will do. 27Implement bulleted lists. Mastodon is crap and won't show them, but other implementations (Friendica, Pleroma) will do.
32 28
33Add a user-settable `purge_days`. This is not at first very hard to do, but purging posts from a user cache directory does not also delete them from the global object database and they will be kept in the indexes (unless they are also deleted from the indexes, which is a too expensive operation); this way, if another user in the same instance follows you, your posts will not disappear as you desire and that may be confusing and annoying. A different way to implement this: configure a maximum number of entries to keep and truncate the indexes in the purge. But this does not clear the disk usage, which is why I want to implement this (to implement bots that generate posts periodically and avoid the disks exploding).
34
35## Closed 29## Closed
36 30
37Start a TODO file (2022-08-25T10:07:44+0200). 31Start a TODO file (2022-08-25T10:07:44+0200).
@@ -215,3 +209,9 @@ Implement hashtags. They are not very useful, as they can only be implemented as
215Refactor the queue to be global, not per user (2023-02-03T20:49:31+0100). 209Refactor the queue to be global, not per user (2023-02-03T20:49:31+0100).
216 210
217If there is a post in private.idx that has a parent that is in the global object database, this parent will be inserted into the list by timeline_top_level(). BUT, the new function timeline_get_by_md5() (that only looks in the user caches) won't find the parent, so the full thread will not be shown. This is BAD (2023-02-08T13:48:12+0100). 211If there is a post in private.idx that has a parent that is in the global object database, this parent will be inserted into the list by timeline_top_level(). BUT, the new function timeline_get_by_md5() (that only looks in the user caches) won't find the parent, so the full thread will not be shown. This is BAD (2023-02-08T13:48:12+0100).
212
213Move the output messages to the global queue (2023-02-10T12:17:30+0100).
214
215Refactor the global queue to use a pool of threads (2023-02-10T12:17:38+0100).
216
217Add a user-settable `purge_days`. This is not at first very hard to do, but purging posts from a user cache directory does not also delete them from the global object database and they will be kept in the indexes (unless they are also deleted from the indexes, which is a too expensive operation); this way, if another user in the same instance follows you, your posts will not disappear as you desire and that may be confusing and annoying. A different way to implement this: configure a maximum number of entries to keep and truncate the indexes in the purge. But this does not clear the disk usage, which is why I want to implement this (to implement bots that generate posts periodically and avoid the disks exploding) (2023-02-10T12:18:42+0100).