| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
https://xmpp.org/extensions/xep-0444.html
|
| |
|
|
|
| |
There's QXmpp::Private::Encryption. This renames QXmpp::Encryption to
QXmpp::EncryptionMethod to avoid conflicts.
|
| | |
|
| |
|
|
|
|
|
|
| |
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>
|
| | |
|
| |
|
|
|
| |
It's now also possible to see which messages were carbon forwarded when
using the CarbonManagerV2.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implements XEP-0384 in version v0.8 with a manager and storage
classes to be user-implemented for persistant storage.
The license of the code is LGPL-2.1-or-later as usual. However since
libomemo-c (libsignal-protocol-c) is GPL-3.0, the built binary is always
licensed under GPL-3.0. Having our code LGPL licensed will make it
avoids relicensing in the future in case we port it to an LGPL
compatible omemo library.
Closes #133.
Co-authored-by: Linus Jahn <lnj@kaidan.im>
|
| |
|
|
|
| |
This is so std::move() on implicitly-shared types actually moves the
content and doesn't call the copy ctor/assignment operator.
|
| |
|
|
| |
Useful for encryption when parsing decrypted elements.
|
| |
|
|
|
|
|
|
| |
Previously the type had been set to Normal first and then to Chat.
There's no change in behviour. The changes to the unit test
qxmppomemodata are just for consistency.
Signed-off-by: Linus Jahn <lnj@kaidan.im>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
That class contains addtional data needed for end-to-end encryption purposes.
'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata.
'sceTimestamp' is introduced.
|
| | | |
|
| | | |
|
| | |
| |
| | |
Updates to version 0.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
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
|
| | | |
|
| |/
|
|
| |
Required for PubSub event notifications with templates.
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
The 'parent' attribute for <thread/> element in messages has been
introduced in RFC6121. This commit adds parsing and serialization for
it, including unit tests.
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
So they don't leak into the public API
|
| | |
|
| |
|
|
|
|
| |
Two new macros were added:
* QBL (short alias for QByteArrayLiteral)
* QSL (short alias for QStringLiteral)
|
| | |
|
| |
|
|
|
| |
This adds support of XEP-0359: Unique and Stable Stanza IDs in version
0.6.0.
|
| |
|
|
|
|
| |
This adds support of XEP-0428: Fallback Indication in version 0.1.0.
https://xmpp.org/extensions/xep-0428.html
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
This is the result of:
sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \
$(find . -iname "*.cpp" -or -iname "*.h")
|
| | |
|
| |
|
|
| |
This adds support for XEP-0231: Bits of Binary attachments in messages.
|
| |
|
|
| |
Methods of new classes have no \since tag.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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>
|