18 Commits

Author SHA1 Message Date
a72eead432 Fix TODOs in openapi.yml 2025-01-22 20:12:52 +01:00
5668b1cd6a Insert election with uuid instead of auto-generated id 2025-01-20 10:04:15 +01:00
410e8f39d3 Add some more tests and implement getElection 2025-01-17 14:49:51 +01:00
c095e9ae0b Implement getElectionResults 2025-01-14 16:52:20 +01:00
2847c53bca Add doc for HTTP 400 on vote creation 2025-01-14 12:44:06 +01:00
ee847020f7 Add page to create an election 2025-01-13 19:58:42 +01:00
c7cccf2ec1 Use generated interface 2025-01-13 11:26:18 +01:00
c3563878b7 Add operationId for election results 2025-01-13 10:59:05 +01:00
cad5cfe636 Move voting to a new endpoint
/election/{id}/votes
2025-01-11 18:29:01 +01:00
86d7d0e881 Add some TODO and add 500 error responses in openapi.yml. Also write the endpoint for election results 2025-01-11 17:57:15 +01:00
0229f78976 Incomplete implementation of createVotes 2025-01-02 19:24:32 +01:00
9efe9a3537 Write validation for createVotesRequest 2025-01-02 18:12:48 +01:00
8d3ce36dd9 Add endpoint for POST /votes in openapi.yml 2025-01-02 18:05:27 +01:00
7f82a402de Document Location header in POST /election 2025-01-02 17:53:30 +01:00
195bc7d85e Generate voter data for known elections and simplify MaxVoters (0 = no maximum) 2024-12-30 23:01:32 +01:00
9e96be5ff2 Rename is_anonymous to are_voters_known 2024-12-30 15:37:23 +01:00
a22f3e5a71 Write logic for createElection validation 2024-12-28 17:13:22 +01:00
bc2ffce244 Start to code election insert 2024-12-27 14:38:30 +01:00