Commit Graph
3416 Commits
Author SHA1 Message Date
Jonathan White 09e47d3731 Fix rendering & and " in preview panel
* Set plain text mode on elements that should never have styling
* Revert html escaping as a prior fix
2025-01-19 09:28:23 -05:00
Jonathan White f14c256b44 Implement Secure Input Field mode on macOS
* Fixes #4738
* Also fixes flaky handling of caps lock detection events
2025-01-19 09:25:56 -05:00
Jonathan White 080e315a09 Add Proton Pass importer
* Closes #10465
2025-01-03 18:30:24 -05:00
8a3de7334b Show a clear error if no slots on hardware key(s) are configured (#11609)
Fixes #11543

Also fix delayed polling on window activation

---------

Co-authored-by: w15dev <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2025-01-03 18:20:11 -05:00
xboxones1andJonathan White 8b24e48fde Minor style fixes (#11445)
* Clean up removed elements in qt stylesheets
* Disable main window when saving
* Fixed triangle size in group view

---------

Co-authored-by: Jonathan White <[email protected]>
2025-01-03 18:20:00 -05:00
Jonathan White bb6950433d Fix passphrase word lists not rendering with UTF-8
* Fixes #11599
2025-01-03 18:19:54 -05:00
12b2360855 Passphrase "MIXED case" Type (#11255)
* An additional approach to create passphrases with one random word being in UPPERCASE.
* Also remove duplicate character count from passphrase generator

---------

Co-authored-by: Stephan Heffner <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2025-01-03 18:19:48 -05:00
Jonathan White 2364e4cd4a Fix renaming extension key name in Database Settings 2025-01-03 18:17:07 -05:00
Jonathan White 84b064b743 Add copy shortcuts to Auto-Type select dialog
* Fixes #10213
* Sets copy password/username/totp to Ctrl+Shift+1/2/3 respectively
2025-01-03 18:02:20 -05:00
Jonathan White c5e1fbfafc Additional exclusion fields for Windows Clipboard
* Fixes #7127
2025-01-03 18:00:07 -05:00
Jonathan White 998569234d Fix entry preview rendering HTML
* Fixes #11538 - prevent rendering HTML in Title, Password, and URL fields in the entry preview pane.
2025-01-03 17:59:57 -05:00
xboxones1 98e671fdc6 DarkTheme: Fix color for handles 2024-12-21 23:43:30 -05:00
Jonathan White ecf2e2da5a CLI: Restore the original codepage on windows
* Fixes #11465
2024-12-21 23:43:14 -05:00
Jonathan White ca68031795 Fix crash on Linux when database is closed without hardware key present
* Fixes #11450
2024-12-21 23:43:07 -05:00
Jonathan White 789f91ba39 Fix crash when multiple dbus unlock calls are issued
* Fixes #11512
2024-12-21 23:42:55 -05:00
xboxones1 b85675f4a7 DarkTheme: Fix separator color for TagView (#11511) 2024-12-21 23:42:45 -05:00
Jonathan White 241155e64d Implement T-CONV and T-REPLACE-RX entry placeholders
* Closes #7293
* Move existing T-CONV and T-REPLACE-RX code from AutoType to Entry. Replumb AutoType to use the entry functions.
* Improve placeholder code in various place
2024-12-21 23:41:46 -05:00
xboxones1 18cdbb3f5a Hide status bar on WelcomeScreen 2024-12-21 23:40:06 -05:00
Sami Vänttinen da606923e9 Browser: Fix cancel with database unlock dialog (#11435) 2024-12-21 23:39:58 -05:00
Jonathan WhiteandFischLu 9348ecdc27 Replace legacy code on macOS builds (#11428)
* Fix macOS build error due to CGDisplayStreamCreate being deprecated.

---------

Co-authored-by: FischLu <[email protected]>
2024-12-21 23:29:00 -05:00
Jonathan White 1e6486ae17 Add timeout to SSH Agent streams
* Fixes #11128
2024-12-21 23:27:55 -05:00
xboxones1 bd4bdc6a3f Fixed background color when window is out of focus 2024-12-21 23:27:34 -05:00
Jonathan White 2836364e1a Fix assert hit when viewing entry history
* Fixes #11371
* Adds test for showing entry history
* Improved page switching capabilities for entry edit widget
2024-12-21 23:27:18 -05:00
Jonathan White c6800bf705 Hide the menubar when menus lose focus (if toggled off)
* Fixes #10768
* Also fix menubar toggling not working if Qt version is less than 5.15
2024-12-21 23:26:49 -05:00
Jonathan White 1df561ee07 Fix resolving advanced values in entry preview
* Fixes #10961
* Fixes #7410 - show content of references when previewing notes
2024-12-21 23:25:58 -05:00
Jonathan White c12b0c5568 Improve related splitter UX
* Prevent group pane from being hidden just by dragging. Introduce new View menu setting to hide the group pane.
* Replace the preview panel "close" icon with a "collapse down" icon making the intention clearer.
* Better organize the view menu
2024-12-21 23:25:45 -05:00
Jonathan White 6f42041837 Reset splitter sizes on database unlock
* Attempt to avoid issue with splitters not being appropriately calculated because the main window isn't sized yet. This can happen if the main window is hidden when the database is loaded and the splitter sizes are not recorded in the config file.
2024-12-21 23:25:29 -05:00
Sami Vänttinen 383c6d05d1 Support passkeys with Bitwarden import (#11401) 2024-12-21 23:25:15 -05:00
vallode b68775e9d8 Fix MacOS login items showing ambigious name (#11373) 2024-12-21 23:24:50 -05:00
Jonathan White 7de453b838 Avoid hitting assert on XML export
* Fixes #11365
2024-12-21 23:24:41 -05:00
Jonathan White ae28ff6833 Fix entry notes reveal button requiring two clicks sometimes 2024-12-21 23:24:18 -05:00
xboxones1 70c024f7f5 Dark theme fix colors for qmenu 2024-10-12 07:45:46 -04:00
Jonathan White 06699c6692 Add option to disable opening a browser window when double-clicking the "URL" column (#11332) 2024-10-12 07:45:39 -04:00
Jonathan White 0731a64957 Add database name, color, and icon options for unlock view (#10819)
Closes #10783

Adds three database configuration options (stored as public custom data) that allow a database to have a public name/summary, color, and/or icon to be displayed on the unlock screen. This information is configured in the Database Settings and stored in the database public custom data (ie, unencrypted).

The name/summary is stored in KPXC_PUBLIC_NAME, the color is stored in KPXC_PUBLIC_COLOR, and the icon is stored in KPXC_PUBLIC_ICON.

---------

Co-authored-by: Jonathan White <[email protected]>
2024-10-07 23:47:40 -04:00
Jonathan White 36ec1aa35b Prevent multiple lock requests on Linux
* Fixes #11000

When the screen locks on e.g. gnome we receive multiple independent signals of that, namely the Gnome session manager and the gnome / freedesktop screensaver.

When this happens, this causes multiple "lock database" requests to be issued. The first one correctly shows the question to discard/cancel, but the second one while the first is still asking goes and dismisses the question and then goes to ask it again. The result is it acts like you didn't answer correctly (ie, to cancel) and the database is locked.
2024-10-07 18:07:28 -04:00
Jonathan White 53bbc4717e Fix horizontal scrollbar not showing in group view
* Fixes #11300
2024-10-07 18:07:22 -04:00
Jonathan White 3c26709da9 Overhaul action states and add icons to toolbar
* Fixes #10981
2024-10-07 18:07:15 -04:00
Jonathan White 413eec9b8c Add Import/Export to application settings
* Closes #9452 - add import/export buttons to application settings

* Fixes #11120 - duplicate both menubar and toolbar visibility settings into the application settings

* Fixes #8561 - improve placement of various settings between General and Security pages

* Improve tool tip for backup database setting
* Improve wording of various settings
2024-10-07 17:49:58 -04:00
Jonathan White 94eb3ffa7a Minor UI fixes
* Fixes #11044 - password generator excluded characters tooltip was incorrect

* Fixes #11084 - allow more than 30 days for showing expiring passwords. Also fix the ability to properly translate this control.

* Fixes #11212 - don't show password on creating new database

* Fixes #10726 - improve indication of hardware key polling. Also improve layout spacing of unlock dialog.

* Fixes #11142 - provide better link for challenge-response information
2024-10-07 17:48:53 -04:00
Jonathan White 673bdbcf3c Fix detection regex for yubikey on Windows
Something changed in the behavior of regex in Qt that prevents matches using a begin line caret without a complementary end line.
2024-10-07 17:48:19 -04:00
Jonathan White b671070c0d Handle alternative 1Pux password entry
* Fixes #11298
2024-10-07 17:48:07 -04:00
Jonathan White aeee40048c Add support for group selection when creating a passkey 2024-10-07 17:45:34 -04:00
Jonathan White defb5f027d Support KeePass2 TOTP settings
* Fixes #7263
* Also improves handling of custom TOTP settings
2024-09-13 22:48:57 -04:00
varjolintu 292046ff7f Allow deleting extension plugin data from Browser Statistics 2024-09-13 22:48:51 -04:00
Jonathan White 05167e7b21 Fix signal/slot disconnect when opening import wizard
* Fixes #11037
2024-09-13 22:48:31 -04:00
Jonathan White ad9ef88e15 Prevent duplicate entries in passphrase wordlists
Replace a QVector for the wordlist with a QSet. This removes all duplicate entries in a given wordlist.
Thus, it hinders a malicious wordlist that has the proper length (>4000 entries) but with repetitions (effectively << 4000 entries) to be used and potentially create weaker passphrases than estimated.

Example:
List with 4000 items but only 64 unique words would lead to only 48 bit of Entropy instead of ~95 bit!
2024-09-13 22:48:16 -04:00
Jonathan White 0e59f2745e CLI: Add -d dry-run shortcut to merge command
* Fixes #11191
2024-09-13 22:46:25 -04:00
Jonathan White 78cff4b6d9 Fix copy-to-clipboard shortcut on macOS
It turns out that the previous implementation, based on installing an event filter in every QAction instance, does not work on macOS, likely due to a Qt bug.

Attempt to work around this by using a different implementation of the same idea, by reacting to ShortcutOverride events in the MainWindow object.

Fixes #10929.
2024-08-13 22:49:16 -04:00
Felix NüsseandJonathan White 8bdbccf13f Use Icons for password strength (#9844)
---------

Co-authored-by: Jonathan White <[email protected]>
2024-08-13 22:48:59 -04:00
Jonathan White 4317e9d829 Prevent long-running threads from deadlocking the program with only 1 CPU
* Fixes #10391
2024-08-13 22:48:59 -04:00