Thomas Citharel
d2f1c4f658
Add ActivityPub Object Event type support
Adds Event support in the same way Video objects are handled, with the
name of the object as message header.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
пре 4 година
lain
e835cd97f6
Containment: Add a catch-all clause to contain_origin.
пре 4 година
Ariadne Conill
5b60d82592
object containment: handle all cases where ID is invalid (missing, nil, non-string)
пре 4 година
Ariadne Conill
af9aa8e358
tests: simplify object fetching and containment tests
пре 4 година
Ariadne Conill
597cb8897b
tests: remove some more ostatus tests
пре 4 година
Maksim
a320358703
added test helpers to clear config after tests
пре 4 година
Sergey Suprunenko
b20020da16
Show the url advertised in the Activity in the Status JSON response
пре 5 година
Ariadne Conill
1345e0c2bf
tests: add tests for signed object fetches
пре 5 година
Ariadne Conill
739bbe0d3b
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.
пре 5 година
Haelwenn (lanodan) Monnier
a2c601acb5
FetcherTest: Containment refute called(OStatus.fetch_activity_from_url)
пре 5 година
feld
93a0eeab16
Add license/copyright to all project files
пре 5 година
Alex S
0f59265a50
salmon fix
removed some ownership sandbox error
пре 5 година
Egor Kislitsyn
30e54fd7e2
Handle HTTP 404 response
пре 5 година
Egor Kislitsyn
afae3ada22
Handle HTTP "410 Gone" response
пре 5 година
Sergey Suprunenko
84cc131b59
Add missing HTTP Request mocks
пре 5 година
William Pitcock
73df9d690d
object: fetcher: add support for reinjecting pruned objects
пре 5 година
rinpatch
ad681877df
Make credo happy
пре 5 година
rinpatch
e7c3c36766
Update functions in object fetcher for tesla and set up a proper mock for tests
пре 5 година
rinpatch
dda4e0e2a8
Fix warnings in object tests
пре 5 година
William Pitcock
f0439617ef
tests: some minor cleanups
пре 5 година
William Pitcock
e8caecb5c7
object: move object containment out of transmogrifier into it's own module
пре 5 година