Felix Geyer
bcb54bc38a
Avoid dereferencing QLists.
2015-09-25 21:34:56 +02:00
Felix Geyer
14aac09318
Avoid implicit casts from bool to int.
2015-09-25 21:34:56 +02:00
Felix Geyer
9d42db9849
Mark more methods as override.
2015-09-25 21:34:56 +02:00
Felix Geyer
2edf414aa4
Fix compiler warning on OS X and Windows.
2015-09-24 18:45:23 +02:00
Felix Geyer
54f44f5267
Show a better message when trying to open an old database format.
...
Refs #338
2015-09-23 23:16:49 +02:00
Felix Geyer
6ab54bc95a
Check if libXi is installed and explicitly link against it.
2015-09-23 22:26:49 +02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
673dff2268
Auto-Type: Raise target window after showing the select dialog.
...
kwin >= 5.4 (since commit cfa1d61) prefers to focus the main window
instead of following the focus chain.
We ask the window manager nicely to focus the window we want to
type into. kwin seems to follow that (in the default configuration).
2015-09-21 23:12:10 +02:00
Felix Geyer
bb38be40f6
Enable Ctrl+M shortcut to minimize window on all platforms.
...
Closes #329
2015-09-13 22:33:07 +02:00
Felix Geyer
f236c32063
Clear clipboard when locking databases.
...
Closes #342
2015-09-13 12:38:19 +02:00
Felix Geyer
3dd98deecc
Use QStandardPaths::DataLocation instead of AppDataLocation.
...
AppDataLocation is only available in Qt >= 5.4.
2015-09-12 18:41:48 +02:00
Paultergeist
abacec5787
Fixed compile error on Mac
2015-09-12 14:00:53 +02:00
Benjamin Robin
d84af2def0
Fix the open recent database menu.
...
With at least Qt 5.5 the action text is automatically modified from
/home/ben/db.kdbx to /&home/ben/db.kdbx
So add the path of the database to the action using setData
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
2015-09-12 14:00:03 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
0e85c98d02
Remove backported definitions from Global.h.
2015-09-12 13:51:49 +02:00
Felix Geyer
ba1ca4ec08
Rename x11 auto-type plugin to xcb.
...
This matches what QGuiApplication::platformName() returns.
2015-09-12 13:51:49 +02:00
Felix Geyer
20b13a4a2e
Ger rid of last Qt 4 version check.
2015-09-12 13:51:49 +02:00
Felix Geyer
460b23b1eb
Use QElapsedTimer everywhere.
2015-09-12 13:51:49 +02:00
Felix Geyer
9882f16614
Remove Tools::currentDateTimeUtc().
2015-09-12 13:51:49 +02:00
Felix Geyer
60daa2b41b
Require libgcrypt >= 1.6.0.
...
Remove our own Salsa20 implementation as libgcrypt ships one
with that version.
2015-09-12 13:51:49 +02:00
Felix Geyer
ec8c0bb3e7
Setup new build dependencies.
2015-09-12 13:51:49 +02:00
Felix Geyer
b904fe5acd
Adapt X11 auto-type plugin to handle xcb instead of xlib events.
2015-09-12 13:51:49 +02:00
Felix Geyer
3b07098731
Port native event filter to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
03a330a4dd
Port Tools::platform() to Qt 5.
...
The Q_WS_* definitions are gone.
2015-09-12 13:51:49 +02:00
Felix Geyer
6502da549b
Fix build failure in AutoTypePlatformX11::SendEvent().
2015-09-12 13:51:49 +02:00
Felix Geyer
9e05f41747
Port to Qt 5 plugin system.
2015-09-12 13:51:49 +02:00
Felix Geyer
208b0f39e6
Adapt to QtConcurrent being a separate module now.
2015-09-12 13:51:49 +02:00
Felix Geyer
5ad9edc3fd
QDesktopServices::storageLocation() calls to QStandardPaths.
2015-09-12 13:51:49 +02:00
Felix Geyer
c714fc89f1
Add missing include statements.
2015-09-12 13:51:49 +02:00
Felix Geyer
e3cde7b55e
Adapt to setSupportedDragActions() begin removed.
...
Models have a virtual supportedDragActions() now.
2015-09-12 13:51:49 +02:00
Felix Geyer
5a745da07b
Remove QCOmmandLineParser.
...
It is part of Qt >= 5.2.
2015-09-12 13:51:49 +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
813c64a055
Port cmake files to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
0b43607aa1
Make sure we use the native file dialog on Windows and OS X.
2015-09-06 13:32:12 +02:00
Felix Geyer
e75efb8bfb
Improve setting the default file extension in FileDialog.
...
Largely from PR #105 by Charles Brunet <charles@cbrunet.net>
2015-09-05 19:10:26 +02:00
Akinori MUSHA
5c7c7f54fa
Improve UI of the search edit.
...
- The copy action (Control+C) when no text is selected copies the
password of the current entry. This should be reasonable when
Control+B copies the username.
- Down at EOL moves the focus to the entry view. Enter and Tab should
do that, but it would be handy for user to be able to get to the third
entry by hitting Down three times.
2015-08-05 19:02:17 +09: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
0ea64afe92
Fix type of default value for options.
2015-07-25 18:13:57 +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
5bd525a6dd
Use correct keycode when unregistering global shortcuts.
...
charToKeySym() is already correctly used in registerGlobalShortcut().
2015-07-22 20:38:03 +02:00
Felix Geyer
af3d896bdf
Make setNativeLocks() non-fatal on OS X.
2015-07-21 23:12:20 +02:00
Felix Geyer
ceeb72a277
Pull QLockFile updates from the qtbase repository.
2015-07-21 23:11:02 +02:00
Florian Geyer
41a7c96968
Close search before locking database and add additional check on current group.
...
Closes #309 .
2015-07-20 22:45:57 +02:00
Felix Geyer
606e36acf3
Detect and display more errors when writing databases.
2015-07-20 21:35:48 +02:00
Felix Geyer
0422943d52
Explicitly close/reset streams so we can detect errors.
2015-07-20 21:35:48 +02:00
Felix Geyer
0024f2e30f
Signal errors in QXmlStreamWriter upstream.
...
Unfortunately the method is only avaiable in Qt >= 4.8.
Not much we can do about that.
2015-07-20 21:35:43 +02:00
Felix Geyer
abe5e8ecea
Don't write final block(s) if we already have.
2015-07-20 21:33:51 +02:00
Felix Geyer
61503a8047
SymmetricCipherStream: Add error handling when reading from the device.
2015-07-20 19:54:18 +02:00
Felix Geyer
fcb5deff0a
SymmetricCipherStream: Fix error string when detecting an error while writing.
2015-07-20 19:53:17 +02:00
Felix Geyer
84ee8b993f
Explicity hide the tray icon before deleting it.
...
In some conditions the tray icon stayed visible until the application
was closed.
Tested on Kubuntu 15.04 (KDE Plasma 5.2).
2015-07-19 21:14:08 +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
607007f94f
Display country in language list.
...
But only if the translation specifies one.
2015-07-18 18:38:41 +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
Florian Geyer
b9fe2c1bf9
Small clean up.
2015-07-18 13:23:36 +02:00
Florian Geyer
3efc8f457a
Display git revision in about dialog.
2015-07-18 13:14:13 +02:00
Felix Geyer
65e8732eeb
Remove --password command line option.
...
Passing passwords on the command line is unsafe.
2015-07-17 21:31:36 +02:00
Florian Geyer
fa0fe6d33d
Make tab order consistent.
2015-07-16 23:50:35 +02:00
Felix Geyer
6889cc2f20
Another Qt 4.6 compatibility fix.
2015-07-16 22:55:50 +02:00
Felix Geyer
8325b20d36
Make QElapsedTimer optional in QLockFile.
...
This restores compatibility with Qt 4.6.
2015-07-16 21:52:08 +02:00
Felix Geyer
826cd472c8
Group all copy to clipboard menu entries together.
2015-07-16 20:09:23 +02:00
Felix Geyer
8ecab15c33
Merge remote-tracking branch 'github/pr/112'
...
Closes #149
2015-07-16 20:06:44 +02:00
Felix Geyer
c9520214e2
Merge remote-tracking branch 'github/pr/72'
2015-07-16 20:04:26 +02:00
Felix Geyer
6d1ca363af
Remove support for clearing the Klipper history.
...
KDE Plasma 5 doesn't provide the DBus interface anymore and
this avoids the QtDBus dependency.
2015-07-16 20:02:10 +02:00
Felix Geyer
2170794d9c
Guess the scheme when opening URLs.
...
Closes #293
2015-07-16 19:52:34 +02:00
Felix Geyer
719ac64851
Fix unused variable warning.
2015-07-16 19:49:41 +02:00
Felix Geyer
d3a7e0dee9
Merge remote-tracking branch 'github/pr/108'
2015-07-16 19:32:07 +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
af84261eb6
Avoid calling QDesktopServices::openUrl() when cmd is empty.
2015-07-13 22:41:03 +02:00
Felix Geyer
274f86fd04
Merge branch 'pr-94'
...
https://github.com/keepassx/keepassx/pull/94
Closes #244
2015-07-13 22:36:56 +02:00
Felix Geyer
bcc3108c3d
Coding style cleanup.
2015-07-13 22:36:20 +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
8ad48d6774
Protect against emitting inactivityDetected() while it'is still processed.
2015-07-13 21:25:48 +02:00
Felix Geyer
721bec9794
Make sure we don't lock the database while a dialog is open.
...
This can happen when
- the user is picking out a file to save the database as
- a dialog asking the user to save/discard/cancel the current database
changes is active
It is dangerous to lock the databases while these actions are still
in progress.
Closes #208
2015-07-13 21:25:38 +02:00
Felix Geyer
c6105a08ab
KeePass2XmlReader: Don't fail wheh nreading empty UUIDs.
...
Closes #298
2015-07-13 21:01:55 +02:00
Felix Geyer
154f1673e9
QSaveFile: Flush temporary file and fsync before renaming.
...
Closes #301
2015-07-13 21:01:53 +02:00
Felix Geyer
577609b3e3
Make calling QSaveFile::commit() non-fatal if it's not open.
2015-07-13 21:00:50 +02:00
Florian Geyer
f22069bb11
Use higher increment for transform rounds in benchmark.
...
Thanks to Sami Farin for providing a patch.
Closes #305 .
2015-07-12 21:48:55 +02:00
Codifier
280a1aceb9
Bug #149
...
Moved the actionEntryCopyUsername and actionEntryCopyPassword actions to the root level of the context menu, for easier access and changed their labels to 'Copy username' and 'Copy password', respectively.
2015-07-12 20:54:02 +02:00
denk-mal
0390c67c4d
allow multiple databeses on command line
2015-06-23 11:40:54 +02:00
denk-mal
1f6161132e
makr filename parameter as optinal
2015-06-23 11:22:15 +02:00
denk-mal
fc74e16097
add optionsfield to set http port
2015-06-22 14:11:15 +02:00
Frank Nießen
b03f54ffcd
remove duplicate 'using namespace KeepassHttpProtocol'
2015-06-21 21:45:18 +02:00
Frank Nießen
26f33a1c12
add fake workaround for the nasty bahvior of QJSON
2015-06-21 21:43:20 +02:00
Frank Nießen
6e8aeea76d
set error to response if list is empty (avoid ChromeIPass hanging) (reverted from commit c736ba7059
)
2015-06-21 20:46:09 +02:00
denk-mal
c736ba7059
set error to response if list is empty (avoid ChromeIPass hanging)
2015-06-19 13:19:30 +02:00
denk-mal
3eb4b3b208
Sort switch statement to real order (easier code reading ;-) )
2015-06-19 13:17:28 +02:00
denk-mal
5982763bed
implement a (nonperfect) hide-to-tray on win close
2015-06-18 15:23:41 +02:00
denk-mal
6b7f7bb777
disable calls to missing m_cipher.isValid()
2015-06-18 15:22:25 +02:00
denk-mal
5b9338e40e
set actual version of keepasshttp (1.8.4.0)
2015-06-18 13:13:50 +02:00
denk-mal
eab4861383
Call Init for request and response object to avoid crashes on first plugin contact
2015-06-18 12:58:28 +02:00
Andy Zeigler
bcd3de1180
Add keyboard shortcut (Ctrl-Alt-U) for copy URL to clipboard.
2015-06-12 19:29:02 -07:00
Florian Geyer
f4361dd4d5
Fix enabled state of copy notes action.
2015-06-05 18:37:22 +02:00
Ivan
4008e6ab58
Fixed compile issue with latest merged changes from upstream
2015-05-22 21:23:21 -07:00
Ivan
a115bbdc6f
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-22 21:06:32 -07:00
Felix Geyer
7db9c78855
Ignore libgcrypt errors in CryptoHash::CryptoHash().
...
Postponed until after 2.0 when I'll use excpetions.
Should be safe as we check basic functioning in Crypto::testSha256().
2015-05-14 20:44:17 +02:00
Felix Geyer
7a2c02f0df
Initialize some instance variables in ctor.
...
Discovered by Coverity.
Most likely doesn't fix any actual bug but better be safe.
2015-05-14 16:58:53 +02:00
Felix Geyer
c535736853
Add GUI for changing default group auto-type sequence.
...
Closes #175
2015-05-14 12:59:36 +02:00
Felix Geyer
a8bf6a9782
Refactor Tools::disableCoreDumps().
...
- Use all available methods.
- Don't print a warning when no method is implmeneted on the platform.
2015-05-14 12:58:00 +02:00
Amir Pakdel
0458dad6dc
Code cleanups
2015-05-13 14:34:48 -04:00
Felix Geyer
68373730bf
Fix compiler warnings where keysyms are printed.
...
%lX expectes unsigned long which KeySym is an alias for.
2015-05-12 23:57:36 +02:00
Felix Geyer
5d9039ea89
Silence compiler warning about an unused variable.
2015-05-12 23:40:02 +02:00
Felix Geyer
7e1faadd11
Merge remote-tracking branch 'github/pr/96'
...
Closes #218
2015-05-12 23:35:19 +02:00
Felix Geyer
fceb93061d
Merge remote-tracking branch 'github/pr/97'
...
Closes #290
2015-05-12 22:31:51 +02:00
Amir Pakdel
c9d007fcdf
Always clearing ChangeMasterKeyWidget.m_key
2015-05-12 16:31:14 -04:00
Felix Geyer
eeb940c0dc
Fix plugin path detection when installed with DESTDIR.
...
This is in no way perfect but should cover most common cases.
Closes #291
2015-05-12 22:24:59 +02:00
Felix Geyer
05b5446e94
Protect opened databases with a file lock.
...
Closes #18
2015-05-12 22:24:45 +02:00
Amir Pakdel
b45437d502
Refactored DatabaseWidget::currentEntryHas*()
2015-05-12 15:54:39 -04:00
Amir Pakdel
a599787a25
Bug #290
...
Show realted menu option to current entry only if the corresponding
field is not empty.
2015-05-12 15:50:10 -04:00
Amir Pakdel
58061af959
Bug #218
...
Do not accept faulty files as Key File. Moreover, do not clear keys
unless we have a key to add.
2015-05-12 15:17:39 -04:00
Ivan
33ed4fd7cf
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-12 11:03:48 -07: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
Amir Pakdel
d26cff520f
Bug #244
...
Supporting cmd:// URLs
2015-05-12 12:25:43 -04:00
Felix Geyer
ade684d501
Crypto::selfTest(): test AES in ECB mode.
2015-05-10 00:02:08 +02:00
Felix Geyer
4362c3ea38
Handle cipher errors in TransformKeyBenchmarkThread.
2015-05-09 23:38:04 +02:00
Felix Geyer
e0d4b4b625
Adapt Salsa20 backend to the new interface.
2015-05-09 23:21:50 +02:00
Felix Geyer
cfffdae573
Improve error reporing of layered streams.
2015-05-09 23:21:50 +02:00
Felix Geyer
f6243675c9
Warn if result of processInPlace() is unchecked.
...
Fix callers accordingly.
2015-05-09 23:21:50 +02:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
Felix Geyer
a7f4e2d0cd
Add Twofish tests to Crypto::selfTest().
2015-05-09 18:15:01 +02:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03:00
Felix Geyer
e41bf008e9
Use Q_BYTE_ORDER for endianness detection.
...
A hardcoded list of architectures is always incomplete.
2015-05-03 20:00:23 +02:00
Felix Geyer
6c9c0fd5c5
Look for a close button when pressing the escape key.
2015-05-03 19:59:11 +02:00
Felix Geyer
f3d956ceed
Display a Close button for history items.
...
Previously we had Ok and Cancel with the same action.
2015-05-03 18:59:19 +02:00
Felix Geyer
b9c9c56059
Use common EditEntryWidget::clear() method.
2015-05-03 18:58:44 +02:00
Felix Geyer
bed58cde84
Fix crash when pressing "cancel" on a history item.
2015-05-03 18:48:58 +02:00
Felix Geyer
ecb2e337ef
Hide Auto-Type action when it's not available.
2015-04-14 23:12:10 +02:00
Felix Geyer
2dde18b179
Adjust coding style.
2015-04-14 23:10:37 +02:00
Felix Geyer
6411b9bd66
Merge remote-tracking branch 'github/pr/82'
...
https://github.com/keepassx/keepassx/pull/82
Closes #145
2015-04-14 23:07:14 +02:00
Ivan
d70ee509b4
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-11 15:41:25 -07:00
Felix Geyer
cf0bc32b27
Store icons with a resolution of up to 128x128 px.
...
Follows what KeePass 2.29 will implement.
2015-04-08 18:22:13 +02:00
Felix Geyer
93ab7eb058
Use CMAKE_INSTALL_DATADIR to look for the data dir.
2015-04-08 18:07:53 +02:00
Felix Geyer
bd3ae05fcf
Rename Extras menu to Tools and move Lock Databases action to it.
2015-04-05 10:48:08 +02:00
Felix Geyer
b055d524e8
Merge branch 'lockdb'
2015-04-05 10:38:58 +02: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
Ivan
e20968bdfe
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-04 23:31:12 -07:00
Felix Geyer
3ab1072e9e
Scale new custom icons down to 64x64 if they are larger.
2015-03-31 22:31:04 +02:00
Joe Harvell
00df73ced0
Issue #270 - turning off key location memory
...
Add general settting for whether or not to remember last key files
2015-03-14 22:06:53 -05:00
Felix Geyer
940a5026c1
Properly auto-type line breaks and tabs in text.
2015-03-13 22:24:29 +01:00
Felix Geyer
2631277184
Always sleep some time after the keymap has changed.
...
This works around a problem where sometimes chars are typed as if some
random modifiers are pressed.
2015-03-13 21:58:04 +01:00
Felix Geyer
b86b640860
Process events from the event loop before typing the first char.
2015-03-13 19:45:57 +01:00
Felix Geyer
2dfc740782
Rework handling of modifiers in auto-type.
...
Release all modifiers that are pressed and change the result.
2015-03-13 19:43:52 +01:00
Felix Geyer
e4985f4ff7
Get the xtest keyboard instead of the core keyboard.
...
If we don't find it fall back to the core keyboard.
2015-03-13 19:41:49 +01:00
Felix Geyer
22f579a59e
Restore keyboard mapping only if we actually changed it.
2015-03-13 19:40:52 +01:00
Felix Geyer
778f01bcf1
Increase sleep time after remapping a keycode.
2015-02-24 22:00:44 +01:00
Felix Geyer
ccb7a4c96d
Blacklist the KDE 5 root window.
2015-02-24 21:59:47 +01:00
IvanF
9e124e4a75
Removed unused qhttpserver code
...
Updated README.md
2015-01-30 00:58:52 -08:00
IvanF
2e94066e50
Fixes to get code to compile with latest upstream.
2015-01-30 00:35:38 -08:00
IvanF
61c6962bf2
Deleted unused and unrelated files
...
Merged lots of changes from upstream that were missed or ignored
2015-01-30 00:29:01 -08:00
IvanF
9cbdd58af5
Fixed HTTP settings and service start-up
2015-01-30 00:04:27 -08:00
IvanF
eea9d7db97
Added http service start to MainWindow
...
Added http settings pane to SettingsWidget
Settings are probably broken still
2015-01-29 01:19:15 -08:00
IvanF
235baa3dcc
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Conflicts:
README.md
src/core/Config.cpp
src/gui/DatabaseTabWidget.cpp
src/gui/DatabaseTabWidget.h
src/gui/DatabaseWidget.cpp
src/gui/DatabaseWidget.h
src/gui/MainWindow.cpp
src/gui/MainWindow.h
src/gui/MainWindow.ui
src/gui/SearchWidget.ui
src/gui/SettingsWidget.cpp
src/gui/SettingsWidgetGeneral.ui
2015-01-29 00:17:39 -08:00
IvanF
f04f4302a2
Deleted local qjson, now using system qjson
...
Modified CmakeLists to require qjson
Replaced non-standard qjson calls with standard ones
2015-01-28 22:42:02 -08:00
Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Victor Häggqvist
019cf9684c
change tabindex, put password inputs after each other
2015-01-01 02:25:43 +01:00
Akinori MUSHA
e4758c1984
Fix the temporary filename template so that the original suffix is preserved.
2014-12-22 23:47:16 +09:00
Felix Geyer
eb22f0a2d8
Raise an error when parsing duplicate attributes/attachments.
2014-12-03 23:36:53 +01:00
Felix Geyer
3ea0592b53
Add hasKey() convenience methods.
2014-12-03 23:36:24 +01:00
Felix Geyer
876a75b572
Disable attachment buttons when none is selected.
2014-12-03 23:26:42 +01:00
Felix Geyer
c39898dad9
Support opening attachments directly.
2014-12-03 21:50:17 +01:00
Florian Geyer
2adc64939f
Correct handling of keyfile argument.
...
Closes #223 .
2014-12-01 22:47:22 +01:00
Felix Geyer
71d39865b3
Introduce a strict mode in KeePass2XmlReader.
...
Many errors are now ignored when not in strict mode so we can still parse
files that have been written by broken/incomplete implementations.
2014-12-01 21:52:51 +01:00
Felix Geyer
07e4fbacd4
Remove ModifiedOnExpandedStateChanges config option.
...
I'm pretty sure noone knew what it actually does.
This is the sort of option users shouldn't be bothered with.
2014-11-30 23:04:17 +01:00
Akinori MUSHA
dd79105baa
Complete remove the toggle search action.
2014-11-19 11:46:38 +09:00
Akinori MUSHA
b1c3814972
Make Ctrl+F not toggle the search mode but always enable it.
...
Switching back from other applications, the previous behavior of Ctrl+F
would often bother you in that it would dismiss the search widget if it
was already enabled when you meant by the key you wanted to perform a
search.
Making Ctrl+F always set you in search mode should save user from having
to care about the mode which is persistent across application switching
and database locking.
2014-11-18 19:46:53 +09:00
Felix Geyer
315df0b8a8
Coding style fixes.
2014-11-02 11:46:51 +01:00
Felix Geyer
87468b648b
Use specific monospace fonts as fallback on Mac OS X.
...
Qt (4.8.6) doesn't seem to be able to resolve the generic monospace
font family.
Closes #214
2014-11-02 11:44:03 +01:00
Felix Geyer
4cdb9a645d
Add an option to display a tray icon.
...
Also implement "Minimize to tray" functionality.
2014-11-02 11:44:03 +01:00
Felix Geyer
870d7355ca
Fix reading window title from _NET_WM_NAME.
...
XGetWindowProperty() returns 0 on success.
Closes #236
2014-11-02 11:44:03 +01:00
Florian Geyer
f1aa6aca26
Fix copy custom attributes menu.
2014-10-09 21:36:08 +02:00
Florian Geyer
72b59d541a
Clear available languages when loading settings.
...
Thanks to Victor Häggqvist for spotting this.
2014-09-05 10:12:35 +02:00
David Kolossa
3a0648cf25
! binds stronger than ==
...
This should just avoid useless copying if more than 1 attribute is
selected (and the option to copy attributes is unavailable).
This also fixes a clang warning.
2014-06-16 15:40:28 +02:00
Felix Geyer
867d14f7aa
Merge branch 'movestill-fixConfigPath'
...
https://github.com/keepassx/keepassx/pull/49
2014-06-15 13:20:17 +02:00
Felix Geyer
0d6117bf4c
Do some basic self-checks when initializing the crypto backend.
2014-06-15 11:17:40 +02:00
Sebastien Fricker
06e08557ac
New setting: enablin/disabling the automatic reload on changes
2014-06-09 10:51:24 +02:00
Sebastien Fricker
95fdefdcc7
Merge github.com:keepassx/keepassx
...
Conflicts:
src/gui/DatabaseWidget.cpp
2014-06-09 09:54:29 +02:00
Felix Geyer
7137990a21
Clear clipboard only if copied text is still present.
...
Closes #198
2014-05-26 18:41:48 +02:00
Felix Geyer
5a31e055cf
Show the window title when no entry matches for auto-type.
...
Closes #188
2014-05-18 12:09:46 +02:00
Felix Geyer
28694ae687
Add initial support for translations.
2014-05-18 01:33:22 +02:00
Felix Geyer
becd3a0019
Increase the EntryView default column size a bit.
2014-05-17 19:01:43 +02:00
Felix Geyer
8cc1e6008e
Use plurals in translations.
2014-05-17 18:17:31 +02:00
Felix Geyer
910788c038
Mark some strings as untranslatable.
2014-05-17 18:17:31 +02:00
Felix Geyer
9391de74c7
Block non-user updates in DatabaseWidgetStateSync.
2014-05-17 18:17:31 +02:00
Florian Geyer
c806f9ebf4
Correct tr-calls.
2014-05-17 18:13:22 +02:00
Felix Geyer
e776de8eeb
Remember and synchronize entry column sizes.
...
Closes #159
2014-05-17 12:51:16 +02:00
Felix Geyer
a25b28ffee
Rename config option window/Geometry to GUI/MainWindowGeometry.
2014-05-17 11:38:48 +02:00
Felix Geyer
0e75e6ff03
Make DatabaseWidget splitter non-collapsible.
2014-05-17 11:27:04 +02:00
Felix Geyer
76da4a6cd4
Use QSplitter::setStretchFactor() convenience method.
2014-05-17 11:25:45 +02:00
Felix Geyer
8a4100adbd
Make DatabaseWidget::emit{Group,Entry}ContextMenuRequested() private.
2014-05-17 11:22:45 +02:00
Felix Geyer
584f4b50bf
Coding style fix.
2014-05-17 11:21:50 +02:00
Felix Geyer
9ac01c930d
Drop DatabaseWidget::groupView() and entryView().
2014-05-17 11:21:17 +02:00
Felix Geyer
d874f58a39
Synchronize DatabaseWidget splitter sizes.
2014-05-17 11:16:27 +02:00
Florian Geyer
05de45dadb
Improve tab order.
2014-05-16 19:49:58 +02:00
Felix Geyer
4ab887c773
Initally select first entry in EntryView.
...
Closes #104
2014-05-16 19:10:30 +02:00
Florian Geyer
552ca7bf71
Stop search timer when closing search.
2014-05-16 18:56:01 +02:00
Felix Geyer
2d8ba2b394
Focus the search field instead of closing it when pressing the shortcut.
...
Closes #124
2014-05-16 13:10:26 +02:00
Florian Geyer
ea3375490c
Introduce interface for exporter.
2014-05-16 12:32:06 +02:00
Florian Geyer
204cd8d971
Move exporter to separate class.
2014-05-16 12:07:22 +02:00
Florian Geyer
819cfd459a
Move match method out of entry class.
2014-05-16 00:19:58 +02:00
Florian Geyer
8bf4826003
Move search into separate class.
2014-05-15 23:50:40 +02:00
Felix Geyer
e361b0dd81
Fix typo canDeleteCurrentGoup() -> canDeleteCurrentGroup().
2014-05-15 22:56:36 +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
Florian Geyer
50cbd80925
Remove obsolete method in EntryView.
2014-05-15 18:55:17 +02:00
Felix Geyer
75d3e6261b
Coding style fix.
2014-05-15 18:41:11 +02:00
Felix Geyer
bf39d0b1be
Enable entry title matching but always ask before performing auto-type.
2014-05-15 18:34:12 +02:00
Felix Geyer
147cd4ed7b
Add option to use the entry title for auto-type window matching.
2014-05-15 18:30:57 +02:00
Florian Geyer
9363d23e09
Remove dependency to Group- and EntryView from MainWindow.
2014-05-15 18:05:58 +02:00
Sebastien Fricker
7a8d4577f1
Automatic reload of a database when it get modified
...
When the database if modified by an other instance of KeePassX, KeePassX
detect it and reload automatically the database.
2014-05-03 16:59:41 +02:00
Florian Geyer
b718e9d8f2
Make sure copy actions are disabled when database is locked.
...
Closes #189
2014-05-03 08:28:56 +02:00
Jascha Dachtera
65eb71e645
Merge branch 'master' of https://github.com/keepassx/keepassx
2014-05-02 21:29:12 +02:00
Tim Gion
d6c30b0886
Fixed location of config file on Mac (and probably Windows).
2014-04-30 22:26:39 -04:00
Felix Geyer
e263c475c9
Increase default number of transform rounds to 100000.
...
Even low-end smartphone should be able to handle that.
2014-04-26 18:34:33 +02:00
Felix Geyer
c917096d3c
Show the inherited value in EditGroupWidget.
2014-04-26 18:34:26 +02:00
Felix Geyer
5de62a5ef4
Add Group::resolveAutoTypeEnabled().
2014-04-26 18:30:22 +02:00
Felix Geyer
7893a2e84d
Rename Group::includeInSearch() to resolveSearchingEnabled().
...
Make it public and drop the resolveInherit parameter.
2014-04-26 18:27:52 +02:00
Jascha Dachtera
65626f0da2
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Use SymmetricCipherGcrypt directly in Protocol.cpp to make it work with the latest master
revision.
2014-04-18 13:59:24 +02:00
Florian Geyer
ad26d962dc
Add option in settings for using group icons for newly created entries.
...
Closes #174
2014-04-14 23:38:09 +02:00
Florian Geyer
967a9f0195
Add check if parent group has custom icon.
...
Refs #174
2014-04-14 23:20:24 +02:00
Charles Brunet
6c663a19bf
Use folder icon when not defaut icon
2014-04-14 22:59:38 +02:00
Felix Geyer
b194c29166
Show a dialog when no window matches for auto-type.
2014-04-14 22:57:25 +02:00
Felix Geyer
0b9167c78b
Add an option to always ask before performing auto-type.
...
Closes #120
2014-04-14 22:57:18 +02:00
Felix Geyer
2963752585
Disallow global auto-typing when the database is locked.
2014-04-12 15:29:03 +02:00
Keith Bennett
e2d446e446
Added back missing copyright notices.
2014-03-24 19:29:11 +00:00
Florian Geyer
1decdc6c11
Only save geometry when close event is accepted.
2014-03-24 20:03:40 +01:00
Florian Geyer
6659745e2b
Rename settings key for window geometry.
2014-03-24 20:03:40 +01:00
Florian Geyer
1e2d1a1b17
Refactor saving of window geometry.
...
Closes #154
2014-03-24 20:03:40 +01:00
Florian Geyer
f300ca5b7b
Remember window size.
...
Refs #154
2014-03-24 20:03:40 +01:00
Keith Bennett
c7158234dc
Removed assert test for indexFromEntry.
...
When no row is selected, row equals -1. Some operations call
indexFromEntry when there is no row selected and these should
be allowed to succeed.
2014-03-23 19:09:49 +00:00
Keith Bennett
b28cb19ae3
Added keybinding for copy URL
2014-03-23 19:09:48 +00:00
Keith Bennett
86a01b6984
Ensure that external DB changes are always detected.
...
QFileSystemWatcher seems to reset itself occasionally. This patch
works around the issue by re-applying the QFileSystemWatcher
whenever a change is handled.
2014-03-23 19:09:48 +00:00
Keith Bennett
b432103b82
Return password quality to keepasshttp client.
2014-03-23 19:09:45 +00:00
Keith Bennett
75564c8fb5
Fixed password generation for keepasshttp
2014-03-23 19:09:43 +00:00
Keith Bennett
b87097a7ab
Added global autotype support for OSX.
2014-03-23 17:25:40 +00:00
Keith Bennett
6ef5f34070
Split the new association message across multiple lines.
2014-03-23 17:25:40 +00:00
Keith Bennett
b953ea9042
Tidied up layout of the search field.
2014-03-23 17:25:40 +00:00
Keith Bennett
61ada66e3a
Updated keepasshttp version number.
2014-03-23 17:25:39 +00:00
Keith Bennett
a9a724714f
Stop qsearchfield from swallowing keypresses.
2014-03-23 17:25:39 +00:00
Keith Bennett
612ef0ef9b
Fixed a typo.
2014-03-23 17:25:39 +00:00
Keith Bennett
a627870bbb
Added a new DatabaseWidget modal state.
...
Commit d8857bf4
attempted to fix currentMode() while the DB had not
yet been opened. However, the fix meant that the title bar always
displayed the state as being "locked". This change works around the
issue by introducing a new modal state for when the DB is not yet
open.
2014-03-23 17:25:39 +00:00
Keith Bennett
fae4f69b8c
Quieten compilation warnings.
2014-03-23 17:25:39 +00:00
Keith Bennett
b27ba03d42
Replaced qhttpserver with libmicrohttp.
...
The qhttpserver seems to be riddled with memory leaks and was
continuously crashing. I don't know Qt well enough to fix it so
I have replaced it with libmicrohttp. This is not nearly as
elegant but it is much more stable.
2014-03-23 17:25:39 +00:00
Keith Bennett
2cd6787141
Fixed compilation using qjson subtree.
2014-03-22 17:06:08 +00:00
Francois Ferrand
21204971ff
re-apply: Cleaner qobject2qvariant().
2014-03-22 17:06:08 +00:00
Keith Bennett
c570a13a1f
Merge commit '5c71260c12798afe3c331d08477bb241acdb78ca' as 'src/http/qjson'
2014-03-22 17:05:45 +00:00
Keith Bennett
5c71260c12
Squashed 'src/http/qjson/' content from commit c6d92ba
...
git-subtree-dir: src/http/qjson
git-subtree-split: c6d92bada76be2c46dcf6f585f03b2fba47f9da3
2014-03-22 17:05:45 +00:00
Keith Bennett
e105970945
Removed qjson so we can replace it with a subtree.
2014-03-22 17:04:59 +00:00
Keith Bennett
0c33019f93
Fixed building of qocoa subtree.
2014-03-22 17:04:59 +00:00
Keith Bennett
16598a8386
Merge commit 'f52f6e2d44bc3a08a5b2fa281459af8baac68f0d' as 'src/gui/qocoa'
2014-03-22 17:02:43 +00:00
Keith Bennett
304cebefe4
Removed qocoa so we can replace it with a subtree.
2014-03-22 17:01:53 +00:00
Keith Bennett
d7a8a43024
Temporary fixup for the password generator.
2014-03-22 17:01:52 +00:00
Keith Bennett
73f91db939
Merged keepassx-http.
2014-03-22 14:49:32 +00:00
Felix Geyer
b9370c6e79
More careful null checking and member initalization.
2014-03-22 12:10:49 +01:00
Florian Geyer
54bb7462f6
Add find action to entries menu.
...
Closes #122
2014-03-08 11:42:26 +01:00
Florian Geyer
4a08101a60
Remove obsolete ArgumentParser files.
2014-03-08 10:45:40 +01:00
Felix Geyer
809be5f89e
Use the correct modifiers after remapping.
...
Sometimes the keysym is not mapped to the first column (no modifiers)
but to a diffferent column that needs modifiers.
Therefore we need re-read the table and search the whole row for the
correct keysym.
2014-01-19 23:32:00 +01:00
Felix Geyer
bf9a755bea
Check all modifiers before declaring the remap keycode invalid.
...
Sometimes XChangeKeyboardMapping() maps the keysym to a modifier.
2014-01-19 21:40:25 +01:00
Felix Geyer
34b82da9aa
Initialize cur_focus before it's used.
2014-01-19 20:09:19 +01:00
Felix Geyer
e0c59395da
Merge branch 'AlbertWeichselbraun-bug-116-autotype-single-keycode'
2014-01-19 20:06:12 +01:00
Felix Geyer
586de64293
Restore compatibility with old Qt versions.
2014-01-19 10:46:53 +01:00
Felix Geyer
2190260a68
Small optimization in SymmetricCipherGcrypt::processInPlace().
2014-01-18 20:47:45 +01:00
Felix Geyer
678c4a8ece
Set the application name and version in QApplication.
2014-01-18 15:31:24 +01:00
Felix Geyer
c2781274a0
Fix include guards of config-keepassx.h.
2014-01-18 15:30:58 +01:00
Felix Geyer
bc14898b13
Replace ArgumentParser with a backport of QCommandLineParser from Qt 5.2.
2014-01-18 15:23:55 +01:00
Felix Geyer
b6497d9245
Coding style fixes.
2014-01-14 21:00:27 +01:00
Felix Geyer
811eb2714f
Add copy username and password actions to the clipboard.
...
Also add corresponding icons that I've put together from
various Oxygen icons.
2014-01-14 19:53:42 +01:00
Felix Geyer
a914b837a1
Drop new database action from the toolbar.
...
It's not a common operation.
2014-01-14 19:40:20 +01:00
Felix Geyer
04c9332a99
Drop superfluous PasswordGeneratorWidget::togglePassword slot.
2014-01-13 21:40:23 +01:00
Felix Geyer
97f374a189
Use monospace font in the password generator combo box.
2014-01-13 21:39:55 +01:00
Felix Geyer
6f3648d63e
Uncheck the correct widget in ChangeMasterKeyWidget.
...
We want to enable the password group but mask the password in the line edit.
2014-01-13 00:24:29 +01:00
Felix Geyer
350cf4b00a
Move password generator widget to the right row.
2014-01-13 00:24:29 +01:00
Felix Geyer
3af2307468
Reworked the PasswordGeneratorWidget.
...
It's loosely based on OS X PasswordAssistant. Generation happens as soon as a
change is made, and on open of the widget. A combobox has been added to allow
one to choose from some randomally-generated alternatives, and the UI is
generally been made a bit more compact.
Written by Michael Curtis <michael@moltenmercury.org> and revised by me.
Closes #119
https://github.com/keepassx/keepassx/pull/38
2014-01-13 00:24:25 +01:00
Felix Geyer
29c997e1bc
Add an option to show passwords by default.
...
Closes #93
2014-01-12 17:23:47 +01:00
Felix Geyer
223c5a1651
Use an icon for the button that shows/masks passwords.
...
Closes #38
Additionally make use of the new PasswordEdit class where possible.
2014-01-12 17:13:10 +01:00
Felix Geyer
8b437821a2
Add ability to load icons with on/off state.
2014-01-12 17:13:10 +01:00
Felix Geyer
4ded95a060
Add PasswordEdit class.
...
It displays passwords in monospace which closes #51
2014-01-12 17:13:03 +01:00
Felix Geyer
0b6b149351
Use the libgcrypt SALSA20 cipher if available.
2014-01-12 13:42:56 +01:00
Felix Geyer
8c7e655274
Add compatibility with libgcrypt 1.6.
...
Closes #129
2014-01-12 12:39:39 +01:00
Felix Geyer
8e86437e89
Disable settings spinboxes by default.
...
They get enabled when the corresponding checkboxes are checked.
2014-01-07 21:58:49 +01:00
Felix Geyer
a8edad1e27
Add option to lock databases after user inactivity.
...
Closes #62
2014-01-07 21:57:38 +01:00
Felix Geyer
41162ea2e8
Only try to click the focused button when pressing enter.
...
It makes no sense when pressing the escape button.
2014-01-02 10:51:51 +01:00
Albert Weichselbraun
0f91e0d141
Better naming & actually save m_currentRemapKeysym.
2013-12-16 09:41:43 +01:00
Albert Weichselbraun
6a50a76466
Track the last remapped keysym in m_currentRemapKeycode to enforce
...
a new computation of m_remapKeycode when the keyboard layout
changes.
(This fixes a potential problem with AddKeysym overwriting
used keysyms after applying a new keyboard layout).
2013-12-16 09:28:16 +01:00
Felix Geyer
b9a955c048
Add some more actions to the toolbar.
2013-12-05 22:14:01 +01:00
Felix Geyer
f648172625
Rename EntryAttributes::URLNameKey to URLKey.
2013-12-02 00:10:47 +01:00
Florian Geyer
4b41dd30e6
Merge branch 'attributes'.
2013-12-02 00:01:20 +01:00
Felix Geyer
2a416d1f1d
Make sure the remapping keycode is reset to NoSymbol.
...
Previously the dtor of AutoTypePlatformX11 wasn't called.
2013-12-01 23:32:53 +01:00
Felix Geyer
23f338b0c3
Add some error handling in case we can't remap a key.
2013-12-01 19:14:07 +01:00
Felix Geyer
cdcea91b50
Use nanosleep() instead of the deprecated usleep().
2013-12-01 19:09:20 +01:00
Felix Geyer
4549c97e51
Merge branch 'bug-116-autotype-single-keycode' of github.com:AlbertWeichselbraun/keepassx
...
https://github.com/keepassx/keepassx/pull/32
Closes #116
2013-12-01 18:40:31 +01:00
Florian Geyer
fc3cc12038
Optimize deletion of copy to clipboard actions.
2013-12-01 15:58:19 +01:00
Albert Weichselbraun
62ea117f45
Significantly reduce the number of re-mappings required by
...
a) dynamically fetching the modifier masks for Mod1 to Mod5 (Alt, AltGr, Meta,
etc.)
b) integrating commit bfec222 from Felix Geyer <debfx@fobos.de> which creates a
unicode -> x11 keysym mapping table by parsing keysymdefs.h.
This avoids adding new keysyms because keyboard layouts seem to prefer the
lower keysyms over unicode | 0x01000000 mapping.
An example of this is the euro sign with a German keyboard layout.
2013-12-01 15:34:27 +01:00
Felix Geyer
3d8ff5b585
Hide auto-type settings when the plugin is not available.
...
Closes #121
2013-12-01 12:20:05 +01:00
Florian Geyer
a3b95c1c38
Remove unnecessary removeAction call in MainWindow.
2013-12-01 10:36:50 +01:00
Florian Geyer
2308099260
Small refactoring in DatabaseWidget.
2013-12-01 09:59:43 +01:00
Florian Geyer
4a3da3abe7
Hard code copy action for default attributes.
2013-12-01 09:43:41 +01:00
Florian Geyer
3e4811791a
Delete actions after removal from menu.
2013-11-30 16:19:48 +01:00
Florian Geyer
34f12ac39c
Remove duplicate menu entries to copy username and password.
2013-11-30 16:05:10 +01:00