server icon indicating copy to clipboard operation
server copied to clipboard

Deleted file expiry date

Open williambargentball opened this issue 10 years ago • 19 comments

Steps to reproduce

  1. Deleted a file
  2. View recycle bin

Expected behaviour

Many installations have the ''trashbin_retention_obligation' => 30,' In the bin it should show when the file will be automatically deleted; have a timer;

Actual behaviour

Doesn't notify users the bin will be cleared.

Thoughts @nextcloud/designers

capture

williambargentball avatar Jun 15 '16 10:06 williambargentball

Please don't use nextcloud/developers ;)

BernhardPosselt avatar Jun 15 '16 10:06 BernhardPosselt

Very cool. Should be there!

Von unterwegs gesendet. Sent from my phone. 

-------- Ursprüngliche Nachricht -------- Von: William Bargent [email protected] Datum:15.06.2016 12:24 (GMT+01:00) An: nextcloud/server [email protected] Cc: janklostermann [email protected],Team mention [email protected] Betreff: [nextcloud/server] Feature Request: Deleted file expiry date (#107)

Steps to reproduce

Deleted a file View recycle bin Expected behaviour

Many installations have the ''trashbin_retention_obligation' => 30,' In the bin it should show when the file will be automatically deleted; have a timer;

Actual behaviour

Doesn't notify users the bin will be cleared.

Thoughts @nextcloud/designers cc @nextcloud/developers

— You are receiving this because you are on a team that was mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

janklostermann avatar Jun 15 '16 11:06 janklostermann

@janklostermann Github since recently has a »reaction« feature (in the top right behind the smilie face). If you want to express agreement, please use that one for »thumbs-up« like comments instead of leaving an actual comment which results in notifying everyone involved. Thanks! :)

jancborchardt avatar Jun 15 '16 12:06 jancborchardt

I'm not a fan of this feature, because if you see something in the trash that shouldn't be there, you should take it out immediately.

I can't think of any scenario that would make me think "I still have 2 days to decide if I really want to lose this file". Having that timer implies that it's somehow "safe" to trash files.

le-fractal avatar Jun 15 '16 16:06 le-fractal

@zinks- good point. I am also hesitant of adding another column there if it’s not absolutely necessary. The list view should not be a database dump. :)

jancborchardt avatar Jun 16 '16 08:06 jancborchardt

I second the argument of @zinks-. @williambargent What is the exact use case of this column for you?

MorrisJobke avatar Jun 16 '16 09:06 MorrisJobke

Transparency of what is going on (including an implicit warning, that this data will automatically be deleted soon - different to your Windows trash bin that seems to have ethernal life...)

Am 2016-06-16 um 11:08 schrieb Morris Jobke:

I second the argument of @zinks- https://github.com/zinks-. @williambargent https://github.com/williambargent What is the exact use case of this column for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/107#issuecomment-226429953, or mute the thread https://github.com/notifications/unsubscribe/ALEnw5RqqlUHOVWTB2r0emWg5rSi3kM3ks5qMRJ1gaJpZM4I2Nd-.

Jan Klostermann

  • The Agile Management Sounding-Board - Systems Engineer & Mediator Am Isarkanal 24/15 81379 München

Tel.: +49-89/74563382 Mobil: +49-179/4628819 Sip: +49-89/21551663 sip:[email protected] Skype: jan.klostermann callto://jan.klostermann/ Threema: P58VSJUY threema://add?id=P58VSJUY Email: [email protected] mailto:[email protected] Netzwerke: Xing https://www.xing.com/profile/Jan_Klostermann, LinkedIn http://de.linkedin.com/in/janklostermann

janklostermann avatar Jun 16 '16 09:06 janklostermann

Users are unaware they won't be able to recover a file, I understand that they deleted it but its nice to know when the recycle bin will be automatically emptied. To me its just a nice bit of information to know.

williambargentball avatar Jun 16 '16 10:06 williambargentball

Well, we could add a text at the top of the page stating "Files in the trash bin will be unrecoverable deleted after -x- days." Combined with the "deleted"-column the user is able to see which files are near expiration. In my opinion this is a good compromise because it warns the user but does not clutter the interface too much.

jakobsack avatar Jun 16 '16 11:06 jakobsack

Well, this is only the case for certain setups. The assumption in the original post says:

Many installations have the ''trashbin_retention_obligation' => 30,'

But since this is not the default setting, it’s unlikely to be »many« and more likely to be »some« or even »a few«.

jancborchardt avatar Jun 16 '16 12:06 jancborchardt

Well, this is only the case for certain setups

Of course there should be no text if there is no expiration date.

jakobsack avatar Jun 16 '16 12:06 jakobsack

Of course there should be no text if there is no expiration date.

Then the expiration is also calculated on how much storage is used (in relation to the quota). If this is reached the files are removed from the trashbin that are in there for the longest time.

MorrisJobke avatar Jun 16 '16 12:06 MorrisJobke

ok, in this case my proposal is pointless

jakobsack avatar Jun 16 '16 12:06 jakobsack

In these cases the column could disappear...

janklostermann avatar Jun 16 '16 12:06 janklostermann

I wasn't area of that so yeah seems silly having it, if the value is set I still think it is worth it being mentioned somewhere on the page.

williambargentball avatar Jun 16 '16 13:06 williambargentball

If there are other triggers that might delete files in the trash permanently (e. g. storage exceeded), showing the expiration date will be misleading because it is only one of several triggers. A user might think that a file will not be deleted before that date—which is not true if one of the other triggers take effect.

But a message telling the user that there are triggers that might delete files permanently—which ones and in case of the expiration date the max. days—would be great. Especially since the administrator is setting and controlling these settings and not the user itself.

coderkun avatar May 14 '17 13:05 coderkun

I'm closing this issue due to inactivity. Please reopen if you still want to implement this.

szaimen avatar May 21 '21 12:05 szaimen

Cool feature!

enoch85 avatar May 21 '21 14:05 enoch85

Closing since this is a feature request and there is doubt about its entire usability of it. Also, this is not trivial to implement.

If someone want to implement it, PR welcome and we can discuss details there

CarlSchwan avatar Sep 01 '22 12:09 CarlSchwan