D6831: Make use of kauth helper in methods of file ioslave

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr added a comment. @dhaumann The helper is called only when the error is EACCES or EPERM. So, if you are already root then this won't be the case and file ioslave will work as usual. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D6831 To:

KDE CI: Frameworks knotifications kf5-qt5 WindowsMSVCQt5.9 - Build # 26 - Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20knotifications%20kf5-qt5%20WindowsMSVCQt5.9/26/ Project: Frameworks knotifications kf5-qt5 WindowsMSVCQt5.9 Date of build: Wed, 03 Jan 2018 06:23:36 + Build duration: 52 min and counting

KDE CI: Frameworks kdelibs4support kf5-qt5 SUSEQt5.7 - Build # 17 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kdelibs4support%20kf5-qt5%20SUSEQt5.7/17/ Project: Frameworks kdelibs4support kf5-qt5 SUSEQt5.7 Date of build: Wed, 03 Jan 2018 05:48:41 + Build duration: 23 min and counting JUnit Tests

KDE CI: Frameworks kdelibs4support kf5-qt5 SUSEQt5.10 - Build # 16 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kdelibs4support%20kf5-qt5%20SUSEQt5.10/16/ Project: Frameworks kdelibs4support kf5-qt5 SUSEQt5.10 Date of build: Wed, 03 Jan 2018 05:48:41 + Build duration: 22 min and counting JUnit

KDE CI: Frameworks kdelibs4support kf5-qt5 FreeBSDQt5.9 - Build # 11 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kdelibs4support%20kf5-qt5%20FreeBSDQt5.9/11/ Project: Frameworks kdelibs4support kf5-qt5 FreeBSDQt5.9 Date of build: Wed, 03 Jan 2018 05:48:41 + Build duration: 18 min and counting JUnit

D6831: Make use of kauth helper in methods of file ioslave

2018-01-02 Thread Dominik Haumann
dhaumann added a comment. Without looking too much into details of the patch: what happens, if you are already root? Does that work as expected? I am asking, since we introduced regressions into Kate since using kauth to save data with elevated privileges: Kate disallows running as

D9332: Allow filter places based on alternative application name

2018-01-02 Thread Renato Oliveira Filho
renatoo updated this revision to Diff 24605. renatoo marked 3 inline comments as done. renatoo added a comment. Fixed typo REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9332?vs=23930=24605 REVISION DETAIL https://phabricator.kde.org/D9332 AFFECTED FILES

D9599: Create interface for passing server decoration palettes

2018-01-02 Thread Martin Flöser
graesslin accepted this revision. This revision is now accepted and ready to land. Restricted Application edited projects, added Plasma; removed Plasma on Wayland. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D9599 To: davidedmundson, #plasma,

D7430: Add unit tests for privilege excution in KIO

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24603. chinmoyr retitled this revision from "Add unit test" to "Add unit tests for privilege excution in KIO". chinmoyr edited the summary of this revision. chinmoyr added a comment. Restricted Application added a project: Frameworks. 1.Removed all

D5856: Use KDirWatch removeDir/addDir instead of stopDirScan/restartDirScan

2018-01-02 Thread Albert Astals Cid
aacid requested changes to this revision. aacid added a comment. This revision now requires changes to proceed. Seems this needed changes, was pushed by mistake, then reverted and thus it stayed in the "albert needs to review" state instead of the "david needs to do changes" state.

D7272: [DropJob] Enable drag and drop in a read-only folder

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24601. chinmoyr added a comment. Restricted Application added a project: Frameworks. 1.Replaced PrivilegeExecution flag 2.Made variable m_flags const again REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE

D7270: [FileUndoManager] Enable undoing changes in read-only folders

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24600. chinmoyr added a comment. Restricted Application added a project: Frameworks. 1.Removed PrivilegeExecution flag REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D7270?vs=19183=24600 BRANCH master REVISION DETAIL

D6833: Add support for PrivilegeExecution in KIO jobs

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24599. chinmoyr added a comment. 1.Made privilege execution default in BatchRenameJob. 2.Removed all occurences of PrivilegeExecution as job argument. With these changes and the latest changes in https://phabricator.kde.org/D6831 all the existing

D6832: Integrate new file ioslave in KIO job

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24598. chinmoyr added a comment. 1.Reassigned flag values for NoPrivilegeExecution and PrivilegeExecution. I strongly feel that the latter won't be needed anymore. 2.Setting meta-data for unit test in the job itself (in tryAskPrivilegeOpConfirmation).

D6832: Integrate new file ioslave in KIO job

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24597. chinmoyr added a comment. 1.Reassigned flag values for NoPrivilegeExecution and PrivilegeExecution. I strongly feel that the latter won't be needed anymore. 2.Setting meta-data for unit test in the job itself (in tryAskPrivilegeOpConfirmation).

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2018-01-02 Thread Ralf Habacker
habacker added a comment. https://phabricator.kde.org/D9480 is for kdbusaddons repo, but we need at least one review for kio using the new function in all related places. If https://phabricator.kde.org/D9480 is submitted, I can discard all "... service file must not have any path prefix on

D6831: Make use of kauth helper in methods of file ioslave

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24585. chinmoyr added a comment. 1.Added check for unit test mode at beginning of put. 2.put was setting the wrong permissions because I initialized 'filemode' to 0 and did't update it. Now it is fixed. 3.Replaced file.setPermissions with

D6830: Make use of kauth helper in copy method of file ioslave

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24583. chinmoyr added a comment. Changes: 1. Added method tryChangeAttr. This will call chown/chmod/utime in copy with elevated privileges only during the brief period authorization is kept. 2.Added check for unit test mode at beginning of

