Yang Luo
ba1ddc7e50
fix: admin can modify user ID now
2024-02-28 18:07:53 +08:00
Yang Luo
59e07a35aa
Add balance to user
2024-02-28 16:54:30 +08:00
Yang Luo
03f005389f
feat: fix organizationChangeTrigger() and userChangeTrigger() bugs
2024-02-21 01:14:32 +08:00
DacongDA
d731c3c934
feat: add regex support for account item ( #2714 )
...
* feat: add regex support for account item
* feat: use reflect to process user field
* fix: fix lint problem
* feat: improve code format and fix reflect error
2024-02-17 15:24:36 +08:00
DacongDA
e71d0476f0
feat: support data initialization for groups, adapters, enforcers, plans and pricings ( #2685 )
2024-02-08 20:46:40 +08:00
dacongda
523186f895
feat: Support sha512 password encryption algorithm ( #2657 )
...
* add sha512 encryption support for password
* fead: add sha512 encryption support for password
2024-01-31 00:06:06 +08:00
Satinder Singh
ef373ca736
feat: add deletedTime to user ( #2652 )
2024-01-30 23:18:32 +08:00
Yang Luo
8b1c4b0c75
feat: make phone field longer to 100
2024-01-30 19:06:18 +08:00
Yang Luo
93c3c78d42
feat: support "id_card" in UpdateUser()
2024-01-26 08:23:55 +08:00
HGZ-20
d7c40459c0
feat: implement the enforcement for new invitation page ( #2628 )
...
Added new invitation code implementation
2024-01-22 02:25:13 +08:00
Yang Luo
00efdf1d03
Fix EmailVerified in UserInfo()
2024-01-05 09:37:42 +08:00
Yang Luo
27187b3a54
feat: add "Reset to Default HTML" button
2023-12-30 00:47:10 +08:00
Gucheng Wang
067276d739
Add new B2C provider
2023-12-17 16:29:29 +08:00
Yang Luo
5c103e8cd3
Improve error handling in GenerateIdForNewUser()
2023-12-14 10:12:00 +08:00
Daniil Mikhaylov
2ce8c93ead
feat: Improve LDAP filter support ( #2519 )
2023-11-26 23:11:49 +08:00
Yang Luo
988b14c6b5
Fix user's UpdatedTime in other APIs
2023-11-08 20:22:28 +08:00
Yang Luo
a9e72ac3cb
feat: fix bug in GetAllowedApplications()
2023-11-08 10:31:24 +08:00
Yang Luo
cf10738f45
Fix typo in AddUserKeys()
2023-10-31 13:31:12 +08:00
Yang Luo
ac00713c20
Improve error handling for object/user.go
2023-10-31 13:20:44 +08:00
Yang Luo
a616127909
Add organization.DefaultPassword
2023-10-18 11:58:25 +08:00
Pedro Padron
983da685a2
feat: support calling get-user API by only email, phone or userId without owner ( #2398 )
2023-10-13 02:48:55 +08:00
haiwu
440d87d70c
feat: support SCIM protocol ( #2393 )
...
* 111
* feat: support scim/Users GET and POST request
* feat: support scim/Users DELETE/PATCH/PUT request
* feat: better support scim/Users PATCH request
* feat: fix scim/Users logic
* feat: gofumpt
* feat: fix bug in scim/Users
* feat: fix typo
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-10-12 00:13:16 +08:00
Yang Luo
d06d7c5c09
Fix batch methods like AddUsersInBatch()
2023-10-08 19:33:28 +08:00
Yang Luo
981908b0b6
Fix crash in LDAP's sync: GenerateIdForNewUser()
2023-09-26 19:12:28 +08:00
Yang Luo
687830697e
Refactor getPermissionsAndRolesByUser() related code
2023-09-24 08:08:32 +08:00
Yang Luo
b6d6aa9d04
Use GenerateIdForNewUser() in add-user API
2023-09-20 22:50:17 +08:00
Yang Luo
f40d44fa1c
Refactor out GenerateIdForNewUser()
2023-09-20 22:45:00 +08:00
Cattī Crūdēlēs
a7cb202ee9
feat: fix JSON tag of EmailVerified ( #2322 )
...
Signed-off-by: Cattī Crūdēlēs <17695588+wzy9607@users.noreply.github.com>
2023-09-11 18:33:24 +08:00
Yang Luo
c62588f9bc
Add EmailVerified to UserInfo
2023-09-08 18:27:14 +08:00
Yang Luo
669ac7c618
Don't encrypt user pass when user.PasswordType is non-empty when adding users
2023-08-31 17:49:36 +08:00
haiwu
05b2f00057
feat: support Pricings flow ( #2250 )
...
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-24 23:20:50 +08:00
Yaodong Yu
2b23c04f49
fix: add SignupApplication and type for user synced from LDAP ( #2240 )
2023-08-21 22:52:35 +08:00
Yaodong Yu
e5a189e0f4
fix: remove isGlobalAdmin field in user ( #2235 )
...
* refactor: remove isGlobalAdmin field in user
* fix: upload xlsx
* fix: remove field in account table
2023-08-19 12:23:15 +08:00
haiwu
891e8e21d8
feat: support Web3-Onboard provider ( #2209 )
...
* feat: add Web3-Onboard idp
* feat: update Web3-Onboard logo
* feat: update package.json
* feat: remove unused package
* feat: add yarn build param --max_old_space_size=4096
* feat: remove log
* feat: add Wallet configure
* feat: remove hardware wallets
2023-08-13 23:58:57 +08:00
Yaodong Yu
9899022bcd
fix: check enforcer should not be nil ( #2199 )
...
* fix: check enforcer should not be nil
* fix: check enforcer should not be nil
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-11 12:31:49 +08:00
Yaodong Yu
1a9d02be46
feat: use the casbin model to store relationships between users and groups ( #2178 )
...
* fix:reslove conflict
* fix: remove interface
2023-08-11 10:59:18 +08:00
Yaodong Yu
3220a04fa9
fix: use org/groupName replace groupName ( #2180 )
2023-08-06 20:16:44 +08:00
Yang Luo
c24343bd53
Fix XxxChangeTrigger() doesn't return error bug
2023-08-03 18:45:49 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
June
6a952952a8
fix: unmask application for org admin ( #2138 )
...
* feat: unmask application with user admin
* Update application.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-26 17:17:49 +08:00
haiwu
d7110ff8bf
feat: support MetaMask provider ( #2084 )
...
* feat: add metamask provider
* feat: add eth login
* feat: check eth sign
* feat: finish metamask signin/signup
* feat: support MetaMask provider link/unlink
* feat: update web/craco.config.js to handle polyfill
* feat: gofumpt idp/metamask.go
* feat: update MetaMask logo path
* feat: support MetaMask avatar
2023-07-20 17:51:36 +08:00
Yang Luo
38f031bc86
Show access secret if isAdminOrSelf is true in get-user and get-account APIs
2023-07-19 19:14:53 +08:00
Yaodong Yu
347d3d2b53
feat: fix bugs in MFA ( #2033 )
...
* fix: prompt mfa binding
* fix: clean session when leave promptpage
* fix: css
* fix: force enable mfa
* fix: add prompt rule
* fix: refactor directory structure
* fix: prompt notification
* fix: fix some bug and clean code
* fix: rebase
* fix: improve notification
* fix: i18n
* fix: router
* fix: prompt
* fix: remove localStorage
2023-07-07 12:30:07 +08:00
Yaodong Yu
0a8c2a35fe
feat: add TOTP multi-factor authentication ( #2014 )
...
* feat: add totp multi-factor authentication
* feat: add license
* feat:i18n and update yarn.lock
* feat:i18n
* fix: i18n
2023-06-24 18:39:54 +08:00
Yang Luo
a3b0f1fc74
feat: add owner to getUserByWechatId()
2023-06-21 21:29:53 +08:00
Yaodong Yu
c391af4552
feat: improve MFA by using user's own Email and Phone ( #2002 )
...
* refactor: mfa
* fix: clean code
* fix: clean code
* fix: fix crash and improve robot
2023-06-21 18:56:37 +08:00
Yaodong Yu
65716af89e
feat: deprecate the user group relation table ( #1990 )
...
* fix: deprecate the user group relation table
* fix: clean code
* fix: fix trigger
* Update group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-19 19:08:45 +08:00
Yang Luo
58aa7dba6a
Fix groups in GetUserInfo()
2023-06-19 11:06:55 +08:00
Yang Luo
29fc820578
Set User.groups to []
2023-06-19 09:42:17 +08:00
Yaodong Yu
d0ac265c91
fix: Deprecate the id field in group ( #1987 )
2023-06-18 23:33:13 +08:00