aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
Commit message (Collapse)AuthorAgeLines
* Support for "nameless" chatrooms on Jabber.Wilmer van der Gaast2012-02-10-0/+6
| | | | | | | Just join #somechannel and start inviting people. It should Just Work, like on other IM networks. Works at least with GTalk and with other servers that have conference stuff installed on conference.$servername.
* Slight cleanup: Use a constant instead of just "jabber_oauth" everywhere,Wilmer van der Gaast2011-12-24-2/+3
| | | | | | and added some safeguards to keep the user from messaging it when we're not actually doing OAuth setup.
* Merging mainline.Wilmer van der Gaast2011-12-24-2/+5
|\
| * Removing unfinished debugging stuff accidentally committed inWilmer van der Gaast2011-12-24-31/+1
| | | | | | | | | | changeset:devel,856.
| * Merging SSL certificate verification for GnuTLS, with help from AopicieR.Wilmer van der Gaast2011-12-23-1/+4
| |\
| | * Add verify argument to ssl_connect() so HTTPS-based stuff is also secure.Wilmer van der Gaast2011-12-19-1/+1
| | | | | | | | | | | | | | | (Think of Twitter, but also MSN/Yahoo! authentication.)
| | * Initial merge of tls_verify patch from AopicieR.Wilmer van der Gaast2011-12-19-0/+3
| | |
| * | Use initgroups() as well when dropping privileges. Closes bug #852.Wilmer van der Gaast2011-12-22-1/+31
| |/
* | Make it easier to add OAuth-authenticated accounts without having to typeWilmer van der Gaast2011-12-21-4/+4
| | | | | | | | | | a bogus password.
* | Fix parsing of acc->pass. Use oauth_params_ functions instead of stringWilmer van der Gaast2011-12-21-4/+12
| | | | | | | | | | magic, fixes escaping issues.
* | Detect JID changes at login time and warn the user about them.Wilmer van der Gaast2011-12-20-7/+4
| |
* | Restructured and updated code a little bit to support new-style (much betterWilmer van der Gaast2011-12-18-6/+17
| | | | | | | | | | | | and "proper" OAuth2) Facebook OAuth support. (And, add wl.offline scope to get tokens that don't expire after an hour.)
* | More generic OAuth support now. Should work well for all GTalk accounts nowWilmer van der Gaast2011-12-18-0/+7
| | | | | | | | | | | | and somewhat for MS Messenger. The fb part needs different parsing of the authorize request, and possibly some other work.
* | Mainline merge.Wilmer van der Gaast2011-12-17-0/+3
|\|
| * Merging non-SASL authentication patch from #863. This also implementsWilmer van der Gaast2011-12-07-0/+3
| | | | | | | | | | | | | | hidden-default settings, which means a setting is hidden unless it was changed from the default. This seems like appropriate behaviour for something as obscure as this.
* | Error handling fixes.Wilmer van der Gaast2011-08-04-0/+1
| | | | | | | | | | | | Found one double free() bug causing troubles when a buddy_msg() handler takes down the IM connection immediately.
* | Don't timeout Jabber connections on OAuth initialization.Wilmer van der Gaast2011-07-31-0/+3
| |
* | OAuth code cleanup.Wilmer van der Gaast2011-07-31-0/+3
| |
* | Working OAuth2 support. Needs some more debugging (error handling is notWilmer van der Gaast2011-07-26-3/+38
| | | | | | | | | | great and imc_logout() gets (rightfully) confused when jabber_data is empty).
* | Kill obsolete Jabber server string (SSL, port#s, etc) parsing.Wilmer van der Gaast2011-07-25-55/+0
| |
* | Nothing useful yet, this just generates an auth URL. Things to do: AbilityWilmer van der Gaast2011-07-22-0/+2
|/ | | | | | | | | | to process the answer. This is hard because the GTalk server will time out very quickly which means we lose our state/scope/etc. (And the ability to even receive the answer, at least if I'd do this the same way the Twitter module does it.) And then, get the access token and use it, of course. :-)
* 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.