akkoma
7 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.

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

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

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

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

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

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

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

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

7 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.

7 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.

7 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.

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

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

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

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

7 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.

7 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.

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

7 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.

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

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

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

7 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.

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

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

7 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.

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

7 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.

7 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.

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

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

7 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.

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

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

7 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.

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

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

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

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

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

7 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.

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

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

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

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

7 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.

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

7 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.

7 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.

7 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.

7 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.

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

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

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

7 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

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

7 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

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

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

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

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

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

7 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.

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

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

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

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

7 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.

7 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.

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

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

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

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

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

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

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

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

7 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.

7 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.

7 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.

7 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.

7 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.

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

7 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.

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

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

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

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

7 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

7 years agoAdd delete to TwAPI representer correctly.
Roger Braun [Mon, 4 Sep 2017 18:48:29 +0000 (20:48 +0200)]
Add delete to TwAPI representer correctly.

7 years agoAdd delete to TwAPI.
Roger Braun [Mon, 4 Sep 2017 18:48:14 +0000 (20:48 +0200)]
Add delete to TwAPI.

7 years agoDon't delete new delete activity...
Roger Braun [Mon, 4 Sep 2017 18:47:43 +0000 (20:47 +0200)]
Don't delete new delete activity...

7 years agoAdd TwAPI representer for deletes.
Roger Braun [Mon, 4 Sep 2017 18:03:28 +0000 (20:03 +0200)]
Add TwAPI representer for deletes.

7 years agoCreate deletes activities for incoming deletes.
Roger Braun [Mon, 4 Sep 2017 16:47:46 +0000 (18:47 +0200)]
Create deletes activities for incoming deletes.

7 years agoAdd delete to ActivityPub.
Roger Braun [Mon, 4 Sep 2017 16:47:33 +0000 (18:47 +0200)]
Add delete to ActivityPub.

7 years agoAdd delete activity representer.
Roger Braun [Mon, 4 Sep 2017 15:56:09 +0000 (17:56 +0200)]
Add delete activity representer.

7 years agoOutput mastodon-style conversation ids.
Roger Braun [Mon, 4 Sep 2017 09:04:04 +0000 (11:04 +0200)]
Output mastodon-style conversation ids.

7 years agoHandle mastodon conversation ids.
Roger Braun [Mon, 4 Sep 2017 09:03:51 +0000 (11:03 +0200)]
Handle mastodon conversation ids.

7 years agoUpdate README.
Roger Braun [Fri, 1 Sep 2017 10:50:44 +0000 (12:50 +0200)]
Update README.