1293 Commits

Author SHA1 Message Date
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
疯魔慕薇
08a1e7ae32
fix: keep phone/email unique. (#1038)
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
v1.94.1
2022-08-20 12:14:08 +08:00
Fernando López Guevara
7d979cbaf0
feat(storage): add support for min.io storage (#1037)
* feat(storage): add support for min.io storage

* fix(minio): use doublequote

* fix(storage): change storage name to MinIO
v1.94.0
2022-08-20 11:30:13 +08:00
Yixiang Zhao
80c0940e30
feat: initialize the default permission (#1029)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.93.0
2022-08-19 11:59:35 +08:00
Gucheng Wang
a4fe2a6485 Add check for submitPermissionEdit() 2022-08-19 01:52:29 +08:00
Yixiang Zhao
8e9ed1205b
feat: support RBAC with domains model and add adapter to specify the table name for policy storage (#1020)
* feat: support RBAC with domains model and add adapter to specify the table name for policy storage

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix some bugs

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* add i18n

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.92.0
2022-08-18 11:49:32 +08:00
Yixiang Zhao
a341c65bb1
fix: third-party user may login to the built-in organization (#1024)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.91.1
2022-08-17 23:18:38 +08:00
疯魔慕薇
91fa024f0b
feat: Mock SMS (#1009)
1. Update go-sms-sender to v0.3.0.
2. Fix: avoid page crash if not found provider info.

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
v1.91.0
2022-08-17 22:02:45 +08:00
q1anx1
aedef1eea1
feat(login): add login limit (#1023)
* feat(login): add login limit

* chore: rename vars

* chore: use `string`

* fix: clear the signin error times after succeessfull login

* chore: modify code position
v1.90.0
2022-08-17 01:39:53 +08:00
Mikey
70f2988f09
feat: revert to the original behavior for wrapActionResponse() (#1021)
Revert: 340fbe135d

see: https://github.com/casdoor/casdoor-go-sdk/pull/36.
v1.89.0
2022-08-16 00:20:37 +08:00
疯魔慕薇
2dcdfbe6d3
fix: error login logic of mobile phone login (#1017)
* fix: #1016

1. Limit username cannot be digital.
2. Check avoid repeat register with same phone or email.

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>

* Update check.go

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.88.1
2022-08-16 00:14:26 +08:00
Gucheng Wang
c92d34e27c Add GetPermissionsBySubmitter() 2022-08-15 14:09:12 +08:00
Yixiang Zhao
dfbf7753c3
feat: support RBAC model in permission (#1006)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.88.0
2022-08-15 10:24:26 +08:00
leoshine
ba732b3075
feat: use staticBaseUrl for all static resources (#1015)
* feat: modify system image link

* Update App.less

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.87.0
2022-08-15 09:18:21 +08:00
q1anx1
ca13247572
chore(style): use eqeqeq (#1013) 2022-08-13 11:23:16 +08:00
q1anx1
108fdc174f
chore(ci): add linter the check go code style (#991)
* feat(ci): auto format go code

* fix: fix #997

* chore(ci): add go code style linter

* fix: fix cmd error

* chore: add `linter` of needs

* chore: modiy commnet style
2022-08-13 10:57:13 +08:00
q1anx1
a741c5179a
chore(style): modify eslint rules (#1011)
* chore(style): use strict rules

* chore: modify position

* chore(style): warn about `console.log` and `==`

* fix: fix `console.log` error

* Update CropperDiv.js

* Update HomePage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-08-13 00:04:18 +08:00
Ryao
6676cc8ff3
fix: add JTI name to JWT token (#989)
* feat: add jti to jwt

* fix

* fix
v1.86.1
2022-08-11 14:32:47 +08:00