Skip to content

Conversation

@tcitworld
Copy link
Member

@tcitworld tcitworld commented Oct 14, 2025

Summary

Logic taken from the files_versions expiration.

It seems the second argument from the isExpired method wasn't even used anywhere, so I think the auto policy depending on free available storage doesn't work at all.

Note that on cases without any user quota set, files will only be deleted when the actual available space is 0 or less.

Checklist

…ve any available space left

Logic taken from the files_versions expiration. It seems the second
argument from the isExpired method wasn't even used anywhere.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
…bin::expire static method

Instead of handling everything itself, and so that the available space is considered in deleting
trashed files even if not expired yet.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@tcitworld tcitworld added this to the Nextcloud 33 milestone Oct 14, 2025
@tcitworld tcitworld requested a review from a team as a code owner October 14, 2025 09:08
@tcitworld tcitworld requested review from ArtificialOwl, sorbaugh and yemkareems and removed request for a team October 14, 2025 09:08
@tcitworld tcitworld requested review from nfebe and skjnldsv October 14, 2025 13:16
@come-nc come-nc merged commit a36ebef into master Oct 20, 2025
223 of 231 checks passed
@come-nc come-nc deleted the fix-trashbin-expiration branch October 20, 2025 08:47
@tcitworld
Copy link
Member Author

Is this backport worthy?

artonge added a commit that referenced this pull request Oct 23, 2025
…hange

Revert trashbin expiration handling in #55742
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants