GoToSocial/internal/validate
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
..
account_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
application_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
block_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
client_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
domainblock_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
emaildomainblock_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
emoji_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
follow_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
followrequest_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
formvalidation.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
formvalidation_test.go [feature] Add first iteration of a user panel at `/user` (#736) 2022-08-08 10:40:51 +02:00
instance_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
mediaattachment_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
mention_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
routersession_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
statusbookmark_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusfave_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusmute_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
structvalidation.go [chore] Update Go version to 1.18 (#444) 2022-04-02 15:40:09 +02:00
structvalidation_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
tag_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
token_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00