1421 Commits

Author SHA1 Message Date
Yaodong Yu
16b1d0e1f0
fix: handle aliyun captcha error (#1624) 2023-03-06 21:23:03 +08:00
longxu0509
fea2a8cdbe
feat: add bi-sync module (#1617)
* feat: add sync module to bi-sync mysql

* feat: fix the delay problem

* feat: fix go mod

* feat: fix the varchar(100) parse error

* fix: fix go.mod space inconsistency

* fix: fix go.mod space inconsistency

* fix: use sql builder instead of concatenation

* fix: remove serverId

* fix: fix file is not `gofumpt`-ed (gofumpt) error

* feat: add mysql bi-sync

* feat: fix some data inconsistency problems

* feat: add function atuo get server uuid

* fix: encapsulate the struct to optimize the code
v1.260.0
2023-03-06 11:39:41 +08:00
Gucheng Wang
9d55238cef Fix code issue 2023-03-06 00:33:26 +08:00
Yaodong Yu
8427d63872
feat: fix empty value of countryCode for signup (#1620) v1.259.0 2023-03-05 21:52:40 +08:00
Yaodong Yu
e8a7b7ee9c
feat: support all captcha for login (#1619)
* refactor: captcha modal

* feat: support all captcha when login

* chore: improve i18 in loginPage.js
v1.258.0
2023-03-05 20:31:46 +08:00
Gucheng Wang
f8bc87eb4e Fix i18n error 2023-03-04 00:13:29 +08:00
Gucheng Wang
3e6ef9e666 Fix forget page i18n 2023-03-03 23:55:48 +08:00
Gucheng Wang
ef3d323f63 Improve SMS code 2023-03-03 22:44:22 +08:00
wht
aad9201b24
feat: add SMS test feature (#1606)
* feat: add SMS test

* fix: Add missing translation

* fix: Delete redundant information

* fix: remove unnecessary field

* Update sms.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.257.0
2023-03-03 22:15:02 +08:00
Gucheng Wang
46f090361e Improve init_data json 2023-03-03 21:32:06 +08:00
fengxsong
1ae6adff8e
fix(secure): remove user list from roles and permissions field to avoid leaking userlist (#1614)
* fix(secure): remove user list from roles and permissions field to avoid leaking userlist

Signed-off-by: fengxsong <fengxsong@outlook.com>

* Update permission.go

* Update role.go

---------

Signed-off-by: fengxsong <fengxsong@outlook.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.256.1
2023-03-03 18:18:41 +08:00
Zayn Xie
59c95ca8a0
feat: fix ID parsing bug when calling api/logout (#1611)
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
v1.256.0
2023-03-03 14:26:31 +08:00
Gucheng Wang
ca1b5feb78 Improve default captcha UI 2023-03-02 22:04:37 +08:00
Gucheng Wang
e50c832ff9 Fix login width 2023-03-02 20:49:13 +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>
v1.255.1
2023-03-01 22:09:48 +08:00
fengxsong
d21ae8a478
feat: support making configs in values.yaml (#1595)
Signed-off-by: fengxsong <fengxsong@outlook.com>
v1.255.0
2023-03-01 20:17:04 +08:00
Zayn Xie
db401b2046
ci: add migration ci test (#1600)
* feat: add migration ci test

* feat: add migration ci test

* feat: add migration ci test

---------

Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
2023-03-01 17:30:08 +08:00
Shenyz
7181489da0
fix: OIDC Userinfo API response for scope profile (#1598) v1.254.1 2023-03-01 16:56:39 +08:00
Yaodong Yu
e21087aa50
feat: refactor reset password api and forgetPage.js (#1601) v1.254.0 2023-03-01 15:57:42 +08:00
longxu0509
b38f2218a3
feat: add basic MySQL sync functionality (#1575)
* feat: add sync module to bi-sync mysql

* feat: fix the delay problem

* feat: fix go mod

* feat: fix the varchar(100) parse error

* fix: fix go.mod space inconsistency

* fix: fix go.mod space inconsistency

* fix: use sql builder instead of concatenation

* fix: remove serverId

* fix: fix file is not `gofumpt`-ed (gofumpt) error
v1.253.0
2023-02-28 16:48:06 +08:00
Yaodong Yu
afd3c4ed25
fix: fix bug form country code init error (#1591) v1.252.1 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
v1.252.0
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
181e7c8c7d Refactor out getCountryCodeOption() 2023-02-25 15:25:47 +08:00
Gucheng Wang
36c5a9d09b Sort country list 2023-02-25 15:08:08 +08:00
Gucheng Wang
9acb3c499e Can search country code 2023-02-25 14:57:23 +08:00
Gucheng Wang
0e9a3b0f30 don't update provider in preview 2023-02-25 12:31:08 +08:00
Gucheng Wang
d104a292e7 fix normal user phone edit control 2023-02-25 11:47:34 +08:00
Gucheng Wang
8fbd5b1a74 disable demo prompt for get-organizations API 2023-02-25 11:01:48 +08:00
Gucheng Wang
f5a05ac534 improve application homepage 2023-02-25 10:50:50 +08:00
Gucheng Wang
05fade1d05 fix role list link error 2023-02-25 09:39:19 +08:00
Gucheng Wang
8aefa02036 fix message length 2023-02-25 08:36:24 +08:00
Yaodong Yu
3b6ec3e7c4
feat: improve saml idp err message (#1584) v1.251.0 2023-02-24 21:20:57 +08:00
Yang Luo
910816c7a3 Fix bug in GetLanguage() 2023-02-24 20:17:23 +08:00
Yaodong Yu
412a8b5da7
fix: init name is inconsistent with frontend (#1583) v1.250.1 2023-02-24 14:28:34 +08:00
Yaodong Yu
8ebd16a14e
feat: fix resetting email and phone bug (#1579) v1.250.0 2023-02-23 18:06:13 +08:00
Gucheng Wang
44ec854465 Refactor getClientIdLabel() and getClientSecretLabel() 2023-02-23 17:57:46 +08:00
imp2002
26e87b0d98
feat: fix compatibility with lower version browsers like Chrome 87 (#1578) v1.249.0 2023-02-22 20:57:57 +08:00
Gucheng Wang
7e0ea0b8d9 Fix missing accountItem crash bug 2023-02-22 12:16:05 +08:00
Gucheng Wang
ace8e9da06 Refactor getAppIdRow() 2023-02-22 12:10:55 +08:00
Yaodong Yu
aac8714d72
feat: handle aliyun SMS response error (#1577) v1.248.0 2023-02-21 20:08:23 +08:00
Yaodong Yu
e71e41b343
feat: fix captcha none type bug (#1572) v1.247.0 2023-02-19 16:56:51 +08:00
Yang Luo
6131286cbd Add getBuiltInAccountItems() 2023-02-19 09:45:06 +08:00
Yang Luo
3bda8fb9dc Remove Migrator_1_245_0_PR_1557 2023-02-19 09:38:57 +08:00
github-actions[bot]
11f55a474c
refactor: New Crowdin translations (#1440)
* refactor: New Crowdin translations by Github Action

* refactor: New Crowdin Backend translations by Github Action

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-02-18 23:46:44 +08:00
Yang Luo
4806e76cf6 Fix demo mode default login 2023-02-18 23:43:22 +08:00
Yang Luo
edbd3d4018 Add i18n banner 2023-02-18 18:09:43 +08:00
Yang Luo
3f0a741e6c Improve i18n languages 2023-02-18 17:35:36 +08:00
Yang Luo
d273fdd670 Use username as saml:NameID 2023-02-18 16:42:45 +08:00
Yang Luo
3ae81716b9 Fix getLdaps() GET v1.246.1 2023-02-18 16:27:47 +08:00