leoil
34151c0095
feat: Support uploading roles and permssions via xlsx files. ( #1899 )
...
* Support uploading roles and permissions via xlsx file.
* Template xlsx file for uploading users and permissions.
* reformat according to gofumpt.
* fix typo.
2023-05-28 11:29:43 +08:00
Yaodong Yu
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
UsherFall
7fc697b711
ci: fix bug in WeChat payment provider
2023-05-27 17:50:56 +08:00
guangwu
54e4747dbc
refactor: code-optimization ( #1885 )
...
* refactor: code-optimization
* fix: restoring code style
* fix: gofmt
2023-05-23 17:54:51 +08:00
Ilya Sulimanov
88c0856d17
feat: add subscription managment ( #1858 )
...
* feat: subscription managment
* fix: remove console log
* fix: webhooks
* fix linter
* fix: fix via gofumpt
* fix: review changes
* fix: Copyright 2023
* Update account.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-20 15:56:21 +08:00
June
d20f3eb039
feat: support get user by userId and owner ( #1870 )
...
* feat: support get user by userId and owner
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-19 21:46:44 +08:00
Yaodong Yu
3e13e61d8f
fix: sdk user is not Global Admin ( #1868 )
2023-05-19 21:24:55 +08:00
Yang Luo
79bd58e0e6
Use util.GetId()
2023-05-19 14:26:32 +08:00
Yang Luo
de73ff0e60
Add IsMaskedEnabled to provider API
2023-05-19 13:09:53 +08:00
Yaodong Yu
65dcbd2236
feat: compatible different uid of LDAP server ( #1860 )
...
* feat: compatible different uid of LDAP server
* Update organization.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-19 02:34:25 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status ( #1859 )
2023-05-18 22:03:53 +08:00
Trần Thanh Tịnh
2eefeaffa7
feat: enforce by using resourceId ( #1855 )
...
* feat: enforce by using resourceId
* Update permission.go
* chore: fix cilint for enforcer.go
---------
Co-authored-by: tinhtt4 <tinhtt4@vng.com.vn>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-18 16:36:03 +08:00
Yang Luo
983a30a2e0
Dingtalk now supports linking with corpMobile
2023-05-17 22:14:57 +08:00
Yang Luo
37d0157d41
Fix application.EnableSignUp bug
2023-05-17 21:56:36 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login ( #1845 )
2023-05-17 01:13:13 +08:00
Yang Luo
3d9b305bbb
Add /api/health API
2023-05-16 21:47:34 +08:00
Yang Luo
6f0b7f3f24
Support modelId arg in Enforce() API
2023-05-12 21:39:57 +08:00
Yang Luo
776a682fae
Improve args of Enforce() API
2023-05-12 21:32:48 +08:00
Yang Luo
5214d48486
Fix authorized issue of UploadResource() API
2023-05-12 01:00:06 +08:00
Yang Luo
e360b06d12
Fix termsOfUse upload in application edit page
2023-05-10 23:57:03 +08:00
Yang Luo
3c871c38df
Fix message and chat owner bug
2023-05-10 22:32:32 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
Yaodong Yu
50586a9716
feat: improve determination about whether dest is mail or phone and mask props ( #1814 )
2023-05-07 21:19:51 +08:00
Yaodong Yu
eb39e9e044
feat: add multi-factor authentication (MFA) feature ( #1800 )
...
* feat: add two-factor authentication interface and api
* merge
* feat: add Two-factor authentication accountItem and two-factor api in frontend
* feat: add basic 2fa setup UI
* rebase
* feat: finish the two-factor authentication
* rebase
* feat: support recover code
* chore: fix eslint error
* feat: support multiple sms account
* fix: client application login
* fix: lint
* Update authz.go
* Update mfa.go
* fix: support phone
* fix: i18n
* fix: i18n
* fix: support preferred mfa methods
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-05 21:23:59 +08:00
Yang Luo
55fd31f575
Disable built-in/admin's unexpected change
2023-05-04 22:12:57 +08:00
Yang Luo
84a7fdcd07
Handle message answer
2023-05-02 01:30:06 +08:00
Yang Luo
2cd6f9df8e
Add /api/get-message-answer API
2023-05-01 23:15:51 +08:00
Yang Luo
3a6ab4cfc6
Support mobile in DingTalk userinfo
2023-04-29 01:24:45 +08:00
OutOfEastGate
66c15578b1
feat: fix the order of Method and Name in System Info ( #1797 )
...
* fix: fixed the order of Method and Name in System Info
* fix: add i18n for System Info
2023-04-28 22:11:10 +08:00
OutOfEastGate
e4c36d407f
feat: fix prometheus filter bugs ( #1792 )
...
* fix: fix prometheus
* fix: count latency with prefix api
* fix: latency should not be counted when startTime is nil
2023-04-26 22:18:48 +08:00
Yaodong Yu
6c2b172aae
feat: fix function CheckAccountItemModifyRule ( #1789 )
...
* feat: fix function CheckAccountItemModifyRule
* fix: admin changes its own username
* fix: current user changes its own username
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-04-26 16:21:58 +08:00
Yaodong Yu
95f4f4cb6d
feat: refactor out form package and optimize verification code module ( #1787 )
...
* refactor: add forms package and optimize verification code module
* chore: add license
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: swagger
2023-04-25 23:05:53 +08:00
OutOfEastGate
1003639e5b
feat: support for prometheus ( #1784 )
2023-04-25 16:06:09 +08:00
XDTD
6d6cbc7e6f
feat: add dynamic mode for provider to enable verification code when the login password is wrong ( #1753 )
...
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates
* feat: enable verification code when the login password is wrong
* fix: only enable captcha when login in password
* fix: disable login error limits when captcha on
* fix: pass "enableCaptcha" as an optional param
* fix: change enbleCapctah to optional bool param
2023-04-22 16:16:25 +08:00
Yang Luo
ee8c2650c3
Remove useless "/api/login/oauth/code" API and update Swagger
2023-04-22 09:47:52 +08:00
Jinhongyu
8db87a7559
fix: function comments ( #1757 )
...
Modify the function annotation so that the swagger can parse correctly
2023-04-19 21:19:48 +08:00
Yaodong Yu
903745c540
fix: improve LDAP page UI ( #1749 )
...
* refactor: improve LDAP sync page
* refactor: update anted version
* chore: i18
2023-04-17 22:03:05 +08:00
wht
5c26335fd6
feat: add rule option for phone in application's signup page ( #1745 )
2023-04-16 20:34:06 +08:00
Yaodong Yu
47dc3715f9
feat: handle error when parsing samlResponse ( #1744 )
...
* fix: handle err from parse samlResponse
* fix: lint
2023-04-16 00:36:25 +08:00
Yang Luo
754fa1e745
Add chat box
2023-04-15 10:54:55 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
rune
fe647939ce
fix: fix CAS callback url not match bug ( #1728 )
...
Co-authored-by: mfk <mfk@hengwei.com.cn>
2023-04-11 19:26:57 +08:00
Yang Luo
2d55252261
Add chat and message pages
2023-04-09 15:54:22 +08:00
Yaodong Yu
b7d78d1e27
fix: validate parameter and nil in func updateUser ( #1714 )
...
* fix: validate parameter and nil in func updateUser
* fix: delete blank line
2023-04-09 10:35:30 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Yaodong Yu
e1842f6b80
feat: fix LDAP server handle filter without CN field as * ( #1705 )
...
* fix: set ldap server default filter name as *
* fix: default use built-in organization to bind
* chore: use cache reduce the ci test time
2023-04-04 20:51:28 +08:00
zzjin
9c8ea027ef
feat: add the missing userId param docs for get-user API ( #1698 )
...
* Add roles to SAML response
* Fix: Add back missing get-user userId param doc.
Signed-off-by: zzjin <tczzjin@gmail.com>
* Update user.go
---------
Signed-off-by: zzjin <tczzjin@gmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2023-03-30 18:39:14 +08:00
Yang Luo
32b05047dc
Update system info API swagger
2023-03-26 10:19:59 +08:00
Gucheng Wang
989fec72bf
Add /api/user API for Flarum's FoF Passport plugin
2023-03-24 01:02:04 +08:00
Yaodong Yu
c6146a9149
feat: fix bug that login by saml provider can not find application ( #1676 )
2023-03-23 21:38:33 +08:00