gotosocial/internal/config
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
..
gen [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
config.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
defaults.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
flags.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
global.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
helpers.gen.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
state.go [bugfix] #621: add weak type handing to mapstructure decode (#625) 2022-06-08 20:28:28 +02:00
validate.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
validate_test.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00