Andrius Štikonas
6b9dfa2d1e
Merge branch 'master' into raid-support
2019-01-06 17:20:23 +00:00
Caio Carvalho
bbe392b5d2
Support RAID resize
2018-10-12 17:01:38 -03:00
Caio Carvalho
e8cb85a15f
Changing onRemoveVolumeGroup to accept RAID
2018-10-11 17:43:53 -03:00
Caio Carvalho
5727717776
Activating RAID through GUI
2018-10-11 15:01:46 -03:00
Andrius Štikonas
78e7c7d52a
Fix crash on exit.
...
If we do not delete ApplyProgressDialog, then it later emits
finished which in turn attempts to scanDevices even though kpmcore helper
is already stopped and QCA private key is deleted.
2018-09-01 22:34:46 +01:00
Caio Carvalho
14b286ede7
Initial implementation of RAID activation.
2018-08-28 15:06:01 -03:00
Caio Carvalho
bdc0a24508
Don't resize RAID if it is not active.
2018-08-24 12:23:17 -03:00
Caio Carvalho
702a34d6a4
DeactivateVolumeGroup cast to VolumeManagerDevice instead of LvmDevice
2018-08-19 16:59:48 +02:00
Caio Carvalho
170a0fadde
Rescanning after RAID config file change
2018-08-16 23:56:01 +02:00
Caio Carvalho
3c79839152
Fix in raid configuration
2018-08-16 14:59:49 +02:00
Caio Carvalho
fa0b7b838c
Check for VolumeManagerDevice instead of LVM.
2018-08-14 02:13:46 +02:00
Caio Carvalho
04db81aaba
Cast to VolumeManagerDevice instead of LvmDevice.
2018-08-14 01:52:03 +02:00
Caio Carvalho
a8ae8d5419
Fixing RAID creation GUI.
2018-08-13 20:09:52 -03:00
Caio Carvalho
a87f042468
Load partitions for RAID in CreateVolumeGroupDialog.
2018-07-31 16:34:32 -03:00
Andrius Štikonas
e2b31f81fb
Merge branch 'kauth'
2018-07-25 09:38:54 +00:00
Andrius Štikonas
773cbf6d3b
Newly created / to be removed LVM PVs in Resize VG dialog
...
Port changes from Create VG dialog:
Commit: af9fbe8a4f
2018-07-16 00:20:00 +01:00
Caio Carvalho
b68db554f6
Operations should check LvmDevice::s_DirtyPVs instead of check pending CreateVolumeGroupOperations to search for newly LVM PVs.
2018-07-15 19:43:44 -03:00
Caio Carvalho
a606306e79
Showing SoftwareRAID device properties and allowing to create RAID device partition table.
2018-07-11 12:23:10 -03:00
René J.V. Bertin
ade8676d23
avoid nullptr dereference when no devices are found
...
Differential revision: https://phabricator.kde.org/D13445
2018-06-09 14:27:35 +02:00
Caio Carvalho
dfca46250e
- Passing list of pending operations as argument to ResizeOperation::canGrow.
...
- Access LVM::pvList through static list attribute.
2018-05-09 04:15:28 -03:00
Caio Carvalho
556a5a22ba
Don't delete, shrink or move LVM PVs that are being targeted by CreateVolumeGroupOperations.
2018-05-07 22:16:58 -03:00
Caio Carvalho
af9fbe8a4f
- Allow creating LVM VG with PVs that are going to be created in OperationStack.
...
- Check if there is another CreateVolumeGroupOperation with the LVM PV before listing it in the LVM VG creation widget.
- Disallow creating VG with some PV that will be deleted.
2018-05-03 20:50:42 -03:00
Andrius Štikonas
2846f9adba
Set KAuth parent widget.
2018-04-15 01:35:55 +03:00
Andrius Štikonas
93f18ebd9f
Show MainWindow before KAuth dialog.
2018-04-15 01:03:41 +03:00
Andrius Štikonas
1344021e1b
Move KAuth helper setup code to ExternalCommand class.
2018-04-14 23:56:10 +03:00
Andrius Štikonas
c0385aca3c
CoreBackendManager -> CoreBackendManager::self().
2018-04-13 14:25:11 +03:00
Andrius Štikonas
e9ac1cf977
Adjust to kpmcore enum changes.
2018-04-09 15:14:48 +01:00
Andrius Štikonas
96693a8455
Switch Device::Type enum to enum class.
2018-04-09 02:58:03 +01:00
Huzaifa Faruqui
bf65a186bd
Removed config option to apply operations as non-root
2018-04-04 00:31:14 +05:30
Andrius Štikonas
cc73b6c9ce
Move external command helper stopping code to kpmcore.
2018-03-21 20:51:10 +01:00
Andrius Štikonas
60e86c3ad6
Stop ExternalCommandHelper before quiting the application.
2018-03-19 02:34:30 +01:00
Andrius Štikonas
e512ed337a
Use qOverload in Qt signal/slots.
2017-10-09 13:54:31 +01:00
Andrius Štikonas
eb6478aa49
Fix a broken QRegularExpression in LVM VG name validator.
2017-10-06 23:16:30 +01:00
Andrius Štikonas
24237a6120
Change a way untranslated file system name is accessed.
2017-09-15 12:47:28 +01:00
Andrius Štikonas
4b4198c34a
Use untranslated file system name when importing partition table.
...
BUG: 364648
2017-09-14 14:47:39 +01:00
Andrius Štikonas
ff45763427
Record sector size in FileSystem class.
2017-09-03 16:01:48 +01:00
Andrius Štikonas
4c46d7ad0b
Adapt to kpmcore QList->QVector changes.
2017-08-31 10:49:26 +01:00
Andrius Štikonas
482c1f63a3
std::vector->QVector.
2017-08-31 10:34:58 +01:00
Andrius Štikonas
e3c14dbbb4
Convert pvList to std::vector.
...
We do not need to insert elements at arbitrary locations,
so vector should be sufficient.
Postpone changes in kpmcore till later to avoid breaking API.
2017-06-05 00:28:22 +01:00
Andrius Štikonas
255e34bf9e
Port from deprecated ui() to uiDelegate()
2017-04-11 20:49:46 +01:00
Andrius Štikonas
3eddfe2374
Use new kpmcore function to check whether LVM VG can be removed.
2016-11-05 15:35:27 +00:00
Andrius Štikonas
46ae0c73a8
Store list of physical volumes in a global variable.
2016-11-03 13:26:23 +00:00
Andrius Štikonas
b2520a8dc6
Refresh actions after LVM VG deactivate job.
2016-10-30 02:32:26 +00:00
Andrius Štikonas
fea271330d
Use cached values for resizing volume groups.
2016-09-24 21:09:16 +01:00
Andrius Štikonas
5bebcfbbc8
More conversion from QStringList to QList<const Partition*>.
...
listPhysicalVolumes::checkedItems is now QList based.
2016-09-18 01:55:14 +01:00
Andrius Štikonas
e2afd2c683
Avoid calling lvm command to list Volume Groups in CreateNewVolumeGroup dialog.
2016-09-11 02:54:16 +01:00
Andrius Štikonas
280ba106e8
Store the list of LVM Physical Volumes in operationStack.
2016-09-10 22:10:11 +01:00
Andrius Štikonas
da663169f7
Adapt to kpmcore changes regarding LVM PV detection.
2016-09-07 14:36:59 +01:00
Andrius Štikonas
e7d2a21599
Hide encrypt/decrypt action for non luks partitions.
2016-09-06 00:34:16 +01:00
Andrius Štikonas
29cb8f6201
Replace 2 cases of getLVs with LVPathList.
2016-09-05 17:29:09 +01:00