summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
AgeCommit message (Collapse)Author
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-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-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-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-07-21Facebook: vc2015 compilation fixKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@14612 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-19SIZEOF replaced with more secure analog - _countofGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Fix loading notifications on login again (now really) and marking ↵Robert Pösel
them as read git-svn-id: http://svn.miranda-ng.org/main/trunk@13924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Separate parsing of each attachment type to make it more readableRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Fix receiving all kinds of attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-30Facebook: Fix loading unread notifications on login (checks only last 20 items)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-25the correct json node validation for FacebookGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13836 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-25FB json parsing rewritten for new headersGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13832 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22T2Utf - handy replacement for ptrA<mir_utf8decodeT()>George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-25Facebook - common projectVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13142 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: More unification for groupchat seen info and save groupchat ↵Robert Pösel
"readers" into database in key "MessageReaders" (Unicode); Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12315 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Unify showing "seen info" for groupchats with classic contactsRobert Pösel
This also fixes not showing loaded "seen info" when opening groupchat message window again git-svn-id: http://svn.miranda-ng.org/main/trunk@12313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Use participant names in chatroom name / seen info in "Firstname ↵Robert Pösel
S." format git-svn-id: http://svn.miranda-ng.org/main/trunk@12312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-21Facebook: Add support for notifying ticker feeds updates; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-17Facebook: Completely remove option to use https and always use it; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15Facebook: Cleanup logging a bit, don't log that much personal info, make it ↵Robert Pösel
much smaller size Remove useless stuff (like cookies or status changes), don't log personal like message texts (there is still some personal info like user name etc.), and some other changes... git-svn-id: http://svn.miranda-ng.org/main/trunk@12118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Realtime notify of new friendship requests; Version bump for new ↵Robert Pösel
changes git-svn-id: http://svn.miranda-ng.org/main/trunk@12039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Show notification when friendship request is accepted (fix for ↵Robert Pösel
recent FB changes) git-svn-id: http://svn.miranda-ng.org/main/trunk@12038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Separate (add new type) "Friendship changes" notifications from ↵Robert Pösel
"Other notifications" git-svn-id: http://svn.miranda-ng.org/main/trunk@12034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-06Facebook, Omegle, MobileState: Happy New Year 2015Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12019 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-06Facebook: Fix loading sent messages via other instances (website) to wrong ↵Robert Pösel
contact in Miranda; Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12018 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-23Facebook: Rework working with timestamps; version bumpRobert Pösel
Use time_t almost everywhere instead of DWORD and remove fix_timestamp method to replace it with to_timestamp git-svn-id: http://svn.miranda-ng.org/main/trunk@11599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-23Facebook: Remove support for "use local timestamp for messages"Robert Pösel
It's not needed anymore because we correctly set server time for sent messages, so everything will be consistent (in server time) git-svn-id: http://svn.miranda-ng.org/main/trunk@11598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-21Facebook: Use correct (= server) timestamp for sent messagesRobert Pösel
- used only when "use local time for messages" isn't enabled - also it probably doesn't work for StdMsg (SRMM) plugin git-svn-id: http://svn.miranda-ng.org/main/trunk@11555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-20Facebook: Various code improvements (as reported by Coverity analyser); ↵Robert Pösel
version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-14FacebookRM: changed warning lavel to w4Kirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@11420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Some other changesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11198 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-28Use JSONROOT everywhere to simplify code and fix memleaks (in Dropbox and Steam)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Various optimizations and cleanupRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-21Facebook: Don't load history notifications into chatroomRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11031 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-20Facebook: Refactor whole groupchat with notificationsRobert Pösel
This fix crash on right-click to notification popup and problem with not working notifications count in statusbar git-svn-id: http://svn.miranda-ng.org/main/trunk@11028 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-19Facebook: Option to log notifications into special chatroom; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11020 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-17Facebook: Experimental messages sync at login (for last 24-hours only) ↵Robert Pösel
(patch by Vojtěch Kinkor, thanks) git-svn-id: http://svn.miranda-ng.org/main/trunk@11006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-17Facebook: Show "Message read ..." info always in local timeRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11004 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-17Facebook: Fix receiving user messages and marking them as read for some ↵Robert Pösel
people; version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11002 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-09-19Facebook: Receive info (message) about missed video callRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10520 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-31Facebook: Save message read time into DB as key "MessageRead" (DWORD)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10347 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-11Facebook: Make it positive, people like it positive...Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-11Facebook: Hidden option to disable multi user chatRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10155 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-07Facebook: Fix for html entities in notifications (broken in [10104]]Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10113 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-07Facebook: Fix sending "&#123456" in messageRobert Pösel
- Remove "special_expressions_decode" from various wrong places (hopefully it won't cause any new problems) - Rename it to "html_entities_decode" git-svn-id: http://svn.miranda-ng.org/main/trunk@10104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c