Florian Geyer
3b603f685a
Display expiry time in local time, but save in utc.
2012-04-18 17:03:58 +02:00
Florian Geyer
48f8b1a116
Do not partly update an entry when different passwords are supplied.
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
d73cbafb8e
Add slot to update the timeinfo of a group and connect it on modified signal.
...
Connect modified signal of entries directly to database, so timeinfo of group is not updated.
2012-04-18 17:03:58 +02:00
Florian Geyer
9dc362c97e
Add tabstop order for EditEntryWidgetMain.
2012-04-18 17:03:58 +02:00
Florian Geyer
7c70eccaf7
Add password repeat check for entry passwords.
2012-04-18 17:03:58 +02:00
Florian Geyer
fc8f1231c6
Fix expiry time and bool not being updated.
2012-04-18 17:03:58 +02:00
Florian Geyer
e1632e8087
Disable timeinfo update for history entries on database parsing.
2012-04-18 17:03:57 +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
Florian Geyer
900420630d
Fix checking if database has a key.
2012-04-18 17:03:57 +02:00
Florian Geyer
26436d764a
Remove duplicate connect on currentChanged signal of the tab widget.
2012-04-18 17:03:57 +02:00
Florian Geyer
fec19b475e
Disable/enable menu actions depending on what currently can be done.
2012-04-18 17:03:57 +02:00
Florian Geyer
eb4f82a7ed
Add hasKey property to database and also make it accessible via the DatabaseWidget.
2012-04-18 17:03:57 +02:00
Felix Geyer
afb521c6bf
Silence some unused variable warnings when building in release mode.
2012-04-18 16:07:58 +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
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
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
3d7479c67b
Change EntryAttributes::copyFrom() to copyCustomKeysFrom().
...
That way we don't overwrite the default entries in EditEntryWidget::saveEntry().
2012-04-14 19:38:45 +02:00
Felix Geyer
51854a7a45
Only emit signals from clear() when the internal data is non-empty.
...
Also make sure that m_attributes always contains the default attributes.
2012-04-14 18:47:40 +02:00
Felix Geyer
8f79e914f4
Create m_entryAttachments in EditEntryWidget. Fixes a crash.
2012-04-14 18:45:32 +02:00
Felix Geyer
849f83e030
Add a new tab to the entry widget that shows attributes and attachments.
2012-04-14 15:43:41 +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
Felix Geyer
0ca32ea110
Fix syntax error.
2012-04-11 23:40:53 +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
Florian Geyer
73e1104442
Fix database name showing a star at the end when asking to save changes.
2012-04-11 21:50:20 +02:00
Florian Geyer
8b62365f8e
Add modified signals for groups.
2012-04-11 21:50:20 +02:00
Florian Geyer
3c0efd6809
Fix missing write of group notes.
2012-04-11 21:50:20 +02:00
Florian Geyer
c80be1dd84
Add modified signals for metadata.
2012-04-11 21:50:20 +02:00
Florian Geyer
a058dcee5d
Multiple DatabaseTabWidget fixes.
...
Close databases on exit. Ask to save changes on database close.
Remove database from db list on database close.
Delete file pointer on database close.
Require to set master key at database creation time.
Append "*" to tabname if database is modified.
Handle database modified signals in database tab widget.
2012-04-11 21:50:20 +02:00
Felix Geyer
e39827d777
Only delete old file when the new one has been saved successfully.
2012-04-11 21:50:20 +02:00
Florian Geyer
7880c0e4f5
Check both password edit fields.
2012-04-11 21:49:59 +02:00
Florian Geyer
1d23ed46e5
Add modified signal for database.
2012-04-11 20:01:36 +02:00
Felix Geyer
2f58b854ed
Print warning about invalid entry references.
2012-04-11 18:46:23 +02:00
Felix Geyer
cba8fd7e51
Add Tools.cpp to the cmake file.
2012-04-10 15:31:47 +02:00
Felix Geyer
08c8afc8f0
Add a Tools class with a humanReadableFileSize() method.
2012-04-09 23:53:46 +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
b3063c6fc8
Small include file cleanup.
2012-04-05 19:08:45 +02:00
Felix Geyer
8fc68045f6
Move the code to open database files from DatabaseTabWidget to DatabaseOpenDialog.
2012-04-05 19:03:55 +02:00
Felix Geyer
9d1838a0fe
Rename KeyOpenDialog to DatabaseOpenDialog.
2012-04-05 18:31:12 +02:00
Tim Swast
585e77e85c
Fixed build for MacOS.
...
Signed-off-by: Felix Geyer <debfx@fobos.de>
2012-01-13 18:25:04 +01:00
Felix Geyer
2612fc8e44
Expand GUI to allow changing the master key.
2012-01-13 17:52:37 +01:00
Felix Geyer
0ad1bf0a70
Add CompositeKey::clear().
2012-01-11 23:59:50 +01:00
Felix Geyer
279585fff4
Mark some constructor as explicit.
2012-01-11 19:18:35 +01:00
Felix Geyer
6422dee4fc
Update include guard name.
2012-01-11 18:12:41 +01:00
Felix Geyer
a8a6439ba0
Fix typo.
2012-01-07 17:18:48 +01:00