Commit graph

72 commits

Author SHA1 Message Date
cee339a8ed
beam database (unfinished), overloadedRecordDot, fourmolu, relude
also one fix where the "skip voting and see results" link is broken.
2025-08-25 07:54:36 -07:00
123bbe79b5 add ~/.cache to ci cache 2023-08-25 14:33:25 -07:00
54a2c97561 swap to port 8081 2023-08-21 19:35:35 -07:00
f793e26b34 no more tls in warp (nginx handles it now) 2023-08-21 17:58:27 -07:00
fff0b6175a no more tls & swap nix flake template 2023-08-21 17:52:33 -07:00
842bf44a88 added gitlab ci 2023-08-02 00:24:09 -07:00
8a8ede9fcc added gitlab ci 2023-08-02 00:22:32 -07:00
aaeac0cb63 setup nix 2023-08-02 00:07:37 -07:00
8732fbc43d InstantRunoff cleanup 2023-07-09 01:48:26 -07:00
ffb200c7e9 fix empty empty notVotedForCandidates problem 2023-07-06 20:09:05 -07:00
d54bcedad9 print Brandon's poll 2023-07-06 20:06:20 -07:00
d4b9090839 removed empty names from options list before solve 2023-07-06 19:58:05 -07:00
120040886f whoops, things were reversed again 2023-07-06 19:31:12 -07:00
8f5162b6ca move back to preference ranking 2023-06-25 13:36:50 -07:00
dfef7d4935 here's -> here are the results 2023-06-24 21:40:55 -07:00
357c6fb48d added left padding to options on voting page 2023-06-24 17:26:54 -07:00
b4e4e0b3c0 documentation 2023-06-21 05:00:00 -07:00
353f24315f different ordering method for non-first-place 2023-06-21 02:58:06 -07:00
620b45bfea instant runoff loser changes 2023-06-21 01:40:55 -07:00
f04a059f32 added explanation to the front page 2023-06-19 15:28:06 -07:00
651c86b136 fixed instant runoff bug
Candidates that were no ones first choice should have been eliminated
first. Instead, they were skipped.
2023-06-17 02:02:39 -07:00
7429c445a2 more minor results page styling
The trick was setting flex-direction to row-reverse, which makes the
option names hug their 1st, 2nd etc while still overflowing nicely and
sitting in the center of the page.
2023-06-17 01:09:36 -07:00
1a61d4aa3c whoops, results were accidentally reversed 2023-06-17 00:58:38 -07:00
5c7bb9e2a3 minor results page styling. Too much overflow previously 2023-06-17 00:58:15 -07:00
7830782c23 added flex-wrap so it doesn't look as bad when there's a billion results
in one place
2023-06-16 22:15:11 -07:00
59b849e7b0 fixed empty ballot problem 2023-06-16 22:12:21 -07:00
1683e8bf33 testing, print that weird poll 2023-06-16 22:09:45 -07:00
a701465d89 whoops, gotta filter empty votes 2023-06-16 22:01:59 -07:00
69d5795eed fail on >100 input lengths
This is already limited by <input> on frontend so it only happens if the user
deliberately crafts a malicious request
2023-06-16 20:22:31 -07:00
a84c096968 add -threaded and -N 2023-06-16 20:22:19 -07:00
c4c0bf48f1 update README and comments 2023-06-16 19:35:53 -07:00
bcf48bf622 freeze dependencies 2023-06-16 19:35:22 -07:00
15abe78b5e index page & http redirect 2023-06-16 19:27:06 -07:00
5dab23a97c organization & better results handling 2023-06-15 18:14:06 -07:00
747f2d071c small style changes 2023-06-15 13:29:07 -07:00
eed32d77d3 added results screen 2023-06-15 13:26:19 -07:00
ec5ff41168 ballot page now looks good 2023-06-12 19:39:48 -07:00
eb50e5e5a0 pesky changing ids bug squashed & added js libraries
Now that the bug is squashed, I no longer need to pin acid-state to a
specific version (I previously thought it was a bad version, it was
actually storing the StdGen in the DB). Also you can now get a
ballot (though not submit it).
2023-06-12 12:35:38 -07:00
0e7f25e617 readme changes to reflect new htmx instructions 2023-06-12 07:39:14 -07:00
fd52dfd3b1 deleted schema.sql 2023-06-11 14:28:00 -07:00
4f56848dfe cleanup 2023-06-11 13:58:49 -07:00
08fac08844 remove idle-time garbage collection 2023-06-11 08:01:50 -07:00
c650a5c5ab .gitignore cleanup 2023-06-11 07:57:33 -07:00
be8cd0959b undoing database commit to repo 2023-06-11 07:57:17 -07:00
ad73073f1d maximum length of 100 for all inputs 2023-06-11 07:55:12 -07:00
583506df02 centered create page & changed create submit button 2023-06-10 21:09:06 -07:00
b8b7d8a198 swap to htmx 2023-06-10 20:26:26 -07:00
47989ab012 changed --with-ssl to --with-tls 2023-05-27 12:19:57 -07:00
bb8b26dedb added TLS 2023-05-27 12:17:51 -07:00
c9eae072b9 it works! 2023-05-26 21:17:24 -07:00