aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* RosterManager: Cache roster when using stream managementLinus Jahn2021-01-092-9/+37
| | | | | | | | | | | | The roster manager caches the roster items if a previous stream could be resumed now. The rosterReceived() signal is not emitted again in this case. This avoids redundant roster requests. When no stream management is used, the roster cache is cleared directly on disconnecting. If stream management is used, the cache is also accessible after disconnecting. On connecting the manager checks whether the last stream could be resumed. If the last stream hasn't been resumed, the cache is cleared and the roster is re-requested.
* RosterManager: Refactor/modernise codeLinus Jahn2021-01-092-49/+50
|
* QXmppClient: Advertise stream management stateLinus Jahn2021-01-094-2/+85
|
* QXmppStream: Move stream management into separate classLinus Jahn2021-01-094-129/+188
|
* Clean up QXmppStream (stream management)Linus Jahn2021-01-092-33/+42
|
* server: Add 'to' and 'from' attributes to dialback init stream header (#324)Alexander Akulich2021-01-021-2/+5
| | | The attributes are mandatory (see RFC 6120 paragraphs 8.1.1.2 and 8.1.2.2).
* Fix empty incoming XML log introduced in 6dce271Linus Jahn2020-12-271-1/+1
|
* QXmppTransferManager: Fix undefined behaviour when parsing features (#322)Jan Lorenz2020-12-111-2/+6
| | | Co-authored-by: Jan Lorenz <jan.lorenz@pascom.net>
* Add SCRAM-SHA3-512 SASL algorithmLinus Jahn2020-10-311-0/+13
| | | | | QCryptographicHash::Sha3_512 was accidentially using Keccak-512 before Qt 5.9.2, thus we can only use SCRAM-SHA3-512 when using Qt >= 5.9.2.
* Add SCRAM-SHA-512 SASL algorithmLinus Jahn2020-10-311-0/+4
|
* SaslClientScram: Refactor to simplify adding new algorithmsLinus Jahn2020-10-312-26/+47
| | | | Adding new algorithms only needs a new name/algorithm entry now.
* QXmppDataForm: tiny fix after 8cfb21e93bb83e3d4cdb4cb26d608c04c340639cBoris Pek2020-10-111-1/+1
|
* QXmppDataForm: Fix with Qt6 QVariant::isNull() behaviourLinus Jahn2020-10-101-1/+1
|
* tests: Add OutgoingClient::parseHostAddress() testLinus Jahn2020-10-101-0/+2
|
* Port remaining Qt-6-removed APIsLinus Jahn2020-10-1010-68/+70
|
* Add extra unit test for QXmppStreamLinus Jahn2020-10-102-1/+10
|
* QXmppStream: Refactor XML parsing, Replace deprecated QRegExpLinus Jahn2020-10-101-38/+78
| | | | QRegExp has been removed from Qt 6 completely.
* Disable foreach also in examples and testsLinus Jahn2020-10-101-3/+0
|
* Enable -DQURL_NO_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCIIDavid Faure2020-10-103-5/+5
| | | | | I have those always enabled, which is how I detected these issues. This avoids QUrl/QString confusions, and QString/QByteArray confusions.
* OutgoingClient: Properly handle bind IQ errorsBonnie2020-10-011-0/+5
|
* doc: Add QXmppPushEnableIq to Stanzas groupLinus Jahn2020-08-081-0/+2
|
* Hide deprecation warnings caused by compatibility codeLinus Jahn2020-08-042-3/+16
| | | | This makes the build log clean again.
* Merge branch 'stable'Linus Jahn2020-07-202-16/+33
|\
| * Clean up QXmppCarbonManagerLinus Jahn2020-07-202-18/+29
| |
| * QXmppCarbonManager: Fix vulnerability: Add sender checkLinus Jahn2020-07-201-0/+6
| | | | | | | | | | | | The XEP requires that only carbon messages from the client's bare JID are accepted. This prevents that other entities can inject messages into the client.
| * QXmppMessageReceiptManager: Ignore all error messagesLinus Jahn2020-07-201-1/+4
| | | | | | | | | | Not only receipt requests, but also receipts from error messages should not be used.
| * QXmppGlobal: Fix QXMPP_EXPORT define for static linking (#299)Leonardo Basilio2020-07-202-3/+15
| |
| * Set QXmppRosterIq subscription type correctlyMelvin Keskin2020-07-201-1/+1
| |
* | QXmppStanza::Error: Use std::optional<> internallyLinus Jahn2020-07-124-79/+67
| | | | | | | | | | | | | | | | | | This makes the variables for the error type and condition an std::optional<> as this makes the meaning clearer than hidden -1 values created by dubious casts. For now, the API is not changed, because we can't replace the getter easily. We could do something like type() and optionalType().
* | Introduce Qt 6 compatibilityLinus Jahn2020-07-031-3/+3
| |
* | Replace deprecated QString::contains(QRegExp)Linus Jahn2020-07-032-6/+6
| | | | | | | | It has been removed in Qt 6.0.
* | Adapt to changes in QList in Qt 6.0Linus Jahn2020-07-032-7/+2
| | | | | | | | Template parameters of QList can't be forward declared anymore.
* | Replace deprecated QSslSocket::error signalLinus Jahn2020-07-033-0/+12
| |
* | Replace deprecated QString::SplitBehaviorLinus Jahn2020-07-031-0/+4
| |
* | QXmppMessageReceiptManager: Ignore all error messagesLinus Jahn2020-07-031-1/+4
| | | | | | | | | | Not only receipt requests, but also receipts from error messages should not be used.
* | CMake: Use cmake project version variablesLinus Jahn2020-05-182-4/+4
| |
* | QXmppGlobal: Fix QXMPP_EXPORT define for static linking (#299)Leonardo Basilio2020-05-182-3/+15
| |
* | Set QXmppRosterIq subscription type correctlyMelvin Keskin2020-04-091-1/+1
| |
* | QXmppClient: Remove static disco feature for attentionLinus Jahn2020-04-071-2/+0
| | | | | | | | | | | | The QXmppAttentionManager can be used to handle attention messages. Clients not using the manager (or their own) won't continue to send the attention feature.
* | Add unit tests for QXmppAttentionManagerLinus Jahn2020-04-071-0/+2
| |
* | Add QXmppAttentionManagerLinus Jahn2020-04-073-1/+367
| |
* | QXmppClient: State that iqReceived() is only emitted for resultsLinus Jahn2020-04-072-5/+8
|/
* Add \since tags for QXmpp 0.9 everywhereLinus Jahn2020-04-062-12/+60
|
* Add \since tags for QXmpp 0.9.2 everywhereLinus Jahn2020-04-061-3/+17
|
* Add \since tags for QXmpp 0.9.3 everywhereLinus Jahn2020-04-061-0/+18
|
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-0613-28/+81
|
* Clean up QXmppMessageLinus Jahn2020-04-062-330/+467
|
* QXmppClient: Add new service discovery featuresLinus Jahn2020-04-061-0/+18
|
* QXmppDiscoveryManager: Move static features into QXmppClientPrivateLinus Jahn2020-04-063-11/+32
|
* Add roster versioning stream featureLinus Jahn2020-04-054-8/+40
|