Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Reindent everything to K&R style with tabs | Indent | 2015-02-20 | -3442/+3326 |
| | | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame. | |||
* | Use glib's GChecksum for md5/sha1 | dequis | 2015-01-31 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | This changes behavior slightly: - md5_init()/sha1_init() allocate a GChecksum - md5_finish()/sha1_finish() close and free() it - md5_digest_keep() was added (no sha1 equivalent needed) And yes, glib has this concept of "closing" the GChecksum, which means it can't be used anymore after g_checksum_get_digest(). jabber_cache_add() actually seems to need to do that to generate some random-ish values, so i kept that working by adding a md5_digest_keep() function that copies the GChecksum before it gets closed GChecksum was introduced in glib 2.16, so the configure script version was bumped. We were already depending on glib 2.16 accidentally (some post-3.2.2 code uses GHashTableIter) | |||
* | jabber: Account-wide display_name setting, for groupchats | dequis | 2015-01-25 | -1/+11 |
| | | | | | This sets the default value of 'nick' for newly created groupchats. There is no way to set an account-wide nick. | |||
* | Add handle_is_self() prpl function to fix JID mismatch confusion bugs | dequis | 2015-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 jids | dequis | 2015-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 variants | dequis | 2015-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 fixes | dequis | 2014-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) | dequis | 2014-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 reconnect | dequis | 2014-10-10 | -0/+5 |
| | | | | Got this one while trying to connect to google servers with hipchat auth | |||
* | Remove MSNXMPP specific code | dequis | 2014-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 Gaast | 2014-09-21 | -1/+1 |
| | ||||
* | Added jabber_compare_jid to fix JID comparison case sensitivity | GRMrGecko | 2014-07-24 | -1/+24 |
| | ||||
* | Fix for rejecting buddy requests on jabber (Ticket #887) | kevin8t8 | 2014-02-27 | -1/+1 |
| | | | | Patch from ticket #1112 | |||
* | Fix OAuth2 error reporting. | Wilmer van der Gaast | 2013-05-25 | -3/+3 |
| | ||||
* | Merging "storage" branch which I wrote long ago. It separates generation of | Wilmer van der Gaast | 2013-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 Gaast | 2012-06-07 | -1/+1 |
| | | ||||
* | | I'm still bored on a long flight. Wrote a script to automatically update | Wilmer van der Gaast | 2013-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 same | Wilmer van der Gaast | 2013-02-21 | -2/+3 |
| | | | | | | | | | | domain like you, you can omit the domain name. | |||
* | | Require StartTLS from all Jabber servers by default, like most clients do | Wilmer van der Gaast | 2013-01-06 | -1/+1 |
| | | | | | | | | | | these days. | |||
* | | Fixed minor memory leak in Jabber module. | Wilmer van der Gaast | 2012-12-24 | -0/+1 |
| | | ||||
* | | Improved failure handling in jabber_si_handle_request(). If the imcb | Wilmer van der Gaast | 2012-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 Gaast | 2012-10-30 | -1/+1 |
| | | ||||
* | | Merging XEP-0184 support patch from Michael Stapelberg, #999. | Wilmer van der Gaast | 2012-10-28 | -0/+24 |
|\ \ | ||||
| * | | Implement jabber message receipts (XEP-0184) | Michael Stapelberg | 2012-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/WLM | Wilmer van der Gaast | 2012-09-17 | -0/+31 |
| | | | | | | | | | | XMPP support. | |||
* | | Allow building position-independent executables. #981, patch from brainsmoke. | Wilmer van der Gaast | 2012-09-15 | -1/+1 |
|/ | ||||
* | Fix bug that broke MSN-XMPP with confusing error messages. | Wilmer van der Gaast | 2012-03-10 | -2/+3 |
| | ||||
* | Make the error message on invalid Jabber room names (this is a FAQ by now) | Wilmer van der Gaast | 2012-02-23 | -1/+4 |
| | | | | | a little more helpful. | |||
* | Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR | Wilmer van der Gaast | 2012-02-11 | -3/+3 |
| | | | | | unexpectedly being set to something already. | |||
* | Support for "nameless" chatrooms on Jabber. | Wilmer van der Gaast | 2012-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 need | Wilmer van der Gaast | 2012-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 Gaast | 2011-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 Gaast | 2011-12-26 | -9/+9 |
| | ||||
* | Slight cleanup: Use a constant instead of just "jabber_oauth" everywhere, | Wilmer van der Gaast | 2011-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 Gaast | 2011-12-24 | -8/+33 |
|\ | ||||
| * | Removing unfinished debugging stuff accidentally committed in | Wilmer van der Gaast | 2011-12-24 | -36/+1 |
| | | | | | | | | | | changeset:devel,856. | |||
| * | Merging SSL certificate verification for GnuTLS, with help from AopicieR. | Wilmer van der Gaast | 2011-12-23 | -7/+32 |
| |\ | ||||
| | * | Just check if verification code != 0 instead of checking for one specific | Wilmer van der Gaast | 2011-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 Gaast | 2011-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 Gaast | 2011-12-19 | -34/+9 |
| | | | ||||
| | * | Initial merge of tls_verify patch from AopicieR. | Wilmer van der Gaast | 2011-12-19 | -4/+54 |
| | | | ||||
| * | | Use initgroups() as well when dropping privileges. Closes bug #852. | Wilmer van der Gaast | 2011-12-22 | -1/+36 |
| |/ | ||||
* | | Make it easier to add OAuth-authenticated accounts without having to type | Wilmer van der Gaast | 2011-12-21 | -4/+4 |
| | | | | | | | | | | a bogus password. | |||
* | | Fix parsing of acc->pass. Use oauth_params_ functions instead of string | Wilmer van der Gaast | 2011-12-21 | -17/+12 |
| | | | | | | | | | | magic, fixes escaping issues. | |||
* | | Detect JID changes at login time and warn the user about them. | Wilmer van der Gaast | 2011-12-20 | -12/+48 |
| | | ||||
* | | When updating the XMPP password field with OAuth data, try harder to preserve | Wilmer van der Gaast | 2011-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't | Wilmer van der Gaast | 2011-12-19 | -1/+17 |
| | | | | | | | | | | support any of them. | |||
* | | Restructured and updated code a little bit to support new-style (much better | Wilmer van der Gaast | 2011-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 now | Wilmer van der Gaast | 2011-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 Gaast | 2011-12-17 | -5/+9 |
|\| |