Commit Graph

465 Commits

Author SHA1 Message Date
Roger Braun ae0e6d8003 Handle cases where we don't get lease_seconds returned. 2017-05-10 19:04:27 +02:00
Roger Braun 153995f832 Correct active state websub name. 2017-05-10 18:54:43 +02:00
Roger Braun 05f2cd0d93 Handle incoming follows.
Also Mastodon CWs.
2017-05-10 18:46:23 +02:00
Roger Braun 34a1ce00ec Set valid_until date. 2017-05-10 18:45:55 +02:00
Roger Braun a2ca3b8605 Add option to keep id for follows. 2017-05-10 18:45:38 +02:00
Roger Braun 36448d6483 Add externalprofile to TwAPI. 2017-05-10 18:44:57 +02:00
Roger Braun 2e753e8cd7 Refresh subscriptions. 2017-05-10 18:44:06 +02:00
Roger Braun fca7390c69 Only kick off websubs for local users. 2017-05-10 18:43:14 +02:00
Roger Braun 118c572006 Use changeset for remote user creation. 2017-05-10 10:16:20 +02:00
Roger Braun 373753e595 Add some basic changesets. 2017-05-09 18:11:51 +02:00
Roger Braun e12a6d5666 Get fresh objects on changes.
This will count retweets / favs correctly again.
2017-05-09 18:11:11 +02:00
Roger Braun 71362acb93 Quick fix for database filling. 2017-05-09 00:20:05 +02:00
Roger Braun 1418d72749 Add class=attachment to attachment links. 2017-05-08 20:12:36 +02:00
Roger Braun 8f9c43343e Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop 2017-05-08 19:35:16 +02:00
Roger Braun 3320c9b176 Fix remote users retweeting local stuff. 2017-05-08 18:19:45 +02:00
Roger Braun b9da7d3219 typo. 2017-05-07 20:30:34 +02:00
Roger Braun 7303786160 Add some twapi fixes. 2017-05-07 20:20:53 +02:00
Roger Braun e49770ee88 Add some debugging info. 2017-05-07 20:16:07 +02:00
Roger Braun db08498a9f Prevent double insertions. 2017-05-07 20:13:10 +02:00
Roger Braun 4f9328c622 Preserve ids on favorites / retweets. 2017-05-07 20:05:03 +02:00
Roger Braun b403ea4d2b Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity 2017-05-07 19:28:23 +02:00
Roger Braun 60b4b0d725 Safety measures. 2017-05-07 14:52:19 +02:00
Roger Braun a41aa4e489 Federate follow salmons. 2017-05-07 14:45:37 +02:00
Roger Braun 95ab0dc3c5 Add conversation ids to twapi announce representer. 2017-05-07 12:46:21 +02:00
Roger Braun c51e15975a Fix user fetching error. 2017-05-07 12:45:37 +02:00
Roger Braun ff2945dfdc Index users by ap_id. 2017-05-07 00:21:15 +02:00
Roger Braun fcd34096db Add one more alias for twapi twkn. 2017-05-06 22:26:36 +02:00
Roger Braun 7db76a0f0e Address incoming messages to followers. 2017-05-06 14:23:39 +02:00
Roger Braun bda389d7d9 Subscribe to remote users on following. 2017-05-06 14:09:39 +02:00
Roger Braun 9cafb67fc1 Follow redirects when fetching activities.
This can happen for site that started as http and now switched to https.
2017-05-06 13:18:08 +02:00
Roger Braun 22ddddce76 Handle incoming items through the queue. 2017-05-06 12:34:40 +02:00
Roger Braun 7e65cad9fe Do recursive fetching in-band for now.
This is to prevent conversation id problems.
2017-05-06 12:15:48 +02:00
Roger Braun 04f6ece99e Send salmons and websub in background tasks. 2017-05-05 20:38:10 +02:00
Roger Braun 7752f103f6 Add basic thread fetching. 2017-05-05 20:15:26 +02:00
Roger Braun 00a7183118 Basic queue. 2017-05-05 18:58:29 +02:00
Roger Braun 2d9fdbcc0d Don't call out if we have the favorited notice locally. 2017-05-05 16:27:03 +02:00
Roger Braun fa2610c795 Handle incoming favorites, fetch potentially missing messages. 2017-05-05 16:07:44 +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 c85998ab8a Parse incoming retweets. 2017-05-04 18:42:29 +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 97257c692c Fix specs. 2017-05-03 20:06:20 +02:00
Roger Braun 1077c5c58d Remove reply-to for shares, mastodon gets confused. 2017-05-03 20:06:00 +02:00
Roger Braun 53d05af5b6 Fix Mastodon signature bug. 2017-05-03 19:23:12 +02:00
Roger Braun 5d7831ee3e Add self links to federated statuses. 2017-05-03 18:10:19 +02:00
Roger Braun b34b046f16 Add user to announced status. 2017-05-03 17:51:36 +02:00
Roger Braun 861a294cda Add announce federation. 2017-05-03 17:41:55 +02:00
Roger Braun 138641589d OStatus announce representer. 2017-05-03 17:39:12 +02:00