summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tdeioslave/sftp: cache passwords in case they were passed to setHost()Alexander Golubev2024-03-041-7/+23
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: prevent infinite looping in kb-interactive authAlexander Golubev2024-03-041-0/+12
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* 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>
* tdeioslave/sftp: enable changing user during kb-interactive authAlexander Golubev2024-03-041-3/+15
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* tdeioslave/sftp: split off connection init to a dedicated functionAlexander Golubev2024-03-042-61/+75
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* 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>
* 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>
* 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>
* kcontrol/smserver: rephrase fadeaway descriptionAlexander Golubev2024-03-031-4/+4
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* 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>
* 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>
* cmake: use pkg_get_variable() to query pkg-config variablesAlexander Golubev2024-03-031-30/+8
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* kcontrol/input: fix incorrect statements whatsthis + some rewordingAlexander Golubev2024-03-031-8/+9
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-6/+10
| | | | | | | Currently translated at 100.0% (3 of 3 strings) Translation: tdebase/kxkb - events Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kxkb-events/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-15/+15
| | | | | | | Currently translated at 100.0% (16 of 16 strings) Translation: tdebase/ksplash - themes Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/ksplash-themes/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-10/+12
| | | | | | | Currently translated at 100.0% (35 of 35 strings) Translation: tdebase/wallpapers - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/wallpapers-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-8/+8
| | | | | | | Currently translated at 100.0% (10 of 10 strings) Translation: tdebase/twin clients - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/twin-clients-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-7/+6
| | | | | | | Currently translated at 100.0% (251 of 251 strings) Translation: tdebase/l10n - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/l10n-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-7/+7
| | | | | | | Currently translated at 100.0% (15 of 15 strings) Translation: tdebase/tdeprint - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/tdeprint-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-8/+11
| | | | | | | Currently translated at 100.0% (6 of 6 strings) Translation: tdebase/kxkb - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kxkb-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-4/+4
| | | | | | | Currently translated at 61.8% (281 of 454 strings) Translation: tdebase/kcontrol - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kcontrol-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-11/+13
| | | | | | | Currently translated at 100.0% (63 of 63 strings) Translation: tdebase/konqueror - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/konqueror-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-9/+11
| | | | | | | Currently translated at 100.0% (71 of 71 strings) Translation: tdebase/kicker - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kicker-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-111/+103
| | | | | | | Currently translated at 76.8% (266 of 346 strings) Translation: tdebase/kappfinder - data Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kappfinder-data/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-36/+95
| | | | | | | Currently translated at 100.0% (63 of 63 strings) Translation: tdebase/khotkeys - data Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/khotkeys-data/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-12/+15
| | | | | | | Currently translated at 100.0% (40 of 40 strings) Translation: tdebase/khelpcenter - desktop files Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/khelpcenter-desktop-files/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-15/+16
| | | | | | | Currently translated at 100.0% (34 of 34 strings) Translation: tdebase/color schemes Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/color-schemes/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-11/+13
| | | | | | | Currently translated at 100.0% (23 of 23 strings) Translation: tdebase/drkonqi - presets Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/drkonqi-presets/ru/
* Translated using Weblate (Russian)Alexander Golubev2024-03-021-3/+3
| | | | | | | Currently translated at 100.0% (15 of 15 strings) Translation: tdebase/applnk - compat Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/applnk-compat/ru/
* Added translation using Weblate (Russian)Alexander Golubev2024-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>
* Simplify code since cmake minimum version is now 3.5Michele Calgaro2024-02-151-7/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-1423-44/+44
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>
* Reset submodule main/core/tdebase/admin to latest HEADAutomated System2024-02-081-0/+0
|
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-0342-88/+88
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace auto_ptrMichele Calgaro2024-01-211-3/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-16608-6388/+6388
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Translated using Weblate (Italian)Michele Calgaro2024-01-151-6/+9
| | | | | | | Currently translated at 100.0% (3 of 3 strings) Translation: tdebase/kxkb - events Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kxkb-events/it/
* Added translation using Weblate (Italian)Michele Calgaro2024-01-141-0/+30
|
* Reset submodule main/core/tdebase/admin to latest HEADAutomated System2024-01-021-0/+0
|
* Remove usage of TDEDiskDeviceStatus::HotpluggableMichele Calgaro2023-12-283-15/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-26126-599/+599
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* KXkb: add keyboard layout notificationMavridis Philippe2023-12-2511-1/+158
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>