gotosocial/internal/api/client
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 [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
admin [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
app [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
auth [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
blocks [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
emoji [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
favourites [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
fileserver serve HEAD requests via the fileserver (#735) 2022-07-30 13:42:47 +01:00
filter [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
followrequest [feature] Set default header and avatar for API accounts to GtS ones (#799) 2022-09-04 14:41:42 +02:00
instance [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
list [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
media [bugfix] Use 'Image' instead of unrecognized 'Gif' type for media attachments (#801) 2022-09-04 14:58:58 +02:00
notification [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
search [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
status [bugfix] Fix status fields in_reply_to_id and in_reply_to_account_id not being nullable (#798) 2022-09-02 17:00:11 +02:00
streaming [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
timeline [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user [feature] Add first iteration of a user panel at /user (#736) 2022-08-08 10:40:51 +02:00