GoToSocial/internal/processing
tobi eb85ef7325
[feature] Add `/api/v1/admin/custom_emojis` endpoint (#902)
* add admin emojis get path + model + docs

* stub admin emojis get processor function

* add id + disabled fields to admin emoji

* add emoji -> api admin emoji converter

* tidy up a bit

* add GetEmojis function

* finish up get emojis function

* order by shortcodedomain

* ASC

* tidy up + explain

* update to allow paging

* make admin emojis pageable

* fix mixed case paging

* normalize emoji queries a bit better

* test emoji get paging

* make limit optional

* fix incorrect path in media cleanup tests

* i have bad coder syndrome

* don't trimspace

* rename -> GetUseableEmojis

* wrap emoji query in subquery
avoid selecting more than we need

* fix a bit of sillyness teehee

* fix subquery postgres woes
2022-10-12 15:01:42 +02:00
..
account [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
admin [feature] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +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] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +02:00
status [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
streaming [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
user [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
account.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
account_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
admin.go [feature] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +02: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 [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
fromclientapi_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
fromcommon.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
fromfederator.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
fromfederator_test.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
instance.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
media.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
notification.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +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] `oob` oauth token support (#889) 2022-10-08 13:49:56 +02:00
processor.go [feature] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +02:00
processor_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
search.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
status.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statustimeline.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +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