summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
AgeCommit message (Collapse)Author
2015-12-16Facebook: Fix typo in previous login fix (commit r15873), now works correctlyRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15878 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-16Facebook: Fix login for some other people too (parsing also differently ↵Robert Pösel
specified cookies) git-svn-id: http://svn.miranda-ng.org/main/trunk@15873 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-12Facebook: Fix routing of unsupported statuses to Away instead of OnlineRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15845 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-12Facebook: Don't set away users as idleRobert Pösel
If this will be reconsidered and enabled marking away people as idle again, then don't forget to add reseting the idle flag back to false. Because in previous commit it was set only to true and never back, even when user was online again. git-svn-id: http://svn.miranda-ng.org/main/trunk@15844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-12Facebook: Visibility/away improvementsRobert Pösel
* Mark contacts last active more than 1 minute ago as away * Don't make us active for FB when we're invisible or away git-svn-id: http://svn.miranda-ng.org/main/trunk@15843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-12Facebook: Support for "away" status (behaves just like being idle in ↵Robert Pösel
Miranda); version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@15842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-11Facebook: Fix login for users from Belgium; version bumpRobert Pösel
By parsing "deferred cookies" set by JavaScript. git-svn-id: http://svn.miranda-ng.org/main/trunk@15837 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-25Facebook: Attempt to fix problem with login for some peopleRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-09Facebook: Disable marking contacts "on the phone" as it is not reliable anymoreRobert Pösel
Added new hidden option "FetchMobile" (byte), which is default "0" (disabled), but you can set "1" to mark all contacts that are in json's array "mobile_friends" as "on the phone". Also you can set it to "2" to set MirVer based on some "c" field, but it is just guessed and not really correct - it was just internal test to try to distinguish between them to understand what the "c" field means. git-svn-id: http://svn.miranda-ng.org/main/trunk@15701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-01Facebook: Fix setting contacts' status "on the phone" with new version of ↵Robert Pösel
Facebook In new version Facebook stopped sending "p" json element with info about client user is connected with. Without that info, we won't have correct MirVer anymore (now setting website by default). But there is still element which say what contacts are "on mobile" so now we use that correctly. git-svn-id: http://svn.miranda-ng.org/main/trunk@15665 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-27private messages in Facebook aren't marked as read if a contact is a sub in ↵George Hazan
metacontact git-svn-id: http://svn.miranda-ng.org/main/trunk@15625 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-20Facebook: Adapt to use std_string_utilsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15576 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-05Facebook: new MessageState api MikalaiR
git-svn-id: http://svn.miranda-ng.org/main/trunk@15251 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-05Facebook: Fix creating wrongly identified group chats as dummy contacts ↵Robert Pösel
during history sync at login Problem was caused by expectation that thread_fbid has only classic contacts, but in fact even group chats can have it. Solution is to use other_user_fbid which is null for group chat contacts. git-svn-id: http://svn.miranda-ng.org/main/trunk@15246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-04compilation fixVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@15245 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-04Facebook: menu uidAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-01Facebook: Revise various requests, remove weird typing optimizationRobert Pösel
Revised requests: * typing notification * thread_sync * thread_info * user_info * user_info_all * buddy_list git-svn-id: http://svn.miranda-ng.org/main/trunk@15143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-01Facebook: Add new option "Prefer real names instead of nicknames"Robert Pösel
By disabling it you will see nicknames (if available) instead of real name of contacts. git-svn-id: http://svn.miranda-ng.org/main/trunk@15142 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-01Facebook: Lower number of send message tries to 1 and provide hidden option ↵Robert Pösel
for it Key "SendMessageTries" (byte), default=1, min=1, max=5 git-svn-id: http://svn.miranda-ng.org/main/trunk@15141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-01Facebook: Fix showing correct error message (e.g. when sending messages)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15140 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-01Facebook: Various fixesRobert Pösel
* Use InterlockedIncrement for msgId * Remove old phstamp parameter and use fixed ttstamp instead * Use __req parameter in requests * Use __rev parameter with static value in requests (hopefully it's better than empty) git-svn-id: http://svn.miranda-ng.org/main/trunk@15139 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-29Facebook: Fix getting friend requests at login; version bumpRobert Pösel
And some small other code changes git-svn-id: http://svn.miranda-ng.org/main/trunk@15097 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-29Facebook: Fix receiving messages on login / opening windowRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15096 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-29Facebook: Fix receiving messages (broken in r15046)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15082 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-27name conflictsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@15046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-23Facebook: Fix getting login error messageRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-17warning fixesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14980 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-16fix for conversion from HBRUSH to BOOLGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14967 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-21Facebook: vc2015 compilation fixKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@14612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-30- fix for the old perversion with manual protocol root calculation;George Hazan
- protocol menu root is always created by the core; - other minor problems with protocol menus in main menu went away git-svn-id: http://svn.miranda-ng.org/main/trunk@14462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-30MS_CLIST_GETSTATUSMODEDESCRIPTION & MS_CLIST_GETCONTACTDISPLAYNAME replaced ↵George Hazan
with pcli->* members git-svn-id: http://svn.miranda-ng.org/main/trunk@14459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-30fix for menu problemsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-29- unified menu creation using wrapper class CMenuItem;George Hazan
- duplicated hLangpack field removed from TMO_IntMenuItem; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-28finally CLISTEVENT removed completelyGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-28code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27minor menu related fixesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27fix for the protocols' menusGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27- CLISTMENUITEM::pszContactOwner removed, because it's supported only by ↵George Hazan
contact's menu; - Menu_AddContactMenuItem now receives parameter szProto; - Menu_Add* helpers are converted into real functions; git-svn-id: http://svn.miranda-ng.org/main/trunk@14409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26YEEHAW! CLISTMENUITEM::pszPopupName also diedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26next slice of cutting out unused menu features - popupPositionGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-25- Menu_EnableItem & Menu_SetChecked - more suitable helpers to set flags;George Hazan
- fix for checks in frame menus; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14389 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-25- Set wparam and lParam to 0 as default arg in CallService and others, to ↵Tobias Weimer
simplify some code git-svn-id: http://svn.miranda-ng.org/main/trunk@14384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-25another portion of dead genmenu servicesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-23obsoleted constants CMIF_ROOTPOPUP & CMIF_CHILDPOPUP replaced with ↵George Hazan
CMIF_ROOTHANDLE git-svn-id: http://svn.miranda-ng.org/main/trunk@14350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-23- Menu_ConfigureItem replaced MO_SETOPTIONSMENUITEM;George Hazan
- Menu_ConfigureObject replaced MO_SETOPTIONSMENUOBJECT; - TIntMenuObject::hotkey replaced TMenuObject::hotkey git-svn-id: http://svn.miranda-ng.org/main/trunk@14349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-22Menu_ModifyItem unbound from CLISTMENUITEM structureGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14334 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-22- CLISTMENUITEM::cbSize - atavism removed;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 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-19SIZEOF replaced with more secure analog - _countofGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c