Commit Graph

1613 Commits (6b1f6a1cf7efc8bbaf099c7363a5aeadd256c781)

Author SHA1 Message Date
lain 1748e26948 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
rinpatch 473b0d9f3d Merge branch 'feature/delete-validator' into 'develop'
4 years ago
lain fc9d0b6eec Credo fixes.
4 years ago
lain 20baa2eaf0 ChatMessages: Add attachments.
4 years ago
lain 205313e541 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 07e7c80bc9 Merge branch 'plug-if-unless-func-options-refactoring' into 'develop'
4 years ago
lain df846eda71 Merge branch 'bugfix/sensitive_object' into 'develop'
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
lain a3071f0231 Undoing: Move undoing likes to the pipeline everywhere.
4 years ago
lain f1da8882f9 UndoValidator: Add UndoValidator.
4 years ago
Egor Kislitsyn decaa64f75
Merge branch 'develop' into global-status-expiration
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
Haelwenn (lanodan) Monnier bf0e41f0da
Transmogrifier.set_sensitive/1: Keep sensitive set to true
4 years ago
lain c23cb8d37a Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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
lain c40afe5ba0 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 9249742f13 Types.Recipients: Simplify reducer.
4 years ago
lain a35b76431c Credo fixes.
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
Ivan Tashkinov 2d07ed7747 [#1732] Made AP C2S :followers and :following endpoints serve on no auth
4 years ago
lain 44fbd09709 Merge branch 'issue/1577' into 'develop'
4 years ago
lain 5f42e6629d DeleteValidator: Only allow deletion of certain types.
4 years ago
lain 32b8386ede DeleteValidator: Don't federate local deletions of remote objects.
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
Ivan Tashkinov 2c4844237f Refactoring of :if_func / :unless_func plug options (general availability). Added tests for Pleroma.Web.Plug.
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
lain db184a8eb4 DeleteValidator: Mastodon sends unaddressed deletes.
4 years ago
lain 42ce7c5164 ObjectValidator: Add actor fetcher.
4 years ago
lain 64bb72f98a Typo fix.
4 years ago
lain 589ce1e96b Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
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
lain 20587aa931 Chat message creation: Check actor.
4 years ago
lain a88734a0a2 Transmogrifier: Fetch missing actors for chatmessages.
4 years ago
lain 53e3063bd0 Transmogrifier: Remove ChatMessageHandling module.
4 years ago
lain e055b8d203 Pipeline: Always run common_pipeline in a transaction for now.
4 years ago
lain dedffd100c Pipeline: Unify, refactor, DRY.
4 years ago
lain abd0928229 CreateChatMessageValidator: Validate object existence
4 years ago
lain 6aa116eca7 Create activity handling: Flip it and reverse it
4 years ago
lain b5dc59c8fa Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain f8e56d4271 SideEffects: Use Object.normalize to get the object.
4 years ago
lain 906cf53ab9 Recipient Type: Cast all elements as ObjectIDs.
4 years ago
Egor Kislitsyn 764b4f95a8
Merge branch 'develop' into global-status-expiration
4 years ago
Maksim Pechnikov ea5142b94b convert markdown content to html
4 years ago
Egor Kislitsyn f1ca917bb0
Merge branch 'develop' into openapi/account
4 years ago
lain c86143ed73 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
rinpatch 8addbd948c Merge branch 'bugfix/announce-race-condition' into 'develop'
4 years ago
lain d89cd0a197 Reply Filtering: Refactor.
4 years ago
Egor Kislitsyn c56c0a3d23
Merge branch 'develop' into global-status-expiration
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
lain 1e28d34592 ChatMessage: Correctly ingest emoji tags.
4 years ago
lain ec7335535d Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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 6c26feed01
Merge branch 'develop' into openapi/account
4 years ago
lain 5102468d0f Polls: Persist and show voters' count
4 years ago
lain 2e62a63749 ChatMessageValidator: Validation changes
4 years ago
lain 5165287ff4 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
Egor Kislitsyn 364eecc49f
Merge branch 'develop' into global-status-expiration
4 years ago
Alex Gleason bedc558809
Merge remote-tracking branch 'upstream/develop' into accept-deletes
4 years ago
Alex Gleason b54c8813d6
Add :reject_deletes option to SimplePolicy
4 years ago
Egor Kislitsyn 736fead494 Merge branch 'develop' into openapi/account
4 years ago
Ilja 8b4de61d64 Fix ObjectAgePolicyTest
4 years ago
lain 7e53da250e ChatMessage: Support emoji.
4 years ago
lain b836d3d104 ChatMessageValidator: Require `published` field
4 years ago
lain 139b9d1338 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 970b74383b Credo fixes.
4 years ago
lain ce23673ca1 ChatMessageValidator: Don't validate messages that are too long.
4 years ago
Haelwenn 79445ae5d2 Merge branch 'bugfix/1697-user_emoji_miration' into 'develop'
4 years ago
Haelwenn 24f760c2f7 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex
4 years ago
Haelwenn (lanodan) Monnier eb61564005
migrations/20200406100225_users_add_emoji: Fix tag to Emoji filtering, electric bongaloo
4 years ago
lain c845820911 Notifications: Create a chat notification.
4 years ago
rinpatch e0d7847bc5 Merge branch 'sideeffects-test' into 'develop'
4 years ago
lain 8c2c325598 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 26d9c83316 SideEffects: Test for notification creation.
4 years ago
lain 372614cfd3 ChatView: Add a mastodon api representation of the recipient.
4 years ago
Haelwenn (lanodan) Monnier 46f051048f
migrations/20200406100225_users_add_emoji: Fix tag to Emoji filtering
4 years ago
rinpatch 942d7467ca Merge branch 'develop' into features/remove-user-source_data
4 years ago
lain e983f70884 ChatMessagesHandling: Strip HTML of incoming messages.
4 years ago
rinpatch 252528a4b9 Merge branch 'refactor/remove-upgrade-changeset' into 'develop'
4 years ago
lain e2ced04917 ChatMessages: Better validation.
4 years ago
lain 6ace22b56a Chat: Add views, don't return them in timeline queries.
4 years ago
Egor Kislitsyn 65f04b7806
Fix credo warning
4 years ago
Egor Kislitsyn 16f4787bf7
Add a TODO note
4 years ago
lain 44bfb491ea Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
Egor Kislitsyn 03124c96cc
Add spec for AccountController.statuses
5 years ago
Egor Kislitsyn dc8fa04192
Merge branch 'develop' into global-status-expiration
5 years ago
Maksim Pechnikov c5c09fc61b fix mediaType of object
5 years ago
Alex Gleason 9a3c74b244
Always accept deletions through SimplePolicy
5 years ago
rinpatch 5e365448f3 Merge branch 'following-relationships-optimizations' into 'develop'
5 years ago
rinpatch c077ad0b33 Remove User.upgrade_changeset in favor of remote_user_creation
5 years ago
Egor Kislitsyn dd612f86ae
Merge remote-tracking branch 'origin/develop' into global-status-expiration
5 years ago
Egor Kislitsyn 7f692343c8
Merge branch 'develop' into global-status-expiration
5 years ago
Egor Kislitsyn cf2a0574e7
Merge branch 'develop' into fix/support-conversations-pagination
5 years ago
Haelwenn 4d33e0bd50 Merge branch 'bugfix/apc2s_upload_activity' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier e89078ac2a
User: remove source_data
5 years ago
Haelwenn (lanodan) Monnier 3420dec494
Remove User.fields/1
5 years ago
Haelwenn (lanodan) Monnier 9172d719cc
profile emojis in User.emoji instead of source_data
5 years ago
Haelwenn (lanodan) Monnier 62656ab259
User: Move inbox & shared_inbox to own fields
5 years ago
Haelwenn (lanodan) Monnier b6bed1a284
Types.URI: New
5 years ago
Haelwenn (lanodan) Monnier 19eedb3d04
User: Move public_key from source_data to own field
5 years ago
lain d35e114acd Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
5 years ago
lain 2e78686686 SideEffects: Handle ChatMessage creation.
5 years ago
Haelwenn (lanodan) Monnier c401b00c78
ObjectValidators.Types.ObjectID: Fix when URI.parse returns %URL{host: ""}
5 years ago
lain 3775683a04 ChatMessage: Basic incoming handling.
5 years ago
lain 349b9d86dc Merge branch 'remake-remodel-2' into 'develop'
5 years ago
lain 772bc258cd ObjectID Validator: Refactor.
5 years ago
lain e67cde0ed6 Transmogrifier: Refactoring / Renaming.
5 years ago
feld ef7d2b0f11 Merge branch 'gun' into 'develop'
5 years ago
lain 037b49c415 Validators: Correct ObjectID filename
5 years ago
Haelwenn (lanodan) Monnier 185520d1b4
Provide known-good user.uri, remove User.profile_url/1
5 years ago
lain c982093cc2 Transmogrifier: Fix BAD code by RINPATCH
5 years ago
lain 1b323ce1c6 Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
5 years ago
lain ecac57732a Transmogrifier: Only add context if it really is onne.
5 years ago
lain 288f2b5a7c Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
5 years ago
lain 0be1fa0a86 Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
5 years ago
lain 643f15e77b Validators: ObjectID is an http uri.
5 years ago
lain f6835333be Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
5 years ago
Ivan Tashkinov 9c94b6a327 [#2332] Misc. fixes per code change requests.
5 years ago
Alexander Strizhakov b607ae1a1c
removing grouped reports admin api endpoint
5 years ago
Alexander Strizhakov f497cf2f7c
Merge branch 'develop' into gun
5 years ago
Haelwenn e999c67cee Merge branch 'feature/funkwhale-audio' into 'develop'
5 years ago
Ivan Tashkinov be9d18461a FollowingRelationship storage & performance optimizations (state turned `ecto_enum`-driven integer, reorganized indices etc.).
5 years ago
lain 29ab1d9f8d Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
5 years ago
lain 69fc1dd69f Apply suggestion to lib/pleroma/web/activity_pub/pipeline.ex
5 years ago
lain 0c60c0a76a Validators: Use correct type for IDs.
5 years ago
lain 0adaab8e75 Bump copyright dates.
5 years ago
lain eaacc64839 Refactors.
5 years ago
lain ee979dd6d7 Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
5 years ago
lain d7aa0b645b Apply suggestion to lib/pleroma/web/activity_pub/object_validator.ex
5 years ago
lain 4cf1007a7d ActivityPub: Small refactor.
5 years ago
Ivan Tashkinov 012d428e1f Merge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending-control
5 years ago
Ivan Tashkinov e743c22329 Fixed incorrect usage of "relations" as a short form of "relationships".
5 years ago
rinpatch f316882464 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex
5 years ago
lain aaf00f1ff5 Apply suggestion to lib/pleroma/web/activity_pub/pipeline.ex
5 years ago
lain 74560e888e Apply suggestion to lib/pleroma/web/activity_pub/object_validators/create_validator.ex
5 years ago
Egor Kislitsyn 4a2538967c
Support pagination in conversations
5 years ago
Egor Kislitsyn d1a9716a98
Fix activity deletion
5 years ago
rinpatch 981e015f1b Mastodon API Account view: Remove an outdated hack
5 years ago
Egor Kislitsyn 80e1571610
Merge branch 'develop' into global-status-expiration
5 years ago
Alexander Strizhakov 9bae9b1b1b
Merge branch 'develop' into gun
5 years ago
Alexander Strizhakov fe15f0ba15
restrict_unauthenticated setting
5 years ago
Haelwenn (lanodan) Monnier c1fd4f6653
transmogrifier.ex: rework fix_attachment for better IR
5 years ago
lain 9b9d67bbec Fix linting.
5 years ago
lain 3c2c32b460 Merge branch 'remake-remodel' into develop
5 years ago
Haelwenn (lanodan) Monnier f9d622d25a
WIP
5 years ago
Ivan Tashkinov 0e07c5ef57 Merge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending-control
5 years ago
Egor Kislitsyn 421e35b578
Merge branch 'develop' into global-status-expiration
5 years ago
Alexander Strizhakov f0651730bd
Merge branch 'develop' into gun
5 years ago
Haelwenn (lanodan) Monnier 8176ca9e40 static_fe: Sanitize HTML in users
5 years ago
lain fa4ec17c84 Merge branch '1560-non-federating-instances-routes-restrictions' into 'develop'
5 years ago
Ivan Tashkinov 7c8003c3fc [#1364] Improved control over generation / sending of notifications. Fixed blocking / muting users notifications issue. Added tests.
5 years ago
rinpatch e87a32bcd7 rip out fetch_initial_posts
5 years ago
Alexander Strizhakov 39ed608b13
Merge branch 'develop' into gun
5 years ago
Egor Kislitsyn d1c7f8e576
Merge remote-tracking branch 'origin/develop' into global-status-expiration
5 years ago
Ivan Tashkinov bd40880fa0 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
feld f92c447bbc Merge branch 'relay-list-change' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier 863ec33ba2
Add support for funkwhale Audio activity
5 years ago
Ivan Tashkinov 5fc92deef3 [#1560] Ensured authentication or enabled federation for federation-related routes. New tests + tests refactoring.
5 years ago
Alexander Strizhakov b2eb1124d1
Merge branch 'develop' into gun
5 years ago
Ivan Tashkinov 027714b519 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
Ivan Tashkinov 40765875d4 [#1560] Misc. improvements in ActivityPubController federation state restrictions.
5 years ago
lain 6f7a8c43a2 Merge branch 'fix/no-email-no-fail' into 'develop'
5 years ago
Alexander Strizhakov 22d52f5691
same copyright date format
5 years ago
Mark Felder 4427161ca3 Merge branch 'develop' into gun
5 years ago
Mark Felder 05da5f5cca Update Copyrights
5 years ago
Ivan Tashkinov b6fc98d9cd [#1560] ActivityPubController federation state restrictions adjustments. Adjusted tests.
5 years ago
Alexander Strizhakov 509c81e4b1
Merge branch 'develop' into gun
5 years ago
Egor Kislitsyn 0f386110c6
Merge remote-tracking branch 'origin/develop' into global-status-expiration
5 years ago
Ivan Tashkinov 99a6c660a9 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago