summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
AgeCommit message (Collapse)Author
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-04-27Facebook: Use slighly better user agentRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13212 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-27Facebook: Use delays when downloading avatars and don't call ↵Robert Pösel
CheckAvatarChange when adding contacts This will hopefully help bigger friend lists and won't slow down login process so much. git-svn-id: http://svn.miranda-ng.org/main/trunk@13211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-26warning fix (exceptions)George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13184 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-04-24end of zoo with various _WIN32_WINNT versionsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-18Facebook: Attempt to handle the "computer is infected" login problem; ↵Robert Pösel
version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-18Facebook: Use facy.handle_ instead of global m_hNetlibUSer (it's the same ↵Robert Pösel
anyway) git-svn-id: http://svn.miranda-ng.org/main/trunk@12924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-15after commit #12797 field OPTIONSDIALOGPAGE::cbSize became an atavism, and ↵George Hazan
therefore removed git-svn-id: http://svn.miranda-ng.org/main/trunk@12840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-22- PROTO_INTERFACE got the default implementation;George Hazan
- all unneeded stubs removed from all protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@12481 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-03-04Facebook: For groupchat name use only first namesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12314 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Unify showing "seen info" for groupchats with classic contactsRobert Pösel
This also fixes not showing loaded "seen info" when opening groupchat message window again git-svn-id: http://svn.miranda-ng.org/main/trunk@12313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Use participant names in chatroom name / seen info in "Firstname ↵Robert Pösel
S." format git-svn-id: http://svn.miranda-ng.org/main/trunk@12312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Fix generating name for groupchatsRobert Pösel
This fixes number of names and codepage. git-svn-id: http://svn.miranda-ng.org/main/trunk@12311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-21Facebook: Add support for notifying ticker feeds updates; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-21FacebookRM: marking notifications unread fixVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@12230 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-17Facebook: Fix setting post request headersRobert Pösel
Also update some request params but that's not important or needed. git-svn-id: http://svn.miranda-ng.org/main/trunk@12173 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-16warning fixGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@12151 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15Facebook: Raise limit to remember messages to ignore between requestsRobert Pösel
Because of previous changes we're now doing more requests, that's why we need to raise this limit too. git-svn-id: http://svn.miranda-ng.org/main/trunk@12123 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-14Facebook: Fix (hopefully) loading own avatar for some people with weird FB ↵Robert Pösel
"version"; version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-14Facebook: Fix (hopefully) for not receiving messages sometimes; some tiny ↵Robert Pösel
other fixes This ancient "bug" was here since beginning of Facebook RM. But it's not a bug, it just Facebook return wrong sequence number which then causes this. git-svn-id: http://svn.miranda-ng.org/main/trunk@12103 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: Show notification when friendship request is accepted (fix for ↵Robert Pösel
recent FB changes) git-svn-id: http://svn.miranda-ng.org/main/trunk@12038 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-07Facebook: Separate (add new type) "Friendship changes" notifications from ↵Robert Pösel
"Other notifications" git-svn-id: http://svn.miranda-ng.org/main/trunk@12034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-07Facebook: Fix for not showing contact name in "contact is no longer on ↵Robert Pösel
server-list" and similar popups git-svn-id: http://svn.miranda-ng.org/main/trunk@12033 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
2015-02-06Facebook: Fix loading sent messages via other instances (website) to wrong ↵Robert Pösel
contact in Miranda; Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12018 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-01-16MEVENT - the strict type for events, they are not HANDLE anymoreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-31Year 2015 version updateGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-24Facebook: Better check for unexpected redirect at loginRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11604 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-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: Cleanup contact menu handlesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-23misplaced ME_MSG_* hooksGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11596 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-12-14SendDlgItemMessage(...BM_SETCHECK ...) -> CheckDlgButton(...)Rozhuk Ivan
SendDlgItemMessage(...BM_GETCHECK ...) -> IsDlgButtonChecked(...) constants fix for CheckDlgButton() git-svn-id: http://svn.miranda-ng.org/main/trunk@11387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-13SendMessage(GetDlgItem -> SendDlgItemMessageRozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-04Facebook: forgotten changeRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-04Facebook: Rename key "Deleted" to "DeletedTS"Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c