akkoma
4 years agoPleromaAPI: Fix emoji_reactions_by
lain [Wed, 2 Oct 2019 16:13:10 +0000 (18:13 +0200)]
PleromaAPI: Fix emoji_reactions_by

4 years agoCommonAPI: Add unreactions.
lain [Wed, 2 Oct 2019 13:38:57 +0000 (15:38 +0200)]
CommonAPI: Add unreactions.

4 years agoActivityPub: Add undo for emoji reactions.
lain [Wed, 2 Oct 2019 13:08:20 +0000 (15:08 +0200)]
ActivityPub: Add undo for emoji reactions.

4 years agoMerge remote-tracking branch 'origin/develop' into reactions
lain [Wed, 2 Oct 2019 11:27:55 +0000 (13:27 +0200)]
Merge remote-tracking branch 'origin/develop' into reactions

4 years agoMerge branch 'split-masto-api/instance' into 'develop'
kaniini [Wed, 2 Oct 2019 10:46:14 +0000 (10:46 +0000)]
Merge branch 'split-masto-api/instance' into 'develop'

Extract instance actions from `MastodonAPIController` to `InstanceController`

See merge request pleroma/pleroma!1760

4 years agoMerge branch 'accept-embedded-announce-object' into 'develop'
kaniini [Wed, 2 Oct 2019 10:45:55 +0000 (10:45 +0000)]
Merge branch 'accept-embedded-announce-object' into 'develop'

Inline object when Announcing a self-owned private object

See merge request pleroma/pleroma!1769

4 years agoMerge branch 'get_announce_visibility-name' into 'develop'
kaniini [Wed, 2 Oct 2019 10:44:51 +0000 (10:44 +0000)]
Merge branch 'get_announce_visibility-name' into 'develop'

Rename misleading `get_announce_visibility` to `public_announce?`

See merge request pleroma/pleroma!1768

4 years agoInline object when Announcing a self-owned private object
Thibaut Girka [Wed, 2 Oct 2019 10:14:08 +0000 (12:14 +0200)]
Inline object when Announcing a self-owned private object

4 years agoRename misleading `get_announce_visibility` to `public_announce?`
Thibaut Girka [Wed, 2 Oct 2019 08:48:34 +0000 (10:48 +0200)]
Rename misleading `get_announce_visibility` to `public_announce?`

4 years agoExtract instance actions from `MastodonAPIController` to `InstanceController`
Egor Kislitsyn [Wed, 2 Oct 2019 07:13:52 +0000 (14:13 +0700)]
Extract instance actions from `MastodonAPIController` to `InstanceController`

4 years agoMerge branch 'feature/send-identifier-on-oauth-error' into 'develop'
kaniini [Wed, 2 Oct 2019 07:04:33 +0000 (07:04 +0000)]
Merge branch 'feature/send-identifier-on-oauth-error' into 'develop'

Send an identifier alongside with error message in OAuthController

See merge request pleroma/pleroma!1765

4 years agoMerge branch 'split-masto-api/auth' into 'develop'
kaniini [Wed, 2 Oct 2019 07:02:56 +0000 (07:02 +0000)]
Merge branch 'split-masto-api/auth' into 'develop'

Extract auth actions from `MastodonAPIController` to `AuthController`

See merge request pleroma/pleroma!1759

4 years agoMerge branch 'features/private-reblogs' into 'develop'
kaniini [Wed, 2 Oct 2019 07:02:24 +0000 (07:02 +0000)]
Merge branch 'features/private-reblogs' into 'develop'

Allow receiving private self-announces over ActivityPub

See merge request pleroma/pleroma!1766

4 years agoMerge branch 'update/admin-fe-20191001' into 'develop'
kaniini [Wed, 2 Oct 2019 07:01:18 +0000 (07:01 +0000)]
Merge branch 'update/admin-fe-20191001' into 'develop'

Update AdminFE bundle

See merge request pleroma/pleroma!1767

4 years agoUpdate AdminFE bundle
Mark Felder [Tue, 1 Oct 2019 23:29:39 +0000 (18:29 -0500)]
Update AdminFE bundle

4 years agoMerge branch 'feature/expose-attachment-size' into 'develop'
feld [Tue, 1 Oct 2019 22:16:29 +0000 (22:16 +0000)]
Merge branch 'feature/expose-attachment-size' into 'develop'

