aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* FutureUtils: chain: Pass future as const&Linus Jahn2022-08-081-1/+1
| | | | | The move overload hasn't any advantages here as the QFutureWatcher also takes QFuture const &.
* Stanza: Move E2eeMetadata into own header fileLinus Jahn2022-07-117-32/+51
|
* Rename Encryption::Omemo to Omemo0 to allow namespace OmemoLinus Jahn2022-07-102-4/+4
| | | | Allows it to create a namespace QXmpp::Omemo.
* ByteStreamIq: Fix uninitialized enum valueLinus Jahn2022-07-101-1/+1
|
* AtmManager: Send trust messages only to endpoints with authenticated keysMelvin Keskin2022-06-181-1/+5
|
* Move SecurityPolicy, TrustLevel intro extra headersLinus Jahn2022-06-1812-96/+163
| | | | | This avoids the need to include the whole TrustStorage in files like SendStanzaParams.h.
* SendStanzaParams: Add accepted trust levelsMelvin Keskin2022-06-182-0/+34
|
* Add move constructors and move assignment operators everywhereLinus Jahn2022-06-1866-237/+324
| | | | | This is so std::move() on implicitly-shared types actually moves the content and doesn't call the copy ctor/assignment operator.
* StreamFeatures: Fix rosterVersioning not initializedLinus Jahn2022-06-171-1/+2
|
* Adapt clang-formatLinus Jahn2022-06-178-9/+9
|
* Add QXmppOmemoDeviceBundleItem and QXmppOmemoDeviceListItemMelvin Keskin2022-06-142-0/+95
|
* Fix typos in documentation and testsMelvin Keskin2022-06-142-3/+3
|
* Message: Add parseExtensions() for parsing additional extensionsMelvin Keskin2022-06-142-14/+26
| | | | Useful for encryption when parsing decrypted elements.
* Iq: Make de- / serialization methods public to allow encryptionMelvin Keskin2022-06-141-1/+0
| | | | | This is required for allowing arbitrary managers to only serialize the inner element for encryption.
* Message: Initialize message type directly as 'chat'Melvin Keskin2022-06-141-2/+1
| | | | | | | | 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>
* Client: injectIq: Fix missing ID on error replyLinus Jahn2022-06-071-0/+1
|
* Remove PubSubEventManager (in favour of EventHandler)Linus Jahn2022-05-287-42/+25
|
* Apply 'clang-format' (#429)Melvin Keskin2022-05-284-5/+5
|
* QXmppCallStream: use new GStreamer methodBoris Pek2022-05-281-0/+4
| | | | instead of deprecated one when build with GStreamer >= 1.20.0
* cmake: add QXmppExtension.h to INSTALL_HEADER_FILESBoris Pek2022-05-281-0/+1
| | | | This header is used by program Kaidan at least.
* SendStanzaParams: Fix typo in setter nameLinus Jahn2022-05-242-2/+2
|
* Client: Add SendStanzaParams parameter to send functionsLinus Jahn2022-05-223-19/+27
| | | | It can already be used by E2eeExtension.
* Add SendStanzaParams for passing additional parametersLinus Jahn2022-05-223-0/+85
| | | | For now only contains a list of JIDs the stanza should be encrypted for.
* E2eeExtension: Rename EncryptMessageResult to MessageEncryptResultLinus Jahn2022-05-203-8/+6
|
* Make E2eeExtension a QXmppExtensionLinus Jahn2022-05-201-1/+2
|
* MessageReceiptHandler: Implement MessageHandlerLinus Jahn2022-05-202-13/+9
|
* Add MessageHandler interfaceLinus Jahn2022-05-207-1/+99
|
* PubSubEventManager: Inherit from EventHandlerLinus Jahn2022-05-202-7/+4
| | | | | EventManager now provides the interface from EventHandler, inherits from ClientExtension and provides a utility pubSub() getter.
* Add PubSubEventHandler based on QXmppExtensionLinus Jahn2022-05-203-0/+40
|
* ClientExtension: Inherit from ExtensionLinus Jahn2022-05-201-1/+2
|
* Add generic QXmppExtensionLinus Jahn2022-05-201-0/+14
|
* Client: injectIq: Send error IQ on unhandled IQsLinus Jahn2022-05-201-1/+19
|
* ClientExtension: Add injectIq() functionLinus Jahn2022-05-204-0/+29
|
* Client: Don't pass encrypted stanzas to old managersLinus Jahn2022-05-202-1/+9
| | | | | | Old managers means managers only using the old handleStanza() overload. Such managers are likely not handling the encrypted contents correctly (e.g. sending unencrypted replies and thereby leaking information).
* Client: Refactor: Use new 'StanzaPipeline'Linus Jahn2022-05-201-10/+18
| | | | | This is going to become useful when the other pipelines (messages, IQs) will follow.
* Client: Add reply() picking the encryption based on the received stanzaLinus Jahn2022-05-202-0/+20
| | | | | Currently does not support multiple encryptions, so the implementation is rather simple.
* ClientExtension: Add handleStanza() overload with e2ee metdataLinus Jahn2022-05-183-9/+43
| | | | | | | | | For handling end-to-end-encrypted stanzas it is important to know whether and which encryption was used. This is especially important for replying to IQ stanzas (with the correct encryption). Currently the e2eeMetadata parameter is unused (always nullopt). This is going to change in the following commits.
* Stanza: Refactor storage of optional e2ee metadataLinus Jahn2022-05-132-27/+20
|
* Message: Do not allow XEP-0184 request and received element togetherMelvin Keskin2022-05-121-2/+4
|
* TrustManager: Fix warningMelvin Keskin2022-05-091-1/+1
|
* Add QXmppTrustManager as base of trust managers such as QXmppAtmManagerMelvin Keskin2022-05-069-30/+390
|
* PubSubManager: Make 'standardItemIdToString()' publicMelvin Keskin2022-04-232-11/+18
| | | | This is needed if the IDs of incoming items should be checked externally.
* PubSubManager: Fix template usage of 'requestItem()'Melvin Keskin2022-04-201-1/+1
|
* Message: Apply clang-formatMelvin Keskin2022-04-202-3/+3
|
* Fix PubSub methods with a standard item ID parameterMelvin Keskin2022-04-202-14/+2
|
* PubSubManager: Add requestPepFeatures()Melvin Keskin2022-04-092-0/+12
|
* PubSubManager: Add requestFeatures()Melvin Keskin2022-04-092-0/+77
|
* PubSubManager: Add PEP overloads for requestItem and similarMelvin Keskin2022-04-092-0/+57
|
* PubSubManager: Add PEP overload for fetchNodes()Linus Jahn2022-04-092-0/+11
|
* PubSubManager: Update subscriptions todoLinus Jahn2022-04-091-1/+3
|