Tag 'v2.2' created by Pierre-Yves Chibon <pingou(a)pingoured.fr> at 2014-07-16
07:04 +0000
Release 2.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlPGJBMACgkQ2HRbBxDocwrobQCfcB3h9F2mJjSdrmERqCmAc4Fm
PWcAnj5TXdXQYNXI8WFR+Fj8bt4/ZfRj
=J6gA
-----END PGP SIGNATURE-----
Changes since v2.1.1:
Chaoyi Zha (2):
small typo
fix unit tests
Pierre-Yves Chibon (19):
Improve the description of the different election types
Improve again the description of select voting
Include the runtest.sh and nosetests scripts in the releases
Prepare running the unit-tests at build time but cannot be activated for the moment
Fix integrating candidate name with FAS when the election is set as such
Fix displaying the FAS name when the FAS integration is activated
Use the shortdesc rather than the description in the archive list/page
Forward the usernamemap to the render_field_in_row macro to display the FAS user
name correctly
Drop the usernamemap from the single vote election type
For single vote election, do the FAS integration when building the form
Fix the situation where the candidate.name has accent by using the candidate
identifier
Only run the unit-tests against faitout when the tests are ran in jenkins
Fix the range voting to be sure the user is not voting on a candidate of another
election
Adjust unit-tests for the archive page
Adjust the unit-tests now that the range voting relies on candidate identifier
rather than their name
Expand the coverage to test for max_votes not being an int and adding lgl_voters
groups when creating the election
Fix adding voter groups w/o spaces in their name
Expand the unit-tests to include a test w/ no max_votes set upon creation
Release 2.2
---
MANIFEST.in | 2
fedora_elections/__init__.py | 2
fedora_elections/admin.py | 2
fedora_elections/elections.py | 46 +++++++----------
fedora_elections/forms.py | 20 +++++--
fedora_elections/templates/_formhelpers.html | 4 -
fedora_elections/templates/archive.html | 2
fedora_elections/templates/vote_range.html | 2
files/fedora-elections.spec | 30 ++++++++---
tests/__init__.py | 17 +++---
tests/test_flask.py | 4 -
tests/test_flask_admin.py | 48 ++++++++++++++++++
tests/test_flask_elections.py | 70 +++++++++++++--------------
13 files changed, 156 insertions(+), 93 deletions(-)
---