Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-12Download favicon in the background after credential addvarjolintu
2021-12-09Add db statistic output to CLI db-info command.Geert Ijewski
Closes #6920
2021-12-09Make selected text copyable instead of copying passwordmckeema
* Fixes 7209
2021-12-08Add -i/--include option to "generate" CLI command. (#7112)Patrick Klein
2021-12-03Add simple detection of timestamp resolutionevgfilim1
Set access time equal to modification time
2021-11-29bump to the C++17 standard in the build system (#7180)Xavier Valls
2021-11-26Auto-Type: Remember previous selected global matchToni Spets
This makes using multi-stage login forms slightly easier as you can avoid typing the search terms multiple times.
2021-11-25Fix transient save errors in TestGuiJonathan White
2021-11-25SSH Agent: Show correct error messages in main windowToni Spets
Fixes #7152
2021-11-25Fix syntax issue & add a missing header (#7160)tenzap
* Fix syntax to prevent compilation issue Fix build failure with AppleClang 7 & 8. Error was: src/core/CustomData.cpp:30:41: error: default initialization of an object of const type 'const CustomData::CustomDataItem' without a user-provided default constructor static const CustomData::CustomDataItem NULL_ITEM; ^ {} src/core/Metadata.cpp:32:39: error: default initialization of an object of const type 'const Metadata::CustomIconData' without a user-provided default constructor static const Metadata::CustomIconData NULL_ICON; ^ src/core/Metadata.cpp:32:48: note: add an explicit initializer to initialize 'NULL_ICON' static const Metadata::CustomIconData NULL_ICON; ^ {} * Add missing QUuid header Fixes this compilation issue with LLVM clang 9, possibly also due to an old QT5 tests/TestTools.cpp:96:39: error: incomplete type 'QUuid' named in nested name specifier auto validUuid = Tools::uuidToHex(QUuid::createUuid()); ^~~~~~~ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:1887:1: note: forward declaration of 'QUuid' QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:108:18: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS' F(QUuid, 30, QUuid) \ ^ tests/TestTools.cpp:101:40: error: incomplete type 'QUuid' named in nested name specifier auto nonHexUuid = Tools::uuidToHex(QUuid::createUuid()).replace(0, 1, 'p'); ^~~~~~~ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:1887:1: note: forward declaration of 'QUuid' QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:108:18: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS' F(QUuid, 30, QUuid) \ ^
2021-11-25Fix compilation on macOS when clang < 9 or Qt < 5.12 (#7117)tenzap
* fix compilation on Qt not having QOperatingSystemVersion::MacOSBigSur The code uses 'QOperatingSystemVersion::MacOSBigSur' which doesn't exist in all Qt versions (it has been backported to Qt 5.12.10+ & 5.15.1+ only). On older macos systems like El Capitan the last supported version of Qt is 5.11 This will fix compilation issue on such older systems and on systems running with Qt not supporting QOperatingSystemVersion::MacOSBigSur Compilation error was: error: no member named 'MacOSBigSur' in 'QOperatingSystemVersion' * Fix compilation when osx <= 10.9 * AppKitImpl.mm: button property is new in 10.10. It is used for a feature of KeePassXC that is only available from 10.17 onwards. So we don't need it when compiling on <= 10.9 error: property 'button' not found on object of type 'NSStatusItem *' NSString* appearance = [dummy.button.effectiveAppearance.name lowercaseString]; ^ * The code uses @available syntax which is supported by AppleClang >= 9 or LLVM >= 5. We check __clang_major__ to allow compilation on older versions of macOS that don't have a recent clang. For example on El Capitan. * Fix compilation when osx <= 10.8 * AppKitImpl.mm: AXIsProcessTrustedWithOptions exists from 10.9 onwards error: use of undeclared identifier 'kAXTrustedCheckOptionPrompt' error: use of undeclared identifier 'AXIsProcessTrustedWithOptions' * Fix compilation when osx <= 10.7 * MacUtils.cpp: CoreGraphics exists from 10.8 onwards only, capslock detection feature would have to be implemented on OSX <= 10.7 * AppKitImpl.mm: CGDisplayStreamRef exists from 10.8 onwards only. It is used for a feature of KeePassXC that is only available from 10.15 onwards. So we don't need it when compiling on <= 10.7 error: unknown type name 'CGDisplayStreamRef' * AppKitImpl.mm: Syntax is not understood by 10.7, update it to be understandable by <= 10.7 error: expected method to read dictionary element not found on object of type 'NSDictionary *' NSRunningApplication* app = userInfo[NSWorkspaceApplicationKey]; ^ * The code uses @available syntax which is supported by AppleClang >= 9 or LLVM >= 5. We check __clang_major__ to allow compilation on older versions of macOS that don't have a recent clang. * Fix compilation error on OS X 10.11 src/core/Alloc.cpp:44:10: error: no type named 'free' in namespace 'std' std::free(ptr); ~~~~~^ This is a regression, since it was fixed in [1] Per [2], std::free() needs #include <cstdlib>. That file is included indirectly on newer systems. [1] https://github.com/keepassxreboot/keepassxc/commit/7c6c027d33b06eb706f93e3d178a2305d7bcfd56 [2] https://en.cppreference.com/w/cpp/memory/c/free * fix compilation when macos SDK <= 10.14 These methods are only available from macOS 10.15 - kSecAccessControlWatch - LAPolicy.deviceOwnerAuthenticationWithBiometricsOrWatch The code uses @available syntax which is supported by AppleClang >= 9 or LLVM >= 5. We check __clang_major__ to allow compilation on older versions of macOS that don't have a recent clang.
2021-11-24Add sorting of HTML exportPatrick Sean Klein
- Closes #6164 - Implement sorting support in HtmlExporter - Add ExportDialog class and UI, which allows to configure export options.
2021-11-23use cmake's FindOpenMP (#7156)tenzap
check_add_gcc_compiler_flag("-fopenmp") is not robust enough. On some systems and with some compilers (eg. AppleClang 7) it may say the compiler flag is valid, but later build fails with: ld: library not found for -lgomp Actually, AppleClang doesn't support OpenMP Replace this check with cmake's FindOpenMP [1] which gives better results. Output example in case of not found -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) Output example in case of found -- Found OpenMP_C: -fopenmp=libomp (found version "3.1") -- Found OpenMP_CXX: -fopenmp=libomp (found version "3.1") -- Found OpenMP: TRUE (found version "3.1") [1] https://cmake.org/cmake/help/v3.3/module/FindOpenMP.html?highlight=openmp#variables
2021-11-22Correctly set KDBX envelope versionJanek Bevendorff
Shows a warning when trying to open with a newer minor version than what is currently supported. We always try to save with the lowest KDBX version possible for maximum compatibility.
2021-11-22Retain number of rounds when auto-upgrading KDBX versionJanek Bevendorff
2021-11-22Avoid redundant KDBX4 test runsJanek Bevendorff
2021-11-22Upgrade to KDBX 4 if new 4.1 features are usedJanek Bevendorff
2021-11-22Implement KDBX 4.1 CustomData modification dateJanek Bevendorff
We keep the old merging behaviour for now, since deleting a CustomData entry does not create DeletedObject.
2021-11-22Implement KDBX 4.1 extended custom iconsJanek Bevendorff
2021-11-22Add "Restore Entries" featureJanek Bevendorff
2021-11-22Implement KDBX 4.1 group tagsJanek Bevendorff
2021-11-22Implement KDBX 4.1 PreviousParentGroup flagJanek Bevendorff
2021-11-22Implement KDBX 4.1 PasswordQuality flagJanek Bevendorff
2021-11-16Improve Visual Studio and vcpkg supportJonathan White
2021-11-14Fix crash while downloading faviconsADD-SP
2021-11-14Fix entry preview resetting when focusing out of entry viewJonathan White
* Fixes #7061 * This bug impacts linux only when clicking in the preview panel.
2021-11-12Removing QWidget dependency from src/core.louib
2021-11-08Fix database save calls in CLI due to backup pathJonathan White
2021-11-08Allow specifing database backup paths. (#7035)Patrick Klein
- Default backupFilePath is '{DB_FILENAME}.old.kdbx' to conform to existing standards - Implement backupPathPattern tests. - Show tooltip on how to format database backup location text field.
2021-11-08CLI: Fixed typo in testsJonathan White
2021-11-08CLI: Add commands to handle attachmentsAndre Blanke
* Add commands to manipulate entry attachments from the CLI * Closes #4462 * Add the following commands: attachment-export: Exports the content of an attachment to a specified file. attachment-import: Imports the attachment into an entry. An existing attachment with the same name may be overwritten if the -f option is specified. attachment-rm: Removes the named attachment from an entry. * Add --show-attachments to the show command
2021-11-05Support for wordlists in user configuration directory (#6799)snipfoo
This commit allows users to put alternative wordlists in a `wordlists` subdirectory below their KeePassXC directory (e.g., under Linux, `~/.config/keepassxc/wordlists`). These wordlists will then appear in the dropdown menu in the *Password Generator* widget. In order to differentiate between lists shipped with KeePassXC and user-provided lists, the former appears with a (SYSTEM) prefix.
2021-11-05Add Microsoft Edge support for Linux (#7100)Sami Vänttinen
2021-11-05Auto-Type: Reimplement X11 keysym emulation (#7098)Toni Spets
* Fix Regression since 4d07507 * Auto-Type: Workaround X server default keymap bug If there's a system wide configuration through xorg.conf for a default keyboard layout and it's not updated by the WM/DE at startup the Xkb extension seems to be somewhat confused with XTEST and the layout somehow defaults to US ANSI. Reading the keyboard description and writing it back without changes works around this.
2021-10-25Implement "Overwrite attachment" confirmation dialog.Patrick Sean Klein
2021-10-25Modify the KeePassHTTP attribute conversion button text (#7073)Sami Vänttinen
2021-10-24Launch KeePassXC password generator popup from the extensionvarjolintu
* Closes #6473
2021-10-24FdoSecrets: reject setting refs via the API (#7043)Aetf
* FdoSecrets: add TOTP as a readonly attribute * FdoSecrets: reject setting fields containing refs, fixes #6802 It is still possible to set refs using KPXC UI.
2021-10-24Resolve references of entry attributes when exporting to HTML.Patrick Sean Klein
2021-10-24cmake: Check for PIE supportAndreas Schneider
2021-10-24Fix building on macOS due to PCSCJonathan White
* Fixes #7072
2021-10-17cmake: Fix position independent code with LTOAndreas Schneider
Fixes #7044
2021-10-17Fix EntryView and PreviewView to automatically update when the model changesAetf
2021-10-17FdoSecrets: Implement unlock before searchAetf
Fixes #6942 and fixes #4443 - Return number of deleted entries - Fix minor memory leak - FdoSecrets: make all prompt truly async per spec and update tests * the waited signal may already be emitted before calling spy.wait(), causing the test to fail. This commit checks the count before waiting. * check unlock result after waiting for signal - FdoSecrets: implement unlockBeforeSearch option - FdoSecrets: make search always work regardless of entry group searching settings, fixes #6942 - FdoSecrets: cleanup gracefully even if some test failed - FdoSecrets: make it safe to call prompts concurrently - FdoSecrets: make sure in unit test we click on the correct dialog Note on the unit tests: objects are not deleted (due to deleteLater event not handled). So there may be multiple AccessControlDialog. But only one of it is visible and is the correctly one to click on. Before this change, a random one may be clicked on, causing the completed signal never be sent.
2021-10-11Add Browser Integration to Group Edit pagevarjolintu
Closes #1789 and closes #3998
2021-10-11Support for triggering Global Auto-Type from browser extensionvarjolintu
2021-10-09Cleanup PCSC interface codemhmdanas
Fixes #7025
2021-10-09Fix broken browser integration since #6899 (#7030)Chih-Hsuan Yen
2021-10-09Add direct write save optionJonathan White
* Closes #6335 * Modify application settings presentation to allow for alternative saving strategies * Transition Database::save calls to using flags to control saving behavior. Reduces boolean flags on function call. * Made direct write save option a local setting to prevent unintentional carry over between platforms.
2021-10-09Fix infinite save bug when saving failsJonathan White
* Introduced in #6438, modified signal is not blocked at the Database level when emitting is blocked. This causes infinite saving to occur when Always Save After Every Change is enabled.