about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* webmentions: check webmentions and save them to the databaseVika2023-07-221-6/+79
|
* cargo update, part 2: AxumVika2023-07-171-1/+1
| | | | | | | | | Axum got some breaking changes and gained some nice features — however, features come later, breaking changes come first. Perhaps it would be nice to actually construct a State with all of my stuff, and then make functions generic over that. Could reduce the amount of generic stuff I am producing... maybe.
* webmentions/queue: move JobQueue trait into kittybox-utilVika2023-07-091-1/+3
| | | | | | | The trait itself seems basic enough that it could be reused elsewhere. Better to keep it in a separate crate. `-util` is a dumping ground for various things anyway.
* webmentions/supervisor: ability to cancel a background taskVika2023-07-091-13/+54
| | | | | | | | This requires the background task to be cancellation-safe, as it is dropped after receiving a cancellation event. Perhaps in the future there will be a supervisor version that may forward the cancellation to the task itself.
* webmentions/queue: give up on an item after 5 attemptsVika2023-07-091-0/+4
| | | | | | This also involves a crude "async drop" implementation that fires a future incrementing an attempt if a Job has been dropped without marking it as done.
* WIP: incoming webmention supportVika2023-07-091-0/+75