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
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
Felix Geyer
ea628af580
Merge branch 'staging'
2013-11-30 12:15:16 +01:00
Veeti Paananen
9cae8a412a
Save password generator settings
...
Remember the used values for the password generator and restore them the
next time the user opens the generation dialog.
2013-11-30 11:27:39 +01:00
Ben Boeckel
66b3d22041
Use QString::toLatin1() rather than ::toAscii()
...
The toAscii (and fromAscii) are removed from Qt5 in favor of Latin1.
2013-11-24 21:19:20 +01:00
Albert Weichselbraun
c83579ecdb
Merge commit '755241df5c' into bug-116-autotype-single-keycode
2013-11-23 09:37:09 +01:00
Albert Weichselbraun
a26119ea20
Use a dedicated keycode for keys that require another modifier than shift.
2013-11-23 09:07:16 +01:00
Felix Geyer
98c821df05
Add Group::exportToDb().
2013-11-22 13:36:46 +01:00
Felix Geyer
a992c76d6a
Allow passing entry cloning flags to Group::clone().
2013-11-22 13:34:34 +01:00
Felix Geyer
f2dfef8c41
Add flags to Entry::clone() for customized cloning.
2013-11-22 13:32:13 +01:00
Felix Geyer
cb804eb143
Document clone() methods.
2013-11-22 10:30:50 +01:00
Felix Geyer
74e912ccd3
Remember the dir when opening/saving attachments.
2013-11-22 10:30:50 +01:00
Felix Geyer
1f47033835
Make sure icon() and iconPixmap() never crash.
2013-11-22 10:30:50 +01:00
Albert Weichselbraun
3fcfc348ed
Cleanup: use break rather than nested if/else constructs.
2013-11-18 06:17:56 +01:00
Albert Weichselbraun
6b33298a6e
Merge branch 'bug-116-autotype-new' into bug-116-autotype
2013-11-17 21:10:29 +01:00
Albert Weichselbraun
68e1fc0cd0
Use XKeysymToKeycode together with XkbTranslateKeyCode for translating KeySyms to the corresponding keycode and modifier sequences.
2013-11-17 21:08:55 +01:00
Felix Geyer
755241df5c
Focus entryView when pressing enter in the search field.
2013-11-17 10:55:58 +01:00
Felix Geyer
9080864167
Fix tab focus order in ui files.
2013-11-17 10:15:50 +01:00
Albert Weichselbraun
d25e883983
Fixed bug #116 - certain characters not working with de keyboard layout
2013-11-17 07:48:25 +01:00
Felix Geyer
091e87aeb3
EditEntryWidget: move the URL field beneath the password.
2013-11-16 22:30:39 +01:00
Charles Brunet
4a870f61f1
Added option to minimize window when copying data to clipboard
...
https://github.com/keepassx/keepassx/pull/24
2013-10-29 20:54:56 +01:00
Felix Geyer
5daf0853c9
Coding style fixes.
2013-10-13 18:08:50 +02:00
Felix Geyer
ef3d7b7772
Merge branch 'modulo-bias'
...
https://github.com/keepassx/keepassx/pull/21
2013-10-12 19:12:51 +02:00
Felix Geyer
7dde8a771f
Use QUINT32_MAX in tests instead of hardcoding the number.
2013-10-12 19:11:57 +02:00
Felix Geyer
3dd4681e69
Fix EntryView not emitting activated() signals on return key press.
...
AutoTypeSelectDialog relies on this behavior.
2013-10-10 22:47:32 +02:00
Felix Geyer
9c788a6e84
Support custom backends in Random.
...
Useful for tests.
2013-10-09 22:06:32 +02:00
Felix Geyer
e087baeb48
Avoid modulo bias in Random::randomUInt().
2013-10-09 21:59:24 +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
551637f0c2
Allow removing multiple entries.
2013-10-08 21:36:01 +02:00
Felix Geyer
8778df5789
Drop entries from search results when moved to the recycle bin.
2013-10-08 21:13:20 +02:00
Felix Geyer
67338aac7b
Avoid using QApplication in core.
2013-10-08 17:37:12 +02:00
Felix Geyer
626351c5da
Add several private header files to CMakeLists.txt.
2013-10-03 16:26:01 +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
Jens Dieskau
035271d469
Only edit entries on doubleclick (not single) or with enter key.
...
https://github.com/keepassx/keepassx/pull/19
2013-09-29 17:35:34 +02:00
Felix Geyer
5c84aa308d
Improve error messages for reading and wriiting databases.
...
Closes #7
2013-06-30 14:43:02 +02:00
Felix Geyer
e1c82a4453
Print a cmake feature log.
...
This let's users know when the dependnecies for auto-type are missing.
Available only in cmake >= 2.8.3.
Closes #71
2013-06-30 14:07:25 +02:00
Francois Ferrand
41be9e8178
Implement option to search all open databases.
2013-05-02 13:58:01 +02:00
Francois Ferrand
be24872bba
Notifications pseudo-code.
2013-05-02 13:58:01 +02:00
Francois Ferrand
db56546871
Filter GetAllLogins entries, to return only entries with an URL.
2013-05-02 13:58:01 +02:00
Francois Ferrand
53b30e267c
Fix entry partial matching rules.
2013-05-02 13:58:01 +02:00
Francois Ferrand
8f33c5235b
Fix StringField copy.
2013-05-02 13:58:00 +02:00
Francois Ferrand
d8857bf42d
Fix currentMode() while DB is not yet open.
2013-05-02 13:58:00 +02:00
Francois Ferrand
a85ac07576
Qocoa compilation fix for MacOS.
2013-05-02 13:58:00 +02:00
Felix Geyer
db6ac26794
Initialize variables to silence compiler warnings.
2013-05-01 12:03:03 +02:00
Francois Ferrand
d2ab008aa0
Auto-reload settings.
2013-04-30 17:31:08 +02:00
Felix Geyer
6df30df992
Really fix parsing when the db contains two Root (Group) elements.
2013-04-30 17:04:54 +02:00