akkoma
6 years agoMastoAPI: Fix reblog view.
Roger Braun [Sun, 17 Sep 2017 12:25:34 +0000 (14:25 +0200)]
MastoAPI: Fix reblog view.

6 years agoMastoAPI: Return reblogs, too.
Roger Braun [Sun, 17 Sep 2017 12:20:54 +0000 (14:20 +0200)]
MastoAPI: Return reblogs, too.

6 years agoAdd tag index.
Roger Braun [Sun, 17 Sep 2017 12:05:53 +0000 (14:05 +0200)]
Add tag index.

This still isn't optimal, but at least it isn't super slow.

6 years agoMastoAPI: Add repeats to statusview.
Roger Braun [Sun, 17 Sep 2017 11:54:14 +0000 (13:54 +0200)]
MastoAPI: Add repeats to statusview.

6 years agoPrefer post-specific emoji.
Roger Braun [Sun, 17 Sep 2017 11:24:52 +0000 (13:24 +0200)]
Prefer post-specific emoji.

6 years agoMastodonAPI: Add user favorites endpoint.
Roger Braun [Sun, 17 Sep 2017 11:09:49 +0000 (13:09 +0200)]
MastodonAPI: Add user favorites endpoint.

6 years agoTwitterAPI: Use correct endpoint for tag timeline.
Roger Braun [Sun, 17 Sep 2017 11:03:46 +0000 (13:03 +0200)]
TwitterAPI: Use correct endpoint for tag timeline.

6 years agoFix typo.
Roger Braun [Sun, 17 Sep 2017 10:08:50 +0000 (12:08 +0200)]
Fix typo.

6 years agoTwitterAPI: Add tag timeline.
Roger Braun [Sun, 17 Sep 2017 09:45:16 +0000 (11:45 +0200)]
TwitterAPI: Add tag timeline.

6 years agoUse inserted_at as sort in search.
Roger Braun [Sun, 17 Sep 2017 09:32:24 +0000 (11:32 +0200)]
Use inserted_at as sort in search.

6 years agoUse desc id to sort instead of desc inserted_at
Roger Braun [Sun, 17 Sep 2017 09:16:08 +0000 (11:16 +0200)]
Use desc id to sort instead of desc inserted_at

Should mean the same and is indexed.

6 years agoAdd missing fixtures.
Roger Braun [Sat, 16 Sep 2017 22:33:58 +0000 (00:33 +0200)]
Add missing fixtures.

6 years agoReadme update.
Roger Braun [Sat, 16 Sep 2017 22:06:09 +0000 (00:06 +0200)]
Readme update.

6 years agoFixup old migrations.
Roger Braun [Sat, 16 Sep 2017 22:01:49 +0000 (00:01 +0200)]
Fixup old migrations.

6 years agoMake emoji configurable in files.
Roger Braun [Sat, 16 Sep 2017 14:49:46 +0000 (16:49 +0200)]
Make emoji configurable in files.

6 years agoApply incoming custom emoji.
Roger Braun [Sat, 16 Sep 2017 14:40:20 +0000 (16:40 +0200)]
Apply incoming custom emoji.

6 years agoHandle incoming emoji.
Roger Braun [Sat, 16 Sep 2017 14:27:48 +0000 (16:27 +0200)]
Handle incoming emoji.

6 years agoFederate emoji out.
Roger Braun [Sat, 16 Sep 2017 14:14:23 +0000 (16:14 +0200)]
Federate emoji out.

6 years agoSmall emoji refactor.
Roger Braun [Sat, 16 Sep 2017 13:47:45 +0000 (15:47 +0200)]
Small emoji refactor.

6 years agoDon't check limit twice in TwitterAPIController.
Roger Braun [Sat, 16 Sep 2017 13:47:07 +0000 (15:47 +0200)]
Don't check limit twice in TwitterAPIController.

6 years agoSort by updated_at
Roger Braun [Sat, 16 Sep 2017 12:51:55 +0000 (14:51 +0200)]
Sort by updated_at

the updated_at column isn't indexed, so postgres won't take the wrong index.

6 years agoDon't specify order in results for now.
Roger Braun [Sat, 16 Sep 2017 12:40:53 +0000 (14:40 +0200)]
Don't specify order in results for now.

6 years agoTwitterAPI: Add search.
Roger Braun [Sat, 16 Sep 2017 12:33:47 +0000 (14:33 +0200)]
TwitterAPI: Add search.

6 years agoFederate banners out.
Roger Braun [Sat, 16 Sep 2017 11:44:08 +0000 (13:44 +0200)]
Federate banners out.

6 years agoBanners are objects.
Roger Braun [Sat, 16 Sep 2017 11:24:15 +0000 (13:24 +0200)]
Banners are objects.

