1056 Commits

Author SHA1 Message Date
David Ernst
707e95ba98 checkJwt() needs to await too, for pushover alerts 2026-04-17 02:54:30 -07:00
David Ernst
8fe6dd3eee await pushover notifs 2026-04-17 02:44:13 -07:00
David Ernst
ad442537c5 api/hack-siv/register: Improve error handling 2026-04-17 02:21:43 -07:00
David Ernst
950c7095f8 Merge pull request #303 from Arkshine/api-election-by-homepage
Add api/election/by-homepage
2026-04-14 15:17:40 -07:00
David Ernst
0419d9fb24 Local script to lookup voter contact info 2026-04-11 19:58:34 -07:00
David Ernst
6a07de17cf Malware check report: Include voter email address 2026-04-11 19:18:34 -07:00
Arkshine
bea941f9e0 Include election_homepage as well
So we can double-check in the TC.
2026-04-11 00:04:48 +02:00
David Ernst
e862ea8162 Allow unarchiving archived elections 2026-04-09 20:08:53 -07:00
David Ernst
47b08d84b0 Let admins archive elections from their list 2026-04-09 18:47:30 -07:00
Arkshine
997b3ed723 Adjust the returned fields to the minimum 2026-04-09 19:33:28 +02:00
Arkshine
454203628f Add api/election/by-homepage 2026-04-08 03:54:45 +02:00
David Ernst
765cb7c277 Forward 'Account Approved' emails to admin@siv 2026-03-27 00:28:46 -07:00
Ariana I.
d43c29cd5f admin-create-account.ts: Use same snake_case var names 2026-03-26 15:17:04 -07:00
Ariana I.
35b6300435 api/admin-create-account.ts: Minor code cleanup 2026-03-26 15:10:24 -07:00
Ariana I.
34cdef6c45 Cleanup admin-create-account.ts 2026-03-26 14:58:48 -07:00
Ariana I.
e3dd51ddf7 EnterCodePage -> EnterLoginCodePage 2026-03-26 12:21:47 -07:00
Ariana I.
bc86614e97 sendEmail: When mailgun rejects for sandbox, print email to console 2026-03-25 20:41:16 -07:00
Ariana I.
5e4f2a3f65 Merge branch 'main' into StartVoteH26 2026-03-25 17:23:59 -07:00
Ariana I.
357d843c2c Improve internal email structure for admin requests 2026-03-25 17:15:07 -07:00
Ariana I.
197fd2ebba StartVote: place no account found directly under the Email field, not above 2026-03-25 16:31:24 -07:00
Ariana I.
32e8e3a8bc StartVote: begin updating UI flow if no account 2026-03-25 16:28:51 -07:00
Ariana I.
4df0907f82 StartVote: only email is required to request account 2026-03-25 15:52:56 -07:00
Ariana I.
aa8140924e Start Vote: if no account, ask about Election Details 2026-03-25 15:32:53 -07:00
David Ernst
7768215c66 Archive old 2022 one-off scripts 2026-03-24 06:15:31 -04:00
David Ernst
f66fdee9ee api/recent-elections: Show unlocked as % 2026-03-23 12:09:09 -04:00
David Ernst
18075858a4 api/recent-elections: More compact when no votes yet 2026-03-22 07:35:39 -04:00
David Ernst
164fc0a576 admin: Use aggregation query for all_your_elections.count 2026-03-21 16:13:08 -04:00
David Ernst
c569f78f0a cache-accepted.test: 15s timeout for test#2 2026-03-21 15:03:53 -04:00
David Ernst
02b896151f notify unlocked: Fix pluralization for 1 vote only 2026-03-21 11:59:27 -04:00
David Ernst
64bbc79ee5 /recent-elections: Add e.id 2026-03-21 11:34:54 -04:00
Ariana I.
35828789c3 Deploy new 2026 homepage 2026-03-10 13:49:08 -07:00
David Ernst
ef1b89bb2b pages/homepage-2026.tsx: Move all logic into src/Homepage2026.tsx 2026-03-10 04:36:47 -07:00
David Ernst
04d920568d pages/resources.tsx: Move all logic into src/ResourcesPage.tsx 2026-03-10 04:35:12 -07:00
Ariana I.
4b145263c3 Begin setting up Resources 2026-03-05 15:33:20 -08:00
Ariana I.
b2812b5f26 prettier homepage-2026 file 2026-03-03 19:22:04 -08:00
Ariana I.
435bdf2565 Began Homepage2026 structure 2026-02-22 01:21:10 -08:00
David Ernst
87b5a7673e /fvxp/become-patron: Update email recipient 2026-02-18 13:16:34 -08:00
David Ernst
01f89dea43 fvxp: /patron: Tweak email formatting 2026-02-17 05:15:00 -08:00
David Ernst
70169b4773 fvxp: /become-patron: Remove extra newline 2026-02-17 05:12:40 -08:00
David Ernst
408594f7a2 /api/fvxp/suggest-category: Accept {category: string} 2026-02-17 04:40:01 -08:00
David Ernst
97f7493936 Add /api/fvxp/become-patron 2026-02-17 04:26:44 -08:00
David Ernst
6722ece628 Add /api/fvxp/suggest-category 2026-02-17 02:17:54 -08:00
David Ernst
91366aef27 Create /api/fvxp/register 2026-02-17 02:02:52 -08:00
David Ernst
a5da57b5d3 Don't attempt to send emails to @example. addresses 2026-01-30 17:24:26 -08:00
David Ernst
8e656f40bd api/submit-vote: early return if election_id missing 2026-01-30 17:19:58 -08:00
David Ernst
de108df30d Dedupe useSWRExponentBackoff when called multiple times 2026-01-30 17:06:52 -08:00
David Ernst
695a5ff350 Don't warn about bad auth token lookups for 1a2b3c4d5e 2026-01-28 11:47:14 -08:00
Ariana I.
dc23f62c71 /submit-vote: don't crash for mailgun sandbox errors 2026-01-26 14:52:34 -08:00
David Ernst
972843591a admin debug new_voters_raw: Use new Date() instead of serverTimestamp() 2026-01-26 13:51:07 -08:00
Ariana I.
893614d26a Admin: store addVoters_raw for debugging 2026-01-26 13:46:10 -08:00