Commit Graph

624 Commits

Author SHA1 Message Date
Roger Braun 04544da8f1 Fetch user on externalprofile if we don't know him 2017-05-12 18:50:47 +02:00
Roger Braun dd12cf7296 Fix cws. 2017-05-11 17:59:11 +02:00
Roger Braun 932e0e87db More debugging code. 2017-05-11 09:34:11 +02:00
Roger Braun 2154f729b0 Don't fetch if we don't even have a inReplyTo. 2017-05-11 09:32:03 +02:00
Roger Braun 312772df7c Add debugging help. 2017-05-11 09:13:14 +02:00
Roger Braun 1b67a59795 Repair retweets. 2017-05-10 19:29:25 +02:00
Roger Braun f73cd6f3ce Add problematic mastodon message. 2017-05-10 19:24:00 +02:00
Roger Braun 9f15937fe6 Actually guess 3 days... 2017-05-10 19:12:40 +02:00
Roger Braun d2c4a427f1 Only try refreshing every 6 hours. 2017-05-10 19:08:42 +02:00
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