Commit Graph

129 Commits

Author SHA1 Message Date
Matt Goodall 0d9f3a4de5 Improve error message format. 2017-03-30 20:56:11 +01:00
Matt Goodall 19c81df5d6 Simplify. Remove unused/unreachable code. 2017-03-30 20:53:36 +01:00
Matt Goodall 9a399bd692 Fix log message. 2017-03-30 20:40:06 +01:00
Matt Goodall 29a325f2ae Merge pull request #7 from chteufleur/master 2017-03-30 20:04:24 +01:00
Chteufleur 6465ebd169 go fmt 2017-03-21 22:21:01 +01:00
Chteufleur 2d4531739a Fix typo. 2017-03-21 22:19:01 +01:00
Chteufleur b32173d11e Fix typo on Confirm message. 2017-03-21 22:18:23 +01:00
Chteufleur 3125d02cf6 Remove useless function that already exist in strings pakage. 2017-03-21 22:17:01 +01:00
Chteufleur 5cfc61169b Fix a small bug introduced in lang support. 2016-11-14 17:43:04 +01:00
Chteufleur 4df4e9cec2 Add support for multi body in message with lang definition. 2016-11-13 20:25:47 +01:00
Chteufleur 0490e0a087 Add support of Remote Roster Manager (XEP-0321). 2016-10-05 21:26:42 +02:00
Chteufleur 7d5b58fc8d Add support of ping (XEP-0199). 2016-10-05 21:24:36 +02:00
Chteufleur e4acd3d349 Add Close method on *XMPP. 2016-10-05 21:23:56 +02:00
Chteufleur 0aac61b1cc Add error forbidden. 2016-10-05 21:22:32 +02:00
Chteufleur f1443ca444 Change position of close XMPP receiver log. 2016-09-18 07:38:18 +02:00
Chteufleur eccf505942 Add In-Band Registration support. 2016-09-15 09:33:54 +02:00
Chteufleur a52f910d62 Add code error in Error struct. 2016-09-15 09:33:21 +02:00
Chteufleur dacdc4ac04 Add support for chatstates notification (XEP-0085) 2016-09-04 14:52:07 +02:00
Chteufleur 97363908e1 Remove all log.Fatal() that make exit(1) any application that use this lib. 2016-09-04 14:49:59 +02:00
Chteufleur 6859516f81 Add log when threads « sender » and « receiver » end. 2016-08-20 22:43:20 +02:00
Chteufleur 72135514fc Fix certificat domain check in case of SRV 2016-08-15 22:37:28 +02:00
chteufleur 476e0d7ddb Merge branch 'master' of louiz/go-xmpp into master 2016-08-11 11:46:04 +02:00
louiz’ 8b007c8bc8 Add text-private in the possible ad-hoc field types 2016-08-11 11:29:41 +02:00
louiz’ d4c5b8f4da Rename the ad-hoc status “execute” into “executing”
From http://xmpp.org/extensions/xep-0050.html#desc-command only “executing”
is valid.
2016-08-11 11:28:46 +02:00
Chteufleur 30ec9e14fb [fix] Add domain name in Stream to get TLS working 2016-07-23 11:59:21 +02:00
Chteufleur d90f7642e3 Add not authorized error condition 2016-07-23 11:58:03 +02:00
Chteufleur 3f618b50f5 Add message type and error condition 2016-07-18 20:12:28 +02:00
Chteufleur 5b2aa0c077 Replace URL namespace in an ugly way to avoid unmarshal error 2016-07-18 18:18:18 +02:00
Chteufleur 934c81ee39 Add implementation of xep-0070 2016-06-20 21:28:11 +02:00
Chteufleur da8d105154 Fix missing change in disco 2016-05-18 22:27:03 +02:00
Chteufleur 23e93d518b Fix typo 2016-05-18 19:13:27 +02:00
Chteufleur 8f21af2b45 Add vcard support 2016-04-20 22:24:38 +02:00
Chteufleur e0e253ce4b Add Ad-Hoc command 2016-04-20 22:19:59 +02:00
Chteufleur e82f10fe48 Add XEP-0092 (Software version) 2016-04-20 22:16:31 +02:00
Chteufleur f7b1e7ecb2 Add params for presence and disco info
- Add Show, Status, Photo and Nick into presence stanza
 - Add Node attribute into DiscoInfo payload
2016-04-20 22:10:37 +02:00
Matt Goodall 160d4cd390 Add license (MIT). 2016-04-16 23:32:10 +01:00
Matt Goodall 0daeeda190 Report and exit on unexpected error. 2013-04-23 09:16:08 +01:00
Matt Goodall 40fc5bc2ad go fmt 2013-04-22 10:17:33 +01:00
Matt Goodall 001fb31173 Simple producer + user/component consumer throughput test. 2013-04-19 12:45:27 +01:00
Matt Goodall 35be3433e5 Relax error checking for home server lookup to handle localhost, etc. 2013-04-19 12:45:27 +01:00
Matt Goodall 1cd15d7297 Quick README. 2012-07-20 15:13:42 +01:00
Matt Goodall 541db6d37c Unindent overview docs. 2012-07-20 15:05:04 +01:00
Matt Goodall 8bb5c81347 Implement XMPP closing. 2012-07-18 16:30:44 +01:00
Matt Goodall 703012bbb5 Initial Disco support.
Clients get the nice Disco type to use, components will probably just
use the other types to build <iq/> responses.
2012-07-18 12:14:20 +01:00
Matt Goodall 9ba9dcbe86 go fix. Clearly, I need to run this more often ;) 2012-07-18 11:40:36 +01:00
Matt Goodall 82015bcab4 Collect and consolidate namespaces. 2012-07-18 11:36:59 +01:00
Matt Goodall f9302660b0 Convenient method for creating an Iq response. 2012-07-18 11:22:59 +01:00
Matt Goodall 438164a9d9 Better/correct Error type.
XMPP errors are a real pain - they have up to 3 elements. 2 are
XMPP-specific and have one of two namespaces, the other is application
specific. Go's xml package is good, but it's not that good!

So, I've had to handle the error data as a generic Payload string attr
and provide methods for retrieving the bits as conveniently as possible.

Note: there's no application-specific error data yet but it should slot
in ok now.
2012-07-18 11:22:59 +01:00
Matt Goodall dde0afb688 Document more of the XMPP API. 2012-07-18 11:22:59 +01:00
Matt Goodall c1da50ce26 Organise code into better logical groups. 2012-07-18 11:22:59 +01:00