aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
* Merged in 280..288 from upstream (e.g. PING)kenobi2007-12-19-4/+51
|
* 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-49/+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
| * Forgot to return something in jabber_chat_join_failed().Wilmer van der Gaast2007-12-02-3/+3
| |
| * Handling of presence-error packets (only useful for groupchats now), movedWilmer van der Gaast2007-12-02-29/+57
| | | | | | | | | | | | 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-20/+32
| | | | | | | | | | IQ packets to jabber_util so I can reuse it for certain presence packets.
* | Send and receive seems to work now! Also adopted the new buffering strategy,ulim2007-12-04-75/+88
| | | | | | | | | | only one buffer of 2k per transfer now.
* | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-604/+1111
| | | | | | | | | | | | | | | | | | | | | | | | * 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/+911
|/ | | | | | | | | | | | | | | 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-3/+35
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* (Hopefully) fixing one case where the Jabber module doesn't understand aWilmer van der Gaast2007-11-24-2/+8
| | | | | | <presence type=unavailable> tag properly and keeps showing the buddy as on-line. (When the tag comes from a bare JID.)
* Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-5/+6
| | | | | I ever need SHA256 ;-)).
* Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-1/+37
|
* Merging from devel/Jelmer.Wilmer van der Gaast2007-11-14-14/+2
|\
| * Removed some debugging stuff that shouldn't have been here for a long timeWilmer van der Gaast2007-11-14-14/+2
| | | | | | | | | | already.
* | Added "xmlconsole" setting so it can be enabled at login time already.Wilmer van der Gaast2007-11-14-0/+11
| |
* | Merge from devel.Wilmer van der Gaast2007-10-12-3/+4
|\|
| * Merge from Jelmer (making GCC4 happy by sanitizing some typecasting messWilmer van der Gaast2007-07-15-3/+4
| |\ | | | | | | | | | | | | around the RC4/B64 code).
| | * Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-3/+4
| | |
* | | Not trying to handle typing notifications from unknown buddies anymoreWilmer van der Gaast2007-08-08-1/+5
| | | | | | | | | | | | | | | (NULL pointer dereference).
* | | Added jabber_error_parse() and using it for both stream- and stanzaWilmer van der Gaast2007-07-30-24/+61
| | | | | | | | | | | | | | | (only presence so far) errors.
* | | Added imcb_clean_handle() to sanitize handles properly (without puttingWilmer van der Gaast2007-07-15-0/+3
| | | | | | | | | | | | | | | | | | | | | IRC-specific stuff into the Jabber module). Only using this in the MUC code for now because this only works if the IM module can somehow convert the cleaned up handle back to the original one.
* | | Merging from devel. Added documentation for the join_chat command, addingWilmer van der Gaast2007-07-06-0/+1
|\| | | | | | | | | | | | | | a debian/ tree and a merge from Jelmer (mainly unittest stuff).
| * | Merge from Jelmer (mainly unit testing things).Wilmer van der Gaast2007-07-01-0/+1
| |\ \ | | |/ | |/|
| | * Add lcov targetJelmer Vernooij2007-01-22-0/+1
| | |
* | | Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-16/+27
| | | | | | | | | | | | | | | | | | channel name generation code in root_commands.c and fixed one memory leak in jabber_buddy_remove_bare().
* | | Stripping of unwanted characters (@ and =) in channel nicknames.Wilmer van der Gaast2007-07-02-1/+11
| | |
* | | Cleaning up groupchats when shutting down the Jabber connection. TheWilmer van der Gaast2007-07-02-0/+3
| | | | | | | | | | | | | | | | | | cleaning up of groupchats isn't done very well yet, but this will at least keep things sane.
* | | Keeping an original (not normalized) copy of the user's nickname. ThisWilmer van der Gaast2007-07-01-3/+7
| | | | | | | | | | | | | | | | | | | | | 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-9/+54
| | |
* | | Properly updating away state info if one resource goes down while anotherWilmer van der Gaast2007-07-01-8/+17
| | | | | | | | | | | | | | | | | | one's still there. Not sending offline notifications is great, but updating the away state info is even better. :-)
* | | Less copy-pasting in the service discovery reply and added MUC support toWilmer van der Gaast2007-07-01-22/+21
| | | | | | | | | | | | | | | that list. And adding some const stuff in the xmltree functions.
* | | Not calling imcb_remove_buddy() right after removing the XML console buddyWilmer van der Gaast2007-06-20-0/+4
| | | | | | | | | | | | | | | anymore.
* | | Added imcb_remove_buddy() so deletions in Jabber roster pushes actuallyWilmer van der Gaast2007-06-14-6/+5
| | | | | | | | | | | | | | | | | | work. This also solves the issue of underscores appearing and disappearing in their nicknames when people leave/join a chat.
* | | Calling imcb_add_buddy() before setting the nickname. This is the onlyWilmer van der Gaast2007-06-04-3/+6
| | | | | | | | | | | | | | | way to set the nickname in time before BitlBee sends the JOIN.
* | | 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/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Now anonymous rooms should really work. This makes sure the self-join willWilmer van der Gaast2007-06-04-4/+8
| | | | | | | | | | | | | | | | | | actually be recognized properly. This is running on my work machine for a few days already.
* | | Added a real XML-console to the Jabber module! Add the handle "xmlconsole"Wilmer van der Gaast2007-06-04-12/+63
| | | | | | | | | | | | | | | | | | | | | (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-16/+24
| | | | | | | | | | | | | | | | | | doesn't deal with it very well, and I don't really know yet how I'll solve this... :-(
* | | Fixes: handling of being kicked, now sending <presence/> tags to allWilmer van der Gaast2007-04-22-1/+14
| | | | | | | | | | | | | | | conferences the user's in.
* | | Got rid of one HORRIBLE stupidity called chat_by_channel(), which stillWilmer van der Gaast2007-04-22-2/+2
| | | | | | | | | | | | | | | | | | | | | used the GLOBAL IM connections list, allowing user A to interfere with user B's groupchats if running in daemon mode. I can't believe this was still there...
* | | You can send messages too now. But it's still very kludgy and doesn't workWilmer van der Gaast2007-04-22-13/+82
| | | | | | | | | | | | | | | 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-16/+306
|/ / | | | | | | | | Just don't use this, you're really not going to like it. :-)
* | Consistency; Using OPT_T(YP|HINK)ING for outgoing typing notfication crapWilmer van der Gaast2007-04-20-5/+5
| | | | | | | | | | too.
* | Jabber module should always send the status information of the primaryWilmer van der Gaast2007-04-20-4/+4
| | | | | | | | | | resource now, instead of just whatever came in last.
* | Renamed some more prpl functions.Wilmer van der Gaast2007-04-20-3/+3
| |
* | More API changes: buddy list management. imcb_add_buddy() is now a *real*Wilmer van der Gaast2007-04-18-18/+10
| | | | | | | | | | | | | | | | | | 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.
* | Fixed NULL pointer dereference in Jabber code.Wilmer van der Gaast2007-04-17-1/+2
| |