2627 Commits

Author SHA1 Message Date
Coki
ed158d4981
feat: support advanced editor in model edit page (#3176)
* feat: integrate external model editor and handle message events for model updates

* feat: add CasbinEditor and IframeEditor components for model editing

* feat: add tabbed editor interface for CasbinEditor

* fix: Synchronize content between basic and advanced editors

* refactor: simplify CasbinEditor and ModelEditPage components

* refactor: Refactor CasbinEditor for improved iframe initialization and model synchronization

* refactor: update default state of CasbinEditor active tab to "advanced

* chore: add Apache License header to CasbinEditor.js and IframeEditor.js files

* refactor: update CasbinEditor class names for consistency
v1.702.0
2024-09-16 22:25:25 +08:00
千石
8df965b98d
feat: improve SAML XML's xmlns to fix SAML support for some clouds (#3207) v1.701.0 2024-09-16 08:01:28 +08:00
千石
2c3749820e
feat: add application.UseEmailAsSamlNameId field for SAML (#3203)
* feat: Add option to use email as SAML NameID based on application config

- Updated NewSamlResponse11 to accept an application parameter.
- Conditionally set SAML NameIdentifier to user's email or username based on application.UseEmailAsNameId.

* refactor: Update GetValidationBySaml to pass application to NewSamlResponse11

- Modified GetValidationBySaml function to include application parameter in NewSamlResponse11 call.

* feat: Rename field and update logic for using Email as SAML NameID

- Renamed the `UseEmailAsNameId` field to `UseEmailAsSamlNameId` in the `Application` struct.
- Updated `NewSamlResponse` and `NewSamlResponse11` functions to use `UseEmailAsSamlNameId` for setting the NameID value.
- Modified `ApplicationEditPage.js` to reflect the field name change and update the corresponding logic.
v1.700.0
2024-09-15 23:00:50 +08:00
ZhaoYP 2001
0b17cb9746
feat: make Organization.EnableSoftDeletion and User.IsDeleted work (#3205)
* feat: make Organization.EnableSoftDeletion and User.IsDeleted work

* fix: add handling of the situation where organization is nil
v1.699.0
2024-09-15 14:35:44 +08:00
ZhaoYP 2001
e2ce9ad625
feat: handle null account item issue in CheckPermissionForUpdateUser() (#3202)
* feat: improve the logic of the permission check code for users to modify account items

* fix: add skip operation for deleted account items in update-user API

* fix: add the function of removing deleted account item
v1.698.0
2024-09-14 15:00:10 +08:00
DacongDA
64491abc64
feat: fix CORS issue of /api/acs for SAML IdP (#3200)
* fix: fix CORS problem of /api/acs when login with saml idp

* fix: fix origin get null when receive post with http protocol
v1.697.0
2024-09-14 12:48:51 +08:00
ZhaoYP 2001
934a8947c8
feat: fix CAS logout failure caused by Beego session update problem (#3194)
* feat: fix the cas logout failure caused by beego session update problem

* fix: simplify the implementation of logout timer

* fix: change the location of the login success code

* fix: add i18n to CasLogout.js
v1.696.0
2024-09-10 21:31:37 +08:00
IZUMI-Zu
943edfb48b
feat: support QR login for casdoor app (#3190)
* feat: add MFA devices QR code to UserEditPage

* chore: remove mfa devices
v1.695.0
2024-09-08 22:38:13 +08:00
Yang Luo
0d02b5e768 feat: remove disabled state in syncer.table v1.694.0 2024-09-07 21:08:21 +08:00
Yang Luo
ba8d0b5f46
feat: Revert "feat: Users added through LDAP cannot log in using the set password" (#3186)
This reverts commit 973a1df6c279218342fa086d8d28c756f59fe372.
v1.693.0
2024-09-07 20:55:14 +08:00
DacongDA
973a1df6c2
feat: Users added through LDAP cannot log in using the set password (#3175)
* fix: login will prioritize the use of password set in casdoor and use ldap when use LDAP option in login form or user never change their password in casdoor after sync

* fix: promote if statement
v1.692.0
2024-09-06 10:31:34 +08:00
DacongDA
05bfd3a3a3
feat: fix bug that custom SAML providers are removed by GetMaskedApplication() (#3165) v1.691.0 2024-09-05 20:08:56 +08:00
Yang Luo
69aa3c8a8b
feat: Revert "feat: add Casbin editor's checking in model editor" (#3167)
This reverts commit a1b010a406c6888be435fa707c439bfa1f3981bf.
v1.690.0
2024-09-03 21:59:06 +08:00
Coki
a1b010a406
feat: add Casbin editor's checking in model editor (#3166)
* feat: add model syntax linting and update dependencies

* refactor: move model linter logic to separate module
v1.689.0
2024-09-03 21:32:45 +08:00
DacongDA
89e92cbd47
feat: when using basic auth to fetch access_token will return restful response to oidc client (#3164) v1.688.0 2024-09-03 08:05:29 +08:00
ZhaoYP 2001
d4c8193357
feat: support reCAPTCHA v3 captcha provider (#3160)
* feat: support reCAPTCHA v3 captcha provider

* fix: modify the implementation of row component style in CaptchaModal.js
v1.687.0
2024-09-02 22:15:03 +08:00
DacongDA
9b33800b4c
feat: add email_verified, phone_number and phone_number_verified field for standard jwt token (#3156)
* feat: add email_verified, phone_number and phone_number_verified field for standard jwt token

* fix: fix linter err
v1.686.0
2024-08-31 12:49:39 +08:00
DacongDA
ec98785172
feat: certEditPage will be redirected to 404 when name is changed (#3154) v1.685.0 2024-08-30 23:04:50 +08:00
DacongDA
45dd4cc344
feat: fix nonce not parsed issue in fastAutoSignin() (#3153)
* fix: fix nonce none passed when auto sign enabled

* fix: fix query error
v1.684.0
2024-08-30 22:29:23 +08:00
DacongDA
1adb172d6b
feat: add more crypto algorithm for jwt signing (#3150)
* feat: add more algorithm support for JWT signing

* feat: add i18n support

* feat: add i18n support

* feat: optimize if statement

* fix: remove additional space line
v1.683.0
2024-08-30 16:59:41 +08:00
DacongDA
c08f2b1f3f
feat: support Casdoor storage provider (#3147)
* feat: support Casdoor storage provider

* fix: fix code format and nil pointer error

* feat: change cert if statement
v1.682.0
2024-08-27 23:54:03 +08:00
Yang Luo
62bb257c6d feat: make Resource.Url length to 500 v1.681.0 2024-08-26 23:57:41 +08:00
Love98
230a77e3e3
feat: add captcha page (#3144) 2024-08-26 23:22:53 +08:00
Yang Luo
dce0a96dea feat: improve uploaded file URL v1.680.0 2024-08-26 21:41:28 +08:00
千石
65563fa0cd
feat: Ensure MFA email and phone are validated before enabling (#3143)
Added validation checks to ensure that a user's email and phone number are provided before enabling MFA email and phone respectively. This fixes the issue where MFA could be enabled without these values, causing inconsistencies.
v1.679.0
2024-08-26 08:40:22 +08:00
DacongDA
f2a94f671a
feat: complete i18n translation (#3141)
* feat: complete i18n translation

* fix: fix problem in cs/data
v1.678.0
2024-08-24 23:27:59 +08:00
DacongDA
1460a0498f
feat: support assign a default group for synchronized from external openldap (#3140)
* feat: support default sync group for ldap (with without add i18n translate)

* feat: improve translation

* feat: update all i18n translation

* revert: remove new i18n translation
v1.677.0
2024-08-24 00:12:52 +08:00
Yang Luo
adc63ea726 feat: fix wrong error alert in ApiFilter's getObject() v1.676.0 2024-08-23 23:36:55 +08:00
Yang Luo
0b8be016c5 feat: add enableErrorMask config v1.675.0 2024-08-23 22:19:17 +08:00
Yang Luo
986dcbbda1 feat: handle error in ApiFilter 2024-08-23 21:50:48 +08:00
Yang Luo
7d3920fb1f feat: add ManagedAccounts to JWT v1.674.0 2024-08-20 22:23:58 +08:00
Yang Luo
b794ef87ee
feat: Revert "feat: support reCAPTCHA v3 captcha provider" (#3135)
This reverts commit a0d6f2125ea2f376ac7f67861015b1fe1d0a4943.
v1.673.0
2024-08-20 17:56:53 +08:00
ZhaoYP 2001
a0d6f2125e
feat: support reCAPTCHA v3 captcha provider (#3130) v1.672.0 2024-08-20 17:29:37 +08:00
Yang Luo
85cbb7d074 feat: add replaceAll polyfill to be compatible with Firefox 68 v1.671.0 2024-08-17 18:37:21 +08:00
June
fdc1be9452
feat: add provider.Bucket to fileUrl response and TrimPrefix "/" before delete GCS object (#3129)
* feat: add provider.Bucket to fileUrl response

* feat: TrimPrefix "/" before Google Cloud Storage delete object
v1.670.0
2024-08-17 11:46:58 +08:00
June
2bd7dabd33
feat: allow custom Domain of Google Cloud Storage Provider (#3128) v1.669.0 2024-08-15 23:28:36 +08:00
June
9b9a58e7ac
feat: update casdoor/oss version to support Google Cloud's Application Default Credentials (#3125) v1.668.0 2024-08-15 13:45:27 +08:00
Zheming Bao
38e389e8c8
feat: Pagination not updating after last item deletion (#3120) v1.667.0 2024-08-13 16:09:16 +08:00
DacongDA
ab5fcf848e
feat: support accessKey and accessSecret login in AutoSigninFilter (#3117) v1.666.0 2024-08-12 12:20:41 +08:00
Yang Luo
b4e51b4631 feat: improve error message in GetFailedSigninConfigByUser() v1.665.0 2024-08-10 09:31:46 +08:00
DacongDA
45e25acc80
feat: fix JWT generate issue cause by shared application (#3113)
* fix: fix jwt generate cause by shared application

* fix: fix built-in org will not add -org-
v1.664.0
2024-08-09 22:48:44 +08:00
Yang Luo
97dcf24a91 feat: improve error message in GetAuthorizationCodeToken() v1.663.0 2024-08-09 21:06:23 +08:00
DacongDA
4c0fff66ff
feat: support shared application across organizations (#3108)
* feat: support share application

* revert: revert i18n

* fix: improve code format

* fix: improve code format and move GetSharedOrgFromApp to string.go
v1.662.0
2024-08-09 15:43:25 +08:00
Yang Luo
e7230700e0
feat: Revert "feat: fix Beego session delete concurrent issue" (#3105)
This reverts commit f21aa9c0d24399e79016144e7f580107316ff810.
v1.661.0
2024-08-07 16:51:54 +08:00
Alan Xu
f21aa9c0d2
feat: fix Beego session delete concurrent issue (#3103) v1.660.0 2024-08-07 16:29:35 +08:00
Ondřej Šibrava
4b2b875b2d
feat: Czech, Slovak localization (#3095)
* feat: add l10n Czech, Slovak language support

* feat: i18n Czech, Slovak translation
v1.659.0
2024-08-02 09:39:47 +08:00
DacongDA
df2a5681cc
feat: add missing account items in CheckPermissionForUpdateUser() (#3094) v1.658.0 2024-08-01 23:34:12 +08:00
DacongDA
ac102480c7
feat: support Radius Challenge/Response for MFA (RFC2865) feature request (#3093)
* feat: support RFC2865 for radius server when user enable TOTP mfa

* fix: fix linter err
v1.657.0
2024-08-01 22:02:49 +08:00
千石
feff47d2dc
feat: skip agreement check when the terms are not visible (#3088) v1.656.0 2024-07-30 14:04:03 +08:00
千石
79b934d6c2
feat: enforce acceptance of terms and conditions for social logins (#3087)
* feat: Enforce acceptance of terms and conditions for social logins (#2975)

* feat: add error message for agreement acceptance
v1.655.0
2024-07-29 17:22:48 +08:00