akkoma
7 years agoMerge branch 'missing-mastodon-follow-endpoint' into 'develop'
lambda [Sun, 29 Oct 2017 18:16:09 +0000 (18:16 +0000)]
Merge branch 'missing-mastodon-follow-endpoint' into 'develop'

Fix return type of /api/v1/follows

See merge request pleroma/pleroma!3

7 years agoFix follow test semantics.
eal [Sun, 29 Oct 2017 12:25:11 +0000 (14:25 +0200)]
Fix follow test semantics.

7 years agoClean style.
eal [Sat, 28 Oct 2017 21:30:10 +0000 (00:30 +0300)]
Clean style.

Use 'follow' instead of 'follows' and correct indentation.

7 years agoFix return type of /api/v1/follows
eal [Sat, 28 Oct 2017 21:07:38 +0000 (00:07 +0300)]
Fix return type of /api/v1/follows

7 years agoMerge branch 'missing-mastodon-follow-endpoint' into 'develop'
lambda [Sat, 28 Oct 2017 14:25:34 +0000 (14:25 +0000)]
Merge branch 'missing-mastodon-follow-endpoint' into 'develop'

Add missing mastodon follow endpoint.

See merge request pleroma/pleroma!2

7 years agoAdd tests.
eal [Fri, 27 Oct 2017 10:55:36 +0000 (13:55 +0300)]
Add tests.

7 years agoReturn error message on errors
eal [Wed, 25 Oct 2017 18:25:37 +0000 (21:25 +0300)]
Return error message on errors

7 years agoAdd mastodon API endpoint for follow
eal [Wed, 25 Oct 2017 18:02:42 +0000 (21:02 +0300)]
Add mastodon API endpoint for follow

7 years agoUpdate frontend.
Roger Braun [Thu, 26 Oct 2017 11:27:56 +0000 (13:27 +0200)]
Update frontend.

7 years agoUse more efficient query to fetch likes.
Roger Braun [Tue, 24 Oct 2017 12:39:01 +0000 (14:39 +0200)]
Use more efficient query to fetch likes.

7 years agoUse more efficient user note count update query.
Roger Braun [Tue, 24 Oct 2017 12:16:17 +0000 (14:16 +0200)]
Use more efficient user note count update query.

7 years agoDrop superflous index.
Roger Braun [Tue, 24 Oct 2017 09:07:21 +0000 (11:07 +0200)]
Drop superflous index.

7 years agoUse different index for object fetching.
Roger Braun [Tue, 24 Oct 2017 08:39:23 +0000 (10:39 +0200)]
Use different index for object fetching.

7 years agoReturn nil for nil object requests.
Roger Braun [Tue, 24 Oct 2017 06:39:24 +0000 (08:39 +0200)]
Return nil for nil object requests.

7 years agoUse index in basic activity query.
Roger Braun [Mon, 23 Oct 2017 16:36:53 +0000 (18:36 +0200)]
Use index in basic activity query.

7 years agoSpeed up deletion and related queries.
Roger Braun [Mon, 23 Oct 2017 16:30:09 +0000 (18:30 +0200)]
Speed up deletion and related queries.

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
Roger Braun [Mon, 23 Oct 2017 14:28:32 +0000 (16:28 +0200)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop

7 years agoMastoAPI: Add emoji output.
Roger Braun [Mon, 23 Oct 2017 14:27:51 +0000 (16:27 +0200)]
MastoAPI: Add emoji output.

7 years agoMerge branch 'develop' into 'develop'
lambadalambda [Fri, 20 Oct 2017 14:35:03 +0000 (10:35 -0400)]
Merge branch 'develop' into 'develop'

Add an API endpoint for emoji.

See merge request lambadalambda/pleroma!28

7 years agoAdd an API endpoint for emoji.
eal [Thu, 19 Oct 2017 19:51:56 +0000 (22:51 +0300)]
Add an API endpoint for emoji.

7 years agoRevert "Simplify query."
Roger Braun [Thu, 19 Oct 2017 15:56:27 +0000 (17:56 +0200)]
Revert "Simplify query."

This reverts commit a17b2613795b24162e953dd457b411dddc0c902e.

7 years agoAdd password reset.
Roger Braun [Thu, 19 Oct 2017 15:37:24 +0000 (17:37 +0200)]
Add password reset.

7 years agoSimplify query.
Roger Braun [Wed, 18 Oct 2017 09:56:47 +0000 (11:56 +0200)]
Simplify query.

7 years agoDon't reject already accepted subscriptions.
Roger Braun [Thu, 5 Oct 2017 10:53:16 +0000 (12:53 +0200)]
Don't reject already accepted subscriptions.

7 years agoRemove tag links for now, they break some regular links.
Roger Braun [Sun, 17 Sep 2017 21:03:03 +0000 (23:03 +0200)]
Remove tag links for now, they break some regular links.

7 years agoAdd tag links.
Roger Braun [Sun, 17 Sep 2017 13:21:44 +0000 (15:21 +0200)]
Add tag links.

7 years agoUpdate frontend.
Roger Braun [Sun, 17 Sep 2017 12:38:04 +0000 (14:38 +0200)]
Update frontend.

7 years agoTwitterAPI: Return proper error.
Roger Braun [Sun, 17 Sep 2017 12:37:00 +0000 (14:37 +0200)]
TwitterAPI: Return proper error.

Fixes #32.

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

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

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

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

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

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

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

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

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

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

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.