2029 Commits

Author SHA1 Message Date
Yang Luo
2389d47c34 Fix getFormattedDate() 2023-05-23 15:09:53 +08:00
guangwu
9c4f0f042e
fix: update Go dependencies (#1880)
* Vulnerability fix : CVE-2021-30080  CVE-2021-39391 CVE-2022-41723 CVE-2022-21698  CVE-2023-26483 etc.

* fix: CVE-2021-30080  CVE-2021-39391 CVE-2022-41723 CVE-2022-21698  CVE-2023-26483 etc.
v1.322.1
2023-05-23 14:43:18 +08:00
Yang Luo
e25e210b06 Improve upload resource page 2023-05-23 10:07:59 +08:00
jump2cn
df61a536c1
feat: add gzip support for static filter (#1875)
* feat: add gzip support for static filter

* Update static_filter.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.322.0
2023-05-22 22:40:46 +08:00
XDTD
47da3cdaa0
fix: resolve get resource list problem (#1877) 2023-05-22 22:35:12 +08:00
hsluoyz
8d246f2d98
ci: revert "feat: fix UI in IE11" (#1879)
This reverts commit 44cd55e55f9ace87fefaaf2fb5871a23e9a68525.
2023-05-22 22:21:56 +08:00
Yaodong Yu
44cd55e55f
feat: fix UI in IE11 (#1878) v1.321.0 2023-05-22 16:59:37 +08:00
Yang Luo
6b42d35223 Fix state encoding for Moodle 2023-05-21 15:47:18 +08:00
Yang Luo
c84150cede Fix getObject() bug for some API 2023-05-21 11:07:01 +08:00
hsluoyz
de2689ac39
fix: revert "feat: fix UI in IE11" (#1873)
* Revert "feat: fix UI in IE11 (#1871)"

This reverts commit 319031da281bc3c31016d8bebe60c6e6d13e9976.

* Update MfaVerifyForm.js
v1.320.1
2023-05-21 00:43:42 +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