summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tdeioslave/sftp: prevent infinite looping in kb-interactive authAlexander Golubev2024-03-041-0/+12
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit f8f0b8815ca821ad6764149a915122f8b2f0bf8b)
* tdeioslave/sftp: purge password in the destructorAlexander Golubev2024-03-041-0/+2
| | | | | | | | This could be useful in case the destructor will be called before openConnection() Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 21ce69f338efb0636e9eef0e7405825b5dd7c0b0)
* tdeioslave/sftp: enable changing user during kb-interactive authAlexander Golubev2024-03-041-3/+15
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 009382772da4cb5a56749ea67ed29c09658a4f69)
* tdeioslave/sftp: pass correct username to openPassDlg()Alexander Golubev2024-03-042-12/+30
| | | | | | | | | | | | | We should always pass to the openPassDlg() exactly the same username otherwise it may result in incorrect caching of passwords especially in case if the username is changed by the user. Also don't allow username change in case it was passed to setHost() (i.e. it was specified in the URL like e.g. sftp://username@host/). In such a case after changing it'd be impossible to properly cache it. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 581d266ae6f085317b4247b2d1ddbc12c8fa09fb)
* tdeioslave/sftp: even bigger authentication overhaulAlexander Golubev2024-03-042-162/+326
| | | | | | | | | | - 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 2756ae762fefc3fe86463174866674a987856d89)
* tdeioslave/sftp: use realmValue to distinguish different promptsAlexander Golubev2024-03-042-24/+20
| | | | | | | | | | | 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 d316ff14bdcc6c7e402276cba2a15c1ac8bb5278)
* tdeioslave/sftp: avoid explicit password cachingAlexander Golubev2024-03-042-16/+5
| | | | | | | | All password caching we need actually already autmagically done by openPassDlg(). Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit a19610bb735faf89fcd27c6885bf81e53c9b2d7a)
* tdeioslave/sftp: use a scope guards to close connectionAlexander Golubev2024-03-041-17/+14
| | | | | | | | | 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 9c0a0ce976549c1849eecb497be2d8bdf49d7aa5)
* tdeioslave/sftp: split off connection init to a dedicated functionAlexander Golubev2024-03-042-61/+75
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 75349be43e1b4ced52502f98316148a7b55c1352)
* tdeioslave/sftp: use free to destroy mCallbacksAlexander Golubev2024-03-041-1/+1
| | | | | | | As it allocated via malloc() rather than new. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 688544193fb40241435b07f83135d91ad708c6df)
* tdeioslave/sftp: overhaul publickey authAlexander Golubev2024-03-042-78/+196
| | | | | | | | | | | | | | | | | 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 b91e2203891ce7ef627a241ea05c3f11180fcfc1)
* tdeioslave/sftp: fix keyboard-interactive authenticationAlexander Golubev2024-03-041-43/+85
| | | | | | | | | 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 a1fa8a79bbd7f6385d312cce709768944506d960)
* kcontrol/smserver: rephrase fadeaway descriptionAlexander Golubev2024-03-031-4/+4
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit a646f58853c9bc888488ed5508012e468148e983)
* kxkb: utilize a translations provseided by xkeyboard-configAlexander Golubev2024-03-0310-24/+58
| | | | | | | | | | 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 18a8b8d43577941388fa40666641f628860d6f7a)
* kxkb: add missing connectAlexander Golubev2024-03-031-0/+1
| | | | | | | | 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 1fea8982fd2f256273989956d962a3daa848041f)
* cmake: use pkg_get_variable() to query pkg-config variablesAlexander Golubev2024-03-031-30/+8
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 0713c2b1c84765d9d754ae8804968af43fd72be5)
* kcontrol/input: fix incorrect statements whatsthis + some rewordingAlexander Golubev2024-03-031-8/+9
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit bf3ffaced316838216ed076b01730299755cda2b)
* Merge translation files from master branch.Automated System2024-03-0216-263/+334
|
* Merge translation files from master branch.Automated System2024-03-011-0/+30
|
* kcontrol-info-memory: use 64 bits variable to store memory sizeDenis Kozadaev2024-02-291-3/+2
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 220dec20f9df8117a09b29571d3dab0d02997790)
* Simplify code since cmake minimum version is now 3.5Michele Calgaro2024-02-151-7/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dc9ec2711be0fae16d667a8e9cb38d04ebd5ae41)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-1423-44/+44
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2d7d2122cf33aa713cebef95981305039c798003)
* Reset submodule main/core/tdebase/admin to latest HEADAutomated System2024-02-141-0/+0
|
* kxkb: handle resetOld correctly in cases if all opions already setAlexander Golubev2024-02-081-4/+4
| | | | | | | Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/391 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit d0c145d5a3bc3dfa286bc25912b34b902660cc1f)
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-0442-88/+88
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0d9263f836b892b03742c494bd236d57b63ebb19)
* Replace auto_ptrMichele Calgaro2024-01-231-3/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4484e51ca69d3080fac8692a7a203c49dc47ab1e)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-16608-6388/+6388
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* Merge translation files from master branch.Automated System2024-01-151-6/+9
|
* Merge translation files from master branch.Automated System2024-01-141-0/+30
|
* Reset submodule main/core/tdebase/admin to latest HEADAutomated System2024-01-021-0/+0
|
* Replace various '#define' strings - part 6Michele Calgaro2023-12-26126-599/+599
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
* KXkb: add keyboard layout notificationMavridis Philippe2023-12-2511-1/+158
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 7c724a49212a9ffdf42381d99648f15457867787)
* Kxkb: move LayoutUnit struct into its own file and add getLayoutName functionMavridis Philippe2023-12-256-60/+84
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 9647d4c7ff182c1fadffb9c6218bc00132fe682e)
* Make dependency upon libssh optionalAlexander Golubev2023-12-253-2/+4
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03)
* TWin: Add DCOP method showWindowMenu(wid) for default menu positionMavridis Philippe2023-12-213-2/+13
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit ecd60bc6a5f5181bb5013bea114fae5d8efaab47)
* TWin showWindowMenu: add support for negative coordinatesMavridis Philippe2023-12-211-10/+13
| | | | | | | | | 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 6b30fb07918385ab02a97c27df5e3e2954f03487)
* twin: fix showWindowMenuAt(...) DCOP callMavridis Philippe2023-12-211-3/+5
| | | | | | | | | 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 6c0d9ec42e6c08afe9235995f6b19c4c72606aa8)
* Merge translation files from master branch.Automated System2023-12-172-23/+26
|
* twin: use separate bit to inhibit configure request messages. This resolves ↵Michele Calgaro2023-12-134-3/+5
| | | | | | | issue #434. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f5bdd235fc583f6674581df993165b9e7ae8774c)
* Merge translation files from master branch.Automated System2023-12-095-28/+37
|
* Merge translation files from master branch.Automated System2023-12-083-22/+26
|
* Replaced various '#define' with actual strings - part 5Michele Calgaro2023-12-0521-36/+36
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1390bece9a81780610a9aee6f7d543f72bf57d1a)
* Merge translation files from master branch.Automated System2023-12-031-17/+19
|
* Replace 'Event' #define stringsMichele Calgaro2023-12-0227-68/+68
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
* twin: makes sure to notify an application on resizing events so that the ↵Michele Calgaro2023-12-021-0/+5
| | | | | | | 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 5590077e66774b629235516744993014360c3d25)
* Fix FTBFS caused by detection of libr version after recent updateMichele Calgaro2023-11-261-2/+2
| | | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b6f9aaf3c380569e7608e13863dfd2693f21ed04)
* Fix unwanted window resizing. This resolves issue TDE/tde#57.Michele Calgaro2023-11-264-1/+14
| | | | | | | 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 a9bd5b50e9b77b8b360dd3620013a320733139aa)
* Replaced various '#define' with actual strings - part 4Michele Calgaro2023-11-267-17/+17
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7)
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-2521-67/+67
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
* Replaced various '#define' with actual strings - part 2Michele Calgaro2023-11-231-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e4c9b13a62c5b357106022afdd21767f429c5b8d)