lemmy/crates/api_common/src
phiresky 375d9a2a3c
Persistent, performant, reliable federation queue (#3605)
* persistent activity queue

* fixes

* fixes

* make federation workers function callable from outside

* log federation instances

* dead instance detection not needed here

* taplo fmt

* split federate bin/lib

* minor fix

* better logging

* log

* create struct to hold cancellable task for readability

* use boxfuture for readability

* reset submodule

* fix

* fix lint

* swap

* remove json column, use separate array columns instead

* some review comments

* make worker a struct for readability

* minor readability

* add local filter to community follower view

* remove separate lemmy_federate entry point

* fix remaining duration

* address review comments mostly

* fix lint

* upgrade actitypub-fed to simpler interface

* fix sql format

* increase delays a bit

* fixes after merge

* remove selectable

* fix instance selectable

* add comment

* start federation based on latest id at the time

* rename federate process args

* dead instances in one query

* filter follow+report activities by local

* remove synchronous federation

remove activity sender queue

* lint

* fix federation tests by waiting for results to change

* fix fed test

* fix comment report

* wait some more

* Apply suggestions from code review

Co-authored-by: SorteKanin <sortekanin@gmail.com>

* fix most remaining tests

* wait until private messages

* fix community tests

* fix community tests

* move arg parse

* use instance_id instead of domain in federation_queue_state table

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: SorteKanin <sortekanin@gmail.com>
2023-09-09 12:25:03 -04:00
..
build_response.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
comment.rs Allow filtering posts and comments by whether they were liked/disliked - fixes #3401 (#3523) 2023-08-08 11:40:28 +02:00
community.rs add new flag to api (#3363) 2023-06-27 06:45:26 -04:00
context.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
lib.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
person.rs Change AddAdmin to use person_id instead of local_user_id (#3941) 2023-09-06 11:37:03 +02:00
post.rs update moderator view (#3820) 2023-08-31 13:07:45 +02:00
private_message.rs Allow filtering PMs by sender (#3770) 2023-08-08 11:07:41 +02:00
request.rs Add logging for pictrs uploads (#3927) 2023-09-06 09:13:30 -04:00
send_activity.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
utils.rs Replace ammonia lib with manual html escaping (fixes #3774) (#3938) 2023-09-06 10:56:26 -04:00