Commit Graph

388 Commits

Author SHA1 Message Date
Andrius Štikonas ac278bb06d Check whether LUKS verification passphrase matches.
Set passphrase length to be from 1 to 512.
2016-05-17 01:06:45 +01:00
Andrius Štikonas ca6398fe99 Remove non-user friendly captions. 2016-05-12 21:45:07 +01:00
Andrius Štikonas 21d02b31dc Fix a typo. 2016-05-10 15:16:05 +01:00
Andrius Štikonas 18aecafe46 Port from QRegExp to QRegularExpression. 2016-05-10 15:08:06 +01:00
Andrius Štikonas b940840a86 Fix importing partition table. 2016-05-10 14:49:57 +01:00
Andrius Štikonas 57fea2269d Use KActionCollection::setDefaultShortcut to silence warnings on startup. 2016-05-08 02:29:49 +01:00
Andrius Štikonas 98835662ca Start migration from QLineEdit to KNewPasswordWidget for LUKS passphrases. 2016-04-29 21:27:43 +01:00
Andrius Štikonas b0cf50e443 Pass a pointer to the parent widget to decrypt dialog. 2016-04-29 12:36:32 +01:00
Andrius Štikonas 0d76d71fc4 Merge branch 'master' into luks-decorator 2016-04-28 14:48:06 +01:00
Andrius Štikonas 51bf1b94f8 Move constructor to .cpp file. 2016-04-28 14:09:51 +01:00
Andrius Štikonas b21d1ffa84 Resize the header of ApplyProgressDialogWidget. 2016-04-28 14:01:09 +01:00
Andrius Štikonas 1832059353 Add override keyword to virtual functions. 2016-04-28 00:17:47 +01:00
Andrius Štikonas 92d4ea5d95 Fix incorrect HTML markup. 2016-04-27 18:53:26 +01:00
Andrius Štikonas 80b01010a6 Never show encrypt options for Extended partitions. 2016-04-26 14:39:15 +01:00
Andrius Štikonas 97bd4e94e1 Do not use QStringLiteral for empty strings. 2016-04-26 13:55:58 +01:00
Andrius Štikonas e5eed419f3 Do not show luks in FileSystemSupportDialog. 2016-04-26 13:03:10 +01:00
Andrius Štikonas 8f05b9e422 Limit passphrase input field to 512 characters. 2016-04-26 12:52:46 +01:00
Andrius Štikonas 2790b430bb Allow setting labels during creation of LUKS volume. 2016-04-24 17:48:24 +01:00
Teo Mrnjavac 221c375bd4 Rookie mistake. 2016-04-21 19:30:18 +02:00
Teo Mrnjavac 9a8dc0127d Force show the passphrase widgets. 2016-04-21 19:25:53 +02:00
Teo Mrnjavac 1e300afbac Correctly hide passphrase widget. 2016-04-21 19:21:34 +02:00
Teo Mrnjavac f56539a4b0 Revert "Do not delete checkbox and passprase widget objects."
This reverts commit 2bed9f23eb.
2016-04-21 18:44:25 +02:00
Teo Mrnjavac 5fc1683672 Don't crash on resize dialog. 2016-04-21 18:43:54 +02:00
Andrius Štikonas 2bed9f23eb
Do not delete checkbox and passprase widget objects.
Workarounds a crash when resizing LUKS partitions.
2016-04-21 17:37:49 +01:00
Teo Mrnjavac a1b886578f Set the passphrase on FS::luks. 2016-04-21 17:57:25 +02:00
Teo Mrnjavac 5f3a0ca691 Hide it by default. 2016-04-21 17:56:55 +02:00
Teo Mrnjavac 0c065cd786 Add passphrase widget to create dialog. 2016-04-21 17:56:44 +02:00
Teo Mrnjavac 64668df117 Avoid using exceptions, again. 2016-04-20 15:15:01 +02:00
Teo Mrnjavac 1b958db71f Avoid using exceptions. 2016-04-20 14:46:22 +02:00
Teo Mrnjavac cf4d687d54 Rely on the partition role instead of the filesystem type. 2016-04-19 17:08:01 +02:00
Teo Mrnjavac 29d3a92805 Use the role instead of the filesystem type to detect a LUKS volume. 2016-04-19 16:54:33 +02:00
Teo Mrnjavac 03d3925775 PartitionRole::LUKS is now PartitionRole::Luks. 2016-04-19 16:53:56 +02:00
Andrius Štikonas ad64f7537b
Rename qglobal.h to QtGlobal 2016-04-18 17:17:19 +01:00
Andrius Štikonas f878865aa0
Merge branch 'master' into luks-decorator 2016-04-16 00:34:50 +01:00
Andrius Štikonas b3303ee6bf
Fix LUKS encryption support for filesystems without support for writing label.
This enables LUKS encryption for Reiser4 and LVM PV.
2016-04-16 00:28:14 +01:00
Teo Mrnjavac 13031913f4 Update copyrights. 2016-04-15 15:45:22 +02:00
Teo Mrnjavac 46baf7c440 Create FS as inner FS in LUKS if the encrypt setting is checked.
Filter out LUKS from FS combo.
2016-04-15 15:38:11 +02:00
Teo Mrnjavac c67911c0d2 Hide LUKS checkBox by default. 2016-04-15 15:36:41 +02:00
Teo Mrnjavac b0b2eccc23 Add "Encrypt" checkBox to partition widget.
Also replace occurrences of NULL with nullptr.
2016-04-15 15:35:45 +02:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01:00
Teo Mrnjavac 0c780279ae Resurrect LUKS code which was previously merged+reverted.
Revert "Revert "Merge branch 'luks-decorator'""

This reverts commit 6806de6fb7.
2016-03-31 18:20:57 +02:00
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Teo Mrnjavac 97175c71ad Fix bug with EditMountPointDialog not having Ok&Cancel buttons. 2016-02-29 01:11:10 +00:00
Andrius Štikonas c140e6665f Fix checkSupportInNode for extended partitions (disables bogus warning). 2016-02-29 01:05:39 +00:00
Teo Mrnjavac 5e7c9f7131 Fix crash when applying settings. 2016-02-26 15:32:14 +01:00
Andrius Štikonas d2a013222e Use KLocalizeStrings to avoid nested xi18n calls.
Nested xi18n calls cause QStrings to be escaped and makes HTML
visible in KMessageBox.

BUG: 354925
2016-02-18 14:59:59 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Andrius Štikonas 333e03ac10 Get rid of kpmgui internal library.
kpmgui was basically the whole partitionmanager except for main.cpp file.
All useful functions were moved to kpmcore library, kpmgui is not necessary now.
2016-01-06 15:56:32 +02:00
Andrius Štikonas 6806de6fb7 Revert "Merge branch 'luks-decorator'"
This reverts commit 54ce33b472, reversing
changes made to 98d08a81c5.
2015-09-16 14:14:53 +01:00
Teo Mrnjavac a88ceb2140 Fix bug with EditMountPointDialog not having Ok&Cancel buttons. 2015-08-14 18:07:26 +02:00