• Joined on 2024-06-02
dlmw pushed to master at dlmw/qv 2024-12-31 14:35:33 +00:00
14b7446d77 Add check for header in integration
dlmw pushed to master at dlmw/qv 2024-12-31 14:33:50 +00:00
225749f9b7 Fix spelling from last commit
dlmw pushed to master at dlmw/qv 2024-12-31 14:30:48 +00:00
ee21f00d3f Set Location header after creating an election
dlmw pushed to master at dlmw/qv 2024-12-31 14:29:29 +00:00
40f11c75af Add some integration tests with go-hit
dlmw pushed to master at dlmw/qv 2024-12-31 13:35:35 +00:00
c9b7a5796e Add tests for createElection handler
dlmw pushed to master at dlmw/qv 2024-12-30 23:20:04 +00:00
57bd72506b Fix validation logic and make code more readable
dlmw pushed to master at dlmw/qv 2024-12-30 23:09:33 +00:00
7beadf1538 Use exec for one-off queries
dlmw pushed to master at dlmw/qv 2024-12-30 23:06:26 +00:00
3c4cfe8e99 Enable foreign keys
dlmw pushed to master at dlmw/qv 2024-12-30 22:47:44 +00:00
e5e85d494e Use prepared statement
dlmw pushed to master at dlmw/qv 2024-12-30 22:40:57 +00:00
4ce099621d Move migration files
dlmw pushed to master at dlmw/qv 2024-12-30 22:15:27 +00:00
3074d0de93 Rename function
dlmw pushed to master at dlmw/qv 2024-12-30 22:13:44 +00:00
e446d4f747 Small refactor
dlmw pushed to master at dlmw/qv 2024-12-30 22:01:39 +00:00
195bc7d85e Generate voter data for known elections and simplify MaxVoters (0 = no maximum)
dlmw pushed to master at dlmw/qv 2024-12-30 21:02:38 +00:00
218f56c060 Implement graceful shutdowns
dlmw pushed to master at dlmw/qv 2024-12-30 19:53:56 +00:00
b5a1bfc247 Small code cleanup
dlmw pushed to master at dlmw/qv 2024-12-30 19:45:06 +00:00
4d73c122e3 Fix bug where maxVoters could be 0 while AreVotersKnown was true
dlmw pushed to master at dlmw/qv 2024-12-30 19:41:35 +00:00
29fb5880e3 Add migrations and continue implementing election insertion
dlmw pushed to master at dlmw/qv 2024-12-30 14:37:26 +00:00
9e96be5ff2 Rename is_anonymous to are_voters_known
c8413eaff8 Rename is_anonymous to are_voters_known
Compare 2 commits »
dlmw pushed to master at dlmw/qv 2024-12-28 16:58:07 +00:00
f1a951ce81 Write test skeleton
dlmw pushed to master at dlmw/qv 2024-12-28 16:13:40 +00:00
a22f3e5a71 Write logic for createElection validation