1444 Commits

Author SHA1 Message Date
Yaodong Yu
fd883a3211
feat: improve verification error translation (#1660) v1.271.0 2023-03-15 23:44:38 +08:00
mos
312412ffe4
fix: disable cookie for static files (#1656)
Co-authored-by: chenjpu <bing.chen@hgcitech.com>
v1.270.1
2023-03-15 22:09:10 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled (#1655) v1.270.0 2023-03-15 11:12:31 +08:00
Yaodong Yu
a8a8f39963
feat: use GetUserCount to optimize login performance (#1653) v1.269.0 2023-03-14 14:38:39 +08:00
Yaodong Yu
90f8eba02d
feat: can send Aliyun test SMS now (#1651) v1.268.0 2023-03-13 17:48:58 +08:00
Yaodong Yu
2cca1c9136
feat: refactor LDAP backend code and improve frontend operation (#1640)
* refactor: simplify ldap backend code and improve frontend operation

* chore: add skipCi tag in sync_test.go

* fix: ui
v1.267.0
2023-03-12 11:12:51 +08:00
Gucheng Wang
c2eebd61a1 Add TestStartSyncJob() 2023-03-12 05:38:39 +08:00
Gucheng Wang
59566f61d7 Refactor sync code 2023-03-12 05:10:23 +08:00
Gucheng Wang
7e4c9c91cd improve sending text 2023-03-10 22:35:47 +08:00
Gucheng Wang
430ee616db fix user list shows all users bug 2023-03-10 21:59:57 +08:00
aiden
2e3a323528
feat: Dingtalk provider supports fetching organization email (#1636)
* feat(dingtalk): try to get email from corp app

* chore: format codes

* chore: format codes (#1)

* Delete .fleet directory

* fix: fix syntax errors

* Update dingtalk.go

* style: fmt codes with gofumpt

---------

Co-authored-by: aidenlu <aiden_lu@wochacha.com>
v1.266.0
2023-03-10 21:47:54 +08:00
Gucheng Wang
09e8408a3d Fix Popconfirm text v1.265.1 2023-03-10 19:17:53 +08:00
陈温鹏
2998bbf4b9
fix: Put Popconfirm into a React component. (#1638)
* add "Sure to delete" to i18n(#1569)

* fix: add sure to delete to i18n

* fix: Put Popconfirm into a React component.
2023-03-10 19:16:08 +08:00
imp2002
404382f2e0
feat: fix incompatibility css inset when Safari version <=14.1 (#1635) v1.265.0 2023-03-09 22:01:39 +08:00
Gucheng Wang
71db1f62a9 Fix DingTalk oauth link 2023-03-09 21:11:16 +08:00
Gucheng Wang
07dc6bf7cd Refactor sysinfo page 2023-03-09 17:17:12 +08:00
longxu0509
2de3f6772d
fix: add aheadCnt in sysinfo (#1632)
* 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

* fix: fix incorrect Casdoor version in system info page

* fix: fix incorrect root path

* Update sysytem_test.go

* feat: add aheadCnt means that the commit is ahead of version several times

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.264.1
2023-03-09 16:07:13 +08:00
longxu0509
3f623570fd
feat: fix incorrect Casdoor version in system info page (#1631)
* 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

* fix: fix incorrect Casdoor version in system info page

* fix: fix incorrect root path

* Update sysytem_test.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.264.0
2023-03-09 13:28:23 +08:00
Yaodong Yu
a5dfe54a33
feat: fix LDAP page crash (#1630) v1.263.0 2023-03-08 21:31:55 +08:00
陈温鹏
7c4a6fea02
fix: add "sure to delete" to i18n (#1627)
* add "Sure to delete" to i18n(#1569)

* fix: add sure to delete to i18n
v1.262.1
2023-03-07 22:38:48 +08:00
imp2002
ff4af6bb4e
feat: remove ID field in enforcement (#1623) v1.262.0 2023-03-07 16:04:07 +08:00
Gucheng Wang
5bdede5596 Use go-webauthn/webauthn 2023-03-07 13:49:04 +08:00
wht
ed052b0e6a
feat: add support for SUBMAIL sms (#1621)
* feat: add support for SUBMAIL sms

* fix: add SUBMAIL SMS icon
v1.261.0
2023-03-06 21:23:45 +08:00
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