180 Commits

Author SHA1 Message Date
Uma Roy
ba2480d418 Merge branch 'main' of github.com:joeltg/zk-group-sigs-server into main 2021-11-20 02:16:49 -05:00
Uma Roy
f11a40aeaa Adds backdoor & verification button & makes user icon for deny show up. Probably some other stuff too 2021-11-20 02:15:36 -05:00
Joel Gustafson
efa75be8bb add publicSignals to schema 2021-11-20 02:12:37 -05:00
Joel Gustafson
f0f1c999f4 update prisma schema to have public signals for reveal and deny 2021-11-20 02:12:37 -05:00
raymondz
24bebb00c0 Add port for heroku 2021-11-20 02:08:22 -05:00
Joel Gustafson
bb64543d60 load all vkeys once at the beginning 2021-11-20 02:07:04 -05:00
raymondz
45ed5d126e use postgres 2021-11-20 02:01:20 -05:00
raymondz
7c4ef78cdc button styling 2021-11-20 02:01:20 -05:00
Joel Gustafson
7117d7cff5 add missing awaits 2021-11-20 01:53:25 -05:00
Joel Gustafson
70cff5c9fd fix message api response 2021-11-20 01:49:14 -05:00
Joel Gustafson
8248311b52 merge 2021-11-20 01:41:14 -05:00
Joel Gustafson
0add04474c expand data fetching at index 2021-11-20 01:41:14 -05:00
Joel Gustafson
6e68ccfb2f return created id from POST /api/messages 2021-11-20 01:41:14 -05:00
Joel Gustafson
34d7afbffd add profile to reveal and deny types 2021-11-20 01:41:14 -05:00
raymondz
d615c583fd delete char 2021-11-20 01:40:41 -05:00
raymondz
9bb0ff9083 last any type 2021-11-20 01:35:43 -05:00
raymondz
e6d81dbdd1 types 2021-11-20 01:35:04 -05:00
Uma Roy
561d74a0fc Merge branch 'main' of github.com:joeltg/zk-group-sigs-server into main 2021-11-20 01:33:36 -05:00
Uma Roy
c3ddcb02de Added onMessageVerify 2021-11-20 01:33:08 -05:00
raymondz
a3cbc28e2a some types 2021-11-20 01:26:34 -05:00
raymondz
11bc3705a2 add vercel config 2021-11-20 01:26:34 -05:00
Joel Gustafson
f734ed7a9a add vkeys in app context 2021-11-20 01:15:11 -05:00
raymondz
8eb5978b70 basic waiting 2021-11-20 01:11:34 -05:00
Uma Roy
f7131d6afd Merge branch 'main' of github.com:joeltg/zk-group-sigs-server into main 2021-11-20 01:08:42 -05:00
Uma Roy
78623a3fd5 Changed not from slightly 2021-11-20 01:08:36 -05:00
raymondz
ca8f941bf1 posting 2021-11-20 00:58:31 -05:00
raymondz
2b25301bae show twitter profile images 2021-11-20 00:57:58 -05:00
Joel Gustafson
bb58128662 handle json serialization 2021-11-20 00:56:58 -05:00
raymondz
ffac505b42 logged out state, empty state 2021-11-20 00:50:23 -05:00
Uma Roy
3e61c7d0b6 Merge branch 'main' of github.com:joeltg/zk-group-sigs-server into main 2021-11-20 00:49:28 -05:00
Uma Roy
45b9d84685 Fixed circuits 2021-11-20 00:47:55 -05:00
raymondz
2f16b38da0 update list of messages live after posting 2021-11-20 00:43:36 -05:00
Joel Gustafson
b5bb84039e add twitter profile images 2021-11-20 00:40:10 -05:00
raymondz
317b97f917 clear message when sending 2021-11-20 00:25:19 -05:00
Joel Gustafson
99b4e2f8d1 refactor into components 2021-11-20 00:21:00 -05:00
Joel Gustafson
0fd926c98e fix setting twitter id in database 2021-11-20 00:15:43 -05:00
raymondz
1482a83605 posting works 2021-11-19 18:47:12 -05:00
Joel Gustafson
cf53b4817e server side data fetching stuff 2021-11-19 18:42:53 -05:00
raymondz
8a9075eb36 fetch messages from server 2021-11-19 18:37:06 -05:00
raymondz
1a0f44f566 client side encoding of hashes for proving 2021-11-19 18:31:09 -05:00
Joel Gustafson
4626bcc2ca finish patching the reveal and deny endpoints 2021-11-19 18:29:21 -05:00
Joel Gustafson
429758d826 do JSON serialization and parsing on the server API implementation 2021-11-19 18:25:08 -05:00
raymondz
7064fd8b99 fix display of users in sidebar 2021-11-19 18:17:10 -05:00
Joel Gustafson
5f69da6725 add reveal and deny models and endpoints 2021-11-19 18:15:55 -05:00
raymondz
996df577ba fix hash encoding 2021-11-19 18:15:10 -05:00
Uma Roy
22a1cbf9dc Use newly computed hash 2021-11-19 18:10:02 -05:00
raymondz
58e81cc929 compute and store hash 2021-11-19 18:06:37 -05:00
Joel Gustafson
201494caed nice types 2021-11-19 18:02:11 -05:00
raymondz
27b8341116 prettier utils 2021-11-19 17:56:45 -05:00
raymondz
973a073952 prettier app.tsx 2021-11-19 17:54:25 -05:00