Commit graph

12800 commits

Author SHA1 Message Date
Roger Braun
89c1e90eb2 Don't crypt raw iolists. 2017-05-01 22:02:07 +02:00
Roger Braun
8ae13d94dc Use empty context id if we get none
Thanks mastodon.
2017-05-01 20:38:01 +02:00
Roger Braun
aa20941416 Some servers send empty lease_seconds requests... 2017-05-01 20:09:00 +02:00
Roger Braun
703d9f3628 Not enough h. 2017-05-01 20:04:32 +02:00
Roger Braun
76e653b0d8 Add user profile page link. 2017-05-01 20:02:32 +02:00
Roger Braun
ceb2f68432 Add type to rel=self link in feed. 2017-05-01 18:40:36 +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
108573265a Don't commit nil values in object cache. 2017-05-01 16:28:40 +02:00
Roger Braun
3cb518270a Remove superfluous transaction. 2017-05-01 16:15:21 +02:00
Roger Braun
f169de3454 Cache objects in dev and prod. 2017-05-01 16:12:20 +02:00
Roger Braun
b9d1fc05b2 Actually make index unique. 2017-05-01 15:42:05 +02:00
Roger Braun
2f093db051 Ensure we have no duplicate ap ids. 2017-05-01 14:54:58 +02:00
Roger Braun
d187a4965f Return feed for xml requests of the user. 2017-05-01 14:07:41 +02:00
Roger Braun
35938656ab Make user keys on usage. 2017-05-01 14:07:29 +02:00
Roger Braun
e54e592d6c Return webfinger for ap_ids. 2017-05-01 13:51:17 +02:00
Roger Braun
6843755834 Make outgoing salmons work. 2017-05-01 13:14:58 +02:00
Roger Braun
bed0b39813 Add function to fetch users from fqn. 2017-04-30 18:48:48 +02:00
Roger Braun
eb12a89d22 Rename wrongly-named function. 2017-04-30 15:06:22 +02:00
Roger Braun
a173fb9e41 Get users fresh, might so we don't make new keys all the time. 2017-04-30 15:05:16 +02:00
Roger Braun
bb1d08a47c Return keys in webfinger. 2017-04-30 15:00:04 +02:00
Roger Braun
09f7ed4214 Don't set statusnetConversationIds on replies anymore. 2017-04-30 14:26:29 +02:00
Roger Braun
009fcd2acf Stop adding statusnetConversationIds. 2017-04-30 14:02:04 +02:00
Roger Braun
379caca01d Wrap context creation in transaction. 2017-04-30 13:58:40 +02:00
Roger Braun
4c8111c334 Use conversation mapping objects to get / retrieve context from TwAPI. 2017-04-30 13:53:26 +02:00
Roger Braun
f9912599c4 Pull in remote avatar on federation. 2017-04-30 12:53:49 +02:00
Roger Braun
18edc299b2 Handle duplicates. 2017-04-30 12:36:47 +02:00
Roger Braun
62607f37dc Federate object id for posts in ostatus.
This is because ostatus doens't have an id for the activities.
2017-04-30 11:55:19 +02:00
Roger Braun
84027ff00b Handle comments. 2017-04-30 11:39:27 +02:00
Roger Braun
d937a8e695 Add thr:in-reply-to to ostatus representer. 2017-04-30 11:17:34 +02:00
Roger Braun
9d7c3190cc Get create activity from created object id.
This is useful for Ostatus federation because ostatus doesn't have
different ids for objects and activities...
2017-04-30 11:16:41 +02:00
Roger Braun
11ea08649d Make cache bigger and longer lived. 2017-04-30 10:06:57 +02:00
Roger Braun
ffc604a2c2 Use cache for user info data.
Later these should be persisted in the user.
2017-04-30 10:04:54 +02:00
Roger Braun
8a0d2b33d8 Keep ostatus id as activity id. 2017-04-30 09:25:46 +02:00
Roger Braun
a16da387d2 Handle full incoming feeds. 2017-04-29 21:13:21 +02:00
Roger Braun
20015b4b67 Save remote users with fqn as nickname. 2017-04-29 20:08:45 +02:00
Roger Braun
ba1ea77001 Make key fetching use ostatus fetching. 2017-04-29 19:47:56 +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
ca40dda04c Add some basic webfingering. 2017-04-28 17:41:12 +02:00
Roger Braun
59d4cc6036 normalize hex number. 2017-04-28 15:53:45 +02:00
Roger Braun
1422e7aa84 Handle incoming websub subscriptions. 2017-04-28 15:45:10 +02:00
dtluna
a9b2ad1759 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-activity 2017-04-28 16:06:57 +03: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
1ea4325fec Add user feed fixture. 2017-04-27 09:46:04 +02:00
Roger Braun
e8a311ecff Add user and hub to websub client subscriptions. 2017-04-27 09:44:20 +02:00