Felix Geyer
77b4bfb14e
Cleanup string argument numbers.
2015-12-06 14:31:23 +01:00
Felix Geyer
2fa531745f
Check XML key file for valid base64 before using it.
...
QByteArray::fromBase64() doesn't validate the input.
Closes #366
2015-11-01 18:32:15 +01:00
Felix Geyer
dff3fc0572
Coding style fixes.
2015-10-15 18:02:31 +02:00
Felix Geyer
5de0ec94e0
Stop using deprecated methods from QtAlgorithms.
2015-10-13 22:52:07 +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
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
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
03a330a4dd
Port Tools::platform() to Qt 5.
...
The Q_WS_* definitions are gone.
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
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
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
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
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
719ac64851
Fix unused variable warning.
2015-07-16 19:49:41 +02:00
Felix Geyer
8ad48d6774
Protect against emitting inactivityDetected() while it'is still processed.
2015-07-13 21:25:48 +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
denk-mal
5982763bed
implement a (nonperfect) hide-to-tray on win close
2015-06-18 15:23:41 +02:00
Ivan
a115bbdc6f
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-22 21:06:32 -07: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
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
Ivan
33ed4fd7cf
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-12 11:03:48 -07:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03: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
b055d524e8
Merge branch 'lockdb'
2015-04-05 10:38:58 +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
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
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
Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Felix Geyer
3ea0592b53
Add hasKey() convenience methods.
2014-12-03 23:36:24 +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
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
867d14f7aa
Merge branch 'movestill-fixConfigPath'
...
https://github.com/keepassx/keepassx/pull/49
2014-06-15 13:20:17 +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
28694ae687
Add initial support for translations.
2014-05-18 01:33:22 +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
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
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
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
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
Felix Geyer
0b9167c78b
Add an option to always ask before performing auto-type.
...
Closes #120
2014-04-14 22:57:18 +02:00
Keith Bennett
b432103b82
Return password quality to keepasshttp client.
2014-03-23 19:09:45 +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
4a08101a60
Remove obsolete ArgumentParser files.
2014-03-08 10:45:40 +01:00
Felix Geyer
586de64293
Restore compatibility with old Qt versions.
2014-01-19 10:46:53 +01:00
Felix Geyer
678c4a8ece
Set the application name and version in QApplication.
2014-01-18 15:31:24 +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
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
8b437821a2
Add ability to load icons with on/off state.
2014-01-12 17:13:10 +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
f648172625
Rename EntryAttributes::URLNameKey to URLKey.
2013-12-02 00:10:47 +01:00
Florian Geyer
4a3da3abe7
Hard code copy action for default attributes.
2013-12-01 09:43:41 +01:00
Florian Geyer
34f12ac39c
Remove duplicate menu entries to copy username and password.
2013-11-30 16:05:10 +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
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
1f47033835
Make sure icon() and iconPixmap() never crash.
2013-11-22 10:30:50 +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
7dde8a771f
Use QUINT32_MAX in tests instead of hardcoding the number.
2013-10-12 19:11:57 +02:00
Felix Geyer
9c788a6e84
Support custom backends in Random.
...
Useful for tests.
2013-10-09 22:06:32 +02:00
Felix Geyer
67338aac7b
Avoid using QApplication in core.
2013-10-08 17:37:12 +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
Francois Ferrand
d2ab008aa0
Auto-reload settings.
2013-04-30 17:31:08 +02:00
Felix Geyer
5588792344
Make KeePass2XmlReader::parseGroup() safe against reordered xml elements.
2013-04-29 22:31:50 +02:00
Felix Geyer
61ee763515
Add Entry::copyDataFrom().
2013-04-29 22:31:49 +02:00
Felix Geyer
fd18bc0330
Use standard GNU install dirs and make them overridable.
2013-04-29 22:17:31 +02:00
Francois Ferrand
d5c8787451
Detect background changes to database file.
...
This gives the option to reload the database.
TODO:
- Settings for reloadBehavior (ask, reloadUnchanged, ignore)
- Improve notification, by using a header instead of dialog: nicer, less
intrusive, gives more options to user, and works better when multiple databases
are open.
- Keep tab order on reload.
2013-04-29 09:11:26 +02:00
Florian Geyer
b499a6df77
Fix coding style.
2013-04-27 11:40:10 +02:00
Florian Geyer
cabec57631
Make argument keys immutable.
2013-04-27 11:40:10 +02:00
Florian Geyer
63f7a0685f
Small ArgumentParser refactoring.
2013-04-27 11:40:10 +02:00
Francois Ferrand
850c7c7ecf
Option to automatically reopen databases which were last opened.
2013-04-24 13:30:30 +02:00
Florian Geyer
f0985ff9d9
Remember opened databases on quit.
...
Refs #36
2013-04-18 21:52:08 +02:00
Francois Ferrand
75f0d132e5
Add removeSharedEncryptionKeys() and removeStoredPermissions()
2013-04-18 17:57:00 +02:00
Francois Ferrand
ea992bc3e6
Support KeyPassHttp protocol.
...
Allows using passIfox (firefox) and Chromeipass (chrome).
2013-04-12 15:16:56 +02:00
Felix Geyer
fe42861bed
Add safety check so we don't insert empty icons.
2013-04-07 19:37:44 +02:00
Felix Geyer
5a96e19ce9
Copy custom icons when copying/moving entries/groups to another database.
2013-04-07 18:32:43 +02:00
Florian Geyer
2558e6db79
First draft of an argument parser.
...
Possibility to set custom config path.
2013-04-06 11:00:45 +02:00
Felix Geyer
bee570c3cf
Add Group::clone().
...
Move all the data we want to clone into a GroupData struct.
2013-04-04 21:48:55 +02:00
Felix Geyer
be288d26ca
Change Entry::clone() to set a random uuid.
2013-04-04 21:25:11 +02:00
Felix Geyer
60335452a4
Add compiler flags to hide all symbols by default.
2013-03-30 00:14:32 +01:00
Felix Geyer
5550d7af0d
Fix autotype test (build) failures on Mac OS and Windows.
...
We need to tell Windows what symbols the main program exports
and the autotype plugin imports.
On both systems the linker needs the path of the main program that
loads the plugin.
2013-03-29 16:27:02 +01:00
Felix Geyer
1c7e8f6921
Small optimizations.
2013-03-26 23:53:34 +01:00
Florian Geyer
97b488b2ba
Ignore an unused variable.
2013-03-24 21:57:34 +01:00
Florian Geyer
13393ed2d3
Fix removal of history entries in release builds.
...
Closes #56
2013-03-24 21:57:34 +01:00
Felix Geyer
c7593a3047
Stop suppressing signals in Group dtor.
...
That way we emit entry/group removed signals.
Move cleanupParent() call to the bottom so we
maintain the group tree structure for objects that
connect to those signals.
2013-03-24 14:00:23 +01:00
Felix Geyer
72d17c045f
Handle deleting groups more consistently.
...
Delete the entries and child groups in Group dtor
no what if the group has a database or not.
2013-03-24 14:00:23 +01:00
Felix Geyer
eb6612b787
Fix database icons license issues.
...
Pull C62_Tux.png, C63_Feather.png, C64_Apple.png, C65_Apple.png
and C65_W.png from the latest KeePass 2 version.
Replace C68_BlackBerry.png with another icon from openclipart.org.
It's unclear where this KeePass 2 icon is from.
Closes #69
2013-03-23 21:50:23 +01:00
Felix Geyer
2ed3201b14
Add PasswordGenerator backend.
...
Refs #52
2013-03-12 21:55:11 +01:00
Florian Geyer
e85dbda62a
Update timeinfo when cloning an entry.
2012-11-06 23:34:16 +01:00
Felix Geyer
41973d0e92
Revert "Handle DeferredDelete events in Tools::wait()."
...
Caused a crash when performing auto-type from AutoTypeSelectDialog.
This reverts commit 6b3fed1ce5
.
2012-11-03 15:12:04 +01:00
Florian Geyer
bd90ba9326
Move initial auto-type timeout to plugins.
2012-11-02 15:49:25 +01:00
Felix Geyer
6b3fed1ce5
Handle DeferredDelete events in Tools::wait().
2012-11-02 15:43:45 +01:00
Felix Geyer
d7cbec1a02
Make sure that TestGui doesn't leave a temp file behind.
...
Swap the parent/child relationship between QTemporaryFile and Config
because the QTemporaryFile dtor is called before its chidren are destroyed.
2012-10-28 18:07:23 +01:00
Felix Geyer
606dbc6eb4
Add infrastructure for auto-type tests.
2012-10-28 15:33:44 +01:00
Florian Geyer
ddd5e8a209
Add menu entry to copy an entry attribute to clipboard.
2012-10-24 20:03:33 +02:00
Felix Geyer
18337927f5
Fix includes for ptrace(PT_DENY_ATTACH, ...).
2012-10-23 17:06:50 +02:00
Felix Geyer
59847f4f30
Make QSaveFile work on Windows when the target file already exists.
2012-10-22 17:48:13 +02:00
Florian Geyer
92bf7c94d0
Whitespace separated search terms are AND concatenated.
2012-10-21 21:09:27 +02:00
Felix Geyer
4d263a09db
Include config-keepassx.h in Tools.cpp for the HAVE_* defines.
2012-10-21 19:24:17 +02:00
Felix Geyer
169e6327ea
Disable core dumps and tracing on *nix.
...
But only when built in release mode.
Closes #4
2012-10-21 12:33:00 +02:00
Felix Geyer
7286b1847d
Add Database::verifyKey().
...
And make Database::hasKey() const.
2012-10-12 12:10:41 +02:00
Florian Geyer
de1a94ff61
Add presets for expire date.
...
Closes #44
2012-08-18 17:33:41 +02:00
Florian Geyer
6c695e3fd0
Remember show toolbar option.
...
Closes #43
2012-08-15 19:50:31 +02:00
Felix Geyer
0bac9752ba
Use QTime instead of QElapsedTimer with Qt 4.6.
...
The latter has been introduced in Qt 4.7.
2012-08-05 19:19:01 +02:00
Felix Geyer
8fb2f9db7c
Move inline keyword to function definition.
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
Felix Geyer
e9a96ff80a
Mark m_pixmapCacheKey as mutable so we don't have to const_cast.
2012-07-25 12:18:16 +02:00
Felix Geyer
92efb3d20b
Move autoTypeSequence() and windowMatches() to the AutoType class.
2012-07-23 18:06:04 +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
7820bf2510
For global auto-type use the default sequence of the entry before the group.
2012-07-23 12:56:00 +02:00
Felix Geyer
33b4cd8636
Don't add new entries to EntryModel when in search mode.
...
Only allow moving entries from one group to the other.
2012-07-21 22:21:49 +02:00
Florian Geyer
f6e1af30b3
Move recycle bin creation method to Group class.
2012-07-21 11:58:00 +02:00
Felix Geyer
a50d2709e7
Replace EntryAttachments and EntryAttributes operator=() with copyDataFrom().
...
QObjects are not supposed to have assignment operators.
2012-07-20 12:15:19 +02:00
Felix Geyer
ef579cbe3c
Refactor Entry::truncateHistory().
...
This allows us to drop Entry::getSize() and EntryAttachments::attachmentsSize()
which have weird semantics.
2012-07-20 00:45:34 +02:00
Felix Geyer
0c1fecfb2b
const_cast "this" instead of the member variable.
2012-07-19 23:32:31 +02:00
Felix Geyer
308d3ad84b
Use constructor initialization lists where possible.
2012-07-19 19:42:14 +02:00
Felix Geyer
4152e93bb7
Add a cache for FilePath::icon().
2012-07-18 21:22:36 +02:00
Felix Geyer
f01076856b
Don't add double "/" to paths.
2012-07-18 21:22:36 +02:00
Felix Geyer
2a45f57386
Support proper plugin finding.
...
So we don't have to hardcode the location anymore.
2012-07-18 21:22:36 +02:00