Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Decode incoming DMs. | Wilmer van der Gaast | 2012-11-12 | -25/+76 | |
| | | |||||
* | | Extend keepalive code to time out connections when pings don't get | Wilmer van der Gaast | 2012-11-11 | -0/+2 | |
| | | | | | | | | | | acknowledged, using this for Twitter streams and MSN so far. | ||||
* | | Detect and handle streaming connection loss. | Wilmer van der Gaast | 2012-11-11 | -0/+10 | |
| | | |||||
* | | Tiny cleanup. Fixing some memory leaks (why did I not notice so far that | Wilmer van der Gaast | 2012-11-11 | -5/+3 | |
| | | | | | | | | | | those free()s were commented out?). | ||||
* | | Mostly finished HTTP streaming support: Shrink the buffer and add a | Wilmer van der Gaast | 2012-11-11 | -0/+1 | |
| | | | | | | | | | | http_close(). | ||||
* | | Realised I don't need delimited=length at all, objects are guaranteed to be | Wilmer van der Gaast | 2012-11-11 | -32/+22 | |
| | | | | | | | | | | CRLF-terminated. | ||||
* | | Showing tweets now, and leaking less memory. Still lots of cleanup left | Wilmer van der Gaast | 2012-11-11 | -31/+73 | |
| | | | | | | | | | | to do. | ||||
* | | Very immature code for reading from the streaming API. It reads from a | Wilmer van der Gaast | 2012-11-10 | -14/+92 | |
| | | | | | | | | | | | | fixed URL and tried to parse individual JSON objects. Not doing anything useful with it. | ||||
* | | Removed xmltree dependency entirely. | Wilmer van der Gaast | 2012-11-10 | -22/+17 | |
| | | |||||
* | | Fixed the last parser (generic handler which just remembers status IDs). | Wilmer van der Gaast | 2012-11-09 | -4/+3 | |
| | | | | | | | | | | | | xmltree.h include can almost be removed, it's just used for return values now. | ||||
* | | Updated error response parsing. Also, use this for 401 responses so for example | Wilmer van der Gaast | 2012-11-09 | -13/+12 | |
| | | | | | | | | | | | | | | | | the auth errors caused by NTP desync are clearer: <root> twitter - Login error: Authentication failure (401 Unauthorized (Timestamp out of bounds)) | ||||
* | | Getting better. Corruption fixed, fetching of mentions fixed, error handling | Wilmer van der Gaast | 2012-11-09 | -7/+15 | |
| | | | | | | | | | | "fixed". | ||||
* | | It logs in and fetches statuses! \o/ But, some corruption.. | Wilmer van der Gaast | 2012-11-08 | -59/+76 | |
| | | |||||
* | | Type safety check. | Wilmer van der Gaast | 2012-11-05 | -0/+4 | |
| | | |||||
* | | Can log in now. Fails to fetch timelines though, which is going to be the | Wilmer van der Gaast | 2012-11-05 | -72/+42 | |
| | | | | | | | | | | more annoying part anyway. Plus, I want streaming API stuff instead. | ||||
* | | s/.xml/.json/. Good luck getting that working again. | Wilmer van der Gaast | 2012-11-04 | -23/+23 | |
| | | |||||
* | | Move Twitter XML parsing/error checking into a separate function and use it | Wilmer van der Gaast | 2012-09-25 | -83/+64 | |
| | | | | | | | | | | everywhere. This should be a more thorough fix for #953. | ||||
* | | Since I can't figure out where the stalls are coming from at this point, at | Wilmer van der Gaast | 2012-09-22 | -1/+4 | |
| | | | | | | | | | | | | | | | | least have a work-around for it. After hitting the Twitter timer a few times while a previous fetch still seems to be running, close the connection. Auto-reconnect will do the rest. | ||||
* | | Little cleanup. Use xt_from_string() where possible. | Wilmer van der Gaast | 2012-09-22 | -32/+24 | |
| | | |||||
* | | Merge Twitter favourite command from Flexo/#983. Leaving out the unfavourite | Wilmer van der Gaast | 2012-09-15 | -15/+46 | |
| | | | | | | | | | | | | | | | | command for reasons given there. At this point there are loads of command and stuff is getting a little messy maybe.. :-/ | ||||
* | | Twitter module cleanup: Both Twitter and identi.ca "modules" support OAuth | Wilmer van der Gaast | 2012-09-15 | -4/+1 | |
| | | | | | | | | | | now. | ||||
* | | Allow building position-independent executables. #981, patch from brainsmoke. | Wilmer van der Gaast | 2012-09-15 | -1/+1 | |
| | | |||||
* | | Fix memory leak. #985 | Wilmer van der Gaast | 2012-08-19 | -0/+1 | |
|/ | |||||
* | Scan media entities as well, not just url entities. This should expand more | Wilmer van der Gaast | 2012-06-04 | -15/+22 | |
| | | | | | t.co URLs. | ||||
* | Fixed compiler warning in twitter.c report-spam code. | Wilmer van der Gaast | 2012-06-04 | -2/+1 | |
| | |||||
* | Turn show_ids on by default. I need to do some more things to get everyone | Wilmer van der Gaast | 2012-04-14 | -1/+1 | |
| | | | | | to do proper replies and stop annoying other Twitter users. | ||||
* | Merging report-spam patch for Twitter from Flexo. #923 | Wilmer van der Gaast | 2012-03-12 | -0/+37 | |
| | |||||
* | Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR | Wilmer van der Gaast | 2012-02-11 | -3/+3 | |
| | | | | | unexpectedly being set to something already. | ||||
* | Applied patch from #895, making show_old_mentions an integer setting instead | Wilmer van der Gaast | 2012-02-10 | -5/+8 | |
| | | | | | of boolean so you can change the number of mentions being fetched. | ||||
* | Take t.co URL lengthe^Wshortening into account when counting message length | Wilmer van der Gaast | 2012-02-08 | -1/+35 | |
| | | | | | | | before posting a Twitter message. Disable this functionality by default for identi.ca accounts. Hardcode post-t.co URL length to 20 since it's probably not going to change any time soon. Bug #855. Patch by Artem Savkov, thanks! | ||||
* | Merging strip_newlines Twitter setting. | Wilmer van der Gaast | 2012-01-30 | -0/+5 | |
|\ | |||||
| * | add 'strip_newlines' setting to Twitter | Daniel Albers | 2012-01-13 | -0/+5 | |
|/ | |||||
* | Don't handle HTTP 401 responses from Twitter API differently anymore after | Wilmer van der Gaast | 2012-01-10 | -8/+0 | |
| | | | | | | initial login. This fixes issues with Twitter's intermittent authentication failures. (Bug #893) | ||||
* | Return, don't try to flush the timeline on a broken connection. This likely | Wilmer van der Gaast | 2012-01-10 | -2/+2 | |
| | | | | | fixes #888/#891. | ||||
* | Fixing memory leak in Twitter module. | Wilmer van der Gaast | 2011-12-26 | -8/+7 | |
| | |||||
* | Fixed a bug that probably (can't test this now since it's down) broke OAuth | Wilmer van der Gaast | 2011-12-21 | -1/+1 | |
| | | | | | setup for identi.ca. Turning on oauth for identi.ca accounts by default now. | ||||
* | Make it easier to add OAuth-authenticated accounts without having to type | Wilmer van der Gaast | 2011-12-21 | -2/+2 | |
| | | | | | a bogus password. | ||||
* | Support HTTP/1.1 redirect status codes and use HTTPS for OAuth setup. This | Wilmer van der Gaast | 2011-12-11 | -4/+4 | |
| | | | | | | is required for identi.ca and really should be done for Twitter as well. Twitter OAuth is still broken though, it seems to disagree about signatures. | ||||
* | Hopefully this fixed #838. Patch from Artem Savkov, thanks! The problem was | Wilmer van der Gaast | 2011-11-24 | -18/+18 | |
| | | | | | | HTTP failures caused by (most likely) DNS resolution problems. Yes, ignoring return values is still bad, kids! | ||||
* | changeset:devel,814 was silly and incomplete. This should fix that. Full | Wilmer van der Gaast | 2011-10-19 | -0/+4 | |
| | | | | | workaround for Twitter "hang" problem. | ||||
* | Stupid work-around for bug #838. The troublesome condition is known, I just | Wilmer van der Gaast | 2011-10-17 | -0/+8 | |
| | | | | | | don't know exactly how BitlBee gets into it. Any more info from people who see this problem often would be useful. | ||||
* | Just reconstruct all retweets instead of just the ones marked as truncated. | Wilmer van der Gaast | 2011-08-27 | -5/+3 | |
| | |||||
* | Since t.co is all over Twitter now, start parsing and showing entity | Wilmer van der Gaast | 2011-08-26 | -10/+35 | |
| | | | | | | | | | | | | | information. I'm going for this way of rendering even though full URLs are also available to me because A) it puts me on the safe side wrt Twitter ToS and B) some full URLS may really be very long. Noticed some problem with truncated RT statuses not getting fixed but this seems to be unrelated. (This is a truncated RT status without the "truncated" property set.) Bug #821. | ||||
* | Merging Twitter-mentions patch from meh. Bug #663. | Wilmer van der Gaast | 2011-08-25 | -71/+282 | |
| | |||||
* | Better cleanup of status IDs in Twitter commands. Stop using that silly | Wilmer van der Gaast | 2011-08-17 | -13/+20 | |
| | | | | | | g_ascii_strtoull() everywhere. This should fix some accidental Tweet incidents. | ||||
* | To reduce ambiguity, allow using a # to specify Tweet ID's when doing retweets. | Wilmer van der Gaast | 2011-08-17 | -1/+5 | |
|\ | | | | | | | | | Patch from Jasper Spaans. | ||||
| * | Make it easier to retweet by id. | Jasper Spaans | 2011-08-03 | -1/+5 | |
|/ | | | | | | Currently, typing "rt 24" would retweet the last message from @24. This patch allows one to retweet the tweet with id 24 by typing "rt #24". | ||||
* | Use sscanf, not strtoull. G_GUINT64_FORMAT really makes format strings look | Wilmer van der Gaast | 2011-06-12 | -2/+2 | |
| | | | | | so much better. | ||||
* | Oops. prefix shouldn't be just "ca" for identi.ca. | Wilmer van der Gaast | 2011-06-11 | -1/+3 | |
| | |||||
* | Change the default base_url to something that works. Change the default for | Wilmer van der Gaast | 2011-06-11 | -14/+27 | |
| | | | | | | identi.ca to HTTPS while I'm at it. Pretty important since I can't use OAuth for it yet. |