aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
* | Implement XEP-0215: External Service Discovery (#542)taiBsu2023-03-098-0/+673
| | | | | | Implements https://xmpp.org/extensions/xep-0215.html in version 1.0.
* | Merge branch '1.5'Linus Jahn2023-02-233-7/+14
|\|
| * 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.
* | FileSharingManager: Format code in a clang-format compatible wayLinus Jahn2023-02-181-6/+2
| |
* | Run clang-formatLinus Jahn2023-02-171-3/+4
| |
* | Merge branch '1.5'Linus Jahn2023-02-011-1/+1
|\|
| * Fix build with clang: usage of auto in template argumentLinus Jahn2023-02-011-1/+1
| |
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-3112-114/+4
|/
* 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
|
* Task/Promise: Don't allow abstract typesLinus Jahn2023-01-282-10/+4
| | | | | Supporting abstract types only has little advantages and we might want to store the result by value later.
* Stream: Fix use of moved valueLinus Jahn2023-01-281-2/+2
|
* Fix discovery manager incoming request handlingLinus Jahn2023-01-221-2/+3
| | | | Fixes #529.
* Code formattingLinus Jahn2023-01-222-2/+2
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-2219-99/+108
| | | | | | | | This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501.
* Task: Add static assert for then functionLinus Jahn2023-01-221-4/+5
|
* Rename TuneItem to UserTuneItemLinus Jahn2023-01-034-7/+7
| | | | Closes #524.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-0353-896/+1325
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Stanza: Fix unhandled case in switch warningsLinus Jahn2023-01-011-0/+4
|
* Fix documentation warnings (renamed functions)Linus Jahn2022-12-312-21/+29
|
* OmemoManager: Replace multi-result futures with single result futuresLinus Jahn2022-12-314-44/+60
| | | | | | | | | QXmppTask won't support multi-result and in the case of the OmemoManager it's not really needed. If you want to know when each single request is finished you can just subscribe/unsubscribe from each jid in a single request. Part of #502.
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-3012-64/+68
| | | | Part of #501.
* StanzaError: Remove optional getter/settters for type/conditionLinus Jahn2022-12-293-87/+15
| | | | | | | The whole QXmppStanza::Error is now used optionally in QXmppStanza, so type and condition of the error don't need to be optionals as well. Part of #512.
* Stanza: Make error optionalLinus Jahn2022-12-292-4/+51
| | | | Closes #512.
* Clean up CMakeLinus Jahn2022-12-291-53/+49
|
* cmake: Remove unused QXMPP_BUILD defineLinus Jahn2022-12-291-2/+0
|
* cmake: Use generate_export_header() instead of doing manuallyLinus Jahn2022-12-294-56/+45
| | | | | | | | | This is going to make it easier for us to maintain things. It's also consistent with the new QXmppOmemo module. This requires CMake 3.7 now. Closes #523.
* Call/CallManager: Fix usage of qt keywordsLinus Jahn2022-12-292-4/+5
|
* Stream: Add IQ response sender checkLinus Jahn2022-12-285-17/+49
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* Configuration: Minor documentation improvementsLinus Jahn2022-12-281-13/+13
|
* PubSubEvent: Split up Items type into Items and virtual Retract typeLinus Jahn2022-12-284-24/+44
| | | | | | | | | This makes the handling much easier because you don't have to manually check whether the set 'Items' type means items have been published or retracted. There is no retract type in the XML representation, but that doesn't mean that we cannot distinguish both cases. Closes #521.
* StanzaError: Add NoType and NoCondition for -1 valuesLinus Jahn2022-12-282-7/+8
| | | | | | | | Previsously static_cast<QXmppStanza::Error::Condition>(-1) was used when no condition was set (or type). This adds real enum values with that integer value to avoid undefined behaviour. Fixes #495.
* PubSubManager: Add 'own' to PEP function namesLinus Jahn2022-12-284-38/+38
| | | | | | | | | This makes it clear that the functions use the own PEP nodes. This is clear in some cases (createPepNode()), but in others not so clear (requestPepItem()). To keep it consistent all PEP functions get an 'own' now. Closes #520.
* PubSubManager: Rename fetchNodes to requestNodes (like the functions)Linus Jahn2022-12-282-2/+2
| | | | Part of #520.