akkoma
4 years agoMerge branch 'feature/delete-validator' of git.pleroma.social:pleroma/pleroma into...
lain [Fri, 1 May 2020 11:35:42 +0000 (13:35 +0200)]
Merge branch 'feature/delete-validator' of git.pleroma.social:pleroma/pleroma into feature/delete-validator

4 years agoDeleteValidator: Only allow deletion of certain types.
lain [Fri, 1 May 2020 11:34:47 +0000 (13:34 +0200)]
DeleteValidator: Only allow deletion of certain types.

4 years agoMerge branch 'develop' of ssh://git.pleroma.social/pleroma/pleroma into feature/delet...
Lain Soykaf [Thu, 30 Apr 2020 20:44:31 +0000 (22:44 +0200)]
Merge branch 'develop' of ssh://git.pleroma.social/pleroma/pleroma into feature/delete-validator

4 years agoDeleteValidator: Don't federate local deletions of remote objects.
lain [Thu, 30 Apr 2020 19:23:18 +0000 (21:23 +0200)]
DeleteValidator: Don't federate local deletions of remote objects.

Closes #1497

4 years agoMerge branch 'dismiss-notification-on-follow-request-rejection' into 'develop'
lain [Thu, 30 Apr 2020 18:38:52 +0000 (18:38 +0000)]
Merge branch 'dismiss-notification-on-follow-request-rejection' into 'develop'

Dismiss the follow request notification on rejection

See merge request pleroma/pleroma!2447

4 years agoActivityPub: Remove `delete` function.
lain [Thu, 30 Apr 2020 18:13:47 +0000 (20:13 +0200)]
ActivityPub: Remove `delete` function.

This is handled by the common pipeline now.

4 years agoUser: Use common pipeline to delete user activities
lain [Thu, 30 Apr 2020 18:08:25 +0000 (20:08 +0200)]
User: Use common pipeline to delete user activities

4 years agoSideEffects: Fix comment
lain [Thu, 30 Apr 2020 17:53:30 +0000 (19:53 +0200)]
SideEffects: Fix comment

4 years agoSideEffects: On deletion, reduce the reply count cache
lain [Thu, 30 Apr 2020 17:47:13 +0000 (19:47 +0200)]
SideEffects: On deletion, reduce the reply count cache

4 years agoCredo fixes.
lain [Thu, 30 Apr 2020 16:38:37 +0000 (18:38 +0200)]
Credo fixes.

4 years agoSideEffects: On deletion, reduce the User note count.
lain [Thu, 30 Apr 2020 16:19:39 +0000 (18:19 +0200)]
SideEffects: On deletion, reduce the User note count.

4 years agoSideEffectsTest: Test streaming.
lain [Thu, 30 Apr 2020 16:10:36 +0000 (18:10 +0200)]
SideEffectsTest: Test streaming.

4 years agoMerge branch 'emoji-upload' into 'develop'
Haelwenn [Thu, 30 Apr 2020 16:09:51 +0000 (16:09 +0000)]
Merge branch 'emoji-upload' into 'develop'

Updated emoji API endpoints

Closes #1649, #1604, and #1545

See merge request pleroma/pleroma!2179

4 years agoObjectValidator: Refactor.
lain [Thu, 30 Apr 2020 15:58:31 +0000 (17:58 +0200)]
ObjectValidator: Refactor.

4 years agoSideEffects: Stream out deletes.
lain [Thu, 30 Apr 2020 15:58:09 +0000 (17:58 +0200)]
SideEffects: Stream out deletes.

4 years agoDeleteValidator: Add internal helper field after validation.
lain [Thu, 30 Apr 2020 15:53:02 +0000 (17:53 +0200)]
DeleteValidator: Add internal helper field after validation.

4 years agoStreamerTest: Separate deletion test.
lain [Thu, 30 Apr 2020 15:52:29 +0000 (17:52 +0200)]
StreamerTest: Separate deletion test.

