gotosocial/test
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
..
cliparsing.sh [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
envparsing.sh [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
test2.yaml Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
test.json Remove unnecessary storage config variables (#344) 2021-12-20 15:19:53 +01:00
test.yaml [feature] Add log-db-queries config option (#465) 2022-04-18 16:47:11 +02:00