Commit Graph
20 Commits
Author SHA1 Message Date
Katherine 7d1ec4ba1c fix(client-v2): align collection template configuration (#9711)
* fix(client-v2): align collection template configuration

* fix(plugin-comments): add comments block for client v2
2026-06-09 13:44:02 +08:00
YANG QIA 87c548969c fix(plugin-collection-sql): block sensitive PostgreSQL metadata queries (#9683) 2026-06-04 17:18:29 +08:00
Katherine b275d00c5a docs(plugin-data-source-manager): add v2 extension guide (#9634)
* docs(plugin-data-source-manager): add v2 extension guide

* docs: data source v2

* refactor(plugin-data-source-manager): split v2 collection templates

* fix(plugin-data-source-manager): align v2 settings routes
2026-06-01 10:18:27 +08:00
YANG QIA 851aee543e fix(collection-sql): validate sql on update (#9134) 2026-04-17 14:12:17 +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
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
Katherine e2e4c69941 refactor: unavailableActions to sql collection and view collection (#6765)
* refactor: unavailableActions to sql collection and view collection

* fix: unavailableActions
2025-04-24 20:09:42 +08:00
chenos 2e737f74fd chore: create-mock-database (#6522)
* chore: create-mock-database

* fix: mockDatabase
2025-03-21 12:14:31 +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
nocobase[bot] 5bf96a6beb Merge branch 'main' into next 2024-12-19 05:16:32 +00:00
YANG QIA d3de8c4ffd fix(sql-collection): block dangerous keywords (#5913) 2024-12-19 13:16:06 +08:00
nocobase[bot] 2a9bbcb7d0 Merge branch 'main' into next 2024-12-18 11:51:06 +00:00
ChengLei Shao 7eed6ef863 fix: update sql collection (#5909) 2024-12-18 19:50:44 +08:00
mytharcher 5406d6fa22 Merge branch 'next' into develop 2024-10-12 11:18:46 +08:00
0d32ba4ff5 chore: support composite record unique key (#5007)
* refactor: filterTargetkey support mutiple

* refactor: getRowKey

* fix: bug

* chore: test

* chore: test

* chore: test

* fix: bug

* fix: build

* fix: useBulkDestroyActionProps support join primary key

* fix: build

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: fieldNames

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: sourceIdValue

* fix: remoteselect

* chore: test

* chore: multi target key in has many relation repository

* chore: test

* chore: multiple relation repository

* fix: test

* refactor: target collection not support join collection

* Update update-associations.ts

---------

Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-10 21:51:37 +08:00
02c3a2be25 feat(server): add lock manager to server (for testing on dev) (#5144)
* feat: pub/sub manager

* fix: test case

* fix: test error

* fix: test error

* feat: skip self

* feat: debounce

* feat: improve code

* fix: test error

* feat: test cases

* feat: test cases

* fix: improve code

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test case

* fix: typo

* fix: createPubSubManager

* fix: delete messageHandlers

* fix: test case

* feat: improve code

* fix: test error

* fix: test error

* refactor(server): adapt to new api and fix test

* fix(plugin-data-source-main): fix changed api

* fix: test error

* fix: remove sync-manager test case

* chore(server): remove legacy code

* fix(plugin-workflow): fix send sync message with transaction

* chore(server): remove legacy code

* chore(server): remove legacy code

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix test case

* test(server): test skip-install parameter in cluster

* test(server): avoid multiple installation in cluster

* test(server): installation in cluster

* feat: sync collection using sync manager (#4920)

* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: error message

* fix(server): add type and remove log

* fix(server): not to publish when adpater is not connected

* refactor(server): refine types

* chore: timeout

* fix(server): fix pubSubManager options

* test(ci): test ci checkout

* feat(server): add lock manager to server

* feat: update ci

* feat: pub/sub manager (#4933)

* feat: pub/sub manager

* fix: test case

* fix: test error

* fix: test error

* feat: skip self

* feat: debounce

* feat: improve code

* fix: test error

* feat: test cases

* feat: test cases

* fix: improve code

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test case

* fix: typo

* fix: createPubSubManager

* fix: delete messageHandlers

* fix: test case

* feat: improve code

* fix: test error

* fix: test error

* refactor(server): adapt to new api and fix test

* fix(plugin-data-source-main): fix changed api

* fix: test error

* fix: remove sync-manager test case

* chore(server): remove legacy code

* fix(plugin-workflow): fix send sync message with transaction

* chore(server): remove legacy code

* chore(server): remove legacy code

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix test case

* test(server): test skip-install parameter in cluster

* test(server): avoid multiple installation in cluster

* test(server): installation in cluster

* feat: sync collection using sync manager (#4920)

* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: error message

* fix(server): add type and remove log

* fix(server): not to publish when adpater is not connected

* refactor(server): refine types

* chore: timeout

* fix(server): fix pubSubManager options

* test(ci): test ci checkout

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>

* refactor(server): refactor api and local lock

* refactor(server): change variable names and use singleton for local lock

* fix: lockManager.close

* refactor(server): adjust types

* feat(server): add  api

* refactor(core): move lock-manager to independent package to be used in db

* refactor(plugins): change to new lock manager to use locks

* fix(auth): fix test case

* chore: ttl of sort field lock

* fix: ttl

* fix(plugins): revert lock usage back for some plugins

* refactor(plugin-field-sort): move sort field to plugin

* chore: update build ci

* fix(server): fix build errors

* fix(plugin-field-sort): fix test case

* fix(plugin-field-sort): fix register move action

* fix(plugin-field-sort): fix load logic

* fix(plugin-data-source-main): fix lock usage

* chore(plugin-data-source-main): remove unused import

* fix(server): fix import crypto in pub sub manager (#5111)

* fix(plugin-field-sort): fix build and test cases

* fix(plugin-user-data-sync): fix test with sort field

* fix(plugin-users): fix test with sort field

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2024-08-28 14:41:45 +08:00
dd08a1f5c7 chore: data source api (#4588)
* refactor: support api datasource

* refactor: support api datasource

* refactor: support api datasource

* feat: url support preview (#4559)

* feat: url support preview

* feat: add settings for Input.Preview

* refactor: refactor CollectionField.tsx to use dynamic component

* Revert "refactor: refactor CollectionField.tsx to use dynamic component"

This reverts commit 37719eb28e.

* test: add e2e test

* refactor(e2e): extract template

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>

* fix(map): amap reset (#4574)

* chore: volta node version

* chore: data source api

* refactor: support api datasource

* chore: data source api

* chore: data source api

* chore: field options

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* fix: load data source fields

* refactor: support api data source

* feat(data-vi): support for using url params and current role variables (#4586)

* feat(data-vi): support for using url params and current role variable

* fix: bug

* fix(variable): should remove through collection field (#4590)

* fix: style issues for gridCard in mobile client (#4593)

* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style issues for gridCard in mobile client (#4599)

* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style improve

* chore: update lerna

* chore(versions): 😊 publish v1.0.1-alpha.1

* chore: update changelog

* chore: fix typo (#4589)

* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584)

* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow

* refactor(plugin-workflow-mailer): change plugin name and locales

* fix(plugin-workflow-mailer): fix parameters

* fix(preset): add new plugin to preset

* fix(plugin-workflow-mailer): fix locale namespace

* fix: iframe block loses height when set to default (#4602)

* fix: iframe block loses height when set to default

* refactor: local improve

* feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)

* feat(client): allow json5 value in form-item type json component

* test: fix tests

* chore: set json5 default as false

* chore: add demo

---------

Co-authored-by: xilesun <2013xile@gmail.com>

* fix: remove grid wrap (#4612)

* refactor(plugin-workflow): change variable getter from collection fields (#4567)

* refactor(plugin-workflow): change variable getter from collection fields

* fix(plugin-workflow): fix import

* chore(plugin-workflow-action-trigger): remove unused import

* fix(plugin-workflow): fix collection field in workflow variable

* refactor(plugin-workflow-manual): avoid tslint error

* fix(client): fix text wrap in variable input (#4605)

* fix(client): fix text wrap in variable input

* fix(client): revert css

* feat(tree-block): support filtering child nodes (#4603)

* feat(tree-block): support filtering child nodes

* test: add list test

* test: remove only

* fix: use isValidFilter

* fix(export): export button remaining in loading state after cancel (#4615)

* chore: rebase

* chore: collection option

* fix: update data source fields

* chore: console.log

* refactor: support api data source

* fix: data source test

* fix: sync field in data source

* chore: unavailableActions in collection option

* chore: unavailableActions in data source collections

* chore: file collection unavailableActions

* fix: test

* chore: unavailableActions  in actionInitializers

* fix: bug

* fix: destroy action

* chore: unavailableActions in plugin  actionInitializers

* fix: view

* chore: unavailableActions  in actionInitializers

* fix: missing removeCollection

* chore: test name

* fix: bug

* fix: bug

* chore: test

* refactor: availableTypes

* refactor: availableTypes

* chore: datasource options

* refactor: get current data source

* refactor: code improve

* fix: update collection with fields

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* chore: datasource logger

* chore: export Schema

* refactor: rawTextArea

* refactor: loadFilterTargetKeys in external data source

* chore: unavailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* revert: unavailableFunctions

* refactor: code improve

* fix: test

* chore: operation

* chore: operation

* fix: input support json field

* refactor: blockInitializers support unavailableActions

* chore: availableActions

* chore: availableActions

* refactor: support availableActions

* refactor: support availableActions

* chore: magic model test case

* fix: unixTimestamp support integer

* fix: disassociate

* fix: input readPretty

* fix: resolve error when opening modal via URL

* style: input readPretty style improve

* chore: support simple pagination

* chore: skip test

* refactor: details support pagination

* refactor: details support pagination

* chore: useActionAvailable

* fix: bug

* test: fix test

* fix: detailsBlockInitializer useActionAvailable

* chore: fix unit test

* refactor: pagination

* refactor: pagination

* test: fix test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Katherine <shunai.tang@hand-china.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: David Fecke <david.fecke@eyecook.net>
2024-07-19 22:26:27 +08:00
jack zhang a5fc22c6b0 feat: tree block (#4566)
* feat: tree block

* fix: remove showSettings

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: table tree expand

* fix: bug

* fix: connection bug T-4501

* fix: template settings bug
2024-06-11 22:53:04 +08:00
ChengLei Shaoandxilesun 3d000d395e chore: split sql collection (#3650)
* chore: split sql collection

* chore: package json

* chore: test

* chore: build

* chore: move sql resourcer into plugin-collection-sql

* fix: server

* fix: ast parser, fix T-4236

* fix: fix T-4236

* fix: fields

* fix: test

* fix: test

* fix: test

* fix: test

* chore: add keyword

* chore: node sql parser version

* chore: yarn.lock

* fix: types

* fix: remove column named `*`

* fix: package.json

* fix: version

* chore: update homepage

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-05-17 15:39:01 +08:00