nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.26k stars 1.76k forks source link

Add "Exclude hidden" setting to autodetected folders (as the "Custom folders" have) #13648

Open ofrias opened 3 weeks ago

ofrias commented 3 weeks ago

Please add a "Exclude hidden" setting to autodetected folders like the one implemented for custom folder in this PR. IMO autodetected folders should behave in the same way and have the same settings as custom folders. Please see also this bug report.

qugebert commented 2 weeks ago

@BBBOND would you like to do this, as it should be largely the same as in your PR #12323? If not, I can have a look to see if I can do it, but I would probably just copy your code so I think it's fair to ask you first if it's OK

Nowaker commented 1 week ago

Is your feature request related to a problem? Please describe.

Nextcloud tries to upload files that aren't meant to be uploaded, even though they reside in the auto-upload directory.

image

Describe the solution you'd like

Allow to configure ignored extensions or prefixes for auto-upload. In this case, that would be: .pending* to ignore.

Describe alternatives you've considered

There are no alternatives.

Additional context

That kind of setting belongs to per-directory settings. Not global ones. This is because .pending could be a legitimate file I want uploaded if present in a different directory.

image