1191 Commits

Author SHA1 Message Date
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
Gucheng Wang
67f3c5a489 Add verificationCode to login method 2022-10-03 15:41:20 +08:00
Товарищ программист
9c48582e0c
feat: fix bugs in webauthn (#1173) v1.127.0 2022-10-01 11:10:55 +08:00
q1anx1
645c631db9
fix: fix the delete file vulnerability issue (#1174) v1.126.1 2022-10-01 00:33:27 +08:00
Gucheng Wang
3128e68df4 Add sendSilentSigninData() 2022-09-30 01:51:58 +08:00
Gucheng Wang
2247c6a883 Add isSelf() in user edit page 2022-09-29 22:24:05 +08:00
Gucheng Wang
04709f731b Update beego to v1.12.11 2022-09-29 19:45:17 +08:00
Yixiang Zhao
ebe1887e8b
feat: add saml provider error (#1168)
* fix: add saml provider error

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: search

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.126.0
2022-09-28 21:09:39 +08:00
Mr Forest
a7a8805713
feat: fix dulpicate go routines (#1167)
* 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
v1.125.0
2022-09-28 20:28:00 +08:00