Add upload limits to /api/v1/instance

See merge request pleroma/pleroma!1614

4 years agoRevert "Add upload limits to /api/v1/instance"
feld [Tue, 1 Oct 2019 22:16:29 +0000 (22:16 +0000)]
Revert "Add upload limits to /api/v1/instance"

This reverts commit db27c0dd8b18763ff2abb124ee8d641a4580cdaa.

4 years agoStore private announcements in object.data["announcements"], filter them on display
Thibaut Girka [Tue, 1 Oct 2019 19:40:35 +0000 (21:40 +0200)]
Store private announcements in object.data["announcements"], filter them on display

4 years agoMerge branch 'feature/track-reverse-proxy-failures' into 'develop'
feld [Tue, 1 Oct 2019 20:00:27 +0000 (20:00 +0000)]
Merge branch 'feature/track-reverse-proxy-failures' into 'develop'

Track failed proxy urls and don't request them again

Closes #1197

See merge request pleroma/pleroma!1618

4 years agoTrack failed proxy urls and don't request them again
Sergey Suprunenko [Tue, 1 Oct 2019 20:00:27 +0000 (20:00 +0000)]
Track failed proxy urls and don't request them again

4 years agoFix returned visibility of announces in MastodonAPI
Thibaut Girka [Tue, 1 Oct 2019 17:28:51 +0000 (19:28 +0200)]
Fix returned visibility of announces in MastodonAPI

4 years agoAdd tests for privately announcing statuses via API
Thibaut Girka [Tue, 1 Oct 2019 17:08:25 +0000 (19:08 +0200)]
Add tests for privately announcing statuses via API

4 years agoAllow users to announce privately, including own private notes
Thibaut Girka [Tue, 1 Oct 2019 16:38:23 +0000 (18:38 +0200)]
Allow users to announce privately, including own private notes

4 years agoDiscard identifier, if empty
Maxim Filippov [Tue, 1 Oct 2019 16:43:22 +0000 (19:43 +0300)]
Discard identifier, if empty

4 years agoAdd tests
Thibaut Girka [Tue, 1 Oct 2019 15:51:27 +0000 (17:51 +0200)]
Add tests

4 years agoEnsure self-announces do not widen the audience of the original post
Thibaut Girka [Tue, 1 Oct 2019 15:49:52 +0000 (17:49 +0200)]
Ensure self-announces do not widen the audience of the original post

4 years agoMake activity announceable by its author.
KokaKiwi [Sun, 24 Feb 2019 17:45:29 +0000 (18:45 +0100)]
Make activity announceable by its author.

4 years agoSend an identifier alongside with error message in OAuthController
Maxim Filippov [Tue, 1 Oct 2019 15:10:04 +0000 (18:10 +0300)]
Send an identifier alongside with error message in OAuthController

4 years agoExtract auth actions from `MastodonAPIController` to `AuthController`
Egor Kislitsyn [Tue, 1 Oct 2019 08:54:45 +0000 (15:54 +0700)]
Extract auth actions from `MastodonAPIController` to `AuthController`

4 years agoMerge branch 'split-masto-api/apps' into 'develop'
kaniini [Tue, 1 Oct 2019 08:32:59 +0000 (08:32 +0000)]
Merge branch 'split-masto-api/apps' into 'develop'

Extract apps actions from `MastodonAPIController` to `AppController`

See merge request pleroma/pleroma!1758

4 years agoExtract apps actions from `MastodonAPIController` to `AppController`
Egor Kislitsyn [Tue, 1 Oct 2019 08:21:46 +0000 (15:21 +0700)]
Extract apps actions from `MastodonAPIController` to `AppController`

4 years agoMerge branch 'split-masto-api/suggestions' into 'develop'
kaniini [Tue, 1 Oct 2019 08:15:56 +0000 (08:15 +0000)]
Merge branch 'split-masto-api/suggestions' into 'develop'

Extract suggestions actions from `MastodonAPIController` to `SuggestionController`

See merge request pleroma/pleroma!1757

4 years agoExtract suggestions actions from `MastodonAPIController` to `SuggestionController`
Egor Kislitsyn [Tue, 1 Oct 2019 07:45:04 +0000 (14:45 +0700)]
Extract suggestions actions from `MastodonAPIController` to `SuggestionController`

