akkoma
4 years agoUpdate stats admin endpoint
Roman Chvanikov [Sat, 9 May 2020 08:30:37 +0000 (11:30 +0300)]
Update stats admin endpoint

4 years agoupdate counter_cache logic
Roman Chvanikov [Fri, 8 May 2020 22:20:50 +0000 (01:20 +0300)]
update counter_cache logic

4 years agoAdd migration for counter_cache table update
Roman Chvanikov [Fri, 8 May 2020 19:08:11 +0000 (22:08 +0300)]
Add migration for counter_cache table update

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 '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 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 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/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 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 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 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 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 agoFix description
Egor Kislitsyn [Wed, 6 May 2020 10:18:19 +0000 (14:18 +0400)]
Fix description

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

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

Add OpenAPI spec for MarkerController

See merge request pleroma/pleroma!2386

4 years agoMerge branch 'bugfix/sensitive_object' into 'develop'
lain [Wed, 6 May 2020 09:04:13 +0000 (09:04 +0000)]
Merge branch 'bugfix/sensitive_object' into 'develop'

Transmogrifier.set_sensitive/1: Keep sensitive set to true

Closes #954

See merge request pleroma/pleroma!2470

4 years agoMerge branch 'fix/1726-user-pagination' into 'develop'
lain [Wed, 6 May 2020 09:01:42 +0000 (09:01 +0000)]
Merge branch 'fix/1726-user-pagination' into 'develop'

Pagination fix for service users filters in admin api

Closes #1726

See merge request pleroma/pleroma!2452

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

Add OpenAPI spec for FollowRequestController

See merge request pleroma/pleroma!2448

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

Add OpenAPI spec for FilterController

See merge request pleroma/pleroma!2382

4 years agoMerge branch 'feature/1728-webfinger-acct-scheme' into 'develop'
lain [Wed, 6 May 2020 08:46:45 +0000 (08:46 +0000)]
Merge branch 'feature/1728-webfinger-acct-scheme' into 'develop'

Webfinger: Request account info with the acct scheme

Closes #1728

See merge request pleroma/pleroma!2465

4 years agoMerge branch 'openapi/instance' into 'develop'
lain [Wed, 6 May 2020 08:46:14 +0000 (08:46 +0000)]
Merge branch 'openapi/instance' into 'develop'

Add OpenAPI spec for InstanceController

See merge request pleroma/pleroma!2450

4 years agoMerge branch 'openapi/lists' into 'develop'
lain [Wed, 6 May 2020 08:43:21 +0000 (08:43 +0000)]
Merge branch 'openapi/lists' into 'develop'

Add OpenAPI spec for ListController

See merge request pleroma/pleroma!2453

4 years agoMerge branch 'openapi/conversations' into 'develop'
lain [Wed, 6 May 2020 08:40:04 +0000 (08:40 +0000)]
Merge branch 'openapi/conversations' into 'develop'

Add OpenAPI spec for ConversationController

See merge request pleroma/pleroma!2445

4 years agoMerge branch 'openapi/scheduled_activities' into 'develop'
Haelwenn [Wed, 6 May 2020 01:04:50 +0000 (01:04 +0000)]
Merge branch 'openapi/scheduled_activities' into 'develop'

Add OpenAPI spec for ScheduledActivityController

See merge request pleroma/pleroma!2477

4 years agoAdd OpenAPI spec for ScheduledActivityController
Egor Kislitsyn [Tue, 5 May 2020 19:42:18 +0000 (23:42 +0400)]
Add OpenAPI spec for ScheduledActivityController

4 years agoAdd Attachment schema
Egor Kislitsyn [Tue, 5 May 2020 19:19:16 +0000 (23:19 +0400)]
Add Attachment schema

4 years agoAdd OpenAPI spec for PollController
Egor Kislitsyn [Tue, 5 May 2020 16:14:22 +0000 (20:14 +0400)]
Add OpenAPI spec for PollController

