Releases: alphagov/e-petitions
Check for presence of an MP in local JSON data
Now that parliament has been dissolved all constituencies have no sitting MP so make sure that we don't try to output one.
Dissolution of Parliament, Part II
Dissolution of Parliament
- #568 - Warn about dissolution of Parliament
- #571 - Introduce Parliament model to control when warnings are shown
- #572 - Allow a link for more info about the dissolution in the warning
We haven't tagged for a while this release also contains all the things we've released recently, but not tagged:
- #549 - Ignore socket errors in jobs to avoid temporary network glitches alerting us
- #553 - Upgrade to newer AppSignal
- #554 - Add all petitions view
- #557 - Update terms & conditions
- #555 - Add JSON and CSV endpoints for local petitions
- #558 & #559 - Improve unsubscribe wording
- #563 & #565 - Improve testing infrastructure
- #562 & #566 - Use new registers API
- #564 - Clarify closing at time
- #567 & #569 - Improve pagination
Add gathering support page
Some people were navigating to a petition page before it had gathered enough sponsors for moderation and getting confused because we did not discern between the two states and presented the same page for both that said 5 people had supported the petition. To clarify this this commit adds a 'Gathering Support' page for the situation where a petition has yet to receive 5 signatures from sponsors
Tidy up administration area
Improve the code quality, I18n, appearance, testing and security of the administration area
Increase response size and tidy up some issues
Increase the size of responses to 6000 chars
Enforce UTF-8 to stop encoding exception errors
Drop email_sent_receipts table (data moved in a previous deploy)
Fix edge cases when closing petitions (leap year issue)
Geo blocking and a few tweaks
Add the option to geo-block IP addresses
Hide 'At X signatures' blocks if petition is closed
Add numbering to pagination for Petition list view
Add Twitter description meta tag to homepage
Fix race condition in petition rejection
Fix race conditions in admin controllers
Fix race condition in sponsors controller
Further modifications to invalidations
Includes everything from unreleased 1.0.44 & 1.0.45
A few minor bug fixes
Only show fraud-related information to sysadmins
Modification to invalidation process
Includes everything from the unreleased tag 1.0.44 +
When invalidating a large number of signatures, Appsignal can use a lot of memory and potentially crash a worker, so:
Disable Appsignal monitoring when invalidating signatures
Finishing touches for invalidations
Don't count invalidated signatures in trending query
Clear threshold timestamps when decrementing