84 Commits
Author SHA1 Message Date
2da01494b2 feat(client-v2): rework settings center into a portal-first admin console (#10196)
* 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

* feat(client-v2): rework settings center into a portal-first admin console

Settings V2 is currently shaped as "one sidebar + horizontal tabs in the content
area": you land on System settings after signing in, and the topbar is deep blue.
This reshapes it into an application-first admin console.

- Land on the portal center by default: `getDefaultSettingsPath` now prefers
  `multi-portal`, so signing in shows the application entry first and system
  configuration is a drill-down from there.
- Turn the portal manager from a table into a gallery: cover, title, access path,
  type tag and enabled switch, four icon actions in the hover row, and a dashed
  add card at the end. Portals without a cover get a low-saturation gradient
  derived from a hash of their uid, stable across refreshes.
- Split navigation into two levels: top-level groups (Applications / Data /
  Automation / Users & Permissions / System) in the topbar, nested second- and
  third-level menus of the active group in the sidebar, and drop the horizontal
  tabs from the content area. Group membership resolves from the setting's own
  `group` field, then a built-in map, then falls back to System, so third-party
  plugins still show up without any code change. When a group holds a single
  entry with no children the sidebar is not rendered, avoiding one lonely item
  that just repeats the group name in the topbar.
- Collapse the theme to neutral grays: container background with a hairline
  divider in the topbar, neutral dark gray for primary / link / switch, flipped
  to light gray under a dark theme. This exposed two white-on-white cases, both
  fixed: the site logo is forced to a single tone (the default logo is a white
  mark drawn for the deep blue topbar), and `colorTextHeaderMenu` is overridden
  to the body text color inside the settings shell.
- Add a muted `Settings` suffix after the topbar logo. It is part of the product
  mark and is deliberately not translated — flipping between "设置 / 設定 /
  Settings" with the UI language makes the brand area unstable.
- Rearrange the portal form: type choice on top, new portals default to AI
  portal. For AI portals an optional git repository URL follows immediately —
  filling it in auto-derives title and name (and stops overriding them once the
  user edits either) and reveals branch / path; leaving it empty means the source
  is managed inside NocoBase. The old "source storage" radio group is gone, the
  value is derived from whether a repository URL was entered.
- Add a portal cover stored under `options.cover` (a json column, no schema
  change). The upload control is extracted from the logo upload in
  `SystemSettingsPage` into a shared `AttachmentUpload` that validates size and
  mimetype against the real rules of the default storage; both call sites now
  share one implementation.

No server-side changes; `@nocobase/client-v2` gains `AttachmentUpload` and
`useACLSnippets` and removes nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* 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(client-v2): follow the shared header theme and add settings search

Header theme
- Settings header now uses the shared `colorBgHeader` / `colorTextHeaderMenu`
  tokens instead of a pinned brand color, so the theme editor drives it the
  same way it drives the business-side header.
- Drops the logo single-tone filter and the topbar icon color overrides that
  only existed to compensate for the pinned light header.
- Sets `colorTextLightSolid` alongside the neutral primary so primary buttons
  keep their contrast in dark themes.

Settings search
- Adds a header search entry (Cmd/Ctrl+K) over the whole visible settings
  tree, with recently visited items as its empty state.
- Deduplicates the index-tab entries that share their parent menu's title.

Fixes
- `useACLSnippets` now ensures the ACL store exists, so callers rendered
  outside `ACLRolesCheckProvider` subscribe to it on the first render instead
  of freezing on empty snippets.
- Sidebar selection resolves collapsed menu levels, so routes matching a
  folded child still highlight their rendered ancestor.
- Portal options are merged over the stored value instead of being rebuilt
  from the form, keeping unknown keys and legacy git config intact.
- Portal form drafts (`cover`, `git*`) no longer leak into the create/update
  payload as top-level columns.
- The layout select stays editable when the edited portal has no layout yet;
  required + disabled + empty used to deadlock the edit form.
- Portal card actions get accessible names.

Attachment upload
- `AttachmentUpload` now renders antd's picture-card, matching the native
  attachment field: thumbnail with hover preview/remove instead of separate
  upload and delete buttons.

Tests
- Rewrites the portal table assertions against the gallery, covers git URL
  autofill, and stubs `AttachmentUpload` in the multi-portal suite.
- Updates the settings shell test that pinned the header to the brand color.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

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

* feat(client-v2): regroup settings navigation and restore the portal form

Navigation
- Top level is now Applications, Plugin manager and System settings. The
  first two own a single page each and render without a sidebar; everything
  else falls into System settings, which is also the fallback for plugins
  that declare no group.
- System settings leads with Data sources, Users & permissions, Workflow and
  AI employees, separated from the rest by a divider. The divider shows both
  in the sidebar and in the topbar dropdown.
- Hovering the System settings entry opens a dropdown of the same tree, so
  deep pages stay one hop away.

Portal form
- Restores the explicit NocoBase / Git source storage choice for AI portals
  instead of inferring it from whether a repository URL was typed; the git
  fields appear once Git is picked, and filling the URL still derives the
  title and name.
- Portal name moves to the top, followed by title, type and source storage.
- `Layout` becomes `Device` and now applies to both portal types: no-code
  portals render with that device's components, AI portals use it for
  grouping in the upcoming app switcher.
- The cover upload stays.

Portal gallery
- The open action no longer uses `href`: an anchor-rendered antd Button loses
  the icon-only sizing and takes the link color, so it was visibly wider and
  a different shade than the other four icons.
- The routes action no longer shows a tooltip while disabled.

Theme
- The settings header keeps its own neutral surface instead of following the
  business-side `colorBgHeader`; header text, logo and the topbar icons all
  use the body text color again.

Fixes
- `sourceStorage` joined `cover` and `git*` in leaking into the create/update
  payload as a top-level column.
- The portal type and source storage radio groups shared an implicit name, so
  the browser treated them as one mutually exclusive group and picking a
  source storage cleared the portal type.
- Clearing a git repository URL no longer resurfaces the stored repository on
  the next edit, which used to silently switch source storage back to git.
- `AttachmentUpload` disables itself while uploading, so a second pick cannot
  be overwritten by the first request finishing late.
- The settings search shortcut yields to components that already handled
  Cmd/Ctrl+K, and recently visited entries are de-duplicated on read.

Tests
- multi-portal 42/42, settings-shell 5/5, settings-center 14/14.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* feat(client-v2): 设置中心导航重组 + 中性主题 + 门户文案

导航:数据源 / 用户和权限 / 工作流 / AI 员工 提到顶栏一级,只有系统设置
分组还铺左栏;左栏不再下钻二级菜单,模块内部的子页面统一走页头 Tab,
和 v1 设置中心保持一致。当前分组已激活时顶栏不再弹下拉。

主题:设置中心自己套一层 ConfigProvider,把选中态、链接、开关、页签、
Spin 收成黑白灰。antd 会拿主色派生一整套色板,近黑主色派生出来的浅底是
中灰,会造成深底深字,所以派生的那几个 token 显式钉住。自绘选中态的页面
(角色列表、部门树)改读新增的 colorBgItemActive / colorTextItemActive。

文案:Portal 统一译成门户,无代码 / AI 标签改成模式,License 改许可协议;
门户卡片上显示实际可访问地址(带 /v 或 /x 前缀)而不是库里的裸 routePath。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* feat(theme-editor): 设置中心外观改由主题记录约束

新增一条内置主题 uid=settings,把原来写死在 settingsTheme 里的中性配色
落成 themeConfig 记录:主色收成黑白后 antd 派生出来的中灰色板会造成深底深字,
所以派生的那几个显式钉住;顶栏图标色、Menu / Select / Switch / Tabs / Spin /
Layout 的组件配置一并进记录。optional=false,不进用户的主题下拉框——
它约束的是设置中心这个作用域,不是某个人的业务端偏好。

设置中心启动时读这条记录塞进自己的 ConfigProvider;读不到(插件没启、
老实例没迁移、请求失败)回落到代码里的中性配色,不会突然变回一片蓝。
新装实例 install 时写入,老实例走 migration 补。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* refactor(theme-editor): 设置中心那条主题改名简约并开放复用

主题按观感命名而不是按用途:Settings → Minimal(简约),uid 跟着改成 minimal。
optional 打开,它就是一条普通的可选主题——用户想让业务端也用这套黑白观感直接选它,
以后每个应用有自己的主题时也能指向同一条记录,不用各复制一份。
设置中心只是默认指向它。

主题列表页给它挂一个「设置中心」标签,标明当前是谁在约束设置中心;
「当前主题」那个标签仍然只表示登录用户给业务端选的主题,两者互不干扰。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* fix(theme-editor): 简约主题默认不可选,顶栏 token 移回设置中心

optional 改回 false:这条主题约束的是设置中心这个作用域,不该混进用户的
个人偏好下拉框;要给别的应用复用时在主题编辑器里打开「可被用户选择」即可。

顶栏那几个 token(colorBgHeader / colorTextHeaderMenu 系列 / Layout.headerBg)
从记录里拿掉,移回 settingsTheme 的 withSettingsHeaderTheme。原因是记录本身通用:
业务端顶栏是深色的、logo 和图标都按深底做的,记录里把文字改成深色而底色不变,
顶栏就成了深底深字;连底色一起翻白又得给 logo 反色。设置中心的白顶栏是它自己的事,
放在壳层补,不牵连用这套主题的其他应用。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* fix(theme-editor): 简约主题补上紧凑算法

主题记录是整套替换而不是叠加,不带 algorithm 就退回 antd 默认的宽松间距,
比平台其他地方明显松一圈。跟「紧凑」对齐:compactAlgorithm + fontSize 16。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* fix(client-v2): 设置中心外观与业务端主题解耦 + 若干选中态调整

SettingsShell 里的 useToken 取的是它自己 ConfigProvider **外面**的 token,
也就是业务端主题。顶栏底色、文字色、分割线和补丁 CSS 都从那儿算,
业务端一切暗黑,顶栏就跟着变黑而内容区还是简约的白。改成先用
theme.getDesignToken() 算出简约主题自己的 token,顶栏和补丁样式都按它来。

选中态与控件:
- Select 下拉选中项从黑底白字改成浅灰底 + 正文色,下拉里压一条纯黑太重
- 左栏选中项去掉左侧竖线,只留浅底 + 加粗
- 开关禁用态改成「跟未启用同档灰的滑轨 + 更淡的圆点」。之前未启用被做成
  白底描边、本身就够淡,禁用再叠透明度,两者几乎分不出来

品牌区后缀改为走多语言:中文「设置中心」,英文仍是 Settings。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* fix(client-v2): 登录页与 body 底色也归设置中心主题管

三处残留的耦合:

- 登录 / 二次验证页走的是 `return children`,落在设置中心的 ConfigProvider 外面,
  跟的是业务端主题。业务端切暗黑后登录页是暗的、登进去又变浅,中间闪一下。
  外面那层用 display:contents,只为让 .nb-settings-shell 的补丁样式命中,不动布局。
- 最外层 body 底色仍来自业务端主题;内容一般盖得住,但不满屏或橡皮筋回弹时会漏出来。
- 顶栏动作条读的 --nb-topbar-action-hover-bg 兜底值是按深色顶栏写死的浅色,一并覆盖。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* feat(client-v2): 设置中心兜底分组改名「其他设置」

分组原名和它下面那个「系统设置」配置项重名,容易让人以为点分组进去
就是那一页。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* feat(settings): 门户身份字段编辑态锁定 + 设置中心去掉主题切换入口

- 门户名 / 门户类型建好之后就是身份(名字在访问路径里、类型决定 /v 还是 /x),
  编辑抽屉里一律禁用,只在新建时可填
- 门户页说明文案换成有信息量的一句
- 设置中心外观固定跟「简约」主题,用户中心里的主题切换在这里点了没反应,
  只保留在业务端

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3FeT65Q1iyGpbAZb9J8qr

* fix(plugin-theme-editor): type built-in theme algorithms

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-30 10:07:07 +08:00
Drolandchenos 3e4d676d64 Feat/version control (#9563)
* feat(database): add tags property to collection

* feat(cli): add version commit command

* chore: add collection tags

* refactor: expose plugin-backups server api

* refactor(database): unify backup and restore options

* feat(database): support selective backup and skip full pre-drop

* chore: add database adapter option tests

* feat(backups): expose backup and restore table options

* chore: sub class of BackupManager can change file prefix

* feat(backups): add description fied in backup list

* fix: remove backup metadata on destroy

* fix: quote postgres backup table patterns

* chore: add collection tags

* feat(backups): isolate version control backup storage and cache

* feat(backups): isolate restoring from version control or backups`s storage and cache

* fix(cli): allow 2000-char version commit description

* chore(cli): rename command `version commmit` to `revision create`

* fix(plugin-backups): persist backup creator metadata

* feat(client): include command user in event payload

* chore(ai): add error handle in app:plublishEvent api

* docs: add version control operations guide

* fix(collection): mark system collections with system tags

* fix(collection): mark business collections with business tags

* refactor(database): replace collection tags with data category

* test(plugin-backups): stabilize restore manager tests

* fix(plugin-backups): stabilize restore test metadata

* chore: update collection data categories

* fix(plugin-verification): move data category to server collection

* fix(plugin-backups): qualify postgres table filters with schema

* chore: mysql client

* fix(cli): check version control plugin before revision create

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2026-06-09 10:58:00 +08:00
Zeke Zhang f7e953675a feat(theme-editor): migrate client v2 (#9530)
* feat(theme-editor): migrate client v2

* fix(theme-editor): clear stale v2 editor baseline

* fix(theme-editor): fill embedded panel
2026-05-21 14:10:01 +08:00
Zeke ZhangandCopilot 1b9220d470 fix: refresh page when switching themes (#8626) (#8627)
* Initial plan

* feat: refresh page when switching themes



---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-12 12:56:24 +08:00
nocobase[bot] 313130b7b4 Merge branch 'main' into next 2026-01-31 12:03:22 +00:00
hongboji a3426761af fix: theme Chinese translation 2026-01-31 20:02:36 +08:00
miaoandZeke Zhang a81ad01d0f feat(plugin-theme-editor): support custom global style (#7960)
* feat(plugin-theme-editor): support global style

* feat(admin-layout): implement global style support

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-12-05 09:54:28 +08:00
nocobase[bot] 513f16a528 Merge branch 'next' into develop 2025-12-02 03:44:17 +00:00
Zeke Zhang b819be4444 refactor(theme-editor): remove unused useVisible method (#8046) 2025-12-02 11:43:24 +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
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
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
YukiandZeke Zhang 43af3c632c feat(plugin-theme-editor): support sider menu color customization (#7483)
* feat(plugin-theme-editor): support sider menu color config

* feat: change sider bar default color

* fix(css-variable): remove unused menu item color settings

* feat(theme): enhance sider menu color configuration

* chore(global): add TODO for layout component unification

* test: update snapshots for CollectionSelect, ColorPicker, Pagination, and UnixTimestamp

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-09-11 16:06:57 +08:00
Zeke Zhang c5d44aa4a7 fix: adjust layout styles for better responsiveness in AuthLayout and… (#7159)
* fix: adjust layout styles for better responsiveness in AuthLayout and CustomThemeProvider

* refactor(AuthLayout): enhance layout styling
2025-07-13 18:36:25 +08:00
Zeke Zhang d0a99f331f Merge branch 'main' into next 2025-05-30 11:53:34 +08:00
Zeke Zhang 46f7654cc0 fix(mobile): hide theme switch option and fix popup style (#6964)
* feat: add mobile visibility check for theme switching

* feat: add FootBar component to adapt Action.Drawer for mobile
2025-05-30 10:32:15 +08:00
chenos 31da3c78e9 feat: allow setting sidebar width in theme config (#6720) 2025-04-21 09:19:31 +08:00
Mathy Vandersmissen 945d2483b7 Updated dutch language files (#6546) 2025-03-26 14:35:43 +08:00
nocobase[bot] b3991670be Merge branch 'next' into develop 2025-03-18 07:24:10 +00:00
nocobase[bot] 5cb60ad9f8 Merge branch 'main' into next 2025-03-18 07:23:47 +00:00
chenos dd47ca4552 fix: locale error 2025-03-18 15:23:13 +08:00
nocobase[bot] 3ec5aaa251 Merge branch 'next' into develop 2025-03-14 00:38:40 +00:00
Mathy Vandersmissen 6db5bd7f33 Update dutch language files (#6461) 2025-03-14 08:38:14 +08:00
katherinehhh 4d10946a2e Merge branch 'next' into develop 2025-03-13 16:30:40 +08:00
nocobase[bot] 79aee8825d Merge branch 'main' into next 2025-03-12 13:40:09 +00:00
N3tN00b3r 97940d246c Updating italian translations (#6434)
* 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
2025-03-12 21:39:47 +08: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
gchust 62f10d9c97 chore: upgrade ant design to 5.24.2 (#6343)
* chore: upgrade ant design to 5.24.2

* chore: fix errors after upgrade ant design

* fix: ts errors

* fix: ts error

* fix: ts error

* chore: keep original code format

* chore: revert format changes

* chore: keep code format

* fix: unit tests error after upgrade ant design

* fix: style issues for variable inputs

* fix: inbox style issue

* fix: some buttons not showing in drawer

* chore: fix formily antd version

* fix: incorrect details block pagination style [skip ci]

* fix: incorrect cron style after upgrade ant design [skip ci]

* fix: unit tests errors after upgrading ant design

* fix: update unit tests for collection select and color picker components

* fix: e2e tests errors

* fix: e2e tests failing

* fix: tests error

* fix: e2e test cases

* fix: some e2e tests failing

* fix: e2e testing errors

* fix: e2e build failing

* fix: update yarn.lock to avoid comment ci timeout

* Revert "fix: update yarn.lock to avoid comment ci timeout"

This reverts commit 6f117f57a0.

* chore: comment ci timeout

* chore: e2e

* fix: workflow approval e2e testing

* fix: e2e stable for some tests
2025-03-12 08:46:38 +08:00
nocobase[bot] cfde026371 Merge branch 'next' into develop 2025-03-11 14:19:54 +00: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
nocobase[bot] 0dd3446531 Merge branch 'next' into develop 2025-03-08 23:44:22 +00:00
Katherine 3f6ecd65ed fix: theme switching fails after multiple consecutive switches (#6387) 2025-03-09 07:43:57 +08:00
nocobase[bot] 38de4cdf05 Merge branch 'next' into develop 2025-03-07 09:17:01 +00: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
nocobase[bot] 21529d75e8 Merge branch 'next' into develop 2025-02-24 02:12:07 +00:00
9eb9d4e000 chore: user center extension (#6213)
* chore(versions): 😊 publish v1.6.0-alpha.24

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

* chore: user center extension

* refactor: change password

* chore: theme

* chore: language

* chore: code improve

* 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>

* feat: inline mode

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

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

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: code improve

* fix: bug

* fix: improve code

* fix: getFontColor (#6241)

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

* refactor: code improve

* fix: bug

* refactor: code improve

* fix: bug

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: merge bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: update  package.json

* fix: bug

* feat: code improve

---------

Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-24 10:11:42 +08:00
gchustandZeke Zhang ae6b801132 feat: new block template plugin (#5920)
* feat: new block template plugin

* fix: build error

* fix: support nested template in blocks

* fix: remove undefined x-component properties from schema during template processing [skip ci]

* feat: reset action for template block

* fix: skip dnd error[skip ci]

* fix: dupliate template action[skip ci]

* fix: plugin not shown in test env

* fix: reset action not been shown

* fix: no permission error

* fix: loading error in production env

* fix: cross env dev error

* fix: blocks not shown in production env

* fix: insert template failing for the first time

* chore: merge

* fix: association record option not working correctly

* fix: setting error

* fix: setting

* fix: linkage error

* fix: association settings error

* fix: association record error

* feat: support edit form tpl

* fix: support more blocks

* fix: avoid nested template

* chore: re org codes

* chore: refactor[skip ci]

* chore: required comment for loading template [skip ci]

* refactor: simplify schema handling and add axios interceptors for template blocks[skip ci]

* fix: i18n [skip ci]

* feat: support showing template title in block

* fix: revert to template will lost the template title

* fix: delete operation removing blocks not working

* fix: template label

* fix: i18n error

* fix: form type should be shown only when current record

* feat: show template in the add new popup

* fix: form type switch should not be shown in add new block popup

* fix: missing i18n

* fix: associate fields should be shown only having current record

* fix: switching form not working in cn

* fix: incorrect form associate setting

* fix: uniq action issue

* fix: uniq fields/actions[skip ci]

* fix: style issue

* fix: error in configure actions

* fix: bulk destroy when no records selected

* fix: only show revert to template config in the block level

* fix: table refresh pagination incorrect after deletion

* fix: be able to input name of template

* fix: bulk destroy

* fix: reset setting will sync with template

* fix: block template table style

* fix: missing translatation

* fix: cache issue

* fix: blocks not shown in the popup after modifing the template

* feat: add search for template initializers

* fix: some blocks are missing template related setting

* fix: hide save as template in template configure view

* chore: revert incorrect commit

* fix: batchpatch error

* fix: mobile support

* fix: build error

* fix: limit one template one block

* feat: show revert to template for fields and actions

* fix: build error

* fix: revert to template not refreshing the ui for actions

* fix: revert to template not working for form

* fix: duplicate revert to setting setting item

* chore: rename reset to revert

* feat: disallow delete template's blocks in page

* feat: add colorTemplateBgSettingsHover for template block hover state

* fix: build error

* chore: hide convert to block template setting item for page

* fix: data template should be hidden in edit form

* fix: fields switch should be disabled

* chore: rename var [skip ci]

* fix: should not be able remove field in block

* fix: after revert settings, is able to remove block in template

* fix: revert settings

* fix: nested template block error

* refactor: cache

* fix: template key has not been validated in client side

* fix: only show template that has been configured

* feat: show template name in edit form

* chore: update package.json

* fix: duplicated fields after dnd in form

* fix: duplicated fields shown in form

* chore: hide old block template menu

* feat: support mobile block template [skip ci]

* fix: filter for type options [skip ci]

* fix: incorrect create new  button style [skip ci]

* feat: add mobile block support

* fix: can't restrict one template one block [skip ci]

* fix: template title not synced after editing template

* fix: keep block deletion should transform the template block to normal block

* fix: insert template fails for the first time

* fix: destroy error

* fix: deploy failure [skip ci]

* fix: destory error in subapp with sub domain

* fix: destroy error

* fix: popup action should be hidden in create new form [skip ci]

* fix: possible crash when converting template to block [skip ci]

* fix: some properties have not been revert in real time

* fix: fitler action condition error

* fix: useDataBlockResource error

* fix: revert settings not refresh filter action form [skip ci]

* fix: new template properties clear

* fix: custom request action can't be shown

* fix: template tab should not be removable

* fix: duplicated delete action in table column

* fix: field link popup not shown in block template page

* fix: page configure link not working correctly

* chore: revert useContextVaraible [skip ci]

* fix(popup): fix configured page not taking effect

* fix: add blocks  button shown in block settings

* fix: only loading 20 templates

* fix: add block icon has been shown [skip ci]

* fix: association not shown in block template configure page

* fix: edit association form error [skip ci]

* fix: console error [skip ci]

* fix: only current field has been refreshed after revert to template [skip ci]

* chore: remove incorrect commit file [skip ci]

* fix: some action delete action still be shown for template block [skip ci]

* fix: template block style[skip ci]

* fix: keep position when rever setting[skip ci]

* fix: revert to template error when already deleted from block [skip ci]

* fix: revert still works even the template has been deleted

* fix: popup not shown as template block [skip ci]

* fix: bulk destory can't keep blocks[skip ci]

* fix: after dnd some unique blocks may be duplicated in the client [skip ci]

* fix: duplicate fields error in form

* fix: revert setting incorrect [skip ci]

* fix: duplicated sub form

* refactor: simplify by moving template loading to backend [skip  ci]

* fix: failing to add template block [skip ci]

* fix: assign fields values in bulk update action [skip ci]

* fix: can't add fields in nester popup subform [skip ci]

* fix: sub-table sub-form not merged correctly [skip ci]

* fix: subtable not highlight unique fields correctly [skip ci]

* fix: block title will not be synced correctly [skip ci]

* fix: can't add block into template [skip ci]

* fix: revert setting not refreshed [skip ci]

* fix: block template title not correct in some cases [skip ci]

* fix: field link's popup merge[skip ci]

* fix: cannot read properties of null in some popup [skip ci]

* fix: position of ui components have not been saved after dnd [skip ci]

* fix: dnd position not saved correctly in some cases [skip ci]

* fix: dnd undefined type error [skip ci]

* fix: can't swtich form type

* fix: some form type switch error [skip ci]

* fix: hide chart block from templates [skip ci]

* feat: support hide some blocks from template [skip ci]

* fix: react error for revert submit button of edit form [skip ci]

* fix: hide workflow and approvar block from template

* fix: hide connect data block from template [skip ci]

* fix: error [skip ci]

* fix: associate record options have not been shown for create form [skip ci]

* fix: creat form popup will be shown after refresh if switch form type [skip ci]

* fix: associate record settings error [skip ci]

* fix: mobile template setting page can not open popup [skip ci]

* fix: mobile content overflow [skip ci]

* chore: update templates menu style [skip ci]

* fix: unique disassociate btn [skip ci]

* feat: save collection and component info while update template

* fix: clear template context info after remove block

* chore: update template block entry point

* fix: incorrect association field template block [skip ci]

* fix: template title only shown after refresh

* fix: tooltip can't be revert correctly after moving entry to submenu [skip ci]

* fix: incorrect behavior after adding collection submenu entries [skip ci]

* fix: edit form support

* fix: support current details [skip ci]

* fix: edit form btn not correct [skip ci]

* fix: create form action params [skip ci]

* fix: hide template menu entry in block template configure page [skip ci]

* fix: incorrect association [skip ci]

* fix: nested template [skip ci]

* fix: can't insert template in mobile [skip ci]

* fix: association title not correct for details block [skip ci]

* chore: remove incorrect submodules commit [skip ci]

* fix: create form is using post method [skip ci]

* fix: association hasone and belongsto details block error [skip ci]

* fix: edit form not able load data [skip ci]

* chore: hide tab bar in mobile template configure page [skip ci]

* fix: don't show no accessible pages for template configure page [skip ci]

* fix: not able to see template list on the first time opening popup [skip ci]

* fix: able to remove related approvals template block [skip ci]

* fix: data not loading for details hasone relationship [skip ci]

* fix: dnd position may not be saved [skip ci]

* fix: multi-step-form is able to delete template step[skip ci]

* fix: hide rever setting in multi step form step name [skip ci]

* fix: extrol wrap when adding blocks from template [skip ci]

* fix: nested schema patch [skip ci]

* fix: x-acl-action not correct[skip ci]

* fix: diassociate action should be unique [skip ci]

* fix: disassociate action not unique [skip ci]

* fix: mobile popup by url not working [skip ci]

* chore: code clean

* chore: update delete setting position [skip ci]

* chore: keep revert btn position consistant in all places [skip ci]

* chore: hide template from workflow setting page [skip ci]

* chore: update setting menu icon [skip ci]

* chore: rename provider name to avoid duplicated with core [skip ci]

* chore: move block template menu to an upper level [skip ci]

* fix: hide other block templates menu [skip ci]

* fix: hide other blocks when creating template

* fix: duplicate revert to template option

* fix: mail manager template block not shown in popup

* fix: main block not showing in popup

* chore: mark old template features as deprecated

* chore: hide deprecated templates in block template configure page

* fix: read x-virtual from null

* fix: ci test error

* fix: skip old templates e2e test cases

* fix: skip old templates e2e test cases

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-02-20 22:23:07 +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
Chareice 2b58c13aa5 chore: migration rules 2025-01-24 22:31:39 +08:00
5d5f455b3c feat: supports configuring dynamic environment variables and secrets (#5966)
* feat: environments plugin

* feat: improve code

* fix: improve code

* feat: improve code

* refactor: package description

* feat: bulk import

* fix: remove

* refactor: file manager support environment variables

* refactor: file manager support environment variables

* refactor: map manager support environment variables

* refactor: support environment variables

* refactor: support environment variables

* refactor: support delete environment variables

* fix: bug

* refactor: workflow support environment variables

* refactor: email  environment variables

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: code improve

* feat: env

* chore: update

* feat: environment

* fix: bug

* fix: acl snippet

* fix: acl snippets

* chore: map manager

* refactor: support line break

* refactor: support password

* chore: environment variables

* fix: bug

* fix: bug

* chore: enviroment variables

* chore: system settings

* fix: improve code

* feat: verification

* feat: map

* feat: file-manager

* feat: notification

* fix: bug

* feat: workflow

* fix: improve code

* fix: bug

* feat: data-source

* feat: auth

* fix: error

* fix: bug

* refactor: description

* refactor: locale

* refactor: locale

* refactor: locale

* refactor: code improve

* refactor: locale

* refactor: locale

* style: style improve

* fix: error

* fix: bug

* fix: bug

* refactor: environment

* fix: ellipsis

* refactor: password

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: test

* fix: cache

* fix: mysql dialect options

* refactor: email config form

* fix: bug

* fix: bug

* fix: authenticator.dataValues parse

* fix: include undefined

* fix: json

* fix: json parse

* chore: enviromentProvider

* fix: acl

* fix: rowKey

* fix: update ProviderOptions.tsx

* feat: get app instance

* fix: bug

* fix: text

* fix: build error

* fix: error

* chore: migration rules options

* chore: migration rules

* refactor: code improve

* feat: env v2

* chore: environment varibales

* chore: environment serve

* fix: getVariables

* feat: improve code

* fix: bug

* chore: collection options for migration

* chore: tree collection options

* chore: migration rules

* chore: migration rules

* chore: env api

* chore: env api

* fix: optionsKeysNotAllowedInEnv

* fix: required true

* fix: improve code

* fix: app refresh

* fix: remove db.import

* fix: type error

* fix: map

* refactor: locale improve

* refactor: tx-cos

* fix: undefined

* refactor: code improve

* chore: use bookworm

* fix: npm add user

* fix: npm login

* fix: npm adduser

* fix: npm adduser

* fix: expect

* fix: expect

* fix: environmentVariables

* refactor: support bulk delete & filter

* refactor: locale improve

* feat: filter

* refactor: useGlobalVariable

* fix: scope

* fix: bug

* fix: optionsKeysNotAllowedInEnv

* fix: test error

* fix: test

* fix: test

* feat: improve code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2025-01-08 09:32:49 +08:00
xilesun 5de1666c51 fix: test 2024-12-19 16:42:10 +08:00
xilesun 702bdbe3d9 Merge branch 'main' into next 2024-12-19 10:31:07 +08:00
YANG QIA 3eb4907fcc fix(users): optimize API validation for user profile editing and password updates (#5912)
* fix(users): optimize API validation for user profile editing and password updates

* chore: update

* test: add test cases
2024-12-19 10:21:54 +08:00
katherinehhh 98ceee6066 Merge branch 'main' into next 2024-12-14 21:25:21 +08:00
Zeke Zhang f05e18fb94 chore(e2e): keep default theme unchanged in e2e 2024-12-14 18:49:21 +08:00
nocobase[bot] 0cb2309ef5 Merge branch 'main' into next 2024-12-13 09:01:52 +00:00