aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppPubSubManager.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename PubSubItem -> PubSubBaseItem to be able to include old PubSubItemLinus Jahn2023-03-091-7/+7
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-15/+14
| | | | | | | | 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.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-86/+83
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* PubSubManager: Add 'own' to PEP function namesLinus Jahn2022-12-281-23/+23
| | | | | | | | | 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-281-1/+1
| | | | Part of #520.
* PubSubManager: Make requestFeatures() API privateLinus Jahn2022-12-281-2/+7
| | | | | 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 Jahn2022-12-281-3/+0
| | | | It seems unrealistic to me that we'll actually going to need it.
* Move PubSubIq into QXmpp::Private namespaceLinus Jahn2022-12-261-9/+9
| | | | This way users won't use it accidentally.
* Make PubSubIq header privateLinus Jahn2022-12-261-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.
* PubSubManager: Make 'standardItemIdToString()' publicMelvin Keskin2022-04-231-2/+2
| | | | This is needed if the IDs of incoming items should be checked externally.
* PubSubManager: Fix template usage of 'requestItem()'Melvin Keskin2022-04-201-1/+1
|
* Fix PubSub methods with a standard item ID parameterMelvin Keskin2022-04-201-5/+2
|
* PubSubManager: Add requestPepFeatures()Melvin Keskin2022-04-091-0/+1
|
* PubSubManager: Add requestFeatures()Melvin Keskin2022-04-091-0/+18
|
* PubSubManager: Add PEP overloads for requestItem and similarMelvin Keskin2022-04-091-0/+7
|
* PubSubManager: Add PEP overload for fetchNodes()Linus Jahn2022-04-091-0/+1
|
* PubSubManager: Add subscribeToNode()/unsubscribeFromNode()Melvin Keskin2022-04-091-0/+2
|
* PubSubManager: Add requestItemIds()Melvin Keskin2022-04-091-0/+2
| | | | Uses a disco items request.
* PubSubManager: requestItem: Add StandardItemId enum for 'current'Melvin Keskin2022-04-091-2/+34
|
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-10/+10
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-22/+3
|
* PubSubManager: Add create node requests with configLinus Jahn2021-09-291-0/+3
|
* PubSubManager: Add node configuration requestsLinus Jahn2021-09-291-0/+7
|
* PubSubManager: Inline PEP requestsLinus Jahn2021-09-291-7/+7
|
* Add QXmppPubSubManagerLinus Jahn2021-08-221-0/+342
Supports the most common pubsub requests. Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>