summaryrefslogtreecommitdiffstats
path: root/src/plugins/messageservices/imap/imapauthenticator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some cosmetic detailsPekka Vuorela2025-09-191-1/+0
| | | | | | | | | | | | | | | | | | | Mostly coding conventions here. - Method opening braces to their own lines - Adjusted some inconsistent init list styles - Removed some redundant static declarations inside anon namespace - Replaced one delete loop with qDeleteAll() - Remove some trailing extra new lines - Added some missing spaces after commas - for (), if (), switch as common qt style - Removed some unnecessary scopes within switch cases Etc. Change-Id: Ide9ad7fea6f5fce3b854af2bf05874623c474028 Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Remove support for QT_NO_SSLPekka Vuorela2025-09-181-6/+0
| | | | | | | | | | In the world of today there shouldn't be much sense in doing email stuff without encryption support. Simplify code a bit by removing the ifdeffing. Change-Id: I90d90cd1ef11eed2ebd625dafee2f78b7d039233 Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr>
* Rewrite logging with QLoggingCategoryDamien Caliste2025-06-131-1/+2
| | | | | | | | | Replace the custom logging mechanism with QLoggingCategory. Also declare the warnings with the proper category. Change-Id: If87d53d27ea0c65abd434af9f99fe49ce634d6dd Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Add a plugin mechanism to handle credentialsDamien Caliste2025-01-151-26/+25
| | | | | | | | | | | Credentials for authentication can be username / passwords or something more complex. The storage for such data can also be done outside QMF. So this commit introduce a plugin mechanism to get such credential data. Change-Id: I26ec6e98b5e900a9f93c420b00f0253f2abad25c Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Use QMailServiceConfiguration in authenticatorDamien Caliste2024-10-311-14/+11
| | | | | | | | | | This API change allows to create the service configuration in each plugin with its object constructor instead of its name. Change-Id: I77b253a795d6b452fbeb650cf80d925e5c53e724 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Do AUTHENTICATE PLAIN in two stagesValério Valério2023-11-211-10/+16
| | | | | | | | | | Some servers(e.g yandex.ru) do not support AUTHENTICATE PLAIN in a single command, according to RFC4616 this way is optional, so we always perform the authentication in two stages that is guarantee to be supported by all implementations of the protocol. Change-Id: I56ea5a4acaf446fdea14543416866442c27dc074 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Update licensing to match latest approach in QtCore.Robin Burchell2015-08-281-22/+14
| | | | | Change-Id: Icce55517963f0cbc35211e9fc6f1a0fc413f5676 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Replace QT_NO_OPENSSL with QT_NO_SSL.Robin Burchell2014-05-131-1/+1
| | | | | | | | | | | | | | This macro was introduced in Qt 5 development to allow for non-OpenSSL backends, so the presence of OpenSSL doesn't now necessarily reflect the availability of SSL. Some of this looks like it could use some further attention (e.g. it seems a bit nasty to modify public API based on the presence of SSL where that can be avoided) but that is work for another day. Change-Id: Ia9006e43aeb1755f17ebdafb629c11f924263c3d Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Valerio Valerio <valerio.valerio@jollamobile.com>
* Update Qt 5 port to match latest releaseValerio Valerio2013-04-191-4/+4
| | | | | | | | Update code base to match latest release of Qt. Signed-off-by: Valerio Valerio <valerio.valerio@jollamobile.com> Change-Id: I02c2ff250ea8cd960938b81903e92b04c745ae9c Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Change to new-form Digia license headers.Robin Burchell2013-02-121-24/+24
| | | | | Change-Id: If0f4427ee93a37de4ebd9e097defd8b3956f0fc6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update license headers (make them consistent with harmattan qmf)Don Sanders2011-08-071-17/+17
| | | | Remove obsolete pre-release clause.
* Implement Login, Plain, and Cram-MD5 SASL authentication for IMAP protocol ↵Don Sanders2010-11-101-0/+12
| | | | plugin, update UI
* Remove warnings when compiling without opensslespringe2010-10-011-0/+2
|
* Krazy code cleanupEric Springer2010-07-211-2/+2
| | | | Fix issues suggested by KDE's code checking tool "Krazy"
* Update license files, so they are the same as Qt.Don Sanders2010-06-291-16/+16
| | | | | | | | Specifically remove out dated "or the Beta Release License Agreement" text. Remove redundant GPL paragaph. Update copyright to 2010.
* Remove instances of 'Qt Software' from copyright info.MattV2009-11-231-1/+1
|
* Update copyright header.2009W23MattV2009-06-051-3/+34
|
* Allow the authenticator module to specify whether a protocol should use TLS ↵MattV2009-03-171-0/+23
| | | | | | | | | or not. The logic in the POP and IMAP protocols will probably be removed at a later date, in favour of simply delegating the choice to QMailAuthenticator. Fixes: 244366
* Inital commit of QMF qt.Aleks Wojcik2009-03-051-0/+35