Yang Luo
b01ba792bb
Rename to accessSecret
2023-06-16 20:42:15 +08:00
XDTD
967fa4be68
feat: add access key and secret key for user ( #1971 )
2023-06-13 22:18:17 +08:00
Yaodong Yu
0e14a2597e
feat: Add tree structure to organization page ( #1910 )
...
* rebase master
* feat: add group in userEditPage
* feat: use id as the pk
* feat: add groups item in user
* feat: add tree component
* rebase
* feat: ui
* fix: fix some bug
* fix: route
* fix: ui
* fix: improve ui
2023-06-12 09:27:16 +08:00
Jiawei Chen
0bda29f143
feat: show 404 error for non-existent objects in edit pages
2023-06-10 01:56:15 +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
b89cf1de07
Add karma to account items
2023-04-15 16:05:33 +08:00
Yang Luo
8d1ae4ea08
Fix organization page bug
2023-03-31 18:35:57 +08:00
Yaodong Yu
a8937d3046
feat: refactor agreement modal and create folders to classify components ( #1686 )
...
* refactor: refactor agreement modal and create folders to classify components
* fix: i18
* fix: i18
* fix: i18n
2023-03-26 18:44:47 +08:00
Yaodong Yu
8427d63872
feat: fix empty value of countryCode for signup ( #1620 )
2023-03-05 21:52:40 +08:00
Yaodong Yu
8696b08db2
fix: empty countryCode of current account causes crash ( #1603 )
...
* fix: empty countryCode of current account cause crush
* Update UserEditPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-01 22:09:48 +08:00
Yaodong Yu
afd3c4ed25
fix: fix bug form country code init error ( #1591 )
2023-02-27 22:07:28 +08:00
Yaodong Yu
5caceb4ae2
feat: fix bug that signup country code is undefined ( #1590 )
...
* feat: fix signup country code is undefined
* refactor: valid phone number in CN
2023-02-27 20:10:59 +08:00
Gucheng Wang
f5672357e6
fix resetting phone bug
2023-02-25 15:46:54 +08:00
Gucheng Wang
d104a292e7
fix normal user phone edit control
2023-02-25 11:47:34 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS ( #1557 )
...
* feat: support multiple country code
* feat: improve UI
* feat: migrate accountItem
* fix: Aliyun compatible
* fix: phone validate
* fix: typo
2023-02-16 22:53:28 +08:00
Yaodong Yu
19e7d0b0bd
refactor: improve code reuse rate ( #1515 )
2023-02-02 16:43:51 +08:00
Yaodong Yu
b34e16b145
fix: table do not have unique key ( #1512 )
2023-02-02 13:53:18 +08:00
Yaodong Yu
fcdf1e8dd2
feat: improve Select component performance ( #1472 )
2023-01-12 23:11:11 +08:00
Yaodong Yu
ead844131e
feat: improve user edit page to fix missing fields and page crash ( #1463 )
2023-01-11 16:15:06 +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
imp2002
186f0ac97b
feat: check permission when update user ( #1438 )
...
* feat: check permission when update user
* feat: check permission when update user
* fix: fix organization accountItem modifyRule
* fix: fix organization accountItem modifyRule
2023-01-02 09:27:25 +08:00
Yaodong Yu
d498bc60ce
feat: edit user properties ( #1435 )
2022-12-31 15:27:53 +08:00
Yaodong Yu
9f3ee275a8
feat: reformat frontend alert texts with correct i18n ( #1341 )
...
* fix: add i18
* fix: standard prompt message
2022-12-02 00:06:28 +08:00
Yaodong Yu
d815bf92bd
fix: handle add message in frontend ( #1340 )
2022-11-29 20:32:47 +08:00
Yaodong Yu
b7cd598ee8
fix: fail to return after flush the page ( #1325 )
...
* fix: fail to return after flush the page
Old methed just get the url path parameter when click the butten. But when the page flushed, the returnUrl will disappear, so can not return to the specified page.
* Update UserEditPage.js
* Update UserEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-25 23:08:45 +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
Yaodong Yu
6a1ec51978
feat: fix SSRF when download avatar ( #1193 )
2022-10-20 14:47:08 +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>
2022-10-11 00:52:08 +08:00
Gucheng Wang
2247c6a883
Add isSelf() in user edit page
2022-09-29 22:24:05 +08:00
leoshine
1490044295
fix: add returnUrl for user edit page ( #1152 )
...
* feat: add redirect param
Signed-off-by: magicwind <2814461814@qq.com>
* Update UserEditPage.js
Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-09-23 12:01:21 +08:00
Gucheng Wang
a90b27b74a
Fix admin UI issues
2022-09-13 21:32:18 +08:00
Resulte Lee
1f11d22c1c
fix: add managed account table for supporting Chrome extension to auto login ( #1030 )
...
* feat: add manage accounts table(support chrome extension to auto login)
* fix go lint err
* rename manageAccounts to managedAccounts
* expand up&down buttom column width
* rename ManagedAccountsTable to ManagedAccountTable
2022-08-22 00:25:39 +08:00
q1anx1
deed857788
chore(style): allow case declarations and ban var
( #987 )
...
* chore(style): allow case declarations
* chore(style): ban `var` and prefer `const`
2022-08-08 23:35:24 +08:00
q1anx1
45d2745b67
chore(style): add eslint rules: no-unused-imports and no-unused-vars ( #976 )
...
* feat(web): no-unused-imports and no-unused-vars
* chore: fix json style
2022-08-07 11:51:53 +08:00
qianxi0410
c428de6e42
feat: fix some comma dangle
2022-08-07 00:17:27 +08:00
qianxi0410
cd966116d4
feat: comma dangle
2022-08-06 23:54:56 +08:00
qianxi0410
6aaba6debd
feat: space between infix op
2022-08-06 23:43:09 +08:00
q1anx1
9cb519d1e9
fix: Admins should not be allowed to add third-party login for their members ( #932 )
...
* feat: admin can unlink the other user
* feat: global admin can unlink other user
* fix
2022-07-30 23:11:02 +08:00
Mikey
2fec3f72ae
fix: check reset phone & email modify rules ( #927 )
...
* fix: check reset phone & email modify rules
* Update verification.go
* Update organization.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-07-30 18:17:13 +08:00
Resulte Lee
155660b0d7
feat: get user api return roles and permissions ( #929 )
2022-07-30 17:31:56 +08:00
Gucheng Wang
f7243f879b
Fix some JS warnings.
2022-07-12 20:47:11 +08:00
Товарищ программист
7f3b2500b3
feat: support webauthn ( #407 )
...
* feat: support webauthn
* Update init.go
* Update user_webauthn.go
* Update UserEditPage.js
* Update WebauthnCredentialTable.js
* Update LoginPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-12 20:06:01 +08:00
キリサメ qianxi
503d244166
feat(web): add lint ( #875 )
...
* feat: add lint
* feat: fix lint error
* chore: add ignore file
* chore: close indent
2022-07-10 15:45:55 +08:00
leoshine
b9404f14dc
feat: fix bug of using email provider from wrong application ( #869 )
2022-07-10 00:40:52 +08:00
Gucheng Wang
8d0e92edef
Fix missing items in renderAccountItem().
2022-06-21 17:08:08 +08:00
Gucheng Wang
0075b7af52
Fix JS warnings.
2022-06-21 15:26:58 +08:00
Gucheng Wang
ae4ab9902b
Add accountTable.
2022-06-18 01:41:21 +08:00
Yixiang Zhao
e9159902eb
fix: fix the web compiled warnings ( #778 )
...
* fix: fix the web compiled warnings
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: disable changeMomentLanguage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* Update SyncerEditPage.js
* Update UserEditPage.js
* Update ResourceListPage.js
* Update ProviderEditPage.js
* Update ProductBuyPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-06-05 20:56:31 +08:00
Yixiang Zhao
530330bd66
feat: add isProfilePublic setting for accessing user info ( #656 )
...
* feat: add isProfilePublic setting for accessing user info
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-16 15:10:03 +08:00