FloatingGhost
68894089e8
Do not fetch anything from blocked instances
2 years ago
FloatingGhost
f5a315f04c
Add URL and code to :not_found errors
...
Ref #355
2 years ago
floatingghost
db60640c5b
Fixing up deletes a bit ( #327 )
...
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/327
2 years ago
floatingghost
e1e0d5d759
microblogpub federation fixes ( #288 )
...
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/288
2 years ago
Haelwenn (lanodan) Monnier
3e0a5851e5
Set instance reachable on fetch
2 years ago
floatingghost
2641dcdd15
Post editing ( #202 )
...
Rebased from #103
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/202
2 years ago
Haelwenn (lanodan) Monnier
6d6bef64bf
fetcher_test: Remove assert on fake Create having an ap_id
4 years ago
Haelwenn (lanodan) Monnier
0b88accae6
fetcher_test: Fix missing mock function
4 years ago
Mark Felder
e854c35e65
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
...
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
4 years ago
rinpatch
6ca709816f
Fix object spoofing vulnerability in attachments
...
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
4 years ago
Alexander Strizhakov
7dffaef479
tests consistency
4 years ago