6 years agoUpdate banner from remote accounts.
Roger Braun [Sat, 16 Sep 2017 11:16:54 +0000 (13:16 +0200)]
Update banner from remote accounts.

6 years agoAdd info about clients to readme.
Roger Braun [Sat, 16 Sep 2017 10:07:50 +0000 (12:07 +0200)]
Add info about clients to readme.

6 years agoAdd undocumented default user default settings.
Roger Braun [Sat, 16 Sep 2017 09:52:33 +0000 (11:52 +0200)]
Add undocumented default user default settings.

6 years agoFix callback state.
Roger Braun [Sat, 16 Sep 2017 09:37:55 +0000 (11:37 +0200)]
Fix callback state.

6 years agoAdd remote user fetching to search.
Roger Braun [Sat, 16 Sep 2017 09:26:20 +0000 (11:26 +0200)]
Add remote user fetching to search.

6 years agoAdd fts search index.
Roger Braun [Sat, 16 Sep 2017 09:06:55 +0000 (11:06 +0200)]
Add fts search index.

6 years agoSet search config to 'english'.
Roger Braun [Sat, 16 Sep 2017 08:50:43 +0000 (10:50 +0200)]
Set search config to 'english'.

6 years agoAdd basic search.
Roger Braun [Sat, 16 Sep 2017 08:42:24 +0000 (10:42 +0200)]
Add basic search.

6 years agoMastoAPI: Fix date in account view.
Roger Braun [Fri, 15 Sep 2017 15:50:47 +0000 (17:50 +0200)]
MastoAPI: Fix date in account view.

6 years agoDocument options in README
Roger Braun [Fri, 15 Sep 2017 12:44:52 +0000 (14:44 +0200)]
Document options in README

6 years agoAdd configuration option for registrations.
Roger Braun [Fri, 15 Sep 2017 12:39:32 +0000 (14:39 +0200)]
Add configuration option for registrations.

6 years agoRefactor posting and make character limit configurable.
Roger Braun [Fri, 15 Sep 2017 12:17:36 +0000 (14:17 +0200)]
Refactor posting and make character limit configurable.

6 years agoAdd instance config options.
Roger Braun [Fri, 15 Sep 2017 08:26:28 +0000 (10:26 +0200)]
Add instance config options.

6 years agoMastoAPI: Set user id on replies.
Roger Braun [Fri, 15 Sep 2017 06:49:31 +0000 (08:49 +0200)]
MastoAPI: Set user id on replies.

6 years agoDon't die on fetching problems.
Roger Braun [Fri, 15 Sep 2017 06:18:29 +0000 (08:18 +0200)]
Don't die on fetching problems.

6 years agoMastoAPI: Follower-related changes
Roger Braun [Thu, 14 Sep 2017 16:30:05 +0000 (18:30 +0200)]
MastoAPI: Follower-related changes

6 years agoAdd tag timelines.
Roger Braun [Thu, 14 Sep 2017 11:22:09 +0000 (13:22 +0200)]
Add tag timelines.

6 years agoMastoAPI: Add favourited_by/reblogged_by.
Roger Braun [Thu, 14 Sep 2017 07:50:49 +0000 (09:50 +0200)]
MastoAPI: Add favourited_by/reblogged_by.

6 years agoPreserve state in oauth
Roger Braun [Thu, 14 Sep 2017 07:29:51 +0000 (09:29 +0200)]
Preserve state in oauth

6 years agoMastoAPI: fake out 'application' property.
Roger Braun [Thu, 14 Sep 2017 07:14:08 +0000 (09:14 +0200)]
MastoAPI: fake out 'application' property.

6 years agoMastoAPI: Also return text_url in attachments.
Roger Braun [Thu, 14 Sep 2017 06:38:48 +0000 (08:38 +0200)]
MastoAPI: Also return text_url in attachments.

6 years agoCleanup.
Roger Braun [Thu, 14 Sep 2017 06:11:51 +0000 (08:11 +0200)]
Cleanup.

6 years agoAdd media upload endpoint.
Roger Braun [Thu, 14 Sep 2017 06:08:32 +0000 (08:08 +0200)]
Add media upload endpoint.

6 years agoEnsure non-null bio.
Roger Braun [Wed, 13 Sep 2017 15:45:59 +0000 (17:45 +0200)]
Ensure non-null bio.

6 years agoMastoAPI: Add accounts getting.
Roger Braun [Wed, 13 Sep 2017 15:36:02 +0000 (17:36 +0200)]
MastoAPI: Add accounts getting.

6 years agoOh no! More datetime fixes!
Roger Braun [Wed, 13 Sep 2017 15:18:08 +0000 (17:18 +0200)]
Oh no! More datetime fixes!

