プロジェクト

全般

プロフィール

Vote #79702

完了

Thumbnail lifecycle: reuse thumbs from identical files, delete thumbs when diskfile is deleted

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
19
version_id:
127
issue_org_id:
30177
author_id:
40856
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

These patches improve thumbnail handling in two aspects:

  • By changing the naming scheme for thumbnails to not use the attachment ID anymore, already generated thumbnails for identical attachments will be reused.
  • The second patch adds code to remove any thumbnails when the original attachment file is deleted from disk. Without this patch, thumbnails of deleted attachments are never deleted.

journals

--------------------------------------------------------------------------------
LGTM. We can save disk space with this patch. Setting the target version to 4.1.0.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the patches. Thank you for improving Redmine.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリAttachments_19 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0