lain
1748e26948
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
2020-05-06 17:36:08 +02:00
lain
fc9d0b6eec
Credo fixes.
2020-05-06 16:31:21 +02:00
lain
20baa2eaf0
ChatMessages: Add attachments.
2020-05-06 16:12:36 +02:00
lain
f21f538293
LikeValidator: Add defaults for recipients back in.
2020-05-05 10:38:59 +02:00
lain
2cb3f8a8cf
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete-validator
2020-05-05 10:19:01 +02:00
lain
c23cb8d37a
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
2020-05-04 19:24:04 +02:00
lain
0f9bed022f
LikeValidator: Fix up context.
2020-05-04 17:18:17 +02:00
lain
e03c301ebe
LikeValidator: Fix up missing recipients.
2020-05-04 17:08:31 +02:00
lain
9249742f13
Types.Recipients: Simplify reducer.
2020-05-03 15:28:24 +02:00
lain
1974d0cc42
DeleteValidator: The deleted activity id is an object id
2020-05-03 13:02:57 +02:00
Lain Soykaf
f20a1a27ef
DeleteValidator: Improve code readability
2020-05-03 12:19:01 +02:00
lain
5f42e6629d
DeleteValidator: Only allow deletion of certain types.
2020-05-01 13:34:47 +02:00
lain
32b8386ede
DeleteValidator: Don't federate local deletions of remote objects.
...
Closes #1497
2020-04-30 21:23:18 +02:00
lain
4500fdc04c
DeleteValidator: Add internal helper field after validation.
2020-04-30 17:53:02 +02:00
lain
1fb383f368
DeleteValidator: Deleting a user is valid.
2020-04-30 15:42:30 +02:00
lain
db184a8eb4
DeleteValidator: Mastodon sends unaddressed deletes.
2020-04-30 14:37:14 +02:00
lain
503de4b8df
ObjectValidator: Add validation for Delete
s.
2020-04-29 19:09:51 +02:00
lain
78c864cbee
LikeValidator: Use Recipients Type.
2020-04-29 19:08:36 +02:00
lain
b8056e69e0
Object Validator Types: Add Recipients.
2020-04-29 19:08:08 +02:00
lain
20587aa931
Chat message creation: Check actor.
2020-04-29 14:53:53 +02:00
lain
a88734a0a2
Transmogrifier: Fetch missing actors for chatmessages.
2020-04-29 14:25:33 +02:00
lain
abd0928229
CreateChatMessageValidator: Validate object existence
2020-04-28 16:45:28 +02:00
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.
2020-04-28 16:26:19 +02:00
lain
906cf53ab9
Recipient Type: Cast all elements as ObjectIDs.
2020-04-28 13:38:02 +02:00
lain
1e28d34592
ChatMessage: Correctly ingest emoji tags.
2020-04-23 16:19:49 +02:00
lain
2e62a63749
ChatMessageValidator: Validation changes
...
Don't validate if the recipient is blocking the actor.
2020-04-22 12:48:52 +02:00
lain
7e53da250e
ChatMessage: Support emoji.
2020-04-20 14:08:54 +02:00
lain
b836d3d104
ChatMessageValidator: Require published
field
2020-04-20 13:14:59 +02:00
lain
970b74383b
Credo fixes.
2020-04-20 12:29:19 +02:00
lain
ce23673ca1
ChatMessageValidator: Don't validate messages that are too long.
2020-04-20 11:45:11 +02:00
lain
8c2c325598
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
2020-04-17 15:51:24 +02:00
lain
e2ced04917
ChatMessages: Better validation.
2020-04-16 15:21:47 +02:00
Haelwenn (lanodan) Monnier
b6bed1a284
Types.URI: New
2020-04-10 06:20:02 +02:00
lain
d35e114acd
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
2020-04-09 13:25:27 +02:00
Haelwenn (lanodan) Monnier
c401b00c78
ObjectValidators.Types.ObjectID: Fix when URI.parse returns %URL{host: ""}
2020-04-09 04:36:39 +02:00
lain
3775683a04
ChatMessage: Basic incoming handling.
2020-04-08 15:55:43 +02:00
lain
772bc258cd
ObjectID Validator: Refactor.
2020-04-06 13:53:24 +02:00
lain
037b49c415
Validators: Correct ObjectID filename
2020-04-01 16:10:17 +02:00
lain
643f15e77b
Validators: ObjectID is an http uri.
2020-03-31 16:11:38 +02:00
lain
0c60c0a76a
Validators: Use correct type for IDs.
2020-03-26 15:44:14 +01:00
lain
0adaab8e75
Bump copyright dates.
2020-03-26 15:37:42 +01:00
lain
eaacc64839
Refactors.
2020-03-26 15:33:10 +01:00
lain
74560e888e
Apply suggestion to lib/pleroma/web/activity_pub/object_validators/create_validator.ex
2020-03-24 18:20:58 +00:00
lain
9b9d67bbec
Fix linting.
2020-03-19 18:16:12 +01:00
lain
d4bafabfd1
Beginnings of the create validator
2019-12-09 10:39:14 +01:00
lain
1993d7096d
Validators: Add a type for the datetime used in AP.
2019-12-05 12:33:06 +01:00
lain
faced6236b
NoteValidator: Add very basic validator for Note objects.
2019-11-05 15:02:31 +01:00
lain
3d1b445cbf
Object Validators: Extract common validations.
2019-11-05 15:02:09 +01:00
lain
1adafa0966
Credo fixes.
2019-10-23 12:18:05 +02:00
lain
203d61b950
Transmogrifier: Make proper use of the LikeValidator.
2019-10-17 19:35:31 +02:00