4 years agoDismiss the follow request notification on rejection
eugenijm [Thu, 30 Apr 2020 12:02:35 +0000 (15:02 +0300)]
Dismiss the follow request notification on rejection

4 years agofix for auth check
Alexander Strizhakov [Thu, 30 Apr 2020 14:50:57 +0000 (17:50 +0300)]
fix for auth check

4 years agoAP C2S: Use common pipelin for deletes.
lain [Thu, 30 Apr 2020 14:49:41 +0000 (16:49 +0200)]
AP C2S: Use common pipelin for deletes.

4 years agoCommonAPI: Use common pipeline for deletions.
lain [Thu, 30 Apr 2020 14:15:38 +0000 (16:15 +0200)]
CommonAPI: Use common pipeline for deletions.

4 years agoCredo fixes.
lain [Thu, 30 Apr 2020 13:58:37 +0000 (15:58 +0200)]
Credo fixes.

4 years agoSideEffects: Handle deletions.
lain [Thu, 30 Apr 2020 13:57:27 +0000 (15:57 +0200)]
SideEffects: Handle deletions.

4 years agoDeleteValidator: Deleting a user is valid.
lain [Thu, 30 Apr 2020 13:42:30 +0000 (15:42 +0200)]
DeleteValidator: Deleting a user is valid.

4 years agoTransmogrifier: Handle incoming deletes for non-user objects.
lain [Thu, 30 Apr 2020 13:26:23 +0000 (15:26 +0200)]
Transmogrifier: Handle incoming deletes for non-user objects.

4 years agodocs update
Alexander Strizhakov [Wed, 1 Apr 2020 10:57:27 +0000 (13:57 +0300)]
docs update

4 years agodocs fix
Alexander Strizhakov [Tue, 31 Mar 2020 08:38:37 +0000 (11:38 +0300)]
docs fix

4 years agolist of options for pack metadata
Alexander Strizhakov [Mon, 30 Mar 2020 07:07:37 +0000 (10:07 +0300)]
list of options for pack metadata

4 years agoerror rename
Alexander Strizhakov [Mon, 30 Mar 2020 06:09:27 +0000 (09:09 +0300)]
error rename

4 years agochangelog entry
Alexander Strizhakov [Sat, 28 Mar 2020 18:21:23 +0000 (21:21 +0300)]
changelog entry

4 years agoemoji api packs changes in routes with docs update
Alexander Strizhakov [Sat, 28 Mar 2020 18:15:14 +0000 (21:15 +0300)]
emoji api packs changes in routes with docs update

4 years agoremoving entry from changelog
Alexander Strizhakov [Sat, 28 Mar 2020 12:00:48 +0000 (15:00 +0300)]
removing entry from changelog

4 years agodocs update
Alexander Strizhakov [Sat, 28 Mar 2020 10:55:17 +0000 (13:55 +0300)]
docs update

4 years agorefactor emoji api with fixes
Alexander Strizhakov [Sat, 28 Mar 2020 10:34:32 +0000 (13:34 +0300)]
refactor emoji api with fixes

4 years agoDeleteValidator: Mastodon sends unaddressed deletes.
lain [Thu, 30 Apr 2020 12:37:14 +0000 (14:37 +0200)]
DeleteValidator: Mastodon sends unaddressed deletes.

4 years agoreturn data only for updated emoji
Alexander Strizhakov [Thu, 6 Feb 2020 15:01:12 +0000 (18:01 +0300)]
return data only for updated emoji

4 years agoTransmogrifier Tests: Extract deletion tests.
lain [Thu, 30 Apr 2020 12:14:00 +0000 (14:14 +0200)]
Transmogrifier Tests: Extract deletion tests.

4 years agoObjectValidator: Add actor fetcher.
lain [Thu, 30 Apr 2020 12:13:08 +0000 (14:13 +0200)]
ObjectValidator: Add actor fetcher.

