aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch '1.4'Linus Jahn2022-03-131-1/+2
|\| |
| * | Fix QList detachJonah Brüchert2022-03-131-1/+2
| | |
* | | Implement XEP-0080: User LocationCochise César2022-03-092-0/+135
| | |
* | | 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-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-1/+1
| | | | | | | | | | | | | | | | | | 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-031-23/+22
| | |
* | | 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
| | |
* | | Run 'clang-format' on all filesMelvin Keskin2022-01-1517-147/+153
| | |
* | | Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-1510-257/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Convert copyright headers to REUSELinus Jahn2022-01-1473-1618/+231
| | |
* | | Update copyright years (2022 edition)Linus Jahn2022-01-0969-69/+69
| | |
* | | 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-106-69/+69
| | | | | | | | | | | | | | | | | | * 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.
* | | 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-292-8/+145
| | |
* | | PubSubManager: Inline PEP requestsLinus Jahn2021-09-292-23/+15
| | |
* | | QXmppClient: Add encryption hooksLinus Jahn2021-09-285-3/+308
| | |
* | | Client: Require moving the packets/iqs for sendingLinus Jahn2021-09-288-32/+32
| | |
* | | 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-162-0/+573
| | |
* | | Add QXmppTrustMemoryStorageMelvin Keskin2021-09-162-0/+383
| | |
* | | Add QXmppTrustStorageMelvin Keskin2021-09-162-0/+263
| | |
* | | Adapt IQ parsing to new packet sendingLinus Jahn2021-09-031-1/+1
| | | | | | | | | | | | Remove now unused QXmpp::PacketState.
* | | Refactor packet sending: Add SendSuccess/SendErrorLinus Jahn2021-09-034-29/+11
| | |
* | | Make it possible to send QXmppNonzas over streamsLinus Jahn2021-08-262-3/+2
| | |
* | | Add QXmppPubSubManagerLinus Jahn2021-08-223-0/+1017
| | | | | | | | | | | | | | | | | | Supports the most common pubsub requests. 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/+190
| | |
* | | Use qMakePair() again to fix compile errorsLinus Jahn2021-08-012-3/+3
| | | | | | | | | | | | | | | | | | | | | With some configurations QPair(a, b) (without template parameters) causes errors, but it works with qMakePair(). Fixes #360.
* | | QXmppClient: Add addNewExtension<T>()Linus Jahn2021-07-232-0/+18
| | |
* | | tests: Add TestClient class for client testing with QFuturesLinus Jahn2021-07-061-0/+1
| | |
* | | More template magic for QFuturesLinus Jahn2021-07-054-5/+5
| | |
* | | RosterManager: Add QFuture-based requestsLinus Jahn2021-07-052-0/+130
| | |