Commit Graph

659 Commits (a50a47a0114dab06205eabf5bd42369328ce80e2)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier 8472fba2a7
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix actor key outside of object
6 years ago
lambda d93789dfde Merge branch 'feature/object-normalization' into 'develop'
6 years ago
William Pitcock 590d4df77c activitypub: more robustly handle object-to-actor associations
6 years ago
lambda 4a922305af Merge branch 'feature/article-support' into 'develop'
6 years ago
William Pitcock 8546551257 activitypub: switch to using x509 representation for public keys instead of pkcs#1
6 years ago
William Pitcock 971bb4f2bd activity interpretation: formatting
6 years ago
William Pitcock bd479606ba utils: make_create_data: add support for Article objects
6 years ago
William Pitcock c42f28b82c transmogrifier: accept Article activities
6 years ago
William Pitcock 7c63e70de1 activitypub: use Activity.normalize() in several places instead of using Activity.get_by_ap_id() directly.
6 years ago
William Pitcock 15d624e077 activitypub: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
lambda dfc96f222c Merge branch 'feature/configurable-blocks' into 'develop'
6 years ago
squidboi ea214b8ba6
combined outgoing_blocks with statement
6 years ago
squidboi c4038ede07
fix mind-crushingly dumb syntax error
6 years ago
squidboi f4990283de
change moved attributes into normal variables
6 years ago
squidboi 4e099fcfa9
move configurable module attributes into relevant functions
6 years ago
Haelwenn (lanodan) Monnier c45133377a
lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
6 years ago
William Pitcock 60d6038be5 mrf simple: add accept lists
6 years ago
lambda 90cf75f4a7 Merge branch 'features/column_media_streaming' into 'develop'
6 years ago
lambda db0731b6ac Merge branch 'feature/exclude-replies-filter' into 'develop'
6 years ago
William Pitcock c95941e64d activitypub transmogrifier: fix handling of contentMap.
6 years ago
William Pitcock 591c82620e activitypub: filter destination list for announce activities differently than normal (closes #164)
6 years ago
William Pitcock 4f589998ee activitypub: support filtering activities by whether or not they are a reply (closes #109)
6 years ago
Haelwenn (lanodan) Monnier b670d4d683
MastodonAPI: Add streaming to media tabs of federated and local TLs
6 years ago
squidboi 2e294ee44a Merge branch 'develop' into feature/configurable-blocks
6 years ago
lambda 1ea4a18ad8 Merge branch 'feature/configure-mrf-rejectnonpublic' into 'develop'
6 years ago
lambda 2723fb5150 Merge branch 'bugfix/mrf-orphaning' into 'develop'
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
Francis Dinh 1555c66650 Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
William Pitcock 401e8af943 activitypub transmogrifier: handle activity lookup failure
6 years ago
lambda 3f42806b1b Merge branch 'develop' into 'develop'
6 years ago
lambda 564c73ab24 Merge branch 'feature/list-streaming' into 'develop'
6 years ago
William Pitcock d96377f359 activitypub transmogrifier: accept/reject outgoing: we might send the actual object instead of the URI in some cases, handle it
6 years ago
William Pitcock 5eed1ea181 run mix format
6 years ago
William Pitcock 4084889a2d activitypub transmogrifier: remove debug code
6 years ago
William Pitcock 76f80ba8c2 activitypub: when unfollowing, update the follow activity's disposition to 'cancelled' so it cannot be reused
6 years ago
William Pitcock f328de8eb7 activitypub transmogrifier: send Rejects in the format Mastodon wants
6 years ago
William Pitcock 876ad6aa38 activitypub transmogrifier: send @context on accept activities
6 years ago
William Pitcock 760eb72a38 add a bunch of stuff
6 years ago
William Pitcock 9c88933422 implement tracking of follow requests
6 years ago
William Pitcock 6041380774 activitypub transmogrifier: learn locked state in Update messages
6 years ago
William Pitcock e5206752e1 activitypub: only send accept back automatically if the account is not locked
6 years ago
lambda 7f79b467b1 Merge branch 'feature/domain-blocks' into 'develop'
6 years ago
squidboi 07f0cfa53f
add allow_followersonly and allow_direct options for configuring mrf_rejectnonpublic
6 years ago
squidboi 4f9ecfc77a formatting
6 years ago
squidboi 8903f1ad4d more fixes
6 years ago
squidboi 16d896f526 fixes
6 years ago
squidboi 2847fc8f90 add option to not unfollow on block, and option to not federate outgoing blocks
6 years ago
lambda 45a935f0bd Merge branch 'users' into 'develop'
6 years ago
lambda bb639a362e Merge branch 'feature/rejectnonpublic' into 'develop'
6 years ago
Rachel H fa0c2727d8 Fix users lookup/return type
6 years ago
squidboi e2c4013c88
s/get_by_ap_id/get_cached_by_ap_id/
6 years ago
squidboi 6e7f91bf8f
final format
6 years ago
squidboi 82225dfc8d
even more formatting
6 years ago
lambda c86823f724 Merge branch 'bugfix/locked-account-regression' into 'develop'
6 years ago
squidboi 990cde7439
more formatting
6 years ago
squidboi 5b9e1f228a
formatting
6 years ago
squidboi f69d38e455
add mrf for dropping follower-only and direct posts
6 years ago
William Pitcock 47c7e259c4 activitypub transmogrifier: fix locked account state from being clobbered
6 years ago
William Pitcock a003bdc30a activitypub transmogrifier: learn locked state in Update messages
6 years ago
William Pitcock 09604182d0 add the ability to 'quarantine' an activitypub peer, causing them to be treated as an OStatus peer.
6 years ago
Sir_Boops 3f0440ac3c
Dedupe uploads
6 years ago
eal 29c9c8d93b Extract host from ap_id, add index
6 years ago
eal 9075b6d25b ActivityPub.ex: filter domain blocked activities.
6 years ago
lain 06439f64d0 Better error handling for ActivityPubController
6 years ago
lain 5e76adb07e Fix url guessing attacks.
6 years ago
eal 5d3fdbc082 MastoAPI: Add streaming for lists.
6 years ago
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
lain 01d5ef65fa More fixes to user upgrading.
7 years ago
lain efd4d04933 Fix user upgrading code.
7 years ago
lain aa79d64e0d Correctly stitch mastodon -> ostatus replies.
7 years ago
lain 2583a9f6e8 More logging.
7 years ago
lain 5dc68d303b Get objects that people you know favorite.
7 years ago
lain c443aec83d Add banner image to user json.
7 years ago
lain 37e406ae36 Get avatar and banner from AP users.
7 years ago
lain 4816b09fa7 Add user upgrade function.
7 years ago
lain a06b9a3e0b Logging.
7 years ago
lain 810cf8618f ActivityPub: Fetch missing activities on reply.
7 years ago
lain 279e1ce556 Typo.
7 years ago
lain b52672294e Move incoming AP to Federator.
7 years ago
lain 9c89916969 ActivityPub: One queue item per server.
7 years ago
lain 297a2c7d3f Ignore duplicate create activities.
7 years ago
lain 6b6ab592ab AP: Fix incoming conversations.
7 years ago
lain 6b32b9e346 Notifications: Use all recipients, not just "to".
7 years ago
lain 932d346d35 fix typo.
7 years ago
lain 8b11546334 For existing users, just replace info.
7 years ago
lain decbf3a47f fix typo.
7 years ago
lain 342d0b01d1 Only push to followers if they are addressed.
7 years ago
lain dc1d3ceb72 Fix log.
7 years ago
lain e368b68dcf Log but ignore signature errors.
7 years ago
lain 76e71f47d3 Inbox: Don't add the same thing twice.
7 years ago
lain 010f818a29 Fix conversations.
7 years ago
lain deaad6d97a Fix delivery to CC.
7 years ago
lain 803bdc1a67 Federate non-public over ActivityPub only, do some better signing.
7 years ago
lain 4bc57ef20c Don't relay non-public messages.
7 years ago
lain 5d89997a70 Respect visibility in API.
7 years ago
lain 5729233c36 Don't show unlisted in public.
7 years ago
lain c974f6544f Show users their own posts in timeline.
7 years ago
lain 44586f2967 ActivityPub: Fallback for unhandled outgoing activities.
7 years ago
lain 20e6190ead Transmogrify outgoing nsfw.
7 years ago
lain 8ca66b5961 ActivityPub: Add conversation id.
7 years ago
lain 6ab0aba50a Transmogrify outgoing hashtags.
7 years ago
lain 6046f10431 Actually fix incoming attachments.
7 years ago
lain 6352dffd13 Drop unhandle activities.
7 years ago
lain b99eeb2bdf Try to fetch AP user data first.
7 years ago
lain 68752b2047 Switch protocols to AP when post come in through AP.
7 years ago
lain 77c6c424a6 ActivityPub: Make fake Create activities for objects without one.
7 years ago
lain 81ea359a7c ActivityPub: Handle incoming announces.
7 years ago
lain 5e36b750c1 ActivityPub: Fetch an object from an id.
7 years ago
lain 0f2ad25a7b AcitvityPub: Outgoing Announces.
7 years ago
lain 32b995fbb6 ActivityPub: Implement outgoing likes.
7 years ago
lain e1b12a7782 ActivityPub: Handle incoming likes.
7 years ago
lain ab27c90c9f ActivityPub: Handle attachments.
7 years ago
lain c2d0cb1a29 ActivtyPub Delivery: Use shared inbox if possible.
7 years ago
lain 7b26443a76 ActivityPub: Send out Accept after Follow.
7 years ago
lain e7b73359e3 ActivityPub: Partly handle incoming follows.
7 years ago
lain 5682e48a25 ActivityPub: tags -> tag.
7 years ago
lain 05ba6ca1b8 Do some transmogrifying for the output.
7 years ago
lain 5a371892a0 Fix specs.
7 years ago
lain 7851b9ba81 ActivityPub: Use recipients fields.
7 years ago
lain 5454ec6a6c ActivityPubController: Handle inbox data.
7 years ago
lain ef0300889d Transmogrifier: Handle basic notice creation.
7 years ago
lain ae26604378 ActivityPub: Refactor create function.
7 years ago
lain 8cf97ee8e1 ActivityPub: Basic note federation with Mastodon.
7 years ago
Roger Braun ae1ec858f4 Basic AP user building.
7 years ago
Lain Iwakura 4a13b84887 Add recipients field to activities.
7 years ago
Roger Braun 888ec9e579 ActivityPub: Check inbox requests for valid signature.
7 years ago
Lain Iwakura 64330d9455 ActivityPub: Add object routes / controller.
7 years ago
Lain Iwakura a89a613e4e ActivityPub: Use only string keys in views.
7 years ago
Lain Iwakura da005d3332 ActivityPub: Add Objects View.
7 years ago
Roger Braun 5599c5920c Basic incoming AP support.
7 years ago
Lain Iwakura e31a5ff4af Priority queue fixes.
7 years ago
Roger Braun 5ff5d583b6 MastodonAPI: Streaming fixes.
7 years ago
Thog 59770c3f5c
Fix all compilation warnings
7 years ago
Roger Braun a743940463 MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun 5719f69ae3 MastodonAPI: Stream fixes.
7 years ago
eal 06c3ee3bac Accept 1 as true.
7 years ago
eal c84723b679 MastoAPI: Add media timelines.
7 years ago
Roger Braun bd5bdc4c24 MastoAPI: Basic streaming.
7 years ago
Roger Braun f1d27a5fbb Add actor column to activities.
7 years ago
Roger Braun d2430d5007 Look through whole db for user timelines.
7 years ago
Roger Braun 7252f6b054 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 046bee34d3 Fix bug when no posts are in the db.
7 years ago
Roger Braun 867ac1e4f5 Handle nil cases.
7 years ago
Roger Braun 8ef58a266b Don't return blocked users' activities in contexts.
7 years ago
Roger Braun a47727adde Don't return activities from blocked users.
7 years ago
Roger Braun 3037814fde Only search through last 100_000 activities for fetches.
7 years ago
Roger Braun 5293516730 Use more efficient query to fetch likes.
7 years ago
Roger Braun 9f417fd5e9 Speed up deletion and related queries.
7 years ago
Roger Braun 38f3908c14 Revert "Simplify query."
7 years ago
Roger Braun a17b261379 Simplify query.
7 years ago
Roger Braun 260f09dd6c MastoAPI: Return reblogs, too.
7 years ago
Roger Braun 422d0f324f MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun 678dd4c8ec Use desc id to sort instead of desc inserted_at
7 years ago
Roger Braun fc85c9f086 Add tag timelines.
7 years ago
Roger Braun 07b694814e Optimize conversation fetching.
7 years ago
Roger Braun 61adf676d5 Add basic mastodon notification support.
7 years ago
Roger Braun a22f2e683b Add type restriction to activitypub fetcher
7 years ago
Roger Braun 3438a120cc Don't delete new delete activity...
7 years ago
Roger Braun 5db535c0b1 Add delete to ActivityPub.
7 years ago
Roger Braun 9fd8640202 Order by id instead of inserted_at to better use indexes.
7 years ago
Roger Braun 140f72725d Use follower address in user entry.
7 years ago
Roger Braun 5e17e04144 Make user timelines faster for users with few statuses.
7 years ago
Roger Braun 201804b836 Only return posts in TwAPI conversations.
7 years ago
Roger Braun d4de38e8ff Order conversation fetches like GS does.
7 years ago
Roger Braun 70024632ba AP refactoring.
7 years ago
Roger Braun a2ca3b8605 Add option to keep id for follows.
7 years ago
Roger Braun e49770ee88 Add some debugging info.
7 years ago
Roger Braun db08498a9f Prevent double insertions.
7 years ago
Roger Braun 4f9328c622 Preserve ids on favorites / retweets.
7 years ago
Roger Braun b403ea4d2b Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun fa2610c795 Handle incoming favorites, fetch potentially missing messages.
7 years ago
Roger Braun c48c381e90 Merge branch 'develop' into dtluna/pleroma-refactor/1
7 years ago
Roger Braun c85998ab8a Parse incoming retweets.
7 years ago
Roger Braun 861a294cda Add announce federation.
7 years ago
Roger Braun df71c142cf Remove doubled 'to' recipients.
7 years ago
Roger Braun 9c42453e06 Return note objects as ostatus post activities.
7 years ago
Roger Braun 945b4b55e6 Federate likes.
7 years ago
Roger Braun a3e82c5c24 Save context in likes / announces.
7 years ago
Roger Braun 32a95d73da Add twkn timeline.
7 years ago
Roger Braun 6dd8335477 Mark incoming activties as non-local.
7 years ago
Roger Braun 009fcd2acf Stop adding statusnetConversationIds.
8 years ago
dtluna 6cf7c13228 Refactor code to comply with credo suggestions
8 years ago
Roger Braun c5fa682c31 Refactor, add beginnings of websub client subscriptions.
8 years ago
Roger Braun ab0114fbaa Return salmon path for users, basic incoming salmon handling.
8 years ago
dtluna 28b203d08f Add Undo of Follow Activity insertion
8 years ago
dtluna 5229b01944 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
Roger Braun 7617a593b9 Support data uris in uploads.
8 years ago
dtluna 7a0046d127 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
Roger Braun 4f7adb343c Address liking / announcing to the original author.
8 years ago
Roger Braun 60c60de330 Add announcements / retweets to TwAPI.
8 years ago
Roger Braun 21c397820f Add announcements to activitypub.
8 years ago
Roger Braun a926038cd0 Add unliking to activitypub.
8 years ago
dtluna 18cd04ade5 Add user timeline
8 years ago
Roger Braun fa0c279139 Favorite changes.
8 years ago
Roger Braun 1388054796 Add liking to ActivityPub.
8 years ago
Roger Braun b666f11d2f Add max_id fetching to activity fetching.
8 years ago
dtluna 8075badafe Add Follow activity insertion
8 years ago
Roger Braun 6aa1523bb3 Put objects in inserted activties into the db.
8 years ago
Roger Braun d18473f0c3 Add port if specified.
8 years ago
Roger Braun e7dc39e40c Basic file uploading via TwAPI.
8 years ago
Roger Braun 866a2663d4 Add fetching of activities in context.
8 years ago