Commit Graph

2202 Commits

Author SHA1 Message Date
Zeke Zhang
f24972c01d
feat: do not update x-action-context when doNotUpdateContext is true (#5253)
Some checks failed
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
deploy client docs / Build (push) Has been cancelled
2024-09-11 17:21:13 +08:00
nocobase[bot]
f456290e0d chore(versions): 😊 publish v1.3.21-beta 2024-09-10 23:27:29 +00:00
Zeke Zhang
59a3c10afa
fix(create-nocobase-app): fix error after setting linkage rules (#5249) 2024-09-11 07:16:37 +08:00
nocobase[bot]
c8b2ebe656 chore(versions): 😊 publish v1.3.20-beta 2024-09-10 04:02:33 +00:00
Zeke Zhang
97d2ad6f52
feat: support for displaying deeper level association fields in data blocks (#5243)
* feat(table): add support for selecting child fields of association fields

* style: fix style

* feat(details): add support for selecting child fields of association fields

* fix: correct sourceId retrieval

* test: add tests

* chore: fix build error

* chore: remove ConfigProvider

* test: update e2e tests
2024-09-10 11:13:37 +08:00
Katherine
4399856eae
fix: menu modifications do not take effect in real-time (#5207)
* fix: menu modifications do not take effect in real-time

* fix: bug
2024-09-09 19:42:12 +08:00
Katherine
db57b21e1a
refactor: support association field preloading in Handlebars templates (#5236)
* chore: update ci

* chore: update ci

* fix: support association field preloading in Handlebars templates

* fix: bug

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-09-09 17:33:03 +08:00
nocobase[bot]
574c67f403 chore(versions): 😊 publish v1.3.19-beta 2024-09-08 14:24:01 +00:00
Zeke Zhang
1e7a740f66
fix(popup): fix URL anomalies caused by using popups together with Link buttons (#5219)
* fix(popup): resolve URL issues caused by popups used with Link buttons

* chore: make e2e tests pass
2024-09-08 22:14:51 +08:00
nocobase[bot]
a248c7e363 chore(versions): 😊 publish v1.3.18-beta 2024-09-08 13:24:58 +00:00
nocobase[bot]
1954b6bb99 chore(versions): 😊 publish v1.3.17-beta 2024-09-07 15:42:23 +00:00
Zeke Zhang
6767e59c02
feat(linkageRules): add support for linkage rules in sub-tables and sub-forms (#5159)
* refactor(linkageRules): extract common function

* refactor: extract forEachLinkageRule

* feat: bind linkage rules to fields

* feat(linkageRules): enable setting linkage rules for sub-tables and sub-forms

* feat(variable): add 'Current object' variable to linkage rules

* fix: make e2e tests pass

* fix: adapt read pretty

* fix: fix the block that does not refresh after changing linkage rules

* fix: improve styling for disabled fields
2024-09-07 22:53:23 +08:00
Zeke Zhang
026367864c
fix(defails): avoid infinite loop (#5228) 2024-09-07 22:49:53 +08:00
Zeke Zhang
68c3d1d62a
fix: resolve unauthorized error on button click for normal roles (#5206)
* feat(server): add 'upgrade' action for uiSchemas

* test: add unit tests

* chore: update unit test

* refactor: rename 'upgrade' to 'initializeActionContext'

* fix: transaction

* chore: fix build

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-07 20:41:41 +08:00
chenos
4365c3ea4a
feat: plugins can also be enabled when the plugin dependency version is inconsistent (#5225) 2024-09-07 17:02:25 +08:00
chenos
954b6bdf62
feat: the default time for display is 00:00:00 (#5226) 2024-09-07 17:02:00 +08:00
Junyi
18e684a957
fix(plugin-workflow): fix trigger type column showing wrong text after new workflow created (#5222)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
* fix(plugin-workflow): fix trigger type column showing wrong text after new workflow created

* fix(plugin-workflow): fix bind workflow button
2024-09-07 11:04:11 +09:00
Katherine
84600cb20d
refactor: collectionNotAllowViewPlaceholder (#5224) 2024-09-07 08:55:08 +08:00
chenos
6d2f17a7c3
feat: provide more user-friendly application-level error messages (#5220)
* fix: display app maintaining message

* fix: app error
2024-09-07 07:53:50 +08:00
Zhichao Gu
efac16c6a9
feat: change all pageSize options to 5/10/20/50/100/200 (#5020)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
* fix: change all pageSize options to 5/10/20/50/100/200

* fix: reset pageSize options same as list options 5/10/20/50/100/200

* fix: reset table pageSize options same as list options 5/10/20/50/100/200

* fix: list set pageSizeOption as 5/10/20/50/100/200,showSizeChanger

* fix: gridcard set pageSizeOption but showSizeChanger not set
2024-09-06 23:38:12 +08:00
dependabot[bot]
07ed06b10e
chore(deps): bump react-intersection-observer from 9.8.1 to 9.13.0 (#5171)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
Bumps [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer) from 9.8.1 to 9.13.0.
- [Release notes](https://github.com/thebuilder/react-intersection-observer/releases)
- [Commits](https://github.com/thebuilder/react-intersection-observer/compare/v9.8.1...v9.13.0)

---
updated-dependencies:
- dependency-name: react-intersection-observer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 22:57:21 +08:00
dependabot[bot]
96ce57adde
chore(deps): bump multer and @types/multer (#5173)
* chore(deps): bump multer and @types/multer

Bumps [multer](https://github.com/expressjs/multer) and [@types/multer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/multer). These dependencies needed to be updated together.

Updates `multer` from 1.4.4 to 1.4.5-lts.1
- [Changelog](https://github.com/expressjs/multer/blob/v1.4.5-lts.1/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v1.4.4...v1.4.5-lts.1)

Updates `@types/multer` from 1.4.11 to 1.4.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/multer)

---
updated-dependencies:
- dependency-name: multer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/multer"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(e2e): make e2e more stable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-06 22:45:57 +08:00
nocobase[bot]
ead089784e chore(versions): 😊 publish v1.3.16-beta 2024-09-06 08:59:59 +00:00
Katherine
2459991fbb
fix: issue with select linkage value type (#5180)
* fix: issue with filterItem remove

* fix: issue with select-linkage-value-type

* fix: bug

* fix: bug
2024-09-06 15:51:34 +08:00
chenos
3e9ff85305
feat: support line break in system title (#5211)
Some checks failed
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
deploy client docs / Build (push) Has been cancelled
2024-09-05 22:14:32 +08:00
Katherine
325c4341ba
refactor: collectionNotAllowViewPlaceholder (#5208) 2024-09-05 21:02:08 +08:00
猫鱼豆腐
eb0a2c3906
feat(client): display system title when logo is missing (#5175)
* fix(client): no logo show title

* fix(client): font size using token

* fix(client): update font size

* style: optimize style

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-05 09:51:25 +08:00
Zeke Zhang
1034aaa81d
fix(Collapse): resolve error when using variables in data scope (#5195)
* refactor: use common hook to reduce code size

* fix(Collapse): resolve error when using variables in data scope
2024-09-04 21:17:43 +08:00
Katherine
3c89e0342e
fix: custom request support refreshDataBlockRequest (#5188) 2024-09-04 16:54:15 +08:00
nocobase[bot]
59db102595 chore(versions): 😊 publish v1.3.15-beta 2024-09-04 05:00:13 +00:00
nocobase[bot]
c4c36599ed chore(versions): 😊 publish v1.3.14-beta 2024-09-03 09:57:06 +00:00
Zeke Zhang
dba8c7a2c4
feat(filterForm): add support for many-to-many association fields (#5178)
* feat(filterForm): add support for many-to-many association fields

* test: add e2e test

* fix: prevent page from losing responsiveness
2024-09-03 17:52:44 +08:00
nocobase[bot]
5cfca8e954 chore(versions): 😊 publish v1.3.13-beta 2024-09-03 00:46:15 +00:00
nocobase[bot]
774c2961d4 chore(versions): 😊 publish v1.3.12-beta 2024-09-01 12:01:37 +00:00
Zeke Zhang
55cebbd291
fix(mobile): fix permission (#5163)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / app-token (push) Waiting to run
Build Pro Image / build-and-push (push) Blocked by required conditions
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
* refactor: wrap a useMemo for value

* fix(mobile): fix permission

* chore: update unit tests

* fix: fix e2e error

* test: add e2e tests

* fix: reset role to root
2024-09-01 17:44:14 +08:00
Zeke Zhang
49db3e4908 chore: update e2e test 2024-09-01 17:35:15 +08:00
nocobase[bot]
517e199ed7 chore(versions): 😊 publish v1.3.11-beta 2024-08-31 14:13:44 +00:00
nocobase[bot]
5afac9cf82 chore(versions): 😊 publish v1.3.10-beta 2024-08-31 07:29:00 +00:00
Katherine
5196b47b29
fix: issue with association select data scope linkage in sub-table (#5160)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / app-token (push) Waiting to run
Build Pro Image / build-and-push (push) Blocked by required conditions
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
* fix: association select data scope linkage in sub-table

* fix: association select data scope linkage in sub-table
2024-08-30 17:57:50 +08:00
Katherine
16254a4533
fix: issue in data selector other block should display Markdown, not 'Add Text' (#5161) 2024-08-30 17:51:55 +08:00
Zeke Zhang
6e45780565 chore: update comment 2024-08-30 11:07:45 +08:00
nocobase[bot]
bf5011f75a chore(versions): 😊 publish v1.3.9-beta 2024-08-29 14:14:30 +00:00
nocobase[bot]
39d021a9aa chore(versions): 😊 publish v1.3.8-beta 2024-08-29 10:12:49 +00:00
nocobase[bot]
f429d13264 chore(versions): 😊 publish v1.3.7-beta 2024-08-29 08:41:23 +00:00
Katherine
ae8f5c797f
fix: add text support handlebars (#5150) 2024-08-29 15:42:15 +08:00
nocobase[bot]
39c7ce4741 chore(versions): 😊 publish v1.3.6-beta 2024-08-29 06:01:24 +00:00
Katherine
8beb8dbc3e
fix: association select data scope linkage should support edit form (#5149) 2024-08-29 11:54:20 +08:00
nocobase[bot]
35e8f89c75 chore(versions): 😊 publish v1.3.5-beta 2024-08-28 09:28:11 +00:00
Katherine
e883985c4d
fix: association select data scope linkage should be supported in sub-form (#5146)
* fix: association select data scope linkage support sub-form

* fix: bug
2024-08-28 16:36:43 +08:00
Zeke Zhang
67d2f85a99
fix(defaultValue): ignores variable values that do not match the current field (#5122)
* refactor(variable): refactor parseVariable to support return more context

* fix(defaultValue): ignore no matching value

* fix: make unit tests pass

* chore: fix unit test
2024-08-28 11:53:52 +08:00