- Adds migrations for related_link and related_link_label. [dadadamotha]
- Adds label (de, fr...) for related link macro. [dadadamotha]
- Adds a helper for getting the district of a distinct election. [msom]
- Adds ON DELETE CASCADE constraints to various models. [msom]
- Improves the performance of deleting election and vote results. [msom]
- Presets ballot ids. [msom]
- Adds a configuration option to show/hide mandate allocation view of election compounds. [msom]
- Fixes incompatibility with SQLAlchemy 1.3.0. [href]
- Adds an expats attribute to elections and votes. [msom]
- Fixes calcualtion of the candidates percentages by entity and district. [msom]
- Adds a configuration option to enable/disable party strengths of election compounds. [msom]
- Fixes percentages of votes aggregations. [msom]
- Allows to group ballot results by districts. [msom
- Adds candidate collections. [msom]
- Adds list collections. [msom]
- Adds the percentages of votes by entites and districts to candidates. [msom]
- Adds the percentages of votes by entites and districts to lists. [msom]
- Doesn't use a default absolute majority (of zero). [msom]
- Adds an upgrade step to set the a default majority types to elections. [msom]
- Adds a majority type attribute to elections. [msom]
- Allows to store related elections. [msom]
- Allows to change the ID of elections and votes. [msom]
- Refactor election compound model. [msom]
- Adds a distinct property to elections. [msom]
- Optimizes the ballot model. [msom]
- Exports the parties panachage data from the blank lists. [msom]
- Improves calculation of last changes. [msom]
- Adds (party) panachage results to proporz elections. [msom]
- Renames has_panachage_data to has_lists_panachage_data [msom]
- Export the election compound panachage data together with the party results. [msom]
- Adds panachage results to election compounds. [msom]
- Adds party results export. [msom]
- Adds party results to election compounds. [msom]
- Returns elections of election compounds always as lists. [msom]
- Fixes upgrade steps. [msom]
- Adds a setter for elections to election compounds. [msom]
- Adds election compounds. [msom]
- Adds a counted attribute to election results, removes total_entities and counted_entities from election. [msom]
- Adds a new domain of influence: region. [msom]
- Fixes spelling of "eligible voters". [msom]
- Fixes json output of elected candidates. [href]
- Splits the group attribute of results to a district and a name attribute. [msom]
- Adds a helper for getting the title translations. [msom]
- Uses the default locale of the site to auto-generate the ids of elections and votes. [msom]
- Requires Python 3.6. [href]
- Adds a helper to check if elections and votes have results. [msom]
- Adds tacit elections. [msom]
- Improves calculation of last changes. [msom]
- Makes votes and elections polymorphic. [msom]
- Improves last result change for votes. [msom]
- Split models and collections to separate files. [msom]
- Adds title with translations to ballots. [msom]
- Adds vote type and related links. [msom]
- Allows to clear the results. [msom]
- Exports all translations of the titles. [msom]
- Fixes upgrade step. [msom]
- Fixes upgrade step. [msom]
- Fixes upgrade step. [msom]
- Adds party field to candidate. [msom]
- Fixes spelling in candidates and candidates_results tables. [msom]
- Adds new columns (year, color, total votes) to party results. [msom]
- Adds a status (unknown, interim, final) to elections and votes. [msom]
- Evaluates the party results for the last modification date of an election. [msom]
- Fixes vote model returning integers in some instances. [msom]
- Adds a function to get the names of the elected candidates. [msom]
- Return the progress of a vote in relation to its entities, not ballot result groups. [msom]
- Report empty votes as being uncounted. [msom]
- Adds a model for party results. [msom]
- Improves the election export. [msom]
- Adds a model for panachage results. [msom]
- Fixes handling of changed model relationships. [msom]
- Changes vote model relationships. [msom]
- Fixes onegov.ballot not working with SQLAlchemy 1.1. [href]
Adds a new domain of influence: municipality.
This release includes some breaking changes!
- The following rows have been renamed:
- Election.total_municipalities -> Election.total_entities
- Election.counted_municipalities -> Election.counted_entities
- ElectionResult.municipality_id -> Election.entity_id
- BallotResult.municipality_id -> Election.entity_id
The election and vote exports have changed their columns accordingly.
[msom]
- Orders the collections by date, shortcode and title. [msom]
- Returns the yay and nay percentages even though votes have not fully been counted. [msom]
- Adds pagination to collections. [msom]
- Changes the behaviour of the last_result_change function to include the last change of the election/vote, too. [msom]
- Adds the number of allocated mandates to the list connection model. [msom]
- Adds more information to the election export. [msom]
- Adds meta columns for elections and votes. [msom]
- Allows duplicate election and vote titles. [msom]
- Adds absolute majority for majorz elections. [msom]
- Adds models for elections. [msom]
- Enables translation of the votes title in the database. [href]
- Adds the ability to create an exportable representation of a vote. [href]
- If nobody votes on an issue the yeas percentage is now assumed to be 0%. Before it was undefined and lead to a division by zero. [href]
- Changes the votes order to date, domain, shortcode, title. [href]
- Adds a last_result_change property on the vote, indicating the last time a result was added or changed. [href]
- Adds a shortcode to each vote for internal reference. [href]
- Adds the ability to query the votes by year. [href]
- Removes Python 2.x support. [href]
- Fixes the counts/results/percentages for votes without results. [href]
- Yeas/Nays on the vote are no longer simple summations if a counter-proposal is present. In this case, the absolute total is taken from the winning proposition (say the yeas of the proposal or the counter-proposal, but not a merge of the two.). [href]
- Renames the "yays" to "yeas", the correct spelling. [href]
- Remove support for Python 3.3. [href]
- Adds support for onegov.core.upgrade. [href]
- Each ballot result now needs a municipality id, a.k.a BFS-Nummer. [href]
- Initial Release