summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdestoragedevice.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix lvm volumes appearing as removable devicesAlexander Golubev2023-12-281-3/+3
| | | | | | | | | | | | | | - remove obsolete/erroneous code meddling with GENHD_FL_MEDIA_CHANGE_NOTIFY - use /sys/block/<dev>/removable rather than /sys/block/<dev>/capabilities - deprecate TDEDiskDeviceStatus::Hotpluggable and use TDEDiskDeviceStatus::Removable for all removable devices - put some local utility function into anonymous namespace See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/148 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdehw lib: reworked device notifications to avoid repeated scanning of devices.Michele Calgaro2021-08-131-90/+25
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehw lib: removed unused and seemingly unnecessary method in storage device.Michele Calgaro2021-08-101-53/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehw lib: make the call to close the file explicit.Michele Calgaro2021-08-091-0/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix definitions of slot constants for old cryptsetup API.Slávek Banko2021-06-071-5/+3
| | | | | | This resolves issue #137. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehw lib: reworked code for eject operation to support return type ↵Michele Calgaro2020-11-211-13/+42
| | | | | | TQStringVariantMap. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added support for locking/unlocking of LUKS disks using pmount/pumount.Michele Calgaro2020-10-311-9/+65
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed mounting and unmounting of mapped storage devices.Michele Calgaro2020-10-101-16/+23
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed displaying of encrypted disks.Michele Calgaro2020-10-101-75/+15
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added udisks2 support for unlocking/locking of encrypted disks.Michele Calgaro2020-10-101-6/+89
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added back build options for UDISKS2, UDISKS and UDEVIL as requested byMichele Calgaro2020-02-101-7/+28
| | | | | | some users. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Normalized names of devices to avoid unintentional mixed used of icons from ↵Michele Calgaro2019-07-081-4/+7
| | | | | | | | different icon themes. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-07-071-11/+10
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Reworked code for eject/mount/unmount operations to support new ↵Michele Calgaro2019-07-071-121/+110
| | | | | | TDEStorageOpResult return type. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehw: code restructuring for tdestoragedevice.Michele Calgaro2019-07-071-463/+100
| | | | | | | | 1. added disk helper source files 2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included 3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehw: TRUE/FALSE --> true/false renaming.Michele Calgaro2019-07-071-18/+16
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehw: avoid crashing kded when using udisks/udisks2 to operate onMichele Calgaro2019-07-071-0/+6
| | | | | | drives that contain dashes. This relates to issue #32. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new function TQT_DBusData::getAsVariantData() instead of localMichele Calgaro2019-05-161-8/+3
| | | | | | version of it. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed FTBFS caused by libcryptsetup 2.0Michele Calgaro2018-02-251-16/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix icon of mounted camera in tdehwlibSlávek Banko2016-02-041-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add support for udevil to mount/unmount removable drivesSlávek Banko2016-01-231-2/+38
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix using of custom mountpoints with pmount in tdehwlibSlávek Banko2016-01-231-1/+12
| | | | | | This partially resolves Bug 2576 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add mount indicator to tdehwlib storage device iconsTimothy Pearson2015-09-211-19/+24
|
* Fix FTBFS when cryptsetup / pkcs options are disabledTimothy Pearson2015-09-191-0/+2
| | | | This resolves Bug 2530
* Fix yet another FTBFS due to libcryptsetup version problemsTimothy Pearson2015-09-181-1/+1
|
* Fix prior commitTimothy Pearson2015-09-181-1/+1
|
* Add ability to decrypt multiple data objects in the same session using a ↵Timothy Pearson2015-09-141-0/+31
| | | | | | cryptographic card Add LUKS key verification routine
* Add additional cryptographic card functions to tdehwlibTimothy Pearson2015-09-141-11/+17
| | | | Fix FTBFS on old distributions
* Fix FTBFS when ancient versions of cryptsetup are usedTimothy Pearson2015-09-131-5/+17
|
* Fix FTBFS when cryptsetup support disabledTimothy Pearson2015-09-071-0/+2
|
* Add initial LUKS key management supportTimothy Pearson2015-09-061-1/+185
|
* Rename most device icons to comply with XDG standardsTimothy Pearson2015-03-021-16/+16
|
* Fix hardware control center crashes on device hot removeTimothy Pearson2014-11-261-3/+17
| | | | Fix incorrect decoding of hex escaped device names
* Fix incorrect sizes being reported on raid devicesTimothy Pearson2014-07-101-12/+3
|
* Add detailedFriendlyName methods to the TDE hardware managerTimothy Pearson2014-04-181-0/+4
| | | | This breaks the ABI and relates to Bug 1666
* Fix crash in mount/umount operations when using pmountTimothy Pearson2013-12-271-6/+9
| | | | Remove unneeded hack in dirlister for media device root directory
* Use direct DBUS calls for udisks2Timothy Pearson2013-12-261-12/+154
|
* Use udisks DBUS calls instead of command line control utilityTimothy Pearson2013-12-261-21/+146
|
* Fix mount media without known filesystem in tdehw storage backendSlávek Banko2013-12-111-19/+19
| | | | This resolves Bug 1753
* Disable unallowed options for udisks/udisks2 in tdehw storage backendSlávek Banko2013-11-211-2/+4
|
* Use only available mechanisms to eject in the tdehw storage backendSlávek Banko2013-11-181-53/+39
|
* Add support for udisks and udisks2 to mount/unmount removable drivesFrancois Andriot2013-11-161-26/+155
| | | | This resolves Bug 1708
* Fix handling path with UTF8 characters in tdehw storage backendSlávek Banko2013-11-161-2/+2
|
* Disable suspend/hibernate if $HOME is a network file systemTimothy Pearson2013-08-261-0/+54
| | | | This resolves Bug 1615
* Merge branch 'master' into HEADAlexander Golubev2013-08-111-4/+54
| | | | | | | Conflicts: tdecore/CMakeLists.txt tdecore/tdehardwaredevices.h tdecore/tdehw/tdehardwaredevices.cpp
* complete tdehardwaredevices splitGolubev Alexander2013-07-271-16/+17
|
* moved first two classes of tdehw to their own filesGolubev Alexander2013-07-271-0/+721