aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
* Never use yahoo_close() directly, always use yahoo_logoff().Wilmer van der Gaast2008-06-24-4/+1
|
* 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.
* Shut up a "mostly harmless" warning (this NULL would never actually beWilmer van der Gaast2008-06-22-1/+1
| | | | | dereferenced as far as I can see).
* Another fixup after [devel,394]. Clearly I'm not a morning person.Wilmer van der Gaast2008-06-22-2/+2
|
* Fixed bug in [devel,394].Wilmer van der Gaast2008-06-22-1/+1
|
* Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-29/+56
| | | | | | becuase it's the only place where it's used, and using this to strip spaces from all screennames before sending them to BitlBee.
* 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
|
* This seems to fix the Yahoo! logoff code. I have no idea why this was brokenWilmer van der Gaast2008-06-14-11/+4
| | | | | | | (on purpose) in libyahoo2, but this fix seems to work and at least Valgrind is still happy. And I actually see myself log off now, and the fd is actually cleaned up properly.
* Now checking if msn_sb_create() returns NULL. This is very unlikely, butWilmer van der Gaast2008-04-21-3/+21
| | | | | can happen if we run out of file descriptors, for example.
* Don't automatically enable MSN debugging messages for debugging builds.Wilmer van der Gaast2008-04-08-1/+1
|
* query.h now defines a callback function type, not using void* for it anymore.Wilmer van der Gaast2008-04-05-20/+42
| | | | | | 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
|
* 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.