Permalink
Commits on Feb 19, 2010
Commits on Oct 29, 2009
  1. Fixed the migration that was losing existing dates

    Tested and got the extension working with 0.8.1
    committed Oct 29, 2009
Commits on Jun 8, 2009
Commits on Jun 7, 2009
  1. Got the specs to pass.

    Changed before(:each) to before(:all), and removed the nesting of
    describe blocks.
    nelstrom committed Jun 7, 2009
Commits on Jun 5, 2009
  1. Urls with invalid or incomplete dates now redirect

    Previously, /admin/page_events/:year/:month route required year and
    month to be present and within a suitable range for Time.local. The
    following urls should now redirect to /admin/page_events (i.e. index):
    
    * /admin/page_events/203/13
    * /admin/page_events/1234567
    
    Also, if month is not provided (e.g. /admin/page_events/2009), then the
    calendar shows january for that year.
    nelstrom committed Jun 5, 2009
Commits on Jun 4, 2009
  1. Event start/end date fields only show for events.

    Added a page.is_event? method, which returns true if the following
    conditions are met:
    
    * Parent page is of type EventArchivePage
    * Current page is not a day/month/year/season index page
    
    The page edit form appears correctly even if you are creating a new
    page. If the new page is a child of an EventArchivePage, the date fields
    show; otherwise, they don't show.
    nelstrom committed Jun 4, 2009
  2. Styled prev/next month links.

    Refactored the links into a helper.
    nelstrom committed Jun 4, 2009
  3. Start/Finish times each have a table column.

    Finish time has a smart helper, so that it only outputs time, if the
    date is the same as the start time. But if it finishes on a different
    day from its start date, the date is also included.
    nelstrom committed Jun 4, 2009
  4. Events index now has /year/month style routes.

    * Updated the previous/next month links to use new URL format.
    * Added tr.node.level-2 td.page span.title classes, which hook into
    * existing styles.
    nelstrom committed Jun 4, 2009
  5. Events index title includes year, if not current.

    So looking at events from August *last year*, the title will be "August,
    2008".
    nelstrom committed Jun 4, 2009
Commits on Jun 3, 2009
  1. Fixed the EventArchivePage#find_by_url method.

    The case statement was returning EventArchiveYearIndexPage, but the
    class name is EventYearIndexPage, so I changed it.
    
    Also, the case statement had a day clause, returning
    EventArchiveDayIndexPage, but there was no such class, so I created one.
    
    Finally, changed 'event_datetime' to 'event_datetime_start' in
    event_year_index_page.
    nelstrom committed Jun 3, 2009
Commits on Mar 14, 2009
Commits on Feb 25, 2009
  1. Merge branch 'master' of git://github.com/nuex/radiant-page-event int…

    …o nuex/master
    
    Removed conflicting files and converting fork to the start and end time branch.
    committed Feb 25, 2009
Commits on Feb 22, 2009
  1. added event archive year index

    nuex committed Feb 22, 2009
  2. added if_previous and if_upcoming tags to expand if the event has hap…

    …pened or will happen
    nuex committed Feb 22, 2009
  3. Merge branch 'master' of git://github.com/santry/radiant-page-event i…

    …nto santry/master
    nuex committed Feb 22, 2009