Permalink
Commits on Mar 3, 2012
  1. Parse ERB in config.yml.

    Glenn Gillen authored and gma committed Mar 3, 2012
  2. Dropped NESTA_EDITOR variable.

    gma committed Mar 3, 2012
    It was interferring with the Config class, which determines whether or
    not config settings should be loaded from the environment by looking for
    env vars whose names contain 'NESTA'.
  3. Added ZenTest (for autotest).

    gma committed Mar 3, 2012
  4. FileModel#parse_metadata raises MetadataParseError.

    gma committed Mar 3, 2012
    This is cleaner API, and allows us to drop the FileModel#metadata?
    private method, simplifying the impementation of metadata parsing
    plugins.
Commits on Mar 2, 2012
  1. Parse metadata in a public method.

    gma committed Mar 2, 2012
    This'll allow us to override the metadata parser in a plugin.
    Hello Yaml...
    
    /cc @pengwynn
Commits on Feb 29, 2012
  1. Allow Nesta to be mounted on a path.

    ms authored and gma committed Feb 29, 2012
    Removed Nesta's url_for and base_url helpers. These would have been
    deprecated rather than removed, but they need to be removed entirely in
    order to successfully mix Nesta's helpers into a Rails view (required by
    the forthcoming nesta-rails gem).
    
    Closes #93. Closes #94.
    
    commit 63d50c5777beb041474a1d99d66f88adf26bb6d0
    Author: Graham Ashton <graham@effectif.com>
    Date:   Wed Feb 29 14:29:29 2012 +0000
    
        Fixed broken tests.
    
        Rack's url() method includes the hostname in any links that it
        generates. The (now removed) url_for method in Nesta's own helpers
        didn't include the scheme and hostname, and the tests were therefore
        matching on pages' paths, rather than full URLs.
    
    commit adf9284
    Author: Max Sadrieh <max.sadrieh@gmail.com>
    Date:   Tue Feb 21 10:58:26 2012 -0500
    
        Wrap arguments of the url method in parentheses to avoid ambiguity.
    
    commit 5b9b5e0
    Author: Max Sadrieh <max.sadrieh@gmail.com>
    Date:   Tue Feb 21 10:50:43 2012 -0500
    
        Removed the now unused url_for and base_url helper methods.
    
    commit e8e7b1b
    Author: Max Sadrieh <max.sadrieh@gmail.com>
    Date:   Mon Feb 20 17:16:08 2012 -0500
    
        Added support for hosting a nesta app in a subpath (instead of the root)
    
        Fixes gma/nesta#93
  2. Delete semi-colon.

    gma committed Feb 29, 2012
  3. Merge pull request #99 from MicahChalmer/body_markup_method

    gma committed Feb 29, 2012
    Factor out body_markup as its own method in Page.
Commits on Feb 28, 2012
Commits on Feb 26, 2012
  1. Removed attempt to configure Travis.

    gma committed Feb 26, 2012
    Rather than try and get Travis to setup the environment, kick it into
    touch by just skipping the test that it can't run.
Commits on Feb 25, 2012
  1. Added Travis config file.

    gma committed Feb 25, 2012
  2. Added the 'nesta edit <file>' command.

    gma committed Feb 25, 2012
    Allows you to launch the command in $NESTA_EDITOR or $EDITOR to edit a
    page. Specify <file> relative to the content/pages directory.
  3. Merge pull request #98 from chadoh/current_item_helper

    gma committed Feb 25, 2012
    Calculating if the menu item is current in a helper.
    
    Allows users to override the logic for determining whether a menu item
    should be highlighted as "current".
Commits on Feb 23, 2012
  1. Updated dependencies.

    gma committed Feb 23, 2012
    Also bumped Sinatra to 1.3.x, relaxing the dependency slightly so we can
    be installed with any version in the 1.3 series.
  2. Removed commented require.

    gma committed Feb 23, 2012
  3. Stubbed out enable command.

    gma committed Feb 23, 2012
    When testing the install command there's no need to make sure that the
    enable command also works (or to setup the prerequisites for it).
  4. Enable freshly installed themes.

    gma committed Feb 23, 2012
    The previously called enable method was actually a method on Sinatra
    that had magically wormed its way in to our object and had no side
    effects (so the test didn't fail).
  5. Don't require 'sinatra'.

    gma committed Feb 23, 2012
    If you require 'sinatra' rather than 'sinatra/base' all sorts of crap
    gets set loose on your global namespace. Bad, especially when Sinatra's
    get method starts getting called from a Rails app's controller tests!
Commits on Feb 20, 2012
  1. Regenerated Gemfile.lock.

    gma committed Feb 20, 2012
  2. Merge pull request #91 from iKs279/caching

    gma committed Feb 20, 2012
    Add ETags to text pages to save the visitor bandwidth
  3. Removed duplicate @heading = @title in app.rb

    ms authored and gma committed Feb 17, 2012