Commit Graph

177 Commits

Author SHA1 Message Date
yehong 74e0fd937b
feat: support configuring the database using environment variables (#577)
Signed-off-by: yehong <239859435@qq.com>
2023-06-27 15:57:06 +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
Ryao 2de3f85ead
fix: fix can't upload non-png(like jpg) image bug (#530) 2022-08-05 00:42:45 +08:00
Nekotoxin ab5466e0b2
fix: the 404 page in the footer (#517)
* fix: 404 page in footer

* Update ReplyBox.js

* Update AdminFrontConf.js

* Update frontConf.go

* Update router.go

* Update Footer.js

* Update FooterRenderBox.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-22 17:28:36 +08:00
Nekotoxin 89fe3d423a
feat: improve the tdk of reply (#506)
* feat: improve the tdk of reply

* Update ReplyBox.js

* Update NodeBox.js

* Update SingleReplyBox.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-05 20:07:20 +08:00
Dean CN a0a184f6ab
trim casdoor enpoint (#497) 2022-04-21 21:31:50 +08:00
Nekotoxin e16d8dbc37
fix: ban duplicate reply (#490) 2022-04-14 21:39:05 +08:00
Nekotoxin bed3c58d77
fix: outrange (#486) 2022-04-11 20:09:38 +08:00
Nekotoxin e8c4d50488
fix: remove subscribe reply (#483)
* fix: subscribe reply

* fix: remove subscribe reply
2022-04-11 19:07:15 +08:00
Nekotoxin 9d23a12540
feat: Add subscribe (#457)
* fix: add subscribe

* fix: build subscribe

* fix: build subscribe

* fix: change the favoritesType to string

* fix: build subscribe

* fix: build subscribe

* fix: format and small fix

* fix: format and small fix

* fix: format and small fix
2022-04-05 08:47:55 +08:00
Gucheng Wang 384c459638 fix: fix cannot logout bug 2022-03-28 09:06:32 +08:00
hsluoyz 4981263545 Remove useless UploadAvatar() API. 2022-03-27 16:26:15 +08:00
hsluoyz c10539f9f8 Fix session missing bug. 2022-03-27 16:23:59 +08:00
hsluoyz fd7f568c6b Support author in embed page. 2022-03-27 14:39:06 +08:00
Nekotoxin 4867cb2804
fix: fix duplicatedly publishing and databases error (#437)
* fix: fix duplicatedly publishing and databases error

* Update topic.go
2022-03-05 23:22:29 +08:00
Mayank Mittal 31602737be
fix: Duplicate topic creation (#420) 2022-03-05 21:02:07 +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 8c80d68710 Hide embed topics for tab page, use "EmbedBot" name. 2022-01-21 12:43:16 +08:00
Gucheng Wang 2ef9486b6e Improve error response in Signin(). 2021-12-28 20:35:51 +08:00
Товарищ программист 3132649d62
feat: add comments to categorize apis for swagger (#389)
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-06 18:27:23 +08:00
Gucheng Wang a99697e628 Make GetTopicsByNode() and GetTopicsByTag() faster. 2021-12-05 01:40:50 +08:00
Gucheng Wang 41e2bc9c67 Make GetCommunityHealth() faster. 2021-12-05 01:15:28 +08:00
Gucheng Wang 6b3300d4e2 Add tabId to topic. 2021-12-04 10:30:25 +08:00
Gucheng Wang 6db8d316c6 Improve InitAuthConfig(). 2021-11-26 18:29:16 +08:00
Gucheng Wang 8a9642eeac Add states to topic and reply. 2021-11-22 01:02:04 +08:00
Gucheng Wang 99e78e11c5 Add UploadFileToStorageSafe(). 2021-11-20 17:27:18 +08:00
Gucheng Wang 55ab30e8b6 Rename fileURL to fileUrl. 2021-11-20 00:29:24 +08:00
Yang Luo b315f58566 Update casdoor-go-sdk to v0.0.12-FIX 2021-10-19 19:08:00 +08:00
Yang Luo 69ea8e4ab5 Improve proxy code. 2021-09-06 01:19:10 +08:00
Yang Luo af2d7b32f9 Add user to Resource. 2021-09-06 00:00:13 +08:00
Yang Luo 9388b7fc10 Fix bug in SetSessionUser(). 2021-09-05 15:21:01 +08:00
Yang Luo 4a64425ebd Use Casdoor to upload file. 2021-09-05 01:12:35 +08:00
turbodog03 7d5926d11b
feat: add api to support new frontend, improve code (#369)
* feat: improve code

* feat: add sort api to support frontend
2021-09-03 08:28:09 +08:00
Yang Luo 45ae94401f Move gob register. 2021-08-30 01:30:40 +08:00
Yang Luo 9293f0ba6c Fix RequireSignedIn() bug. 2021-08-30 01:20:31 +08:00
Yang Luo 5d1ec619e2 Remove useless code. 2021-08-30 01:12:03 +08:00
Yang Luo 6093a17fca Refactor out info.go 2021-08-30 01:03:13 +08:00
Yang Luo f72b89bcd6 Improve TopTopic(). 2021-08-28 22:34:38 +08:00
Yang Luo 45249054bf Fix oauth logos and updating balance. 2021-08-28 14:06:13 +08:00
hsluoyz fac57f9259 Fix session claim bug. 2021-08-27 22:46:56 +08:00
Yang Luo e64410e192 Migrate beego back from v2 to v1. 2021-08-26 00:22:28 +08:00
Yang Luo 5f25e81e02 Fix member page fields. 2021-08-25 21:32:20 +08:00
Yang Luo fbce7d963e Fix bug in GetSessionClaims(). 2021-08-25 07:17:28 +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 7393c5d2b6 Improve code. 2021-08-22 00:33:54 +08:00
Yang Luo a893fb7596 Remove mapping functions between user and member. 2021-08-21 21:07:41 +08:00
Yang Luo f2d73c8465 Add RequireAdminRight(). 2021-08-21 16:32:05 +08:00
Yang Luo 16efcca487 Remove Member in APIs. 2021-08-21 16:06:49 +08:00