gotosocial/internal/typeutils
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
..
astointernal_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
astointernal.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
converter_test.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
converter.go [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
defaulticons.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
frontendtointernal.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
internal.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
internaltoas_test.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
internaltoas.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
internaltofrontend_test.go [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
internaltofrontend.go [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
internaltorss_test.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
internaltorss.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
util.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
wrap_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
wrap.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00