aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | | | | sending via proxykenobi2007-12-18-76/+410
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Follow rename of jabber_chat_by_jid from upstremulim2007-12-04-1/+1
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Merged in current develulim2007-12-04-64/+89
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2007-12-02 Imported setuid() patch from Simo Leone <simo@archlinux...> with some Wilmer van der Gaast 2007-12-02 Forgot to return something in jabber_chat_join_failed(). Wilmer van der Gaast 2007-12-02 Merging a change I should've pulled before committing three other changes. Wilmer van der Gaast 2007-12-02 Added charset checks on incoming msgs (from the IRC side) to prevent possible Wilmer van der Gaast 2007-12-02 Handling of presence-error packets (only useful for groupchats now), moved Wilmer van der Gaast 2007-12-02 Defining DEBUG via CFLAGS so that it'll always be there, even when a file Wilmer van der Gaast 2007-12-02 Removed retarded printf() (ARGH) and moved the event handling handling of Wilmer van der Gaast 2007-11-29 printf() in daemons considered harmful. Wilmer van der Gaast 2007-11-28 Fixed the epoll+ForkDaemon combination. The libevent event handling
| * | | | | | | | | | | | | | | | | | | | Send and receive seems to work now! Also adopted the new buffering strategy,ulim2007-12-04-86/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only one buffer of 2k per transfer now.
| * | | | | | | | | | | | | | | | | | | | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-606/+1127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move from out_of_data to is_writable, eliminate buffers * implement "transfers reject [id]" * documentation in commands.xml * implement throughput and cummulative throughput boundaries * feature discovery before sending * implement sending over a proxy (proxy discovery, socks5 client handshake for sending, activate message) * integrate toxik-mek-ft
| * | | | | | | | | | | | | | | | | | | | Initial import of jabber file receive and DCC send support. This introducesulim2007-11-28-22/+1065
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only a few changes to bitlbees code, mainly the addition of the "transfers" command. This is known to work with Kopete, Psi, and Pidgin (formerly known as gaim). At least with Pidgin also over a proxy. DCC has only been tested with irssi. IPV6 is untested but should work. Currently, only receiving via SOCKS5BYTESREAMS is implemented. I'm not sure if the alternative(in-band bytestreams IBB) is worth implementing since I didn't see a client yet that can do it. Additionally, it is probably very slow and needs support by the server as well.
* | | | | | | | | | | | | | | | | | | | | Added ignore_auth_requests setting (patch from vmiklos, bug #578).Wilmer van der Gaast2010-03-21-4/+13
| |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merging in Jabber resource selection fix. This adds the activity_timeoutWilmer van der Gaast2010-03-18-47/+58
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting, which makes BitlBee send a message to bare JIDs if there was no recent seen activity from any of the person's resources. This should fix most issues with messages going to the wrong resource (i.e. someone's mobile phone instead of something more sensible).
| * | | | | | | | | | | | | | | | | | | Fixed a bug that caused full JIDs to get lost sometimes with the new wayWilmer van der Gaast2010-03-18-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of storing full JIDs belongong to a contact.
| * | | | | | | | | | | | | | | | | | | Fixed jabber_util unittest. It passes, yet something still seems to beWilmer van der Gaast2010-03-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | broken. :-(
| * | | | | | | | | | | | | | | | | | | Merging mainline.Wilmer van der Gaast2010-03-12-205/+197
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Restoring some logic that seemed broken but was important with handlingWilmer van der Gaast2009-11-19-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of chatrooms (and likely more things). The restored version is somewhat less confusing.
| * | | | | | | | | | | | | | | | | | | | Fixed a facepalm kind of NULL pointer dereference bug.Wilmer van der Gaast2009-11-19-4/+5
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | resource_select now defaults to activity instead of priority. Also, addingWilmer van der Gaast2009-11-19-48/+54
| | |_|_|_|_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a activity_timeout setting. Now, messages to someone who hasn't spoken for a while will be sent to his/her bare JID, usually resulting in a broadcast. This should fix issues with messages sometimes arriving on someone's Crackberry/Android/etc instead of some place s/he's paying attention to. Last, the activity timer is only reset on incoming messages.
* | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | | Really set Yahoo! status messages properly. YMSG, how I hate you.Wilmer van der Gaast2010-03-16-1/+1
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Include non-away status messages in blist and whois responses. The whoisWilmer van der Gaast2010-03-16-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change is a complete violation of the IRC protocol but that doesn't seem to be an uncommon thing.
* | | | | | | | | | | | | | | | | | | | Deal with stupid (on first sight, at least) Yahoo! server behaviour causingWilmer van der Gaast2010-03-15-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | double free()s on testing ATM. Apparently it's perfectly legal to give buddy information with an "end buddy" marker but no "begin buddy".
* | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | Fix for bug #536: No longer fail on corrupted USR responses with certainWilmer van der Gaast2010-03-14-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unicode characters in the friendly name.
* | | | | | | | | | | | | | | | | | | Allow disabling certain IM protocols at runtime, patch fromWilmer van der Gaast2010-03-14-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misc@mandriva.org, bug #381.
* | | | | | | | | | | | | | | | | | | Adding a few consts and other misc fixes from bug #431. Doing this via aWilmer van der Gaast2010-03-14-19/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge because bzr can probably deal with the conflicts better than patch.
| * | | | | | | | | | | | | | | | | | | Some const/etc cleanups submitted by domen@coderock.org back in bug #431.Wilmer van der Gaast2010-03-14-20/+24
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | Added nick_source account setting to allow using full name fields forWilmer van der Gaast2010-03-13-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generating nicknames instead of just the handle.
* | | | | | | | | | | | | | | | | | | Fixed handling of contact lists where at least the first contact is not inWilmer van der Gaast2010-03-13-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any group yet. Crashing is not the right solution.
* | | | | | | | | | | | | | | | | | | Yahoo! status updates (at least initial ones, I assume) can be too long toWilmer van der Gaast2010-03-12-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fit into one packet. Yahoo! servers will split them up, and not necessarily on buddy boundaries. Trying to handle this a little bit better now. (Sadly I can't test this myself, I can only see this causing troubles on testing sometimes.)
* | | | | | | | | | | | | | | | | | | Merging in some code from libyahoo2-trunk that deals better with (initial)Wilmer van der Gaast2010-03-12-194/+146
| |_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | status updates and cleans up some stale stuff.
* | | | | | | | | | | | | | | | | | Fixed an "off-by -1" bug in msn_findheader() that could probably be triggeredWilmer van der Gaast2010-03-10-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by incoming messages without headers.
* | | | | | | | | | | | | | | | | | Fixed a compiler warning for an ugliness that fortunately shouldn't haveWilmer van der Gaast2010-03-09-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caused any issues except with broken protocol modules.
* | | | | | | | | | | | | | | | | Changed formatting of Jabber buddy info response.Wilmer van der Gaast2010-03-07-4/+5
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Two more fixes in OSCAR to avoid NULL pointers being passed toWilmer van der Gaast2010-03-07-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | g_strcasecmp().
* | | | | | | | | | | | | | | | | Added global and per-account settings "away" and "status" so the user canWilmer van der Gaast2010-03-07-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set these things individually.
* | | | | | | | | | | | | | | | | Adapted nogaim.c. Pretty nice cleanup of away state alias handling, mostly.Wilmer van der Gaast2010-03-06-45/+40
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Yahoo! fixes. Turns out the protocol really is somewhat odd.Wilmer van der Gaast2010-03-06-5/+6
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Put AWY at the beginning of the list since it's used as a fallback.Wilmer van der Gaast2010-03-06-1/+1
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Fixed up Yahoo! I'll have to do some more thorough testing of this codeWilmer van der Gaast2010-03-06-45/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since I may have broken something.
* | | | | | | | | | | | | | | | | OSCAR cleanup.Wilmer van der Gaast2010-03-06-15/+20
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | MSN module updated to deal with the new API. Not many changes since itWilmer van der Gaast2010-03-06-41/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't currently support away messages anyway. This is more a bit of a cleanup.
* | | | | | | | | | | | | | | | | Away with this stupid GAIM_AWAY_CUSTOM constant. Let's see what still uses it.Wilmer van der Gaast2010-03-06-3/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | A few fixes for bugs that caused coredumps on testing.bitlbee.org (orWilmer van der Gaast2009-12-17-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caught my attention in new compiler warnings).
* | | | | | | | | | | | | | | | | Committing some >1y old change. This seems to fix a small leak in the MSNWilmer van der Gaast2009-12-07-15/+20
| |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mail notification handler.
* | | | | | | | | | | | | | | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-4/+7
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Don't include chat.h from bitlbee.h. make install-dev doesn't installWilmer van der Gaast2009-10-22-0/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chat.h and it shouldn't ... but things broke because bitlbee.h includes it. Fixes #534.
* | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Valgrind pointed me at some memory leaks in the Yahoo! codek, including oneWilmer van der Gaast2009-10-17-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that existed for a while already. Fixed.
* | | | | | | | | | | | | | | Turns out I *did* implement HTTPS auth for Yahoo! myself already, but IWilmer van der Gaast2009-10-13-184/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kept it as a patch somewhere in my homedir because I thought I didn't need it. I like this code more so I'll use it instead.
* | | | | | | | | | | | | | | Setting Yahoo! away states works again.Wilmer van der Gaast2009-10-10-23/+30
| | | | | | | | | | | | | | |