Tag 'v2.0' created by Pierre-Yves Chibon <pingou(a)pingoured.fr> at 2014-07-16
07:09 +0000
Release 2.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlPGJSMACgkQ2HRbBxDocwoiiACcDLLcVb6o6snh0IjFvRKa/lb5
DAMAn3MDqby6Xhvp8xj+FXnrDj3E2T9d
=XZPo
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Frank Chiulli (21):
httpd/wsgi now working
Change for RPM
Change for RPM
Changes to support building a good package
Fix no elections issue
Add elections owner to db
Specify dummy FAS account
Fix db issues
Add task
Fix processing 'My Elections'
Add constraint to votes table
Update instructions
Restructure.
Create simple vote election
More simple voting updates
Add info to clone git repo
Update task list
Update version
Update directory path
Update directory path
Updates for new version
Ian Weller (2):
Initial commit with mostly-working admin
List frontpaged elections on front page
Kamal Ejaz (1):
Add lines in Admin and vote lib
Luca Foppiano (2):
Close ticket #1 : add default sort order to candidates and to votes
Fixed #6: Write documentation
Mark Chappell (13):
Redirect to the edit page when you create an election
https://fedorahosted.org/elections/ticket/26
Add candidates through the Election Edit page
Split the main elections lists into 3, Past, Present, Future
initial code for election 'admins', so far this only allows the bypassing of
an embargo
Add in code to have per election 'admins'
When editing election reference them by id.
Replace the heading in newc and newe to be more descriptive than 'Welcome to
Turbogears'
Bump version up to 0.4 prior to rebuild
use tg.checker rather than a nasty if clause
put something useful into the changelog
Add new admins to ElectionAdmins rather than LegalVoters. Replace \t with '
'
Add a little more detail to the changelog
Nigel Jones (89):
mv dev.cfg & ignore
Small cleanup
Schema/Model:
Controllers:
Controllers:
Close ticket #2 (Vote confirmation page)
Update svn:ignore & start controller for editing
WIP - Edit Elections
Implement Range Voting!
Comment out the debugger, enable date checks
SCHEMA CHANGE
Gaa, handle ValueError for non integers
More changes... a results page\!
Silly mistake
Add some sanity checking
Add election and election_started to info's dict so we can disable the form
because the election starts, also show results if the election has ended.
Just some WIP stuff relating to creating elections + string correction
Some working signs of adding elections... needs A LOT of work
FAS Identity Configured
Slight corrections but otherwise... IT WORKS
More identity checking - WIP
New Files - WSGI Voodoo and COPYING (GPL 2)
Additions/Deletions:
Opps, missed this one
Renames:
baseurl->tg.url changes and a small tweak to setup.py
Misc Bug Fixes
Okay, I was doing it all wrong...
Template changes, why have info links if they goto self, I think this is the cause
of the 500 errors
* elections.sql
Small template name changes
Oppsie
* controllers.py:
Something went wack, I was getting DOS EOLs
Update to 0.1.0!
Small spelling corrections
More bugfixes
Merge Rickys fix and fix links as reported to webmaster
Controllers update to close Ticket #18 \(Typo after voting has been done\)
String and CSS updates
Hmmm the typo dtimms found didn't find it's way back to master.
Schema changes
Setup .gitignore
.gitignore & schema changes
Make adding candidates easier
Embargoed entry...
Add check for 'anycla' (any group bar CLA)
gitignore update
Add embargoed check
Old spec file...
Bump to 0.1.5
Update manifest.in
Fix a little oopsie!
Schema oopsie
WIP
Just to be sure...
SP Fix...
Merge branch '0.1.5'
Change where fas2 is loaded from (API change)
Make some small adjustments
Update SQL schema
I hate .txt....
Clean UPDATE-NOTES
Split off /vote/ this won't work yet...
Actually, this might just work
Readapt /admin/newe/ (new election form) and / (main election list) for new schema,
also fix up SQL schema
Fix up adding new candidates
Make /about/foo work again...
Votes can now be recorded
And now one can see the results... everything now uses the new schema (I think)
Fix SQL for timestamps...
Better way to determine if to translate candidate names via FAS or not
Import FAS correctly
Grab Candidate's name from FAS when election is set to usefas - part 1
Grab Candidate's name from FAS when election is set to usefas - part 2/2
Get rid of /admin/ and make admin stuff API only...
Fix admnewe.html for now, fix API (thanks Toshio)
Update to about.html to start nomination stuff, also dos2unix a heap of files...
Commit minor edits to SQL
Just a tiny change
Random fix ups to make the current code work as the old did.
Changes/updates to SQL schema
Minor update again to bring it in line with whats actually required.
Fix missing comma
Merge branch 'master' of
ssh://fedorahosted.org/git/elections
Bump to 0.2.0 for production
Missing import (oops!)
Add a verification page to the elections application.
[Ticket #30] Selected the wrong field - bad mistake.
Pierre-Yves Chibon (128):
Import port of Elections to TG2.
Let's rely on python-fedora-turbogears2 rather than python-fedora-turbogears
Enhance documentation on how to setup elections
Let's do the default DB in sqlite
Remove old prints and comment out admin not used
Remove prints and rework the entry into the database of the dates
Start porting the model to SA
Start removing View from the application.
Code layout in the template
Remove everything so that we can put the flask port on the top of this
Fix the forms to use directly wtforms instead of flask-wtf
Do not run on port 80 by default as this will conflict with any apache server
running
Remove the sample createdb.in and the corresponding python script
Populate the default config with the values present in the sample development
configuration file
Remove un-necessary configuraiton file now that everything is moved to the
default_config
Remove queries from the form
We cannot have 0 elections, this is taken care of in the controller
We cannot have 0 elections, this is taken care of in the controller
We cannot have 0 elections, this is taken care of in the controller
Rework the models.py file to port it to plain SQLAlchemy
Port the flask application away from flask-sqlalchemy
We no longer have a development configuration file to use on the tests
Adjust the tests to run on the current application
Add script to easily create the database required to work on elections
Add decorator when login is required
Adjust requirements
Bug fix in Vote.of_user_on_election() method to account for the count argument
Fix retrieving a valid election that have ended
Fix typo when retrieving a valid election
Adjust the runserver script
Reduce indentation
pep8 fixes
Style change
Port from flask-fas to flask-fas-openid
Adjust the requirements to list python-fedora and not flask-fas
Remove the login form, no longer needed
Little clean up in the master template
Remove the login template, no longer used
Add some missing dependencies
Fix link, we have auth_login not login here
Create a dedicated function to check is the user is an admin
Add a top level __version__ and use this in the setup.py
Inject some variables into every templates
If there is no elections, keep going this will be our admin index page
Add the election logo
Add the images used by jQuery
Add jQuery and our jQuery UI
Add jQuery CSS
Add the koji.css our base and the elections.css dedicated to elections
Update the base template to the new theme
Inform the user if we have no election on the front page
Update the template used as front page of the admin section
Add dedicated macro to present the fields of a form in row
Fix the page for adding a new candidate
Rework the add election form
CSS fixes: bring back the coloring when validating a vote - remove unused css
Remove images we will no longer use
Rework the add election form
Update the template used as front page of the admin section
Fix the Election.get_open_election method and add Election.get_next_election
Add tags to display the menu correctly
Change the front page to display some information about the current, future and past
elections
Small css fix to give a little space around the tables
Remove the frontpage boolean/checkbox from the form as we no longer use it
Add a little text to the front page of elections
Update the template used as front page of the admin section
Add form to add multiple candidates in one go
Add the template to add multiple candidates to an election
Add the controller to import multiple candidates in one go
Add link on the admin page of an election to import multiple candidates
Specify clearly that URL are optional when uploading multiple candidates
When running elections2 locally, activate the debug mode
Mark with a red starts the field mandatory when creating an election
Small style change and add information message when displaying embargoed results
The FAS client is FAS2 not fas2
Add method in the Vote class to retrieve some stats on a specified elections
Provide in the election result page some statistics about the election
Fix the status property of an election
Fix the FAS2 client insecure settings
Clean configuration file
Rename the is_elections_admin function to is_admin
Add a generic is_election_admin checking if the user is in the admin group set for
an election
No need for the runserver script, elections can now run with the default
configuration
Move the spec file and the sample configuration file into the files folder
Ignore .egg-info files in the git
Remove the no-longer needed configure script
The apache configuration file should be commented out by default
Rename the example apache configuration file
Small adjustments to the example wsgi file
Rename the example wsgi file for fedora_elections
Remove the `shell` script now that there is no longer development.cfg file
Remove configuration key that is not used anywhere
Update the setup.py script
Include a MANIFEST.in files listing which files should be present in the releases
Update the spec file to the changes made in the setup.py and directory structure
Ignore the build and dist folders from the sources
Simplify the .gitignore file
Add example configuration file explaining as well all the configuration keys
The spec file has moved to the files folder
Fix the createdb.py script regarding jinja2
Adjust the spec file to correspond to the configuration file
Include /usr/share/fedora-elections/ in the spec file
The first release will need to be 2.0
Rename the field `election.summary` into `election.shortdesc`
Remove the frontpage field in the elections table
Rename the number_elected back to seats_elected in the elections table
Change the embargoed field from Boolean to Integer
Remove the `role_required` field in the electionadmingroups table
Change the __tablename__ from electionadmingroups to electionadmins
Fix the order_by date to order in the dates in descending order
Fix the default title in the base master
Give the total number of candidates in the view_election table
Cover case where there has been 0 votes, thus fixing the division by 0
When importing multiple candidates flash the number of candidates imported
pep8 fixes
Fix import the configuration file specified by the environment variable
Fix ordering of the imports
Add sql upgrade script, allowing to convert the database from elections v1 to v2
Add a dedicated is_authenticated method and use it in the decorators
Set flask.g.fas_user to None upon logout
If the user is authenticated, only show election that the user can vote on
Order the results returned by elections.search() by election date (most recent
first)
List all the elections to the admins
Adjust the `Vote now!` links in the open elections tab
Little css fix to have the same padding on each side of a table cell
When retrieving vote counts, only consider votes above 0
Install the update_1_to_2.sql upgrade sql script to /usr/share/fedora-elections
Update the changelog date for 2.0 and changelog content
Pierre-Yves Chibon py(a)chibon.fr (2):
Clean root controller and add log in mechanism for TG2
Clean and add authentication constraints
Ralph Bean (7):
Added preliminary requirements.txt.
Move kitchen above python-fedora in the requirements.txt list.
Add a fedmsg development config.
Add fedmsg to the list of requirements.
Emit a fedmsg message when a new election is created.
Revert "Add fedmsg to the list of requirements."
Make fedmsg optional with a shim module.
Ricky Zhou (7):
Initial import.
Initial theming.
tg => turbogears
Fix other bug.
One more tg => turbogears
Add missing comma.
Add MANIFEST.in
Toshio Kuratomi (26):
Preliminary port to using jsonfas2 with csrf protection.
Switch apache config to Location
Don't need SABase here.
Fix import of python-fedora login/logout controller methods.
Fix parameter and variable to be the same
Return the appTitle as well
Move config from the wsgi script into the config file.
Fix erroneous removal of tg_flash from the master template.
Don't error out if human_name is unavailable
Include spec and ini file in the tarball
Remove all rights reserved from source and footer of page
Correct typo in string
Bring back the elections.sql file
Make the elections administration group configurable
Merge branch 'master' of
git+ssh://git.fedorahosted.org/git/elections
Add a TODO file
Add unittests -- currently just a few smoketests
Fix traceback for hitting logout when the user is not logged in
Add ability to specify site-specifc css
Smoketesting now covers all urls' GET method.
A few more todo items: i18n, more paranoid error handling
Add two new pages for dsmoketesting
Add an implementation of a page about an election
Some more pages and functions that are blockers
Merge the about page into the vote page
Rest of the changes to merge about into vote
fchiulli (6):
Lots of updates/changes
Test git push
Test again
Fix AccountSystem call
Update documentation
Correct version
tremble (7):
Early bashes at an admin homepage
Also catch AuthErrors, generally caused by not being able to fully log into FAS
Controller for early bash at an admin homepage
Add the magic to look up FAS Group names
Final first hash of editing an election
Cope slightly better with a lack of alias when displaying lists of elections
More coping with missing aliases