aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
* Killed the last str*cmp(xml_find_attr) combos.Wilmer van der Gaast2010-03-21-16/+26
|
* xt_status functions should always return an XT_ status, it's not a boolean.Wilmer van der Gaast2010-03-21-5/+5
|
* Read the from attribute from the main stanza, not the inside query. AlsoWilmer van der Gaast2010-03-21-2/+3
| | | | | fixing another potential NULL pointer dereference.
* Some compiler warning fixes and renamed "transfers" command to justWilmer van der Gaast2010-03-18-11/+12
| | | | | "transfer" since all root commands are singular so far.
* More small fixes. (NULL derefs and s/close/disconnect/)Wilmer van der Gaast2010-03-18-5/+8
|
* Ouch, committing stuff without even checking if it compiles is bad style.Wilmer van der Gaast2010-03-17-2/+2
| | | | | :-)
* Avoid some NULL pointer dereferences on malformed XMPP packets.Wilmer van der Gaast2010-03-17-17/+24
|
* 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
| | |