Commit graph

18 commits

Author SHA1 Message Date
nutomic
7c51a36012 In activity table, remove user_id and add sensitive (#127)
Forgot to add migrations

Add `sensitive` column to activities table, so PMs arent served over HTTP

Remove user_id column from actvity table

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/127
2020-11-06 13:06:47 +00:00
6d17d5ead2 Ignore incoming activities which have been received before (ref #1220) 2020-10-23 14:29:56 +02:00
695272f980 Create rustdoc for activitypub code 2020-10-19 16:29:35 +02:00
7cfcf0acec Change the way that to is set in apub 2020-10-12 18:02:28 +02:00
0dda2577e1 Refactor apub code, split up large files 2020-10-12 16:10:09 +02:00
cb4a3a03a2 Fixed an issue with blocked post creators in outbox.
- Fixes #1186
2020-10-09 12:46:27 -05:00
7fbad900d7 Addressing a few comments. 2020-10-08 12:38:44 -05:00
26883208cd Create separate SendActivityTask for each destination 2020-10-06 19:19:53 +02:00
60730e81d9 Avoid duplicate comment send, better activity logging 2020-10-06 18:28:31 +02:00
ca4868cefd Adding a boolean check to send_activity_internal 2020-10-06 10:19:01 -05:00
9e84fe20e6 Dont send mentions to inbox of local community
also, dont start SendActivityTask for empty `to`, and remove
useless comment
2020-10-06 14:58:37 +02:00
9fa2092a21 Adding some logging. 2020-10-03 09:47:06 -05:00
f5b511ccce Merge branch 'main' into no-send-blocked-dess 2020-10-01 15:57:47 -05:00
3a24adc57f Renaming to sign_and_send 2020-10-01 12:54:20 -05:00
a4cb067130 Dont send to blocked instances, rewrite activity_sender 2020-09-30 20:35:02 +02:00
1fc21aed1c Use http-signature-normalization-reqwest 2020-09-29 20:08:50 -05:00
0aa0ea19fb Use reqwest to send activities 2020-09-29 15:10:55 +02:00
nutomic
442369a041 Move websocket code into workspace (#107)
Adjust dockerfiles, fix cargo.toml and remove unused deps

Merge branch 'main' into move-websocket-to-workspace

Move api code into workspace

Move apub to separate workspace

Move websocket code into separate workspace

Some code cleanup

Remove websocket dependency on API

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/107
2020-09-24 13:53:21 +00:00
Renamed from src/apub/activity_queue.rs (Browse further)