gregoa/bti.git
9 years agonew version of checkpatch.pl from 2.6.35-rc1 kernel
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:48:09 +0000 (17:48 -0700)]
new version of checkpatch.pl from 2.6.35-rc1 kernel

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoFixup typo in Makefile.am found by @applehq
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:42:01 +0000 (17:42 -0700)]
Fixup typo in Makefile.am found by @applehq

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agorelease 027
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:03:15 +0000 (17:03 -0700)]
release 027

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agofix up the autoconf checking for liboauth and other libraries
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:00:33 +0000 (17:00 -0700)]
fix up the autoconf checking for liboauth and other libraries

Start using pkg-config as its supposed to be used (hopefully)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years ago- Cosmetics
Amir Mohammad Saied [Tue, 10 Aug 2010 23:18:39 +0000 (03:48 +0430)]
- Cosmetics
- Escaping tweet before POSTing it

9 years agoMerge branch 'master' into oath-test
Greg Kroah-Hartman [Wed, 28 Jul 2010 00:31:13 +0000 (17:31 -0700)]
Merge branch 'master' into oath-test

Conflicts:
bti.c

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoLeftovers from last commit, accepting account and, password from options
Amir Mohammad Saied [Tue, 27 Jul 2010 16:19:13 +0000 (20:49 +0430)]
Leftovers from last commit, accepting account and, password from options

9 years agoHTTP basic auth for StatusNet instances
Amir Mohammad Saied [Tue, 27 Jul 2010 16:01:13 +0000 (20:31 +0430)]
HTTP basic auth for StatusNet instances

Merging back all HTTP basic auth codebase, mostly needed for custom
StatusNet instances with no OAuth service provider.

9 years agoFix a warning: unused variable message
Daniel Cordero [Thu, 22 Jul 2010 18:52:57 +0000 (19:52 +0100)]
Fix a warning: unused variable message

"file" became unused in commit 6fe2642650486b6ca6c2a6eadbd50246fbdd2edd

9 years agoAdd a replyto configuration option
Daniel Cordero [Tue, 16 Jun 2009 20:55:03 +0000 (21:54 +0059)]
Add a replyto configuration option

9 years agoSupport for replying to notices
Daniel Cordero [Tue, 16 Jun 2009 20:55:02 +0000 (21:54 +0059)]
Support for replying to notices

Allow the user to specify a single ID so that interfaces can show the
nice "in reply to" links (or "in context" for status.net installations).

9 years agoVerbose mode shows status IDs
Daniel Cordero [Tue, 16 Jun 2009 20:55:02 +0000 (21:54 +0059)]
Verbose mode shows status IDs

9 years agoerror out if liboauth is not present
Greg Kroah-Hartman [Thu, 22 Jul 2010 17:10:35 +0000 (10:10 -0700)]
error out if liboauth is not present

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoOAuth for both twitter, and identi.ca
Amir Mohammad Saied [Thu, 22 Jul 2010 14:37:49 +0000 (19:07 +0430)]
OAuth for both twitter, and identi.ca

It's a bold move from the old HTTP auth to only OAuth. Since twitter is
going to drop http auth in next 10 days, and identi.ca has an OAuth
service provider, it seems dropping HTTP auth support from bti isn't
that bad.

You need to add your consumer key, and secret in ~/.bti:
consumer_key=yourkey
consumer_secret=yoursecret

bti will help you to get your "access token key", and "access token
secret". Put them in your ~/.bti and you're ready to go.

9 years agoMerge branch 'master' into oath
Greg Kroah-Hartman [Thu, 17 Jun 2010 23:31:15 +0000 (16:31 -0700)]
Merge branch 'master' into oath

9 years agoFix Implicit linking against -ldl
Michel Alexandre Salim [Thu, 17 Jun 2010 20:28:43 +0000 (22:28 +0200)]
Fix Implicit linking against -ldl

9 years agoadd oath.keys from twitter.com
Greg Kroah-Hartman [Mon, 24 May 2010 19:32:06 +0000 (12:32 -0700)]
add oath.keys from twitter.com

9 years agorelease 026
Greg Kroah-Hartman [Wed, 19 May 2010 19:10:58 +0000 (12:10 -0700)]
release 026

9 years agoAdd ability to override default config file option
Greg Kroah-Hartman [Wed, 19 May 2010 19:07:45 +0000 (12:07 -0700)]
Add ability to override default config file option

