summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_auth.cpp
AgeCommit message (Collapse)Author
2017-06-06MSN: fix for token expiration time's calculationGeorge Hazan
2017-06-05MSNGeorge Hazan
- fix for rare crash; - all pre-MSNP24 code removed
2017-05-21another manual json parser died in MSNGeorge Hazan
2017-05-20MSN: crash fix for extra-long auth tokensGeorge Hazan
2017-03-23MSN: Raised password length limit to 99 chars (fixes #658)Robert Pösel
It might be rewritten better to remove any limit though.
2017-02-16dynamic loading of openssl removedGeorge Hazan
2017-01-12Netlib_FreeHttpRequest() instead of MS_NETLIB_FREEHTTPREQUESTSTRUCTGeorge Hazan
2017-01-01bump copyright yeardartraiden
2016-07-26less TCHARs:George Hazan
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25hello, Unix.George Hazan
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-22Standardize use of slashes in includes to "/" (thanks ybznek for idea)Robert Pösel
Previous paths weren't usable on Linux git-svn-id: http://svn.miranda-ng.org/main/trunk@17121 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-24MSN: Only loading OpenSSL lib for login, so that there is no waste of memory ↵Piotr Piastucki
if tokens are already present Added logging for skylogin. git-svn-id: http://svn.miranda-ng.org/main/trunk@16536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-19SkyLogin must be used only if OpenSSL is presentGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@16513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-19built-in skylogin library (gotten from https://github.com/msndevs/skylogin.git)George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@16512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Copyrights update part 2Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15985 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-04MSN:Tobias Weimer
- minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-04MSN:Tobias Weimer
- minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-03MSN: Forgot to return value in function returning boolPiotr Piastucki
git-svn-id: http://svn.miranda-ng.org/main/trunk@15675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-27- MSN: Managing and refreshing OAuth tokens with different expiration times. Piotr Piastucki
git-svn-id: http://svn.miranda-ng.org/main/trunk@15627 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-19MSN: Periodically refresh OAuth so that connection doesn't timeout with ↵Piotr Piastucki
error 922 after 24 hours. git-svn-id: http://svn.miranda-ng.org/main/trunk@15573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-03MSN: coverity fixes MikalaiR
git-svn-id: http://svn.miranda-ng.org/main/trunk@15503 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-28mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever ↵George Hazan
possible git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-11code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14904 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-10Fixed MSN IEEmbed window to support accelerator keys.Piotr Piastucki
git-svn-id: http://svn.miranda-ng.org/main/trunk@14896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-10Added embedded Internet Explorer Window for MSN 2-factor authentication or ↵Piotr Piastucki
other login issues where manual user intervention is necessary. git-svn-id: http://svn.miranda-ng.org/main/trunk@14890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-28MSN:Tobias Weimer
- Popups on login errors git-svn-id: http://svn.miranda-ng.org/main/trunk@14745 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-03Open Browser Window with auth in every case when there is HTTP 200.Piotr Piastucki
git-svn-id: http://svn.miranda-ng.org/main/trunk@14481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-21MS_UTIL_OPENURL -> mir_core::Utils_OpenUrlGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-21MS_UTILS_GETRANDOM -> mir_core::Utils_GetRandomGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-19SIZEOF replaced with more secure analog - _countofGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-19timezone api migrated to mir_coreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-04fix for MSN avatars thread hangupGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-04unified project for MSN George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13997 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-04Fixed a memleak in groupchatPiotr Piastucki
Added support for contact list fetching for plain Skype user finally enabling usage of Skype accounts via skylogin.dll (login only working once in a session though, currently cannot find out why). Prevent launching of duplicate keepAliveThread git-svn-id: http://svn.miranda-ng.org/main/trunk@13995 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-27Implemented fetching Skype Token for Cloud storage API.Piotr Piastucki
Fixed error handling. Implemented handling of RichText/UriObject git-svn-id: http://svn.miranda-ng.org/main/trunk@13855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-23replace strcat to mir_strcatKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strcpy to mir_strcpyKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strcmp to mir_strcmpKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strlen to mir_strlenKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-19 - Better also save SOAP store access token.Piotr Piastucki
- Implemented handling of NFY MSGR\ABCH message although I never saw one (so untested). git-svn-id: http://svn.miranda-ng.org/main/trunk@13706 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-19Fixed some memleaks.Piotr Piastucki
Added contact list exchange feature. git-svn-id: http://svn.miranda-ng.org/main/trunk@13704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-17- Forgot to save hotAuthToken which prevented login to Hotmail inbox after ↵Piotr Piastucki
restart and relogin. You need to delete authTokenExpireTime in DB in order to get new token or wait 24h - Cached netId in MyOptions for faster access git-svn-id: http://svn.miranda-ng.org/main/trunk@13662 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16On M$ account login problem (i.e. due to security measures), open up browser ↵Piotr Piastucki
window to let user correct the problem (untested). git-svn-id: http://svn.miranda-ng.org/main/trunk@13659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16- Fixed port number in options dlg (which still showed old port number)Piotr Piastucki
- Changed checkboxes to enable setting instead of disable it by checking them which seems a bit inconsistent. - Also cache MSN Passport token as it is needed for editing MSN profile in web - Do not set user status to offline when another endpoint of our user (i.e. web) disconnects. - Set wlid in options dialog when saving username/pass so that other modules can also read current WLID correctly (as we do not rely on e-mail addresses anymore) - Kick out file sending/receiving capability as this doesn't work anymore. git-svn-id: http://svn.miranda-ng.org/main/trunk@13658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16- Cache authContactToken after refresh in MSN_GetPassportAuth as this token ↵Piotr Piastucki
expires already after 8 hours whereas other tokens like login persist 24h - Fixed groupchat invite - Fork Contact list Refresh on connect into background thread so that login is faster. git-svn-id: http://svn.miranda-ng.org/main/trunk@13615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-15- crash fix in chats;George Hazan
- static buffer returned, now with buffer overrun control; - warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@13604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-15 - Now only requesting OAuth tokens on SkyLogin to speed up login process, ↵Piotr Piastucki
as required tokens get issued by SOAP Passport-Request anyway. - Fixed a bug introduced by ghazan's last commit which prevented proper connecting. git-svn-id: http://svn.miranda-ng.org/main/trunk@13601 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-14- crash fix;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@13594 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-14Fixed web authentication method without SkyLib.Piotr Piastucki
git-svn-id: http://svn.miranda-ng.org/main/trunk@13592 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-14Updated for partial MSNP24 protocol support, for detailed changes see MSNP24 ↵Piotr Piastucki
branch. git-svn-id: http://svn.miranda-ng.org/main/trunk@13589 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c