1798 Commits

Author SHA1 Message Date
Yang Luo
d4dc236770 Fix refreshExpireInHours zero value issue 2023-05-17 20:47:59 +08:00
Yang Luo
596742d782 Show org column better for admin (shared) v1.315.1 2023-05-17 17:30:47 +08:00
XDTD
ce921c00cd
fix: resolve the problem of cert being unable to be accessed properly (#1850)
* fix: resolve the problem of cert being unable to be accessed properly

* Update CertEditPage.js

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-17 17:17:58 +08:00
Yang Luo
3830e443b0 Put webhook's RecordMessage() to FinishRouter stage 2023-05-17 16:32:12 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login (#1845) v1.315.0 2023-05-17 01:13:13 +08:00
Yang Luo
0b5ecca5c8 Support empty application in page 2023-05-16 22:17:39 +08:00
Yang Luo
3d9b305bbb Add /api/health API 2023-05-16 21:47:34 +08:00
Yang Luo
0217e359e7 Update to Go 1.19.9 and Node 16.18.0 in Dockerfile 2023-05-16 20:33:31 +08:00
Yang Luo
695a612e77 Improve passwordType in CheckPassword() v1.314.0 2023-05-16 20:14:05 +08:00
Alexander Egorov
645d53e2c6
feat: User should have PasswordType like Organization (#1841)
* fixes #1840: [backend] User should have PasswordType like Organization is

* Update migrator.go

* Update and rename migrator_1_314_0_PR_1838.go to migrator_1_314_0_PR_1841.go

* Update user.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-16 20:11:19 +08:00
Yang Luo
73b9d73f64 Add CustomFooter to Conf.js 2023-05-15 16:49:45 +08:00
1307
c6675ee4e6
feat: AI responses support streaming (#1826)
Is an AI response that supports streaming return
v1.313.0
2023-05-13 11:31:20 +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
96a3db21a1 Support LDAP search by user tag 2023-05-12 13:03:43 +08:00
Yang Luo
c33d537ac1 Add formCssMobile to application 2023-05-12 12:16:03 +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
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
v1.312.0
2023-05-09 20:51:07 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions (#1822) 2023-05-09 00:06:52 +08:00
imp2002
3699177837
fix: fix URL path in MinIO storage provider(#1818) v1.311.1 2023-05-08 16:48:56 +08:00
helayzhang
3a6846b32c
feat: fix bug that logging in with account/password cannot redirect successfully (When Casdoor working as a OAuth server) (#1819) v1.311.0 2023-05-08 16:37:56 +08:00
Yaodong Yu
50586a9716
feat: improve determination about whether dest is mail or phone and mask props (#1814) v1.310.0 2023-05-07 21:19:51 +08:00
Yang Luo
9201992140 Fix LDAP server bugs 2023-05-06 23:31:46 +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>
v1.309.0
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
05c063ac24 Set email's SkipUsernameCheck to true 2023-05-04 00:29:12 +08:00
Yang Luo
38da63e73c Improve answer text 2023-05-02 23:33:09 +08:00
Yang Luo
cb13d693e6 Add getTokenSize() 2023-05-02 10:04:11 +08:00
Yang Luo
d699774179 Improve i18n.Translate() 2023-05-02 01:30:32 +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
eea2e1d271 Add ai package 2023-05-01 17:19:45 +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
Yang Luo
b32a772a77 Add jobNumber to dingtalk provider 2023-04-29 21:48:52 +08:00
Yang Luo
7e4562efe1 Change org.defaultAvatar to 200 length 2023-04-29 08:33:04 +08:00
Yang Luo
3a6ab4cfc6 Support mobile in DingTalk userinfo 2023-04-29 01:24:45 +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
v1.308.0
2023-04-28 23:54:48 +08:00
June
da21c92815
feat: support sub role synced update (#1794) v1.307.0 2023-04-28 22:14:37 +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
v1.306.0
2023-04-26 22:18:48 +08:00