Thanks to Reuben Thomas <rrt@sc3d.org> for this idea.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoadd a configfile option to the core data structure
Greg Kroah-Hartman [Wed, 19 May 2010 18:53:42 +0000 (11:53 -0700)]
add a configfile option to the core data structure

In anticipation of adding the option to select where your config
file is at.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoinit the readline function after parsing the command line options
Greg Kroah-Hartman [Wed, 19 May 2010 18:45:44 +0000 (11:45 -0700)]
init the readline function after parsing the command line options

This lets us properly debug the readline function choice if
we need to.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoupdate bti.1 from the xml changes
Greg Kroah-Hartman [Fri, 23 Apr 2010 03:28:13 +0000 (20:28 -0700)]
update bti.1 from the xml changes

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoTypo fixes for bti(1)
Reuben Thomas [Thu, 15 Apr 2010 11:14:52 +0000 (12:14 +0100)]
Typo fixes for bti(1)

9 years agoanother minor codingstyle fix
Greg Kroah-Hartman [Thu, 22 Apr 2010 19:06:50 +0000 (12:06 -0700)]
another minor codingstyle fix

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoupdated version of checkpatch.pl
Greg Kroah-Hartman [Thu, 22 Apr 2010 19:06:30 +0000 (12:06 -0700)]
updated version of checkpatch.pl

taken from Linux 2.6.34-rc5

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agominor coding style cleanup.
Greg Kroah-Hartman [Thu, 22 Apr 2010 19:04:43 +0000 (12:04 -0700)]
minor coding style cleanup.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agobti: fix a crash for echo -n|bti
Pete Zaitcev [Mon, 12 Apr 2010 18:49:57 +0000 (12:49 -0600)]
bti: fix a crash for echo -n|bti

My previous patch was not thought out completely and so the new bti
crashes if fed an input without a newline, like this:
 echo -n "status test" | bti

The obvious fix seems the most appropriate approach in this case.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agobti: suppress prompt if fed from a pipe
Pete Zaitcev [Sun, 21 Mar 2010 20:46:03 +0000 (14:46 -0600)]
bti: suppress prompt if fed from a pipe

Do not use readline for non-interactive sessions (e.g. those taking
input from a pipe or file). This way stray prompts are not shown.
Explicit prompts are retained, in case some script expects them.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agorelease 025
Greg Kroah-Hartman [Sat, 9 Jan 2010 23:22:17 +0000 (15:22 -0800)]
release 025

10 years agoRemove link-time dependancy on readline
Greg Kroah-Hartman [Sat, 9 Jan 2010 23:17:16 +0000 (15:17 -0800)]
Remove link-time dependancy on readline

This patch divorces bti from depending on readline.  It now
will try to work with any readline-like library on your system,
and if none is found, fall back to an internal function.

This will solve the problems that distros are having with the
readline-6 license change to GPLv3 and bti staying at GPLv2.

Logic for this is taken from e2fsprogs, which implemented this
a long time ago for the same type of reason.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
10 years agoName correct hosts in prompts.
gregor herrmann [Thu, 31 Dec 2009 02:41:50 +0000 (03:41 +0100)]
Name correct hosts in prompts.

The prompt "Enter twitter {account,password}" is a bit misleading
if host is set to identi.ca or a custim host.
Add hostname to the session struct and use in for prompting and logging.

Reported as http://bugs.debian.org/563099

10 years agoMerge remote branch 'gregkh/master'
Amir Mohammad Saied [Thu, 31 Dec 2009 10:39:25 +0000 (14:09 +0330)]
Merge remote branch 'gregkh/master'

10 years agoRemoving explicit mentions of twitter
Amir Mohammad Saied [Thu, 31 Dec 2009 10:37:05 +0000 (14:07 +0330)]
Removing explicit mentions of twitter

10 years agoIf there's no host specified, the session host is already pointing to twitter, but...
Amir Mohammad Saied [Thu, 31 Dec 2009 10:24:36 +0000 (13:54 +0330)]
If there's no host specified, the session host is already pointing to twitter, but hosturl is empty

10 years agorelease 024
Greg Kroah-Hartman [Wed, 2 Dec 2009 01:41:36 +0000 (17:41 -0800)]
release 024

10 years agouse "quiet" mode of building if present.
Greg Kroah-Hartman [Wed, 2 Dec 2009 01:15:30 +0000 (17:15 -0800)]
use "quiet" mode of building if present.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agofix up some compiler warnings in read_password
Greg Kroah-Hartman [Wed, 2 Dec 2009 01:10:52 +0000 (17:10 -0800)]
fix up some compiler warnings in read_password

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agoDisable echo when reading the password
Ben Boeckel [Tue, 1 Dec 2009 23:59:45 +0000 (18:59 -0500)]
Disable echo when reading the password

