Commit Graph

46 Commits

Author SHA1 Message Date
Mark Felder
04395cb9bd Grammar consistency
Most log messages are sentence fragments so make them consistent by
removing periods. Log messages that are expressing urgency with ! or
pending more work with "..." are OK.
2018-03-19 17:31:58 +00:00
lain
0067c9d2be Only push to still valid websub subscriptions. 2018-03-13 18:32:17 +01:00
lain
7b26443a76 ActivityPub: Send out Accept after Follow. 2018-02-17 16:08:55 +01:00
Roger Braun
6dfa62800a Revert "Longer timeouts for user fetching."
Breaks too many tests.

This reverts commit 7de3a65214.
2017-11-07 09:41:35 +01:00
Roger Braun
7de3a65214 Longer timeouts for user fetching. 2017-11-07 09:11:19 +01:00
Roger Braun
b4f055b604 Don't reject already accepted subscriptions. 2017-10-05 12:53:16 +02:00
Roger Braun
571f07abe3 Try refresh all invalid subscriptions.
This is a temporary fix to prevent intermittent problems from cutting
off subscriptions.
2017-08-02 12:42:12 +02:00
Roger Braun
e4a4135c1d Handle subscriptions in queue. 2017-08-02 12:34:48 +02:00
Roger Braun
ffc9d7708b Handle webpubs in queue. 2017-06-23 16:37:34 +02:00
Roger Braun
6a184115a2 Longer timeouts for outgoing federation. 2017-06-23 12:25:53 +02:00
Roger Braun
14d9de39e8 Better debugging. 2017-06-20 17:28:36 +02:00
Roger Braun
fe27b61a72 Add some debugging to federations. 2017-06-20 14:10:44 +02:00
Roger Braun
bdcf42180f Save remote user bio and update if we see new data. 2017-05-24 17:34:38 +02:00
Roger Braun
312772df7c Add debugging help. 2017-05-11 09:13:14 +02:00
Roger Braun
153995f832 Correct active state websub name. 2017-05-10 18:54:43 +02:00
Roger Braun
2e753e8cd7 Refresh subscriptions. 2017-05-10 18:44:06 +02:00
Roger Braun
bda389d7d9 Subscribe to remote users on following. 2017-05-06 14:09:39 +02:00
Roger Braun
04f6ece99e Send salmons and websub in background tasks. 2017-05-05 20:38:10 +02:00
Roger Braun
d982f04a65 Mock HTTPoison in testing. 2017-05-05 14:16:54 +02:00
Roger Braun
7269c51f3a Some refactoring. 2017-05-05 12:07:38 +02:00
Roger Braun
c48c381e90 Merge branch 'develop' into dtluna/pleroma-refactor/1 2017-05-05 11:46:59 +02:00
Roger Braun
5d9f3df714 Just sign with an empty string if needed. 2017-05-04 09:57:11 +02:00
Roger Braun
151da344be Add debugging logs. 2017-05-04 09:54:22 +02:00
Roger Braun
53d05af5b6 Fix Mastodon signature bug. 2017-05-03 19:23:12 +02:00
Roger Braun
8141024259 Attachment parsing, better magic key fetching. 2017-05-03 14:26:49 +02:00
Roger Braun
89c1e90eb2 Don't crypt raw iolists. 2017-05-01 22:02:07 +02:00
Roger Braun
aa20941416 Some servers send empty lease_seconds requests... 2017-05-01 20:09:00 +02:00
Roger Braun
e88062494e Revert "Also accept user id as feed topic."
This reverts commit 97d11dec0e.
2017-05-01 18:34:15 +02:00
Roger Braun
97d11dec0e Also accept user id as feed topic. 2017-05-01 18:07:50 +02:00
Roger Braun
92a8944dfe Redirect to user feed instead of directly serving it. 2017-05-01 18:05:02 +02:00
Roger Braun
1854842b09 Log subscription error. 2017-05-01 17:28:49 +02:00
Roger Braun
f9912599c4 Pull in remote avatar on federation. 2017-04-30 12:53:49 +02:00
Roger Braun
20015b4b67 Save remote users with fqn as nickname. 2017-04-29 20:08:45 +02:00
Roger Braun
427bac0966 Rework remote user subscription. 2017-04-29 19:06:01 +02:00
Roger Braun
69922bc724 Add user info gathering. 2017-04-29 17:51:59 +02:00
Roger Braun
1422e7aa84 Handle incoming websub subscriptions. 2017-04-28 15:45:10 +02:00
Roger Braun
451d18af63 Add proper callback route for websub confirmation. 2017-04-28 09:51:47 +02:00
dtluna
6cf7c13228 Refactor code to comply with credo suggestions 2017-04-27 16:18:50 +03:00
Roger Braun
90da25505f Add discovery and subscription requests to websub. 2017-04-27 09:46:45 +02:00
Roger Braun
d1dce56a85 Refactor XML parsing. 2017-04-27 09:43:58 +02:00
Roger Braun
c5fa682c31 Refactor, add beginnings of websub client subscriptions. 2017-04-26 18:33:10 +02:00
Roger Braun
923584d046 Remove unknown activities from feed. 2017-04-22 14:37:54 +02:00
Roger Braun
c585f9e26c Only handle subscription requests for now. 2017-04-22 13:48:10 +02:00
Roger Braun
8fb73c28bb Only have one subscription per callback. 2017-04-22 13:44:21 +02:00
Roger Braun
77cb260628 add basic federation to websub. 2017-04-22 12:07:51 +02:00
Roger Braun
424e0e7779 Add Websub verification. 2017-04-21 03:59:11 +02:00