Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | I suck. This will teach me not to combine logging and actual work in silly | Wilmer van der Gaast | 2012-12-25 | -1/+1 |
| | | | | | ways. | |||
* | Whoops, remove those debugging printfs as I intended to do before merging. | Wilmer van der Gaast | 2012-12-24 | -9/+1 |
| | ||||
* | Updated report_spam API URL to 1.1. Fixes #1011. | Wilmer van der Gaast | 2012-12-22 | -1/+1 |
| | ||||
* | For finding since_id, don't use RT original IDs of course. :-/ This fixes | Wilmer van der Gaast | 2012-12-21 | -4/+3 |
| | | | | | duplicate-tweet issues in non-streaming mode. | |||
* | Don't hide own tweets in streaming mode with fetch_mentions off, and move | Wilmer van der Gaast | 2012-12-03 | -4/+5 |
| | | | | | txs_free() to the right place - fixes a memory leak. | |||
* | Extend twitter_message_id_from_command_arg() a little bit and use it for all | Wilmer van der Gaast | 2012-12-02 | -88/+66 |
| | | | | | commands. Also fixed reply command in strict commands mode. | |||
* | Have root confirm some commands that so far gave no feedback at all, since | Wilmer van der Gaast | 2012-11-25 | -5/+28 |
| | | | | | "no news is good news" can be a little confusing. | |||
* | Only a few commands use twitter_message_id_from_command_arg(), others were | Wilmer van der Gaast | 2012-11-25 | -6/+15 |
| | | | | | still using a decimal scanf format string. Messy code duplication. :-( | |||
* | Use hex for show_ids, but stick to the 2-char maximum. a 256-message backlog | Wilmer van der Gaast | 2012-11-25 | -5/+5 |
| | | | | | really should be enough. | |||
* | To address #991, adding a strict commands mode, where one has to use "post" | Wilmer van der Gaast | 2012-11-25 | -13/+25 |
| | | | | | to post tweets. | |||
* | Fixed one potential memory leak, and re-remembered that for GLib + valgrind | Wilmer van der Gaast | 2012-11-25 | -1/+0 |
| | | | | | you REALLY need to set G_SLICE=always-malloc. Argh! | |||
* | Finally cleaned up the show-tweet functions. | Wilmer van der Gaast | 2012-11-25 | -78/+69 |
| | ||||
* | Fixing two oopses from my last commit. | Wilmer van der Gaast | 2012-11-25 | -2/+3 |
| | ||||
* | Changed mode/room management a little bit. | Wilmer van der Gaast | 2012-11-25 | -48/+51 |
| | ||||
* | s/twitter_msg/twitter_log/ and use it in a few more places. | Wilmer van der Gaast | 2012-11-25 | -22/+37 |
| | ||||
* | Show DMs the right way. With mode=many and show_ids=off they'll look just | Wilmer van der Gaast | 2012-11-25 | -6/+12 |
| | | | | | | like tweets but that's what you get with bad settings.. Also, don't show DMs from ourselves. | |||
* | Minor rework: Always fill td->log now and use it not just for show_ids, but | Wilmer van der Gaast | 2012-11-25 | -50/+86 |
| | | | | | | | | | | also for stream deduplication. Also, drop tweets from unknown people unless fetch_mentions is set. The stream will feed us that spam either way but not everyone wants to see it. Last, fixing a bug where in streaming mode, per-user last tweet times were no longer getting tracked. | |||
* | Add help info for "stream" setting. Also, disable it for non-Twitter accounts. | Wilmer van der Gaast | 2012-11-24 | -5/+16 |
| | ||||
* | Fixing one obvious memory leak. | Wilmer van der Gaast | 2012-11-24 | -0/+2 |
| | ||||
* | Some code for handling disconnect/event messages. | Wilmer van der Gaast | 2012-11-20 | -0/+41 |
| | ||||
* | 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! |