6 years agoReparse time to ensure correct format.
Roger Braun [Wed, 13 Sep 2017 14:38:29 +0000 (16:38 +0200)]
Reparse time to ensure correct format.

6 years agoAllign datetime format with mastodon.
Roger Braun [Wed, 13 Sep 2017 14:26:02 +0000 (16:26 +0200)]
Allign datetime format with mastodon.

6 years agoReturn iso8601 date.
Roger Braun [Wed, 13 Sep 2017 14:09:57 +0000 (16:09 +0200)]
Return iso8601 date.

6 years agoFix logic.
Roger Braun [Wed, 13 Sep 2017 14:05:39 +0000 (16:05 +0200)]
Fix logic.

6 years agoAdd relationships to masto api.
Roger Braun [Wed, 13 Sep 2017 13:55:10 +0000 (15:55 +0200)]
Add relationships to masto api.

6 years agoTry host-meta call over https.
Roger Braun [Wed, 13 Sep 2017 09:59:56 +0000 (11:59 +0200)]
Try host-meta call over https.

6 years agoOptimize conversation fetching.
Roger Braun [Tue, 12 Sep 2017 11:48:48 +0000 (13:48 +0200)]
Optimize conversation fetching.

6 years agoRemove milliseconds from mastodon api response.
Roger Braun [Tue, 12 Sep 2017 11:31:17 +0000 (13:31 +0200)]
Remove milliseconds from mastodon api response.

6 years agoUse signed integer as attachment id.
Roger Braun [Tue, 12 Sep 2017 09:43:36 +0000 (11:43 +0200)]
Use signed integer as attachment id.

6 years agoUse hash of attachment url as id.
Roger Braun [Tue, 12 Sep 2017 09:28:12 +0000 (11:28 +0200)]
Use hash of attachment url as id.

Pretty hacky, let's see if we can get away with this.

6 years agoMastoAPI: Remove domain ending from account name.
Roger Braun [Tue, 12 Sep 2017 07:34:39 +0000 (09:34 +0200)]
MastoAPI: Remove domain ending from account name.

6 years agoAdd pagination to notifications.
Roger Braun [Tue, 12 Sep 2017 07:11:36 +0000 (09:11 +0200)]
Add pagination to notifications.

6 years agoMastoAPI: More link headers.
Roger Braun [Tue, 12 Sep 2017 07:06:32 +0000 (09:06 +0200)]
MastoAPI: More link headers.

6 years agoAdd parentheses.
Roger Braun [Tue, 12 Sep 2017 06:53:21 +0000 (08:53 +0200)]
Add parentheses.

6 years agoMastoAPI: Add link headers to home timeline
Roger Braun [Tue, 12 Sep 2017 06:51:56 +0000 (08:51 +0200)]
MastoAPI: Add link headers to home timeline

6 years agolog ostatus handling errors.
Roger Braun [Mon, 11 Sep 2017 19:50:46 +0000 (21:50 +0200)]
log ostatus handling errors.

6 years agoMerge branch 'oauth2' into 'develop'
lambadalambda [Mon, 11 Sep 2017 19:16:49 +0000 (15:16 -0400)]
Merge branch 'oauth2' into 'develop'

Mastodon API

See merge request !27

6 years agoMerge branch 'develop' into oauth2
Roger Braun [Mon, 11 Sep 2017 18:54:44 +0000 (20:54 +0200)]
Merge branch 'develop' into oauth2

6 years agoAdd follow notifications.
Roger Braun [Mon, 11 Sep 2017 18:53:11 +0000 (20:53 +0200)]
Add follow notifications.

6 years agoAdd reblogs to notifications.
Roger Braun [Mon, 11 Sep 2017 18:43:25 +0000 (20:43 +0200)]
Add reblogs to notifications.

6 years agoAdd favorites to notifications.
Roger Braun [Mon, 11 Sep 2017 18:41:05 +0000 (20:41 +0200)]
Add favorites to notifications.

6 years agoAdd basic mastodon notification support.
Roger Braun [Mon, 11 Sep 2017 14:15:28 +0000 (16:15 +0200)]
Add basic mastodon notification support.

6 years agoAdd user timelines to Masto Api.
Roger Braun [Sun, 10 Sep 2017 15:46:43 +0000 (17:46 +0200)]
Add user timelines to Masto Api.

6 years agoFix masto api context.
Roger Braun [Sun, 10 Sep 2017 15:20:53 +0000 (17:20 +0200)]
Fix masto api context.

6 years agoAdd context to mastodonAPI.
Roger Braun [Sun, 10 Sep 2017 13:00:13 +0000 (15:00 +0200)]
Add context to mastodonAPI.

