Commit Graph

4633 Commits (d6693a91028ab3ee7865f530f3ad2532542fc2d2)

Author SHA1 Message Date
href e6d8cacf2d Expand and authorize streams in Streamer directly
4 years ago
lain ca31af473c Transmogrifier: On incoming follow accept, update follow counts.
4 years ago
lain d0ba1844b0 ActivityPub: Fix non-federating blocks.
4 years ago
rinpatch f8190aea5e Merge branch 'fix/issue-1676' into 'develop'
4 years ago
href e2b15e8ad3 Fix streamer timeout (closes #1753).
4 years ago
lain 5367a00257 Deletion: Handle the case of pruned objects.
4 years ago
Egor Kislitsyn 3bde0fa3f6
Add OpenAPI spec for TimelineController
4 years ago
Ivan Tashkinov b960a9430d [#2456] credo fix.
4 years ago
Ivan Tashkinov aee88d11be [#2456] Removed support for embedded relationships in account view.
4 years ago
Ivan Tashkinov ac4250a18c [#2456] Clarified `skip_relationships` option (and its default of `false`) for MastodonAPI.AccountView.
4 years ago
Ivan Tashkinov 14a49a0483 [#2456] Dropped support for embedded `pleroma/account/relationship` in statuses and notifications.
4 years ago
Ivan Tashkinov b2924ab1fb Merge remote-tracking branch 'remotes/origin/develop' into restricted-relations-embedding
4 years ago
lain fbcc53760e Merge branch 'feature/emojireactvalidator' into 'develop'
4 years ago
Maksim Pechnikov 4d71c4b805 fixed 'source' object in verify_credentials
4 years ago
lain 6acbe45eb2 Builder: Extract common features of likes and reactions.
4 years ago
lain 0cf43391f2 Merge branch 'issue/1276-2' into 'develop'
4 years ago
lain 218a22c9a3 Merge branch 'fix/privacy-notification' into 'develop'
4 years ago
Maksim Pechnikov b078e0567d Merge branch 'develop' into issue/1276-2
4 years ago
Haelwenn 769d95644d Merge branch 'feature/restrict-c2s' into 'develop'
4 years ago
lain ef55d24054 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator
4 years ago
rinpatch bef08b85e5 Merge branch 'feature/undo-validator-reduced' into 'develop'
4 years ago
lain 516ff945ce Merge branch 'openapi/search' into 'develop'
4 years ago
rinpatch eb1f2fcbc6 Streamer: Fix wrong argument order when rendering activities to authenticated user
4 years ago
lain d11eea62b1 Credo fixes
4 years ago
lain 7ac0cffb34 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator
4 years ago
lain 788b7e7bbd Merge fixes.
4 years ago
lain f0c22df226 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-validator-reduced
4 years ago
lain 3f867d8e9b Apply suggestion to lib/pleroma/web/api_spec/operations/search_operation.ex
4 years ago
Egor Kislitsyn dc4a448f48
Add OpenAPI spec for SearchController
4 years ago
Egor Kislitsyn cdca62e8d4
Add schema for Tag
4 years ago
lain 4c92dfb73e Merge branch 'openapi/polls' into 'develop'
4 years ago
lain 4061841846 Merge branch 'streamer-worker-registry' into 'develop'
4 years ago
href 9491ba3e49 Streamer rework
4 years ago
Maksim 3d0c567fbc Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController
4 years ago
Mark Felder a2580adc91 Hide the sender when privacy option is enabled
4 years ago
Mark Felder 57736c1833 Privacy option affects all push notifications, not just Direct Messages
4 years ago
rinpatch 473b0d9f3d Merge branch 'feature/delete-validator' into 'develop'
4 years ago
Maksim Pechnikov bd261309cc added `unread_notifications_count` for `/api/v1/accounts/verify_credentials`
4 years ago
Maksim Pechnikov 8b97b6f5ba Merge branch 'develop' into issue/1276-2
4 years ago
Egor Kislitsyn 06c69c0a0a
Fix description
4 years ago
lain 07e7c80bc9 Merge branch 'plug-if-unless-func-options-refactoring' into 'develop'
4 years ago
lain a716543267 Merge branch 'openapi/subscriptions' into 'develop'
4 years ago
lain 61ea8f1f5a Merge branch 'openapi/markers' into 'develop'
4 years ago
lain df846eda71 Merge branch 'bugfix/sensitive_object' into 'develop'
4 years ago
lain c3f1ce80eb Merge branch 'fix/1726-user-pagination' into 'develop'
4 years ago
lain 0a88bf6a9d Merge branch 'openapi/follow_requests' into 'develop'
4 years ago
lain 957172a307 Merge branch 'openapi/filters' into 'develop'
4 years ago
lain f84c8f2f0d Merge branch 'feature/1728-webfinger-acct-scheme' into 'develop'
4 years ago
lain 1ee34d4acb Merge branch 'openapi/instance' into 'develop'
4 years ago
lain 7fdc7078ae Merge branch 'openapi/lists' into 'develop'
4 years ago
lain 76c1a7a34b Merge branch 'openapi/conversations' into 'develop'
4 years ago
Maksim Pechnikov fb38b7339c Merge branch 'develop' into issue/1276-2
4 years ago
Egor Kislitsyn 332e016bcd
Add OpenAPI spec for ScheduledActivityController
4 years ago
Egor Kislitsyn 6ba25d1197
Add Attachment schema
4 years ago
Egor Kislitsyn 0a1394cc1a
Add OpenAPI spec for PollController
4 years ago
lain 92caae5923 Undoing: Move undoing blocks to the pipeline everywhere.
4 years ago
lain a3bb2e5474 Undoing: Move undoing announcements to the pipeline everywhere.
4 years ago
lain b34debe615 Undoing: Move undoing reactions to the pipeline everywhere.
4 years ago
Egor Kislitsyn 3a45952a3a
Add OpenAPI spec for ConversationController
4 years ago
Egor Kislitsyn 32ca9f2c59
Render mastodon-like errors in FilterController
4 years ago
Egor Kislitsyn 46aae346f8
Move single used schemas to Filter operation schema
4 years ago
Egor Kislitsyn 7e7a3e1544
Add OpenAPI spec for FilterController
4 years ago
lain 42a2acac46 Merge branch 'feature/1720-status-view' into 'develop'
4 years ago
Egor Kislitsyn ec1e4b4f1a
Add OpenAPI spec for FollowRequestController
4 years ago
minibikini 42a4a863f1
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
4 years ago
minibikini 3817f179d7
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
4 years ago
minibikini b5189d2c50
Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex
4 years ago
Egor Kislitsyn 88a14da817
Add OpenAPI spec for InstanceController
4 years ago
Alexander Strizhakov e7d8ab8303
admin_api fetch status by id
4 years ago
lain a3071f0231 Undoing: Move undoing likes to the pipeline everywhere.
4 years ago
Egor Kislitsyn f2bf4390f4
Fix descriptions for List API spec
4 years ago
Egor Kislitsyn 5ec6aad567
Add OpenAPI spec for ListController
4 years ago
Egor Kislitsyn babcae7130
Move single used schemas to Marker operation schema
4 years ago
Egor Kislitsyn 8096565653
Add OpenAPI spec for MarkerController
4 years ago
Egor Kislitsyn d861b0790a
Add OpenAPI spec for SubscriptionController
4 years ago
lain f1da8882f9 UndoValidator: Add UndoValidator.
4 years ago
rinpatch 33f2976020 Merge branch 'feature/1737-magic-key-field' into 'develop'
4 years ago
rinpatch 5482a1f6ef Merge branch 'openapi/validation-plug' into 'develop'
4 years ago
lain d201527004 Apply suggestion to lib/pleroma/web/web_finger/web_finger.ex
4 years ago
lain db55dc9445 ActivityPub: Remove `react_with_emoji`.
4 years ago
lain ad771546d8 Transmogrifier: Move emoji reactions to common pipeline.
4 years ago
lain f21f538293 LikeValidator: Add defaults for recipients back in.
4 years ago
lain c297667f16 Merge branch 'fix/issue-1729' into 'develop'
4 years ago
lain 2cb3f8a8cf Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete-validator
4 years ago
lain 6400998820 AP C2S: Restrict creation to `Note`s for now.
4 years ago
lain f897da2115 WebFinger: Add back in subscribe_address.
4 years ago
lain 8bed6ea922 User, Webfinger: Remove OStatus vestiges
4 years ago
Haelwenn (lanodan) Monnier bf0e41f0da
Transmogrifier.set_sensitive/1: Keep sensitive set to true
4 years ago
Egor Kislitsyn e55fd530bc
Render better errors for ENUM validation
4 years ago
Egor Kislitsyn f070b5569c
Add a config option to enable strict validation
4 years ago
Egor Kislitsyn 4b9ab67aa8
Ignore unexpected ENUM values in query string
4 years ago
minibikini bfbff7d826 Apply suggestion to lib/pleroma/web/api_spec/cast_and_validate.ex
4 years ago
Egor Kislitsyn d08c63500b
Ignore unexpected query params
4 years ago
lain 3559dd1085 Transmogrifier: Rely on LikeValidator.
4 years ago
lain 0f9bed022f LikeValidator: Fix up context.
4 years ago
lain e03c301ebe LikeValidator: Fix up missing recipients.
4 years ago
lain 13ab8defc0 Pipeline: Move transctioning to common pipeline.
4 years ago
lain ec24c70db8 ActivityPub: Don't fetch `Application` follower counts.
4 years ago
Maksim Pechnikov fe7a0d660e Merge branch 'develop' into issue/1276-2
4 years ago
lain a7966f2080 Webfinger: Request account info with the acct scheme
4 years ago
lain 1974d0cc42 DeleteValidator: The deleted activity id is an object id
4 years ago
lain 6fb96f64c1 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete-validator
4 years ago
lain 4dfc617cdf Transmogrifier: Don't fetch actor that's guaranteed to be there.
4 years ago
Lain Soykaf f20a1a27ef DeleteValidator: Improve code readability
4 years ago
Mark Felder 370e313e2d Only update follower/following stats for actor types of users and bots.
4 years ago
rinpatch 3126f8a334 Merge branch 'feature/1710-consolidate-instance-info' into 'develop'
4 years ago
eugenijm 66a8e1312d Mastodon API: do not create a following relationship if the corresponding follow request doesn't exist when calling `POST /api/v1/follow_requests/:id/authorize`
4 years ago
rinpatch e55876409b Deactivate local users on deletion instead of deleting the record
4 years ago
Ivan Tashkinov 2d07ed7747 [#1732] Made AP C2S :followers and :following endpoints serve on no auth
4 years ago
Haelwenn 0dfb5ad0ad Merge branch 'bugfix/static-fe.css' into 'develop'
4 years ago
Haelwenn (lanodan) Monnier c6ddfa8f95
static-fe.css: Restore and move to /priv/static/static-fe
4 years ago
rinpatch c18ef452b0 OpenAPI: Add `follow_request` to notification types
4 years ago
rinpatch 85105f7aae OpenAPI: Remove max pagination limit from the spec
4 years ago
Ivan Tashkinov d5cdc907e3 Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
4 years ago
lain 3370bb0e46 Merge branch 'openapi/notifications' into 'develop'
4 years ago
lain 607e06c245 Merge branch 'openapi/reports' into 'develop'
4 years ago
lain 44fbd09709 Merge branch 'issue/1577' into 'develop'
4 years ago
lain 1ead5f49b8 AdminApiController: Use common pipeline for user deletion.
4 years ago
lain ebbd9c7f36 AdminAPIController: Refactor.
4 years ago
lain 2008fa9c7f Merge branch 'fix/captcha' into 'develop'
4 years ago
lain ab01863abf Merge branch 'feature/delete-validator' of git.pleroma.social:pleroma/pleroma into feature/delete-validator
4 years ago
lain 5f42e6629d DeleteValidator: Only allow deletion of certain types.
4 years ago
Alexander Strizhakov ecf37b46d2
pagination fix for service users filters
4 years ago
Maksim Pechnikov a92c713d9c Merge branch 'develop' into issue/1276-2
4 years ago
Lain Soykaf 93f64aba78 Merge branch 'develop' of ssh://git.pleroma.social/pleroma/pleroma into feature/delete-validator
4 years ago
lain 32b8386ede DeleteValidator: Don't federate local deletions of remote objects.
4 years ago
lain a81342a234 Merge branch 'dismiss-notification-on-follow-request-rejection' into 'develop'
4 years ago
lain 999d639873 ActivityPub: Remove `delete` function.
4 years ago
lain 5da08c2b73 SideEffects: Fix comment
4 years ago
lain 500f5ec14e SideEffects: On deletion, reduce the reply count cache
4 years ago
lain 60db58a1c6 Credo fixes.
4 years ago
lain ab60ee1776 SideEffects: On deletion, reduce the User note count.
4 years ago
lain c832d96fc9 SideEffects: Stream out deletes.
4 years ago
lain 4500fdc04c DeleteValidator: Add internal helper field after validation.
4 years ago
eugenijm bef34568f0 Dismiss the follow request notification on rejection
4 years ago
Ivan Tashkinov 2c4844237f Refactoring of :if_func / :unless_func plug options (general availability). Added tests for Pleroma.Web.Plug.
4 years ago
Alexander Strizhakov 4a487e4d0b
fix for auth check
4 years ago
lain 14c6672193 AP C2S: Use common pipelin for deletes.
4 years ago
lain fdd8e7f276 CommonAPI: Use common pipeline for deletions.
4 years ago
lain 417eed4a2b SideEffects: Handle deletions.
4 years ago
lain 1fb383f368 DeleteValidator: Deleting a user is valid.
4 years ago
lain 4dc5302f45 Transmogrifier: Handle incoming deletes for non-user objects.
4 years ago
Alexander Strizhakov 36abeedf9f
error rename
4 years ago
Alexander Strizhakov ddb757f743
emoji api packs changes in routes with docs update
4 years ago
Alexander Strizhakov 342f55fb92
refactor emoji api with fixes
4 years ago
lain db184a8eb4 DeleteValidator: Mastodon sends unaddressed deletes.
4 years ago
Alexander Strizhakov 5839e67eb8
return data only for updated emoji
4 years ago
lain 42ce7c5164 ObjectValidator: Add actor fetcher.
4 years ago
lain 64bb72f98a Typo fix.
4 years ago
Egor Kislitsyn 9c1adb35de
Merge branch 'develop' into openapi/notifications
4 years ago
Egor Kislitsyn 1898054da4
Merge branch 'develop' into openapi/reports
4 years ago
rinpatch 8cf3a32463 Add exlude_replies to OpenAPI spec for account timelines
4 years ago
Egor Kislitsyn 7b0c8f0fde
Add tests for account registration with captcha enabled and improve errors
4 years ago
Egor Kislitsyn 2f77842bd3
Fix account registration when captcha is enabled but not provided
4 years ago
lain 503de4b8df ObjectValidator: Add validation for `Delete`s.
4 years ago
lain 78c864cbee LikeValidator: Use Recipients Type.
4 years ago
lain b8056e69e0 Object Validator Types: Add Recipients.
4 years ago
Egor Kislitsyn 5238ae3dd3
Add OpenAPI spec for NotificationController
4 years ago
Ivan Tashkinov 4c0e53367a [#2349] Post-merge fix.
4 years ago
Ivan Tashkinov 908cf22a6c Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks
4 years ago
Egor Kislitsyn 560f2c1979
Add OpenAPI spec for ReportController
4 years ago
rinpatch 12bb7fc0dc Merge branch 'openapi/account' into 'develop'
4 years ago
lain 9994768312 Merge branch 'mongoose-secure' into 'develop'
4 years ago
Maksim Pechnikov ea5142b94b convert markdown content to html
4 years ago
fence 5ff20793e7 formating
4 years ago
Egor Kislitsyn dda65f7799
Move single used schemas to operation schema
4 years ago
fence cc1e2e8d0f requested changes to mongoose_im_controller.ex
4 years ago
Egor Kislitsyn 2efc00b3cf
Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schema
4 years ago
fence 5c7cc10917 add tests for deactivated users for mongoose auth
4 years ago
fence a626cb682c secure mongoose auth endpoint
4 years ago
lain 3635a9c9c2 InstanceController: Add extensions to `/api/v1/instance`
4 years ago
Egor Kislitsyn f1ca917bb0
Merge branch 'develop' into openapi/account
4 years ago
Ivan Tashkinov e16437ff19 [#1706] Formatting fix.
4 years ago
Ivan Tashkinov 0d05e1fe39 [#1706] Prevented error on unresolved activity actors for timeline actions.
4 years ago
Ivan Tashkinov b4139cc547 [#2409] Made `GET /api/v1/accounts/:id/favourites` auth-optional, adjusted tests.
4 years ago
rinpatch 8addbd948c Merge branch 'bugfix/announce-race-condition' into 'develop'
4 years ago
lain c30b3b2dc5 Merge branch 'reply-filtering-refactor' into 'develop'
4 years ago
lain d89cd0a197 Reply Filtering: Refactor.
4 years ago
lain d862c7156a Merge branch 'openapi-improvements' into 'develop'
4 years ago
Ivan Tashkinov 00e62161f6 [#2409] Tested all auth setup configs in AuthTestControllerTest. Adjusted :skip_plug definitions for some endpoints.
4 years ago
Alexander 6e625a427c
reply filtering
4 years ago
lain cb12585098 Announcements: Prevent race condition.
4 years ago
lain 1df6af2a4c Credo fixes.
4 years ago
lain bbf8554c97 ActivitPub: Remove `like` function.
4 years ago
Egor Kislitsyn f362836742
Support validation for inline OpenAPI schema and automatic tests for examples
4 years ago
Ivan Tashkinov 89f38d94c7 [#2409] Fixed before-action callback results persistence.
4 years ago
rinpatch 1b5f8d19ee Merge branch 'bugfix/repeating-announce' into 'develop'
4 years ago
lain 7d38197894 CommonAPI: Don't make repeating announces possible
4 years ago
rinpatch 25eec6d72d Merge branch 'bugfix/null-scheduled-at' into 'develop'
4 years ago
lain 850377a7b8 Merge branch 'bugfix/1629-fav-race-condition' into 'develop'
4 years ago
lain 1bcbdc7a9f SideEffects: Use less cryptic syntax.
4 years ago
lain e62173dfc8 SideEffects: Run in transaction.
4 years ago
Egor Kislitsyn 1b06a27746
Update Flake ID description
4 years ago
Egor Kislitsyn 6c26feed01
Merge branch 'develop' into openapi/account
4 years ago
Ivan Tashkinov 0062116e07 Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks
4 years ago
Ivan Tashkinov 2958a7d246 Fixed OAuth restrictions for :api routes. Made auth info dropped for :api routes if OAuth check was neither performed nor explicitly skipped.
4 years ago
Haelwenn 28f8fcf8b0 Merge branch 'fix/follow-and-blocks-import' into 'develop'
4 years ago
Haelwenn 468cc977be Merge branch 'bugfix/following-fix-status-code' into 'develop'
4 years ago
Haelwenn 238058ecae Merge branch 'bugfix/1543-streaming-boosts' into 'develop'
4 years ago
Egor Kislitsyn e7771424a8 Fix blocks import
4 years ago