356 Commits

Author SHA1 Message Date
ryanycw
66b890e2e9 fix: typo 2024-01-21 00:57:01 +08:00
Jason
5bc248363d add postId in deleteComment 2024-01-21 00:57:01 +08:00
Jason
9e66f192cf fix the new case 2024-01-21 00:57:01 +08:00
Jason
3f49cc6c34 lint 2024-01-21 00:57:01 +08:00
Jason
a02cc92cab add a new case for deletion with wrong epoch key 2024-01-21 00:57:01 +08:00
FoodChain
7e4f4164ec [Fix] [Contracts] delete state tree root check (#266)
* fix: delete state tree root check

* fix: delete state tree root check in contract test

* fix: delete state tree root check in contract test
2024-01-21 00:57:01 +08:00
ryanycw
3412f14af6 refactor: update all _id to postId 2024-01-15 00:39:58 +09:00
ryanycw
3fe3093eb6 refactor: create post in synchornizer and update after the transaction finished 2024-01-14 23:52:22 +09:00
ryanycw
4e07d8a244 refactor: make status default zero for future enhencement 2024-01-14 23:52:22 +09:00
ryanycw
32ab175575 refactor: post creation to return postId and txHash 2024-01-14 23:52:22 +09:00
ryanycw
915e29ec4b refactor: return both logs and txHash with executeTransaction 2024-01-14 23:52:21 +09:00
ryanycw
3dcd268791 refactor: create post with executeTx 2024-01-14 23:52:21 +09:00
Fu-Chuan Chung
1abe3a625f update(relay): update .env.example for dev 2024-01-14 14:33:57 +00:00
ryanycw
6a03d43c1b fix: postId field in PostService query 2024-01-14 22:57:36 +09:00
badukwei
6786022ee1 Merge pull request #230 from social-tw/Issue/createUserstate
[Issue] Recreate Userstate Error and Login minor fix
2024-01-12 19:07:55 +08:00
badukwei
ac843eaa7f fix: miss Type error 2024-01-10 22:34:13 +08:00
badukwei
254f9ae865 flx: remove demo comment 2024-01-10 22:06:44 +08:00
Evis Chang
143658595f close the ipfs 2024-01-09 01:03:58 +08:00
Evis Chang
c67baf62c3 move reset evm revert to the end 2024-01-08 03:15:18 +08:00
Evis Chang
c43b74056d modify all test to use chai-http and add reset db before running test and add stop server method 2024-01-08 02:46:55 +08:00
Evis Chang
2e3481607c Merge remote-tracking branch 'social-tw/main' into feat_refactor_relay_folder 2024-01-04 23:48:58 +08:00
MorrisLin
6b6a56969b [WIP] Feature/issue 148 implement vote feature (#152)
merge  ISSUE-148 feat: add upvote & downvote action
2024-01-05 00:02:37 +09:00
Evis Chang
e8e1fd359f Merge remote-tracking branch 'social-tw/main' into feat_refactor_relay_folder 2024-01-01 02:40:44 +08:00
Evis Chang
a98c2bf5bc fix the folder structure and rename the related class 2023-12-31 13:58:16 +08:00
HSIAO PO WEN
2834640d02 fix: ci error 2023-12-27 16:36:23 +08:00
HSIAO PO WEN
81151fb387 Merge branch 'main' into feature/comment/frontend/co-work 2023-12-27 16:06:29 +08:00
HSIAO PO WEN
4f61213e2a chore: yarn lint:fix 2023-12-27 14:17:50 +08:00
yanlong
f62775347b [Enhancement][Frontend] add userstate db & update unirep to 2.0.0 (#224)
* update unirep to v2.0.0

* fix: lint

* fix: update unirep address in relay/src/config.ts

* fix: fix hashUserId not exist

* chore: delete unused import and console.log

* chore: lint:fix

* fix: fix bug in getData

* fix(frontend): fix schema and logout

* fix(frontend): fix typo

* fix: fix type of proof

* fix: fix publicSignal type

* chore: update yarn.lock

---------

Co-authored-by: Ya-wen, Jeng <vivi432@yahoo.com.tw>
2023-12-27 00:08:51 -06:00
HSIAO PO WEN
093bad6144 Merge branch 'main' into feature/comment/frontend/co-work 2023-12-27 12:47:16 +08:00
Jason
f5a0676c03 fix linting issue 2023-12-22 01:09:25 +08:00
Jason
49e7127f33 join post when fetching my account page votes 2023-12-22 00:51:24 +08:00
TI-HE CHEN
e5112c3d46 Merge pull request #218 from social-tw/feat/cicd-enhancement
[CICD] separate build and deploy in cicd flow
2023-12-21 01:10:32 +08:00
Evis Chang
b1151ee892 fix synchornizer 2023-12-21 00:32:53 +08:00
MorrisLin
f00f464fe6 Fix: Default Page Handling in /api/post Route (#214)
Fix: Handle missing or invalid 'page' query parameter in '/api/post' route
2023-12-20 22:42:47 +08:00
ryanycw.eth
1767fafb27 Merge branch 'main' into feat/cicd-enhancement 2023-12-20 22:32:46 +08:00
Evis Chang
78aeb4bbb9 update config 2023-12-20 22:28:18 +08:00
ryanycw.eth
32403f5782 fix: update UNIREP_ADDRESS in config.ts (#219)
Fix relay can't start on local
2023-12-20 18:23:05 +08:00
ryanycw
4d2c1f0048 chore: adjust epoch length 2023-12-20 18:10:35 +08:00
ryanycw
3c0458a423 chore: attemp to fix Synchronize Comment Test 2023-12-20 17:23:01 +08:00
ryanycw
56d4f42a85 fix: revert userState check implementation 2023-12-20 15:13:00 +08:00
ryanycw
725ba05425 fix: lint 2023-12-20 15:10:06 +08:00
Evis Chang
21fd1ddf52 minor change in test 2023-12-20 09:22:14 +08:00
Evis Chang
762711d797 migrate the cicd enhancement to new branch 2023-12-20 00:56:47 +08:00
badukwei
ea7f0a9dc0 Merge pull request #209 from social-tw/feature/comment/frontend/delete-comment
[feature] [comment] [frontend] delete comment flows
2023-12-19 13:24:17 +08:00
ryanycw
359d9d9ff4 fix: lint 2023-12-19 01:16:10 +08:00
ryanycw
b0cb53341e chore: upgrade relay to beta 6 2023-12-19 01:11:36 +08:00
ryanycw
e681a8f1c9 chore: update packages 2023-12-19 01:11:35 +08:00
Jason
28ba08513c fix merge conflicts 2023-12-17 16:30:27 +08:00
Jason
bf79041415 fix error code and add test for error cases 2023-12-17 16:27:19 +08:00
Jason
62ecbf9ac1 Implement backend APIs for my account page 2023-12-17 16:27:07 +08:00