Commit Graph

429 Commits

Author SHA1 Message Date
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
e531370dc9
An invalid certificate is a permanent error if we do not skip cert check 2019-07-31 11:43:54 +02:00
Mickael Remond
4e185f4bb6
Use intermediate version (before 0.2.0) to fix stanza package usage 2019-07-30 10:55:49 +02:00
Mickael Remond
4f1e0ded97 Simplify disco with builder helpers 2019-07-30 10:45:20 +02:00
Mickael Remond
176dcdce33 Simplify disco and software version
Make use of helpers.
2019-07-30 10:45:20 +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
1c74d102c7
Fix reference to missing tag 2019-07-30 10:39:19 +02:00
Mickael Remond
7ab6c3a62d
Refactor to start removing global variables 2019-07-27 18:06:55 -07:00
Mickael Remond
a3867dd0b3
Expand TODO list 2019-07-27 17:50:45 -07:00
Mickael Remond
d2a1329dc6
Report errors 2019-07-27 17:50:28 -07:00
Mickael Remond
6ff7812ac4
go mod tidy 2019-07-27 17:34:10 -07:00
Mickael Remond
3453336f27
For now we need to use master version for xmpp module 2019-07-27 17:31:11 -07:00
Mickael Remond
a23194ad96
Add submodule for commands
The goal is to keep dependencies list minimal for users of the xmpp
modules. We do not want to force to increase largely the number of
indirect dependencies when you require xmpp.

The command-line stuff may not likely be needed in the end developer
application.
2019-07-27 17:15:28 -07:00
Mickael Remond
f984a93e63
Formatting 2019-07-27 16:50:41 -07:00
Mickael Remond
6a5f2750f1
Clean-up 2019-07-27 16:50:10 -07:00
Mickaël Rémond
e553028754 Minor wording fixes 2019-07-27 16:36:35 -07:00
Mickaël Rémond
fed23ad7ad Minor improvements for sendxmpp doc 2019-07-27 16:36:35 -07:00
Mickaël Rémond
244acdc02a Fix typos 2019-07-27 16:36:35 -07:00
Mickaël Rémond
4d6c783619 Improve wording 2019-07-27 16:36:35 -07:00
Martin/Geno
5697d40e5c use - instatt of --stdin to detect stdin 2019-07-27 16:36:35 -07:00
genofire
ff5885f29d todo for sendxmpp 2019-07-27 16:36:35 -07:00
Martin/Geno
e3e57ac803 add parameter and config for address to sendxmpp 2019-07-27 16:36:35 -07:00
Martin/Geno
3daa5c505c fix README.md 2019-07-27 16:36:35 -07:00
Martin/Geno
0fb90abcf7 improve authentification 2019-07-27 16:36:35 -07:00
Martin/Geno
6aa942dd58 first idea of sendxmpp 2019-07-27 16:36:35 -07:00
Mickael Remond
c41d068c9f
Improve comments 2019-07-27 15:19:32 -07:00
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