akkoma
7 years agoMore debugging code.
Roger Braun [Thu, 11 May 2017 07:34:11 +0000 (09:34 +0200)]
More debugging code.

7 years agoDon't fetch if we don't even have a inReplyTo.
Roger Braun [Thu, 11 May 2017 07:32:03 +0000 (09:32 +0200)]
Don't fetch if we don't even have a inReplyTo.

7 years agoAdd debugging help.
Roger Braun [Thu, 11 May 2017 07:13:14 +0000 (09:13 +0200)]
Add debugging help.

7 years agoRepair retweets.
Roger Braun [Wed, 10 May 2017 17:29:25 +0000 (19:29 +0200)]
Repair retweets.

7 years agoAdd problematic mastodon message.
Roger Braun [Wed, 10 May 2017 17:24:00 +0000 (19:24 +0200)]
Add problematic mastodon message.

7 years agoActually guess 3 days...
Roger Braun [Wed, 10 May 2017 17:12:40 +0000 (19:12 +0200)]
Actually guess 3 days...

7 years agoOnly try refreshing every 6 hours.
Roger Braun [Wed, 10 May 2017 17:08:42 +0000 (19:08 +0200)]
Only try refreshing every 6 hours.

7 years agoHandle cases where we don't get lease_seconds returned.
Roger Braun [Wed, 10 May 2017 17:04:27 +0000 (19:04 +0200)]
Handle cases where we don't get lease_seconds returned.

7 years agoCorrect active state websub name.
Roger Braun [Wed, 10 May 2017 16:54:43 +0000 (18:54 +0200)]
Correct active state websub name.

7 years agoHandle incoming follows.
Roger Braun [Wed, 10 May 2017 16:46:23 +0000 (18:46 +0200)]
Handle incoming follows.

Also Mastodon CWs.

7 years agoSet valid_until date.
Roger Braun [Wed, 10 May 2017 16:45:55 +0000 (18:45 +0200)]
Set valid_until date.

7 years agoAdd option to keep id for follows.
Roger Braun [Wed, 10 May 2017 16:45:38 +0000 (18:45 +0200)]
Add option to keep id for follows.

7 years agoAdd externalprofile to TwAPI.
Roger Braun [Wed, 10 May 2017 16:44:57 +0000 (18:44 +0200)]
Add externalprofile to TwAPI.

7 years agoRefresh subscriptions.
Roger Braun [Wed, 10 May 2017 16:44:06 +0000 (18:44 +0200)]
Refresh subscriptions.

7 years agoOnly kick off websubs for local users.
Roger Braun [Wed, 10 May 2017 16:43:14 +0000 (18:43 +0200)]
Only kick off websubs for local users.

7 years agoUse changeset for remote user creation.
Roger Braun [Wed, 10 May 2017 08:16:20 +0000 (10:16 +0200)]
Use changeset for remote user creation.

7 years agoAdd some basic changesets.
Roger Braun [Tue, 9 May 2017 16:11:51 +0000 (18:11 +0200)]
Add some basic changesets.

7 years agoGet fresh objects on changes.
Roger Braun [Tue, 9 May 2017 16:11:11 +0000 (18:11 +0200)]
Get fresh objects on changes.

This will count retweets / favs correctly again.

7 years agoQuick fix for database filling.
Roger Braun [Mon, 8 May 2017 22:20:05 +0000 (00:20 +0200)]
Quick fix for database filling.

