Commit Graph

1245 Commits (3b1b183b42019adc9d09b0c1af703b25e313167d)

Author SHA1 Message Date
lain 37812740c4 Transmogrifier: Correctly save incoming ids for Accept/Reject.
5 years ago
lain 9b963064eb Transmogrifier: Actually store who deleted a note.
5 years ago
Egor Kislitsyn 059005ff82
Replace `user.following` with Pleroma.FollowingRelationship
5 years ago
lain 29647dfd09 Transmogrifier: Save correct ids for incoming deletes.
5 years ago
lain c54ae662dc Merge remote-tracking branch 'origin/develop' into benchmark-finishing
5 years ago
lain d7f9679ff2 Merge branch 'develop' into 'reactions'
5 years ago
Maxim Filippov 24eecc3cb4 Merge branch 'develop' into feature/reports-groups-and-multiple-state-update
5 years ago
Maxim Filippov 35068baf65 Merge branch 'develop' into feature/reports-groups-and-multiple-state-update
5 years ago
Maxim Filippov 7aceaa517b Admin API: Reports, grouped by status
5 years ago
Ariadne Conill 9a2f71f4d5 mastodon api: fix exclude_replies (closes #1287)
5 years ago
lain 73b6512907 Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
lain 91e90aa807 Merge branch 'misskey-compat' into 'reactions'
5 years ago
Haelwenn (lanodan) Monnier 58aeabd020
mrf/simple_policy: check actor against accept/reject
5 years ago
rinpatch fefbd31c6e Move local keys out of `user.info`
5 years ago
lain 61097ba6ab Merge branch 'develop' into 'reactions'
5 years ago
kaniini 45b7f03f89 Merge branch 'accept-embedded-announce-object' into 'develop'
5 years ago
lain 4b8524f392 ActivityPub / Transmogrifier: Correctly store incoming Update id.
5 years ago
Thibaut Girka 791d93ff0e Make credo happy
5 years ago
Thibaut Girka 977e711e22 Import object from self-Announce whenever possible
5 years ago
lain 6a85f7d1ea Transmogrifier: Extend misskey like compatibility.
5 years ago
lain d9aaea44ff Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Maksim Pechnikov 83631752af removed legacy api: "/objects/:uuid/likes"
5 years ago
Maxim Filippov 8dcc2f9f5e Admin API: Allow changing the state of multiple reports at once
5 years ago
lain 43a211bcb1 Transmogrifier: Handle misskey likes with reactions like EmojiReactions.
5 years ago
lain 568a995d64 ActivityPub: Change addressing of Undo.
5 years ago
lain c9043c6c80 Transmogrifier: Handle incoming Undos for EmojiReactions.
5 years ago
lain 9cfe9a57c5 CommonAPI: Add unreactions.
5 years ago
lain dfe5c958eb ActivityPub: Add undo for emoji reactions.
5 years ago
lain 557223b2b5 Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Thibaut Girka 86880b9821 Inline object when Announcing a self-owned private object
5 years ago
Thibaut Girka 427d0c2a00 Store private announcements in object.data["announcements"], filter them on display
5 years ago
Thibaut Girka fe538973dd Ensure self-announces do not widen the audience of the original post
5 years ago
KokaKiwi 1f0be71ea4 Make activity announceable by its author.
5 years ago
Egor Kislitsyn 2dad6dd020
Extract apps actions from `MastodonAPIController` to `AppController`
5 years ago
lain dae744478e Transmogrifier: Handle compact objects in undos.
5 years ago
lain 19bc0b8c79 .
5 years ago
lain 08256e9299 ActivityPub: Federate reactions.
5 years ago
lain a7f22c6e93 Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
lain b923842e96 Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
kaniini 26f66fb70a Merge branch 'features/apc2s-media-upload' into 'develop'
5 years ago
Ariadne Conill 84712c35f9 activitypub: object view: include child object for Listen activities
5 years ago
Ariadne Conill 7cad6ea67a pleroma api: hook up scrobbler controller
5 years ago
Ariadne Conill 172c74a77b activitypub: transmogrifier: implement support for Listen activities
5 years ago
Ariadne Conill 1f9de2a8cd activitypub: implement IR-level considerations for Listen activities
5 years ago
rinpatch e9d1aa75d5 Revert subscription refactoring.
5 years ago
Roman Chvanikov b4b147000c Merge develop
5 years ago
kaniini 48a82c4609 Merge branch 'refactor/user' into 'develop'
5 years ago
Hakaba Hitoyo 5fb72170a7 Revert "add _discoverable_ keyword into ActivityPub @context"
5 years ago
kaniini 3ff57f1fd3 Merge branch 'hex-flake-id' into 'develop'
5 years ago
kaniini beabc49e35 Merge branch 'feature/activities-pagination-by-offset' into 'develop'
5 years ago
rinpatch f92d7d52c2 Apply suggestion to lib/pleroma/web/activity_pub/views/user_view.ex
5 years ago
rinpatch f2880d7d29 Credo considered harmful
5 years ago
rinpatch c7d8ccd0c4 Remove useless with clause
5 years ago
rinpatch 1ddd403339 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
rinpatch d87be2ec96 Don't embed the first page in inboxes/outboxes and refactor the views to
5 years ago
Egor Kislitsyn b5dfe83433 Replace `Pleroma.FlakeId` with `flake_id` hex package
5 years ago
Maxim Filippov 60cbea5bb2 Allow activities pagination via limit/offset
5 years ago
Egor Kislitsyn 79b25be4e1 Do not return tuple when unneeded
5 years ago
kaniini 760df67a7b Merge branch 'remove-direct-messages-from-public-timeline' into 'develop'
5 years ago
kaniini ad9595ca55 Merge branch 'test/activity_pub/transmogrifier.ex' into 'develop'
5 years ago
Steven Fuchs e1d2d69c87 Clean up views
5 years ago
Maksim Pechnikov 38245f1336 Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
Haelwenn (lanodan) Monnier 815b904508
Add support for AP C2S uploadMedia
5 years ago
Haelwenn (lanodan) Monnier 2ad50583f0
Document and test /api/ap/whoami
5 years ago
eugenijm 7cf1252455 Mastodon API: Fix private and direct statuses not being filtered out from the public timeline for an authenticated user (`GET /api/v1/timelines/public`)
5 years ago
D Anzorge 0e6085da10 Fix pagination in AP outbox.json
5 years ago
Maksim Pechnikov d4ed3a35b8 Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
Haelwenn f95a2b2cda Merge branch 'issue/733' into 'develop'
5 years ago
feld ab2ca3038f Merge branch 'hide-follower-following-count' into 'develop'
5 years ago
rinpatch d32894ae51 Move object internal fields to a constant
5 years ago
Maksim Pechnikov 7dd51652f9 Merge branch 'develop' into issue/733
5 years ago
Haelwenn 2301de3d75 Merge branch 'fix/upgrade_user_from_ap_id' into 'develop'
5 years ago
rinpatch 95a4a19417 Merge branch 'support/tests' into 'develop'
5 years ago
eugenijm 450bf7a63c Mastodon API: Add a setting to hide follow/follower count from the user view (`hide_follows_count` and `hide_followers_count`)
5 years ago
Roman Chvanikov 76c3e290fc Merge develop
5 years ago
Egor Kislitsyn 085d014f08 Fix `Transmogrifier.upgrade_user_from_ap_id/1`
5 years ago
Egor Kislitsyn 96816ceaa2 Revert "Merge branch 'revert-4fabf83a' into 'develop'"
5 years ago
kaniini c623b4324d Revert "Merge branch 'streamer-refactoring' into 'develop'"
5 years ago
Steven Fuchs aab264db82 Streamer refactoring
5 years ago
kaniini 17142a3720 Merge branch 'feature/delivery-tracking' into 'develop'
5 years ago
Maksim Pechnikov d75bc728e7 Merge branch 'develop' into issue/733
5 years ago
Maksim Pechnikov 8751809e1e Merge branch 'develop' into support/tests
5 years ago
Ivan Tashkinov 6bcedb693c [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch ba70a8cae6 Merge branch 'develop' into feature/delivery-tracking
5 years ago
Roman Chvanikov 0bd2b85edb Separate Subscription Notifications from regular Notifications
5 years ago
rinpatch 8900cb68ae Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
rinpatch 2784962dba Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
lain a7f31bf06c Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
lain e5b3ad3d04 ActivityPub: Use is_unicode_emoji? function.
5 years ago
rinpatch 3896a51b8a Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
rinpatch 5170170483 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
rinpatch fb96facc32 Remove unused functions and fix credo issues
5 years ago
rinpatch ce23529d91 Use delivery info when federating deletes
5 years ago
Egor Kislitsyn 39dc9b470c Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.Utils
5 years ago
Maksim Pechnikov 2b40e57a72 Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
rinpatch 769fb778d4 Track object/create activity fetches
5 years ago
lain 8d4b661ecb Transmogrifier: Strip internal emoji reaction fields.
5 years ago
Maksim Pechnikov 4f548cb2b7 added test for Ostatus
5 years ago
Mark Felder 74e4c72c4a Fix double quotes in error logs
5 years ago
Maksim Pechnikov 007e0c1ce1 added tests
5 years ago
Maksim Pechnikov fcf604fa43 added tests
5 years ago
Maksim Pechnikov a31af93e1d added tests /activity_pub/transmogrifier.ex
5 years ago
minibikini 11e12b5761 Add Pleroma.Plugs.Cache
5 years ago
feld edbaf78176 Merge branch 'fix/read-inbox' into 'develop'
5 years ago
Egor Kislitsyn e0f84d0043 Fix `ActivityPubController.read_inbox/2`
5 years ago
Ivan Tashkinov c3f00447af Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maksim Pechnikov 39f99dc6cd Merge branch 'develop' into support/tests
5 years ago
Ariadne Conill 5effb2cbca activitypub: help ecto build a better query for thread mute filtering
5 years ago
Alex S 79dde58044 one more temp commit
5 years ago
Maksim Pechnikov ae506ca997 fix formatting
5 years ago
Maksim e2011a667c Apply suggestion to lib/pleroma/web/activity_pub/utils.ex
5 years ago
Maksim 8306078de1 Apply suggestion to lib/pleroma/web/activity_pub/utils.ex
5 years ago
Maksim Pechnikov a890451187 fetch_announcements -> take_announcements
5 years ago
Maksim Pechnikov 8cbad5500c add tests for activity_pub/utils.ex
5 years ago
lain 9bc12b88b3 ActivityPub: Save emoji reactions in object.
5 years ago
Ivan Tashkinov dd017c65a4 [#1149] Refactored Oban workers API (introduced `enqueue/3`).
5 years ago
Ivan Tashkinov a90ea8ba15 [#1149] Addressed code review comments (code style, jobs pruning etc.).
5 years ago
Ivan Tashkinov e890ea7e82 [#1149] Added Oban job for "activity_expiration". Merged remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
feld 7853b3f17d Fix AntiFollowbotPolicy when trying to follow a relay
5 years ago
Haelwenn d9d7765383 Merge branch 'fix-osada-follow' into 'develop'
5 years ago
lain f017260cdc Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Maksim ffcd742aa0 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
lain c30cc039e4 Transmogrifier: Use Containment.get_actor to get actors.
5 years ago
Maksim Pechnikov 00abe099cd added tests for ActivityPub.like\unlike
5 years ago
lain a0b21c8928 Transmogrifier: Handle incoming emoji reactions.
5 years ago
lain 6e1ec4c5da ActivityPub: Basic EmojiReactions.
5 years ago
lain 3da65292b3 Transmogrifier: Fix follow handling when the actor is an object.
5 years ago
Maksim Pechnikov 654d291b6d update tests
5 years ago
Maksim Pechnikov 6062017493 put_resp_header("content-type", "application/activity+json") -> put_resp_content_type("application/activity+json")
5 years ago
Maksim Pechnikov 8dc6a6b210 fix /inbox for Relay
5 years ago
Maksim Pechnikov 399ca9133b fix test
5 years ago
Ivan Tashkinov 256ff09aa8 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maksim Pechnikov 64bfb41c55 fixed unfollow for relay actor
5 years ago
lain 74f7f308f8 Merge branch 'fix/admin-api-user-deletion' into 'develop'
5 years ago
lain ef43016b2c Merge branch 'feature/custom-fields' into 'develop'
5 years ago
Maxim Filippov 5171aa5b4d Refactor check_actor_is_active
5 years ago
kaniini 18c8c8d176 Merge branch 'feature/hide-muted-threads-from-timeline' into 'develop'
5 years ago
rinpatch a4a3e3becd Hide muted theads from home/public timelines unless `with_muted` is set
5 years ago
Maxim Filippov ec969eec51 Merge branch 'develop' into 'fix/admin-api-user-deletion'
5 years ago
Maxim Filippov 2b94ae3b39 Do not check if actor is active when deleting a user
5 years ago
rinpatch bd5ad0af78 Cache follow state
5 years ago
rinpatch dc902ad3df Merge branch 'fix/http-signatures-post' into 'develop'
5 years ago
kaniini 1754f8ce6d Apply suggestion to lib/pleroma/web/activity_pub/publisher.ex
5 years ago
Ariadne Conill 5bb418a90d activitypub: publisher: add (request-target) to http signature when POSTing
5 years ago
Ariadne Conill 626e094589 MRF: fix up unserializable option lists in describe implementations
5 years ago
Ivan Tashkinov 8778c16dac Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Egor Kislitsyn e457fcc479 Add `:max_remote_account_fields` config option
5 years ago
Egor Kislitsyn f7bbf99caa Use info.fields instead of source_data for remote users
5 years ago
Egor Kislitsyn 7d6f8a7fd7 Linkify custom fields values in ActivityPub.UserViewx
5 years ago
Egor Kislitsyn 5178f960c3 Support user attachment update in Transmogrifier
5 years ago
Egor Kislitsyn 88598c9baf Add profile custom fields to ActivityPub.UserView
5 years ago
kaniini 5c35d2f1d8 Merge branch 'preload-user-timelines' into 'develop'
5 years ago
kaniini fe42844bda Merge branch 'get-context-optimizations' into 'develop'
5 years ago
rinpatch 8202f1634a Preload thread mutes/bookmarks in user_statuses
5 years ago
rinpatch f4e087ee48 Preload thread mutes/bookmarks in get_context
5 years ago
rinpatch 9ef31767f2 Merge branch 'feature/mrf-vocabulary' into 'develop'
5 years ago
Ariadne Conill abfbcfdcb3 mrf_vocabulary: add describe API support
5 years ago
Ariadne Conill 4244e17de0 fix credo
5 years ago
Ariadne Conill c574b7a1fc MRF: add describe() to all modules, add base MRF configuration to base describe()
5 years ago
Ariadne Conill 694bc43123 MRF: add describe() for gathering and describing the MRF configuration
5 years ago
Maksim fea4d89e9f tests for Web/ActivityPub/Relay
5 years ago
Ariadne Conill 3fdbeb7087 MRF: add vocabulary policy module
5 years ago
Ivan Tashkinov 0e1c481a94 [#1149] Added more oban workers. Refactoring.
5 years ago
Ariadne Conill f46cd7e9c7 config: remove legacy activitypub accept_blocks setting
5 years ago
rinpatch 92479c6f48 Do not fetch the reply object in `fix_type` unless the object has the
5 years ago
Ariadne Conill 9cfc289594 MRF: ensure that subdomain_match calls are case-insensitive
5 years ago
Sergey Suprunenko af4cf35e20 Strip internal fields including likes from incoming and outgoing activities
5 years ago
Maxim Filippov dfae61c25c Fix deactivated user deletion
5 years ago
Ivan Tashkinov 267262491e Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov b7fad8d395 [#1149] Oban jobs implementation for :federator_incoming and :federator_outgoing queues.
5 years ago
rinpatch 4f1b9c54b9 Do not rembed the object after updating it
5 years ago
rinpatch 73d8d5c49f Stop depending on the embedded object in restrict_favorited_by
5 years ago
Sergey Suprunenko e8ad116c2a Do not add the "next" key to likes.json if there is no more items
5 years ago
kaniini 86fffe9c27 Merge branch 'patch-2' into 'develop'
5 years ago
Thibaut Girka 1fce56c7df Refactor
5 years ago
Thibaut Girka 16cfb89240 Only add `preferredUsername` to service actor json when the underlying user actually has a username
5 years ago
Sergey Suprunenko 8b2fa31fed Handle MRF rejections of incoming AP activities
5 years ago
Thibaut Girka a187dbb326 Add preferredUsername to service actors so Mastodon can resolve them
5 years ago
Ivan Tashkinov 23d279e03e [#1149] Replaced RetryQueue with oban-based retries.
5 years ago
rinpatch c88a5d3251 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Ariadne Conill b93498eb52 constants: add as_public constant and use it everywhere
5 years ago
Ariadne Conill 492d854e7a transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
5 years ago
rinpatch 41e0304757 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Maxim Filippov f46805bb40 Merge branch 'develop' into feature/admin-api-user-statuses
5 years ago
Maxim Filippov 03471151d6 AdminAPI: Add "godmode" while fetching user statuses (i.e. admin can see private statuses)
5 years ago
Maksim c49a09ed88 tests for Pleroma.Web.ActivityPub.Publisher
5 years ago
Alexander Strizhakov b70e659304 Feature/1087 wildcard option for blocks
5 years ago
Ariadne Conill 56019d53a8 activitypub: publisher: align sharedinbox usage with AP specification rules
5 years ago
rinpatch 196cad46f3 Resolve merge conflicts
5 years ago
Ariadne Conill cf9cb953d5 activitypub: represent internal fetch actor
5 years ago
Ariadne Conill d930e5d5c3 activitypub: introduce internal fetch service actor
5 years ago
Ariadne Conill a9d6a12bb3 activitypub: controller: rework the way the relay actor is presented so the code can be reused
5 years ago
Ariadne Conill 4885473be2 user: refactor get_or_create_instance_user() into get_or_create_service_actor_by_id()
5 years ago
RX14 96a2890a9e
Add MRF MentionPolicy for dropping posts which mention specific actors
5 years ago
Egor Kislitsyn 70439494af Fix typo
5 years ago
Maksim c32384c1ea tests for Pleroma.Signature
5 years ago
Egor Kislitsyn de13c9bb8f List messages must be visible for mentioned users
5 years ago
Egor Kislitsyn d86a97abfb Add an explanation comment to Publisher.publish/2
5 years ago
Egor Kislitsyn 64a946643e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Ariadne Conill 739bbe0d3b security: detect object containment violations at the IR level
5 years ago