141 Commits
Author SHA1 Message Date
nocobase[bot] 3e95479c58 Merge branch 'next' into develop 2026-12-03 00:58:30 +00:00
Junyi d78d488937 perf(plugin-flow-engine): batch tree path inserts when duplicating models (#11841)
* perf(plugin-flow-engine): batch tree path inserts when duplicating models

* fix(plugin-flow-engine): persist copied ancestor paths before child hooks

* perf(plugin-ui-templates): insert template usages once for copied models
2026-12-03 08:56:57 +08:00
nocobase[bot] 8827269600 Merge branch 'next' into develop 2026-11-23 11:29:44 +00:00
hongboji 1c269fd5ac fix(client): persist v2 page and grid on first edit (#11672)
* fix(client): persist v2 page and grid when creating routes

* fix(flow-engine): preserve two-stage page creation for flow surfaces

* fix(client): persist route page and grid on first edit

* fix(client): preserve route page mounts during first-edit initialization
2026-11-23 19:28:17 +08:00
PiEgg 7ca498a221 Merge branch 'next' into develop 2026-10-19 09:20:16 +08:00
gchust 10810697c3 fix(plugin-flow-engine): resolve Markdown variables for non-admin roles (#11007)
* fix(plugin-flow-engine): resolve Markdown variables for non-admin roles

* test(plugin-flow-engine): cover nested Markdown association rendering
2026-10-19 07:19:12 +08:00
nocobase[bot] 3b00e59bae Merge branch 'next' into develop 2026-09-09 03:02:56 +00:00
gchustandgithub-actions[bot] 0fcb9d3e4a fix: resolve popup variables in form linkage rules (#10467)
* fix: resolve popup variables in form linkage rules

* fix: update flow model repository mock

* fix: resolve variables in referenced templates and scripts

* fix: resolve reference variables and stabilize tests

* fix(plugin-flow-engine): isolate RunJS dependency extraction limits

* fix(plugin-flow-engine): preserve explicit template and host variable dependencies

* fix(plugin-flow-engine): preserve template dependencies across static values and scan limits

* fix(plugin-flow-engine): preserve legacy templates and isolate dependency budgets

* fix(plugin-flow-engine): cache form trees during variable resolution

* fix(plugin-flow-engine): preserve JSX variable templates and correct budget tests

* fix(plugin-flow-engine): preserve variable templates after statement regexes

* fix(plugin-flow-engine): parse RunJS comments with shared syntax analysis

* fix(plugin-flow-engine): preserve legacy JSX templates and bound string expansion

* fix(plugin-flow-engine): bound RunJS binding inference and preserve legacy new.target templates

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-09 11:01:45 +08:00
nocobase[bot] 7413bb7aa5 Merge branch 'next' into develop 2026-09-08 23:56:37 +00:00
Katherine ce6de5e7c7 fix(v2 form): resolve nested associations from dropdown values (#10477)
* fix(client-v2): resolve scalar nested associations in forms

* fix(client-v2): hydrate partial nested association records

* fix(plugin-flow-engine): resolve nested form association values
2026-09-08 22:56:36 +08:00
nocobase[bot] e6f241f2f4 Merge branch 'next' into develop 2026-08-14 11:04:49 +00:00
Zeke Zhang f8dfcce82a fix(client-v2): localize mobile select search (#10367)
* fix(client-v2): localize mobile select search

* fix(plugin-flow-engine): resolve tree targets
2026-08-14 19:04:01 +08:00
nocobase[bot] 5201f0bd40 Merge branch 'next' into develop 2026-08-13 14:47:19 +00:00
nocobase[bot] 3bf18df26d Merge branch 'main' into next 2026-08-13 14:46:35 +00:00
Zeke Zhang adcc3ea2cf fix(client-v2): default tree filters to cascader (#10357) 2026-08-13 22:45:47 +08:00
nocobase[bot] c24bd79a23 Merge branch 'next' into develop 2026-08-10 04:19:04 +00:00
gchust 9eb1d92c0c Merge branch 'main' into next 2026-08-10 12:17:35 +08:00
gchust 45c477f3f5 fix: incorrect popup record (#10272)
* fix(plugin-flow-engine): resolve popup records from custom data sources

* fix(plugin-flow-engine): fix external popup record resolution

* fix(flow-engine): handle external record target keys
2026-08-10 11:54:45 +08:00
gchust b9c7198ee7 fix: incorrect form field value variable resolution (#10319)
* fix: incorrect phone value variable assignment

* fix(plugin-flow-engine): support referenced form rule contracts

* fix(plugin-flow-engine): harden form variable contracts
2026-08-10 11:52:23 +08:00
nocobase[bot] 490a142ce1 Merge branch 'next' into develop 2026-08-06 08:02:44 +00:00
nocobase[bot] 1477570b31 Merge branch 'main' into next 2026-08-06 00:46:55 +00:00
gchust 5aa8eeaa47 fix(flow-engine): restore secure variable resolution compatibility (#10294) 2026-08-06 08:46:18 +08:00
nocobase[bot] 5661de74dc Merge branch 'next' into develop 2026-08-05 19:21:47 +00:00
nocobase[bot] bd44b471aa Merge branch 'main' into next 2026-08-05 19:20:58 +00:00
gchust e529a881a8 fix(plugin-flow-engine): secure variable resolution
Prevent unauthorized variable resolution while preserving FlowModel-configured access.
2026-08-05 19:20:08 +00:00
nocobase[bot] 635f91283d Merge branch 'next' into develop 2026-08-04 12:22:16 +00:00
nocobase[bot] e6f3e1f65f Merge branch 'main' into next 2026-08-04 12:21:35 +00:00
Katherine a0ed9ec473 feat(client-v2): support after-success settings for update actions (#10278)
* feat(client-v2): support after-success settings for update actions

* fix(plugin-action-bulk-update): avoid blocking after-success on refresh
2026-08-04 20:20:52 +08:00
Zeke Zhang 48fe7b95c1 refactor(multi-portal): use layout uid directly (#10230)
* refactor(multi-portal): use layout uid directly

* fix(multi-portal): route AI portal entries

* fix(multi-portal): allow cross-layout portals

* fix(multi-portal): hide AI device field
2026-08-01 14:24:21 +08:00
gchust 0ac476ee4e chore: enhance flow surface portal routing (#10208)
* fix(flow-surfaces): require unambiguous portal selection

* fix(flow-surfaces): block admin layout portal fallback

* chore: optimize
2026-07-30 10:21:24 +08:00
Zeke Zhangandchenos f8b6bc07af feat(client-v2): add standalone settings SPA (#10187)
* feat(client-v2): add standalone settings SPA

* style(client-v2): use primary header color

* fix(plugin-ui-layout): hide mobile menu

* style(client-v2): regroup settings action

* fix(client-v2): match settings header color

* fix(client-v2): group portal manager

* fix(client-v2): group topbar managers

* feat(multi-portal): add portal routes

* fix(app): normalize settings dev root

* feat(auth): add settings SPA sign-in

* docs(auth): add settings sign-in plan

* fix(client-v2): align settings embed layout

* fix(client-v2): normalize settings app URLs

* feat(multi-portal): unify client v2 portals

* fix(ci): repair PR validation failures

* fix(client-v2): flatten scoped settings URLs

* fix(client-v2): redirect roots to settings

* fix(cli): initialize AI portal env defaults

* fix(cli): remove portal setup from init

* fix(cli): skip unsupported portal registry sync

* fix(cli): narrow init env config types

* refactor(multi-portal): use fixed portal uids

* fix(cli): skip portal registry sync during install

* fix(plugin-multi-portal): allow reserved slugs

* fix(client-v2): normalize settings app roots

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2026-07-29 18:35:33 +08:00
chenos 76039a6630 feat: support vibe coding portal init (#10155)
* feat: support vibe coding portal init

* feat: support vibe coding portal init

* fix(cli): remove duplicate init flag typings

* feat(server): support app-scoped portals

* feat(server): support local portal template paths

* feat(cli): prepare initial portal templates during install

* fix(cli): isolate portal install build environment

* fix(cli): refine init development mode prompts

* feat(cli): support portal defaults and routes

* fix(cli): handle portal initialization defaults and routes

* fix(cli): reinstall portal template dependencies

* fix(cli): simplify init development mode prompt

* feat(server): use default portal template for vibe coding

* fix(plugin-calendar): import date-fns locales by name

* fix(client): proxy portal paths in dev

* fix(plugin-calendar): fix date-fns locale imports

* feat(cli): enable quickstart for source dev

* chore: install package managers in Docker image

* feat(cli): add portal workspace commands

* feat(cli): support portal dev and deploy sync

* chore: move multi-portal plugin to plugins

* fix(plugin-multi-portal): allow managing default portals

* feat(cli): add portal list and destroy commands

* feat(cli): add portal info output

* fix: error

* fix(cli): add portal routes to nginx template

* fix(cli): normalize portal deploy dist permissions

* fix(plugin-multi-portal): use yarn html build for portal templates

* chore: update portal template dependencies and tests

* fix: yarn.lock

* fix: yarn.lock

* fix(cli): resolve initial portal template packages

* feat(cli): support portal source config sync

* refactor(plugin-multi-portal): remove portal log viewer

* docs: add portal CLI docs

* fix(plugin-multi-portal): resolve declaration build errors

* fix(plugin-multi-portal): align package version with preset

* fix(plugin-multi-portal): copy portal template dist

* refactor(plugin-multi-portal): centralize portal init handling

* refactor(plugin-multi-portal): rename AI portal development mode

* refactor(plugin-multi-portal): rename development mode to portal type

* fix(cli): keep portal template dist assets

* fix(plugin-multi-portal): wait for portal template preparation

* refactor(cli): align portal setup and wording

* refactor(cli): rename portal identifier wording

* fix(cli): support root git path for portal source

* feat(plugin-multi-portal): support AI portal source storage

* fix(plugin-multi-portal): narrow portal source storage

* fix(plugin-multi-portal): correct sub-app portal paths

* fix(plugin-multi-portal): correct sub-app portal api url

* fix(plugin-multi-portal): use portal name as unique identity

* fix: routeName

* fix: remove migration
2026-07-28 12:25:05 +08:00
xilesun c0d9710ce5 Merge branch 'main' into next 2026-07-24 07:53:29 +08:00
YANG QIA 22f18cde55 fix(ai): reject invalid editor patches (#10174) 2026-07-24 07:44:33 +08:00
nocobase[bot] a4875b0314 Merge branch 'next' into develop 2026-07-16 09:21:29 +00:00
Zeke Zhang e9a1ed9627 feat(client-v2): support tab linkage rules (#10099)
* feat(client-v2): support tab linkage rules

* refactor(client-v2): rename tab flow marker

* fix(client-v2): harden tab linkage runtime

* test(plugin-ui-layout): fix mobile tab lookup

* fix(client-v2): handle hidden default tabs
2026-07-16 17:20:54 +08:00
Drol 3b1b41bf3f feat(plugin-ai): expose AI employee task API in RunJS (#10061)
* feat(plugin-ai): expose AI employee task API in RunJS

* refactor(plugin-ai): move RunJS facade to client-v2

* docs: add RunJS AI employee task context

* docs: sync RunJS AI employee task context translations
2026-07-14 19:35:52 +08:00
nocobase[bot] 97c225e9c2 Merge branch 'next' into develop 2026-07-12 22:13:19 +00:00
gchust c4f7664c57 feat: support multi portals in flow surface api (#10072) 2026-07-13 06:12:40 +08:00
nocobase[bot] bd92d30dc1 Merge branch 'next' into develop 2026-07-10 05:41:18 +00:00
nocobase[bot] 8474ed3006 Merge branch 'main' into next 2026-07-10 05:40:42 +00:00
gchust 9782630e71 fix: can't resolve external datasource popup record var (#10048) 2026-07-10 13:39:58 +08:00
nocobase[bot] 4ff65d50c8 Merge branch 'next' into develop 2026-07-09 05:47:26 +00:00
nocobase[bot] 0822a774c4 Merge branch 'main' into next 2026-07-09 05:46:38 +00:00
gchust b4ee0fd82a fix: render error when page created by code agent (#10023)
* fix: incorrect nested association field

* fix: bug

* fix: incorrect linkage rules

* fix: test
2026-07-09 13:46:01 +08:00
DrolandPiEgg 3223f9272c feat: plugin-ai-v2-migration (#9794)
* test(plugin-ai): add chatbox state regression fixtures

* test(plugin-ai): add chatbox hooks contract tests

* feat(plugin-ai): add client-v2 entry scaffold

* feat(plugin-ai): add client-v2 ai config repository

* refactor(plugin-ai): reuse client-v2 ai config repository

* feat(plugin-ai): freeze client-v2 public api

* feat(plugin-ai): add observable chatbox store facade

* feat(plugin-ai): add client-v2 chatbox stores

* feat(plugin-ai): add client-v2 chatbox hooks

* docs(plugin-ai): record chatbox hook compatibility check

* feat(plugin-ai): replace v1 chatbox hooks with v2

* feat(plugin-ai): migrate chatbox ui to client-v2

* fix(plugin-ai): fix chatbox declaration types

* fix(plugin-ai): align chatbox block context rendering

* fix(plugin-ai): preserve form block context parsing

* fix(plugin-ai): register v2 form filler tool

* fix(plugin-ai): align v2 builtin tool registration

* fix(plugin-ai): add missing v2 tool UI components

* fix(plugin-ai): align v2 workflow task list

* fix(plugin-ai): show all v2 workflow task statuses

* fix(plugin-ai): update v2 conversation unread state

* fix(plugin-ai): replace v1 chatbox ui with v2

* fix(plugin-ai): remove legacy v1 chatbox ui

* fix(plugin-ai): reuse v2 builtin tools in v1

* fix(plugin-ai): show all chat models

* chore(plugin-ai): remove unused v1 chatbox shims

* feat(plugin-ai): support v2 ai employee embed entry

* refactor(plugin-ai): use v2 chatbox provider in v1 entry

* feat(plugin-ai): migrate ai employee shortcut models to v2

* refactor(plugin-ai): reuse v2 ai employee flow models in v1

* feat(plugin-ai): add v2 ai manager registries

* feat(plugin-ai): add v2 llm provider forms

* feat(plugin-ai): add v2 admin settings page

* feat(plugin-ai): add v2 employees settings page

* feat(plugin-ai): add v2 llm services settings page

* feat(plugin-ai): add v2 mcp settings page

* feat(plugin-ai): add v2 datasource settings page

* feat(plugin-ai): register v2 ai settings pages

* refactor(plugin-ai): reuse v2 ai settings pages in v1

* feat(plugin-ai): add v2 ai permissions tab

* feat(plugin-ai): register v2 ai permissions tab

* refactor(plugin-ai): reuse v2 ai permissions tab in v1

* refactor(plugin-ai): align v1 llm provider surface with v2

* feat(plugin-ai): add v2 datasource work context selector

* feat(plugin-ai): lazy load v2 ai tool modals

* refactor(plugin-ai): reuse v2 ai contexts in v1

* refactor(plugin-ai): point v1 client exports to v2

* refactor(plugin-ai): remove duplicate v1 ai client code

* chore(plugin-ai): drop unused chatbox state deps

* refactor(plugin-ai): reuse v2 datasource selector in v1

* fix(plugin-ai): open ai action in global chatbox

* fix(plugin-ai): align task capability option rendering

* fix(plugin-ai): align v2 task settings form

* fix(plugin-ai): align ai employee shortcut popover

* refactor(plugin-ai): remove global chat store cache

* fix(plugin-ai): open report modal for live messages

* fix(plugin-ai): handle live tool card states

* refactor(plugin-ai): migrate AI employee client to v2

* fix(plugin-ai): align admin settings pages with v1

* fix(plugin-ai): align mcp settings page

* fix(plugin-ai): align datasource settings page

* fix(plugin-ai): scope chatbox model switcher

* fix(plugin-ai): align datasource work context selector

* docs(plugin-ai): add workflow v2 migration tasks

* docs(plugin-ai): record workflow ui baseline

* feat(plugin-ai): add workflow v2 shared types

* feat(plugin-ai): register workflow v2 extensions

* feat(plugin-ai): migrate llm workflow model settings

* feat(plugin-ai): migrate llm workflow messages

* feat(plugin-ai): migrate llm structured output

* test(plugin-ai): cover llm workflow fieldset

* feat(plugin-ai): migrate ai employee workflow selector

* feat(plugin-ai): migrate ai employee workflow task fields

* feat(plugin-ai): migrate ai employee workflow capabilities

* feat(plugin-ai): migrate ai employee workflow feedback

* test(plugin-ai): cover ai employee workflow fieldset

* feat(plugin-ai): migrate ai employee trigger parameters

* fix(plugin-ai): validate ai employee trigger parameters

* test(plugin-ai): cover ai employee workflow trigger

* refactor(plugin-ai): reuse v2 llm workflow instruction

* refactor(plugin-ai): reuse v2 ai employee workflow instruction

* refactor(plugin-ai): reuse v2 ai employee workflow trigger

* docs(plugin-ai): record workflow import validation

* docs(plugin-ai): record workflow browser validation

* docs(plugin-ai): finalize workflow migration validation

* fix(plugin-ai): align v2 llm workflow config behavior

* fix(plugin-ai): align ai employee workflow config UI

* fix(plugin-ai): narrow llm message content types

* fix(plugin-ai): support MCP request variables in v2 settings

* fix(plugin-ai): restore work context selection layering

* fix(plugin-ai): align block selection cancel icon

* fix(plugin-ai): stop MCP tools drawer refresh loop

* fix(plugin-ai): adjust AI employee workflow labels

* fix(plugin-ai): align AI settings drawer behavior

* fix(plugin-ai): align AI employee trigger config layout

* chore(plugin-ai): remove migration prd files

* feat(plugin-ai-gigachat): add client v2 provider

* fix(plugin-ai): sync datasource context checkbox state

* fix(plugin-ai): bundle v1 chatbox layout with entry

* fix: variable select layout bug

* fix(plugin-ai): register AI coding in client v2

* fix(plugin-flow-engine): translate Nathan tool metadata

* fix(plugin-workflow): remove unintended drawer config changes

* fix(plugin-workflow): revert unintended trigger layout changes

* fix(plugin-data-visualization): isolate Dara chatbox runtime

* fix(plugin-ai): make datasource settings responsive

* refactor(plugin-ai): remove legacy v1 client code

* fix(plugin-ai): dedupe v2 provider model options

* fix(plugin-ai): revert AI employee button compatibility changes

* fix(plugin-ai): handle completed tool calls in AI chat

* fix(plugin-ai): share AI employee stores globally

* revert(plugin-data-visualization): remove Dara runtime isolation

* fix(plugin-ai): refine AI selection control layout

* fix(plugin-ai): clear shortcut composer after auto send

---------

Co-authored-by: PiEgg <marksz@teamsz.xyz>
2026-07-02 11:16:38 +08:00
gchust 45cf93d7c4 fix: mobile page can't be created by flow surface api (#9911)
* fix: mobile ui builder api

* fix: mobile action
2026-06-28 21:18:01 +08:00
nocobase[bot] 1e48a1fa4a Merge branch 'main' into next 2026-06-26 07:01:43 +00:00
gchust b1e85ff1d9 feat: support js block card settings (#9897)
* feat: support cardless JS block

* chore: improve code

* fix: incorrect default config

* fix: full height not working

* fix: ci error
2026-06-26 15:01:02 +08:00
gchust 75a6c71325 fix(flow-engine): open runjs browser globals (#9841)
* fix(flow-engine): open runjs browser globals

* chore: clean code

* fix: close inject public path test suite

* fix(flow-engine): preserve RunJS DOM authoring guardrails

* fix: bug

* fix: bug

* fix: test failing
2026-06-22 12:48:14 +08:00