aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
Commit message (Collapse)AuthorAgeLines
...
* Add CTCP HELP code. Also cleaning up some noop handlers in the TwitterWilmer van der Gaast2010-12-07-2/+2
| | | | | | module (chat_with and send_typing) that suggested support for features that obviously don't exist.
* First bits of CTCP support to contacts. (Try /CTCP VERSION on a JabberWilmer van der Gaast2010-12-06-0/+33
| | | | | contact.)
* Restore support for joining password-protected Jabber rooms. Now using aWilmer van der Gaast2010-11-20-2/+16
| | | | | | | simple Jabber-specific room setting since AFAIK room passwords are pretty uncommon otherwise. Should deprecate the "password" argument to chat_join but that's a PITA because of API compatibility. :-/
* First step in this merge. Mostly a bzr merge and then a cleanup of conflictsWilmer van der Gaast2010-08-24-0/+1
|\ | | | | | | | | and parts I want to/have to redo (because of ui-fix).
| * merge with upstraem bitlbee 1.2.8Sven Moritz Hallberg2010-07-11-1/+6
| |\
| * \ merge in bitlbee 1.2.6Sven Moritz Hallberg2010-06-03-10/+4
| |\ \
| * \ \ merge in bitlbee 1.2.5Sven Moritz Hallberg2010-06-03-9/+13
| |\ \ \
| * \ \ \ pretty blind try at merging in the latest trunkSven Moritz Hallberg2009-03-12-1/+1
| |\ \ \ \
| * | | | | commit updates by ashish shukla <wahjava@gmail.com>Sven Moritz Hallberg2009-03-12-1/+1
| | | | | |
| * | | | | merge in latest trunkSven Moritz Hallberg2008-07-17-19/+36
| |\ \ \ \ \
| * | | | | | - add support for setting ops/voice according to OTR msgstateSven Moritz Hallberg2008-02-09-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add 'otr trust' user command - support non-otr messages during keygen - run otr messages through strip_html - interpret <b> and <i> tags in html messages - record max message size in prpl - add 'encrypted' flag to user_t - cosmetics
* | | | | | | Small bug in the previous change: NULL-initialize srv.Wilmer van der Gaast2010-08-11-1/+1
| | | | | | |
* | | | | | | When doing SRV lookups, return an array with all RRs instead of just theWilmer van der Gaast2010-08-10-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first one. The first isn't always the best one and this is currently causing GTalk issues when talk2.l.google.com (which is currently dead) is first.
* | | | | | | OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>Wilmer van der Gaast2010-08-07-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with some changes.
* | | | | | | Adding protocol-specific chatroom settings. First one to use this: AIMWilmer van der Gaast2010-07-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chatrooms to use exchange numbers other than 4.
* | | | | | | Merging a few revisions from mainline.Wilmer van der Gaast2010-06-24-1/+4
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Fixed an access-after-free() bug in the Jabber keepalive + cache cleanupWilmer van der Gaast2010-06-24-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code.
| * | | | | | Added user_agent setting to Jabber accounts so people can get aroundWilmer van der Gaast2010-06-23-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ridiculous user agent restrictions on certain Jabber servers. Obviously this is pretty simple to detect and break, but it works at least with Openfire.
* | | | | | | Allow moving contacts around between groups. Works with at least Jabber,Wilmer van der Gaast2010-06-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will check the others now.
* | | | | | | Merging memory leak fixes from devel, time to find the ui-fix-specificWilmer van der Gaast2010-06-08-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | leaks.
| * | | | | | Fixing some memory leakage.Wilmer van der Gaast2010-06-08-0/+2
| | |_|_|_|/ | |/| | | |
* | | | | | Starting to restore chatroom stuff. Only enough to create and be joinedWilmer van der Gaast2010-05-06-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into a room. More will follow soon.
* | | | | | Including DCC stuff again, with a wonderful extra layer of abstraction.Wilmer van der Gaast2010-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some hooks are missing so sending files doesn't work yet. Receiving also still seems to have some issues. On the plus side, at least the MSN/Jabber modules work again.
* | | | | | Merging in file transfer support. Most important points from my reviewWilmer van der Gaast2010-03-21-0/+15
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | are fixed now, time to let it settle in and get people to try it.
| * | | | | Merging mainline.Wilmer van der Gaast2010-03-17-9/+13
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | 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.
| * | | | | No functional changes, just some style "fixes". Although I admit I'mWilmer van der Gaast2009-12-13-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | somewhat growing out of my own coding style, I do try to keep things consistent at least within files. Comments are now in reviewboard: http://code.bitlbee.org/rb/r/13/
| * | | | | Merging head.Wilmer van der Gaast2009-12-07-2/+2
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | merged in upstream r410.ulim2008-08-04-20/+36
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | Only conflict was the correction of jabber normalization which I had already done.
| * | | | | moved some stuff around in preperation for MSN merge.ulim2008-08-04-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * both ends (proto&dcc) need to finish a transfer now for it to be finished * moved throughput calc. and some messages to dcc (no need to implement in protocols)
| * | | | | Added an account setting 'proxy'.ulim2008-07-22-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this is only used for sending. The default <local>;<auto> means let the receiver try a direct connection first and then the proxy discovered from the server (if any). If you know you're firewalled you can remove the <local>. If you want to provide your own proxy try something like "<local>;JID,HOST,PORT". E.g. "<local>;proxy.somewhere.org,123.123.123.123,7777".
| * | | | | merged in upstream r379 (somewhere after 1.2-3).ulim2008-04-14-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just one trivial conflict in the jabber Makefile, went smoothly.
| * \ \ \ \ \ Merged with upstream r328ulim2008-02-15-0/+11
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2008-02-11 Got rid of some noise at startup: complaining when the default configuration Wilmer van der Gaast 2008-02-10 Added support for password-protected Jabber chatrooms. Wilmer van der Gaast 2008-02-10 Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD and Wilmer van der Gaast 2008-02-09 Restored "add -tmp". A bit hackish, but it will do for now. Wilmer van der Gaast 2008-02-07 Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks to Wilmer van der Gaast 2008-02-04 Added bogus G_GNUC_MALLOC to restore GLib 2.4 compatibility (hopefully). Wilmer van der Gaast 2008-02-03 Messages from the user are also included in backlogs when joining a Jabber Wilmer van der Gaast 2008-02-03 Disabling "Unknown command" warnings since they're very noisy and pretty Wilmer van der Gaast 2008-02-03 Implemented XEP-0115. This adds some info to the <presence/> tags so Wilmer van der Gaast 2008-02-03 Saner garbage collection of cached packets in the Jabber module. Now Wilmer van der Gaast 2008-02-02 Added help_free() and cleaned up some very stale help-related stuff I Wilmer van der Gaast 2008-01-30 Fixed handling of OSCAR multi-part messages... They're not arrays, they're Wilmer van der Gaast 2008-01-24 Keeping track of valid Jabber connections so _connected() events will be Wilmer van der Gaast 2008-01-24 Fixed two valgrind warnings (partially uninitialized "struct tm" vars.) Wilmer van der Gaast 2008-01-20 The Jabber module now uses imcb_chat_log() instead of imcb_log() where Wilmer van der Gaast 2008-01-20 Added imcb_chat_log() for chatroom system messages, so they can be Wilmer van der Gaast 2008-01-20 GET_BUDDY_FIRST wasn't actually implemented, even though it was in use Wilmer van der Gaast 2008-01-19 Using test -f instead of test -e. This breaks if the include files are Wilmer van der Gaast 2008-01-19 Added byte swapping code to the new MD5 checksumming code to make it work Wilmer van der Gaast 2008-01-18 Moving imcb_chat_new() to a saner location (no code changes) and fixing Wilmer van der Gaast 2008-01-17 Apparently ext_yahoo_got_im can be called with msg=NULL, so it should be Wilmer van der Gaast 2008-01-17 Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts Wilmer van der Gaast 2008-01-13 Fixed handing of failed groupchat joins. Wilmer van der Gaast 2008-01-13 Fixed "Conditional jump or move depends on uninitialised value(s)" at Wilmer van der Gaast 2008-01-13 Fixed quickstart2. (Bug #349.) Wilmer van der Gaast 2008-01-13 Different handling of charset mismatches before login time. Ignoring a Wilmer van der Gaast 2008-01-12 When a switchboard connection dies (at the TCP level) and there are still Wilmer van der Gaast 2008-01-12 Killed info_string_append() and now showing the IP address of ICQ users Wilmer van der Gaast 2008-01-11 Fixing bug #344, now away states should always be correct, even when people Wilmer van der Gaast 2008-01-11 Adding own handle to protocol name in blist output for people with multiple Wilmer van der Gaast 2008-01-10 Now setting odata->icq properly again, this got lost some time ago, which Wilmer van der Gaast 2008-01-06 More consistency in error/warning errors. Until now "WARNING:" was usually Wilmer van der Gaast 2008-01-06 Changed warning message about unsent MSN messages. It should show the actual Wilmer van der Gaast 2008-01-05 Added "mail_notifications" setting. Who needs those notifications anyway? Wilmer van der Gaast 2008-01-05 Build fix from vmiklos. Wilmer van der Gaast 2008-01-05 Added handling of MSN switchboard NAK messages. Untested, but hey, it Wilmer van der Gaast 2008-01-05 Removed closure->result. I was planning to add some more stuff, but will Miklos Vajna 2007-12-31 encode: md5.c is no longer in protocols/, it's in lib/ Wilmer van der Gaast 2007-12-28 Fixed return value check in proxy_connect(), since on some systems Wilmer van der Gaast 2007-12-28 Added missing return in jabber_login(). Wilmer van der Gaast 2007-12-16 Implemented XEP-0199 (patch from misc@mandriva.org). Wilmer van der Gaast 2007-12-12 Checking conn->xcred before trying to clean it up since GnuTLS doesn't Wilmer van der Gaast 2007-12-12 Killed the <server> parameter to "account add" and changed the default Wilmer van der Gaast 2007-12-12 Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU Wilmer van der Gaast 2007-12-10 Don't allow nicks that start with a number. Wilmer van der Gaast 2007-12-10 Fixed "set xxx" syntax (it showed all settings instead of just xxx). Wilmer van der Gaast 2007-12-09 If I keep forgetting to credit people in commit msgs I should probably add Wilmer van der Gaast 2007-12-09 Added /invite support for Jabber chatrooms (and fixed the argument order
| * | | | | | merged:kenobi2007-12-19-2/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2007-12-04 Fixing jabber_login/_logout for better (non-crashing) cleanup on early
| * | | | | | | Merged in 280..288 from upstream (e.g. PING)kenobi2007-12-19-1/+15
| | | | | | | |
| * | | | | | | Merged in current develulim2007-12-04-4/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | | | | Merging mainline.Wilmer van der Gaast2010-03-12-8/+12
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Changed formatting of Jabber buddy info response.Wilmer van der Gaast2010-03-07-4/+5
| | | | | | | | |
| * | | | | | | | The Jabber part of the change. Also made representation of not-away a bitWilmer van der Gaast2010-03-06-4/+7
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more consistent. Except for free-for-chat, which is nuts anyway.
* / | | | | | | resource_select now defaults to activity instead of priority. Also, addingWilmer van der Gaast2009-11-19-11/+5
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a password in the IRC JOIN command).
* | | | | | | Added SET_INVALID, which set evaluators should now return instead of NULLWilmer van der Gaast2008-08-24-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Using a port list instead of a single range for the allowed Jabber portWilmer van der Gaast2008-06-15-5/+27
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | numbers, adding 80 and 443. Partially closes #265.
* | | | | Fixed cached_id_prefix memory leak.Wilmer van der Gaast2008-03-16-0/+1
| |_|_|/ |/| | |
* | | | Keeping track of valid Jabber connections so _connected() events will beWilmer van der Gaast2008-01-24-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
* | | | Added missing return in jabber_login().Wilmer van der Gaast2007-12-28-0/+2
| | | |
* | | | Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-1/+15
| |_|/ |/| | | | | | | | | | | to chat_invite).
* | | Fixing jabber_login/_logout for better (non-crashing) cleanup on earlyWilmer van der Gaast2007-12-04-2/+6
| |/ |/| | | | | | | connect failure.