Tag '2.6' created by Pierre-Yves Chibon <pingou(a)pingoured.fr> at 2016-02-02
14:45 +0000
Release 2.6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlawwPAACgkQ2HRbBxDocwq4IgCgiTOr7zT0eeykV/vNofmPNzcj
57gAnRfsxMoiLP/hKXm01osUS/Gwiu0I
=M9VN
-----END PGP SIGNATURE-----
Changes since 2.5.3:
Joshua Santos (39):
Add range revoting
Use update instead of nested for
Apparently the last voter is not a dictator :P
Apparently the last voter is not a dictator :P
Need to filter candidates before even checking if it is revote
Update revote to use ORM
move comment to two lines
remove nose requirement
Add revote link
Use for idx in range for loop
sort by candidate_id in Vote class method of_user_on_election
remove unused dependency
Fix tests to use Vote class method for revote tests
no need to sort by cand_id, already done :D
use list comprehension instead of lambda
We have only implememnted range revote, add condition
Indentation fix
Remove extra whitespace
Add select revote
Fix description of select revote test
Add template condition
Update elections.py
Add IRC Revoting
Add IRC Revote tests
Modify template condition
Some cleanup/refactoring
Add simple revoting
No need to check if revote exists anymore
Update tests
Else for revote logic
Further cleanup :)
Fix final failed test
Cleanup
Prefer UTC time over now()
Prefer UTC time over now()
Candidate modification revote bug
Fix logic to apply for any index
Add range voting revote candidate modification test
Remove Trailing Spaces :)
Pierre-Yves Chibon (34):
Fix displaying information about the simplified range voting method
Merge pull request #45 from fedora-infra/fix_doc
Fix setting the max_vote value in the stats dict for the results page
Merge pull request #46 from fedora-infra/fix_resultspage
Fix displaying information about the simplified range voting method
Fix setting the max_vote value in the stats dict for the results page
Release 2.5.4
Adjust the faitout url to the new address
Release 2.5.4
Adjust the faitout url to the new address
Merge pull request #49 from NerdsvilleCEO/add-select-revote
Let's not require a specific version of nose to run the tests
Merge pull request #50 from fedora-infra/fix_tests
Merge pull request #51 from NerdsvilleCEO/add-irc-revote
Merge pull request #52 from NerdsvilleCEO/refactor
Merge pull request #54 from NerdsvilleCEO/add-simple-revote
Merge pull request #55 from NerdsvilleCEO/fix_candidate_modification_bug
Add a fas_name field to the candidate table where the fas_name is stored
Store locally the user's FAS name when adding or editing candidates
Little style clean up
Let's present the candidate's FAS name first if there is one
In the admin page show the candidate's FAS name next to the name
Drop get_fas_human_name since we store the info in the DB
Drop the cache with dogpile
Drop the dependency on dogpile-cache
Add the alembic revision to create the fas_name field in the candidates table
Merge pull request #56 from fedora-infra/lcl_cache_fas
Rework the runserver script to offer more options
Remove mentions to pkgdb2 since this is now an elections file
Adjust README to match with the instructions of runserver.py
Use 127.0.0.1 instead of 0.0.0.0 in the README and runserver.py
Merge pull request #57 from fedora-infra/improved_script
Merge branch 'develop'
Release 2.6
---
README.rst | 2
alembic/versions/2b8f5a6f10a4_store_fas_name_locally.py | 27 ++
fedora_elections/__init__.py | 7
fedora_elections/admin.py | 32 ++-
fedora_elections/default_config.py | 7
fedora_elections/elections.py | 150 +++++++---------
fedora_elections/forms.py | 6
fedora_elections/models.py | 13 -
fedora_elections/templates/admin/view_election.html | 1
fedora_elections/templates/index.html | 4
fedora_elections/templates/vote_range.html | 2
fedora_elections/utils.py | 16 -
files/fedora-elections.spec | 16 +
nosetests | 4
requirements.txt | 1
runserver.py | 44 +++-
tests/__init__.py | 3
tests/test_flask_elections.py | 11 -
tests/test_flask_irc.py | 55 +++++
tests/test_flask_range_voting.py | 69 ++++++-
tests/test_flask_select_voting.py | 56 +++++
tests/test_flask_simple_voting.py | 54 ++++-
22 files changed, 401 insertions(+), 179 deletions(-)
---