gotosocial/internal/federation
alemi.dev d0de3ad492
[bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756)
* feat: check X-Robots-Tag

when accessing /api/v1/instance or /nodeinfo endpoints respect
X-Robots-Tag

* chore: go fmt ./...

* Check robots.txt as well, add tests

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2025-02-11 13:16:14 +01:00
..
dereferencing [bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756) 2025-02-11 13:16:14 +01:00
federatingdb [chore] remove type switch in Create() and instead move to FederatedCallbacks() (#3697) 2025-01-28 20:22:23 +00:00
authenticate.go [chore] remove type switch in Create() and instead move to FederatedCallbacks() (#3697) 2025-01-28 20:22:23 +00:00
clock.go
commonbehavior.go
federatingactor.go
federatingactor_test.go
federatingprotocol.go [bugfix] Don't panic on delivery of Activity with no object (#3730) 2025-02-03 11:52:24 +00:00
federatingprotocol_test.go
federator.go [chore] remove type switch in Create() and instead move to FederatedCallbacks() (#3697) 2025-01-28 20:22:23 +00:00
federator_test.go
gone.go
transport.go [chore] remove type switch in Create() and instead move to FederatedCallbacks() (#3697) 2025-01-28 20:22:23 +00:00