Commit Graph

130 Commits

Author SHA1 Message Date
Teoman Soygul
d03bc801da add send/sendorg return values 2014-11-15 19:43:43 +01:00
mattn
9fe31adf02 Merge pull request #40 from soygul/patch-1
fix DefaultConfig.ServerName not set when func NewClient(host...) is used
2014-11-10 12:27:46 +09:00
Teoman Soygul
61f20ce1de fix DefaultConfig.ServerName not set when func NewClient(host...) is used 2014-11-09 14:51:33 +01:00
mattn
08299587ec Merge pull request #37 from mgottschlag/skip-verify-hostname
Only check the certificate's host name if InsecureSkipVerify is not set.
2014-10-31 10:14:10 +09:00
Mathias Gottschlag
1ff5be0d01 Only check the certificate's host name if InsecureSkipVerify is not set. 2014-10-30 23:45:15 +01:00
mattn
7a8cf41551 Merge pull request #36 from swdunlop/master
add STARTTLS support to go-xmpp
2014-10-29 10:37:16 +09:00
Scott Dunlop
1f559fafde add STARTTLS support to TCP connections
- Add InsecureAllowUnencryptedAuth to options; go-xmpp will not leak
authentication in plaintext over TCP connections (breaks compatibility
with previous versions, slightly.)
fails.
- Add StartTLS to options; go-xmpp will use STARTTLS if the server
requires it or the user requests it.
- Add IsEncrypted method so sensitive clients can check if the
connection is TLS encrypted.
2014-10-28 16:32:19 -07:00
Scott Dunlop
ebd519cbfe Merge pull request #1 from mattn/master
catch up to upstream mattn/go-xmpp
2014-10-28 14:44:33 -07:00
mattn
ac5d015101 Merge pull request #34 from crackcomm/master
Status and status message options
2014-10-06 12:25:55 +09:00
crackcomm
aa9390a115 Status and status message 2014-10-04 18:29:19 +02:00
crackcomm
c9bbe151b2 Status message option 2014-10-04 18:22:05 +02:00
mattn
f402673c8c Fix examples 2014-09-17 12:35:47 +09:00
Gabriel Guzman
748282a14a Remove a declared variable that isn't used. So the library will compile again. 2014-09-17 12:27:55 +09:00
mattn
15989a19c3 mv 2014-09-17 12:27:06 +09:00
mattn
aa27e3ee45 Merge pull request #32 from hoffoo/master
TLSConfig in Options
2014-09-17 12:26:31 +09:00
mattn
91047d400c Merge branch 'master' of https://github.com/mattn/go-xmpp 2014-09-17 09:11:38 +09:00
mattn
11887e6acb Merge pull request #31 from max107/anonymous
Add anonymous auth via empty User and Password
2014-09-15 16:36:31 +09:00
Marin
f06f19e121 moved to Options instead of NewClient 2014-09-14 23:24:02 -07:00
Marin
41fd432f88 optional TLS config 2014-09-14 23:15:56 -07:00
Falaleev Maxim
0fd114068f Add anonymous auth 2014-09-15 10:12:12 +04:00
mattn
9276abaad9 Merge pull request #30 from ir4y/master
Ejabberd compatibility
2014-04-23 02:27:39 +09:00
Ilya Beda
8a08b956bb Ejabberd compatibility
Add unique cookie for iq requests
Add session parameter
2014-04-23 00:05:35 +08:00
mattn
f467ba7632 Merge pull request #29 from martinbonnin/master
fix digest-md5 with some ejabberd server
2014-04-17 01:14:45 +09:00
Martin Bonnin
e71f933d7c fix digest-md5 with some ejabberd server
* it looke like some response parameters need to be quoted
* so quote username, realm, nonce, etc, ... as in http://tools.ietf.org/html/rfc3920#ref-SASL
2014-04-16 17:25:20 +02:00
mattn
8da045a9e5 Merge pull request #27 from specode/master
fix bug
2013-11-04 19:03:10 -08:00
Specode
8a80c8abe3 fix bug 2013-11-05 10:03:26 +08:00
mattn
bb0e2d84ea Merge pull request #26 from specode/master
fix some error handling
2013-11-04 16:37:12 -08:00
Specode
b67dc40516 fix some error handling 2013-11-04 15:13:55 +08:00
mattn
fd49820bf5 Merge pull request #24 from specode/master
clientMessage add ",any" tag, use for hasn't matched element
2013-10-30 16:46:08 -07:00
Specode
64821d5df9 clientMessage add ",any" tag, use for hasn't matched element 2013-10-30 17:14:11 +08:00
Specode
cbdf478ba7 clientMessage add ",any" tag, use for hasn't matched element 2013-10-30 17:13:02 +08:00
mattn
73e63850ab Merge pull request #22 from specode/master
fix example
2013-10-20 20:41:32 -07:00
Specode
ba140e5eb7 fix example 2013-10-21 03:07:59 +00:00
mattn
12d98ae2dc Merge pull request #21 from specode/master
add debug options
2013-10-18 04:18:14 -07:00
Specode
c88c22763a add SendOrg for send origin text 2013-10-18 15:52:01 +08:00
Specode
af110491a0 add debug options 2013-10-18 15:49:41 +08:00
pharrisee
c3ac597871 Create README.md 2013-09-13 12:30:32 +09:00
mattn
700abb7449 Merge pull request #20 from swdunlop/master
Add Options structure to consolidate NewClient arguments, and add Resource binding
2013-08-12 17:08:09 -07:00
Scott Dunlop
7c9260e5a0 added the normal arguments to NewClient to Options and made that a central entrypoint for creating new clients 2013-08-12 16:04:39 -07:00
Scott Dunlop
5e57ac52f9 added Options to NewClient, and Resource binding to Options 2013-08-12 15:33:50 -07:00
mattn
52f561e157 Fix example 2013-05-14 19:24:46 -07:00
mattn
4a4cac6dfc Support NoTLS, DIGEST-MD5 2013-05-14 19:24:35 -07:00
mattn
26e35d5504 fix gui. 2013-02-12 12:47:23 +09:00
mattn
53846d1e34 fixed #17 2013-02-12 10:43:33 +09:00
mattn
df87efc875 Merge pull request #16 from sushimako/master
Jid in bindBind was not unmarshalled due to missing xml-spec
2013-01-19 04:03:58 -08:00
Flo Lauber
75752790eb add first simple version of MUC (xep-0045) support 2013-01-18 19:53:38 -05:00
Flo Lauber
52c3f1b710 use Chat.type in <message/>'s type attr in Send()
Otherwise client.Send(..) cannot be used for MUC 'groupchat' messages.
This might break code, if you're not setting `Chat`'s type slot and rely
on `client.Send` set it to 'chat' by default
2013-01-18 19:49:47 -05:00
Flo Lauber
1e9dc674d1 return Presence messages in Recv 2013-01-18 19:48:50 -05:00
Flo Lauber
99516ec31f add xml-specifier for Jid in type bindBind 2013-01-18 19:14:09 -05:00
mattn
df2ef04578 fix gui. 2012-12-07 20:16:09 +09:00