Richard Phillips
4fdbee9ac5
Add 'id' to outgoing message using cnonce
2018-05-05 20:32:25 +09:00
mattn
8a5843171f
Merge pull request #97 from frankbraun/debug
...
introduce DebugWriter
2018-04-23 11:14:11 +09:00
Frank Braun
04ea54f191
introduce DebugWriter
...
This allows to use a different writer than os.Stderr to write debugging
output to.
2018-04-22 21:35:30 +00:00
Harald Müller
7ec2b8b7de
add comments
2018-01-31 17:36:30 +09:00
Harald Müller
43e817cebe
Uppercase NO_PROXY takes precedence over no_proxy as in HTTP_PROXY
2018-01-31 17:36:28 +09:00
Harald Müller
66aade104d
check also for uppercase NO_PROXY env
2018-01-31 17:36:26 +09:00
Harald Müller
2271ce0aec
add method to send IQ messages without <query> element
2018-01-31 17:36:24 +09:00
Harald Müller
fda8e5cb42
respect enviroment var no_proxy
2018-01-31 17:36:22 +09:00
mattn
bd84bf7b04
Merge pull request #90 from WorksSystems/master
...
Add Subject and Thread for Chat
2018-01-31 10:27:03 +09:00
mattn
44c76a8761
Merge pull request #93 from sshikaree/master
...
Move to xml.Escape()
2017-11-13 08:53:31 +09:00
sshikaree
3e4f4a3a80
Move to xml.Escape()
2017-11-11 20:56:39 +03:00
mattn
d0cdb99fae
Merge pull request #92 from amia-as/fix/neglected-eof-error
...
Fix neglected io.EOF handling
2017-11-07 14:16:34 +09:00
Martin Hebnes Pedersen
127e75bc8b
Fix neglected io.EOF handling
...
This was probably catched in most cases after commit 9dd92e1
, but was
at best misleading as it suggested that the end of input stream signal
from xml.Decoder was intentionally ignored.
Ref mattn/go-xmpp#28
2017-11-03 13:12:33 +01:00
mattn
e69bd697cb
Merge pull request #88 from i5heu/patch-1
...
Update README.md - Add a link to the Documentation
2017-09-14 15:18:50 +09:00
i5heu
2f138678c0
Update README.md
2017-09-13 22:09:24 +02:00
mattn
e015f92cdf
Merge pull request #87 from cooox/master
...
Fix MUC NoHistory invalid XML
2017-09-11 16:18:41 +09:00
Dominik Pataky
fe382e4805
Reformat fix for MUC NoHistory
2017-09-11 09:13:11 +02:00
Dominik Pataky
7ec8e81ec3
Fix MUC NoHistory invalid XML
2017-09-10 13:15:16 +02:00
K.J. Kao
f3cf3c3b40
Add Subject and Thread for Chat
2017-06-13 18:51:37 +08:00
Yasuhiro Matsumoto
906d9d747d
don't modify DefaultConfig
2017-04-23 19:07:54 +09:00
mattn
16b6a7bdba
Merge pull request #84 from joyrex2001/master
...
Add SendKeepAlive method to send "whitespace keepalive"
2017-03-07 00:24:45 +09:00
Vincent van Dam
a74ec7bb2d
Add SendKeepAlive method to send "whitespace keepalive"
2017-03-06 15:06:43 +01:00
Yasuhiro Matsumoto
ac40267866
Merge branch 'master' of https://github.com/mattn/go-xmpp
2017-03-01 18:09:43 +09:00
Yasuhiro Matsumoto
1610c524f7
check double quote also
...
fixes #83
2017-03-01 18:09:02 +09:00
mattn
0fe2a76e77
Merge pull request #81 from froodian/auth-failure-text
...
more robust error messages for authentication failures
2017-03-01 18:08:51 +09:00
mattn
325c112042
Merge pull request #81 from froodian/auth-failure-text
...
more robust error messages for authentication failures
2017-01-28 09:53:20 +09:00
Ian Leue
18cda4524c
more robust error messages for authentication failures
2017-01-27 13:27:21 -05:00
lufia
f4550b5399
Add Chat.OtherElem member
...
Also Chat.Other member is kept as original behavior.
2016-11-21 10:25:36 +09:00
lufia
f66ee47cd9
Add a test for Recv()
2016-11-21 10:25:35 +09:00
Yasuhiro Matsumoto
02db6f5ed6
add .travis.yml
2016-11-21 10:25:22 +09:00
mattn
62f9ce3246
Merge pull request #77 from ros-tel/master
...
Auto reply on server ping-request
2016-09-09 14:33:26 +09:00
Vladimir
6265286138
Removed debug comment and extra action with an IQ query
2016-09-09 09:56:30 +05:00
Vladimir
ccac8addc9
Auto reply on server ping-request
2016-09-08 20:56:40 +05:00
mattn
e44d1877bb
Merge pull request #76 from TallaInc/improvement/information-query
...
expose information queries for custom extensions
2016-06-23 10:20:22 +09:00
james lawrence
c7af92b53b
expose information queries for custom extensions
2016-06-22 12:48:40 -04:00
mattn
aeb80ddc4d
Merge pull request #71 from TallaInc/implement-discovery
...
Implement discovery
2016-05-09 09:58:32 +09:00
James Lawrence
bacbdeb205
implement discovery extension
2016-05-06 18:45:22 -04:00
mattn
12d5633a9d
Merge pull request #70 from tcriess/master
...
Add SendPresence, add join muc with history, add function return valu…
2016-04-11 19:32:53 +09:00
mattn
0948d88dae
Merge pull request #74 from rounds/bolshoy/xmpp-ping-jid
...
Xmpp ping fixed to use the obtained jid.
2016-04-11 14:49:11 +09:00
David Bolshoy
e3871c2deb
Xmpp ping fixed to use the obtained jid.
...
Though a client function, ping does not use the client jid.
Fixed ping to use the obtained jid and configured server domain by default.
Client now exposes jid.
2016-04-10 18:47:36 +03:00
Thorsten Riess
7c0791141b
Add SendPresence, add join muc with history, add function return values in xmpp_muc
2016-02-04 08:17:25 +01:00
mattn
54cdc20727
Merge pull request #65 from da4nik/connect-fix
...
Fixed host completion in 'connect'
2016-01-17 23:51:24 +09:00
Maksim Stepanov
0e6327115f
Fixed host completion in 'connect'
2016-01-16 20:28:14 +03:00
mattn
e810b2faca
Merge pull request #64 from psilva261/recv_client_iq
...
Recv: handle clientIQ
2016-01-15 11:57:42 +09:00
Philip Silva
adbceb5dae
Recv: handle clientIQ: more terse code
2016-01-14 16:40:46 +01:00
Philip Silva
c84fc9afab
Recv: handle clientIQ
...
When sending a successful Client-To-Server Ping, one gets a Pong that looks like this:
<iq from='capulet.lit' to='juliet@capulet.lit/balcony' id='c2s1' type='result'/>
(http://xmpp.org/extensions/xep-0199.html#c2s )
2016-01-14 14:32:03 +01:00
mattn
7d83a73298
Merge pull request #63 from psilva261/ping_err_codes
...
Ping: return errors
2016-01-14 19:04:06 +09:00
Philip Silva
5197953ad4
Ping: return errors
2016-01-13 18:29:23 +01:00
mattn
089ebf9bad
Merge pull request #62 from eagafonov/master
...
Remove extra allocation of XML Decoder
2015-12-24 12:28:37 +09:00
Eugene Agafonov
9df9a5b5f9
Remove extra allocation of XML Decoder
...
XML Decoder is allocated in startStream so
it overwrites the one allocated in init()
2015-12-23 23:10:12 +00:00