Comments (4)
This issue has come up due to #38. To fix #38 an approach to load all entries at once by repeatedly invoking the google api has been implemented. This issue improves performance by loading additional entries only if required (scrolling to the bottom in the UI or similar user interaction).
from cryptomator-ios.
I've look into the APIs and it looks like that this also applies to OneDrive. Apparently, the default page size is limited to 200.
from cryptomator-ios.
There is a HUGE PROBLEM though. I don't know how to implement this properly. Encrypted and unencrypted files are obviously not alphabetically sorted in the same way. How should we support "infinite scrolling" and keep the sorting intact? π
Edit: Could be solved by:
- Loading the complete contents of directory first (recursively through all pages)
- Decrypt filenames
- Sort filenames (this can be changed in the future, we don't want to support "alphabetically sorted" only)
- Present contents of directory to user, doesn't hurt to use pagination, even though the whole content has already been loaded from the cloud
There is just no acceptable "server-side" solution, everything has to be done client-side. So there is no performance gain (or more precisely, you can't save bandwidth).
from cryptomator-ios.
Fixed for Google Drive and OneDrive and implemented in the way as suggested (client-side, directory listing completely loaded before showing any results to the user). Wasn't necessary for iCloud Drive, Dropbox, and WebDAV.
from cryptomator-ios.
Related Issues (20)
- Upload of big files (like videos) crashes app
- Can't upload file with Sharesheet HOT 2
- Upload screen freezes HOT 2
- Multiple files upload don't work HOT 1
- UI bug when previewing video file
- No option to paste vault password in sharing dialogue.
- Shortcuts implementation HOT 2
- Photos backup / auto upload HOT 3
- Multiple uploads don't work HOT 2
- App freeze in certain conditions HOT 3
- Cannot open Vault using FaceID HOT 1
- OneDrive- can't save file
- Edit WebDAV Connection
- Cannot browse vault content HOT 4
- Bug and extremly slow with WEBDAV (pCloud) HOT 3
- Preview photos and videos in grid view HOT 3
- File upload hangs on βSavingβ message until app is killed HOT 5
- Cryptomator seems hanging when browsing folders HOT 1
- ios onedrive edu login failed with msalerrordomain HOT 1
- ios onedrive edu login failed with msalerrordomain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptomator-ios.