Commit Graph

23 Commits

Author SHA1 Message Date
Yang Luo a84384db0c Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
q1anx1 a6c327cfdf
chore(style): fmt code (#534) 2022-08-09 20:10:21 +08:00
Ryao cd883e4774
fix: update count field not atomic (#496)
* fix: update count field not atomic

* test: add sync topic count field test

* chore: remove redundant select queries

* Update topic_test.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-21 22:23:11 +08:00
Nekotoxin 43fb568617
feat: Add the consumption list (/top/player) page (#429)
* refactor: Add the consumption list (/top/player) page

* refactor: Add the consumption list (/top/player) page
2022-03-02 19:13:58 +08:00
Gucheng Wang 681dbbe2fe Use auth.UpdateUserForColumns(). 2021-12-12 00:49:15 +08:00
Yang Luo 45249054bf Fix oauth logos and updating balance. 2021-08-28 14:06:13 +08:00
Yang Luo e7300db6f2 Use session user struct, not finished. 2021-08-22 11:04:20 +08:00
Yang Luo a893fb7596 Remove mapping functions between user and member. 2021-08-21 21:07:41 +08:00
Yang Luo 16efcca487 Remove Member in APIs. 2021-08-21 16:06:49 +08:00
Kininaru 8c04b38a1e fix: backend crash when consumption record pointed to a nil object
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-06-15 20:20:33 +08:00
Kininaru 0c729fe341 feat: convert to casdoor go sdk
Signed-off-by: Kininaru <shiftregister233@outlook.com>

update sdk

remove member table

refactor update member

GetMembersAdmin

remove member table

removed member tabel from get topics

removed member table in db init

member table

fix

conf

conf

go mod tidy
2021-06-08 19:45:25 +08:00
Yang Luo c8232e4dab Rename ScoreCount to Score. 2021-06-01 22:45:16 +08:00
Yang Luo 9f260a7a01 Use Casdoor authentication. 2021-06-01 20:51:13 +08:00
Kininaru 8133f9b98b feat: convert casbin forum to casnode
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-02 14:29:26 +08:00
oceanlvr 06e6cbf7cb refactor: remove coin field & add scoreCount
Signed-off-by: oceanlvr <657531018@qq.com>
2021-02-25 14:32:23 +08:00
kocoler c945a94086 Improve mysql query
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-10-31 02:21:54 +08:00
kocoler 2394f1eb45 Improve top topic
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-12 15:33:20 +08:00
kocoler def9d1b36c Add top topic
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-11 17:18:40 +08:00
kocoler 65c815e28b Improve DB struct
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-03 22:45:26 +08:00
kocoler 40fe07bdae Add edit and review page
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-07-31 16:13:39 +08:00
kocoler a112b7c565 Add hottest and latest node
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-07-28 00:35:41 +08:00
kocoler bfefe0322b Add conf.go
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-07-25 21:21:46 +08:00
kocoler 8714ed0817 Add balance and plane page
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-07-25 20:09:13 +08:00