Commit graph

469 commits

Author SHA1 Message Date
Bohdan Horbeshko a21cbec9ec Support multiple command elements 2024-05-12 09:13:13 -04:00
Bohdan Horbeshko 380694353e Fix marshalling/unmarshalling of command children 2024-01-30 21:00:57 -05:00
bodqhrohro 5f99e1cd06 Support partial JIDs in Bare/Full methods 2021-12-14 12:01:36 +01:00
remicorniere ac5b066815
Merge pull request #164 from remicorniere/XEP-0082
Support for XEP-0082.
2020-05-07 00:10:55 +00: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
remicorniere ce71bc5c76
Merge pull request #163 from remicorniere/XEP-0334
Support for XEP-0334Support for XEP-0334 (Message Hints)
2020-04-16 17:26:46 +02:00
CORNIERE Rémi 6a3ee5b0a5 Support for XEP-0334 2020-04-09 10:02:11 +02:00
remicorniere fe4c366de8
Merge pull request #161 from remicorniere/Issue_160
Fix issue #160
2020-03-16 22:29:03 +00:00
CORNIERE Rémi 0a4acd12c3 Fix issue #160 2020-03-16 16:20:54 +01:00
remicorniere ef6de6000a
Merge pull request #159 from remicorniere/close_keepalive
Close keepalive when recv() ends in client.go
2020-03-16 11:13:13 +00:00
rcorniere d4960afc97 Close keepalive when recv() ends in client.go 2020-03-10 18:01:47 +01:00
rcorniere 6e84084bb3 Close keepalive when recv() ends in client.go 2020-03-10 17:32:03 +01:00
remicorniere 64e54134df
Merge pull request #158 from remicorniere/reset_IsSecure
Reset isSecure in StartTLS()
2020-03-10 16:16:49 +00:00
rcorniere f1331dcebc Reset isSecure in StartTLS() 2020-03-10 17:14:26 +01:00
remicorniere 1e92089f96
Merge pull request #155 from remicorniere/Stream_Management_Patch
Stream Management
2020-03-10 15:33:59 +00:00
rcorniere 7850d07d37 Renamed Hooks 2020-03-10 16:31:27 +01:00
rcorniere 477a2b114c Changelog and doc 2020-03-09 17:19:29 +01:00
rcorniere 7a932d0504 Added missing tests 2020-03-09 17:12:32 +01:00
rcorniere eff622df76 Changelog update 2020-03-09 16:50:12 +01:00
rcorniere 5fcb1c4337 Refactor tests 2020-03-09 16:25:11 +01:00
rcorniere e59a86c380 Refactor tests 2020-03-06 17:52:52 +01:00
rcorniere 0459144512 First commit with dirty tests 2020-03-06 16:44:01 +01:00
remicorniere 22ba8d1f4e
Merge pull request #150 from jacksgt/patch-2
Remove "no depdencies" statement from README
2020-02-18 10:22:14 +00:00
remicorniere fa59efbfdc
Merge pull request #151 from FluuxIO/Rmv_Xtra_Deps
Removed unnecessary dependencies from the core lib go.mod
2020-02-18 10:13:58 +00:00
rcorniere 086ceb4047 Removed unnecessary dependencies from the core lib go.mod 2020-02-18 10:29:22 +01:00
Jack Henschel 35e3defc62
Remove "no depdencies" statement from README
As is apparent from the current go.mod file, this library definitely depends on various other libraries.
This in turn makes it depend on Go 1.13 (currently).
2020-02-11 16:29:52 +01:00
remicorniere 79cd7e37f1
Merge pull request #149 from remicorniere/Fixes
Various fixes
2020-01-31 14:25:25 +00:00
rcorniere 2083cbf29c Various fixes 2020-01-31 15:17:59 +01:00
remicorniere 928c1595ef
Merge pull request #148 from remicorniere/ResultSetsRework
- Changed IQ stanzas to pointer semantics
- Fixed commands from v 0.4.0 and tests
- Added primitive Result Sets support (XEP-0059)
- Tests for Result sets are not implemented yet. Result sets seem to be fairly unused across servers and is a little weird to test without a specific implementing XEP like XEP-0313; because the implementations are different across XEPs. Therefore, as 313 is coming, I'll update the tests for XEP-0059 with it.
2020-01-31 11:18:36 +00: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
remicorniere 3a3a15507e
Update README.md 2020-01-20 12:24:01 +01:00
remicorniere 84665d8c13
Merge pull request #146 from remicorniere/PubSub_Example
Pub sub example update
2020-01-14 22:53:11 +00:00
CORNIERE Rémi e9bda893d6 Added tests for new Owner namespace function 2020-01-14 23:47:18 +01:00
CORNIERE Rémi 1d1adb0c48 Example pubsub code cleanup 2020-01-14 23:13:13 +01:00
CORNIERE Rémi 20e02cc9ad Added node config 2020-01-14 22:47:49 +01:00
remicorniere 9b557a68b3
Merge pull request #145 from remicorniere/PubSub_Example
Added README.md to PubSub client example
2020-01-14 18:23:49 +00:00
CORNIERE Rémi 9ca9f48c89 Added README.md 2020-01-14 19:21:29 +01:00
remicorniere 6b0a036d07
Merge pull request #144 from remicorniere/PubSub_Example
PubSub example
2020-01-14 18:16:27 +00:00
CORNIERE Rémi f3218c4afa PubSub example 2020-01-14 19:12:54 +01:00
remicorniere 75531f457a Change log pub sub (#143)
* 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

* Changelog v0.4.0
2020-01-09 15:33:38 +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
Jerome Sautret 6e2ba9ca57 Remove context leak warnings 2019-12-26 15:51:19 +01:00
Jerome Sautret 600f7d5246 Merge branch 'master' of github.com:FluuxIO/go-xmpp 2019-12-26 15:06:14 +01:00
Jerome Sautret ab80709aeb Added xmpp_component2 example. 2019-12-26 15:05:34 +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
remicorniere e62b7fa0c7
Update client.go 2019-12-24 10:47:25 +00:00
remicorniere daf37cf5a8
Update Disconnect method on client
Remove wrong stanza sends
2019-12-24 10:44:01 +00:00
remicorniere ccc573c3b2
Update xmpp_chat_client.go
Quickfix : go back to menu when contacts are updated from server.
2019-12-23 09:25:39 +00:00
remicorniere 26114d40eb
Merge pull request #140 from remicorniere/Roster_Chat_Example
Added roster update to chat client example
2019-12-23 09:07:56 +00:00