summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
AgeCommit message (Collapse)Author
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
2014-12-02Facebook: Fix warning in x64 compilationRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11215 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-02mir_sntprintf(..., _T("%s"), ...) -> _tcsncpy_s(..., ..., _TRUNCATE)Rozhuk Ivan
fix some x64 ptr truncations git-svn-id: http://svn.miranda-ng.org/main/trunk@11211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Optimize marking chat messages as readRobert Pösel
Not mark as read every single message when loading history messages. git-svn-id: http://svn.miranda-ng.org/main/trunk@11206 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11199 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Some other changesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11198 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Fix few potential crashesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: TypoRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: More improvements for chatroomsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Fix sending private message to user in chat, which is not in ↵Robert Pösel
contactlist yet git-svn-id: http://svn.miranda-ng.org/main/trunk@11193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Some more fixes for chatrooms (notifications and classic)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11192 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Respect chosen website option for newsfeed links (fixes #843)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01mir_snprintf(..., sizeof() -> SIZEOF(), ...)Rozhuk Ivan
small fixs cleanups git-svn-id: http://svn.miranda-ng.org/main/trunk@11188 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-30Fix buf size for Get/Set text, open/save file nameRozhuk Ivan
SMS: SIZE_T -> size_t MRA: small code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@11175 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-28Facebook: Improve append_ordinal() and use of itRobert Pösel
It should fix receiving very special characters in messages but probably it won't make any differences in real use... git-svn-id: http://svn.miranda-ng.org/main/trunk@11132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-28Use JSONROOT everywhere to simplify code and fix memleaks (in Dropbox and Steam)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-28Facebook: Fix utils::text::replace_all method to not result in infinite loop ↵Robert Pösel
for some inputs This fixes problem with not showing notifications at all when "show notifications in special chatrooms" is enabled and notification with "%" inside is showed (and same problem for multi user chat messages) git-svn-id: http://svn.miranda-ng.org/main/trunk@11128 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Fix for not notifying notifications in chatroomRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Real fix for corrupted newsfeeds in chatroomRobert Pösel
Problem was text.str().c_str() because .str() returns temporary object and c_str() pointer to it, so it was probably destructed before really using it in chatroom. git-svn-id: http://svn.miranda-ng.org/main/trunk@11084 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-23Facebook: Try to fix concurrent write of notifications to chatroom (I ↵Robert Pösel
thought it's thread safe?) git-svn-id: http://svn.miranda-ng.org/main/trunk@11045 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c