aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add parameter 'keyOwnerJid' to trust storages' 'trustLevel()'Melvin Keskin2022-03-072-0/+16
|
* UserTuneManager: RefactoringLinus Jahn2022-03-031-1/+1
|
* Stanza: Make E2eeMetadata optional to avoid allocationLinus Jahn2022-03-032-7/+11
| | | | | | | | | | | Avoids an allocation of the E2eeMetadataPrivate object when it's not used. It doesn't use optional<E2eeMetadata> directly because that wouldn't avoid the allocation and takes up 16 bytes instead of 8. This concept could be generalized and used elsewhere in the code (e.g. extended addresses in the stanza are unused 99% of the time).
* Add QXmppE2eeMetadata used by QXmppStanzaMelvin Keskin2022-03-033-11/+39
| | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* Run 'clang-format' on all filesMelvin Keskin2022-01-1514-127/+126
|
* Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-152-68/+498
| | | | | | | | | | | | QXmppTrustStorage is now the base class for all trust storages used by end-to-end encryption managers. QXmppAtmTrustStorage is used by QXmppAtmManager. QXmppTrustMemoryStorage is now the base class for all trust storages that use the memory for storing data. QXmppAtmTrustMemoryStorage can be used by QXmppAtmManager. Methods needed by the upcoming OMEMO implementation are added. Some existing methods are refactored.
* REUSE-ify whole projectLinus Jahn2022-01-1519-0/+77
|
* Convert copyright headers to REUSELinus Jahn2022-01-1463-1414/+217
|
* Update copyright years (2022 edition)Linus Jahn2022-01-0960-60/+60
|
* Add parsing/serialization for SCE envelopeLinus Jahn2021-10-182-0/+93
|
* Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-105-448/+448
| | | | | | * 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
* tests: Clean up pubsub manager testsLinus Jahn2021-09-291-35/+25
|
* PubSubManager: Add create node requests with configLinus Jahn2021-09-291-0/+47
|
* PubSubManager: Add node configuration requestsLinus Jahn2021-09-291-0/+116
|
* PubSubIq: Fix data form type for create/publishLinus Jahn2021-09-291-1/+3
|
* tests: Add minimal unit test for SCE hooksLinus Jahn2021-09-281-0/+72
|
* Implement stanza parsing for Stanza Content EncryptionLinus Jahn2021-09-281-5/+5
|
* AtmManager: Use security policiesMelvin Keskin2021-09-251-15/+58
|
* TrustMemoryStorage: Add security policiesMelvin Keskin2021-09-251-0/+36
|
* Add QXmppAtmManagerMelvin Keskin2021-09-163-0/+2063
|
* Add QXmppTrustMemoryStorageMelvin Keskin2021-09-162-0/+536
|
* Add QXmppOmemoElementMelvin Keskin2021-09-032-0/+255
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoEnvelopeMelvin Keskin2021-09-031-0/+75
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceBundleMelvin Keskin2021-09-031-0/+72
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceListMelvin Keskin2021-09-031-0/+62
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceElementMelvin Keskin2021-09-032-0/+106
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* tests: Add tests for QXmppPubSubManagerLinus Jahn2021-08-222-0/+861
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Implement XEP-0118: User Tune: Add manager with testsLinus Jahn2021-08-222-0/+128
|
* Add PubSubSubAuthorization formLinus Jahn2021-08-222-0/+72
|
* tests: Add tests for QXmppPubSubEvent<T>Linus Jahn2021-08-222-0/+318
|
* tests: Add tests for QXmppPubSubItemLinus Jahn2021-08-221-0/+77
|
* tests: Add tests for QXmppPubSubIq<T>Linus Jahn2021-08-222-73/+168
|
* tests: Add PubSub utilities headerLinus Jahn2021-08-221-0/+68
|
* Make QXmppPubSubIq a template class and extendLinus Jahn2021-08-221-1/+1
|
* tests: Add tests for QXmppPubSubSubscriptionsLinus Jahn2021-08-221-0/+105
|
* tests: Add tests for QXmppPubSubAffiliationsLinus Jahn2021-08-222-0/+122
|
* tests: Fix 9579572: pubsubiq testsLinus Jahn2021-08-031-2/+2
|
* tests: util: Allow using ' instead of " in xmlLinus Jahn2021-08-013-13/+18
| | | | serializePacket now accepts both `'` and `"`.
* tests: util: Add new packetToXml() functionLinus Jahn2021-08-011-6/+13
|
* tests: TestClient: Add both QString & QByteArray packet injectionLinus Jahn2021-08-014-8/+10
|
* tests: TestClient: Fix warning of missing include for destructorsLinus Jahn2021-07-231-2/+4
| | | | | | | | | | | | MSVC warning: C:\Qt\5.11\msvc2017_64\include\QtCore/qalgorithms.h(320): warning C4150: deletion of pointer to incomplete type 'QXmppClientExtension'; no destructor called [C:\tst_qxmpprostermanager.vcxproj] C:\projects\qxmpp\src\client\QXmppClient_p.h(43): note: see declaration of 'QXmppClientExtension' C:\Qt\5.11\msvc2017_64\include\QtCore/qalgorithms.h(328): note: see reference to function template instantiation 'void qDeleteAll<QList<QXmppClientExtension *>::const_iterator>()'
* QXmppClient: Add addNewExtension<T>()Linus Jahn2021-07-231-8/+0
|
* Add QXmppTrustMessageElementMelvin Keskin2021-07-062-0/+100
|
* Add QXmppTrustMessageKeyOwnerMelvin Keskin2021-07-062-0/+131
|
* Add unit test for QXmppDiscoveryManagerLinus Jahn2021-07-062-0/+92
|
* RosterManager: Add unit tests for QFuture requestsLinus Jahn2021-07-062-2/+52
|
* tests: Add TestClient class for client testing with QFuturesLinus Jahn2021-07-063-2/+126
|
* tests: util: Add xmlToDom() helperLinus Jahn2021-06-301-4/+14
|
* ci: Output more details for failed testsLinus Jahn2021-05-211-1/+1
|
* RosterManager: Add subscription request signal with full presence (#346)Melvin Keskin2021-05-081-0/+22
| | | This makes it possible to get the statusText of subscription requests.