aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
* Fixed cached_id_prefix memory leak.Wilmer van der Gaast2008-03-16-0/+1
|
* Although I have no idea what the author meant with code likeWilmer van der Gaast2008-03-15-1/+1
| | | | | | | `if(cp != "\005")', I'm sure he feels homesick to QuickBasic. Since BitlBee doesn't use this function anyway, it doesn't really matter if my fix works. As long as it keeps the compiler quiet.
* Inviting someone to a Yahoo! chatroom with msg=NULL is bad. I wonder ifWilmer van der Gaast2008-03-15-1/+1
| | | | | /invite ever worked in the Yahoo! module...
* Indicate that we support YMSG protocol version 12, this should hopefullyWilmer van der Gaast2008-03-15-1/+1
| | | | | keep BitlBee working after 2008-04-02 <http://messenger.yahoo.com/eol>.
* Automatically truncate MSN passports to 16 characters because that's theWilmer van der Gaast2008-02-17-0/+7
| | | | | | maximum supported by MSN and giving a longer password will make the authentication fail.
* Replaced old MSN Passport (v1.4) authentication code with what's described onWilmer van der Gaast2008-02-17-196/+200
| | | | | | | | http://msnpiki.msnfanatic.com/index.php/MSNP13:SOAPTweener . This was an attempt to fix bug #360, but it didn't. However, this change may make BitlBee a little bit more future-proof. Plus, the code is tidier and sometimes faster than the old mechanism.
* 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-5/+5
|\
| * Fix lcov dependencies.Jelmer Vernooij2008-02-16-5/+5
| |
* | 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.
* | Disabling "Unknown command" warnings since they're very noisy and prettyWilmer van der Gaast2008-02-03-2/+2
| | | | | | | | | | pointless.
* | 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.
* | Fixed handling of OSCAR multi-part messages... They're not arrays, they'reWilmer van der Gaast2008-01-30-4/+6
| | | | | | | | | | linked lists!
* | 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. :-/
* | Fixed two valgrind warnings (partially uninitialized "struct tm" vars.)Wilmer van der Gaast2008-01-24-0/+1
| |
* | The Jabber module now uses imcb_chat_log() instead of imcb_log() whereWilmer van der Gaast2008-01-20-5/+41
| | | | | | | | | | possible.
* | Added imcb_chat_log() for chatroom system messages, so they can beWilmer van der Gaast2008-01-20-0/+20
| | | | | | | | | | displayed inside the right channel.
* | 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...
* | Moving imcb_chat_new() to a saner location (no code changes) and fixingWilmer van der Gaast2008-01-18-25/+26
| | | | | | | | | | default channel topic.
* | Apparently ext_yahoo_got_im can be called with msg=NULL, so it should beWilmer van der Gaast2008-01-17-3/+7
| | | | | | | | | | handled. Let's just ignore those packets.
* | Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-7/+7
| | | | | | | | | | for pid_t variables).
* | 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.
* | When a switchboard connection dies (at the TCP level) and there are stillWilmer van der Gaast2008-01-12-5/+48
| | | | | | | | | | | | | | | | | | | | | | queued messages, they will now be moved back to the main queue and a new sb will be created to try to send the messages again. I hope this will solve some/most/all of the "Closing switchboard with unsent messages" problems, but can't be sure since this problem isn't very easy to reproduce. At least it should solve the ones caused by keeping spare switchboards around. Also enabling switchboard debugging output if configured with --debug=1, at least for now this will be useful.
* | Killed info_string_append() and now showing the IP address of ICQ usersWilmer van der Gaast2008-01-12-82/+102
| | | | | | | | | | in the "info" command response.
* | 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.)
* | Now setting odata->icq properly again, this got lost some time ago, whichWilmer van der Gaast2008-01-10-2/+3
|/ | | | | broke the info command and probably more things.
* More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-12/+12
| | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
* Changed warning message about unsent MSN messages. It should show the actualWilmer van der Gaast2008-01-06-50/+42
| | | | | message(s) now.
* Added "mail_notifications" setting. Who needs those notifications anyway?Wilmer van der Gaast2008-01-05-3/+13
| | | | | Closes: #338.
* Added handling of MSN switchboard NAK messages. Untested, but hey, itWilmer van der Gaast2008-01-05-0/+11
| | | | | compiles! (And it's pretty trivial...)
* 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
|
* Killed the <server> parameter to "account add" and changed the defaultWilmer van der Gaast2007-12-12-23/+5
| | | | | | | server for OSCAR to what both login.icq.com and login.oscar.aol.com resolve to these days. There's no need to specify a server anymore so why bother. And cleaned up the docs (removed all references to those OSCAR servers).
* 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-4/+40
| | | | | 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.
* printf() in daemons considered harmful.Wilmer van der Gaast2007-11-29-15/+0
|
* 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-28/+28
| | | | | I ever need SHA256 ;-)).
* Some changes to get rid of compiler warnings. (And disabling strictWilmer van der Gaast2007-11-22-5/+5
| | | | | aliasing because there are too many warnings about it. :-P)