Commit Graph

804 Commits

Author SHA1 Message Date
Yang Luo 2c477f2ba2 Fix GetOnlineUserCount() panic 2024-03-05 20:48:42 +08:00
Yang Luo 778f0fcb77 feat: improve casnode_session_id code 2023-12-30 16:06:53 +08:00
Yang Luo cd0c2f257c feat: use demo site Casdoor config 2023-12-30 15:56:20 +08:00
Yang Luo 1a6b86460c Remove user's IsGlobalAdmin in SDK 2023-09-25 22:24:18 +08:00
yehong 1b1dd80838
fix: react-markdown process is not defined (#3) 2023-08-17 02:49:32 +08:00
Yang Luo cae1734b72 Update yarn.lock 2023-08-12 14:58:49 +08:00
yehong 9c1b187809
feat: fix frontend ci (#2) 2023-08-12 14:38:31 +08:00
Yang Luo cb1f8b84b1 Update casdoor-go-sdk to v0.28.1 2023-08-12 02:22:41 +08:00
Yang Luo 39e3cee99d Update antd to 5 and react to 18 2023-08-12 02:20:34 +08:00
YunShu f514c02f15
docs: replace gitter links with discord (#579)
resolved: https://github.com/casbin/casbin-website-v2/issues/179
2023-07-06 16:21:21 +08:00
Yang Luo 37e382a8d9 feat: update casdoor-go-sdk to latest v0.24.0 2023-07-03 15:07:26 +08:00
yehong f643b8fb47
docs: simplify the README (#578)
* docs: simplify the README

Signed-off-by: yehong <239859435@qq.com>

* Update README.md

* Update README.md

* Update README.md

* Update README.md

---------

Signed-off-by: yehong <239859435@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-30 15:26:25 +08:00
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
Yaodong Yu 2dee05c7f3
fix: remove duplicate signin successfully message (#571) 2023-03-17 22:38:25 +08:00
Yaodong Yu 84f277309b
fix: online user can not be updated (#570) 2023-03-17 22:36:03 +08:00
Gucheng Wang 926d922d06 Fix crash in SetUserField() 2023-02-02 21:09:51 +08:00
ZhengLin Li 2fabb62992
fix: fix CI warnings (#560) 2023-01-12 14:46:08 +08:00
Yaodong Yu 027737b89c
feat: return the history page after saving the account (#558) 2022-11-25 21:57:41 +08:00
Gucheng Wang b7546df7ba Fix bug in GetMembersFromFavorites() 2022-10-07 21:01:54 +08:00
Gucheng Wang 6713e9e1ea Update casdoor-go-sdk to v0.10.0 2022-10-07 20:46:37 +08:00
Gucheng Wang 09b8e6fd44 Fix remaining warnings 2022-10-02 10:16:35 +08:00
kcfuler 9ac71d98a3
fix: componentWillReceiveProps api and key in jsx (#551)
* fix: componentWillReceiveProps api and key in jsx

* fix: componentWillReceiveProps api and key in jsx

* fix: revert the app.conf file

* fix: revert the app.conf file
2022-10-02 10:13:02 +08:00
Gucheng Wang ef70126b37 Fix SilentSignin logic 2022-09-30 01:49:43 +08:00
Gucheng Wang 62b058eb5e Fix some JS warnings 2022-09-29 23:20:11 +08:00
xxrl f308fe932d
fix: ci crash due to version of nodejs (#547)
* fix: update version of nodejs in build.yml

* fix: node version in build.yml

* set node-version to 16
2022-09-29 21:15:51 +08:00
Yang Luo a84384db0c Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
Gucheng Wang 538d84077a Update chromedp to v0.8.4 2022-09-16 01:25:33 +08:00
Gucheng Wang a2b2950796 Update casdoor-js-sdk to 0.4.0 2022-09-09 17:07:20 +08:00
q1anx1 4a846d5bbf
chore(style): add rule of keyword spacing (#542) 2022-09-04 21:28:02 +08:00
wenxuan70 d526c9ae00
feat: optimize silent signin (#538) 2022-08-22 13:34:12 +08:00
q1anx1 0d3febe4e1
chore(ci): use cache to accelerate ci (#537) 2022-08-11 01:08:03 +08:00
q1anx1 4d9c2962c0
fix: fix permissions error (#536) 2022-08-09 20:48:28 +08:00
q1anx1 a6c327cfdf
chore(style): fmt code (#534) 2022-08-09 20:10:21 +08:00
q1anx1 69d6098eb2
feat(ci): add ci to auto format go code (#533)
* feat(ci): add ci to auto format go code

* fix: fix ref error

* fix: fix ci error

* feat: ci check error

* feat: show hints

* feat: ci
2022-08-09 19:59:46 +08:00
q1anx1 483218cddf
chore(style): ban `var` and prefer `const` (#532) 2022-08-09 00:09:55 +08:00
q1anx1 68ab191685
feat(web): add some eslint rules (#531) 2022-08-07 23:12:22 +08:00
Ryao 2de3f85ead
fix: fix can't upload non-png(like jpg) image bug (#530) 2022-08-05 00:42:45 +08:00
Ryao 1b92c06349
fix: submit when uploading img cause img failure (#529)
* fix: submit when uploading img cause img failure

* Revert "fix: submit when uploading img cause img failure"

This reverts commit b951f79153.

* fix: submit when uploading img cause img failure

* fix

* fix

* format
2022-08-03 01:24:50 +08:00
Ryao f62f30e8dc
fix: gitter user avatar is not uploaded (#520) 2022-07-15 23:26:19 +08:00
q1anx1 2b82984039
feat(web): add lint (#527)
* feat(web): add lint

* fix: fix ci error
2022-07-15 23:22:00 +08:00
Gucheng Wang 8a9d12d7eb Fix meta desc. 2022-06-02 13:30:03 +08:00
Gucheng Wang 4bb2af2b67 Remove wrong desc meta. 2022-05-27 12:13:57 +08:00
Yang Luo 1d04bae1e8 Add Time2String(). 2022-05-22 22:37:52 +08:00
Yang Luo 8c3973a598 Fix missing topic and reply fields in gitter.go 2022-05-22 22:21:13 +08:00
Yang Luo 5e8be0a803 Fix bug in gitterApiToken. 2022-05-22 21:13:07 +08:00
Ryao 6f97edf5b2
feat: sync gitter room to node (#519)
* fix: update count field not atomic

* test: add sync topic count field test

* chore: remove redundant select queries

* feat: sync gitter to node

* feat: add go test & debug gitter.go

* debug

* feat: configure gitter room in fe

* debug

* chore: gitter sync limit time and frequence

* format

* debug

* debug & fix test
2022-05-22 20:16:12 +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 ccc6af382a
fix: add href for reply page (#513) 2022-05-06 15:37:04 +08:00
Nekotoxin 3d8d99de55
fix: add renderImage and renderLink for SingleReplyBox.js (#511) 2022-05-05 22:40:16 +08:00
Nekotoxin 0937908930
fix: use the history.push instead of link to reply page (#509)
* fix: some reply has null tags

* fix: use the history.push instead of link to reply page

* fix: use the history.push instead of link to reply page
2022-05-05 21:19:07 +08:00