Skip to content

An application to help the EFA organise phone lobbying campaigns

Notifications You must be signed in to change notification settings

perryn/phoneflood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to phoneflood

phoneflood is a small rails application written to help EFA (https://www.efa.org.au/) organise phone lobbying campaigns.

The basic idea is that an administrator sets up a 'Day of Action' specifying who to call, and then volunteers can sign up to call at a particular time slot during the day, so that calls are spaced out through the day.

See the cucumber feature files for a full description of phoneflood's features.

Deployment

This is a fairly standard rails application.

You will need to specify your production host in config/environments/production.rb so that links in the emails work. ActionMailer::Base.default_url_options[:host] = "mydomain.com"

You may also need to configure ActionMailer.

Administration

The application is administered via the rails console

Set up a day of action

>> DayOfAction.create!(:date => Date.civil(2010,1,28),
                  :recipient => "Kevin Rudd's Office", 
                  :phone =>"(03) 9866 6789", 
                  :subject => "the internet filter", 
                  :scheduler => BusinessHoursScheduler.new, 
                  :time_zone => "Canberra")

The schedule for the day of action will then be available at /days_of_action/#{day_of_action.id}/registrations/new

The :time_zone parameter should one from the list displayed by rake time:zones:all

Send reminders

>> day_of_action = DayOfAction.find(2)
>> day_of_action.send_reminders

This will send a reminder email to all registered volunteers. This might hammer your mail server, so you might want to consider throttling it a little.

About

An application to help the EFA organise phone lobbying campaigns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published