aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
Commit message (Collapse)AuthorAgeLines
...
| * | | merged in upstream r410.ulim2008-08-04-5/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Only conflict was the correction of jabber normalization which I had already done.
| * | | | some changes for sending.ulim2008-05-10-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * not only query but also respect peer's features (i.e. abort ft if an important feature is not advertised) * wait for proxy discovery to complete before starting the transfer (important for sending to people with auto accept)
| * | | | Merged with upstream r328ulim2008-02-15-4/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 in 280..288 from upstream (e.g. PING)kenobi2007-12-19-0/+2
| | | | | |
| * | | | | sending via proxykenobi2007-12-18-1/+15
| | | | | |
| * | | | | Merged in current develulim2007-12-04-1/+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
| * | | | | | Send and receive seems to work now! Also adopted the new buffering strategy,ulim2007-12-04-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only one buffer of 2k per transfer now.
| * | | | | | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merging in Jabber resource selection fix. This adds the activity_timeoutWilmer van der Gaast2010-03-18-1/+10
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | | | | Merging mainline.Wilmer van der Gaast2010-03-12-1/+1
| |\ \ \ \ \ \
| * | | | | | | resource_select now defaults to activity instead of priority. Also, addingWilmer van der Gaast2009-11-19-1/+10
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Don't send bind and session requests at the same time when logging inWilmer van der Gaast2010-03-14-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+1
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | jabberd's including Zimbra's. Thanks to jMCg and balzar in #bitlbee for helping with figuring this out.
* | | | | | The Jabber part of the change. Also made representation of not-away a bitWilmer van der Gaast2010-03-06-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | more consistent. Except for free-for-chat, which is nuts anyway.
* | | | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-1/+2
| | | | |
* | | | | 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).
* | | | From the department of over-engineering, now cached packet IDs are fullWilmer van der Gaast2008-06-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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-4/+0
| |_|/ |/| | | | | | | | | | | numbers, adding 80 and 443. Partially closes #265.
* | | Messages from the user are also included in backlogs when joining a JabberWilmer van der Gaast2008-02-03-4/+10
| | | | | | | | | | | | | | | | | | chatroom. Until now they were ignored, which might make backlogs a little bit confusing.
* | | Implemented XEP-0115. This adds some info to the <presence/> tags soWilmer van der Gaast2008-02-03-0/+1
| | | | | | | | | | | | | | | | | | 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-0/+5
| | | | | | | | | | | | | | | | | | cached packets are removed after about ten minues instead of something between one and two minutes. Closes one issue in #354.
* | | Keeping track of valid Jabber connections so _connected() events will beWilmer van der Gaast2008-01-24-0/+2
| | | | | | | | | | | | | | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
* | | Implemented XEP-0199 (patch from misc@mandriva.org).Wilmer van der Gaast2007-12-16-0/+1
| | |
* | | Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-0/+1
| |/ |/| | | | | | | to chat_invite).
* | Handling of presence-error packets (only useful for groupchats now), movedWilmer van der Gaast2007-12-02-1/+1
| | | | | | | | | | | | jabber_chat_by_jid() (with the right name) to conference.c, I don't know what it was doing in jabber_util.c.
* | Removed retarded printf() (ARGH) and moved the event handling handling ofWilmer van der Gaast2007-12-02-0/+1
|/ | | | | IQ packets to jabber_util so I can reuse it for certain presence packets.
* Added some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-1/+4
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-0/+1
|
* Added jabber_error_parse() and using it for both stream- and stanzaWilmer van der Gaast2007-07-30-0/+7
| | | | | (only presence so far) errors.
* Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-0/+1
| | | | | | channel name generation code in root_commands.c and fixed one memory leak in jabber_buddy_remove_bare().
* Keeping an original (not normalized) copy of the user's nickname. ThisWilmer van der Gaast2007-07-01-0/+1
| | | | | | | fixes a bug reported by James Teh in the monster ticket #20. There's no proper garbage collection yet in the Jabber conference code, really have to do that soon. :-(
* Better handling of private messages via groupchats.Wilmer van der Gaast2007-07-01-0/+1
|
* Added a real XML-console to the Jabber module! Add the handle "xmlconsole"Wilmer van der Gaast2007-06-04-10/+13
| | | | | | | (without any @server part) to your contact list and you'll see all XMPP traffic going in and out, and messages sent to the buddy will be sent as packets to the server.
* Prepared the Jabber module for anonymous rooms, but the BitlBee coreWilmer van der Gaast2007-04-25-2/+4
| | | | | | doesn't deal with it very well, and I don't really know yet how I'll solve this... :-(
* You can send messages too now. But it's still very kludgy and doesn't workWilmer van der Gaast2007-04-22-0/+3
| | | | | with anonymous rooms (ie about 95% of all available Jabber chatrooms?).
* Read-only support for Jabber conferences (non-anonymous rooms only).Wilmer van der Gaast2007-04-22-2/+24
| | | | | Just don't use this, you're really not going to like it. :-)
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-23/+23
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Added Jabber server port number restrictions.Wilmer van der Gaast2007-02-18-0/+4
|
* Improved handling of JIDs: Bare JIDs are allowed (*sigh*) and caseWilmer van der Gaast2006-11-13-4/+12
| | | | | insensitivity. Probably not complete yet...
* Added #defines for XML namespaces.Wilmer van der Gaast2006-10-31-0/+17
|
* Now all IQ packets get an ID and cached packets get a "special" ID. ThisWilmer van der Gaast2006-10-20-1/+8
| | | | | | makes it easier to find out if an event handler has to be called for a reply packet.
* get_info() now displays vCard information too.Wilmer van der Gaast2006-10-18-0/+1
|
* Proper cleanup of jabber buddy structures when removing a buddy from theWilmer van der Gaast2006-10-15-4/+5
| | | | | | | list, proper checking (and handling) of events related to buddies that aren't "hashed" yet, limit checks on priorityto setting, renamed JEP85 to XEP85, support for more XEP85 states.
* Special message when the XMPP session is ended because of a concurrentWilmer van der Gaast2006-10-12-0/+1
| | | | | | login, and now sending proper error responses to IQ packets we can't handle.
* Added resource selection (based on priority or time of last message) toWilmer van der Gaast2006-10-10-3/+17
| | | | | | | budd_by_jid(), added a full_jid property to easily address that resource without having to rebuild the full JID every time and implemented typing notification shite.
* The module now keeps track of all resources available for a buddy. ThisWilmer van der Gaast2006-10-09-0/+19
| | | | | | | | | means the buddy won't show up offline when one resource goes down (while there are still others available). It also remembers away state information for every separate resource. Later this system will be used to keep track of client capability information (Typing notices, yay...) and who knows what else.
* Moved handling of all IQ packets to event handlers. Cleaned up a LOT ofWilmer van der Gaast2006-10-08-3/+4
| | | | | mess in iq.c!
* Implemented a better node cache using a GLib hash, and preparing to addWilmer van der Gaast2006-10-08-3/+13
| | | | | | | event handlers that can be set when sending a packet to handle the reply to this specific packet. This should allow me to make the iq handler a lot cleaner.
* Never mind about those privacy lists, they're horrible and not supportedWilmer van der Gaast2006-10-07-10/+0
| | | | | | | by any client I know of. Also, they're already working on a (probably completely incompatible) standard: JEP-191. Maybe BitlBee will implement it too some day...