Permalink
Switch branches/tags
Nothing to show
Commits on Oct 22, 2013
  1. PEP8 fixes

    akheron committed Oct 22, 2013
Commits on Apr 19, 2011
  1. Create the jinja2 envionment already in Context's __init__

    akheron committed Apr 19, 2011
    This makes it available earlier.
Commits on Jan 3, 2011
Commits on Oct 21, 2010
  1. Rename Manager to Stango

    akheron committed Oct 21, 2010
Commits on Sep 17, 2010
  1. Rename a test case

    akheron committed Sep 17, 2010
  2. Return a correct Content-Type from HTTP server

    akheron committed Sep 17, 2010
    Use mimetypes.guess_type() to obtain values for the Content-Type and
    Content-Encoding HTTP headers.
  3. Clean up generating/serving mess

    akheron committed Sep 17, 2010
    Use a string value, either "generate" or "serve", that indicates
    whether we are currently generating the site or serving it through
    HTTP.
Commits on Sep 6, 2010
  1. Add method add_prefix() to Files

    akheron committed Aug 31, 2010
    This function returns a copy of Files with the given prefix prepended
    to each path.
Commits on Aug 22, 2010
  1. When serving, create the HTTP server "inside" autoreloader

    akheron committed Aug 22, 2010
    Otherwise, two server are created and the second one reports that the
    port is already in use.
Commits on Aug 21, 2010
  1. In generate, Rrmove outdir contents rather than outdir itself

    akheron committed Aug 21, 2010
    This is useful if the user doesn't have the permissions to remove or
    create the directory, but has the permissions to create files inside
    it.
  2. Replace Manager's serve() with make_server()

    akheron committed Aug 21, 2010
    make_server() returns an HTTPServer instance. This makes testing
    easier and the manager API cleaner.
Commits on Aug 20, 2010
  1. Update setup.py

    akheron committed Aug 20, 2010
  2. Add tests, fix bugs

    akheron committed Aug 19, 2010
Commits on Aug 17, 2010
Commits on Aug 7, 2010
  1. Rename 'post_view_hook' to 'post_render_hook'

    akheron committed Aug 7, 2010
    While at it, clarify the hooks code a bit.
  2. Rename 'render' to 'generate'

    akheron committed Aug 7, 2010
Commits on Aug 5, 2010
  1. Tweak Files API

    akheron committed Jul 29, 2010
    Rename File to Filespec, and make it a namedtuple with correctness
    checks and a few helper functions added. Filespec objects are
    immutable, and realpath completion creates a new filespec object.
    
    Files is now a true mutable sequence that stores Filespec objects.
    Tuples can also be inserted, and Files converts them Filespec objects
    automagically.
Commits on Jul 27, 2010
  1. Move code specific to filespecs to its own module

    akheron committed Jul 27, 2010
    Rename functions and classes and move functions around:
    
    * class files -> class Files
    
    * move from_*() out of class Files and rename to files_from_*()
Commits on Jul 25, 2010
  1. APIfy

    akheron committed Jul 22, 2010
Commits on Jul 21, 2010
  1. Convert to py3k

    akheron committed Jul 21, 2010
    2to3 did most of the work. Some encoding issues were fixed by hand
    (e.g. opening files in binary mode, converting strings to bytes).
Commits on Jul 18, 2010
  1. Move lib/stango/ to stango/

    akheron committed Jul 18, 2010
Commits on Oct 22, 2009
  1. Don't treat static/ specially

    akheron committed Oct 22, 2009
    The function files.from_dir() can be used to generate a files list
    from the contents of a directory.
  2. Make stango.files a class

    akheron committed Oct 22, 2009
Commits on Oct 21, 2009
  1. Add MANIFEST.in

    akheron committed Oct 21, 2009
Commits on Sep 20, 2009
Commits on Sep 13, 2009
  1. Add post_render_hook

    akheron committed Sep 13, 2009