aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* msn: Fix "ADL/RML command with invalid modification" errorsdequis2015-05-13-3/+3
| | | | | | | The previous value (7) was FL | AL | BL, and the block role was replaced with "Hide" in msnp21, so the server was rejecting the parts of the ADL that had it. And since adding blocked contacts isn't very useful anyway, this is like silencing an annoying warning.
* Merge branch 'master' into developdequis2015-05-09-0/+1
|\
| * Make the bitlbee-libpurple package provide the bitlbee package, so pluginWilmer van der Gaast2015-05-09-0/+1
| | | | | | | | packages will be installable.
* | msn: fix use-after-free when the server sends OUTdequis2015-05-07-11/+11
| | | | | | | | | | | | | | Also fix a leak in msn_ns_callback while i'm at it. Also fix a potential null deref when req->reply_body is null and BITLBEE_DEBUG is enabled, but i don't even know if this one can happen.
* | More coverity fixes!dequis2015-05-07-8/+28
| | | | | | | | | | | | | | | | | | | | CID 18634: 'Logically dead code' in jabber_get_info CID 18638: 'Dereference after null check' in oauth2_access_token_done CID 18691: 'Copy into fixed size buffer' in bee_irc_user_new CID 20274: Leak in bee_irc_chat_invite CID 20297, CID 20283: Leaks in crypt_main Some the base64 leaks there weren't detected, needs modeling.
* | oscar/ssi.c: fix "same on both sides" in conditiondequis2015-05-07-1/+1
| | | | | | | | Fixes trac ticket 1196
* | twitter: split length check function into twitter_message_lendequis2015-05-07-4/+11
| | | | | | | | | | | | Mostly to be able to test twitter_message_len externally against the twitter-text conformance tests (the current version definitely fails - it doesn't do utf8 normalization)
* | Merge branch 'master' into developdequis2015-05-07-0/+7
|\|
| * configure: fix spoofed BITLBEE_VERSION env variable handlingdequis2015-05-06-0/+7
| |
* | irc_send_join: send topic before namesdequis2015-05-05-2/+1
| | | | | | | | | | Also don't send modes - clients are supposed to request that if they need it.
* | events_glib: fix parameter type warnings in event_debug() callsdequis2015-05-05-4/+4
| |
* | Remove some compatibility macros that referenced nonexistent functionsdequis2015-05-05-4/+0
|/
* Merge branch 'wilmer-twitter'Wilmer van der Gaast2015-05-04-23/+77
|\
| * Make replies to self work in Twitter.Wilmer van der Gaast2015-05-03-5/+25
| | | | | | | | | | Difficult because there's no bee_user struct pointing at the user themselves so instead just fake one for very limited use.
| * Parsing of "retweets with comment". Not documented by Twitter so good luck.Wilmer van der Gaast2015-05-03-17/+37
| | | | | | | | Also, fix bug in parsing of entities in DMs.
| * Add "url" command to Twitter module to get web URL for a Tweet.Wilmer van der Gaast2015-05-02-1/+15
| |
* | configure: change version number format, add --dump-versiondequis2015-05-03-25/+28
|/
* hipchat: Basic implementation: Auth, profile and mention namesdequis2015-04-28-11/+148
| | | | | | | | This is enough to log in with their usernames, make 'chat add' based groupchat joins slightly more smooth, and see mention names as nicks. All the MUC list stuff is left out intentionally since that's not as stable as I wish.
* oauth: fix use-after-free of the ->next of the listdequis2015-04-24-2/+3
| | | | | | | Third time's the charm. Previous attempt fixed something and broke something else. Whatever. Definitely valgrind clean this time.
* jabber: Register "hipchat" protocol (only minimal support for now)dequis2015-04-21-2/+17
| | | | | | | | | | | | | | | | | | | Another take on the subprotocols idea that, IMO, was a failure. Unlike the other implementation, this one doesn't touch gtalk/facebook accounts, it just adds another copy of the "jabber" prpl called "hipchat". And, based on the protocol name: - sets JFLAG_HIPCHAT to jabber_data - sets the default value of the "server" setting - only includes the oauth setting for jabber-type accounts This is slightly more "hardcoded" but honestly facebook and gtalk are just as hardcoded as this. Copying the prpl is needed because the meaning of the usernames is completely different (there's no srv lookup stuff either)
* msn: don't prevent reconnections on OUT OTHdequis2015-04-19-13/+2
| | | | | | The servers send them for other reasons nowadays, and all non-MPOP clients are blocked, so OTH is highly unlikely to mean "someone else logged in with your account"
* msn/gw.c: ensure that the im_connection still exists in callbacksdequis2015-04-12-25/+35
|
* msn: rename all old 'handler' variables to 'md' for consistencydequis2015-04-11-64/+62
| | | | I avoided doing this before to keep the diff small. But meh.
* msn: handle NOT command payload lengthdequis2015-04-11-0/+4
|
* msn: switch to long polling httpdequis2015-04-10-2/+9
|
* msn: handle NFY PUT (presence notifications), refactor a bitdequis2015-04-10-22/+109
|
* msn_set_away: fix strcmp check for idledequis2015-04-10-1/+1
|
* get_rfc822_header: allow headers at the end of a stringdequis2015-04-10-5/+6
|
* msn: implement the rest of the http gateway support, enable by defaultdequis2015-04-10-20/+106
|
* msn: add msn_queue_feed(), move read() out of msn_handler()dequis2015-04-10-21/+27
|
* msn: remove msn_linesplit, use g_strsplit_set insteaddequis2015-04-10-42/+10
|
* msn: start of the http gateway codedequis2015-04-10-1/+149
|
* msn: remove unsupported commands, OIMs and dead codedequis2015-04-10-308/+4
|
* msn: implement PUT /user to set status as onlinedequis2015-04-10-37/+42
|
* msn: removed switchboards, implemented SDG messagedequis2015-04-10-1012/+85
|
* msn: start update to msnp21dequis2015-04-10-11/+13
| | | | | | | | - bump protocol version - update CVR parameters - don't send BLP, send ADL right after getting contact list - NFY payload size parsing - MSNP21 style ADL
* msn: colorful debugdequis2015-04-10-2/+6
|
* irc_channel: use irc_t instead of bee_tdequis2015-04-06-8/+8
| | | | Fixes the test suite. I guess it's useful for something.
* msn: remove old/broken/unused msnftp stuff (requires distclean!)dequis2015-04-06-792/+0
| | | | | | | | | Since this removes invitation.h, do "make distclean" to fix build errors MSNFTP is a file transfer method used by early msn messenger versions, and has been replaced by MSNP2P probably 10 years ago. This code was disabled/commented out in bitlbee
* irc: split bee_irc_chat_name_hint in a few functionsdequis2015-04-06-66/+102
| | | | Also split underscore_dedupe from nick_dedupe.
* CHANGES: use utf-8 instead of latin1dequis2015-04-05-2/+2
| | | | It's not 2003 anymore
* proxy: minor refactor, simplify error handlingdequis2015-04-05-110/+36
|
* jabber: Fixed null deref when receiving <subject> from oneselfdequis2015-04-03-2/+2
| | | | | | | | If the from="..." of the message that includes a subject refers to us, that buddy object won't have an ext_jid set, and passing that to strchr() results in pain. This happens with recent versions of an xmpp server called "lets-chat".
* Merge branch 'master' into developdequis2015-03-25-6/+73
|\
| * Minor fixes before 3.4 release.3.4Wilmer van der Gaast2015-03-25-2/+4
| | | | | | | | Added date to doc/CHANGES and fixed "make tar".
| * Prepare for 3.4 releasedequis2015-03-15-5/+70
| |
* | chat_name_hint: normalize utf8 with fallback from the channel nameAntoine Pietri2015-03-25-3/+9
| |
* | Fix a bunch of memory leaksdequis2015-03-22-34/+56
|/ | | | | | | | | | | | | | | | | | | - irc_im.c: - bee_irc_user_msg: strdup leaks when otr swallows messages - bee_irc_user_action_response: GString leak in all ctcp replies - otr.c: - call g_slist_free() on the list of the otr_policy setting - otr_filter_msg_in: call otrl_tlv_free() if "tlvs" are returned - otr_filter_msg_out: don't g_strdup() if the message should be ignored - log_otr_message: g_strdup_vprintf() leaks always - nogaim.c: - imcb_ask_auth/imcb_ask_add: leaks in g_strdup_printf() - imcb_ask_add leaks imcb_ask_cb_data if the user already exists - add imcb_ask_cb_free() to correctly free its data - msn_util.c: add msn_buddy_ask_free(), ditto - storage_xml.c: pass_cr/password if base64_decode or arc_decode fail - ssl_gnutls.c: conn->hostname leak in error conditions, like invalid certs - jabber_util.c: jabber_buddy_by_ext_jid() leaks jid if it's not an ext jid
* purple: Fix null pointer dereference when logging out due to daemon modedequis2015-03-15-0/+4
| | | | | Purple just doesn't work with daemon mode anyway, but it's better to show the intended error message than to crash while showing it.
* purple: prplcb_close_request() improvementsdequis2015-03-15-24/+53
| | | | | | | - Added support for PURPLE_REQUEST_INPUT - Changed memory management to do the free() of data through purple_request_close(), letting purple know that the request was answered, and fixing use-after-free issues with it