Commit Graph
72 Commits
Author SHA1 Message Date
mytharcher fdf98589b8 Merge branch 'next' into develop 2026-04-08 15:31:07 +08:00
Junyi b902a20f94 chore(plugin-workflow): refine trigger execution logs (#9049) 2026-04-08 09:31:01 +08:00
Junyi c9ab9e99f0 feat(plugin-workflow): add validation (#8930)
* feat(plugin-workflow): add validation for nodes

* feat(plugin-workflow): add validation for triggers
2026-03-24 00:24:38 +08:00
Zeke Zhang b1d8980ec8 feat(workflow-cc): support FlowModel UI and task cards (#8405)
* feat(workflow-cc): support FlowModel UI and task cards (v2) with v1 compatibility

* refactor(SchemaConfig): remove unused parameters from SchemaConfig function

* fix(workflow-cc): improve null safety, deps optimization and error handling

* feat(instruction): add CC interface and task card config

* refactor(instruction): improve visibility logic and remove unused uid

* Revert "refactor(instruction): improve visibility logic and remove unused uid"

This reverts commit ebb232b18d.

* Revert "feat(instruction): add CC interface and task card config"

This reverts commit e5af6b3f71.

* Revert "fix(workflow-cc): improve null safety, deps optimization and error handling"

This reverts commit cb279ebf90.

* Revert "refactor(SchemaConfig): remove unused parameters from SchemaConfig function"

This reverts commit 5254dc7087.

* Revert "feat(workflow-cc): support FlowModel UI and task cards (v2) with v1 compatibility"

This reverts commit 69b534703a.

* feat(workflow-cc): add v2 user interface and task card models

* fix(workflow-cc): add null check for viewCtx before adding delegate

* feat(workflow-cc): refactor task card configuration logic

* refactor(workflow-cc): update CCTaskCardDrawerContent props

* refactor(workflow-cc): remove approval nodes from data blocks

* refactor(workflow-cc): enhance FlowModelRenderer settings

* refactor(workflow-cc): update CCTaskCardConfigButton styles

* refactor(workflow-cc): update icon and button style in CCTaskCardConfigButton

* refactor(workflow-cc): update useTodoActionParams to include node.config

* refactor(workflow-cc): add filterTargetKey to workflowCcTasks

* refactor(workflow-cc): restructure model context definition

* refactor(workflow-cc): add disableBlockGridPadding property

* refactor(workflow-cc): remove unused parameters from SchemaConfig

* refactor(instruction): remove default ccDetail in config

* refactor(CCTaskCardConfigButton): remove unused themeToken

* refactor(CCTaskCardDetailsAssociationFieldGroupModel): update whitelist and blacklist fields

* refactor(tasks): remove unused import for useTrigger

* refactor(tasks): simplify props in action functions

* refactor(workflow): enhance task card functionality

* style(model): update label template syntax

* feat(workflow): add uiSchema for CC node

* style(model): update TEMP_ASSOCIATION_PREFIX value

* style(model): update comment for TEMP_ASSOCIATION_PREFIX

* refactor(workflow): optimize association field handling

* refactor(tasks): simplify appends array in FlowContextProvider

* refactor(workflow): simplify key handling in associations

* refactor(workflow): enhance temporary association field handling

* refactor(actions): improve task field value handling

* refactor(workflow): enhance temporary association handling

* feat(models): add CCTriggerBlockGridModel class

* fix(CCAddBlockButton): handle optional chaining for trigger data

* refactor(workflow): simplify temp association handling

* refactor(tests): improve temporary association handling

* refactor(actions): remove unnecessary return statement

* refactor(actions): remove unused temp association logic

* refactor(CCAddBlockButton): use lodash for trigger data handling

* refactor(CCTaskCardGridModel): remove sync call on mount

* refactor(tasks): remove unused imports and add cache option

* refactor(hooks): extract useTempAssociationSources hook

* refactor(SchemaConfig): remove unused useTriggerTempAssociationSource hook

* refactor(tasks): simplify upstream retrieval logic

* feat(workflow-cc): add CCDetailsCustomItemModel and update references

* feat(workflow-cc): add TaskCardCommonItemModel and update exports

* refactor(workflow-cc): remove CCDetailsCustomItemModel and update references

* fix(workflow-cc): refresh task card model on workflow change

* fix(workflow-cc): duplicate v2 ui models for cc nodes

* fix(workflow-cc): reduce repeated task card model loads

* fix(workflow-cc): refresh task card on node updates

* fix(workflow): expose schedule trigger data for cc

* fix(workflow-action-trigger): hide trigger data without context

* fix(workflow): exclude update node from cc data sources

* fix(workflow): include loop scopes for variables

* fix(workflow-cc): append associations for temp data

* fix(workflow-cc): load popup record with node info

* fix(flow): keep click-to-open tag clickable when empty

* fix(workflow-cc): enable read-all when counts missing

* fix(workflow-cc): normalize task card reload key

* fix(workflow-cc): reapply task card click handler

* Revert "fix(workflow-cc): reapply task card click handler"

This reverts commit 0ca3f3ff5b.

* feat(workflow-cc): add getCreateModelMenuItem method

* Revert "fix(workflow): include loop scopes for variables"

This reverts commit 41b07a0cc4.

* Revert "fix(flow): keep click-to-open tag clickable when empty"

This reverts commit 58619a7d8a.

* feat(flow): show placeholder for empty click-to-open

* Revert "feat(flow): show placeholder for empty click-to-open"

This reverts commit e1b3271ce9.

* feat(model): add disableFieldClickToOpen property

* fix(model): update resource refresh method to return promise

* refactor(model): optimize workflow association field updates

* fix(CCTaskCardConfigButton): use form values directly for uid

* feat(locale): add new translations for task fields

* feat(locale): add translations for refresh and filter actions

* fix(workflow-cc): avoid pruning temp association fields

* Revert "fix(workflow-cc): avoid pruning temp association fields"

This reverts commit e34f15a3b1.

* Revert "refactor(model): optimize workflow association field updates"

This reverts commit f56c1d73e4.

* feat(workflow): add NodeDetailsGridModel for enhanced grid functionality

* feat(workflow): update grid model to NodeDetailsGridModel

* fix(workflow): correct DetailsCustomItemModel reference

* fix(workflow): add nodeType to trigger data retrieval

* refactor(CCTaskCardConfigButton): clean up temporary association fields
2026-02-09 09:01:32 +08:00
887017edbb Refactor/workflow 2.0 (#8114)
* refactor(DialogComponent, DrawerComponent): use document.body for modal container

* refactor(flow): export SkeletonFallback component

* style(ChildPageModel): simplify conditional rendering logic

* feat(workflow): add getCreateModelMenuItem method

* feat(workflow): add getCreateModelMenuItem method

* feat(workflow): add NodeDetailsModel and export it

* feat(workflow): update models to use NodeDetailsModel

* feat(workflow): add cardSettings for create and query nodes

* feat(workflow): introduce NodeValueModel and update references

* fix(workflow): correct import path for parse utility

* feat(ActionTrigger): add getCreateModelMenuItem method

* feat(workflow): register collections to data source

* feat(workflow): add workflowStats and workflowVersionStats collections

* feat(trigger): return null if workflow type is missing

* Revert "refactor(DialogComponent, DrawerComponent): use document.body for modal container"

This reverts commit 9a68b9a1e2.

* feat(ActionDrawer): use container for Drawer component

* feat(GridModel): add enableUIConfiguration getter

* fix(details): ensure UI configuration check in renderAddSubModelButton

* fix(useDialog): ensure config props are passed correctly

* feat(modal): use container for modal rendering

* refactor(useUpdateAction): extract updateNodeConfig function

* refactor(updateNodeConfig): add resourceName parameter

* style(BlockGridModel): conditionally apply padding in render

* refactor(plugin-flow-engine): export repository class

* refactor(GridModel): use enableUIConfiguration for button display

* fix(CollectionBlockModel): add optional chaining for filterManager

* fix(CollectionBlockModel): handle missing targetCollectionName

* refactor(AssociationFieldGroupModel): simplify display logic

* refactor(NodeValueModel): define hide property

* refactor(CurrentUserProvider): enhance user context handling

* fix(flow-engine): handle context absence in useFlowEngine

* refactor(processor): enhance scope handling in run method

* feat(workflow): add dynamic expression model menu item

* fix(plugin-workflow): fix duplicate instruction

* fix(SubTableColumnModel): handle undefined props in render

* refactor: unify UI configuration handling

* feat(SubTableColumnModel): add enableUIConfiguration getter

* feat: support field template for details and approval

* chore: improve code

* fix(plugin-workflow): fix duplicate

* fix: submit try catch

* refactor: use getInterfaceOptions to retrieve field interface (#8284)

* docs(plugin-workflow-approval): add docs for trigger configuration

* fix: supports adding records for associations

* fix(plugin-workflow): after change data source password collection trigger invalid (#8207)

* refactor(data-source): reuse database instance in data source refresh action

* refactor(data-source): resolve options naming conflicts

* fix(work-flow): after change data source password colletcion trigger invalid

* test(data-source-manager): add testcase for database reuse after data source reload

* test(data-source-manager): modify testcase

* fix(data-source-manager): breaking build packages

* fix(data-source-manager): fix breaking testcase

* test(data-source-manager): move testcase to pro-plugins

* fix(database): include through scope when querying m2m relationships (#8277)

* fix(plugin-workflow-manual): error thrown in filter form block settings (#8282)

* fix(plugin-async-task-manager): fix locales (#8245)

* fix: attachmentURL

* fix: errors if js block has been set to be hidden (#8286)

* fix: exit event flow on form submission failure

* fix: record picker table will not refresh after creating record (#8289)

* fix: collection selector incorrect height (#8288)

* fix: js item not refresh after update record in details block (#8291)

* fix(flow-engine): eager load root items in LazyDropdown (#8290)

* fix(plugin-file-manager): s3 limit (#8275)

* fix(plugin-file-manager): fix s3 limit error

* refactor(plugin-file-manager): use stream instead of disk io

* refactor: Improve plugin symlink

* fix: issue where adding new data in subform is overwritten by selected data (#8292)

* feat(locales): add "Display fields" translation

* fix(RecordPickerFieldModel): enable flow settings in model context

* refactor(workflow): export specific models instead of all

* fix(modal): prevent multiple close actions on modal

* fix(CurrentUserProvider): cast flowEngine context user as any

* fix(fields): handle optional chaining in find method

* fix(DisplayEnumFieldModel): add icon support to tags

* fix(CollectionField): handle null or undefined values

* fix(FormItemModel): handle missing blockModel in aclCheck

* chore: hide template in apply task form

* chore: hide template for ApprovalTaskCardDetailsModel

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: gchust <gchust@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Katherine <katherine_15995@163.com>
Co-authored-by: Drol <cgyrock@gmail.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2026-01-07 22:36:21 +08:00
xilesun 7b03d2a1d3 Merge remote-tracking branch 'origin/main' into next 2026-01-04 20:17:40 +08:00
YANG QIA 30f24629bc fix(acl): association update permission (#7856)
* chore: update

* fix(acl): change with associations

* test: add test cases

* fix: test cases

* chore: pre action handler & fix bug

* fix: snippet

* fix: association update

* fix: test

* fix: test

* fix: test

* fix: test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: optimize

* fix: test

* fix: task 1465

* fix: empty value
2026-01-04 20:12:09 +08:00
nocobase[bot] 71288f51fe Merge branch 'next' into develop 2025-12-09 01:36:39 +00:00
Junyi 7a3f4bb683 test(plugin-workflow-action-trigger): make filterByTk logic more robust (#8111)
* test(plugin-workflow-action-trigger): make filterByTk logic more robust

* fix(plugin-workflow-action-trigger): fix test cases
2025-12-09 09:35:33 +08:00
nocobase[bot] 73c0dda7a6 Merge branch 'next' into develop 2025-12-07 07:16:11 +00:00
Junyi 982f979a28 refactor(plugin-workflow-test): remove test code skipping ACL, in order to test all ACL based scenarios (#8016)
* refactor(plugin-workflow-test): remove skipped acl to test all acl based scenarios

* fix(plugin-workflow-test): fix acl on multi data source

* fix(plugin-workflow-manual): fix test cases

* fix(plugin-workflow-manual): fix test cases
2025-12-07 15:15:16 +08:00
chenos a754356d20 fix: improve locales (#8017)
* feat: add locales dir

* fix: locales

* fix: locale

* fix: sync locales

* fix: locale
2025-11-30 17:46:50 +08:00
chenos b536219f51 fix: improve locale 2025-11-30 17:39:20 +08:00
nocobase[bot] ef909819f1 Merge branch 'next' into develop 2025-11-28 01:54:24 +00:00
Junyi dbfab0b05d chore(plugin-workflow-action-trigger): add logs (#7996) 2025-11-28 09:53:33 +08:00
xilesun 353e55428a Merge branch 'next' into develop 2025-11-20 10:57:58 +08:00
6a1fa4d322 Russian language support has been added to plugins (#7676)
* Create ru-RU.JSON

* Rename ru-RU.JSON to ru-RU.json

* RU translation

* Update ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update plugin-workflow ru-RU.json

* Update plugin-worklow ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU

* Create ru-RU.json

* Create ru-RU.json

* Rename ru-RU to ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* ru_localization_plugins

* Update package.json

* Update package.json

* Update Calendar.tsx

* Update ru-RU.json

* Add Russian locale support for date formatting

* Russian localization has been added

---------

Co-authored-by: easampl <easampl@gmail.com>
Co-authored-by: 1esnevskaya <99816385+1esnevskaya@users.noreply.github.com>
2025-11-19 22:56:00 +08:00
mytharcher 8d3efec281 Merge branch 'next' into develop 2025-11-18 17:07:52 +08:00
Junyi ee07c49921 fix(plugin-workflow): data source fault tolerant (#7855) 2025-11-16 20:17:56 +08:00
df674cee0f 2.0 (#7056)
* fix: bug

* feat: ai plugin add web search tool for gemini

* fix: chartRef

* feat: ai plugin add web search tool for openai and change client to response api

* feat(filter-form): enhance label display with hover effect

* fix(filter-form): add support for highlight

* fix: sql resource

* fix: runjs

* feat: support copy popup uid

* fix: runjs

* feat: support reuse popup

* fix: chart setting, not overwrite raw buy builder

* fix: remove navigation

* fix: open view sourceId context bug

* fix: openview ctx.collection may not be aviable

* refactor: subForm

* refactor: subFormList

* fix: bug

* style(FlowsFloatContextMenu): remove transition from toolbar styles

* fix: ctx.view not visible

* feat: multi app v2 (#7525)

* fix: app support proxy set

* fix: support ws proxy

* fix: add proxy in staticImport

* fix: clean code

* fix: support app select

* fix: support multi app migration

* fix: comment clean

* fix: logo style

* fix: fix pick block issuse

* refactor: quickEditForm

* refactor(getViewDiffAndUpdateHidden): use viewUid with index for map keys

* fix: recordPicker

* feat: chart generator

* refactor(FlowPage): use viewUid and index for map keys

* fix(core): fix package version

* fix: example

* fix: package version

* fix: plugin ai ChatButton Component can not rerende issuse

* fix: openview route mode bug

* style: plugin ai aiEmployee admin table style

* style: plugin ai aiEmployee promission table style

* fix: plugin ai ExpandChatBox cover UserPrompt

* feat: stream tool call

* feat: plugin ai make ChatButton dragable

* chore: plugin ai add document and example for ai coding system prompt

* feat: add ChartResource and refactor chart data flow

* fix: navigation should be false in open view doc

* fix: ai block picker bug

* fix: context has not bee passed in openview route mode

* feat: flowSettings.on & flowSettings.off

* style: change ai employee avatar size in chat box

* style: hide built in ai employee in chat button and shorcut list

* style: close chat button while flow setting dialog open

* fix: afterAddAsSubModel

* feat: add ChartResource methods about filter

* feat: plugin data source manager add manager action button extension

* fix(ai): form filler

* fix: edit form

* style: plugin data source manager extension action position change

* feat: acstract chart model global method runQueryAndUpdateResult

* Revert "fix: settings icon can't be hovered if element is very small"

This reverts commit 927c796812.

* style(context-menu): improve hover behavior for toolbar icons

* style(FlowsFloatContextMenu): add delay to hover behavior

* fix: plugin ai add ai empolyee shortcut trigger chat button folded

* test: chart add resource testcase

* fix: attachment in subTable

* fix: selectFieldModel

* fix: subTable

* fix: open view route mode bug

* refactor: editForm

* fix: change navigation to false when provide context in ctx.openview

* refactor: titleField

* fix: subForm field disabled

* fix: sub-list

* fix: popup settings need refresh

* feat: example

* fix: uploadFieldModel

* feat: add test flight for llm service setting

* fix: plugin data source manager move ai button

* feat: ai employee action

* fix: chart setting data flow error

* feat(code-editor): add support for HTML templates in JavaScript

* feat(code-editor): add HTML and JavaScript completion support

* feat(flow-engine): add FlowStepContext for step management

* fix: titleFieldInstance

* feat: chart setting support cancel preview

* fix: do not save sql while query.mode is builder

* refactor: remove redundant code

* Revert "feat(flow-engine): add FlowStepContext for step management"

This reverts commit 4f5ef0465b.

* fix: plugin ai fix CodeInternal props lose

* fix: double render for the js models

* fix: switch menu cause performance issue

* feat: plugin adapted web_search_prview tool for chatGPT api

* Revert "Revert "feat(flow-engine): add FlowStepContext for step management""

This reverts commit e28c5b8516.

* fix(flow-engine): use untracked for params in FlowStepContext

* refactor(flow-engine): remove unused scopes parameter

* fix(flow-engine): use untracked for defaultParams in FlowStepContext

* refactor(menu): update page titles to include versioning

* fix(JSFormActionModel): update success message to English

* style(JSEditableFieldModel): format DEFAULT_CODE for readability

* fix(runjs): only run code on manual click events

* refactor: preview file

* fix: temp remove form custom item model from filter form

* feat: isPinned

* chore: avatar flip in block && default context && display task

* fix: plugin ai gemini will never use tools

* chore: optimization form filler tool prompt for chatGPT

* style(code-editor): improve editor height handling

* fix: menu item isPinned

* fix: hide js field from filter form

* fix: js column in filter form

* chore: update add sub model docs

* chore: update

* fix: plugin ai buit in tool error

* chore: optimization chart generator tool prompt for chatGPT

* style(code-editor): adjust editor height styling

* style(code-editor): update editor height handling

* feat: upload support selection of existing file

* fix: bug

* feat(code-editor): add wrapperStyle prop for customization

* feat: plugin manager

* refactor: upload file support preview

* fix(filter-group): set default value structure

* fix(code-editor): adjust height handling for editor

* feat:  chart query config filter use FilterGroup

* fix: code editor hide right extra while no extra component active

* fix: code eidtor fix merge conflict

* fix: code eidtor fix merge error

* fix: locale

* fix: deprecated

* refactor: upload field model

* style: plugin ai scroll to bottom while ai gererating code

* fix: checko multi app is enabled before migration (#7530)

* fix(code-editor): update buttonGroupHeight handling

* fix: plugin clear work context while selete ai employee task

* style: plugin ai change code editor work context style in chat box

* fix: plugin ai lost block work context title in chat box

* fix: avatar && description\

* fix(code-editor): adjust button group height handling

* fix: default value's IME composition event binding

* chore: plugin ai i18n add chinese translation

* chore: optimize

* feat(flow-view): add zIndex management for views

* Revert "feat(flow-view): add zIndex management for views"

This reverts commit 1bce5f23f2.

* fix: chart configure  filter

* fix: chart configure  filter

* fix: chart config handle setFilter

* fix(menu): prevent icon popup from being obscured

* fix(flow-view): manage zIndex for popover types

* feat: code editor improve (#7531)

* feat: add snippets samples

* chore: update snippets

* chore: update snippets

* chore: upate runjs context

* chore: update snippets

* chore: update runjs context

* feat: update code editor

* fix: incorrect run js context

* fix: runjs context

* fix: build error

* chore: update code editor style

* fix(runjs): prevent code execution on URL triggers

* feat: plugin ai add i18n support for built in ai employee

* 2.0 upload (#7532)

* feat: 2.0 upload action model

* fix: bug

* fix: bug

* fix: bug

* fix: association field in associationFieldGroup

* fix: error in event flow code editor

* fix: chart configure filter undefined error

* fix: prevent field values from being reset when configuring the edit form

* fix: cancel chart config form validate while sql mode

* fix: z-index

* feat: plugin ai add web search reference info in chat box

* fix(filter-form): remove unused parameters in model creation

* style(filter-form): update comment for clarity

* fix: plugin ai remove wrong dependenc

* fix: bug

* chore: improve code editor

* test: ci

* fix: build

* fix: code editor auto completion hint not visible

* fix: flow-engine test failures

* fix: test

* refactor: displaySubTable

* fix: build error

* fix: test

* chore: plugin ai update LLM models info

* fix: tests failures

* chore: update snippets

* fix: plugin ai embedding model provider not resolve var from env

* fix: error

* fix: test error

* fix(tests): update route handling in tests

* fix(tests): update initialProvidersLength and remove OpenModeProvider

* fix: temp remove chart resource test

* chore: remove ctx.disptachModelEvent

* refactor: upload

* feat: improve runjs context

* fix: circle depencies in flow context

* fix: chart extenal filter refresh render

* fix: flow-engine test errors

* refactor: displayPreview

* fix: test error

* fix: test error

* test(RouterManager): add waitFor for AboutComponent check

* fix: plugin ai fix ai coding event flow linkage editor issue

* fix: build error

* chore: update version to 2.0.0-alpha

* chore: update peer dependencies version

---------

Co-authored-by: gchust <gchust@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Drol <cgyrock@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: Ziqiang <ziqianghe123@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Jiann <lomo_hao@163.com>
2025-09-30 15:29:17 +08:00
Junyi ab6ffae61d refactor(plugin-workflow): refactor variable api (#7095) 2025-06-19 10:11:37 +08:00
nocobase[bot] eb58cd4e7d Merge branch 'main' into next 2025-05-17 06:40:59 +00:00
Junyi 55b810b81f chore(plugin-workflow): add all missed en-US locale keys (#6885) 2025-05-17 14:40:27 +08:00
nocobase[bot] ef8089eed4 Merge branch 'main' into next 2025-05-08 13:37:31 +00:00
Junyi 4a825c03f3 fix(plugin-workflow-action-trigger): fix user usage in handlebars from context (#6837) 2025-05-08 21:37:07 +08:00
Junyi 2aa892a716 refactor(plugin-workflow): split executed columns to stats tables (#6534)
* refactor(plugin-workflow): split executed columns to stats table

* fix(plugin-workflow): fix client executed

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix migration

* chore(plugin-workflow): remove unused file

* chore(plugin-workflow): remove stashed code
2025-03-27 11:30:17 +08:00
nocobase[bot] 8217f158aa Merge branch 'main' into next 2025-03-26 07:21:58 +00:00
Junyi 5ad6251d6d fix(plugin-workflow-action-trigger): trigger on multiple records (#6559) 2025-03-26 15:21:37 +08:00
nocobase[bot] f87c95af50 Merge branch 'main' into next 2025-03-19 16:35:17 +00:00
N3tN00b3randmahuantest 49bd35ca5f Updating italian translations - Plugins + Core (#6466)
* Add italian translation

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Update it-IT.json

* Create it-IT.json

* Create it-IT.json

* Update it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

The following strings have been intentionally not translated to avoid misinterpretation of the technical terms:

Access Key ID
Access Key Secret
Secret ID
Secret Key

* Create it-IT.json

* Create it-IT.json

* Update it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Create it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Create it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Create it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

---------

Co-authored-by: mahuantest <50297992+Albert-mah@users.noreply.github.com>
2025-03-20 00:34:48 +08:00
Mathy Vandersmissen 6db5bd7f33 Update dutch language files (#6461) 2025-03-14 08:38:14 +08:00
nocobase[bot] 79aee8825d Merge branch 'main' into next 2025-03-12 13:40:09 +00:00
Jonas Fleischer 9d572bf8f4 feat: add German localization files for NocoBase core and plugins (#6435)
* feat: add German localization files for NocoBase core and plugins

* feat: expand German localization for NocoBase plugins compared to chinese translation

This commit adds and enhances German translation files across multiple NocoBase plugins, including:
- Workflow plugins (action trigger, manual, notification, etc.)
- File management
- Charts and data visualization
- Async task management
- Import/export functionality
- Theme editor
- And several other core and extension plugins
2025-03-12 21:35:26 +08:00
mahuantestandmahuan 955457c121 feat(locale): add translation of nl-NL (dutch) (#6166)
* feat(locale): add offset param to charts-query(backend)

* feat(locale): add offset param to charts-query(frontend)

* feat(locale): add translation of de-DE

* feat(locale): add translation of nl-NL (dutch)

---------

Co-authored-by: mahuan <1007409254@qq.com>
2025-03-11 22:19:26 +08:00
mytharcher 1e3f988c48 Merge branch 'main' into next 2025-03-11 10:02:29 +08:00
Junyi 58b5396c30 refactor(plugin-workflow-action-trigger): support to use end node to determine status (#6399) 2025-03-10 16:01:35 +08:00
nocobase[bot] 1670cead6c Merge branch 'main' into next 2025-03-07 09:16:37 +00:00
N3tN00b3r a1fe85bd03 Adding italian translation for plugins (#6316)
* Add italian translation

* Create it-IT.json
2025-03-07 17:16:16 +08:00
5fbc7697c6 feat: release 202502 (#6259)
* chore(versions): 😊 publish v1.6.0-alpha.24

* chore(versions): 😊 publish v1.6.0-alpha.25

* feat: support extending frontend filter operators (#6085)

* feat: operator extension

* fix: bug

* refactor: code improve

* fix: jsonLogic

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* refactor: remove registerOperators (#6224)

* refactor(plugin-workflow): trigger workflow action settings (#6143)

* refactor(plugin-workflow): move bind workflow settings to plugin

* refactor(plugin-block-workbench): move component to core

* refactor(plugin-block-workbench): adjust component api

* fix(plugin-workflow-action-trigger): fix test cases

* fix(plugin-workflow): fix component scope

* fix(plugin-workflow-action-trigger): fix test cases

* chore(versions): 😊 publish v1.6.0-alpha.26

* feat: support the extension of preset fields in collections (#6183)

* feat: support the extension of preset fields in collections

* fix: bug

* fix: bug

* fix: bug

* refactor: create collection

* fix: config

* fix: test case

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076)

* feat: kanban field extention

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* feat: calender title fields

* feat: background color fields

* fix: bug

* fix: bug

* feat: formula field expression support field

* feat: preset fields

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* revert: preset fields

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: locale

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale

* fix: test

* fix: bug

* fix: test

* fix: test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* chore(versions): 😊 publish v1.6.0-alpha.27

* fix(data-source-main): update order

* fix: improve code

* fix: getFontColor (#6241)

* chore(versions): 😊 publish v1.6.0-alpha.28

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: version

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-21 13:25:17 +08: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
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
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
Junyi 85b36da746 refactor(plugin-workflow): refactor validate context api (#6082) 2025-01-17 09:58:28 +08:00
Junyiandcitlalinda 000095114c feat: add validateConfig to trigger (#6040) (#6073)
* feat: add validateConfig to trigger

* refactor: validateConfig

* fix: validate config

Co-authored-by: citlalinda <hxn9850@163.com>
2025-01-16 16:52:15 +08:00
04b3540739 chore(plugin-workflow): cherry pick (#6057)
* refactor(plugin-workflow): change api of manually execute (#5850)

* feat: add subflow node

* feat: add execution event

* feat: add force option

* feat: avoid recurring call

* feat: add stack to execution

* feat: add cyclic call validator

* feat: collection trigger add execution stack

* fix: stack

* fix: manual execute

* refactor(plugin-workflow): adjust api and implementent

* chore: revert locale back

* feat: trigger field set add scope variables

* feat: add changeOnSelect

* feat: variables support ID reference

* feat: change locale

* refactor(plugin-workflow): support execute by passing filterByTk for a record

* refactor(plugin-workflow): adjust props name

* fix(plugin-workflow): fix execute variable context

* fix(plugin-workflow): fix variables and locales

* chore(plugin-workflow): remove demo code

* fix(plugin-workflow): fix import

* fix(plugin-workflow): fix build error

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>

* fix(plugin-workflow): fix schedule picker value (#6039)

* fix(plugin-workflow): fix variable compoent onchange (#5964)

---------

Co-authored-by: shz <huanghui9850@gmail.com>
2025-01-15 17:42:49 +08:00
Junyi 45b8a56eb7 feat(plugin-workflow): add manual execute workflow (#5664)
* feat(plugin-workflow): add manual execute workflow

* refactor(plugin-workflow): adjust ui and type

* feat(plugin-workflow-action-trigger): add manually execute

* fix(plugin-workflow): keep trigger action in workflows for action trigger

* fix(plugin-workflow): fix type

* fix(plugin-workflow): collection trigger transaction

* fix(plugin-workflow): fix type

* test(plugin-workflow): skip failed test case

* fix(plugin-workflow): fix transaction

* fix(plugin-workflow): fix schedule mode field bug

* fix(plugin-workflow): collection trigger executing error

* fix(plugin-workflow-action-trigger): fix payload and appends

* fix(plugin-workflow): skip changed logic when execute

* fix(plugin-workflow): fix collection field schedule context when execute manually

* refactor(plugin-workflow): change manually option name

* fix(plugin-workflow-action-trigger): fix test case
2024-12-03 21:56:58 +08:00
ChengLei Shao aad8fd7bab chore: add middleware name (#5594)
* chore: middleware name

* chore: add name to middleware

* chore: logging
2024-11-06 00:29:06 +08:00
hongboji 63cffd3d31 fix: sse causes “waitForLoadState(‘networkidle’)” timeout (#5524) 2024-10-28 09:01:38 +08:00
mahuan 09b86bf18b refactor: standardize localization file name 2024-10-22 23:02:52 +08:00
mahuantestandmahuan 2bde4a3176 feat(locale): update and improve Japanese translations in ja_JP files (#5292)
* feat(locale): update and improve Japanese translations in ja_JP files

* fix(locale): correct japanese translations in ja_JP files

---------

Co-authored-by: mahuan <1007409254@qq.com>
2024-09-24 14:50:13 +08:00