GoToSocial/internal/api/client/admin
tobi 5e060d0bcb
[feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221)
* [chore] Move ShortcodeDomain to its own little util func

* [feature] Add RefetchEmojis function to media manager

* [feature] Expose admin media refresh via admin API

* update following review feedback

- change/fix log levels
- make sure not to try to refetch local emojis
- small style refactoring + comments

* log on emoji refetch start

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: kim <grufwub@gmail.com>
2022-12-10 21:43:11 +00:00
..
accountaction.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
admin.go [feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221) 2022-12-10 21:43:11 +00:00
admin_test.go [chore] cleanup storage implementation, no need for multiple interface types (#1131) 2022-11-24 09:35:46 +01:00
domainblockcreate.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
domainblockdelete.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
domainblockget.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
domainblocksget.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
emojicategoriesget.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
emojicategoriesget_test.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
emojicreate.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
emojicreate_test.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
emojidelete.go [feature] Add emoji DELETE handler at `/api/v1/admin/custom_emojis` (#913) 2022-10-14 17:30:04 +02:00
emojidelete_test.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
emojiget.go [feature] Add `/api/v1/admin/custom_emojis/{id}` endpoint for single emoji GET (#910) 2022-10-13 16:37:55 +02:00
emojiget_test.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
emojisget.go [chore] Fix a few possible cases of int truncation (#1207) 2022-12-04 14:20:41 +01:00
emojisget_test.go [feature] Add `/api/v1/admin/custom_emojis/{id}` endpoint for single emoji GET (#910) 2022-10-13 16:37:55 +02:00
emojiupdate.go [feature] `PATCH /api/v1/admin/custom_emojis/{id}` endpoint (#1061) 2022-11-24 18:12:07 +00:00
emojiupdate_test.go [feature] `PATCH /api/v1/admin/custom_emojis/{id}` endpoint (#1061) 2022-11-24 18:12:07 +00:00
mediacleanup.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
mediacleanup_test.go [feature] Add `/api/v1/admin/custom_emojis` endpoint (#902) 2022-10-12 15:01:42 +02:00
mediarefetch.go [feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221) 2022-12-10 21:43:11 +00:00