1216 Commits

Author SHA1 Message Date
Mr Forest
aa6a4dc74f
feat: support login by following wechat official account (#1284)
* show QRcode when click WeChat Icon

* update how to show qrcode

* handle wechat scan qrcode

* fix api problems

* fix url problems

* fix problems

* modify get frequency

* remove useless print

* fix:fix PR problems

* fix: fix PR problems

* fix:fix PR problem

* fix IMG load delay problems

* fix:fix provider problems

* fix test problems

* use gofumpt to fmt code

* fix:delete useless variables

* feat:add button for follow official account

* fix:fix review problems

* use gofumpt to fmt code

* fix:fix scantype problems

* fix Response problem

* use gofumpt to format code
v1.156.0
2022-11-13 15:05:15 +08:00
cofecatt
462a82a3d5
fix: Add distinctions between access_token and refresh_token (#1280) v1.155.2 2022-11-13 13:00:25 +08:00
Dinn
262aeba7e2
fix(RoleEditPage): Fix a crash when the sample role domains is null (#1268) v1.155.1 2022-11-13 12:28:24 +08:00
Chell
61c2fd5412
feat: fix the issue of jumping back to the login page after resetting password (#1288)
* fix: redirect to login page

* fix: front end router

* fix: front end router

* fix: signup page router

* fix: redirect to login page
v1.155.0
2022-11-13 12:16:49 +08:00
Chell
d542208eb8
feat: fix select language box overlay (#1289)
* fix: select language box overlay

* fix: select language box position

* fix: select language box position

* fix: select language box position
v1.154.0
2022-11-13 10:52:22 +08:00
Yaodong Yu
f818200c95
feat: fix empty organization in adapter edit page (#1274) v1.153.0 2022-11-08 21:03:15 +08:00
Yaodong Yu
5bc2e91344
fix: fix typo (#1264) v1.152.1 2022-11-06 21:14:26 +08:00
Gucheng Wang
295f732b18 Show tag in i18n 2022-11-06 20:19:31 +08:00
cofecatt
770ae47471
feat: fix memory leak problem (#1257) v1.152.0 2022-11-06 01:43:27 +08:00
Chell
2ce4f96355
fix: forget page mobile view (#1263) v1.151.2 2022-11-05 22:54:22 +08:00
Chell
07ed834b27
fix: system info mobile view (#1261) v1.151.1 2022-11-05 22:46:52 +08:00
Yaodong Yu
8d686411ee
feat: support add providers inside the Organization scope (#1250)
* feat: support add providers inside the Organization scope

Signed-off-by: magicwind <2814461814@qq.com>

* Update ProviderListPage.js

* fix: gloabal admin can see all providers

* fix: table fixed column warning

* fix: edit application page can get all providers

Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.151.0
2022-11-04 21:31:08 +08:00
Yaodong Yu
ce722897f1
feat: support prefix path for storage files (#1258) v1.150.0 2022-11-04 21:08:39 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed (#1252) v1.149.0 2022-11-02 00:17:38 +08:00
Ke Wang
4c81fd7d16
feat: fix generating wrong x.509 private key file header (#1253)
According to the [official x509 documentation](https://pkg.go.dev/crypto/x509#MarshalPKCS1PrivateKey), the private key generated using `x509.MarshalPKCS1PrivateKey` starts with `-----BEGIN RSA PRIVATE KEY-----` instead of `-----BEGIN PRIVATE KEY-----`. Otherwise, it will not be parsed by most tools (like OpenSSL, [jwt.io](https://jwt.io/), etc.) because it does not conform to the specification.
v1.148.0
2022-11-01 22:19:38 +08:00
xAmast
25ee4226d3
feat: clear the session of a signin but non-existent user (#1246) v1.147.0 2022-10-29 20:18:02 +08:00
Bingchang Chen
9d5b019243
fix: nil error if init data is empty (#1247) v1.146.1 2022-10-29 20:04:43 +08:00
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