aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
Commit message (Collapse)AuthorAgeLines
...
* Add handle_is_self() prpl function to fix JID mismatch confusion bugsdequis2015-01-25-4/+14
| | | | | | | | | When bee_chat needs to check for self messages, it can call this function to let the protocol implementation do the comparison. In the case of jabber, sometimes the server reports a different username after login, this one is stored in jd->internal_jid, and the one that is used for login isn't changed
* Add jabber_normalize_ext() to fix case sensitivity issues with ext jidsdequis2015-01-16-16/+30
| | | | | | Also refactor jabber_normalize() to be UTF8 aware. See trac ticket 1106 for more details
* Replace isdigit/isalpha/.../tolower/toupper with glib variantsdequis2015-01-16-4/+4
| | | | | | | | | | | This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c
* Some more g_source_remove warning fixesdequis2014-10-27-0/+9
| | | | | - http_incoming_data calling itself - jabber_bs_free_transfer calling jabber_si_free_transfer
* Add support for XEP-0203: Delayed delivery (message timestamps)dequis2014-10-10-11/+22
| | | | | | | | Very similar to XEP-0091 which is already supported, but was marked as obsolete, replaced by XEP-0203. The main differences are the tag name and the timestamp format. Due to the similarities, both XEPs are still supported.
* Handle not-authorized stream errors, avoid reconnectdequis2014-10-10-0/+5
| | | | Got this one while trying to connect to google servers with hipchat auth
* Remove MSNXMPP specific codedequis2014-10-10-23/+3
| | | | The MSN XMPP gateway was shutdown december 2013 and isn't coming back.
* One small comment correction while "merging" stuff.Wilmer van der Gaast2014-09-21-1/+1
|
* Added jabber_compare_jid to fix JID comparison case sensitivityGRMrGecko2014-07-24-1/+24
|
* Fix for rejecting buddy requests on jabber (Ticket #887)kevin8t82014-02-27-1/+1
| | | | Patch from ticket #1112
* Fix OAuth2 error reporting.Wilmer van der Gaast2013-05-25-3/+3
|
* Merging "storage" branch which I wrote long ago. It separates generation ofWilmer van der Gaast2013-04-20-1/+1
|\ | | | | | | | | | | XML-formatted user configs from disk I/O so we can try to start using other mechanisms to store them (a REST API or something, for example).
| * s/ACC_SET_NOSAVE/SET_NOSAVE/.Wilmer van der Gaast2012-06-07-1/+1
| |
* | I'm still bored on a long flight. Wrote a script to automatically updateWilmer van der Gaast2013-02-21-7/+7
| | | | | | | | | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file.
* | For the lazy among us: When adding a Jabber/MSN contact within the sameWilmer van der Gaast2013-02-21-2/+3
| | | | | | | | | | domain like you, you can omit the domain name.
* | Require StartTLS from all Jabber servers by default, like most clients doWilmer van der Gaast2013-01-06-1/+1
| | | | | | | | | | these days.
* | Fixed minor memory leak in Jabber module.Wilmer van der Gaast2012-12-24-0/+1
| |
* | Improved failure handling in jabber_si_handle_request(). If the imcbWilmer van der Gaast2012-12-18-2/+4
| | | | | | | | | | | | callback fails, we shouldn't try to continue the ft and dereference the NULL ptr it returned.
* | SSL fixes from Michal Suchanek.Wilmer van der Gaast2012-10-30-1/+1
| |
* | Merging XEP-0184 support patch from Michael Stapelberg, #999.Wilmer van der Gaast2012-10-28-0/+24
|\ \
| * | Implement jabber message receipts (XEP-0184)Michael Stapelberg2012-10-17-0/+31
|/ / | | | | | | | | | | | | This change will make BitlBee acknowledge messages when requested. It will not request message receipts from other clients, mainly because I am not sure if this feature can be mapped to IRC cleanly.
* | Handle see-other-host requests from XMPP servers. This should fix MSN/WLMWilmer van der Gaast2012-09-17-0/+31
| | | | | | | | | | XMPP support.
* | Allow building position-independent executables. #981, patch from brainsmoke.Wilmer van der Gaast2012-09-15-1/+1
|/
* Fix bug that broke MSN-XMPP with confusing error messages.Wilmer van der Gaast2012-03-10-2/+3
|
* Make the error message on invalid Jabber room names (this is a FAQ by now)Wilmer van der Gaast2012-02-23-1/+4
| | | | | a little more helpful.
* Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIRWilmer van der Gaast2012-02-11-3/+3
| | | | | unexpectedly being set to something already.
* Support for "nameless" chatrooms on Jabber.Wilmer van der Gaast2012-02-10-0/+55
| | | | | | | 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.
* Probing for Google Talk servers, based on iq-discovery responses. I'll needWilmer van der Gaast2012-02-10-1/+47
| | | | | this for automatically generating a sane name for groupchats.
* jabber_buddy_* stuff *is* a complete memory management hell already. :-(Wilmer van der Gaast2011-12-26-0/+2
| | | | | Hopefully this change fixes a small memory leak.
* A few more minor cleanups before merging this into mainline.Wilmer van der Gaast2011-12-26-9/+9
|
* Slight cleanup: Use a constant instead of just "jabber_oauth" everywhere,Wilmer van der Gaast2011-12-24-7/+9
| | | | | | 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-8/+33
|\
| * Removing unfinished debugging stuff accidentally committed inWilmer van der Gaast2011-12-24-36/+1
| | | | | | | | | | changeset:devel,856.
| * Merging SSL certificate verification for GnuTLS, with help from AopicieR.Wilmer van der Gaast2011-12-23-7/+32
| |\
| | * Just check if verification code != 0 instead of checking for one specificWilmer van der Gaast2011-12-19-1/+1
| | | | | | | | | | | | | | | bit. Any non-0 failure means a problem.
| | * 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.)
| | * Move conversion of status codes to status messages into SSL libs.Wilmer van der Gaast2011-12-19-34/+9
| | |
| | * Initial merge of tls_verify patch from AopicieR.Wilmer van der Gaast2011-12-19-4/+54
| | |
| * | Use initgroups() as well when dropping privileges. Closes bug #852.Wilmer van der Gaast2011-12-22-1/+36
| |/
* | 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-17/+12
| | | | | | | | | | magic, fixes escaping issues.
* | Detect JID changes at login time and warn the user about them.Wilmer van der Gaast2011-12-20-12/+48
| |
* | When updating the XMPP password field with OAuth data, try harder to preserveWilmer van der Gaast2011-12-19-13/+11
| | | | | | | | | | existing data. (Like refresh tokens which we'll need again on next login.)
* | Give a list of SASL mechanisms supported by a server when reporting we don'tWilmer van der Gaast2011-12-19-1/+17
| | | | | | | | | | support any of them.
* | Restructured and updated code a little bit to support new-style (much betterWilmer van der Gaast2011-12-18-32/+39
| | | | | | | | | | | | 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-17/+69
| | | | | | | | | | | | 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-5/+9
|\|
| * Merging non-SASL authentication patch from #863. This also implementsWilmer van der Gaast2011-12-07-2/+5
| | | | | | | | | | | | | | 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.
| * Killed careless use of strcpy(). Luckily these are only a risk on publicWilmer van der Gaast2011-10-30-3/+4
| | | | | | | | | | servers.
* | Error handling fixes.Wilmer van der Gaast2011-08-04-1/+3
| | | | | | | | | | | | Found one double free() bug causing troubles when a buddy_msg() handler takes down the IM connection immediately.