Liu
c66561dc9a
feat: support sqlite database without cgo by using the modernc.org/sqlite driver ( #1474 )
...
* Refactor: update sqlite go driver to modernc.org/sqlite without cgo
* fix: update sqlite driver to modernc.org/sqlite
* fix: sqlite driver to modernc.org/sqlite
* Update adapter.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-01-14 20:11:23 +08:00
Yaodong Yu
9ca686b240
feat: disable role and permission update and checks when updating user ( #1466 )
2023-01-12 11:40:32 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email ( #1464 )
2023-01-11 23:19:16 +08:00
Yaodong Yu
ce2a4bbf6e
feat: check uniqueness for email and phone when updating user ( #1461 )
...
* fix: check unique field when update user
* Update data.json
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-01-10 22:34:08 +08:00
Gucheng Wang
090389b86a
Fix bug in CheckAccountItemModifyRule()
2023-01-07 13:49:06 +08:00
Gucheng Wang
57028c2059
Remove duplicated i18n words
2023-01-06 20:24:14 +08:00
Gucheng Wang
a6e9084973
Remove duplicated i18n words
2023-01-06 20:12:32 +08:00
Gucheng Wang
6fb3e2cd7f
Remove check_util i18n words
2023-01-06 19:57:13 +08:00
Ngọc Long
1d8b0a264e
feat(login): add code login limit ( #1442 )
2023-01-06 18:51:43 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user ( #1441 )
...
* fix: destroy session after delete user
* feat: visual session
* fix: go lint
* feat: add translation
* feat: auto flush after offline
* fix: delete one session
* fix: move 403 page to baseListPage
2023-01-06 15:04:13 +08:00
June
dcf148fb7f
fix: add GetMaskedRoles and GetMaskedPermissions when GetAccount ( #1456 )
2023-01-06 00:02:52 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth ( #1443 )
2023-01-03 19:42:12 +08:00
imp2002
308f305c53
feat: add query and fragment response mode declare in OIDC ( #1439 )
2023-01-01 21:46:12 +08:00
imp2002
b8b915abe1
feat: check AccessPermission in multiple permissions ( #1420 )
2022-12-23 14:06:02 +08:00
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login ( #1413 )
2022-12-21 02:25:58 +08:00
Gucheng Wang
f075d0fd74
Refactor out application.IsRedirectUriValid()
2022-12-21 00:35:33 +08:00
Liu
26acece8af
feat: add all other missing objects to init_data ( #1407 )
...
* Add all other missing objects to init_data.json
* Format golang code
* feat: add all other missing objects to init_data
* feat: add all other missing objects to init_data
2022-12-18 01:49:42 +08:00
Gucheng Wang
c0d9969013
Add description to product
2022-12-16 23:35:30 +08:00
imp2002
d668022af0
feat: fix length of policy and [policy_define]
in model
inconsistent ( #1400 )
2022-12-15 20:42:55 +08:00
Yaodong Yu
e227875c2b
feat: add post methed for saml response ( #1399 )
2022-12-13 22:32:45 +08:00
Yaodong Yu
a51f0d7c08
feat: init score in organization ( #1388 )
...
* feat: init score in organization
* Update OrganizationEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-10 22:27:12 +08:00
Mr Forest
1bb3d2dea9
feat: refactor backend i18n ( #1373 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
* feat: refactor translation error message
* feat: use json intsead of ini file
* remove useless translation
* fix translate problems
* remove useless addition
* fix pr problems
* fix pr problems
* fix split problem
* use gofumpt to fmt code
* use crowdin to execute backend translation
* fix pr problems
* refactor: change translation file structure same as frontend
* delete useless output
* update go.mod
2022-12-07 13:13:23 +08:00
Gucheng Wang
96566a626b
Increase Detail field size
2022-12-07 01:53:03 +08:00
Gucheng Wang
30b7fd963f
Reduce Resource key size
2022-12-06 11:30:42 +08:00
imp2002
812c44e070
feat: add and load policy within a specific permission ( #1357 )
...
* fix: add and load policy with a specific permission
* fix: use a clear variable name
2022-12-05 17:07:10 +08:00
imp2002
78e45d07cf
fix: support RBAC With Domains/Tenants ( #1333 )
...
* feat: support RBAC With Domains/Tenants
* fix: add verify for `UpdatePermission`
* Update permission.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-05 16:08:17 +08:00
Yaodong Yu
0856977b92
feat: update to antd 5.0 ( #1362 )
...
* feat: update to ant5.X
* fix: incompatible styles
* fix: adjust the style
2022-12-04 23:05:30 +08:00
Mr Forest
27bd771fed
feat: handle the dataSourceName when DB changes ( #1352 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
2022-12-02 22:20:18 +08:00
WangGuan
b895926754
feat: use another filename when uploading a duplicated file instead of replacing it ( #1329 )
...
* fix: upload a file with the same name, not replace
* Update resource.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-27 17:32:15 +08:00
Yaodong Yu
b10fb97c92
feat: finish policy list management ( #1317 )
2022-11-25 16:02:20 +08:00
Yaodong Yu
b337b908ea
feat: fix the bug that admin cannot upload avatar for other users ( #1323 )
2022-11-25 09:36:47 +08:00
Mr Forest
84a03f6c8e
feat: add webhook for add/update org/provider ( #1316 )
2022-11-24 00:29:15 +08:00
会思考的下丘脑
56ff06bbea
feat: add parameter v0 for Casbin APIs ( #1315 )
2022-11-23 22:39:17 +08:00
Yaodong Yu
7e756b8ee2
feat: manager applications in organization scope ( #1290 )
...
* feat: manager applications in organization scope(front end)
* fix: application can use own organization and admin provider
* fix: improve methed to get provider
* fix: modify provider methods by convention
2022-11-21 01:17:55 +08:00
Yaodong Yu
19ba37e0c2
feat: can specify available UI languages for an organization ( #1306 )
2022-11-19 22:11:19 +08:00
Mr Forest
b98ce19211
feat: fix bug in GetDefaultApplication() that caused login error for other orgs ( #1299 )
...
* fix:fix bug in GetDefaultApplication
* fix:fix bug in GetDefaultApplication
2022-11-16 00:39:05 +08:00
imp2002
f115843fbb
feat: fix verification code send time's limit logic ( #1292 )
2022-11-13 22:00:48 +08:00
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
2022-11-13 15:05:15 +08:00
cofecatt
462a82a3d5
fix: Add distinctions between access_token and refresh_token ( #1280 )
2022-11-13 13:00:25 +08:00
cofecatt
770ae47471
feat: fix memory leak problem ( #1257 )
2022-11-06 01:43:27 +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>
2022-11-04 21:31:08 +08:00
Yaodong Yu
ce722897f1
feat: support prefix path for storage files ( #1258 )
2022-11-04 21:08:39 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed ( #1252 )
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.
2022-11-01 22:19:38 +08:00
Bingchang Chen
9d5b019243
fix: nil error if init data is empty ( #1247 )
2022-10-29 20:04:43 +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>
2022-10-28 13:38:14 +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
2022-10-23 15:16:24 +08:00
Yaodong Yu
b0f572c51a
feat: add left-side image and improve login page ( #1226 )
2022-10-22 21:43:41 +08:00
cofecatt
19d351d157
feat: allow non-ASCII characters in username ( #1235 )
2022-10-22 20:46:50 +08:00
Yaodong Yu
6a1ec51978
feat: fix SSRF when download avatar ( #1193 )
2022-10-20 14:47:08 +08:00