| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
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)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 740a085ef7ac707e2cc2217edf02e296c3f7692e.
There were talks on the standards mailing list that the XEP will be
changed and a private PEP node is used for distributing joined channels.
Also no server (that I am aware of) supports the MIX roster extension,
so I think it is the best we remove before the next release, so we do
not have problems with deprecations and ABI compatibility.
|
| |
|
|
| |
Co-authored-by: Linus Jahn <lnj@kaidan.im>
|
| |
|
|
|
| |
This extends the QXmppStanza::Error by the error cases defined in
XEP-0363: HTTP File Upload in version 0.9.0.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Using the following checks:
* modernize-use-nullptr
* modernize-use-override
* modernize-use-using
* modernize-use-bool-literals
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
This adds parsing and serialization for XEP-0380: Explicit Message
Encryption in version 0.3.0.
https://xmpp.org/extensions/xep-0380.html
|
| | |
|
| |
|
|
| |
Co-authored-by: Melvin Keskin <melvo@olomono.de>
|
| |
|
|
|
| |
This adds parsing and serialization for XEP-0367: Message Attaching in
version 0.3.0.
|
| |
|
|
|
| |
Without this option `make` tool stops build after
first found build error.
|
| | |
|
| |
|
|
|
| |
This implements the IQs for requesting and receiving upload slots as
defined by XEP-0363: HTTP File Upload in version 0.9.0.
|
| | |
|
| |
|
|
|
| |
The changes in the XEP only affected parts we haven't implemented yet,
so updating was rather easy.
|
| |
|
|
| |
This adds parsing and serialization of spoilers in the QXmppMessage class.
|
| |
|
|
|
|
|
|
|
| |
This implements the pubsub items for the MIX participants and info node
as defined by XEP-0369: Mediated Information eXchange (MIX) in version
0.14.2.
https://xmpp.org/extensions/xep-0369.html#participants-node
https://xmpp.org/extensions/xep-0369.html#info-node
|
| |
|
|
|
|
|
|
| |
This adds the MIX extensions for roster queries as defined in XEP-0405:
Mediated Information eXchange (MIX): Participant Server Requirements in
version 0.4.0.
https://xmpp.org/extensions/xep-0405.html#mix-roster-capability-sharing
|
| |
|
|
|
|
|
|
| |
This implements the new presence extension defined by XEP-0405: Mediated
Information eXchange (MIX): Participant Server Requirements in version
0.4.0.
https://xmpp.org/extensions/xep-0405.html#usecase-user-presence-receive
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This implements all used IQ queries of XEP-0369: Mediated Information
eXchange (MIX) (v0.14.1) and XEP-0405: Mediated Information eXchange (MIX):
Participant Server Requirements (v0.3.1), including unit tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous logic was:
- use the preferred SASL mechanism if available
- otherwise use the first supported mechanism offered by the server
However RFC 6120, section 6.3.3 states:
"The initiating entity MUST maintain its own preference order independent
of the preference order of the receiving entity."
The new logic is:
- order our supported mechanisms from most secure to least secure
- if the user sets QXmppConfiguration::saslMechanism, put it first
- use the best mechanism supported by the server
|
| | |
|
| |
|
|
|
|
| |
Some tests are disabled by default as they require exporting additional
symbols which are not part of the public API. The BUILD_INTERNAL_TESTS
option makes it possible to enable these additional tests.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Today this is most important for attaching URLs generated by XEP-0363:
HTTP File Upload for a very basic form of media/file sharing.
|
| |
|
|
|
| |
This commit is based on a pull request by fbeutel (GitHub) (see #87) and
was rebased and slightly modified by me.
|
| | |
|
| |
|
|
| |
This fixes #141.
|
| |
|
|
| |
Now that we only use the system binaries we have to install this manually.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Add CMake build system, drop Qt4 support
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
It is just stupid to adjust this...
|
| | | |
|