gotosocial/internal/typeutils
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
..
astointernal_test.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
astointernal.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
converter_test.go [chore] Mastodon api fixups (#617) 2022-05-28 18:59:55 +01:00
converter.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
frontendtointernal.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
internal.go Remove unnecessary storage config variables (#344) 2021-12-20 15:19:53 +01:00
internaltoas_test.go [bugfix] Fix multiple dereferences of boosted status causing media duplication (#589) 2022-05-23 16:40:03 +01:00
internaltoas.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
internaltofrontend_test.go [chore] Fix testrig emoji bug (#646) 2022-06-11 16:41:34 +02:00
internaltofrontend.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
util.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
wrap_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
wrap.go Remove unnecessary storage config variables (#344) 2021-12-20 15:19:53 +01:00