mirror of
1
Fork 0
gotosocial/internal/processing/account
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.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
account_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
create.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
createblock.go [bugfix] disallow following or blocking yoursel (#667) 2022-06-25 11:14:05 +02:00
createfollow.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
delete.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
get.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
getfollowers.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getfollowing.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getrelationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getstatuses.go [feature] Add back/next buttons to profiles for paging through statuses (#708) 2022-07-13 09:57:47 +02:00
removeblock.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
removefollow.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
update.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
update_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00