aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow use of locally built libomemo-cXavier Del Campo Romero2023-08-121-1/+1
|
* Jingle: Remove namespaceUri attributeLinus Jahn2023-05-142-28/+4
|
* Rename QXmppJingleIq.cpp/h to QXmppJingleData.cpp/h and testTibor Csötönyi2023-05-142-50/+50
|
* Add XEP-0353: Jingle Message Initiation managerTibor Csötönyi2023-05-142-0/+925
|
* Add XEP-0353: Jingle Message Initiation data classesTibor Csötönyi2023-05-142-13/+295
|
* Extract JingleIq::Reason to own class and add serialization for JMITibor Csötönyi2023-05-141-14/+14
| | | | Reason class will be used by JingleMessageInitiationElement as well
* Extract JingleIq::Description to own classTibor Csötönyi2023-05-141-57/+64
| | | | Description will be used by JingleMessageInitiationElement as well
* Merge branch '1.5'Linus Jahn2023-04-075-13/+13
|\
| * Support installing QXmpp with Qt 5 and Qt 6 in parallelLinus Jahn2023-04-074-5/+5
| | | | | | | | Closes #540.
| * tests: RosterManager: Fix wrong server to/from addressLinus Jahn2023-04-071-8/+8
| |
* | Merge branch '1.5'Linus Jahn2023-03-174-1/+139
|\|
| * 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.
| * tests: Add EntityTimeManager testLinus Jahn2023-03-132-0/+69
| |
| * tests: Add VersionManager testLinus Jahn2023-03-132-0/+69
| |
* | Merge branch '1.5'Linus Jahn2023-03-113-3/+3
|\|
| * Run clang-formatLinus Jahn2023-03-113-3/+3
| |
* | Merge branch '1.5'Linus Jahn2023-03-118-51/+48
|\|
| * Rename PubSubItem -> PubSubBaseItem to be able to include old PubSubItemLinus Jahn2023-03-095-32/+32
| |
| * SaslDigestMd5: Fix UB when at the end of input byte array [Qt6 only]Linus Jahn2023-03-091-0/+10
| | | | | | | | | | | | Also adds a unit test. Fixes #541.
| * tests: streaminitiaioniq: Fix usage of qt keywordsLinus Jahn2023-03-091-5/+4
| | | | | | | | Hopefully the last case.
| * SceEnvelope: Don't use reference to avoid misusageLinus Jahn2023-03-091-2/+1
| |
| * tests: OmemoManager: Use CarbonManagerV2Melvin Keskin2023-03-091-14/+4
| |
| * Organize OMEMO includesMelvin Keskin2023-03-091-2/+0
| |
| * Update OMEMO to new libomemo-c 0.5 APIsMelvin Keskin2023-03-091-1/+1
| |
* | Implement XEP-0215: External Service Discovery (#542)taiBsu2023-03-093-0/+321
| | | | | | Implements https://xmpp.org/extensions/xep-0215.html in version 1.0.
* | Fix: remove unused variableTibor Csötönyi2023-03-051-1/+0
| |
* | tests: StreamInitiationIq: Fix usage qt keywords (#535)Melvin Keskin2023-02-181-5/+4
| |
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-312-13/+2
|/
* Client: Rename send/sendUnencrypted to sendSensitive/sendLinus Jahn2023-01-282-6/+6
|
* Fix pubsubmanager test: Wrong error value expectedLinus Jahn2023-01-281-7/+1
|
* Task/Promise: Don't allow abstract typesLinus Jahn2023-01-281-6/+6
| | | | | Supporting abstract types only has little advantages and we might want to store the result by value later.
* Fix discovery manager incoming request handlingLinus Jahn2023-01-222-2/+20
| | | | Fixes #529.
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-222-6/+10
| | | | | | | | 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 UserTuneItemLinus Jahn2023-01-032-2/+2
| | | | Closes #524.
* Add tests for QXmppTaskLinus Jahn2023-01-031-2/+67
|
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-037-73/+94
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-301-4/+4
| | | | Part of #501.
* StanzaError: Remove optional getter/settters for type/conditionLinus Jahn2022-12-291-6/+5
| | | | | | | 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.
* cmake: Use generate_export_header() instead of doing manuallyLinus Jahn2022-12-291-1/+1
| | | | | | | | | 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.
* Stream: Add IQ response sender checkLinus Jahn2022-12-282-30/+39
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* PubSubEvent: Split up Items type into Items and virtual Retract typeLinus Jahn2022-12-281-1/+1
| | | | | | | | | 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 namesLinus Jahn2022-12-281-16/+16
| | | | | | | | | 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.
* test: omemo: Fix usage of old PubSubIq includeLinus Jahn2022-12-281-1/+0
|
* Disable Qt keywords completelyLinus Jahn2022-12-2652-499/+482
| | | | | | | | | | | | | | | 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 namespaceLinus Jahn2022-12-262-37/+39
| | | | This way users won't use it accidentally.
* Make PubSubIq header privateLinus Jahn2022-12-262-2/+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.
* E2eeExtension: Add isEncrypted() and decryptMessage() functionsLinus Jahn2022-10-181-0/+5
|
* Implement XEP-0444: Message Reactions (#492)Melvin Keskin2022-10-163-0/+137
| | | https://xmpp.org/extensions/xep-0444.html
* Skip call manager tests on macOSLinus Jahn2022-10-162-0/+9
| | | | The tests are currently broken. :(
* Clean up CallManager testLinus Jahn2022-10-161-21/+7
|