aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
* 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.
* 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
|
* 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.
* | 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.
* | Implemented XEP-0115. This adds some info to the <presence/> tags soWilmer van der Gaast2008-02-03-3/+35
| | | | | | | | | | | | clients interested in capabilities can cache discovery info, so they don't have to ask about it every time you/they log in.
* | Saner garbage collection of cached packets in the Jabber module. NowWilmer van der Gaast2008-02-03-10/+11
| | | | | | | | | | | | cached packets are removed after about ten minues instead of something between one and two minutes. Closes one issue in #354.
* | Keeping track of valid Jabber connections so _connected() events will beWilmer van der Gaast2008-01-24-1/+20
| | | | | | | | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
* | The Jabber module now uses imcb_chat_log() instead of imcb_log() whereWilmer van der Gaast2008-01-20-5/+41
| | | | | | | | | | possible.
* | GET_BUDDY_FIRST wasn't actually implemented, even though it was in useWilmer van der Gaast2008-01-20-7/+19
| | | | | | | | | | already. I don't want to know how long it took me to find out...
* | Fixed handing of failed groupchat joins.Wilmer van der Gaast2008-01-13-6/+5
| |
* | Fixed "Conditional jump or move depends on uninitialised value(s)" atWilmer van der Gaast2008-01-13-1/+1
| | | | | | | | | | jabber_pkt_presence (presence.c:174). Valgrind-Wilmer: 1-0.
* | Fixing bug #344, now away states should always be correct, even when peopleWilmer van der Gaast2008-01-11-19/+19
|/ | | | | | do complicated things with multiple resources. (There were two bugs and some duplicated code, so I moved things around a bit.)
* More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-9/+9
| | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
* Added missing return in jabber_login().Wilmer van der Gaast2007-12-28-0/+2
|
* Implemented XEP-0199 (patch from misc@mandriva.org).Wilmer van der Gaast2007-12-16-1/+12
|
* Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-2/+2
| | | | | usage bug.
* Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-1/+37
| | | | | to chat_invite).
* Fixing jabber_login/_logout for better (non-crashing) cleanup on earlyWilmer van der Gaast2007-12-04-2/+6
| | | | | connect failure.
* Forgot to return something in jabber_chat_join_failed().Wilmer van der Gaast2007-12-02-3/+3
|
* Handling of presence-error packets (only useful for groupchats now), movedWilmer van der Gaast2007-12-02-29/+57
| | | | | | jabber_chat_by_jid() (with the right name) to conference.c, I don't know what it was doing in jabber_util.c.
* Removed retarded printf() (ARGH) and moved the event handling handling ofWilmer van der Gaast2007-12-02-20/+32
| | | | | IQ packets to jabber_util so I can reuse it for certain presence packets.
* Added some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-3/+35
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* (Hopefully) fixing one case where the Jabber module doesn't understand aWilmer van der Gaast2007-11-24-2/+8
| | | | | | <presence type=unavailable> tag properly and keeps showing the buddy as on-line. (When the tag comes from a bare JID.)
* Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-5/+6
| | | | | I ever need SHA256 ;-)).
* Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-1/+37
|
* Merging from devel/Jelmer.Wilmer van der Gaast2007-11-14-14/+2
|\
| * Removed some debugging stuff that shouldn't have been here for a long timeWilmer van der Gaast2007-11-14-14/+2
| | | | | | | | | | already.
* | Added "xmlconsole" setting so it can be enabled at login time already.Wilmer van der Gaast2007-11-14-0/+11
| |
* | Merge from devel.Wilmer van der Gaast2007-10-12-3/+4
|\|
| * Merge from Jelmer (making GCC4 happy by sanitizing some typecasting messWilmer van der Gaast2007-07-15-3/+4
| |\ | | | | | | | | | | | | around the RC4/B64 code).
| | * Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-3/+4
| | |
* | | Not trying to handle typing notifications from unknown buddies anymoreWilmer van der Gaast2007-08-08-1/+5
| | | | | | | | | | | | | | | (NULL pointer dereference).
* | | Added jabber_error_parse() and using it for both stream- and stanzaWilmer van der Gaast2007-07-30-24/+61
| | | | | | | | | | | | | | | (only presence so far) errors.
* | | Added imcb_clean_handle() to sanitize handles properly (without puttingWilmer van der Gaast2007-07-15-0/+3
| | | | | | | | | | | | | | | | | | | | | IRC-specific stuff into the Jabber module). Only using this in the MUC code for now because this only works if the IM module can somehow convert the cleaned up handle back to the original one.
* | | Merging from devel. Added documentation for the join_chat command, addingWilmer van der Gaast2007-07-06-0/+1
|\| | | | | | | | | | | | | | a debian/ tree and a merge from Jelmer (mainly unittest stuff).
| * | Merge from Jelmer (mainly unit testing things).Wilmer van der Gaast2007-07-01-0/+1
| |\ \ | | |/ | |/|
| | * Add lcov targetJelmer Vernooij2007-01-22-0/+1
| | |