Skip to content

Views and path for communal election/vote archived results#2460

Merged
Tschuppi81 merged 93 commits into
masterfrom
feature/ogc-3103-wab-communal-elections
Jul 16, 2026
Merged

Views and path for communal election/vote archived results#2460
Tschuppi81 merged 93 commits into
masterfrom
feature/ogc-3103-wab-communal-elections

Conversation

@Tschuppi81

@Tschuppi81 Tschuppi81 commented May 1, 2026

Copy link
Copy Markdown
Contributor

ElectionDay: Adds support for eCH-0252 V2 and views for municipality results

TYPE: Feature
LINK: ogc-3103

treinhard and others added 21 commits March 13, 2026 10:52
Return proper errors in JSON for 401 and 500 errors.

TYPE: Feature
Replaces existing pre release support.

TYPE: Feature
HINT: New version of xsdata-ech required, run `make update`
Required for large eCH 0252 XML files.
Deleting all elections on the same date that are not in the current
eCH 0252 delivery is to aggressive. Remove only elections in the
same ElectionCompound.

TYPE: Feature
@linear

linear Bot commented May 1, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented May 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.56977% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.42%. Comparing base (4654d39) to head (8c40a37).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/onegov/election_day/cli.py 28.57% 15 Missing ⚠️
src/onegov/election_day/views/upload/rest.py 71.42% 6 Missing ⚠️
...negov/election_day/formats/imports/election/ech.py 96.00% 2 Missing ⚠️
...rc/onegov/election_day/formats/imports/vote/ech.py 0.00% 2 Missing ⚠️
...negov/election_day/collections/archived_results.py 98.85% 1 Missing ⚠️
src/onegov/election_day/forms/election.py 83.33% 1 Missing ⚠️
src/onegov/election_day/forms/vote.py 66.66% 1 Missing ⚠️
src/onegov/election_day/models/principal.py 90.90% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
src/onegov/election_day/collections/__init__.py 100.00% <100.00%> (ø)
src/onegov/election_day/formats/imports/common.py 92.48% <100.00%> (+3.07%) ⬆️
src/onegov/election_day/forms/upload/ech0252.py 100.00% <100.00%> (ø)
src/onegov/election_day/forms/upload/rest.py 100.00% <ø> (ø)
src/onegov/election_day/forms/upload/vote.py 100.00% <ø> (ø)
src/onegov/election_day/layouts/default.py 93.98% <100.00%> (+0.45%) ⬆️
src/onegov/election_day/layouts/manage.py 96.59% <100.00%> (+0.66%) ⬆️
src/onegov/election_day/models/__init__.py 100.00% <100.00%> (ø)
src/onegov/election_day/models/archived_result.py 100.00% <100.00%> (ø)
src/onegov/election_day/path.py 97.20% <100.00%> (+0.37%) ⬆️
... and 13 more

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4654d39...8c40a37. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Tschuppi81
Tschuppi81 force-pushed the feature/ogc-3103-wab-communal-elections branch from 4327366 to f97a226 Compare June 12, 2026 11:14
@Tschuppi81
Tschuppi81 merged commit 4190ad6 into master Jul 16, 2026
26 checks passed
@Tschuppi81
Tschuppi81 deleted the feature/ogc-3103-wab-communal-elections branch July 16, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants