aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter_lib.c
Commit message (Collapse)AuthorAgeLines
* Fix two compiler warnings.Wilmer van der Gaast2010-08-22-1/+1
|
* strptime() on FreeBSD (and possibly other non-glibc platforms) %z is notWilmer van der Gaast2010-08-11-1/+6
| | | | | | supported, so just insert the literal timezone there - let's hope Twitter won't ever change that.
* Add a few more commands (including RT) and the ability to send replies.Wilmer van der Gaast2010-08-08-6/+17
| | | | | | That's it for now, this is already not very pretty, but just offers the bare basic functionality.
* Allow protocol modules to keep per-contact protocol-specific data. UseWilmer van der Gaast2010-08-07-2/+15
| | | | | | this in the Twitter module to remember the id and timestamp of a contact's last tweet, which can later be used for simple replies/retweets.
* Add commands to the Twitter module, starting with undo (which deletesWilmer van der Gaast2010-08-07-0/+27
| | | | | either your most recent tweet, or a specific id (pass it as an argument)).
* OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>Wilmer van der Gaast2010-08-07-0/+3
| | | | | with some changes.
* Reconstruct incoming truncated retweets.Wilmer van der Gaast2010-08-07-1/+26
|
* Store exact Twitter usernames for all Twitter contacts when using mode=chat,Wilmer van der Gaast2010-07-17-0/+5
| | | | | | so that xxx:->@xxx translation always works properly (even when the nick was stripped/etc).
* When using non-Twitter Twitter API services, prefix the channel and contactWilmer van der Gaast2010-07-17-2/+2
| | | | | | | | | | name with that service name, not always Twitter. This is especially useful when having multiple accounts on different sites with the same username. Also adding an "identica" protocol entry for convenience. Based on a patch from kensanata, bug #648.
* Merging mainline.Wilmer van der Gaast2010-07-17-1/+16
|\
| * Fix compatibility with older GLib versions again. (Bug #643, patch fromWilmer van der Gaast2010-07-15-0/+8
| | | | | | | | | | Robert Scheck.)
| * Fixing NULL pointer dereferences in Twitter module. Based on patch fromWilmer van der Gaast2010-07-13-1/+8
| | | | | | | | | | wahjava (bug #650).
* | A few Twitter fixes from mainline.Wilmer van der Gaast2010-07-01-9/+13
|\|
| * D'oh. Of course the getter functions should also treat next_cursor as aWilmer van der Gaast2010-06-30-7/+7
| | | | | | | | | | | | 64-bit integer. This code now successfully fetches lists with up to ~900 items. (Since this takes quite long, maybe there should be an upper limit.)
| * next_cursor is a 64-bit integer. Make it so. This should fix issues withWilmer van der Gaast2010-06-30-3/+7
| | | | | | | | | | | | | | | | getting contact lists containing >100 people. I'm still not getting a full list but even Twitter claims I'm at the end of the list. Will investigate later.
* | Merging bugfix from mainline.Wilmer van der Gaast2010-06-26-4/+8
|\|
| * Don't create multiple main loops if the user follows >100 people.Wilmer van der Gaast2010-06-24-4/+8
| |
* | Merging a few revisions from mainline.Wilmer van der Gaast2010-06-24-15/+34
|\|
| * Load the whole Twitter contact list at login time if mode=chat/many,Wilmer van der Gaast2010-06-24-15/+34
| | | | | | | | | | | | instead of adding contacts as they post tweets. Also in mode=chat, populate the channel *before* adding the user to it, avoiding a flood of joins.
* | Merging head.Wilmer van der Gaast2010-06-01-19/+53
|\|
| * Merge from Geert: Added ability to follow/unfollow Twitter people. (UnfollowWilmer van der Gaast2010-05-30-5/+13
| |\ | | | | | | | | | | | | won't work with mode=one.)
| | * Added functionality to add and remove friendships.Geert Mulders2010-05-29-5/+18
| | |
| * | Restructure Twitter error parser a bit, it fed a NULL pointer to the XMLWilmer van der Gaast2010-05-23-17/+16
| | | | | | | | | | | | | | | parser sometimes (which fails safely but is a bad idea anyway).
| * | Improved error reporting (get textual HTTP error message and error messageWilmer van der Gaast2010-05-23-12/+36
| | | | | | | | | | | | | | | from Twitter API response if possible).
| * | Added base_url settting to Twitter module so other services using theWilmer van der Gaast2010-05-23-5/+5
| | | | | | | | | | | | | | | Twitter API can be used. Only with Basic authentication though.
| * | Setting the HTML flag on a connection has a nasty side effect of escapingWilmer van der Gaast2010-05-19-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | a lot of "special" characters, and these HTML entities are not counted as one character. :-( So just strip HTML of incoming stuff and don't do anything with what goes out. It's not required. The story may actually be more complicated this, let's find out.
* | Mainline merge.Wilmer van der Gaast2010-05-03-11/+38
|\|
| * Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-01-6/+6
| | | | | | | | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
| * Successfully posted a tweet!Wilmer van der Gaast2010-04-26-5/+5
| | | | | | | | | | | | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
| * Since the home/timeline response can (and often does) come in before theWilmer van der Gaast2010-04-16-0/+2
| | | | | | | | | | | | user list, call twitter_add_buddy() on all incoming tweets to avoid getting tweets from people who aren't listed yet.
| * Added a meta-contact twitter_$username and replaced the "use_groupchat"Wilmer van der Gaast2010-04-16-5/+30
| | | | | | | | | | | | | | setting with a "mode" setting which also allows for a mode where everything just comes from the meta-contact. Tweets should now go to that user or to the channel (if available). Messages to others become DMs.
* | Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-1/+1
|/
* Small Valgrind noise fix. (Check if the conn is still alive before gettingWilmer van der Gaast2010-04-14-4/+9
| | | | | its private data.)
* Suppress HTTP error messages unless we get five or more in a row.Wilmer van der Gaast2010-04-13-4/+31
|
* Use full name information of Twitter buddies.Wilmer van der Gaast2010-04-13-3/+4
|
* Added imcb_chat_nick_hint() and use it in the Twitter module to get sanerWilmer van der Gaast2010-04-09-0/+3
| | | | | | | channel names. This also closes bug #577, making the Skype module a bit nicer.
* Parse timestamps in tweets.Wilmer van der Gaast2010-04-08-5/+13
|
* In groupchat mode, make contacts show up in the room instead of in &bitlbee. Wilmer van der Gaast2010-04-07-1/+6
| | | | | And clean up the room when disabling the Twitter account.
* A little more cleanup.Wilmer van der Gaast2010-04-07-32/+7
|
* Killed unused twitter_urldecode() and silence some compiler warnings.Wilmer van der Gaast2010-04-07-1/+1
|
* Updates made as a result to the comments on the review.Geert Mulders2010-04-06-9/+9
|
* Added option to get tweeds either through groupchat or privmes.Geert Mulders2010-03-25-74/+295
|
* home/timeline is now displayed in a groupchat instead of private window.Geert Mulders2009-12-02-3/+34
|
* Added twitter-module.Geert Mulders2009-12-01-0/+374