2345 Commits

Author SHA1 Message Date
Yang Luo
79b393afee feat: add regex to SignupTable v1.499.0 2024-01-13 16:08:49 +08:00
Yang Luo
5bb12a30d4 Don't show two errors in verificationCode login page 2024-01-13 16:01:22 +08:00
Yang Luo
fdb68bf9c8 Rename to SigninMethodTable 2024-01-13 15:53:01 +08:00
Yang Luo
37748850c8 Fix nameFormat in SamlItem 2024-01-13 15:32:49 +08:00
Yang Luo
8968396ae5 Fix bug in getDefaultLoginMethod() 2024-01-13 12:13:09 +08:00
Yang Luo
f5395f15f9 feat: fix isSigninMethodEnabled() bug in frontend v1.498.0 2024-01-13 11:35:06 +08:00
Yang Luo
73e44df867 Improve GetAllRoles() error handling 2024-01-13 10:06:08 +08:00
Yang Luo
0b575ccf84 Refactor getAllValues() 2024-01-13 09:58:55 +08:00
Yang Luo
9b7f465a47 Fix failedSigninFrozenTime typo 2024-01-13 02:12:29 +08:00
Yang Luo
b1fe28fb83 Refactor application.FailedSigninLimit code 2024-01-13 02:09:18 +08:00
Satinder Singh
530d054adb
feat: ci should commit index.yaml and push to docker hub (#2600) v1.497.0 2024-01-11 16:10:08 +08:00
SamYSF
a2b9f9baaf
feat: support "JWT-Custom" to customize user properties inside access token (#2594)
* feat: add custom attribute to access token

* Update token_jwt.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.496.0
2024-01-10 00:59:02 +08:00
Yang Luo
a2d20fcb63 Update i18n 2024-01-09 22:16:17 +08:00
Yang Luo
b118a3bb76 Add TokenFields to application 2024-01-09 22:09:21 +08:00
Yang Luo
280867d0cb Add checkSigninErrorTimes() for LDAP signin 2024-01-09 21:53:44 +08:00
Yang Luo
30fa2f7d81 Disable LDAP login method by default 2024-01-09 21:36:09 +08:00
Michael
518288691d
fix(ci): fix the helm publish step (#2593)
fixes https://github.com/casdoor/casdoor-helm/issues/3
v1.495.1
2024-01-09 17:48:01 +08:00
HGZ-20
ffa54247cd
feat: add LDAP signin method (#2591)
Add support for LDAP login methods
Add option to control LDAP user in password login method.
v1.495.0
2024-01-08 21:07:34 +08:00
Anh Tu Nguyen
0199ad9aaa
fix: missing table prefix in get user group (#2590)
- Sort field and order field are missing table name prefix

Co-authored-by: xgenvn <brian7.ng@gmail.com>
2024-01-08 21:07:13 +08:00
Michael
b9d171718f
chore(helm): move to dedicated helm-repo (#2587)
* chore(helm): move to dedicated helm-repo: https://github.com/casdoor/casdoor-helm

* feat(actions): explicit checkout helm repo

* chore: feedback from pr comment
2024-01-08 02:02:05 +08:00
Yang Luo
e841d0ba8e feat: fix /api/send-email API for app user v1.494.0 2024-01-07 21:11:22 +08:00
Yang Luo
e5a9594f90 Hide Google OneTap in iframe 2024-01-07 10:33:25 +08:00
Satinder Singh
c542929835
fix: add vscode local debugging support (#2585) v1.493.0 2024-01-07 09:26:33 +08:00
hsluoyz
86dea71efd ci: update helm index.yaml 2024-01-06 19:31:07 +00:00
Michael
9e536850fd
feat(helm): support for extra volume mounts (#2584)
* feat(helm): support for extraVolumes and extraVolumeMounts

* ci(helm): run helm unittests
2024-01-07 03:30:44 +08:00
Michael
fddd4a12b8
chore: update helm version to v1.492.0 (#2582) 2024-01-07 00:14:53 +08:00
Yang Luo
2d6fae32be feat: support custom config path via "config" v1.492.0 2024-01-06 14:09:48 +08:00
Yang Luo
741cff99df Remove isCreateDatabaseDefined 2024-01-06 14:08:34 +08:00
Satinder Singh
cad9c28e92
feat: helm hpa yaml must reference correct apiVersion (#2581) v1.491.0 2024-01-06 08:55:59 +08:00
李洛克
524cf4dda5
feat: fix update application failed for permissions with the same name (#2579)
* fixed: update application failed where have two same permission in different organization

* Update application.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.490.0
2024-01-05 20:45:55 +08:00
Lê Tuấn Vũ
077a1cb8b7
fix: support owner parameter in enforce API (#2578) v1.489.1 2024-01-05 15:12:59 +08:00
Yang Luo
00efdf1d03 Fix EmailVerified in UserInfo() 2024-01-05 09:37:42 +08:00
Known Rabbit
aa543f1abb
feat: more RFC like LDAP server behaviour (#2574)
* feat: more RFC like LDAP server behaviour

* Extend FieldRelationMap to support case insensitive mapping, add more fields definition

* feat: Add group syncing for LDAP server
v1.489.0
2024-01-05 09:24:12 +08:00
Lars Lehtonen
1d1d3049bd
feat: fix dropped getAffiliationMap error in object (#2576) v1.488.0 2024-01-05 09:03:39 +08:00
Yang Luo
4f497d44a5 Enable at least password login in extendApplicationWithSigninMethods() 2024-01-03 22:19:43 +08:00
Yaodong Yu
369de36987
feat: add users with correct application (#2570) v1.487.0 2024-01-02 23:49:04 +08:00
HGZ-20
e3f28e8b4c
feat: Support more flexible login method control (#2566) v1.486.0 2024-01-02 21:11:52 +08:00
Yang Luo
3373174c65 fix: add missing tableNamePrefix in some places v1.485.1 2023-12-31 22:40:41 +08:00
Yang Luo
2fb79e4092 Add invitation pages 2023-12-31 21:38:36 +08:00
Yang Luo
5846e337c7 feat: fix gofmt issue v1.485.0 2023-12-30 19:47:04 +08:00
Yang Luo
44f4de1440 feat: support empty fileUrl in GetUploadFileUrl() 2023-12-30 19:06:35 +08:00
Yang Luo
27adeb4620 Refactor initAPI() 2023-12-30 14:28:45 +08:00
Yang Luo
5c107db43b fix: fix i18n typo v1.484.0 2023-12-30 00:49:39 +08:00
Yang Luo
27187b3a54 feat: add "Reset to Default HTML" button 2023-12-30 00:47:10 +08:00
Yang Luo
14fcedcc5d feat: support HTML in Email content 2023-12-29 23:31:50 +08:00
xiao-kong-long
e7c015f288
feat: fix comment and configs for successfully generating OpenAPI typescript-axios sdk (#2560)
* fix: fix swagger.json, successfully generate java sdk

* fix:fix comment and change some content for successfully generating typescript-axios sdk
v1.483.0
2023-12-29 15:12:40 +08:00
Yang Luo
c4819602ec fix: add mfa API to isAllowedInDemoMode() v1.482.1 2023-12-26 20:06:27 +08:00
Eng Zer Jun
dea03cdd15
feat: replace deprecated github.com/RobotsAndPencils/go-saml (#2558)
The `github.com/RobotsAndPencils/go-saml` has been officially deprecated
and archived on 7 June 2023.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
v1.482.0
2023-12-25 21:15:53 +08:00
xiao-kong-long
21f394847e fix: fix Swagger docs by improving comments v1.481.1 2023-12-23 11:57:18 +08:00
Yang Luo
9bef9691fb feat: fix volcengine SMS provider error handling v1.481.0 2023-12-22 20:49:45 +08:00