10 years agofix crash when --debug is set
Greg Kroah-Hartman [Thu, 13 Aug 2009 18:07:24 +0000 (11:07 -0700)]
fix crash when --debug is set

The group should not be printed out at startup if debug is set,
as it is not always set.  This came in in the "add group support"
patch, it was probably used for debugging that code.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agodon't free an array on the stack
Greg Kroah-Hartman [Thu, 13 Aug 2009 04:23:49 +0000 (21:23 -0700)]
don't free an array on the stack

10 years agomore coding style cleanups
Greg Kroah-Hartman [Thu, 13 Aug 2009 04:13:03 +0000 (21:13 -0700)]
more coding style cleanups

10 years agoclean up some trailing whitespace
Greg Kroah-Hartman [Thu, 13 Aug 2009 04:09:22 +0000 (21:09 -0700)]
clean up some trailing whitespace

10 years agoBTI should not display password while user types it
gregor herrmann [Tue, 30 Jun 2009 17:28:24 +0000 (19:28 +0200)]
BTI should not display password while user types it

Add password handling logic to not display the password on the
command line.  Code is based on logic from:
http://dev.kryo.se/iodine/browser/src/common.c

10 years agofix compiler warning about fprintf
Greg Kroah-Hartman [Thu, 13 Aug 2009 03:53:19 +0000 (20:53 -0700)]
fix compiler warning about fprintf

10 years agoAdd laconica group support
Marvin Vek [Wed, 22 Jul 2009 21:07:14 +0000 (23:07 +0200)]
Add laconica group support

As you offered on Identi.ca in reply to my question on Laconica group
support (http://identi.ca/notice/6205615), created a patch for it.
Been like 6 years when i learned and wrote my last basic C code, but
tested it out and seems to be working fine.

Signed-off-by: Marvin Vek <laen@onedot.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agorelease 023
Greg Kroah-Hartman [Wed, 27 May 2009 20:45:53 +0000 (13:45 -0700)]
release 023

10 years agoUpdating AUTHORs and copyright section
Amir Mohammad Saied [Wed, 27 May 2009 18:02:06 +0000 (22:32 +0430)]
Updating AUTHORs and copyright section

10 years agoUpdating documents, both for the new verbose mode, and custom laconi.ca installations.
Amir Mohammad Saied [Thu, 21 May 2009 09:53:37 +0000 (14:23 +0430)]
Updating documents, both for the new verbose mode, and custom laconi.ca installations.

10 years agoverbose option for bash completion script
Amir Mohammad Saied [Wed, 20 May 2009 07:14:32 +0000 (11:44 +0430)]
verbose option for bash completion script

10 years agoVerbose mode for bti
Amir Mohammad Saied [Tue, 19 May 2009 14:33:07 +0000 (19:03 +0430)]
Verbose mode for bti

10 years agohttps for twitter
Amir Mohammad Saied [Sun, 10 May 2009 11:18:55 +0000 (15:48 +0430)]
https for twitter

10 years agorelease 022
Greg Kroah-Hartman [Tue, 5 May 2009 06:17:45 +0000 (23:17 -0700)]
release 022

10 years agoMerge branch 'master' of git://github.com/amir/bti
Greg Kroah-Hartman [Tue, 5 May 2009 06:03:32 +0000 (23:03 -0700)]
Merge branch 'master' of git://github.com/amir/bti

10 years agobti: use ssl for identi.ca
gregor herrmann [Mon, 4 May 2009 14:39:48 +0000 (16:39 +0200)]
bti: use ssl for identi.ca

10 years agoMerge branch 'master' of gregkh@master.kernel.org:/pub/scm/linux/kernel/git/gregkh/bti
Greg Kroah-Hartman [Tue, 5 May 2009 05:49:48 +0000 (22:49 -0700)]
Merge branch 'master' of gregkh@/linux/kernel/git/gregkh/bti

10 years agofix build warning from time patch.
Greg Kroah-Hartman [Tue, 5 May 2009 05:49:21 +0000 (22:49 -0700)]
fix build warning from time patch.

10 years agobti: show timestamp in statuses
J.R. Mauro [Thu, 30 Apr 2009 00:35:19 +0000 (20:35 -0400)]
bti: show timestamp in statuses

Make parse_statuses() print timestamps

Signed-off-by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 years agoUpdating config example file
Amir Mohammad Saied [Mon, 4 May 2009 06:43:07 +0000 (11:13 +0430)]
Updating config example file

10 years agoSupport for custom bti installations
Amir Mohammad Saied [Mon, 4 May 2009 06:24:26 +0000 (10:54 +0430)]
Support for custom bti installations

Now one can pass the URL of a custom laconica installation as value of
host (the both previous "twitter" and "identica" are still valid
though). The passed URL should be the base path of where API endpoints
are located. e.g., identica' baseurl is:
  http://identi.ca/api/statuses
And twit.tv's army (which is a laconica instance) is:
  http://army.twit.tv/api/statuses

10 years agoadd the script to the tarball.
Greg Kroah-Hartman [Tue, 14 Apr 2009 21:03:49 +0000 (14:03 -0700)]
add the script to the tarball.

10 years agorelease 021
Greg Kroah-Hartman [Tue, 14 Apr 2009 21:01:35 +0000 (14:01 -0700)]
release 021

10 years agobump version to 021
Greg Kroah-Hartman [Tue, 14 Apr 2009 21:01:06 +0000 (14:01 -0700)]
bump version to 021

10 years agoInstall bti-shrink-urls properly
Greg Kroah-Hartman [Tue, 14 Apr 2009 20:59:11 +0000 (13:59 -0700)]
Install bti-shrink-urls properly

10 years agofix build of man pages
Greg Kroah-Hartman [Tue, 14 Apr 2009 20:01:22 +0000 (13:01 -0700)]
fix build of man pages

Thanks to gregor herrmann for pointing out the error

10 years agorelease 020
Greg Kroah-Hartman [Tue, 14 Apr 2009 03:13:25 +0000 (20:13 -0700)]
release 020

10 years agoadd more forgotten files to Makefile.am
Greg Kroah-Hartman [Tue, 14 Apr 2009 03:12:19 +0000 (20:12 -0700)]
add more forgotten files to Makefile.am

10 years agobump version number
Greg Kroah-Hartman [Mon, 13 Apr 2009 23:00:11 +0000 (16:00 -0700)]
bump version number

10 years agofix two compiler warnings.
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:59:16 +0000 (15:59 -0700)]
fix two compiler warnings.

