sunlightlabs / scout

Government-wide search and notification website.
https://scout.sunlightfoundation.com
Other
50 stars 30 forks source link

Remove SMS from Scout #486

Closed konklone closed 10 years ago

konklone commented 10 years ago

This removes SMS and Twilio integration from Scout.

This also means removing the special remote endpoint that allowed Call on Congress users to receive whitelabeled SMS alerts via Scout. Call on Congress has, separately, been updated to remove the option for users to sign up for SMS alerts.

Users are now required, unequivocally, to have a unique, present email address. I've removed all references to the user_contact helper, and user IDs are always email. I could go further and remove some additional fields (like mechanism on Receipt and Delivery) but I haven't bothered doing so at this time.

On the user Settings page, the SMS configuration area has been replaced with a mini-guide to using Scout's RSS feeds to set up SMS alerts in IFTTT, via a shared recipe I created on behalf of Sunlight that eases the process. This configuration area appears as the below:

screenshot from 2014-04-11 14 11 40

For easier portability to non-Sunlight contexts, that area could be made more configurable in the future -- the only necessity would be switching the IFTTT recipe being embedded.