lain
23e248694d
Announcements: Fix all tests.
4 years ago
lain
d9d425708e
SideEffects: Builed out Announce effects.
4 years ago
lain
39031f4860
Pipeline: Don't federate if federation is disabled.
4 years ago
lain
e42bc5f557
Announcements: Handle through common pipeline.
4 years ago
lain
d19c716770
AttachmentValidator: Handle empty mediatypes
4 years ago
lain
be4db41d71
ChatMessageValidator: Allow one message in an array, too.
4 years ago
lain
0d5bce018d
AnnounceValidator: Validate for existing announce
4 years ago
lain
17a8342c1e
ObjectValidators: Add basic Announce validator.
4 years ago
lain
7d381b16b7
Transmogrifier Test: Extract Announce handling.
4 years ago
lain
baf051a59e
SideEffects: Don't update unread count for actor in chatmessages.
4 years ago
Haelwenn (lanodan) Monnier
e688d4ee69
MRF.StealEmojiPolicy: New Policy
...
Inspired by https://git.pleroma.social/moonman/emoji-stealer-mrf/-/blob/master/steal_emoji_policy.ex
4 years ago
lain
0f0acc740d
Chat: Allow posting without content if an attachment is present.
4 years ago
lain
3cff4e24cd
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
rinpatch
24c8c13640
Merge branch '1757-blocks-breaking-on-disabled-outgoing-blocks' into 'develop'
...
ActivityPub: Fix non-federating blocks.
Closes #1757
See merge request pleroma/pleroma!2514
4 years ago
lain
b5aa204eb8
ChatController: Support deletion of chat messages.
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
lain
f28ed36b4d
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain
5367a00257
Deletion: Handle the case of pruned objects.
4 years ago
lain
03529f6a05
Transmogrifier: Don't modify attachments for chats.
4 years ago
lain
d0bf8cfb8f
Credo fixes.
4 years ago
lain
7637ef4203
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain
fbcc53760e
Merge branch 'feature/emojireactvalidator' into 'develop'
...
Move EmojiReacts to the Pipeline.
See merge request pleroma/pleroma!2473
4 years ago
lain
6acbe45eb2
Builder: Extract common features of likes and reactions.
4 years ago
Haelwenn
769d95644d
Merge branch 'feature/restrict-c2s' into 'develop'
...
AP C2S: Restrict creation to `Note`s for now.
See merge request pleroma/pleroma!2472
4 years ago
lain
ef55d24054
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator
4 years ago
lain
d11eea62b1
Credo fixes
4 years ago
lain
fb2d284d28
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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
href
9491ba3e49
Streamer rework
4 years ago
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'
...
Move deletions to the common pipeline
Closes #1497
See merge request pleroma/pleroma!2441
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'
...
Refactoring of :if_func / :unless_func plug options
See merge request pleroma/pleroma!2446
4 years ago
lain
df846eda71
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 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'
...
Only update follower/following stats for actor types of users and bots.
Closes #1565 and #1729
See merge request pleroma/pleroma!2464
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
...
(as for related :api pipeline endpoints).
4 years ago
lain
44fbd09709
Merge branch 'issue/1577' into 'develop'
...
[#1577 ] fix mediaType of object
See merge request pleroma/pleroma!2372
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.
...
Closes #1497
4 years ago
lain
999d639873
ActivityPub: Remove `delete` function.
...
This is handled by the common pipeline now.
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
...
Both objects and create activities will now go through the common
pipeline and will be validated. Objects are now created as a side
effect of the Create activity, rolling back a transaction if it's
not possible to insert the object.
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'
...
Announcements: Prevent race condition.
See merge request pleroma/pleroma!2423
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.
...
We don't need another way to build likes.
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'
...
SideEffects: Run in transaction.
Closes #1629
See merge request pleroma/pleroma!2417
4 years ago
lain
1bcbdc7a9f
SideEffects: Use less cryptic syntax.
4 years ago
lain
e62173dfc8
SideEffects: Run in transaction.
...
This fixes race conditions.
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
...
Don't validate if the recipient is blocking the actor.
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
...
The policy didn't block old posts as it should.
* I fixed it and tested on a test server
* I added the settings to description so that this information is shown in nodeinfo
* TODO: I didn't work TTD and still need to fix the tests
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'
...
migrations/20200406100225_users_add_emoji: Fix tag to Emoji filtering, electric bongaloo
Closes #1697
See merge request pleroma/pleroma!2403
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'
...
SideEffects: Test for notification creation.
See merge request pleroma/pleroma!2399
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'
...
Remove User.upgrade_changeset in favor of remote_user_creation
See merge request pleroma/pleroma!2368
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
5 years ago
Egor Kislitsyn
16f4787bf7
Add a TODO note
5 years ago
lain
44bfb491ea
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
5 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