104 Commits

Author SHA1 Message Date
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
Yixiang Zhao
0fc0ba0c76
feat: support global admin to modify the email and phone of other users (#633)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-30 20:27:23 +08:00
Yang Luo
4d035bf66d Add tags to organization. 2022-03-13 00:35:49 +08:00
Yixiang Zhao
f8c4ca0f00
feat: add cancel buttons on the edit page (#509)
* feat: add cancel buttons on the edit page

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: remove warning and primary type of cancel buttons

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-02-25 18:16:02 +08:00
Gucheng Wang
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
Gucheng Wang
cee2c608a2 Disable PasswordModal when needed in user edit page. 2022-01-15 21:34:37 +08:00
Gucheng Wang
dee9bac110 Show signupApplication in user edit page. 2022-01-15 18:29:10 +08:00
Gucheng Wang
b91b4aec91 Allow global admin to modify username. 2022-01-13 23:20:10 +08:00
Yang Luo
4611b59b08 Add webhook edit page's preview. 2022-01-01 10:58:39 +08:00
Yang Luo
8f0995ca34 Fix bug in showing OAuthWidget. 2021-12-20 01:11:42 +08:00
Yixiang Zhao
4ca5f4b196
feat: add Keycloak idp support (#356)
* feat: add Keycloak idp support

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: fix the profile UI

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-13 19:49:30 +08:00
Gucheng Wang
29807b82e1 Admin can reset password without old password. 2021-12-12 19:15:24 +08:00
Gucheng Wang
1762d19787 Improve creation UI for pages. 2021-12-12 18:51:12 +08:00
Gucheng Wang
d224e728a3 Reduce CountDownInput args. 2021-11-28 20:57:14 +08:00
Gucheng Wang
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +08:00
Yang Luo
c6b2106c94 Add bio to user. 2021-08-25 08:07:08 +08:00
Yang Luo
15a6f64fdc Add 5 new user properties. 2021-08-21 10:58:34 +08:00
Yang Luo
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
Yang Luo
b7e0a4fe4e Return 200 for denied request. 2021-08-14 14:26:42 +08:00
Yang Luo
9fb4b4d394 Change text to "3rd-party logins". 2021-08-14 14:13:13 +08:00
Yang Luo
1a2d85102c Support defaultHttpClient. 2021-08-01 17:36:03 +08:00
sh1luo
bc5e748e5c
feat: add country/region select (#207)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-31 16:02:48 +08:00
turbodog03
1c01a34814
feat: improve EditPages for touchscreen (#195)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-25 23:13:34 +08:00
sh1luo
21b4e0e51d
fix: clear all console warnings (#192)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 11:10:45 +08:00
turbodog03
3bbb0fb58e
feat: improve border (#190)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-24 20:38:33 +08:00
turbodog03
8d7fdb93ac
feat: fix header overflow and account disappear bug, improve UI, optimize touchscreen experience (#187)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-23 09:46:01 +08:00
Yang Luo
dc0712c8a5 Replace getDefaultApplication() with getUserApplication(). 2021-07-19 10:12:04 +08:00
wasabi
7eb4da6e54
feat: add tooltips for xxxeditPage fields (#135)
Signed-off-by: wasabi <690898835@qq.com>
2021-06-30 00:58:25 +08:00
Yang Luo
e0b6270f50 Make OAuthWidget work for prompt page. 2021-06-20 02:13:15 +08:00
Yang Luo
0f69f4f07c Refactor our OAuthWidget.js 2021-06-20 00:42:32 +08:00
Yang Luo
92610f9971 Add prompt page. 2021-06-18 02:09:19 +08:00