4 years agoTypo fix.
lain [Thu, 30 Apr 2020 11:57:47 +0000 (13:57 +0200)]
Typo fix.

4 years agoMerge branch '1364-no-pushes-from-blocked-domains-users' into 'develop'
lain [Thu, 30 Apr 2020 10:29:46 +0000 (10:29 +0000)]
Merge branch '1364-no-pushes-from-blocked-domains-users' into 'develop'

[#1364] [FIX] Disabled notifications on activities from blocked domains (unless actors are followed)

See merge request pleroma/pleroma!2367

4 years agoMerge branch 'fix/add-exclude-replies-openapi' into 'develop'
rinpatch [Wed, 29 Apr 2020 22:01:17 +0000 (22:01 +0000)]
Merge branch 'fix/add-exclude-replies-openapi' into 'develop'

Add exlude_replies to OpenAPI spec for account timelines

See merge request pleroma/pleroma!2443

4 years agoAdd exlude_replies to OpenAPI spec for account timelines
rinpatch [Wed, 29 Apr 2020 21:49:59 +0000 (00:49 +0300)]
Add exlude_replies to OpenAPI spec for account timelines

4 years agoObjectValidator: Add validation for `Delete`s.
lain [Wed, 29 Apr 2020 17:09:51 +0000 (19:09 +0200)]
ObjectValidator: Add validation for `Delete`s.

4 years agoLikeValidator: Use Recipients Type.
lain [Wed, 29 Apr 2020 17:08:36 +0000 (19:08 +0200)]
LikeValidator: Use Recipients Type.

4 years agoObject Validator Types: Add Recipients.
lain [Wed, 29 Apr 2020 17:08:08 +0000 (19:08 +0200)]
Object Validator Types: Add Recipients.

4 years agoMerge branch 'automatic-authentication-and-instance-publicity-checks' into 'develop'
lain [Wed, 29 Apr 2020 11:09:30 +0000 (11:09 +0000)]
Merge branch 'automatic-authentication-and-instance-publicity-checks' into 'develop'

Automatic checks of authentication / authorization / instance publicity

See merge request pleroma/pleroma!2409

4 years ago[#2349] Post-merge fix.
Ivan Tashkinov [Tue, 28 Apr 2020 17:04:25 +0000 (20:04 +0300)]
[#2349] Post-merge fix.

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into automatic-authentication...
Ivan Tashkinov [Tue, 28 Apr 2020 16:56:20 +0000 (19:56 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks

# Conflicts:
# lib/pleroma/web/mastodon_api/controllers/account_controller.ex

4 years agoMerge branch 'docs/notification_destroy_multiple' into 'develop'
lain [Tue, 28 Apr 2020 15:40:18 +0000 (15:40 +0000)]
Merge branch 'docs/notification_destroy_multiple' into 'develop'

Document DELETE /api/v1/notifications/destroy_multiple

Closes #1711

See merge request pleroma/pleroma!2435

4 years agoDocument DELETE /api/v1/notifications/destroy_multiple
Mark Felder [Tue, 28 Apr 2020 15:13:58 +0000 (10:13 -0500)]
Document DELETE /api/v1/notifications/destroy_multiple

4 years agoMerge branch 'openapi/account' into 'develop'
rinpatch [Tue, 28 Apr 2020 11:57:16 +0000 (11:57 +0000)]
Merge branch 'openapi/account' into 'develop'

Add OpenAPI specs for AccountController

See merge request pleroma/pleroma!2374

4 years agoMerge branch 'mongoose-secure' into 'develop'
lain [Tue, 28 Apr 2020 09:18:59 +0000 (09:18 +0000)]
Merge branch 'mongoose-secure' into 'develop'

mongoose auth endpoint worked for deactivated accounts

See merge request pleroma/pleroma!2432

4 years agoformating
fence [Mon, 27 Apr 2020 23:29:31 +0000 (01:29 +0200)]
formating

4 years agoMove single used schemas to operation schema
Egor Kislitsyn [Mon, 27 Apr 2020 18:55:05 +0000 (22:55 +0400)]
Move single used schemas to operation schema

4 years agomongooseim test: explicitly set password for the deactivated used
fence [Mon, 27 Apr 2020 17:32:58 +0000 (19:32 +0200)]
mongooseim test: explicitly set password for the deactivated used

4 years agorequested changes to mongoose test
fence [Mon, 27 Apr 2020 17:16:05 +0000 (19:16 +0200)]
requested changes to mongoose test

4 years agorequested changes to mongoose_im_controller.ex
fence [Mon, 27 Apr 2020 17:11:03 +0000 (19:11 +0200)]
requested changes to mongoose_im_controller.ex

4 years agoUse `json_response_and_validate_schema/2` in tests to validate OpenAPI schema
Egor Kislitsyn [Mon, 27 Apr 2020 16:46:52 +0000 (20:46 +0400)]
Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schema

4 years agoadd tests for deactivated users for mongoose auth
fence [Mon, 27 Apr 2020 16:31:00 +0000 (18:31 +0200)]
add tests for deactivated users for mongoose auth

4 years agosecure mongoose auth endpoint
fence [Mon, 27 Apr 2020 15:55:33 +0000 (17:55 +0200)]
secure mongoose auth endpoint

4 years agoMerge branch 'develop' into openapi/account
Egor Kislitsyn [Mon, 27 Apr 2020 10:33:00 +0000 (14:33 +0400)]
Merge branch 'develop' into openapi/account

4 years agoMerge branch 'img-src-blob' into 'develop'
rinpatch [Sun, 26 Apr 2020 11:39:17 +0000 (11:39 +0000)]
Merge branch 'img-src-blob' into 'develop'

Let blob: pass CSP

See merge request pleroma/pleroma!2427

4 years agoLet blob: pass CSP
Alex Gleason [Sun, 26 Apr 2020 05:28:57 +0000 (00:28 -0500)]
Let blob: pass CSP

4 years agoMerge branch '1706-dm-timeline-failure-fix' into 'develop'
lain [Sat, 25 Apr 2020 19:24:22 +0000 (19:24 +0000)]
Merge branch '1706-dm-timeline-failure-fix' into 'develop'

[#1706] Prevented error on unresolved activity actors for timeline actions

Closes #1706

See merge request pleroma/pleroma!2425

4 years ago[#1706] Formatting fix.
Ivan Tashkinov [Sat, 25 Apr 2020 15:42:08 +0000 (18:42 +0300)]
[#1706] Formatting fix.

4 years ago[#1706] Prevented error on unresolved activity actors for timeline actions.
Ivan Tashkinov [Sat, 25 Apr 2020 15:24:10 +0000 (18:24 +0300)]
[#1706] Prevented error on unresolved activity actors for timeline actions.

4 years ago[#2409] Made `GET /api/v1/accounts/:id/favourites` auth-optional, adjusted tests.
Ivan Tashkinov [Fri, 24 Apr 2020 19:25:27 +0000 (22:25 +0300)]
[#2409] Made `GET /api/v1/accounts/:id/favourites` auth-optional, adjusted tests.

4 years agoMerge branch 'bugfix/announce-race-condition' into 'develop'
rinpatch [Fri, 24 Apr 2020 16:58:24 +0000 (16:58 +0000)]
Merge branch 'bugfix/announce-race-condition' into 'develop'

Announcements: Prevent race condition.

See merge request pleroma/pleroma!2423

4 years agoMerge branch 'reply-filtering-refactor' into 'develop'
lain [Fri, 24 Apr 2020 16:32:13 +0000 (16:32 +0000)]
Merge branch 'reply-filtering-refactor' into 'develop'

Reply filtering refactor

See merge request pleroma/pleroma!2424

4 years agoReply Filtering: Refactor.
lain [Fri, 24 Apr 2020 16:25:26 +0000 (18:25 +0200)]
Reply Filtering: Refactor.

4 years agoMerge branch 'openapi-improvements' into 'develop'
lain [Fri, 24 Apr 2020 16:10:43 +0000 (16:10 +0000)]
Merge branch 'openapi-improvements' into 'develop'

Support validation for inline OpenAPI schema and automatic tests for examples

Closes #1696

See merge request pleroma/pleroma!2421

4 years ago[#2409] Tested all auth setup configs in AuthTestControllerTest. Adjusted :skip_plug...
Ivan Tashkinov [Fri, 24 Apr 2020 13:52:38 +0000 (16:52 +0300)]
[#2409] Tested all auth setup configs in AuthTestControllerTest. Adjusted :skip_plug definitions for some endpoints.

4 years agoApply suggestion to CHANGELOG.md
lain [Fri, 24 Apr 2020 10:27:51 +0000 (10:27 +0000)]
Apply suggestion to CHANGELOG.md

4 years agoUpdate differences_in_mastoapi_responses.md
lain [Fri, 24 Apr 2020 10:26:54 +0000 (10:26 +0000)]
Update differences_in_mastoapi_responses.md

4 years agobench sync
Alexander Strizhakov [Fri, 24 Apr 2020 06:57:30 +0000 (09:57 +0300)]
bench sync

4 years agoupdating benchmarks
Alexander Strizhakov [Fri, 24 Apr 2020 06:24:08 +0000 (09:24 +0300)]
updating benchmarks

4 years agoformatting
Alexander [Wed, 4 Dec 2019 07:29:26 +0000 (10:29 +0300)]
formatting

4 years agoreply filtering
Alexander [Wed, 4 Dec 2019 06:49:17 +0000 (09:49 +0300)]
reply filtering

4 years agoAnnouncements: Prevent race condition.
lain [Fri, 24 Apr 2020 12:37:53 +0000 (14:37 +0200)]
Announcements: Prevent race condition.

4 years agoMerge branch 'feature/remove-unused-like-code' into 'develop'
lain [Fri, 24 Apr 2020 12:09:15 +0000 (12:09 +0000)]
Merge branch 'feature/remove-unused-like-code' into 'develop'

ActivitPub: Remove `like` function.

See merge request pleroma/pleroma!2422

4 years agoCredo fixes.
lain [Fri, 24 Apr 2020 11:59:48 +0000 (13:59 +0200)]
Credo fixes.

4 years agoActivitPub: Remove `like` function.
lain [Fri, 24 Apr 2020 11:48:13 +0000 (13:48 +0200)]
ActivitPub: Remove `like` function.

We don't need another way to build likes.

4 years agoSupport validation for inline OpenAPI schema and automatic tests for examples
Egor Kislitsyn [Fri, 24 Apr 2020 10:46:59 +0000 (14:46 +0400)]
Support validation for inline OpenAPI schema and automatic tests for examples

4 years ago[#2409] Fixed before-action callback results persistence.
Ivan Tashkinov [Thu, 23 Apr 2020 18:47:33 +0000 (21:47 +0300)]
[#2409] Fixed before-action callback results persistence.

4 years agoMerge branch 'bugfix/repeating-announce' into 'develop'
rinpatch [Thu, 23 Apr 2020 12:40:38 +0000 (12:40 +0000)]
Merge branch 'bugfix/repeating-announce' into 'develop'

CommonAPI: Don't make repeating announces possible

See merge request pleroma/pleroma!2418

4 years agoCommonAPI: Don't make repeating announces possible
lain [Thu, 23 Apr 2020 11:33:30 +0000 (13:33 +0200)]
CommonAPI: Don't make repeating announces possible

4 years agoMerge branch 'bugfix/null-scheduled-at' into 'develop'
rinpatch [Thu, 23 Apr 2020 11:22:30 +0000 (11:22 +0000)]
Merge branch 'bugfix/null-scheduled-at' into 'develop'

StatusController: Ignore nil scheduled_at parameters.

Closes #1699

See merge request pleroma/pleroma!2412

4 years agoMerge branch 'bugfix/1629-fav-race-condition' into 'develop'
lain [Wed, 22 Apr 2020 19:26:32 +0000 (19:26 +0000)]
Merge branch 'bugfix/1629-fav-race-condition' into 'develop'

SideEffects: Run in transaction.

Closes #1629

See merge request pleroma/pleroma!2417

4 years agoSideEffects: Use less cryptic syntax.
lain [Wed, 22 Apr 2020 19:21:21 +0000 (21:21 +0200)]
SideEffects: Use less cryptic syntax.

4 years agoMerge branch 'bugfix/1670-user-count' into 'develop'
Haelwenn [Wed, 22 Apr 2020 17:37:09 +0000 (17:37 +0000)]
Merge branch 'bugfix/1670-user-count' into 'develop'

Stats: Ignore internal users for user count.

Closes #1670

See merge request pleroma/pleroma!2414

4 years agoStats: Use `invisible` property for filtering.
lain [Wed, 22 Apr 2020 17:02:22 +0000 (19:02 +0200)]
Stats: Use `invisible` property for filtering.

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1364-no-pushes-from-blocke...
Ivan Tashkinov [Wed, 22 Apr 2020 17:00:51 +0000 (20:00 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1364-no-pushes-from-blocked-domains-users

# Conflicts:
# CHANGELOG.md

4 years agoSideEffects: Run in transaction.
lain [Wed, 22 Apr 2020 16:40:53 +0000 (18:40 +0200)]
SideEffects: Run in transaction.

This fixes race conditions.

4 years agoUpdate Flake ID description
Egor Kislitsyn [Wed, 22 Apr 2020 16:20:19 +0000 (20:20 +0400)]
Update Flake ID description

4 years agoMerge branch 'develop' into openapi/account
Egor Kislitsyn [Wed, 22 Apr 2020 16:18:12 +0000 (20:18 +0400)]
Merge branch 'develop' into openapi/account

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into automatic-authentication...
Ivan Tashkinov [Wed, 22 Apr 2020 15:51:59 +0000 (18:51 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks

# Conflicts:
# lib/pleroma/web/mastodon_api/controllers/account_controller.ex

4 years agoFixed OAuth restrictions for :api routes. Made auth info dropped for :api routes...
Ivan Tashkinov [Wed, 22 Apr 2020 15:50:25 +0000 (18:50 +0300)]
Fixed OAuth restrictions for :api routes. Made auth info dropped for :api routes if OAuth check was neither performed nor explicitly skipped.

4 years agoMerge branch 'fix/follow-and-blocks-import' into 'develop'
Haelwenn [Wed, 22 Apr 2020 15:46:04 +0000 (15:46 +0000)]
Merge branch 'fix/follow-and-blocks-import' into 'develop'

Fix follower/blocks import when nicknames starts with @

Closes #1698

See merge request pleroma/pleroma!2416

4 years agoMerge branch 'bugfix/following-fix-status-code' into 'develop'
Haelwenn [Wed, 22 Apr 2020 15:33:04 +0000 (15:33 +0000)]
Merge branch 'bugfix/following-fix-status-code' into 'develop'

AccountController: Use code 400 for self-follow.

Closes #1674

See merge request pleroma/pleroma!2413

4 years agoMerge branch 'bugfix/1543-streaming-boosts' into 'develop'
Haelwenn [Wed, 22 Apr 2020 15:31:51 +0000 (15:31 +0000)]
Merge branch 'bugfix/1543-streaming-boosts' into 'develop'

Streamer: Stream boosts to the boosting user.

Closes #1543

See merge request pleroma/pleroma!2415