Commit Graph

1236 Commits (6c0d869d9d46af12b2977842e4e1381871c49118)

Author SHA1 Message Date
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
rinpatch 0c2dcb4c69 Add follow information refetching after following/unfollowing
5 years ago
rinpatch 183da33e00 Add tests for fetch_follow_information_for_user and check object type
5 years ago
rinpatch d06d1b751d Use atoms when updating user info
5 years ago
rinpatch e5b850a991 Refactor fetching follow information to a separate function
5 years ago
rinpatch e8fa477793 Refactor Follows/Followers counter syncronization
5 years ago
rinpatch 97b79efbcd ActivityPub Controller: Actually pass for_user to following/followers
5 years ago
rinpatch 1f6ac7680d ActivityPub User view: Following/Followers refactoring
5 years ago
Egor Kislitsyn 9e06873d58 Add `list` to Visibility
5 years ago
Egor Kislitsyn 958fb9aa80 Add "listMessage"
5 years ago
Egor Kislitsyn 182f7bbb11 Merge branch 'develop' into feature/addressable-lists
5 years ago
Alex S beba7bbc85 removing synchronization worker
5 years ago
Alex S f8786fa6f2 adding following_address field to user
5 years ago
Egor Kislitsyn 5104f65b69 Wrap error messages into gettext helpers
5 years ago
Sergey Suprunenko 2d2b50ccca Send and handle "Delete" activity for deleted users
5 years ago
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
Maksim bb8065a1fd tests MRF filters
5 years ago
Haelwenn 95c085174d Merge branch 'test-speedup' into 'develop'
5 years ago
lain abe2e8881f Testing: Don't federate in testing.
5 years ago
Ivan Tashkinov 2b9d914089 [#161] Refactoring, documentation.
5 years ago
Ivan Tashkinov 5b7b1040b3 [#161] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching.
5 years ago
William Pitcock 034986e1fd MRF: add mediaproxy warming policy
5 years ago
Sergey Suprunenko 2c63c67512 Rework user deletion
5 years ago
Eugenij f2c03425b0 Broadcast conversation update when DM is deleted
5 years ago
William Pitcock 127a5a7d65 change the anti-link-spam MRF implementation to use old_user? instead of the previous name
5 years ago
William Pitcock 21dacd4b15 unbreak polls
5 years ago
William Pitcock 736d8ad6be implement anti link spam MRF
5 years ago
Alexander Strizhakov c2ca1f22a2 it is changed in compile time
5 years ago
rinpatch d020f68e87 Transmogrifier: Do not crash if inReplyTo does not exist and can't be fetched
5 years ago
lain e1370ba131 Utils: Use update_follow_state_for_all when appropriate.
5 years ago
lain ad19bfc7fe Utils: Split update_follow_state and update_follow_state_for_all.
5 years ago
lain 076c9ae40e User: Remove superfluous `maybe_follow`.
5 years ago
lain 3115b64cfe Transmogrifier: Add tests for incoming follows to locked accounts.
5 years ago
Egor Kislitsyn 6ba9055b51 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Maksim Pechnikov 1e7bb69a95 update ActivityPub#fetch_activities_query
5 years ago
Maksim Pechnikov d3d1704e84 Merge branch 'develop' into issue/941
5 years ago
Maksim Pechnikov 0acfcf6c52 update ActivityPub#fetch_activities_query
5 years ago
rinpatch 29b022bb59 Restrict `get_existing_votes` to only get Create activities
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
William Pitcock 37a4ba0624 utils: access inReplyTo as an explicit string when fetching poll results`
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
kaniini 9f0d0d0805 Merge branch 'feature/mrf-subchain' into 'develop'
5 years ago
Maksim Pechnikov 080e1aa70e add option skip_thread_containment
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch 5bd41fef8b Change query order in fetch_activities_for_context_query to make poll vote exclusion work
5 years ago
William Pitcock 561a21986d formatting
5 years ago
William Pitcock 4087ccdab8 mrf: add subchain policy
5 years ago
William Pitcock edf772d41e mrf: allow a policy chain to be specified when filtering
5 years ago
rinpatch 65db5e9f52 Resolve merge conflicts
5 years ago
rinpatch 300d94c628 Add poll votes
5 years ago
kaniini e706b42f51 Merge branch 'bugfix/visibility-indicator-litepub-dm' into 'develop'
5 years ago
Sergey Suprunenko 2bbc2a801f Remove all follower collections but actor's from "cc"
5 years ago
William Pitcock f2efe24cf8 visibility: if litepub:directMessage is asserted, always report the object as "direct" visibility
5 years ago
lambda 2993361075 Merge branch 'hotfix/leaking-lists' into 'develop'
5 years ago
rinpatch d9c0650ff9 Mastodon API: Fix lists leaking private posts
5 years ago
rinpatch a9eaa55885 Fix fix_explicit_addressing moving follower collection to cc and add tests for it
5 years ago
Egor Kislitsyn 99f70c7e20 Use Pleroma.Config everywhere
5 years ago
lambda 5bb843ceec Merge branch 'refactor/die-httpoison-die' into 'develop'
5 years ago
William Pitcock 79503ce90f mrf: simple policy: fix matching imported activitypub and ostatus statuses
5 years ago
William Pitcock 9bec891eb4 kill @httpoison
5 years ago
Egor Kislitsyn f333041a0a Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
rinpatch 8b2d39c1ec Change the order of preloading when fetching activities for context
5 years ago
William Pitcock baf72d6c58 mrf: simple policy: add the ability to strip avatars and banners from user profiles
5 years ago
William Pitcock 60f882b09f activitypub: run user objects through MRF filters
5 years ago
William Pitcock 75b6c4b004 mrf: defang policy modules for filtering user profile objects
5 years ago
rinpatch ac7702f800 Exclude Answers from fetching by default
5 years ago
rinpatch 19c90d47c4 Normalize poll votes to Answer objects
5 years ago
William Pitcock 045803346d move key generation functions into Pleroma.Keys module
5 years ago
rinpatch ee68244141 Do not stream out poll replies
5 years ago
rinpatch d7c4d029c8 Restrict poll replies when fetching activiites for context
5 years ago
rinpatch aafe30d94e Handle poll votes
5 years ago
Aaron Tinio eb02edcad9 Add virtual :thread_muted? field
5 years ago
Aaron Tinio 2375e9a95b Add report filtering to MRF.SimplePolicy
5 years ago
rinpatch 6430cb1bf7 Restrict poll replies from fetch queries by default
5 years ago
rinpatch 5ece901af3 Resolve merge conflicts and remove IO.inspects
5 years ago
William Pitcock 78588dbd80 mrf: simple policy: mark all posts instead of posts with media as sensitive if they match media_nsfw
5 years ago
Egor Kislitsyn 3b71612d3d Improve Pleroma.Web.ActivityPub.ActivityPub.maybe_update_cc/3
5 years ago
Egor Kislitsyn 557f0e33a7 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Alexander Strizhakov 7ed682213f Fix/902 random compile failing
5 years ago
Aaron Tinio 70235ce840 Fix typo: s/"tags"/"tag"/g
5 years ago
Sergey Suprunenko e2b3a27204 Add Reports to Admin API
5 years ago
feld e190b3022b Merge branch 'fix/domain-unblocked-reblogs' into 'develop'
5 years ago
Mark Felder ebb0482116 Merge branch 'develop' into conversations-import
5 years ago
Egor Kislitsyn fc7246d715 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Aaron Tinio 793f1834d2 Use named binding to conditionally join object
5 years ago
Aaron Tinio 2b6119dfbf Restrict reblogs of activities from blocked domains
5 years ago
rinpatch 62e42b03ab Handle incoming Question objects
5 years ago
William Pitcock a591ab6112 activity pub: remove Ecto SQL query dumps
5 years ago
William Pitcock 31db31c587 activitypub: visibility: use SQL thread_visibility() function instead of manually walking the thread
5 years ago
William Pitcock de114ffbb0 activitypub: remove contain_timeline()
5 years ago
William Pitcock 0387f52138 activitypub: add restrict_thread_visibility()
5 years ago
lain f168a1cbdc Merge remote-tracking branch 'origin/develop' into conversations-import
5 years ago
lambda 4440e23547 Merge branch 'chore/extricate-http-signatures' into 'develop'
5 years ago
lain cbb3451023 CommonAPI: Refactor visibility, forbid public to private replies.
5 years ago
Egor Kislitsyn a7a8f3bc2c Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
William Pitcock 071f78733a switch to pleroma/http_signatures library
5 years ago
lambda 692919c7d2 Merge branch 'refactor/use-job-queue-everywhere' into 'develop'
5 years ago
Egor Kislitsyn e82e73478e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Egor Kislitsyn 5e2b491276 Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Mark Felder 498bfdf403 Switch to Jason over Poison
5 years ago
William Pitcock 57d11ac9db activitypub: move post rich media fetching to job queue
5 years ago
Egor Kislitsyn 23276e8d68 Use pseudo ap id of a list in BCC
5 years ago
William Pitcock 44b182732e nodeinfo: gather supported protocol names from federation modules
5 years ago
William Pitcock 28f7f4c6de webfinger: build the response based on enabled federation modules
5 years ago
William Pitcock c23276a59a activitypub: publisher: fixups
5 years ago
William Pitcock 85377c0b67 federator: move activitypub relaying to the AP publisher module
5 years ago
William Pitcock ef1f9e8d4e activitypub: split out outgoing federation into a federation module
5 years ago
lain a33bec7d58 Conversations: Import order, import as read.
5 years ago
lain e6d7f8d223 Credo fixes.
5 years ago
lain a4598b5e8b Visibility: Make it more resilient.
5 years ago
lain 920bd47055 ActivityPub: Remove leftover printf debugging.
5 years ago
lain fcf2f38d20 Conversations: Add a function to 'import' old DMs.
5 years ago
kaniini 14deed7f7d Merge branch 'refactor/preload-bookmarks-with-activities' into 'develop'
5 years ago
William Pitcock 6020ff3fb6 activitypub: add optional order constraint to timeline query builder
5 years ago
rinpatch 4c5125dedc Remove `bookmarks` assoc and add a fake `bookmark` assoc instead
5 years ago
rinpatch f841eb7cdb Preload bookmarks wherever the object is preloaded
5 years ago
kaniini a1a0df19c4 Merge branch 'docs/MRF-modules' into 'develop'
5 years ago
lambda 238dd72fad Merge branch 'conversations_three' into 'develop'
5 years ago
Egor Kislitsyn 1557b99beb Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Haelwenn (lanodan) Monnier e41a2f98d5
mrf/tag_policy.ex: Add some documentation
5 years ago
Haelwenn (lanodan) Monnier af62ace954
Add short documentation on every MRF Policy
5 years ago
Haelwenn (lanodan) Monnier 2f76a40d02
formatter.ex: Add get_emoji_map/1
5 years ago
lain 81d1aa424d Streamer: Stream out Conversations/Participations.
5 years ago
lain 45f790becc Merge remote-tracking branch 'origin/develop' into conversations_three
5 years ago
Egor Kislitsyn a3dc02d282 Add addressable lists
5 years ago
Alex S f11e7037c2 test fixes
5 years ago
Alex S bdfa3a6fa8 Merging with develop
5 years ago
rinpatch ce4825c1dc Do not normalize objects in stream_out unless the activity type is
5 years ago
Egor Kislitsyn c157e27a00 Merge branch 'develop' into feature/disable-account
5 years ago
William Pitcock 0fd0ffcd76 activitypub: transmogrifier: send reject follow if following does not succeed
5 years ago
rinpatch d21d921def Replace Object.normalize(activity.data[object] with Object.normalize(acitivty) to benefit from preloading
5 years ago
Egor b9cdf6d3b9 Use `User.get_cached*` everywhere
5 years ago
Egor Kislitsyn e8c2f9a73a Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Roman Chvanikov 24073f829f Refactor query to return only 1 message instead of 20
6 years ago
kaniini 9da8b287f8 Merge branch 'feature/database-compaction' into 'develop'
6 years ago
rinpatch f9865cf943 Stream out deletes, mistakingly removed when resolving merge conflicts
6 years ago
rinpatch 83589ca6a5 Merge branch 'develop' into feature/database-compaction
6 years ago
rinpatch 6069d0fd36 Fix object search depending on embeded object
6 years ago
rinpatch e31a22043b Fix media timeline depending on embeded object and add some guards
6 years ago
rinpatch 2abc09570f Use the preloaded object in tag queries
6 years ago
William Pitcock 36f78c6dcd activitypub: fix filtering of boosts from blocked users
6 years ago
William Pitcock 2140e164d7 activitypub: properly filter out transitive activities concerning blocked users
6 years ago
rinpatch 35ac672b8d Remove containment tests from transmogrifier and fix thread visibility solver
6 years ago
rinpatch 8e4d950f31 Remove updating reply count for embeded objects
6 years ago
rinpatch ad681877df Make credo happy
6 years ago
rinpatch 627e5a0a49 Merge branch 'develop' into feature/database-compaction
6 years ago
William Pitcock 750b369d04 activitypub: allow indirect messages from users being followed at a personal inbox
6 years ago
rinpatch 5d73dca064 Remove inReplyToStatusId
6 years ago
lambda 184ae60b21 Merge branch 'bugfix/pleroma-email-naming' into 'develop'
6 years ago
lambda 0a09692c7d Merge branch 'features/mastoapi/2.6.0-min_id-pagination' into 'develop'
6 years ago
Egor Kislitsyn db4badc6aa move user disable into deactivation
6 years ago
Egor Kislitsyn 0f2f7d2cec Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
6 years ago
lain 280172f6f6 Conversations: Create or bump on inserting a dm.
6 years ago
Haelwenn (lanodan) Monnier cae0231731
s/Pleroma.AdminEmail/Pleroma.Emails.AdminEmail/
6 years ago
Haelwenn (lanodan) Monnier 1791ee8ec4
s/Pleroma.Mailer/Pleroma.Emails.Mailer/
6 years ago
kaniini 0ab563d334 Merge branch 'hotfix/fix_undefined_summary' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier cf9ba8fe1b
transmogrifier.ex: Add fix_summary/1
6 years ago
lambda e19590c93f Merge branch 'improve_upgrade_user_from_ap_id' into 'develop'
6 years ago
Alexander Strizhakov 36c0a10fdf adding language tag
6 years ago
Egor Kislitsyn cfa6e7289f Improve Transmogrifier.upgrade_user_from_ap_id/2
6 years ago
Haelwenn 0cb94cfa94 Merge branch 'fix-slow-relationships' into 'develop'
6 years ago
lambda a79ce94dd4 Merge branch 'feature/fake-statuses' into 'develop'
6 years ago
lain 39bcf93007 Merge remote-tracking branch 'origin/develop' into fix-slow-relationships
6 years ago
lain fd07745d1b ActivityPub Utils: Greatly speed up the follow / block activity fetching.
6 years ago
Egor Kislitsyn 4212527928 change `Repo.get(Activity, id)` => `Activity.get_by_id(id)`
6 years ago
rinpatch fe5145eeaa Move putting fake attribute to lib/pleroma/web/activity_pub/utils.ex
6 years ago
rinpatch 975482f091 insert object defaults for fake activities and make credo happy
6 years ago
rinpatch d866b59eea oof
6 years ago
rinpatch 45ba10bf47 Fix the issue with HTML scrubber
6 years ago
rinpatch cd387f8693 Add a fake option to lazy_put_actvity_defaults
6 years ago
rinpatch 1bb4d5d65b Implement fake status submit
6 years ago
Haelwenn (lanodan) Monnier 6f15224053
activity_pub.ex: Move limit/max_id restrictions to Pagination helpers
6 years ago
rinpatch ce6d64bbd8 Fix missing announces in MastoAPI home timeline
6 years ago
lambda ff3b09f6b3 Merge branch 'fix/ap-icon' into 'develop'
6 years ago
lain 10a7a4a868 AP UserView: Refactor banner / avatar display code, add test.
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
Mark Felder c410296120 Try sending an empty map
6 years ago
Mark Felder 6f090f981b Attempt to fix incorrect federation of default instance avatars
6 years ago
rinpatch 750de7d842 Merge branch 'features/mrf-keyword-nil-summary' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier eab9425cc4
mrf/keyword_policy.ex: Fix when summary == nil, do not whitelist content == nil
6 years ago
William Pitcock 8c70156157 activitypub: object view: use preloaded object when possible
6 years ago
William Pitcock ce47eb8b29 activitypub: when fetching objects, use the preloaded object from the synthesized activity
6 years ago
William Pitcock 4cedf45423 relay: use preloaded object since we always have it
6 years ago
William Pitcock 73efe95368 activitypub: allow skipping preload in some cases (like certain tests where the preload is obnoxious)
6 years ago
William Pitcock ba7299fc87 activitypub: add missing with_preloaded_object()
6 years ago
William Pitcock e4307cadc8 activitypub: splice in the child object if we have one
6 years ago
William Pitcock 9aea7cc224 activitypub: preload child objects when fetching timelines
6 years ago
William Pitcock 1685e4258f transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection
6 years ago
William Pitcock cd055983c3 transmogrifier: when determining followers collection URI, we may need to fetch the actor
6 years ago
William Pitcock d487b753c3 activitypub: transmogrifier: do not allow missing lists to be interpreted as nil
6 years ago
William Pitcock 798da28812 activitypub: transmogrifier: ensure as:Public activities are delivered to followers
6 years ago
Zachary Dunn 5ba14c664b Fix missing end brace
6 years ago
Zachary Dunn a2e03d4f3c Initial attempt at updating return type
6 years ago
kaniini 6d6f48d079 Merge branch 'feature/federated-flags' into 'develop'
6 years ago
Karen Konou d8244c2a1b remove unused function
6 years ago
Karen Konou 15b21d1983 refactor filtering mechanism
6 years ago
Karen Konou c8f31e0bc2 Implement mastodon's reblog hiding feature
6 years ago
William Pitcock 423fd07928 activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable
6 years ago
William Pitcock 5c7b774f09 reports: unify sending e-mail for both remote and local reports
6 years ago
William Pitcock 64b0120d67 activitypub: add support for forwarding reports
6 years ago
William Pitcock 379442ad17 activitypub: utils: also match Activity objects
6 years ago
William Pitcock 0f3ecb2bfb activitypub: transmogrifier: accept remote Flag activities
6 years ago
William Pitcock f86f7dbb8f activitypub: utils: rework make_flag_data to accept either activity payloads or IRIs
6 years ago
rinpatch 34fc0dca2e Merge branch 'hotfix/delete-activities' into 'develop'
6 years ago
rinpatch e630e5e135 Fix delete activities not federating
6 years ago
Haelwenn (lanodan) Monnier 23960309a0
[Credo] Change quoted string with 3+ quotes to sigils
6 years ago
Haelwenn (lanodan) Monnier c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
Haelwenn (lanodan) Monnier c3d41b2b6e
[Credo] make all variables use snake_case
6 years ago
Haelwenn (lanodan) Monnier fb82f6fc7c
[Credo] Remove parentesis on argument-less functions
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago