Alexander Golubev
c950ace00f
tdeioslave/sftp: avoid explicit password caching
...
All password caching we need actually already autmagically
done by openPassDlg().
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit a19610bb73
)
12 months ago
Alexander Golubev
c01b334583
tdeioslave/sftp: use a scope guards to close connection
...
There were a couple of missing closeConnection() calls after connection
errors. The probably haven't caused any major bugs, but use scope guards
to be on the safe side.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 9c0a0ce976
)
12 months ago
Alexander Golubev
e389595606
tdeioslave/sftp: split off connection init to a dedicated function
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 75349be43e
)
12 months ago
Alexander Golubev
9a9f857054
tdeioslave/sftp: use free to destroy mCallbacks
...
As it allocated via malloc() rather than new.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 688544193f
)
12 months ago
Alexander Golubev
39ee836ae4
tdeioslave/sftp: overhaul publickey auth
...
Several enhancements to public key authentication and some other stuff:
- Fix passphrase entry for encrypted keys (was either hanging up or
segfaulting)
- Use scope guard idiom for cleanup calls for more reliable cleanup in
case of errors
- Add normal prompt for public key's passphrase entry dialog
- Correctly differentiate passphrase to password when cached (yes they
are getting cached regardless of keepPassword, at least for some
duration of time)
- Centrilize AuthInfo initialization and some rejig of it
kbd-interactive authentification
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit b91e220389
)
12 months ago
Alexander Golubev
2d6f4a3312
tdeioslave/sftp: fix keyboard-interactive authentication
...
This is a partial fix to the sftp ioslave. Subsequent commits will fix
other issues.
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/443
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit a1fa8a79bb
)
12 months ago
Michele Calgaro
b2fcd6f201
Replace Q_WS_* defines with TQ_WS_* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2d7d2122cf
)
1 year ago
Michele Calgaro
28b6fb9bca
Replace Q_SIGNALS and Q_SLOTS
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0d9263f836
)
1 year ago
Michele Calgaro
71079cacc2
Replace auto_ptr
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4484e51ca6
)
1 year ago
Michele Calgaro
1c65be77cd
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911
)
1 year ago
Michele Calgaro
0e5ef873f0
Replace various '#define' strings - part 6
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c4a6487c82
)
1 year ago
Alexander Golubev
c55cad68e9
Make dependency upon libssh optional
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit f2dbf5b903
)
1 year ago
Michele Calgaro
71b2eaec09
Replaced various '#define' with actual strings - part 4
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 82c1dbe490
)
1 year ago
Michele Calgaro
139b166e1a
Replaced various '#define' with actual strings - part 3
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd3
)
1 year ago
Michele Calgaro
a49b0e2c53
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b965cbac5b
)
1 year ago
Michele Calgaro
0bfe293635
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d15989
)
1 year ago
Michele Calgaro
0587e5ec31
Replace various Q_* and QT_* defines with TQ_* and TQT_*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 75a74bedae
)
1 year ago
Michele Calgaro
8e1816900b
Drop USE_TQT4 code
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 014f6d2586
)
2 years ago
Michele Calgaro
196b1629b9
Drop TQT_TQ*_OBJECT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7bc43c68b3
)
2 years ago
Michele Calgaro
5c10665b72
Replace Q_OBJECT with TQ_OBJECT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 814bf5fc4f
)
2 years ago
Michele Calgaro
76fa61f90d
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 22625693f1
)
2 years ago
Denis Kozadaev
d984205f2e
SunOS specific patches
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8d
)
2 years ago
Michele Calgaro
ef300a683d
hwmanager: use alphabetically sorted menus in tdehwdevicetray.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
e35bb1ed56
tdeioslave mediamanager: show the device node in the label also for removable drives and CD/DVD disks.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe
d6db1a583c
SFTP: compatibility with older libssh versions
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Mavridis Philippe
7f277bc5e1
SFTP: Various fixes and improvements
...
For details see PR #279 .
Portions of code borrowed from KDE5 SFTP ioslave:
Source: https://invent.kde.org/network/kio-extras/-/blob/master/sftp/kio_sftp.cpp
Licence: LGPLv2 or later
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
fd94618b63
Replaced old sftp ioslave with backported version
...
Source: https://github.com/sandsmark/kde2-kio-sftp-kde4
Licence: GPLv2 or later
This resolves issue #276 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
d59c8ee79f
FISH: Security fix backport from KDE
...
"Only store password in KWallet if the user asked for it"
d813cef3ce
Author: David Faure
Licence: GPLv2
This mitigates CVE-2020-12755.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro
cc94c3dc36
tdeio-man: add TDE specific man folder to the list of the search paths.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
4974727d50
Add 'safeRemove' and 'safeRemoveByNode' to mediamanager DCOP interface.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
88d92af3c1
hwmanager: use tdeio_media_mounthelper process to
...
mount/unmout/lock/unlock/ejct media devices.
This ensures a consistent media device status also with complex
partition structures and LUKS encryption.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
40ef766f02
tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
c787e7a715
mediamanager: fix name of available backends in error messages.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
8d0f49aeb4
Added 'eject' and 'ejectByNode' to mediamanager DCOP interface.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
f9f7aee79e
Removed HAL dependant code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
bb2ea23175
Updated after changes to tdehw lib related to device notificaitons.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
764a03aa91
medianotifier: add medium name and url to notification dialog.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
e031e12d06
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
90e986bd5f
tdeioslave media: fixed wrong action in media unlock desktop file.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
9f7d035569
Fixed FTBFS when building without tdehw but using HAL.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
48ddee7ba8
Update CMake rules to change tdehw library to standalone.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Owsjannikow Sergej E
267adb43b8
Fix FTBFS with OpenEXR >= 3.0.x
...
This resolves issue #198 .
Signed-off-by: Owsjannikow Sergej E. <ose-nt@yandex.ru>
4 years ago
Michele Calgaro
d289ed30ed
mediamanager: added DCOP call to get medium's mimetype from its name.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
ad3cef031b
tdeioslave media: made 'Open Medium System Folder' action available for unmounted medium too.
...
The action is now also available in the notification dialog that opens up when a medium is inserted.
Fixed action support for mount path containing spaces.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
75204ade2d
tdeioslave media: made 'Open Medium System Folder' command available for camera devices.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
434983acd9
Added option to enable/disable Device Monitor notification panels when
...
disks are added/removed/changed status.
Minor tweak to menu entry in Device Monitor popup menu.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
5d9c673999
Added 'mount' and 'unlock' actions to notifier dialog and fixed size of icons in same dialog.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
d706b63745
Enable back media notification dialogs.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
145abc15d5
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
56e992ab54
tdeioslave media: fixed FTBFS caused by previous commit and functionality of
...
tdeio_media_mounthelper when ejecting drives.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago