aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/ns.c
Commit message (Collapse)AuthorAgeLines
* Remove MSN. Use the skypeweb purple plugin instead.dequis2018-01-10-779/+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.
* msn: Fix ADL/RML (add/remove from list) throwing server errorsdequis2015-12-30-0/+2
|
* msn: Send VER/CVR/USR together in the first request for faster logindequis2015-11-28-4/+10
|
* 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.
* 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-5/+9
|
* msn: took me way too long to realize i broke the builddequis2015-05-14-2/+0
|
* msn: Implement sending typing notificationsdequis2015-05-13-9/+13
| | | | Also remove some old unused debug stuff
* 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-5/+2
| | | | | | | 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-7/+2
|
* 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: handle NFY PUT (presence notifications), refactor a bitdequis2015-04-10-22/+109
|
* 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-10/+41
|
* msn: add msn_queue_feed(), move read() out of msn_handler()dequis2015-04-10-4/+12
|
* msn: remove unsupported commands, OIMs and dead codedequis2015-04-10-212/+4
|
* msn: removed switchboards, implemented SDG messagedequis2015-04-10-162/+45
|
* msn: start update to msnp21dequis2015-04-10-10/+12
| | | | | | | | - 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-1/+1
|
* coverity: Fix some (harmless?) use-after-free with g_slist_remove()dequis2015-02-22-2/+1
| | | | | | | 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-696/+607
| | | | | | | 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-2/+2
| | | | | | | | | | | 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-2/+2
|
* Extend keepalive code to time out connections when pings don't getWilmer van der Gaast2012-11-11-0/+4
| | | | | acknowledged, using this for Twitter streams and MSN so far.
* Suppress own UBM messages.Wilmer van der Gaast2012-09-29-2/+13
|
* Support for sending messages to federated contacts. They don't seem to arriveWilmer van der Gaast2012-09-29-3/+12
| | | | | but Pidgin seems to have the same problem.
* Support for receiving messages via the NS (UBM command).Wilmer van der Gaast2012-09-25-3/+28
|
* Fixed syntax error introduced by latest merge.Wilmer van der Gaast2012-09-22-1/+1
|
* Merge mainline.Wilmer van der Gaast2012-09-22-2/+2
|\
| * Little cleanup. Use xt_from_string() where possible.Wilmer van der Gaast2012-09-22-2/+2
| |
* | Notification on incoming offline messages. Life is too short to implementWilmer van der Gaast2012-09-16-1/+51
| | | | | | | | | | | | the SOAP code to actually fetch them but at least tell the user that s/he received something.
* | Online status should be read properly now.Wilmer van der Gaast2012-09-16-41/+29
| |
* | Some more tweaks: Should show up online now, and be able to send and receiveWilmer van der Gaast2012-09-16-2/+2
| | | | | | | | | | messages. Seeing online state is still a problem due to the protocol#: gunk.
* | Generate a machine UUID instead of using a hardcoded one.Wilmer van der Gaast2012-09-16-2/+21
| |
* | MSNP18 code. It logs in now but otherwise doesn't work all too well.Wilmer van der Gaast2012-09-16-1/+49
|/
* Add missing newslines to debugging output. Bug #896.Wilmer van der Gaast2012-02-11-1/+1
|
* Moving msn_findheader() to lib/misc.c as get_rfc822_header() so I can use itWilmer van der Gaast2011-12-19-7/+7
| | | | | in OAuth as well. (Need it to find the Content-Type: header.)
* MSN: No clue if the OUT command can specify other reasons, but if so, showWilmer van der Gaast2011-11-26-1/+2
| | | | | it to the user.
* Fixed issue with logging in to unverified MSN accounts.Wilmer van der Gaast2010-11-13-3/+14
|
* Fixed some still-leaky code in the MSN incoming status message handling.Wilmer van der Gaast2010-10-23-5/+5
|
* Fixed some memory leaks.Wilmer van der Gaast2010-10-06-0/+1
|
* Finish re-authentication works. Should now work for OIMs as well.Wilmer van der Gaast2010-09-04-5/+0
|
* This works (includes some token sabotage code to ease testing), but I justWilmer van der Gaast2010-09-04-4/+11
| | | | | realised there's probably no need for the additional temporary NS connection.
* Rearrange things a bit to support multiple NS connections. This is apparentlyWilmer van der Gaast2010-09-03-46/+68
| | | | | needed for refreshing auth. tokens.
* Replace msn*write functions with saner versions that accept format strings.Wilmer van der Gaast2010-09-02-29/+46
| | | | | Also preparing for additional temporary NS connections (auth token renewal).