about summary refs log tree commit diff
path: root/src/micropub/mod.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-05-06 17:13:03 +0300
committerVika <vika@fireburn.ru>2021-05-06 17:13:03 +0300
commitaecb72d104dae2bcdeafdb01f0e33ad92ecf27d4 (patch)
treebfa3178bd47ebbe701e99307ba3842f717bba719 /src/micropub/mod.rs
parentd56fcb55c033e47d5b4ccadef5032f6f0412b642 (diff)
downloadkittybox-aecb72d104dae2bcdeafdb01f0e33ad92ecf27d4.tar.zst
Added post-processing of new posts
This launches a background task to handle:
 - Downloading reply contexts (requires an MF2 parser, doesn't work yet)
 - Syndicating the post (currently no syndication targets are defined)
 - Sending WebSub notifications if a hub is present (WIP)
 - Sending webmentions (ok this one is fully implemented... I hope!)

 This background task should not impact processing times and should
 never conflict with futher updates of a post, since the database is
 guaranteed to be fully atomic. Inside of the task, you can run long
 asynchronous fetching and stuff, just don't block the whole thread.
Diffstat (limited to 'src/micropub/mod.rs')
0 files changed, 0 insertions, 0 deletions