338 Commits

Author SHA1 Message Date
nocobase[bot]
befdd5366c chore(versions): 😊 publish v1.7.0-beta.9 2025-03-25 05:03:40 +00:00
nocobase[bot]
ffaa71e01e chore(versions): 😊 publish v1.7.0-alpha.4 2025-03-23 05:22:57 +00:00
nocobase[bot]
45c50cdcc4 chore(versions): 😊 publish v1.7.0-alpha.3 2025-03-18 02:00:02 +00:00
nocobase[bot]
14bfb7abb7 chore(versions): 😊 publish v1.7.0-alpha.2 2025-03-14 23:14:25 +00:00
ajie
d7821bf6d7
feat: support user role union (#6301)
* feat: support merge role function

* feat: test

* fix: snippets merge bug

* feat: support with-acl-meta allowedActions

* feat: support mobileRoutes role union

* feat: support union role of data source manager plugin

* fix: merge action fields

* fix: merge action

* chore: code clean

* fix: perform a deep clone of the object in the toJSON method

* refactor: mergeRole code migration

* fix: desktopRoutes test

* fix: build

* refactor: optimze acl role code and add test

* fix: bug

* fix: skip test

* fix: acl role action whitelist invalid

* fix: actions bug

* chore: merge develop

* chore: desktop routes code

* fix: test

* feat: support set system role mode

* fix: test

* fix: snippets bug

* chore: update text

* fix: test

* fix: test

* fix: text

* fix: text

* refactor: optimze code

* refactor: optimze code

* refactor: optimze code

* refactor: optimze code

---------

Co-authored-by: 霍世杰 <huoshijie@huoshijiedeMacBook-Pro.local>
Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-12 09:03:33 +08:00
nocobase[bot]
00c2ed0808 chore(versions): 😊 publish v1.7.0-alpha.1 2025-03-11 04:10:21 +00:00
nocobase[bot]
ffd59ebfdf chore(versions): 😊 publish v1.6.0-alpha.31 2025-03-10 17:42:29 +00:00
nocobase[bot]
7f403f010a Merge branch 'next' into develop 2025-03-09 00:09:36 +00:00
Sheldon Guo
79ef798b38
fix(auth): handle non-existent user with 401 error and update locale messages (#6381)
* fix(auth): handle non-existent user with 401 error and update locale messages

* fix(auth): enhance error handling for 401 status with specific error codes

* fix(auth): improve 401 error handling by checking for specific error codes
2025-03-09 08:09:13 +08:00
nocobase[bot]
63887c160b chore(versions): 😊 publish v1.6.0-alpha.30 2025-03-07 08:12:39 +00:00
nocobase[bot]
06090aa0f6 chore(versions): 😊 publish v1.6.0-beta.17 2025-03-07 07:24:50 +00:00
nocobase[bot]
53e9ad38cd chore(versions): 😊 publish v1.6.0-beta.16 2025-03-04 03:20:25 +00:00
nocobase[bot]
9732a71ede Merge branch 'next' into develop 2025-03-03 22:54:25 +00:00
Sheldon Guo
f2c3f54109
fix(auth): accidentally logged out due to WebSocket authorization. (#6342)
* fix(auth): improve logging by including full context and error details

* fix(auth): enhance logging with error handling for token renewal

* feat(auth): init checkToken

* feat(auth): implement checkToken method with detailed token status and user information

* fix(auth): update check method to handle expired tokens and improve token renewal process
2025-03-04 06:54:01 +08:00
YANG QIA
c53b613517
refactor: verification (#6026)
* refactor: verification

* refactor: update

* chore: update

* feat: verificator

* chore: update

* chore: crud

* feat: bind

* feat: unbind

* fix: auth-sms

* feat: update

* chore: add test cases and fix bug

* fix(auth-sms): tests

* chore: update

* chore: i18n

* chore: update

* chore: update

* fix: required form fields

* chore: uid field

* fix: remote select

* fix: test

* fix: test

* fix: menu

* chore: description

* fix: test

* chore: update
2025-03-01 22:25:56 +08:00
nocobase[bot]
79a7eee889 chore(versions): 😊 publish v1.6.0-alpha.29 2025-02-27 07:22:26 +00:00
nocobase[bot]
08f4d7eeb0 chore(versions): 😊 publish v1.6.0-beta.15 2025-02-27 04:27:59 +00:00
nocobase[bot]
8c801015d2 chore(versions): 😊 publish v1.6.0-beta.14 2025-02-27 01:13:54 +00:00
nocobase[bot]
220721d5d5 chore(versions): 😊 publish v1.6.0-beta.13 2025-02-26 15:01:33 +00:00
nocobase[bot]
60b1bfc742 chore(versions): 😊 publish v1.6.0-beta.12 2025-02-26 00:09:44 +00:00
nocobase[bot]
3ff976e870 Merge branch 'next' into develop 2025-02-25 23:33:52 +00:00
Sheldon Guo
b748fa2471
fix: auth check failed before api token expired (#6291)
* refactor: streamline token validation logic in BaseAuth class
2025-02-26 07:33:27 +08:00
nocobase[bot]
f02ba29a62 Merge branch 'next' into develop 2025-02-25 12:00:12 +00:00
chenos
76e5e7c1c0
fix: skip auth check in the public form (#6284)
* fix: skipAuthCheck

* fix: before auth

* fix: skip auth

* feat: add skipAuth option to ResourceActionOptions

* feat: add skipNotify option to ResourceActionOptions

---------

Co-authored-by: sheldon guo <sheldon_66@163.com>
2025-02-25 19:59:46 +08:00
nocobase[bot]
b6f666e0d9 chore(versions): 😊 publish v1.6.0-beta.11 2025-02-24 12:10:09 +00:00
nocobase[bot]
5d17e0941d chore(versions): 😊 publish v1.6.0-beta.10 2025-02-24 06:02:03 +00:00
nocobase[bot]
4691a6146f chore(versions): 😊 publish v1.6.0-beta.9 2025-02-22 07:09:03 +00:00
nocobase[bot]
def75b475f chore(versions): 😊 publish v1.6.0-alpha.28 2025-02-18 11:31:06 +00:00
nocobase[bot]
c60f293620 chore(versions): 😊 publish v1.6.0-alpha.27 2025-02-16 07:05:02 +00:00
nocobase[bot]
ccc7779435 chore(versions): 😊 publish v1.6.0-alpha.26 2025-02-15 15:55:11 +00:00
nocobase[bot]
4087b7a58c chore(versions): 😊 publish v1.6.0-beta.8 2025-02-14 16:23:18 +00:00
nocobase[bot]
8836fcaa5b chore(versions): 😊 publish v1.6.0-beta.7 2025-02-14 05:04:34 +00:00
nocobase[bot]
e4f3427b28 Merge branch 'next' into develop 2025-02-14 02:55:26 +00:00
Sheldon Guo
acb61e214f
fix(auth): enhance token concurrent update and auth error handling logic (#6208)
* fix: add optional chaining for safe access to response headers in auth middleware

* fix: add skipNotify option to handle error notifications in SSE stream

* fix: handle expired session error in auth flow and remove unused cache update

* fix: implement renewed JTI cache duration and update related tests

* fix: add skipNotify option to updateUnreadMsgsCount for improved notification handling
2025-02-14 10:55:02 +08:00
nocobase[bot]
aff51d3683 chore(versions): 😊 publish v1.6.0-beta.6 2025-02-13 07:00:25 +00:00
nocobase[bot]
dea9965187 chore(versions): 😊 publish v1.6.0-alpha.25 2025-02-12 01:01:30 +00:00
nocobase[bot]
a56fb7cacf chore(versions): 😊 publish v1.6.0-beta.5 2025-02-11 12:54:47 +00:00
nocobase[bot]
406549a002 chore(versions): 😊 publish v1.6.0-beta.4 2025-02-11 04:23:54 +00:00
nocobase[bot]
c0617c70ab chore(versions): 😊 publish v1.6.0-alpha.24 2025-02-11 04:02:25 +00:00
Sheldon Guo
feb9074e56
refactor(test): modify the test function login to be asynchronous and update the relevant test cases (#6181)
* refactor(test): modify the test function login to be asynchronous and update the relevant test cases
2025-02-08 13:53:30 +08:00
nocobase[bot]
c0ec18c0ec chore(versions): 😊 publish v1.6.0-alpha.23 2025-02-07 11:53:20 +00:00
Sheldon Guo
0144e2e510
fix(auth): use loginWithJti to update authentication-related test cases and prevent errors (#6175)
* refactor(auth): update login method to use loginWithJti for test cases
2025-02-07 17:45:48 +08:00
nocobase[bot]
cd50adcf5e chore(versions): 😊 publish v1.6.0-alpha.22 2025-02-07 07:46:20 +00:00
nocobase[bot]
c71edbb4e7 chore(versions): 😊 publish v1.6.0-alpha.21 2025-02-07 01:51:40 +00:00
Sheldon Guo
cab54e9ebb
fix(auth): update client auth middleware logic to prevent token update failure due to concurrency (#6135)
* feat(auth): add logging for token renewal process and new error code for stream requests

* feat(auth): session expiration check everytime

* feat(auth): validate token validity period against session validity period

* fix(auth): correct wording for session validity period in localization file

* fix(auth): update redirect logic to handle specific auth error codes

* fix(auth): correct error response structure for token renewal and stream requests

* fix(auth): add token expiration check to update token status

* fix(notification): add skipAuth option to SSE stream request

* fix(auth): simplify redirect logic in auth check middleware

* fix(auth): update logging to include request headers and enhance error handling in auth middleware
2025-02-06 15:31:18 +08:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
nocobase[bot]
93b8f93b74 chore(versions): 😊 publish v1.6.0-alpha.17 2025-01-19 12:54:20 +00:00
nocobase[bot]
4ba5dc0d6c chore(versions): 😊 publish v1.6.0-alpha.16 2025-01-19 06:19:56 +00:00