Sami Vänttinen
b8d2d5d877
Choose database for saving or updating entries from KeePassXC-Browser ( #2391 )
2018-10-19 14:44:08 -04:00
Janek Bevendorff
e443cde452
Add a new database settings wizard
...
This patch implements a new database wizard to guide users through the process
of setting up a new database and choosing sane encryption settings.
It also reimplements the master key settings to be more
user-friendly. Users can now add, change, or remove individual composite
key components instead of having to set all components at once. This
avoids confusion about a password being reset if the user only wants to
add a key file.
With these changes comes a major refactor of how database composite keys and key
components are handled. Copying of keys is prohibited and each key
exists only once in memory and is referenced via shared pointers. GUI
components for changing individual keys are encapsulated into separate
classes to be more reusable. The password edit and generator widgets
have also been refactored to be more reusable.
2018-09-25 21:12:47 +02:00
Jonathan White
ca27fb06d5
Merge branch 'master'
...
Conflicts:
INSTALL.md
release-tool
src/browser/BrowserOptionDialog.cpp
src/browser/BrowserService.cpp
src/browser/BrowserService.h
src/browser/NativeMessagingBase.h
src/browser/NativeMessagingHost.h
src/core/Uuid.cpp
src/gui/DatabaseTabWidget.cpp
src/gui/DatabaseWidget.cpp
src/gui/EditWidget.cpp
src/gui/MainWindow.cpp
src/gui/MainWindow.ui
src/proxy/NativeMessagingHost.h
src/sshagent/ASN1Key.cpp
2018-08-24 09:42:38 -04:00
Jonathan White
2eb3159f8a
Disable merge when database is locked
2018-05-18 17:06:38 -04:00
Louis-Bertrand Varin
8324d03f0a
Formatting the code.
2018-03-31 16:01:30 -04:00
Edward Jones
e66adfbf68
Make more strings translatable
...
Includes making certain modifiers (like "[locked]") positionable, in
case languages put this before the word
2018-03-13 20:41:12 +00:00
Edward Jones
e718e9f5e5
Fix file dialog filter translations
2018-03-13 19:55:37 +00:00
thez3ro
b33259b1f2
relock database after successful autotype
2018-02-05 20:12:24 +01:00
Jonathan White
3e2443a861
Add support for nightly builds to release tool
2018-01-30 21:21:23 +01:00
Jonathan White
6a4b275d40
Minor changes to address comments
2018-01-28 11:31:56 -05:00
Jonathan White
3db9a86a4c
After 3 failed saves, offer to disable safe saves
...
* User is prompted to disable safe saves after three failed attempts
* Completely retooled basic settings to group settings logically
* Added setting for "atomic saves"
2018-01-28 11:28:39 -05:00
Jonathan White
d7f408e455
Correct saving files to DropBox/Drive/OneDrive
...
* Replaces QSaveFile with QTemporaryFile
* Added backup before save config setting
* This method may cause data loss (see comments)
2018-01-28 11:28:33 -05:00
Janek Bevendorff
8da3efa2c2
Add disambiguation info to source strings
2018-01-21 15:54:46 +01:00
Jonathan White
1a7b874c60
Consistency using filepath and minor code fixes
2018-01-04 19:09:36 -05:00
Jonathan White
36e5377e6a
Corrected use of canonicalfile info in autoopen code
2018-01-04 19:09:36 -05:00
Jonathan White
a80d1bbd2b
Addressed comments; further streamlined code
2018-01-04 19:09:36 -05:00
Jonathan White
c2d04499ab
Remove lock file and cleanup file handling [ #1002 ]
2018-01-04 19:09:36 -05:00
alterratz
468519cd46
Merge branch 'develop' into feature/autoopen
2017-11-28 17:29:05 +01:00
Janek Bevendorff
8651736e61
Merge branch 'release/2.2.3' into develop
2017-11-26 18:23:48 +01:00
Jonathan White
e17b3d24bf
Corrected database corruption when locked [ #1113 ]
2017-11-23 21:32:56 +01:00
thez3ro
4076b37378
disable the save button if there isn't anything to save
2017-10-24 20:40:53 +02:00
Jonathan White
37aa4f0257
Unlock previously opened databases with --pw-stdin
2017-10-20 01:21:32 +02:00
Bernhard Rieder
0fc8c37f23
changed file:/ to file://
2017-10-12 23:30:51 +02:00
Bernhard Rieder
6d569a86f9
added autoopen functionality ( #477 )
2017-10-09 13:26:24 +02:00
frostasm
4e903e4c50
Fix memory leak in DatabaseTabWidget::openDatabase function
2017-10-05 18:03:01 -04:00
frostasm
2481367ab4
Fix memory leak in DatabaseTabWidget::openDatabase function
2017-10-05 18:01:54 -04:00
Jonathan White
8e7fa3d3d6
Corrected multiple Yubikey bugs ( #880 )
...
* Fixed database not showing modified after failed save
* Fixed Yubikey not being redetected after replug
* Fixed single shot challenge resulting in failed saves
2017-09-23 11:45:20 -04:00
Louis-Bertrand Varin
f3f6f6a493
Adding saveToFile function.
2017-06-14 19:50:19 -04:00
thez3ro
a53b111182
Update and fix copyright headers
2017-06-14 15:54:43 +02:00
Weslly
5776f43b98
Add proxy icon to title bar in OSX
2017-03-21 23:01:44 -03:00
Weslly
d50fe46f0e
Merge branch 'develop' into feature/window-modified-indicator
2017-03-21 00:11:19 -03:00
Weslly
18b5b76a80
Get modified status directly from database object instead of using window title
2017-03-20 23:29:36 -03:00
seatedscribe
3fcf342fbc
Merge remote-tracking branch 'upstream/develop' into feature/import-csv-format
2017-03-16 21:25:38 +01:00
Janek Bevendorff
15dd783d2c
Merge branch 'develop' into feature/yubikey
2017-03-10 18:01:14 +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
seatedscribe
afdf02b4be
Implement import of databases in CSV (Comma Separated Values) format (i.e. from other password managers)
2017-03-05 21:27:29 +01:00
Janek Bevendorff
7eb7dbe0be
Merge branch 'develop' into feature/yubikey
2017-03-01 23:37:52 +01:00
Janek Bevendorff
93c212f28d
Merge branch 'release/2.1.3' into develop
2017-03-01 23:37:14 +01:00
Janek Bevendorff
04b3b3dbc5
Assign role 'NoRole' instead of 'Accept' to not mess with button order
2017-02-26 13:33:28 -05:00
Janek Bevendorff
3230206b69
Merge branch 'develop' into feature/yubikey
2017-02-25 22:04:57 +01:00
Janek Bevendorff
1f6f7b614c
Merge branch 'release/2.1.3' into develop
2017-02-25 04:20:08 +01:00
Janek Bevendorff
4ec2fe556a
Fix impossible dialog by providing a proper question with approriate answers, resolves #202
2017-02-24 22:10:19 -05:00
Janek Bevendorff
2721317fc3
Block and unblock autoreload in timed mutex style to prevent a double challenge when saving the database and the YubiKey requires user interaction
2017-02-24 18:43:15 +01:00
Janek Bevendorff
91761a2bea
Only poll YubiKey for currently visible tab
2017-02-21 02:19:11 +01:00
Janek Bevendorff
e0e6f2b8e9
Merge branch 'release/2.1.2' into develop
2017-02-17 04:03:12 +01:00
Janek Bevendorff
6dcb83f913
Disable 'Cancel' button on ChangeMasterKeyWidget when setting an initial password for a new database, follow-up to #302
2017-02-17 00:09:36 +01:00
Janek Bevendorff
ec17199feb
Ask for save location when creating new DB and change default name to 'Passwords.kdbx', resolves #285
2017-02-15 22:52:43 -05:00
Janek Bevendorff
9b211928a9
Fix tabbar with only a single tab not hidden anymore when minimizing to tray at startup
2017-02-14 22:21:53 +01:00
Janek Bevendorff
41d5111684
Use KMessageWidget also for new error messages
2017-02-10 02:26:10 +01:00
Pedro Alves
13c85cdfcb
Replace MessageBox with MessageWidget in remaining classes.
...
Chnage to one method to set MessageWidget text passing type as
parameter.
Only messages with questions requiring user input reamin using
MessageBox dialog.
Use signal/slots to set message in MessageWidget and hide message,
signal/slots only used when required.Maybe need to change all calls to
signals/slots in the future.
2017-02-10 02:26:00 +01:00
Jonathan White
7db7747cb0
Merge remote-tracking branch 'origin/master' into develop
2017-02-06 20:29:21 -05:00
Janek Bevendorff
75eb0c6951
Properly HTML-escape strings with user-defined contents in message boxes ( #247 )
...
* Properly HTML-escape strings with user-defined contents in message boxes, resolves #236
* Also escape group names in EditWidget title
2017-02-06 14:23:51 -05:00
Louis-Bertrand Varin
0091cb3f23
Fixes database modified after discard
2017-01-28 22:21:44 -05:00
Jonathan White
7fb33653ad
Implemented major autoreload functionality
...
* Ignore autoreload on save / save-as
* Consolidated db save code
* Corrected bug (crash) in merge entry code due to not cloning the entry
* Enhanced known modified status of database
* Implemented test cases for autoreload
2016-11-25 12:03:36 -05:00
TheZ3ro
6927158daa
Add unlock dialog on Autotype and show default Autotype sequence ( #89 )
...
* Add unlockdialog on autotype. Fix #10
* Show default autotype sequence for existing entries
* NOTE: New entries/groups do not show the default autotype sequence
2016-11-11 16:26:07 -05:00
Jonathan White
e25cd9ba48
Add Merge database utility function ( #47 )
...
Thank you to @TheZ3ro and @monomon for there major contributions to this PR!
2016-11-07 22:37:42 -05:00
Jonathan White
ccec84aef2
Rename application to KeePassXC and change icon ( #70 )
2016-11-03 00:05:30 -04:00
thez3ro
3bbf11e26f
Unlocked tray icon #37
2016-10-10 00:02:28 -04:00
Felix Geyer
ad834f0f58
Merge branch '2.0'
2016-10-02 21:45:55 -04:00
Felix Geyer
8a50ee8b22
Close database without asking when unmodified.
...
Don't ask for confirmation when closing/locking a database and
- it's in edit entry mode
- there haven't been any modifications
Refs #511
2016-10-02 21:45:54 -04:00
Felix Geyer
c78822f6e6
Merge branch '2.0'
2016-10-02 21:45:54 -04:00
Felix Geyer
3415073051
Display an error message when opening the database fails.
...
Closes #462
2016-09-29 22:08:29 -04:00
Felix Geyer
595b1011dd
Refresh fileInfo after creating the file.
...
Fixes canonicalFilePath() returning an empty string.
2016-09-02 11:35:39 +02:00
Felix Geyer
e9c8363b70
Save to canonical file path so we don't overwrite symlinks.
...
When saving a database we previously replaced symlinks with a regular file.
Closes #442
2016-07-31 18:29:43 +02:00
Felix Geyer
fb57ed2bcd
Add proper error handling when QSaveFile::open() fails.
...
Based on pull request by Valeriy <jazzvoid@gmail.com>
Closes #450
2016-07-31 17:07:31 +02:00
Felix Geyer
48eca3e11f
Display an error message when opening the database fails.
...
Closes #462
2016-05-20 16:49:32 +02:00
Felix Geyer
6e45cf0dab
Use C++11 keywords directly.
2015-10-11 10:47:30 +02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
f236c32063
Clear clipboard when locking databases.
...
Closes #342
2015-09-13 12:38:19 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
531018e58d
Remove QSaveFile and QLockFile.
...
They are part of Qt >= 5.1.
2015-09-12 13:51:49 +02:00
Felix Geyer
98417d6465
Set default extension when selected filename doesn't have one.
...
Closes #79
2015-07-25 18:16:33 +02:00
Felix Geyer
a862f62fe8
Set a default filename when saving a new database.
...
Closes #308
2015-07-25 17:47:45 +02:00
Felix Geyer
606e36acf3
Detect and display more errors when writing databases.
2015-07-20 21:35:48 +02:00
Felix Geyer
7d3fb58cf5
Fix lock file location in saveDatabaseAs().
...
Previously the directory of the lock file path was empty when
saving to a new file.
saveFile.open() doesn't create the file and canonicalPath()
only works when the file exists.
2015-07-19 00:41:35 +02:00
Felix Geyer
df5da2fcef
Fix lock file handling in saveDatabaseAs().
2015-07-18 22:46:45 +02:00
Felix Geyer
6327eaf587
Fix tab name for read-only databases.
2015-07-18 18:29:19 +02:00
Felix Geyer
b1fd99f4c4
Enable document mode of DatabaseTabWidget.
...
This fixes a visual artifact when the GTK style is used and
only one database tab is open.
Closes #131
2015-07-18 18:27:17 +02:00
Felix Geyer
c6fe0da569
Abort closing the app if saving a database failed.
2015-07-18 17:36:08 +02:00
Felix Geyer
ceb6a0383e
Add ability to export databases to CSV files.
...
Based on implementation by Florian Geyer <blueice@fobos.de>
Closes #57
2015-07-14 22:14:34 +02:00
Felix Geyer
5f1b286630
Merge branch 'pr-95'
...
https://github.com/keepassx/keepassx/pull/95
Closes #283
2015-07-13 22:22:45 +02:00
Felix Geyer
05b5446e94
Protect opened databases with a file lock.
...
Closes #18
2015-05-12 22:24:45 +02:00
Amir Pakdel
8bf1bb0517
Bug #283
...
Updated messages related to saivng and closing a database to make
them more clear about what is going to happen.
2015-05-12 13:46:48 -04:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03:00
Felix Geyer
9e051e835b
Close databases when they are locked.
...
Previously we've only hidden access to them.
Closes #275
2015-04-05 10:38:36 +02:00
Felix Geyer
d874f58a39
Synchronize DatabaseWidget splitter sizes.
2014-05-17 11:16:27 +02:00
Felix Geyer
ce7e01a1b1
const-ify several methods.
2014-05-15 22:53:59 +02:00
Felix Geyer
cda5e990ac
Show in-edit-mode warning when database is locked.
2014-05-15 22:51:13 +02:00
Felix Geyer
2963752585
Disallow global auto-typing when the database is locked.
2014-04-12 15:29:03 +02:00
Felix Geyer
d5b70b1bef
Add a QMessageBox wrapper class to help gui tests.
...
QMessageBox displays modal dialogs which blocks the gui tests.
To work around this we add a MessageBox wrapper class where
the tests can set the answer for the next dialog.
The answer is then returned without actually showing the dialog.
2013-10-08 22:09:20 +02:00
Felix Geyer
6504b6f2bd
Drop Qt module name from include statements.
...
This is a preparation to be able to build KeePassX against Qt 5.
2013-10-03 15:18:16 +02:00
Florian Geyer
f0985ff9d9
Remember opened databases on quit.
...
Refs #36
2013-04-18 21:52:08 +02:00
Felix Geyer
e166722026
Implement database locking.
...
Closes #35
2012-10-12 12:12:00 +02:00
Felix Geyer
9c378216f6
Coding style fixes.
2012-08-04 22:06:41 +02:00
Felix Geyer
668103a00f
Show group and entry view context menus from MainWindow.
...
This allows us to drop the duplicate actions in DatabaseWidget.
2012-08-04 22:06:41 +02:00
Florian Geyer
15c18dd899
Do not try to open a non-existing database.
2012-07-28 10:19:32 +02:00
Felix Geyer
3a2f387892
Add action to open the entry URL.
...
Closes #37
2012-07-27 18:38:52 +02:00
Felix Geyer
5786d0c279
Regain focus after native file dialogs have been closed.
...
For some reason this happens on Mac OS X.
We work around it by calling activateWindow().
Closes #39
2012-07-25 12:18:16 +02:00
Felix Geyer
ecea101962
Return Q_NULLPTR instead of 0 when the return type is a pointer.
2012-07-23 14:58:57 +02:00
Felix Geyer
288fa732ca
Add global shortcut widget to SettingsWidget and register shortcut on startup.
2012-07-14 19:09:28 +02:00