Yang Luo
983a30a2e0
Dingtalk now supports linking with corpMobile
2023-05-17 22:14:57 +08:00
Yang Luo
37d0157d41
Fix application.EnableSignUp bug
2023-05-17 21:56:36 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login ( #1845 )
2023-05-17 01:13:13 +08:00
Yang Luo
3d9b305bbb
Add /api/health API
2023-05-16 21:47:34 +08:00
Yang Luo
6f0b7f3f24
Support modelId arg in Enforce() API
2023-05-12 21:39:57 +08:00
Yang Luo
776a682fae
Improve args of Enforce() API
2023-05-12 21:32:48 +08:00
Yang Luo
5214d48486
Fix authorized issue of UploadResource() API
2023-05-12 01:00:06 +08:00
Yang Luo
e360b06d12
Fix termsOfUse upload in application edit page
2023-05-10 23:57:03 +08:00
Yang Luo
3c871c38df
Fix message and chat owner bug
2023-05-10 22:32:32 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
Yaodong Yu
50586a9716
feat: improve determination about whether dest is mail or phone and mask props ( #1814 )
2023-05-07 21:19:51 +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
Yang Luo
55fd31f575
Disable built-in/admin's unexpected change
2023-05-04 22:12:57 +08:00
Yang Luo
84a7fdcd07
Handle message answer
2023-05-02 01:30:06 +08:00
Yang Luo
2cd6f9df8e
Add /api/get-message-answer API
2023-05-01 23:15:51 +08:00
Yang Luo
3a6ab4cfc6
Support mobile in DingTalk userinfo
2023-04-29 01:24:45 +08:00
OutOfEastGate
66c15578b1
feat: fix the order of Method and Name in System Info ( #1797 )
...
* fix: fixed the order of Method and Name in System Info
* fix: add i18n for System Info
2023-04-28 22:11:10 +08:00
OutOfEastGate
e4c36d407f
feat: fix prometheus filter bugs ( #1792 )
...
* fix: fix prometheus
* fix: count latency with prefix api
* fix: latency should not be counted when startTime is nil
2023-04-26 22:18:48 +08:00
Yaodong Yu
6c2b172aae
feat: fix function CheckAccountItemModifyRule ( #1789 )
...
* feat: fix function CheckAccountItemModifyRule
* fix: admin changes its own username
* fix: current user changes its own username
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-04-26 16:21:58 +08:00
Yaodong Yu
95f4f4cb6d
feat: refactor out form package and optimize verification code module ( #1787 )
...
* refactor: add forms package and optimize verification code module
* chore: add license
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: swagger
2023-04-25 23:05:53 +08:00
OutOfEastGate
1003639e5b
feat: support for prometheus ( #1784 )
2023-04-25 16:06:09 +08:00
XDTD
6d6cbc7e6f
feat: add dynamic mode for provider to enable verification code when the login password is wrong ( #1753 )
...
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates
* feat: enable verification code when the login password is wrong
* fix: only enable captcha when login in password
* fix: disable login error limits when captcha on
* fix: pass "enableCaptcha" as an optional param
* fix: change enbleCapctah to optional bool param
2023-04-22 16:16:25 +08:00
Yang Luo
ee8c2650c3
Remove useless "/api/login/oauth/code" API and update Swagger
2023-04-22 09:47:52 +08:00
Jinhongyu
8db87a7559
fix: function comments ( #1757 )
...
Modify the function annotation so that the swagger can parse correctly
2023-04-19 21:19:48 +08:00
Yaodong Yu
903745c540
fix: improve LDAP page UI ( #1749 )
...
* refactor: improve LDAP sync page
* refactor: update anted version
* chore: i18
2023-04-17 22:03:05 +08:00
wht
5c26335fd6
feat: add rule option for phone in application's signup page ( #1745 )
2023-04-16 20:34:06 +08:00
Yaodong Yu
47dc3715f9
feat: handle error when parsing samlResponse ( #1744 )
...
* fix: handle err from parse samlResponse
* fix: lint
2023-04-16 00:36:25 +08:00
Yang Luo
754fa1e745
Add chat box
2023-04-15 10:54:55 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
rune
fe647939ce
fix: fix CAS callback url not match bug ( #1728 )
...
Co-authored-by: mfk <mfk@hengwei.com.cn>
2023-04-11 19:26:57 +08:00
Yang Luo
2d55252261
Add chat and message pages
2023-04-09 15:54:22 +08:00
Yaodong Yu
b7d78d1e27
fix: validate parameter and nil in func updateUser ( #1714 )
...
* fix: validate parameter and nil in func updateUser
* fix: delete blank line
2023-04-09 10:35:30 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Yaodong Yu
e1842f6b80
feat: fix LDAP server handle filter without CN field as * ( #1705 )
...
* fix: set ldap server default filter name as *
* fix: default use built-in organization to bind
* chore: use cache reduce the ci test time
2023-04-04 20:51:28 +08:00
zzjin
9c8ea027ef
feat: add the missing userId param docs for get-user API ( #1698 )
...
* Add roles to SAML response
* Fix: Add back missing get-user userId param doc.
Signed-off-by: zzjin <tczzjin@gmail.com>
* Update user.go
---------
Signed-off-by: zzjin <tczzjin@gmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2023-03-30 18:39:14 +08:00
Yang Luo
32b05047dc
Update system info API swagger
2023-03-26 10:19:59 +08:00
Gucheng Wang
989fec72bf
Add /api/user API for Flarum's FoF Passport plugin
2023-03-24 01:02:04 +08:00
Yaodong Yu
c6146a9149
feat: fix bug that login by saml provider can not find application ( #1676 )
2023-03-23 21:38:33 +08:00
longxu0509
da7336a9a4
feat: support getting versionInfo in docker ( #1673 )
...
* feat: support getting versionInfo in docker
* fix: fix build
* fix: fix build
* fix: fix system
2023-03-21 20:46:17 +08:00
Gucheng Wang
c7b9a77b4a
Remove Go i18n duplicates
2023-03-19 22:09:19 +08:00
Yaodong Yu
fd883a3211
feat: improve verification error translation ( #1660 )
2023-03-15 23:44:38 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled ( #1655 )
2023-03-15 11:12:31 +08:00
Yaodong Yu
a8a8f39963
feat: use GetUserCount to optimize login performance ( #1653 )
2023-03-14 14:38:39 +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
2023-03-12 11:12:51 +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>
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>
2023-03-09 13:28:23 +08:00
Yaodong Yu
a5dfe54a33
feat: fix LDAP page crash ( #1630 )
2023-03-08 21:31:55 +08:00
Gucheng Wang
5bdede5596
Use go-webauthn/webauthn
2023-03-07 13:49:04 +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
2023-03-05 20:31:46 +08:00