gregoa/bti.git
8 years agoOutput actually used config file name instead of hardcoded ~/.bti in request_access_t... gregoa
gregor herrmann [Fri, 4 Nov 2011 19:42:19 +0000 (20:42 +0100)]
Output actually used config file name instead of hardcoded ~/.bti in request_access_token().

This was reported by Vincent Lefevre in http://bugs.debian.org/646681

8 years agoMerge branch 'master' into gregoa
gregor herrmann [Fri, 4 Nov 2011 19:46:33 +0000 (20:46 +0100)]
Merge branch 'master' into gregoa

8 years agoMerge pull request #19 from amir/master
Greg Kroah-Hartman [Sun, 30 Oct 2011 16:58:39 +0000 (09:58 -0700)]
Merge pull request #19 from amir/master

Using https intead of http

8 years agos/http/https/g
Amir Mohammad Saied [Tue, 25 Oct 2011 17:23:57 +0000 (20:53 +0330)]
s/http/https/g

8 years agobti: allow compilation on non-GNU platforms
Fabian Groffen [Sat, 24 Sep 2011 18:30:12 +0000 (20:30 +0200)]
bti: allow compilation on non-GNU platforms

Avoid using strchrnul, it's a GNU addition.  The code in question,
actually doesn't really benefit from strchrnul's behaviour.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agobti.xml: docsheet url cleanup
Greg Kroah-Hartman [Sat, 22 Oct 2011 16:15:54 +0000 (18:15 +0200)]
bti.xml: docsheet url cleanup

8 years agosend_request: don't leak the curl stuff
Jonathan Neuschäfer [Tue, 19 Jul 2011 14:06:58 +0000 (16:06 +0200)]
send_request: don't leak the curl stuff

This is a bit ugly, admittedly.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoHACKING: this is bti, not smugbatch
Jonathan Neuschäfer [Tue, 19 Jul 2011 14:06:57 +0000 (16:06 +0200)]
HACKING: this is bti, not smugbatch

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoget_string*: fix a memory leak
Jonathan Neuschäfer [Tue, 19 Jul 2011 14:06:56 +0000 (16:06 +0200)]
get_string*: fix a memory leak

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoMerge branch 'master' into gregoa
gregor herrmann [Sun, 25 Sep 2011 15:07:24 +0000 (17:07 +0200)]
Merge branch 'master' into gregoa

8 years agoMerge pull request #17 from siers/master
Greg Kroah-Hartman [Wed, 24 Aug 2011 20:03:47 +0000 (13:03 -0700)]
Merge pull request #17 from siers/master

Hello.

8 years agoOutput can be evened like a table with --column 20.
siers [Wed, 24 Aug 2011 12:13:25 +0000 (15:13 +0300)]
Output can be evened like a table with --column 20.

8 years agoMerge branch 'master' of github.com:gregkh/bti
Greg Kroah-Hartman [Sun, 8 May 2011 19:20:35 +0000 (12:20 -0700)]
Merge branch 'master' of github.com:gregkh/bti

8 years agobti: Handle NULL HOME environment variables
Greg Kroah-Hartman [Sun, 8 May 2011 19:19:13 +0000 (12:19 -0700)]
bti: Handle NULL HOME environment variables

If HOME is NULL, we die, which is not nice.  Some servers don't
set HOME up (like Apache), so default to /etc/bti for a config file if
that happens.

Reported-by: Paul Salanitri <paul.salanitri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agofix common misspellings
Jonathan Neuschäfer [Wed, 23 Mar 2011 21:04:43 +0000 (22:04 +0100)]
fix common misspellings

They were detected using `codespell'

8 years agorelease 031
Greg Kroah-Hartman [Mon, 21 Mar 2011 23:33:57 +0000 (16:33 -0700)]
release 031

8 years agoKeep searching for '#' comment marker if previous occurence was a false positive
Michel Alexandre Salim [Sat, 19 Mar 2011 11:41:01 +0000 (12:41 +0100)]
Keep searching for '#' comment marker if previous occurence was a false positive

8 years agoMerge branch 'gregoa' of colleen:bti into gregoa
gregor herrmann [Sat, 19 Mar 2011 13:01:44 +0000 (14:01 +0100)]
Merge branch 'gregoa' of colleen:bti into gregoa

8 years agoconfig: fix possible access of non-allocated memory
Greg Kroah-Hartman [Sat, 19 Mar 2011 00:47:34 +0000 (17:47 -0700)]
config: fix possible access of non-allocated memory

Caused by determining the comment character in a line.

8 years agoOnly treat # as a comment marker if it's at the beginning of line or is preceded...
Michel Alexandre Salim [Fri, 18 Mar 2011 19:44:00 +0000 (20:44 +0100)]
Only treat # as a comment marker if it's at the beginning of line or is preceded by a whitespace character

8 years agocode formatting cleanups
Greg Kroah-Hartman [Sat, 19 Mar 2011 00:40:02 +0000 (17:40 -0700)]
code formatting cleanups

8 years agoIn non-background execution, check whether the server reports success.
Diego Elio Pettenò [Fri, 18 Mar 2011 18:01:53 +0000 (19:01 +0100)]
In non-background execution, check whether the server reports success.

The test is currently only implemented in non-OAuth codepath, and tested
only with identi.ca.

8 years agolaconi.ca was renamed to StatusNet
gregor herrmann [Fri, 18 Mar 2011 11:23:27 +0000 (12:23 +0100)]
laconi.ca was renamed to StatusNet

Update documentation and config example.

8 years agoMerge branch 'master' into gregoa
gregor herrmann [Fri, 18 Mar 2011 11:17:50 +0000 (12:17 +0100)]
Merge branch 'master' into gregoa

8 years agorelease 030
Greg Kroah-Hartman [Thu, 17 Mar 2011 23:12:59 +0000 (16:12 -0700)]
release 030

8 years agosend_request needs to return a negative error value.
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:48:37 +0000 (15:48 -0800)]
send_request needs to return a negative error value.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoMerge branch 'fix-segfault-invalid-host' of https://github.com/agimenez/bti into...
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:47:29 +0000 (15:47 -0800)]
Merge branch 'fix-segfault-invalid-host' of https://github.com/agimenez/bti into agimenez-fix-segfault-invalid-host

8 years agoMerge branch 'fix-retweet' of https://github.com/agimenez/bti into agimenez-fix-retweet
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:45:38 +0000 (15:45 -0800)]
Merge branch 'fix-retweet' of https://github.com/agimenez/bti into agimenez-fix-retweet

8 years agoMerge branch 'trivial-fixes' of https://github.com/agimenez/bti into agimenez-trivial...
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:44:16 +0000 (15:44 -0800)]
Merge branch 'trivial-fixes' of https://github.com/agimenez/bti into agimenez-trivial-fixes

Conflicts:
bti.c

8 years agobti.c: fix another compiler warning about global functions.
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:30:44 +0000 (15:30 -0800)]
bti.c: fix another compiler warning about global functions.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoconfig.c: remove config debug lines.
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:29:31 +0000 (15:29 -0800)]
config.c: remove config debug lines.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoconfig.c: fix up some compiler warnings
Greg Kroah-Hartman [Fri, 18 Feb 2011 23:28:43 +0000 (15:28 -0800)]
config.c: fix up some compiler warnings

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoFix a segfault when specifying an invalid host.
L. Alberto Giménez [Thu, 3 Feb 2011 21:26:43 +0000 (22:26 +0100)]
Fix a segfault when specifying an invalid host.

If the --host argument did not contain a valid hostname to contact to, a
segmentation fault was raised because the return value from oauth_http_post and
oauth_http_get was not being properly checked.

8 years agoFix retweet batch operation
L. Alberto Giménez [Mon, 17 Jan 2011 23:50:58 +0000 (00:50 +0100)]
Fix retweet batch operation

The --retweet ID arguments were not handled properly, and bti asked all the time
for an ID. Now bti handles properly the ID passed by parameter on the
command-line.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
8 years agoAdded tags files to .gitignore
L. Alberto Giménez [Mon, 17 Jan 2011 23:00:33 +0000 (00:00 +0100)]
Added tags files to .gitignore

Ignore TAGS and tags files.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
8 years agoFix trivial compiler warnings
L. Alberto Giménez [Mon, 17 Jan 2011 22:57:51 +0000 (23:57 +0100)]
Fix trivial compiler warnings

Converted bti_output_line and process_line to static, fixed a variable type to
match the getline prototype (returnins a signed value).

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
8 years agoMerge branch 'gregoa' of colleen:bti into gregoa
gregor herrmann [Sun, 16 Jan 2011 14:04:55 +0000 (15:04 +0100)]
Merge branch 'gregoa' of colleen:bti into gregoa

8 years agoRevert "turn on some better compiler warnings."
Greg Kroah-Hartman [Fri, 14 Jan 2011 15:05:17 +0000 (07:05 -0800)]
Revert "turn on some better compiler warnings."

This reverts commit 78188317f96392e12e51e02f9a94150f0ac1786f.

Turns out that autogen.sh generates this properly, I had forgotten to
run that.

Thanks to L. Alberto for pointing this out.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agorewrite the config parser
Greg Kroah-Hartman [Fri, 14 Jan 2011 01:36:49 +0000 (17:36 -0800)]
rewrite the config parser

Instead of a hand-tuned string compare functions that were needed
for every single config option, use a "real" parser to properly handle
key/value pairs.  This handles quoting of lines and other fun things.

Logic is based on code from udev, written by Kay Sievers, licensed under
the GPLv2+.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agofix compiler warning with bti_output_line
Greg Kroah-Hartman [Fri, 14 Jan 2011 00:22:26 +0000 (16:22 -0800)]
fix compiler warning with bti_output_line

Stupid, forgot to mark it as a void function.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agomove debug to bti.h
Greg Kroah-Hartman [Fri, 14 Jan 2011 00:21:48 +0000 (16:21 -0800)]
move debug to bti.h

This is so that other .c files can call dbg();

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoturn on some better compiler warnings.
Greg Kroah-Hartman [Fri, 14 Jan 2011 00:20:43 +0000 (16:20 -0800)]
turn on some better compiler warnings.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoMerge branch 'master' into gregoa
gregor herrmann [Wed, 12 Jan 2011 23:11:47 +0000 (00:11 +0100)]
Merge branch 'master' into gregoa

8 years agorelease 029
Greg Kroah-Hartman [Wed, 12 Jan 2011 23:04:20 +0000 (15:04 -0800)]
release 029

8 years agomove output logic to one function
Greg Kroah-Hartman [Wed, 12 Jan 2011 22:52:11 +0000 (14:52 -0800)]
move output logic to one function

This is in preparation for colored output.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoadd config.c
Greg Kroah-Hartman [Wed, 12 Jan 2011 22:46:50 +0000 (14:46 -0800)]
add config.c

This splits the config parsing logic out to a single file so we all
don't have to go blind by accidentally looking at the horror that it
imparts on our soul if we notice it.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agocreate bti.h
Greg Kroah-Hartman [Wed, 12 Jan 2011 22:16:46 +0000 (14:16 -0800)]
create bti.h

Moved the main data structure into there, this will let us
(hopefully) start refactoring the code to be a bit more readable
and maintainable over the long-run.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agomove verbose flag into the session structure
Greg Kroah-Hartman [Wed, 12 Jan 2011 22:11:26 +0000 (14:11 -0800)]
move verbose flag into the session structure

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoreformat README to have a bit shorter lines
Greg Kroah-Hartman [Wed, 12 Jan 2011 19:09:20 +0000 (11:09 -0800)]
reformat README to have a bit shorter lines

8 years agoMerge branch 'oauth-readme' of https://github.com/agimenez/bti into agimenez-oauth...
Greg Kroah-Hartman [Wed, 12 Jan 2011 19:06:33 +0000 (11:06 -0800)]
Merge branch 'oauth-readme' of https://github.com/agimenez/bti into agimenez-oauth-readme

* 'oauth-readme' of https://github.com/agimenez/bti:
  Document how to configure OAuth.

8 years agoMerge testing branch into master
Greg Kroah-Hartman [Wed, 12 Jan 2011 19:03:16 +0000 (11:03 -0800)]
Merge testing branch into master

8 years agoMerge https://github.com/leif81/bti into main tree
Greg Kroah-Hartman [Wed, 12 Jan 2011 19:01:39 +0000 (11:01 -0800)]
Merge https://github.com/leif81/bti into main tree

This fixes an issue with twitter queries for non-oauth portions
of the api.

8 years agoupdated man pages generated from the docbook source
Greg Kroah-Hartman [Wed, 12 Jan 2011 19:01:02 +0000 (11:01 -0800)]
updated man pages generated from the docbook source

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoActive --dry-run for OAuth.
gregor herrmann [Sun, 2 Jan 2011 00:31:29 +0000 (01:31 +0100)]
Active --dry-run for OAuth.

Guard the oauth_http_post/_get with an '!session->dry_run'
conditional, and add a dbg() statement before.

http://bugs.debian.org/608608

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoDocument the new --retweet feature in bti.xml and add it to bash completion.
gregor herrmann [Fri, 17 Dec 2010 21:35:13 +0000 (22:35 +0100)]
Document the new --retweet feature in bti.xml and add it to bash completion.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoAdd documentation for new shrink_host feature in bti-shrink-urls.
gregor herrmann [Fri, 17 Dec 2010 21:14:29 +0000 (22:14 +0100)]
Add documentation for new shrink_host feature in bti-shrink-urls.

Document the configuration of bti-shrink-urls in bti-shrink-urls.xml,
bti.xml, and add a commented out example to bti.example.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoDocument how to configure OAuth.
L. Alberto Giménez [Sun, 9 Jan 2011 16:02:04 +0000 (17:02 +0100)]
Document how to configure OAuth.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
8 years agouser and public actions may not require auth
Leif Gruenwoldt [Tue, 4 Jan 2011 02:48:41 +0000 (21:48 -0500)]
user and public actions may not require auth

8 years agoMerge branch 'gregoa' of colleen:bti into gregoa
gregor herrmann [Sun, 2 Jan 2011 15:40:02 +0000 (16:40 +0100)]
Merge branch 'gregoa' of colleen:bti into gregoa

8 years agoActive --dry-run for OAuth.
gregor herrmann [Sun, 2 Jan 2011 00:31:29 +0000 (01:31 +0100)]
Active --dry-run for OAuth.

Guard the oauth_http_post/_get with an '!session->dry_run'
conditional, and add a dbg() statement before.

http://bugs.debian.org/608608

8 years agoMerge branch 'gregoa' of colleen:bti into gregoa
gregor herrmann [Sun, 19 Dec 2010 12:44:56 +0000 (13:44 +0100)]
Merge branch 'gregoa' of colleen:bti into gregoa

8 years agoDocument the new --retweet feature in bti.xml and add it to bash completion.
gregor herrmann [Fri, 17 Dec 2010 21:35:13 +0000 (22:35 +0100)]
Document the new --retweet feature in bti.xml and add it to bash completion.

8 years agoAdd documentation for new shrink_host feature in bti-shrink-urls.
gregor herrmann [Fri, 17 Dec 2010 21:14:29 +0000 (22:14 +0100)]
Add documentation for new shrink_host feature in bti-shrink-urls.

Document the configuration of bti-shrink-urls in bti-shrink-urls.xml,
bti.xml, and add a commented out example to bti.example.

8 years agoMerge branch 'master' into gregoa
gregor herrmann [Fri, 17 Dec 2010 00:56:24 +0000 (01:56 +0100)]
Merge branch 'master' into gregoa

8 years agoSupport proper 'reply_to' and 'retweet'
Dwi Sasongko S [Sat, 13 Nov 2010 03:54:56 +0000 (10:54 +0700)]
Support proper 'reply_to' and 'retweet'

Signed-off-by: Dwi Sasongko S <ruckuus@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8 years agoSupport shrinking with bit.ly and j.mp.
Justin Forest [Sun, 17 Oct 2010 05:02:12 +0000 (09:02 +0400)]
Support shrinking with bit.ly and j.mp.

To use bit.ly or j.mp you need to specify the host name in ~/.bti with
shrink_host, your bit.ly login with shrink_bitly_login and your bit.ly key with
shrink_bitly_key.  You can register at:

  http://bit.ly/a/sign_up

If you already have an account, you can find your API key at:

  http://bit.ly/a/your_api_key

8 years agoFixing Identi.ca's OAuth request_token URI
Amir Mohammad Saied [Sun, 7 Nov 2010 09:46:16 +0000 (13:16 +0330)]
Fixing Identi.ca's OAuth request_token URI

Revision "a" of OAuth 1.0 mandates the presence of "oauth_callback"
parameter.

Usually libraries appends an "oob" (Out of Band) oauth_callback if you
don't provide a valid callback url, and don't specify that you don't
want "OAuth 1.0a".

But apparently our library of choice for OAuth (liboauth) does not do
this, though the code is in library but commented out.

src/oauth.c:675-680 (as in HEAD, and 0.9.0 tarball):

675 #if 0 // oauth_version 1.0 Rev A
676   if (!oauth_param_exists(argv,argc,"oauth_callback")) {
677     snprintf(oarg, 1024, "oauth_callback=oob");
678     oauth_add_param_to_array(argcp, argvp, oarg);
679   }
680 #endif

So for now, we have to add this to our request_token URI.

8 years agoUpdate my copyright date.
Amir Mohammad Saied [Thu, 2 Sep 2010 13:42:07 +0000 (18:12 +0430)]
Update my copyright date.

9 years agoMerge branch 'master' into gregoa
gregor herrmann [Sat, 25 Sep 2010 11:37:00 +0000 (13:37 +0200)]
Merge branch 'master' into gregoa

9 years agorelease 028
Greg Kroah-Hartman [Thu, 2 Sep 2010 01:30:29 +0000 (18:30 -0700)]
release 028

9 years agoReduce the number of calls to fprintf.
Greg Kroah-Hartman [Thu, 2 Sep 2010 01:27:15 +0000 (18:27 -0700)]
Reduce the number of calls to fprintf.

Thanks to Flameeyes for the original patch, just changed it a bit
to work with the latest tree and to handle the version as a string.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoUpdate my copyright date.
Greg Kroah-Hartman [Thu, 2 Sep 2010 01:24:18 +0000 (18:24 -0700)]
Update my copyright date.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agoCollapse more fprintf() calls.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 17:59:24 +0000 (19:59 +0200)]
Collapse more fprintf() calls.

9 years agoSplit --background from --bash, and make the latter imply the former.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 15:07:35 +0000 (17:07 +0200)]
Split --background from --bash, and make the latter imply the former.

This allows to use send-in-background without mangling the message's text.

9 years agoTypo fix.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 17:56:28 +0000 (19:56 +0200)]
Typo fix.

9 years agoUse arrays rather than pointers for static strings.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 14:56:28 +0000 (16:56 +0200)]
Use arrays rather than pointers for static strings.

While this change does not do anything on most common systems, as
executables are not PIC, it is very useful when dealing with Position
Independent Executables (PIE) as used for instance by Gentoo Hardened.

9 years agoRemove autoscan-generated bad tests.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 14:46:03 +0000 (16:46 +0200)]
Remove autoscan-generated bad tests.

9 years agobuild system: use AC_SEARCH_LIBS rather than assuming -ldl is needed.
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 14:44:45 +0000 (16:44 +0200)]
build system: use AC_SEARCH_LIBS rather than assuming -ldl is needed.

On a number of operating systems, such as the *BSD, the dlopen() function
is present in the standard C library, not in a separate libdl library.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agobuild system: use consistently pkg-config to check for dependencies
Diego Elio 'Flameeyes' Pettenò [Fri, 27 Aug 2010 14:41:25 +0000 (16:41 +0200)]
build system: use consistently pkg-config to check for dependencies

Rather than rely on the old m4 macros for libxml2 and libcurl, which were
also misused, always use PKG_CHECK_MODULES (also assuming a new enough
version that calls AC_SUBST by itself), and fix the Makefile.am to use
_CFLAGS properly as well.

Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agolong line cleanups
Greg Kroah-Hartman [Wed, 18 Aug 2010 01:02:03 +0000 (18:02 -0700)]
long line cleanups

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agomore formatting cleanups
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:55:01 +0000 (17:55 -0700)]
more formatting cleanups

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9 years agowhitespace cleanups for bti.c
Greg Kroah-Hartman [Wed, 18 Aug 2010 00:48:30 +0000 (17:48 -0700)]
whitespace cleanups for bti.c

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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