3499 Commits

Author SHA1 Message Date
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
nocobase[bot]
ab8316bc21 Merge branch 'main' into next 2025-04-09 13:43:43 +00:00
Junyi
86380b2ba5
refactor(plugin-workflow-delay): support to use variable for duration (#6621) 2025-04-09 21:43:15 +08:00
nocobase[bot]
eeec17265c chore(versions): 😊 publish v1.7.0-beta.14 2025-04-09 11:28:40 +00:00
ajie
41961fb923
fix: correct role union calculation logic (#6605)
* refactor: enhance role merging logic: prioritize strategy actions over existing actions

* refactor: union role acl

* refactor: union role acl

* refactor: union role acl

* fix: assign getKeys

* fix: assign

* refactor: switch role set default role record

* refactor: switch role set default role record

* refactor: switch role set default role record

* refactor: switch role set default role record

* refactor: add setCurrentRole cache

* fix: e2e test

* fix: setCurrentRole

* refactor: switch role

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-04-09 19:06:05 +08:00
nocobase[bot]
aae9319f73 chore(versions): 😊 publish v1.6.17 2025-04-09 06:28:10 +00:00
nocobase[bot]
991e715f06 Merge branch 'main' into next 2025-04-09 04:34:13 +00:00
YANG QIA
403ff24800
fix(users): issue with parsing the user profile form schema (#6635) 2025-04-09 12:33:47 +08:00
nocobase[bot]
d37ad50fd0 Merge branch 'main' into next 2025-04-09 01:39:13 +00:00
Katherine
773ee94db4
fix: missing filter params when exporting data after changing pagination (#6633) 2025-04-09 09:38:51 +08:00
chenos
5ecc4f2381
feat: added localization module for UISchema, enabling custom translations for schema title and description. (#6574)
* feat: add i18n support for ui schema

* feat: add locale tester

* feat: uischame localization source

* refactor: page title

* refactor: tab title

* refactor: column title

* refactor: form field title

* fix: bug

* refactor: uischema localzation sync

* fix: bug

* fix: issue with Gantt block in tree collection (#6617)

* fix: issue with Gantt block in tree collection

* fix: bug

* fix: test

* feat: enhance error handling with optional title in AppError component (#6409)

* refactor(client): add trim API for Input and Variable.TextArea (#6624)

* refactor(client): add trim API for Input and Variable.TextArea

* fix(client): avoid trim property to be passed to inner component

* fix: add headers to API request in AssociationFieldProvider (#6619)

* fix: add headers to API request in AssociationFieldProvider

* fix: handle optional dataSource in headers for API request in AssociationFieldProvider

* fix: variable parse failure when URL parameters contain Chinese characters (#6618)

* refactor: code improve

* fix: bug

* fix: e2e test

* fix: e2e test

* fix: e2e test

* fix: e2e test

* fix: e2e test

* fix: e2e test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Sheldon Guo <sheldon_66@163.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-04-08 22:18:09 +08:00
Zeke Zhang
ee603e7195 Merge branch 'main' into next 2025-04-08 17:24:52 +08:00
chenos
99c6ecb398 fix: add migrationRules 2025-04-08 09:27:00 +08:00
gchust
af3d5b56fd
fix: null x-component has not been cleaned correctly (#6626) 2025-04-07 17:49:56 +08:00
Katherine
d5f99d97df
fix: single-select field with 'contains' filter on mobile does not support multiple selection (#6629) 2025-04-07 16:02:51 +08:00
gchust
c6e75919ba
fix: block template configure page style (#6625)
* fix: block template configure page style

* fix: unit tests errors

* chore: update tests snapshot

* fix: inconsistant style
2025-04-06 19:27:06 +08:00
Junyi
85c073f87e
refactor(plugin-workflow): optimize save job logic (#6613)
* refactor(plugin-workflow): optimize save job logic

* fix(plugin-workflow): fix test cases
2025-04-06 18:22:00 +08:00
Sheldon Guo
8f5ae04743
feat: enhance error handling with optional title in AppError component (#6409) 2025-04-04 19:29:49 +08:00
Katherine
235cbebf74
fix: issue with Gantt block in tree collection (#6617)
* fix: issue with Gantt block in tree collection

* fix: bug

* fix: test
2025-04-03 20:25:44 +08:00
nocobase[bot]
c37ea4d60a chore(versions): 😊 publish v1.6.16 2025-04-03 07:15:19 +00:00
nocobase[bot]
a2ab61d10d Merge branch 'main' into next 2025-04-02 08:15:58 +00:00
Katherine
7e993b867d
style: optimize title styling on the public form configuration page (#6614) 2025-04-02 16:15:36 +08:00
Katherine
d2025ee76f
fix: field label display issue to prevent truncation by colon (#6599)
* fix: form field label truncation due to colon

* fix: test

* fix: bug
2025-04-02 14:54:09 +08:00
nocobase[bot]
994be1a2a1 chore(versions): 😊 publish v1.7.0-beta.13 2025-04-02 01:08:51 +00:00
nocobase[bot]
71a55d6f10 chore(versions): 😊 publish v1.6.15 2025-04-01 12:59:02 +00:00
chenos
f75f65f588 Merge branch 'main' into next
# Conflicts:
#	packages/plugins/@nocobase/plugin-public-forms/src/server/plugin.ts
2025-04-01 20:19:43 +08:00
chenos
bc158ac66c
fix: view permissions include list and get (#6607) 2025-04-01 19:55:25 +08:00
nocobase[bot]
3b7120fd46 Merge branch 'main' into next 2025-04-01 09:49:02 +00:00
Junyi
b04d4a82d9
refactor(file-manager-storage): add trim option for text fields (#6604) 2025-04-01 17:48:41 +08:00
nocobase[bot]
ecff95627e Merge branch 'main' into next 2025-04-01 09:39:15 +00:00