about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions
Commit message (Collapse)AuthorAgeFilesLines
* webmentions: check webmentions and save them to the databaseVika2023-07-222-6/+183
|
* Split Postgres schemas into twoVika2023-07-211-9/+11
| | | | | Now the postgres schemas are completely independent of each other. This took a while to figure out!
* 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.
* cargo update, part 1Vika2023-07-171-5/+5
|
* webmentions/queue: move JobQueue trait into kittybox-utilVika2023-07-092-47/+128
| | | | | | | 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-092-17/+63
| | | | | | 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
|
* Create a job queue based on PostgresVika2023-07-091-0/+179
It's generic enough to be used for anything, but for now it's only gonna be used for webmentions.