2504 Commits

Author SHA1 Message Date
David Ernst
a111e989e2 Merge branch 'main' into HackSIV 2024-07-20 18:56:28 +03:00
David Ernst
66fd308720 /hacksiv: Tweak text 2024-07-20 18:51:23 +03:00
David Ernst
9964ca21e3 unlock: Better error handling if election missing threshold_public_key 2024-07-18 18:33:59 +03:00
David Ernst
76e559fef0 Sript to approve all pending votes 2024-07-18 18:28:59 +03:00
David Ernst
1ed6891a6b Script to copy pending vote data to cloned election 2024-07-18 18:13:31 +03:00
David Ernst
c4d84d7b83 vote: Turn on RCV console.log(plaintext) 2024-07-17 17:23:52 +03:00
David Ernst
536278dbde vote: Sort RCV write-in in real time too 2024-07-17 17:21:48 +03:00
David Ernst
6b434a7b84 vote: Fix RCV write-in error position on mobile 2024-07-17 14:59:16 +03:00
David Ernst
9c85c1b4f6 vote Item Option <Label />: Convert styled-jsx to tw 2024-07-17 14:54:48 +03:00
David Ernst
9a4e5a97e3 vote: Unbold RCV ordinal labels (1st, 2nd, 3rd...) 2024-07-17 14:51:37 +03:00
David Ernst
9c6ec6dd94 vote: Remove extra mb under item.description 2024-07-17 14:50:57 +03:00
David Ernst
558f926d95 vote: Bold candidate names 2024-07-17 14:50:35 +03:00
David Ernst
84740dca4f vote item Title: Don't show empty y-margins if item.title not present 2024-07-17 14:39:23 +03:00
David Ernst
059a84850d vote TitleDescriptionQuestion: Replace styled-jsx w/ tw 2024-07-17 14:38:40 +03:00
David Ernst
d998c0557b vote: Tighter x-padding on small screens 2024-07-17 14:32:31 +03:00
David Ernst
4acd05cff3 status: Fix loading-in new pending votes 2024-07-17 13:37:57 +03:00
David Ernst
f9a96293fe api/nap/stats: More simplification 2024-07-17 13:20:56 +03:00
David Ernst
b617a44f07 api/nap/stats: Simplify a tad 2024-07-17 13:17:23 +03:00
David Ernst
820d031683 api/nap/stats: Slight tweaks 2024-07-17 13:12:37 +03:00
David Ernst
2f184d976b /api/new-american-primary/stats 2024-07-17 13:02:50 +03:00
David Ernst
b39319a3c2 vote: Support optional submission_confirmation string 2024-07-17 11:47:31 +03:00
David Ernst
3703ee44ae status: Support 'Election Homepage' config 2024-07-17 10:40:37 +03:00
David Ernst
f6191e08aa status AcceptedVotes: Finish styled-jsx to tw 2024-07-17 10:28:33 +03:00
David Ernst
1daffab1eb status AcceptedVotes: Even more styled-jsx to tw 2024-07-17 10:26:29 +03:00
David Ernst
f6236e8e3b status AcceptedVotes: Yet more styled-jsx to tw 2024-07-17 10:23:04 +03:00
David Ernst
b2f11f8c6a status AcceptedVotes: More styled-jsx to tw 2024-07-17 10:17:39 +03:00
David Ernst
ee0f769958 status page: Specify num new pending votes to load, separate from new total votes 2024-07-17 10:07:26 +03:00
David Ernst
86e56f028c cleanup: Move stringifyEncryptedVote to only file using it 2024-07-17 08:28:29 +03:00
David Ernst
729c8a087f api/recent-elections: num_votes are now total, not just approved 2024-07-17 08:23:34 +03:00
David Ernst
ac2b4ff7f2 status: auth=pending: smaller, faded, italics 2024-07-17 07:44:49 +03:00
David Ernst
2cf8a7415d election status: Include votes-pending 2024-07-17 07:42:30 +03:00
David Ernst
abc5f287b5 status AcceptedVotes: Begin converting styled jsx to tw 2024-07-17 07:34:16 +03:00
David Ernst
3eff35254e submit-vote: Pending-votes should also increment num_votes 2024-07-17 07:29:39 +03:00
David Ernst
1f3e8f7c4d /admin/observers: Fix Invite Delivered cell border 2024-07-16 13:36:06 +03:00
David Ernst
59dfe98ee7 trustee DKG: Fix DeriveKey type error 2024-07-16 12:29:01 +03:00
David Ernst
c9ae0aa76f vote: Disable RCV bubble hovers on mobile 2024-07-15 19:17:36 +03:00
David Ernst
a85d6a86d9 Ensure RCV empty write-in doesn't cause holes 2024-07-15 18:23:10 +03:00
David Ernst
cc60be774c RCV animated sorting: Minor code simplification 2024-07-15 18:17:24 +03:00
David Ernst
ac9a6fa563 vote: Animate-sort RCV selections at top 2024-07-15 18:15:18 +03:00
David Ernst
6666f53a23 vote: Shouldn't reshuffle when selecting options 2024-07-15 16:15:41 +03:00
David Ernst
40f0d09945 vote: Fix randomize_order FOUC 2024-07-15 16:02:51 +03:00
David Ernst
cd66535d43 Remove git push dependency on yarn 2024-07-15 15:03:12 +03:00
David Ernst
ea972f00b7 DRY up /admin/BallotDesign/AdvancedFeatures 2024-07-15 15:01:57 +03:00
David Ernst
b22f49e37a /admin/ballot: Add question.description to Advanced Features 2024-07-15 14:43:43 +03:00
David Ernst
677778dcc2 /vote: support ballot_design.question.randomize_order 2024-07-15 14:36:55 +03:00
David Ernst
93cb345564 /admin/ballot-design: Document option.sub feature 2024-07-15 14:24:10 +03:00
David Ernst
c49b6349e7 /admin/ballot-design: Document 'randomize_order' feature 2024-07-15 14:20:14 +03:00
David Ernst
62dd5d4dc1 api/new-american-primary/auth: stringify req.body before storing 2024-07-13 22:54:08 +03:00
David Ernst
4970cb095f Enable CORS for /new-american-primary/auth 2024-07-13 13:48:00 +03:00
David Ernst
0625b76d0e api/recent-elections: Add pending-votes count 2024-07-09 22:45:06 +03:00