GoToSocial/internal
tobi e2daf0f012
Add `Accept` header negotiation to relevant API endpoints (#337)
* start centralizing negotiation logic for API

* swagger document nodeinfo endpoint

* go fmt

* document negotiate function

* use content negotiation

* tidy up negotiation logic

* negotiate content throughout client api

* swagger

* remove attachment on Content

* add accept header to test requests
2021-12-11 17:50:00 +01:00
..
ap Enable stricter linting with golangci-lint (#316) 2021-11-22 08:46:19 +01:00
api Add `Accept` header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
cache Enable stricter linting with golangci-lint (#316) 2021-11-22 08:46:19 +01:00
config Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
db Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
email Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
federation Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
gotosocial Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
gtserror Swagger (#124) 2021-07-31 17:49:59 +02:00
gtsmodel Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
id change muchos things 2021-09-01 11:11:26 +02:00
log reference global logrus (#274) 2021-10-11 14:37:33 +02:00
media Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
messages Handle forwarded messages (#273) 2021-10-10 12:39:25 +02:00
oauth Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
oidc Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
processing Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
regexes fix mention extracting when no domain exists (usually intra-instance mentions) (#272) 2021-10-17 14:19:49 +02:00
router Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
timeline Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
trans Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
transport Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
typeutils Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
util Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
validate kim is a reply guy (#208) 2021-09-11 13:19:06 +02:00
visibility Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
web Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00