Commit Graph

257 Commits

Author SHA1 Message Date
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
mattn
d92790f748 Merge pull request #14 from gatlin/master
Fixed an unmarshalling issue
2012-06-17 17:24:07 -07:00
Gatlin C Johnson
cb6591b513 similar fixes for presence 2012-06-16 21:47:48 -05:00
Gatlin C Johnson
1dd8c2eeac fixed the xml tag unmarshalling for client messages 2012-06-16 14:39:22 -05:00
deboon
a25b82d0a4 It should fix #11 issue 2012-05-21 13:23:18 +04:00
mattn
e4e8b7448c Merge branch 'master' of github.com:mattn/go-xmpp 2012-05-15 21:29:41 +09:00
mattn
e7715f9f21 remove needless Makefile. 2012-05-15 21:27:46 +09:00
mattn
2ec48a2db6 fix example-gui. 2012-04-04 01:46:21 +09:00
mattn
f8ce0ead60 fix parsing xml. 2012-04-04 01:46:01 +09:00
mattn
f482858a52 go fix. 2012-02-09 14:44:44 +09:00
mattn
4201b13e32 gofix. 2011-11-09 23:18:51 +09:00
mattn
0a0f20b95e use Stdin. 2011-11-04 22:40:10 +09:00
Graham Miller
b6a67e2320 port to r60.1 2011-09-28 15:26:19 -04:00
mattn
4ddb93ef9d add gui example. 2011-07-12 22:03:21 +09:00
mattn
fc3904b3a3 Merge commit '7ff519ae8cc28bebbd35' 2011-07-06 09:12:50 +09:00
mattn
514bb10a8e follow tip. 2011-06-28 10:53:36 +09:00
mattn
7f4668977b follow tip. 2011-06-28 10:53:04 +09:00
mattn
986d7a0046 loop 2011-06-27 16:36:36 +09:00
mattn
2644d2a47e follow tip. 2011-06-27 16:36:11 +09:00
mattn
c922a1691f change for upstream. 2011-05-18 09:31:47 +09:00
mattn
19a383f5b4 Merge pull request #3 from intellectronica/master
Update to make XML unmarshaling work.
2011-05-17 17:31:04 -07:00
Tom Berger
17fe2a046a Use addressable values for things we want the XML parser to unmarshal. 2011-05-18 00:51:59 +01:00
mattn
094f05fb75 don't use reflect. element in map[string]interface{} don't have type enough to reflecting value/type/construct. 2011-05-11 15:11:14 +09:00
Kissaki
7ff519ae8c example now allows passing of server to connect to as argument\nrm line ending space 2011-05-10 16:57:36 +02:00