Commit graph

36 commits

Author SHA1 Message Date
CORNIERE Rémi e9bda893d6 Added tests for new Owner namespace function 2020-01-14 23:47:18 +01:00
CORNIERE Rémi 20e02cc9ad Added node config 2020-01-14 22:47:49 +01:00
remicorniere 947fcf0432 PubSub protocol support (#142)
* PubSub protocol support
Added support for :
- XEP-0050   (Command))
- XEP-0060   (PubSub)
- XEP-0004   (Forms)

Fixed the NewClient function by adding parsing of the domain from the JID if no domain is provided in transport config.
Updated xmpp_jukebox example

* Delete useless pubsub errors

* README.md update
Fixed import in echo example

* Typo

* Fixed raw send on client example

* Fixed jukebox example and added a README.md
2020-01-09 15:33:11 +01:00
remicorniere 94aceac802 Changed "Disconnect" to wait for the closing stream tag. (#141)
Updated example with a README.md and fixed some logs.
2019-12-26 14:47:02 +01:00
CORNIERE Rémi 390336b894 Added Roster IQs
Added an overly primitive "disconnect" for the client to use in the chat client example
2019-12-23 09:04:18 +01:00
remicorniere 1822089db6 Tests for Component and code style fixes (#129)
* Tests for Component and code style fixes
2019-11-28 17:15:15 +01:00
Mickael Remond ce05c3226c
Fix failing tests 2019-11-04 16:32:29 +01:00
Wichert Akkerman 21f6a549db Always add an id to IQ queries 2019-11-04 16:22:05 +01:00
Wichert Akkerman 6da1962962 Correctly open new streams after StartTLS and auth 2019-10-28 16:38:10 +01:00
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
XMPP and WebSocket transports require different open and close stanzas. To
handle this the responsibility handling those and creating the XML decoder is
moved to the Transport.
2019-10-28 16:38:10 +01:00
Mickael Remond 3b66e31888 We do not need the Content to be innerxml. cdata is enough.
Fixes #110
2019-09-27 18:25:27 +02:00
Mickael Remond 80d2e0fa1e Remove debug print-out 2019-08-06 16:02:33 +02:00
Mickael Remond 3de99e0e0e Add initial support for stream management
For now it support enabling SM, replying to ack requests from server,
and trying resuming the session with existing Stream Management state.
2019-08-06 16:02:33 +02:00
Mickael Remond 61adf7e414 Add builder & test on software version helpers 2019-07-30 10:45:20 +02:00
Mickael Remond 014957e029 Expand comments 2019-07-30 10:45:20 +02:00
Mickael Remond 69118a952a Add helpers for IQ DiscoItems 2019-07-30 10:45:20 +02:00
Mickael Remond 9577036327 Add support for self-signed certificates 2019-07-15 12:22:21 +02:00
Mickael Remond 79803a8af9
Improves comments 2019-06-29 17:52:36 +02:00
Mickael Remond 604d2c6c1e
Improves comments 2019-06-29 17:48:38 +02:00
Mickael Remond cca0919b8a
Fix session element parsing on IQ 2019-06-29 17:39:19 +02:00
Mickael Remond 40e907e8ee
Clean-up & refactor 2019-06-29 16:49:54 +02:00
Mickael Remond 838c059398
Remove Bind in the payload list, as it is intended to be used by XMPP client and not by users of the library. 2019-06-29 16:10:53 +02:00
Mickael Remond d90cc239ae
Spelling consistency 2019-06-29 14:57:24 +02:00
Mickael Remond 6165232d7a
Improves documentation of stanza package 2019-06-29 14:40:35 +02:00
Mickael Remond 91c562200d
Move missing file to stanza package 2019-06-29 11:03:55 +02:00
Mickael Remond 9bb4f32769
Clean up & documentation 2019-06-28 16:41:53 +02:00
Mickael Remond e3c0747cbb
Improves documentation: Explain how to create a custom stanza extension 2019-06-28 16:19:09 +02:00
Mickael Remond 4a4fc39cf6
Merge with changes from master 2019-06-27 14:55:44 +02:00
Mickael Remond 20a66dc47d
Use an approach to build stanza that do not require a "builder" abstraction 2019-06-27 14:30:23 +02:00
Mickael Remond 1dacc663d3
Add basic builder support 2019-06-27 10:23:49 +02:00
Mickael Remond cb9016693c
Move some IQ declaration in their own files 2019-06-27 10:22:36 +02:00
Mickael Remond 0c7e4588c6
Add initial documentation 2019-06-27 10:21:33 +02:00
Mickael Remond 3fa1a4b387
Remove useless reference to IQPayload 2019-06-27 09:59:19 +02:00
Mickael Remond 781b875cf1
Resync with Master
Support NullableInt on MUC presence history element
2019-06-26 18:42:40 +02:00
Mickael Remond 5ed66de79e
Fix tests after refactor 2019-06-26 17:28:54 +02:00
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package 2019-06-26 17:14:52 +02:00