aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppOutgoingClient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace qAsConst by std::as_constLinus Jahn2021-03-171-1/+1
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* QXmppClient: Advertise stream management stateLinus Jahn2021-01-091-1/+50
|
* Port remaining Qt-6-removed APIsLinus Jahn2020-10-101-24/+38
|
* OutgoingClient: Properly handle bind IQ errorsBonnie2020-10-011-0/+5
|
* Replace deprecated QSslSocket::error signalLinus Jahn2020-07-031-0/+4
|
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-061-1/+9
|
* Add not authorized condition for stream errors (#191)henry610242020-02-141-0/+2
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-117/+51
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-12/+13
|
* Move TLS negotiation into new QXmppTlsManagerLinus Jahn2020-01-201-41/+1
|
* Port majority of old-style connects (#237)JBB2020-01-201-30/+8
| | | This provides more type safety and is future-proof.
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Replace Q_FOREACH (foreach) by C++11 ranged for-loopsLinus Jahn2019-10-231-1/+1
| | | | | | | Q_FOREACH is bad and will be deprecated in the future: https://www.kdab.com/goodbye-q_foreach/ This also disables Q_FOREACH by defining QT_NO_FOREACH.
* Use raw literals, range based loops and autoJonah Brüchert2019-10-221-1/+1
|
* Merge remote-tracking branch 'origin/stable'Linus Jahn2019-10-141-4/+3
|\
| * Fix potential SEGFAULT on connection error0xd34df00d2019-10-141-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | `socketError()` calls `connectToNextDNSHost()` which might cause `socketError()` synchronously (and recursively), thus not giving a change for updating `nextSrvRecordIdx`. Overall, this results in attempting to connect to the same DNS record recursively, until the stack is exhausted, resulting in SEGFAULT. One of the solutions (done in this commit) is to increment the record index _before_ attempting to connect.
* | Modernize codebase using clang-tidyJonah Brüchert2019-09-081-4/+4
| | | | | | | | | | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* | Port deprecated method setCaCertificates of QSslSocketJonah Brüchert2019-09-031-2/+6
| |
* | [sasl] order mechanisms to prefer the most secureJeremy Lainé2019-01-181-7/+8
|/ | | | | | | | | | | | | | | | | | The previous logic was: - use the preferred SASL mechanism if available - otherwise use the first supported mechanism offered by the server However RFC 6120, section 6.3.3 states: "The initiating entity MUST maintain its own preference order independent of the preference order of the receiving entity." The new logic is: - order our supported mechanisms from most secure to least secure - if the user sets QXmppConfiguration::saslMechanism, put it first - use the best mechanism supported by the server
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Fix spelling errorsBoris Pek2019-01-081-2/+2
|
* Implement XEP-0352: Client State IndicationLinus Jahn2018-10-291-0/+14
| | | | | This commit is based on a pull request by fbeutel (GitHub) (see #87) and was rebased and slightly modified by me.
* auto-connect to next DNS-SRV record server on connection failureMartin Koller2018-09-081-5/+23
| | | | | automatically try next server from DNS SRV record when connection to first can not be established
* Drop support for Qt 4Niels Ole Salscheider2017-09-041-6/+0
|
* Implement XEP-0198: Stream Management (client only) (#99)Niels Ole Salscheider2017-02-121-49/+180
| | | | | | | | | | | | | | * Some features can be available with different namespaces (e.g. SM) * Provide static functions to convert between strings and stream errors Stream management will reuse this for <failed />. * [travis] test builds using clang * Implement XEP-0198: Stream Management (client only) * QXmppOutgoingClient: Move private methods to QXmppOutgoingClientPrivate
* clarify the fact QXmppConstants_p.h is not APIJeremy Lainé2016-09-081-1/+1
|
* rename 'error' to 'errors' in socketSslErrors slotJeremy Lainé2015-03-121-4/+4
|
* emit sslErrors in a way they can be ignored on demandJeremy Lainé2015-03-121-0/+5
|
* clean up support for 'bad-auth' replies, see #36Jeremy Lainé2015-02-251-3/+4
|
* Handle `bad-auth` auth replies, closes #36.0xd34df00d2015-01-281-0/+2
|
* add support for legacy SSLJeremy Lainé2014-04-061-1/+10
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|
* update project homepageJeremy Lainé2014-03-271-1/+1
|
* update copyright notice to 2008-2014Jeremy Lainé2014-03-261-1/+1
|
* Fixed uninitialized pointers in QXmppOutgoingClientPrivateNikita Krupenko2013-08-281-0/+2
|
* Fixed uninitialized member in QXmppOutgoingClientNikita Krupenko2013-08-281-0/+1
|
* Disable Facebook / Google / Facebook specific mechanisms if we do notJeremy Lainé2013-03-091-0/+6
| | | | | | | have the corresponding credentials. Google recently changed their XMPP servers, and X-OAUTH2 is now listed before PLAIN. QXmpp was failing to connect to their servers.
* With Qt >= 4.8, verify peer SSL certificate against domain name as specified ↵Jeremy Lainé2012-09-061-0/+5
| | | | by RFC 3920.
* Add support for X-OAUTH2 authentication for Google Talk.Jeremy Lainé2012-09-051-1/+4
|
* If building with Qt 5, use Qt's QDnsLookup instead of our backport.Jeremy Lainé2012-09-041-0/+4
|
* add QXmppClient::isAuthenticatedJeremy Lainé2012-09-031-0/+12
|
* handle XMPP connections without a sessionJeremy Lainé2012-09-031-4/+24
|
* don't send non-SASL auth if disabledJeremy Lainé2012-09-031-2/+3
|
* make it possible to disable non-SASL authenticationJeremy Lainé2012-09-031-7/+3
|
* Add support for X-MESSENGER-OAUTH2 authentication for Windows Live Messenger.Jeremy Lainé2012-09-031-0/+2
|
* handle port in see-other-hostJeremy Lainé2012-09-031-1/+4
|
* Add support for see-other-host server change.Jeremy Lainé2012-09-021-2/+22
|
* move socket disconnect handling out of QXmppStreamJeremy Lainé2012-09-021-0/+10
|
* revert to use the domain for SASL authJeremy Lainé2012-08-031-6/+2
|