Ivan Tashkinov
1a46a13d15
[ #161 ] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching.
2019-08-14 02:08:52 +00:00
Ariadne Conill
f1147a3d7f
fix backport
2019-07-14 20:02:39 +00:00
Haelwenn (lanodan) Monnier
3e298cc85a
HttpRequestMock: Add missing mocks for object containment tests
2019-07-14 20:00:17 +00:00
Ariadne Conill
7523ab1495
object: fix backport
2019-07-14 19:39:37 +00:00
Haelwenn (lanodan) Monnier
48927b1d3b
Object.Fetcher: Keep the with-do block as per kaniini proposition
2019-07-14 19:30:39 +00:00
Haelwenn (lanodan) Monnier
e7a472a11f
Object.Fetcher: Fallback to OStatus only if AP actually fails
2019-07-14 19:30:13 +00:00
Ariadne Conill
6d715b7702
security: detect object containment violations at the IR level
...
It is more efficient to check for object containment violations at the IR
level instead of in the protocol handlers. OStatus containment is especially
a tricky situation, as the containment rules don't match those of IR and
ActivityPub.
Accordingly, we just always do a final containment check at the IR level
before the object is added to the IR object graph.
2019-07-14 19:28:47 +00:00
Egor
58a094b605
Add copyright info to containment.ex
2019-06-14 09:26:36 +00:00
Egor Kislitsyn
30e54fd7e2
Handle HTTP 404 response
2019-06-13 17:13:35 +07:00
Egor Kislitsyn
afae3ada22
Handle HTTP "410 Gone" response
2019-06-13 16:34:03 +07:00
William Pitcock
9bec891eb4
kill @httpoison
2019-05-25 04:24:21 +00:00
William Pitcock
73df9d690d
object: fetcher: add support for reinjecting pruned objects
2019-05-21 21:38:56 +00:00
William Pitcock
e71ddf23ba
containment: remove pointless moduledoc line
2019-05-07 16:11:22 +00:00
Haelwenn (lanodan) Monnier
69a5074893
Remove H1 in @moduledoc
2019-05-06 04:53:12 +02:00
rinpatch
d21d921def
Replace Object.normalize(activity.data[object] with Object.normalize(acitivty) to benefit from preloading
2019-04-22 11:27:29 +03:00
rinpatch
35ac672b8d
Remove containment tests from transmogrifier and fix thread visibility solver
2019-04-17 17:59:15 +03:00
rinpatch
e7c3c36766
Update functions in object fetcher for tesla and set up a proper mock for tests
2019-04-17 14:21:39 +03:00
rinpatch
627e5a0a49
Merge branch 'develop' into feature/database-compaction
2019-04-17 12:22:32 +03:00
William Pitcock
fed9b5404c
object: rework Object.normalize() a bit to support transparent fetching
2018-12-04 04:52:09 +00:00
William Pitcock
f85949cc69
object: factor out fetching functions into Pleroma.Object.Fetcher module
2018-12-04 04:52:09 +00:00
William Pitcock
e8caecb5c7
object: move object containment out of transmogrifier into it's own module
2018-12-04 04:52:09 +00:00