aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/object
AgeCommit message (Collapse)Author
2021-03-25mastodon pinsAlexander Strizhakov
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-11-17Remove FedSocketsrinpatch
Current FedSocket implementation has a bunch of problems. It doesn't have proper error handling (in case of an error the server just doesn't respond until the connection is closed, while the client doesn't match any error messages and just assumes there has been an error after 15s) and the code is full of bad descisions (see: fetch registry which uses uuids for no reason and waits for a response by recursively querying a ets table until the value changes, or double JSON encoding). Sometime ago I almost completed rewriting fedsockets from scrach to adress these issues. However, while doing so, I realized that fedsockets are just too overkill for what they were trying to accomplish, which is reduce the overhead of federation by not signing every message. This could be done without reimplementing failure states and endpoint logic we already have with HTTP by, for example, using TLS cert auth, or switching to a more performant signature algorithm. I opened https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further discussion on alternatives to fedsockets. From discussions I had with other Pleroma developers it seems like they would approve the descision to remove them as well, therefore I am submitting this patch.
2020-11-12Fix object spoofing vulnerability in attachmentsrinpatch
Validate the content-type of the response when fetching an object, according to https://www.w3.org/TR/activitypub/#x3-2-retrieving-objects. content-type headers had to be added to many mocks in order to support this, some of this was done with a regex. While I did go over the resulting files to check I didn't modify anything unrelated, there is a possibility I missed something. Closes pleroma#1948
2020-09-18Federate data through persistent websocket connectionsSteven Fuchs
2020-09-11Fetcher: Correctly return MRF reject reasonHaelwenn (lanodan) Monnier
2020-09-08Remove OStatus in testsuiteHaelwenn (lanodan) Monnier
2020-09-03Merge branch 'bugfix/incoming-poll-emoji' into 'develop'lain
Fix emoji in Question, force generated context/context_id insertion Closes #1870 See merge request pleroma/pleroma!2915
2020-09-02correct pool and uniform headers formatAlexander Strizhakov
2020-09-01fetcher: Remove fix_object call for Question activitiesHaelwenn (lanodan) Monnier
2020-08-18fetcher: fallback to [] when to/cc is nilHaelwenn (lanodan) Monnier
Related: https://git.pleroma.social/pleroma/pleroma/-/issues/2063
2020-07-31Merge remote-tracking branch 'pleroma/develop' into features/poll-validationHaelwenn (lanodan) Monnier
2020-07-15SideEffects: port ones from ActivityPub.do_create and ActivityPub.insertHaelwenn (lanodan) Monnier
2020-07-15fetcher: Reinject Question through validatorHaelwenn (lanodan) Monnier
2020-07-15fetcher: more descriptive variable namesHaelwenn (lanodan) Monnier
2020-07-13Use Logger.info for {:reject, reason}Haelwenn (lanodan) Monnier
2020-06-26object/fetcher: Pass full Transmogrifier errorHaelwenn (lanodan) Monnier
2020-04-06Merge branch 'remake-remodel-2' into 'develop'lain
Ingestion Pipeline Revamp See merge request pleroma/pleroma!2315
2020-03-19Merge branch 'remake-remodel' into developlain
2020-03-03Merge branch 'develop' into gunAlexander Strizhakov
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-29Merge branch 'develop' into gunAlexander Strizhakov
2020-02-25Fix Dialyzer warningsEgor Kislitsyn
2020-02-18adding gun adapterAlexander Strizhakov
2020-02-15[#1505] Restricted max thread distance for fetching replies on incoming ↵Ivan Tashkinov
federation (in addition to reply-to depth restriction).
2020-01-22Merge branch 'no-error-404' into 'develop'rinpatch
Log at debug level for object deletion, not error. See merge request pleroma/pleroma!2066
2019-12-13Don't log when users or objects are deleted.Phil Hagelberg
2019-12-10Change log levelEgor Kislitsyn
2019-12-04Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodellain
2019-11-23fetcher: move local object checking into a reusable functionrinpatch
2019-11-12Containment: Add a catch-all clause to contain_origin.lain
2019-11-08object containment: handle all cases where ID is invalid (missing, nil, ↵Ariadne Conill
non-string)
2019-11-07Fetcher: fix local check returning unwrapped objectrinpatch
This resulted in error messages about failed refetches being logged.
2019-11-06Object Fetcher: set cache after reinjectingrinpatch
Probably fixes the issue hj had, where polls would have different counters between endpoints.
2019-11-05Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodellain
2019-10-24object fetcher error handlingstwf
2019-10-18object: containment: simplify the pattern match for OStatus testsuite hackAriadne Conill
2019-10-18object: containment: only allow OStatus references in test suite environmentAriadne Conill
2019-10-18object: fetcher: fix up formattingAriadne Conill
2019-10-18object: containment: also allow OStatus object IDs through when comparing ↵Ariadne Conill
origins
2019-10-18object: fetcher: improve error reportingAriadne Conill
2019-10-18object: containment: don't try to contain ostatus objectsAriadne Conill
2019-10-18object fetcher: fix up error handlingAriadne Conill
2019-10-18fix up some testsAriadne Conill
2019-10-18kill almost all of the OStatus moduleAriadne Conill
2019-10-16Transmogrifier: Use new ingestion pipeline for Likes.lain
2019-09-19Merge branch 'develop' into test/activity_pub/transmogrifier.exMaksim Pechnikov
2019-09-18Fix credo issuesrinpatch
2019-09-18Do not refetch local objectsrinpatch