aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add parameter 'keyOwnerJid' to trust storages' 'trustLevel()'Melvin Keskin2022-03-075-6/+7
|
* TrustMemoryStorage: Remove 'const' qualifiers from method parametersMelvin Keskin2022-03-071-2/+2
|
* doc: UserTuneManager: Add to managers groupLinus Jahn2022-03-031-0/+2
|
* UserTuneManager: Make use of PEP helpersLinus Jahn2022-03-031-31/+3
|
* UserTuneManager: RefactoringLinus Jahn2022-03-032-17/+26
|
* Add (private) helpers for PEP managersLinus Jahn2022-03-031-0/+54
| | | | | The code for PEP managers is often very similiar, this should make it a bit easier.
* Stanza: Make E2eeMetadata optional to avoid allocationLinus Jahn2022-03-033-8/+37
| | | | | | | | | | | 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-035-45/+167
| | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* AtmManager: Minor clean upLinus Jahn2022-03-031-27/+27
|
* AtmManager: Use QFutureInterface directly without shared_ptrLinus Jahn2022-03-031-43/+46
|
* QXmppPacket: Use QFutureInterface directly without shared_ptrLinus Jahn2022-03-033-38/+31
|
* FutureUtils: chain: Use future interface without shared_ptrLinus Jahn2022-03-031-5/+5
| | | | | Didn't work before because the lambdas weren't mutable and so the QFutureInterface was always const.
* FutureUtils: Make handler lambda mutableLinus Jahn2022-03-031-4/+4
|
* Client: Forward E2eeExtension result types to use them directlyLinus Jahn2022-02-021-5/+8
| | | | Just saves the `QXmppE2eeExtension::` everywhere.
* Client: Use 'QXmppE2eeExtension::EncryptMessageResult'Melvin Keskin2022-02-021-2/+2
|
* Client: Fix 'send()' doesn't forward result from stream when using e2eeMelvin Keskin2022-02-021-3/+5
|
* Client: Fix comma placement in function documentationMelvin Keskin2022-02-021-4/+4
|
* FutureUtils: Add method for reporting finished with resultMelvin Keskin2022-02-021-0/+7
| | | | | | QFutureInterface comes with a reportFinished(T *result = nullptr) function, but it only accepts the value by pointer which is inconvenient in some cases.
* TrustMessages: Use QStringLiteral (#389)Melvin Keskin2022-01-251-14/+14
|
* Run 'clang-format' on all filesMelvin Keskin2022-01-1542-448/+461
|
* Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-1511-257/+480
| | | | | | | | | | | | 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-154-24/+17
|
* Convert copyright headers to REUSELinus Jahn2022-01-14217-4832/+709
|
* Update copyright years (2022 edition)Linus Jahn2022-01-09213-213/+213
|
* XEP-0380: Add new encryptions (#384)Melvin Keskin2021-12-194-7/+15
| | | Updates to version 0.4.
* AtmManager: Fix compilation with Qt6 (#381)JBB2021-12-051-10/+12
|
* Add parsing/serialization for SCE envelopeLinus Jahn2021-10-181-0/+128
|
* Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-1013-101/+103
| | | | | | * 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
* TrustStorage: Add virtual dtorLinus Jahn2021-09-301-0/+2
|
* TrustMemStorage: Remove now unused comparison operatorsLinus Jahn2021-09-301-15/+0
|
* TrustMemStorage: Use correct way for removing from QMultiHashLinus Jahn2021-09-301-32/+22
| | | | This avoid many additional copies and comparisons.
* TrustMessages: Use forward declarations in headersLinus Jahn2021-09-302-5/+4
|
* Merge compilation units of TrustMessage{Element,KeyOwner}Linus Jahn2021-09-304-182/+178
|
* TrustStorage: Remove unnecessary const constraintLinus Jahn2021-09-304-12/+12
| | | | Some implementations may require non-const access.
* PubSubManager: Add create node requests with configLinus Jahn2021-09-292-1/+69
|
* PubSubManager: Add node configuration requestsLinus Jahn2021-09-293-10/+156
|
* PubSubManager: Inline PEP requestsLinus Jahn2021-09-292-23/+15
|
* PubSubIq: Fix data form type for create/publishLinus Jahn2021-09-291-4/+4
|
* PubSubNodeConfig: Rename nodeDeleteNotification to deleteNotificationsLinus Jahn2021-09-292-9/+9
|
* QXmppClient: Add encryption hooksLinus Jahn2021-09-286-3/+310
|
* Implement stanza parsing for Stanza Content EncryptionLinus Jahn2021-09-287-335/+455
|
* QXmppStream: Allow to use existing future interfaceLinus Jahn2021-09-284-16/+84
|
* Client: Require moving the packets/iqs for sendingLinus Jahn2021-09-2810-49/+46
|
* AtmManager: Use security policiesMelvin Keskin2021-09-251-3/+17
|
* TrustMemoryStorage: Add security policiesMelvin Keskin2021-09-252-0/+24
|
* TrustStorage: Add security policiesMelvin Keskin2021-09-252-1/+38
|
* Add QXmppAtmManagerMelvin Keskin2021-09-167-0/+621
|
* Add QXmppTrustMemoryStorageMelvin Keskin2021-09-163-0/+385
|
* Add QXmppTrustStorageMelvin Keskin2021-09-163-0/+265
|
* QXmppDataForm: Merge constructorsLinus Jahn2021-09-072-26/+4
| | | | Can be done because binary compatibility has been broken.