aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
* Small cleanup. The max_packet_size variable doesn't seem to be readWilmer van der Gaast2010-03-17-1/+1
| | | | | anywhere, and reworked string handling in ft_listen() a little bit.
* Merging mainline.Wilmer van der Gaast2010-03-17-64/+62
|\
| * Set resource_select to activity by default since priority has always been1.2.5Wilmer van der Gaast2010-03-17-1/+1
| | | | | | | | | | a stupid default. More fixes coming up soon.
| * Oops.. Today's Jabber fix could get stuck in a somewhat infinite loop if aWilmer van der Gaast2010-03-15-17/+3
| | | | | | | | | | | | | | Jabber server returns an empty <iq type="result"/> response to the session establishment request (which is valid and actually done by the example, but my test Jabberd shows different behaviour). Fixed.
| * Don't send bind and session requests at the same time when logging inWilmer van der Gaast2010-03-14-31/+34
| | | | | | | | | | because some very picky jabberd's don't like it. (Fixes Bug #569)
| * Don't send a <?xml> stream start after starttls since it upsets certainWilmer van der Gaast2010-03-14-3/+6
| | | | | | | | | | | | jabberd's including Zimbra's. Thanks to jMCg and balzar in #bitlbee for helping with figuring this out.
| * Changed formatting of Jabber buddy info response.Wilmer van der Gaast2010-03-07-4/+5
| |
| * The Jabber part of the change. Also made representation of not-away a bitWilmer van der Gaast2010-03-06-17/+22
| | | | | | | | | | more consistent. Except for free-for-chat, which is nuts anyway.
* | No functional changes, just some style "fixes". Although I admit I'mWilmer van der Gaast2009-12-13-19/+27
| | | | | | | | | | | | | | | | | | | | somewhat growing out of my own coding style, I do try to keep things consistent at least within files. Comments are now in reviewboard: http://code.bitlbee.org/rb/r/13/
* | Merging head.Wilmer van der Gaast2009-12-07-22/+31
|\|
| * Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-1/+2
| |
| * If you can't find what you expect in an IQ packet, it doesn't mean it'sWilmer van der Gaast2009-10-17-2/+3
| | | | | | | | | | | | incorrect, so stop spamming. Ideally it should return a feature-not- implemented but I'll do that later.
| * Fixing a crash bug that causes crashes only with buggy Jabber conferenceWilmer van der Gaast2009-10-04-6/+9
| | | | | | | | | | | | servers, sending a "you left this chat" without first acknowledging you entering it.
| * Fixed a bug that caused crashes when joining certain kinds of Google TalkWilmer van der Gaast2009-06-03-2/+4
| | | | | | | | | | | | | | | | | | chatrooms. Doesn't seem to be Google Talk specific, other than that this is the first time I see empty <x xmlns="http://jabber.org/protocol/muc#user"/> elements that cause this crash. A more proper/efficient fix may be to just move the break outside the inner if.
| * Dropping warnings about unknown JIDs since they're spammy (mostly show upWilmer van der Gaast2008-12-14-4/+6
| | | | | | | | | | | | when the user logs in from mulitple locations) and the irc->debug setting shouldn't be read from inside the IM modules.
| * Adding the password to the right part of the <presence> stanza so joiningWilmer van der Gaast2008-09-28-1/+1
| | | | | | | | | | password-protected rooms *really* works.
| * Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-3/+3
| | | | | | | | | | a password in the IRC JOIN command).
| * Added SET_INVALID, which set evaluators should now return instead of NULLWilmer van der Gaast2008-08-24-3/+3
| | | | | | | | | | | | | | when the given value is not accepted. This to allow certain variables actually be set to NULL (server, for example). This should fully close #444.
* | Added conf entries and lib/ftutil.[ch].ulim2008-08-12-71/+16
| | | | | | | | | | | | | | | | | | | | ft_listen = <IP-A>:<Port-A>;<IP-B>:<Port-B> to specify listening addresses for the bitlbee<->client connection and the bitlbee<->IM peer connection, respectively. ft_max_size should be obvious. ft_max_kbps should limit the kilobits per second per transfer (not implemented yet).
* | merged in upstream r410.ulim2008-08-04-49/+94
|\| | | | | | | | | Only conflict was the correction of jabber normalization which I had already done.
| * From the department of over-engineering, now cached packet IDs are fullWilmer van der Gaast2008-06-22-19/+31
| | | | | | | | | | | | MD5 hashes instead of a known MD5 hash with a number. Just to make it harder to confuse BitlBee by sending it faked responses to packets.
| * Now preserving case in JID resources, and handling them with case sensitivityWilmer van der Gaast2008-06-22-15/+18
| | | | | | | | | | | | | | since apparently that's how the RFC wants it. (While the rest of the JID should be case IN-sensitive. Consistency is hard to find these days...) Also extended the unittests a little bit. Closes #422.
| * Added jabber_util unittests (buddy_add/_by_jid only ATM).Wilmer van der Gaast2008-06-22-1/+3
| |
| * Using a port list instead of a single range for the allowed Jabber portWilmer van der Gaast2008-06-15-9/+27
| | | | | | | | | | numbers, adding 80 and 443. Partially closes #265.
| * Added parsing of Jabber chatroom invitations.Wilmer van der Gaast2008-06-15-0/+17
| |
* | moved some stuff around in preperation for MSN merge.ulim2008-08-04-22/+19
| | | | | | | | | | | | * both ends (proto&dcc) need to finish a transfer now for it to be finished * moved throughput calc. and some messages to dcc (no need to implement in protocols)
* | Added an account setting 'proxy'.ulim2008-07-22-32/+93
| | | | | | | | | | | | | | | | | | | | Note that this is only used for sending. The default <local>;<auto> means let the receiver try a direct connection first and then the proxy discovered from the server (if any). If you know you're firewalled you can remove the <local>. If you want to provide your own proxy try something like "<local>;JID,HOST,PORT". E.g. "<local>;proxy.somewhere.org,123.123.123.123,7777".
* | added a #define for AI_NUMERICSERV in s5bytestream.c (missing in ulibc).ulim2008-06-02-0/+4
| |
* | Added textual SOCKS5 error messages.ulim2008-06-02-2/+21
| |
* | some changes for sending.ulim2008-05-10-10/+102
| | | | | | | | | | | | * not only query but also respect peer's features (i.e. abort ft if an important feature is not advertised) * wait for proxy discovery to complete before starting the transfer (important for sending to people with auto accept)
* | fix bug in new kb/s display for transfers of less than one second.ulim2008-05-07-1/+1
| |
* | timeout of transfers after 120 seconds of no progress (bytes received/sent).ulim2008-05-06-1/+2
| |
* | SOCKS5 bytestream related changes.ulim2008-05-06-4/+22
| | | | | | | | | | | | * allow the SOCKS5 server to not include the pseudo address in its reply(including it is an rfc-style SHOULD in XEP-0065) * ignore if the SOCKS5 server's reply is too short (as is the one from the jabber.cz proxy [apparently using the proxy65 code])
* | ulibc support, fixes "Invalid SOCKS5 Connect message" problemulim2008-05-04-3/+18
| |
* | merged in upstream r379 (somewhere after 1.2-3).ulim2008-04-14-702/+63
|\| | | | | | | | | Just one trivial conflict in the jabber Makefile, went smoothly.
| * query.h now defines a callback function type, not using void* for it anymore.Wilmer van der Gaast2008-04-05-2/+6
| | | | | | | | | | | | Got rid of the bogus window handler pointer as the first argument to the callback.
| * Fixed stalling issue with OpenSSL and Jabber (#368).Wilmer van der Gaast2008-03-23-2/+7
| |
| * Fixed cached_id_prefix memory leak.Wilmer van der Gaast2008-03-16-0/+1
| |
| * Moved xmltree handlers initialization to xt_new().Wilmer van der Gaast2008-02-16-2/+1
| |
| * Moved xmltree to lib/ because I want to use it from more than just theWilmer van der Gaast2008-02-16-687/+1
| | | | | | | | | | Jabber module.
| * Added callback on Jabber add-to-roster requests so buddies get added to theWilmer van der Gaast2008-02-16-1/+26
| | | | | | | | | | | | | | internal buddy list a little bit earlier. This should deal better with Jabber servers that send presence information of a new buddy before the roster push.
| * Merge from Jelmer.Wilmer van der Gaast2008-02-16-1/+1
| |\
| | * Fix lcov dependencies.Jelmer Vernooij2008-02-16-1/+1
| | |
| * | Improved sasl_get_part() to deal with whitespace in challenge strings, asWilmer van der Gaast2008-02-16-7/+20
| | | | | | | | | | | | | | | described in RFC 2831 secion 7.1 (the #rule description). Closes bug #362.
* | | more verbose error loggingulim2008-04-14-5/+6
| | |
* | | some fixes related to connection timeoutulim2008-02-20-3/+21
| | |
* | | Removes the word "dcc" from 2 comments and one message. Thanks to vmiklos ↵ulim2008-02-17-1/+1
| | | | | | | | | | | | for this!
* | | Merged with upstream r328ulim2008-02-15-66/+178
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2008-02-11 Got rid of some noise at startup: complaining when the default configuration Wilmer van der Gaast 2008-02-10 Added support for password-protected Jabber chatrooms. Wilmer van der Gaast 2008-02-10 Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD and Wilmer van der Gaast 2008-02-09 Restored "add -tmp". A bit hackish, but it will do for now. Wilmer van der Gaast 2008-02-07 Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks to Wilmer van der Gaast 2008-02-04 Added bogus G_GNUC_MALLOC to restore GLib 2.4 compatibility (hopefully). Wilmer van der Gaast 2008-02-03 Messages from the user are also included in backlogs when joining a Jabber Wilmer van der Gaast 2008-02-03 Disabling "Unknown command" warnings since they're very noisy and pretty Wilmer van der Gaast 2008-02-03 Implemented XEP-0115. This adds some info to the <presence/> tags so Wilmer van der Gaast 2008-02-03 Saner garbage collection of cached packets in the Jabber module. Now Wilmer van der Gaast 2008-02-02 Added help_free() and cleaned up some very stale help-related stuff I Wilmer van der Gaast 2008-01-30 Fixed handling of OSCAR multi-part messages... They're not arrays, they're Wilmer van der Gaast 2008-01-24 Keeping track of valid Jabber connections so _connected() events will be Wilmer van der Gaast 2008-01-24 Fixed two valgrind warnings (partially uninitialized "struct tm" vars.) Wilmer van der Gaast 2008-01-20 The Jabber module now uses imcb_chat_log() instead of imcb_log() where Wilmer van der Gaast 2008-01-20 Added imcb_chat_log() for chatroom system messages, so they can be Wilmer van der Gaast 2008-01-20 GET_BUDDY_FIRST wasn't actually implemented, even though it was in use Wilmer van der Gaast 2008-01-19 Using test -f instead of test -e. This breaks if the include files are Wilmer van der Gaast 2008-01-19 Added byte swapping code to the new MD5 checksumming code to make it work Wilmer van der Gaast 2008-01-18 Moving imcb_chat_new() to a saner location (no code changes) and fixing Wilmer van der Gaast 2008-01-17 Apparently ext_yahoo_got_im can be called with msg=NULL, so it should be Wilmer van der Gaast 2008-01-17 Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts Wilmer van der Gaast 2008-01-13 Fixed handing of failed groupchat joins. Wilmer van der Gaast 2008-01-13 Fixed "Conditional jump or move depends on uninitialised value(s)" at Wilmer van der Gaast 2008-01-13 Fixed quickstart2. (Bug #349.) Wilmer van der Gaast 2008-01-13 Different handling of charset mismatches before login time. Ignoring a Wilmer van der Gaast 2008-01-12 When a switchboard connection dies (at the TCP level) and there are still Wilmer van der Gaast 2008-01-12 Killed info_string_append() and now showing the IP address of ICQ users Wilmer van der Gaast 2008-01-11 Fixing bug #344, now away states should always be correct, even when people Wilmer van der Gaast 2008-01-11 Adding own handle to protocol name in blist output for people with multiple Wilmer van der Gaast 2008-01-10 Now setting odata->icq properly again, this got lost some time ago, which Wilmer van der Gaast 2008-01-06 More consistency in error/warning errors. Until now "WARNING:" was usually Wilmer van der Gaast 2008-01-06 Changed warning message about unsent MSN messages. It should show the actual Wilmer van der Gaast 2008-01-05 Added "mail_notifications" setting. Who needs those notifications anyway? Wilmer van der Gaast 2008-01-05 Build fix from vmiklos. Wilmer van der Gaast 2008-01-05 Added handling of MSN switchboard NAK messages. Untested, but hey, it Wilmer van der Gaast 2008-01-05 Removed closure->result. I was planning to add some more stuff, but will Miklos Vajna 2007-12-31 encode: md5.c is no longer in protocols/, it's in lib/ Wilmer van der Gaast 2007-12-28 Fixed return value check in proxy_connect(), since on some systems Wilmer van der Gaast 2007-12-28 Added missing return in jabber_login(). Wilmer van der Gaast 2007-12-16 Implemented XEP-0199 (patch from misc@mandriva.org). Wilmer van der Gaast 2007-12-12 Checking conn->xcred before trying to clean it up since GnuTLS doesn't Wilmer van der Gaast 2007-12-12 Killed the <server> parameter to "account add" and changed the default Wilmer van der Gaast 2007-12-12 Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU Wilmer van der Gaast 2007-12-10 Don't allow nicks that start with a number. Wilmer van der Gaast 2007-12-10 Fixed "set xxx" syntax (it showed all settings instead of just xxx). Wilmer van der Gaast 2007-12-09 If I keep forgetting to credit people in commit msgs I should probably add Wilmer van der Gaast 2007-12-09 Added /invite support for Jabber chatrooms (and fixed the argument order
| * | Added support for password-protected Jabber chatrooms.Wilmer van der Gaast2008-02-10-0/+2
| | |
| * | Messages from the user are also included in backlogs when joining a JabberWilmer van der Gaast2008-02-03-7/+16
| | | | | | | | | | | | | | | | | | chatroom. Until now they were ignored, which might make backlogs a little bit confusing.