gotosocial/internal/api
tobi b42469e4e0
[feature] Allow users to set custom css for their profiles + threads (#808)
* add custom css account property + db func to fetch

* allow account to get/set custom css

* serve custom css for an account

* go fmt

* use monospace for customcss, add link

* add custom css to account cache

* fix broken field

* add custom css docs to user guide

* add `accounts-allow-custom-css` config flag

* add allow custom css to /api/v1/instance response

* only show/set custom css if allowed to do so

* only set/serve custom account css if enabled

* update swagger docs

* chain promise

* make bool a bit clearer

* use cache for GetAccountCustomCSSByUsername
2022-09-12 13:14:29 +02:00
..
client [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
model [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
s2s [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
security [feature] add rate limit middleware (#741) 2022-08-31 12:06:14 +02:00
apimodule.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
errorhandling.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
mime.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
negotiate.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00