Commit Graph

46 Commits

Author SHA1 Message Date
Bohdan Horbeshko
655f875918 Support multiple command elements 2024-05-16 16:47:09 +02:00
Bohdan Horbeshko
9af32ad7e0 Fix marshalling/unmarshalling of command children 2024-05-16 16:47:09 +02:00
bodqhrohro
5f99e1cd06 Support partial JIDs in Bare/Full methods 2021-12-14 12:01:36 +01:00
CORNIERE Rémi
17d561f829 Support for XEP-0082.
Parsing of times with an offset does not work for now (should it ?)
2020-04-29 10:13:31 +02:00
CORNIERE Rémi
6a3ee5b0a5 Support for XEP-0334 2020-04-09 10:02:11 +02:00
rcorniere
7a932d0504 Added missing tests 2020-03-09 17:12:32 +01:00
rcorniere
e59a86c380 Refactor tests 2020-03-06 17:52:52 +01:00
rcorniere
2083cbf29c Various fixes 2020-01-31 15:17:59 +01:00
rcorniere
70ef1d575f Reset Tests
Will come with MaM (XEP-313) implementation
2020-01-31 12:06:53 +01:00
rcorniere
8798ff6fc1 - Changed IQ stanzas to pointer semantics
- Fixed commands from v 0.4.0 and tests
- Added primitive Result Sets support (XEP-0059)
2020-01-31 11:48:03 +01:00
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