| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | MamManager: Fix crash when reading .size() from a deleted QVector | Jonah Brüchert | 2023-03-18 | 1 | -1/+2 |
| | | |||||
| * | Fix missing exports with MSVC 2019 | Jonah Brüchert | 2023-03-18 | 1 | -1/+1 |
| | | | | | | | | Fixes the Kaidan build with MSVC. Weirdly enough, MSVC got confused on finding the matching overload for <<, so I replaced it with push_back(). | ||||
| * | CarbonManagerV2: Don't set 'to' address of carbon enable IQ | Linus Jahn | 2023-03-14 | 1 | -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 domain | Linus Jahn | 2023-03-14 | 1 | -1/+2 |
| | | | | | Empty to means account bare JID. | ||||
| * | Client: Don't fill empty 'to' attributes of outgoing IQs | Linus Jahn | 2023-03-14 | 1 | -5/+2 |
| | | |||||
| * | MamManager: Only parse ScePublic when decrypting messages | Linus Jahn | 2023-03-14 | 1 | -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 jobs | Linus Jahn | 2023-03-14 | 1 | -14/+34 |
| | | |||||
| * | MamManager: Flatten retrieveMessages code | Linus Jahn | 2023-03-14 | 1 | -50/+58 |
| | | |||||
| * | MamManager: Move parsing from handleStanza() into new function | Linus Jahn | 2023-03-14 | 1 | -22/+33 |
| | | |||||
| * | MamManager: Avoid possible use-after-move | Linus Jahn | 2023-03-14 | 1 | -2/+4 |
| | | |||||
| * | MamManager: Create task before sending | Linus Jahn | 2023-03-14 | 1 | -1/+4 |
| | | |||||
| * | IqHandling: Fix use-after-move | Linus Jahn | 2023-03-13 | 1 | -6/+4 |
| | | | | | Fixes #544. | ||||
| * | Run clang-format | Linus Jahn | 2023-03-11 | 1 | -1/+1 |
| | | |||||
| * | Rename PubSubItem -> PubSubBaseItem to be able to include old PubSubItem | Linus Jahn | 2023-03-09 | 2 | -12/+12 |
| | | |||||
| * | SceEnvelope: Don't use reference to avoid misusage | Linus Jahn | 2023-03-09 | 1 | -3/+3 |
| | | |||||
| * | CarbonManagerV2: Fix enabling carbons | Melvin Keskin | 2023-03-09 | 1 | -3/+5 |
| | | |||||
| * | Fix compilation on MSVC 2019 | Jonah Brüchert | 2023-03-09 | 4 | -6/+8 |
| | | |||||
| * | MamManager: Fix task is not finished when no message is encrypted | Linus Jahn | 2023-02-27 | 1 | -0/+9 |
| | | |||||
| * | FileSharingManager: Fix UB because of use after move | Linus Jahn | 2023-02-23 | 1 | -1/+1 |
| | | | | | Fixes #538. | ||||
| * | Fix build with clang: usage of auto in template argument | Linus Jahn | 2023-02-01 | 1 | -1/+1 |
| | | |||||
| * | E2eeExtension: Return encrypted stanzas as Message/Iq instead of XML | Linus Jahn | 2023-01-31 | 2 | -68/+75 |
| | | | | | Part of #513. | ||||
| * | Client: Rename send/sendUnencrypted to sendSensitive/send | Linus Jahn | 2023-01-28 | 4 | -9/+9 |
| | | |||||
| * | IqHandling: Don't accept IQ results/errors | Linus Jahn | 2023-01-28 | 2 | -5/+16 |
| | | |||||
| * | Fix discovery manager incoming request handling | Linus Jahn | 2023-01-22 | 1 | -2/+3 |
| | | | | | Fixes #529. | ||||
| * | Code formatting | Linus Jahn | 2023-01-22 | 2 | -2/+2 |
| | | |||||
| * | Use QXmppError in all IQ results instead of StanzaError | Linus Jahn | 2023-01-22 | 13 | -51/+50 |
| | | | | | | | | | 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. | ||||
| * | Rename TuneItem to UserTuneItem | Linus Jahn | 2023-01-03 | 1 | -1/+1 |
| | | | | | Closes #524. | ||||
| * | Introduce QXmppTask & QXmppPromise | Linus Jahn | 2023-01-03 | 36 | -461/+444 |
| | | | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im> | ||||
| * | Fix documentation warnings (renamed functions) | Linus Jahn | 2022-12-31 | 2 | -21/+29 |
| | | |||||
| * | Replace QXmpp::SendError with QXmppError everywhere | Linus Jahn | 2022-12-30 | 5 | -19/+20 |
| | | | | | Part of #501. | ||||
| * | Call/CallManager: Fix usage of qt keywords | Linus Jahn | 2022-12-29 | 2 | -4/+5 |
| | | |||||
| * | Stream: Add IQ response sender check | Linus Jahn | 2022-12-28 | 3 | -4/+18 |
| | | | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510. | ||||
| * | Configuration: Minor documentation improvements | Linus Jahn | 2022-12-28 | 1 | -13/+13 |
| | | |||||
| * | PubSubEvent: Split up Items type into Items and virtual Retract type | Linus Jahn | 2022-12-28 | 1 | -0/+3 |
| | | | | | | | | | | 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. | ||||
| * | PubSubManager: Add 'own' to PEP function names | Linus Jahn | 2022-12-28 | 3 | -25/+25 |
| | | | | | | | | | | 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 Jahn | 2022-12-28 | 2 | -2/+2 |
| | | | | | Part of #520. | ||||
| * | ClientExtension: Save d-ptr allocation | Linus Jahn | 2022-12-28 | 2 | -17/+10 |
| | | | | | | | | | The d-ptr only contained one other pointer which can be stored directly. If we should need another attribute, we can just re-add the d-ptr since it has the same size as the current QXmppClient ptr. Closes #522. | ||||
| * | PubSubManager: Make requestFeatures() API private | Linus Jahn | 2022-12-28 | 2 | -2/+11 |
| | | | | | | This kind of task should be done by the DiscoveryManager. For now we still need it, but I don't want to make it official API. | ||||
| * | PubSubManager: Remove "void *d;" | Linus Jahn | 2022-12-28 | 1 | -3/+0 |
| | | | | | It seems unrealistic to me that we'll actually going to need it. | ||||
| * | Disable Qt keywords completely | Linus Jahn | 2022-12-26 | 23 | -131/+129 |
| | | | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503. | ||||
| * | Move PubSubIq into QXmpp::Private namespace | Linus Jahn | 2022-12-26 | 2 | -59/+59 |
| | | | | | This way users won't use it accidentally. | ||||
| * | Make PubSubIq header private | Linus Jahn | 2022-12-26 | 1 | -1/+1 |
| | | | | | | | | Users should only need to use the PubSubManager. The PubSubIq does not need to have a stable API this way and this gives us more flexibility. Closes #509. | ||||
| * | MamManager: Add future based interface with encryption support | Linus Jahn | 2022-10-18 | 2 | -38/+253 |
| | | |||||
| * | E2eeExtension: Add isEncrypted() and decryptMessage() functions | Linus Jahn | 2022-10-18 | 2 | -1/+30 |
| | | |||||
| * | EntityTimeManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -18/+23 |
| | | |||||
| * | VersionManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -13/+19 |
| | | |||||
| * | DiscoveryManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -17/+31 |
| | | |||||
| * | Add automated IQ request handling functions | Linus Jahn | 2022-10-17 | 2 | -0/+306 |
| | | |||||
| * | Implement XEP-0444: Message Reactions (#492) | Melvin Keskin | 2022-10-16 | 1 | -0/+2 |
| | | | | https://xmpp.org/extensions/xep-0444.html | ||||
| * | FileSharingManager: Rename sendFile to uploadFile | Linus Jahn | 2022-10-02 | 2 | -6/+6 |
| | | |||||
