Permalink
Switch branches/tags
Nothing to show
Commits on Apr 3, 2015
  1. Updated README

    gholt committed Apr 3, 2015
Commits on Jun 5, 2014
  1. Update README

    gholt committed Jun 5, 2014
Commits on Feb 15, 2014
  1. Doc updates and a small bugfix.

    gholt committed Feb 15, 2014
Commits on Feb 14, 2014
Commits on Feb 9, 2014
  1. Updated WSGIFS listing a bit.

    gholt committed Feb 9, 2014
  2. Added listing support to WSGIFS.

    gholt committed Feb 9, 2014
    Of course, it still needs conf options and the like.
Commits on Jan 25, 2014
  1. Doc updates

    gholt committed Jan 25, 2014
  2. Doc styling updates

    gholt committed Jan 25, 2014
  3. Slightly wider document

    gholt committed Jan 25, 2014
Commits on Jan 24, 2014
  1. Resurrection 0.05

    gholt committed Jan 18, 2014
    I've kind of ignored this project for quite a while; but I'm
    resurrecting it once again. Brought all the code up to date and
    hopefully the docs too. The tests are missing on a few pieces but it's
    mostly there.
    
    Main additions are:
    
    wsgi_basic_auth     A WSGI application that offers Basic Auth
                        capabilities. Not that this is HTTP Basic Auth, so
                        the password will be transmitted in the clear. You
                        definitely should be using SSL when using Basic
                        Auth.
    wsgi_fs             A WSGI application that simply serves up files from
                        the file system.
    
    Main changes are:
    
    Better support for running as normal user instead of root. Things like
    defaulting to ~/.brimd.pid when /var/run/brimd.pid can't be used and
    expanding ~/ and ~user/ paths in more places.
    
    The stats app changed to wsgi_stats. The old app had some problems where
    items within the JSON could end up at different levels depending on the
    configuration; it was confusing.
    
    UDP subservers support workers now; it was confusing to have it be
    different. They also support full stats with types because of this.
    
    Daemons also now support full stats with types, making all the
    stats_conf calls have the same return types; it was confusing before.
    
    Probably plenty of other subtle changes I apologize for; let me know if
    I really broke something -- it is prerelease you know. ;)
Commits on Feb 11, 2013
  1. Merge pull request #8 from ahale/master

    gholt committed Feb 11, 2013
    Add support for defining chunked transfer minimum chunk size
Commits on Dec 22, 2012
Commits on Aug 31, 2012
  1. Workaround for Eventlet bug

    gholt committed Aug 31, 2012
    There's a bug read(size)ing from wsgi.input when there is no content
    and content-length was not set.
Commits on Aug 30, 2012
  1. Small refactor and new WSGI features.

    gholt committed Aug 30, 2012
    Logged requests have three additional fields:
        Client Disconnect ("disconnect" or "-")
        Authenticated User (string or "-")
        WSGI Source (string or "-")
    
    The client disconnect requests that used to give a status code of 499
    will now give the real status code and set the new Client Disconnect
    field to "disconnect".
    
    The env['brim.txn'] is now set to the value of the X-Txn header if it
    exists.
    
    clone_env does a better job (missed some keys before).
    
    get_response now allows setting the next_app to override using the
    full WSGI pipeline.
    
    _wsgi_entry now supports not passing the start_response (for
    supressing subrequests) and a new optional next_app to override using
    the full pipeline.
  2. Revert "Small refactor and new WSGI features."

    gholt committed Aug 30, 2012
    This reverts commit 905af68.
    
    I messed up the commit message.
  3. Small refactor and new WSGI features.

    gholt committed Aug 30, 2012
    Logged requests have three additional fields:
        Client Disconnect ("disconnect" or "-")
        Authenticated User (string or "-")
        WSGI Source (string or "-")
    
    The client disconnect requests that used to give a status code of 499
    will now give the real status code and set the new Client Disconnect
    field to "disconnect".
    
    The env['brim.txn'] is now set to the value of the X-Txn header if it
    exists.
    
    clone_env does a better job (missed some keys before).
    
    get_response now allows setting the next_app to override using the
    full WSGI pipeline. It also returns just the content_iter and the
    (status_line, headers_iteritems, excinfo) is now saved into
    env['brim.start_response']. Finally, it allows overriding the
    start_response callable if desired.
    
    _wsgi_entry now supports not passing the start_response (for
    supressing subrequests) and a new optional next_app to override using
    the full pipeline.
Commits on Aug 23, 2012
Commits on Aug 17, 2012
  1. Merge pull request #7 from pandemicsyn/master

    gholt committed Aug 17, 2012
    stats jsonp support
Commits on Aug 12, 2012
  1. Merge pull request #1 from gholt/pandemicsyn-master

    pandemicsyn committed Aug 12, 2012
    Add jsonp as well as callback for jsonp query
Commits on Aug 11, 2012
  1. pep8

    pandemicsyn committed Aug 11, 2012
  2. Add jsonp callback to stats

    pandemicsyn committed Aug 11, 2012
Commits on Jun 27, 2012
  1. Added swp files to gitignore

    gholt committed Jun 27, 2012
Commits on Jun 23, 2012
  1. Made compliant with PEP8 1.3.1

    gholt committed Jun 23, 2012
Commits on Apr 25, 2012
  1. Quick doc sort order change

    gholt committed Apr 25, 2012
Commits on Apr 17, 2012
  1. Several changes in this commit, see below:

    gholt committed Apr 17, 2012
    brim.conf:
        * read_conf now takes a list of conf_files, like before, or a
          single file name as a basestring.
        * Conf methods now take section as either a base string of a
          single section name, like before, or an iterable of section
          names which are tried in order.
        * Changed Conf.get_boolean to get_bool since bool is the name of
          the built-in and to make it like get_int.
    
    brim.http:
        * QueryParser now acts more like the get_header functions in that
          it assumes a required parameter if no default is given and
          raises an HTTPBadRequest if a required parameter does not
          exist.
        * QueryParser's get_boolean was renamed to get_bool much like in
          brim.conf.Conf above.
    
    brim.server:
        * When brimd exits with an error, the full stack trace of the
          error is now output if the -x option is given.
        * Added WSGIServer.clone_env and get_response for WSGI apps that
          wish to perform additional requests that go through the entire
          WSGI pipeline.
        * Made WSGIServer._wsgi_entry handle receiving WSGI environments
          the WSGISubserver did not create better.
    
    docs:
        * Made them Sphinx 0.6.4 compatible since that's what comes with
          the tested environment, Ubuntu Lucid Lynx 10.04.
    
    tests:
        * Just updated the existing ones for now; new tests for the new
          stuff forthcoming.
Commits on Apr 8, 2012
  1. Added brim.http.get_header

    gholt committed Apr 8, 2012
Commits on Mar 31, 2012
Commits on Mar 10, 2012
  1. Initial Prototype of brim.httpform

    gholt committed Mar 10, 2012
  2. Updated to no longer required Eventlet posthooks.

    gholt committed with gholt Mar 10, 2012
    Thanks to Michael Barton for the idea; I should've thought of this
    ages ago!