keepassxc/share
Jonathan White 57235219f2
Fix issues with reloading and handling of externally modified db file (#10612)
Fixes #5290
Fixes #9062
Fixes #8545

* Fix data loss on failed reload

- External modifications to the db file can no longer be missed.
- Fixed dialogFinished signal of DatabaseOpenDialog was not emitted when dialog was closed via the 'X' (close) button
- For reloading with a modified db, an additional choice has been added to allow the user to ignore the changes in the file on disk.
- User is now presented with an unlock database dialog if reload fails to open the db automatically. For example when the user removed the YubiKey, failed to touch the YubiKey within the timeout period, or db pw has been changed.
- Mark db as modified when db file is gone or invalid.
- Prevent saving when db is being reloaded
- If merge is triggered by a save action, continue on with the save action after the user makes their choice

---------

Co-authored-by: vuurvlieg <vuurvli3g@protonmail.com>
Co-authored-by: Jonathan White <support@dmapps.us>
2025-02-02 09:43:02 -05:00
..
branding Improve colorful lock icon for system tray (#9632) 2023-08-14 21:40:13 -04:00
icons Add ability to expire entries from context menus (#8731) 2025-01-19 09:29:47 -05:00
linux Version Bump to 2.7.9 2024-06-19 17:26:36 -04:00
macosx Losslessly optimize PNG images 2023-07-15 15:27:36 -04:00
translations Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-02 09:43:02 -05:00
windows Detect outdated VC Redist with MSI Installer 2024-12-21 23:42:27 -05:00
wizard Losslessly optimize PNG images 2023-07-15 15:27:36 -04:00
wordlists Update eff_large.wordlist 2022-09-22 06:49:07 -04:00
CMakeLists.txt Enable dark title bar on windows when accent color is not used 2022-10-16 19:17:02 -04:00
demo.kdbx Correctly set KDBX envelope version 2021-11-22 12:58:04 +01:00
demo.key Add demo kdbx file (password is secret) (#3294) 2019-06-30 11:07:59 -04:00
demo.old.kdbx Update translations 2022-03-21 00:26:07 +01:00
empty3.kdbx Add fuzz test support 2020-10-08 22:49:34 -04:00
empty4.kdbx Add fuzz test support 2020-10-08 22:49:34 -04:00