bostonrb/bostonrb — pull request #132 by phsr (2011-11-01 14:48:32+00:00)
Title: Starts presentations admin

Rebased previous pull-request, solves issue #88

Removes thin from gemfile

Moves presentation admin interface tests to its own spec file

Implements Admin::PresentationController#new

Creates the form partial for admin/presentations
Add DatePicker from jquery-ui with blitzer theme (red, ruby feel)
Uses the Submit Proposal styles for the presentation form
Adds Presentation#presenter_names for Presenter Names field on form
Adds Presentation.video_providers to expose known providers for forms
Changes logic in Presentation#video_url to use .blank? instead of nil
test

Sets contants BostonRuby::ADMIN_NAME and BostonRuby::ADMIN_PASSWORD
* Development and Production pull from enviroment variables
* BOSTONRB_ADMIN_NAME BOSTONRB_ADMIN_PASSWORD
* Test uses predetermined strings so that tests pass

Adds Presentation#all_or_by_month; Updates .presenter_name=

Presentation
* Adds #all_or_by_month for the admin inteface
* Updates presenter_names= to remove old presenters when updating

Finishes admin interface views

Uses presentation views as basis as Admin::Presentation views
Updates routes with monthly list for admin interface

Finishes admin_presentations_spec

Creates have_basic_presentation_content, which excludes "Slides" content
check from have_presentation_content.
Uses have_basic_presentation_content in the admin interface, as the
slides link is excluded.
Implements edit and delete tests for admin_presentations_spec