gotosocial/internal/api/client/instance
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
..
instance.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
instance_test.go [chore] improved router logging, recovery and error handling (#705) 2022-07-12 08:32:20 +01:00
instanceget.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
instancepatch.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
instancepatch_test.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
instancepeersget.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
instancepeersget_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00