keepassxc/src/gui
vuurvli3g 811887e591
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-01 11:58:45 -05:00
..
csvImport Fix code formatting with new clang-format version 2024-07-28 18:25:12 -04:00
databasekey Show a clear error if no slots on hardware key(s) are configured (#11609) 2025-01-02 23:05:22 -05:00
dbsettings Add CustomData::getKeyWithPrefix() 2024-12-25 21:33:19 -05:00
entry Improve attachment handling when changes are discarded 2025-02-01 07:59:02 -05:00
export clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
group Fix horizontal scrollbar not showing in group view 2024-10-06 23:22:44 -04:00
osutils Implement Secure Input Field mode on macOS 2025-01-04 12:40:51 -05:00
passkeys Support passkeys with Bitwarden import (#11401) 2024-10-24 20:12:47 -04:00
remote Add possibility to configure timeout for remote process (#11271) 2024-10-06 22:37:56 -04:00
reports Add ability to expire entries from context menus (#8731) 2025-01-12 07:55:22 -05:00
styles Improve attachment handling when changes are discarded 2025-02-01 07:59:02 -05:00
tag make tag-suggestions case insensitive 2025-01-19 18:00:25 -05:00
widgets Allow configuring keyboard shortcuts (#9643) 2024-02-04 06:29:04 -05:00
wizard Add Proton Pass importer 2025-01-03 17:45:50 -05:00
AboutDialog.cpp Fix Indonesian language descriptor 2024-03-31 08:06:44 -04:00
AboutDialog.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
AboutDialog.ui Clean up various parts of the UI and rearrange settings 2020-05-30 10:45:00 +02:00
ActionCollection.cpp MainWindow: move shortcuts from .cpp to .ui file (#10903) 2024-06-15 15:59:16 -04:00
ActionCollection.h MainWindow: move shortcuts from .cpp to .ui file (#10903) 2024-06-15 15:59:16 -04:00
Application.cpp Allow adjusting application font size 2025-01-26 07:16:55 -05:00
Application.h Allow adjusting application font size 2025-01-26 07:16:55 -05:00
ApplicationSettingsWidget.cpp Allow adjusting application font size 2025-01-26 07:16:55 -05:00
ApplicationSettingsWidget.h Add Import/Export to application settings 2024-10-06 23:22:02 -04:00
ApplicationSettingsWidgetGeneral.ui Allow adjusting application font size 2025-01-26 07:16:55 -05:00
ApplicationSettingsWidgetSecurity.ui Add Import/Export to application settings 2024-10-06 23:22:02 -04:00
CategoryListWidget.cpp clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
CategoryListWidget.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
CategoryListWidget.ui Clean up various parts of the UI and rearrange settings 2020-05-30 10:45:00 +02:00
Clipboard.cpp Additional exclusion fields for Windows Clipboard 2024-12-24 08:27:44 -05:00
Clipboard.h Refactor: separate GUI sources from core sources 2024-06-29 11:50:23 -04:00
CloneDialog.cpp Select new entry after cloning 2023-02-13 23:22:13 -08:00
CloneDialog.h Add 1Password 1PUX and Bitwarden JSON Importers 2024-03-09 10:44:54 -05:00
CloneDialog.ui Select new entry after cloning 2023-02-13 23:22:13 -08:00
DatabaseIcons.cpp Removing QWidget dependency from src/core. 2021-11-12 07:41:30 -05:00
DatabaseIcons.h Removing QWidget dependency from src/core. 2021-11-12 07:41:30 -05:00
DatabaseOpenDialog.cpp Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseOpenDialog.h Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseOpenWidget.cpp Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseOpenWidget.h Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseOpenWidget.ui Add database name, color, and icon options for unlock view (#10819) 2024-10-07 23:42:22 -04:00
DatabaseTabWidget.cpp Add Proton Pass importer 2025-01-03 17:45:50 -05:00
DatabaseTabWidget.h Overhaul action states and add icons to toolbar 2024-10-06 23:22:18 -04:00
DatabaseWidget.cpp Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseWidget.h Fix issues with reloading and handling of externally modified db file (#10612) 2025-02-01 11:58:45 -05:00
DatabaseWidgetStateSync.cpp Reset splitter sizes on database unlock 2024-10-26 08:59:06 -04:00
DatabaseWidgetStateSync.h Reset splitter sizes on database unlock 2024-10-26 08:59:06 -04:00
DialogyWidget.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
DialogyWidget.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
EditWidget.cpp Fix assert hit when viewing entry history 2024-10-27 06:49:10 -04:00
EditWidget.h Fix assert hit when viewing entry history 2024-10-27 06:49:10 -04:00
EditWidget.ui Fix focus traps 2022-10-15 17:33:36 -04:00
EditWidgetIcons.cpp Fix menu location in alert 2024-01-06 16:53:33 -05:00
EditWidgetIcons.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
EditWidgetIcons.ui Add url field to download favicon 2021-12-12 12:32:11 -05:00
EditWidgetProperties.cpp clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
EditWidgetProperties.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
EditWidgetProperties.ui Fix typos 2024-08-09 17:41:08 -04:00
EntryPreviewWidget.cpp Fix rendering &amp; and &quot; in preview panel 2025-01-06 06:23:31 -05:00
EntryPreviewWidget.h Improve handling of clipboard actions 2024-06-16 07:47:27 -04:00
EntryPreviewWidget.ui Add New/Preview Entry Attachments dialog and functionality (#11637) 2025-01-11 23:08:19 -05:00
FileDialog.cpp Allow specifying initial directory via the KPXC_INITIAL_DIR environment variable 2023-04-30 11:31:46 -04:00
FileDialog.h Allow specifying initial directory via the KPXC_INITIAL_DIR environment variable 2023-04-30 11:31:46 -04:00
Font.cpp Allow adjusting application font size 2025-01-26 07:16:55 -05:00
Font.h clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
GuiTools.cpp Allow deleting extension plugin data from Browser Statistics 2024-09-02 12:53:34 -04:00
GuiTools.h Allow deleting extension plugin data from Browser Statistics 2024-09-02 12:53:34 -04:00
HtmlExporter.cpp Prevent HTML overflow, fix issue #10647 2024-05-27 14:51:23 -04:00
HtmlExporter.h Add sorting of HTML export 2021-11-24 00:12:13 -05:00
IconDownloader.cpp Fix typos 2024-08-09 17:41:08 -04:00
IconDownloader.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
IconDownloaderDialog.cpp Download favicon in the background after credential add 2021-12-12 08:14:14 -05:00
IconDownloaderDialog.h Download favicon in the background after credential add 2021-12-12 08:14:14 -05:00
IconDownloaderDialog.ui Address translation feedback from Transifex 2021-02-19 18:37:33 -05:00
IconModels.cpp clang-tidy: use braced init list (#7998) 2023-01-29 10:05:44 -05:00
IconModels.h Replaced Uuid with QUuid 2018-07-06 22:23:49 -04:00
Icons.cpp Fix typos 2024-08-09 17:41:08 -04:00
Icons.h Improve colorful lock icon for system tray (#9632) 2023-08-14 21:39:50 -04:00
KMessageWidget.cpp Fix all Qt 5.15 deprecation warnings (#7783) 2024-06-22 07:22:44 -04:00
KMessageWidget.h clang-tidy: use nullptr 2022-05-03 15:32:54 -04:00
MainWindow.cpp Allow adjusting application font size 2025-01-26 07:16:55 -05:00
MainWindow.h Browser: Fix cancel with database unlock dialog (#11435) 2024-11-10 17:30:38 -05:00
MainWindow.ui Add ability to expire entries from context menus (#8731) 2025-01-12 07:55:22 -05:00
MessageBox.cpp Fix displaying html characters in message boxes 2025-01-12 17:28:51 -05:00
MessageBox.h Add configurable password strength check on database password (#9782) 2024-01-06 13:53:18 -05:00
MessageWidget.cpp Correct scaling on Linux and other minor fixes 2020-08-01 09:01:12 -04:00
MessageWidget.h Correct scaling on Linux and other minor fixes 2020-08-01 09:01:12 -04:00
org.keepassxc.KeePassXC.MainWindow.xml Add methods isHardwareKeySupported and refreshHardwareKeys to DBus 2022-06-11 09:28:26 -04:00
PasswordGeneratorWidget.cpp Passphrase "MIXED case" Type (#11255) 2024-12-25 22:56:02 -05:00
PasswordGeneratorWidget.h Show character count in password generator dialog (#10940) 2024-06-21 23:53:18 -04:00
PasswordGeneratorWidget.ui Passphrase "MIXED case" Type (#11255) 2024-12-25 22:56:02 -05:00
PasswordWidget.cpp Implement Secure Input Field mode on macOS 2025-01-04 12:40:51 -05:00
PasswordWidget.h Implement Secure Input Field mode on macOS 2025-01-04 12:40:51 -05:00
PasswordWidget.ui Fix minor typos (#10124) 2023-12-22 15:12:07 -05:00
SearchHelpWidget.ui Add action item for removing a passkey from entry (#10777) 2024-05-27 16:50:35 -04:00
SearchWidget.cpp Fix typos 2024-08-09 17:41:08 -04:00
SearchWidget.h Search entry: respect shortcut config on Copy key 2024-06-16 17:38:29 -04:00
SearchWidget.ui Enhance Tags / Saved Searches 2022-09-08 06:46:48 -04:00
SettingsWidget.cpp Refactor Database Settings (#9485) 2024-06-22 07:25:32 -04:00
SettingsWidget.h Refactor Database Settings (#9485) 2024-06-22 07:25:32 -04:00
ShortcutSettingsPage.cpp Fix translations on Keyboard Shortcuts Widget 2024-10-06 23:23:09 -04:00
ShortcutSettingsPage.h Add missing Q_OBJECT to ShortcutSettingsWidget 2024-03-09 13:11:38 -05:00
SortFilterHideProxyModel.cpp Greatly improve performance when rendering entry view (#9398) 2023-05-07 11:35:20 -04:00
SortFilterHideProxyModel.h Greatly improve performance when rendering entry view (#9398) 2023-05-07 11:35:20 -04:00
SquareSvgWidget.cpp Scale and center QR code on window resizing 2023-02-02 00:03:30 -05:00
SquareSvgWidget.h Scale and center QR code on window resizing 2023-02-02 00:03:30 -05:00
TotpDialog.cpp Fix multiple TOTP issues 2024-01-06 15:17:13 -05:00
TotpDialog.h Remove zero-width space character from comments 2024-06-02 07:44:00 -04:00
TotpDialog.ui Fix translations 2022-03-20 23:31:52 +01:00
TotpExportSettingsDialog.cpp Support KeePass2 TOTP settings 2024-09-04 06:42:31 -04:00
TotpExportSettingsDialog.h Add 1Password 1PUX and Bitwarden JSON Importers 2024-03-09 10:44:54 -05:00
TotpSetupDialog.cpp Support KeePass2 TOTP settings 2024-09-04 06:42:31 -04:00
TotpSetupDialog.h Remove zero-width space character from comments 2024-06-02 07:44:00 -04:00
TotpSetupDialog.ui Increase max TOTP step to 24 hours 2023-03-30 07:23:29 -04:00
UpdateCheckDialog.cpp Refactor: separate GUI sources from core sources 2024-06-29 11:50:23 -04:00
UpdateCheckDialog.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
UpdateCheckDialog.ui Address translation feedback from Transifex 2021-02-19 18:37:33 -05:00
URLEdit.cpp Refactor: separate GUI sources from core sources 2024-06-29 11:50:23 -04:00
URLEdit.h Fix error background color for URLs 2020-07-27 21:43:40 -04:00
UrlTools.cpp Refactor: separate GUI sources from core sources 2024-06-29 11:50:23 -04:00
UrlTools.h Refactor: separate GUI sources from core sources 2024-06-29 11:50:23 -04:00
WelcomeWidget.cpp Fix сentering icon and text on buttons 2024-06-22 07:41:39 -04:00
WelcomeWidget.h Add 1Password 1PUX and Bitwarden JSON Importers 2024-03-09 10:44:54 -05:00
WelcomeWidget.ui Add 1Password 1PUX and Bitwarden JSON Importers 2024-03-09 10:44:54 -05:00