Commit Graph

280 Commits

Author SHA1 Message Date
Andrius Štikonas 0c1af38e5e Use lowercase for cmake functions. 2022-03-20 21:10:17 +00:00
Andrius Štikonas 6b260fa84e Only run partitioning commands from trusted prefixes. 2022-03-20 21:07:17 +00:00
l10n daemon script 05a96c874f GIT_SILENT made messages (after extraction) 2022-03-20 00:55:56 +00:00
l10n daemon script bbcfd8202b GIT_SILENT made messages (after extraction) 2022-03-05 00:47:19 +00:00
l10n daemon script b6a52fe2b1 GIT_SILENT made messages (after extraction) 2022-02-27 00:52:28 +00:00
l10n daemon script 0681ebd790 GIT_SILENT made messages (after extraction) 2022-02-21 00:47:25 +00:00
Andrius Štikonas 858f8d9bae Add a comment about WriteOnly. 2022-02-20 20:49:57 +00:00
Andrius Štikonas d92ebc0b76 Rename variables into more appropriate fstabPath and fstabFile. 2022-02-20 20:47:43 +00:00
Andrius Štikonas e483bab0d5 Restrict CreateFile method to WriteFstab method in polkit helper. 2022-02-20 19:42:25 +00:00
Andrius Štikonas 27b85117c4 Rename blockSize to chunkSize to avoid confusion with physical blocks. 2022-02-20 14:41:31 +00:00
Andrius Štikonas d9ceb50238 Add a few more comments explaining copy direction. 2022-02-20 14:41:31 +00:00
l10n daemon script 237d246457 GIT_SILENT made messages (after extraction) 2022-02-20 00:48:23 +00:00
l10n daemon script 3f1949f477 GIT_SILENT made messages (after extraction) 2022-02-18 00:48:05 +00:00
Andrius Štikonas c05bb54bc5 Set "false" as the default return value and change it to "true" on success.
Please enter the commit message for your changes. Lines starting
2022-02-15 19:56:46 +00:00
Andrius Štikonas fb1708b958 Fix a typo in definition of MiB constant. 2022-02-15 19:14:19 +00:00
l10n daemon script 94c1ff7133 GIT_SILENT made messages (after extraction) 2022-02-13 00:46:08 +00:00
l10n daemon script b4f5faed58 GIT_SILENT made messages (after extraction) 2022-02-12 00:46:25 +00:00
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 5174dce64f Remove unused forward declaration. 2022-01-16 13:59:01 +00:00
Andrius Štikonas 73de1709e2 Port to Qt6. 2022-01-16 00:17:46 +00:00
Andrius Štikonas d2fb56bcd2 Allow running chmod in externalcommand helper. 2021-12-28 15:26:01 +00:00
Andrius Štikonas a5bdd5a4eb Switch to ntfsinfo to read NTFS usage.
BUG: 447248
2021-12-24 00:03:05 +00:00
l10n daemon script 172b76fe9b GIT_SILENT made messages (after extraction) 2021-11-20 00:30:09 +00:00
Andrius Štikonas e9fc875c5e Fix seek error when filling device with random data or zeroes. 2021-11-12 01:02:34 +00:00
l10n daemon script 74218e12d6 GIT_SILENT made messages (after extraction) 2021-11-09 00:19:35 +00:00
l10n daemon script b3050dc894 GIT_SILENT made messages (after extraction) 2021-07-08 00:20:41 +00:00
l10n daemon script f0188249e8 GIT_SILENT made messages (after extraction) 2021-05-17 00:27:08 +00:00
l10n daemon script ce39e14904 GIT_SILENT made messages (after extraction) 2021-03-27 02:33:43 +01:00
l10n daemon script c06a188d0e GIT_SILENT made messages (after extraction) 2021-03-03 03:33:29 +01:00
Andrius Štikonas 06f15334ec Add support for exfatprogs
Bug: 430907
2020-12-28 17:50:07 +00:00
l10n daemon script 338811601b GIT_SILENT made messages (after extraction) 2020-12-07 02:39:36 +01:00
Andrius Štikonas a06d4ba0f7 Return QByteArray instead of bool in readData. 2020-11-29 23:34:29 +00:00
Andrius Štikonas 73da1bc514 Only allow using ReadData on block devices. 2020-11-29 23:24:49 +00:00
Andrius Štikonas b0e5fa66c4 Add an explicit ReadData method to polkit helper instead of relying on copyblocks with empty target device. 2020-11-29 23:14:08 +00:00
Andrius Štikonas 502ebc0474 Remove declaration of non-existing method. 2020-11-29 22:42:19 +00:00
Andrius Štikonas 04a095a542 Simplify find syntax. 2020-11-29 13:49:50 +00:00
Andrius Štikonas 5da47c26e9 Replace array with unordered set for better performance. 2020-11-29 13:48:07 +00:00