Commit Graph

867 Commits (5af1bf443dfd21a6b0be9efc1f55a73e590f6ba3)

Author SHA1 Message Date
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 500f5ec14e SideEffects: On deletion, reduce the reply count cache
4 years ago
Haelwenn (lanodan) Monnier f1523f9acd
Increase tests on AP C2S
4 years ago
lain ab60ee1776 SideEffects: On deletion, reduce the User note count.
4 years ago
lain 3d0dc58e2e SideEffectsTest: Test streaming.
4 years ago
lain 315b773dd9 ObjectValidator: Refactor.
4 years ago
lain 4500fdc04c DeleteValidator: Add internal helper field after validation.
4 years ago
lain c9bfa51ea9 Credo fixes.
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 bd219ba7e8 Transmogrifier Tests: Extract deletion tests.
4 years ago
lain 503de4b8df ObjectValidator: Add validation for `Delete`s.
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 e055b8d203 Pipeline: Always run common_pipeline in a transaction for now.
4 years ago
lain 0c491b904d Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
Maksim Pechnikov 7bd187bc5e added test
4 years ago
Ivan Tashkinov 908cf22a6c Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks
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 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
lain c86143ed73 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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 bbf8554c97 ActivitPub: Remove `like` function.
4 years ago
lain 1e28d34592 ChatMessage: Correctly ingest emoji tags.
4 years ago
lain 2e62a63749 ChatMessageValidator: Validation changes
4 years ago
Ivan Tashkinov f685cbd309 Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring.
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
Ilja 8b4de61d64 Fix ObjectAgePolicyTest
4 years ago
lain 7e53da250e ChatMessage: Support emoji.
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
lain c845820911 Notifications: Create a chat notification.
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
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 44bfb491ea Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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 7f692343c8
Merge branch 'develop' into global-status-expiration
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
lain 4b04785071 SideEffects: Extend ChatMessage test.
5 years ago
lain 2e78686686 SideEffects: Handle ChatMessage creation.
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 aebec1bac9 Validator Test: Small refactor.
5 years ago
lain 643f15e77b Validators: ObjectID is an http uri.
5 years ago
Alexander Strizhakov f497cf2f7c
Merge branch 'develop' into gun
5 years ago
Ivan Tashkinov be9d18461a FollowingRelationship storage & performance optimizations (state turned `ecto_enum`-driven integer, reorganized indices etc.).
5 years ago
lain 0adaab8e75 Bump copyright dates.
5 years ago
Egor Kislitsyn d1a9716a98
Fix activity deletion
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
Ivan Tashkinov 1c05f539aa Improved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).
5 years ago
lain 1aa8aa7d7f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
5 years ago
Haelwenn (lanodan) Monnier a8aa917530
Merge remote-tracking branch 'pleroma/develop' into bugfix/apc2s_upload_activity
5 years ago
Haelwenn (lanodan) Monnier c1fd4f6653
transmogrifier.ex: rework fix_attachment for better IR
5 years ago
lain 3c2c32b460 Merge branch 'remake-remodel' into develop
5 years ago
Haelwenn (lanodan) Monnier f9d622d25a
WIP
5 years ago
Ivan Tashkinov ec3719f539 Improved in-test config management functions.
5 years ago
Alexander Strizhakov f9ecb513fa
Merge branch 'develop' into gun
5 years ago
Haelwenn (lanodan) Monnier d3cf7e19fb
activity_pub_controller_test.exs: test posting with AP C2S uploaded media
5 years ago
Alexander Strizhakov f3791add99
removing with_move parameter
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
lain fa4ec17c84 Merge branch '1560-non-federating-instances-routes-restrictions' into 'develop'
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
Ivan Tashkinov 5fc92deef3 [#1560] Ensured authentication or enabled federation for federation-related routes. New tests + tests refactoring.
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
Alexander Strizhakov f0753eed0f
removing try block in tesla request
5 years ago
Alexander Strizhakov 22d52f5691
same copyright date format
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
Egor Kislitsyn 0f386110c6
Merge remote-tracking branch 'origin/develop' into global-status-expiration
5 years ago
Ivan Tashkinov b4367125e9 [#1560] Added tests for non-federating instance bahaviour to ActivityPubControllerTest.
5 years ago
Ivan Tashkinov 99a6c660a9 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
Haelwenn 764a50f8a6 Merge branch 'feature/1482-activity_pub_transactions' into 'develop'
5 years ago
Alexander Strizhakov cc98d010ed
relay list shows hosts without accepted follow
5 years ago
Haelwenn (lanodan) Monnier 6da6540036
Bump copyright years of files changed after 2020-01-07
5 years ago
Alexander Strizhakov 32d1e04817
ActivityPub actions & side-effects in transaction
5 years ago
Ivan Tashkinov 0cf1d4fcd0 [#1560] Restricted AP- & OStatus-related routes for non-federating instances.
5 years ago
Egor Kislitsyn 819cd46717
Auto-expire Create activities only
5 years ago
Ivan Tashkinov 0c65a8c3d0 Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
5 years ago
Ivan Tashkinov 269d592181 [#1505] Restricted max thread distance for fetching replies on incoming federation (in addition to reply-to depth restriction).
5 years ago
Egor Kislitsyn e2d358f1fb
Fix typo
5 years ago
Ivan Tashkinov 4f8c3462a8 Tweaks to `clear_config` calls in tests in order to prevent side effects on config during test suite execution.
5 years ago
Egor Kislitsyn 241a3d744a
Add ActivityExpirationPolicy
5 years ago
Ivan Tashkinov b95dd5e217 [#1505] Improved replies-handling tests: updated Mastodon message fixture, used exact Pleroma federation message.
5 years ago
Ivan Tashkinov 24e49d14f2 [#1505] Removed wrapping of reply URIs into `first` element, added comments to transmogrifier tests.
5 years ago
Ivan Tashkinov 7c3991f59e [#1505] Fixed `replies` serialization (included objects' ids instead of activities' ids).
5 years ago
Ivan Tashkinov 4e6bbdc7b5 Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
5 years ago
Ivan Tashkinov d458f4fdca [#1505] Added tests, changelog entry, tweaked config settings related to replies output on outgoing federation.
5 years ago
Haelwenn 1262357ddb Merge branch 'cancel-follow-request' into 'develop'
5 years ago
Lain Soykaf 8a79f20c21 EmojiReactions: Rename to EmojiReacts
5 years ago
Egor Kislitsyn 8c71f7e11a Add support for cancellation of a follow request
5 years ago
Ivan Tashkinov e84fee5b86 Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
5 years ago
lain a0d9d42eaa Emoji Reactions: Actually use the validation.
5 years ago
Ivan Tashkinov 86e4d23acb [#1505] Background fetching of incoming activities' `replies` collections.
5 years ago
lain 34fc0ca053 Emoji reactions: Add sanity checks for the cache
5 years ago
Ivan Tashkinov cf96c40057 [#1505] Added Mastodon-compatible `replies` collection to Note federated representation.
5 years ago
lain dd3fc50ea4 Emoji reactions: Change cache and reply format
5 years ago
Haelwenn (lanodan) Monnier 5c533e10e7
Bump credo to 1.1.5
5 years ago
Mark Felder 2f5b8fbeb3 Merge branch 'develop' into issue/1354
5 years ago
Maksim Pechnikov 5b84156013 moved remote follow in separate controller
5 years ago
Egor Kislitsyn 432b3067d4
Do not crash when remote user follower and following counters are hidden
5 years ago
Egor Kislitsyn 8f79f433bc
Hide follower counter when hiding is activated
5 years ago
rinpatch 814a99c80f tests: remove a useless 3 second sleep
5 years ago
Mark Felder 9ef912aecf Merge branch 'develop' into issue/1411
5 years ago
Sadposter 8cfaab8f04 Merge branch 'develop' into 'domain-block-precedence'
5 years ago
Sadposter 5abee19b63 make analysis happy
5 years ago
Sadposter 19d228cc58 modify SQL to include followed-but-domain-blocked activities
5 years ago
rinpatch 8404f8c8fb Merge branch 'improve-move-notificaions-api' into 'develop'
5 years ago
rinpatch cdff5b8267 Merge branch 'develop' into fix/mrf-delete
5 years ago
rinpatch 9f99640cfc ActivityPub: Fix deletes being exempt from MRF
5 years ago
lain 67d8df04a4 Merge branch '1335-user-api-id-fields-relations' into 'develop'
5 years ago
feld d0bd4348b3 Merge branch 'feature/admin-api-render-whole-status' into 'develop'
5 years ago
lain 1993d7096d Validators: Add a type for the datetime used in AP.
5 years ago
Maksim Pechnikov e21afdb7c7 Merge branch 'develop' into issue/1411
5 years ago
Ivan Tashkinov 30caf3e51e Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
5 years ago
lain e9993acdbb Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel
5 years ago
Egor Kislitsyn 624e720aa4 Add `with_move` query param to the notifications API
5 years ago
lain 7722e5a67a Merge branch 'feature/move-activity' into 'develop'
5 years ago
Maksim Pechnikov 88f7cf51d4 Merge branch 'develop' into issue/1411
5 years ago
kPherox 1915b23e72
test missing first field
5 years ago
Ivan Tashkinov 52cc7de82c Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
5 years ago
Egor Kislitsyn c4b468a95b
Cleanup tests output
5 years ago
Ivan Tashkinov c8d3c3bfec Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
5 years ago
Maxim Filippov b62be2564c Merge branch 'develop' into feature/admin-api-render-whole-status
5 years ago
Maxim Filippov b3b4e5ca80 AdminAPI: Grouped reports old/new fix
5 years ago
rinpatch 02f7383891 ActivityPub controller: do not render remote users
5 years ago
Ivan Tashkinov ba5cc30165 [#1335] Implemented notification mutes and reblog mutes as UserRelationships. User to UserRelationship relations and functions refactoring.
5 years ago
Maksim Pechnikov 708fd234bd fix order favorites activites
5 years ago
Maksim Pechnikov 7d727dbfec added test
5 years ago
Ivan Tashkinov 01d9c093c3 Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
5 years ago
Ivan Tashkinov c31ddce51e [#1335] Reorganized `users.mutes` as relation to UserMute entity.
5 years ago
Ariadne Conill 7c59bc9ef9 fix credo
5 years ago
Ariadne Conill 5705cf0e3e MRF: add ObjectAgePolicy which deals with old posts being imported
5 years ago
feld 1afeaf82fa Merge branch 'feature/reports-groups-and-multiple-state-update' into 'develop'
5 years ago
Egor Kislitsyn 3c0abfca53
Merge remote-tracking branch 'upstream/develop' into feature/move-activity
5 years ago
Egor Kislitsyn 27cd1374e3
Add a notification for Move activities
5 years ago
Egor Kislitsyn e6d7e27bd6
Add `allow_following_move` setting to User
5 years ago
Maxim Filippov 46787b9fe1 Merge branch 'develop' into feature/reports-groups-and-multiple-state-update
5 years ago
Ivan Tashkinov 3db988250b [#1335] User: refactored :blocks field into :blocked_users relation.
5 years ago
lain a88e834dba Merge branch 'develop' into 'reactions'
5 years ago
Maksim Pechnikov 9d0b989521 add subject to atom feed
5 years ago
lain b22ee9d966 Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Maxim Filippov 7258db023e Support old flag format
5 years ago
lain 1bd1f62af5 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel
5 years ago
lain faced6236b NoteValidator: Add very basic validator for Note objects.
5 years ago
lain 3d1b445cbf Object Validators: Extract common validations.
5 years ago
lain a304a2a845 Merge branch 'transmogrifier-test-errors' into 'develop'
5 years ago
lain 556da92902 Merge branch 'feature/store-statuses-data-inside-flag' into 'develop'
5 years ago
Mark Felder fcea6a9d2c Merge branch 'develop' into feature/fast_sanitize
5 years ago
Egor Kislitsyn 61fc739ab8
Handle "Move" activity
5 years ago
kPherox c2f2d7bcf6 Add test follow activity for locked account
5 years ago
rinpatch 08f6837065 Switch from HtmlSanitizeEx to FastSanitize
5 years ago
stwf 56e42602b0 capture where errors are expected
5 years ago
Egor Kislitsyn 4270861085
Merge branch 'develop' into feature/move-activity
5 years ago
lain 2480200759 Merge branch 'refactor/following-relationships' into 'develop'
5 years ago
Maxim Filippov 8282b6ac3d Make sure incoming flags are updated with status data
5 years ago
Maxim Filippov 791bcfd90f Merge branch 'develop' into feature/store-statuses-data-inside-flag
5 years ago
Maxim Filippov 8eff05d4c6 Strip status data from Flag (when federating or closing/resolving report)
5 years ago
Egor Kislitsyn b777083f3f
Add `also_known_as` field to Pleroma.User
5 years ago
stwf 5329b361ec fix test
5 years ago
Egor Kislitsyn 4c1dd55c48 Merge remote-tracking branch 'upstream/develop' into refactor/following-relationships
5 years ago
Maxim Filippov b08b1d5d91 Store status data inside Flag activity
5 years ago
Ivan Tashkinov 8cc809e44e Merge remote-tracking branch 'remotes/upstream/develop' into 1304-user-info-deprecation
5 years ago
lain 25077812bf SideEffectsTest: Fix test.
5 years ago
lain 1adafa0966 Credo fixes.
5 years ago
lain 97d5c79aa0 Add Pipeline module, test for federation.
5 years ago