1249 Commits

Author SHA1 Message Date
Mr Forest
6bb7b545b4
feat: restrict DingTalk user log in who is under the DingTalk Org(which ClientId belong) (#1241)
* feat: fix bug in GetAcceptLanguage()

* feat: add appName when logging in with DingTalk

* fix review problems

* format code

* delete useless printf

* modify display name

Co-authored-by: Gucheng Wang <nomeguy@qq.com>
v1.146.0
2022-10-28 22:14:05 +08:00
wenxuan70
25d56ee8d5
feat: allow captcha to be enabled when logging in (#1211)
* Fix bug in GetAcceptLanguage()

* feat: allow captcha to be enabled when logging in

* feat: when the login password is wrong, enable captcha

* feat: Restrict captcha from frontend

* fix: modify CaptchaModal component

* fix: modify the words of i18n

* Update data.json

Co-authored-by: Gucheng Wang <nomeguy@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.145.0
2022-10-28 13:38:14 +08:00
Chell
7e5952c804
fix: login / signin frontend router (#1244)
* fix: go to link

* fix: remove gotologin

* fix: redirect to login page

* fix: redirect to login page

* remove comments

* fix: formats

* fix: formats

* Update Setting.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.144.1
2022-10-28 02:23:57 +08:00
Yaodong Yu
80bf29d79a
feat: fix showing wrong error message: "Please sign in first" (#1245) v1.144.0 2022-10-27 23:50:45 +08:00
Yaodong Yu
971e53dfd8
fix: fix duplicated user bug in user list page (#1243)
* fix: user list repititon errer

* Update UserListPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.143.1
2022-10-27 22:51:05 +08:00
Bingchang Chen
654b903d7a
feat: fix multi-platform docker image (#1242) v1.143.0 2022-10-26 23:31:00 +08:00
jakiuncle
2f72e6971b
fix: make the app list in homepage have the same height (#1239)
* fix: make the app list in homepage have the same height

* fix: make the app list in homepage have the same height

* Update SingleCard.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.142.1
2022-10-25 19:27:24 +08:00
Mr Forest
d4b587b93e
feat: fix bug in GetAcceptLanguage() (#1237)
Co-authored-by: Gucheng Wang <nomeguy@qq.com>
v1.142.0
2022-10-25 10:50:10 +08:00
Gucheng Wang
ac7a510949 Fix go.mod 2022-10-23 16:14:49 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages (#1232)
* feat: support i18n in backend err messages

* use gofumpt to fmt code

* fix review problems

* support auto generate err message

* delete beego/i18n moudle

* fix Github action test problems

* fix review problems

* use gofumpt to format code

* use gofumpt to fmt code
v1.141.0
2022-10-23 15:16:24 +08:00
Gucheng Wang
7c77519069 Fix formPosition typo 2022-10-23 02:26:50 +08:00
Gucheng Wang
2bdf467e3a Update formCss default value 2022-10-23 01:27:01 +08:00
Gucheng Wang
52b692c8ad Refactor to renderLink() 2022-10-22 23:48:59 +08:00
Chell
304643736b
fix: forget password and sign up router (#1227)
* fix: forget password and sign up router

* fix: link

* fix: jump logic

* fix: signup link

* fix: signup link

* fix: login and signup router

* remove comments

* fix: normal router

* fix: link abstraction

* rename jump component

* fix: session storage

* fix: store signin url

* fix: jumplink props

* fix: simplify link

* fix: path join

* fix: remove unused functions
v1.140.1
2022-10-22 23:17:50 +08:00
Yaodong Yu
b0f572c51a
feat: add left-side image and improve login page (#1226) v1.140.0 2022-10-22 21:43:41 +08:00
cofecatt
19d351d157
feat: allow non-ASCII characters in username (#1235) v1.139.0 2022-10-22 20:46:50 +08:00
Bingchang Chen
d0751bf2fa
feat: add arm docker (#1236) v1.138.0 2022-10-22 11:08:29 +08:00
Bingchang Chen
290cc60f00
feat: non root user for casdoor image (#1234)
Signed-off-by: abingcbc <abingcbc626@gmail.com>

Signed-off-by: abingcbc <abingcbc626@gmail.com>
v1.137.0
2022-10-21 17:19:58 +08:00
Yaodong Yu
6a1ec51978
feat: fix SSRF when download avatar (#1193) v1.136.0 2022-10-20 14:47:08 +08:00
chao
dffa68cbce
feat: fix SAML login error bug (#1228)
* Update LoginPage.js

* fix saml login error
v1.135.0
2022-10-20 01:14:38 +08:00
Gucheng Wang
fad209a7a3 Don't check username in UpdateUser() API 2022-10-19 22:50:19 +08:00
Gucheng Wang
8b222ce2e3 Use Steam ID as username 2022-10-18 22:07:20 +08:00
YunShu
c5293f428d
fix: delete this accidentally added files (#1229)
* fix: delete this accidentally added files

* fix: ignore build result

* fix: remove unnecessary asterisk
v1.134.1
2022-10-18 21:55:34 +08:00
Gucheng
146aec9ee8
feat: skip username restriction for new users coming from OAuth providers. (#1225) v1.134.0 2022-10-17 18:01:01 +08:00
Mr Forest
50a52de856
feat: support database version control (#1221)
* feat: support Database version control

* Update adapter.go

* fix review problems

* Update adapter.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.133.0
2022-10-15 17:20:20 +08:00
Chell
8f7a8d7d4f
fix: translation without reloading (#1215)
* fix: translation without reloading

* fix: language switch
v1.132.1
2022-10-12 19:52:02 +08:00
cofecatt
23f3fe1e3c
feat: update code format (#1214)
* feat: doc

* feat: doc

* Update model.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.132.0
2022-10-12 11:42:14 +08:00
cofecatt
59ff5e02ab
fix: Add support for including underscores for username (#1210)
* fix: Add support for including underscores for username

* Update check.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.131.2
2022-10-11 19:39:19 +08:00
xxrl
8d41508d6b
fix: center loading in account page (#1209)
* fix: center loading in account page

* Update UserEditPage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.131.1
2022-10-11 00:52:08 +08:00
Gucheng Wang
04f70cf012 Improve renderRightDropdown() 2022-10-10 22:53:47 +08:00
Chell
83724c73f9
feat: fix pad and mobile views (#1202)
* fix figure width

* fix: pad resolution menu

* feat: drawer style mobile menu

* fix: menu button i18n
v1.131.0
2022-10-10 22:37:25 +08:00
Gucheng Wang
33e419e133 Show more items to org admin 2022-10-10 21:58:17 +08:00
Gucheng Wang
b832c304ae Can get owner in getObject() 2022-10-10 20:56:55 +08:00
cofecatt
4c7f6fda37
fix: Add restriction to username when signing up (#1203) v1.130.2 2022-10-10 19:58:02 +08:00
Mr Forest
e4a54fe375
fix: disable roles inputbox when model doesn't support RBAC (#1201)
* feat:Support simple ldap server

* fix:fix review problems

* fix:fix review problems

* fix: fix ldapserver crash bug

* Update ldapserver.go

* fix: fix dulpicate go routines

* fix gofumpt problems

* fix: fix UserList error

* feat:disable 'sub role' when model is incorrect

* feat:disable 'sub role' when model is incorrect

* feat:disable 'sub role' when model is incorrect

* delete useless output

* update func name

* Update PermissionEditPage.js

* Update PermissionEditPage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.130.1
2022-10-10 00:53:55 +08:00
Gucheng Wang
87da3dad76 Remove useless file 2022-10-09 22:18:38 +08:00
Gucheng Wang
44ad88353f Add error to GetDefaultApplication() 2022-10-09 10:39:33 +08:00
Mr Forest
a955fb57d6
feat: fix UserList error (#1194)
* feat:Support simple ldap server

* fix:fix review problems

* fix:fix review problems

* fix: fix ldapserver crash bug

* Update ldapserver.go

* fix: fix dulpicate go routines

* fix gofumpt problems

* fix: fix UserList error
v1.130.0
2022-10-08 20:00:45 +08:00
Gucheng
d2960ad66b
Fix README typo 2022-10-08 16:00:08 +08:00
YunShu
5243aabf43
docs: Create SECURITY.md (#1192) 2022-10-07 19:02:35 +08:00
Gucheng Wang
d3a2c2a66e Improve org admin permissions 2022-10-07 16:27:21 +08:00
Gucheng Wang
0a9058a585 Improve user list page 2022-10-07 15:43:50 +08:00
Gucheng
225719810b
Update link typo in README 2022-10-06 19:37:00 +08:00
kcfuler
c634d4a891
feat: add some css style for the custom Provider button (#1185)
* fix: add some css style for the custom button

* fix: refactor previous code

* fix: add i18 adaptation

* fix: modifiy the saml codition
v1.129.0
2022-10-06 19:28:02 +08:00
Yaodong Yu
3dc01ec85d
fix: language widget poisition without border css (#1188) v1.128.1 2022-10-06 17:26:12 +08:00
Gucheng Wang
a7324f1da1 Improve className 2022-10-03 22:45:36 +08:00
Yaodong Yu
6da452d7e0
feat: show language widget in signup and signin pages (#1180) v1.128.0 2022-10-03 22:40:19 +08:00
Gucheng Wang
5abcf913e6 Fix language menu 2022-10-03 22:39:10 +08:00
Gucheng Wang
58455e688e Improve WebAuthnCredentialTable and border radius 2022-10-03 18:46:40 +08:00
Gucheng Wang
4d6f68eddc Improve footer and color 2022-10-03 17:43:19 +08:00