Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customizable delay on removal of original file #1588

Closed
timmersr opened this issue Sep 24, 2017 · 5 comments
Closed

Add customizable delay on removal of original file #1588

timmersr opened this issue Sep 24, 2017 · 5 comments

Comments

@timmersr
Copy link

Actual behaviour

Received pictures are uploaded and removed directly, and are therefore not viewable by the apps.

Expected behaviour

Being able to at least see the received pictures for some time, before they are being removed by Nextcloud, even if conditions of "only upload via Wi-Fi" and "original file will be removed" are correctly met. A setting to upload immediatly, but only remove the original file after X time should fix this.

Steps to reproduce

  1. Set "only upload via Wifi" and "original file will be removed" preferences, and have an active wifi connection.
  2. Receive pictures in one of the monitored folders (ie. WhatsApp images)
  3. Pictures will be uploaded already -kudos!- and removed, therefore not viewable in WhatsApp.

Environment data

Android version: 7.0
Device model: Samsung Galaxy 6 Edge Plus
Stock or customized system: Stock
Nextcloud app version: 2.0.0RC7
Nextcloud server version: 12.0.3

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@tobiasKaminsky
Copy link
Member

I am unsure how to solve/enhance this.
Auto upload is never meant to be "immediately", so it can be that there is already a delay due to android schedules the upload.
Also adding another option is cluttering up the UI.

@jancborchardt maybe?

@mario
Copy link
Contributor

mario commented Sep 25, 2017 via email

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Sep 25, 2017

I am also voting against this feature since this is an automation tool task (like tasker, locale etc.) so offering upload-only, upload-n-move, upload-n-delete is already quite the choice with delete being an issue depending on the folder location / write permissions...

@jancborchardt
Copy link
Member

Exactly, we’re not adding yet another option here. It’s way too specific.

@timmersr
Copy link
Author

FYI, my workaround is to disable "original file will be removed" for WhatsApp pictures, and then to delete manually afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants