aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | | | | 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-5/+5
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Moved xmltree to lib/ because I want to use it from more than just theWilmer van der Gaast2008-02-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jabber module.
* | | | | | | | | | | | | | | Added help_free() test, and fixed compiler warning in SASL test.Wilmer van der Gaast2008-02-16-3/+6
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | 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-7/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Fix lcov dependencies.Jelmer Vernooij2008-02-16-7/+6
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add Debian watch file.Jelmer Vernooij2008-01-06-0/+2
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Improved sasl_get_part() to deal with whitespace in challenge strings, asWilmer van der Gaast2008-02-16-9/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | described in RFC 2831 secion 7.1 (the #rule description). Closes bug #362.
* | | | | | | | | | | | | | | Fixed broken check in check_arc.cWilmer van der Gaast2008-02-16-2/+3
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Got rid of some noise at startup: complaining when the default configurationWilmer van der Gaast2008-02-11-31/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
* | | | | | | | | | | | | | | Added support for password-protected Jabber chatrooms.Wilmer van der Gaast2008-02-10-0/+2
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD andWilmer van der Gaast2008-02-10-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (IIRC) OpenBSD systems.
* | | | | | | | | | | | | | | Restored "add -tmp". A bit hackish, but it will do for now.Wilmer van der Gaast2008-02-09-5/+6
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks toWilmer van der Gaast2008-02-07-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logan O'Sullivan Bruns for the report.
* | | | | | | | | | | | | | | Added bogus G_GNUC_MALLOC to restore GLib 2.4 compatibility (hopefully).Wilmer van der Gaast2008-02-04-4/+7
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Added help_free() and cleaned up some very stale help-related stuff IWilmer van der Gaast2008-02-02-37/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wasn't even aware of. This closes bug #352.
* | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | 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...
* | | | | | | | | | | | | | | Using test -f instead of test -e. This breaks if the include files areWilmer van der Gaast2008-01-19-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | symlinks, but I guess that's less common than people trying to run BitlBee on Solaris machines... (Bug #350)
* | | | | | | | | | | | | | | Added byte swapping code to the new MD5 checksumming code to make it workWilmer van der Gaast2008-01-19-69/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on big-endian machines. (If someone thinks BitlBee should work on PDPs, send me the fix. I don't care. :-P) This fixes bug #351 (MSN challenge- response failure) but might break backward compatibility if the broken MD5 code was used to save settings. (Somewhere between rev 266 and now.)
* | | | | | | | | | | | | | | 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-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Fixed quickstart2. (Bug #349.)Wilmer van der Gaast2008-01-13-2/+2
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Different handling of charset mismatches before login time. Ignoring aWilmer van der Gaast2008-01-13-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USER command because of encoding issues isn't too great, so let's simply replace them. The information isn't really used anywhere anyway.
* | | | | | | | | | | | | | | 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-89/+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.)
* | | | | | | | | | | | | | | Adding own handle to protocol name in blist output for people with multipleWilmer van der Gaast2008-01-11-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accounts on the same IM network.
* | | | | | | | | | | | | | | 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-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #338.
* | | | | | | | | | | | | | Build fix from vmiklos.Wilmer van der Gaast2008-01-05-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | encode: md5.c is no longer in protocols/, it's in lib/Miklos Vajna2007-12-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build failure.
* | | | | | | | | | | | | | | Added handling of MSN switchboard NAK messages. Untested, but hey, itWilmer van der Gaast2008-01-05-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiles! (And it's pretty trivial...)
* | | | | | | | | | | | | | | Removed closure->result. I was planning to add some more stuff, but willWilmer van der Gaast2008-01-05-5/+5
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do that later.
* | | | | | | | | | | | | | Fixed return value check in proxy_connect(), since on some systemsWilmer van der Gaast2007-12-28-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a non-blocking connect() can return immediately (when connecting to localhost, for example). Closes bug #233 and #340.
* | | | | | | | | | | | | | Added missing return in jabber_login().Wilmer van der Gaast2007-12-28-0/+2
| | | | | | | | | | | | | |