implement ActivitySender actor #89

Merged
dessalines merged 28 commits from activity-sender into main 2020-08-31 13:48:03 +00:00

28 Commits

Author SHA1 Message Date
dessalines 04a367b365 Merge pull request 'Adding unique ap_ids. Fixes #1100' (#90) from unique_ap_ids into activity-sender
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/90
2020-08-31 13:46:49 +00:00
Dessalines 0578c8f548 Adding back in on_conflict. 2020-08-31 08:26:23 -05:00
Dessalines 81b204c1b8 Trying to add back in the on_conflict_do_nothing. 2020-08-31 07:41:15 -05:00
Dessalines 31b0213cf3 Trying to reduce delay time. 2020-08-30 11:47:11 -05:00
Dessalines f814fa5577 Removing createFakes. 2020-08-30 10:52:37 -05:00
Dessalines 8f85ff995e Removing some unit tests. 2020-08-29 17:07:37 -05:00
Dessalines d4b7c726f5 Adding comment jest timeout. 2020-08-29 09:11:59 -05:00
Dessalines 64ba24417b Fixing tests again. 2020-08-28 20:33:54 -04:00
Dessalines a5c0228e4c Fixing tests again. 2020-08-28 11:52:52 -04:00
Dessalines 98cab90bb6 Merge branch 'activity-sender' into unique_ap_ids_2 2020-08-28 09:52:33 -04:00
Felix Ableitner 4b5b876e3c Replace actix client with reqwest to speed up federation tests 2020-08-28 15:22:29 +02:00
Dessalines 752e40c8f0 Trying to fix tests again. 2020-08-27 13:16:15 -04:00
Dessalines 0b551ecbac Fixing unit tests. 2020-08-26 17:31:05 -04:00
Dessalines 4db6585da0 Fixing some broken unit tests, not done yet. 2020-08-25 16:25:26 -04:00
Dessalines 447e210704 Adding uniques. 2020-08-25 12:45:47 -04:00
Dessalines 5b4722b66c Adding unique ap_ids. Fixes #1100 2020-08-25 12:00:07 -04:00
Felix Ableitner 8ac0fa6d6c use proper sql functionality for upsert 2020-08-25 15:08:36 +02:00
Felix Ableitner fb88a5b3b4 added logging 2020-08-24 17:00:06 +02:00
Felix Ableitner 14381fdc52 in fetcher, replace post/comment::create with upsert 2020-08-24 16:57:14 +02:00
Felix Ableitner 934f83dbe4 no need to do an actual update in post/comment::upsert 2020-08-24 16:48:42 +02:00
Felix Ableitner ba1135184b Merge branch 'main' into activity-sender 2020-08-24 15:11:51 +02:00
Felix Ableitner e135e7b466 implement upsert for user/community 2020-08-24 15:03:22 +02:00
Felix Ableitner 71fd1e8508 reuse http client 2020-08-21 18:17:52 +02:00
Felix Ableitner 74af8b8014 got it working 2020-08-21 17:44:28 +02:00
Felix Ableitner 1b8eb9b970 attempt to use background-jobs crate 2020-08-20 18:52:48 +02:00
Felix Ableitner f7f64363ea rewrite with proper error handling and less boilerplate 2020-08-19 19:05:57 +02:00
Felix Ableitner 512eeb0432 remove do_send, dont return errors from activity_sender 2020-08-19 15:11:22 +02:00
Felix Ableitner 35649032c0 WIP: implement ActivitySender actor 2020-08-18 18:53:15 +02:00