10 years agorelease 019
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:56:23 +0000 (15:56 -0700)]
release 019

10 years agoMakefile.am and configure.ac tweaks to get the release correct
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:55:48 +0000 (15:55 -0700)]
Makefile.am and configure.ac tweaks to get the release correct

10 years agorelease 018
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:52:14 +0000 (15:52 -0700)]
release 018

10 years agoanother git-release fix
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:52:06 +0000 (15:52 -0700)]
another git-release fix

10 years agoremove Makefile and fix git-release script
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:51:12 +0000 (15:51 -0700)]
remove Makefile and fix git-release script

10 years agomore autoconf fun
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:48:40 +0000 (15:48 -0700)]
more autoconf fun

10 years agoconvert to use autotools
Greg Kroah-Hartman [Mon, 13 Apr 2009 22:21:37 +0000 (15:21 -0700)]
convert to use autotools

10 years agoadd bti-shrink-urls.1 to tree
Greg Kroah-Hartman [Mon, 13 Apr 2009 20:31:32 +0000 (13:31 -0700)]
add bti-shrink-urls.1 to tree

This helps for systems that don't have the xml2 package on it.

10 years agoadded AUTHOR section to bti-shrink-urls.xml
Greg Kroah-Hartman [Mon, 13 Apr 2009 20:31:11 +0000 (13:31 -0700)]
added AUTHOR section to bti-shrink-urls.xml

xml2man complains if it is not there.

10 years agoadded bti-shrink-urls.1 to Makefile
Greg Kroah-Hartman [Mon, 13 Apr 2009 20:29:18 +0000 (13:29 -0700)]
added bti-shrink-urls.1 to Makefile

10 years agoadded bti-shrink-urls man page
Greg Kroah-Hartman [Mon, 13 Apr 2009 20:28:12 +0000 (13:28 -0700)]
added bti-shrink-urls man page

Thanks to Gregor Herrmann <gregoa@debian.org> for the file

10 years agoadd missing arguments to getopt_long_only call and add --dry-run to --help
Gregor Herrmann [Mon, 13 Apr 2009 20:26:39 +0000 (13:26 -0700)]
add missing arguments to getopt_long_only call and add --dry-run to --help

10 years agoUse '#' as prefix for our tweets if we're uid 0; otherwise '$'.
Alexander Færøy [Thu, 9 Apr 2009 01:42:13 +0000 (03:42 +0200)]
Use '#' as prefix for our tweets if we're uid 0; otherwise '$'.

