aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppMessage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add QXmppE2eeMetadata used by QXmppStanzaMelvin Keskin2022-03-031-41/+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
|
* XEP-0380: Add new encryptions (#384)Melvin Keskin2021-12-191-2/+6
| | | Updates to version 0.4.
* Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-101-3/+4
| | | | | | * 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-317/+404
|
* Add QXmppAtmManagerMelvin Keskin2021-09-161-0/+39
|
* Add QXmppOmemoElementMelvin Keskin2021-09-031-0/+34
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppTrustMessageElementMelvin Keskin2021-07-061-0/+35
|
* Refactor QXmppMessage to support parsing with inheritanceLinus Jahn2021-07-011-149/+157
| | | | Required for PubSub event notifications with templates.
* Replace qAsConst by std::as_constLinus Jahn2021-03-171-1/+1
|
* Implement MIX-MISC XEP-0407: Invitation message extension (#329)Melvin Keskin2021-03-081-0/+40
| | | | | | | 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
|
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-061-1/+4
|
* Clean up QXmppMessageLinus Jahn2020-04-061-292/+410
|
* QXmppMessage: Add parent thread attribute from RFC6121Linus Jahn2020-04-051-3/+34
| | | | | | 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/+60
| | | | | | | 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
* Expand QSL and QBLJonah Brüchert2020-03-291-112/+112
| | | | So they don't leak into the public API
* Reformat codeJonah Brüchert2020-03-281-1/+1
|
* base: Convert to QStringLiteralJonah Brüchert2020-03-281-112/+112
| | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* doc: Use XEP links everywhereLinus Jahn2020-02-111-47/+47
|
* Implement XEP-0359: Unique and Stable Stanza IDsLinus Jahn2020-02-111-1/+95
| | | | | This adds support of XEP-0359: Unique and Stable Stanza IDs in version 0.6.0.
* Implement XEP-0428: Fallback IndicationLinus Jahn2020-02-101-1/+43
| | | | | | 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-34/+28
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-5/+6
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-291-19/+19
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Implement XEP-0231: Bits of Binary: message extensionLinus Jahn2019-12-061-0/+44
| | | | This adds support for XEP-0231: Bits of Binary attachments in messages.
* Add \since QXmpp 1.1 to all new methods and classesLinus Jahn2019-10-231-0/+40
| | | | Methods of new classes have no \since tag.
* Refactor & clean up QXmppMessageLinus Jahn2019-10-191-303/+257
| | | | | | | | | | | | | | | This simplifies parsing and fixes a possible bug: The bug case looks like this: - We have one element we want to parse (e,g, "attachment" with namespace xyz) - There is another element called "attachment" in the stanza and it's located before the other element. - QXmppMessage tries to parse the attachment element using firstChildElement("attachment") and checks the namespace - The namespace (of the first) element doesn't match - The actual "attachment" element is not parsed This also fixes the "constructor does not initialize these fields: […]" warnings for QXmppMessagePrivate.
* Implement XEP-0334: Message Processing HintsLinus Jahn2019-09-081-0/+56
| | | | | | | | | | 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-1/+104
| | | | | | | 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/+33
| | | | | This adds parsing and serialization for XEP-0367: Message Attaching in version 0.3.0.
* Implement XEP-0382: Spoiler messages (v0.2.0)Linus Jahn2019-05-041-0/+62
| | | | This adds parsing and serialization of spoilers in the QXmppMessage class.
* Implement MIX-CORE XEP-0396: Message extensionLinus Jahn2019-05-011-0/+45
| | | | | | | 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
|
* Fix spelling errorsBoris Pek2019-01-081-1/+1
|
* Implement XEP-0308: Last Message CorrectionLinus Jahn2018-12-301-0/+34
|
* 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.
* Implement XEP-0198: Stream Management (client only) (#99)Niels Ole Salscheider2017-02-121-0/+8
| | | | | | | | | | | | | | * 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
|
* Merge pull request #88 from fbeutel/carbonsfbeutel2016-09-041-1/+37
| | | * Implemented XEP-0280: Message Carbons
* [add] unit test [add] comment [update] code order to if else statementZam-mbpr2015-05-151-14/+18
|
* use XEP-0203 instead of XEP-0091, if there have XEP-0203.Zam-mbpr2015-05-151-9/+9
|
* remove trailing comma in enumJeremy Lainé2015-02-191-1/+1
|
* XEP-0333 updated:Juan Aragon2014-05-211-9/+39
| | | | | | -Methods documented -Symmetrical getters/setters -Unit tests updated
* XEP-0333: Chat MarkersJuan Aragon2014-05-201-0/+96
|
* 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
|