4 years agoUndoing: Move undoing blocks to the pipeline everywhere.
lain [Tue, 5 May 2020 16:00:37 +0000 (18:00 +0200)]
Undoing: Move undoing blocks to the pipeline everywhere.

4 years agoUndoing: Move undoing announcements to the pipeline everywhere.
lain [Tue, 5 May 2020 14:42:34 +0000 (16:42 +0200)]
Undoing: Move undoing announcements to the pipeline everywhere.

4 years agoUndoing: Move undoing reactions to the pipeline everywhere.
lain [Tue, 5 May 2020 14:17:09 +0000 (16:17 +0200)]
Undoing: Move undoing reactions to the pipeline everywhere.

4 years agoAdd OpenAPI spec for ConversationController
Egor Kislitsyn [Tue, 5 May 2020 13:44:46 +0000 (17:44 +0400)]
Add OpenAPI spec for ConversationController

4 years agoRender mastodon-like errors in FilterController
Egor Kislitsyn [Tue, 28 Apr 2020 12:25:13 +0000 (16:25 +0400)]
Render mastodon-like errors in FilterController

4 years agoMove single used schemas to Filter operation schema
Egor Kislitsyn [Mon, 27 Apr 2020 19:54:11 +0000 (23:54 +0400)]
Move single used schemas to Filter operation schema

4 years agoAdd OpenAPI spec for FilterController
Egor Kislitsyn [Tue, 14 Apr 2020 14:36:32 +0000 (18:36 +0400)]
Add OpenAPI spec for FilterController

4 years agoMerge branch 'feature/1720-status-view' into 'develop'
lain [Tue, 5 May 2020 13:40:12 +0000 (13:40 +0000)]
Merge branch 'feature/1720-status-view' into 'develop'

Admin API fetch status by id

Closes #1720

See merge request pleroma/pleroma!2475

4 years agoAdd OpenAPI spec for FollowRequestController
Egor Kislitsyn [Tue, 5 May 2020 13:40:00 +0000 (17:40 +0400)]
Add OpenAPI spec for FollowRequestController

4 years agoApply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
minibikini [Fri, 1 May 2020 12:46:56 +0000 (12:46 +0000)]
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex

4 years agoApply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
minibikini [Fri, 1 May 2020 12:46:53 +0000 (12:46 +0000)]
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex

4 years agoApply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
minibikini [Thu, 30 Apr 2020 17:45:48 +0000 (17:45 +0000)]
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex

4 years agoAdd OpenAPI spec for InstanceController
Egor Kislitsyn [Tue, 5 May 2020 13:24:16 +0000 (17:24 +0400)]
Add OpenAPI spec for InstanceController

4 years agoadmin_api fetch status by id
Alexander Strizhakov [Tue, 5 May 2020 13:08:44 +0000 (16:08 +0300)]
admin_api fetch status by id

4 years agoUndoing: Move undoing likes to the pipeline everywhere.
lain [Tue, 5 May 2020 13:08:41 +0000 (15:08 +0200)]
Undoing: Move undoing likes to the pipeline everywhere.

4 years agoFix descriptions for List API spec
Egor Kislitsyn [Fri, 1 May 2020 15:53:00 +0000 (19:53 +0400)]
Fix descriptions for List API spec

4 years agoAdd OpenAPI spec for ListController
Egor Kislitsyn [Tue, 5 May 2020 13:05:34 +0000 (17:05 +0400)]
Add OpenAPI spec for ListController

4 years agoMove single used schemas to Marker operation schema
Egor Kislitsyn [Tue, 5 May 2020 12:45:34 +0000 (16:45 +0400)]
Move single used schemas to Marker operation schema

4 years agoAdd OpenAPI spec for MarkerController
Egor Kislitsyn [Tue, 14 Apr 2020 18:50:29 +0000 (22:50 +0400)]
Add OpenAPI spec for MarkerController

