summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/messages.cpp
AgeCommit message (Collapse)Author
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: Lower number of send message tries to 1 and provide hidden option ↵Robert Pösel
for it Key "SendMessageTries" (byte), default=1, min=1, max=5 git-svn-id: http://svn.miranda-ng.org/main/trunk@15141 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-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-21war against atavisms continuesGeorge Hazan
- everything that goes to PSS_MESSAGE should be sent as utf8 string; - thus PREF_UNICODE & PREF_UTF support discontinued, these constants are removed; - support for PREF_UNICODE & PREF_UTF in protocols also removed; - PREF_UNICODE used in file transfers (PROTOFILERECVT) replaced with PRFF_UNICODE / PRFF_TCHAR git-svn-id: http://svn.miranda-ng.org/main/trunk@13734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-29Facebook: Some fixes for sending messages and fix crashes introduced in ↵Robert Pösel
commit r13214; version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-27Facebook: Reworked sending messages a bit; Version bumpRobert Pösel
This might fix the "computer needs cleaning" error. I removed all old send message methods and used only Mercury for everything - which is how it is used on website right now. Also parameters for send message request were updated to actual state. This might fix problem that someone has (if I remember correctly) with sending chat messages. git-svn-id: http://svn.miranda-ng.org/main/trunk@13214 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-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-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
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: Optimize marking chat messages as readRobert Pösel
Not mark as read every single message when loading history messages. git-svn-id: http://svn.miranda-ng.org/main/trunk@11206 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-17Facebook: Use correct phstamp and ttstamp values in POST data (Facebook ↵Robert Pösel
doesn't give a .... anyway) git-svn-id: http://svn.miranda-ng.org/main/trunk@11005 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-07Facebook: dtsg_ is never emptyRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10388 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-24Facebook: Support for showing captcha codes; Raise version bump from ↵Robert Pösel
previous commit git-svn-id: http://svn.miranda-ng.org/main/trunk@10319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-07Facebook: Support for stickers as custom smileysRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10102 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-07Facebook: Remove DBVARIANT where possibleRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-30Facebook: Fix sending and receiving % in chatsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-06Facebook: Set "Message read" info (if exists) on opening message windowRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-19Facebook: Correctly show stopped-typing event after receive message (broken ↵Robert Pösel
by r9482) git-svn-id: http://svn.miranda-ng.org/main/trunk@9540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-14Facebook: Fix for duplicit "contact finished typing" popup; Clear statusbar ↵Robert Pösel
when receive message git-svn-id: http://svn.miranda-ng.org/main/trunk@9482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-05-30Facebook: Try to load also sent messages when getting unread messages at loginRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9371 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-05-21Facebook: Hotfix for marking messages as read; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9269 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-23Facebook: Fix for sending typing notifications of multi chatsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-21Facebook: Send typing notifications even to offline contactsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-21Facebook: Support for sending typing notifications from chatrooms (not ↵Robert Pösel
supported in *SRMM yet) git-svn-id: http://svn.miranda-ng.org/main/trunk@9008 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-14Facebook: Don't load "unread messages" which we received already (but didn't ↵Robert Pösel
read them yet) - this needs further optimalization - also it makes FACEBOOK_KEY_MESSAGE_ID no longer resident git-svn-id: http://svn.miranda-ng.org/main/trunk@8973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-21Facebook: Mark messages as read when they are really read in Miranda (only ↵Robert Pösel
for private conversations - group chats are still marked as read instantly) git-svn-id: http://svn.miranda-ng.org/main/trunk@8209 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-12another bunch of useless conversions diedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10HCONTACT is not needed anymoreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10HCONTACT, part 3George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10more HCONTACTGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8079 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10- HANDLE hContact => HCONTACTGeorge Hazan
- GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-27Facebook:Robert Pösel
- fixed marking messages of some multichats as read (fixes #504) - fixed downloading avatars of some contacts (and repeated downloading of them again and again...) - load messages marked as abusive/spam - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@6996 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-17Facebook: Added hidden option to keep messages unread (as requested by ↵Robert Pösel
Guenter Gruene) Add byte key "KeepUnread" with value 1 to account settings or to particular contact git-svn-id: http://svn.miranda-ng.org/main/trunk@6933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-17Facebook: use TCHAR* instead of char* on many places (chat related)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-10Facebook: fixed small memory leakRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6862 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-08Facebook: Fixed searching by ID/Login; Don't show "unseen" in chat's statusbarRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-11- m_hNetlibUser moved to PROTO_INTERFACE;George Hazan
- unified protocol loggers git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-02Facebook: Multi user chat improvementsRobert Pösel
- Load unread messages at login - Mark received messages as read git-svn-id: http://svn.miranda-ng.org/main/trunk@6313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-02Facebook: get rid of validate_response foreverRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: first experimental implementation of multi user chats (thanks to ↵Robert Pösel
nobodyreal for patch) git-svn-id: http://svn.miranda-ng.org/main/trunk@6273 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: validate_reseponse now notify all facebook errorsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6271 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: cleanup using ptrA, ptrTRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: small memory leak fixedRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c