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
Andrius Štikonas
551654de0d
Also rename source/targetFirstByte ot offsets in function declarations.
2020-11-29 13:08:53 +00:00
Andrius Štikonas
d34b617272
Rename source/targetFirstByte to source/targetOffset.
...
Add some diagrams explaining difference between
source/targetOffsets and read/writeOffset.
2020-11-29 01:54:48 +00:00
Andrius Štikonas
ee0a1e1b41
Add a limit on the amount of data that can be passed back via DBus.
2020-11-29 01:08:43 +00:00
Andrius Štikonas
c556f39064
Add a limit on blocksize to prevent out-of-memory situation.
2020-11-29 00:58:55 +00:00
Andrius Štikonas
9dd38744c5
Add a comment about auth_admin_keep.
2020-11-29 00:50:57 +00:00
Andrius Štikonas
4fa91d75f3
externalcommandhelper: Do not commit suicide when attempting to run non whitelisted command.
...
Simply returning failure should be sufficient.
2020-11-26 23:35:52 +00:00
Andrius Štikonas
32d146eed3
externalcommandhelper: Make copy direction an enum.
2020-11-26 23:26:31 +00:00
Andrius Štikonas
d16d9e8019
Do not reuse QProcess object in externalcommandhelper for different invocations.
2020-11-26 22:05:25 +00:00
Andrius Štikonas
fae9f83451
Fix division by zero.
2020-11-26 21:58:24 +00:00