4 years agoAdd OpenAPI spec for SubscriptionController
Egor Kislitsyn [Tue, 5 May 2020 12:43:00 +0000 (16:43 +0400)]
Add OpenAPI spec for SubscriptionController

4 years agoUndoValidator: Add UndoValidator.
lain [Tue, 5 May 2020 12:17:47 +0000 (14:17 +0200)]
UndoValidator: Add UndoValidator.

4 years agoMerge branch 'feature/1737-magic-key-field' into 'develop'
rinpatch [Tue, 5 May 2020 12:10:10 +0000 (12:10 +0000)]
Merge branch 'feature/1737-magic-key-field' into 'develop'

User, Webfinger: Remove OStatus vestiges

Closes #1737

See merge request pleroma/pleroma!2471

4 years agoMerge branch 'openapi/validation-plug' into 'develop'
rinpatch [Tue, 5 May 2020 12:08:58 +0000 (12:08 +0000)]
Merge branch 'openapi/validation-plug' into 'develop'

Ignore unexpected query params and ENUM values

Closes #1719

See merge request pleroma/pleroma!2468

4 years agoTransmogrifier tests: Extract Undo handling
lain [Tue, 5 May 2020 11:25:34 +0000 (13:25 +0200)]
Transmogrifier tests: Extract Undo handling

4 years agoApply suggestion to lib/pleroma/web/web_finger/web_finger.ex
lain [Tue, 5 May 2020 11:17:44 +0000 (11:17 +0000)]
Apply suggestion to lib/pleroma/web/web_finger/web_finger.ex

4 years agoDocument configuration for Pleroma.Web.ApiSpec.CastAndValidate
Egor Kislitsyn [Tue, 5 May 2020 10:44:29 +0000 (14:44 +0400)]
Document configuration for Pleroma.Web.ApiSpec.CastAndValidate

4 years agoLikeValidator: Add defaults for recipients back in.
lain [Tue, 5 May 2020 08:38:59 +0000 (10:38 +0200)]
LikeValidator: Add defaults for recipients back in.

4 years agoMerge branch 'fix/issue-1729' into 'develop'
lain [Tue, 5 May 2020 08:21:39 +0000 (08:21 +0000)]
Merge branch 'fix/issue-1729' into 'develop'

Only update follower/following stats for actor types of users and bots.

Closes #1565 and #1729

