Commit Graph

65 Commits

Author SHA1 Message Date
Yang Luo 1a6b86460c Remove user's IsGlobalAdmin in SDK 2023-09-25 22:24:18 +08:00
Yaodong Yu 84f277309b
fix: online user can not be updated (#570) 2023-03-17 22:36:03 +08:00
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
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 5d1ec619e2 Remove useless code. 2021-08-30 01:12:03 +08:00
Yang Luo 45249054bf Fix oauth logos and updating balance. 2021-08-28 14:06:13 +08:00
Yang Luo 7a58f5043f Avoid using GetUsers(). 2021-08-28 11:26:44 +08:00
Yang Luo fb42e361ed Remove member struct. 2021-08-28 11:03:22 +08:00
Yang Luo 1d6219443b Fix beego.AppConfig.String() bug. 2021-08-28 00:29:28 +08:00
Yang Luo e64410e192 Migrate beego back from v2 to v1. 2021-08-26 00:22:28 +08:00
Yang Luo 11327c9b16 Support reading users from DB directly. 2021-08-25 00:59:01 +08:00
Yang Luo 4bf2458f73 Hide reply box in non-embedded mode. 2021-08-25 00:48:33 +08:00
Yang Luo b21537ca14 Fix backend bug. 2021-08-25 00:28:08 +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
Yang Luo 4b23e564be Replace Member with User, not finished. 2021-08-21 12:44:19 +08:00
Yang Luo 570e04f4c2 Remove useless code. 2021-08-21 11:03:34 +08:00
Kininaru 214d1f4f3f
feat: add user initScore in app.conf (#342)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

-> 2000
2021-08-03 23:27:39 +08:00
oranges 1e76594e5e
fix: Wrong ranking of wealth (#337)
Signed-off-by: killer <1533063601@qq.com>
2021-07-29 21:37:32 +08:00
killer f22121e876 feat: Admin can modify user balance
Signed-off-by: killer <1533063601@qq.com>
2021-06-23 16:41:41 +08:00
Yang Luo 8e298e8ac0 Put member no to Casdoor properties. 2021-06-11 23:13:47 +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 8232355c1f feat: use retro style when user did not set gravatar
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-29 17:17:37 +08:00
killer 7eb9dcf2ef feat: Add new member in UI #194
Signed-off-by: killer <1533063601@qq.com>
2021-05-27 14:00:53 +08:00
Kininaru 1c4ba4fed3 feat: upload avatar to oss when sync from google group
Signed-off-by: Kininaru <shiftregister233@outlook.com>

use object.HttpClient instead

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-16 19:02:42 +08:00
Kininaru 891440a6e3 feat: unbind accounts
Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed change account

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-07 19:12:33 +08:00
Kininaru 0bfdac7503 feat: auto create user during synchronization from Google Groups
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix username - email mapping failed

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix username - email mapping failed

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-04 23:46:35 +08:00
Kininaru 9e3ffde307 fix: update last_reply_user for username reset
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-13 23:25:00 +08:00
Kininaru c216520a3a feat: add username resetting
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-13 22:56:27 +08:00
Kininaru bb7c495b12 fix: login check bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>

changed code logic

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-07 22:06:28 +08:00
oceanlvr 0008ec16ea feat: add user rich rank list page
Signed-off-by: oceanlvr <657531018@qq.com>
2021-03-02 00:14:18 +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
oceanlvr e4b5ff6255 feat(eidtor): support user default editor
Signed-off-by: oceanlvr <657531018@qq.com>
2021-02-20 20:57:28 +08:00
Yang Luo 03ba4865c0 Improve wechat properties in Member struct. 2021-01-09 15:08:08 +08:00
oceanlvr c43509995f feat(login): add wechat signup
Signed-off-by: oceanlvr <657531018@qq.com>
2020-12-28 15:09:21 +08:00
Yang Luo bb9e9e5b48 Fix can't create first tab bug. 2020-12-24 11:49:55 +08:00
kocoler 6e3a32bf4c Fix online num bug
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-11-06 10:19:57 +08:00
kocoler 1ece14181b Improve reply mysql query
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-11-01 17:01:02 +08:00
kocoler c945a94086 Improve mysql query
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-10-31 02:21:54 +08:00
kocoler 8c26b6cb3c Improve mysql query
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-10-13 20:37:47 +08:00
kocoler 72d14d2f75 Add email reminder
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-10-06 01:45:01 +08:00
kocoler 72abac82dc Add member management
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-09-20 10:31:37 +08:00
kocoler 231a34377a Add email signup
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-14 19:26:54 +08:00
kocoler 2394f1eb45 Improve top topic
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-12 15:33:20 +08:00
kocoler ee53237570 Add file library
Signed-off-by: kocoler <tsglsdrs@163.com>
2020-08-10 19:43:32 +08:00