Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Aug 20, 2012
  1. Use "format=json" for JSON

    authored
    "json=true" was fairly dumb and nonstandard.
  2. submission_confirmation: return item with json

    authored
    If JSON is requested when submitting an item, the JSON representation
    of the requested item will be returned upon successful submission.
Commits on Aug 19, 2012
  1. Move newspost formatting to a helper

    authored
    * Moved newspost formatting to a helper
    * Added a new helper which handles displaying all newsposts,
      separating that logic out from the view itself
Commits on Aug 14, 2012
  1. Enforce foreign key in Posts

    authored
    This uses the Foreigner gem; Activerecord doesn't seem to have native
    support for foreign keys in migrations yet.
Commits on Aug 12, 2012
  1. Add basic README, license

    authored
  2. Improve configuration

    authored
    Sets the Activerecord configuration based on RACK_ENV, with
    "development" as the default.
  3. app: Fix up include paths

    authored
  4. Populate newsposts in a migration

    authored
    Instead of using a script, it's much cleaner to handle this as a
    migration.
  5. Add newsposts

    authored
    Newsposts are tracked in the database (not that there's a real CMS…),
    in the Post and Poster classes. (Not that there's more than one poster
    either…)
    
    This finishes up the "lost" page.
Commits on Aug 11, 2012
  1. Create LostItem and FoundItem classes

    authored
    LostItem and FoundItem subclass Items to provide simple classes which
    only deal with lost and found items, respectively. This moves some
    logic out of the main app methods.
  2. Store and return a public ID number for each item

    authored
    Each item should have its own unique item number. Rather than use the
    database ID, hit up Brooklyn Integers for a hand-crafted, guaranteed
    artisinal int to use. This is only returned with JSON output.
    
    A class for Mission Integers is also included, but I didn't use
    it because the response times were insanely slow. Oh well!
  3. Initial commit

    authored
Something went wrong with that request. Please try again.