|
5570dca6c9
|
Use cgo-free SQL driver and add limit of 100 to maxVoters
|
2025-01-21 09:17:40 +01:00 |
|
|
5668b1cd6a
|
Insert election with uuid instead of auto-generated id
|
2025-01-20 10:04:15 +01:00 |
|
|
27d166dad6
|
Implement page to vote and fix trigger
|
2025-01-17 16:48:38 +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 |
|
|
f22710464b
|
Add TODO
|
2025-01-13 22:10:12 +01:00 |
|
|
e8ced857e0
|
Remove comments
|
2025-01-13 20:41:41 +01:00 |
|
|
d1225d3258
|
Fix slow-ass code
|
2025-01-13 20:06:55 +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 |
|
|
49a1df06d2
|
Dirty implementation of createVotes
|
2025-01-08 13:57:49 +01:00 |
|
|
ca824726b4
|
Return err
|
2025-01-02 19:27:56 +01:00 |
|
|
a9278366dd
|
Remove useless intermediary variable in elections.go
|
2025-01-02 19:27:31 +01:00 |
|
|
0229f78976
|
Incomplete implementation of createVotes
|
2025-01-02 19:24:32 +01:00 |
|
|
8d3ce36dd9
|
Add endpoint for POST /votes in openapi.yml
|
2025-01-02 18:05:27 +01:00 |
|
|
941e9a36fb
|
Add more test cases and add UniqueValues check
|
2025-01-01 19:47:55 +01:00 |
|
|
57bd72506b
|
Fix validation logic and make code more readable
|
2024-12-31 00:19:53 +01:00 |
|
|
7beadf1538
|
Use exec for one-off queries
|
2024-12-31 00:09:30 +01:00 |
|
|
3c4cfe8e99
|
Enable foreign keys
|
2024-12-31 00:06:19 +01:00 |
|
|
e5e85d494e
|
Use prepared statement
|
2024-12-30 23:47:40 +01:00 |
|
|
4ce099621d
|
Move migration files
|
2024-12-30 23:40:52 +01:00 |
|
|
195bc7d85e
|
Generate voter data for known elections and simplify MaxVoters (0 = no maximum)
|
2024-12-30 23:01:32 +01:00 |
|
|
29fb5880e3
|
Add migrations and continue implementing election insertion
|
2024-12-30 20:41:28 +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 |
|