Commit Graph

2687 Commits

Author SHA1 Message Date
GitHub Actions Bot
4e537360dd chore(versions): 😊 publish v1.2.14-alpha 2024-07-11 04:32:10 +00:00
Zeke Zhang
1a6be31356
fix(Safari): resolve issue with menu page not refreshing in Safari (#4835)
* fix(Safari): resolve issue with menu page not refreshing in Safari

* chore: correct problematic code
2024-07-11 12:27:41 +08:00
chenos
559518f6e9
chore: next release ci (#4861)
* test: ci

* test: ci

* test: ci

* fix: jq

* fix: jq

* fix: release ci

* fix: ci

* fix: ci

* fix: build

* fix: ci

* fix: env

* fix: jq

* fix: cache

* test: ci

* test: ci

* test: ci

* test: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* test: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: cache

* fix: ci

* fix(cli): improve upgrade command

* fix: workflow_dispatch
2024-07-10 23:49:16 +08:00
Junyi
9033f73584
refactor(server): sync manager and ci (#4858)
* refactor(server): add available property on sync manager

* chore(ci): add redis service into test ci
2024-07-10 21:48:58 +08:00
Zeke Zhang
dcc7da6e01
fix(Table): fix styling issue with fixed columns (#4857) 2024-07-10 19:23:33 +08:00
YANG QIA
e0b5128c9d
feat(database): new field type many to many (array) (#4708)
Some checks are pending
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
* feat: recordSet field

* fix: record set field

* test: add tests

* fix: tests

* fix: build

* feat: front end

* refactor: belongs to array field

* fix: tests

* fix: version

* fix: version

* fix: build

* chore: update

* chore: add error

* chore: remove only

* feat: add locales

* fix: version

* fix: e2e

* fix: fix T-4661

* fix: fix T-4663

* fix: fix T-4665

* fix: fix T-4670

* fix: fix T-4666

* fix: fix T-4664

* fix: fix T-4668

* fix: test

* fix: fix T-4669

* fix: fix T-4667

* fix: bug

* fix: fix T-4670

* chore: add transaction

* feat: beforeAddDataSource hook

* feat: support external database sources, fix T-4717

* fix: bug

* fix: fix T-4671

* fix: fix T-4769

* fix: version

* fix: fix T-4762

* fix: array type interface

* fix: fix T-4742

* fix: fix T-4661

* fix: bug

* fix: bug

* feat: check association keys in backend

* fix: bug

* fix: bug

* fix: bug

* fix: test

* fix: bug

* fix: e2e

---------

Co-authored-by: Chareice <chareice@live.com>
2024-07-10 15:04:24 +08:00
GitHub Actions Bot
3b02b0c992 chore(versions): 😊 publish v1.2.13-alpha 2024-07-10 04:44:30 +00:00
Zeke Zhang
937209363a Merge branch 'main' into next 2024-07-10 12:42:24 +08:00
Zeke Zhang
881dced4dc
feat(Menu): add support for setting search params and using variables in links (#4855)
* refactor: extract urlSchema and paramsSchema to useURLAndParamsSchema

* refactor: extract to useParseURLAndParams

* feat: support to parse variables in Menu.URL

* test: add e2e test

* chore: fix e2e tests
2024-07-10 12:23:45 +08:00
Zeke Zhang
336c14748b Merge branch 'main' into next 2024-07-10 11:38:16 +08:00
Zeke Zhang
68f53f5110
fix(template): restrict block templates to their respective block types (#4842)
* test: add e2e test

* fix(template): restrict block templates to their respective block types
2024-07-10 11:35:56 +08:00
Junyi
a283fc3f77
feat(server): add sync-manager (#4780)
* feat(server): add sync-manager

* refactor(server): add appName to message

* refactor(server): refactor api

* refactor(plugin-workflow): precisely control workflow status change

* feat(plugin-fm): adapt storage sync event

* fix(server): fix type

* test(server): add test cases
2024-07-10 09:54:38 +08:00
Zeke Zhang
4d84516697 Merge branch 'main' into next
Some checks are pending
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
2024-07-09 14:44:15 +08:00
Zeke Zhang
c2260c76c0
feat(variable): add a new variable named 'API token' (#4850)
Some checks are pending
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
* feat(variable): add a variable named 'Current token'

* refactor: rename to 'API Token'

* test: add e2e tests

* chore: update unit test
2024-07-09 14:42:12 +08:00
chenos
95d43cadd9 chore: v1.3.0-alpha 2024-07-09 14:22:23 +08:00
Katherine
f8e9385845
fix: ineffective conditional checks for checkbox fields as linkage rule under m2o association field (#4849) 2024-07-09 14:17:32 +08:00
chenos
4cd2454882 Merge branch 'main' into next
# Conflicts:
#	packages/core/client/src/schema-component/antd/page/Page.tsx
2024-07-09 09:17:52 +08:00
Junyi
9ba64ee6f1
fix(client): fix output time in date-picker in date-only mode (#4778)
Some checks are pending
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
2024-07-08 23:13:05 +08:00
chenos
7b1bb6963e
chore: disable search engine indexing (#4841) 2024-07-07 19:40:52 +08:00
Zeke Zhang
f1a564f074
chore(router): disable using replace strategy when closing popups or subpages (#4838)
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
Build Pro Image / build-and-push (push) Has been cancelled
E2E / Build (push) Has been cancelled
NocoBase FrontEnd Test / frontend-test (18) (push) Has been cancelled
E2E / Core and plugins (push) Has been cancelled
E2E / plugin-workflow (push) Has been cancelled
E2E / plugin-workflow-approval (push) Has been cancelled
E2E / plugin-data-source-main (push) Has been cancelled
E2E / Comment on PR (push) Has been cancelled
2024-07-07 19:27:56 +08:00
Zeke Zhang
07c3428b9e
fix(plugin-manager): fix issue with inability to scroll on plugin management page (#4837)
Some checks are pending
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
2024-07-07 14:57:13 +08:00
chenos
93447bc8f8 fix: adjust the margin of the Add block button in the grid layout (#4820)
* fix: improve grid style

* fix: style
# Conflicts:
#	packages/core/client/src/schema-component/antd/page/Page.tsx
2024-07-07 08:42:38 +08:00
chenos
e461189974
fix: adjust the margin of the Add block button in the grid layout (#4820)
* fix: improve grid style

* fix: style
2024-07-07 08:34:12 +08:00
Zeke Zhang
efd89f57db Merge branch 'main' into next 2024-07-06 10:38:26 +08:00
Zeke Zhang
ec5e4b0336
feat: open subpages within the main page (#4797)
Some checks are pending
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
* feat: open subpages within the main page

* fix: fix known bugs and fix tests

* refactor: optimize popups style

* fix(style): avoid flickering

* chore: add comment

* fix: optimize nested popups

* refactor: optimize path after closing popup

* fix: fix draging

* chore: optimize routing stack

* feat: add back button for sub page

* test: add e2e test

* fix: enable returning from URL-opened pop-ups and subpages

* fix: enable subpages to navigate via main page menu

* refactor: optimize code

* fix: fix closePopup method

* fix: ensure block data refreshes after submitting from pop-up

* fix: add 404 info when popup is deleted and add e2e test

* fix: fix embed page

* chore: add translation

* fix(duplicate): fix e2e test

* fix: fix filterByTK

* chore(CI): add job for workflow-approval

* chore(CI): fix syntax

* chore(CI): add 'plugin-workflow-approval' in needs
2024-07-05 20:15:11 +08:00
GitHub Actions Bot
415eb52cef chore(versions): 😊 publish v1.2.12-alpha 2024-07-05 09:10:05 +00:00
Katherine
5fa0c6a10f
style: list block overflowY (#4822) 2024-07-05 15:19:27 +08:00
Junyi
0ba1bca5d8
feat(client): add disabled option to props of SchemaSettingsItem (#4817)
Some checks are pending
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-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
* feat(client): add disabled option to props of SchemaSettingsItem

* docs(client): add doc and demo

* feat(client): add disabled option to SchemaInitializerItem
2024-07-05 13:28:59 +08:00
xilesun
ade9b70d51 Merge branch 'main' into next 2024-07-05 09:20:21 +08:00
YANG QIA
cfcf9291dc
fix(database): should not add field when binding error (#4804)
* fix(database): should not add field when binding error

* fix: test

* chore: test

* chore: test

* chore: test

* chore: test

* Update nocobase-test-backend.yml

* chore: test

---------

Co-authored-by: Chareice <chareice@live.com>
2024-07-05 08:49:24 +08:00
ChengLei Shao
a1b2c25a94
feat: beforeAddDataSource hook (#4810) 2024-07-05 08:46:35 +08:00
chenos
5dc626d2d6
fix: target key value is empty (#4796) 2024-07-05 06:47:21 +08:00
ChengLei Shao
7084e8d35f
chore(ci): release database after closed (#4819)
Some checks are pending
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-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
* chore(ci): release database after closed

* chore: clean database

* chore: test
2024-07-04 21:48:51 +08:00
xilesun
eb20d0be15 Merge branch 'main' into next
Some checks are pending
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-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
2024-07-04 18:24:27 +08:00
Katherine
89859c683a
fix: sub-form acl check (#4806)
Some checks failed
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-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
Test on Windows / build (push) Waiting to run
deploy client docs / Build (push) Has been cancelled
NocoBase FrontEnd Test / frontend-test (18) (push) Has been cancelled
2024-07-03 20:01:27 +08:00
chenos
9a09f9e73d
fix: version calculation error when creating migration (#4805) 2024-07-03 17:23:28 +08:00
Zeke Zhang
2e14e9939e Merge branch 'main' into next
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
Build Pro Image / build-and-push (push) Has been cancelled
E2E / Build (push) Has been cancelled
NocoBase FrontEnd Test / frontend-test (18) (push) Has been cancelled
E2E / Core and plugins (push) Has been cancelled
E2E / plugin-workflow (push) Has been cancelled
E2E / plugin-data-source-main (push) Has been cancelled
E2E / Comment on PR (push) Has been cancelled
2024-07-02 14:58:12 +08:00
Zeke Zhang
d12763c6ee
chore(e2e): optimize timeout to avoid lost report (#4798)
Some checks are pending
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-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
2024-07-02 14:55:27 +08:00
Katherine
6609870aed
fix: table height shrinking with large data set at full height (#4787) 2024-07-02 13:58:15 +08:00
chenos
8d8105a205
fix(popups): correct value for filterByTk (#4792)
Some checks are pending
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-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
* feat: add CollectionManager.getFilterByTk method

* refactor: optimize and add tests

* fix: use correct filterByTK value

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-02 10:59:54 +08:00
Zeke Zhang
55fc3deaaf
refactor: include sourceId in popup URL (#4788)
* refactor: include sourceId in popup URL

* test: add e2e test

* fix(subPage): include sourceId in popup URL
2024-07-02 09:54:08 +08:00
YANG QIA
9059665023
Merge branch 'main' into next (#4791)
* fix: external data source not reloading when title field is updated (#4786)

* style: list block style improve (#4785)

* chore(client): change default icon size of icon picker

---------

Co-authored-by: Katherine <katherine_15995@163.com>
2024-07-01 18:43:59 +08:00
xilesun
906e0773d2 chore(client): change default icon size of icon picker 2024-07-01 18:03:26 +08:00
Katherine
12a8f2e6ac
style: list block style improve (#4785) 2024-07-01 16:38:02 +08:00
Sheldon Guo
95749f3d88
feat(client): support linkage style in table and form (#4467)
* feat: support linkage style in table and form

* fix: removed linkage rule in table column, fixed formitem style not refreshing, use colorpicker

* chore: remove unused functions and improve effect execution performance

* feat: add some e2e test for linkage style in table, extract linkage
  style logic to hooks

* feat: add some e2e test

* fix: fix some e2e test error

* test: fix e2e tests

* fix: replace deprecated api

* chore: give color picker a empty string as default value

* chore: improve some code

* refactor: remove useless code

* fix:  fix some incompatibility problem of old schema

* fix: fix some e2e test errors

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-01 09:13:37 +08:00
Zeke Zhang
05cf9986b0
feat: enable direct dialog opening via URL and support for page mode (#4706)
* refactor: optimize page tabs routing

* test: add e2e test for page tabs

* feat: add popup routing

* fix: resolve nested issue

* refactor: rename file utils to pagePopupUtils

* perf: enhance animation and overall performance

* fix: fix filterByTK

* fix(sourceId): resolve error when sourceId is undefined

* fix: fix List and GridCard

* fix: fix params not fresh

* fix: fix parent record

* fix: resolve the issue on block data not refreshing after popup closure

* feat: bind tab with URL in popups

* feat(sub-page): enable popup to open in page mode

* chore: optimize

* feat: support association fields

* fix: address the issue of no data in associaiton field

* fix: resolve the issue with opening nested dialog in association field

* fix: fix the issue of dialog content not refreshing

* perf: use useNavigateNoUpdate to replace useNavigate

* perf: enhance popups performance by avoiding unnecessary rendering

* fix: fix tab page

* fix: fix bulk edit action

* chore: fix unit test

* chore: fix unit tests

* fix: fix bug to pass e2e tests

* chore: fix build

* fix: fix bugs to pass e2e tests

* chore: avoid crashing

* chore: make e2e tests pass

* chore: make e2e tests pass

* chore: fix unit tests

* fix(multi-app): fix known issues

* fix(Duplicate): should no page mode

* chore: fix build

* fix(mobile): fix known issues

* fix: fix open mode of Add new

* refactor: rename 'popupUid' to 'popupuid'

* refactor: rename 'subPageUid' tp 'subpageuid'

* refactor(subpage): simplify configuration of router

* fix(variable): refresh data after value change

* test: add e2e test for sub page

* refactor: refactor and add tests

* fix: fix association field

* refactor(subPage): avoid blank page occurrences

* chore: fix unit tests

* fix: correct first-click context setting for association fields

* refactor: use Action's uid for subpage

* refactor: rename x-nb-popup-context to x-action-context and move it to Action schema

* feat: add context during the creation of actions

* chore: fix build

* chore: make e2e tests pass

* fix(addChild): fix context of Add child

* fix: avoid loss or query string

* fix: avoid including 'popups' in the path

* fix: resolve issue with popup variables and add tests

* chore(e2e): fix e2e test

* fix(sideMenu): resolve the disappearing sidebar issue and add tests

* chore(e2e): fix e2e test

* fix: should refresh block data after mutiple popups closed

* chore: fix e2e test

* fix(associationField): fix wrong context

* fix: address issue with special characters
2024-06-30 23:25:01 +08:00
shz
512557f80a
feat(plugin-workflow): add date range options to system variables (#4728)
* feat(plugin-workflow): add date range options to system variable in workflow plugin

* feat(plugin-workflow): fix according to code review

* feat(plugin-workflow): add more functions

* feat(plugin-workflow): fix according to code review

* feat(plugin-workflow): add test

* feat(plugin-workflow): support india timezone

* feat(plugin-workflow): fix test

* feat(plugin-workflow): add ts type

* feat(plugin-workflow): fix

* feat(plugin-workflow): fix
2024-06-30 16:30:31 +08:00
GitHub Actions Bot
a2039c2f0d chore(versions): 😊 publish v1.2.11-alpha 2024-06-28 03:43:02 +00:00
Zeke Zhang
bf4e100622
fix(data-scope): avoid cyclic invocation of the same API (#4773)
* fix(data-scope): avoid cyclic invocation of the same API

* refactor: optimize potentially problematic code
2024-06-28 11:37:57 +08:00
David Fecke
2141e6274d
feat(client): add searchbar and increase ux of select popover in icon-picker component (#4609)
* feat(client): add searchbar to select popover of icon-picker component

* feat(client): increase ux of icon selection in icon-picker component

* feat(client): add iconSize and searchable as props for icon-picker component

* feat(client): show antd empty component when icon search has no results

* feat(client): make icon-searchbar sticky and lock popover height

- To prevent content jumpung when searching for icons the popover need a fixed height.

* fix: styles & l10n & tests

* chore: remove it.only

* fix: test

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-06-28 11:12:56 +08:00
chenos
a86315de61
feat(data-source-manager): filterTargetKey configuration optimization (#4766)
* feat(data-source-manager): filterTargetKey configuration optimization

* fix: bugs

* fix: improve code

* fix: error

* fix: error
2024-06-28 09:00:16 +08:00
GitHub Actions Bot
734aa1a007 chore(versions): 😊 publish v1.2.10-alpha 2024-06-27 14:03:40 +00:00
Zeke Zhang
405a6eef81 chore(e2e): make e2e tests more stable 2024-06-27 16:21:12 +08:00
GitHub Actions Bot
4a50647210 chore(versions): 😊 publish v1.2.9-alpha 2024-06-27 03:02:41 +00:00
Katherine
4999998a38
fix: missing data on first load in cascading association field component within template block (#4758)
* fix: missing data on first load in cascading association fields within template blocks

* fix: missing data on first load in cascading association fields within template blocks

* fix: bug

* fix: bug

* fix: bug
2024-06-26 22:03:28 +08:00
chenos
4517dc1105
fix: full height (#4759)
* fix: full height

* fix: useFormHeight

* fix: useFormHeight

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-26 21:21:24 +08:00
jack zhang
54d1d2cdc9
fix: export filter component (#4757) 2024-06-26 18:26:25 +08:00
YANG QIA
80ad6994aa
fix(l10n): error when enabling plugin-localization first time (#4760)
* fix(l10n): error when enabling plugin-localization first time

* fix: tests
2024-06-26 16:02:36 +08:00
Katherine
9669d56d84
fix: error when overriding sorting field (#4752) 2024-06-26 13:18:07 +08:00
chenos
1e4497339a fix(pm): search by keywords 2024-06-26 10:03:26 +08:00
YANG QIA
700e18fb1a
feat(l10n): allows to use l10n plugin resources in backend (#4751) 2024-06-26 09:18:05 +08:00
Zeke Zhang
99a0fcae1c
feat(variable): add a new variable named 'Parent popup record' (#4748)
* refactor: extract CurrentPopupRecordProvider component

* refactor: rename

* feat(variable): add a new variable named 'Parent popup record'

* chore: add translation

* fix: fix known issues

* test: add e2e tests
2024-06-26 08:59:01 +08:00
freefarmdong
53e47b55ca
fix: checkbox style is not aligned when selecting the table (#4718)
Co-authored-by: wangdong28 <wangdong28@xiaomi.com>
2024-06-25 16:41:48 +08:00
GitHub Actions Bot
3a8867eaef chore(versions): 😊 publish v1.2.8-alpha 2024-06-25 07:29:25 +00:00
Katherine
bff6dde483
fix: missing multiple selection option for to-many association fields in sub-table (#4742) 2024-06-25 15:10:28 +08:00
chenos
dac110931b
chore: update dependencies (#4747)
* chore: update dependencies
* fix: @formily/antd-v5
2024-06-25 12:44:51 +08:00
jack zhang
1f05006e7a
fix: bug (#4744) 2024-06-25 11:50:40 +08:00
Katherine
f04dc51a2c
fix: tag component should support enable link (#4741)
* fix: tag component should support enable link

* test: tag component support options

* fix: bug
2024-06-25 10:36:05 +08:00
jack zhang
47a6d04c63
fix: clear plugin list cache (#4739) 2024-06-25 08:48:45 +08:00
chenos
e69d33a09c chore: update link 2024-06-24 16:45:45 +08:00
ChengLei Shao
8dd8303f21
fix(backup-restore): dump with collection that names were reserved words in mysql (#4734)
* fix(backup-restore): dump with collection that names were reserved words

* chore: test
2024-06-24 15:50:37 +08:00
Katherine
5370e95f4b
refactor: integer fields with Primary selected will auto-check Auto increment (#4313) 2024-06-24 15:15:50 +08:00
GitHub Actions Bot
927641349f chore(versions): 😊 publish v1.2.7-alpha 2024-06-24 02:04:24 +00:00
Katherine
aec77064c4
fix: variable parse issue in link action with variables in paths (#4732) 2024-06-24 08:00:15 +08:00
Junyi
78955cb560
fix(client): fix default size hint of upload component (#4731) 2024-06-23 15:58:14 +08:00
Katherine
fb1ed31820
fix: optimize block template description (#4721)
* fix: optimize block template description

* fix: optimize block template description

* fix: bug
2024-06-21 14:46:39 +08:00
Katherine
4671a17628
fix: subform/subtable height equaling form height when form height is set (#4717)
* fix: subform height equaling form height when form height is set

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-20 21:21:55 +08:00
Junyi
f7f1bdffbb
fix(client): fix undefined context (#4719) 2024-06-20 21:17:10 +08:00
Katherine
362a83804e
fix(grid): grid style (#4715)
* fix: grid style

* fix: bug
2024-06-20 14:40:54 +08:00
GitHub Actions Bot
504f8d107c chore(versions): 😊 publish v1.2.6-alpha 2024-06-20 04:40:35 +00:00
GitHub Actions Bot
9968eda02b chore(versions): 😊 publish v1.2.5-alpha 2024-06-19 22:58:05 +00:00
chenos
d6851545ec fix(database): db auth default retry 9 times 2024-06-19 22:02:40 +08:00
chenos
95666a97df Revert "fix(database): db auth default retry 30 times"
This reverts commit 283f1d6000.
2024-06-19 21:36:06 +08:00
Junyi
5ad3a854c5
fix(plugin-fm): fix thumbnail rule (#4707) 2024-06-19 21:22:32 +08:00
chenos
283f1d6000 fix(database): db auth default retry 30 times 2024-06-19 18:03:25 +08:00
Katherine
eaa06441d0
fix: refresh list automatically after closing modal following add operation (#4699) 2024-06-19 09:54:10 +08:00
Zeke Zhang
2300104586 chore: skip unstable e2e test 2024-06-19 09:31:13 +08:00
Junyi
ed89dd04c8
fix(client): fix upload progress style (#4698) 2024-06-18 23:40:56 +08:00
Zeke Zhang
6e0074fb66
fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading (#4691)
* test: add e2e test

* fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading

* chore: optimize e2e test

* chore: fix unit tests

* chore: make e2e more stable
2024-06-18 19:28:22 +08:00
Katherine
c4c7a3ea3e
refactor: sub-table disabled dragSort (#4696)
* refactor: sub-table disableddragSort

* refactor: sub-table disabled dragSort
2024-06-18 16:42:47 +08:00
Katherine
8a7e86fdd6
fix: height calculation for full-height tabs in approval initiation and approval block (#4686) 2024-06-18 16:42:32 +08:00
ChengLei Shao
bb82faf583
chore(data-source-main): field name exists error message (#4689)
* chore: test

* chore: throw field name exists error

* chore: error message

* chore: error locale

* fix: i18n message
2024-06-18 16:34:35 +08:00
ChengLei Shao
f61b56fe4f
chore(database): mediumtext type support (#4697) 2024-06-18 16:03:35 +08:00
ChengLei Shao
06e166f8da
fix(database): find model in hooks (#4694)
* chore: test

* fix(database): find model in hooks
2024-06-18 15:31:45 +08:00
Junyi
9bef416d51
refactor(plugin-workflow-dc): move collection template to plugin and remove sort field (#4682)
* refactor(plugin-workflow-dc): move collection template to plugin and remove sort field

* fix(client): fix variable component style
2024-06-17 18:21:11 +08:00
Katherine
2b7544bdc4
refactor: workflow block && template block support setting block height (#4678)
* refactor: workflow support setting block height

* refactor: support block template

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-17 16:37:31 +08:00
Katherine
6b6b69ae09
fix: restore field height spacing after removing description in form (#4679) 2024-06-17 16:31:59 +08:00
GitHub Actions Bot
9de4853030 chore(versions): 😊 publish v1.2.4-alpha 2024-06-17 00:53:36 +00:00
jack zhang
c66744d4a8
fix: action modal icon and Initializer menu close when click (#4664)
* fix: action modal icon and Initializer menu close when click

* fix: bug

* fix: bug

* feat: bug

* fix: e2e bug
2024-06-15 18:03:33 +08:00
Katherine
d2b2ac69e6
fix: chart block actionBar style (#4666) 2024-06-14 20:27:34 +08:00
Zeke Zhang
1fcf1320c2
fix(duplicate): resolve error on click (#4658)
* fix(duplicate): resolve error on click

* test: add e2e test
2024-06-14 15:08:56 +08:00
Katherine
ec22846bbb
style: list block (#4665) 2024-06-14 14:13:58 +08:00
ChengLei Shao
e56e52ad49
chore(action-import): validate association & select field value (#4643)
* chore: validate association value in import

* chore: validate value in select field

* fix: test
2024-06-14 12:02:03 +08:00
Katherine
8260cfc817
fix: form/detail/filter block height (#4652)
* fix: form/detail/filter block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-14 11:11:50 +08:00
ChengLei Shao
b9bc94e062
chore(test): skipping websocket-related tests currently causes vitest to hang (#4644) 2024-06-14 10:19:56 +08:00
RakuCloud
a49d958086
Update ja_JP.json (#4650)
change "Submit": "送信" to "Submit": "保存",
2024-06-13 23:04:23 +08:00
Junyi
a38e4ada05
fix(plugin-fm): set invalid when uploading is not completed to avoid submit (#4653) 2024-06-13 18:11:39 +08:00
Katherine
1d568c635e
fix: client test (#4648) 2024-06-13 12:38:18 +08:00
GitHub Actions Bot
deacbf25e9 chore(versions): 😊 publish v1.2.3-alpha 2024-06-13 03:48:21 +00:00
Katherine
e8c2bffe20
style(client): grid style improve (#4647)
* style: grid style improve

* refactor: remove min height for block heght

* fix: min height
2024-06-13 10:41:27 +08:00
Katherine
ecb56130cf
style: markdown block style improve (#4639) 2024-06-12 21:01:58 +08:00
GitHub Actions Bot
e45bdb7d2f chore(versions): 😊 publish v1.2.2-alpha 2024-06-12 09:56:27 +00:00
Sheldon Guo
45614c8d72
feat: support qrcode embed in markdown and scan in mobile (#4638)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: support qrcode embed in markdown and scan in mobile

* fix: fix markdown button be covered problem

* fix: fix unit test error

* fix: fix unit test errors

* refactor: use react router in qrcode scanner

* feat: markdown add loading

* fix: fix blank content in print page

* refactor: change plugin dependencies to devDependencies

* feat: add some padding in markdown editor

* chore: improve some code

* feat: improve code

* fix: add QRCodeScanner

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version

* chore: improve some code

* chore: improve some code

* fix: i18n

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-12 17:47:43 +08:00
Junyi
2aa46171b2
refactor(plugin-workflow): use assigned fields for create/update node values (#4546)
* refactor(plugin-workflow): use assigned fields for create/update node values

* fix(plugin-workflow): fix schema and values when change collection

* fix(plugin-workflow): fix node form initial values

* test: fix e2e

* fix(plugin-workflow): fix add node error

* refactor(plugin-workflow): change to self host schema in node

* feat(plugin-workflow): make collection uneditable after first saved

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-06-12 15:12:31 +08:00
Katherine
aecc4a9739
fix: block height calculation (#4629)
* fix: block height calculation

* fix: test
2024-06-12 14:50:40 +08:00
GitHub Actions Bot
0d6ebe16cf chore(versions): 😊 publish v1.2.1-alpha 2024-06-12 05:15:06 +00:00
chenos
06f2df8d2e fix: update package.json 2024-06-12 13:12:50 +08:00
chenos
75f5098ded fix: use dataSource.collectionManager.getCollection 2024-06-12 12:56:26 +08:00
GitHub Actions Bot
79634179a4 chore(versions): 😊 publish v1.2.0-alpha 2024-06-12 03:39:54 +00:00
Zeke Zhang
e6848858d4
fix(filter-form): fix auto-trigger filter action without default value (#4627)
* test: add e2e test

* test: add unit tests

* fix(reset-button): prevent data clear when default values exist

* fix: resolve known issues and add tests
2024-06-12 11:07:04 +08:00
Katherine
5d48b3b5aa
fix: page freeze when handling formula field in sub-table after add,select and delete record (#4613)
* fix: page freeze when handling formula field in sub-table after add, select, and delete record

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug
2024-06-12 10:08:54 +08:00
chenos
585fea650e
feat: workbench block (#4555)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: improve code

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version
2024-06-12 09:40:14 +08:00
GitHub Actions Bot
c7060aeceb chore(versions): 😊 publish v1.0.1-alpha.3 2024-06-11 23:57:39 +00:00
ChengLei Shao
454079b510
fix: import data with association field (#4623)
* fix: import china region

* fix: import to many data

* chore: sequence field test

* fix: import with explain template

* fix: log error cause in error handler
2024-06-11 23:11:23 +08:00
jack zhang
a5fc22c6b0
feat: tree block (#4566)
* feat: tree block

* fix: remove showSettings

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: table tree expand

* fix: bug

* fix: connection bug T-4501

* fix: template settings bug
2024-06-11 22:53:04 +08:00
GitHub Actions Bot
092f3afab1 chore(versions): 😊 publish v1.0.1-alpha.2 2024-06-11 12:13:31 +00:00
Zeke Zhang
b97e103001
feat(filter-form): auto-trigger filter action when default values exist (#4622)
* test: add e2e test

* feat(filter-form): auto-trigger filter action when default values exist
2024-06-11 20:04:39 +08:00
Katherine
82c8bff835
fix: table block height issue with minimal data (#4617) 2024-06-11 18:10:41 +08:00
YANG QIA
0fb18b495f
fix(auth): allows to set the auth type title translation from server end (#4616)
* fix(auth): allows to set auth type title translation from server end

* chore: move tval to utils

* chore: mark deprecated

* fix: test
2024-06-11 14:25:07 +08:00
YANG QIA
aae75de70b
feat(tree-block): support filtering child nodes (#4603)
* feat(tree-block): support filtering child nodes

* test: add list test

* test: remove only

* fix: use isValidFilter
2024-06-11 11:34:11 +08:00
Junyi
11fcc9d7ae
fix(client): fix text wrap in variable input (#4605)
* fix(client): fix text wrap in variable input

* fix(client): revert css
2024-06-10 17:26:29 +08:00
chenos
1d2ac6b85e
fix: remove grid wrap (#4612) 2024-06-10 15:31:19 +08:00
David Fecke
328b0da846
feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)
* feat(client): allow json5 value in form-item type json component

* test: fix tests

* chore: set json5 default as false

* chore: add demo

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-06-10 11:09:26 +08:00
Katherine
73bf5f328d
fix: iframe block loses height when set to default (#4602)
* fix: iframe block loses height when set to default

* refactor: local improve
2024-06-08 12:57:14 +08:00
Zeke Zhang
056a126d3a
chore: fix typo (#4589) 2024-06-08 09:16:13 +08:00
GitHub Actions Bot
9218319d02 chore(versions): 😊 publish v1.0.1-alpha.1 2024-06-07 13:46:37 +00:00
Katherine
7439a663f5
fix: style issues for gridCard in mobile client (#4599)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style improve
2024-06-07 20:56:07 +08:00
Katherine
b00631ab89
fix: style issues for gridCard in mobile client (#4593)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug
2024-06-07 20:39:22 +08:00
Zeke Zhang
7d4ae69f08
fix(variable): should remove through collection field (#4590) 2024-06-07 14:05:39 +08:00
YANG QIA
34108f1fcb
feat(data-vi): support for using url params and current role variables (#4586)
* feat(data-vi): support for using url params and current role variable

* fix: bug
2024-06-07 11:43:11 +08:00
Zeke Zhang
837f4f4158
refactor(variable): support default value setting (#4583)
* refactor(variable): support default value setting

* chore: add e2e test for URL search params variable

* fix: resolve field linkage errors

* chore: fix unit test

* test: association select data scope linkage

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-07 10:23:28 +08:00
Katherine
17edad6014
fix: compatibility issues with historical kanban and iframe block (#4587)
* fix: iframe params undefined

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block
2024-06-07 10:22:13 +08:00
Zeke Zhang
4743b2b689
fix(linkage-rules): resolve issue with invalid expressions (#4580)
* fix(linkage-rules): resolve issue with invalid expressions

* test: add e2e test for expression

* refactor: extract template
2024-06-06 19:38:38 +08:00
chenos
22a89861f6
feat: url support preview (#4559)
* feat: url support preview

* feat: add settings for Input.Preview

* refactor: refactor CollectionField.tsx to use dynamic component

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

This reverts commit 37719eb28e.

* test: add e2e test

* refactor(e2e): extract template

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-06-06 14:11:10 +08:00
Katherine
74a5090ae8
fix: correct precision conversion error for Unix timestamp in readPretty (#4569) 2024-06-06 09:27:57 +08:00
Junyi
15424f4c88
fix(client): fix action props (#4568) 2024-06-05 20:43:19 +08:00
Zeke Zhang
cdd98c91bf chore(e2e): optimize e2e test 2024-06-05 18:02:47 +08:00
ChengLei Shao
2063227f4a
refactor: export & import plugin (#4468)
* feat: chunk method in repository

* chore: xlsx export test

* chore: xlsx export

* chore: export action

* chore: export action

* chore: code

* feat: database interface manager

* feat: export with ui schema

* chore: console.log

* chore: export with china region field

* chore: export with attachments

* chore: export with multiple select

* chore: export with interface

* chore: export action

* fix: export with datetime file

* chore: limit export action running in same time

* chore: yarn.lock

* fix: render json value

* chore: chunk with limit

* feat: add EXPORT_LIMIT env config

* fix: typo

* fix: type

* chore: asyn mutex version

* chore: test

* chore: test

* fix: export null value

* chore: test

* chore: createdAt test

* fix: export with createdAt

* chore: import template

* chore: xlsx importer

* chore: import run

* chore: export with data source api

* chore: toValue api in interface

* fix: build

* chore: import with transaction

* fix: build database

* chore: many to one interface

* chore: code

* chore: import with associations

* chore: default toValue

* chore: import template with explain

* chore: import with explain template

* chore: reset id seq after import

* chore: download template action

* fix: database build

* fix: build

* fix: build

* fix: test

* chore: import with number field

* chore: import with boolean field

* chore: json interface

* chore: import action

* chore: typo

* chore: i18n

* chore: select interface

* chore: china region interface

* chore: datetiem field

* chore: cast to array

* fix: import tips

* chore: import await

* fix: test

* fix: test in mariadb

* chore: comments

* chore: comments

* fix: parse date with empty string

* fix: read import limit

* fix: type

* fix: test in mariadb

* chore: skip bigint test in sqlite

* chore: skip bigint test in sqlite

* chore: download tip i18n keys

* fix: download tips

* feat(client): add new variable named 'URL search params' and support link action (#4506)

* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>

* refactor(FormV2): add FormWithDataTemplates component (#4551)

* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable

* chore: import warning i18n

* chore: import warning i18n

* fix: bug

* fix: export action loading

* fix: bug

* chore: map field interface

* fix: merge bug

---------

Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 17:52:43 +08:00
Katherine
1cc35e1ef5
fix: styling issues during field drag-and-drop in details/form/list block (#4558)
* fix: styling issues during field drag-and-drop in details/form/list block

* refactor: code improve

* refactor: code improve

* refactor: code improve
2024-06-05 16:50:18 +08:00
Zeke Zhang
1dc6a25aa4
chore(e2e): make e2e tests more stable (#4565)
* chore(e2e): make e2e tests more stable

* fix(e2e): add immediate param for clearBlockTemplates
2024-06-05 16:44:47 +08:00
YANG QIA
af1325f055
fix(l10n): i18n namespace of page title (#4557) 2024-06-05 15:38:16 +08:00
Katherine
ec15f9e35a
feat: iframe support variables (#4512)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* feat: iframe support variables

* fix: menu selectKeys (T-4373)

* feat: iframe support variables

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: bug

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix: bug

* fix: bug

* fix(Link): hide linkage rules in top link (T-4410)

* fix: bug

* fix: bug

* fix: bug

* refactor: extract commonOptions

* fix: remove 'Current record' variable

* chore: fix unit tests

* fix: bug

* chore: make unit tests pass

* fix: fix build

* fix(e2e): resolve errors due to compilation issues

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 15:25:04 +08:00
Junyi
924a328501
fix(client): fix upload logo in system settings (#4564) 2024-06-05 14:50:55 +08:00
Junyi
3f8ab46dc1
fix(plugin-fm): fix attachment component selectable check (#4563) 2024-06-05 14:50:38 +08:00
Junyi
d7866a6b51
fix(client): fix waring props (#4562) 2024-06-05 14:49:49 +08:00
Junyi
8cc5ad2abf
fix(plugin-fm): fix page crash when 413 in local dev (#4560) 2024-06-05 13:46:34 +08:00
Zeke Zhang
2dfa7a2625 Revert "chore: make e2e tests more stable"
This reverts commit 46f219f0cc.
2024-06-05 12:41:19 +08:00
Zeke Zhang
46f219f0cc chore: make e2e tests more stable 2024-06-05 10:02:42 +08:00
Zeke Zhang
bab5d40dbe
refactor(FormV2): add FormWithDataTemplates component (#4551)
* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable
2024-06-04 21:35:37 +08:00
Zeke Zhang
f66edb5d27
feat(client): add new variable named 'URL search params' and support link action (#4506)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-04 20:57:03 +08:00
Katherine
0b8f762d8b
feat: data block support setting block height (#4441)
* feat: data block support setting block height

* feat: form block support setting block height

* feat: form block support setting block height

* feat: detail block height

* test: fix

* fix: bug

* feat: grid card support block height

* feat: kanban support block height

* feat: kanban support block height

* feat: calender support block height

* feat: calender support block height

* feat: map support block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* test: skip

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: blockinitializers style improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: test

* fix: test

* fix: test
2024-06-04 17:32:01 +08:00
YANG QIA
9b7abf7295
feat(logger): support for collecting debug informations when rendering failed (#4524)
* feat(logger): support for collecting debug informations when rendering failed

* chore: update

* feat: add location information

* fix: test

* fix: test

* fix: tests

* fix: bug
2024-06-04 12:10:17 +08:00
Katherine
e842cd4cab
fix: data filtering and formula field value errors after subtable record selection (#4547)
* fix: data filter issue after selecting records in subtable

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-04 11:05:42 +08:00
Katherine
1b1930b328
fix: show cascade select when no data in edit form (#4543) 2024-06-03 14:30:18 +08:00
Zeke Zhang
63f71994ab
test(block-templates): add test cases (#4540) 2024-06-02 18:52:04 +08:00
Zeke Zhang
773f05dcd2
feat(client): adjust toolbar for Table Actions (#4538)
* feat(client): adjust toolbar for Table Actions

* chore: ensure backward compatibility

* chore: update e2e tests

* chore: fix fialed unit tests

* Revert "chore: update e2e tests"

This reverts commit 0a70171687.

* chore: update e2e tests

* chore: update e2e tests

* chore: don't forget to revert me

* chore: update e2e tests

* chore: update e2e tests

* Revert "chore: don't forget to revert me"

This reverts commit 29a51dff28.

* chore: update timeout and retries in defineConfig

* chore: make e2e tests more stable

* chore: make e2e tests more stable
2024-06-02 17:42:09 +08:00
dependabot[bot]
6bc3f7a540
chore(deps): bump sanitize-html from 2.10.0 to 2.13.0 (#4505)
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.10.0 to 2.13.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.13.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  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-06-01 18:36:28 +08:00
Zeke Zhang
db66090ab2
fix(client): fix data template style (#4536) 2024-06-01 10:58:24 +08:00
Katherine
dc309cbab5
fix: prevent deletion of entire association field when removing the last column in subtable (#4518)
* fix: prevent deletion of entire association field  when removing the last column in subtable

* fix: node version

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-31 00:03:15 +08:00
jack zhang
285f719f9f
fix: table borded (#4534)
* fix: table borded

* fix: unit test
2024-05-30 18:35:20 +08:00
Zeke Zhang
803ea80e4b
fix(client): fix the issue where adding block templates in the popup does not display (#4531)
* chore: avoid crashing

* fix(client): fix the issue where adding block templates in the popup does not display
2024-05-30 17:45:35 +08:00
jack zhang
d83c102492
Fix/initializer improve (#4533)
* fix: imporve code

* fix: test bug
2024-05-30 17:20:09 +08:00
YANG QIA
950495c292
fix(i18n): fix i18n namespace for collection titles (#4530) 2024-05-30 15:35:07 +08:00
Katherine
38fa7f8f03
fix: disable cascading select component for association field in subtable (#4517) 2024-05-30 14:42:56 +08:00
Katherine
9e8335572a
fix: association field enablement affecting block field states (#4528) 2024-05-30 14:42:28 +08:00
Junyi
073e2b0d5b
fix(utils): fix json-templates (#4525) 2024-05-30 12:10:05 +08:00
Junyi
04449fa486
fix(client): fix deep association select in AppendsTreeSelect component (#4526) 2024-05-30 09:11:34 +08:00
jack zhang
8323c978fc
fix: table drag error (#4511) 2024-05-29 22:46:36 +08:00
Zeke Zhang
b43f896882
fix(client): fix the issue where setting default values using variabl… (#4521)
* fix(client): fix the issue where setting default values using variables in the sub-table is not work

* test: add unit tests
2024-05-29 17:27:29 +08:00
Katherine
6a9d39f25d
fix: update form submit action missing linkageRules setting (#4515) 2024-05-29 13:47:00 +08:00
Zeke Zhang
e03b5b873b
chore: add group title to Table item action settings (#4516) 2024-05-29 13:08:53 +08:00
Junyi
fb2504257b
fix(client): fix Variable.TextArea style (#4513) 2024-05-29 13:02:30 +08:00
Junyi
1dc7a39780
feat(plugin-fm): make rules configurable (#4118)
* feat(plugin-fm): make rules configurable

* fix(client): fix upload test cases

* refactor(client): remove dulicated code

* refactor(client): upload component

* refactor(client): remove a lot of duplicated code

* fix(client): fix upload in system settings

* fix(client): fix test case

* fix(client): fix test case

* fix(client): fix test case

* chore: update yarn.lock

* fix(client): fix test case

* fix: api mock

* refactor(client): refactor hooks

* docs(client): add demo code

* fix: ci

* fix(client): fix import package

* fix: filesize

* fix(client): fix upload component

* fix(client): deprecate preview component and move to file-manager

* fix(plugin-fm): fix storage changes in attachment field and locales

* refactor(plugin-fm): add migration for attachment field storage

* test(plugin-fm): add test case

* feat(plugin-fm): add storage size component

* fix(plugin-fm): fix component

* refactor(plugin-fm): adjust constant

* fix(plugin-fm): fix default local size limit

* fix(plugin-fm): fix test cases

* fix(plugin-fm): fix test case

* fix(plugin-fm): fix rule hook

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-29 09:33:23 +08:00
YANG QIA
98a8e687b1
feat(client): refining error fallback for different components when catching errors (#4459)
* feat(client): refining error fallback for different components when catching errors

* fix: build

* refactor: `ErrorFallback.Inline` to `ErrorFallback.Modal`

* feat: toolbar error fallback

* chore: add deprecated comment

* fix: useSchemaToolbarRender
2024-05-28 13:26:38 +08:00
Katherine
9528da51be
refactor: remove all frontend checks for isForeignKey (#4499)
* refactor: remove all frontend checks for isForeignKey

* fix: bug
2024-05-27 21:21:40 +08:00
ChengLei Shao
56dc06dcc0
fix: after update event in single relation repository (#4503)
* fix: after update event in single relation repository

* test(plugin-workflow): add association collection trigger

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-05-27 20:52:15 +08:00
YANG QIA
0adf5fb6b7
chore(auth): change char length limit of username to 1-50 (#4502) 2024-05-27 17:39:39 +08:00
Katherine
02ebede15a
fix: sub-table support allowAddNew setting (#4498) 2024-05-27 16:48:01 +08:00
GitHub Actions Bot
53eb054848 chore(versions): 😊 publish v1.0.0-alpha.17 2024-05-27 06:44:39 +00:00
Zeke Zhang
13362dab25
fix: optimize data scope variable in permission configuration (#4484)
* fix: optimize data scope variable in permission configuration

* test: add e2e test

* chore: fix failed e2e

* fix: optimize data scope variable in permission configuration

* chore: skip weird test
2024-05-27 12:09:28 +08:00
Katherine
a3e47832a6
refactor: form linkage rule to cancel assignment when multiple fields are selected (#4492) 2024-05-27 11:51:04 +08:00
Chareice
eb0471fe53
chore: retry in dev env 2024-05-27 11:43:26 +08:00
Chareice
b576670826
chore: database prepare error message 2024-05-27 11:39:05 +08:00
GitHub Actions Bot
2e7744f85c chore(versions): 😊 publish v1.0.0-alpha.16 2024-05-27 01:28:10 +00:00
Katherine
8a863226f2
fix: numeric field display issue in form linkage rule (#4482)
* fix:  numeric field display issue in form linkage rule

* fix: bug
2024-05-26 07:37:29 +08:00
ChengLei Shao
bbbb409565
chore: application start error message (#4477) 2024-05-24 08:26:08 +08:00
Zeke Zhang
cece85b335
fix(subTable): prevent setting default value for fields that have been unmounted (#4475) 2024-05-23 23:39:45 +08:00
ChengLei Shao
aa1ed6737d
fix: attachment collection permission (#4470) 2024-05-23 19:50:24 +08:00
ChengLei Shao
0dd3ea8d2e
fix(database): foreign key index in underscored table (#4473)
* fix: foreign key index in underscored table

* chore: test
2024-05-23 19:49:49 +08:00
Katherine
11343bc9be
fix: missing app context in modal (#4457)
* fix: useCurrentFormVariable

* test: table action row action linkage by row data

* test: detail block support linkage rule

* test: detail block support linkage rule

* test: detail block support linkage rule

* fix: missing app context in modal
2024-05-23 09:33:55 +08:00