Commit Graph

393 Commits (2b2bd0e047c96085dda003f0ae11ddc05bbc8c12)

Author SHA1 Message Date
lain 841ee8e3e4 Simplify DM query.
6 years ago
lain 4b3ec53514 Merge branch 'develop' into csaurus/pleroma-feature/mstdn-direct-api
6 years ago
lain 745072b2cc Merge branch 'kaniini/pleroma-feature/activitypub-accept-reject-conformance' into develop
6 years ago
lain 0a6c897c94 Formatting.
6 years ago
lain bfce29866f Make Mastodon follow hack more explicit.
6 years ago
lain 3839a11ef5 Don't treat remote accepts/rejects as local.
6 years ago
lain dd9bb37893 Rename id helper method.
6 years ago
William Pitcock 7e873756e7 activitypub transmogrifier: use fetch_latest_follow to verify a follow object exists
6 years ago
William Pitcock 1c926c7b60 activitypub: allow mastodon S2S block extension support to be disabled
6 years ago
Hakaba Hitoyo e90b734f1c debug
6 years ago
Hakaba Hitoyo 9c7da2ef48 output repeats at ActivityPub outbox
6 years ago
William Pitcock 7cf3cf77cf activitypub transmogrifier: cleanups and tests for incoming accepts/rejects
6 years ago
William Pitcock f35e6bf75b activitypub transmogrifier: clean up accept/reject handling a bit
6 years ago
William Pitcock 62c95e8d4d run mix format
6 years ago
William Pitcock 502ba33d01 activitypub: fix up accept/reject semantics for following
6 years ago
William Pitcock c0ca9f82b9 mastodon api: properly track if an account is locked or not
6 years ago
William Pitcock 47dc52a758 activitypub utils: optimize block and follow activity lookup
6 years ago
lambda c2dcd767cf Merge branch 'feature/incoming-remote-unfollow' into 'develop'
6 years ago
Francis Dinh 1197ec10a8 Rewrite block fetch query
6 years ago
lain 1cd6194dee More efficient queries.
6 years ago
lambda 06c97f211f Merge branch 'feature/deps-migration' into 'develop'
6 years ago
csaurus 4fd9df100f Merge branch 'develop' into feature/mstdn-direct-api
6 years ago
William Pitcock 9a2d097ed8 activitypub controller: note that the HTTP Host header must be forwarded for http signature validation to work
6 years ago
Francis Dinh 46427cb90f Pass correct number of arguments to unfollow
6 years ago
Francis Dinh cc5373b846 Fix unblock handling
6 years ago
Francis Dinh 2573332214 Add undo block handler
6 years ago
Francis Dinh c8a16f334d Format
6 years ago
Francis Dinh 89c5de9096 Fix unfollows
6 years ago
Francis Dinh 1afd6d37bd Merge remote-tracking branch 'upstream/develop' into feature/incoming-remote-unfollow
6 years ago
Thog e55c6f311b
Migrate to comeonin 4 and Cachex 3
6 years ago
lain 434601a5c3 Return private / direct posts on user timelines, too.
6 years ago
Francis Dinh a9141d88aa Pass user instead of their ap_id to User.block
6 years ago
Francis Dinh 3b706ea493 Remove handler for incoming undos with object references
6 years ago
Francis Dinh 1e43de0f86 Formatting and add tests for blocks/unblocks
6 years ago
Francis Dinh da9744eb84 Use correct variable names in unfollow
6 years ago
Thog 6f39ecc41b
Support Undo like activities (Fix #139)
6 years ago
lambda ad563669c8 Merge branch 'feature/remote-user-deactivation' into 'develop'
6 years ago
William Pitcock 2051530868 activitypub transmogrifier: handle hubzilla AP actor quirks
6 years ago
William Pitcock 4d2c6707c2 activitypub: normalize the actor to ensure we have its URI
6 years ago
William Pitcock 13d4b6d2b5 remote user deactivation: fix test failures
6 years ago
Francis Dinh 0ec1abb3b6 Add federated blocks
6 years ago
Francis Dinh 8d11bae0d5 Revert "Undo formatting in user.ex"
6 years ago
Francis Dinh e6dc15b96c Undo formatting in user.ex
6 years ago
Francis Dinh d8c842a771 Add support for incoming remote unfollows
6 years ago
csaurus 4dfb40a546 Handle cases where a to/cc field is absent on a status
6 years ago
William Pitcock 9390492138 ActivityPub create: discard activities from deactivated users
6 years ago
csaurus 2ce48c1a42 Formatting
6 years ago
csaurus 9aabff4883 Fix tests.
6 years ago
lain c7a85de35c Revert "Remove 'unlisted' handling for now."
6 years ago
lain 1027d1f696 Remove 'unlisted' handling for now.
6 years ago
lain a5c9dd0a2a Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
6 years ago
lain 3c3933e40b Unlisted fetching: Reverse logic
6 years ago
lambda aeff2d6474 Merge branch 'feature/unrepeats' into 'develop'
6 years ago
lain ec531ca281 Add test.
6 years ago
lain 29376fcc13 Format.
6 years ago
lain 76722ea9c8 Merge branch 'develop' into kaniini/pleroma-bugfix/unlisted-statuses
6 years ago
Francis Dinh 54ccbd8479 Use original status id instead of announce id
6 years ago
csaurus c8d418acdd api/v1/timelines/direct implementation
6 years ago
csaurus 392bd9ef56 Stream function to handle direct messages.
6 years ago
csaurus c60a5405db Detect and try to stream incoming "direct" messages
6 years ago
Francis Dinh 4d88747561 Revert "Log error when handling unrepeats"
6 years ago
Francis Dinh c17c55e989 Log error when handling unrepeats
6 years ago
href c220a6db43
format & made get_policies/1 private
6 years ago
href e9e6f37bda
Chain policies
6 years ago
Francis Dinh 900c735467 Match proper number of values from unannounce
6 years ago
Francis Dinh 54f6628590 Change argument order and call correct # of args
6 years ago
Francis Dinh e55f69a676 Handle Undo activites containing an Announce
6 years ago
Francis Dinh 4d5ec883b7 Federate correct activity
6 years ago
lain ffe028cd73 More warning fixes.
6 years ago
lambda 6c2903d9a1 Merge branch 'feld-warnings' into 'develop'
6 years ago
eal bfad57c7c9 Get rid of unsafe variables.
6 years ago
Mark Felder 7a884d70d8 Group def renders here as well
6 years ago
Mark Felder 14c0c6d16b Fix formatting
6 years ago
Mark Felder a24eed0f57 That last change was stupid. Multiline comments in Elixir don't really exist.
6 years ago
Mark Felder 79d41aa12e Dirty hack to remove the warning
6 years ago
Mark Felder aaacebd906 Fix unused variables, imports, and aliases
6 years ago
Mark Felder 42f1a098aa Fix build. Too eager with the fixing of unused variables.
6 years ago
Mark Felder 636f0fa402 Clean up unused aliases and imports
6 years ago
Mark Felder 943820ae29 More unused variables
6 years ago
Mark Felder ab4aa5720a Fix a bunch of unused variable warnings
6 years ago
William Pitcock a3d1d4894f ActivityPub core: fix handling of unlisted statuses by leveraging a similar strategy as for blocks
6 years ago
lain 4d55d7c95e Insert object after being rewritten.
6 years ago
lambda a7a40bb8f1 Merge branch 'fix/blocked-user-boosts' into 'develop'
6 years ago
William Pitcock 90bbd94614 ActivityPub MRF SimplePolicy: fix media stripping
7 years ago
Francis Dinh 2d775bf1be Merge branch 'feature/unrepeats' of git.pleroma.social:normandy/pleroma into feature/unrepeats
7 years ago
Francis Dinh 9e0dd21ed6 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain c78e7d8b11 Fix formatting.
7 years ago
lambda 7a52c4549c Merge branch 'feature/message-rewrite-facility' into 'develop'
7 years ago
Dashie 9972678a68
Add User.decrease_note_count and call it from ActivityPub.delete
7 years ago
Francis Dinh 8c0806539c Embed announce activity data instead of linking to it
7 years ago
Francis Dinh b1742eca42 Revert "Rename make_unannounce_data helper to make_undo_data"
7 years ago
Francis Dinh c649ca8958 Rename make_unannounce_data helper to make_undo_data
7 years ago
eal 22bfeac256 Update note count in ActivityPub.create.
7 years ago
lain 9e6ae44729 Formatting fixes.
7 years ago
Francis Dinh f0798440de Use correct activity for undo
7 years ago
Francis Dinh 4b9f2ab526 Fix federation of unreblog activity
7 years ago
nenolod@dereferenced.org f08f9d4498 ActivityPub MRF: fix nsfw tagging of objects with attachments by looking at the right object (the child in this case)
7 years ago
Francis Dinh 7b4f55238e Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh 687db1bc3a Expose unannounce activity so that it can be tested
7 years ago
Francis Dinh 0251690e96 Add federation for unrepeats
7 years ago
Francis Dinh c9e7b984d5 Add make_unannounce_data helper function
7 years ago
Francis Dinh d16877251a doc fixes
7 years ago
Francis Dinh b949577472 Add unrepeat functionality
7 years ago
William Pitcock d24ddd9fb9 ActivityPub MRF: implement the SimplePolicy policy
7 years ago
William Pitcock 4a178b3d65 ActivityPub: implement MRF core hook and baseline noop policy object
7 years ago
eal 48380aeccc ActivityPub.ex: do not return boosted statuses from blocked users.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
lain bc31bee7c4 Generates contexts and ids on insertion time.
7 years ago
lain 2222e5599c Don't fetch anything except ap_id for follower / following
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain d2099c849d More Jason changes.
7 years ago
lain 2c1c221301 Fix follower collection id.
7 years ago
William Pitcock 2aea3bc632 activitypub transmogrifier: rewrite incoming hashtags
7 years ago
lain 5da2355e71 For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
William Pitcock 3fcdfb75d0 activitypub: add outbox endpoint
7 years ago
William Pitcock 381ba256bf activitypub: add restrict_limit
7 years ago
William Pitcock 1a94704230 activitypub: implement following/followers endpoints
7 years ago
lain c50c7745bc Fetch relayed messages from source while we don't have linked data sigs.
7 years ago
lambda 9b97b023c5 Merge branch 'feld-Logger' into 'develop'
7 years ago
Mark Felder 16d102c153 Clarify that this error is about a problem decoding the expected JSON
7 years ago
Mark Felder 9a858621d6 AP and WebFinger need love here
7 years ago
Mark Felder 04395cb9bd Grammar consistency
7 years ago
lain ec83175100 Use connection pools.
7 years ago
lain 4d5161b16d Only fetch if it's http.
7 years ago
William Pitcock 59a76ea464 activitypub transmogrifier: rewrite non-http URLs using the object's external URL
7 years ago
lain 30d65639c1 Fix Mastodon emojis.
7 years ago
lain ff7bc16a7e Restrict activity fixing more.
7 years ago
lain 8228ae96d8 Only run the fix-up tasks once.
7 years ago
lain d2ad99298e Handle incoming deletes.
7 years ago
lain 1377b2e569 Restrict public by recipients.
7 years ago
lain 82df16f7c3 Actual real fix.
7 years ago
lain 0d69bbc1fb One more fix.
7 years ago
lain 8c712b3198 Fix context stitching.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain f61fd00db5 Make likes and announces public.
7 years ago
lain 4d13cc0dc6 Fix specs.
7 years ago
lain dfaddeb765 Use update_and_set cache.
7 years ago
lain e3629af4da Handle remote update activities.
7 years ago
lain dd97193311 Set conversation to parent conversation.
7 years ago
lain b76de1ecd3 Some fixes to AP fetching.
7 years ago
lain 82e34cae95 Unify object representation.
7 years ago
lain 2b5d265954 Don't deliver to local followers.
7 years ago
lain df73a9c6d6 .
7 years ago
lain 5bc7628022 Fix.
7 years ago
lain 59ad395ffa Better signature errors messages.
7 years ago
lain fb5add56fa Bit more signature debugging.
7 years ago
lain e5fcc51a06 Remove unneccesary subscriptions on update.
7 years ago
lain 9a4d400ff4 Fix remote following.
7 years ago
lain 06b512acf1 Never update local users from foreign sources.
7 years ago
lain 541a4cbbb6 Oh no! More fixes!
7 years ago