Commit Graph

1255 Commits

Author SHA1 Message Date
l10n daemon script 49900e80bf GIT_SILENT made messages (after extraction) 2022-02-11 00:47:29 +00:00
l10n daemon script e0d6c1ce43 GIT_SILENT made messages (after extraction) 2022-02-10 00:46:44 +00:00
l10n daemon script cff0f16a7d GIT_SILENT made messages (after extraction) 2022-02-09 00:50:22 +00:00
Andrius Štikonas 5717c3aa0b Update description of polkit helper. 2022-02-08 21:39:18 +00:00
Andrius Štikonas 1c87b494ef Add a node for Qt6. 2022-02-06 21:18:29 +00:00
Andrius Štikonas fd7f9b87a9 Do not repeatedly open and close file when reading from it. 2022-02-06 21:18:29 +00:00
Andrius Štikonas eddbd7a301 Do not repeatedly open and close file when writing to it. 2022-02-06 21:06:39 +00:00
Andrius Štikonas fb11a02d24 It is no longer necessary to namespace exit function. 2022-02-06 01:27:09 +00:00
Andrius Štikonas 4ef17463ff Make sure that path passed to WriteData is block device. 2022-02-05 14:42:17 +00:00
Andrius Štikonas 81a5eae665 Restrict CopyFileData to writing to already existing files. 2022-02-05 14:12:38 +00:00
Andrius Štikonas 3903ae1b83 Rename CopyBlocks to CopyFileData. 2022-02-05 14:05:50 +00:00
Andrius Štikonas 949ce01ae4 Check for relative paths in ExternalCommandHelper::CopyBlocks. 2022-02-05 13:48:37 +00:00
Andrius Štikonas 5d1c03b9d8 Restrict QProcess::ProcessChannelMode to two used values.
Casting and passing the processChannel argument unfiltered to QProcess
could pose a security issue if future additions are made to
QProcess that introduce new behaviour.
2022-02-05 13:24:38 +00:00
Andrius Štikonas 1502494eda Be a bit more strict in root helper when checking path to /etc/fstab. 2022-02-05 13:13:12 +00:00
Andrius Štikonas e2f097fce8 Remove unnecessary or non-existing Qt flags. 2022-01-21 00:29:01 +00:00
Andrius Štikonas 04170918bc Set KDE_COMPILERSETTINGS_LEVEL to 5.85. 2022-01-20 22:31:06 +00:00
Andrius Štikonas c6e37dbd8e One more missed place with INCLUDE_INSTALL_DIR. 2022-01-20 19:13:02 +00:00
Andrius Štikonas deb82fe2f9 Also remove INCLUDE_INSTALL_DIR in KPMcoreConfig.cmake file. 2022-01-20 19:10:58 +00:00
Andrius Štikonas 19cda738bd Do not set INCLUDE_INSTALL_DIR variable. 2022-01-20 19:04:53 +00:00
Andrius Štikonas cbea744bb3 Fix obsolete ECM variables 2022-01-20 18:35:33 +00:00
Andrius Štikonas a69bbb559d Fix cmake config file template to work with Qt6. 2022-01-18 01:18:04 +00:00
Andrius Štikonas 72b4142bcb Fix infinite recursion in dummy backend.
BUG: 432704
2022-01-16 14:22:50 +00:00
Andrius Štikonas 5174dce64f Remove unused forward declaration. 2022-01-16 13:59:01 +00:00
Andrius Štikonas 67550ca2f7 Add Qt6 CI. 2022-01-16 00:21:21 +00:00
Andrius Štikonas 73de1709e2 Port to Qt6. 2022-01-16 00:17:46 +00:00
Andrius Štikonas 08d2e3dc2c Changing swap labels while swap is active does not seem to work anymore. 2022-01-15 23:14:49 +00:00
Andrius Štikonas 7eb2ceed17 Port QStringRef to QStringView. 2022-01-15 22:49:42 +00:00
Andrius Štikonas b0cd5def42 Remove unused variable. 2022-01-15 22:33:29 +00:00
Andrius Štikonas d7912e21d8 Port away from KPluginLoader::factory. 2022-01-10 01:16:20 +00:00
Andrius Štikonas c31eabc842 Port away from deprecated method. 2022-01-10 01:11:13 +00:00
Andrius Štikonas 1d7a4e4010 Port away from KPluginLoader::metaData. 2022-01-10 00:33:43 +00:00
Andrius Štikonas 30d428c697 Port away from KPluginMetaData::serviceTypes. 2022-01-10 00:24:53 +00:00
Andrius Štikonas 5ffc5c6f23 Fix davfs entries being omitted from fstab file.
BUG: 447961
2022-01-05 23:00:17 +00:00
Andrius Štikonas e58ab02bac Add support for copying unknown partitions.
BUG: 447784
2022-01-01 16:18:57 +00:00
Andrius Štikonas d2fb56bcd2 Allow running chmod in externalcommand helper. 2021-12-28 15:26:01 +00:00
Tomaz Canabrava 770e16eb02 Use --recursive instead of -r 2021-12-28 15:07:35 +00:00
Tomaz Canabrava 36bb57c0dd Add posix permissions on filesystems used in posix systems 2021-12-28 15:07:35 +00:00
Tomaz Canabrava e1774d4026 Remove unused member 2021-12-28 15:07:35 +00:00
Tomaz Canabrava 9093b27bd8 Move the changePosixPermission to the Filesystem
And implement it on ext2, 3, 4. I don't know all the filesystems
that can have posix permissions, those three will do. if we need
more in the future we implement them, it's two lines of code.
2021-12-28 15:07:35 +00:00
Tomaz Canabrava 6c14ddb043 Add new job to change permission of the newly created partition 2021-12-28 15:07:35 +00:00
Andrius Štikonas 68c8fecffd Simplify code using K_PLUGIN_CLASS_WITH_JSON macro.
Also move kpmcore plugins into separate namespace.
2021-12-24 18:58:41 +00:00
Andrius Štikonas a5bdd5a4eb Switch to ntfsinfo to read NTFS usage.
BUG: 447248
2021-12-24 00:03:05 +00:00
Andrius Štikonas 31921c59fa Fix broken fstab when mount point includes space.
fstab column width was calculated before spaces were escaped which would
result in no space between mount point and file system type columns.

BUG: 446218
2021-12-04 23:31:02 +00:00
Tomaz Canabrava 65f986dc29 Add method to query if polkit is installed correctly
The std::cout and qDebugs on the external command helper is
not visible to the user as it runs in another process via dbus
this is highly annoying if you want to be able to discover what's
wrong on the command line.

A method that checks if the file is in the right place should be
called by the users of this library
2021-11-29 11:16:33 -03:00
Albert Astals Cid 259f562698 Add CI 2021-11-28 12:55:05 +01:00
Harald Sitter c79f5831ff add metainfo file
requirement to get generated on api.kde.org
2021-11-24 10:31:41 +00:00
Harald Sitter b3d0cfccaf set cmake interface dir on the target
this carries through into the Targets.cmake file we install which in
turn means that the imported target for the consumer defines its include
directory. this removes the need to manually add the include dir

also updated the readme accordingly
2021-11-23 10:14:58 +01:00
Ben Cooksley d9339e4833 Add additional dependencies of KPMCore 2021-11-21 16:40:25 +13:00
Ben Cooksley 702b30ee3a Add CI definitions for the seed job 2021-11-21 16:24:08 +13:00
l10n daemon script 172b76fe9b GIT_SILENT made messages (after extraction) 2021-11-20 00:30:09 +00:00