Commit Graph

3095 Commits (c5ae0c2aa71a0950c6cf99c35146a3b4684fb167)
 

Author SHA1 Message Date
Alexander Golubev c5ae0c2aa7
tdeioslave/sftp: even bigger authentication overhaul
- Move authentication methods into separate functions so it would be
  easier to correctly handle error after those and select which should
  be called in which order.
- A lot of minor improvements along the way

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 2756ae762f)
12 months ago
Alexander Golubev dbde9a19a0
tdeioslave/sftp: use realmValue to distinguish different prompts
This will help kpasswdserver not to confuse different user's answers to
different questions.

Also avoid passing/returning TDE::AuthInfo for kb-interactive auth as it
isn't really necessary when we don't manually caching passwords anymore.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d316ff14bd)
12 months ago
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
Alexander Golubev bbd9f2102e
kcontrol/smserver: rephrase fadeaway description
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit a646f58853)
12 months ago
Alexander Golubev 40879a72e3
kxkb: utilize a translations provseided by xkeyboard-config
xkeyboard-config package comes with a message catalogue of its own to
translate locale, keyboard model and xkb option names. It would be
easier and more robust to utilize it instead of redoing all
translation in-house.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 18a8b8d435)
12 months ago
Alexander Golubev e56c1ff3b8
kxkb: add missing connect
Overvise apply button on the dialog won't be enablen when the option is
changed

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 1fea8982fd)
12 months ago
Alexander Golubev bfb0fce6a0
cmake: use pkg_get_variable() to query pkg-config variables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0713c2b1c8)
12 months ago
Alexander Golubev 6b4ac1995d
kcontrol/input: fix incorrect statements whatsthis + some rewording
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit bf3ffaced3)
12 months ago
TDE Gitea 56037f88f2 Merge translation files from master branch. 12 months ago
TDE Gitea 26d58ece1f Merge translation files from master branch. 1 year ago
Denis Kozadaev 8db3aae91c
kcontrol-info-memory: use 64 bits variable to store memory size
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 220dec20f9)
1 year ago
Michele Calgaro 10639b722f
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dc9ec2711b)
1 year 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
TDE Gitea 2878e48349 Reset submodule main/core/tdebase/admin to latest HEAD 1 year ago
Alexander Golubev cfbf60a0c7
kxkb: handle resetOld correctly in cases if all opions already set
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/391

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d0c145d5a3)
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
TDE Gitea 55ba7bff2c Merge translation files from master branch. 1 year ago
TDE Gitea 75aeb0d5c5 Merge translation files from master branch. 1 year ago
TDE Gitea 01b434f77e Reset submodule main/core/tdebase/admin to latest HEAD 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
Mavridis Philippe dcda00127e
KXkb: add keyboard layout notification
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 7c724a4921)
1 year ago
Mavridis Philippe 94cec968a8
Kxkb: move LayoutUnit struct into its own file and add getLayoutName function
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 9647d4c7ff)
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
Mavridis Philippe 6c06794072
TWin: Add DCOP method showWindowMenu(wid) for default menu position
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit ecd60bc6a5)
1 year ago
Mavridis Philippe 8447a9a65c
TWin showWindowMenu: add support for negative coordinates
Negative coordinates change the popup menu origins:
* Negative X: origin is right edge instead of left;
* Negative Y: origin is bottom edge instead of top.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 6b30fb0791)
1 year ago
Mavridis Philippe e67f30eb1f
twin: fix showWindowMenuAt(...) DCOP call
Before it only called slotWindowOperations(), which showed the operations menu of the current window at a preset position, ignoring all arguments passed to showWindowMenuAt.

This commit implpements the correct behaviour of the function which takes all arguments into account.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 6c0d9ec42e)
1 year ago
TDE Gitea fa7aa947c8 Merge translation files from master branch. 1 year ago
Michele Calgaro 9c73915ca7
twin: use separate bit to inhibit configure request messages. This resolves issue #434.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5bdd235fc)
1 year ago
TDE Gitea 8085991939 Merge translation files from master branch. 1 year ago
TDE Gitea f91c73bf1d Merge translation files from master branch. 1 year ago
Michele Calgaro 3f84b83e22
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1390bece9a)
1 year ago
TDE Gitea e240ec4664 Merge translation files from master branch. 1 year ago
Michele Calgaro b19e4cab88
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8aea8afbc5)
1 year ago
Michele Calgaro 6b5d95d534
twin: makes sure to notify an application on resizing events so that the window contents can get updated. This is particularly important for Virtual Terminal based application. This resolves issue TDE/tde#57 and issue #384.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5590077e66)
1 year ago
Michele Calgaro a301718003
Fix FTBFS caused by detection of libr version after recent update
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b6f9aaf3c3)
1 year ago
Michele Calgaro df3439920c
Fix unwanted window resizing. This resolves issue TDE/tde#57.
Some applications (like xfce4-terminal) try to manage their sizes by requesting the window manager a different size. The WM responds by resizing the window and the application tries once again to adjust its own size. This can lead to a repeated loop of request-resize which results in the application window to either shrink to the minimum allowed size or expand to the display size.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a9bd5b50e9)
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 c19f68bd91
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e4c9b13a62)
1 year ago
Michele Calgaro bf17c1e940
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 81ad1f9e3c)
1 year ago
Michele Calgaro 7272c289be
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 100f977221)
1 year ago
Michele Calgaro 4a6f4a1732
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8f924d271a)
1 year ago
Roman Savochenko 06606d2ade
QuickLauncher: Ignore empty URLs at reading the configuration
Signed-off-by: Roman Savochenko <roman@home.home>
(cherry picked from commit d2412f01de)
1 year ago