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
7abaf0e215
Fix bug in Entry::autoTypeSequence() with default window sequences.
...
When using the default sequence autoTypeSequence() returned an empty string.
2012-07-16 17:34:19 +02:00
Felix Geyer
f98d834edb
Move Auto-Type associations handling from Entry into an own class.
2012-07-16 09:54:04 +02:00
Felix Geyer
f4a4930f42
Entry::autoTypeSequence() returns null string when no window matches.
...
Return QString() when a windowTitle is passed but doesn't match any
auto-type association.
2012-07-15 11:30:30 +02:00
Felix Geyer
bc207714da
Add initial auto-type implementation.
...
The platform dependent bits are separated in plugins.
A plugin for X11 using Xlib is already done.
2012-07-12 22:33:20 +02:00
Felix Geyer
782223a643
Coding style fixes.
2012-07-01 21:58:45 +02:00
Felix Geyer
ee3bc89a54
Coding style fixes.
2012-06-30 00:22:07 +02:00
Felix Geyer
68155e8f89
Make use of Q_NULLPTR.
2012-06-29 14:15:16 +02:00
Florian Geyer
4797926be6
History items can now be removed.
...
Refs #23
2012-05-20 13:07:45 +02:00
Florian Geyer
eb82df5994
Add entry clone functionality.
2012-05-16 10:30:25 +02:00
Felix Geyer
ce268260b1
Display expired entries and groups struck out.
2012-05-15 20:02:08 +02:00
Florian Geyer
621ec80bbe
Use static constants for default icon numbers.
2012-05-15 18:46:59 +02:00
Felix Geyer
53fb28624e
Fix memory leak in Entry::truncateHistory().
2012-05-14 16:29:22 +02:00
Felix Geyer
b88a0d8de3
Coding style improvements.
2012-05-14 16:27:59 +02:00
Florian Geyer
6b6c109903
Add search.
...
Refs #24
2012-05-13 19:21:10 +02:00
Florian Geyer
1a74feb253
Improve history limits.
...
Closes #16
2012-05-11 20:14:43 +02:00
jacek81
8c87a87da6
Added history limits enforcement
2012-05-11 20:04:51 +02:00
Felix Geyer
860a2131b3
Emit dataChanged() when the entry icon has changed.
2012-05-11 14:14:12 +02:00
Felix Geyer
587a647c11
New TODO comment style.
...
Qt Creator 2.5 is able to parse those.
2012-05-11 12:39:06 +02:00
Andreas Piesk
7568582b05
compile with QT < 4.7 (RHEL6 an clones)
2012-05-09 22:15:28 +02:00
Felix Geyer
de4b90cdf1
Copy custom icons when moved to another database.
...
Closes #9
2012-04-27 11:22:02 +02:00
Felix Geyer
c36481edae
Support setting a new parent group with an empty db.
2012-04-27 10:50:32 +02:00
Felix Geyer
e026f3d1eb
Create a history item when changing entries.
...
Closes #15
2012-04-23 21:20:05 +02:00
Felix Geyer
ef26065a99
Update LocationChanged time when entries and groups are moved.
...
Closes #3
2012-04-22 12:10:21 +02:00
Felix Geyer
cc426d2453
Add missing check for group database.
2012-04-22 00:58:35 +02:00
Felix Geyer
0bcce7ce7f
Remove some unnecessary initializations.
2012-04-22 00:38:21 +02:00
Felix Geyer
411617cc8b
Add convenience function Database::addDeletedObject(const Uuid&).
...
Drop Group::addDeletedObject() and make Entry call the Database function
instead.
2012-04-22 00:29:39 +02:00
Florian Geyer
8467e7756d
Add ability to delete groups via gui.
2012-04-22 00:11:17 +02:00
Florian Geyer
fc8f1231c6
Fix expiry time and bool not being updated.
2012-04-18 17:03:58 +02:00
Florian Geyer
46bbabbe3c
Use UTC time spec.
2012-04-18 17:03:57 +02:00
Florian Geyer
ad865774d1
Add slot to update the timeinfo of an entry and connect it on modified signal.
2012-04-18 17:03:57 +02:00
Felix Geyer
a5ac1f2e80
Call m_group->database() instead of keeping a reference to Database in Entries.
...
Previously we didn't update m_db when the database of the group changed.
2012-04-18 13:57:57 +02:00
Felix Geyer
38585663e1
Don't modify the protected status of default attributes.
...
They are handled by Metadata::protect*.
2012-04-14 19:41:56 +02:00
Felix Geyer
d4a94a8996
Move attributes and attachments handking from Entry into own classes.
2012-04-14 15:38:20 +02:00
Felix Geyer
4334824e85
Emit modified() after all icon attributes have been set in Entry::setIcon().
2012-04-11 22:05:24 +02:00
Florian Geyer
674909f635
Add modified signals for entries.
2012-04-11 21:50:20 +02:00
Felix Geyer
9aaec3499d
Add signals for attribute and attachment changes.
2012-04-09 23:52:06 +02:00
Felix Geyer
57a953476a
Use QMap to store attributes and attachments.
...
QMap keeps the keys in a consistent order (sorted).
2012-04-09 22:20:11 +02:00
Felix Geyer
d527e63f1f
Change the Entry attributes/attachment API to provide a stable key order.
2012-04-06 19:33:29 +02:00
Felix Geyer
a8a6439ba0
Fix typo.
2012-01-07 17:18:48 +01:00
Felix Geyer
f39dfa1c88
Honor protect parameter when overwriting an attribute/attachment.
2012-01-07 16:23:20 +01:00
Felix Geyer
e397080d79
Rename addAttribute() to setAttribute() and addAttachment() to setAttachment().
2012-01-07 16:22:11 +01:00
Felix Geyer
00aafa69f5
Store database icons as QImage instead of QIcon.
...
This has the advantage that they can be used without a running X server.
Add methods to retrieve QPixmaps that are converted from the stored QImages
and cached by QPixmapCache.
2012-01-01 21:52:54 +01:00
Felix Geyer
027362be76
Notify entry/group parent on deletion.
...
Also make the root group pseudo static, i.e. it shouldn't be changed
after the database has been fully constructed.
2011-07-09 21:54:01 +02:00
Felix Geyer
d4f02a78a7
Coding style fixes.
2011-07-08 14:51:14 +02:00
Felix Geyer
4dbdc4d847
Make some Group methods private.
2011-07-08 13:57:02 +02:00
Felix Geyer
a1bfb1f319
Initalize more member variables.
2011-07-07 12:52:30 +02:00
Felix Geyer
be934b2fce
Always add the default attributes to Entry and don't allow to delete them.
2011-07-07 12:42:08 +02:00
Felix Geyer
5cb906c235
Properly initialize various attributes.
2011-06-29 16:47:05 +02:00
Felix Geyer
2adf3770b0
Fix typo.
...
aka project might be still alive commit
2011-06-25 23:10:42 +02:00
Felix Geyer
cfb55828b6
Add initial support for encrypted database fields.
2011-01-13 22:31:17 +01:00
Felix Geyer
8fc2b9328e
Improve EditEntryWidget.
2010-10-06 22:54:07 +02:00
Felix Geyer
e3da80fcc6
Add KeePass2Writer.
...
Support attributes MasterKeyChanged, MasterKeyChangeRec, MasterKeyChangeForce and Tags.
Close streams in the dtor.
2010-09-25 12:41:00 +02:00
Felix Geyer
567dd92d4c
Add built-in icons.
2010-09-19 21:22:24 +02:00
Felix Geyer
3193adc215
Support Entry History and DeletedObjects.
2010-08-25 13:52:59 +02:00
Felix Geyer
ef52e98ee6
Coding style++
2010-08-24 23:12:01 +02:00
Felix Geyer
2b939617bb
Implement XML Writer (maybe even works!)
2010-08-18 22:57:26 +02:00
Felix Geyer
8d623f37ca
Add EntryModel.
2010-08-18 16:22:48 +02:00
Felix Geyer
84bc5ef463
Add convenience methods to access common attributes.
2010-08-18 15:08:17 +02:00
Felix Geyer
01694c3271
Implement Entry::image().
2010-08-14 12:24:35 +02:00
Felix Geyer
bd1ea05017
Fix parser and add unit tests.
2010-08-13 18:08:06 +02:00
Felix Geyer
dae532d659
More work on the parser and Entry/Group data structures.
2010-08-12 21:38:59 +02:00
Felix Geyer
3e3c23e4ad
Initial import.
2010-08-07 15:10:44 +02:00