Felix Geyer
65bdc207b7
Make sure we don't create DeletedObjects when importing databases.
2012-05-10 22:54:26 +02:00
Felix Geyer
366d8a0f0e
Set master key after reading the database.
2012-05-10 22:46:36 +02:00
Felix Geyer
9d8e276950
Set uuids for entries.
2012-05-10 21:35:26 +02:00
Felix Geyer
2ecd11eb35
Add test for a non-ascii password.
2012-05-10 21:29:10 +02:00
Felix Geyer
cf4e574c50
Support Twofish encrypted KeePass 1 databases.
...
Refs #2
2012-05-10 21:06:33 +02:00
Felix Geyer
225e5dac66
Add tests for opening KeePass 1 databases with different keyfiles.
2012-05-10 19:34:55 +02:00
Felix Geyer
5a08e4619c
Add icon model tests.
2012-05-10 13:59:54 +02:00
Felix Geyer
65f2790170
Parse KeePass 1 database meta streams.
...
Refs #2
2012-05-10 11:44:25 +02:00
Felix Geyer
79b15e2ac6
Implement support for parsing groups and entries from KeePass 1 databases.
...
Still missing:
- Key files.
- Twofish encryption.
Refs #2
2012-05-09 23:16:32 +02:00
Andreas Piesk
7568582b05
compile with QT < 4.7 (RHEL6 an clones)
2012-05-09 22:15:28 +02:00
Felix Geyer
ebce183925
Start implementing support for reading KeePass 1 databases.
...
For now only decrypting the database works.
Still missing:
- Actually parsing the database.
- Key files.
Refs #1
2012-05-08 22:06:12 +02:00
Felix Geyer
38e421d9c1
Fix padding handling in SymmetricCipherStream.
...
The implementation had two issues:
- It didn't add a block full of padding when the input size was a multiple
of the block size.
- It didn't strip the padding when reading data.
2012-05-08 21:46:01 +02:00
Felix Geyer
f8f52419c8
Turn EntryAttachmentsModel into a QAbstractListModel.
2012-05-02 10:30:30 +02:00
Felix Geyer
7f67019f63
Turn EntryAttributesModel into a QAbstractListModel.
2012-04-28 16:50:17 +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
fdf4ab9d76
Improve TestGui::testEditEntry().
...
Simulate mouse click on the actual edit action widget.
Make sure that the edit entry widget is active after triggering the entry edit.
2012-04-26 17:52:02 +02:00
Florian Geyer
93c231ec2b
Extend group test.
2012-04-25 19:41:46 +02:00
Felix Geyer
0ad4b3d8fe
Minor improvements in CompositeKey and TestKeys.
2012-04-25 18:35:30 +02:00
Felix Geyer
1b8963c1f8
Change Q_ASSERT() to QVERIFY() in modeltest.
2012-04-25 10:45:36 +02:00
Felix Geyer
d3fbb291bd
Support moving groups with drag and drop.
2012-04-25 00:22:55 +02:00
Felix Geyer
0d20955920
Fix bug where index is wrong when a group is moved to the end from the same parent.
...
This triggered the bug:
group->setParent(group->parentGroup());
Then index was group->parentGroup()->children().size() instead of size()-1.
2012-04-25 00:10:06 +02:00
Felix Geyer
e026f3d1eb
Create a history item when changing entries.
...
Closes #15
2012-04-23 21:20:05 +02:00
Felix Geyer
bddc29101c
Introduce Group::aboutToMove() and moved() signals.
...
Emit them instead of remove/add when groups are moved within
a database.
2012-04-23 16:57:08 +02:00
Felix Geyer
bf25959b68
Memory management fixes in tests.
2012-04-22 23:09:52 +02:00
Florian Geyer
d8fcc43bc3
Extend deleted objects test.
2012-04-22 19:59:50 +02:00
Felix Geyer
82f1cbb3c9
Build with -DQT_NO_CAST_TO_ASCII.
2012-04-22 00:55:52 +02:00
Felix Geyer
72defa375d
Coding style fixes.
2012-04-22 00:29:16 +02:00
Florian Geyer
c8ad27975a
Clean up deleted objects test (again).
2012-04-22 00:11:17 +02:00
Florian Geyer
0d80a726fa
Clean up deleted objects test.
2012-04-22 00:11:17 +02:00
Florian Geyer
5dc21a191b
Clean up group deletion.
2012-04-22 00:11:17 +02:00
Florian Geyer
cc8d6424e2
Add test for deleted objects.
2012-04-22 00:11:17 +02:00
Felix Geyer
8acd6f74d8
Support KeePass format 3.00 (used by KeePass2 >= 2.15).
...
Closes #6
Attachments are now stored in a pool under Metadata instead of in entries.
The protected flag of attachments isn't supported anymore.
New metadata attributes: color, historyMaxItems and historyMaxSize.
Dropped metadata attribute: autoEnableVisualHiding.
2012-04-21 16:45:46 +02:00
Felix Geyer
2e011d5362
Improve code style.
2012-04-18 22:08:22 +02:00
Felix Geyer
0791b43da9
TestGroup: Register Entry as a meta type.
2012-04-18 17:42:55 +02:00
Felix Geyer
134f9a663e
Test that modified() is emitted when deleting Groups and Entries.
2012-04-18 17:31:05 +02:00
Felix Geyer
433e8c4508
Simplify TestModified a bit.
2012-04-18 17:26:32 +02:00
Florian Geyer
34204f3281
Disconnect entry from database, when removed.
2012-04-18 17:03:58 +02:00
Florian Geyer
d85e5d7560
Update connection of modified signals of entries when a parent group changes database.
2012-04-18 17:03:58 +02:00
Florian Geyer
ec3cca1f77
Add test for modified signals.
2012-04-18 17:03:58 +02:00
Felix Geyer
e3b7f621be
Convert TestKeePass2Reader to a core test so it doesn't need an X server.
2012-04-15 17:31:20 +02:00
Felix Geyer
3baaf6be97
Add TestGui::testEditEntry().
...
This tests that the database isn't marked as modified when we don't change
anything but still press the Ok button.
2012-04-14 20:31:35 +02:00
Felix Geyer
a8b3771f15
Disable some qDebug() noise in ModelTest.
2012-04-14 17:55:19 +02:00
Felix Geyer
2b16648370
Add EntryAttachmentsModel and EntryAttributesModel.
2012-04-14 15:41:57 +02:00
Felix Geyer
d4a94a8996
Move attributes and attachments handking from Entry into own classes.
2012-04-14 15:38:20 +02:00
Florian Geyer
875c01dc52
Add test for group notes.
2012-04-11 21:50:20 +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
9d1838a0fe
Rename KeyOpenDialog to DatabaseOpenDialog.
2012-04-05 18:31:12 +02:00
Felix Geyer
0ad1bf0a70
Add CompositeKey::clear().
2012-01-11 23:59:50 +01:00
Felix Geyer
e397080d79
Rename addAttribute() to setAttribute() and addAttachment() to setAttachment().
2012-01-07 16:22:11 +01:00
Felix Geyer
007a901dba
Proper error handling for reading databases.
2012-01-06 20:03:13 +01:00