summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
AgeCommit message (Collapse)Author
2015-05-30Facebook: Remove useless parameterRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13917 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-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-27Facebook: Use msgs_recv parameter in channel requestsRobert Pösel
I'm not sure whether this fixes the "computer needs cleaning" error, but we will see git-svn-id: http://svn.miranda-ng.org/main/trunk@13213 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-02-17Facebook: Determine GET/POST from parameters, we don't need to use special ↵Robert Pösel
method for that git-svn-id: http://svn.miranda-ng.org/main/trunk@12166 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: Fix for infinite channel "starting"; Version bumpRobert Pösel
This fixes it by better using of random number generator. Now we use rand_s() instead of rand() because of thread safety and also we have random "seed" per each facebook_client with much better initial random seed. Previously when user logged off and then logged in again, it used same randomgly generated clientid which resulted in confusion on Facebook server and "infinite" repeated requests for channel every second from Miranda... This bug was here probably for many months and affected all stable and development versions. git-svn-id: http://svn.miranda-ng.org/main/trunk@12119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Implement and use activity_ping requestRobert Pösel
Maybe it's not needed at all, but maybe it will help something :) git-svn-id: http://svn.miranda-ng.org/main/trunk@12037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Correct implementation of idle time reporting, update channel requestRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12036 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-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-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-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: 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: Speed optimalizationRobert Pösel
Use caching for ContactIDToHContact, ChatIDToHContact and ThreadIDToContactID methods. Should result in some performance increase. git-svn-id: http://svn.miranda-ng.org/main/trunk@11003 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-09Facebook: Fix disconnection few seconds after login for some peopleRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10941 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-07-16Facebook: Update channel request with traceidRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9822 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: Attempt to fix occasional sending/receiving duplicit messagesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9815 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: First phase of chat refactoringRobert Pösel
- It loads list of users, their "roles" (myself, friend, user) with friend's names - Fixed some memory leak git-svn-id: http://svn.miranda-ng.org/main/trunk@9809 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-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-29Facebook: Loading last 30 messages after open contact windowRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9339 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-05-18Facebook: Refactor various working threads and updating contacts procedure; ↵Robert Pösel
Version bump This should eliminate creation of duplicite contacts, maybe made little slower or faster logging in... git-svn-id: http://svn.miranda-ng.org/main/trunk@9217 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-21Facebook: Support for true invisible! (they don't see you, but you see them)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9013 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-05Facebook: Correct implementation of managing number of unread notificationsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@8858 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-02Facebook: Add support for showing unread notifications count as "unread ↵Robert Pösel
emails" in clist git-svn-id: http://svn.miranda-ng.org/main/trunk@8831 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-15Facebook: use clientid parameter in channel requests (fixes #536), version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@8613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-11Facebook: Hotfix for sticky number (some FB API update), version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@8564 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-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: login fixes and cleanupRobert Pösel
- fixed login for password with not-ASCII chars - fixed login when disabled https in miranda but enabled on facebook git-svn-id: http://svn.miranda-ng.org/main/trunk@6269 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-28Facebook: Post status improvements (final part) - ability to post statuses ↵Robert Pösel
to own pages (you need to enable it in options first) git-svn-id: http://svn.miranda-ng.org/main/trunk@5513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-28Facebook: Post status improvements (part 1) - ability to post URL attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5502 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-05Facebook: Changed constants to enums, cleanup.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5240 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-20Facebook: Login procedure improvements.Robert Pösel
- fixed approving last device - supporting security features (successful login after approved this unknown device by browser - BUT you must logout and login in your browser for correct approval! (fb bug)) - some other fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-12Facebook: Fixed and improved duplicit messages checking. Version bump.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@4924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-23Facebook: Load sent messages from browser into Miranda.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@4811 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-21Facebook: Mind dialog improvements: added toolbar button, privacy and place ↵Robert Pösel
settings. Version bump. git-svn-id: http://svn.miranda-ng.org/main/trunk@4786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-17Facebook: Added few options items - use local time, send seen when marking ↵Robert Pösel
read, select server to open urls. git-svn-id: http://svn.miranda-ng.org/main/trunk@4703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-16Facebook:Robert Pösel
- fixed getting login error message - cleanup of close_chat method and related things - added Poke support (contact menu) - support for sending "Seen" info (add in db "MarkRead" (byte) with value "1") - support for language specific fb errors (add in db "Locale" (string) with locale value ("en_US", "cs_CZ" etc.) - mir_a2t_cp(..., CP_UTF8) changed to mir_utf8decodeT(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@4677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c