69 Commits

Author SHA1 Message Date
Yang Luo
2d4998228c Add organization.MasterVerificationCode 2023-11-13 13:53:41 +08:00
Yang Luo
a616127909 Add organization.DefaultPassword 2023-10-18 11:58:25 +08:00
wxy
684cbdb951
fix: replace the wrong param name willExist (#2389) 2023-10-10 21:47:38 +08:00
Yaodong Yu
a6f803aff1
feat: refactor code to use responseOK everywhere (#2111)
* refactor: use responseOK return frontend format json data

* revert handle error

* revert handle error
2023-07-23 09:49:16 +08:00
Yang Luo
d31077a510 Remove conf values 2023-06-30 01:38:48 +08:00
Denis Plynskiy
eee9b8b9fe
feat: add organization context select box for admin (#2013)
* feat: organization as context

* feat: organization as context with backend filtration

* Update app.conf

* update app.conf and hide organization select for mobile.

---------

Co-authored-by: dplynsky <dplynsky@ptsecurity.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-30 01:32:34 +08:00
Trần Thanh Tịnh
cd7589775c
feat: replace all panic by response err (#1993)
* fix: missing return after response error

* feat: handle error in frontend

* feat: disable loading and catch org edit error

* chore: i18 for error message

* chore: remove break line

* feat: application catching error
2023-06-27 21:33:47 +08:00
leoil
0f57ac297b ci: add password complexity options to organization edit page (#1949)
* Support uploading roles and permissions via xlsx file.

* Template xlsx file for uploading users and permissions.

* reformat according to gofumpt.

* fix typo.

* add password complexity options to organization edit page.

* add password complexity options to organization edit page.

* Fixed Typos.

* Fixed Typos.

* feat:add password complexity options to organization edit page

* Auto generate i18n fields.

* Refactor code according to instructions

* Support autocheck passwd complexity in frontend when setting passwd in user edit page.

* feat:Backend Support for password validation in signup and forget page.

* feat:Frontend Support for password validation in signup and forget page.

* Add default password complex option & Update historical empty filed with default option.

* Migrator for field `password_complex_options` in org table.

* feat: support frontend password complex option check in user_edit/forget/signup page.

* frontend update for user edit page

* update i18n file

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-17 00:07:36 +08:00
Yaodong Yu
7058a34f87
feat: complete group tree (#1967)
* feat: complete group tree

* feat: ui

* fix: i18n

* refactor code

* fix: support remove user from group

* fix: format code

* Update organization.go

* Update organization.go

* Update user_group.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-14 23:27:46 +08:00
Jiawei Chen
0bda29f143 feat: show 404 error for non-existent objects in edit pages 2023-06-10 01:56:15 +08:00
Yang Luo
11f3af1ede Improve Select modes 2023-05-31 17:36:11 +08:00
Yang Luo
437376c472 Fix CheckAccessPermission() 2023-05-18 13:36:16 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login (#1845) 2023-05-17 01:13:13 +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
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
Gucheng Wang
28d24cc913 Improve i18n 2023-03-18 12:18:42 +08:00
Gucheng Wang
f5672357e6 fix resetting phone bug 2023-02-25 15:46:54 +08:00
Gucheng Wang
181e7c8c7d Refactor out getCountryCodeOption() 2023-02-25 15:25:47 +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
950a274b23
fix: region don't display in userEditPage (#1544) 2023-02-12 18:56:56 +08:00
Yaodong Yu
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
Yaodong Yu
fcdf1e8dd2
feat: improve Select component performance (#1472) 2023-01-12 23:11:11 +08:00
Yaodong Yu
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
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
19ba37e0c2
feat: can specify available UI languages for an organization (#1306) 2022-11-19 22:11:19 +08:00
Yixiang Zhao
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
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
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
キリサメ 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
Gucheng Wang
ae4ab9902b Add accountTable. 2022-06-18 01:41:21 +08:00
Gucheng Wang
be91ff47aa Fix logo columns. 2022-06-17 00:07:16 +08:00
Jan Piechowicz
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
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
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
Yang Luo
4d035bf66d Add tags to organization. 2022-03-13 00:35:49 +08:00
Yang Luo
743dcc9725 Fix translation. 2022-03-12 23:37:58 +08:00
Yang Luo
39ab71c5db Add product pages. 2022-02-27 20:09:19 +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
Yang Luo
f5bc76016d Add restriction to built-in org and app modification. 2021-12-23 00:52:32 +08:00
jianmaikj
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 782b9e229acf2cced9848f137f1b714b0be1df63.

* Update bcrypt.go

* Update go.sum
2021-12-22 20:26:19 +08:00
Gucheng Wang
2f71d9743b Improve org creation UI. 2021-12-12 17:12:15 +08:00
Gucheng Wang
467d709b8e Add MasterPassword to organization. 2021-11-06 21:14:53 +08:00
Gucheng Wang
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +08:00
Gucheng Wang
acaee2e892 Fix "Phone prefix" text typo. 2021-11-06 15:01:51 +08:00
Gucheng Wang
7520b71198 Add Md5UserSaltCredManager. 2021-11-04 21:32:54 +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
turbodog03
3bbb0fb58e
feat: improve border (#190)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-24 20:38:33 +08:00