1110 Commits

Author SHA1 Message Date
Gucheng Wang
cfce5289ed Rename getStateFromQueryParams() and getQueryParamsFromState() 2022-09-09 02:02:32 +08:00
Gucheng Wang
10f1c37730 Fix 403 bug for /api/login/* APIs 2022-09-09 01:54:05 +08:00
tom2nonames
6035b98653
feat: add dingtalk union_id (#1110) v1.112.0 2022-09-08 14:44:06 +08:00
Resulte Lee
e158b58ffa
fix: add hidden signal to support chrome extension to auto-signin (#1109)
* feat: add hiden applicationName(support chrome extension to auto recognize applicationName)

* feat: add hiden applicationName for all page

* fix typo

* delete unuseful code

* remove hidden applicationName from login page

* prevent crash if signupApplication is null

* Update App.js

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.111.2
2022-09-07 17:02:28 +08:00
Mario Fischer
a399184cfc
fix: correct edit URL in model list (#1108)
Co-authored-by: Mario Fischer <mario.fischer@inmanet.de>
v1.111.1
2022-09-07 00:54:27 +08:00
wenxuan70
2f9f946c87
feat: fix GOPROXY bug by exporting environment variable (#1106) v1.111.0 2022-09-05 23:17:39 +08:00
Товарищ программист
d8b60f838e
fix: fix bugs about 3rd-party login in cas flow (#1096) v1.110.1 2022-09-05 23:02:25 +08:00
cofecatt
7599e2715a
feat: add demo mode (#1097)
* feat: add demo mode

* feat: add demo mode

* Update app.conf

* Update authz.go

* Update authz.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.110.0
2022-09-04 21:20:19 +08:00
q1anx1
35676455bc
chore(style): add keyword spacing rule (#1098) 2022-09-04 19:40:30 +08:00
Gucheng Wang
8128671c8c Improve email code 2022-09-04 12:15:07 +08:00
cofecatt
ee54dec3b3
feat: add support for mysubmail (#1095)
* feat: add support for mysubmail

* Update email.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.109.0
2022-09-04 12:09:50 +08:00
Gucheng Wang
d278bc9651 Add receiver for Email provider 2022-09-04 11:37:36 +08:00
Gucheng Wang
b23bd0b189 Support SUBMAIL email provider 2022-09-04 11:21:20 +08:00
Gucheng Wang
409be85264 Fix placeholder typo 2022-09-03 18:52:35 +08:00
Yixiang Zhao
0395b7e1a9
feat: migrate permission data (#1083)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.108.0
2022-09-03 16:45:58 +08:00
Gucheng Wang
4536fd0636 Use app.conf value in getOriginFromHost() 2022-09-03 15:12:34 +08:00
cofecatt
af9ae7dbb7
feat: buildx failed with: EROR: failed to solve: executor failed running [/bin/sh -c ./build.sh]: exit code: 127 (#1089) v1.107.0 2022-09-02 14:50:27 +08:00
cofecatt
e266696b32
feat: add default permission to built-in group (#1087)
* fix: add default permission

* fix: add default permission

* fix: add default permission
v1.106.0
2022-09-02 12:03:13 +08:00
conghuhu
e108d26ec7
fix: recover header logo && add styleint check (#1084)
* fix: fix header logo not show

* feat: update lint-staged

feat: add stylelint
v1.105.2
2022-08-31 23:26:58 +08:00
cofecatt
349ce7f1d4
fix: refactor build.sh #1081 (#1082)
* fix: Add default access permission for new built-in group users

* fix: Add default access permission for new built-in group users

* fix: File is not `gofumpt`-ed (gofumpt)

* fix: refactor build.sh #1081

* fix: rollback

* fix: newline

* fix: refactor build.sh rename var #1081
v1.105.1
2022-08-31 16:08:10 +08:00
Resulte Lee
8da50b7893
feat: extend managed accounts for get-account api (#1068)
* feat: add get-extend-account api

* feat: extend managed accounts for get-account api

* fix go-linter err

* Use GetApplicationsByOrganizationName
v1.105.0
2022-08-30 00:57:27 +08:00
Gucheng Wang
2394c8e2b4 Make sure newStaticBaseUrl is not empty 2022-08-29 21:27:47 +08:00
Gucheng Wang
c62983d734 Use conf.GetConfigString() 2022-08-29 21:26:00 +08:00
conghuhu
5948782cdd
fix: fix eslint error in webstorm (#1073) v1.104.2 2022-08-29 15:23:51 +08:00
conghuhu
674d1619dd
fix: fix hot update error #1071 (#1072) v1.104.1 2022-08-29 13:45:31 +08:00
conghuhu
11b8b65ca0
feat: update antd and react to latest (#1069) v1.104.0 2022-08-28 23:14:04 +08:00
q1anx1
411d76798d
fix: fix upload file security issue (#1063)
* fix: fix upload file security issue

* fix: fix
v1.103.1
2022-08-25 11:34:09 +08:00
Yixiang Zhao
7b0b426a76
feat: check model grammar when saving and provide a ACL model as init data (#1062)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.103.0
2022-08-24 17:21:05 +08:00
conghuhu
a383af0ebc
feat: fix token info not contains roles and permissions (#1060)
* fix: fix token info not contains roles and permissions

feat: remove repeated code for obtaining roles and permissions in user controller

* Update user.go

* Update user.go

* Update token.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.102.0
2022-08-24 01:41:26 +08:00
Resulte Lee
f02875e1b1
fix: enable captcha in the application which is not built-in (#1061) v1.101.2 2022-08-23 23:30:45 +08:00
Gucheng Wang
e2921419b9 Add TestDeployStaticFiles() 2022-08-23 21:17:58 +08:00
q1anx1
42864700ec
chore: update badges (#1058) 2022-08-23 13:11:42 +08:00
Resulte Lee
c1fe547939
fix: not start countdown if SMS fails to send (#1057) v1.101.1 2022-08-22 23:06:41 +08:00
wenxuan70
267833d9f9
feat: fix the application edit page bug due to this.props.location.search (#1055) v1.101.0 2022-08-22 15:13:58 +08:00
Gucheng Wang
2d3d1167bb Fix HasPromptPage() for signup items 2022-08-22 11:51:20 +08:00
q1anx1
ef5abdfa8f
feat: rollback to fix ci (#1051) v1.100.0 2022-08-22 11:14:51 +08:00
Fernando López Guevara
580d43101e
fix(i18n): add spanish translations (#1043)
* feat(i18n): add spanish translations

* feat(i18n): add missing translations

* feat(i18n): use new icon flag set

* use document protocol

* fix(i18n): use our static flags
v1.99.1
2022-08-22 09:42:28 +08:00
wenxuan70
fdf2b880cb
feat: click on the app card to log in automatically (#1049) v1.99.0 2022-08-22 01:17:18 +08:00
q1anx1
80a2263b18
fix: fix ci bug: "/go/src/casdoor/.git/refs/heads" not found (#1050) v1.98.2 2022-08-22 01:02:57 +08:00
Resulte Lee
1f11d22c1c
fix: add managed account table for supporting Chrome extension to auto login (#1030)
* feat: add manage accounts table(support chrome extension to auto login)

* fix go lint err

* rename manageAccounts to managedAccounts

* expand up&down buttom column width

* rename ManagedAccountsTable to ManagedAccountTable
v1.98.1
2022-08-22 00:25:39 +08:00
Gucheng Wang
b6988286b5 Improve i18n for permission page 2022-08-21 23:17:14 +08:00
leoshine
64f787fab5
feat: can modify static resource url by app.conf (#1045)
* feat: can modify static resource url by app.conf

Signed-off-by: magicwind <2814461814@qq.com>

* Update static_filter.go

Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.98.0
2022-08-21 21:40:27 +08:00
Resulte Lee
39c6bd5850
fix: country/region prompted page not show when signin (#1047) v1.97.4 2022-08-21 17:41:07 +08:00
Gucheng Wang
7312c5ce3c Don't check domain for submitPermissionEdit() 2022-08-21 15:28:19 +08:00
Resulte Lee
0bc5b90218
fix: add country/region selectbox in prompt page (#1022) v1.97.3 2022-08-21 11:12:23 +08:00
q1anx1
f3b3376a3c
fix: fix get version error (#1044)
* feat: fix get version error

* feat: more safe

* fix
v1.97.2
2022-08-21 10:47:36 +08:00
q1anx1
feec6abd88
fix: fix translations for system info page (#1042) v1.97.1 2022-08-20 23:00:37 +08:00
q1anx1
c50042c85a
feat: fix the go.sum error (#1040) v1.97.0 2022-08-20 22:04:37 +08:00
q1anx1
ef4c3833a4
feat: add system info page (#1033)
* feat: add system info page

* feat: add some code

* fix
v1.96.0
2022-08-20 21:22:46 +08:00
疯魔慕薇
67a5adf585
feat: replace panic with details json error payload. (#1039)
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
v1.95.0
2022-08-20 21:09:32 +08:00