1114 Commits

Author SHA1 Message Date
jakiuncle
7df043fb15
fix: fix cypress error (#1817)
* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error

* fix: fix cypress error
2023-05-09 20:51:07 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions (#1822) 2023-05-09 00:06:52 +08:00
helayzhang
3a6846b32c
feat: fix bug that logging in with account/password cannot redirect successfully (When Casdoor working as a OAuth server) (#1819) 2023-05-08 16:37:56 +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
5b27f939b8 Improve add model initialization 2023-05-05 01:51:34 +08:00
Yang Luo
69ee6a6f7e Move result page into entry page 2023-05-05 01:08:56 +08:00
Yang Luo
bf6d5e529b Add "from" to Email provider 2023-05-04 23:41:37 +08:00
Yang Luo
55fd31f575 Disable built-in/admin's unexpected change 2023-05-04 22:12:57 +08:00
Yang Luo
38da63e73c Improve answer text 2023-05-02 23:33:09 +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
48c5bd942c Fix chat UI 2023-05-01 16:23:48 +08:00
Yang Luo
d01d63d82a Improve chat menu height 2023-05-01 14:11:17 +08:00
Yang Luo
e4fd9cca92 Fix new chat button 2023-05-01 13:27:49 +08:00
Yang Luo
8d531b8880 Fix getStateFromQueryParams() crash when provider name is non-latin 2023-05-01 10:32:08 +08:00
Yang Luo
b1589e11eb Fix signin preview when there's no redirectUris 2023-05-01 10:31:21 +08:00
Joe Zhang
fba4801a41
feat: make redirectUri token param follow OAuth2 standard (#1796)
* fix: rename token to access_token in implicit flow; change ? in the redirect uri to &

* fix typo
2023-04-28 23:54:48 +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
Yang Luo
f272be67ab Improve i18n 2023-04-28 18:43:41 +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
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
Yaodong Yu
fe53e90d37
fix: signup page of the app-built-in failed to load (#1785) 2023-04-25 16:00:24 +08:00
Yang Luo
06ebc04032 Can add/delete chat 2023-04-23 01:19:44 +08:00
Yang Luo
0ee98e2582 Add loading to chat box 2023-04-23 00:25:09 +08:00
Yang Luo
d25508fa56 Improve chat UI 2023-04-22 23:20:40 +08:00
OutOfEastGate
a6c7b95f97
fix: fixed rows duplicates after sort by column (#1772) 2023-04-22 20:18:38 +08:00
Yaodong Yu
4f8dd771bc
feat: fix bug that can not get application in signup/oauth/ router (#1766) 2023-04-22 18:20:45 +08:00
UsherFall
e0028f5eed
fix: add more events to webhooks (#1771) 2023-04-22 17:11:28 +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
f3ea39d20c Fix result page button link 2023-04-21 23:56:33 +08:00
Yaodong Yu
19209718ea
feat: fix wrong CAS login mode (#1762) 2023-04-20 22:18:02 +08:00
Wenpeng Chen
6572ab69ce
fix: fix pemContent decode error bug for WeChat Pay provider (#1751) 2023-04-19 22:13:13 +08:00
Yaodong Yu
0dcccfc19c
feat: rollback anted to v5.2.3 (#1755) 2023-04-19 11:30:49 +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
Yang Luo
df741805cd Fix chat send 2023-04-17 20:50:03 +08:00
Yang Luo
0d12972e92 Fix "auto single OAuth signin doesn't work" bug 2023-04-17 00:38:48 +08:00
wht
5c26335fd6
feat: add rule option for phone in application's signup page (#1745) 2023-04-16 20:34:06 +08:00
Yang Luo
7503e05a4a Improve menu style 2023-04-15 18:08:21 +08:00
Yang Luo
b89cf1de07 Add karma to account items 2023-04-15 16:05:33 +08:00
Yang Luo
be87078c25 Fix vi i18n 2023-04-15 14:16:49 +08:00
Yang Luo
faf352acc5 Fix i18n 2023-04-15 11:17:31 +08:00
Yang Luo
0db61dd658 Add empty list item and expand menu by default 2023-04-15 10:54:56 +08:00
Yang Luo
ebe8ad8669 Improve UI effect 2023-04-15 10:54:56 +08:00
Yang Luo
2e01f0d10e Add input box 2023-04-15 10:54:55 +08:00
Yang Luo
754fa1e745 Add chat box 2023-04-15 10:54:55 +08:00
Yang Luo
8b9e0ba96b Add chat page 2023-04-15 10:54:55 +08:00
Yang Luo
b0656aca36 Add chat and message pages 2023-04-15 10:54:54 +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
XDTD
968d8646b2
fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates (#1734) 2023-04-12 21:33:54 +08:00