gotosocial/internal/federation/dereferencing
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
..
account.go [bugfix] harden checks for remotes masquerading as local, and return correct local account redirects early (#3706) 2025-01-30 10:40:21 +01:00
account_test.go [bugfix] harden checks for remotes masquerading as local, and return correct local account redirects early (#3706) 2025-01-30 10:40:21 +01:00
announce.go [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
authenticate.go [security] harden account update logic (#3198) 2024-08-13 15:37:09 +00:00
collection.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
dereferencer.go [feature] add support for clients editing statuses and fetching status revision history (#3628) 2024-12-23 17:54:44 +00:00
dereferencer_test.go [bugfix] harden checks for remotes masquerading as local, and return correct local account redirects early (#3706) 2025-01-30 10:40:21 +01:00
emoji.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
emoji_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
finger.go [bugfix] relax missing preferred_username, instead using webfingered username (#3189) 2024-08-13 09:01:50 +00:00
handshake.go [chore/security] refactor AuthenticateFederatedRequest() to handle account deref + suspension checks (#2371) 2023-11-21 11:35:30 +01:00
instance.go [bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756) 2025-02-11 13:16:14 +01:00
instance_test.go [bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756) 2025-02-11 13:16:14 +01:00
media.go [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
status.go [chore] replace statuses.updated_at column with statuses.edited_at (#3636) 2025-01-08 11:29:23 +01:00
status_permitted.go [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
status_test.go [chore] replace statuses.updated_at column with statuses.edited_at (#3636) 2025-01-08 11:29:23 +01:00
thread.go [chore] status dereferencing improvements (#3255) 2024-09-10 12:33:32 +00:00
util.go [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00