aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/iq.c
Commit message (Collapse)AuthorAgeLines
* Add support for XEP 202 (replacement for jabber:iq:time).Wilmer van der Gaast2010-12-06-2/+29
|
* First bits of CTCP support to contacts. (Try /CTCP VERSION on a JabberWilmer van der Gaast2010-12-06-0/+48
| | | | | contact.)
* Merging a few revisions from mainline.Wilmer van der Gaast2010-06-24-2/+2
|\
| * Added user_agent setting to Jabber accounts so people can get aroundWilmer van der Gaast2010-06-23-2/+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/+3
| | | | | | | | | | will check the others now.
* | Pick up group changes in the middle of a Jabber session, now that we careWilmer van der Gaast2010-06-05-3/+2
| | | | | | | | | | about that info.
* | Merging head.Wilmer van der Gaast2010-06-01-1/+0
|\|
| * Don't whine on "incomplete" incoming IQ-set packets either, those also happen.Wilmer van der Gaast2010-05-23-1/+0
| |
* | Read group information from Jabber contact lists. The code was already there,Wilmer van der Gaast2010-05-09-1/+1
| | | | | | | | | | but with a simple typo.
* | Including DCC stuff again, with a wonderful extra layer of abstraction.Wilmer van der Gaast2010-04-11-2/+2
| | | | | | | | | | | | | | 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.
* | Killed the last str*cmp(xml_find_attr) combos.Wilmer van der Gaast2010-03-21-1/+2
| |
* | xt_status functions should always return an XT_ status, it's not a boolean.Wilmer van der Gaast2010-03-21-5/+5
| |
* | Read the from attribute from the main stanza, not the inside query. AlsoWilmer van der Gaast2010-03-21-2/+2
| | | | | | | | | | fixing another potential NULL pointer dereference.
* | Ouch, committing stuff without even checking if it compiles is bad style.Wilmer van der Gaast2010-03-17-2/+2
| | | | | | | | | | :-)
* | Avoid some NULL pointer dereferences on malformed XMPP packets.Wilmer van der Gaast2010-03-17-17/+24
| |
* | Merging mainline.Wilmer van der Gaast2010-03-17-7/+22
|\|
| * Oops.. Today's Jabber fix could get stuck in a somewhat infinite loop if aWilmer van der Gaast2010-03-15-6/+2
| | | | | | | | | | | | | | 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.
| * Don't send bind and session requests at the same time when logging inWilmer van der Gaast2010-03-14-6/+25
| | | | | | | | | | because some very picky jabberd's don't like it. (Fixes Bug #569)
* | No functional changes, just some style "fixes". Although I admit I'mWilmer van der Gaast2009-12-13-15/+23
| | | | | | | | | | | | | | | | | | | | 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/+3
|\|
| * 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.
* | ulibc support, fixes "Invalid SOCKS5 Connect message" problemulim2008-05-04-2/+3
| |
* | merged in upstream r379 (somewhere after 1.2-3).ulim2008-04-14-1/+26
|\| | | | | | | | | Just one trivial conflict in the jabber Makefile, went smoothly.
| * 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.
* | Merged with upstream r328ulim2008-02-15-7/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Implemented XEP-0115. This adds some info to the <presence/> tags soWilmer van der Gaast2008-02-03-1/+2
| | | | | | | | | | | | clients interested in capabilities can cache discovery info, so they don't have to ask about it every time you/they log in.
| * More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-6/+6
| | | | | | | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
| * Implemented XEP-0199 (patch from misc@mandriva.org).Wilmer van der Gaast2007-12-16-1/+11
| |
* | Merged in 280..288 from upstream (e.g. PING)kenobi2007-12-19-1/+11
| |
* | sending via proxykenobi2007-12-18-1/+161
| |
* | Merged in current develulim2007-12-04-18/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Removed retarded printf() (ARGH) and moved the event handling handling ofWilmer van der Gaast2007-12-02-18/+1
| | | | | | | | | | IQ packets to jabber_util so I can reuse it for certain presence packets.
* | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-1/+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
* | Initial import of jabber file receive and DCC send support. This introducesulim2007-11-28-10/+18
|/ | | | | | | | | | | | | | | 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 some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-1/+1
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-5/+6
| | | | | I ever need SHA256 ;-)).
* Less copy-pasting in the service discovery reply and added MUC support toWilmer van der Gaast2007-07-01-14/+13
| | | | | that list. And adding some const stuff in the xmltree functions.
* Added imcb_remove_buddy() so deletions in Jabber roster pushes actuallyWilmer van der Gaast2007-06-14-4/+1
| | | | | | work. This also solves the issue of underscores appearing and disappearing in their nicknames when people leave/join a chat.
* Fixed retarded use of strcpy() and no longer using Jabber fullnames forWilmer van der Gaast2007-06-04-3/+0
| | | | | nickname generation. IM fullnames and IRC nicknames are just *different*.
* Added imcb_buddy_nick_hint so the Jabber conference module can suggest saneWilmer van der Gaast2007-06-04-1/+5
| | | | | | | | nicknames for chatroom participants. There'll probably be a lot of underscores now, but this is by far the cleanest way to implement this, I think. At least now whispers will work properly. Also using this function call to set names for ICQ contacts in a slightly saner way.
* More API changes: buddy list management. imcb_add_buddy() is now a *real*Wilmer van der Gaast2007-04-18-15/+7
| | | | | | | | | callback, it's only called from inside IM-modules. This makes sure a buddy only gets added to the BitlBee structures if the add was successful. This gets rid of the weirdness described in #55. Unfortunately for now this change breaks A) automatic renaming of ICQ contacts (if there are names stored in the contact list) B) add -tmp.
* Split serv_got_update() into imcb_buddy_(status|times). (Well, the secondWilmer van der Gaast2007-04-15-1/+1
| | | | | | | one isn't implemented yet, but I'll do that later.) At last I got rid of the hack called get_status_string(). And now Yahoo seems to mess up away messages...
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-15/+15
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.
* Cleaned up struct im_connection. No more username/password stuff sinceWilmer van der Gaast2007-04-15-5/+5
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* More format string problems.Wilmer van der Gaast2007-04-15-1/+1
|
* More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-20/+20
| | | | | | | | do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-68/+68
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Fixed some (possible) NULL-pointer dereferences. THANKS FOR NOTHING toWilmer van der Gaast2006-11-23-7/+26
| | | | | | | | GLib for giving this very useful "s2 != NULL assertion failed" message instead of just dereferencing the damn pointer so I can find a backtrace, this sure makes debugging very easy, guys! Wasn't GLib supposed to SAVE time?
* Added #defines for XML namespaces.Wilmer van der Gaast2006-10-31-13/+13
|
* Added handling of roster pushes. This means your local buddy list willWilmer van der Gaast2006-10-28-11/+53
| | | | | | stay synchronized with other clients logged into your account at the same time.