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

Indicate file access to the File Provider #1935

Open
j-lakeman opened this issue Nov 21, 2024 · 4 comments
Open

Indicate file access to the File Provider #1935

j-lakeman opened this issue Nov 21, 2024 · 4 comments
Labels
feature FileSync Linked to FileSync app

Comments

@j-lakeman
Copy link

Is your feature request related to a problem? Please describe.
If storing the database in a cloud especially a self-hosted one it can take quite some time for it to be obtained.

Describe the solution you'd like
Upon opening KeePassDX it could already start downloading the most recent file in the background.

Describe alternatives you've considered
Waiting around

Additional context

@J-Jamet
Copy link
Member

J-Jamet commented Nov 24, 2024

KeePassDX does not download any files, and can only open the data stream sent to it by the file provider.
For more information on how KeePassDX works, read https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync
The functionality you require depends on the synchronization application you use.

@J-Jamet J-Jamet closed this as completed Nov 24, 2024
@J-Jamet J-Jamet added invalid out of scope FileSync Linked to FileSync app labels Nov 24, 2024
@j-lakeman
Copy link
Author

I know, thanks for the clarification though. I should've communicated clearer.
Could KeePassDX try to access the file before the user entered the credentials? This way when pointed to WebDAV or Nextcloud or sth else, the file should already start downloading in the background by the respective service provider. Meanwhile the credentials could be entered by the user and then applied to the now possibly updated file.

@J-Jamet
Copy link
Member

J-Jamet commented Nov 25, 2024

Ha I understand the request better. What you want is rather a URI “touch” to tell the file provider that we want to access it before it's actually available.

I'll have to see if there are special methods for this, but KeePassDX already check the file metadata in the database list.
One solution would be to do a sort of blind pull that would check the metadata status of the file periodically, but I don't like this method because we don't know how long it will take and it's not up to the client to do a permanent check.

If the download only starts when you request access to the file, it's normal not to be able to access it until the full download. There should only be a download indication or a link to the previous cached file. This is the kind of workflow I need to resolve in the design of the FileSync application.

@J-Jamet J-Jamet changed the title automatically start downloading most recent version of database in background upon opening app Indicate file access to the File Provider Nov 25, 2024
@J-Jamet J-Jamet reopened this Nov 25, 2024
@J-Jamet J-Jamet added this to To study Nov 25, 2024
@github-project-automation github-project-automation bot moved this to To Do in To study Nov 25, 2024
@j-lakeman
Copy link
Author

Ha I understand the request better. What you want is rather a URI “touch” to tell the file provider that we want to access it before it's actually available.

Exactly this. Like a short attempt to read the file.

@J-Jamet J-Jamet removed this from To study Dec 8, 2024
@J-Jamet J-Jamet added this to 5.0.0 Dec 8, 2024
@github-project-automation github-project-automation bot moved this to To do in 5.0.0 Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature FileSync Linked to FileSync app
Projects
Status: To do
Development

No branches or pull requests

2 participants