aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
Commit message (Collapse)AuthorAgeLines
...
* Add CTCP HELP code. Also cleaning up some noop handlers in the TwitterWilmer van der Gaast2010-12-07-12/+0
| | | | | | module (chat_with and send_typing) that suggested support for features that obviously don't exist.
* Time out if logging in takes too long (2m for now). Except for TwitterWilmer van der Gaast2010-11-21-0/+4
| | | | | | OAuth login, which requires user action. This mostly solves problems with OSCAR login silently failing, but may also be useful in other places.
* Don't initialize the twitter_connections list to NULL in twitter_init().Wilmer van der Gaast2010-10-15-3/+1
| | | | | | This fixes a weird bug where Twitter updates often stop after a while when running in daemon mode with multiple users connected.
* Merging mainline, which includes a huge msnp13 merge.Wilmer van der Gaast2010-10-02-0/+15
|\ | | | | | | | | | | Not 100% sure about the OpenSSL merge, should double check that but I'm currently offline.
| * Some simple error msgs on failed Twitter commands (undo and rt).Wilmer van der Gaast2010-09-29-0/+15
| |
* | Merge mainline stuff.Wilmer van der Gaast2010-08-31-1/+1
|\|
| * Due to popular demand, now using mode=chat by default.Wilmer van der Gaast2010-08-30-1/+1
| |
* | First step in this merge. Mostly a bzr merge and then a cleanup of conflictsWilmer van der Gaast2010-08-24-0/+1
|\ \ | |/ |/| | | | | and parts I want to/have to redo (because of ui-fix).
| * merge with upstraem bitlbee 1.2.8Sven Moritz Hallberg2010-07-11-12/+32
| |\
| * \ merge in bitlbee headSven Moritz Hallberg2010-06-04-8/+28
| |\ \
| * | | add an option to disable otr on twitter (and other unsuitable protocols)Sven Moritz Hallberg2010-06-03-0/+1
| | | |
* | | | Don't send a /QUIT for every Twitter contact when going offline, and showWilmer van der Gaast2010-08-14-1/+1
| | | | | | | | | | | | | | | | | | | | the twitter_$username /QUIT as a netsplit.
* | | | Add a few more commands (including RT) and the ability to send replies.Wilmer van der Gaast2010-08-08-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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-24/+81
| | | | | | | | | | | | | | | | | | | | either your most recent tweet, or a specific id (pass it as an argument)).
* | | | When using non-Twitter Twitter API services, prefix the channel and contactWilmer van der Gaast2010-07-17-7/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Translate "nick:" to "@nick" in Twitter rooms to make tab completion easier.Wilmer van der Gaast2010-07-10-2/+22
| |_|/ |/| | | | | | | | | | | Not working yet with stripped/mangled nicknames.
* | | Strip whitespace in Twitter OAuth PIN responses.Wilmer van der Gaast2010-06-30-1/+8
| | |
* | | Load the whole Twitter contact list at login time if mode=chat/many,Wilmer van der Gaast2010-06-24-11/+22
| | | | | | | | | | | | | | | | | | 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.
* | | Fixing some memory leakage.Wilmer van der Gaast2010-06-08-0/+2
| |/ |/|
* | Merge from Geert: Added ability to follow/unfollow Twitter people. (UnfollowWilmer van der Gaast2010-05-30-0/+2
|\ \ | | | | | | | | | | | | won't work with mode=one.)
| * | Added functionality to add and remove friendships.Geert Mulders2010-05-29-0/+2
| |/
* | Added base_url settting to Twitter module so other services using theWilmer van der Gaast2010-05-23-6/+25
| | | | | | | | | | Twitter API can be used. Only with Basic authentication though.
* | Use HTTPS for the browser part of Twitter OAuth login.Wilmer van der Gaast2010-05-22-1/+1
| |
* | Setting the HTML flag on a connection has a nasty side effect of escapingWilmer van der Gaast2010-05-19-1/+0
|/ | | | | | | | | | | 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.
* Check Tweet length on the BitlBee side already.Wilmer van der Gaast2010-05-03-2/+16
|
* OAuth sanity fix: Twitter-specific stuff should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-02-16/+26
|\ | | | | | | | | Somewhat intrusive, should've done this right immediately. :-/
| * Save the credentials again.Wilmer van der Gaast2010-05-01-4/+4
| |
| * Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-01-18/+28
|/ | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
* Set HTML-flag on Twitter accounts so </> and all get converted back.Wilmer van der Gaast2010-04-30-0/+1
| | | | | (Probably also fixes potential problems with outgoing messages.)
* Valgrind cleanup.Wilmer van der Gaast2010-04-27-9/+21
|
* Save the OAuth token in the acct structs so it doesn't have to be rerequestedWilmer van der Gaast2010-04-26-0/+5
| | | | | every time.
* OAuth, it lives!Wilmer van der Gaast2010-04-26-3/+36
|
* Twitter module now generates authorize URLs.Wilmer van der Gaast2010-04-26-14/+50
|
* Successfully posted a tweet!Wilmer van der Gaast2010-04-26-1/+6
| | | | | | | | | | 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.
* 1.2.6a. I fail. :-(1.2.6aWilmer van der Gaast2010-04-19-1/+1
| | | | | | The 1.2.6 I just released has a groupchat mode in the Twitter module that doesn't actually work...
* Added a meta-contact twitter_$username and replaced the "use_groupchat"Wilmer van der Gaast2010-04-16-6/+22
| | | | | | | 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.
* Suppress HTTP error messages unless we get five or more in a row.Wilmer van der Gaast2010-04-13-4/+1
|
* Use full name information of Twitter buddies.Wilmer van der Gaast2010-04-13-0/+1
|
* If the user leaves the Twitter channel, allow that. Recreate it when newWilmer van der Gaast2010-04-09-0/+9
| | | | | tweets come in.
* Don't free the Twitter chatroom if there isn't one..Wilmer van der Gaast2010-04-08-1/+2
|
* It'd be nice to not crash when the user goes away. :-)Wilmer van der Gaast2010-04-07-12/+0
| | | | | | Don't export no-op set_away() funcs/etc and make nogaim detect that and give up in time.
* In groupchat mode, make contacts show up in the room instead of in &bitlbee. Wilmer van der Gaast2010-04-07-0/+2
| | | | | And clean up the room when disabling the Twitter account.
* A little more cleanup.Wilmer van der Gaast2010-04-07-5/+5
|
* Updates made as a result to the comments on the review.Geert Mulders2010-04-06-7/+13
|
* Added option to get tweeds either through groupchat or privmes.Geert Mulders2010-03-25-15/+22
|
* Added twitter-module.Geert Mulders2009-12-01-0/+221