325 Commits

Author SHA1 Message Date
nocobase[bot]
6bc55d4f9f chore(versions): 😊 publish v1.6.4 2025-03-14 16:37:22 +00:00
nocobase[bot]
7281979cc3 chore(versions): 😊 publish v1.6.3 2025-03-13 16:32:19 +00:00
nocobase[bot]
ed98b8c7af chore(versions): 😊 publish v1.6.2 2025-03-12 08:00:54 +00:00
nocobase[bot]
00b7e0e0bd chore(versions): 😊 publish v1.6.1 2025-03-11 10:14:56 +00:00
nocobase[bot]
e7dea7fdfb chore(versions): 😊 publish v1.6.0 2025-03-11 05:29:43 +00:00
nocobase[bot]
c2e2344a83 chore(versions): 😊 publish v1.6.0-beta.19 2025-03-10 06:13:38 +00:00
nocobase[bot]
39f505360d chore(versions): 😊 publish v1.6.0-beta.18 2025-03-09 23:29:10 +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]
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
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
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
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
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]
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
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]
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
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
nocobase[bot]
8baec18988 chore(versions): 😊 publish v1.6.0-alpha.15 2025-01-19 02:05:02 +00:00
Sheldon Guo
cc6928c7d0
feat(auth): support token security (#5948)
* feat(auth): support token security config
---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: xilesun <2013xile@gmail.com>
2025-01-18 22:18:51 +08:00
nocobase[bot]
4f523316b4 chore(versions): 😊 publish v1.6.0-alpha.14 2025-01-14 05:56:55 +00:00
nocobase[bot]
814693476d chore(versions): 😊 publish v1.6.0-alpha.13 2025-01-14 05:27:59 +00:00
nocobase[bot]
98a98b5fa0 chore(versions): 😊 publish v1.6.0-alpha.12 2025-01-10 03:51:12 +00:00
nocobase[bot]
7a91444572 chore(versions): 😊 publish v1.6.0-alpha.11 2025-01-09 10:15:45 +00:00
nocobase[bot]
fb49ba2a1c chore(versions): 😊 publish v1.6.0-alpha.10 2025-01-08 06:33:41 +00:00
Katherine
5d5f455b3c
feat: supports configuring dynamic environment variables and secrets (#5966)
* feat: environments plugin

* feat: improve code

* fix: improve code

* feat: improve code

* refactor: package description

* feat: bulk import

* fix: remove

* refactor: file manager support environment variables

* refactor: file manager support environment variables

* refactor: map manager support environment variables

* refactor: support environment variables

* refactor: support environment variables

* refactor: support delete environment variables

* fix: bug

* refactor: workflow support environment variables

* refactor: email  environment variables

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: code improve

* feat: env

* chore: update

* feat: environment

* fix: bug

* fix: acl snippet

* fix: acl snippets

* chore: map manager

* refactor: support line break

* refactor: support password

* chore: environment variables

* fix: bug

* fix: bug

* chore: enviroment variables

* chore: system settings

* fix: improve code

* feat: verification

* feat: map

* feat: file-manager

* feat: notification

* fix: bug

* feat: workflow

* fix: improve code

* fix: bug

* feat: data-source

* feat: auth

* fix: error

* fix: bug

* refactor: description

* refactor: locale

* refactor: locale

* refactor: locale

* refactor: code improve

* refactor: locale

* refactor: locale

* style: style improve

* fix: error

* fix: bug

* fix: bug

* refactor: environment

* fix: ellipsis

* refactor: password

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: test

* fix: cache

* fix: mysql dialect options

* refactor: email config form

* fix: bug

* fix: bug

* fix: authenticator.dataValues parse

* fix: include undefined

* fix: json

* fix: json parse

* chore: enviromentProvider

* fix: acl

* fix: rowKey

* fix: update ProviderOptions.tsx

* feat: get app instance

* fix: bug

* fix: text

* fix: build error

* fix: error

* chore: migration rules options

* chore: migration rules

* refactor: code improve

* feat: env v2

* chore: environment varibales

* chore: environment serve

* fix: getVariables

* feat: improve code

* fix: bug

* chore: collection options for migration

* chore: tree collection options

* chore: migration rules

* chore: migration rules

* chore: env api

* chore: env api

* fix: optionsKeysNotAllowedInEnv

* fix: required true

* fix: improve code

* fix: app refresh

* fix: remove db.import

* fix: type error

* fix: map

* refactor: locale improve

* refactor: tx-cos

* fix: undefined

* refactor: code improve

* chore: use bookworm

* fix: npm add user

* fix: npm login

* fix: npm adduser

* fix: npm adduser

* fix: expect

* fix: expect

* fix: environmentVariables

* refactor: support bulk delete & filter

* refactor: locale improve

* feat: filter

* refactor: useGlobalVariable

* fix: scope

* fix: bug

* fix: optionsKeysNotAllowedInEnv

* fix: test error

* fix: test

* fix: test

* feat: improve code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2025-01-08 09:32:49 +08:00
nocobase[bot]
ff4f3ac955 chore(versions): 😊 publish v1.6.0-alpha.9 2025-01-06 05:23:18 +00:00
nocobase[bot]
466221f69f chore(versions): 😊 publish v1.6.0-alpha.8 2025-01-02 09:55:39 +00:00
YANG QIA
84cfa82304
feat: security (#5923)
* feat: password policy

* feat: password validator

* fix(inbox): i18n of channel title

* feat: atomic counter

* fix: bug

* fix: bloom

* chore: i18n

* fix: counter

* fix: build

* fix: bug

* fix: z-index

* fix: export

* test: add redis cache test

* fix: test

* fix: test

* fix: test

* fix: bug

* fix: form reset

* fix: locale

* fix: version

* fix: separate cache for sub apps

* chore: update
2024-12-29 08:33:27 +08:00
nocobase[bot]
2e70e75642 chore(versions): 😊 publish v1.6.0-alpha.7 2024-12-24 16:40:13 +00:00
nocobase[bot]
9ea2d8d7d4 chore(versions): 😊 publish v1.6.0-alpha.6 2024-12-19 02:21:42 +00:00