gotosocial/testrig
tobi 469da93678
[security] Check all involved IRIs during block checking (#593)
* tidy up context keys, add otherInvolvedIRIs

* add ReplyToable interface

* skip block check if we own the requesting domain

* add block check for other involved IRIs

* use cacheable status fetch

* remove unused ContextActivity

* remove unused ContextActivity

* add helper for unique URIs

* check through CCs and clean slice

* add GetAccountIDForStatusURI

* add GetAccountIDForAccountURI

* check blocks on involved account

* add statuses to tests

* add some blocked tests

* go fmt

* extract Tos as well as CCs

* test PostInboxRequestBodyHook

* add some more testActivities

* deduplicate involvedAccountIDs

* go fmt

* use cacheable db functions, remove new functions
2022-05-23 11:46:50 +02:00
..
media [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
config.go [feature] Add log-db-queries config option (#465) 2022-04-18 16:47:11 +02:00
db.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
email.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
federatingdb.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
federator.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
log.go [bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561) 2022-05-13 13:35:41 +02:00
mediahandler.go test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
oauthserver.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
processor.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
router.go testrig: override bind address from environment variable (#577) 2022-05-16 15:05:44 +02:00
storage.go pass reader around instead of []byte 2022-01-16 18:52:55 +01:00
testmodels.go [security] Check all involved IRIs during block checking (#593) 2022-05-23 11:46:50 +02:00
transportcontroller.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
typeconverter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00