cryptomator / cryptomator-ios

Cryptomator for iOS
https://cryptomator.org
100 stars 13 forks source link

Offline support for folders #45

Open tobihagemann opened 8 years ago

tobihagemann commented 8 years ago

Similar to #44, but more complex.

To be completely honest, I don't like this feature request, but I'm always open for discussion. Here's why I'm not convinced that this feature makes sense to be implemented:

High complexity. Bad usability. Not worth it, in my opinion. 😄 I'd like to hear counter-arguments and how it could be elegantly solved (if possible).

Doc-Steve commented 7 years ago

I think offline folders / files could be accomplished with your idea to implement a LRU cache.

Have a look a dropbox offline folder implementation (unfortunately only available for Dropbox Plus users):

If you think of an offline object as an object that gets read when you hit synchronize, wouldn't this exactly be the behaviour of your LRU cache? :)

Even without implementing any offline file/folder management: if it would be possible to set the cache capacity to a high / unlimited range, then just a button synchronize the whole safe (access all files recursively to get them in the cache) would be a great start and be fine for many users ! 🥇

monomadic commented 7 years ago

Here's an example of a poster that puts technical complexity above usability. Why create the issue if you feel it's a bad idea? Other cloud storage clients have this feature and it is infinitely usable. Are we making technology for machines or people?

tobihagemann commented 7 years ago

@Doc-Steve Thank you for your feedback! There are certainly intersections between a LRU cache and offline support for folders. Haven't known about Dropbox's offline folder implementation (probably because I don't have Dropbox Plus :smile:), so thank you for the reference. :+1:

@robsaunders I admit that I was overwhelmed of the technical implications, when I wrote this issue a year ago. I created this issue because it was a logical "next step" to "offline support for files" #44. We like to document "everything" on GitHub and maybe even start discussions on how to solve problems. To my knowledge, "other cloud storage clients have this feature" is a bold statement. If you're also referring to Dropbox's implementation, I think it was introduced in December 2016. I couldn't have known about it back then. Maybe other clients have this feature now as well, I haven't checked them yet. If you have references other than Dropbox, please let me know! I'd love to see other implementations.

Just to be clear and I hoped that this was obvious: We are always putting security and usability first. That doesn't mean we can ignore technical complexity. I was pretty serious with seeing usability pitfalls a year ago. Maybe I've even written that feature request in a rush, I don't exactly remember. But I've changed my mind and I totally agree that this could be a quite nice feature.

Our current plan is to introduce caching #17 with version 1.3.0. We'll look into the details of offline support for files #44 and folders #45 after that.

monomadic commented 7 years ago

@tobihagemann gotcha :) offline support is something I use regularly, as on iOS it's pretty much impossible to 'send' multiple files at once to another app. I have language tutorial files and music for example (mp3s and aac) and at the moment I'm just using mega for things like that as it's literally hundreds of files and I can't 'send to' all of them.

Of course, this all depends on the apps ability to play those files... so I can totally see why it's a low priority compared with expanding the apps core abilities. But it's definitely a useful feature! :)

References of apps that do this? Sure. Mega, Box, (not sure about google drive as I avoid google products if I can), and there are a couple of third party iOS cloud storage managers that offline cache files on cloud storage (documents by readle can actually copy whole dirs back and forth, but it doesn't 'sync', and I also sometimes use tunebox for mp3s on iOS which does an offline cache of albums on dropbox).

Dropbox itself actually does NOT do it for some reason (single files at a time only) and it's easily the most aggravating thing about the app. Amazon cloud drive doesn't either, but that's not surprising as the app is super bare bones.

Love Cryptomator though and look forward to using it a lot more in the future. Thanks!

Doc-Steve commented 6 years ago

@tobihagemann Any updates on this feature request? Is there a time schedule? This feature would really be great. Thanks in advance for considering.

Penguinjumper commented 3 years ago

Any updates? Basically all popular cloud apps have used this for years (Nextcloud, Dropbox, OneDrive, icloud, Tresorit etc etc) and it would be a huge productivity booster. For me the missing of this feature is the main reason not to use Cryptomator for lots of stuff. Files could even stay „unencrypted“ on the device, while they are offline available, so access speed would be muuuch faster.