aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn
Commit message (Collapse)AuthorAgeLines
* Remove MSN. Use the skypeweb purple plugin instead.dequis2018-01-10-3633/+0
| | | | | | | | | | | | | | RIP As per http://ismsndeadyet.com/ all versions up to MSNP22 died a few months ago. We had a MSNP21 implementation, bought us two extra years. Implementing MSNP24 is technically possible but also pointless given skypeweb, and the authentication requires some fairly messed up crypto and legacy old-skype-protocol servers. For a long time I tried to reverse a potentially simpler method, and got fairly close, but never completed that. I haven't done any attempts to continue it in the last year, so I'm fine with giving up at this point.
* Add --verbose configure option to control verbose build outputTim Harder2017-03-12-2/+2
| | | | Defaults to disabled to maintain the status quo.
* Fix some compiler warningsdequis2016-11-28-3/+3
| | | | | | | | warn_unused_result on write() is particularly annoying. You can't just add (void) to ignore it due to gcc bug 66425. I replaced some of those with fwrite() and used a variable marked with the G_GNUC_UNUSED attribute for the writes from signal handlers.
* msn: Fix ADL/RML (add/remove from list) throwing server errorsdequis2015-12-30-1/+3
|
* msn: Don't truncate passwords to 16 chars anymore.dequis2015-12-30-5/+1
| | | | This was needed back in 2010, but now it's not.
* msn: remove suggestion to use the official client, which is deaddequis2015-11-29-2/+1
| | | | I mean sure you could use messenger reviver but..
* msn: Send VER/CVR/USR together in the first request for faster logindequis2015-11-28-4/+10
|
* msn: Buffer writes a bit to send several commands with a single requestdequis2015-11-28-2/+27
| | | | | | | | Just a 1msec timeout, so that it will run in the next main loop iteration. The official clients send the first few commands in the same request, which reduces roundtrips during login. This commit doesn't do that.
* MSN: self message supportdequis2015-10-30-13/+34
| | | | This is straightforward, like receiving a message with From/To swapped
* msn: Don't reconnect on wsse:FailedAuthentication errorsdequis2015-10-14-1/+7
| | | | That includes location blocked and incorrect password.
* msn: Better error messages on 'location blocked'dequis2015-10-14-0/+5
| | | | | | | This is what the 'howtofixmsn' wiki page addressed, which has a very generic name because it's one of the first msn issues that appeared when we thought it was dying. Since it's just a security measure, it still appears when people log in from unusual locations.
* Rename mail notification related settings for consistencydequis2015-05-28-3/+3
| | | | | - GMail notifications stuff is now just 'mail_notifications' - sed -i s/notify_handle/mail_notifications_handle/
* imcb_notify_email: change parameters to take a format stringdequis2015-05-28-7/+2
| | | | | | | Saves some messing with g_strdup_printf for the callers, and flags/sent_at weren't used anyway. Also check if the mail_notifications setting is enabled
* Gmail notifications support through new imcb_notify_email() APIArtem Savkov2015-05-28-6/+18
|
* msn: took me way too long to realize i broke the builddequis2015-05-14-2/+0
|
* msn: Implement sending typing notificationsdequis2015-05-13-38/+19
| | | | Also remove some old unused debug stuff
* msn: Remove nudgesdequis2015-05-13-33/+0
|
* 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.
* 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.
* 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-0/+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
|
* 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
* Fix a bunch of memory leaksdequis2015-03-22-7/+13
| | | | | | | | | | | | | | | | | | | - 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
* msn: Update FindMembership payload to fix incorrect pending requestsdequis2015-03-10-1/+1
| | | | | | | | | | | | | | | | It was requesting memberships for the following services: Messenger, Invitation, SocialNetwork, Space, Profile Now it only requests the same services as WLM 2012: Messenger, IMAvailability Fixes trac ticket 1191. I'm going to apply this to the master branch just for the sake of marking it as fixed, but I can't log in at all with that branch at the moment. Yes this is silly.
* Disable msn by default :(dequis2015-02-28-3/+11
| | | | | | | I didn't want to do the next release with a broken msn, but... gotta be realistic. Also featuring shameless plug.
* coverity: Fix some (harmless?) use-after-free with g_slist_remove()dequis2015-02-22-6/+4
| | | | | | | These were passing a pointer to a variable right after it was g_free()'d They are most likely harmless as g_slist_remove() probably just needs the pointer location, but fixing it anyway.
* Reindent everything to K&R style with tabsIndent2015-02-20-3008/+2892
| | | | | | | 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.
* msn_ns_send_adl_1: Fix alloc_strlen coverity warningdequis2015-01-16-1/+1
| | | | Allocating insufficient memory for the terminating null of the string
* Replace isdigit/isalpha/.../tolower/toupper with glib variantsdequis2015-01-16-5/+5
| | | | | | | | | | | 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
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-20/+20
|
* msn: configurable notification server host/portdequis2014-12-06-2/+10
|
* msn: add 'allow' role if contact has neither block nor allowdequis2014-11-17-0/+8
| | | | | This workarounds the problems of showing as offline to other contacts, by sending ADL with role 3 (FL+AL) instead of just 1 (FL, no AL or BL)
* msn_buddy_ask: only ask to add if contact is in pending listdequis2014-11-17-1/+1
| | | | | Previously it asked if they were in pending/reverse but not allow/block. In theory that would fix inconsistent states. And in practice... nope.
* msn: Update ApplicationId again to one used by skypedequis2014-11-17-1/+1
| | | | Because why not
* msn: update ABService ApplicationId to WLM 2012 to fix logindequis2014-11-12-1/+1
| | | | The previous ApplicationId was from WLM 2008 (8.5)