Commit Graph

319 Commits

Author SHA1 Message Date
Roger Braun 8feec8d390 Strip unsafe html on output in TwAPI. 2017-06-18 13:40:35 +02:00
Roger Braun a9bfbcae80 Slightly better html link regex. 2017-06-18 13:29:30 +02:00
Roger Braun 7b41e103e1 Remove html from user bios on display.
This is mainly to fix problems of bios coming from mastodong.
2017-06-18 13:17:35 +02:00
Roger Braun 83c657afa5 Do some basic escaping. 2017-06-14 14:46:18 +02:00
Roger Braun 1af9c77736 Move mention parsing to Formatter module. 2017-06-14 13:58:56 +02:00
Roger Braun eb18b9ebba Enable user timelines. 2017-06-12 17:12:55 +02:00
Roger Braun a1cabeea4a Redirect html user profile request. 2017-06-12 12:52:40 +02:00
Roger Braun 6342fcd5dc Save correct date for incoming notes. 2017-06-08 16:44:12 +02:00
Roger Braun 00c032783d Fix NaN statuses per day. 2017-06-05 15:47:37 +02:00
Roger Braun cdcb201bf5 Represent object publishing date in notes. 2017-06-02 22:47:49 +02:00
Roger Braun c7fdd1b7ff Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop 2017-06-01 11:24:03 +02:00
Roger Braun 4cfe1e0c9b Make timeouts longer, some servers are very slow. 2017-05-31 18:24:50 +02:00
Roger Braun 80705c7a20 Redirect to frontend on html notice path. 2017-05-31 17:48:22 +02:00
Roger Braun c6aa60c829 Shorten names in links. 2017-05-30 14:26:31 +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 94e980d6b4 Output proper published data in ostatus. 2017-05-24 13:54:25 +02:00
Roger Braun 4854a604ef Extract note handler. 2017-05-20 13:41:33 +02:00
Roger Braun 1085675ec4 Output ref instead of href for conversation. 2017-05-20 10:44:57 +02:00
Roger Braun 9d97be4413 Try fetching shares. 2017-05-19 16:08:46 +02:00
Roger Braun 03b7b2fa24 Also show activities in OStatus. 2017-05-19 15:53:02 +02:00
Roger Braun 8e02fa100f Add categories to ostatus output. 2017-05-18 18:18:27 +02:00
Roger Braun b74125900c save correct inReplyToStatusId. 2017-05-18 17:03:21 +02:00
Roger Braun 042cdf09ca Wire up inReplyToStatusIds for ostatus. 2017-05-18 16:58:30 +02:00
Roger Braun 48f9df2391 Keep newlines around. 2017-05-18 16:41:16 +02:00
Roger Braun a92a9dce94 Add invisible tags to TwAPI output. 2017-05-18 16:24:41 +02:00
Roger Braun beb7b0ef07 Handle incoming tags. 2017-05-18 15:58:18 +02:00
Roger Braun 0da6ade619 Save tags in object. 2017-05-18 15:16:49 +02:00
Roger Braun 9033bfffd2 Twitter API refactoring. 2017-05-17 18:00:20 +02:00
Roger Braun dcfd494e97 Add Formatter. 2017-05-17 18:00:09 +02:00
Roger Braun 70024632ba AP refactoring. 2017-05-16 18:19:04 +02:00
Roger Braun 423194520e Fix mention replacing. 2017-05-15 18:25:21 +02:00
Roger Braun d95ac274d6 On user making, check if we have a user with that uri. 2017-05-12 18:58:25 +02:00
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 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