Commit Graph

258 Commits

Author SHA1 Message Date
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
mattn
9aeb3722bf Merge pull request #61 from silvolu/fix-sasl-failure
Use 'any' to read cause of sasl failure.
2015-12-08 11:11:44 +09:00
Silvano Luciani
188e3f03c7 Use 'any' to read cause of sasl failure. 2015-12-07 13:34:52 -08:00
mattn
d86062634d Merge pull request #59 from chteufleur/PresenceStatus
Add Status into Presence struct
2015-10-16 23:54:03 +09:00
chteufleur
637503f492 Do a go fmt 2015-10-16 16:24:54 +02:00
chteufleur
6618fc47ca Add Status into Presence struct 2015-10-16 13:01:30 +02:00
mattn
84b9ced4e9 Merge pull request #58 from skiz/master
Add OAuth2 support & Use provided host for certificate verification
2015-09-18 08:48:07 +09:00
Joshua Martin
88f429802e Add OAuth2 support
Use provided host for certificate verification

Remove redundant ANONYMOUS mechanism support
2015-09-17 10:43:05 -07:00
mattn
222c8f8fd0 Merge pull request #56 from dullgiulio/govet
Remove unreacheable panics
2015-05-22 17:05:45 +09:00
Giulio Iotti
5f7c3b14b0 Remove unreacheable panics 2015-05-22 07:42:43 +00:00
mattn
b5c8af17a7 Merge pull request #55 from ordbogen/master
Include delay in chats
2015-05-17 08:48:20 +09:00
Thomas
02e423485e Fetch latest changes 2015-05-17 00:53:09 +02:00