You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by fa...@apache.org on 2009/03/27 11:33:07 UTC
svn commit: r759091 [1/8] - in /labs/consite: ./ trunk/ trunk/conferences/
trunk/conferences/app/ trunk/conferences/app/controllers/
trunk/conferences/app/controllers/admin/
trunk/conferences/app/controllers/admin/con/ trunk/conferences/app/helpers/
tr...
Author: farra
Date: Fri Mar 27 10:32:54 2009
New Revision: 759091
URL: http://svn.apache.org/viewvc?rev=759091&view=rev
Log:
initial import of consite radiant plugins. includes a few MIT licensed plugins. still need to put together README and INSTALL
Added:
labs/consite/doap.rdf (with props)
labs/consite/trunk/
labs/consite/trunk/conferences/
labs/consite/trunk/conferences/README (with props)
labs/consite/trunk/conferences/Rakefile
labs/consite/trunk/conferences/app/
labs/consite/trunk/conferences/app/controllers/
labs/consite/trunk/conferences/app/controllers/admin/
labs/consite/trunk/conferences/app/controllers/admin/con/
labs/consite/trunk/conferences/app/controllers/admin/con/.scheduled_sessions_controller.rb.swp (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb (with props)
labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb (with props)
labs/consite/trunk/conferences/app/helpers/
labs/consite/trunk/conferences/app/helpers/admin/
labs/consite/trunk/conferences/app/helpers/admin/con/
labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_types_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/sponsors_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/submissions_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/time_column_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/tracks_helper.rb (with props)
labs/consite/trunk/conferences/app/helpers/admin/con/venues_helper.rb (with props)
labs/consite/trunk/conferences/app/models/
labs/consite/trunk/conferences/app/models/activity.rb (with props)
labs/consite/trunk/conferences/app/models/conference.rb (with props)
labs/consite/trunk/conferences/app/models/conference_role.rb (with props)
labs/consite/trunk/conferences/app/models/email.rb (with props)
labs/consite/trunk/conferences/app/models/location.rb (with props)
labs/consite/trunk/conferences/app/models/organization.rb (with props)
labs/consite/trunk/conferences/app/models/panel_member.rb (with props)
labs/consite/trunk/conferences/app/models/person.rb (with props)
labs/consite/trunk/conferences/app/models/presentation.rb (with props)
labs/consite/trunk/conferences/app/models/presentation_type.rb (with props)
labs/consite/trunk/conferences/app/models/presenter_mailer.rb (with props)
labs/consite/trunk/conferences/app/models/schedule_day_page.rb (with props)
labs/consite/trunk/conferences/app/models/schedule_page.rb (with props)
labs/consite/trunk/conferences/app/models/scheduled_session.rb (with props)
labs/consite/trunk/conferences/app/models/session_page.rb (with props)
labs/consite/trunk/conferences/app/models/sessions_page.rb (with props)
labs/consite/trunk/conferences/app/models/speaker_page.rb (with props)
labs/consite/trunk/conferences/app/models/speakers_page.rb (with props)
labs/consite/trunk/conferences/app/models/sponsor.rb (with props)
labs/consite/trunk/conferences/app/models/sponsor_level.rb (with props)
labs/consite/trunk/conferences/app/models/sponsor_type.rb (with props)
labs/consite/trunk/conferences/app/models/sponsor_type_page.rb (with props)
labs/consite/trunk/conferences/app/models/sponsors_page.rb (with props)
labs/consite/trunk/conferences/app/models/submission.rb (with props)
labs/consite/trunk/conferences/app/models/submission_notifier.rb (with props)
labs/consite/trunk/conferences/app/models/track.rb (with props)
labs/consite/trunk/conferences/app/models/venue.rb (with props)
labs/consite/trunk/conferences/app/views/
labs/consite/trunk/conferences/app/views/admin/
labs/consite/trunk/conferences/app/views/admin/con/
labs/consite/trunk/conferences/app/views/admin/con/cfp/
labs/consite/trunk/conferences/app/views/admin/con/cfp/_presentation.html.erb
labs/consite/trunk/conferences/app/views/admin/con/cfp/_submission.html.erb
labs/consite/trunk/conferences/app/views/admin/con/cfp/edit.html.erb
labs/consite/trunk/conferences/app/views/admin/con/cfp/index.html.erb
labs/consite/trunk/conferences/app/views/admin/con/cfp/new.html.erb
labs/consite/trunk/conferences/app/views/admin/con/conference_roles/
labs/consite/trunk/conferences/app/views/admin/con/conference_roles/compose.html.haml
labs/consite/trunk/conferences/app/views/admin/con/conference_roles/report.html.haml
labs/consite/trunk/conferences/app/views/admin/con/dashboard/
labs/consite/trunk/conferences/app/views/admin/con/dashboard/help.html.erb
labs/consite/trunk/conferences/app/views/admin/con/dashboard/index.html.erb
labs/consite/trunk/conferences/app/views/admin/con/schedule/
labs/consite/trunk/conferences/app/views/admin/con/schedule/index.html.erb
labs/consite/trunk/conferences/app/views/admin/con/submissions/
labs/consite/trunk/conferences/app/views/admin/con/submissions/report.html.haml
labs/consite/trunk/conferences/app/views/layouts/
labs/consite/trunk/conferences/app/views/layouts/cfp.html.haml
labs/consite/trunk/conferences/app/views/layouts/conferences.html.haml
labs/consite/trunk/conferences/app/views/layouts/configuration.html.haml
labs/consite/trunk/conferences/app/views/layouts/report.html.haml
labs/consite/trunk/conferences/app/views/submission_notifier/
labs/consite/trunk/conferences/app/views/submission_notifier/notification.erb
labs/consite/trunk/conferences/conferences_extension.rb (with props)
labs/consite/trunk/conferences/db/
labs/consite/trunk/conferences/db/acus2008.yaml
labs/consite/trunk/conferences/db/migrate/
labs/consite/trunk/conferences/db/migrate/001_create_conferences.rb (with props)
labs/consite/trunk/conferences/db/migrate/002_create_locations.rb (with props)
labs/consite/trunk/conferences/db/migrate/003_create_venues.rb (with props)
labs/consite/trunk/conferences/db/migrate/004_create_people.rb (with props)
labs/consite/trunk/conferences/db/migrate/005_update_people.rb (with props)
labs/consite/trunk/conferences/db/migrate/006_create_capacities.rb (with props)
labs/consite/trunk/conferences/db/migrate/007_create_roles.rb (with props)
labs/consite/trunk/conferences/db/migrate/008_update_conferences.rb (with props)
labs/consite/trunk/conferences/db/migrate/009_create_sponsor_classes.rb (with props)
labs/consite/trunk/conferences/db/migrate/010_create_sponsor_types.rb (with props)
labs/consite/trunk/conferences/db/migrate/011_create_sponsors.rb (with props)
labs/consite/trunk/conferences/db/migrate/012_create_organizations.rb (with props)
labs/consite/trunk/conferences/db/migrate/013_create_presentation_types.rb (with props)
labs/consite/trunk/conferences/db/migrate/014_create_presentations.rb (with props)
labs/consite/trunk/conferences/db/migrate/015_create_presenters.rb (with props)
labs/consite/trunk/conferences/db/migrate/016_create_scheduled_sessions.rb (with props)
labs/consite/trunk/conferences/db/migrate/017_create_tags_presentations.rb (with props)
labs/consite/trunk/conferences/db/migrate/018_create_tags.rb (with props)
labs/consite/trunk/conferences/db/migrate/019_create_tracks.rb (with props)
labs/consite/trunk/conferences/db/migrate/020_create_presentation_capacities.rb (with props)
labs/consite/trunk/conferences/db/migrate/021_create_submissions.rb (with props)
labs/consite/trunk/conferences/db/migrate/022_create_presentations_tags.rb (with props)
labs/consite/trunk/conferences/db/migrate/023_refactor_tables.rb (with props)
labs/consite/trunk/conferences/db/migrate/024_initialize_global_configuration.rb (with props)
labs/consite/trunk/conferences/db/migrate/025_acts_as_taggable_migration.rb (with props)
labs/consite/trunk/conferences/db/migrate/026_refactor_conferences.rb (with props)
labs/consite/trunk/conferences/db/migrate/027_create_panel_members.rb (with props)
labs/consite/trunk/conferences/db/migrate/028_refactor_schedule.rb (with props)
labs/consite/trunk/conferences/db/migrate/029_create_activities.rb (with props)
labs/consite/trunk/conferences/db/migrate/030_refactor_panel.rb (with props)
labs/consite/trunk/conferences/db/migrate/031_refactor_roles.rb (with props)
labs/consite/trunk/conferences/db/migrate/032_refactor_times.rb (with props)
labs/consite/trunk/conferences/db/migrate/033_migrate_people.rb (with props)
labs/consite/trunk/conferences/db/migrate/034_remove_people.rb (with props)
labs/consite/trunk/conferences/db/migrate/035_add_submission_notification_to_conference.rb (with props)
labs/consite/trunk/conferences/db/migrate/036_add_agreement_form_received_to_submissions.rb (with props)
labs/consite/trunk/conferences/db/migrate/037_create_emails.rb (with props)
labs/consite/trunk/conferences/lib/
labs/consite/trunk/conferences/lib/acts_as_cache_clearing.rb (with props)
labs/consite/trunk/conferences/lib/conference_generator.rb (with props)
labs/consite/trunk/conferences/lib/conference_tags.rb (with props)
labs/consite/trunk/conferences/lib/patches/
labs/consite/trunk/conferences/lib/patches/active_scaffold.patch (with props)
labs/consite/trunk/conferences/lib/schedule_tags.rb (with props)
labs/consite/trunk/conferences/lib/session_tags.rb (with props)
labs/consite/trunk/conferences/lib/speaker_tags.rb (with props)
labs/consite/trunk/conferences/lib/tasks/
labs/consite/trunk/conferences/lib/tasks/conferences_extension_tasks.rake
labs/consite/trunk/conferences/public/
labs/consite/trunk/conferences/public/images/
labs/consite/trunk/conferences/public/images/icons/
labs/consite/trunk/conferences/public/images/icons/tick.png (with props)
labs/consite/trunk/conferences/public/javascripts/
labs/consite/trunk/conferences/public/javascripts/extensions/
labs/consite/trunk/conferences/public/javascripts/extensions/conferences/
labs/consite/trunk/conferences/public/javascripts/extensions/conferences/tiny_mce_for_active_scaffold.js (with props)
labs/consite/trunk/conferences/public/stylesheets/
labs/consite/trunk/conferences/public/stylesheets/conferences.css (with props)
labs/consite/trunk/conferences/public/stylesheets/report-print.css (with props)
labs/consite/trunk/conferences/public/stylesheets/report.css (with props)
labs/consite/trunk/conferences/spec/
labs/consite/trunk/conferences/spec/controllers/
labs/consite/trunk/conferences/spec/controllers/admin/
labs/consite/trunk/conferences/spec/controllers/admin/con/
labs/consite/trunk/conferences/spec/controllers/admin/con/activities_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/capacities_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/conference_roles_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/dashboard_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/locations_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/organizations_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/people_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/presentation_capacities_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/presentation_types_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/presentations_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/presenters_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/roles_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/schedule_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/scheduled_sessions_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/session_classes_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/session_types_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/sponors_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/sponsor_classes_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/sponsor_types_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/submissions_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/tracks_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/con/venues_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/admin/conferences_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/conference_roles_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/controllers/dashboard_controller_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/
labs/consite/trunk/conferences/spec/helpers/admin/
labs/consite/trunk/conferences/spec/helpers/admin/con/
labs/consite/trunk/conferences/spec/helpers/admin/con/activities_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/capacities_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/conference_roles_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/dashboard_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/locations_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/organizations_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/people_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/presentation_capacities_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/presentation_types_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/presentations_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/presenters_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/roles_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/schedule_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/scheduled_sessions_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/session_classes_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/session_types_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/sponors_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/sponsor_classes_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/sponsor_types_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/submissions_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/tracks_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/con/venues_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/admin/conferences_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/conference_roles_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/helpers/dashboard_helper_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/
labs/consite/trunk/conferences/spec/models/activity_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/capacity_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/conference_sesssion_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/conference_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/email_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/location_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/organization_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/panel_member_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/person_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/presentation_capacity_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/presentation_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/presentation_type_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/presentations_tag_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/presenter_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/role_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/scheduled_session_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/session_type_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/sponsor_class_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/sponsor_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/sponsor_types_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/submissions_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/tag_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/tags_presentation_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/track_spec.rb (with props)
labs/consite/trunk/conferences/spec/models/venue_spec.rb (with props)
labs/consite/trunk/conferences/spec/spec.opts
labs/consite/trunk/conferences/spec/spec_helper.rb (with props)
labs/consite/trunk/conferences/vendor/
labs/consite/trunk/conferences/vendor/plugins/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/CHANGELOG
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/MIT-LICENSE
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/README (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/Rakefile
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/generators/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/generators/acts_as_taggable_migration/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/generators/acts_as_taggable_migration/acts_as_taggable_migration_generator.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/generators/acts_as_taggable_migration/templates/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/generators/acts_as_taggable_migration/templates/migration.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/init.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/acts_as_taggable.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/tag.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/tag_counts_extension.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/tag_list.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/tagging.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/lib/tags_helper.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/abstract_unit.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/acts_as_taggable_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/database.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/magazine.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/magazines.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/photo.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/photos.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/post.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/posts.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/special_post.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/subscription.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/subscriptions.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/taggings.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/tags.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/user.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/fixtures/users.yml
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/schema.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/tag_list_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/tag_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/tagging_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/acts_as_taggable_on_steriods/test/tags_helper_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/
labs/consite/trunk/conferences/vendor/plugins/file_column/CHANGELOG
labs/consite/trunk/conferences/vendor/plugins/file_column/README (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/Rakefile
labs/consite/trunk/conferences/vendor/plugins/file_column/TODO
labs/consite/trunk/conferences/vendor/plugins/file_column/init.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/file_column.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/file_column_helper.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/file_compat.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/magick_file_column.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/rails_file_column.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/test_case.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/lib/validations.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/
labs/consite/trunk/conferences/vendor/plugins/file_column/test/abstract_unit.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/connection.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/file_column_helper_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/file_column_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/entry.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/invalid-image.jpg (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/kerb.jpg (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/mysql.sql (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/schema.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/fixtures/skanthak.png (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/magick_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/magick_view_only_test.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/file_column/test/public/
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/README (with props)
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/Rakefile
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/init.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/lib/
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/lib/tzinfo_timezone.rb (with props)
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/test/
labs/consite/trunk/conferences/vendor/plugins/tzinfo_timezone/test/tzinfo_timezone_test.rb (with props)
labs/consite/trunk/members/
labs/consite/trunk/members/README (with props)
labs/consite/trunk/members/Rakefile
labs/consite/trunk/members/app/
labs/consite/trunk/members/app/controllers/
labs/consite/trunk/members/app/controllers/admin/
labs/consite/trunk/members/app/controllers/admin/members/
labs/consite/trunk/members/app/controllers/admin/members/profile_controller.rb (with props)
labs/consite/trunk/members/app/controllers/admin/members/register_controller.rb (with props)
labs/consite/trunk/members/app/helpers/
labs/consite/trunk/members/app/helpers/admin/
labs/consite/trunk/members/app/helpers/admin/members/
labs/consite/trunk/members/app/helpers/admin/members/profile_helper.rb (with props)
labs/consite/trunk/members/app/helpers/admin/members/register_helper.rb (with props)
labs/consite/trunk/members/app/views/
labs/consite/trunk/members/app/views/admin/
labs/consite/trunk/members/app/views/admin/members/
labs/consite/trunk/members/app/views/admin/members/profile/
labs/consite/trunk/members/app/views/admin/members/profile/edit.html.erb
labs/consite/trunk/members/app/views/admin/members/profile/index.html.erb
labs/consite/trunk/members/app/views/admin/members/register/
labs/consite/trunk/members/app/views/admin/members/register/index.html.haml
labs/consite/trunk/members/app/views/admin/members/register/new.html.erb
labs/consite/trunk/members/db/
labs/consite/trunk/members/db/migrate/
labs/consite/trunk/members/db/migrate/001_modify_users.rb (with props)
labs/consite/trunk/members/db/migrate/002_create_profile_snippet.rb (with props)
labs/consite/trunk/members/lib/
labs/consite/trunk/members/lib/tasks/
labs/consite/trunk/members/lib/tasks/members_extension_tasks.rake
labs/consite/trunk/members/members_extension.rb (with props)
labs/consite/trunk/members/public/
labs/consite/trunk/members/public/images/
labs/consite/trunk/members/public/images/profile.png (with props)
labs/consite/trunk/members/spec/
labs/consite/trunk/members/spec/controllers/
labs/consite/trunk/members/spec/controllers/admin/
labs/consite/trunk/members/spec/controllers/admin/members/
labs/consite/trunk/members/spec/controllers/admin/members/profile_controller_spec.rb (with props)
labs/consite/trunk/members/spec/controllers/admin/members/register_controller_spec.rb (with props)
labs/consite/trunk/members/spec/helpers/
labs/consite/trunk/members/spec/helpers/admin/
labs/consite/trunk/members/spec/helpers/admin/members/
labs/consite/trunk/members/spec/helpers/admin/members/profile_helper_spec.rb (with props)
labs/consite/trunk/members/spec/helpers/admin/members/register_helper_spec.rb (with props)
labs/consite/trunk/members/spec/spec.opts
labs/consite/trunk/members/spec/spec_helper.rb (with props)
labs/consite/trunk/members/vendor/
labs/consite/trunk/members/vendor/plugins/
labs/consite/trunk/members/vendor/plugins/file_column/
Added: labs/consite/doap.rdf
URL: http://svn.apache.org/viewvc/labs/consite/doap.rdf?rev=759091&view=auto
==============================================================================
--- labs/consite/doap.rdf (added)
+++ labs/consite/doap.rdf Fri Mar 27 10:32:54 2009
@@ -0,0 +1,31 @@
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://usefulinc.com/ns/doap#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:labs="http://labs.apache.org/doap-ext/1.0#"
+ xmlns:projects="http://projects.apache.org/ns/asfext#">
+<Project rdf:about="http://labs.apache.org/labs#consite">
+ <name>consite</name>
+ <shortname>consite</shortname>
+ <shortdesc xml:lang="en">conference website management</shortdesc>
+ <description xml:lang="en">a web application for managing apachecons</description>
+ <homepage rdf:resource="http://labs.apache.org/consite/"/>
+ <license rdf:resource="http://usefulinc.com/doap/licenses/asl20"/>
+ <created>2009-3-13</created>
+ <labs:status>active</labs:status>
+ <maintainer>
+ <foaf:Person rdf:about="http://people.apache.org/~farra/#me">
+ <foaf:name>J. Aaron Farr</foaf:name>
+ <foaf:homepage rdf:resource="http://people.apache.org/~farra/"/>
+ <foaf:mbox_sha1sum>d2580649cce949be3b67fa4410615d0d81ba6cac</foaf:mbox_sha1sum>
+ </foaf:Person>
+ </maintainer>
+ <repository>
+ <SVNRepository>
+ <location rdf:resource="http://svn.apache.org/repos/asf/labs/consite/"/>
+ <browse rdf:resource="http://svn.apache.org/viewvc/labs/consite/"/>
+ </SVNRepository>
+ </repository>
+ <programming-language>ruby</programming-language>
+ <programming-language>javascript</programming-language>
+</Project>
+</rdf:RDF>
\ No newline at end of file
Propchange: labs/consite/doap.rdf
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/README
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/README?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/README (added)
+++ labs/consite/trunk/conferences/README Fri Mar 27 10:32:54 2009
@@ -0,0 +1,33 @@
+= Conferences
+Simple conference management system for Radiant CMS 0.6.9.
+
+This extension was specifically designed for ApacheCon and may still
+contain several ApacheCon specific features.
+
+== Basic model organization
+
+ A Conference has one Venue with one or more Locations and one or more
+ Tracks associated with a Location. Users create Presentations which
+ are submitted as Submissions to a Conference. Submissions can then
+ be approved and scheduled, becoming Scheduled Sessions associated
+ with a Track in the Conference. Activities are scheduled events
+ associated with a Conference (and optionally a Track) that may have
+ no associated User (such as a lunch or break). Finally,
+ Organizations can become Sponsors of a Conference.
+
+== Requirements
+
+The following other extensions or plugins should also be installed in
+Radiant:
+
+- radiant-members-extension (radiant extension)
+- tinymce_filter (radiant extension)
+- active_scaffold (rails plugin)
+- file_column (rails plugin)
+- tzinfo_timezone (rails plugin)
+
+== To Do
+
+- The current set of migrations need refactored to work for a clean install
+- RSpec tests need written
+- Replace ActiveScaffold with custom, better designed forms
\ No newline at end of file
Propchange: labs/consite/trunk/conferences/README
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/Rakefile
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/Rakefile?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/Rakefile (added)
+++ labs/consite/trunk/conferences/Rakefile Fri Mar 27 10:32:54 2009
@@ -0,0 +1,120 @@
+# I think this is the one that should be moved to the extension Rakefile template
+
+# In rails 1.2, plugins aren't available in the path until they're loaded.
+# Check to see if the rspec plugin is installed first and require
+# it if it is. If not, use the gem version.
+
+# Determine where the RSpec plugin is by loading the boot
+unless defined? RADIANT_ROOT
+ ENV["RAILS_ENV"] = "test"
+ case
+ when ENV["RADIANT_ENV_FILE"]
+ require File.dirname(ENV["RADIANT_ENV_FILE"]) + "/boot"
+ when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
+ require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../")}/config/boot"
+ else
+ require "#{File.expand_path(File.dirname(__FILE__) + "/../../../")}/config/boot"
+ end
+end
+
+require 'rake'
+require 'rake/rdoctask'
+require 'rake/testtask'
+
+rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib')
+$LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base)
+require 'spec/rake/spectask'
+# require 'spec/translator'
+
+# Cleanup the RADIANT_ROOT constant so specs will load the environment
+Object.send(:remove_const, :RADIANT_ROOT)
+
+extension_root = File.expand_path(File.dirname(__FILE__))
+
+task :default => :spec
+task :stats => "spec:statsetup"
+
+desc "Run all specs in spec directory"
+Spec::Rake::SpecTask.new(:spec) do |t|
+ t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
+ t.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+namespace :spec do
+ desc "Run all specs in spec directory with RCov"
+ Spec::Rake::SpecTask.new(:rcov) do |t|
+ t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ t.rcov = true
+ t.rcov_opts = ['--exclude', 'spec', '--rails']
+ end
+
+ desc "Print Specdoc for all specs"
+ Spec::Rake::SpecTask.new(:doc) do |t|
+ t.spec_opts = ["--format", "specdoc", "--dry-run"]
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ end
+
+ [:models, :controllers, :views, :helpers].each do |sub|
+ desc "Run the specs under spec/#{sub}"
+ Spec::Rake::SpecTask.new(sub) do |t|
+ t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
+ t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"]
+ end
+ end
+
+ # Hopefully no one has written their extensions in pre-0.9 style
+ # desc "Translate specs from pre-0.9 to 0.9 style"
+ # task :translate do
+ # translator = ::Spec::Translator.new
+ # dir = RAILS_ROOT + '/spec'
+ # translator.translate(dir, dir)
+ # end
+
+ # Setup specs for stats
+ task :statsetup do
+ require 'code_statistics'
+ ::STATS_DIRECTORIES << %w(Model\ specs spec/models)
+ ::STATS_DIRECTORIES << %w(View\ specs spec/views)
+ ::STATS_DIRECTORIES << %w(Controller\ specs spec/controllers)
+ ::STATS_DIRECTORIES << %w(Helper\ specs spec/views)
+ ::CodeStatistics::TEST_TYPES << "Model specs"
+ ::CodeStatistics::TEST_TYPES << "View specs"
+ ::CodeStatistics::TEST_TYPES << "Controller specs"
+ ::CodeStatistics::TEST_TYPES << "Helper specs"
+ ::STATS_DIRECTORIES.delete_if {|a| a[0] =~ /test/}
+ end
+
+ namespace :db do
+ namespace :fixtures do
+ desc "Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y"
+ task :load => :environment do
+ require 'active_record/fixtures'
+ ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
+ (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(RAILS_ROOT, 'spec', 'fixtures', '*.{yml,csv}'))).each do |fixture_file|
+ Fixtures.create_fixtures('spec/fixtures', File.basename(fixture_file, '.*'))
+ end
+ end
+ end
+ end
+end
+
+desc 'Generate documentation for the conferences extension.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'ConferencesExtension'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
+
+# For extensions that are in transition
+desc 'Test the conferences extension.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+# Load any custom rakefiles for extension
+Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
\ No newline at end of file
Added: labs/consite/trunk/conferences/app/controllers/admin/con/.scheduled_sessions_controller.rb.swp
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/.scheduled_sessions_controller.rb.swp?rev=759091&view=auto
==============================================================================
Binary file - no diff available.
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/.scheduled_sessions_controller.rb.swp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,63 @@
+class Admin::Con::ActivitiesController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :activities do |config|
+ config.list.columns = [:name, :presenter, :start_time_local, :end_time_local, :location, :track, :type]
+ columns = [:name, :start_time, :end_time, :description, :presenter, :location, :track, :type, :conference]
+ config.create.columns = columns
+ config.update.columns = columns
+ config.show.columns = [:name, :start_time_local, :end_time_local, :description, :presenter, :location, :track, :type, :conference]
+
+ config.columns[:conference].ui_type = :select
+ config.columns[:track].ui_type = :select
+ config.columns[:location].ui_type = :select
+ config.columns[:presenter].ui_type = :select
+ config.columns[:type].ui_type = :select
+ config.columns[:location].label = "Location (Optional)"
+ config.columns[:presenter].label = "Presenter (Optional)"
+ config.columns[:track].label = "Conference Track (Optional)"
+ config.columns[:type].label = "Activity Type (Optional)"
+ end
+
+
+ def conditions_for_collection
+ if @current_conference
+ ids = @current_conference.activity_ids
+ if ids.size > 0
+ return ['activities.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+ end
+
+ def do_new
+ @record = Activity.new
+ apply_constraints_to_record(@record)
+ if @current_conference
+ @record.conference = @current_conference
+ @record.start_time = @current_conference.start_date.to_time
+ @record.end_time = @record.start_time + (60 * 60)
+ end
+ end
+
+ def before_create_save(record)
+ convert_times_from_local_to_utc record
+ end
+
+ def before_update_save(record)
+ convert_times_from_local_to_utc record
+ end
+
+ def convert_times_from_local_to_utc(record)
+ # Convert the timezone before saving
+ # doing this here instead of a callback
+ # to ensure the conversion happens only ONCE
+
+ [:start_time, :end_time].each do |time|
+ # first convert from local to utc
+ tz = TimeZone[ record.conference.time_zone ]
+ record[time] = tz.local_to_utc record[time]
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/activities_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,96 @@
+class Admin::Con::CfpController < ApplicationController
+
+ layout "cfp"
+
+ def index
+ # need to redo this
+ # because we aren't getting conferences to which the person hasn't submitted anything
+ # so need to do that query and merge
+
+ @conferences = Conference.find(:all, :order => 'conferences.start_date DESC')
+
+ @submissions = Submission.find(:all, :include => [:presentation, :conference],
+ :conditions => ['presentations.presenter_id = ?',current_user.id]
+ )
+
+ @submissions_per_conference = @conferences.collect do | c |
+ [c, @submissions.select{|s| s.conference_id == c.id}]
+ end
+
+ respond_to do |format|
+ format.html # index.html.erb
+ format.xml { render :xml => @submissions }
+ end
+ end
+
+ def show
+ @submission = Submission.find(params[:id])
+
+ respond_to do |format|
+ format.html # show.html.erb
+ format.xml { render :xml => @submission }
+ end
+ end
+
+ def new
+ @submission = Submission.new
+ @submission.presentation = Presentation.new
+ @presentations = Presentation.find(:all,
+ :conditions => ['presentations.presenter_id = ?',current_user.id])
+
+ if params[:cid]
+ @submission.conference_id = params[:cid]
+ end
+ @submission.presentation.presenter_id = current_user.id
+
+ respond_to do |format|
+ format.html # new.html.erb
+ format.xml { render :xml => @submission }
+ end
+ end
+
+ def edit
+ @submission = Submission.find(params[:id])
+ end
+
+ def create
+ @submission = Submission.new(params[:submission])
+
+ respond_to do |format|
+ if @submission.save
+ flash[:notice] = 'Presentation was successfully created.'
+ format.html { redirect_to :action => :index }
+ format.xml { render :xml => @submission, :status => :created, :location => @submission }
+ else
+ format.html { render :action => "new" }
+ format.xml { render :xml => @submission.errors, :status => :unprocessable_entity }
+ end
+ end
+ end
+
+ def update
+ @submission = Submission.find(params[:submission][:id])
+
+ respond_to do |format|
+ if @submission.update_attributes(params[:submission])
+ flash[:notice] = 'Presentation was successfully updated.'
+ format.html { redirect_to :action => :index }
+ format.xml { head :ok }
+ else
+ format.html { render :action => "edit" }
+ format.xml { render :xml => @submission.errors, :status => :unprocessable_entity }
+ end
+ end
+ end
+
+# def destroy
+# @presentation = Presentation.find(params[:id])
+# @presentation.destroy
+
+# respond_to do |format|
+# format.html { redirect_to(admin_presentations_url) }
+# format.xml { head :ok }
+# end
+# end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/cfp_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,39 @@
+class Admin::Con::ConferenceRolesController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :conference_roles do | config |
+ config.actions = [:list, :show, :nested]
+ config.list.columns = [:presenter, :session_name]
+ config.show.columns = [:presenter, :session_name]
+
+ config.nested.add_link("Edit Profile", [:presenter])
+ end
+
+ def conditions_for_collection
+ if @current_conference
+ ['conference_id = ?',@current_conference.id]
+ else
+ [ ]
+ end
+ end
+
+ def report
+ @conference = Conference.find(params[:con_id])
+ @conference_roles = @conference.conference_roles.find(:all, :include => [:presenter])
+ respond_to do |format|
+ format.html { render :layout => 'report' }
+ format.csv { send_data ConferenceRole.to_csv(@conference_roles), :filename => "#{@conference.short_name}-speakers.csv", :type => 'text/csv' }
+ end
+ end
+
+ def compose
+ @email = Email.new
+ @email.conference_id = params[:con_id]
+ end
+
+ def email
+ @email = Email.new(params[:email])
+ @email.send
+ end
+
+end
+
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/conference_roles_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,16 @@
+class Admin::Con::ConferencesController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :conferences do | config |
+ columns = [ :name, :short_name, :start_date, :end_date, :time_zone,
+ :tagline, :description, :logo, :registration_link,
+ :community_link, :wiki_link, :mailing_list, :mailing_list_link,
+ :registration_open, :cfp_open, :submission_notification_email, :venue]
+ config.list.columns = [ :name, :short_name, :start_date, :end_date, :venue]
+ config.create.columns = columns
+ config.update.columns = columns
+ config.show.columns = columns
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/conferences_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,16 @@
+class Admin::Con::CurrentConferenceController < ApplicationController
+
+ layout "conferences"
+ before_filter :set_current_conference
+
+ def set_current_conference
+ if params[:con_id]
+ @current_conference = Conference.find(params[:con_id])
+
+ #!! Rails 2.1 approach
+ # Time.zone = @current_conference.time_zone if @current_conference
+
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/current_conference_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,29 @@
+class Admin::Con::DashboardController < ApplicationController
+
+ layout "conferences"
+
+ def index
+ @conferences = Conference.find(:all, :order => 'start_date')
+ if @conferences
+ if params[:id]
+ @current_conference = Conference.find(params[:id])
+ else
+ index = 0
+ @current_conference = @conferences[0]
+ while index < @conferences.size and @current_conference.in_the_past?
+ index += 1
+ @current_conference = @conferences[index]
+ end
+ end
+ else
+ @conferences = Array.new
+ end
+ end
+
+ def help
+ if params[:con_id]
+ @current_conference = Conference.find(params[:con_id])
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/dashboard_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,12 @@
+class Admin::Con::LocationsController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :location do |config|
+ config.list.columns = [:name, :description]
+ config.create.columns = [:name, :description]
+ config.update.columns = [:name, :description]
+ config.subform.columns = [:name, :description]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/locations_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,12 @@
+class Admin::Con::OrganizationsController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :organizations do |config|
+ config.list.columns = [:name, :url]
+ config.create.columns = [:name, :url, :logo, :description, :sponsors]
+ config.update.columns = [:name, :url, :logo, :description, :sponsors]
+ config.show.columns = [:name, :url, :logo, :description, :sponsors]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/organizations_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,24 @@
+class Admin::Con::PanelMembersController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :panel_members do | config |
+ config.list.columns = [:presenter, :submission]
+ config.show.columns = [:presenter, :submission]
+ config.create.columns = [:presenter, :submission]
+ config.update.columns = [:presenter, :submission]
+ end
+
+ def conditions_for_collection
+ if @current_conference
+ ids = @current_conference.submissions.collect{|s| s.panel_member_ids }
+ ids.flatten!
+ ids.uniq!
+ if ids.size > 0
+ return ['panel_members.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+ end
+
+end
+
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/panel_members_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,12 @@
+class Admin::Con::PresentationTypesController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :presentation_type do |config|
+ config.list.columns = [ :name ]
+ config.create.columns = [:name]
+ config.update.columns = [:name]
+ config.show.columns = [ :name ]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/presentation_types_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,29 @@
+class Admin::Con::PresentationsController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :presentations do | config |
+ columns = [:name, :description, :duration, :type, :tag_list, :materials, :presenter]
+ config.list.columns = [:name, :presenter, :type, :duration, :submissions ]
+ config.create.columns = columns
+ config.update.columns = columns
+ config.update.columns << :submissions
+ config.show.columns = columns
+ config.nested.add_link("Submit Presentation", [:submissions])
+ config.columns[:type].ui_type = :select
+ config.columns[:presenter].ui_type = :select
+ end
+
+ def conditions_for_collection
+ if @current_conference
+ ids = @current_conference.submissions.collect{|s| s.presentation.id }
+ if ids.size > 0
+ return ['presentations.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/presentations_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,77 @@
+class Admin::Con::ScheduledSessionsController < Admin::Con::CurrentConferenceController
+
+ # handles the time zone convertion from local to UTC here
+ # uses the tzinfo_timezone plugin and tzinfo gem
+
+ active_scaffold :scheduled_sessions do | config |
+ columns = [:submission, :track, :start_time_local, :end_time_local]
+ config.list.columns = columns
+ config.show.columns = columns
+ config.create.columns = [:submission, :track, :start_time]
+ config.update.columns = [:submission, :track, :start_time]
+ config.search.columns << :submission
+ config.columns[:submission].ui_type = :select
+ config.columns[:track].ui_type = :select
+ end
+
+ def conditions_for_collection
+ if @current_conference
+ ids = @current_conference.scheduled_sessions.collect{|s| s.id }
+ if ids.size > 0
+ return ['scheduled_sessions.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+ end
+
+ def do_new
+ @record = ScheduledSession.new
+ apply_constraints_to_record(@record)
+ if @current_conference
+ @record.start_time = @current_conference.start_date.to_time
+ @record.end_time = @record.start_time + (60 * 60)
+ end
+ end
+
+ def before_create_save(record)
+ convert_times_from_local_to_utc record
+ end
+
+ def before_update_save(record)
+ convert_times_from_local_to_utc record
+ end
+
+ def convert_times_from_local_to_utc(record)
+
+ if record.duration
+ record.end_time = record.start_time + (record.duration * 60)
+ end
+
+
+ [:start_time, :end_time].each do |time|
+
+ # now set the date portion to the same date
+ # as the associated track
+
+ record[time] = Time.utc( record.track.date.year,
+ record.track.date.month,
+ record.track.date.day,
+ record[time].hour,
+ record[time].min,
+ record[time].sec,0)
+ end
+
+
+ # Convert the timezone before saving
+ # doing this here instead of a callback
+ # to ensure the conversion happens only ONCE
+
+ [:start_time, :end_time].each do |time|
+ # first convert from local to utc
+ tz = TimeZone[ record.track.conference.time_zone ]
+ record[time] = tz.local_to_utc record[time]
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/scheduled_sessions_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+class Admin::Con::SessionTypesController < ApplicationController
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/session_types_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,16 @@
+class Admin::Con::SpeakersController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :user do | config |
+ config.columns.exclude :login, :password, :admin, :developer, :salt, :lock_version
+ config.list.columns = [:name, :email]
+ config.update.columns = [:name, :email, :url, :photo, :login, :password, :password_confirmation, :notes]
+ config.create.columns = [:name, :email, :url, :photo, :login, :password, :password_confirmation, :notes ]
+ config.show.columns = [:name, :email, :url, :photo, :login, :notes]
+ end
+
+ def conditions_for_collection
+ people_ids = @current_conference.presenters.collect{|p| p.id }
+ ['id in (?)', people_ids]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/speakers_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,13 @@
+class Admin::Con::SponsorLevelsController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :sponsor_levels do | config |
+ config.list.columns = [:name, :rank]
+ config.list.sorting = { :rank => :asc }
+ config.update.columns = [:name, :rank]
+ config.create.columns = [:name, :rank]
+ config.show.columns = [:name, :rank]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_levels_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,12 @@
+class Admin::Con::SponsorTypesController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :sponsor_type do | config |
+ config.list.columns = [:name]
+ config.show.columns = [:name]
+ config.create.columns = [:name]
+ config.update.columns = [:name]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/sponsor_types_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,23 @@
+class Admin::Con::SponsorsController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :sponsors do |config|
+ config.list.columns = [:conference, :organization, :sponsor_type, :sponsor_level]
+ config.create.columns = [:conference, :organization, :sponsor_type, :sponsor_level]
+ config.update.columns = [:conference, :organization, :sponsor_type, :sponsor_level]
+ config.show.columns = [:conference, :organization, :sponsor_type, :sponsor_level]
+ config.list.sorting = { :sponsor_type => :desc }, { :sponsor_level => :desc }
+ config.nested.add_link("Edit Organization", [:organization])
+ config.columns[:conference].ui_type = :select
+ config.columns[:sponsor_type].ui_type = :select
+ config.columns[:sponsor_level].ui_type = :select
+ end
+
+ def do_new
+ @record = Sponsor.new
+ apply_constraints_to_record(@record)
+ if @current_conference
+ @record.conference = @current_conference
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/sponsors_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,45 @@
+class Admin::Con::SubmissionsController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :submissions do | config |
+ config.list.columns = [:presentation, :presenter, :scheduled_sessions, :accepted]
+ config.create.columns = [:presentation, :accepted, :votes, :score, :panel_members, :conference]
+ config.update.columns = [:presentation, :scheduled_sessions, :panel_members, :accepted, :votes, :score, :agreement_form_received]
+ config.show.columns = [:presentation, :accepted, :votes, :score, :panel_members, :scheduled_sessions, :conference]
+ config.subform.columns = [:presentation, :conference]
+
+ config.columns[:agreement_form_received].ui_type = :checkbox
+ config.columns[:conference].ui_type = :select
+ config.nested.add_link("Schedule", [:scheduled_sessions])
+
+ config.columns[:presentation].search_sql = 'presentations.name'
+ config.search.columns << :presentation
+ end
+
+ def conditions_for_collection
+ if @current_conference
+ ids = @current_conference.submissions.collect{|p| p.id }
+ if ids.size > 0
+ return ['submissions.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+ end
+
+ def do_new
+ @record = Submission.new
+ apply_constraints_to_record(@record)
+ if @current_conference
+ @record.conference = @current_conference
+ end
+ end
+
+ def report
+ @conference = Conference.find(params[:con_id])
+ @submissions = @conference.submissions
+ respond_to do |format|
+ format.html { render :layout => 'report' }
+ format.csv { send_data Submission.to_csv(@submissions), :filename => "#{@conference.short_name}-submissions.csv", :type => 'text/csv' }
+ end
+ end
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/submissions_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,30 @@
+class Admin::Con::TracksController < Admin::Con::CurrentConferenceController
+
+ active_scaffold :tracks do |config|
+ config.list.columns = [:name, :date, :location]
+ config.create.columns = [:name, :date, :conference, :location]
+ config.update.columns = [:name, :date, :conference, :location]
+ config.show.columns = [:name, :date, :conference, :location, :scheduled_sessions]
+ config.columns[:conference].ui_type = :select
+ config.columns[:location].ui_type = :select
+ end
+
+ def conditions_for_collection
+ ids = @current_conference.tracks.collect{|p| p.id }
+ if ids.size > 0
+ return ['tracks.id in (?)', ids]
+ else
+ return [ ]
+ end
+ end
+
+ def do_new
+ @record = Track.new
+ apply_constraints_to_record(@record)
+ if @current_conference
+ @record.conference = @current_conference
+ @record.date = @current_conference.start_date
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/tracks_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,13 @@
+class Admin::Con::UsersController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :user do | config |
+ config.columns.exclude :login, :password, :admin, :developer, :salt, :lock_version
+ config.list.columns = [:name, :email]
+ config.update.columns = [:name, :email, :url, :photo, :login, :password, :password_confirmation, :notes]
+ config.create.columns = [:name, :email, :url, :photo, :login, :password, :password_confirmation, :notes]
+ config.show.columns = [:name, :login, :email, :url, :photo, :notes, :conference_roles]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/users_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb (added)
+++ labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,12 @@
+class Admin::Con::VenuesController < ApplicationController
+
+ layout "configuration"
+
+ active_scaffold :venue do |config|
+ config.list.columns = [:name, :locations, :conferences]
+ config.show.columns = [:name, :address, :description, :conferences, :locations]
+ config.create.columns = [:name, :address, :description, :locations]
+ config.update.columns = [:name, :address, :description, :locations]
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/controllers/admin/con/venues_controller.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,3 @@
+module Admin::Con::ActivitiesHelper
+ include Admin::Con::DescriptionColumnHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/activities_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,11 @@
+module Admin::Con::CfpHelper
+
+ def options_for_association_conditions(association)
+ if association.name == :conference
+ ['conferences.cfp_open = ?',true]
+ else
+ super
+ end
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/cfp_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,5 @@
+module Admin::Con::ConferenceRolesHelper
+ def report_title
+ "#{@conference.name} Speakers"
+ end
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/conference_roles_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,8 @@
+module Admin::Con::ConferencesHelper
+ include Admin::Con::DescriptionColumnHelper
+
+ def time_zone_form_column(record, input_name)
+ time_zone_select :record, :time_zone, TimeZone.us_zones
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/conferences_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+module Admin::Con::DashboardHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/dashboard_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,8 @@
+module Admin::Con::DescriptionColumnHelper
+
+ def description_column(record)
+ sanitize(record.description)
+ end
+
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/description_column_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,3 @@
+module Admin::Con::LocationsHelper
+ include Admin::Con::DescriptionColumnHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/locations_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,3 @@
+module Admin::Con::OrganizationsHelper
+ include Admin::Con::DescriptionColumnHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/organizations_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,11 @@
+module Admin::Con::PeopleHelper
+
+ def bio_column(record)
+ sanitize(record.description)
+ end
+
+ def roles_column(record)
+ record.roles.collect {|role| h("#{role.capacity.name} at #{role.conference.name}") }.join("<br/>")
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/people_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+module Admin::Con::PresentationTypesHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/presentation_types_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,3 @@
+module Admin::Con::PresentationsHelper
+ include Admin::Con::DescriptionColumnHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/presentations_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+module Admin::Con::RolesHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/roles_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+module Admin::Con::ScheduleHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/schedule_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,11 @@
+module Admin::Con::ScheduledSessionsHelper
+
+ include Admin::Con::DescriptionColumnHelper
+
+ def start_time_form_column(record, input_name)
+ record.start_time = record.start_time_local
+ time_select :record, :start_time, :name => input_name
+ end
+
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/scheduled_sessions_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,9 @@
+module Admin::Con::SpeakersHelper
+
+ include Admin::Con::DescriptionColumnHelper
+
+ def roles_column(record)
+ record.roles.collect {|role| h("#{role.capacity.name} at #{role.conference.name}") }.join("<br/>")
+ end
+
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/speakers_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
Added: labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb
URL: http://svn.apache.org/viewvc/labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb?rev=759091&view=auto
==============================================================================
--- labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb (added)
+++ labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb Fri Mar 27 10:32:54 2009
@@ -0,0 +1,2 @@
+module Admin::Con::SponsorClassesHelper
+end
Propchange: labs/consite/trunk/conferences/app/helpers/admin/con/sponsor_classes_helper.rb
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org