gotosocial/internal/text
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
..
common_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
common.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
formatter_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
formatter.go [feature] Let accounts set default status format, and use this when processing new statuses (#739) 2022-08-06 12:09:21 +02:00
link_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
link.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
markdown_test.go [bugfix] Use custom blackfriday renderer to only add mention/hashtag links in normal text (#787) 2022-08-31 17:40:11 +02:00
markdown.go [bugfix] Use custom blackfriday renderer to only add mention/hashtag links in normal text (#787) 2022-08-31 17:40:11 +02:00
plain_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
plain.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
removehtml_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
sanitize_test.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
sanitize.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00