aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
* - 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
* Keeping track of valid Jabber connections so _connected() events will beWilmer van der Gaast2008-01-24-1/+20
| | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
* The Jabber module now uses imcb_chat_log() instead of imcb_log() whereWilmer van der Gaast2008-01-20-5/+41
| | | | | possible.
* GET_BUDDY_FIRST wasn't actually implemented, even though it was in useWilmer van der Gaast2008-01-20-7/+19
| | | | | already. I don't want to know how long it took me to find out...
* Fixed handing of failed groupchat joins.Wilmer van der Gaast2008-01-13-6/+5
|
* Fixed "Conditional jump or move depends on uninitialised value(s)" atWilmer van der Gaast2008-01-13-1/+1
| | | | | jabber_pkt_presence (presence.c:174). Valgrind-Wilmer: 1-0.
* Fixing bug #344, now away states should always be correct, even when peopleWilmer van der Gaast2008-01-11-19/+19
| | | | | | do complicated things with multiple resources. (There were two bugs and some duplicated code, so I moved things around a bit.)
* More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-9/+9
| | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
* Added missing return in jabber_login().Wilmer van der Gaast2007-12-28-0/+2
|
* Implemented XEP-0199 (patch from misc@mandriva.org).Wilmer van der Gaast2007-12-16-1/+12
|
* Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-2/+2
| | | | | usage bug.
* Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-1/+37
| | | | | to chat_invite).
* Fixing jabber_login/_logout for better (non-crashing) cleanup on earlyWilmer van der Gaast2007-12-04-2/+6
| | | | | connect failure.
* 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.
* 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?).