2011 Commits

Author SHA1 Message Date
StevenLei
926e73ed1b
fix: fix "Accept-Language" parsing in request (#1996) 2023-06-20 17:43:48 +08:00
Yaodong Yu
65716af89e
feat: deprecate the user group relation table (#1990)
* fix: deprecate the user group relation table

* fix: clean code

* fix: fix trigger

* Update group.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.343.0
2023-06-19 19:08:45 +08:00
Yang Luo
d9c4f401e3 Fix error in downloadImage() 2023-06-19 17:52:01 +08:00
Yang Luo
58aa7dba6a Fix groups in GetUserInfo() 2023-06-19 11:06:55 +08:00
Yang Luo
29fc820578 Set User.groups to [] 2023-06-19 09:42:17 +08:00
Yaodong Yu
d0ac265c91
fix: Deprecate the id field in group (#1987) v1.342.1 2023-06-18 23:33:13 +08:00
hsluoyz
3562c36817
feat: Revert "fix: fix URL path in MinIO storage provider" (#1988)
This reverts commit 3699177837c0ae674406f1ffb3519a464cf509bc.
v1.342.0
2023-06-18 23:08:40 +08:00
Yang Luo
7884e10ca3 Refactor adapter's owner and organization 2023-06-18 00:22:12 +08:00
Yang Luo
12dee8afd3 Fix null options in checkPasswordComplexity() 2023-06-17 22:38:02 +08:00
Yang Luo
ac4b870309 Improve getFaviconFileBuffer() 2023-06-17 12:50:01 +08:00
Yang Luo
b9140e2d5a Refactor refreshAvatar() 2023-06-17 11:43:46 +08:00
Yang Luo
501f0dc74f Add user_avatar.go 2023-06-17 01:25:15 +08:00
Yang Luo
a932b76fba Remove useless check in SetPassword() 2023-06-17 00:58:31 +08:00
leoil
0f57ac297b ci: add password complexity options to organization edit page (#1949)
* Support uploading roles and permissions via xlsx file.

* Template xlsx file for uploading users and permissions.

* reformat according to gofumpt.

* fix typo.

* add password complexity options to organization edit page.

* add password complexity options to organization edit page.

* Fixed Typos.

* Fixed Typos.

* feat:add password complexity options to organization edit page

* Auto generate i18n fields.

* Refactor code according to instructions

* Support autocheck passwd complexity in frontend when setting passwd in user edit page.

* feat:Backend Support for password validation in signup and forget page.

* feat:Frontend Support for password validation in signup and forget page.

* Add default password complex option & Update historical empty filed with default option.

* Migrator for field `password_complex_options` in org table.

* feat: support frontend password complex option check in user_edit/forget/signup page.

* frontend update for user edit page

* update i18n file

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-17 00:07:36 +08:00
June
edc6aa0d50
feat: get all role/permission of an user (#1978) v1.341.0 2023-06-16 22:44:21 +08:00
Yang Luo
ebc0e0f2c9 Update i18n words 2023-06-16 22:06:54 +08:00
Yang Luo
63dd2e781e Update backend i18n files 2023-06-16 21:55:08 +08:00
Yang Luo
b01ba792bb Rename to accessSecret 2023-06-16 20:42:15 +08:00
Yaodong Yu
98fb9f25b0
feat: fix bug that users in role don't work for permissions (#1977)
* feat: fix check login permission

* feat: fix check login permission
v1.340.0
2023-06-16 20:14:27 +08:00
XDTD
cc456f265f
feat: fix LDAP user password checking logic in GetOAuthToken() (#1975) v1.339.0 2023-06-15 21:04:09 +08:00
Yaodong Yu
7058a34f87
feat: complete group tree (#1967)
* feat: complete group tree

* feat: ui

* fix: i18n

* refactor code

* fix: support remove user from group

* fix: format code

* Update organization.go

* Update organization.go

* Update user_group.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.338.0
2023-06-14 23:27:46 +08:00
UsherFall
8e6755845f
ci: fix bug in PaypalPaymentProvider (#1972) 2023-06-13 23:33:03 +08:00
XDTD
967fa4be68
feat: add access key and secret key for user (#1971) v1.337.0 2023-06-13 22:18:17 +08:00
Yaodong Yu
805cf20d04
feat: fix incorrect VerifyTypePhone value (#1968) v1.336.0 2023-06-13 17:26:37 +08:00
907997375
2a8001f490
fix: clean timeout when componentWillUnmount in PaymentResult page (#1962) v1.335.2 2023-06-13 02:00:52 +08:00
UsherFall
451fc9034f
fix: fix bug in PayPal payment provider (#1959) v1.335.1 2023-06-12 13:43:37 +08:00
Yaodong Yu
0e14a2597e
feat: Add tree structure to organization page (#1910)
* rebase master

* feat: add group in userEditPage

* feat: use id as the pk

* feat: add groups item in user

* feat: add tree component

* rebase

* feat: ui

* fix: fix some bug

* fix: route

* fix: ui

* fix: improve ui
v1.335.0
2023-06-12 09:27:16 +08:00
Yang Luo
ff87c4ea33 feat: fix createDatabase arg not recognized bug v1.334.0 2023-06-12 01:57:58 +08:00
Yang Luo
4f5396c70e Check error for CreateDatabase() 2023-06-12 01:47:26 +08:00
Yang Luo
3c30222fce Fix payment owner issue 2023-06-12 00:34:41 +08:00
Yang Luo
2d04731622 Provide default value for logConfig 2023-06-10 15:59:56 +08:00
Yang Luo
e0d2bc3dc9 Return error in GetProviderFromContext() 2023-06-10 15:51:26 +08:00
Jiawei Chen
0bda29f143 feat: show 404 error for non-existent objects in edit pages v1.333.0 2023-06-10 01:56:15 +08:00
Yang Luo
05703720c5 Add Custom to resourceType 2023-06-09 21:52:30 +08:00
hsluoyz
cc566bf31f Move DoMigration() after CreateTables() 2023-06-09 09:36:20 +08:00
XDTD
e93d8c19d9
feat: resolve user pages malfunction after using tableNamePrefix (#1945) v1.332.0 2023-06-08 00:43:05 +08:00
Yang Luo
f2e3182a69 Fix null value in backend Translate() 2023-06-07 02:17:48 +08:00
Yang Luo
f934531083 Fix organization search in some pages 2023-06-06 20:53:45 +08:00
XDTD
e1c0af345f
feat: resolve casdoor as SAML SP with keycloak login not work bug (#1937)
* fix: resolve casdoor as SAML SP with keycloak login not work

* Update provider.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.331.0
2023-06-06 15:19:00 +08:00
Yang Luo
3b3bfe39f9 Fix user field bug 2023-06-06 14:59:50 +08:00
Alex OvsInc
18cc952f8e
feat: Customization of the initialization file (#1936) v1.330.0 2023-06-05 21:00:28 +08:00
Yang Luo
43439bc8c6 Apply tableNamePrefix before migration 2023-06-05 00:30:48 +08:00
Yang Luo
9a2800e3b3 Add error to Enforce() 2023-06-04 17:29:34 +08:00
Yaodong Yu
fdaad2b608
chore: refactor enforce() handler and update Swagger docs (#1931)
* chore: add swaggerof enforce api

* Update enforcer.go

* Update string.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-04 17:19:58 +08:00
Yang Luo
2d43fe0b39 Fix cert empty issue in GetSamlMeta() v1.329.1 2023-06-04 01:25:18 +08:00
Yaodong Yu
5d776a3ce6 fix: handle error of list in frontend (#1930) 2023-06-04 01:21:24 +08:00
Yang Luo
5ec7a54bf8 Add description fields to objects 2023-06-04 01:21:17 +08:00
Yang Luo
0c118477e8 Add groups to UserInfo 2023-06-04 01:21:10 +08:00
Yang Luo
c858d0e0b0 Fix model page bug 2023-06-03 10:35:58 +08:00
Yang Luo
9cffb43265 Fix subscription page bugs 2023-06-03 10:15:29 +08:00