summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
AgeCommit message (Collapse)Author
2018-12-21Facebook: warning fixesGeorge Hazan
2018-05-26Facebook:George Hazan
- packet timeout extended to 10 minutes (specially for Karamil Alhady); - persistent connections restored; - this reverts commit bec09dbab4b07281f3da8478618deb9c10aa0a29
2018-04-17Facebook: unstable server connection makes persistent connections crazyGeorge Hazan
2018-01-15Facebook: action added to destroy chat historyGeorge Hazan
2018-01-12unused parameters removedGeorge Hazan
2018-01-12Facebook: initial changes to support loading of unread chat messages (#1095)zemiacsik
* Facebook: initial changes to support loading of unread chat messages * Facebook: load unread messages in one request + load last messages when chat opens (if is set) * shrinked regex pattern, commented unused code * Facebook: fixed loading of whole history
2018-01-08adds support for exiting groupchatsGeorge Hazan
2018-01-08Facebook: less RTTI, less useless dataGeorge Hazan
2018-01-04one more mir_csGeorge Hazan
2018-01-04Facebook: switch to mir_cs instead of custom lockGeorge Hazan
2018-01-04code reordering, not to reassemble the whole project on each change in headersGeorge Hazan
2018-01-04С++'11 scope for's are suddenly more effective...George Hazan
2018-01-03Facebook: first version of GrahQL request that doesn't failGeorge Hazan
2018-01-03code cleaningGeorge Hazan
2018-01-03Facebook:George Hazan
- switch to the kernel parameter types; - strong parameters typization (also produces more compact code) - fixed timeline notifications - version bump
2018-01-01massive copyright updatedartraiden
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-06-23Facebook: unneeded crutch removed (reverted from commit ↵Robert Pösel
b846cb5043b6d5f5ac59cb40f252bc9ced189dfd) We need values with "abcdefgh...xyz0123456789", that's why radix 36 was used. INT_VALUE produces only numbers.
2017-06-20Facebook: unneeded crutch removedGeorge Hazan
2017-06-20Facebook: fix for the wrong pointerGeorge Hazan
2017-02-12Facebook: Fix loading newsfeed and memories; version bumpRobert Pösel
2017-02-12Facebook: Notify number of loaded items (when manually triggered)Robert Pösel
2017-01-14separate handle types for HNETLIBCONN & HNETLIBBINDGeorge Hazan
2017-01-12- stronger types, part II;George Hazan
- don't call hNetlibUser hConnection
2017-01-01bump copyright yeardartraiden
2016-09-11Facebook: Improve small const char* hackRobert Pösel
Seems previous variant was returning garbage on x64 build, this works better. git-svn-id: http://svn.miranda-ng.org/main/trunk@17283 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: Use separate persistent connection for sending messages to make ↵Robert Pösel
sending faster git-svn-id: http://svn.miranda-ng.org/main/trunk@17248 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-04Facebook: Massive rewrite of all communication requestsRobert Pösel
Note it doesn't use persistent connection yet. git-svn-id: http://svn.miranda-ng.org/main/trunk@17246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-17Facebook: Fix sending messages and other changed requestsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17189 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-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-04-17Facebook: Rework read receipts for multi chatsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@16691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-17Facebook: Implement login with two-way authorizationRobert Pösel
It shows dialog that asks for verification code. User can press button to request code via SMS. Allows 3 attempts to entering correct code, then plugin disconnects. git-svn-id: http://svn.miranda-ng.org/main/trunk@16685 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-02-12Facebook: Update some requests format, changes for stickers and new support ↵Robert Pösel
for sending stickers (send message "[[sticker:STICKER_ID]]") git-svn-id: http://svn.miranda-ng.org/main/trunk@16272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Copyrights update part 2Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15985 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Facebook: Try to use "m." version if "mbasic." failsRobert Pösel
This should fix searching and loading friendship requests at login for users which internally gets "mbasic" (not "touch") version when requesting "m" version git-svn-id: http://svn.miranda-ng.org/main/trunk@15982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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: 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-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