summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
AgeCommit message (Collapse)Author
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-27Facebook: all source files converted to utf-8Kirill Volinsky
2017-11-13Code modernize ...Goraf
* replace 0/NULL with nullptr [using clang-tidy]
2017-08-25Facebook: Fix receiving typing notifications (broken in ↵Robert Pösel
e04d28cfcfe33f0450b390bb1af6e9df823fc86a)
2017-08-15fixes #799 (Crash on receiving msg in FB group chat)George Hazan
2017-05-07Facebook: Ignore typing nofitications meant not for us (but e.g. for our page)Robert Pösel
2017-03-28massive cleanup of useless cbSize fieldsGeorge Hazan
2017-03-05Facebook: Fix handling of various chat eventsRobert Pösel
E.g. renaming thread, adding/removing participants, etc.
2017-03-05Facebook: Update processing various FB events (especially messages)Robert Pösel
2017-03-05Facebook: Remove "mercury" and "messaging" processingRobert Pösel
These events aren't used by Facebook anymore
2017-03-05Facebook: Remove forgotten useless optimizationsRobert Pösel
2017-03-05Facebook: Fix cutting unicode strings (fixes #711)Robert Pösel
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