summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
AgeCommit message (Collapse)Author
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
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: 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-09-07Facebook: Various fixesRobert Pösel
- Fix getting own name and avatar - Improve login error messages - Fix turning off chat on logout and improve logout procedure - Improve some options text - Remove "DisableLogout" hidden option - Some code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@10387 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-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-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: Improve invisible status (now it's true-invisible again)Robert Pösel
It's magic :-) git-svn-id: http://svn.miranda-ng.org/main/trunk@9705 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-06Facebook: Fix invisible status (now it's not true-invisible again)Robert Pösel
It's not fully tested, should be fixed better later. git-svn-id: http://svn.miranda-ng.org/main/trunk@9702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-06Facebook: Delete "readers" map on logoutRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9699 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-29Facebook: Make checking newsfeeds more frequentRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9343 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-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-01-25С++ sources: __VERSION_STRING -> __VERSION_STRING_DOTSGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7881 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-19Facebook: distinguish more types of clients and don't reset old client at ↵Robert Pösel
login/logoff git-svn-id: http://svn.miranda-ng.org/main/trunk@6940 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-19preparing to the transparent cyphering: end of ↵George Hazan
MS_DB_CRYPT_ENCODESTRING/MS_DB_CRYPT_DECODESTRING git-svn-id: http://svn.miranda-ng.org/main/trunk@6938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-11Facebook: Cleanup also old LOG macroRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6446 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-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-09-07shameful end of the group processing zoo, part 1George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-08-05fix for massive memory leak in json parserGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5593 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-26Facebook: Small change to switching to offline procedureRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-25Facebook: Some minor fixesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-10protocol DB helpers for FacebookGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c