See merge request pleroma/pleroma!2464

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete...
lain [Tue, 5 May 2020 08:19:01 +0000 (10:19 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete-validator

4 years agoAP C2S: Restrict creation to `Note`s for now.
lain [Tue, 5 May 2020 08:12:37 +0000 (10:12 +0200)]
AP C2S: Restrict creation to `Note`s for now.

4 years agoWebFinger Test: Add back test.
lain [Tue, 5 May 2020 07:55:33 +0000 (09:55 +0200)]
WebFinger Test: Add back test.

4 years agoWebFinger: Add back in subscribe_address.
lain [Tue, 5 May 2020 07:36:38 +0000 (09:36 +0200)]
WebFinger: Add back in subscribe_address.

It's used for remote following.

4 years agoUser, Webfinger: Remove OStatus vestiges
lain [Tue, 5 May 2020 07:25:09 +0000 (09:25 +0200)]
User, Webfinger: Remove OStatus vestiges

Mainly the `magic_key` field

4 years agoTransmogrifier.set_sensitive/1: Keep sensitive set to true
Haelwenn (lanodan) Monnier [Mon, 4 May 2020 21:32:53 +0000 (23:32 +0200)]
Transmogrifier.set_sensitive/1: Keep sensitive set to true

4 years agoMerge branch 'feature/update-labels-for-activating-settings' into 'develop'
feld [Mon, 4 May 2020 20:24:08 +0000 (20:24 +0000)]
Merge branch 'feature/update-labels-for-activating-settings' into 'develop'

Fix inconsistency in language for activating settings in description.exs

Closes admin-fe#108

See merge request pleroma/pleroma!2469

4 years agoFix inconsistency in language for activating settings
Angelina Filippova [Mon, 4 May 2020 19:41:14 +0000 (22:41 +0300)]
Fix inconsistency in language for activating settings

4 years agoEnable strict validation mode in dev and test environments
Egor Kislitsyn [Mon, 4 May 2020 18:35:28 +0000 (22:35 +0400)]
Enable strict validation mode in dev and test environments

4 years agoRender better errors for ENUM validation
Egor Kislitsyn [Mon, 4 May 2020 18:33:34 +0000 (22:33 +0400)]
Render better errors for ENUM validation

4 years agoAdd a config option to enable strict validation
Egor Kislitsyn [Mon, 4 May 2020 18:33:05 +0000 (22:33 +0400)]
Add a config option to enable strict validation

4 years agoIgnore unexpected ENUM values in query string
Egor Kislitsyn [Mon, 4 May 2020 17:46:25 +0000 (21:46 +0400)]
Ignore unexpected ENUM values in query string

4 years agoApply suggestion to lib/pleroma/web/api_spec/cast_and_validate.ex
minibikini [Mon, 4 May 2020 16:38:23 +0000 (16:38 +0000)]
Apply suggestion to lib/pleroma/web/api_spec/cast_and_validate.ex

4 years agoIgnore unexpected query params
Egor Kislitsyn [Mon, 4 May 2020 16:16:18 +0000 (20:16 +0400)]
Ignore unexpected query params

4 years agoMerge branch 'feature/favorite-refactor' into 'develop'
rinpatch [Mon, 4 May 2020 15:47:04 +0000 (15:47 +0000)]
Merge branch 'feature/favorite-refactor' into 'develop'

Like activities: Move fixes to validator.

See merge request pleroma/pleroma!2467

4 years agoTransmogrifier: Rely on LikeValidator.
lain [Mon, 4 May 2020 15:18:38 +0000 (17:18 +0200)]
Transmogrifier: Rely on LikeValidator.

4 years agoLikeValidator: Fix up context.
lain [Mon, 4 May 2020 15:18:17 +0000 (17:18 +0200)]
LikeValidator: Fix up context.

4 years agoLikeValidator: Fix up missing recipients.
lain [Mon, 4 May 2020 15:08:31 +0000 (17:08 +0200)]
LikeValidator: Fix up missing recipients.

4 years agoTransmogrifier tests: Extract like tests.
lain [Mon, 4 May 2020 12:45:28 +0000 (14:45 +0200)]
Transmogrifier tests: Extract like tests.

4 years agoPipeline: Move transctioning to common pipeline.
lain [Mon, 4 May 2020 12:34:19 +0000 (14:34 +0200)]
Pipeline: Move transctioning to common pipeline.

4 years agoActivityPub: Don't fetch `Application` follower counts.
lain [Mon, 4 May 2020 12:22:54 +0000 (14:22 +0200)]
ActivityPub: Don't fetch `Application` follower counts.

4 years agoUpdate changelog
lain [Mon, 4 May 2020 10:22:31 +0000 (12:22 +0200)]
Update changelog

4 years agoWebfinger: Request account info with the acct scheme
lain [Sun, 3 May 2020 11:48:01 +0000 (13:48 +0200)]
Webfinger: Request account info with the acct scheme

4 years agoDeleteValidator: The deleted activity id is an object id
lain [Sun, 3 May 2020 11:02:57 +0000 (13:02 +0200)]
DeleteValidator: The deleted activity id is an object id

4 years agoVarious testing fixes in relation to user deletion.
lain [Sun, 3 May 2020 11:01:19 +0000 (13:01 +0200)]
Various testing fixes in relation to user deletion.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete...
lain [Sun, 3 May 2020 10:55:29 +0000 (12:55 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete-validator

4 years agoTransmogrifier: Don't fetch actor that's guaranteed to be there.
lain [Sun, 3 May 2020 10:51:28 +0000 (12:51 +0200)]
Transmogrifier: Don't fetch actor that's guaranteed to be there.