Commit Graph

814 Commits

Author SHA1 Message Date
Ya-wen, Jeng
a8c2dcdacc doc: update readme and add lint script 2023-09-07 12:23:57 +08:00
Ya-wen, Jeng
f043c0ded1 fix: staging deploy script (#211) 2023-09-06 18:48:06 +08:00
Ya-wen, Jeng
de60c3e720 v2 beta (#208)
* feat: bum version v2.0.0-beta-4

* fix: lint, test files

* build: fix dependencies, update webpack build

* fix: fix signup api

* fix(backend): add chainId

* chore: update dockerfile, update CI config
2023-09-06 18:39:08 +08:00
Ya-wen, Jeng
414ed47526 chore: lint (#207) 2023-02-20 23:07:03 -05:00
Yuriko
94f9f9c0c5 Merge pull request #153 from Unirep/circuit-prove-graffiti
[circuit] proves an epoch key and graffiti pre-image only
2023-02-15 01:27:49 +09:00
Anthony
97ead7dcdd Merge pull request #206 from omahs/patch-1
Fix: typos
2023-02-09 10:44:20 -05:00
omahs
f036bc220c Fix: typo
Fix: typo
2023-02-09 08:59:46 +01:00
omahs
e5d53eda6e Fix: typo
Fix: typo
2023-02-09 08:56:30 +01:00
omahs
ebe179428e Fix: typo
Fix: typo
2023-02-09 08:55:46 +01:00
omahs
a0672c36e7 Fix: typo 2023-02-09 08:54:38 +01:00
YURIKO NISHIJIMA
9e150f011f fix: remove global graffitiPreimage variable 2023-02-07 07:58:10 -05:00
YURIKO NISHIJIMA
d38cf75416 fix: pass graffiti_pre_image input to genCircuit instead of graffitiPreImage global variable 2023-02-06 23:13:46 -05:00
YURIKO NISHIJIMA
d9a76f124a pass wrong graffiti preimage as a variable to gencircuitInput 2023-02-06 14:45:19 -05:00
YURIKO NISHIJIMA
555d6c07c8 remove graffit_pre_image field from genCircuitInput 2023-02-01 19:45:17 -05:00
YURIKO NISHIJIMA
144d55650d use graffiti_pre_image field of circuitInputs for the failing test case 2023-02-01 19:33:14 -05:00
YURIKO NISHIJIMA
62cc20a668 modify failing test case 2023-01-30 21:18:50 -05:00
kittybest
3f91265731 user name (#188)
* feat: simple ui of user name

* functioning of set user name

* chore: add username in User.ts

* feat: record SetUsername in db, put oldusername as preimage to make reputation proof

* feat: add username checkbox in ActionDetail

* feat: gen proof has graffiti

* feat: try to add graffiti data to schema and attach on proof

* add username validation remind

* new tests

* feat: `@unirep/core` v1.0.4

* test(core): user should receive attestation after set a username

* fix: revert test script changes

* feat: add username as graffiti to database and display on frontend, update yarn.lock after merge with main

* fix: frontend test and backend tests

* fix: backend test

* chore: hide username if post with subsidy, set state to default while username setup failed

* fix: backend combination test

* feat: add username to vote function

* fix: try to fix the backend test, remove redundant log

* fix: try to fix backend tests

* chore: update username tests in core

* chore: update backend tests

* feat: prevent user from setting username multiple times in same epoch

* fix: uncomment some username tests, update method of finding records of setUsername

* remove console log

* remove unused console log

Co-authored-by: Ya-wen, Jeng <vivi432@yahoo.com.tw>
2023-01-25 00:22:27 -05:00
kittybest
aa6fabcde4 Merge pull request #202 from Unirep/fix-epoch
fix(frontend): fix epoch being float
2023-01-25 00:32:26 +09:00
Ya-wen, Jeng
03cb141ac6 fix(frontend): fix epoch being float 2023-01-24 15:31:24 +08:00
Anthony
710f02522a Merge pull request #195 from Unirep/topics-2
Topics Functionality  (Frontend & Backend)
2023-01-13 11:19:27 -05:00
AnthonyMadia
26348c14e8 chore: e2e post test 2023-01-13 11:04:16 -05:00
AnthonyMadia
21d9659f8b fix: optional topic? param in writingField 2023-01-13 10:55:31 -05:00
AnthonyMadia
e051bdea91 fix: remove if statement in loadPosts 2023-01-12 14:05:28 -05:00
AnthonyMadia
8309d020f0 chore: clean comment 2023-01-12 13:52:13 -05:00
AnthonyMadia
daaaa7f7b0 fix: condense loadPost 2023-01-12 13:51:27 -05:00
kittybest
d781ce6e1b Merge pull request #200 from Unirep/subsidy-check
Subsidy check
2023-01-13 03:41:53 +09:00
AnthonyMadia
a7f74dfb25 fix: topic state fix for 'All' page 2023-01-11 14:32:15 -05:00
Ya-wen, Jeng
4a921af38b @unirep/core v1.0.4 (#201)
* feat: `@unirep/core` v1.0.4

* test(core): user should receive attestation after set a username

* fix: revert test script changes
2023-01-10 21:56:22 -05:00
AnthonyMadia
abbac9b51a chore: clean up logs 2023-01-10 16:37:44 -05:00
AnthonyMadia
15e733ed3e add: -user query for userPage 2023-01-10 16:34:29 -05:00
AnthonyMadia
332e8d2eb3 add: make 'General' default option for 'All' page 2023-01-10 16:17:02 -05:00
Ya-wen, Jeng
0c2608ea78 fix(backend): return when error occurs 2023-01-09 18:43:20 +08:00
Ya-wen, Jeng
b0144021d8 test(backend): add test for subsidy 2023-01-09 15:09:36 +08:00
Ya-wen, Jeng
fc64d685d9 feat(backend): check spent subsidy 2023-01-09 15:07:49 +08:00
AnthonyMadia
7f94d0e448 chore: log clean up 2023-01-06 19:52:47 -05:00
AnthonyMadia
977550086d chore: mainPage unit test 2023-01-06 15:29:02 -05:00
AnthonyMadia
053014feaf Lint 2023-01-06 15:19:17 -05:00
AnthonyMadia
b42fbd57ee add: backend support for All page 2023-01-06 15:03:56 -05:00
AnthonyMadia
64968034f0 add: All page 2023-01-06 15:01:44 -05:00
AnthonyMadia
24f011a68c fix: remove highlight for 'General' on ALL page 2023-01-06 14:23:31 -05:00
AnthonyMadia
cd2123946b chore: refactor topic state 2023-01-05 14:25:50 -05:00
AnthonyMadia
b08b6b4825 add: support for passing topic state to dropdown menu on newPage 2023-01-05 13:24:01 -05:00
AnthonyMadia
3c98c28bfc add: remove the topicsMenu on newPage 2023-01-05 12:19:00 -05:00
AnthonyMadia
d1beefe460 fix: e2e test 2023-01-05 12:01:20 -05:00
AnthonyMadia
816613ffb1 Fix: unit tests 2023-01-05 11:50:22 -05:00
AnthonyMadia
9f0698c82a add: mobile dropdown menu for topics 2023-01-05 11:43:43 -05:00
AnthonyMadia
772dbcaa0b chore: clean up 2023-01-04 19:30:41 -05:00
AnthonyMadia
a24a0b074a add: topic menu changes dynamically for mobile view 2023-01-04 19:22:18 -05:00
AnthonyMadia
95a5cceba2 fix: make topics symmetrical on mobile 2023-01-04 19:12:21 -05:00
AnthonyMadia
1f691e4ab7 fix: refactor PostRouter topic field 2023-01-04 18:32:46 -05:00