Commit Graph

474 Commits

Author SHA1 Message Date
Derek Brown
b235acdc6e fix: add xml namespace prefix to message lang attrs 2021-01-20 09:24:46 -05:00
Derek Brown
cef045dc58 feat: refactor message body and subject structs as common LocalizedString 2021-01-18 14:15:40 -05:00
Derek Brown
da90222053 fix: omitempty is not compatible with chardata xml encoding tag 2021-01-15 17:14:34 -05:00
Ian Lamb
1f2f2bb1c5 feat!: change msg subject and body to localizable structs 2021-01-15 12:19:05 -08:00
Dave Johnston
c1309102bc fix: bad tests 2020-12-16 14:00:24 +00:00
Dave Johnston
e567905024 fix: use correct code in cleanup 2020-12-16 13:58:11 +00:00
Dave Johnston
6fba0f00db fix: wrap errors 2020-12-04 10:07:13 +00:00
Dave Johnston
ddb8c5a1eb
Fix connect() to work with external component 2020-09-04 10:54:47 +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