Commit Graph

81 Commits

Author SHA1 Message Date
Tomaz Canabrava 6b27467943 Add a button to allow the user to select if the partition is open for
everyone
2021-12-28 15:09:40 +00:00
Andrius Štikonas 03edda5de6 Port away from obsolete QPalette::Foreground. 2020-11-14 01:30:13 +00:00
Andrius Štikonas cd10b5ba2c Port away from qAsConst. 2020-10-24 22:15:02 +01:00
Andrius Štikonas ad48c72af8 Switch to SPDX license headers. 2020-09-16 00:35:12 +01:00
Caio Carvalho d9b4ec0ce0 Disabling checkBoxEncrypt in Create New Partition dialog when cryptsetup tool is not found. 2018-05-07 19:22:20 -03:00
Andrius Štikonas 96693a8455 Switch Device::Type enum to enum class. 2018-04-09 02:58:03 +01:00
Andrius Štikonas 2137fa58b8 Explicitely specify the scope of FileSystem::Type enum. 2018-04-07 19:54:55 +01:00
Andrius Štikonas 6252fb480f Merge branch '3.3' 2018-01-07 16:51:50 +02:00
Andrius Štikonas 9439e9b1fd Fix a crash when resizing LVM LV. 2018-01-06 23:24:16 +02:00
Andrius Štikonas eaff75dc1b Exclude FileSystem::Luks2 from New File System dialog.
Just like with Luks1, we only want to create Luks2 containers with
some other file system inside.
2017-12-31 08:41:17 +00:00
Andrius Štikonas f62edf052c Move LVM LV setup code to the base class.
The same checks (e.g. hide LVM LV name edit line) are also needed
in the other children of SizeDialogBase.
2017-10-28 19:02:26 +01:00
Andrius Štikonas f105f448b3 Add a validator for LVM LV names. 2017-10-09 23:56:15 +01:00
Andrius Štikonas e512ed337a Use qOverload in Qt signal/slots. 2017-10-09 13:54:31 +01:00
Andrius Štikonas da621fbfbe Use QValidator to validate label input. 2017-09-05 12:52:47 +01:00
Andrius Štikonas 0f64ac2dc3 Port to validateLabel function. 2017-09-04 17:39:39 +01:00
Andrius Štikonas ff45763427 Record sector size in FileSystem class. 2017-09-03 16:01:48 +01:00
Andrius Štikonas 58281d6855 Adapt to kpmcore createWithLabel changes. 2017-08-31 10:21:32 +01:00
Andrius Štikonas 97dc11bb89 Port qSort. 2017-05-03 19:24:41 +01:00
Andrius Štikonas 7f5e592ba9 Use qAsConst and required Qt 5.7.1. 2017-01-05 19:11:32 +00:00
Andrius Štikonas e8fee5dd23 Do not allow creating LVM LV with no name. 2016-08-27 00:16:39 +01:00
Chantara Tith b581c3d715 API changes, change to renamed methods. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 561269a2e6 Convert to C++11 for loop where it is safe to do so. 2016-08-15 17:38:00 +01:00
Chantara Tith 5775560759 When creating new LV, disable OK button if the LV name already exists. 2016-08-15 17:38:00 +01:00
Chantara Tith c8844c91e9 Remove lvm2_pv from FileSystem comboBox when creating LV. 2016-08-15 17:38:00 +01:00
Chantara Tith e437c46d45 Disable OK button when LV name is empty. 2016-08-15 17:38:00 +01:00
Chantara Tith 1673a9ddeb Hide sizeDetailsWidget for LVM device. This also fix crashes when trying to align LV 2016-08-15 17:38:00 +01:00
Chantara Tith e9cfc151f7 Hide freeSpace Before and After Label for LVM resize. 2016-08-15 17:38:00 +01:00
Chantara Tith e798a26cb6 Make LVM partition immovable when resize. 2016-08-15 17:38:00 +01:00
Chantara Tith 07bf741c6a Add new LV operation 2016-08-15 17:38:00 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas b94564e360 Convert remaining QObject::connect to new syntax. 2016-05-22 20:03:49 +01:00
Andrius Štikonas c01d63cb02 Revert "Remove Luks from FileSystemFactory."
This reverts commit dd1f6aaae0.
2016-05-17 15:30:57 +01:00
Andrius Štikonas dd1f6aaae0 Remove Luks from FileSystemFactory. 2016-05-17 15:05:05 +01:00
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 98835662ca Start migration from QLineEdit to KNewPasswordWidget for LUKS passphrases. 2016-04-29 21:27:43 +01:00
Andrius Štikonas 80b01010a6 Never show encrypt options for Extended partitions. 2016-04-26 14:39:15 +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 5fc1683672 Don't crash on resize dialog. 2016-04-21 18:43:54 +02:00
Teo Mrnjavac a1b886578f Set the passphrase on FS::luks. 2016-04-21 17:57:25 +02:00
Teo Mrnjavac 03d3925775 PartitionRole::LUKS is now PartitionRole::Luks. 2016-04-19 16:53:56 +02: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
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00