gotosocial/internal/processing/media
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
..
create.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
delete.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
getemoji_test.go [feature] implement custom_emojis endpoint (#563) 2022-05-20 10:34:36 +02:00
getemoji.go [feature] Add /api/v1/admin/custom_emojis endpoint (#902) 2022-10-12 15:01:42 +02:00
getfile_test.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
getfile.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
getmedia.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
media_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
media.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
unattach_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
unattach.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
update.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
util.go [bugfix] Close ReadClosers properly in the media package (#434) 2022-03-21 13:41:44 +01:00