Permalink
Commits on Dec 11, 2009
  1. Revert "remove unneccessary Renderable role now"

    doy committed Dec 11, 2009
    This reverts commit 26180ad.
    
    preparing to merge in other branch
  2. add plaintext entry class

    doy committed Dec 11, 2009
  3. add an html entry class

    doy committed Dec 11, 2009
  4. allow pluggable entry classes

    doy committed Dec 11, 2009
  5. just pass everything through

    doy committed Dec 11, 2009
  6. explicit return

    doy committed Dec 11, 2009
Commits on Dec 10, 2009
Commits on Dec 9, 2009
  1. move Blawd::Entry->new_entry out of Storage

    perigrin committed Dec 9, 2009
    Storage shouldn't know or care what happens after it's found the data we need to create entires. This commit moves that logic out into the Container.
  2. The (first) big rendering refactor

    perigrin committed Dec 9, 2009
    The entries and indexes shouldn't be aware of how to render themselves. This is 90% of a re-factoring to make that true. Indexes still know how to render their entries, but I think that can be easily wiped out by making an index-specific renderer.
    
    The rough gist of how we go about this is, we now have a Renderer factory that will pick the best choice of renderer class for a given `$entry`. The renderer is insansiated with global defaults that were set when the factory was created.
  3. Blawd::OO gives us this

    doy committed Dec 9, 2009
  4. add support for footers in addition to headers

    perigrin committed Dec 9, 2009
    Footers would be things like Google Tracking codes (which The Room uses), or other stuff that should be automatically appended to the end of a page of content. These are sort of the inverse of Headers.
  5. move Renderable into Page

    perigrin committed Dec 9, 2009
    Entries and Indexes do Page, Page does Renderable. At least this seems more correct to me.
  6. move index size out into the Container

    perigrin committed Dec 9, 2009
    Indexes really could be of any size. Moved the creation of an index out into the instantiation code.
Commits on Dec 8, 2009
  1. "fix" tests

    perigrin committed Dec 8, 2009
    The tests used to depend on being me (Chris Prather) and my timezone. This "fixes" it so that they guess the author via git-config and disables the mtime tests since they don't really affect Blawd anyway.
  2. Add atom, simplify renderable,

    perigrin committed Dec 8, 2009
    Add an Atom Renderer. One of the things The Room lost in the transition was an Atom Feed. This adds XML::Atom as a renderer for Blawd.
    
    Simplify Renderer to always be an instance, but create a coercion to keep backcompat for a class name being passed in.
    
    Move base_uri into the Renderer, and set it up so that we pass in an instance of the Renderer to the Atom and RSS indexes via Bread::Board.
  3. split entry creation out into Blawd::Entry

    perigrin committed Dec 8, 2009
    We really need a factory for generating Entries and that factory shouldn't be tightly bound to Storage. This separates that out for the future.
Commits on Dec 7, 2009
  1. add help text for blawd commands

    doy committed Dec 7, 2009
  2. clean up some getopt stuff

    doy committed Dec 7, 2009
  3. remove some useless imports

    doy committed Dec 7, 2009
Commits on Dec 6, 2009
  1. fix a few minor bugs

    doy committed Dec 6, 2009
  2. oops, the api role needs this

    doy committed Dec 6, 2009