summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
AgeCommit message (Collapse)Author
2017-01-23Facebook: Fix loading offline messagesRobert Pösel
2017-01-07Facebook: Fix logging string (fixes #660)Robert Pösel
2017-01-01bump copyright yeardartraiden
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-12-04Facebook: Fix typoRobert Pösel
2016-12-04Facebook: Fix support for "new" group chats (dirty changes)Robert Pösel
This commit is just quick workaround for group chat changes, where Facebook stopped using "id.XXX" ids, and instead use just "XXX" fbids. And for old existing chats tolerates old type, but for new forces this new format. I don't know how that, or changes in this commit, affects classic conversations, but in any case this commit should be cleaned and integrated better. Perhaps rewrite whole uses of "ids" to "fbids" everywhere.
2016-12-04Facebook: Fix parsing attachmentsRobert Pösel
2016-12-04Facebook: Load only friends at loginRobert Pösel
Because of some change on Facebook side it started sending not only friends, but also other people we talked in some time in history. This commit ignores them and won't load them at login.
2016-09-13Facebook: Fix errors from CoverityRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17294 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-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: Fix determination whether some event is for chat or classic userRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17251 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-01Facebook: Set users that were active more than 15 minutes ago as offline; ↵Robert Pösel
version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@17241 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: 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: Support loading videocall events from serverRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17221 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-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-27<tchar.h> removed from <m_system.h>George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 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: 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-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-16Facebook: Improve loading user info about "facebook pages" contactsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17098 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-10Facebook: Support receiving "video" attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17083 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-06-30Facebook: Support receiving animated images (GIF) attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-06-25Facebook: Attempt to fix not setting contacts as offlineRobert Pösel
This at least partially fixes the problem, but list of online contacts is still not very reliable. git-svn-id: http://svn.miranda-ng.org/main/trunk@17039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-06-07warning fixKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@16940 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-21Facebook: Attempt to fix receiving messages for some usersRobert Pösel
This temporary returns back processing of "deliver" event which was used before for receiving messages. Probably Facebook still uses it (instead of new "delta" event) for some people, so this should hopefully fix it for them. But it's untested and might not work correctly (I need users response on this). Also this doesn't support receiving "Message read at ..." for these users, I might add it back too, but maybe later. git-svn-id: http://svn.miranda-ng.org/main/trunk@16730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-21Facebook: Fix loading unread messagesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16729 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-21Facebook: Trim received messages text from spaces at begin/endRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16727 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Oops, don't load attachments when there are noneRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16707 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: Fix showing user's name for multi chat messagesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16703 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-04-17Facebook: Fix receiving multi chat messages, stop using old "deliver" eventRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16693 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Rework read receipts for multi chatsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-27Facebook: More messaging fixesRobert Pösel
Receiving chat messages should work now. And some other fixes. But attachments/stickers still doesn't work. git-svn-id: http://svn.miranda-ng.org/main/trunk@16552 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-27Facebook: Fix receiving sent messages from other instancesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16550 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c