| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
|
| |
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 and serialization and unit tests for the by attribute
for QXmppStanza::Errors. The protocol is defined in RFC6120.
|
| |
|
|
| |
This was a copy-paste mistake.
|
| |
|
|
| |
QCOMPARE(QString(), "") doesn't work there.
|
| | |
|
| |
|
|
|
| |
The error conditions <gone/> and <redirect/> can contain an XMPP URI to
redirect to as defined in RFC6120.
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
Co-authored-by: Melvin Keskin <melvo@olomono.de>
|
| | |
| |
| |
| | |
It is used in multiple places now.
|
| | |
| |
| | |
This fixes that behaviour and extends the tests for QXmppMessageReceiptManager.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Co-authored-by: Robert Maerkisch <zatroxde@protonmail.ch>
Co-authored-by: Linus Jahn <lnj@kaidan.im>
|
| | |
| |
| |
| | |
This makes creating forms manually a lot easier.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
This way we can for example add a server for IPv4 and one IPv6.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| | |
This adds support of XEP-0359: Unique and Stable Stanza IDs in version
0.6.0.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/
|
|
|
|
| |
This adds support of XEP-0428: Fallback Indication in version 0.1.0.
https://xmpp.org/extensions/xep-0428.html
|
| |
|
|
| |
This adds two signals to make the result easily available to the user.
|
| |
|
|
|
| |
It uses QSharedDataPointer<> internally, so passing by value is
recommended.
|
| |
|
|
|
| |
This can be done without any concerns, because the registerType was not
part of any release yet.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This adds utility methods to create an unregistration or a change
password request in one line.
|
| | |
|
| |
|
| |
This provides more type safety and is future-proof.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This adds support for XEP-0231: Bits of Binary attachments in
registration forms.
|
| |
|
|
| |
This adds support for XEP-0231: Bits of Binary attachments in messages.
|
| |
|
|
|
|
| |
This adds a type that may be used as a stanza extension. It is useful,
when a stanza contains (possibly multiple) XEP-0231: Bits of Binary data
elements.
|
| |
|
|
|
| |
This implements parsing and serialization of the BoB IQ from
XEP-0231: Bits of Binary in version 1.0.
|
| |
|
|
|
| |
This implements parsing and serialization of content identifiers from
XEP-0231: Bits of Binary in version 1.0.
|
| |
|
|
|
| |
Q_ENUM exists since Qt 5.5, more details can be found here:
https://woboq.com/blog/q_enum.html
|
| |
|
|
|
|
|
| |
Q_FOREACH is bad and will be deprecated in the future:
https://www.kdab.com/goodbye-q_foreach/
This also disables Q_FOREACH by defining QT_NO_FOREACH.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add QXmppDataForm::MediaSource instead of using a QPair<QString,
QString> to save the URIs and content types.
* Deprecate QXmppDataForm::Media:
The extra class was useless: Each Field has exactly one media element
and the media element has only two attributes (size and media sources)
* Add mediaSources and mediaSize attributes to the QXmppDataForm::Field
* Deprecate getters/setters for the Media element of QXmppDataForm::Field
(they are still working and tested)
|