gotosocial/internal/media
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
..
test [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
image.go [feature] media: add webp support (#1155) 2022-12-06 14:15:25 +01:00
manager.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
manager_test.go [chore] cleanup storage implementation, no need for multiple interface types (#1131) 2022-11-24 09:35:46 +01:00
media_test.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
png-stripper.go [bugfix] Allow processing of .png files where checksum is not correct (#487) 2022-04-25 14:45:44 +02:00
processingemoji.go [feature] PATCH /api/v1/admin/custom_emojis/{id} endpoint (#1061) 2022-11-24 18:12:07 +00:00
processingmedia.go [feature] media: add webp support (#1155) 2022-12-06 14:15:25 +01:00
prunemeta.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
prunemeta_test.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
pruneorphaned.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
pruneorphaned_test.go [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
pruneremote.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
pruneremote_test.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
pruneunusedlocal.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
pruneunusedlocal_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
refetch.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
refetch_test.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
types.go [feature] media: add webp support (#1155) 2022-12-06 14:15:25 +01:00
util.go [feature] media: add webp support (#1155) 2022-12-06 14:15:25 +01:00