Tag 'v2.3' created by Pierre-Yves Chibon <pingou(a)pingoured.fr> at 2014-07-16
13:56 +0000
Release 2.3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlPGhJYACgkQ2HRbBxDocwo8awCfZpBxKV+C7qHXHoRfDhtfofIH
NXYAoI1OLGO4WoBlZ1bFNYR09w7rXASs
=JPOX
-----END PGP SIGNATURE-----
Changes since v2.2:
Pierre-Yves Chibon (25):
Add link to the about page on the index and open pages
Use url_for() in the archive template to build the links
Fix the `More information` link to actually point to the about page
Adjust the unit-test now that we are using url_for() to build the links
Move the voting range election unit-tests to their own file
Move the simple voting unit-tests to their own file
Add a new election of select voting type and open
Adjust the unit-tests on the UI for the new election added
Add candidates to the last election added
Add votes to the last election added in the tests suite
Adjust the unit-tests now that Toshio voted on the election #6
Set a max_votes to election #6
Remove checking if the candidate submitted is in the list as wtforms handles it for
us
Add a max_votes to 2 for the range voting and adjust the unit-tests accordingly
Add unit-tests for select voting
Add unit-tests for the is_safe_url method
Do not include FAS integration in test coverage
Check that new user are FAS users when adding them (if election is set to)
Ensure adding multiple users are once are FAS users when adding them (if election is
set to)
Update the documentation in the README file
Make the README file an rst file
Add a get_groups method that returns all the groups of interest in the database
When login in, ask for the groups used in the database and admin groups set in the
configuration
Merge pull request #32 from fedora-infra/restrict_groups
Release 2.3
---
README | 100 -------
README.rst | 132 +++++++++
fedora_elections/__init__.py | 8
fedora_elections/admin.py | 30 ++
fedora_elections/elections.py | 4
fedora_elections/forms.py | 3
fedora_elections/models.py | 18 +
fedora_elections/templates/archive.html | 9
fedora_elections/templates/index.html | 6
files/fedora-elections.spec | 10
tests/test_candidate.py | 22 +
tests/test_election.py | 37 ++
tests/test_flask.py | 34 +-
tests/test_flask_elections.py | 438 --------------------------------
tests/test_flask_range_voting.py | 302 ++++++++++++++++++++++
tests/test_flask_select_voting.py | 174 ++++++++++++
tests/test_flask_simple_voting.py | 250 ++++++++++++++++++
tests/test_vote.py | 12
18 files changed, 1024 insertions(+), 565 deletions(-)
---