I might look into this some time. But there is always the problem with hotkeys possibly conflicting with other plugins. So this might not be as simple as hard coding a fixed hotkey.
Since Upload and Download should typically only be used rarely, I dont't really see the urgent need.
Maybe you can describe your use-case scenario where you need to use those two commands frequently and where auto-sync is not an option?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Agree, download / upload were really designed for first-time set up only so users wouldn't have to do it manually.
There were times when sync did not work when the file did not already exist on Google Drive, hence the upload feature.
I usually use sync all the time even when just want to "upload" from one machine and "download" from another, sync does it all without me having to do explicit actions.
Like Uranimum255 asid, can you please share a use case, maybe I haven't thought of everything :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The use case is rather evident: EVERY time I unlock my database this plugin is trying to sync it from GDrive. And it is VERY annoying and time-consuming. Every time!!!
My connection speed is not so perfect to do this, and my database is not changed anywhere by anybody else except me. So why should I check for changes so often?
This can be fixed only by separate upload/download. You got the idea?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Plugin only syncs on Open and Save, not Locking and Unlocking. Do you actually need close / re-open the database that often?
Anyway, you can hold down the Shift-Key while opening or saving the database to supress the Auto Sync feature. And since you need to type in your password when opening the database anyway, having to press the Shift Key to override is no big deal for me. When closing the database the plugin only syncs when the database needs to be saved.
Instead of maually downloading you can just save the database instead, which will also trigger the sync even if there are no changes in the local database. So Ctrl-S already kind of is a Hotkey.
Last edit: Uranium235 2016-07-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there.
Can you add hotkey for most often actions, e.g. upload to GDrive, Download from GDrive?
It should be native KeePass API for this.
I might look into this some time. But there is always the problem with hotkeys possibly conflicting with other plugins. So this might not be as simple as hard coding a fixed hotkey.
Since Upload and Download should typically only be used rarely, I dont't really see the urgent need.
Maybe you can describe your use-case scenario where you need to use those two commands frequently and where auto-sync is not an option?
I use presumably one-side auto sync (only upload), so download is used manually, It would be convenient to do this by hotkey.
Why to do it fixed? Make it configurable^)
I still don't see why would regularly want use up- and download instead of sync.
Agree, download / upload were really designed for first-time set up only so users wouldn't have to do it manually.
There were times when sync did not work when the file did not already exist on Google Drive, hence the upload feature.
I usually use sync all the time even when just want to "upload" from one machine and "download" from another, sync does it all without me having to do explicit actions.
Like Uranimum255 asid, can you please share a use case, maybe I haven't thought of everything :)
The use case is rather evident: EVERY time I unlock my database this plugin is trying to sync it from GDrive. And it is VERY annoying and time-consuming. Every time!!!
My connection speed is not so perfect to do this, and my database is not changed anywhere by anybody else except me. So why should I check for changes so often?
This can be fixed only by separate upload/download. You got the idea?
The Plugin only syncs on Open and Save, not Locking and Unlocking. Do you actually need close / re-open the database that often?
Anyway, you can hold down the Shift-Key while opening or saving the database to supress the Auto Sync feature. And since you need to type in your password when opening the database anyway, having to press the Shift Key to override is no big deal for me. When closing the database the plugin only syncs when the database needs to be saved.
Instead of maually downloading you can just save the database instead, which will also trigger the sync even if there are no changes in the local database. So Ctrl-S already kind of is a Hotkey.
Last edit: Uranium235 2016-07-09