Commit Graph

12293 Commits

Author SHA1 Message Date
Roger Braun ac3f32da7e Preserve state in oauth 2017-09-14 09:29:51 +02:00
Roger Braun a8701282d4 MastoAPI: fake out 'application' property. 2017-09-14 09:14:08 +02:00
Roger Braun 6258c6b6b3 MastoAPI: Also return text_url in attachments. 2017-09-14 08:38:48 +02:00
Roger Braun 7f3ce5c1a0 Cleanup. 2017-09-14 08:11:51 +02:00
Roger Braun 641c24cdd4 Add media upload endpoint. 2017-09-14 08:08:32 +02:00
Roger Braun 3184939055 Ensure non-null bio. 2017-09-13 17:45:59 +02:00
Roger Braun d168ef5a9e MastoAPI: Add accounts getting. 2017-09-13 17:36:02 +02:00
Roger Braun ad5001828e Oh no! More datetime fixes! 2017-09-13 17:18:08 +02:00
Roger Braun 14b4029b1d Reparse time to ensure correct format. 2017-09-13 16:38:29 +02:00
Roger Braun 94be93aad0 Allign datetime format with mastodon. 2017-09-13 16:26:02 +02:00
Roger Braun d2faee01ee Return iso8601 date. 2017-09-13 16:09:57 +02:00
Roger Braun e6286152b9 Fix logic. 2017-09-13 16:05:39 +02:00
Roger Braun 49929321c7 Add relationships to masto api. 2017-09-13 15:55:10 +02:00
Roger Braun f03524805f Try host-meta call over https. 2017-09-13 11:59:56 +02:00
Roger Braun 07b694814e Optimize conversation fetching. 2017-09-12 13:48:48 +02:00
Roger Braun 1bc58230ee Remove milliseconds from mastodon api response. 2017-09-12 13:31:17 +02:00
Roger Braun 7331733d30 Use signed integer as attachment id. 2017-09-12 11:43:36 +02:00
Roger Braun b58b35bf56 Use hash of attachment url as id.
Pretty hacky, let's see if we can get away with this.
2017-09-12 11:28:12 +02:00
Roger Braun 44a650235b MastoAPI: Remove domain ending from account name. 2017-09-12 09:34:39 +02:00
Roger Braun cda01285f4 Add pagination to notifications. 2017-09-12 09:11:36 +02:00
Roger Braun f1d9f2f6cd MastoAPI: More link headers. 2017-09-12 09:06:32 +02:00
Roger Braun 0df4a0f26d Add parentheses. 2017-09-12 08:53:21 +02:00
Roger Braun 02f824f9d5 MastoAPI: Add link headers to home timeline 2017-09-12 08:51:56 +02:00
Roger Braun cd6cba2f67 log ostatus handling errors. 2017-09-11 21:50:46 +02:00
lambadalambda 2b21c05105 Merge branch 'oauth2' into 'develop'
Mastodon API

See merge request !27
2017-09-11 15:16:49 -04:00
Roger Braun f0d41a3abf Merge branch 'develop' into oauth2 2017-09-11 20:54:44 +02:00
Roger Braun 464c33e9a1 Add follow notifications. 2017-09-11 20:53:11 +02:00
Roger Braun 3bad294058 Add reblogs to notifications. 2017-09-11 20:43:25 +02:00
Roger Braun bcce3e5dd2 Add favorites to notifications. 2017-09-11 20:41:05 +02:00
Roger Braun 61adf676d5 Add basic mastodon notification support. 2017-09-11 18:53:19 +02:00
Roger Braun 7616b202ea Add user timelines to Masto Api. 2017-09-10 17:49:13 +02:00
Roger Braun b8912ff954 Fix masto api context. 2017-09-10 17:20:53 +02:00
Roger Braun 8672d4d12b Add context to mastodonAPI. 2017-09-10 15:00:13 +02:00
Roger Braun fc10875895 Add attachments to mastoapi statuses. 2017-09-10 11:51:01 +02:00
Roger Braun 96473dfac0 Reverse mastodon timeline data. 2017-09-10 10:49:15 +02:00
Roger Braun e8975d06be Add header image to masto api. 2017-09-10 10:37:34 +02:00
Roger Braun d66d69c3b4 Small hack to make notifications return empty for now. 2017-09-09 19:19:13 +02:00
Roger Braun 5fe9e4dd3f Do oauth redirect. 2017-09-09 19:03:57 +02:00
Roger Braun d625d8db7d Add unfav to Mastodon API. 2017-09-09 18:30:02 +02:00
Roger Braun 454dc18570 Add favoriting to Mastodon API. 2017-09-09 18:09:37 +02:00
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI. 2017-09-09 17:48:57 +02:00
Roger Braun 4dc517a0bb Add deletion to masto api. 2017-09-09 13:56:51 +02:00
Roger Braun be04f725e9 Add more Mastodon API methods. 2017-09-09 13:15:01 +02:00
Roger Braun 59dd240c08 Use token exchange method. 2017-09-09 12:10:46 +02:00
Roger Braun 2b7efff71b Add Mastodon StatusView. 2017-09-09 12:10:29 +02:00
Roger Braun c6bdc5960c Test for Mastodon AccountView
Handles users and mentions.
2017-09-09 12:09:53 +02:00
Roger Braun a22f2e683b Add type restriction to activitypub fetcher
Mainly because Mastodon only returns notes, not the other activities.
2017-09-09 12:05:17 +02:00
Roger Braun 95cedd6000 Make auth tokens usable once and expire them. 2017-09-09 12:02:59 +02:00
Roger Braun 890503ca1e Remove mix test.watch
It recompiled too often and tested too long.
2017-09-09 12:00:03 +02:00
Roger Braun 95aa6a3c65 Try to fetch from html again if fetching from atom gives no results. 2017-09-08 09:08:31 +02:00