Skip to content

Releases: OpenSourceActivismTech/call-power

Version 1.5.2

14 Nov 00:08
Compare
Choose a tag to compare

Bug fixes:

  • upgrade Flask-WTF to better handle stale cookies from Python 2 transition
  • bytes to string conversion and accent normalization for political data search

Version 1.5.1

05 Nov 01:47
Compare
Choose a tag to compare

Bug fixes:

  • resolve cookie pickle version mismatch when upgrading from 2 to 3
  • replace raw_input with input in management commands
  • update Twilio client usage in account transfer scripts
  • hide campaign.call_maximum if not defined or zero
  • correct dashboard counts for last day of month

Deployment:

  • use Gunicorn gthread workers for performance. On Heroku, ensure that the environment defines the WEB_THREADS variable (suggest setting it to 4), so that the Procfile can use it.

Version 1.5

28 Oct 21:21
Compare
Choose a tag to compare

Upgraded many underlying libraries, including:

  • Flask to 1.1
    The major change here is to the runner script. Now instead of python manager.py all tasks use flask run and require the FLASK_APP environment variable set to manager.py. The Heroku procfile and Docker entrypoint.sh have been upgraded to use this new format, but custom development tasks may need to be rewritten.
  • Twilio to 6.25.2
  • Python to 3.7.5 via Heroku's runtime.txt
    Python 2.7 should continue to work, but will be EOL on Jan 1, 2020. Time to upgrade...
  • Replace uWSGI+gevent with Gunicorn, which is simpler to configure and can now be async with python3

Additional features:

  • Generic CRM integrations now easier to write, and we include ones for MobileCommons and the Rogue CRM
  • CSV export of user phones for admins, with adequate warning of sensitive personal information
  • Updates OpenStates searches to work with their v2 API

Bug fixes:

  • sync campaigns can be stopped and restarted
  • validate campaign.name length before saving, increase max to 255 characters

Version 1.5.0 (beta 4)

17 May 20:44
Compare
Choose a tag to compare
Pre-release

New features:

  • custom CRM integration for Mobile Commons

Bug fixes:

  • sync campaigns can be stopped and restarted
  • validate campaign.name length before saving, increase max to 255 characters

Upgrades:

  • Jinja to 2.10.1

Version 1.5.0 (beta 3)

07 May 19:37
Compare
Choose a tag to compare
Pre-release

New features:

  • custom CRM integration for Rogue
  • CSV export of user phones for admins

Version 1.5.0 (beta 2)

29 Mar 17:46
Compare
Choose a tag to compare
Pre-release
  • Fixes a mismatch in the cache type check, which broke political data searches.
  • Updates OpenStates searches to work with their v2 API

Version 1.5.0 (beta 1)

27 Mar 22:00
Compare
Choose a tag to compare
Pre-release

Upgraded many underlying libraries, including:

  • Flask to 1.0
  • Twilio to 6.25
  • python to 2.7.16 (via Heroku's runtime.txt)

The major change here is to the runner script. Now instead of python manager.py all tasks use flask run and require the FLASK_APP environment variable set to manager.py. The Heroku procfile and Docker entrypoint.sh have been upgraded to use this new format, but custom development tasks may need to be rewritten.

Additional bug fixes:

  • Campaign targeting now joins more quickly, for better performance with lots and lots of custom targets
  • Generic CRM integrations now easier to write

Version 1.4.9

18 Mar 22:41
Compare
Choose a tag to compare

Political Data:

  • Upgraded OpenStates API to v2. Thanks to @timothyasp for the nudge, and @msimonborg for the reminder that Nebraska's legislature is unicameral.

Bug fixes:

  • State legislators should no longer appear ~not available~ in cache if they were elected after 2019. Fixes #101.
  • Campaigns with large numbers of custom targets should save and edit more reliably, and stop producing duplicates. Thanks to FreePress for the bug report.
  • Initial database migrations no longer error on the user table. Thanks to @Hayyk for report #100

Other:

  • Merged upstream changes to Docker config, password reset flows, and file uploads from @EFForg
  • Improved documentation for first-time deployments

Deploying this will require running a database migration, as the column for Target.key was altered. Please run python manager.py migrate up.

You may also find the script python manager.py fixtargets useful to clean up duplicates.

Version 1.4.8

12 Feb 22:30
Compare
Choose a tag to compare

Political Data:

  • Switched US Congressional District mapping back to Census derived data, because USPS hasn't updated PA for 116th yet. Will re-evaluate when Q1 mapping comes out.
  • Updated US Congress: Marino resigned (PA-12)
  • Updated US Governors sworn in as of Feb 12

Version 1.4.7

18 Jan 01:12
Compare
Choose a tag to compare

Security Upgrades:

  • PyYaml to 4.2 for safe loading

Political Data:

  • Updated US Governors sworn in as of Jan 12

Bug fixes:

  • Resolve issue with custom district office numbers being overwritten #99