summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/process.cpp
AgeCommit message (Collapse)Author
2016-12-11Facebook: Fix IntelliSense errorRobert Pösel
2016-12-11Facebook: Option to load all contacts at login (not only friends)Robert Pösel
2016-12-07Facebook: Fix not loading unread messages; version bumpRobert Pösel
This also fixes not loading messages at contact window open (if enabled). And cleans up part of obsolete code.
2016-10-04warning fixesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17352 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-10-04Facebook: Fix searching by id (now for real); version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-10-04Facebook: Potential fix for searching by username/idRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17348 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-06Facebook: Improve loading historyRobert Pösel
* Allow loading history only for one contact at a time * Make text in messagebox translatable and use question instead of warning type * Don't load and refresh stickers during history loading (so it won't be slow) git-svn-id: http://svn.miranda-ng.org/main/trunk@17264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-06Facebook: Fix not resetting the "message seen" info when we sent message ↵Robert Pösel
from other instance (e.g. web) git-svn-id: http://svn.miranda-ng.org/main/trunk@17263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-04Facebook: Fix sometimes wrongly identified users as friendsRobert Pösel
Also fixes related problem when it was showing "user was removed from server list" popup even when user was never your friend (due to problem above). git-svn-id: http://svn.miranda-ng.org/main/trunk@17252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-04Facebook: Handle unsubscribe events in chat; improve also subscribe eventRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-04Facebook: Massive rewrite of all communication requestsRobert Pösel
Note it doesn't use persistent connection yet. git-svn-id: http://svn.miranda-ng.org/main/trunk@17246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-02warning fixesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-01Facebook: Rework event notify type from defines and flags to enumRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17240 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-01Facebook: Remove use of useless macrosRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-01Facebook: Add support for forgotten PHONE_CALL and cleanup codeRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17233 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-31Facebook: Improve handling users joining chatroom (fixes #1279)Robert Pösel
This commit makes them add to chat's user list and load their name too. git-svn-id: http://svn.miranda-ng.org/main/trunk@17223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-31Facebook: Basic support for handling more chat events; version bumpRobert Pösel
Events like user join/leave, change emoji, etc. are now printed, but that's all. Still missing specific behavior for them, but that require more changes in events parsing and on other places. git-svn-id: http://svn.miranda-ng.org/main/trunk@17222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-31Facebook: Implement loading history from server (via contact menu)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-17Facebook: Remove option "Load last messages (24 hours old)" as it doesn't ↵Robert Pösel
work anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@17190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-17Facebook: Fix sending messages and other changed requestsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17189 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-29no more TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-27less TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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-25Facebook: Rename "On this day" to "Memories" as Facebook calls it, and use ↵Robert Pösel
better icon for it git-svn-id: http://svn.miranda-ng.org/main/trunk@17132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25Facebook: Small fixRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25Facebook: Improve loading users in chatroomsRobert Pösel
Fix loading all names (previously it won't loaded name of last user), load also former participants, code refactoring git-svn-id: http://svn.miranda-ng.org/main/trunk@17129 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-17Facebook: Greatly improve format of wall post's textRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-16Facebook: Improve working with different user types (friend, user, page)Robert Pösel
Also simplify arguments of AddToContactList method. And don't show auth items in contact menu for page contacts. git-svn-id: http://svn.miranda-ng.org/main/trunk@17099 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-05Facebook: Rework popup behavior and options pageRobert Pösel
Now items in status menu/services are much more useful, as you can disable automatic loading of newsfeeds/notifications/on this day, but you can trigger it manually via status menu/services menu git-svn-id: http://svn.miranda-ng.org/main/trunk@17063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-05Facebook: Prepare for showing reaction icons for notifications (needs ↵Robert Pösel
support in Popup+ and YAPP) git-svn-id: http://svn.miranda-ng.org/main/trunk@17061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-05-17Facebook: Rework loading online contacts (not properly finished!); version bumpRobert Pösel
This is work in progress, which might (and will) cause wrong status reporting and maybe related problems. On the other hand this way is only "preferred" way. Previous way (using buddy_list request) isn't used anymore and might cause the captcha problems and antivirus checks from FB... git-svn-id: http://svn.miranda-ng.org/main/trunk@16843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-05-13- memory leak fixed;George Hazan
- manual memory management replaced with the automated one git-svn-id: http://svn.miranda-ng.org/main/trunk@16822 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Fix and rework getting message's attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16706 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Remove useless sender_name fieldRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Loading names of all users in multi chat from server (not only ↵Robert Pösel
existing Miranda contacts) It primary iterates over Miranda's contacts list to find existing contacts (e.g. to preserve existing custom names of these contacts). Then for missing ones it does request to server to get their names. git-svn-id: http://svn.miranda-ng.org/main/trunk@16701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Remove option "receive messages from inbox only"Robert Pösel
It probably doesn't have any effect anymore. And if it still has any effect, plugin behaves like if it was disabled (receiving all messages). Report any issues with the new FB's feature of "approving" messages from unknown people. git-svn-id: http://svn.miranda-ng.org/main/trunk@16694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-25Facebook: Fix receiving messages (part I, chats and attachments doesn't work ↵Robert Pösel
yet) git-svn-id: http://svn.miranda-ng.org/main/trunk@16540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-02-12Facebook: Update some requests format, changes for stickers and new support ↵Robert Pösel
for sending stickers (send message "[[sticker:STICKER_ID]]") git-svn-id: http://svn.miranda-ng.org/main/trunk@16272 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
2016-01-02Facebook: Try to use "m." version if "mbasic." failsRobert Pösel
This should fix searching and loading friendship requests at login for users which internally gets "mbasic" (not "touch") version when requesting "m" version git-svn-id: http://svn.miranda-ng.org/main/trunk@15982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Facebook: Fix broken login for some people (WARNING: loading frienship ↵Robert Pösel
requests at login and searching users will not work for them); version bump Some people may have not available page mbasic.facebook.com, but only m.facebook.com works for them. Problem is that "m." version shows internally either "mbasic." version OR "touch." version. In latter case source code of page looks completely different and is hard to parse. This commit uses "m." version for home (get own name, avatar and logout hash) and dtsg (get dtsg token) requests and allows parsing from both "touch." and "mbasic." versions. Problem is with loading friendship requets at login and searching users, because plugin can't parse such data for "touch." and uses only "mbasic." - so if user can't load "mbasic.", these features won't work. git-svn-id: http://svn.miranda-ng.org/main/trunk@15981 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-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: 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-27name conflictsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@15046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-05Facebook: New feature to notify "On this day" posts at login; version bumpRobert Pösel
Right now it notify at every login, max. last 20 posts. In future I'll probably add more options to limit number of posts and do it only one per day, etc. git-svn-id: http://svn.miranda-ng.org/main/trunk@14006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31- MAllStrings: a handy union to hold an incoming string parameter of any type;George Hazan
- FNAMECHAR: atavism extincted; - PROTOSEARCHRESULT: structure prepared to use results of any type, including utf git-svn-id: http://svn.miranda-ng.org/main/trunk@13932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Raise sync threads limit to 2 days and classically load unread ↵Robert Pösel
messages all the time (sync threads is not reliable) I'm not sure whether this will cause duplicit messages or not. But this (or any) sync should be improved anyway. git-svn-id: http://svn.miranda-ng.org/main/trunk@13925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c