a074564458
Federation async ( #848 )
...
* Asyncify more
* I guess these changed
* Clean PR a bit
* Convert more away from failure error
* config changes for testing federation
* It was DNS
So actix-web's client relies on TRust DNS Resolver to figure out
where to send data, but TRust DNS Resolver seems to not play nice
with docker, which expressed itself as not resolving the name to
an IP address _the first time_ when making a request. The fix was
literally to make the request again (which I limited to 3 times
total, and not exceeding the request timeout in total)
* Only retry for connecterror
Since TRust DNS Resolver was causing ConnectError::Timeout,
this change limits the retry to only this error, returning
immediately for any other error
* Use http sig norm 0.4.0-alpha for actix-web 3.0 support
* Blocking function, retry http requests
* cargo +nightly fmt
* Only create one pictrs dir
* Don't yarn build
* cargo +nightly fmt
2020-07-01 08:54:29 -04:00
7d1c6e9a40
Switching back to isahc.
2020-06-25 15:36:03 -04:00
dc94e58cbf
Merge branch 'master' into federation_merge_from_master_2
2020-06-23 21:11:38 -04:00
fd6a040568
Changing another blacklisted to blocklisted.
2020-06-17 21:29:10 -04:00
68bcc26ff6
Fix community description federation (ref #647 )
...
Also disable the actor refetch interval in debug builds.
2020-06-16 13:35:26 +02:00
325ed2ec3b
Rename "instance_whitelist" config option to "allowed_instances"
2020-06-16 12:49:51 +02:00
Dessalines
cfa40e482a
Parse out in reply to field. Fixes #694 ( #799 )
...
- When a comment or post doesn't exist locally, yet we receive
an activitypub with it (for example, a nested comment update,
for a community we just subscribed to, also with a post we
don't have...), then fetch it.
2020-06-11 11:16:33 -04:00
5c6601cb2a
Merge branch 'activitystreams-new' into federation
2020-06-07 09:12:15 -04:00
f40f74b20d
Adding additional 3-instance integration test for community announce.
2020-06-03 17:55:32 -04:00
c1ef766125
migrate follow
2020-06-03 21:44:14 +02:00
3999e0485e
migrate tombstone
2020-06-03 17:10:16 +02:00
1aa30d855e
address review comments
2020-06-01 16:48:07 +02:00
f3aba6da92
fix comment notifications
2020-05-30 20:05:42 +02:00
c34cc46c2d
get it working (mostly)
2020-05-30 19:44:50 +02:00
52206998aa
more fixes
2020-05-30 15:38:01 +02:00
8f9bd1fef7
get some more things working
2020-05-28 15:20:12 +02:00
ce0a37cdf1
get it working (mostly)
2020-05-28 13:51:48 +02:00
cac7011d53
move logic to sharedinbox
2020-05-28 13:44:52 +02:00
5753c4feaa
Let community announce posts
2020-05-28 13:15:51 +02:00
a9af247f1e
Merge branch 'federated_embeds' into federation
2020-05-25 16:15:23 -04:00
d1aca27126
Use activitystreams-ext
2020-05-18 18:15:26 +02:00
f15c3b4e1e
Merge branch 'yerba_rework-imports' into federation
2020-05-16 21:09:26 -04:00
9e61c3be94
Rework imports
2020-05-16 20:04:17 +02:00
f88180650d
Adding federated embeds via the preview field.
2020-05-15 23:40:36 -04:00
020b9b8cdd
Post thumbnail and user icons federating.
2020-05-15 20:23:20 -04:00
Dessalines
940dc73f28
Federated mentions. Fixes #681 ( #717 )
...
* Federated mentions. Fixes #681
* Changing some todos, adding comments.
2020-05-15 12:36:11 -04:00
3a4973ad68
Merge branch 'federation' into yerba_refactoring
2020-05-14 18:35:29 -04:00
0fb8450e56
Simplify community_inbox
2020-05-14 17:44:01 +02:00
13ca47a3b4
Use ActorType for sign/verify, instead of passing raw privatekey/actor_id
2020-05-14 17:17:40 +02:00
11acc7225e
Add helper function for Activity::create()
2020-05-14 14:26:44 +02:00
a1ad21ec56
remove outdated comments
2020-05-14 13:23:56 +02:00
bb1b4ee33e
Comment search and apub endpoint
2020-05-14 12:42:26 +02:00
66142c546b
Merge branch 'federated_private_messages' into federation
2020-05-06 13:51:39 -04:00
15f1920b25
Federated private messages.
2020-05-05 22:06:24 -04:00
dfd6629a6f
Federate community category and nsfw
2020-05-05 16:30:13 +02:00
7485f1a5b4
Federate nsfw/locked info for posts
2020-05-05 02:09:27 +02:00
b177cbce1d
Renaming ignore to unfollow in followable trait.
2020-05-04 14:26:16 -04:00
b8b2398d32
Adding undo follow community.
2020-05-03 22:41:45 -04:00
fab22e3d8a
Add federated comment and post undo like.
2020-05-03 20:34:04 -04:00
dfc9637230
Merge branch 'federation' into federated_remove_actions
2020-05-03 13:27:53 -04:00
2c22e413eb
Merge branch 'federation' into federated_remove_actions
2020-05-03 13:22:32 -04:00
Dessalines
67d4daa7a1
Merge pull request #687 from LemmyNet/undo_delete_community
...
Undo delete for community, comment, and post.
2020-05-03 13:21:01 -04:00
211ef795e9
Some additional notes, reorg.
2020-05-03 10:22:25 -04:00
a09c818746
Adding federated mod remove actions.
2020-05-03 10:00:59 -04:00
5366797a4b
Add undos for delete community, post, and comment.
2020-05-01 15:01:29 -04:00
2f1cd9976d
Adding federated community, comment, and post deletes.
...
- Unit tests added too.
- No undeletes working yet.
2020-05-01 10:07:38 -04:00
461114c143
update activitystreams lib
2020-04-30 18:30:01 +02:00
38cdfdf7e0
Changing federated community and user links and searching.
...
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
2020-04-30 11:45:12 -04:00
770dcbdc49
wip: add former_type to tombstone
2020-04-29 21:10:50 +02:00
8cd68f56aa
Adding shorthand federated object searching.
2020-04-29 12:55:54 -04:00