10 years agoshow version when starting up with debug enabled
Greg Kroah-Hartman [Mon, 13 Apr 2009 19:56:10 +0000 (12:56 -0700)]
show version when starting up with debug enabled

This makes it easier to determine which version of bti is being used
when responding to bug reports.

10 years agoadd "bti:" to the beginning of all debug messages
Greg Kroah-Hartman [Mon, 13 Apr 2009 19:55:41 +0000 (12:55 -0700)]
add "bti:" to the beginning of all debug messages

This makes it a bit easier to parse what is going on.

11 years agorelease 017
Greg Kroah-Hartman [Tue, 24 Mar 2009 05:19:48 +0000 (22:19 -0700)]
release 017

11 years agoupdate bti.1
Greg Kroah-Hartman [Tue, 24 Mar 2009 05:17:36 +0000 (22:17 -0700)]
update bti.1

11 years agoadd --page to bti-bashcompletion
Greg Kroah-Hartman [Tue, 24 Mar 2009 05:05:57 +0000 (22:05 -0700)]
add --page to bti-bashcompletion

11 years agodocument the --page option
Greg Kroah-Hartman [Tue, 24 Mar 2009 04:59:54 +0000 (21:59 -0700)]
document the --page option

11 years agoMerge branch 'master' of git://github.com/psykoyiko/bti
Greg Kroah-Hartman [Tue, 24 Mar 2009 04:52:37 +0000 (21:52 -0700)]
Merge branch 'master' of git://github.com/psykoyiko/bti

11 years agoLots of checkpatch cleanups to the code
Greg Kroah-Hartman [Tue, 24 Mar 2009 04:47:45 +0000 (21:47 -0700)]
Lots of checkpatch cleanups to the code

11 years agofix a bug with shrink_urls() when ran on text that contains no urls
Bart Trojanowski [Tue, 24 Mar 2009 00:12:05 +0000 (20:12 -0400)]
fix a bug with shrink_urls() when ran on text that contains no urls

11 years agorelease 016
Greg Kroah-Hartman [Mon, 23 Mar 2009 23:03:14 +0000 (16:03 -0700)]
release 016

11 years agoupdate bti.1 with new info from xml file
Greg Kroah-Hartman [Mon, 23 Mar 2009 22:55:06 +0000 (15:55 -0700)]
update bti.1 with new info from xml file

11 years agoadd new options to bash completion script
Greg Kroah-Hartman [Mon, 23 Mar 2009 22:54:35 +0000 (15:54 -0700)]
add new options to bash completion script

11 years agofix up some compiler warnings due to new patches
Greg Kroah-Hartman [Mon, 23 Mar 2009 22:54:19 +0000 (15:54 -0700)]
fix up some compiler warnings due to new patches

11 years agobti-shrink-urls - properly handle urls with :
Bart Trojanowski [Mon, 23 Mar 2009 20:05:52 +0000 (16:05 -0400)]
bti-shrink-urls - properly handle urls with :

11 years agofix an array overrun in shrink_urls()
Bart Trojanowski [Mon, 23 Mar 2009 00:52:45 +0000 (20:52 -0400)]
fix an array overrun in shrink_urls()

11 years agobti.xml and bti.example updates
Bart Trojanowski [Mon, 23 Mar 2009 00:12:58 +0000 (20:12 -0400)]
bti.xml and bti.example updates

Signed-off-by: Bart Trojanowski <bart@jukie.net>
11 years agoadd bti --dry-run option
Bart Trojanowski [Sun, 22 Mar 2009 15:49:52 +0000 (11:49 -0400)]
add bti --dry-run option

Signed-off-by: Bart Trojanowski <bart@jukie.net>
11 years agoadd bti --shrink-urls
Bart Trojanowski [Sat, 21 Mar 2009 00:48:40 +0000 (20:48 -0400)]
add bti --shrink-urls

This patch adds a bti-shrink-urls script which uses http://2tu.us/ to
convert any URLs to something more sensible for a tweet.

bti, with the --shrink-urls option, now uses the above to convert any
URLs it finds.

'shrink-urls' can also be set to 'true' or 'yes' in the config file.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
11 years agoadd make install target
Bart Trojanowski [Fri, 20 Mar 2009 00:15:14 +0000 (20:15 -0400)]
add make install target

Also adds DEST and PREFIX variables used by make install, for example:
    make install DEST=`pwd`/debian/tmp PREFIX=/usr/bin