Giter Club home page Giter Club logo

Comments (14)

mmcguill avatar mmcguill commented on July 18, 2024 2

Hi @UtXtiQArZE , Yes reasonably clear. I wonder if something like the following would work. Basically have a Setting called "Open Cache if Unchanged" or something like that?

The easiest way to do this now is to turn on Airplane mode as you've noticed.

This might fit in with the larger project of 'Advanced KeePass Sync', where not only is the timestamp compared, but then also a kind of smart merge of the Database is done, so that you can have multiple editors.

It's definitely a feature I'd like to get in soonish.

from strongbox.

w-oertl avatar w-oertl commented on July 18, 2024 1

Thanks for the quick reply and explanation. I expected Strongbox to work with a local copy and "sync" that occasionally with the provided location. Regarding the changing of the sync method: that's OK.

from strongbox.

gitbq avatar gitbq commented on July 18, 2024 1

Hi @strongbox-mark - Thanks so much for the heads up.
We'll be getting the pro version of the app as soon as that drops.

Thanks for your hard work and quick responses!

from strongbox.

gitbq avatar gitbq commented on July 18, 2024 1

from strongbox.

UtXtiQArZE avatar UtXtiQArZE commented on July 18, 2024

yes, an "Open Cache if Unchanged" setting in the short term sounds great.

and the Advanced KeePass Sync sounds brilliant.

thanks so much for the hard work and development in this project. it really is very much appreciated.

from strongbox.

mmcguill avatar mmcguill commented on July 18, 2024

Well thanks for the kind words, much appreciated...

Re: this short term measure, it might not be so trivial either, the problem is getting the metadata (last modified date in this case), is a separate operation across all of the providers (Google, Dropbox, iCloud, Local, WebDAV, SFTP, OneDrive), so 7 implementations, and the relevant work to unify this and abstract (Work that would need to be done for the KeePass Sync option anyway).

It could take a while, and so the best thing for the short term might be to flick on Airplane mode (not ideal I know).

from strongbox.

UtXtiQArZE avatar UtXtiQArZE commented on July 18, 2024

no worries, understand that its a lot of work, when i said short term, i only meant in terms of compared to the keypass sync.

from strongbox.

w-oertl avatar w-oertl commented on July 18, 2024

I use the sFTP sync method. I have following issues: at setup (access an existing database - sFTP), the host field accepts the form host:port, which is not documented. I just tried it out. Looking at log files on the server, every time the database is opened, sFTP syncs. I haven't found this in the documentation. Finally, I see no way to change the sync method of an existing database, if only to update the credentials, or to set up the use of a key pair instead of a password.

from strongbox.

mmcguill avatar mmcguill commented on July 18, 2024

Hi @w-oertl,

You have 3 points there, let me take them in turn:

  1. Undocumented host/port format during Connect
  • Yes, that's fair, I'll add or placeholder text indicating this is possible in the next release.
  1. "every time the database is opened, sFTP syncs"
  • Yes, well I'm not sure sync's is the right word, but it will READ from your SFTP server every time it is opened. This is standard with all storage providers (Strongbox reads directly from and writes directly to the storage, no caching is involved in the normal path).

I'll add an FAQ for that if you'd like. Could you tell me what other information you'd like in there, or what you were initially expecting?

  1. I see no way to change the sync method of an existing database.
  • Yes, that is missing. Typically people just remove and re-add to make changes to storage settings. Hopefully not too much of an inconvenience.

Cheers,
-Mark

from strongbox.

basekat avatar basekat commented on July 18, 2024

Hi @mmcguill,

I have to say that I was a bit surprised to see that the database is fetched from the remote sync source(SFTP in my case) each time it is opened. I don't like my password database lying on any cloud storage provider and I sync between my phone and my laptop. So, when I am on the move, the SFTP server is of course not available.

I would expect if Strongbox works with a local copy of the database (there is also an added performance benefit). The synchronization with the remote source can be done in two ways - either when the user chooses to sync manually OR an auto-sync(periodically).

I really like Strongbox and prefer it among other iOS Keepass apps, but this is kind of blocking issue for me. Is there any chance to change the way sync works?

from strongbox.

mmcguill avatar mmcguill commented on July 18, 2024

Hi @basekat, this is something I'd like to work on, and something on the list... purely a matter of prioritisation.

With version 1.27.2, you have the option (slide left) to open the offline cache directly from the home screen. This will be read only, but may help you somewhat.

Background synchronisation is a non trivial feature (lots of edge cases/failure modes) and requires significant work across the various storage providers (Dropbox, Google Drive, OneDrive etc)...

from strongbox.

gitbq avatar gitbq commented on July 18, 2024

Hi devs. Is there any chance of getting a rough update on how this " Advanced Sync (Offline Editing & Merging)" is progressing?

from strongbox.

strongbox-mark avatar strongbox-mark commented on July 18, 2024

Hi @gitbq - Yes, there are two kind of distinct but related features covered by this issue:

  1. Synchronization / Merging of two versions of the same database
  2. Offline Editing

2 is actually almost done (you can see this in practice through AutoFill editing)... However I'm reluctant to enable it App wide before 1) just because it is likely to cause conflicts.

    • Sync/Merging, is actually under development now, but it's a big feature... I'd estimate another 6 weeks or so. So getting close :)

from strongbox.

strongbox-mark avatar strongbox-mark commented on July 18, 2024

Hi all,

The offline feature is now available as of 1.52.0 on the App Store. Please give it a test and let me know how it goes. It should be very straightforward.

If you're offline you will be offered to open the Database Offline. Otherwise you can also do this manually:

Long Tap on Database > Open Offline.

As usual, all users can view offline, but Pro users can now edit offline. Any changes made to the database will stay local, pending a sync. You can trigger a sync by returning to the Databases List screen (Home screen) and pulling down to refresh, or just tap on your database when online to initiate.

Hope that makes sense. I'll close this one out if everything looks ok.

from strongbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.