gotosocial/internal/processing
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
..
account [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
admin [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
federation [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
media [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
status [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
streaming [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
account_test.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
account.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
app.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
blocks.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federation.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
followrequest_test.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
followrequest.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
fromclientapi_test.go [bugfix] Clean up boosts of status when the status itself is deleted (#579) 2022-05-18 22:13:03 +01:00
fromclientapi.go [bugfix] Clean up boosts of status when the status itself is deleted (#579) 2022-05-18 22:13:03 +01:00
fromcommon.go [bugfix] Clean up boosts of status when the status itself is deleted (#579) 2022-05-18 22:13:03 +01:00
fromfederator_test.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
fromfederator.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
instance.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
media.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
notification_test.go [feature] Add paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
notification.go [feature] Add paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
oauth.go [feature] Add created_at and error_description to /oauth/token endpoint (#645) 2022-06-11 10:39:39 +02:00
processor_test.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
processor.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
search.go [bugfix] Account self finger fix (#658) 2022-06-20 14:11:36 +02:00
status.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statustimeline.go [feature] Add paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
streaming.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00