aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppOutgoingClient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.5'Linus Jahn2023-03-171-5/+3
|\
| * Client: Fix empty to in IQs is interpreted as server domainLinus Jahn2023-03-141-1/+2
| | | | | | | | Empty to means account bare JID.
| * Client: Don't fill empty 'to' attributes of outgoing IQsLinus Jahn2023-03-141-5/+2
| |
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-311-4/+0
|/
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-1/+2
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Fix documentation warnings (renamed functions)Linus Jahn2022-12-311-0/+8
|
* Stream: Add IQ response sender checkLinus Jahn2022-12-281-0/+10
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* Disable Qt keywords completelyLinus Jahn2022-12-261-19/+19
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Reformat codeLinus Jahn2022-09-061-24/+40
|
* Replace raw pointers with unique_ptrLinus Jahn2022-09-021-9/+3
| | | | safer, simpler
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Add reporting of IQ responses with QFuturesLinus Jahn2021-06-271-1/+15
|
* 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
|