Commit Graph

179 Commits

Author SHA1 Message Date
Jesse Kuang
a79a0e59ef remove GNUmakefile .gitignore
mv new example.go to other repo
2019-01-11 23:22:15 +08:00
Jesse Kuang
5709ddefa8 move IQ stuff to xmpp_get_info and example 2019-01-11 11:20:54 +08:00
Jesse Kuang
51b558cd2c add urn:xmpp:time; now response jabber GetInfo 2019-01-10 23:36:50 +08:00
Jesse Kuang
66c008d798 add iq:version, iq:last 2019-01-10 22:53:01 +08:00
Jesse Kuang
224305b3ef test with local prosody without conferenc 2019-01-10 20:43:44 +08:00
Jesse Kuang
1e7b50b41c add conference support 2019-01-10 14:46:50 +08:00
Jesse Kuang
c18873b880 fix query roster
process subscription="remove" roster
improve roster process
2019-01-10 10:12:39 +08:00
Jesse Kuang
2c5079ea28 fix param of tlsconn.VerifyHostname 2019-01-09 15:35:32 +08:00
Jesse Kuang
113d9c0420 implement DNS SRV lookup 2019-01-09 13:52:43 +08:00
Yasuhiro Matsumoto
e543ad3fcd
go fmt 2018-05-05 20:33:05 +09:00
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