aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmppmessage/tst_qxmppmessage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add XEP-0353: Jingle Message Initiation data classesTibor Csötönyi2023-05-141-0/+24
|
* EME: Always send encryption name as fallbackMelvin Keskin2023-03-131-1/+1
| | | | | | | Since QXmpp does not differentiate between different EME versions receiving clients support, it is better to always send the encryption name. It ensures that a name is displayed by the receiving client even if it does not support the latest EME version introducing a new encryption.
* Disable Qt keywords completelyLinus Jahn2022-12-261-36/+36
| | | | | | | | | | | | | | | 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.
* Implement XEP-0444: Message Reactions (#492)Melvin Keskin2022-10-161-0/+26
| | | https://xmpp.org/extensions/xep-0444.html
* Allow adding multiple oob urls and a descriptionJonah Brüchert2022-09-281-4/+16
|
* EncryptedFileSource: Move Cipher enum into QXmppGlobalLinus Jahn2022-09-241-1/+1
|
* EncryptedFileSource: Make public (#469)Jonah Brüchert2022-09-241-1/+1
| | | The sources possibly need to be saved by clients.
* Implement XEP-0448: Encryption for stateless file sharing parsing (#463)Linus Jahn2022-09-161-0/+61
| | | | | https://xmpp.org/extensions/xep-0448.html Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Implement XEP-0447: Stateless file sharing: File sharing element (#448)Linus Jahn2022-09-131-0/+27
| | | | | | | | Implements parsing for the file sharing element from XEP-0447: Stateless files sharing version 0.2. https://xmpp.org/extensions/xep-0447.html Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* tests: Message: Clean up copyright lines and includes (#426)Melvin Keskin2022-06-141-2/+0
|
* Make OMEMO data classes privateMelvin Keskin2022-04-071-83/+1
|
* Message: Replace QXmppMessage::EncryptionMethod with QXmpp::EncryptionMelvin Keskin2022-04-061-6/+6
|
* Message: Add end-to-end encryption fallback bodyMelvin Keskin2022-03-171-0/+46
|
* OmemoElement: Omit payload XML element if emptyMelvin Keskin2022-03-091-1/+2
|
* Add QXmppE2eeMetadata used by QXmppStanzaMelvin Keskin2022-03-031-8/+0
| | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* Convert copyright headers to REUSELinus Jahn2022-01-141-25/+6
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-101-11/+11
| | | | | | * OMEMO has namespace 'urn:xmpp:omemo:2' and uses SCE 0.4 now * TM has namespace 'urn:xmpp:tm:1' and uses Base64 for key identifiers * ATM uses Base64 for key identifiers
* Implement stanza parsing for Stanza Content EncryptionLinus Jahn2021-09-281-5/+5
|
* Add QXmppAtmManagerMelvin Keskin2021-09-161-0/+8
|
* Add QXmppOmemoElementMelvin Keskin2021-09-031-0/+84
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* tests: util: Allow using ' instead of " in xmlLinus Jahn2021-08-011-8/+8
| | | | serializePacket now accepts both `'` and `"`.
* Add QXmppTrustMessageElementMelvin Keskin2021-07-061-0/+30
|
* Fix build with Qt 5.7Linus Jahn2021-03-171-1/+1
| | | | We only test 5.9 with the CI... :/
* Implement MIX-MISC XEP-0407: Invitation message extension (#329)Melvin Keskin2021-03-081-0/+25
| | | | | | | This implements the message extension for MIX invitations from XEP-0407: Mediated Information eXchange (MIX): Miscellaneous Capabilities in version 0.1.2. https://xmpp.org/extensions/xep-0407.html#usecase-user-invite
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* QXmppMessage: Add parent thread attribute from RFC6121Linus Jahn2020-04-051-7/+24
| | | | | | The 'parent' attribute for <thread/> element in messages has been introduced in RFC6121. This commit adds parsing and serialization for it, including unit tests.
* Implement XEP-0245: The /me CommandLinus Jahn2020-03-311-0/+48
| | | | | | | 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
* Implement XEP-0359: Unique and Stable Stanza IDsLinus Jahn2020-02-111-0/+26
| | | | | This adds support of XEP-0359: Unique and Stable Stanza IDs in version 0.6.0.
* Implement XEP-0428: Fallback IndicationLinus Jahn2020-02-101-0/+19
| | | | | | This adds support of XEP-0428: Fallback Indication in version 0.1.0. https://xmpp.org/extensions/xep-0428.html
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-205/+197
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-1/+2
|
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Implement XEP-0231: Bits of Binary: message extensionLinus Jahn2019-12-061-0/+98
| | | | This adds support for XEP-0231: Bits of Binary attachments in messages.
* Use raw literals, range based loops and autoJonah Brüchert2019-10-221-10/+10
|
* Get QXmppMessage coverage to 100%Linus Jahn2019-10-191-32/+108
|
* Implement XEP-0334: Message Processing HintsLinus Jahn2019-09-081-0/+51
| | | | | | | | | | This implements parsing and serialization of XEP-0334: Message Processing Hints in version 0.3.0. https://xmpp.org/extensions/xep-0334.html Co-authored-by: Juan Aragon <jaaragont@gmail.com> Co-authored-by: Sam Truscott <sam@wumpus.co.uk>
* Implement XEP-0380: Explicit Message EncryptionLinus Jahn2019-09-061-0/+46
| | | | | | | This adds parsing and serialization for XEP-0380: Explicit Message Encryption in version 0.3.0. https://xmpp.org/extensions/xep-0380.html
* Implement XEP-0367: Message AttachingLinus Jahn2019-09-061-0/+18
| | | | | This adds parsing and serialization for XEP-0367: Message Attaching in version 0.3.0.
* Update implementation of XEP-0369 (v0.14.2) and XEP-0405 (v0.4.0)Linus Jahn2019-05-041-1/+1
| | | | | The changes in the XEP only affected parts we haven't implemented yet, so updating was rather easy.
* Implement XEP-0382: Spoiler messages (v0.2.0)Linus Jahn2019-05-041-0/+41
| | | | This adds parsing and serialization of spoilers in the QXmppMessage class.
* Implement MIX-CORE XEP-0396: Message extensionLinus Jahn2019-05-011-0/+28
| | | | | | | This implements the new message extension specified by XEP-0369: Mediated Information eXchange (MIX) in version 0.14.2. https://xmpp.org/extensions/xep-0369.html#usecase-user-message
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Implement XEP-0308: Last Message CorrectionLinus Jahn2018-12-301-0/+18
|
* Add partial support of XEP-0066: Out of Band DataLinus Jahn2018-12-191-0/+28
| | | | | Today this is most important for attaching URLs generated by XEP-0363: HTTP File Upload for a very basic form of media/file sharing.
* Merge pull request #88 from fbeutel/carbonsfbeutel2016-09-041-0/+30
| | | * Implemented XEP-0280: Message Carbons
* [add] unit test [add] comment [update] code order to if else statementZam-mbpr2015-05-151-0/+21
|
* XEP-0333 updated:Juan Aragon2014-05-211-4/+11
| | | | | | -Methods documented -Symmetrical getters/setters -Unit tests updated
* XEP-0333: Chat MarkersJuan Aragon2014-05-201-0/+180
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|