summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
AgeCommit message (Collapse)Author
2019-06-16Facebook - alternative loading of contacts' statusesikeblaster
2019-06-04fixes #1954 (Facebook notifications issue)George Hazan
2019-01-04Update copyrightsdartraiden
2018-05-26Facebook:George Hazan
- packet timeout extended to 10 minutes (specially for Karamil Alhady); - persistent connections restored; - this reverts commit bec09dbab4b07281f3da8478618deb9c10aa0a29
2018-05-03mir_forkThread<typename> - stronger typizatioin for thread function parameterGeorge Hazan
2018-04-17Facebook: unstable server connection makes persistent connections crazyGeorge Hazan
2018-01-04Facebook: switch to mir_cs instead of custom lockGeorge 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-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-04-23Facebook: Fix reporting idle time in away/invisibleRobert Pösel
Previously Miranda wasn't reporting "idle" at all when invisible, but it was probably represented as "active" by Facebook. Now when user is invisible, it reports idle as number of seconds since switching to invisible (or away). NOTE: Facebook determine last active time of user based not only of this "idle" argument, but also on last time when user was TYPING message.
2017-01-01bump copyright yeardartraiden
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-08-17Facebook: Remove option "Load last messages (24 hours old)" as it doesn't ↵Robert Pösel
work anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@17190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-08-14Facebook: Provide option to automatically join existing chats (enabled by ↵Robert Pösel
default) git-svn-id: http://svn.miranda-ng.org/main/trunk@17184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25Facebook: Rename "On this day" to "Memories" as Facebook calls it, and use ↵Robert Pösel
better icon for it git-svn-id: http://svn.miranda-ng.org/main/trunk@17132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25Facebook: Don't join archived or unsubscribed chatrooms at loginRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25Facebook: Join all locally present chatrooms at loginRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17128 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-16Facebook: Change some popups typesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17096 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-05Facebook: Rework popup behavior and options pageRobert Pösel
Now items in status menu/services are much more useful, as you can disable automatic loading of newsfeeds/notifications/on this day, but you can trigger it manually via status menu/services menu git-svn-id: http://svn.miranda-ng.org/main/trunk@17063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-05Facebook: Set all contacts offline when switching to invisibleRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@17060 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-15contact list groups:George Hazan
- finally database is not used anymore (only as a settings' storage); - MGROUP type introduced to replace HANDLE for group ids; - MS_CLIST_GROUP* services became Clist_Group* functions; - CLIST_INTERFACE members pfnGetGroupName & pfnRenameGroup also transformed into static Clist_Group* functions git-svn-id: http://svn.miranda-ng.org/main/trunk@16659 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-12-12Facebook: Support for "away" status (behaves just like being idle in ↵Robert Pösel
Miranda); version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@15842 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-06-05Facebook: New feature to notify "On this day" posts at login; version bumpRobert Pösel
Right now it notify at every login, max. last 20 posts. In future I'll probably add more options to limit number of posts and do it only one per day, etc. git-svn-id: http://svn.miranda-ng.org/main/trunk@14006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strlen to mir_strlenKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 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-04-25Facebook - common projectVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13142 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-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: 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-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: 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-23Facebook: proper default group's name handlingGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11595 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-11-30Facebook: Rework options; Add new option to disable multi chats supportRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11182 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