gotosocial/internal/processing/admin
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
..
accountaction.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
createdomainblock.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
deletedomainblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
emoji.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
getdomainblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getdomainblocks.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
importdomainblocks.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
mediaprune.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00