4 years agoMerge branch 'split-masto-api/media' into 'develop'
kaniini [Tue, 1 Oct 2019 07:57:46 +0000 (07:57 +0000)]
Merge branch 'split-masto-api/media' into 'develop'

Extract media actions from `MastodonAPIController` to `MediaController`

See merge request pleroma/pleroma!1756

4 years agoExtract media actions from `MastodonAPIController` to `MediaController`
Egor Kislitsyn [Tue, 1 Oct 2019 07:36:35 +0000 (14:36 +0700)]
Extract media actions from `MastodonAPIController` to `MediaController`

4 years agoMerge branch 'split-masto-api/polls' into 'develop'
kaniini [Tue, 1 Oct 2019 07:11:54 +0000 (07:11 +0000)]
Merge branch 'split-masto-api/polls' into 'develop'

Extract poll actions from `MastodonAPIController` to `PollController`

See merge request pleroma/pleroma!1755

4 years agoExtract poll actions from `MastodonAPIController` to `PollController`
Egor Kislitsyn [Tue, 1 Oct 2019 04:44:34 +0000 (11:44 +0700)]
Extract poll actions from `MastodonAPIController` to `PollController`

4 years agoMerge branch 'compact-undos' into 'develop'
kaniini [Mon, 30 Sep 2019 16:25:45 +0000 (16:25 +0000)]
Merge branch 'compact-undos' into 'develop'

Transmogrifier: Handle compact objects in undos.

See merge request pleroma/pleroma!1752

4 years agoTransmogrifier: Handle compact objects in undos.
lain [Mon, 30 Sep 2019 16:13:05 +0000 (18:13 +0200)]
Transmogrifier: Handle compact objects in undos.

4 years agoMerge branch 'ci/build-otp-maint' into 'develop'
kaniini [Mon, 30 Sep 2019 15:37:03 +0000 (15:37 +0000)]
Merge branch 'ci/build-otp-maint' into 'develop'