D6829: Add ability to use the new kauth helper in file ioslave

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24578. chinmoyr added a comment. 1.Added method privilegeOperationUnitTestMode. This replaces the previous block of code which tested the validity of the KAuth action by looking up the action in *.policy file. I think instead of looking for some

KDE CI: Frameworks kirigami kf5-qt5 FreeBSDQt5.9 - Build # 16 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kirigami%20kf5-qt5%20FreeBSDQt5.9/16/ Project: Frameworks kirigami kf5-qt5 FreeBSDQt5.9 Date of build: Tue, 02 Jan 2018 10:48:41 + Build duration: 1 hr 0 min and counting JUnit Tests

D6709: Add support for sharing file descriptor between KIO slave and KAuth helper

2018-01-02 Thread Chinmoy Ranjan Pradhan
chinmoyr updated this revision to Diff 24577. chinmoyr retitled this revision from "[RFC] Add support for sharing file descriptor between KIO slave and KAuth helper" to "Add support for sharing file descriptor between KIO slave and KAuth helper". chinmoyr added a comment. Fixed compilation

KDE CI: Frameworks kwayland kf5-qt5 FreeBSDQt5.9 - Build # 14 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kwayland%20kf5-qt5%20FreeBSDQt5.9/14/ Project: Frameworks kwayland kf5-qt5 FreeBSDQt5.9 Date of build: Tue, 02 Jan 2018 10:19:01 + Build duration: 54 min and counting JUnit Tests

KDE CI: Frameworks kirigami kf5-qt5 SUSEQt5.10 - Build # 24 - Still Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kirigami%20kf5-qt5%20SUSEQt5.10/24/ Project: Frameworks kirigami kf5-qt5 SUSEQt5.10 Date of build: Tue, 02 Jan 2018 10:48:41 + Build duration: 6 min 22 sec and counting JUnit Tests

KDE CI: Frameworks kirigami kf5-qt5 SUSEQt5.7 - Build # 25 - Fixed!

2018-01-02 Thread CI System
BUILD SUCCESS Build URL https://build.kde.org/job/Frameworks%20kirigami%20kf5-qt5%20SUSEQt5.7/25/ Project: Frameworks kirigami kf5-qt5 SUSEQt5.7 Date of build: Tue, 02 Jan 2018 10:48:41 + Build duration: 4 min 33 sec and counting JUnit Tests

KDE CI: Frameworks kwayland kf5-qt5 SUSEQt5.7 - Build # 16 - Unstable!

2018-01-02 Thread CI System
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks%20kwayland%20kf5-qt5%20SUSEQt5.7/16/ Project: Frameworks kwayland kf5-qt5 SUSEQt5.7 Date of build: Tue, 02 Jan 2018 10:19:01 + Build duration: 9 min 19 sec and counting JUnit Tests

D9599: Create interface for passing server decoration palettes

2018-01-02 Thread David Edmundson
davidedmundson updated this revision to Diff 24569. davidedmundson added a comment. Restricted Application edited projects, added Plasma on Wayland; removed Plasma. replace tiny typo REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9599?vs=24565=24569

D9599: Create interface for passing server decoration palettes

2018-01-02 Thread David Edmundson
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel. Restricted Application edited projects, added Plasma; removed Plasma on Wayland.

D9482: Use cmake function 'kdbusaddons_generate_dbus_service_file' from kdbusaddons to generate dbus service file

2018-01-02 Thread Ralf Habacker
habacker marked 2 inline comments as done. REVISION DETAIL https://phabricator.kde.org/D9482 To: habacker, dfaure, kfunk Cc: #frameworks

D9480: Add cmake function 'kdbusaddons_generate_dbus_service_file'

2018-01-02 Thread Ralf Habacker
habacker marked 6 inline comments as done. REPOSITORY R271 KDBusAddons REVISION DETAIL https://phabricator.kde.org/D9480 To: habacker, dfaure, kfunk Cc: cgiboudeaux, #frameworks

D9480: Add cmake function 'kdbusaddons_generate_dbus_service_file'

2018-01-02 Thread Ralf Habacker
habacker updated this revision to Diff 24564. habacker added a comment. - fixed doc - check if absolute path on unix - use cmake variable KDE_INSTALL_FULL_BINDIR - renamed service file template REPOSITORY R271 KDBusAddons CHANGES SINCE LAST UPDATE

D9482: Use cmake function 'kdbusaddons_generate_dbus_service_file' from kdbusaddons to generate dbus service file

2018-01-02 Thread Ralf Habacker
habacker updated this revision to Diff 24563. habacker added a comment. - remove trailing/bin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9482?vs=24345=24563 BRANCH master REVISION DETAIL https://phabricator.kde.org/D9482 AFFECTED FILES src/CMakeLists.txt To: habacker,

D9482: Use cmake function 'kdbusaddons_generate_dbus_service_file' from kdbusaddons to generate dbus service file

2018-01-02 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > dfaure wrote in CMakeLists.txt:34 > Shouldn't that be ${KDE_INSTALL_FULL_BINDIR} instead? Remove the /bin, it's part of KDE_INSTALL_FULL_BINDIR...

D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'

2018-01-02 Thread David Faure
dfaure added a comment. Let's discard this one and proceed with https://phabricator.kde.org/D9480 instead. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D9423 To: habacker, dfaure, bcooksley, kfunk Cc: apol, kfunk, broulik, #frameworks

D9480: Add cmake function 'kdbusaddons_generate_dbus_service_file'

2018-01-02 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > CMakeLists.txt:63 > + "KF5DBusAddonsMacros.cmake" > + "dbus.service.in" > DESTINATION "${CMAKECONFIG_INSTALL_DIR}" This