1318 Commits

Author SHA1 Message Date
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
Yaodong Yu
a0dc6e06cd
feat: add EntryPage for login, signup pages to fix background flashing issue (#1416)
* feat: fix flush in login Pages

* fix: code format

* fix: improve code

* Update App.js

* Update EntryPage.js

* fix: optimize api request

* Update App.js

* Update App.js

* fix: fix css

* fix: css and getApllicationObj

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.192.0
2022-12-22 23:39:02 +08:00
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login (#1413) v1.191.0 2022-12-21 02:25:58 +08:00
Gucheng Wang
f075d0fd74 Refactor out application.IsRedirectUriValid() 2022-12-21 00:35:33 +08:00
Alena Poliakova
65d4946042
feat: add valid key for creating token (#1411) v1.190.0 2022-12-20 22:05:00 +08:00
Liu
26acece8af
feat: add all other missing objects to init_data (#1407)
* Add all other missing objects to init_data.json

* Format golang code

* feat: add all other missing objects to init_data

* feat: add all other missing objects to init_data
v1.189.0
2022-12-18 01:49:42 +08:00
Gucheng Wang
48a0c8473f Improve README 2022-12-18 01:41:12 +08:00
Yaodong Yu
082ae3c91e
fix: fix undefined owner bug in AdapterEditPage (#1406) v1.188.1 2022-12-17 21:21:39 +08:00
Yaodong Yu
1ee2ff1d30
feat: now dingtalk OAuth returns all error messages to frontend (#1405) v1.188.0 2022-12-17 21:10:20 +08:00
Gucheng Wang
c0d9969013 Add description to product 2022-12-16 23:35:30 +08:00
Gucheng Wang
1bdee13150 Fix bug in renderQrCodeModal() 2022-12-16 23:28:43 +08:00
imp2002
d668022af0
feat: fix length of policy and [policy_define] in model inconsistent (#1400) v1.187.0 2022-12-15 20:42:55 +08:00