gotosocial/testrig
tobi 5f00d4980b
[feature] Implement /api/v1/instance/peers endpoint (#660)
* add missing license headers

* start adding instance peers get

* rename domainblock.go

* embed domain in domainblock so it can be reused

* update swagger docs

* add test instances to db

* update tests

* add/update instancepeersget

* update domain model

* add getinstancepeers to db

* instance-expose-peers, instance-expose-suspended

* add auth checks for both current filters

* attach endpoint to router

* include public comment

* obfuscate domain if required

* go mod tidy

* update swagger docs

* remove unnecessary comment

* return 'flat' peerlist if no query params provided
2022-06-23 16:54:54 +02:00
..
media [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
config.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
db.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
email.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02: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 [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
storage.go [chore] Duplicated media cleanup (#649) 2022-06-14 17:00:57 +01:00
testmodels.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
transportcontroller.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +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