mirror of https://github.com/pixelfed/pixelfed
dev
staging
feature/configurable-min-registration-age
l10n_crowdin_translations
configcache-clean-rebased
dockerfile-compile-ffmpeg-x264-x265
fix/media-storage-optimized-charge
fix/dm-remote-delete-media-leak
feat/emoji-cloud-storage-v2
feat/story-cloud-storage-v2
fix/hashtags-outside-bmp
copilot/review-old-issues
groups
vue3
v0.1.9
v0.10.0
v0.10.1
v0.10.10
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.0
v0.11.1
v0.11.10
v0.11.11
v0.11.12
v0.11.13
v0.11.2
v0.11.3
v0.11.4
v0.11.5
v0.11.6
v0.11.7
v0.11.8
v0.11.9
v0.12.0
v0.12.1
v0.12.10
v0.12.11
v0.12.12
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.12.7
v0.12.8
v0.12.9
v0.13.0
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.5.9
v0.6.0
v0.6.1
v0.7.6
v0.8.0
v0.8.5
v0.8.6
v0.9.0
v0.9.4
v0.9.5
v0.9.6
${ noResults }
1 Commits (e4120ce106ca1b2d80ae3d27bb96cd2f889e4e55)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
b6d645a4d4 |
fix: delete superseded image/thumbnail files instead of orphaning them
Image::handleImageTransform derives the output filename from the current media_path and applies the encoder's output extension. When that differs from what is already stored (heic/avif -> jpg, or a thumbnail regenerated to a new extension), the new file landed at a different path and the previous file was left orphaned in the media directory — the source of the leftover _thumb files under public/m/_v2. Capture the path each transform supersedes and delete it after a successful write (only when the new output path differs, so we never delete what we just wrote). Remove the stale MediaDeleteLeafCleanupTest whose source change is not in the tree. |
4 weeks ago |