2924 Commits

Author SHA1 Message Date
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]
25a35e5770 chore(versions): 😊 publish v1.5.1 2025-02-06 03:12:53 +00:00
nocobase[bot]
dbf4fb713d chore(versions): 😊 publish v1.5.0 2025-02-05 14:15:43 +00:00
nocobase[bot]
7fad455ae2 chore(versions): 😊 publish v1.6.0-beta.1 2025-02-05 13:56:56 +00:00
nocobase[bot]
e81934206c Merge branch 'next' into develop 2025-02-05 13:51:06 +00:00
gchust
01ea8294ca
fix: popover subform not working in public forms (#6157) 2025-02-05 21:50:14 +08:00
xilesun
46df34b4f5 Merge branch 'next' into develop 2025-02-05 21:48:49 +08:00
xilesun
ad7a65c3e4 Merge branch 'main' into next 2025-02-05 21:41:14 +08:00
YANG QIA
b0c517a222
fix(sql-collection): filtering SQL Collection throws an error when DB_TABLE_PREFIX is set (#6156) 2025-02-05 19:46:16 +08:00
Sheldon Guo
bae769c6bf
chore: add homepage links to notification plugins in package.json (#6150)
* feat: add homepage links to notification plugins in package.json
2025-02-03 09:52:21 +08:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
9c50b055e0 chore(versions): 😊 publish v1.4.34 2025-02-02 04:55:56 +00:00
nocobase[bot]
e7c5f9d731 chore(versions): 😊 publish v1.5.0-beta.34 2025-02-01 03:58:20 +00:00
nocobase[bot]
4d2045e358 Merge branch 'next' into develop 2025-01-28 15:19:20 +00:00
Junyi
2783e62aa5
fix(plugin-field-sort): fix move action to trigger workflow (#6145) 2025-01-28 23:18:53 +08:00
nocobase[bot]
90ffb60006 chore(versions): 😊 publish v1.4.33 2025-01-28 03:31:37 +00:00
nocobase[bot]
f232ec45df chore(versions): 😊 publish v1.4.32 2025-01-27 17:19:40 +00:00
nocobase[bot]
30a30487b1 Merge branch 'next' into develop 2025-01-27 15:31:27 +00:00
mytharcher
3ccc5d8e50 Merge branch 'main' into next 2025-01-27 23:30:31 +08:00
ChengLei Shao
415dea8c31
chore: remove collection schema options (#6129)
* chore: remove schema options in collections

* chore: test

* chore: unset schema option

* chore: test

* chore: test

* fix: test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-01-26 18:21:00 +08:00
chenos
fddee6e9a8 fix: test error 2025-01-26 15:02:43 +08:00
nocobase[bot]
f8d75f1da3 chore(versions): 😊 publish v1.4.31 2025-01-26 05:21:21 +00:00
nocobase[bot]
f53c2d836b Merge branch 'next' into develop 2025-01-25 14:21:24 +00:00
nocobase[bot]
4c3b4c8497 Merge branch 'main' into next 2025-01-25 14:20:56 +00:00
ChengLei Shao
49cad7ed3f
chore: append acl strategy resource (#6137) 2025-01-25 22:20:32 +08:00
nocobase[bot]
fbf5a4c488 Merge branch 'next' into develop 2025-01-25 13:29:48 +00:00
ChengLei Shao
72f515a321
chore: import placeholder (#6134) 2025-01-25 21:29:22 +08:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00:00
chenos
0806862794 chore(deps): pin @aws-sdk/client-s3 version to 3.245.0 2025-01-25 20:35:38 +08:00
chenos
8abfae5824 fix(tree): cannot read properties of undefined (reading 'tree') 2025-01-25 20:25:50 +08:00
chenos
6ea55cdd43 fix: migration error 2025-01-25 20:14:13 +08:00
chenos
311c549c7b fix: add migrationRules 2025-01-25 15:52:49 +08:00
nocobase[bot]
8eb3b87dc3 Merge branch 'next' into develop 2025-01-24 15:06:35 +00:00
katherinehhh
cae5d68211 Merge branch 'main' into next 2025-01-24 23:05:50 +08:00
YANG QIA
7c0d424173
fix(m2m-array): updating many to many (array) fields in a subform is not working (#6136)
* fix(m2m-array): updating many to many (array) fields in a subform is not working

* test: add tests

* fix: build

* fix: test
2025-01-24 22:41:42 +08:00
Chareice
2b58c13aa5
chore: migration rules 2025-01-24 22:31:39 +08:00
Chareice
24cc2d49df
chore(enviroment-variables): validateTexts api 2025-01-24 21:21:18 +08:00
Zeke Zhang
e29f9fa39e Merge branch 'next' into develop 2025-01-24 16:46:21 +08:00
katherinehhh
daefd83114 fix: merge bug 2025-01-24 16:01:52 +08:00
katherinehhh
955c167f5e Merge branch 'main' into next 2025-01-24 15:51:52 +08:00
chenos
225278602c
Update server.ts 2025-01-24 15:22:21 +08:00
chenos
5ac9f432bc
fix: only sub-apps that start with the main app are upgraded with it (#6133) 2025-01-24 15:09:46 +08:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
chenos
fda336ed31
chore: move AesEncryptor to the core (#6132) 2025-01-24 13:27:58 +08:00
Zeke Zhang
97333d0c06
refactor(Menu): optimize menu interface (#5955)
* feat: define desktopRoutes collection

* feat: convert routes to schema

* feat: support to add new route

* feat: support to delete routes

* feat: adaptor Hidden option

* feat: adaptor Edit option

* fix: fix incomplete menu display issue

* feat: support to insert

* feat: adjust permission configuration page interface

* feat: add listAccessible action

* feat: routes table

* feat: edit button

* style: optimize style

* chore: add confirm text

* fix: delete corresponding schema when removing routes to ensure data consistency

* chore: add field type

* feat: create a tab when creating a page

* fix: fix tabs issue

* fix: avoid undefined error

* fix: should hide menu when it's hideInMenu is true

* fix: should refresh menu when updating it

* chore: optimize params

* fix: fix tab when adding child

* chore: should display empty

* fix: fix subapp path

* fix: fix activeKey of tab

* chore: add translation

* chore: prevent menu collapse after adding new menu item

* refactor: rename useDesktopRoutes to useNocoBaseRoutes

* fix: fix tab path

* fix: fix draging issue

* feat: support to set Hidden for Tab

* feat: implement move

* fix: draging

* chore: add migration

* fix: fix migration

* chore: fix build

* chore: fix e2e test

* fix: fix menu creation position issue

* fix: migration

* chore: add translation

* fix: fix some bugs

* fix: fix 'Move to'

* fix: compile Route name in permission management page

* fix: fix table selection issue

* chore: add comment

* fix: hidden

* fix: fix mobile route path

* fix: do not select parent node when selecting child nodes

* fix(mobile): hide menu

* fix(mobile): path

* fix(mobile): fix schema

* fix(mobile): compile tab title

* fix: fix permission configuration page selection error

* fix: fix selection issues

* fix(migration): transform old permission configuration to new permission configuration

* chore: translate fields title

* feat: support localization

* fix: fix pagination

* chore: fix build

* fix: change aclSnippet

* chore: fix unit tests

* fix: fix error

* chore: fix unit tests of server

* chore(migration): update version of migration

* chore: fix e2e tests

* chore: fix build error

* chore: make e2e tests pass

* chore: fix migration error

* fix: show ellipsis when text overflows

* fix: show ellipsis when text overflows

* chore: change 'Access' to 'View'

* fix: should use sort field to sort

* fix: fix tab drag and drop issue

* refactor: rename unnamed tab label to 'Unnamed'

* fix: fix draging issue

* refactor: add 'enableTabs' field

* refactor: optimize route fields

* refactor: optimize migration

* fix: set enableTabs to false when creating page

* refactor: change empty tab name to 'Unnamed'

* fix: fix tab path

* fix: avoid undefined error

* chore(migration): update appVersion

* fix(migration): fix page issue

* chore: fix unit test

* fix(mobile): fix incorrect path

* fix(mobile): fix enableTabs issue

* fix: disable Add child route button when enableTabs is false

* fix: fix embed issue

* fix(migration): add migration for mobile

* chore: update migration

* fix: fix tab title not updating issue

* fix: fix untranslated text issue

* fix: fix routes table style

* fix: fix group issue

* fix(mobile): fix 404 issue

* fix: should hide tabs when creating page

* fix: should translate tabs title

* fix: fix translation issue

* fix(migration): fix appVersion

* fix: fix ACL

* fix: should set paginate to true and filter out hidden items

* fix(migration): fix bug

* refactor(desktopRoutes): add enableHeader and displayTitle

* fix: fix permission issue

* fix(mobile): fix error

* fix(mobile): fix migration error

* fix(migration): compatible with older versions

* fix: make unit tests pass

* chore: ignore some failing test cases

* chore: test

* fix: test
2025-01-24 13:02:38 +08:00
Katherine
7c45197058
fix: select in read-only mode clickable and text overflow issue on mobile (#6130) 2025-01-24 11:41:27 +08:00
Junyi
55a7d9a828
refactor(plugin-file-manager): move destroy to collection event (#6127) 2025-01-23 22:27:11 +08:00
Junyi
19ffa45ee9
fix(plugin-workflow): fix tsfn for generating SQL (#6128) 2025-01-23 20:33:04 +08:00
kennnnn
6c922ba7e1
feat(plugin-field-sequence): add random character pattern (#5959)
* chore(plugin-field-sequence): add random number and random string patterns

- Add random number pattern with configurable length (padded with zeros)
- Add random string pattern with configurable length (alphanumeric)
- Update Chinese translations for new patterns

* fix(plugin-workflow): fix date range variables (#5954)

* feat: hidden date range variables from nodes which is not filter components

* feat: remove system daterange variables from plugin

* refactor(plugin-workflow): move date range variables to component

* fix(plugin-workflow): remove useless code

---------

Co-authored-by: Linda <huanghui9850@gmail.com>

* Update sequence-field.ts

合并了随机字符

* Update sequence.tsx

合并成了随机字符

* Update zh-CN.json

* Update zh-CN.json

更新中文翻译

* Update zh-CN.json

修改了重复的文本

* Update sequence.tsx

删掉了旧的随机数字和随机字符,保留合并后的随机字符,可以配置字符集选择数字、大小写字母、符号,配置字符长度,配置要不要根据长度补零、不补充,

* Update sequence-field.ts

* Update sequence.tsx

除了数字以外的字符集隐藏掉是否补0的选项,因为用不上

* Update sequence.tsx

重新提交下防止之前发错了

* Update sequence.tsx

重新提交下,不小心把服务端内容贴进去了

* Update sequence.tsx

隐藏补充类型改成禁用补充类型

* Update sequence.tsx

补零改成了前补零和后补零两个选项

* Update sequence-field.ts

补零改成了前补零和后补零

* Update zh-CN.json

修改了文本

* Update sequence-field.ts

去掉了多余还影响观感的后补零

* Update sequence.tsx

去掉了多余的后补零

* Update zh-CN.json

* Update zh-CN.json

删了多余的padding

* Update sequence.tsx

去掉了多余的padding

* Update sequence-field.ts

去掉了多余的padding

---------

Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: Linda <huanghui9850@gmail.com>
2025-01-23 17:33:15 +08:00
nocobase[bot]
c7c803fcff Merge branch 'next' into develop 2025-01-23 00:15:24 +00:00