Commit Graph

826 Commits (d46cc7896e2434857cfd317709011f57c729877a)

Author SHA1 Message Date
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
lain 9854978b8b Remove recent activity restriction.
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
sxsdv1 2d7da5f437 Don't crash on AP request for tombstone
6 years ago
sxsdv1 4e1cc2bab6 Implement delete activity
6 years ago
sxsdv1 551c3d9391 Split create activity specifics from update_outbox
6 years ago
lain 096a927805 Merge remote-tracking branch 'origin/develop' into pool-usage
6 years ago
lain d4799e0dc2 Remove default pool, it's used automatically anyway.
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
sxsdv1 f40562b4e1 Respond with full activity to outbox post
6 years ago
sxsdv1 1e781715c8 Limit activity types accepted to outbox to only 'Create'
6 years ago
sxsdv1 569bad8210 Create activity when client posts to outbox
6 years ago
sxsdv1 26dc2dddab Implement ActivityPub inbox view
6 years ago
sxsdv1 aa082ca7b6 Wire up stub routes for client calls of activitypub inbox/outbox
6 years ago
kaniini 3dc5f04976 Merge branch 'carrot-bullying' into 'develop'
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
lain 5811e65e67 Add some hard limits on inserted activities.
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
William Pitcock 71f6d9f418 transmogrifier: significantly rework handling of peertube videos, add test
6 years ago
Haelwenn (lanodan) Monnier 3aff8067e4 transmogrifier: When it’s a Video move "url" to "attachment"
6 years ago
Karen Konou a7f07bb6e5 Implement kaniini's tweaks
6 years ago
Karen Konou c76179419d Renamed the things
6 years ago
Karen Konou 409ff60bf8 Fix formatting
6 years ago
Karen Konou 92362e1e22 Implement large thread filter
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
kaniini abead01ab6 Merge branch 'correct-and-improve-http-options' into 'develop'
6 years ago
kaniini b0adea30b3 Merge branch 're-mrf' into 'develop'
6 years ago
scarlett d27e3f269f Rename regular expression 'have_re' to 'reply_prefix'.
6 years ago
scarlett 3dff61ebec Harden re: detection.
6 years ago
scarlett 6a6aaa0e1a Use object.normalize.
6 years ago
Hakaba Hitoyo a09ed0f5af avoid mix format bug
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
Hakaba Hitoyo 96ba95df2e remove follow_redirect options
6 years ago
Hakaba Hitoyo 27792b2d77 remove pool and timeout options which duplicate with the default
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
Ivan Tashkinov 3b5be09f45 [#210] Stylistic change.
6 years ago
Ivan Tashkinov c4f3c5e939 [#210] Stylistic change.
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
scarlett 8a1df182cf Add a MRF Policy for appending re: to identical subjects in replies.
6 years ago
kaniini 114b95cee2 Merge branch 'feature/integration_tesla' into 'develop'
6 years ago
William Pitcock b57d83e3c9 MRF: simple policy: fix media removal
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
William Pitcock b3b52b58c3 activitypub: transmogrifier: remove obsolete fetch_obj_helper()
6 years ago
William Pitcock f85949cc69 object: factor out fetching functions into Pleroma.Object.Fetcher module
6 years ago
William Pitcock e8caecb5c7 object: move object containment out of transmogrifier into it's own module
6 years ago
William Pitcock 6f90f2c3ac activitypub: rework thread filtering for split object view
6 years ago
William Pitcock cf139e3eec activitypub: transmogrifier: ensure we send nested object in Create
6 years ago
William Pitcock d13d953385 activitypub: implement activity flattening
6 years ago
William Pitcock 57d90e7afe activitypub: relay: fix improper use of Object.normalize()
6 years ago
William Pitcock 4482ce7e2d activitypub: normalize objects when streaming them out
6 years ago
lain 6be0ab1e55 Hide network in ap.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain 8f1fffebc6 Fix transmogrifier test.
6 years ago
William Pitcock 8c05d19c7f MRF: add user allowlist module
6 years ago
kaniini 675653ceb7 Merge branch 'feature/admin-api' into 'develop'
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
lain 40d9d2098c Fix user updating from AP.
6 years ago
lain 4c918392c6 Fix most User tests.
6 years ago
William Pitcock f6be980f4f activitypub: object view: avoid leaking private details
6 years ago
William Pitcock dfcfb184b1 activitypub: transmogrifier: make deletes secure
6 years ago
Haelwenn (lanodan) Monnier 12ccf0c4f8
Change Relay from `status` to `{status, message}`
6 years ago
William Pitcock c88533209c activitypub: user fetching: use fetch_and_contain_remote_object_from_id()
6 years ago
William Pitcock daa8ec3d62 activitypub: factor out AP object fetching to it's own function and add ID-based containment
6 years ago
Haelwenn (lanodan) Monnier 265c8c5209
Pleroma.Web.ActivityPub.Relay: make {un,}follow return :ok only if it worked, :error if it didn’t
6 years ago
William Pitcock 603fccf175 activitypub: fetch_object_from_id(): prefer `actor` over `attributedTo` to avoid spoofing
6 years ago
William Pitcock 97e50f3191 activitypub: transmogrifier: sanitize internal representation details from outgoing objects
6 years ago
William Pitcock f8310114a6 activitypub: object view: sanitize both the activity and the object when an activity is given for rendering
6 years ago
kaniini 7daa102fa4 Merge branch 'bugfix/local-jsonld-context' into 'develop'
6 years ago
William Pitcock e4971553c7 activitypub: utils: use same object type list for mention extraction as insertion
6 years ago
William Pitcock b9871e7e5a activitypub: utils: wrap Note objects in a Create when extracting mentions
6 years ago
William Pitcock 6cadfcb21e activitypub: utils: switch to using new Notification.get_notified_from_activity().
6 years ago
William Pitcock 6b4064fa5d activitypub: transmogrifier: unify mention extraction
6 years ago
Haelwenn (lanodan) Monnier 934125695d
Move /litepub-1.0.jsonld to /schemas/litepub-0.1.jsonld
6 years ago
William Pitcock 3e33479c05 activitypub: transmogrifier: only consider `to` users as mention targets
6 years ago
Haelwenn (lanodan) Monnier abcacec97d
Pleroma.Web.ActivityPub.Utils: Use locally-served JSON-LD Litepub context instead of Github-hosted one
6 years ago
William Pitcock da16ada424 utils: use litepub @context instead of that huge mess
6 years ago
William Pitcock f733470037 user view: unify a @context entry that was missed
6 years ago
lambda 59cf7cf235 Merge branch 'small-jsonld-refactor' into 'develop'
6 years ago
lain 34bd411781 Unify json ld header handling.
6 years ago
lain 3b02fd9fb7 Small refactor.
6 years ago
kaniini b451a92d78 Merge branch 'runtime-config' into 'develop'
6 years ago
href 9070588493
Runtime config: MRF changes
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
kaniini 0f3e78addb Merge branch 'runtime-router' into 'develop'
6 years ago
href 2bc924ba45
Get rid of Pleroma.Config in favor of Application
6 years ago
href 6fe23c5458
Runtime configured router
6 years ago
William Pitcock 9f03b5c4f7 activitypub: transmogrifier: add support for Page objects
6 years ago
kaniini eba9a62024 Merge branch 'feature/relay-tests' into 'develop'
6 years ago
Haelwenn 40676d7683 Merge branch 'bugfix/prismo.news_article_url' into 'develop'
6 years ago
lain 1e9ced5af4 Test Relay, switch to runtime configuration.
6 years ago
Haelwenn (lanodan) Monnier b2da5262ea
Pleroma.Web.ActivityPub.Transmogrifier: fix_url when not a string/empty
6 years ago
William Pitcock 10f3958468 object: return the deleted object as well
6 years ago
William Pitcock 2bf358d7b4 activitypub: use Object.delete() instead of mutating the database and cache directly
6 years ago
scarlett b92e38d2d4 Add user reactivation task.
6 years ago
William Pitcock 167d3789a5 activitypub: upload: pass through an upload limit if one is provided
6 years ago
William Pitcock 72ea54de6e activitypub: fix possible false positives with broken thread filtering
6 years ago
William Pitcock 26eb11c172 activitypub: add support for filtering broken threads out of timelines
6 years ago
William Pitcock f6cb963df2 activitypub utils: fix recipient check when the message is unaddressed (mastodon)
6 years ago
William Pitcock ce70eb8c00 activitypub utils: fix user splicing
6 years ago
William Pitcock 2f1f1a4f30 activitypub: splice users into recipient lists when they receive messages at their personal inbox
6 years ago
William Pitcock 5383887bd4 transmogrifier: do not try to contain origin of something which doesn't have one
6 years ago
William Pitcock a71b822013 activitypub: always track following state for async reasons
6 years ago
William Pitcock 8ce217776d activitypub transmogrifier: better manage follow state
6 years ago
William Pitcock 4db1bc2c0e activitypub: fix error condition match
6 years ago
William Pitcock 707077edde activitypub: don't fall back to OStatus fetching when MRF rejects an object
6 years ago
William Pitcock 5c312ad677 activitypub inbox: only accept unsigned/invalid-signature relayed creates, nothing else
6 years ago
Haelwenn (lanodan) Monnier c739737998
transmogrifier: get_actor called without casting attributedTo in actor and actor is nil
6 years ago
Haelwenn (lanodan) Monnier 9446b02bdf
transmogrifier: Just make attachement maps into a list and reroll
6 years ago
Haelwenn (lanodan) Monnier e53da692fb
transmogrifier: Use the correct variable and prefer inspect in case of a bad type being passed on
6 years ago
William Pitcock d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
6 years ago
Haelwenn (lanodan) Monnier 4c3a80de96
transmogrifier: Use oneliners when applicable
6 years ago
William Pitcock ed8dfa3029
transmogrifier: reformat `cond` block by hand
6 years ago
Haelwenn (lanodan) Monnier eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
6 years ago
Haelwenn (lanodan) Monnier f3291acc91
transmogrifier: pro-actively add support for Hashtag without array in tag
6 years ago
Haelwenn (lanodan) Monnier 22927f3a34
transmogrifier: Use a cond, add proactive support for arrays
6 years ago
Haelwenn (lanodan) Monnier 0aac72f1d3
[Pleroma.Web.ActivityPub.Transmogrifier]: quick fix when tag is a Map
6 years ago
Haelwenn (lanodan) Monnier 28e8a8ab36
[Pleroma.Web.ActivityPub.Transmogrifier]: fix emoji in tag when it’s not in a array [kroeg]
6 years ago
Haelwenn (lanodan) Monnier f8a0cb9c0b
[Pleroma.Web.ActivityPub.Transmogrifier]: fix when attachment contain is just a Map [kroeg]
6 years ago
Haelwenn (lanodan) Monnier a4abb124ea
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix when inReplyTo is a inlined post [kroeg]
6 years ago
Haelwenn (lanodan) Monnier 523757be52
[Pleroma.Web.ActivityPub.ActivityPub]: Harden getting endpoints [kroeg]
6 years ago
William Pitcock 342ed84446 MRF: add policy for normalizing HTML markup (local and remote) to a specific policy
6 years ago
William Pitcock d3248e13e3 activitypub: transmogrifier: allow profile updates from bots
6 years ago
William Pitcock e0b8c0ccba MRF: reject non-public: use pattern match to remove unnecessary if block
6 years ago
William Pitcock 88094c266d MRF: simple policy: refactor module to use guards and pattern matching
6 years ago
William Pitcock 97253df3ee MRF: simple policy: contain media removal/nsfw ops to create activities only
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
William Pitcock 03e92977cb transmogrifier: fix peertube/plume actor handling
6 years ago
William Pitcock 0b2c051a04 activitypub: fix possibility of spoofing by containing remote objects to the same domain as their actor
6 years ago
William Pitcock 29b5e30c46 activity: drop recipients_to/recipients_cc fields
6 years ago
William Pitcock de9acebbf3 activitypub: use jsonb query for containment instead of recipients_to/recipients_cc.
6 years ago
William Pitcock 643fae6e36 activitypub: allow querying the activity/object graph bounded to a specific to/cc set
6 years ago
William Pitcock 81673b8136 activity: add recipients_to and recipients_cc fields
6 years ago
Haelwenn (lanodan) Monnier 97e20d2932
[MastodonAPI] the tag field isn’t fixed to a static type in pleroma
6 years ago
Haelwenn (lanodan) Monnier 83efaa3af6
[MastodonAPI] Add streaming of hashtags
6 years ago
lambda 46c7c2380c Merge branch 'feature/relay' into 'develop'
6 years ago
lambda 440b459cd1 Merge branch 'bugfix/announce-timeline-flooding' into 'develop'
6 years ago
kaniini 63094cfd3e Merge branch 'feature/emoji-in-local-users' into 'develop'
6 years ago
kaniini 0f5bff8c66 Merge branch 'develop' into 'feature/relay'
6 years ago
William Pitcock 52b44184b4 transmogrifier: reject activities lacking a valid ID
6 years ago
Haelwenn (lanodan) Monnier f5b056e3ce
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix likes
6 years ago
Haelwenn (lanodan) Monnier 74c74decf5
Basic peertube support.
6 years ago
Haelwenn (lanodan) Monnier ef4f982e2c
Pleroma.Web.ActivityPub.Transmogrifier: Fix actor being a list of objects (Peertube)
6 years ago
eal f1c407e777 Merge branch 'fix/redirect-on-user-fetch' into 'develop'
6 years ago
eal 51a21284c6 ActivityPub: follow redirects when fetching user
6 years ago
kaniini 5fbb14f5ec Merge branch 'bugfix/federation-kroeg' into 'develop'
6 years ago
kaniini 38361e7b5e Merge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'
6 years ago
William Pitcock f446e75577 activitypub: transmogrifier: add necessary translations for kroeg
6 years ago
eal 1ed1ff17a4 ActivityPub user view: include tag if present.
6 years ago
William Pitcock de6be63b1b activitypub: do not show observable effects of non-public boosts
6 years ago
William Pitcock 0ca9b9ff96 run mix format
6 years ago
William Pitcock 1e1a29f084 activitypub: relay: fix up AS2 actor object
6 years ago
William Pitcock 2b628f2341 relay: only relay create activities
6 years ago
William Pitcock 56dc8db582 activitypub: relay: add relay following/followers collection URLs
6 years ago
William Pitcock 1c40a631e8 federator: actually relay the public activities
6 years ago
William Pitcock 266b314051 relay: fix invoking federator, use a timer to sleep the mix task to force a context switch
6 years ago
William Pitcock 99be3d3dcc relay: add relay follow/unfollow tasks
6 years ago
William Pitcock 1c90f88393 user: remote actors can have no nickname if they are virtual services
6 years ago
William Pitcock b7ca7f282a activitypub: refactor relay concerns into new relay module
6 years ago
William Pitcock 00e890264c activitypub: represent relay actor at instance root
6 years ago
William Pitcock 3be58ad34e activitypub: actually send digest header when federating
6 years ago
William Pitcock 2890aef9e8 activitypub: add digest header to outbound messages and sign it
6 years ago
Haelwenn (lanodan) Monnier 7501481db4
[Pleroma.Web.ActivityPub.Transmogrifier] Add Person finding
6 years ago
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