aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
Commit message (Collapse)AuthorAgeLines
...
* Twitter module cleanup: Both Twitter and identi.ca "modules" support OAuthWilmer van der Gaast2012-09-15-4/+1
| | | | | now.
* Fix memory leak. #985Wilmer van der Gaast2012-08-19-0/+1
|
* Fixed compiler warning in twitter.c report-spam code.Wilmer van der Gaast2012-06-04-2/+1
|
* Turn show_ids on by default. I need to do some more things to get everyoneWilmer van der Gaast2012-04-14-1/+1
| | | | | to do proper replies and stop annoying other Twitter users.
* Merging report-spam patch for Twitter from Flexo. #923Wilmer van der Gaast2012-03-12-0/+19
|
* Applied patch from #895, making show_old_mentions an integer setting insteadWilmer van der Gaast2012-02-10-1/+1
| | | | | of boolean so you can change the number of mentions being fetched.
* Take t.co URL lengthe^Wshortening into account when counting message lengthWilmer van der Gaast2012-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!
* add 'strip_newlines' setting to TwitterDaniel Albers2012-01-13-0/+2
|
* Fixed a bug that probably (can't test this now since it's down) broke OAuthWilmer van der Gaast2011-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 typeWilmer van der Gaast2011-12-21-2/+2
| | | | | a bogus password.
* Support HTTP/1.1 redirect status codes and use HTTPS for OAuth setup. ThisWilmer van der Gaast2011-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.
* Merging Twitter-mentions patch from meh. Bug #663.Wilmer van der Gaast2011-08-25-14/+23
|
* Better cleanup of status IDs in Twitter commands. Stop using that sillyWilmer van der Gaast2011-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 Gaast2011-08-17-1/+5
|\ | | | | | | | | Patch from Jasper Spaans.
| * Make it easier to retweet by id.Jasper Spaans2011-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 lookWilmer van der Gaast2011-06-12-2/+2
| | | | | so much better.
* Oops. prefix shouldn't be just "ca" for identi.ca.Wilmer van der Gaast2011-06-11-1/+3
|
* Change the default base_url to something that works. Change the default forWilmer van der Gaast2011-06-11-9/+22
| | | | | | identi.ca to HTTPS while I'm at it. Pretty important since I can't use OAuth for it yet.
* Use /friends/ids and /users/lookup instead of /statuses/friends to get aWilmer van der Gaast2011-06-11-4/+6
| | | | | | list of contacts at login time. Still depends on adding an API version number to base_url though.
* Re-indent Twitter code. It just lacks *any* kind of consistency. Flags used:Wilmer van der Gaast2011-06-11-298/+253
| | | | | | -i8 -kr -ts8 -ut -l100 Because K&R isn't so bad after all but spaces are definitely evil. (Not that GNU indent understands how to use tabs, oh well.)
* Dirty workaround: Don't download the contact list for now as TwitterWilmer van der Gaast2011-06-09-0/+1
| | | | | | | deprecated the API call BitlBee uses for that. The contact list will be updated as tweets come in. Real fix will come in later, at least this lets everyone log in again.
* Try to show better Twitter error messages. Sadly this doesn't always workWilmer van der Gaast2011-04-18-2/+2
| | | | | | since Twitter can't seem to make up their mind on the formatting of their error responses, sometimes using XML and sometimes plain text.
* Check td->log everywhere before using it..Wilmer van der Gaast2011-03-31-2/+2
|
* Also use the short IDs for a new reply command. Couldn't think of a sane wayWilmer van der Gaast2011-03-29-4/+35
| | | | | | to support "xx:" or "@xx" since it would also become too ambiguous. Only thing left to do now is documenting it.
* Allow using the new 2-digit id's for retweets.Wilmer van der Gaast2011-03-29-0/+4
|
* For #721, add the numbers in front of tweets if show_ids is enabled. LeftWilmer van der Gaast2011-03-29-0/+7
| | | | | to do: Document the feature and allow using the numbers in rt/replies.
* Tweaks to allow authenticating to identi.ca with OAuth. Doesn't seem to workWilmer van der Gaast2011-03-27-2/+24
| | | | | | | completely for whatever the reason may be (invalid signature). I give up for now. Stuff does actually work if you generate access tokens using different software so BitlBee's definitely able to generate good signatures.
* Twitter: Warn the user if the OAuth username and the configured usernameWilmer van der Gaast2011-03-07-0/+10
| | | | | | don't match. This is not a real problem but can be confusing if you don't expect it.
* 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
| |/