aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* QXmppRosterManager: Add comment on pre-approved subscriptionsLinus Jahn2020-04-051-3/+12
|
* QXmppRosterIq: Add 'approved' attribute from RFC6121Linus Jahn2020-04-052-1/+43
| | | | | The 'approved' attribute was added in RFC6121 to indicate whether a pre-approved subscription exists.
* Add pre-approved presence subscriptions stream featureLinus Jahn2020-04-054-1/+47
|
* QXmppMessage: Add parent thread attribute from RFC6121Linus Jahn2020-04-052-3/+37
| | | | | | The 'parent' attribute for <thread/> element in messages has been introduced in RFC6121. This commit adds parsing and serialization for it, including unit tests.
* QXmppStanza::Error: Add 'by' attribute from RFC6120Linus Jahn2020-04-042-0/+32
| | | | | This adds parsing and serialization and unit tests for the by attribute for QXmppStanza::Errors. The protocol is defined in RFC6120.
* QXmppCallStream: Wrap callback in std::functionJonah BrĂ¼chert2020-04-023-6/+9
| | | | Allows to use non-static functions (or lambdas with captures)
* Fix build with Qt 5.14Linus Jahn2020-04-012-2/+7
| | | | | | | Q_DEPRECATED_X() can't be used on enum values anymore. The new Q_DECL_ENUMERATOR_DEPRECATED_X() can be uesd instead, this is only available since Qt 5.12, so I needed to define an empty fallback for it.
* Add missing optional exclude to deprecated PaymentRequiredLinus Jahn2020-04-011-13/+14
|
* QXmppStanza::Error: Add redirection URI from RFC6120Linus Jahn2020-04-012-5/+57
| | | | | The error conditions <gone/> and <redirect/> can contain an XMPP URI to redirect to as defined in RFC6120.
* Merge branch 'stable'Linus Jahn2020-04-015-2/+10
|\
| * QXmppRosterIq: Fix missing copy constructorLinus Jahn2020-04-011-0/+2
| |
| * Do not include 'ask' attribute when renaming roster itemMelvin Keskin2020-04-011-0/+4
| |
| * Set user's vCard also when 'from' attribute contains user's bare JIDMelvin Keskin2020-04-011-1/+1
| |
| * QXmppMessageReceiptManager: Fix receipts are sent on error messages (#269)Blue2020-03-271-1/+1
| | | | | | This fixes that behaviour and extends the tests for QXmppMessageReceiptManager.
| * Fix switch statement when handling IQ stanza for registrationMelvin Keskin2020-03-241-0/+2
| |
* | QXmppStanza: Add PolicyViolation error conditionLinus Jahn2020-03-312-1/+9
| | | | | | | | The error condition as stanza error was added in RFC6120.
* | Deprecate PaymentRequired error conditionLinus Jahn2020-03-311-1/+4
| | | | | | | | | | The <payment-required/> error condition was not adopted in RFC6120 as it was unused.
* | QXmppPushEnableIq: Add missing \since tagLinus Jahn2020-03-311-0/+2
| |
* | Implement XEP-0245: The /me CommandLinus Jahn2020-03-312-0/+66
| | | | | | | | | | | | | | This adds parsing for recognizing /me commands in message bodies. It complies with version 1.0 of XEP-0245: The /me Command. https://xmpp.org/extensions/xep-0245.html
* | Replace deprecated 'qsrand()' and 'qrand()' by QRandomGenerator (#267)melvo2020-03-292-1/+13
| | | | | | | | Since QRandomGenerator is only available since Qt 5.10, the deprecated functions are still used for Qt < 5.10.
* | Implement XEP-0357: Push Notifications enable/disable IQ (#271)JBB2020-03-295-0/+261
| | | | | | | | Co-authored-by: Robert Maerkisch <zatroxde@protonmail.ch> Co-authored-by: Linus Jahn <lnj@kaidan.im>