174 Commits
Author SHA1 Message Date
hongboji 15a3e79cef fix(data-source-main): disable auto-fill for newly generated UUID foreign keys (#11796) 2026-12-01 11:18:56 +08:00
hongboji 0ae5755f2b fix(i18n): align plugin translations with the central catalog (#11797)
* fix(i18n): align plugin translations with the central catalog

* fix(i18n): sync additional plugin translations to root locales

* fix(i18n): preserve Korean file manager and Russian workflow translations
2026-11-30 23:01:49 +08:00
db62fa64b2 fix(server): restore field synchronization for imported tables (#11327)
* fix(server): sync fields for tables loaded from database

* fix(server): preserve metadata and validate field synchronization

* fix(server): include dbsync tables in existing field synchronization

* fix(server): preserve imported field metadata with table prefixes

---------

Co-authored-by: Zhou <1267426+zhouyanliang@users.noreply.github.com>
Co-authored-by: hongboji <j414562100@qq.com>
2026-11-17 15:37:24 +08:00
hongboji c2c84b26d8 fix: return 404 for deleted collections with cached routes (#10397) (#11440)
* fix(data-source): expire generated resources for deleted collections

* fix(data-source): preserve repository lookup during route cleanup
2026-11-12 10:54:53 +08:00
nocobase[bot] 39b1434666 Merge branch 'main' into next 2026-07-17 04:01:57 +00:00
YANG QIA 5f0630e32b fix(database): prevent SQL injection in view metadata queries (#10115)
* fix(database): prevent SQL injection in view metadata queries

* test(database): handle unsupported view fields in regression test

* fix(database): parameterize PostgreSQL view listing
2026-07-17 12:01:19 +08:00
Junyi cd63615260 refactor(plugin-file-manager): use permanent url for files (#10103)
* refactor(plugin-file-manager): use permanent url for files

* fix(plugin-file-manager): fix issues

* refactor(plugin-file-manager): not to change legacy api

* refactor(plugin-file-manager): simplify api

* fix(plugin-file-manager): fix issues

* fix(plugin-public-forms): fix data source name

* fix(plugin-file-manager): fix types

* refactor(plugin-file-manager): change token name style

* docs(plugin-file-manager): add docs for stable url

* fix(plugin-file-manager): fix type and local field

* fix(plugin-file-previewer-office): fix type

* fix(plugin-file-manager): fix test cases

* fix(core): fix nginx.conf.tpl

* fix(plugin-data-source-main): add hidden as filter flag for skipping fields

* fix(plugin-file-manager): fix thumbnail for attachment url field

* fix(plugin-file-manager): fix preview field

* docs(plugin-file-manager): add docs

* fix(plugin-file-manager): fix test cases

* fix(plugin-file-manager): fix type

* fix(plugin-file-manager): fix issues from review

* fix(resourcer): fix types

* refactor(plugin-file-manager): fix issues from review

* docs(plugin-file-manager): adjust docs

* fix(plugin-acl): fix test cases

* fix: issues from review

* fix(plugin-file-manager): fix virtual field local
2026-07-15 22:00:00 +08:00
Junyi 1e63e0a55d Revert "refactor(plugin-file-manager): use permanent url for files (#10047)" (#10102)
This reverts commit 3827a8cf01.
2026-07-15 17:32:06 +08:00
Junyi 3827a8cf01 refactor(plugin-file-manager): use permanent url for files (#10047)
* refactor(plugin-file-manager): use permanent url for files

* fix(plugin-file-manager): fix issues

* refactor(plugin-file-manager): not to change legacy api

* refactor(plugin-file-manager): simplify api

* fix(plugin-file-manager): fix issues

* fix(plugin-public-forms): fix data source name

* fix(plugin-file-manager): fix types

* refactor(plugin-file-manager): change token name style

* docs(plugin-file-manager): add docs for stable url

* fix(plugin-file-manager): fix type and local field

* fix(plugin-file-previewer-office): fix type

* fix(plugin-file-manager): fix test cases

* fix(core): fix nginx.conf.tpl

* fix(plugin-data-source-main): add hidden as filter flag for skipping fields

* fix(plugin-file-manager): fix thumbnail for attachment url field

* fix(plugin-file-manager): fix preview field

* docs(plugin-file-manager): add docs

* fix(plugin-file-manager): fix test cases

* fix(plugin-file-manager): fix type

* fix(plugin-file-manager): fix issues from review

* fix(resourcer): fix types

* refactor(plugin-file-manager): fix issues from review

* docs(plugin-file-manager): adjust docs

* fix(plugin-acl): fix test cases

* fix: issues from review

* fix(plugin-file-manager): fix virtual field local
2026-07-15 15:24:43 +08:00
YANG QIA ec0e07b0ed fix(database): prevent belongsToMany from reusing target as through (#10044) 2026-07-10 09:34:52 +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
nocobase[bot] 1e5b3a8cce Merge branch 'main' into next 2026-05-18 05:45:56 +00:00
YANG QIA 4235a0146f fix(database): avoid persisting current schema on field sync (#9505)
* fix: avoid persisting current schema on field sync

* test: move schema sync cleanup to hooks

* fix: respect collection manager schema during field sync

* test: avoid mocking schema in field sync test

* test: use default schema in field sync test
2026-05-17 23:11:29 +08:00
YANG QIA e7d5f28e97 feat(data-modeling): improve apply for comments and external fields (#9480)
* fix(data-modeling): add comment collection baseline

* fix(cli): return data modeling apply summaries

* fix: improve data modeling diagnostics

* feat(data-source-manager): apply external fields

* feat(data-modeling): expose external metadata commands

* feat(data-modeling): support field validation rules
2026-05-15 17:18:56 +08:00
nocobase[bot] 2d22b9b1f2 Merge branch 'main' into next 2026-05-09 02:58:05 +00:00
YANG QIA a3a61b66b5 fix(database): imported table names with DB table prefix (#9403)
* fix(database): preserve loaded table names with prefix

* fix(data-source-main): separate dbsync collection source

* fix(database): preserve prefixed tables only for dbsync

* test(data-source-main): stabilize prefixed table loading case
2026-05-09 10:57:28 +08:00
nocobase[bot] 9e1f499646 Merge branch 'main' into next 2026-05-05 08:54:39 +00:00
saraTabbane 9e4d3ac842 fix(collection-repository): add guard for undefined fields before filter/map (#9174) 2026-05-05 16:53:57 +08:00
YANG QIA 8b0e86881a feat(cli): add request source to api logs (#9223) 2026-04-24 12:56:10 +08:00
YANG QIA 8a0620b3fb fix(data-source-main): validate choice colors and default title field (#9221) 2026-04-24 09:54:46 +08:00
nocobase[bot] 2478219e3f Merge branch 'next' into develop 2026-04-20 02:17:33 +00:00
YANG QIA 321345fc05 fix: sync main data source fields for renamed view collections (#9155) 2026-04-20 10:16:30 +08:00
xilesun 08a36bebba fix(data-source): add preset fields to calendar apply template 2026-04-10 23:01:16 +09:00
YANG QIAandchenos 3c08fed454 feat: data modeling actions (#9036)
* feat: data modeling actions

* feat: nocobase cli

* fix: bug

* fix: build

* fix: build

* fix: build

* fix: package

* fix: bug

* chore: remove cli

* fix: bug

* fix: test

* fix: test case error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2026-04-07 17:04:04 +08:00
YANG QIA 0d1ddbe30f fix(mcp-server): optimize tool naming and responses (#9000)
* fix(mcp-server): sanitize MCP tool input schema

* fix(mcp): normalize generated tool output for browsing

* refactor(mcp): use McpToolsManager in post processors
2026-03-30 21:57:44 +08:00
YANG QIA e7e8e9fc21 docs(data-source-main): update swagger docs (#8917) 2026-03-19 23:17:27 +08:00
YANG QIA 6c50676c89 fix(database): updating the default value of a JSON field does not take effect (#8767) 2026-03-05 10:02:58 +08:00
YANG QIA bfd3c20342 fix(database): fields synchronization error (#8766) 2026-03-05 00:54:40 +08:00
YANG QIA 6f806ef9e2 fix(data-source-main): "out of sort memory" issue (#8706) 2026-02-25 22:54:56 +08:00
YANG QIA 2d508bcdce fix(migration): version (#8701) 2026-02-25 13:50:58 +08:00
nocobase[bot] 9dee06a38a Merge branch 'main' into next 2026-01-22 14:40:38 +00:00
YANG QIA 523a871c03 fix(database): respect onDelete: restrict in m2m collection block deletion (#8493) 2026-01-22 22:40:08 +08:00
xilesun 9e4570a898 Merge branch 'main' into next 2026-01-05 15:23:36 +08:00
YANG QIA da33845d03 fix(view-collection): view collection metadata (#8344)
* fix(view-collection): view collection metadata should include source field options

* fix: bug

* fix: bug

* fix: bug

* fix: build
2026-01-05 13:42:07 +08:00
xilesun b2ced3422e fix: handle field source 2026-01-05 09:55:24 +08:00
xilesun aba53a1f9f Merge remote-tracking branch 'origin/main' into next 2026-01-05 09:51:00 +08:00
YANG QIA 74a5439ab0 Revert "fix(view-collection): view collection metadata should include source …" (#8341)
This reverts commit 8d72ffd3c0.
2026-01-05 09:42:06 +08:00
chenos b3110307d1 fix: auto merge (#8338) 2026-01-05 08:08:05 +08:00
YANG QIA 8d72ffd3c0 fix(view-collection): view collection metadata should include source field options (#8337)
* fix(view-collection): view collection metadata should include source field options

* fix: bug

* fix: bug
2026-01-05 07:03:44 +08:00
Drol f51479669c feat(data-source-main): preset id type can be changed while creating collection (#8129)
* feat(core): preset id type can be changed while creating collection

* feat(core): add snowflakeId interface

* fix(core): add field can not choose index primary or unique

* fix(core): snowflakeId adapte 2.0 flow model component

* docs(core): add docs for primary key setting and snowflake id field

* fix(core): import issue of collection with not auto increment primary key

* fix(core): nano id field`s autoFill not effective in forntend component

* fix(core): primary key options lost while reopen setting window

* fix(core): tree collection adapte deiffent type of primary key like nano-id uuid snowflake-id

* fix(core): file collection should not change pk`s autoFill or autoIncrement to false

* fix(core): add description for id field in preset field table

* fix(core): fix the issue where preset ID field interface options are overwritten across types

* fix(core): remove in-memory collection object after creation failure
2025-12-15 15:55:31 +08:00
YANG QIA 312900a3fb fix(data-source-main): id interface (#8162) 2025-12-14 13:10:14 +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
Zeke Zhang a78bcffb78 Merge branch 'next' into develop 2025-11-26 10:55:33 +08:00
YANG QIA ff1c651350 fix(database): collection manager schema (#7958)
* fix(database): collection manager schema

* fix: schema

* fix: test

* fix: test

* fix: test
2025-11-25 11:33:59 +08:00
xilesun 353e55428a Merge branch 'next' into develop 2025-11-20 10:57:58 +08:00
Drol b2f1280408 reload target collection fields after add o2m field (#7907)
* fix(plugin-data-source-main): fix collection fields not reload after o2m`s foreignKey added

* chore(plugin-data-source-main): replace type assertions with type conversions

* chore(plugin-data-source-main): fix variable typo
2025-11-20 10:16:01 +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
YANG QIAandaaaaaajie e1681357c4 feat(main-data-source): read & load tables (#7663)
* fix: test

* refactor: remove group for CollectionFields

* feat: support change field type

* feat: support change interface

* fix: type error

* fix: build error

* fix: handle field source

* fix: test

* fix: test

* Revert "Revert "feat: support reading tables from main data source (#7238)" (…"

This reverts commit c881117c9d.

* fix: disable modify preset fields interface and type when collection is db2cm

* refactor: read and load tables

* fix: issue of creating external database datas source

* fix: bug

* fix: bug

* fix: read table bug

* feat: sync fields

* fix: test

* chore: remove refresh btn

* fix: build

* fix: underscored table name

* fix: ds reload

* fix: bug

* fix: update fields

* fix: interface

* fix: sync fields

* fix: bug

* fix: bug

* fix: test

* fix: build

---------

Co-authored-by: aaaaaajie <m18210870360@163.com>
2025-10-25 14:13:00 +08:00
chenos 469d2ce0a3 Revert "feat(data-source-main): reading tables & change field interfaces (#7118)"
This reverts commit fc21db8ecb.
2025-10-25 00:45:06 +08:00