6 years agoAdd attachments to mastoapi statuses.
Roger Braun [Sun, 10 Sep 2017 09:51:01 +0000 (11:51 +0200)]
Add attachments to mastoapi statuses.

6 years agoReverse mastodon timeline data.
Roger Braun [Sun, 10 Sep 2017 08:49:15 +0000 (10:49 +0200)]
Reverse mastodon timeline data.

6 years agoAdd header image to masto api.
Roger Braun [Sun, 10 Sep 2017 08:37:34 +0000 (10:37 +0200)]
Add header image to masto api.

6 years agoSmall hack to make notifications return empty for now.
Roger Braun [Sat, 9 Sep 2017 17:19:13 +0000 (19:19 +0200)]
Small hack to make notifications return empty for now.

6 years agoDo oauth redirect.
Roger Braun [Sat, 9 Sep 2017 17:03:57 +0000 (19:03 +0200)]
Do oauth redirect.

6 years agoAdd unfav to Mastodon API.
Roger Braun [Sat, 9 Sep 2017 16:30:02 +0000 (18:30 +0200)]
Add unfav to Mastodon API.

6 years agoAdd favoriting to Mastodon API.
Roger Braun [Sat, 9 Sep 2017 16:09:37 +0000 (18:09 +0200)]
Add favoriting to Mastodon API.

6 years agoAdd reblogging to MastodonAPI.
Roger Braun [Sat, 9 Sep 2017 15:48:57 +0000 (17:48 +0200)]
Add reblogging to MastodonAPI.

6 years agoAdd deletion to masto api.
Roger Braun [Sat, 9 Sep 2017 11:56:51 +0000 (13:56 +0200)]
Add deletion to masto api.

6 years agoAdd more Mastodon API methods.
Roger Braun [Sat, 9 Sep 2017 11:15:01 +0000 (13:15 +0200)]
Add more Mastodon API methods.

6 years agoUse token exchange method.
Roger Braun [Sat, 9 Sep 2017 10:10:46 +0000 (12:10 +0200)]
Use token exchange method.

6 years agoAdd Mastodon StatusView.
Roger Braun [Sat, 9 Sep 2017 10:10:29 +0000 (12:10 +0200)]
Add Mastodon StatusView.

6 years agoTest for Mastodon AccountView
Roger Braun [Sat, 9 Sep 2017 10:09:53 +0000 (12:09 +0200)]
Test for Mastodon AccountView

Handles users and mentions.

6 years agoAdd type restriction to activitypub fetcher
Roger Braun [Sat, 9 Sep 2017 10:05:17 +0000 (12:05 +0200)]
Add type restriction to activitypub fetcher

Mainly because Mastodon only returns notes, not the other activities.

6 years agoMake auth tokens usable once and expire them.
Roger Braun [Sat, 9 Sep 2017 10:02:59 +0000 (12:02 +0200)]
Make auth tokens usable once and expire them.

6 years agoRemove mix test.watch
Roger Braun [Sat, 9 Sep 2017 10:00:03 +0000 (12:00 +0200)]
Remove mix test.watch

It recompiled too often and tested too long.

6 years agoTry to fetch from html again if fetching from atom gives no results.
Roger Braun [Fri, 8 Sep 2017 07:08:31 +0000 (09:08 +0200)]
Try to fetch from html again if fetching from atom gives no results.

6 years agoSlight cleanup.
Roger Braun [Thu, 7 Sep 2017 06:58:10 +0000 (08:58 +0200)]
Slight cleanup.

6 years agoAdd very basic oauth and mastodon api support.
Roger Braun [Wed, 6 Sep 2017 17:06:25 +0000 (19:06 +0200)]
Add very basic oauth and mastodon api support.

6 years agoUpdate Phoenix, add Phoenix.HTML.
Roger Braun [Wed, 6 Sep 2017 17:05:35 +0000 (19:05 +0200)]
Update Phoenix, add Phoenix.HTML.

6 years agoWorkaround for masto reply breakage.
Roger Braun [Tue, 5 Sep 2017 12:01:37 +0000 (14:01 +0200)]
Workaround for masto reply breakage.

6 years agoFix remote profile update code.
Roger Braun [Tue, 5 Sep 2017 09:40:34 +0000 (11:40 +0200)]
Fix remote profile update code.

6 years agoFix specs.
Roger Braun [Tue, 5 Sep 2017 07:35:00 +0000 (09:35 +0200)]
Fix specs.

6 years agoMerge branch 'deletions' into 'develop'
lambadalambda [Mon, 4 Sep 2017 18:49:55 +0000 (14:49 -0400)]
Merge branch 'deletions' into 'develop'

Deletions

See merge request !26