Commit Graph

119 Commits

Author SHA1 Message Date
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
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
mattn
404638fb3d Merge pull request #53 from Like-all/master
Subscription handling
2015-04-14 09:11:45 +09:00
Like-all
874e70e091 Subscription handling 2015-04-13 23:41:49 +03: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
a1c1069091 if username or password are specified, don't assume anonymous in example.go 2015-04-12 22:18:06 -07:00
James Andariese
e8c25dcffe attempt anonymous only when logging in without JID and password 2015-04-12 22:12:16 -07:00
mattn
cc56ae0810 Merge pull request #51 from kovetskiy/master
fix eternal cycle with malicious xml packet
2015-04-10 18:48:33 +09: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
mattn
8b13d0ad77 Merge pull request #50 from Like-all/master
XEP-0199: XMPP Ping
2015-02-02 23:47:07 +09:00
Like-all
70ac466680 xmpp-ping added 2015-01-31 16:00:30 +02:00
mattn
37dcc8bfca Merge pull request #49 from ThomasBS/master
Add ability to send message as html
2015-01-12 23:10:16 +09:00
ThomasBS
58077b314a Add ability to send message as html 2015-01-11 03:43:24 +01:00
mattn
4e8e43b7ca Merge pull request #47 from nbusy/master
Add doc clarifications
2014-12-31 23:11:41 +09: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
mattn
c0f9b41b3d Merge pull request #46 from nbusy/golint
golint/gofmt the code
2014-12-14 00:13:33 +09:00
Teoman Soygul
0655f5913b golint/gofmt the code 2014-12-13 15:28:57 +01:00
mattn
0a3375a6ad Merge pull request #45 from seletskiy/master
do not crash on failed connect
2014-12-11 20:01:24 +09:00
Stanislav Seletskiy
a60980a550 do not crash on failed connect 2014-12-11 16:49:54 +06:00
mattn
98a0431d5b Merge pull request #44 from tanuva/master
Add ability to join password protected chat rooms
2014-12-04 10:26:39 +09:00
Marcel Brüggebors
7568e71728 Add ability to join password protected chat rooms 2014-12-03 20:23:22 +01:00
mattn
846b8175da Merge pull request #42 from seletskiy/master
Nickname can be specified when joining MUC
2014-11-27 01:46:44 +09:00
Stanislav Seletskiy
477ccf01f6 Nickname can be specified when joining MUC
Client.JoinMUC now accept second argument as nickname.
2014-11-26 18:34:13 +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
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