Add function to revoke authorization
- Queries
- All Stories
- Search
- Advanced Search
Advanced Search
Jul 18 2019
remove code causing false statement
Jul 15 2019
Return false when action not authorized
Initialize helper and connect to signals
Jul 14 2019
Rebase wrt auth-polkit-backend patch
Do not make virtual function, was just testing
Make functions virtual
Jul 13 2019
Looks alright. I'll try to compile myself and see what are those linking errors when you have those two lines uncommented...
Add QTest to cmake
Jul 12 2019
Comment out connects for now
Rebase wrt qdbus patch
Comment out connects for now
Jul 11 2019
Remove KAuth dependence
Remove extra include
include moc
Proper rebase and fix merge conflicts with Polkit backend
Jul 10 2019
Remove unnecessary include
Add timer to quit()
Jul 9 2019
Now compiles, authorizing using the Polkit backend
cleanup
Jul 8 2019
Authenticate org.kde.kpmcore.externalcommand.init action inside ExternalCommand::startHelper() using Polkit Backend
@stikonas Below error is troubling me for sometime.
Jul 7 2019
Remove unneded function
Jul 5 2019
More cleanup and remove unneded commented code
Add function to stop action inside the polkit backend
Jun 26 2019
Remove Q_PLUGIN_METADATA
Jun 24 2019
Jun 22 2019
Properly handle reply from Authentication agent
More code cleanup.
Remove unnecessary includes.
some more changes
Remove unneeded functions
Lay basic outline of executing and revoking actions from inside ExternalCommand
Jun 21 2019
Correct documentation error.
@stikonas I will be making more changes to it and will implement those Q_SLOTS soon.
(sendProgressStep())
Jun 20 2019
A bit cleanup
Jun 19 2019
Jun 16 2019
Use correct signal
Add documentation
Jun 15 2019
I think QSignalSpy is in QtTest, not QtWidgets.
- Use synchronous versions of register and unregistering authentication agents
- Call authenticationAgentResponseSync() on successfull authentication by the user
Jun 12 2019
Rebase on master
Jun 10 2019
Add more functions
Do not include PolkitQt5 directories
Jun 9 2019
So far rest seems alright.
Jun 8 2019
Fix copy paste error
Once issues mentioned above are fixed.
Make requested changes
Correct tool name and website
Oh, I see. Sorry for missing that out. Then I guess commit it to master.
Made suggested changes
This is seprate from the patch sitter had made. Here, application quitting is inside if.
If you want this commit, you can just merge master branch into your branch.
Thread 8 "m_DeviceScanner" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffca6df700 (LWP 4074)]
0x00007ffff5934148 in vtable for QTreeWidgetItem () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
(gdb) bt
#0 0x00007ffff5934148 in vtable for QTreeWidgetItem () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#1 0x00007ffff447e9d2 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007ffff7b85d85 in ExternalCommand::copyBlocks(CopySource const&, CopyTarget&) (this=this@entry=0x7fffca6de8b0, source=..., target=...) at /home/aryan/kde/src/kpmcore/src/util/externalcommand.cpp:185
#3 0x00007fffddf01e0e in SfdiskBackend::updateDevicePartitionTable(Device&, QJsonObject const&) (this=this@entry=0x5555558fe8d0, d=..., jsonPartitionTable=...)
at /home/aryan/kde/src/kpmcore/src/plugins/sfdisk/sfdiskbackend.cpp:364
#4 0x00007fffddf04a4e in SfdiskBackend::scanDevice(QString const&) (this=0x5555558fe8d0, deviceNode=...) at /home/aryan/kde/src/kpmcore/src/plugins/sfdisk/sfdiskbackend.cpp:212
#5 0x00007fffddf017e7 in SfdiskBackend::scanDevices(QFlags<ScanFlag>) (this=0x5555558fe8d0, scanFlags=...) at /home/aryan/kde/src/kpmcore/src/plugins/sfdisk/sfdiskbackend.cpp:115
#6 0x00007ffff7b37106 in DeviceScanner::scan() (this=0x5555558f6920) at /home/aryan/kde/src/kpmcore/src/core/devicescanner.cpp:66
#7 0x00007ffff4270bc2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ffff04a46db in start_thread (arg=0x7fffca6df700) at pthread_create.c:463
#9 0x00007ffff3b7088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) thread 0
Invalid thread ID: 0
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fa5840 (LWP 4005))]
#0 0x00007ffff3b5f0b4 in GI_libc_read (fd=5, buf=0x7fffffffd850, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27