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
path: root/tests/gui
AgeCommit message (Collapse)Author
2022-09-08Use search for showing expired entries on unlockJonathan White
* Fix #8036 - use search interface to display expiring entries on first unlock.
2022-06-04FdoSecrets: add smarter handling of database unlock requestsAetf
This commit implements the following logic: * If there're already unlocked collections, just use those, * otherwise, show the unlock dialog until there's an unlocked and exposed collection. * Fixes #7574
2022-06-04FdoSecrets: ask to unlock the database when creating itemsAetf
Also only emit databaseUnlockFinished after the database is unlocked Fix #7989
2022-05-31Add password strength indicator to PasswordEditWidgetJ.M. Dana
Fixes #7437 (entry edit view only) Fixes #5220
2022-05-31Fix transient errors in GUI testsJonathan White
* Fix saving file errors due to atomic saves on Windows * Fix tests that rely on clicking a list index that is out of view
2022-05-30Limit zxcvbn entropy estimation lengthPatrick Sean Klein
Limit the use of zxcvbn based password entropy estimation to 256 bytes. After this threshold, the average per-byte entropy from the zxcvbn calculation is added for each additional byte. In practice, this produces a slightly higher entropy calculation for purely randomized passwords than zxcvbn would normally calculate. However, the time to calculate is capped leading to a much better user experience and removing unnecessary calculations. Fixes #7712
2022-05-28FdoSecrets: skip entries in recycle bin when searching (fix #7933)Aetf
2022-03-30Several improvements to tags editingJonathan White
* Fix #7602 - Allow spaces in tag names * Fix #7528 - Allow pasting text into the tags field. Text is split by comma creating tags for each section of text. If there are no commas then the pasted text becomes a tag. * Fix tags editing not causing the entry to be marked as modified.
2022-03-21FdoSecrest: allow remember decision for future entriesAetf
Also added a reset decision button in session management tab Fixes #7464 * Fix distorted button in settings page: the default margin in QToolBar is too large for our use case in a table row.
2022-01-29Remove obsolete read only state from database. (#7324)Patrick Klein
2022-01-29Add tags featureXavier Valls
* show the tags in the entry preview * allow searching by tag * add a sidebar listing the tags in the database * filter entries by tag on click * Introduce a new TagsEdit widget that provides pill aesthetics, fast removal functionality and autocompletion * add tests for the tags feature * introduce the "is" tag for searching. Support for weak passwords and expired added.
2021-12-13Add lock selected database action on toolbarLorenzo Tucci
Closes #6445 Switch tab when locking a database and move Lock Database actions to the Database section of the toolbar.
2021-11-25Fix transient save errors in TestGuiJonathan White
2021-11-12Removing QWidget dependency from src/core.louib
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-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-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-02FdoSecrets: Improve client executable path handling (#6915)Aetf
* Fixes #6459 Improves the overall handling of FdoSecrets showing client executable paths to the user. It does the following: * Check executable file existence as described in [RFC] fdosecrets: add optional confirmation to secret access (#4733) * Show application PID and dbus address in the client list * When the executable file is inaccessible, depending on where the client name is shown: * when shown inline, e.g. in notification text, where space is limited, clearly say that the path is invalid * when shown in auth dialog, show warning and print detailed info about the client * when shown in the client list, draw a warning icon Co-authored-by: Jonathan White <support@dmapps.us>
2021-09-26Fix tests on macOS and update coverage config (#6945)Janek Bevendorff
Simplifies coverage generation and uses llvm-cov instead of gcov if compiler is clang.
2021-07-14Optimize includes across code basepeter
2021-06-12Resolve compiler warnings for unused return valuesJonathan White
* Fixes #1932 - See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c29 Adding a negation before the function call allows the (void) syntax to work properly.
2021-04-24Better description text for Key File change dialogMartin Mokrejs
2021-04-06Replace all crypto libraries with BotanJonathan White
Selected the [Botan crypto library](https://github.com/randombit/botan) due to its feature list, maintainer support, availability across all deployment platforms, and ease of use. Also evaluated Crypto++ as a viable candidate, but the additional features of Botan (PKCS#11, TPM, etc) won out. The random number generator received a backend upgrade. Botan prefers hardware-based RNG's and will provide one if available. This is transparent to KeePassXC and a significant improvement over gcrypt. Replaced Argon2 library with built-in Botan implementation that supports i, d, and id. This requires Botan 2.11.0 or higher. Also simplified the parameter test across KDF's. Aligned SymmetricCipher parameters with available modes. All encrypt and decrypt operations are done in-place instead of returning new objects. This allows use of secure vectors in the future with no additional overhead. Took this opportunity to decouple KeeShare from SSH Agent. Removed leftover code from OpenSSHKey and consolidated the SSH Agent code into the same directory. Removed bcrypt and blowfish inserts since they are provided by Botan. Additionally simplified KeeShare settings interface by removing raw certificate byte data from the user interface. KeeShare will be further refactored in a future PR. NOTE: This PR breaks backwards compatibility with KeeShare certificates due to different RSA key storage with Botan. As a result, new "own" certificates will need to be generated and trust re-established. Removed YKChallengeResponseKeyCLI in favor of just using the original implementation with signal/slots. Removed TestRandom stub since it was just faking random numbers and not actually using the backend. TestRandomGenerator now uses the actual RNG. Greatly simplified Secret Service plugin's use of crypto functions with Botan.
2021-02-27Add entry view column for password strengthOjas Anand
* Closes #4216 Reduced to three-tiered rating system and fixed column implementation. Hide password strength indicator in entry view if excluded from reports. Introduce password health caching to prevent unnecessary calculations.
2021-02-20Address translation feedback from TransifexJonathan White
2021-02-05FdoSecrets: Major Refactor and Code Consolidation (#5747)Aetf
* Fixes #3837 * Change objects to use DBusMgr rather than separate adaptors - Update all DBus invokable methods to new parameter order - Change all usage of DBusReturn to simpler DBusResult - Use DBusMgr to handle path and service registration - Remove adaptor/* - Set path in DBusObject - Unregister service when service is destroyed - Restore handling of invalid QVariant in prompt complete signal - Clean up meta type registration - Move dbus related file together - Convert to QSharedPointer as much as possible - Fix mapping of the Delete method - Handle dbus property get all * Add per-client states - Move cipher negotiation to DBusClient - Show list of clients instead of sessions in the settings page - Add settings for confirmation of accessing items - Fix infinite recursion when client disconnected - Use optional explicit DBusClient parameter instead. This makes accessing the client info in an async context explicit, and thus prevent accidental assertions in prompts. * Improve User Interface - Add per-item access confirmation (if enabled) - Remove the "disable for site" button for the access control dialog - Improve the text on the settings page to be more consistent - Fix disconnect buttons in settings page not working - Make the unlock prompt method nonblocking * Fix and cleanup unit tests - Use QTRY_COMPARE when checking signal spies, as dbus signals are threaded - Fixes in meta type registration and type conversion - Remove QStringLiteral in COMPARE macros, making diff output readable - Add testing for remembering auth decision
2021-01-12Merge branch 'master' into developJanek Bevendorff
2020-12-21Copy history when drag/drop entries and groupsJonathan White
* Fix #5809
2020-12-13Display default autotype sequence on entry preview panekrsnik93
* Fix #5450
2020-12-12Redo 'delete entries no confirm' functionality & unit-tests (#5812)Bernhard Berg
* Fixes #5232
2020-12-04Add Argon2id KDF (backport of #5726)Janek Bevendorff
2020-12-03Add Argon2id KDFJanek Bevendorff
2020-11-14FdoSecrets: fix signal connectionsAetf
2020-11-14FdoSecrets: handle corner cases in collection dbus names, fix #5279Aetf
- Use completeBaseName rather than baseName to ensure nonempty name - Handle two databases have the same name - Cleanup Service::onDatabaseTabOpened logic
2020-11-14FdoSecrets: fix typosAetf
2020-10-15Merge branch 'release/2.6.2' into developJonathan White
2020-10-15Fix theme issues on macOSJanek Bevendorff
* Fix #5025 - Change edit entry widget title separator to the common bullet character • (U+2022) * Fix #5307 and Fix #5347 - Remove transparent toolbar/window on macOS and properly color text in toolbar.
2020-10-15Improve default Qt widget iconsJonathan White
* Include new icons for toolbar overflow to ensure they are tinted correctly and fit in with the rest of the UI. * Replace custom code for clearing line edits by including a proper icon for the default action.
2020-10-09Remove GUI bootstraping from core/ (#5513)louib
2020-08-19Change actions for F1-F2-F3 keysJonathan White
* Fixes #5037 * F1 focuses group view, if already focused it opens the focused group for editing * F2 focuses entry view, if already focused it opens the focused entry for editing * F3 focuses search
2020-07-03Replace "Master Key" with "Database Credentials"Jonathan White
Definitions: * Database Key - Cryptographic hash used to perform encrypt/decrypt of the database. * Database Credentials - User facing term to refer to the collection of Password, Key File, and/or Hardware Key used to derive the Database Key. Changes: * Remove the term "master" and "key" from the user's lexicon and clarify the code base based on the definitions above. * Clean up wording in the UI to be clearer to the end user.
2020-06-20FDO Secrets: Fix double free on exitJonathan White
* Prevent double free due to QObject cleanup happening before/after the ExtraPage storing the QSharedPointer to FdoSecretsPlugin is deleted. * Fixes #4877
2020-06-07Fix permissions changing on database saveJonathan White
* Saving a database in unsafe mode retains the existing permissions on the kdbx file * New databases (save as, save backup, new database) and new key files are saved with 0600 permissions (user read/write), fixes #2575
2020-06-04Update edit entry widget when backing entry changesJonathan White
* Fixes #4060 * Also fix not emitting entryModified() when history is truncated. This possibly fixes other crashes with apply button when the history is truncated and then the history page is shown with a deleted entry.
2020-06-04Fix theming with Qt 5.15Jonathan White
* Fixes #4765 * Fixes #4766
2020-06-04Fix resolving resources when running from build directoryJonathan White
* Copy wordlists to build dir share folder * Change resource path resolution to only test the provided directory, not finding a specific file
2020-06-04Various minor bug fixes / enhancementsJonathan White
* Fix issues when Config options were renamed * Fix compile issues when using clang 10 * Rearrange database menu icons and import database menu icons * Set minimum size of MainWindow to 800 to prevent search bar from hiding * Fix not saving password generator options when closing the standalone generator * Add headers to health check reports * Don't show hidden content dots when notes are hidden but empty. * Fix saving new database files in SMB shares on Windows, fixes #4809 * Gracefully handle duplicate attachments : Instead of bailing out with an error, prepend a random string to the name of duplicate attachment records. This prevents data loss from other programs that mishandled KDBX XML writing. Fixes #2493 * Properly handle blocked import of signed KeeShare database, fixes #4413
2020-05-30Clean up various parts of the UI and rearrange settingsJanek Bevendorff
- Unify widget layouts and margins - Fix tab order on a bunch of widgets - Fix broken entry/group edit form layout and replace with grid layout - Rearrange some settings for better logical grouping - Fix some settings checkboxes not being enabled/disabled on load - Fix "General" settings tab scrolling - Rename "Root" group to "Passwords" - Update demo.kdbx accordingly and redownload favicons - Change entry path display to use slash separators - Reduce Medium and Large icon sizes slightly
2020-05-29Replace database icons with SVG'sJonathan White
Original source of icons is the icon8 library (http://icons8.com/c/flat-color-icons) and Paomedia (https://github.com/paomedia/small-n-flat). All icons used are licensed MIT or CC0; annotated in COPYING. * Closes #4071 * Increase default size of database icons to 24px and entry preview panel to 48px * Add shell script to assemble the database icons * Use QIcon to seamlessly support High DPI displays and pixmap caching * Add badge support for KeeShare groups and expired entries. * Guard against use of QPixmap::fromImage without a GUI * Add SVG minify and improve `make icons` Co-authored-by: Wolfram Rösler <wolfram@roesler-ac.de>
2020-05-28FdoSecrets: add unit testsAetf