1621 Commits

Author SHA1 Message Date
hsluoyz
b195b19a8c
Update MfaVerifyForm.js 2023-05-21 00:43:21 +08:00
hsluoyz
57e4a66156 Revert "feat: fix UI in IE11 (#1871)"
This reverts commit 319031da281bc3c31016d8bebe60c6e6d13e9976.
2023-05-21 00:40:37 +08:00
Ilya Sulimanov
88c0856d17
feat: add subscription managment (#1858)
* feat: subscription managment

* fix: remove console log

* fix: webhooks

* fix linter

* fix: fix via gofumpt

* fix: review changes

* fix: Copyright 2023

* Update account.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.320.0
2023-05-20 15:56:21 +08:00
Yaodong Yu
319031da28
feat: fix UI in IE11 (#1871) v1.319.0 2023-05-19 21:47:02 +08:00
June
d20f3eb039
feat: support get user by userId and owner (#1870)
* feat: support get user by userId and owner

* Update user.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-19 21:46:44 +08:00
Yaodong Yu
3e13e61d8f
fix: sdk user is not Global Admin (#1868) v1.318.1 2023-05-19 21:24:55 +08:00
Yaodong Yu
1260354b36
fix: add sAMAccountName for AD search (#1869) 2023-05-19 21:16:59 +08:00
Jadson Santos
af79fdedf2
feat: add new language: "pt" (#1837)
* feat: Added new locales pt-br

* fix: Changed pt-br to pt

* feat: Updated app.conf

* feat: Updated Setting.js

* feat: Changed folder locales pt-br to pt

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.318.0
2023-05-19 16:57:44 +08:00
Yang Luo
02333f2f0c Add "pt" language to backend 2023-05-19 16:42:31 +08:00
Yang Luo
79bd58e0e6 Use util.GetId() 2023-05-19 14:26:32 +08:00
Yang Luo
de73ff0e60 Add IsMaskedEnabled to provider API 2023-05-19 13:09:53 +08:00
Yang Luo
a9d662f1bd Improve Migrator_1_314_0_PR_1841 speed 2023-05-19 02:55:36 +08:00
Yaodong Yu
65dcbd2236
feat: compatible different uid of LDAP server (#1860)
* feat: compatible different uid of LDAP server

* Update organization.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.317.0
2023-05-19 02:34:25 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status (#1859) v1.316.1 2023-05-18 22:03:53 +08:00
Trần Thanh Tịnh
2eefeaffa7
feat: enforce by using resourceId (#1855)
* feat: enforce by using resourceId

* Update permission.go

* chore: fix cilint for enforcer.go

---------

Co-authored-by: tinhtt4 <tinhtt4@vng.com.vn>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.316.0
2023-05-18 16:36:03 +08:00
Yang Luo
04eaad1c80 Fix getCertByApplication() 2023-05-18 16:32:43 +08:00
Yang Luo
9f084a0799 Can update user with OAuth values 2023-05-18 15:58:41 +08:00
Yang Luo
293b9f1036 Remove languages in app.conf 2023-05-18 15:44:11 +08:00
Yang Luo
437376c472 Fix CheckAccessPermission() 2023-05-18 13:36:16 +08:00
Yang Luo
cc528c5d8c Add object to webhook 2023-05-17 23:57:14 +08:00
Yang Luo
54e2055ffb Fix Beego filter: RecordMessage 2023-05-17 23:01:59 +08:00
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
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