June
0559298d6c
feat: extend user with roles and permissions in GetAccount ( #1449 )
2023-01-04 20:23:57 +08:00
June
ddb5e26fcd
fix: mask user in get-account response ( #1450 )
2023-01-04 18:40:36 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth ( #1443 )
2023-01-03 19:42:12 +08:00
imp2002
186f0ac97b
feat: check permission when update user ( #1438 )
...
* feat: check permission when update user
* feat: check permission when update user
* fix: fix organization accountItem modifyRule
* fix: fix organization accountItem modifyRule
2023-01-02 09:27:25 +08:00
June
c952c2f2f4
feat: fix login with password bug when feature is disabled ( #1428 )
2022-12-27 14:46:57 +08:00
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login ( #1413 )
2022-12-21 02:25:58 +08:00
Gucheng Wang
f075d0fd74
Refactor out application.IsRedirectUriValid()
2022-12-21 00:35:33 +08:00
Mr Forest
eca2527bc0
feat: fix bug in signup and reset phone and email ( #1396 )
...
* fix: fix bug in signup and reset phone and email
* delete useless addition
2022-12-11 15:52:36 +08:00
Yaodong Yu
a51f0d7c08
feat: init score in organization ( #1388 )
...
* feat: init score in organization
* Update OrganizationEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-10 22:27:12 +08:00
Yaodong Yu
b41d8652f0
feat: fix showing wrong error messages ( #1385 )
2022-12-09 15:11:13 +08:00
imp2002
e705eecffe
feat: response with status in casbin_adapter.go
( #1384 )
...
* fix: response standardized information with status in `casbin_adapter.go`
* fix: remove redundant statements
2022-12-08 10:22:59 +08:00
Mr Forest
1bb3d2dea9
feat: refactor backend i18n ( #1373 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
* feat: refactor translation error message
* feat: use json intsead of ini file
* remove useless translation
* fix translate problems
* remove useless addition
* fix pr problems
* fix pr problems
* fix split problem
* use gofumpt to fmt code
* use crowdin to execute backend translation
* fix pr problems
* refactor: change translation file structure same as frontend
* delete useless output
* update go.mod
2022-12-07 13:13:23 +08:00
Yang Luo
d13a307ad5
Allow org admin to access GetResources()
2022-12-03 01:10:45 +08:00
WangGuan
7867060b71
feat: add quota limitation to organizations, users, providers and applications ( #1339 )
2022-11-29 11:01:41 +08:00
Mr Forest
8890d1d7c7
fix: check credential existence when signing via WebAuthn ( #1336 )
...
* fix: check credential existence when signing via WebAuthn
* fix review problem
2022-11-28 21:47:17 +08:00
Thai
cff3007992
feat: add get-permissions-by-role API ( #1335 )
2022-11-28 15:30:46 +08:00
Mr Forest
fe448cbcf4
feat: check user existence when signing in via verification code ( #1334 )
...
* fix:check user existence when logining by verification code
* fix review problems
* Update verification.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-28 00:11:33 +08:00
WangGuan
b895926754
feat: use another filename when uploading a duplicated file instead of replacing it ( #1329 )
...
* fix: upload a file with the same name, not replace
* Update resource.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-27 17:32:15 +08:00
Yaodong Yu
b10fb97c92
feat: finish policy list management ( #1317 )
2022-11-25 16:02:20 +08:00
Yaodong Yu
b337b908ea
feat: fix the bug that admin cannot upload avatar for other users ( #1323 )
2022-11-25 09:36:47 +08:00
Mr Forest
ba9d1e2388
fix: fix bug in GetAcceptLanguage() ( #1322 )
2022-11-24 20:43:35 +08:00
会思考的下丘脑
56ff06bbea
feat: add parameter v0 for Casbin APIs ( #1315 )
2022-11-23 22:39:17 +08:00
Yaodong Yu
7e756b8ee2
feat: manager applications in organization scope ( #1290 )
...
* feat: manager applications in organization scope(front end)
* fix: application can use own organization and admin provider
* fix: improve methed to get provider
* fix: modify provider methods by convention
2022-11-21 01:17:55 +08:00
Mr Forest
aa6a4dc74f
feat: support login by following wechat official account ( #1284 )
...
* show QRcode when click WeChat Icon
* update how to show qrcode
* handle wechat scan qrcode
* fix api problems
* fix url problems
* fix problems
* modify get frequency
* remove useless print
* fix:fix PR problems
* fix: fix PR problems
* fix:fix PR problem
* fix IMG load delay problems
* fix:fix provider problems
* fix test problems
* use gofumpt to fmt code
* fix:delete useless variables
* feat:add button for follow official account
* fix:fix review problems
* use gofumpt to fmt code
* fix:fix scantype problems
* fix Response problem
* use gofumpt to format code
2022-11-13 15:05:15 +08:00
Yaodong Yu
8d686411ee
feat: support add providers inside the Organization scope ( #1250 )
...
* feat: support add providers inside the Organization scope
Signed-off-by: magicwind <2814461814@qq.com>
* Update ProviderListPage.js
* fix: gloabal admin can see all providers
* fix: table fixed column warning
* fix: edit application page can get all providers
Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-04 21:31:08 +08:00
xAmast
25ee4226d3
feat: clear the session of a signin but non-existent user ( #1246 )
2022-10-29 20:18:02 +08:00
wenxuan70
25d56ee8d5
feat: allow captcha to be enabled when logging in ( #1211 )
...
* Fix bug in GetAcceptLanguage()
* feat: allow captcha to be enabled when logging in
* feat: when the login password is wrong, enable captcha
* feat: Restrict captcha from frontend
* fix: modify CaptchaModal component
* fix: modify the words of i18n
* Update data.json
Co-authored-by: Gucheng Wang <nomeguy@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-10-28 13:38:14 +08:00
Yaodong Yu
80bf29d79a
feat: fix showing wrong error message: "Please sign in first" ( #1245 )
2022-10-27 23:50:45 +08:00
Mr Forest
d4b587b93e
feat: fix bug in GetAcceptLanguage() ( #1237 )
...
Co-authored-by: Gucheng Wang <nomeguy@qq.com>
2022-10-25 10:50:10 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages ( #1232 )
...
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
2022-10-23 15:16:24 +08:00
Gucheng Wang
fad209a7a3
Don't check username in UpdateUser() API
2022-10-19 22:50:19 +08:00
Gucheng
146aec9ee8
feat: skip username restriction for new users coming from OAuth providers. ( #1225 )
2022-10-17 18:01:01 +08:00
cofecatt
4c7f6fda37
fix: Add restriction to username when signing up ( #1203 )
2022-10-10 19:58:02 +08:00
Gucheng Wang
44ad88353f
Add error to GetDefaultApplication()
2022-10-09 10:39:33 +08:00
Gucheng Wang
67f3c5a489
Add verificationCode to login method
2022-10-03 15:41:20 +08:00
Товарищ программист
9c48582e0c
feat: fix bugs in webauthn ( #1173 )
2022-10-01 11:10:55 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Mr Forest
a7a8805713
feat: fix dulpicate go routines ( #1167 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
* fix: fix ldapserver crash bug
* Update ldapserver.go
* fix: fix dulpicate go routines
* fix gofumpt problems
2022-09-28 20:28:00 +08:00
Mr Forest
07c1e3b836
feat: support simple LDAP server ( #1155 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
2022-09-24 21:48:29 +08:00
Gucheng Wang
a3cee496b4
Add add-record API
2022-09-18 17:35:34 +08:00
Gucheng Wang
084a5c3e6b
Show logs to org admin
2022-09-18 16:16:45 +08:00
Gucheng Wang
e1331f314d
Add RequireSignedInUser()
2022-09-18 15:43:49 +08:00
Yixiang Zhao
604033aa02
feat: use Casdoor to manage Casbin DB table ( #1100 )
...
* feat: use Casdoor to manage Casbin DB table
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: remove trivial codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* chore: go fmt
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: support role definition
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-09-14 22:14:13 +08:00
Yixiang Zhao
b6cdc46023
feat: add defaultApplication for Orgnization ( #1111 )
...
* feat: add defaultApplication for Orgnization
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: remove redundant codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: don't use app-built-in
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: add query param
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* Update organization.go
* Update organization.go
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-09-10 20:41:45 +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
2022-08-30 00:57:27 +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>
2022-08-24 01:41:26 +08:00
q1anx1
f3b3376a3c
fix: fix get version error ( #1044 )
...
* feat: fix get version error
* feat: more safe
* fix
2022-08-21 10:47:36 +08:00
q1anx1
ef4c3833a4
feat: add system info page ( #1033 )
...
* feat: add system info page
* feat: add some code
* fix
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>
2022-08-20 21:09:32 +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 .
2022-08-16 00:20:37 +08:00