gotosocial/internal/media
kim 58c87bdd7f
[feature] allow uncaching of other media types (#1234)
* simplify pruneRemote, remove unncecessary media trace logging, update RemoteOlderThan() to include headers/avis

Signed-off-by: kim <grufwub@gmail.com>

* cleanup pruneallmeta, add remote header to pruneremote tests

Signed-off-by: kim <grufwub@gmail.com>

* fix olderthan duration additions

Signed-off-by: kim <grufwub@gmail.com>

* fix broken test now that test model header changed

Signed-off-by: kim <grufwub@gmail.com>

* instead use new remote test account for new header model

Signed-off-by: kim <grufwub@gmail.com>

* use newer generated ULID for remote_account_3 to ensure it is sorted last

Signed-off-by: kim <grufwub@gmail.com>

* reorganize serialized keys to match expected test account model order

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-12-12 12:22:19 +01: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] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
prunemeta.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01: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 [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
pruneremote_test.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
pruneunusedlocal.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01: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] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00