CI: Enable OTP release building for maint/* branches

See merge request pleroma/pleroma!1749

4 years agoCI: Enable OTP release building for maint/* branches
rinpatch [Mon, 30 Sep 2019 15:23:29 +0000 (18:23 +0300)]
CI: Enable OTP release building for maint/* branches

4 years ago.
lain [Mon, 30 Sep 2019 14:38:19 +0000 (16:38 +0200)]
.

4 years agoActivityPub: Federate reactions.
lain [Mon, 30 Sep 2019 13:51:09 +0000 (15:51 +0200)]
ActivityPub: Federate reactions.

4 years agoPleromaAPIController: Fixes and refactoring.
lain [Mon, 30 Sep 2019 13:13:25 +0000 (15:13 +0200)]
PleromaAPIController: Fixes and refactoring.

4 years agoPleroma.Constants: Fix typo.
lain [Mon, 30 Sep 2019 13:13:05 +0000 (15:13 +0200)]
Pleroma.Constants: Fix typo.

4 years agoMerge branch 'split-masto-api/mascots' into 'develop'
kaniini [Mon, 30 Sep 2019 12:53:43 +0000 (12:53 +0000)]
Merge branch 'split-masto-api/mascots' into 'develop'

Extract mascot actions from `MastodonAPIController` to MascotController

See merge request pleroma/pleroma!1745

4 years agoMerge branch 'update/admin-fe-20190930' into 'develop'
kaniini [Mon, 30 Sep 2019 12:53:28 +0000 (12:53 +0000)]
Merge branch 'update/admin-fe-20190930' into 'develop'

update admin fe

See merge request pleroma/pleroma!1747

4 years agoupdate admin fe
Ariadne Conill [Mon, 30 Sep 2019 12:52:28 +0000 (12:52 +0000)]
update admin fe

4 years agoExtract mascot actions from `MastodonAPIController` to MascotController
Egor Kislitsyn [Mon, 30 Sep 2019 12:32:43 +0000 (19:32 +0700)]
Extract mascot actions from `MastodonAPIController` to MascotController

4 years agoLitepub Context: Add EmojiReaction.
lain [Mon, 30 Sep 2019 12:26:59 +0000 (14:26 +0200)]
Litepub Context: Add EmojiReaction.

4 years agoMerge branch 'split-masto-api/accounts' into 'develop'
kaniini [Mon, 30 Sep 2019 12:21:16 +0000 (12:21 +0000)]
Merge branch 'split-masto-api/accounts' into 'develop'

Extract account actions from `MastodonAPIController` to `AccountController`

See merge request pleroma/pleroma!1731

4 years agoFix warning in TransmogrifierTest
Egor Kislitsyn [Mon, 30 Sep 2019 12:06:17 +0000 (19:06 +0700)]
Fix warning in TransmogrifierTest

4 years agoMove update_credentials to MastodonAPI.AccountController
Egor Kislitsyn [Mon, 30 Sep 2019 08:47:01 +0000 (15:47 +0700)]
Move update_credentials to MastodonAPI.AccountController

4 years agoMove account_register, relationships and verify_credentials to MastodonAPI.AccountCon...
Egor Kislitsyn [Mon, 30 Sep 2019 09:08:29 +0000 (16:08 +0700)]
Move account_register, relationships and verify_credentials to MastodonAPI.AccountController

4 years agoMove account_lists test to MastodonAPI.AccountControllerTest
Egor Kislitsyn [Mon, 30 Sep 2019 07:43:54 +0000 (14:43 +0700)]
Move account_lists test to MastodonAPI.AccountControllerTest

4 years agoDisable async in DomainBlockControllerTest
Egor Kislitsyn [Mon, 30 Sep 2019 07:28:37 +0000 (14:28 +0700)]
Disable async in DomainBlockControllerTest

4 years agoAdd PleromaAPI.AccountController
Egor Kislitsyn [Mon, 30 Sep 2019 07:28:12 +0000 (14:28 +0700)]
Add PleromaAPI.AccountController

4 years agoFix merge
Egor Kislitsyn [Mon, 30 Sep 2019 12:10:54 +0000 (19:10 +0700)]
Fix merge

4 years agoMerge remote-tracking branch 'origin/develop' into reactions
lain [Mon, 30 Sep 2019 11:58:14 +0000 (13:58 +0200)]
Merge remote-tracking branch 'origin/develop' into reactions

4 years agoMerge remote-tracking branch 'origin/develop' into reactions
lain [Mon, 30 Sep 2019 11:57:54 +0000 (13:57 +0200)]
Merge remote-tracking branch 'origin/develop' into reactions

4 years agoMerge branch 'fix/report-controller-test' into 'develop'
kaniini [Mon, 30 Sep 2019 11:41:39 +0000 (11:41 +0000)]
Merge branch 'fix/report-controller-test' into 'develop'

Fix ReportControllerTest

See merge request pleroma/pleroma!1746

4 years agoFix ReportControllerTest
Egor Kislitsyn [Mon, 30 Sep 2019 11:30:10 +0000 (18:30 +0700)]
Fix ReportControllerTest

4 years agoMerge branch 'features/apc2s-media-upload' into 'develop'
kaniini [Mon, 30 Sep 2019 11:21:49 +0000 (11:21 +0000)]
Merge branch 'features/apc2s-media-upload' into 'develop'

AP C2S mediaUpload

Closes #1171

See merge request pleroma/pleroma!1706

4 years agoMerge branch 'split-masto-api/reports' into 'develop'
kaniini [Mon, 30 Sep 2019 11:17:30 +0000 (11:17 +0000)]
Merge branch 'split-masto-api/reports' into 'develop'

Extract report actions from `MastodonAPIController` to `ReportController`

See merge request pleroma/pleroma!1744

4 years agoMerge branch 'split-masto-api/conversations' into 'develop'
kaniini [Mon, 30 Sep 2019 10:49:40 +0000 (10:49 +0000)]
Merge branch 'split-masto-api/conversations' into 'develop'

Extract conversation actions from `MastodonAPIController` to ConversationController

See merge request pleroma/pleroma!1743

4 years agoMerge branch 'cleanup/drop-subscription-table-if-exists' into 'develop'
kaniini [Mon, 30 Sep 2019 10:46:34 +0000 (10:46 +0000)]
Merge branch 'cleanup/drop-subscription-table-if-exists' into 'develop'

Remove subscription_notifications table if it existed

See merge request pleroma/pleroma!1742

4 years agoMerge branch 'feature/scrobbling' into 'develop'
kaniini [Mon, 30 Sep 2019 10:45:00 +0000 (10:45 +0000)]
Merge branch 'feature/scrobbling' into 'develop'

media scrobbling ("now playing" API)

See merge request pleroma/pleroma!1732

4 years agoExtract report actions from `MastodonAPIController` to `ReportController`
Egor Kislitsyn [Mon, 30 Sep 2019 10:04:03 +0000 (17:04 +0700)]
Extract report actions from `MastodonAPIController` to `ReportController`

Update MastodonAPI.ReportView

4 years agochange new scrobble endpoint
Ariadne Conill [Sun, 29 Sep 2019 02:18:34 +0000 (02:18 +0000)]
change new scrobble endpoint

4 years agotest: fix scrobble controller tests
Ariadne Conill [Sun, 29 Sep 2019 00:35:40 +0000 (00:35 +0000)]
test: fix scrobble controller tests

4 years agosplit scrobble functions into their own controller
Ariadne Conill [Sun, 29 Sep 2019 00:25:42 +0000 (00:25 +0000)]
split scrobble functions into their own controller

4 years agorouter: change scrobble timeline route from now-playing to scrobbles
Ariadne Conill [Sun, 29 Sep 2019 00:18:06 +0000 (00:18 +0000)]
router: change scrobble timeline route from now-playing to scrobbles

4 years agocommon api: add some missing IR bits for listen activities' children
Ariadne Conill [Sat, 28 Sep 2019 12:29:00 +0000 (12:29 +0000)]
common api: add some missing IR bits for listen activities' children

4 years agoactivitypub: object view: include child object for Listen activities
Ariadne Conill [Sat, 28 Sep 2019 12:28:39 +0000 (12:28 +0000)]
activitypub: object view: include child object for Listen activities

4 years agocommon api: make sure the generated IR is actually federatable
Ariadne Conill [Sat, 28 Sep 2019 12:12:35 +0000 (12:12 +0000)]
common api: make sure the generated IR is actually federatable

4 years agotest: transmogrifier: add test proving that transmogrifier can handle outgoing listens
Ariadne Conill [Sat, 28 Sep 2019 11:57:24 +0000 (11:57 +0000)]
test: transmogrifier: add test proving that transmogrifier can handle outgoing listens

4 years agoupdate changelog
Ariadne Conill [Sat, 28 Sep 2019 02:13:26 +0000 (02:13 +0000)]
update changelog

4 years agopleroma api: hook up scrobbler controller
Ariadne Conill [Sat, 28 Sep 2019 02:12:12 +0000 (02:12 +0000)]
pleroma api: hook up scrobbler controller

4 years agocommon api: implement scrobbling
Ariadne Conill [Sat, 28 Sep 2019 00:24:32 +0000 (00:24 +0000)]
common api: implement scrobbling

4 years agoactivitypub: transmogrifier: implement support for Listen activities
Ariadne Conill [Fri, 27 Sep 2019 12:40:31 +0000 (12:40 +0000)]
activitypub: transmogrifier: implement support for Listen activities

4 years agoactivitypub: implement IR-level considerations for Listen activities
Ariadne Conill [Fri, 27 Sep 2019 12:22:35 +0000 (12:22 +0000)]
activitypub: implement IR-level considerations for Listen activities

4 years agomastodon api: implement rendering of listen activities
Ariadne Conill [Fri, 27 Sep 2019 11:40:40 +0000 (11:40 +0000)]
mastodon api: implement rendering of listen activities

4 years agotest: factory: implement support for generating mock audio and listen objects
Ariadne Conill [Fri, 27 Sep 2019 11:15:20 +0000 (11:15 +0000)]
test: factory: implement support for generating mock audio and listen objects

4 years agodocs: add scrobble API description
Ariadne Conill [Fri, 27 Sep 2019 11:04:52 +0000 (11:04 +0000)]
docs: add scrobble API description

4 years agoExtract conversation actions from `MastodonAPIController` to ConversationController
Egor Kislitsyn [Mon, 30 Sep 2019 09:52:07 +0000 (16:52 +0700)]
Extract conversation actions from `MastodonAPIController` to ConversationController

4 years agoMerge branch 'develop' into cleanup/drop-subscription-table-if-exists
rinpatch [Sun, 29 Sep 2019 21:26:49 +0000 (00:26 +0300)]
Merge branch 'develop' into cleanup/drop-subscription-table-if-exists

4 years agoRemove subscription_notifications table if it existed
rinpatch [Sun, 29 Sep 2019 20:52:40 +0000 (23:52 +0300)]
Remove subscription_notifications table if it existed

Followup to !1741

4 years agoMerge branch 'revert/subscription-refactoring' into 'develop'
rinpatch [Sun, 29 Sep 2019 20:07:37 +0000 (20:07 +0000)]
Merge branch 'revert/subscription-refactoring' into 'develop'

Revert subscription refactoring.

See merge request pleroma/pleroma!1741

4 years agoRevert subscription refactoring.
rinpatch [Sun, 29 Sep 2019 15:43:27 +0000 (18:43 +0300)]
Revert subscription refactoring.

As discussed in pleroma-meta#2

This reverts commit eb9aa7aa1095de150d036839c78c402019efb4b1, reversing
changes made to c4fbb56984d8f86df948cfd9b0f7c081d688c365.

4 years agoMerge branch 'feature/follow-requests-count' into 'develop'
kaniini [Sun, 29 Sep 2019 11:44:31 +0000 (11:44 +0000)]
Merge branch 'feature/follow-requests-count' into 'develop'

Mastodon API: add follow_requests_count

See merge request pleroma/pleroma!1726

4 years agoMerge branch 'chores/1691-breaking-change' into 'develop'
Haelwenn [Sun, 29 Sep 2019 00:34:14 +0000 (00:34 +0000)]
Merge branch 'chores/1691-breaking-change' into 'develop'

!1691 is a breaking change + documentation fixes

See merge request pleroma/pleroma!1739

4 years agoCHANGELOG.md: Sorting, colon after breaking
Haelwenn (lanodan) Monnier [Sun, 29 Sep 2019 00:16:52 +0000 (02:16 +0200)]
CHANGELOG.md: Sorting, colon after breaking

[ci skip]

4 years agoadmin_api.md: Put data-type info as the values
Haelwenn (lanodan) Monnier [Sun, 29 Sep 2019 00:14:53 +0000 (02:14 +0200)]
admin_api.md: Put data-type info as the values

Similar to how the other responses examples are done,
this also makes it proper JSON (as it doesn’t have comments).

4 years agoCHANGELOG.md: !1691 is a breaking change
Haelwenn (lanodan) Monnier [Sun, 29 Sep 2019 00:13:17 +0000 (02:13 +0200)]
CHANGELOG.md: !1691 is a breaking change

!1691: https://git.pleroma.social/pleroma/pleroma/merge_requests/1691

4 years agoMerge branch 'chore/update-docs' into 'develop'
Haelwenn [Sat, 28 Sep 2019 23:59:15 +0000 (23:59 +0000)]
Merge branch 'chore/update-docs' into 'develop'

Update admin_api.md

See merge request pleroma/pleroma!1738

4 years agoUpdate admin_api.md
Maxim Filippov [Sat, 28 Sep 2019 21:01:35 +0000 (00:01 +0300)]
Update admin_api.md

4 years agoMerge branch 'tests/mastodon_api_controller.ex' into 'develop'
Haelwenn [Sat, 28 Sep 2019 19:02:05 +0000 (19:02 +0000)]
Merge branch 'tests/mastodon_api_controller.ex' into 'develop'

tests for mastodon_api_controller.ex

See merge request pleroma/pleroma!1639

4 years agoMerge branch 'develop' into tests/mastodon_api_controller.ex
Maksim Pechnikov [Sat, 28 Sep 2019 07:32:03 +0000 (10:32 +0300)]
Merge branch 'develop' into tests/mastodon_api_controller.ex

4 years agoMerge branch 'bugfix/post-empty-status' into 'develop'
Haelwenn [Sat, 28 Sep 2019 00:03:24 +0000 (00:03 +0000)]
Merge branch 'bugfix/post-empty-status' into 'develop'

status_controller.ex: Posting media status without content defined

See merge request pleroma/pleroma!1735

4 years agostatus_controller.ex: Posting media status without content defined
Haelwenn (lanodan) Monnier [Fri, 27 Sep 2019 23:21:28 +0000 (01:21 +0200)]
status_controller.ex: Posting media status without content defined