提交图

1287 次代码提交

作者 SHA1 备注 提交日期
Andrius Štikonas 83a865411d ExternalCommandHelper::ReadData should not follow symlinks.
Resolve all symlinks in the userspace application and make sure
that helper only deals with root owned path in /dev but not in
/dev/shm.
2022-06-20 00:03:18 +01:00
A. Wilcox 26e069d6cd
Tests: Fix backend loading for tests
Using $<TARGET_FILE> we receive the entire plugin file path, leading to
errors such as:

kf.coreaddons: no metadata found in "kpmcore//home/awilcox/Code/KDE/kpmcore/bin/kpmcore/pmdummybackendplugin.so" "The shared library was not found."

Using $<TARGET_FILE_NAME> instead we are able to have just the plugin
name, which does load properly.  The tests now pass.
2022-06-12 16:14:51 -05:00
l10n daemon script eb50358b72 GIT_SILENT made messages (after extraction) 2022-06-09 01:01:02 +00:00
ivan tkachenko 9b015661aa
Present SMART status duration in more human-readable spellout format
BUG: 449386
2022-05-29 16:56:27 +03:00
Andrius Štikonas fd4a330887 Allow setting empty FAT label.
This breaks compatibility with dosfstools 4.1

BUG: 453388
2022-05-15 23:20:25 +01:00
l10n daemon script 6204041935 GIT_SILENT made messages (after extraction) 2022-05-15 00:54:27 +00:00
Andrius Štikonas 36881cde62 Fix location of GPT header on 4K LBA devices.
BUG: 453333
2022-05-04 17:49:08 +01:00
l10n daemon script d247e027a1 GIT_SILENT made messages (after extraction) 2022-03-29 00:58:46 +00:00
Andrius Štikonas 5afe143a19 Add a maximum file size limit when writing to /etc/fstab file. 2022-03-27 14:19:56 +01:00
Andrius Štikonas c9d7e0cd6e Fix path to reuse-lint yaml file. 2022-03-21 18:54:53 +00:00
Andrius Štikonas 7c299857c8 Add reuse lint. 2022-03-21 18:54:01 +00:00
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 e112ebe944 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-03-20 02:14:59 +00:00
l10n daemon script 05a96c874f GIT_SILENT made messages (after extraction) 2022-03-20 00:55:56 +00:00
Albert Astals Cid 76ede03bd2 GIT_SILENT Upgrade release service version to 22.07.70. 2022-03-12 13:26:33 +01:00
l10n daemon script bbcfd8202b GIT_SILENT made messages (after extraction) 2022-03-05 00:47:19 +00:00
l10n daemon script 1006a8daeb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-02-27 01:56:05 +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
Laurent Montel 8a209e9616 Fix building against qt6 we need kf5.90 2022-02-18 07:22:57 +01: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 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