Commit Graph

962 Commits (ba5e14be05c78a8905747d7c9930b3b23a9bdb18)

Author SHA1 Message Date
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
eugenijm 6038c8a753 Broadcast deleted activity id on deletion to conform to MastoAPI streamig spec
6 years ago
kaniini 130fc9eae6 Merge branch 'fetch-posts-on-first-federation' into 'develop'
6 years ago
Ekaterina Vaartis 5021b7836f Fetch user's outbox posts on first federation with that user
6 years ago
William Pitcock e53a9fd15e MRF: anti followbot: gracefully handle accounts without a display name
6 years ago
rinpatch 992145e64c Merge branch 'bugfix/delete-activity-audience' into 'develop'
6 years ago
Karen Konou c2faae70df Adjust delete activity audience to match the deleted object
6 years ago
Karen Konou 6a69ece437 Revert existing object check
6 years ago
Karen Konou 28d5b40d0a Add handling of objects not in database
6 years ago
rinpatch 33c614bce0 Stop adresssing like activities to actor's follower collection on non-public posts
6 years ago
Egor Kislitsyn eb84de0143 allow users to disable their own account
6 years ago
Karen Konou 1445dc25d4 fix format
6 years ago
Karen Konou aab86698a5 Expand "to" of delete activities
6 years ago
kaniini c93479c6f5 Merge branch 'count-only-public-statuses' into 'develop'
6 years ago
eugenijm d5418e9ff7 Remove follow_request_count as it's not needed for FE anymore.
6 years ago
lambda 9b63fda9c7 Merge branch 'fix/dont-show-dms-in-mentions-timeline' into 'develop'
6 years ago
eugenijm c46950d3b1 Increment user note count only on public activities
6 years ago
William Pitcock 689b0730f8 activitypub: fix date header format
6 years ago
rinpatch 1341ee650e [#675] Do not show DMs in mentions timeline
6 years ago
lain c4235f96bd Add `with_muted` param.
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
lain 62296f5a25 Fix private post card handling.
6 years ago
KZ 7c722c08f5 Fix: Fixing an outbox related bug when local user activity is empty
6 years ago
William Pitcock f8a72f2997 activitypub: sign http date header
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
Ekaterina Vaartis 5a46d37af9 Update the mute implementation to the current codebase
6 years ago
Ekaterina Vaartis f41f017bbc Implement muting, add it to the mastodon API
6 years ago
lambda f25a3f4f78 Merge branch 'fix/check-follower-collection-in-is_private' into 'develop'
6 years ago
rinpatch 96dcacade1 properly check for follower address in is_private?
6 years ago
kaniini 833161b5d2 Merge branch 'feature/jobs' into 'develop'
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
rinpatch 8f98d970c1 Fix recipient count in hellthread policy
6 years ago
rinpatch 921571c19b Merge branch 'hellthread-filter-fix' into 'develop'
6 years ago
Karen Konou c2e0a0c8d4 Readd threshold is not 0 check, optmization?
6 years ago
Karen Konou dca6bee2f7 Rename test, add check for follower collection when delisting
6 years ago
rinpatch b63a5e309d Merge branch 'bugfix/actor-containment' into 'develop'
6 years ago
Karen Konou d943c90249 Add tests, change default config values, fix a bug
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
lambda ea2698beb7 Merge branch 'bugfix/activitypub-reserialization' into 'develop'
6 years ago
William Pitcock 56862f4ce1 activitypub: clean up logging statements a little
6 years ago
William Pitcock 72ba5b4ab7 activitypub: user view: formatting
6 years ago
William Pitcock 5307c211b8 activitypub: user view: report totalItems=0 for follows/followers when hidden
6 years ago
William Pitcock 6542b86292 activitypub: user view: remove totalItems from user outbox
6 years ago
William Pitcock ee2fa1a314 activitypub: user view: remove totalInbox from user inbox view
6 years ago
William Pitcock 64620d8980 activitypub: user view: do not expose oAuth endpoints for instance users
6 years ago
William Pitcock e05bf2940f activitypub: transmogrifier: correctly handle nil inReplyTo value
6 years ago
William Pitcock 94cbbb0e3a activitypub: transmogrifier: do not attempt to expand pre-existing AS2 tag objects
6 years ago
William Pitcock 9bd6ed975e activitypub: user view: use route helpers instead of hardcoded URIs
6 years ago
William Pitcock 29e946ace4 activitypub: user view: add oauthRegistrationEndpoint to user profiles
6 years ago
William Pitcock db8abd958d activitypub: user view: fix up endpoints rendering
6 years ago
William Pitcock 90facd3598 user view: add AP C2S oauth endpoints to local user profiles
6 years ago
Karen Konou bef9b9cb66 refactored code
6 years ago
Karen Konou adcdd21f16 Merge branch 'develop' into hellthread-filter-fix
6 years ago
Karen Konou 1d727cd069 added checks for public url and follower collections
6 years ago
rinpatch 379d04692c Filter summary in keywordpolicy
6 years ago
lambda d53e36bf1e Revert "Merge branch 'object-creation' into 'develop'"
6 years ago
Egor Kislitsyn 305d219413 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
kaniini 6c8d15da11 Merge branch 'fix/credo-issues' into 'develop'
6 years ago
lain f8388be9c6 Do object insertion through Cachex
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
Haelwenn (lanodan) Monnier d2e4eb7c74
Web.ActivityPub.ActivityPub: assign the Enum.filter to recipients & simplify it
6 years ago
Haelwenn (lanodan) Monnier 60ea29dfe6
Credo fixes: alias grouping/ordering
6 years ago
Haelwenn (lanodan) Monnier 8bcfac93a8
Make credo happy
6 years ago
rinpatch 7356659273 wow
6 years ago
rinpatch f88dec8b33 What idiot did that? (me)
6 years ago
rinpatch 6c21f5aa16 Merge branch 'develop' into feature/keyword-policy
6 years ago
rinpatch 8a0b755c19 rename ftl_removal to federated_timeline_removal to keep consistent naming with SimplePolicy
6 years ago
rinpatch 46aa8c18a2 Add keyword policy
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
rinpatch f7aedbcc55 Merge branch 'fix/activitypub-user-view-badmap' into 'develop'
6 years ago
href f753043ce0
Fix if clause in activity_pub user_view
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
kaniini d120aa63f0 Merge branch 'fix-dm-index' into 'develop'
6 years ago
kaniini 681ba1e52f Merge branch 'feature/ap-c2s-whoami' into 'develop'
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago