Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 030
Commits on Mar 17, 2011
  1. release 030

    authored
Commits on Feb 18, 2011
  1. send_request needs to return a negative error value.

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  2. Merge branch 'fix-segfault-invalid-host' of https://github.com/agimen…

    authored
    …ez/bti into agimenez-fix-segfault-invalid-host
  3. Merge branch 'trivial-fixes' of https://github.com/agimenez/bti into …

    authored
    …agimenez-trivial-fixes
    
    Conflicts:
    	bti.c
  4. bti.c: fix another compiler warning about global functions.

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  5. config.c: remove config debug lines.

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  6. config.c: fix up some compiler warnings

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Commits on Feb 3, 2011
  1. @agimenez

    Fix a segfault when specifying an invalid host.

    agimenez authored
    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.
Commits on Jan 17, 2011
  1. @agimenez

    Fix retweet batch operation

    agimenez authored
    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>
  2. @agimenez

    Added tags files to .gitignore

    agimenez authored
    Ignore TAGS and tags files.
    
    Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
  3. @agimenez

    Fix trivial compiler warnings

    agimenez authored
    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>
Commits on Jan 14, 2011
  1. Revert "turn on some better compiler warnings."

    authored
    This reverts commit 7818831.
    
    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>
  2. rewrite the config parser

    authored
    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>
  3. fix compiler warning with bti_output_line

    authored
    Stupid, forgot to mark it as a void function.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  4. move debug to bti.h

    authored
    This is so that other .c files can call dbg();
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  5. turn on some better compiler warnings.

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Commits on Jan 12, 2011
  1. release 029

    authored
  2. move output logic to one function

    authored
    This is in preparation for colored output.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  3. add config.c

    authored
    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>
  4. create bti.h

    authored
    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>
  5. move verbose flag into the session structure

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  6. Merge branch 'oauth-readme' of https://github.com/agimenez/bti into a…

    authored
    …gimenez-oauth-readme
    
    * 'oauth-readme' of https://github.com/agimenez/bti:
      Document how to configure OAuth.
  7. Merge https://github.com/leif81/bti into main tree

    authored
    This fixes an issue with twitter queries for non-oauth portions
    of the api.
  8. updated man pages generated from the docbook source

    authored
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  9. @gregoa

    Active --dry-run for OAuth.

    gregoa authored committed
    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>
  10. @gregoa

    Document the new --retweet feature in bti.xml and add it to bash comp…

    gregoa authored committed
    …letion.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  11. @gregoa

    Add documentation for new shrink_host feature in bti-shrink-urls.

    gregoa authored committed
    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>
Commits on Jan 9, 2011
  1. @agimenez

    Document how to configure OAuth.

    agimenez authored
    Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
Commits on Jan 4, 2011
  1. @leif81
Commits on Dec 17, 2010
  1. @ruckuus

    Support proper 'reply_to' and 'retweet'

    ruckuus authored committed
    Signed-off-by: Dwi Sasongko S <ruckuus@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  2. @umonkey

    Support shrinking with bit.ly and j.mp.

    umonkey authored committed
    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
  3. @amir

    Fixing Identi.ca's OAuth request_token URI

    amir authored committed
    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.
Something went wrong with that request. Please try again.