Commit Graph

56 Commits

Author SHA1 Message Date
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
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
28d24cc913 Improve i18n 2023-03-18 12:18:42 +08:00
f5672357e6 fix resetting phone bug 2023-02-25 15:46:54 +08:00
181e7c8c7d Refactor out getCountryCodeOption() 2023-02-25 15:25:47 +08:00
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
950a274b23 fix: region don't display in userEditPage (#1544) 2023-02-12 18:56:56 +08:00
95b32d5ebf feat: support customize theme (#1500)
* refactor: simplify functions and improve variable naming

* feat: add themeEditor component

* feat: support customize theme

* chore: resolve conflict and add LICENCE

* chore: format code

* refactor: use icon replace background url

* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
fcdf1e8dd2 feat: improve Select component performance (#1472) 2023-01-12 23:11:11 +08:00
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
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
d815bf92bd fix: handle add message in frontend (#1340) 2022-11-29 20:32:47 +08:00
19ba37e0c2 feat: can specify available UI languages for an organization (#1306) 2022-11-19 22:11:19 +08:00
b6cdc46023 feat: add defaultApplication for Orgnization (#1111)
* feat: add defaultApplication for Orgnization

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

* fix: remove redundant codes

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

* fix: don't use app-built-in

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

* fix: add query param

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

* Update organization.go

* Update organization.go

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-09-10 20:41:45 +08:00
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
cd966116d4 feat: comma dangle 2022-08-06 23:54:56 +08:00
6aaba6debd feat: space between infix op 2022-08-06 23:43:09 +08:00
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
ae4ab9902b Add accountTable. 2022-06-18 01:41:21 +08:00
be91ff47aa Fix logo columns. 2022-06-17 00:07:16 +08:00
1b840a2e9f feat: support argon2id pass manager (#744)
* support for argon2id

* Update argon2id.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-05-06 09:25:42 +08:00
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
801302c6e7 feat: support user migration from Keycloak using syncer (#645)
* feat: support user migration from Keycloak using syncer

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

* feat: add more Keycloak columns

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

* fix: requested changes

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-06 20:38:14 +08:00
4d035bf66d Add tags to organization. 2022-03-13 00:35:49 +08:00
743dcc9725 Fix translation. 2022-03-12 23:37:58 +08:00
39ab71c5db Add product pages. 2022-02-27 20:09:19 +08:00
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
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
f5bc76016d Add restriction to built-in org and app modification. 2021-12-23 00:52:32 +08:00
d6c2d0f3e8 feat: Add bcrypt encrypted password type (#386)
* Add loading and countdown status to the verification code sending button

* Add bcrypt encrypted password type

* Revert "Add loading and countdown status to the verification code sending button"

This reverts commit 782b9e229a.

* Update bcrypt.go

* Update go.sum
2021-12-22 20:26:19 +08:00
2f71d9743b Improve org creation UI. 2021-12-12 17:12:15 +08:00
467d709b8e Add MasterPassword to organization. 2021-11-06 21:14:53 +08:00
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +08:00
acaee2e892 Fix "Phone prefix" text typo. 2021-11-06 15:01:51 +08:00
7520b71198 Add Md5UserSaltCredManager. 2021-11-04 21:32:54 +08:00
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
3bbb0fb58e feat: improve border (#190)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-24 20:38:33 +08:00
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
705d2ede6b feat: support LDAP (#160)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-19 10:13:23 +08:00
7eb4da6e54 feat: add tooltips for xxxeditPage fields (#135)
Signed-off-by: wasabi <690898835@qq.com>
2021-06-30 00:58:25 +08:00
9dd43238f0 Add DefaultAvatar to org. 2021-06-17 01:44:19 +08:00
fb9f18af2c Add Email provider. 2021-05-14 23:45:20 +08:00
892cb39e3e feat: move User.PhonePrefix to Organization.PhonePrefix
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-13 09:39:07 +08:00
8a4311c85c Add PasswordSalt to org. 2021-05-06 19:13:03 +08:00
f442f11568 Move passwordType to org. 2021-05-05 23:32:21 +08:00
3065bacad2 Add org's favicon. 2021-04-29 21:27:38 +08:00
6fbdc556ac Improve UI text. 2021-04-28 00:13:50 +08:00
0127f8fb63 Improve response message. 2021-03-28 10:36:47 +08:00
d6715c7601 Improve API error handling. 2021-03-28 00:48:34 +08:00
6c2c5be33d Fix React warnings. 2021-03-27 11:56:16 +08:00