Commit graph

301 commits

Author SHA1 Message Date
Mickael Remond 9f095cb90f
Update dependencies 2019-07-27 09:22:44 -07:00
Mickael Remond 7deaf59642
Quickfix for build error
See #94
2019-07-27 09:22:04 -07:00
genofire fe6cea870d use highest DNS-SRV entry for client connection 2019-07-27 09:11:00 -07:00
Martin/Geno 323de704f6 improve command xmpp-check 2019-07-17 10:41:49 +02:00
Martin/Geno e05f36c69f init empty TLSConfig, if nothing given 2019-07-16 11:00:42 +02:00
Mickael Remond d36428fb2f
Avoid copying tls.Config lock
Fixes #90
2019-07-15 18:40: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 7c71d93026
Remove unused channels 2019-06-29 17:39:59 +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 3ba59afd6e
Start listing supported specifications 2019-06-29 15:15:09 +02:00
Mickael Remond 661188752e
Formatting 2019-06-29 15:09:05 +02:00
Mickael Remond 409d563eec
Update README example after API change 2019-06-29 14:58:59 +02:00
Mickael Remond d90cc239ae
Spelling consistency 2019-06-29 14:57:24 +02:00
Mickaël Rémond b35868b689
Improve stanza package documentation 2019-06-29 14:53:14 +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 5992cc2231 Fix XMPP logger consistency
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
2019-06-29 10:47:07 +02:00
Mickael Remond 318e5e8a50
Postconnect method should receive an xmpp.Sender and not directly a client
Fixes #80
2019-06-29 09:35:33 +02:00
Mickael Remond a465e370e2
Rename check_cert 2019-06-29 09:17:35 +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
Mickaël Rémond 0fd1bb2483
Merge pull request #79: Stanza package & pattern to help building stanzas
- Move parsing and stanza marshalling / unmarshalling to stanza package
- Add pattern & basic helpers to simplify stanza building.
This was requested on #61
2019-06-27 14:57:26 +02:00
Mickael Remond 4a4fc39cf6
Merge with changes from master 2019-06-27 14:55:44 +02:00
Mickael Remond 5db9a80605
Move example to new data structure 2019-06-27 14:35:03 +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
Mickaël Rémond 80f32b4af7
Update README.md 2019-06-27 09:47:08 +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 3d088a6078 Use NullableInt to encode presence history values 2019-06-26 18:31:17 +02:00
Mickael Remond 0ee4764d31 Update error.go
Fix typo in comment
2019-06-26 18:31:17 +02:00
Martin/Geno 1971772394 fix everything 2019-06-26 18:31:17 +02:00
genofire 6fbfe9fd0a Update pres_muc_test.go 2019-06-26 18:31:17 +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
Mickael Remond 0acf824217
Fix typo in error const enum 2019-06-26 16:21:18 +02:00
Mickael Remond 445bb8efa3
Fix crash on send when disconnected
Fixes #74
2019-06-26 15:58:42 +02:00
Mickael Remond f79a3a219b
Improves IPV6 examples 2019-06-26 14:00:39 +02:00
Mickael Remond 1c792e61c6 Adding tests and always use brackets in IPV6 addresses
Code also ensures that brackets are properly added when encoding an IPV6 address.
2019-06-26 12:37:59 +02:00
genofire fde524ef98 fix connection to ipv6 address + use fallback to jid domain 2019-06-26 12:37:59 +02:00
Mickael Remond 7a386ec8d0 Examples should use local repository version 2019-06-24 12:24:45 +02:00
Mickael Remond 83f96fbd41 Fix error code 2019-06-24 12:24:45 +02:00
Mickael Remond def9629a0b Make it possible to extract unknown iq payload, in field Any 2019-06-24 12:24:45 +02:00
Mickael Remond 1542110f1b If there is no match in router, properly send not-implemented reply for iq set & get 2019-06-24 12:24:45 +02:00