aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Run clang-formatLinus Jahn2023-03-111-1/+1
|
* Rename PubSubItem -> PubSubBaseItem to be able to include old PubSubItemLinus Jahn2023-03-091-10/+10
|
* Fix pubsubmanager test: Wrong error value expectedLinus Jahn2023-01-281-7/+1
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-4/+6
| | | | | | | | 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-031-1/+1
| | | | Closes #524.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-45/+50
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Stream: Add IQ response sender checkLinus Jahn2022-12-281-22/+29
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* 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.
* Move PubSubIq into QXmpp::Private namespaceLinus Jahn2022-12-261-1/+1
| | | | This way users won't use it accidentally.
* Make PubSubIq header privateLinus Jahn2022-12-261-1/+0
| | | | | | | 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.
* Remove PubSubEventManager (in favour of EventHandler)Linus Jahn2022-05-281-3/+3
|
* PubSubManager: Make 'standardItemIdToString()' publicMelvin Keskin2022-04-231-0/+7
| | | | This is needed if the IDs of incoming items should be checked externally.
* Fix PubSub methods with a standard item ID parameterMelvin Keskin2022-04-201-1/+1
|
* tests: PubSubManager: Correct JID for 'testFetchNodes()'Melvin Keskin2022-04-091-2/+2
| | | | The other XML string contained a different from attribute
* PubSubManager: Add requestPepFeatures()Melvin Keskin2022-04-091-0/+20
|
* PubSubManager: Add requestFeatures()Melvin Keskin2022-04-091-0/+103
|
* PubSubManager: Add PEP overloads for requestItem and similarMelvin Keskin2022-04-091-0/+88
|
* PubSubManager: Add PEP overload for fetchNodes()Linus Jahn2022-04-091-0/+19
|
* PubSubManager: Add subscribeToNode()/unsubscribeFromNode()Melvin Keskin2022-04-091-0/+36
|
* PubSubManager: Add requestItemIds()Melvin Keskin2022-04-091-0/+19
| | | | Uses a disco items request.
* PubSubManager: requestItem: Add StandardItemId enum for 'current'Melvin Keskin2022-04-091-0/+68
|
* Refactor QXmppTuneItemLinus Jahn2022-03-091-2/+2
|
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-65/+65
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* tests: Clean up pubsub manager testsLinus Jahn2021-09-291-35/+25
|
* PubSubManager: Add create node requests with configLinus Jahn2021-09-291-0/+47
|
* PubSubManager: Add node configuration requestsLinus Jahn2021-09-291-0/+116
|
* PubSubIq: Fix data form type for create/publishLinus Jahn2021-09-291-1/+3
|
* tests: Add tests for QXmppPubSubManagerLinus Jahn2021-08-221-0/+860
Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>