aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* E2eeExtension: Add isEncrypted() and decryptMessage() functionsLinus Jahn2022-10-181-0/+5
|
* Implement XEP-0444: Message Reactions (#492)Melvin Keskin2022-10-163-0/+137
| | | https://xmpp.org/extensions/xep-0444.html
* Skip call manager tests on macOSLinus Jahn2022-10-162-0/+9
| | | | The tests are currently broken. :(
* Clean up CallManager testLinus Jahn2022-10-161-21/+7
|
* tests: JingleIq: Test RTP crypto element separately and fix comparisonsMelvin Keskin2022-10-131-45/+92
| | | | | This fixes errors while comparing 'uint32_t' values introduced by commit b020af2439342e3f748ecdcad6d4db4d5a8a2880.
* Implement XEP-0167: Jingle RTP Sessions SRTP negotiation (#487)Melvin Keskin2022-10-031-0/+170
|
* Implement XEP-0167: Jingle RTP Sessions error conditions (#485)Melvin Keskin2022-10-021-1/+97
|
* tests: JingleIq: Fix comparison for 'uint32_t'Melvin Keskin2022-10-021-9/+9
|
* Implement XEP-0294: Jingle RTP Header Extensions Negotiation stanzasMelvin Keskin2022-10-011-0/+171
|
* Implement XEP-0167: Jingle RTP Sessions Informational Messages (#460)Melvin Keskin2022-10-011-23/+139
|
* tests: JingleIq: Improve testing RTP Feedback NegotiationMelvin Keskin2022-10-011-1/+5
|
* Implement XEP-0293: Jingle RTP Feedback Negotiation stanza parts (#455)Melvin Keskin2022-09-291-0/+324
|
* Allow adding multiple oob urls and a descriptionJonah Brüchert2022-09-281-4/+16
|
* Implement XEP-0167: Jingle RTP Sessions multiplexingMelvin Keskin2022-09-251-0/+5
|
* tests: JingleIq: Test setters for content attributesMelvin Keskin2022-09-251-54/+69
|
* Implement XEP-0272: Multiparty Jingle (Muji) stanza extensions (#457)Melvin Keskin2022-09-252-0/+44
| | | | | Adds the presence extension and the extension of the Jingle IQ. https://xmpp.org/extensions/xep-0272.html
* Add file encryption functions and Encryption/DecryptionDeviceLinus Jahn2022-09-242-0/+111
| | | | | The devices allow it to encrypt or decrypt data on the fly when reading or writing data.
* EncryptedFileSource: Move Cipher enum into QXmppGlobalLinus Jahn2022-09-241-1/+1
|
* EncryptedFileSource: Make public (#469)Jonah Brüchert2022-09-241-1/+1
| | | The sources possibly need to be saved by clients.
* Add multithreaded hashing functionsLinus Jahn2022-09-162-1/+80
|
* Implement XEP-0448: Encryption for stateless file sharing parsing (#463)Linus Jahn2022-09-161-0/+61
| | | | | https://xmpp.org/extensions/xep-0448.html Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* tests: HttpUploadManager: Fix build with Qt 5.9Linus Jahn2022-09-141-5/+5
|
* tests: utils: Add missing <memory> includeLinus Jahn2022-09-141-0/+1
|
* BitsOfBinaryData: Add fromByteArray() utility functionLinus Jahn2022-09-141-0/+30
| | | | It automatically hashes the data and creates a content ID.
* Implement XEP-0447: Stateless file sharing: File sharing element (#448)Linus Jahn2022-09-131-0/+27
| | | | | | | | 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>
* tests: util: wait: Check whether spy.wait() succeededLinus Jahn2022-09-121-1/+1
|
* tests: HttpUploadManager: Add test for uploadFile()Linus Jahn2022-09-091-3/+85
| | | | | This adds an integration test that tries to upload a file via HTTP File Upload and the new HttpUploadManager.
* tests: util: Add wait(QFuture) functionLinus Jahn2022-09-091-0/+12
| | | | | | | The function uses a QSignalSpy and a QFutureWatcher to wait for the future's result. It blocks until the result is there. However it still runs the event loop, so processing of the future can be done in the background.
* tests: util: Add expectVariant() helperLinus Jahn2022-09-091-8/+17
| | | | | | We had expectFutureVariant() which is useful for futures with a variant type. This new function can check the type of just a variant and outputs the value.
* tests: HttpUploadManager: Add test for future based APILinus Jahn2022-09-091-0/+66
|
* tests: HttpUploadManager: Modernize and refactorLinus Jahn2022-09-091-61/+54
|
* tests: TestClient: Add takePacket() and takeLastPacket()Linus Jahn2022-09-091-0/+10
|
* tests: HttpUploadManager: Clean up and replace TestHelper classLinus Jahn2022-09-092-81/+48
| | | | The same can be done more elegantly and with less code.
* Rename UploadRequestManager test to HttpUploadManager testLinus Jahn2022-09-097-22/+22
| | | | | One of the following commits will add tests also for the HttpUploadManager.
* Reformat codeLinus Jahn2022-09-067-16/+28
|
* ci: Add Qt 6 buildsLinus Jahn2022-09-042-3/+7
|
* Message: Add isCarbonForwarded attributeLinus Jahn2022-08-141-0/+2
| | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2.
* tests: CarbonManager: Also test manager v2 & refactorLinus Jahn2022-08-141-60/+86
|
* Split up OMEMO into extra moduleLinus Jahn2022-08-131-0/+5
|
* ci: Enable OMEMO for full+5.15 configsLinus Jahn2022-08-133-1/+36
|
* Implement XEP-0384: OMEMO Encryption v0.8Melvin Keskin2022-08-134-2/+834
| | | | | | | | | | | | | | | 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>
* Stanza: Move E2eeMetadata into own header fileLinus Jahn2022-07-112-0/+3
|
* tests: client: Fix memory leakLinus Jahn2022-07-101-2/+2
|
* Move SecurityPolicy, TrustLevel intro extra headersLinus Jahn2022-06-182-182/+186
| | | | | This avoids the need to include the whole TrustStorage in files like SendStanzaParams.h.
* Fix typos in documentation and testsMelvin Keskin2022-06-141-2/+2
|
* tests: Message: Clean up copyright lines and includes (#426)Melvin Keskin2022-06-141-2/+0
|
* Message: Initialize message type directly as 'chat'Melvin Keskin2022-06-141-2/+2
| | | | | | | | 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>
* Remove PubSubEventManager (in favour of EventHandler)Linus Jahn2022-05-281-3/+3
|
* Apply 'clang-format' (#429)Melvin Keskin2022-05-281-1/+3
|
* Client: Add SendStanzaParams parameter to send functionsLinus Jahn2022-05-221-2/+2
| | | | It can already be used by E2eeExtension.