summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
AgeCommit message (Collapse)Author
2018-01-04Facebook: kinda final fix for groupchatsGeorge Hazan
2018-01-04Facebook: switch to mir_cs instead of custom lockGeorge Hazan
2018-01-04С++'11 scope for's are suddenly more effective...George Hazan
2018-01-03code cleaningGeorge Hazan
2018-01-01massive copyright updatedartraiden
2017-12-29PROTO_INTERFACE::setAllContactStatuses - common code moved to the coreGeorge Hazan
2017-12-28code cleaningGeorge Hazan
2017-12-28Facebook:George Hazan
- fixes problems with decoding attachments; - major rework of class structure; - version bump
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