JMcKiern
6c9125402a
Cleanup welcome screen recent databases view ( #4822 )
...
* Press "Delete" to remove recent database
* Refresh recent databases on becoming visible
2020-06-06 08:26:46 -04:00
Janek Bevendorff
596d2cf425
Refactor Config.
...
Replaces all string configuration options with enum types
that can be checked by the compiler. This prevents spelling
errors, in-place configuration definitions, and inconsistent
default values. The default value config getter signature was
removed in favour of consistently and centrally default-initialised
configuration values.
Individual default values were adjusted for better security,
such as the default password length, which was increased from
16 characters to 32.
The already existing config option deprecation map was extended
by a general migration procedure using configuration versioning.
Settings were split into Roaming and Local settings, which
go to their respective AppData locations on Windows.
Fixes #2574
Fixes #2193
2020-05-02 22:30:27 +02:00
Janek Bevendorff
b045160e4f
Bundle icons using the Qt resource system.
...
Simplify resource loading logic and enable reproducible builds.
Fixes #2582
2020-03-14 10:13:12 -04:00
Jonathan White
125a81f2ed
Implement 1Password Vault Import
...
* Support importing 1Password vaults (.opvault folders) into KDBX database
* Entry attributes are filled based on section and field name
* Expiration dates are set for entries
* Entry URL's are set from a wider array of fields
2019-05-19 18:21:34 -04:00
Jonathan White
7e1b16250c
Performed project-wide code formatting
...
* Updated format CMake command to properly
ignore new directories and files
* Added output when command is run
* Resolves #2623
2019-01-28 22:38:59 -05:00
George Shakhnazaryan
b1ff346f63
Allow Enter key to select recent DB on OS X
...
* Override `keyPressEvent`on WelcomeWidget on OS X to `openDatabaseFromFile`.
openDatabaseFromFile is already invoked via the QListWidget::itemActivated signal,
but this signal doesn't fire on OS X for Enter.
QListWidget::itemActivated activates on an OS specific activation key. [1]
On Windows/X11, this is Enter, which lets the user easily
navigate with just the keyboard.
On OS X, this is Ctrl+O, which is already bound to Open Database. This means that itemActivated cannot fire via the keyboard.
Per StackOverflow [2], the recommended solution is to catch
the enter/return key press manually.
This seems like a common problem with Qt. [3] [4]
[1] https://doc.qt.io/archives/qt-4.8/qlistwidget.html#itemActivated
[2] https://stackoverflow.com/questions/31650780/when-does-a-qtreeview-emit-the-activated-signal-on-mac
[3] https://forum.qt.io/topic/36147/pyside-itemactivated-not-triggered-on-mac-os-x-with-return-key
[4] https://github.com/dolphin-emu/dolphin/pull/6099
2018-12-25 16:00:02 -05:00
Janek Bevendorff
0ca7fd369a
Implement review feedback
2018-10-19 22:16:44 +02:00
Louis-Bertrand Varin
8324d03f0a
Formatting the code.
2018-03-31 16:01:30 -04:00
Janek Bevendorff
5410d78bbb
Properly save custom header data
...
Ensure adding custom data upgrades to KDBX4
Implement review feedback
2018-02-21 13:23:14 +01:00
Janek Bevendorff
07a2077c1e
Make 'Welcome to KeePassXC $VERSION' string properly translatable, resolves #1236
2018-01-28 16:44:36 +01:00
thez3ro
a53b111182
Update and fix copyright headers
2017-06-14 15:54:43 +02:00
thez3ro
7ca13b3d51
fix RecentDatabases, closes #386
2017-03-29 17:09:33 +02:00
seatedscribe
9307834ef0
Add a button for CSV import option
2017-03-22 22:33:00 +01:00
Janek Bevendorff
8d487d31a4
Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords
2017-03-10 16:12:02 +01:00
thez3ro
5c80c31a70
hide recent database; fix wording
2017-02-11 23:56:26 +01:00
thez3ro
ee981c4c19
closes #204 . Welcome screen redesign
2017-02-11 19:34:53 +01:00
Florian Geyer
f53768fc84
Add welcome widget.
2012-05-27 20:15:06 +02:00