aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* OmemoManagerPrivate: Use 'omemoEnvelope' consistentlyMelvin Keskin2023-03-291-2/+2
|
* OmemoManagerPrivate: Use optional OMEMO envelope directlyMelvin Keskin2023-03-291-4/+3
|
* OmemoManagerPrivate: Finish decryptMessage() if no SCE envelope can be foundMelvin Keskin2023-03-291-4/+6
|
* OmemoManagerPrivate: Fix check for singleton device list nodeMelvin Keskin2023-03-291-1/+1
|
* Split identity key deserialization into separate methodsMelvin Keskin2023-03-292-38/+54
|
* OmemoManagerPrivate: Reuse public identity key deserialization methodMelvin Keskin2023-03-291-13/+1
|
* OmemoManager: Fix and extend method documentationMelvin Keskin2023-03-291-17/+20
|
* MamManager: Fix crash when reading .size() from a deleted QVectorJonah Brüchert2023-03-181-1/+2
|
* QXmppOmemo: Fix ODR violationJonah Brüchert2023-03-182-9/+9
| | | | I wrote the problematic code, so yay
* Fix missing exports with MSVC 2019Jonah Brüchert2023-03-183-4/+4
| | | | | | | Fixes the Kaidan build with MSVC. Weirdly enough, MSVC got confused on finding the matching overload for <<, so I replaced it with push_back().
* Stream: IQ handling: Accept responses without 'from' attribute (#556)Melvin Keskin2023-03-171-3/+11
| | | | See https://xmpp.org/rfcs/rfc6120.html#stanzas-attributes-from-c2s point 3
* CarbonManagerV2: Don't set 'to' address of carbon enable IQLinus Jahn2023-03-141-3/+2
| | | | | | | | | | | RFC6120 says we MUST NOT set a to address for such stanzas. From section 8.1.1.1.: 2. A stanza sent from a client to a server for direct processing by the server (e.g., roster processing as described in [XMPP-IM] or presence sent to the server for broadcasting to other entities) MUST NOT possess a 'to' attribute.
* Client: Fix empty to in IQs is interpreted as server domainLinus Jahn2023-03-141-1/+2
| | | | Empty to means account bare JID.
* Client: Don't fill empty 'to' attributes of outgoing IQsLinus Jahn2023-03-143-8/+5
|
* MamManager: Only parse ScePublic when decrypting messagesLinus Jahn2023-03-141-21/+49
| | | | | | | Message that are end-to-end-encrypted need to be parsed in ScePublic mode and should then be decrypted. In case the decryption fails, the messages are parsed in SceAll (the normal mode).
* MamManager: Avoid shared_ptr for counting running jobsLinus Jahn2023-03-141-14/+34
|
* MamManager: Flatten retrieveMessages codeLinus Jahn2023-03-141-50/+58
|
* MamManager: Move parsing from handleStanza() into new functionLinus Jahn2023-03-141-22/+33
|
* MamManager: Avoid possible use-after-moveLinus Jahn2023-03-141-2/+4
|
* MamManager: Create task before sendingLinus Jahn2023-03-141-1/+4
|
* EME: Always send encryption name as fallbackMelvin Keskin2023-03-131-1/+1
| | | | | | | Since QXmpp does not differentiate between different EME versions receiving clients support, it is better to always send the encryption name. It ensures that a name is displayed by the receiving client even if it does not support the latest EME version introducing a new encryption.
* IqHandling: Fix use-after-moveLinus Jahn2023-03-131-6/+4
| | | | Fixes #544.
* Fix OMEMO device list processing as specifiedMelvin Keskin2023-03-133-20/+66
|
* OmemoManagerPrivate: Fix documentation and warningMelvin Keskin2023-03-132-3/+3
|
* OmemoManagerPrivate: Remove 'this->' when not neededMelvin Keskin2023-03-131-3/+3
|
* Run clang-formatLinus Jahn2023-03-113-4/+6
|
* OmemoManagerPrivate: Fix sizes of HKDF output and HMACMelvin Keskin2023-03-111-2/+2
|
* OmemoManagerPrivate: Fix SCE affix element processing as specifiedMelvin Keskin2023-03-111-36/+26
|
* OmemoManager: Fix buildMissingSessions never finishes (#552)Blue2023-03-101-0/+3
|
* PubSubIq_p: Rename Private class to avoid conflictsLinus Jahn2023-03-092-4/+9
|
* Readd old PubSubIq and PubSubItem for compatibilityLinus Jahn2023-03-095-0/+398
| | | | | There is at least one package that actually uses this API and this way QXmpp 1.5 can be easily adopted.
* Rename PubSubItem -> PubSubBaseItem to be able to include old PubSubItemLinus Jahn2023-03-0917-79/+76
|
* SaslDigestMd5: Fix UB when at the end of input byte array [Qt6 only]Linus Jahn2023-03-091-2/+6
| | | | | | Also adds a unit test. Fixes #541.
* omemo: Fix build on MSVC 2019 (#550)Jonah Brüchert2023-03-094-4/+14
|
* omemo: Fix usage of unexported symbols from Constants_p.hLinus Jahn2023-03-093-2/+14
| | | | | | This adds the constants to files from the omemo module. It fixes the build of the omemo module on windows with MSVC (and potentially release builds on linux too).
* SceEnvelope: Don't use reference to avoid misusageLinus Jahn2023-03-091-3/+3
|
* Organize OMEMO includesMelvin Keskin2023-03-094-7/+2
|
* OmemoManagerPrivate: Adapt return value handling to adjusted methodMelvin Keskin2023-03-091-13/+2
|
* Update OMEMO to new libomemo-c 0.5 APIsMelvin Keskin2023-03-093-61/+17
|
* CarbonManagerV2: Fix enabling carbonsMelvin Keskin2023-03-091-3/+5
|
* Fix compilation on MSVC 2019Jonah Brüchert2023-03-095-8/+10
|
* Fix library files install directory on windowsLinus Jahn2023-03-082-2/+6
| | | | | For details see: https://stackoverflow.com/a/22280842/4483773
* MamManager: Fix task is not finished when no message is encryptedLinus Jahn2023-02-271-0/+9
|
* FileSharingManager: Fix UB because of use after moveLinus Jahn2023-02-231-1/+1
| | | | Fixes #538.
* According to RFC 5389, nonce (STUN attribute) should be paddedVladimir Pankratov2023-02-211-0/+4
|
* OmemoManager: Fix deref of nullptr (wrong usage of get_if)Linus Jahn2023-02-211-6/+9
| | | | My fault.
* Fix build with clang: usage of auto in template argumentLinus Jahn2023-02-011-1/+1
|
* E2eeExtension: Return encrypted stanzas as Message/Iq instead of XMLLinus Jahn2023-01-314-86/+85
| | | | Part of #513.
* Client: Rename send/sendUnencrypted to sendSensitive/sendLinus Jahn2023-01-285-10/+10
|
* IqHandling: Don't accept IQ results/errorsLinus Jahn2023-01-283-5/+17
|