aboutsummaryrefslogtreecommitdiff
path: root/src/base
Commit message (Collapse)AuthorAgeFilesLines
* Add roster versioning stream featureLinus Jahn2020-04-054-8/+40
|
* 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.
* 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-011-0/+2
|\
| * QXmppRosterIq: Fix missing copy constructorLinus Jahn2020-04-011-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-294-0/+259
| | | | | | | | Co-authored-by: Robert Maerkisch <zatroxde@protonmail.ch> Co-authored-by: Linus Jahn <lnj@kaidan.im>
* | QXmppDataForm: Add ctor with all attributesLinus Jahn2020-03-292-4/+61
| | | | | | | | This makes creating forms manually a lot easier.
* | Update parameter of 'QXmppMessage::parseExtension()' in header fileMelvin Keskin2020-03-291-1/+1
| |
* | Expand QSL and QBLJonah Brüchert2020-03-2935-1097/+1094
| | | | | | | | So they don't leak into the public API
* | Reformat codeJonah Brüchert2020-03-288-40/+38
| |
* | base: Convert to QStringLiteralJonah Brüchert2020-03-2835-1095/+1101
| | | | | | | | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* | Allow to set multiple STUN serversNiels Ole Salscheider2020-03-162-17/+39
| | | | | | | | This way we can for example add a server for IPv4 and one IPv6.
* | Set LowDelay option for UDP socketsNiels Ole Salscheider2020-03-161-0/+2
| |
* | Port QXmppCallManager to use GStreamerNiels Ole Salscheider2020-03-168-4107/+0
| |
* | Add missing class documentation to trigger doxygen page generationLinus Jahn2020-03-119-2/+75
| |
* | QXmppRosterIq: Add missing \since tag for new methodsLinus Jahn2020-02-151-22/+41
| |
* | Reapply "Implement MIX-PAM XEP-0405: Roster IQ extension"Linus Jahn2020-02-122-3/+90
| | | | | | | | | | | | | | | | | | This reverts commit 4af8f27d6bcbb44d349f4637d4653ac6ca3de09c. On the XMPP summit the decision was made to stick to the roster extension now. The custom protocol would in the end be like a copy of the roster protocol. Thus, the roster iq extension should not be removed or replaced with another protocol.
* | Make QXmpp work with projects using QT_NO_KEYWORDSLinus Jahn2020-02-116-31/+31
| | | | | | | | | | | | | | | | | | | | | | This replaces all occurencies of 'slots' and 'signals' with 'Q_SLOTS' and 'Q_SIGNALS'. This allows for smooth integration with software projects that need QT_NO_KEYWORDS, such as those ones that rely on boost libraries. Closes #115. Co-authored-by: Tommaso Cucinotta <tommaso.cucinotta@santannapisa.it>
* | Update MAM implementation to v0.6Linus Jahn2020-02-111-1/+1
| | | | | | | | | | | | | | | | | | This updates the MAM implementation to version 0.6.0. The new namespace is now used (mam:2). There is no compatibility layer with the old namespace (mam:1) since both ejabberd and prosody have updated their MAM implementation to support the mam:2 namespace a while ago. Closes #254.
* | doc: Use XEP links everywhereLinus Jahn2020-02-1138-190/+227
| |
* | Implement XEP-0359: Unique and Stable Stanza IDsLinus Jahn2020-02-114-1/+109
| | | | | | | | | | This adds support of XEP-0359: Unique and Stable Stanza IDs in version 0.6.0.
* | utils: Generate UUIDs for stanza hashes by defaultLinus Jahn2020-02-112-2/+32
| | | | | | | | | | | | | | | | | | | | The QXmppUtils::generateStanzaHash() generates UUIDs by default now. UUIDs are not generated, if the default parameter is changed to a different value (!= 36). The behaviour is not changed for other values than 36. This way all users of QXmpp will automatically start to use UUIDs, if they use the generateStanzaHash() method.
* | Implement XEP-0428: Fallback IndicationLinus Jahn2020-02-104-1/+51
|/ | | | | | This adds support of XEP-0428: Fallback Indication in version 0.1.0. https://xmpp.org/extensions/xep-0428.html
* QXmppPubSubIq: Deprecate include of QXmppPubSubItemLinus Jahn2020-02-061-1/+3
|
* Make QXmppStreamFeatures use QSharedDataPointerLinus Jahn2020-02-062-55/+82
|
* Make QXmppMam*Iq use QSharedDataPointersLinus Jahn2020-02-062-34/+75
|
* Make QXmppDiscoveryIq* use QSharedDataPointersLinus Jahn2020-02-062-57/+133
|
* QXmppStreamFeatures: Fix wrong \param commandLinus Jahn2020-02-061-3/+3
|
* Fix undocumented Q_PROPERTiesLinus Jahn2020-02-044-14/+20
|
* Fix missing documentation for for QXmppStanza::ErrorLinus Jahn2020-02-042-34/+70
|
* Fix doxygen warnings about missing titles for \defgroupLinus Jahn2020-02-041-2/+8
|
* Refactor QXmppRegisterIq: Replace registerType by two separate attr.Linus Jahn2020-02-042-51/+66
| | | | | This can be done without any concerns, because the registerType was not part of any release yet.
* QXmppStreamFeatures: Fix documentation is not generatedLinus Jahn2020-02-031-0/+4
|
* QXmppStreamFeatures: Fix register feature is enabled by defaultLinus Jahn2020-02-031-1/+2
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-0341-1282/+992
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-0377-181/+208
|
* QXmppRegisterIq: Add utility methods to create common requestsLinus Jahn2020-02-032-1/+40
| | | | | This adds utility methods to create an unregistration or a change password request in one line.
* Fix that no documentation is generated for QXmppStanza::ErrorLinus Jahn2020-02-021-0/+3
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-2933-87/+87
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* Update copyright notice in missing filesLinus Jahn2020-01-282-2/+2
|