3528 Commits

Author SHA1 Message Date
YANG QIA
97f4a6ccff
fix(data-vi): enum field options are empty in the filter block (#6706)
* fix(data-vi): enum field options are empty in the filter block

* fix: specific props
2025-04-18 19:20:46 +08:00
nocobase[bot]
b76eda2136 Merge branch 'main' into next 2025-04-18 04:23:47 +00:00
Sheldon Guo
f5818066ca
fix(in-app-message): disconnect SSE on mobile when message component unmounts or tab is switched to avoid excessive persistent connections. 2025-04-18 12:23:25 +08:00
chenos
88dd0c84e7
fix: ensure custom request data must be JSON (#6701) 2025-04-18 11:15:06 +08:00
nocobase[bot]
402c3f4b3a chore(versions): 😊 publish v1.7.0-beta.20 2025-04-18 00:52:00 +00:00
Junyi
42cbe1e1dd
fix(plugin-workflow-manual): acl (#6693)
* fix(plugin-workflow-manual): fix acl for tasks

* test(plugin-workflow-manual): add test case

* fix(plugin-workflow-manual): fix test case
2025-04-17 22:42:13 +08:00
nocobase[bot]
b04e877d31 chore(versions): 😊 publish v1.7.0-beta.19 2025-04-17 08:13:12 +00:00
chenos
0fc8f5d0cf Merge branch 'main' into next
# Conflicts:
#	yarn.lock
2025-04-17 15:11:07 +08:00
chenos
8abdb8eaac chore: upgrade tar to version 7.4.3 2025-04-17 15:09:10 +08:00
nocobase[bot]
7f1d642848 chore(versions): 😊 publish v1.6.21 2025-04-17 06:51:36 +00:00
Katherine
f5fb2844da
feat(custom-request): support selected table records in custom request (#6647)
* feat: support selected table records in custom request

* fix: test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: merge bug

* fix: e2e test

* fix: e2e test
2025-04-17 12:35:03 +08:00
nocobase[bot]
1652b50edf Merge branch 'main' into next 2025-04-17 01:04:09 +00:00
YANG QIA
824ad7f29e
fix: bug (#6684) 2025-04-17 09:03:33 +08:00
mytharcher
10a6fbba41 fix(plugin-workflow-manual): fix merge error 2025-04-16 21:47:18 +08:00
nocobase[bot]
ccbb2d0783 Merge branch 'main' into next 2025-04-16 13:20:20 +00:00
xilesun
18791bfe2d fix(departments): test error 2025-04-16 21:18:34 +08:00
mytharcher
42a9d5a6cb Merge branch 'main' into next 2025-04-16 21:06:12 +08:00
ajie
5eda5ba21d
fix: fixed an error importing xlsx time field (#6672) 2025-04-16 17:14:23 +08:00
Katherine
6fef3d7bed
feat: support variables on the left side of linkage rule conditions (#6609)
* feat: support linkage rules setting for association block action

* chore: linkage rule

* fix: bug

* fix: bug

* refactor: linkage rule

* refactor: code imporve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code imporve

* fix: test

* fix: test

* fix: test

* test: e2e test

* fix: bug

* fix: bug

* fix: test

* fix: e2e test

* fix: bug

* chore: support legacy leftVar in linkage rules

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: create submit linkage rule

* fix: action panel

* refactor: code improve

* fix: bug

* fix: test

* fix: test

* fix: code improve

* fix: e2e test

* fix: bug

* refactor: refresh & expend action support linkage rule

* refactor: code improve

* fix: test

* fix: bug

* fix: bug

* fix: e2e test

* fix: e2e test

* fix: e2e test

* fix: test

* refactor: code improve

* fix: e2e test

* fix: bug

* fix: e2e test

* fix: e2e test

* fix: test

* fix: e2e test

* fix: e2e test

* fix: bug
2025-04-16 15:52:51 +08:00
Junyi
63a842aab3
fix(plugin-workflow-manual): fix task status (#6676) 2025-04-16 09:48:48 +08:00
nocobase[bot]
f1c9a14e6c chore(versions): 😊 publish v1.7.0-beta.18 2025-04-15 16:11:32 +00:00
Junyi
aefd78bc09
fix(plugin-acl): fix role in cache (#6674) 2025-04-15 23:44:35 +08:00
chenos
dbed7f71b0 Merge branch 'main' into next
# Conflicts:
#	packages/core/create-nocobase-app/templates/app/package.json.tpl
2025-04-15 22:54:59 +08:00
chenos
5808ee57e2
chore(deps): upgrade some dependencies to latest versions (#6673)
* chore(deps): upgrade some dependencies to latest versions

* fix: --skip-dev-dependencies

* fix: compression
2025-04-15 22:53:07 +08:00
Katherine
91207a77f1
fix: vertical scrollbar appears when iframe block is set to full height (#6675) 2025-04-15 22:50:48 +08:00
Junyi
bc519a118c
fix(plugin-workflow): fix migration (#6667)
* fix(plugin-workflow): fix migration

* fix(plugin-workflow): change findOrCreate to simple logic
2025-04-15 21:31:05 +08:00
chenos
1c627ea9a4 fix: test error 2025-04-15 09:06:44 +08:00
nocobase[bot]
bc7af8b80f chore(versions): 😊 publish v1.7.0-beta.17 2025-04-14 16:52:54 +00:00
chenos
bcc1d8aa6c fix: deps 2025-04-14 23:58:53 +08:00
nocobase[bot]
9f14c75b8f Merge branch 'main' into next 2025-04-14 15:36:38 +00:00
nocobase[bot]
4da85db68b chore(versions): 😊 publish v1.6.20 2025-04-14 15:35:54 +00:00
chenos
29e2e81a6b Merge branch 'main' into next
# Conflicts:
#	packages/plugins/@nocobase/plugin-departments/package.json
#	packages/plugins/@nocobase/plugin-departments/src/client/departments/DepartmentTable.tsx
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/actions.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/data-sync.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/destroy-department-check.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/set-department-owners.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/set-departments-info.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/set-main-department.test.ts
#	packages/plugins/@nocobase/plugin-departments/src/server/__tests__/update-department-is-leaf.test.ts
#	packages/plugins/@nocobase/plugin-field-attachment-url/package.json
#	packages/plugins/@nocobase/plugin-field-attachment-url/src/client/component/AttachmentUrl.tsx
#	packages/plugins/@nocobase/plugin-field-attachment-url/src/client/hook/index.ts
#	packages/plugins/@nocobase/plugin-field-attachment-url/src/client/interfaces/attachment-url.tsx
#	packages/plugins/@nocobase/plugin-field-attachment-url/src/server/plugin.ts
#	packages/plugins/@nocobase/plugin-workflow-response-message/package.json
#	packages/plugins/@nocobase/plugin-workflow-response-message/src/server/__tests__/instruction.test.ts
#	packages/plugins/@nocobase/plugin-workflow-response-message/src/server/__tests__/multiple.test.ts
#	packages/presets/nocobase/package.json
2025-04-14 23:04:58 +08:00
chenos
1db56657e8
feat: make commercial plugins free (#6663)
* feat: make commercial plugins free

* fix: rm pkg

* fix: deps

* fix: deps

* fix: deps

* fix: test error

* fix: test error

* fix: test error
2025-04-14 22:56:34 +08:00
Katherine
f99cdb5f02
fix(attachment-url): only allow file collections with public URL access (#6664)
* refactor: isPublicAccessStorage

* fix: bug

* fix: bug

* fix: only allow file collections with public URL access

* fix: build

* fix: test
2025-04-14 22:35:17 +08:00
chenos
3e2abe3d3c feat: make commercial plugins free 2025-04-14 19:30:02 +08:00
Zeke Zhang
ba83b2b1be
feat: support automatic data block refresh (#6591) (#6658)
* fix: update FilterContext to allow null parent value

* fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings

* feat: add highlight and unhighlight functionality for data blocks in SchemaSettings

* Revert "fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings"

This reverts commit a75c7002010785f1cfd2e78c4f5998d0194366bc.

* Revert "fix: update FilterContext to allow null parent value"

This reverts commit 6eb0b1989e20be8310f8dbce4e875e862123f2b3.

* feat: add AllDataBlocksProvider and integrate it into SchemaSettings and Page components

* feat: add BlocksSelector component and integrate data block refresh functionality in Action and SchemaSettings

* feat: optimize handleClick to use useMemo for better performance and refresh data blocks after onClick

* feat: add dialog visibility control in BlocksSelector for improved user experience

* fix: avoid error

* feat: add highlight and scroll tracking functionality for data blocks

* feat: add transition

* feat: add tootip

* fix: prevent closed dialog blocks from appearing in the BlocksSelector options

* fix: handle errors during block refresh to prevent crashes

* chore: fix build

* feat: add AllDataBlocksProvider to BlockTemplatePage and export from index

* feat: set width for AfterSuccess dialog to 700

* feat: wrap MobileRouter with AllDataBlocksProvider for improved data handling

* feat: export BlocksSelector component and integrate into AfterSuccess settings

* fix: ensure container visibility is managed correctly in highlightBlock and unhighlightBlock functions

* fix: remove unnecessary display property manipulation in highlightBlock and simplify unhighlightBlock logic

* chore: hide data refresh after sucess option from block template configure page

* fix: revert code format

---------

Co-authored-by: gchust <gchust@qq.com>
2025-04-14 18:34:21 +08:00
Junyi
23d7e09fa5
refactor(plugin-workflow): change tasks api (#6640)
* refactor(plugin-workflow): change tasks api

* refactor(plugin-workflow): change task center popup logic

* refactor(preset): remove some builtin plugins
2025-04-14 18:27:28 +08:00
nocobase[bot]
1af62daf9f chore(versions): 😊 publish v1.6.19 2025-04-14 06:26:27 +00:00
nocobase[bot]
62d857b1bc chore(versions): 😊 publish v1.7.0-beta.16 2025-04-11 16:42:25 +00:00
chenos
cec36c849f
fix: await addNewTexts 2025-04-11 23:39:20 +08:00
nocobase[bot]
8b983f8913 chore(versions): 😊 publish v1.6.18 2025-04-11 13:05:40 +00:00
nocobase[bot]
8c5edfc494 Merge branch 'main' into next 2025-04-11 06:26:34 +00:00
Junyi
e65ff559c2
fix(plugin-workflow): fix loading enabled workflows list with stats (#6642)
* fix(plugin-workflow): fix loading enabled workflows list with stats

* fix(plugin-workflow): add fallback logic to make sure workflow has stats
2025-04-11 08:46:14 +08:00
Junyi
32ae82bb31
refactor(client): add default type fallback api for (#6644) 2025-04-11 08:45:48 +08:00
Zeke Zhang
6d435dbcf8 Merge branch 'main' into next 2025-04-10 22:57:07 +08:00
Zeke Zhang
49a9c6365b
refactor: optimize prompt information (#6641)
* fix: update error block to display a custom image and improved messages when no pages are found

* feat: add no pages result display with custom message and icon in LayoutContent

* feat: add translations for UI editor prompts and update no pages message in multiple locales

* feat: add tip display when no pages are found in LayoutContent

* fix: ensure minimum height for mobile tab bar content

* fix: remove unnecessary margin from mobile action page styles and block initializer
2025-04-10 22:50:57 +08:00
Zeke Zhang
9ab6f7a956 style(mobile): fix top-right corner style 2025-04-10 22:45:17 +08:00
nocobase[bot]
95952c7a45 chore(versions): 😊 publish v1.7.0-beta.15 2025-04-10 03:29:03 +00:00
Junyi
5717e91a0b
fix(plugin-workflow): fix oom when create job with unsafe integer id (#6637)
* fix(plugin-workflow): fix oom when create job with unsafe integer id

* chore(plugin-workflow): remove useless code

* chore(plugin-workflow): remove only for test case

* fix(plugin-workflow): fix test cases

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix pg test case
2025-04-10 11:01:25 +08:00
gchust
f9b2720ef2
fix: save as template error if block is using a deleted ref template (#6638) 2025-04-09 22:42:53 +08:00