gotosocial/internal/db
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
..
bundb [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
account.go [feature] Web profile pages for accounts (#449) 2022-04-15 14:33:01 +02:00
admin.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
basic.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
db.go [feature] implement custom_emojis endpoint (#563) 2022-05-20 10:34:36 +02:00
domain.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
emoji.go [feature] implement custom_emojis endpoint (#563) 2022-05-20 10:34:36 +02:00
error.go [feature] add authorization to the already-existing authentication (#365) 2022-02-07 12:04:31 +01:00
instance.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
media.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
mention.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
params.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
relationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
session.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00