keepassxc/src/gui
Benedikt Rascher-Friesenhausen b2c2f42f30 Allow defining additional characters for the password generator
See issue #3271 for a motivation of this feature.

This patch adds an additional text input to the advanced view of the password generator.  All characters of this input field (if not empty) will be added as another group to the password generator.  The characters from the excluded field have precedence over the characters from this new field, meaning any character added to both fields will *not* appear in any generated password.  As the
characters from this new field will be added as their own group to the password generator, checking the 'Include characters from every group' checkbox will
force at least character to be chosen from the new input field.

The `PasswordGenerator` class has also been changed so that the `isValid` method returns `true` if only characters from the new input field would be used.

There is a new, simple test that covers the new feature.  While the test only uses ASCII characters, any Unicode characters can be used with the new feature.
2020-03-09 23:35:55 -04:00
..
csvImport Add braces around single line statements 2020-02-02 08:46:18 -05:00
dbsettings Add Created column to Browser Integration at Database settings 2020-03-07 10:05:06 -05:00
entry Remove inline password generator when editing entries 2020-03-09 18:03:20 -04:00
group Display database path in root group tooltip 2020-03-07 08:29:53 -05:00
masterkey Enhance Password Editing Fields 2020-03-09 18:03:20 -04:00
osutils Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
reports Implement Password Health Report 2020-02-01 09:30:12 -05:00
settings Restore correct formatting 2018-11-28 18:29:15 -05:00
styles Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
widgets Fix issues with PopupHelpWidget on Linux and macOS 2020-03-05 22:55:49 -05:00
wizard Enhance Password Editing Fields 2020-03-09 18:03:20 -04:00
AboutDialog.cpp Implement Password Health Report 2020-02-01 09:30:12 -05:00
AboutDialog.h Formatting the code. 2018-03-31 16:01:30 -04:00
AboutDialog.ui Updated contributors in about dialog (#2683) 2019-02-15 08:56:11 -05:00
Application.cpp Move theme detection into Application 2020-03-09 18:03:20 -04:00
Application.h Move theme detection into Application 2020-03-09 18:03:20 -04:00
ApplicationSettingsWidget.cpp Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
ApplicationSettingsWidget.h Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
ApplicationSettingsWidgetGeneral.ui Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
ApplicationSettingsWidgetSecurity.ui Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
CategoryListWidget.cpp Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
CategoryListWidget.h Improve readability and type-safety 2018-10-31 15:16:04 +01:00
CategoryListWidget.ui Make widget scalable and set minimum width based on the widget text 2017-02-22 03:39:13 +01:00
Clipboard.cpp Fix clearing clipboad on Gnome 2020-01-16 10:54:04 -05:00
Clipboard.h Fix clearing clipboad on Gnome 2020-01-16 10:54:04 -05:00
CloneDialog.cpp Cleanup CMakeFiles prior to release 2019-01-30 15:03:03 -05:00
CloneDialog.h Formatting the code. 2018-03-31 16:01:30 -04:00
CloneDialog.ui Fix clone dialog text 2017-07-20 14:09:33 +02:00
DatabaseOpenDialog.cpp FdoSecrets: only emit completed signal when the action actually finishes 2020-01-02 08:05:11 -05:00
DatabaseOpenDialog.h FdoSecrets: only emit completed signal when the action actually finishes 2020-01-02 08:05:11 -05:00
DatabaseOpenWidget.cpp Enhance Password Editing Fields 2020-03-09 18:03:20 -04:00
DatabaseOpenWidget.h Fix crash when switching tabs while unlocking 2020-03-07 16:52:24 -05:00
DatabaseOpenWidget.ui Enhance Password Editing Fields 2020-03-09 18:03:20 -04:00
DatabaseTabWidget.cpp Dynamically determine database validity 2020-03-07 16:52:24 -05:00
DatabaseTabWidget.h Fix crashes on database save 2020-03-07 16:52:24 -05:00
DatabaseWidget.cpp Ignore focus when checking toolbar state 2020-03-09 23:08:43 -04:00
DatabaseWidget.h Ignore focus when checking toolbar state 2020-03-09 23:08:43 -04:00
DatabaseWidgetStateSync.cpp Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
DatabaseWidgetStateSync.h Create config file deprecation mechanism & rename Details->Preview (#2371) 2018-10-08 21:11:44 -04:00
DialogyWidget.cpp Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
DialogyWidget.h Coding style fixes. 2015-10-15 18:02:31 +02:00
DragTabBar.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
DragTabBar.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
EditWidget.cpp Allow toggling SSH Agent integration without restart 2020-02-23 09:19:34 -05:00
EditWidget.h Correct issues with apply button 2019-04-07 19:12:45 -04:00
EditWidget.ui Add "Apply" button to entry and group edit windows (#624) 2017-06-13 20:55:53 -04:00
EditWidgetIcons.cpp Fixes for minor issues found by static analysis 2020-02-02 08:46:58 -05:00
EditWidgetIcons.h Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
EditWidgetIcons.ui Cleanup UI files 2020-01-27 22:58:19 -05:00
EditWidgetProperties.cpp Fix crash when removing custom data 2019-09-07 07:50:08 -04:00
EditWidgetProperties.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
EditWidgetProperties.ui Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
EntryPreviewWidget.cpp Prevent crash when all entries are deleted from a group 2020-01-16 10:53:41 -05:00
EntryPreviewWidget.h Prevent crash when all entries are deleted from a group 2020-01-16 10:53:41 -05:00
EntryPreviewWidget.ui Correct formatting of preview widget fields (#3727) 2019-11-09 18:16:05 +01:00
FileDialog.cpp Add braces around single line statements 2020-02-02 08:46:18 -05:00
FileDialog.h Improve File Dialog 2019-08-30 22:30:30 -04:00
Font.cpp Choose a better monospace font on macOS 2020-01-03 18:08:24 -05:00
Font.h Add monospaced font option for Notes field 2019-06-28 22:23:57 -04:00
IconDownloaderDialog.cpp Add OSUtils for platform-specific functionality. 2020-03-05 09:24:11 +01:00
IconDownloaderDialog.h Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
IconDownloaderDialog.ui Updated translation file and fixed typos 2019-10-23 22:48:34 -04:00
IconModels.cpp Fixed issues with initial commit 2018-07-06 22:23:52 -04:00
IconModels.h Replaced Uuid with QUuid 2018-07-06 22:23:49 -04:00
KeePass1OpenWidget.cpp Redesign database unlock widget. (#3287) 2019-06-22 18:00:31 +02:00
KeePass1OpenWidget.h Make C++11 mandatory. 2015-09-12 13:55:50 +02:00
KMessageWidget.cpp Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
KMessageWidget.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
LineEdit.cpp Ignore system icon theme, always use our own icons 2020-01-29 19:18:54 -05:00
LineEdit.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
MainWindow.cpp Ignore focus when checking toolbar state 2020-03-09 23:08:43 -04:00
MainWindow.h Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
MainWindow.ui Enhance Password Editing Fields 2020-03-09 18:03:20 -04:00
MainWindowAdaptor.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
MainWindowAdaptor.h Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
MessageBox.cpp Fixes for minor issues found by static analysis 2020-02-02 08:46:58 -05:00
MessageBox.h Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
MessageWidget.cpp Correct behaviors when saving database fails 2019-04-07 12:12:43 -04:00
MessageWidget.h Correct behaviors when saving database fails 2019-04-07 12:12:43 -04:00
OpVaultOpenWidget.cpp Redesign database unlock widget. (#3287) 2019-06-22 18:00:31 +02:00
OpVaultOpenWidget.h Implement 1Password Vault Import 2019-05-19 18:21:34 -04:00
org.keepassxc.KeePassXC.MainWindow.xml add function for locking DBs from DBus, fix #687 2018-01-25 23:48:58 +01:00
PasswordEdit.cpp Remove inline password generator when editing entries 2020-03-09 18:03:20 -04:00
PasswordEdit.h Remove inline password generator when editing entries 2020-03-09 18:03:20 -04:00
PasswordGeneratorWidget.cpp Allow defining additional characters for the password generator 2020-03-09 23:35:55 -04:00
PasswordGeneratorWidget.h Remove inline password generator when editing entries 2020-03-09 18:03:20 -04:00
PasswordGeneratorWidget.ui Allow defining additional characters for the password generator 2020-03-09 23:35:55 -04:00
SearchHelpWidget.ui Fix issues with PopupHelpWidget on Linux and macOS 2020-03-05 22:55:49 -05:00
SearchWidget.cpp Fix issues with PopupHelpWidget on Linux and macOS 2020-03-05 22:55:49 -05:00
SearchWidget.h Fix clearing search field when using application 2020-02-27 21:22:11 -05:00
SearchWidget.ui Add custom light and dark UI themes 2020-03-05 09:24:11 +01:00
SortFilterHideProxyModel.cpp Adapt to setSupportedDragActions() begin removed. 2015-09-12 13:51:49 +02:00
SortFilterHideProxyModel.h Make C++11 mandatory. 2015-09-12 13:55:50 +02:00
SquareSvgWidget.cpp Add QR code generator for TOTP export (#1167) 2018-10-19 14:42:49 -04:00
SquareSvgWidget.h Add QR code generator for TOTP export (#1167) 2018-10-19 14:42:49 -04:00
TotpDialog.cpp Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
TotpDialog.h Complete refactor of TOTP integration 2018-09-15 12:10:26 -04:00
TotpDialog.ui Add TOTP support 2017-05-03 20:55:14 -03:00
TotpExportSettingsDialog.cpp Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
TotpExportSettingsDialog.h Add QR code generator for TOTP export (#1167) 2018-10-19 14:42:49 -04:00
TotpSetupDialog.cpp Relax strictness of TOTP Base32 validation 2019-11-09 00:53:40 +01:00
TotpSetupDialog.h Complete refactor of TOTP integration 2018-09-15 12:10:26 -04:00
TotpSetupDialog.ui Correct issues with TOTP Setup 2019-10-20 17:57:51 -04:00
UpdateCheckDialog.cpp Ran make format 2019-03-19 18:56:17 -04:00
UpdateCheckDialog.h Ran make format 2019-03-19 18:56:17 -04:00
UpdateCheckDialog.ui Update checking feature (#2648) 2019-01-30 09:11:50 -05:00
URLEdit.cpp Show UI warning for invalid URLs 2019-12-21 09:22:16 -05:00
URLEdit.h Show UI warning for invalid URLs 2019-12-21 09:22:16 -05:00
WelcomeWidget.cpp Implement 1Password Vault Import 2019-05-19 18:21:34 -04:00
WelcomeWidget.h Implement 1Password Vault Import 2019-05-19 18:21:34 -04:00
WelcomeWidget.ui Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00