Silvano Luciani
188e3f03c7
Use 'any' to read cause of sasl failure.
2015-12-07 13:34:52 -08: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
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
Thomas
02e423485e
Fetch latest changes
2015-05-17 00:53:09 +02:00
mattn
c8c5371616
Merge pull request #52 from jamesandariese/master
...
ANONYMOUS auth by default if user and password are empty.
2015-05-13 17:33:29 +09:00
Yasuhiro Matsumoto
0c0c98633c
handle clientQuery
2015-04-16 20:35:08 +09:00
Yasuhiro Matsumoto
861872c8db
Add Roster()
2015-04-16 20:30:36 +09:00
James Andariese
9c349bcc3f
Default change to InsecureSkipVerify removed
...
Slipped through. This is definitely not a good default for most people.
2015-04-13 07:50:54 -07:00
James Andariese
6c1f4b23f8
follow up from comment from mattn
...
s/found_anonymous/foundAnonymous/g
2015-04-12 22:28:30 -07:00
James Andariese
e8c25dcffe
attempt anonymous only when logging in without JID and password
2015-04-12 22:12:16 -07:00
Egor Kovetskiy
9dd92e1247
fix eternal cycle with malicious xml packet
2015-04-10 15:30:57 +06:00
Thomas B Homburg
09fb80afad
Include delay in chats
2015-02-06 23:16:32 +01:00
ThomasBS
58077b314a
Add ability to send message as html
2015-01-11 03:43:24 +01:00
Teoman Soygul
050bbf66bd
some formatting
2014-12-30 01:53:23 +01:00
Teoman Soygul
0d259f5448
add doc clarifications
2014-12-29 01:16:23 +01:00
Teoman Soygul
0655f5913b
golint/gofmt the code
2014-12-13 15:28:57 +01:00
Stanislav Seletskiy
a60980a550
do not crash on failed connect
2014-12-11 16:49:54 +06:00
mattn
15ac96c029
Merge pull request #41 from soygul/master
...
Add send/sendorg return values
2014-11-17 00:00:55 +09:00
Teoman Soygul
d03bc801da
add send/sendorg return values
2014-11-15 19:43:43 +01:00
Teoman Soygul
61f20ce1de
fix DefaultConfig.ServerName not set when func NewClient(host...) is used
2014-11-09 14:51:33 +01:00
Mathias Gottschlag
1ff5be0d01
Only check the certificate's host name if InsecureSkipVerify is not set.
2014-10-30 23:45:15 +01: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
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
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
aa27e3ee45
Merge pull request #32 from hoffoo/master
...
TLSConfig in Options
2014-09-17 12:26: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
Ilya Beda
8a08b956bb
Ejabberd compatibility
...
Add unique cookie for iq requests
Add session parameter
2014-04-23 00:05:35 +08: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
Specode
8a80c8abe3
fix bug
2013-11-05 10:03:26 +08:00
Specode
b67dc40516
fix some error handling
2013-11-04 15:13:55 +08: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
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
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
4a4cac6dfc
Support NoTLS, DIGEST-MD5
2013-05-14 19:24:35 -07: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
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
f8ce0ead60
fix parsing xml.
2012-04-04 01:46:01 +09:00