Yaodong Yu
412a8b5da7
fix: init name is inconsistent with frontend ( #1583 )
2023-02-24 14:28:34 +08:00
Gucheng Wang
7e0ea0b8d9
Fix missing accountItem crash bug
2023-02-22 12:16:05 +08:00
Yang Luo
6131286cbd
Add getBuiltInAccountItems()
2023-02-19 09:45:06 +08:00
Yang Luo
3bda8fb9dc
Remove Migrator_1_245_0_PR_1557
2023-02-19 09:38:57 +08:00
Yang Luo
3f0a741e6c
Improve i18n languages
2023-02-18 17:35:36 +08:00
Yang Luo
d273fdd670
Use username as saml:NameID
2023-02-18 16:42:45 +08:00
Yaodong Yu
943bd82731
feat: fix migrator_1_245_0_PR_1557.go ( #1564 )
2023-02-18 10:58:14 +08:00
Yaodong Yu
f2f962b893
fix: refactor functions and code ( #1559 )
2023-02-18 09:31:58 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS ( #1557 )
...
* feat: support multiple country code
* feat: improve UI
* feat: migrate accountItem
* fix: Aliyun compatible
* fix: phone validate
* fix: typo
2023-02-16 22:53:28 +08:00
June
389744a27d
feat: change claims to claimsWithoutThirdIdp when gen token ( #1552 )
2023-02-14 09:33:46 +08:00
June
dc7b66822d
feat: change token ExpiresIn to second ( #1550 )
2023-02-14 09:18:30 +08:00
Zayn Xie
6beb68dcce
fix: some bugs in session module when testing single-log-in ( #1547 )
...
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
2023-02-13 18:16:31 +08:00
Yang Luo
c9b990a319
Add removeExtraSessionIds()
2023-02-12 21:11:16 +08:00
Yang Luo
eedcde3aa5
Refactor session.go
2023-02-12 21:06:08 +08:00
Yang Luo
478bd05db4
Improve error handling in migrator
2023-02-12 10:39:20 +08:00
Zayn Xie
9256791420
feat: app session control and db migrate ( #1539 )
...
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process (#1533 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
* fix: migrate err
* fix: migrate err
* feat: app session control and db migrate
* feat: app session control and db migrate
* feat: app session control and db migrate
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
2023-02-12 09:33:24 +08:00
hsluoyz
8b8c866fd2
feat: replace gomail and disable the Email username check for Mailtrap ( #1538 )
2023-02-11 15:59:23 +08:00
June
6f7230e949
feat: support refresh token on GetOAuthToken ( #1536 )
2023-02-10 23:52:13 +08:00
wht
9558bb4167
feat: fix file name length problem ( #1534 )
2023-02-10 20:27:20 +08:00
Yaodong Yu
e2b6e8ee6e
chore: unify migrate database way ( #1530 )
2023-02-09 19:28:15 +08:00
wht
e7e0518517
feat: fix the upload file name contains space problem ( #1527 )
2023-02-07 23:26:17 +08:00
wht
fcc75dd3be
feat: fix the Unicode filename encoding bug in storage provider ( #1518 )
2023-02-04 18:09:18 +08:00
WangGuan
8698f4111a
feat: add all remaining Goth providers to Casdoor OAuth login ( #1484 )
...
* feat: add Amazon support as OAuth 3rd-party login
* refactor: comebine the same URLs
* refactor: use hyper component to create login button
* feat: add all remaining Goth providers to Casdoor OAuth login
* refactor: remove redundant props
* fix: check provider auth url and params
2023-02-04 12:20:18 +08:00
Gucheng Wang
11b56c340f
Add refineUser() in generateJwtToken()
2023-02-02 00:34:56 +08:00
Yaodong Yu
95b32d5ebf
feat: support customize theme ( #1500 )
...
* refactor: simplify functions and improve variable naming
* feat: add themeEditor component
* feat: support customize theme
* chore: resolve conflict and add LICENCE
* chore: format code
* refactor: use icon replace background url
* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
wht
24a824d394
feat: return the correct error message in the Edit Model ( #1504 )
2023-01-30 22:19:42 +08:00
Gucheng Wang
75b8357de8
Add properties to UserWithoutThirdIdp
2023-01-29 21:51:01 +08:00
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>
2023-01-21 09:30:23 +08:00
Yaodong Yu
5d9b17542f
feat: end-user log out ( #1356 )
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
2023-01-17 17:37:20 +08:00
June
79fc0516dd
feat: check username if it's changed ( #1482 )
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 )
2023-01-17 10:27:02 +08:00
Yaodong Yu
d0741e3705
feat: fix compatibility issue between Casbin request and model ( #1478 )
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>
2023-01-14 20:11:23 +08:00
Yaodong Yu
9ca686b240
feat: disable role and permission update and checks when updating user ( #1466 )
2023-01-12 11:40:32 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email ( #1464 )
2023-01-11 23:19:16 +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>
2023-01-10 22:34:08 +08:00
Gucheng Wang
090389b86a
Fix bug in CheckAccountItemModifyRule()
2023-01-07 13:49:06 +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
Ngọc Long
1d8b0a264e
feat(login): add code login limit ( #1442 )
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
2023-01-06 15:04:13 +08:00
June
dcf148fb7f
fix: add GetMaskedRoles and GetMaskedPermissions when GetAccount ( #1456 )
2023-01-06 00:02:52 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth ( #1443 )
2023-01-03 19:42:12 +08:00
imp2002
308f305c53
feat: add query and fragment response mode declare in OIDC ( #1439 )
2023-01-01 21:46:12 +08:00
imp2002
b8b915abe1
feat: check AccessPermission in multiple permissions ( #1420 )
2022-12-23 14:06:02 +08:00
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login ( #1413 )
2022-12-21 02:25:58 +08:00