379 Commits

Author SHA1 Message Date
Sheldon Guo
0e169da245 fix: implement renewed JTI cache duration and update related tests 2025-02-14 07:36:28 +08:00
Sheldon Guo
ddff4e9b7c fix: test 2025-02-14 05:27:43 +08:00
sheldon guo
e2b7c5109e fix: handle expired session error in auth flow and remove unused cache update 2025-02-13 16:30:28 +08:00
sheldon guo
5393e3ddd8 fix: add optional chaining for safe access to response headers in auth middleware 2025-02-13 09:55:44 +08: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
Chareice
2b58c13aa5
chore: migration rules 2025-01-24 22:31:39 +08:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
Sheldon Guo
c46cdd37ae
fix(plugin-auth): update migration rules for issued tokens and token policy config (#6107) 2025-01-21 10:46:33 +08:00
nocobase[bot]
93b8f93b74 chore(versions): 😊 publish v1.6.0-alpha.17 2025-01-19 12:54:20 +00:00
Sheldon Guo
8e5fd9359f
fix(auth): fix redirecting unauthenticated users from registration/public forms to the login page (#6094)
* feat(auth): add skipAuth option to API requests and update auth middleware

* feat(auth): implement removeBasename function to streamline pathname handling
2025-01-19 18:37:14 +08: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
Chareice
8928b97534
Merge branch 'next' into develop 2025-01-16 20:02:53 +08:00
ChengLei Shao
27b45e8dae
chore: ws api (#6080)
* chore: ws api

* fix: ws error

* fix: send ws message response
2025-01-16 19:45:43 +08:00
nocobase[bot]
c4a681203b chore(versions): 😊 publish v1.5.0-beta.30 2025-01-16 03:04:22 +00:00
nocobase[bot]
11cf17b5e2 chore(versions): 😊 publish v1.5.0-beta.29 2025-01-16 01:12:01 +00:00
nocobase[bot]
d0372a88a5 chore(versions): 😊 publish v1.5.0-beta.28 2025-01-14 07:57:58 +00: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]
39a40b11eb chore(versions): 😊 publish v1.5.0-beta.27 2025-01-10 03:59:31 +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]
7ade635d67 chore(versions): 😊 publish v1.5.0-beta.26 2025-01-08 12:21:37 +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]
becf6f69c9 chore(versions): 😊 publish v1.5.0-beta.25 2025-01-07 17:04:43 +00:00
nocobase[bot]
350e6cd195 chore(versions): 😊 publish v1.5.0-beta.24 2025-01-07 12:43:44 +00:00
nocobase[bot]
53025253b1 chore(versions): 😊 publish v1.5.0-beta.23 2025-01-06 11:45:26 +00:00
nocobase[bot]
ff4f3ac955 chore(versions): 😊 publish v1.6.0-alpha.9 2025-01-06 05:23:18 +00:00
nocobase[bot]
90738962af chore(versions): 😊 publish v1.5.0-beta.22 2025-01-04 11:55:51 +00:00
nocobase[bot]
8a0467fb5b chore(versions): 😊 publish v1.5.0-beta.21 2025-01-03 00:29:38 +00:00
nocobase[bot]
466221f69f chore(versions): 😊 publish v1.6.0-alpha.8 2025-01-02 09:55:39 +00:00
nocobase[bot]
48c35ae8c4 chore(versions): 😊 publish v1.5.0-beta.20 2025-01-01 17:11:57 +00:00
nocobase[bot]
bb49b11d23 Merge branch 'next' into develop 2025-01-01 16:22:31 +00:00
Chareice
617c4cba10
fix: auth websocket 2025-01-02 00:22:05 +08:00
nocobase[bot]
97306be77c Merge branch 'next' into develop 2025-01-01 14:29:17 +00:00
Chareice
c1eb366701
fix: logout error 2025-01-01 22:28:50 +08:00
nocobase[bot]
30ea467dc8 Merge branch 'next' into develop 2024-12-31 12:16:25 +00:00
ChengLei Shao
61e7a89067
refactor: export action (#5665)
* chore: export xlsx command

* chore: container service

* chore: report export progress

* chore: export

* chore: performInsert

* chore: export command

* chore: base exporter

* chore: limit option

* chore: export

* chore: export

* chore: types

* chore: ws socket with auth

* refactor: refactor exporter, change addRows method to handleRow method to support row-by-row processing

* chore: xlsx exporter

* chore: base exporter

* chore: export limit

* chore: import action

* chore: load websocket

* chore: import action

* chore: object to cli args

* chore: import options

* chore: import action

* chore: import runner

* chore: import action

* chore: import options

* chore: import options

* chore: plugin load event

* chore: test

* chore: i18n

* chore: i18n

* chore: i18n

* fix: ws auth status

* chore: cache in data source

* chore: load datasource

* chore: import with field alias

* fix: build

* fix: test

* fix: build

* fix: import schema settings

* fix: import action

* fix: import progress

* chore: template creator

* fix: import error message

* fix: import error message

* chore: test

* chore: workflow dispatch event

* chore: export alias

* fix: typo

* chore: error render

* fix: event error

* chore: send message to tags

* fix: test

* fix: import action setting
2024-12-31 20:16:03 +08:00
nocobase[bot]
f85147d0b7 chore(versions): 😊 publish v1.5.0-beta.19 2024-12-30 23:49:06 +00:00