616 Commits

Author SHA1 Message Date
ryanycw.eth
4ed050df0a fix: comment report content mismatch (#639)
* fix: include postId with reporting comment

* refactor: enforce postId in report to be either empty string or with value

* build: pass postId to relay to create report

* chore: fix lint

* chore: adjust test for new report history schema

* refactor: return correct content of comment report

* chore: adjust report history with new schema

* fix: typo

* fix: add test for post report with non-empty postId

* chore: fix typo
2025-02-11 17:14:07 +07:00
ryanycw
64118ce853 refactor: remove middleware in checkin 2025-02-05 16:32:32 +08:00
ryanycw
c26b64c5f8 refactor: revert edit comment change 2025-02-05 16:32:32 +08:00
ryanycw
75a3affbe8 refactor: revert edit comment changes 2025-02-05 16:32:32 +08:00
ryanycw
017dd4eef5 refactor: update report with reputation proof 2025-02-05 16:32:32 +08:00
ryanycw
797171bad9 chore: fix lint 2025-02-05 16:32:32 +08:00
ryanycw
b58faa3caa fix: remove unused param 2025-02-05 16:32:32 +08:00
ryanycw
a3112ea293 refacotor: update test with reputation proof replacing epoch key proof 2025-02-05 16:32:32 +08:00
ryanycw
6bff06196e refacotor: update test by removing reputation proof 2025-02-05 16:32:32 +08:00
ryanycw
131c53b90d refactor: move middleware test to report 2025-02-05 16:32:32 +08:00
ryanycw
24719ee497 chore: update config 2025-02-05 16:32:32 +08:00
xiawpohr
df8e21261d fix: return report in the post item 2025-01-22 16:46:48 +08:00
Ya-wen, Jeng
c477999d9f Revert "chore: fix and remove unused"
This reverts commit 6609aaa77e.
2025-01-22 02:23:59 -06:00
ryanycw
6609aaa77e chore: fix and remove unused 2025-01-21 16:07:50 +08:00
Tihe
73887ddb2e fix reviews 2025-01-21 08:41:53 +08:00
Tihe
e0330b33b4 modify fe checkin flow 2025-01-21 08:41:53 +08:00
Tihe
26d32a3631 refactor relay login reputation 2025-01-21 08:41:53 +08:00
ryanycw
bfc40124d1 chore: fix lint 2024-12-26 09:07:09 +08:00
ryanycw
f886412465 build: add filter in search post 2024-12-26 09:07:09 +08:00
MorrisLin
6f1e63093e feat(reports): fix from comment 2024-12-13 23:16:27 +08:00
MorrisLin
954b994b2a feat: lint:fix 2024-12-12 01:22:46 +08:00
MorrisLin
7503ad2491 feat(judging): add get reports by id 2024-12-12 00:48:14 +08:00
MorrisLin
42f0382d65 feat(judging): fix lint 2024-12-11 17:43:04 +08:00
MorrisLin
799d4ee2b8 Revert "feat(judging): lint:fix"
This reverts commit 9aba7df247.
2024-12-11 17:33:39 +08:00
MorrisLin
9aba7df247 feat(judging): lint:fix 2024-12-11 17:25:34 +08:00
EvisChang
600fc7828a fix by review 2024-12-11 10:13:51 +08:00
EvisChang
e10056f278 minor fix 2024-12-11 10:13:51 +08:00
EvisChang
3e7a734108 lint code 2024-12-11 10:13:51 +08:00
EvisChang
9ffd33d803 minor fix 2024-12-11 10:13:51 +08:00
EvisChang
090542b40d remove the cache and filter content in post and add key word selection 2024-12-11 10:13:51 +08:00
chen-yanlong
2b7171de56 Merge branch 'main' into feat/notification-center 2024-12-08 16:24:27 +08:00
ryanycw
75a18eae1b chore: fix typo 2024-12-04 22:53:15 +08:00
ryanycw
573cffae9c chore: remove unused test 2024-12-04 22:53:15 +08:00
ryanycw
ffea7ad092 chore: lint fix 2024-12-04 22:53:15 +08:00
ryanycw
53ce535bb7 build: adjust test for the new logic 2024-12-04 22:53:15 +08:00
ryanycw
0a50fdb775 build: return report that has vote under threshold 2024-12-04 22:53:15 +08:00
chen-yanlong
01423f0dd5 chore: lint fix 2024-11-28 16:44:44 +08:00
chen-yanlong
2c18d309b2 chore: lint fix 2024-11-10 22:28:39 +08:00
chen-yanlong
bf6d994006 feat: add report result notification 2024-11-10 15:37:18 +08:00
Ya-wen, Jeng
8f9eed350b fix: fix unirep version (2.1.5-alpha-1) 2024-09-30 11:59:11 +08:00
xiawpohr
ad2e767a7b fix: check in api should return txHash 2024-09-25 17:43:05 +08:00
xiawpohr
105288cbf6 fix: make reportId in ReputationHistory table nullable 2024-09-25 16:22:31 +08:00
xiawpohr
f884504cea chore: lint fix 2024-09-25 16:15:27 +08:00
xiawpohr
88786bfdfe feat: save reputation history of checking in 2024-09-25 16:15:27 +08:00
Ya-wen, Jeng
98a83b421e fix: downgrade unirep version 2024-09-25 15:45:02 +08:00
HSIAO PO WEN
0020cfe234 Merge branch 'main' into fix/show-reputation-history-related-to-user 2024-09-18 18:12:45 +08:00
ryanycw.eth
b1b0bdcc11 refactor: fetch epoch length (#510)
* build: add new return in config

* refactor: use epochLength from relay

* test: adjust test with new epochLength

* chore: fix lint

* fix: adjust correct mock

* chore: adjust memo to be consistent

* fix: add correct mock
2024-09-18 17:10:36 +08:00
xiawpohr
9a9ff0054c show reputation history records related to the user 2024-09-16 17:05:27 +08:00
ryanycw
3a5bf5a2bd build: throw transaction manager error 2024-09-16 12:02:11 +08:00
ryanycw
357f2e105a refactor: adjust error structure 2024-09-16 12:02:11 +08:00