akkoma
4 years agoChat Controller: Add basic error handling.
lain [Tue, 12 May 2020 11:23:09 +0000 (13:23 +0200)]
Chat Controller: Add basic error handling.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Tue, 12 May 2020 11:13:43 +0000 (13:13 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoChatController: Support deletion of chat messages.
lain [Tue, 12 May 2020 11:13:03 +0000 (13:13 +0200)]
ChatController: Support deletion of chat messages.

4 years agoMerge branch 'fix/issue-1676' into 'develop'
rinpatch [Mon, 11 May 2020 22:30:36 +0000 (22:30 +0000)]
Merge branch 'fix/issue-1676' into 'develop'

[#1676] fixed 'source' object in verify_credentials

See merge request pleroma/pleroma!2492

4 years agoMerge branch 'migration-fix-markers' into 'develop'
rinpatch [Mon, 11 May 2020 22:13:08 +0000 (22:13 +0000)]
Merge branch 'migration-fix-markers' into 'develop'

Markers migration: Fix migration for very large list of markers

See merge request pleroma/pleroma!2511

4 years agoMerge branch 'chore/gettext-update' into 'develop'
rinpatch [Mon, 11 May 2020 21:52:57 +0000 (21:52 +0000)]
Merge branch 'chore/gettext-update' into 'develop'

Gettext: remove english messages and update the pot file

See merge request pleroma/pleroma!2512

4 years agoGettext: remove english messages and update the pot file
rinpatch [Mon, 11 May 2020 21:40:13 +0000 (00:40 +0300)]
Gettext: remove english messages and update the pot file

Having an English file doesn't make any sense, since English
is the source language for error messages. Also Weblate complains about it

4 years agoMigration: Fix typo
lain [Mon, 11 May 2020 20:03:29 +0000 (22:03 +0200)]
Migration: Fix typo

4 years agoMigration: Enum.chunk is deprecated.
lain [Mon, 11 May 2020 20:00:01 +0000 (22:00 +0200)]
Migration: Enum.chunk is deprecated.

4 years agoMarkers migration: Fix migration for very large list of markers
lain [Mon, 11 May 2020 19:52:47 +0000 (21:52 +0200)]
Markers migration: Fix migration for very large list of markers

4 years agoMerge branch 'fix/streamer-timeout' into 'develop'
rinpatch [Mon, 11 May 2020 17:07:55 +0000 (17:07 +0000)]
Merge branch 'fix/streamer-timeout' into 'develop'

Fix streamer timeout

Closes #1735 and #1753

See merge request pleroma/pleroma!2509

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Mon, 11 May 2020 15:14:58 +0000 (17:14 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoFix streamer timeout (closes #1753).
href [Mon, 11 May 2020 14:28:53 +0000 (16:28 +0200)]
Fix streamer timeout (closes #1753).

Cowboy handles automatically responding to the client's ping, but
doesn't automatically send a :ping frame to the client.

4 years agoMerge branch '1439-favorite-deletion' into 'develop'
lain [Mon, 11 May 2020 13:58:18 +0000 (13:58 +0000)]
Merge branch '1439-favorite-deletion' into 'develop'

SideEffects test: Add test for favorite deletion.

Closes #1439

See merge request pleroma/pleroma!2508

4 years agoSideEffects test: Add test for favorite deletion.
lain [Mon, 11 May 2020 13:38:19 +0000 (15:38 +0200)]
SideEffects test: Add test for favorite deletion.

4 years agoMerge branch '1204-object-pruning-deletion' into 'develop'
rinpatch [Mon, 11 May 2020 13:31:11 +0000 (13:31 +0000)]
Merge branch '1204-object-pruning-deletion' into 'develop'

Deletion: Handle the case of pruned objects.

Closes #1204

See merge request pleroma/pleroma!2507

4 years agoDeletion: Handle the case of pruned objects.
lain [Mon, 11 May 2020 13:06:23 +0000 (15:06 +0200)]
Deletion: Handle the case of pruned objects.

4 years agoChat: Fix wrong query.
lain [Mon, 11 May 2020 08:58:14 +0000 (10:58 +0200)]
Chat: Fix wrong query.

4 years agoMerge branch 'descriptions-fix' into 'develop'
lain [Mon, 11 May 2020 08:03:09 +0000 (08:03 +0000)]
Merge branch 'descriptions-fix' into 'develop'

copy/paste fix for descriptions

See merge request pleroma/pleroma!2504

4 years agocopy/paste fix for descriptions
Alexander Strizhakov [Mon, 11 May 2020 06:35:20 +0000 (09:35 +0300)]
copy/paste fix for descriptions

4 years agoCredo fixes.
lain [Sun, 10 May 2020 11:28:05 +0000 (13:28 +0200)]
Credo fixes.

4 years agoDocumentation: Add GET /chats/:id
lain [Sun, 10 May 2020 11:27:40 +0000 (13:27 +0200)]
Documentation: Add GET /chats/:id

4 years agoChatController: Add GET /chats/:id
lain [Sun, 10 May 2020 11:26:14 +0000 (13:26 +0200)]
ChatController: Add GET /chats/:id

4 years agoChat: Add last_message to schema.
lain [Sun, 10 May 2020 11:08:01 +0000 (13:08 +0200)]
Chat: Add last_message to schema.

4 years agoDocumentation: Add last_message to chat docs.
lain [Sun, 10 May 2020 11:01:20 +0000 (13:01 +0200)]
Documentation: Add last_message to chat docs.

4 years agoChatView: Add the last message to the view.
lain [Sun, 10 May 2020 11:00:01 +0000 (13:00 +0200)]
ChatView: Add the last message to the view.

4 years agoDocumentation: Add attachment docs
lain [Sun, 10 May 2020 10:34:12 +0000 (12:34 +0200)]
Documentation: Add attachment docs

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Sun, 10 May 2020 10:32:57 +0000 (12:32 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoChatOperation: Add media id to example
lain [Sun, 10 May 2020 10:30:24 +0000 (12:30 +0200)]
ChatOperation: Add media id to example

4 years agoMerge branch 'shortening-modules-name' into 'develop'
lain [Sun, 10 May 2020 09:05:22 +0000 (09:05 +0000)]
Merge branch 'shortening-modules-name' into 'develop'

Descriptions that module names are shortened

See merge request pleroma/pleroma!2428

4 years agoMerge branch 'fix/skeleton-migration-nonlocal-locals' into 'develop'
rinpatch [Sat, 9 May 2020 21:52:00 +0000 (21:52 +0000)]
Merge branch 'fix/skeleton-migration-nonlocal-locals' into 'develop'

insert skeletons migration: fix for non-local locals

Closes #1746

See merge request pleroma/pleroma!2502

4 years agoinsert skeletons migration: fix for non-local locals
rinpatch [Sat, 9 May 2020 15:51:20 +0000 (18:51 +0300)]
insert skeletons migration: fix for non-local locals

Apparently some instances have local users with local ap_ids
that are marked as local: false. Needs more investigation into how
that happened.

In the meantime, the skeleton migration was patched to just ignore
all known ap ids, not just locals. Doesn't seem to slow down the migration
too much on patch.cx

Closes #1746

4 years agoMerge branch 'pleroma-fe-2020-05-08-7a0e554d' into 'develop'
rinpatch [Sat, 9 May 2020 15:30:39 +0000 (15:30 +0000)]
Merge branch 'pleroma-fe-2020-05-08-7a0e554d' into 'develop'

PleromaFE bundle dropping requirement for embedded account relationships

See merge request pleroma/pleroma!2494

4 years agoMerge branch 'fix/eldap-otp' into 'develop'
rinpatch [Sat, 9 May 2020 12:18:44 +0000 (12:18 +0000)]
Merge branch 'fix/eldap-otp' into 'develop'

include eldap in OTP releases

Closes #1313

See merge request pleroma/pleroma!2501

4 years agoinclude eldap in OTP releases
rinpatch [Sat, 9 May 2020 11:49:46 +0000 (14:49 +0300)]
include eldap in OTP releases

Closes #1313

4 years agoMerge branch 'fix/healthcheck-total-alloc' into 'develop'
lain [Sat, 9 May 2020 08:10:56 +0000 (08:10 +0000)]
Merge branch 'fix/healthcheck-total-alloc' into 'develop'

healthcheck: report real amount of memory allocated by beam

See merge request pleroma/pleroma!2499

4 years agohealthcheck: report real amount of memory allocated by beam
rinpatch [Fri, 8 May 2020 20:51:59 +0000 (23:51 +0300)]
healthcheck: report real amount of memory allocated by beam

as opposed to memory currently in use

4 years agoMerge branch 'chore/changelog-sync' into 'develop'
rinpatch [Fri, 8 May 2020 20:56:16 +0000 (20:56 +0000)]
Merge branch 'chore/changelog-sync' into 'develop'

CHANGELOG.md: Add entries from 2.0.3

See merge request pleroma/pleroma!2498

4 years agoCHANGELOG.md: Add entries from 2.0.3
rinpatch [Fri, 8 May 2020 20:54:16 +0000 (23:54 +0300)]
CHANGELOG.md: Add entries from 2.0.3

4 years agoMerge branch 'chore/description-grammar' into 'develop'
feld [Fri, 8 May 2020 19:48:39 +0000 (19:48 +0000)]
Merge branch 'chore/description-grammar' into 'develop'

Minor grammar nit

See merge request pleroma/pleroma!2496

4 years agoMinor grammar nit
Mark Felder [Fri, 8 May 2020 19:36:59 +0000 (14:36 -0500)]
Minor grammar nit

4 years agoMerge branch 'fix/adminfe-icons' into 'develop'
feld [Fri, 8 May 2020 19:34:12 +0000 (19:34 +0000)]
Merge branch 'fix/adminfe-icons' into 'develop'

Restore deleted icons. No idea how this happened.

See merge request pleroma/pleroma!2495

4 years agoRestore deleted icons. No idea how this happened.
Mark Felder [Fri, 8 May 2020 19:22:49 +0000 (14:22 -0500)]
Restore deleted icons. No idea how this happened.

4 years agoPleromaFE bundle dropping requirement for embedded account relationships in statuses...
Ivan Tashkinov [Fri, 8 May 2020 18:33:56 +0000 (21:33 +0300)]
PleromaFE bundle dropping requirement for embedded account relationships in statuses / notifications.
https://git.pleroma.social/pleroma/pleroma-fe/-/commit/7a0e554daf843fe9e98053e79ec0114c380ededb

4 years agoTransmogrifier: Don't modify attachments for chats.
lain [Fri, 8 May 2020 16:26:35 +0000 (18:26 +0200)]
Transmogrifier: Don't modify attachments for chats.

4 years agoMerge branch 'bugfix/fix-like-notifications' into 'develop'
rinpatch [Fri, 8 May 2020 15:00:43 +0000 (15:00 +0000)]
Merge branch 'bugfix/fix-like-notifications' into 'develop'

Notifications: Simplify recipient calculation for some Activities.

See merge request pleroma/pleroma!2486

4 years agoCredo fixes.
lain [Fri, 8 May 2020 12:11:58 +0000 (14:11 +0200)]
Credo fixes.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Fri, 8 May 2020 11:13:37 +0000 (13:13 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoMerge branch 'feature/emojireactvalidator' into 'develop'
lain [Fri, 8 May 2020 10:41:41 +0000 (10:41 +0000)]
Merge branch 'feature/emojireactvalidator' into 'develop'

Move EmojiReacts to the Pipeline.

See merge request pleroma/pleroma!2473

4 years agoTransmogrifier tests: Remove more double tests.
lain [Fri, 8 May 2020 09:43:07 +0000 (11:43 +0200)]
Transmogrifier tests: Remove more double tests.

4 years agoTransmogrifier tests: Remove double tests.
lain [Fri, 8 May 2020 09:41:13 +0000 (11:41 +0200)]
Transmogrifier tests: Remove double tests.

4 years agofixed 'source' object in verify_credentials
Maksim Pechnikov [Fri, 8 May 2020 09:33:01 +0000 (12:33 +0300)]
fixed 'source' object in verify_credentials

4 years agoBuilder: Extract common features of likes and reactions.
lain [Fri, 8 May 2020 09:30:31 +0000 (11:30 +0200)]
Builder: Extract common features of likes and reactions.

4 years agoMerge branch 'issue/1276-2' into 'develop'
lain [Fri, 8 May 2020 09:23:01 +0000 (09:23 +0000)]
Merge branch 'issue/1276-2' into 'develop'

[#1276] added an endpoint for getting unread notification count

See merge request pleroma/pleroma!2392

4 years agorevert mix.lock
Maksim Pechnikov [Fri, 8 May 2020 09:06:24 +0000 (12:06 +0300)]
revert mix.lock

4 years agoMerge branch 'fix/privacy-notification' into 'develop'
lain [Fri, 8 May 2020 09:04:24 +0000 (09:04 +0000)]
Merge branch 'fix/privacy-notification' into 'develop'

Privacy option affects all push notifications, not just Direct Messages

Closes #1745

See merge request pleroma/pleroma!2485

4 years agoMerge branch 'develop' into issue/1276-2
Maksim Pechnikov [Fri, 8 May 2020 05:51:09 +0000 (08:51 +0300)]
Merge branch 'develop' into issue/1276-2

4 years agoMerge branch 'feature/restrict-c2s' into 'develop'
Haelwenn [Thu, 7 May 2020 22:29:16 +0000 (22:29 +0000)]
Merge branch 'feature/restrict-c2s' into 'develop'

AP C2S: Restrict creation to `Note`s for now.

See merge request pleroma/pleroma!2472

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactv...
lain [Thu, 7 May 2020 16:53:34 +0000 (18:53 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator

4 years agoMerge branch 'feature/undo-validator-reduced' into 'develop'
rinpatch [Thu, 7 May 2020 14:28:10 +0000 (14:28 +0000)]
Merge branch 'feature/undo-validator-reduced' into 'develop'

Move Undo (except undo follow) to the common pipeline

See merge request pleroma/pleroma!2489

4 years agoTest Direct, Public, and Favorite notifications with privacy option
Mark Felder [Thu, 7 May 2020 14:13:43 +0000 (09:13 -0500)]
Test Direct, Public, and Favorite notifications with privacy option

4 years agoMerge branch 'openapi/search' into 'develop'
lain [Thu, 7 May 2020 13:38:34 +0000 (13:38 +0000)]
Merge branch 'openapi/search' into 'develop'

Add OpenAPI spec for SearchController

See merge request pleroma/pleroma!2484

4 years agoMerge branch 'fix/streamer-wrong-arg-order' into 'develop'
rinpatch [Thu, 7 May 2020 13:26:29 +0000 (13:26 +0000)]
Merge branch 'fix/streamer-wrong-arg-order' into 'develop'

Streamer: Fix wrong argument order when rendering activities to authenticated user

Closes #1747

See merge request pleroma/pleroma!2490

4 years agoStreamer: Fix wrong argument order when rendering activities to authenticated user
rinpatch [Thu, 7 May 2020 13:13:24 +0000 (16:13 +0300)]
Streamer: Fix wrong argument order when rendering activities to authenticated user

Closes #1747

4 years agoCredo fixes
lain [Thu, 7 May 2020 13:09:37 +0000 (15:09 +0200)]
Credo fixes

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Thu, 7 May 2020 13:05:40 +0000 (15:05 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactv...
lain [Thu, 7 May 2020 13:03:12 +0000 (15:03 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator

4 years agoMerge fixes.
lain [Thu, 7 May 2020 12:52:37 +0000 (14:52 +0200)]
Merge fixes.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-valida...
lain [Thu, 7 May 2020 12:45:35 +0000 (14:45 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-validator-reduced

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-valida...
lain [Thu, 7 May 2020 12:45:20 +0000 (14:45 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-validator-reduced

4 years agoMerge branch 'fix/downgraded-deps' into 'develop'
rinpatch [Thu, 7 May 2020 11:47:11 +0000 (11:47 +0000)]
Merge branch 'fix/downgraded-deps' into 'develop'

Restore mix.lock after 2FA merge

See merge request pleroma/pleroma!2487

4 years agoRestore mix.lock after 2FA merge
rinpatch [Thu, 7 May 2020 11:35:29 +0000 (14:35 +0300)]
Restore mix.lock after 2FA merge

It downgraded a bunch of deps, including plug. Which resulted in errors
since pleroma was using a feature plug didn't support at the time.

4 years agoApply suggestion to lib/pleroma/notification.ex
lain [Thu, 7 May 2020 11:01:52 +0000 (11:01 +0000)]
Apply suggestion to lib/pleroma/notification.ex

4 years agoApply suggestion to lib/pleroma/web/api_spec/operations/search_operation.ex
lain [Thu, 7 May 2020 10:48:09 +0000 (10:48 +0000)]
Apply suggestion to lib/pleroma/web/api_spec/operations/search_operation.ex

4 years agoNotifications: Simplify recipient calculation for some Activities.
lain [Thu, 7 May 2020 10:43:30 +0000 (12:43 +0200)]
Notifications: Simplify recipient calculation for some Activities.

Fixes the 'getting notfications for other people's posts' bug.

4 years agoAdd OpenAPI spec for SearchController
Egor Kislitsyn [Thu, 7 May 2020 10:04:48 +0000 (14:04 +0400)]
Add OpenAPI spec for SearchController

4 years agoAdd schema for Tag
Egor Kislitsyn [Wed, 6 May 2020 15:20:26 +0000 (19:20 +0400)]
Add schema for Tag

4 years agoMerge branch 'openapi/polls' into 'develop'
lain [Thu, 7 May 2020 09:19:45 +0000 (09:19 +0000)]
Merge branch 'openapi/polls' into 'develop'

Add OpenAPI spec for PollController

See merge request pleroma/pleroma!2476

4 years agoMerge branch 'streamer-worker-registry' into 'develop'
lain [Thu, 7 May 2020 09:13:32 +0000 (09:13 +0000)]
Merge branch 'streamer-worker-registry' into 'develop'

Streamer rework

See merge request pleroma/pleroma!2426

4 years agoStreamer rework
href [Thu, 7 May 2020 09:13:32 +0000 (09:13 +0000)]
Streamer rework

4 years agoMerge branch 'issue/209' into 'develop'
lain [Thu, 7 May 2020 08:14:54 +0000 (08:14 +0000)]
Merge branch 'issue/209' into 'develop'

[#209] 2FA/two_factor_authentication support

See merge request pleroma/pleroma!801

4 years agoPleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI...
Maksim [Thu, 7 May 2020 08:14:54 +0000 (08:14 +0000)]
Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController

4 years agoHide the sender when privacy option is enabled
Mark Felder [Wed, 6 May 2020 21:42:27 +0000 (16:42 -0500)]
Hide the sender when privacy option is enabled

4 years agoPrivacy option affects all push notifications, not just Direct Messages
Mark Felder [Wed, 6 May 2020 21:30:05 +0000 (16:30 -0500)]
Privacy option affects all push notifications, not just Direct Messages

4 years agoMerge branch 'fix/syslog-compile' into 'develop'
lain [Wed, 6 May 2020 15:44:21 +0000 (15:44 +0000)]
Merge branch 'fix/syslog-compile' into 'develop'

Fix for syslog compile with updated rebar3

See merge request pleroma/pleroma!2482

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Wed, 6 May 2020 15:36:08 +0000 (17:36 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agofix for syslog compile with updated rebar3
Alexander Strizhakov [Wed, 6 May 2020 15:04:16 +0000 (18:04 +0300)]
fix for syslog compile with updated rebar3

4 years agoMerge branch 'docs/chat-in-cheatsheet' into 'develop'
feld [Wed, 6 May 2020 14:42:55 +0000 (14:42 +0000)]
Merge branch 'docs/chat-in-cheatsheet' into 'develop'

Add :chat to cheatsheet

See merge request pleroma/pleroma!2480

4 years agoMerge branch 'feature/delete-validator' into 'develop'
rinpatch [Wed, 6 May 2020 14:32:58 +0000 (14:32 +0000)]
Merge branch 'feature/delete-validator' into 'develop'

Move deletions to the common pipeline

Closes #1497

See merge request pleroma/pleroma!2441

4 years agoCredo fixes.
lain [Wed, 6 May 2020 14:31:21 +0000 (16:31 +0200)]
Credo fixes.

4 years agoChatMessages: Add attachments.
lain [Wed, 6 May 2020 14:12:36 +0000 (16:12 +0200)]
ChatMessages: Add attachments.

4 years agoAdd :chat to cheatsheet
Mark Felder [Wed, 6 May 2020 13:55:09 +0000 (08:55 -0500)]
Add :chat to cheatsheet

4 years agoMerge branch 'fix/apache-cert-chain' into 'develop'
feld [Wed, 6 May 2020 13:33:24 +0000 (13:33 +0000)]
Merge branch 'fix/apache-cert-chain' into 'develop'

Apache chain issue fix

See merge request pleroma/pleroma!2478

4 years agoapache chain issue fix
Alexander Strizhakov [Wed, 6 May 2020 13:20:47 +0000 (16:20 +0300)]
apache chain issue fix

4 years agoadded `unread_notifications_count` for `/api/v1/accounts/verify_credentials`
Maksim Pechnikov [Wed, 6 May 2020 12:08:38 +0000 (15:08 +0300)]
added `unread_notifications_count` for `/api/v1/accounts/verify_credentials`

4 years agoMerge branch 'develop' into issue/1276-2
Maksim Pechnikov [Wed, 6 May 2020 11:47:50 +0000 (14:47 +0300)]
Merge branch 'develop' into issue/1276-2

4 years agoFix description
Egor Kislitsyn [Wed, 6 May 2020 10:18:19 +0000 (14:18 +0400)]
Fix description

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Wed, 6 May 2020 09:44:30 +0000 (11:44 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms

4 years agoMerge branch 'plug-if-unless-func-options-refactoring' into 'develop'
lain [Wed, 6 May 2020 09:14:05 +0000 (09:14 +0000)]
Merge branch 'plug-if-unless-func-options-refactoring' into 'develop'

Refactoring of :if_func / :unless_func plug options

See merge request pleroma/pleroma!2446

4 years agoMerge branch 'openapi/subscriptions' into 'develop'
lain [Wed, 6 May 2020 09:10:17 +0000 (09:10 +0000)]
Merge branch 'openapi/subscriptions' into 'develop'

Add OpenAPI spec for SubscriptionController

See merge request pleroma/pleroma!2444