summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
AgeCommit message (Collapse)Author
2015-05-31Facebook: Version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Raise sync threads limit to 2 days and classically load unread ↵Robert Pösel
messages all the time (sync threads is not reliable) I'm not sure whether this will cause duplicit messages or not. But this (or any) sync should be improved anyway. git-svn-id: http://svn.miranda-ng.org/main/trunk@13925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Fix loading notifications on login again (now really) and marking ↵Robert Pösel
them as read git-svn-id: http://svn.miranda-ng.org/main/trunk@13924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Separate parsing of each attachment type to make it more readableRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31Facebook: Fix receiving all kinds of attachmentsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-30Facebook: Fix loading unread notifications on login (checks only last 20 items)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13918 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-30Facebook: Fix opening notifications with URLs linking to ↵Robert Pösel
developers.facebook.com domain If someone know any other special subdomain that Facebook use, let me know. git-svn-id: http://svn.miranda-ng.org/main/trunk@13915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-26Use m_http.h in Facebook, Omegle and MinecraftDynmap protocolsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-26Facebook: Update definition of http codesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-26Unify Netlib initialization error message in some protocolsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@13841 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-25the correct json node validation for FacebookGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13836 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-05-23mir_tstrncpy <> _tcsncpyGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-23replace _tcsncpy to mir_tstrncpyKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strcpy to mir_strcpyKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22T2Utf - handy replacement for ptrA<mir_utf8decodeT()>George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace _tcscmp to mir_tstrcmpKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strcmp to mir_strcmpKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 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-05-21war against atavisms continuesGeorge Hazan
- everything that goes to PSS_MESSAGE should be sent as utf8 string; - thus PREF_UNICODE & PREF_UTF support discontinued, these constants are removed; - support for PREF_UNICODE & PREF_UTF in protocols also removed; - PREF_UNICODE used in file transfers (PROTOFILERECVT) replaced with PRFF_UNICODE / PRFF_TCHAR git-svn-id: http://svn.miranda-ng.org/main/trunk@13734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-03fix for the option's page style pt. 10Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13413 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-01Proto_Facebook - unified projectVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-29Facebook: Some fixes for sending messages and fix crashes introduced in ↵Robert Pösel
commit r13214; version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13252 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-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