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 години