1329 Commits

Author SHA1 Message Date
Gucheng Wang
907d18d2e9 Fix missing roles and permissions in user table 2023-01-23 00:36:55 +08:00
Zayn Xie
a728e083eb
feat: reduce the size of token's user object (#1487)
* fix: Reduce the size of token, especially the user object (#1170)

* fix: Reduce the size of token, especially the user object (#1170)

* fix: Reduce the size of token, especially the user object (#1170)

Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
v1.224.0
2023-01-21 09:30:23 +08:00
Chell
457e6208ad
feat: terms of use auto selected (#1485) v1.223.0 2023-01-19 20:31:21 +08:00
Chell
d10b1347a8
feat: add terms of use in signin page (#1476)
* feat: extract terms of use renderer

* fix: layout

* fix: form styling

* fix: required state

* feat: application terms of use setting

* fix: refactor getTermsOfUseContent

* fix: refactor renderers
v1.222.0
2023-01-19 18:39:24 +08:00
qwqcode
f5b7f8cb45
chore(frontend): remove import of the third-party js script (#1436)
Signed-off-by: qwqcode <qwqcode@gmail.com>

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-19 11:31:27 +08:00
Yaodong Yu
5d9b17542f
feat: end-user log out (#1356) v1.221.0 2023-01-17 22:57:05 +08:00
buptxxb65
0021226a60
fix: check the duplicated Application ClientId (#1481)
* fix: Check the duplicate ClientId and ClientSecret of Application.

* Bug fix
v1.220.1
2023-01-17 17:37:20 +08:00
June
79fc0516dd
feat: check username if it's changed (#1482) v1.220.0 2023-01-17 17:08:37 +08:00
June
a73be11990
feat: update permission when role deleted (#1480) 2023-01-17 17:04:58 +08:00
June
eddd8acbf4
feat: update permission rule when role updated (#1477) v1.219.0 2023-01-17 10:27:02 +08:00
Yaodong Yu
d0741e3705
feat: fix compatibility issue between Casbin request and model (#1478) v1.218.0 2023-01-15 12:06:10 +08:00
Liu
c66561dc9a
feat: support sqlite database without cgo by using the modernc.org/sqlite driver (#1474)
* Refactor: update sqlite go driver to modernc.org/sqlite without cgo

* fix: update sqlite driver to modernc.org/sqlite

* fix: sqlite driver to modernc.org/sqlite

* Update adapter.go

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.217.0
2023-01-14 20:11:23 +08:00
Yaodong Yu
fcdf1e8dd2
feat: improve Select component performance (#1472) v1.216.0 2023-01-12 23:11:11 +08:00
June
6d4f94986e
feat: fix the bug that "app - global" admin is not allowed to update user (#1468) v1.215.0 2023-01-12 12:29:11 +08:00
Yaodong Yu
9ca686b240
feat: disable role and permission update and checks when updating user (#1466) v1.214.0 2023-01-12 11:40:32 +08:00
jakiuncle
c93bc0dda2
fix: add e2e cypress screenshots and videos if failed (#1465)
* feat: location error

* feat: location error

* feat: test error

* feat add e2e

* feat: delete cypress dependency

* feat: Add e2e error feedback
v1.213.1
2023-01-11 23:56:09 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email (#1464) v1.213.0 2023-01-11 23:19:16 +08:00
Yaodong Yu
ead844131e
feat: improve user edit page to fix missing fields and page crash (#1463) v1.212.0 2023-01-11 16:15:06 +08:00
Yaodong Yu
ce2a4bbf6e
feat: check uniqueness for email and phone when updating user (#1461)
* fix: check unique field when update user

* Update data.json

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.211.0
2023-01-10 22:34:08 +08:00
疯魔慕薇
fcb80b800f
feat: add refresh token to token login response (#1458)
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
v1.210.0
2023-01-09 23:33:03 +08:00
jakiuncle
6daadf8d3c
feat: add e2e test (#1445)
* add cypress

* feat: add crypress ci
v1.209.0
2023-01-09 00:16:32 +08:00
Gucheng Wang
090389b86a Fix bug in CheckAccountItemModifyRule() 2023-01-07 13:49:06 +08:00
Gucheng Wang
b566af8e11 Improve i18n 2023-01-06 20:32:18 +08:00
Gucheng Wang
57028c2059 Remove duplicated i18n words 2023-01-06 20:24:14 +08:00
Gucheng Wang
a6e9084973 Remove duplicated i18n words 2023-01-06 20:12:32 +08:00
Gucheng Wang
6fb3e2cd7f Remove check_util i18n words 2023-01-06 19:57:13 +08:00
Gucheng Wang
8b6bde6d82 Remove generate_backend.go 2023-01-06 19:42:47 +08:00
Gucheng Wang
fb2b03f00f Add category to applyToOtherLanguage() 2023-01-06 19:26:00 +08:00
Gucheng Wang
1681138729 Add getAllFilePathsInFolder() 2023-01-06 19:04:38 +08:00
Ngọc Long
1d8b0a264e
feat(login): add code login limit (#1442) v1.208.0 2023-01-06 18:51:43 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user (#1441)
* fix: destroy session after delete user

* feat: visual session

* fix: go lint

* feat: add translation

* feat: auto flush after offline

* fix: delete one session

* fix: move 403 page to baseListPage
v1.207.0
2023-01-06 15:04:13 +08:00
imp2002
4ab2ca7a25
feat: fix checkPermissionForUpdateUser() logic (#1454)
* fix: fix `checkPermissionForUpdateUser()` logic

* fix: fix `checkPermissionForUpdateUser()` logic
v1.206.0
2023-01-06 00:03:40 +08:00
June
dcf148fb7f
fix: add GetMaskedRoles and GetMaskedPermissions when GetAccount (#1456) 2023-01-06 00:02:52 +08:00
Mr Forest
c8846f1a2d
feat: fix translate bug in UpdateUser() (#1451)
* fix: fix translate error

* fix translate bug in UpdateUser()

* Delete DiscordLoginButton.js
v1.205.0
2023-01-04 22:54:50 +08:00
June
0559298d6c
feat: extend user with roles and permissions in GetAccount (#1449) v1.204.0 2023-01-04 20:23:57 +08:00
June
ddb5e26fcd
fix: mask user in get-account response (#1450) v1.203.1 2023-01-04 18:40:36 +08:00
Liu
1f39027b78
fix: convert line endings to LF on checkout for all envs (#1448)
* Convert line endings to LF on checkout for all envs

* fix: convert line endings to LF on checkout for all envs
2023-01-04 18:36:38 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth (#1443) v1.203.0 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
v1.202.0
2023-01-02 09:27:25 +08:00
imp2002
308f305c53
feat: add query and fragment response mode declare in OIDC (#1439) v1.201.0 2023-01-01 21:46:12 +08:00
Yaodong Yu
d498bc60ce
feat: edit user properties (#1435) v1.200.0 2022-12-31 15:27:53 +08:00
Mr Forest
7bbe1e38c1
fix: fix translate error (#1432)
* fix:fix translate error

* Delete TelegramLoginButton.js

* Update data.json

* Update data.json

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.199.1
2022-12-30 12:10:18 +08:00
Chell
f465fc6ce0
feat: support changing theme in antd 5 (#1430)
* feat: add global theme change function

* feat: add icons

* feat: in app theme changer

* feat: use antd built-in themes

* fix: multiple styling problem

* fix: theme init from localstorage

* feat: dark mode footer

* feat: casdoor logo color theme

* feat: select theme box icon adaptive to theme

* fix: menu bar style

* fix: language box style

* feat: translation

* feat: update translation of select theme box without reloading

* fix: mobile view

* fix: better structured select theme box

* feat: add compact icon

* fix: redundant theme fetch

* fix: redundant theme fetch

* fix: various styling problems
v1.199.0
2022-12-29 22:30:37 +08:00
June
c952c2f2f4
feat: fix login with password bug when feature is disabled (#1428) v1.198.0 2022-12-27 14:46:57 +08:00
Yaodong Yu
86ae97d1e5
feat: fix the bug that spin is always showing when response error (#1424) v1.197.0 2022-12-24 17:55:36 +08:00
Yaodong Yu
6ea73e3eca
fix: show background image in preview (#1425) v1.196.1 2022-12-24 17:47:05 +08:00
Chell
a71a190db5
feat: fix bug in redirectToLoginPage() (#1422) v1.196.0 2022-12-24 01:10:02 +08:00
Yaodong Yu
da69d94445
feat: fix the bug that spin in oauth is always showing (#1421) v1.195.0 2022-12-23 15:06:51 +08:00
imp2002
b8b915abe1
feat: check AccessPermission in multiple permissions (#1420) v1.194.0 2022-12-23 14:06:02 +08:00
Chell
5d1548e989
feat: fix absolute URL redirection (#1419)
* fix: redirect to absolute url

* fix: original jump
v1.193.0
2022-12-23 11:05:15 +08:00