GoToSocial/internal/processing
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] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
federation [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
media [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
status [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
streaming [feature] Set default header and avatar for API accounts to GtS ones (#799) 2022-09-04 14:41:42 +02:00
user [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01: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 [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
app.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
blocks.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federation.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
followrequest.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
followrequest_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
fromclientapi.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
fromclientapi_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
fromcommon.go [bugfix] Do not generate a notification when favouriting your own post (#780) 2022-08-30 11:43:29 +02:00
fromfederator.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
fromfederator_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
instance.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00
media.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
notification.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
notification_test.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
oauth.go [feature] Add `created_at` and `error_description` to `/oauth/token` endpoint (#645) 2022-06-11 10:39:39 +02:00
processor.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
processor_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
search.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00
status.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statustimeline.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
streaming.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00