7 years agoAdd class=attachment to attachment links.
Roger Braun [Mon, 8 May 2017 18:12:36 +0000 (20:12 +0200)]
Add class=attachment to attachment links.

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
Roger Braun [Mon, 8 May 2017 17:35:16 +0000 (19:35 +0200)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop

7 years agoFix remote users retweeting local stuff.
Roger Braun [Mon, 8 May 2017 16:19:45 +0000 (18:19 +0200)]
Fix remote users retweeting local stuff.

7 years agotypo.
Roger Braun [Sun, 7 May 2017 18:30:34 +0000 (20:30 +0200)]
typo.

7 years agoAdd some twapi fixes.
Roger Braun [Sun, 7 May 2017 18:20:53 +0000 (20:20 +0200)]
Add some twapi fixes.

7 years agoAdd some debugging info.
Roger Braun [Sun, 7 May 2017 18:16:07 +0000 (20:16 +0200)]
Add some debugging info.

7 years agoPrevent double insertions.
Roger Braun [Sun, 7 May 2017 18:13:10 +0000 (20:13 +0200)]
Prevent double insertions.

7 years agoPreserve ids on favorites / retweets.
Roger Braun [Sun, 7 May 2017 18:05:03 +0000 (20:05 +0200)]
Preserve ids on favorites / retweets.

7 years agoMerge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
Roger Braun [Sun, 7 May 2017 17:28:23 +0000 (19:28 +0200)]
Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity

7 years agoSafety measures.
Roger Braun [Sun, 7 May 2017 12:52:19 +0000 (14:52 +0200)]
Safety measures.

7 years agoFederate follow salmons.
Roger Braun [Sun, 7 May 2017 12:45:37 +0000 (14:45 +0200)]
Federate follow salmons.

7 years agoAdd conversation ids to twapi announce representer.
Roger Braun [Sun, 7 May 2017 10:46:21 +0000 (12:46 +0200)]
Add conversation ids to twapi announce representer.

7 years agoFix user fetching error.
Roger Braun [Sun, 7 May 2017 10:45:37 +0000 (12:45 +0200)]
Fix user fetching error.

7 years agoIndex users by ap_id.
Roger Braun [Sat, 6 May 2017 22:21:15 +0000 (00:21 +0200)]
Index users by ap_id.

7 years agoAdd one more alias for twapi twkn.
Roger Braun [Sat, 6 May 2017 20:26:36 +0000 (22:26 +0200)]
Add one more alias for twapi twkn.

7 years agoAddress incoming messages to followers.
Roger Braun [Sat, 6 May 2017 12:23:39 +0000 (14:23 +0200)]
Address incoming messages to followers.

7 years agoSubscribe to remote users on following.
Roger Braun [Sat, 6 May 2017 12:09:39 +0000 (14:09 +0200)]
Subscribe to remote users on following.

7 years agoFollow redirects when fetching activities.
Roger Braun [Sat, 6 May 2017 11:18:08 +0000 (13:18 +0200)]
Follow redirects when fetching activities.

This can happen for site that started as http and now switched to https.

7 years agoHandle incoming items through the queue.
Roger Braun [Sat, 6 May 2017 10:34:40 +0000 (12:34 +0200)]
Handle incoming items through the queue.

7 years agoDo recursive fetching in-band for now.
Roger Braun [Sat, 6 May 2017 10:15:48 +0000 (12:15 +0200)]
Do recursive fetching in-band for now.

This is to prevent conversation id problems.

7 years agoSend salmons and websub in background tasks.
Roger Braun [Fri, 5 May 2017 18:38:10 +0000 (20:38 +0200)]
Send salmons and websub in background tasks.

7 years agoAdd basic thread fetching.
Roger Braun [Fri, 5 May 2017 18:15:26 +0000 (20:15 +0200)]
Add basic thread fetching.

7 years agoBasic queue.
Roger Braun [Fri, 5 May 2017 16:58:29 +0000 (18:58 +0200)]
Basic queue.

7 years agoDon't call out if we have the favorited notice locally.
Roger Braun [Fri, 5 May 2017 14:27:03 +0000 (16:27 +0200)]
Don't call out if we have the favorited notice locally.

7 years agoHandle incoming favorites, fetch potentially missing messages.
Roger Braun [Fri, 5 May 2017 14:07:44 +0000 (16:07 +0200)]
Handle incoming favorites, fetch potentially missing messages.

7 years agoMock HTTPoison in testing.
Roger Braun [Fri, 5 May 2017 12:16:54 +0000 (14:16 +0200)]
Mock HTTPoison in testing.

7 years agoSome refactoring.
Roger Braun [Fri, 5 May 2017 10:07:38 +0000 (12:07 +0200)]
Some refactoring.

7 years agoMerge branch 'develop' into dtluna/pleroma-refactor/1
Roger Braun [Fri, 5 May 2017 09:46:59 +0000 (11:46 +0200)]
Merge branch 'develop' into dtluna/pleroma-refactor/1

7 years agoParse incoming retweets.
Roger Braun [Thu, 4 May 2017 16:42:29 +0000 (18:42 +0200)]
Parse incoming retweets.

7 years agoJust sign with an empty string if needed.
Roger Braun [Thu, 4 May 2017 07:57:11 +0000 (09:57 +0200)]
Just sign with an empty string if needed.

7 years agoAdd debugging logs.
Roger Braun [Thu, 4 May 2017 07:54:22 +0000 (09:54 +0200)]
Add debugging logs.

7 years agoFix specs.
Roger Braun [Wed, 3 May 2017 18:06:20 +0000 (20:06 +0200)]
Fix specs.

7 years agoRemove reply-to for shares, mastodon gets confused.
Roger Braun [Wed, 3 May 2017 18:06:00 +0000 (20:06 +0200)]
Remove reply-to for shares, mastodon gets confused.

7 years agoFix Mastodon signature bug.
Roger Braun [Wed, 3 May 2017 17:23:12 +0000 (19:23 +0200)]
Fix Mastodon signature bug.

7 years agoAdd self links to federated statuses.
Roger Braun [Wed, 3 May 2017 16:10:19 +0000 (18:10 +0200)]
Add self links to federated statuses.

7 years agoAdd user to announced status.
Roger Braun [Wed, 3 May 2017 15:51:36 +0000 (17:51 +0200)]
Add user to announced status.

7 years agoAdd announce federation.
Roger Braun [Wed, 3 May 2017 15:41:55 +0000 (17:41 +0200)]
Add announce federation.

7 years agoOStatus announce representer.
Roger Braun [Wed, 3 May 2017 15:39:12 +0000 (17:39 +0200)]
OStatus announce representer.

7 years agoRemove doubled 'to' recipients.
Roger Braun [Wed, 3 May 2017 14:08:24 +0000 (16:08 +0200)]
Remove doubled 'to' recipients.

7 years agoAttachment parsing, better magic key fetching.
Roger Braun [Wed, 3 May 2017 12:26:49 +0000 (14:26 +0200)]
Attachment parsing, better magic key fetching.

7 years agoJust give out the entry, not the whole feed.
Roger Braun [Wed, 3 May 2017 08:01:26 +0000 (10:01 +0200)]
Just give out the entry, not the whole feed.

7 years agoReturn note objects as ostatus post activities.
Roger Braun [Wed, 3 May 2017 07:54:17 +0000 (09:54 +0200)]
Return note objects as ostatus post activities.

7 years agoUse inReplyTo to find context.
Roger Braun [Tue, 2 May 2017 19:31:01 +0000 (21:31 +0200)]
Use inReplyTo to find context.

7 years agoAdd attachment link to posts.
Roger Braun [Tue, 2 May 2017 16:25:39 +0000 (18:25 +0200)]
Add attachment link to posts.

7 years agoFollow webfinger redirects.
Roger Braun [Tue, 2 May 2017 15:44:55 +0000 (17:44 +0200)]
Follow webfinger redirects.

7 years agoUpdate incoming new avatars.
Roger Braun [Tue, 2 May 2017 15:16:01 +0000 (17:16 +0200)]
Update incoming new avatars.

7 years agoAdd avatar updating from incoming messages.
Roger Braun [Tue, 2 May 2017 15:13:41 +0000 (17:13 +0200)]
Add avatar updating from incoming messages.

7 years agoFederate likes.
Roger Braun [Tue, 2 May 2017 14:45:54 +0000 (16:45 +0200)]
Federate likes.

7 years agoAdd an ostatus representer for like activities.
Roger Braun [Tue, 2 May 2017 14:35:53 +0000 (16:35 +0200)]
Add an ostatus representer for like activities.

7 years agoSave context in likes / announces.
Roger Braun [Tue, 2 May 2017 13:54:14 +0000 (15:54 +0200)]
Save context in likes / announces.

7 years agoAdd statusnet_profile_url to the TwAPI.
Roger Braun [Tue, 2 May 2017 12:36:04 +0000 (14:36 +0200)]
Add statusnet_profile_url to the TwAPI.

7 years agoAdd twkn timeline.
Roger Braun [Tue, 2 May 2017 12:12:43 +0000 (14:12 +0200)]
Add twkn timeline.

7 years agoMark incoming activties as non-local.
Roger Braun [Tue, 2 May 2017 08:47:04 +0000 (10:47 +0200)]
Mark incoming activties as non-local.

7 years agoFix specs, add local marker to actitivies.
Roger Braun [Tue, 2 May 2017 08:43:35 +0000 (10:43 +0200)]
Fix specs, add local marker to actitivies.

7 years agoDon't crypt raw iolists.
Roger Braun [Mon, 1 May 2017 20:02:07 +0000 (22:02 +0200)]
Don't crypt raw iolists.

7 years agoUse empty context id if we get none
Roger Braun [Mon, 1 May 2017 18:38:01 +0000 (20:38 +0200)]
Use empty context id if we get none

Thanks mastodon.

7 years agoSome servers send empty lease_seconds requests...
Roger Braun [Mon, 1 May 2017 18:09:00 +0000 (20:09 +0200)]
Some servers send empty lease_seconds requests...

7 years agoNot enough h.
Roger Braun [Mon, 1 May 2017 18:04:32 +0000 (20:04 +0200)]
Not enough h.

7 years agoAdd user profile page link.
Roger Braun [Mon, 1 May 2017 18:02:32 +0000 (20:02 +0200)]
Add user profile page link.

7 years agoAdd type to rel=self link in feed.
Roger Braun [Mon, 1 May 2017 16:40:36 +0000 (18:40 +0200)]
Add type to rel=self link in feed.

7 years agoRevert "Also accept user id as feed topic."
Roger Braun [Mon, 1 May 2017 16:34:15 +0000 (18:34 +0200)]
Revert "Also accept user id as feed topic."

This reverts commit 97d11dec0ee78d24fea398f23d123baf0111362a.

7 years agoAlso accept user id as feed topic.
Roger Braun [Mon, 1 May 2017 16:07:50 +0000 (18:07 +0200)]
Also accept user id as feed topic.

7 years agoRedirect to user feed instead of directly serving it.
Roger Braun [Mon, 1 May 2017 16:05:02 +0000 (18:05 +0200)]
Redirect to user feed instead of directly serving it.

7 years agoLog subscription error.
Roger Braun [Mon, 1 May 2017 15:28:49 +0000 (17:28 +0200)]
Log subscription error.

7 years agoDon't commit nil values in object cache.
Roger Braun [Mon, 1 May 2017 14:28:40 +0000 (16:28 +0200)]
Don't commit nil values in object cache.

7 years agoRemove superfluous transaction.
Roger Braun [Mon, 1 May 2017 14:15:21 +0000 (16:15 +0200)]
Remove superfluous transaction.

7 years agoCache objects in dev and prod.
Roger Braun [Mon, 1 May 2017 14:12:20 +0000 (16:12 +0200)]
Cache objects in dev and prod.

7 years agoActually make index unique.
Roger Braun [Mon, 1 May 2017 13:42:05 +0000 (15:42 +0200)]
Actually make index unique.

7 years agoEnsure we have no duplicate ap ids.
Roger Braun [Mon, 1 May 2017 12:54:58 +0000 (14:54 +0200)]
Ensure we have no duplicate ap ids.

7 years agoReturn feed for xml requests of the user.
Roger Braun [Mon, 1 May 2017 12:07:41 +0000 (14:07 +0200)]
Return feed for xml requests of the user.

7 years agoMake user keys on usage.
Roger Braun [Mon, 1 May 2017 12:07:29 +0000 (14:07 +0200)]
Make user keys on usage.

7 years agoReturn webfinger for ap_ids.
Roger Braun [Mon, 1 May 2017 11:51:17 +0000 (13:51 +0200)]
Return webfinger for ap_ids.

7 years agoMake outgoing salmons work.
Roger Braun [Mon, 1 May 2017 11:14:58 +0000 (13:14 +0200)]
Make outgoing salmons work.

7 years agoAdd function to fetch users from fqn.
Roger Braun [Sun, 30 Apr 2017 16:48:48 +0000 (18:48 +0200)]
Add function to fetch users from fqn.

7 years agoRename wrongly-named function.
Roger Braun [Sun, 30 Apr 2017 13:06:22 +0000 (15:06 +0200)]
Rename wrongly-named function.

7 years agoGet users fresh, might so we don't make new keys all the time.
Roger Braun [Sun, 30 Apr 2017 13:05:16 +0000 (15:05 +0200)]
Get users fresh, might so we don't make new keys all the time.

7 years agoReturn keys in webfinger.
Roger Braun [Sun, 30 Apr 2017 13:00:04 +0000 (15:00 +0200)]
Return keys in webfinger.

7 years agoDon't set statusnetConversationIds on replies anymore.
Roger Braun [Sun, 30 Apr 2017 12:26:29 +0000 (14:26 +0200)]
Don't set statusnetConversationIds on replies anymore.

7 years agoStop adding statusnetConversationIds.
Roger Braun [Sun, 30 Apr 2017 12:02:04 +0000 (14:02 +0200)]
Stop adding statusnetConversationIds.

7 years agoWrap context creation in transaction.
Roger Braun [Sun, 30 Apr 2017 11:58:40 +0000 (13:58 +0200)]
Wrap context creation in transaction.

7 years agoUse conversation mapping objects to get / retrieve context from TwAPI.
Roger Braun [Sun, 30 Apr 2017 11:53:26 +0000 (13:53 +0200)]
Use conversation mapping objects to get / retrieve context from TwAPI.