2029 Commits

Author SHA1 Message Date
Yang Luo
9fd2421564 Update @ant-design/cssinjs dependency to avoid build error 2023-08-04 01:22:57 +08:00
Yang Luo
689d45c7fa feat: fix org name cannot be changed bug v1.381.0 2023-08-03 18:48:37 +08:00
Yang Luo
c24343bd53 Fix XxxChangeTrigger() doesn't return error bug 2023-08-03 18:45:49 +08:00
Yang Luo
979f43638d Change builtInAvailableField to 10 2023-08-03 18:17:15 +08:00
Yaodong Yu
685a4514cd
fix: revert adapter port vartype to int (#2174) v1.380.1 2023-08-03 09:35:16 +08:00
Yaodong Yu
a05ca3af24
feat: use role ID to search in GetPermissionsAndRolesByUser() (#2170) v1.380.0 2023-08-02 20:58:06 +08:00
Yang Luo
c6f301ff9e Support svg in downloadImage() 2023-07-31 20:23:28 +08:00
haiwu
d7b2bcf288
feat: support payment cancel state (#2165) v1.379.0 2023-07-31 15:24:13 +08:00
Yang Luo
67ac3d6d21 Fix typo 2023-07-31 15:23:44 +08:00
Yaodong Yu
912d5c6a7f
fix: support enforcerId parameter in Enforce API (#2164) v1.378.1 2023-07-31 00:20:53 +08:00
Yang Luo
32fbb5b534 Support custom provider for storage API 2023-07-30 23:19:45 +08:00
Yang Luo
21004f3009 Fix GetResources() missing items bug 2023-07-30 22:47:14 +08:00
Yang Luo
463bacd53b Add GetDirectResources() 2023-07-30 22:01:10 +08:00
Baihhh
78dc660041
feat: support 3 more language (#2163)
Signed-off-by: baihhh <2542274498@qq.com>
v1.378.0
2023-07-30 20:45:47 +08:00
Yang Luo
2fb9674171 Fix file not exist panic in StaticFilter() 2023-07-30 19:03:21 +08:00
Yang Luo
55c522d3b7 Improve provider type input box 2023-07-30 17:31:36 +08:00
Yang Luo
f879170663 Remove AI related code 2023-07-30 14:39:27 +08:00
Yang Luo
12e5d9b583 Remove adapter.file 2023-07-30 12:08:05 +08:00
haiwu
eefa1e6df4
fix: fix paypal payment provider and refactor payment code (#2159)
* feat: support paypal payment provider

* feat: support paypal flow

* feat: use owner replace org for payment

* feat: update paypal logic

* feat: gofumpt

* feat: update payment

* fix: fix notify

* feat: delete log
v1.377.2
2023-07-30 11:54:42 +08:00
Yaodong Yu
026fb207b3
fix: remove model in adapter page (#2161) v1.377.1 2023-07-29 23:42:08 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer (#2149)
* refactor: rename casbinAdapter to casdoorAdapter

* feat: add initEnforcer

* fix: router

* refactor: make hard-coded code configurable

* fix: data type

* feat: support sqlite3

* feat: disable delete and edit name for built in resources

* feat: optimize code

* fix: init

* fix: e2e

* fix: remove datasourcename

* fix: revert rename

* refactor: change all ORM's Adatper to Ormer

* refactor: name
v1.377.0
2023-07-29 15:07:04 +08:00
Yang Luo
74b058aa3f Fix sync-ldap-users() bug, brought by: 666ff48837 2023-07-29 13:14:55 +08:00
Yang Luo
6c628d7893 Fix static path not changed bug in makeGzipResponse() 2023-07-29 12:23:48 +08:00
Yang Luo
a38896e4d8 Improve swagger docs 2023-07-29 11:35:03 +08:00
Yang Luo
5f054c4989 Fix product links 2023-07-28 15:08:45 +08:00
Tower He
fb16d8cee6
fix: not set count of enforcers to the response (#2155) v1.376.1 2023-07-28 14:46:11 +08:00
Baihhh
5e4ba4f338
feat: add authorize button and defaultValue (#2152)
Signed-off-by: baihhh <2542274498@qq.com>
v1.376.0
2023-07-27 23:55:35 +08:00
Yang Luo
ca47af2ee1 Make post_logout_redirect_uri optional for logout 2023-07-27 23:26:30 +08:00
Ilya Sulimanov
59da104463
fix: update ldap admin pwd only if changed (#2146)
* fix ldap pwd update

* fix: linter

* fix: simplify check
v1.375.3
2023-07-27 17:49:15 +08:00
Yaodong Yu
c5bb916651
fix: fix response data in PricingPage.js (#2143) v1.375.2 2023-07-27 10:46:31 +08:00
WintBit
e98264f957
fix: application fails to call /api/get-resources (#2139)
just like other apis, resource.go.GetResources() no longer calls ApiController.RequireSignedInUser() to auth or check
v1.375.1
2023-07-26 17:19:00 +08:00
June
6a952952a8
fix: unmask application for org admin (#2138)
* feat: unmask application with user admin

* Update application.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-26 17:17:49 +08:00
Yang Luo
ba8a0f36be Support custom actions in permission edit page 2023-07-26 14:49:45 +08:00
June
b5e9084e5d
feat: en/decodeURI in permission/role name (#2137) v1.375.0 2023-07-26 13:08:35 +08:00
June
55d5ae10f2
fix: fix infinite loop in containsRole() (#2136) v1.374.1 2023-07-25 20:53:08 +08:00
Yang Luo
6986dad295 Use arg to control createDatabaseForPostgres() 2023-07-25 18:36:15 +08:00
Yaodong Yu
949feb18af
feat: add basic enforcer manager (#2130)
* feat: add basic enforcer manager

* chore: generate swagger
v1.374.0
2023-07-25 17:17:59 +08:00
haiwu
d1f88ca9b8
feat: support google one tap signin (#2131)
* feat: add google one tap support

* feat: gofumpt

* feat: add google provider rule conf

* feat: update i18n
v1.373.0
2023-07-25 15:49:15 +08:00
Yaodong Yu
bfe8e5f3e7
fix: fix response data assignment error (#2129) v1.372.2 2023-07-25 13:52:31 +08:00
Yang Luo
702ee6acd0 Print log for StartLdapServer()'s error 2023-07-25 01:49:43 +08:00
Yaodong Yu
0a9587901a
fix: fix response data assignment error in ApplicationEditPage.js (#2126) v1.372.1 2023-07-24 20:09:09 +08:00
Yaodong Yu
577bd6ce58
feat: fix response data assignment error (#2123) v1.372.0 2023-07-24 14:52:30 +08:00
Yaodong Yu
3c4112dd44
refactor: optimize the code to getEnforcer (#2120) 2023-07-24 14:02:34 +08:00
haiwu
b7a37126ad
feat: restrict redirectUrls for CAS login (#2118)
* feat: support cas restricted login

* feat: add cas login i18n

* feat: add CheckCasService for all cas api

* feat: gofumpt

* feat: replace 404

* feat: reuse i18n

* feat: delete CheckCasService

* Update token_cas.go

* Update LoginPage.js

* Update token_cas.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.371.0
2023-07-24 11:47:31 +08:00
UsherFall
8669d5bb0d
chore: hide field of IntranetEndpoint in Tencent COS storage provider (#2117) 2023-07-23 19:02:42 +08:00
Baihhh
aee3ea4981
feat: improve TermsOfUse UI in mobile (#2106)
* style: Mobile interface adaptation

Signed-off-by: baihhh <2542274498@qq.com>

* Update index.css

---------

Signed-off-by: baihhh <2542274498@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.370.0
2023-07-23 15:28:13 +08:00
Yang Luo
516f4b7569 Fix response of /api/get-sorted-users and /api/get-user-count v1.369.1 2023-07-23 14:46:38 +08:00
UsherFall
7d7ca10481
fix: hide fields of minio storage provider (#2115)
* feat: hide field of minio storage provider

* feat: hide field of domain in minio storage provider
2023-07-23 14:40:30 +08:00
UsherFall
a9d4978a0f
chore: hide fields of local file system storage provider (#2109)
* style: adjust local file system storage

* style: disable domain when use local file system
2023-07-23 11:48:15 +08:00
Yang Luo
09f40bb5ce Fix id of "/api/get-resource" API 2023-07-23 11:33:48 +08:00