gotosocial/internal/api
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
..
client [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
model [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
s2s [chore] simplify generating log entry caller information (#863) 2022-09-29 12:02:12 +02:00
security [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
apimodule.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
errorhandling.go [bugfix] Fix domains not being unblockable, log internal server errors from API (#833) 2022-09-17 19:12:12 +02:00
mime.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
negotiate.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00