Commit Graph

1780 Commits

Author SHA1 Message Date
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
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
Katherine
850a1dca64
fix: page freeze issue when hiding formula fields through linkage rules (#4846)
undefined
2024-07-08 22:29:12 +08:00
ChengLei Shao
fb8ff62d01
chore(data-source-main): i18n of field depended error (#4843)
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-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
NocoBase Backend Test / sqlite-test (20, false) (push) Has been cancelled
NocoBase Backend Test / sqlite-test (20, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Has been cancelled
NocoBase Backend Test / mysql-test (20, false) (push) Has been cancelled
NocoBase Backend Test / mysql-test (20, true) (push) Has been cancelled
NocoBase Backend Test / mariadb-test (20, false) (push) Has been cancelled
NocoBase Backend Test / mariadb-test (20, true) (push) Has been cancelled
Test on Windows / build (push) Has been cancelled
2024-07-08 09:21:29 +08:00
ChengLei Shao
18801aa438
fix(action-export): export with custom field title (#4825)
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-07 19:58:41 +08:00
ChengLei Shao
558bb49f57
chore(datasource-main): throw error when destory field if field is used by association field (#4833)
* chore(datasource-main): throw error when destory field if field is used by association field

* fix: test

* chore: destory field

* chore: test

* Update beforeDestoryField.ts
2024-07-07 16:41:06 +08:00
ChengLei Shao
4b2ac3eeb0
chore: mutex task message of import and export (#4834)
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-06 22:00:05 +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
Junyi
fa6498ae78
chore(plugin-workflow): expose entire error into node result (#4799)
Some checks failed
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
Build Docker Image / build-and-push (push) Has been cancelled
Build Pro Image / build-and-push (push) Has been cancelled
deploy client docs / Build (push) Has been cancelled
NocoBase Backend Test / sqlite-test (20, false) (push) Has been cancelled
NocoBase Backend Test / sqlite-test (20, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Has been cancelled
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Has been cancelled
NocoBase Backend Test / mysql-test (20, false) (push) Has been cancelled
NocoBase Backend Test / mysql-test (20, true) (push) Has been cancelled
NocoBase Backend Test / mariadb-test (20, false) (push) Has been cancelled
NocoBase Backend Test / mariadb-test (20, true) (push) Has been cancelled
NocoBase FrontEnd Test / frontend-test (18) (push) Has been cancelled
Test on Windows / build (push) Has been cancelled
2024-07-05 17:16:05 +08:00
GitHub Actions Bot
415eb52cef chore(versions): 😊 publish v1.2.12-alpha 2024-07-05 09:10:05 +00:00
Chareice
b3c0e5fbe3
Merge branch 'main' into next 2024-07-05 10:24:41 +08:00
Katherine
a754bcedd8
fix: external data source filterTargetKey undefined in filter action (#4815)
* fix: external data source filterTargetKey undefined in filter action

* fix: bug
2024-07-05 09:45:52 +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
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
YANG QIA
88519c9c8f
fix: bug (#4816)
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
Test on Windows / build (push) Waiting to run
2024-07-04 18:23:48 +08:00
ChengLei Shao
fbfbcdeb2c
chore: add import export permission to admin & member user (#4809)
* chore: add import export permission to admin & member user

* fix: test
2024-07-04 17:32:52 +08:00
ChengLei Shao
31b7a3f4b9
chore: add import export permission to member user (#4808)
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
Test on Windows / build (push) Waiting to run
2024-07-04 07:52:57 +08:00
xilesun
4138432878 Merge branch 'main' into next 2024-07-02 12:23:25 +08:00
Katherine
9e95aec449
fix: incorrect highlight linkage for association field (#4794)
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
2024-07-02 10:19:51 +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
Katherine
59c9c0e06e
fix: external data source not reloading when title field is updated (#4786) 2024-07-01 16:12:49 +08:00
xilesun
74ef97343b Merge branch 'main' into next 2024-07-01 10:24:26 +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
hongboji
99f88ee09f
test: approvals workflow e2e (#4781) 2024-06-30 21:31:27 +08:00
Sheldon Guo
ac7e48c5f6 refactor: rewrite the UI of the code scanner. (#4677)
* 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

* refactor: refact the UI of code scanner

* feat: add some locale

* feat: add qrbox

* feat: add image upload and fix qrbox

* feat: fix full screen problem

* fix: fix not full screen problem

* fix: add some error handling

* feat: add album locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-30 19:32:32 +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
Sheldon Guo
ba1cdce6e9
refactor: rewrite the UI of the code scanner. (#4677)
* 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

* refactor: refact the UI of code scanner

* feat: add some locale

* feat: add qrbox

* feat: add image upload and fix qrbox

* feat: fix full screen problem

* fix: fix not full screen problem

* fix: add some error handling

* feat: add album locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-30 10:09:46 +08:00
Junyi
86a56ef7cc
refactor(plugin-workflow): add deferred option for async workflow triggering (#4772)
* feat(plugin-workflow): add deferred option for async workflow triggering

* fix(plugin-workflow): revert type back

* fix(plugin-workflow): fix status checking
2024-06-28 11:59:22 +08:00
GitHub Actions Bot
a2039c2f0d chore(versions): 😊 publish v1.2.11-alpha 2024-06-28 03:43:02 +00: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
YANG QIA
04015596df
fix(i18n): incorrect namespaces of plugins (#4771) 2024-06-27 18:12:51 +08:00
Junyi
3949473ad3
fix(plugin-workflow-mailer): fix payload in sync mode (#4765)
* chore(plugin-workflow-mailer): add error log

* fix(plugin-workflow-mailer): fix payload in sync mode

* fix(plugin-workflow-mailer): add trim for subject
2024-06-27 16:04:17 +08:00
Junyi
ac76fc92d8
feat(plugin-workflow): add mode column to show if sync or not (#4767)
* feat(plugin-workflow): add mode column to show if sync or not

* fix(plugin-workflow): fix trigger tag
2024-06-27 15:11:00 +08:00
GitHub Actions Bot
4a50647210 chore(versions): 😊 publish v1.2.9-alpha 2024-06-27 03:02:41 +00:00
Junyi
ca9b5b1f1e
test(plugin-workflow): check for duplicated triggering (#4762)
* test(plugin-workflow): check for duplicated triggering

* fix(plugin-workflow): fix test case
2024-06-26 22:20:12 +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
Junyi
79c6cad59d
fix(plugin-workflow): fix ui crash with unknown type trigger or node (#4761)
* fix(plugin-workflow): fix ui crash with unknown type trigger or node

* fix(plugin-workflow): add missed locale
2024-06-26 18:23:31 +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
chenos
e7cdc0daf5 chore(block-workbench): update package.json 2024-06-26 09:50:31 +08:00
chenos
72e3d0c0ac fix(block-workbench): destroy after close modal 2024-06-26 09:21:12 +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
GitHub Actions Bot
3a8867eaef chore(versions): 😊 publish v1.2.8-alpha 2024-06-25 07:29:25 +00:00
chenos
dac110931b
chore: update dependencies (#4747)
* chore: update dependencies
* fix: @formily/antd-v5
2024-06-25 12:44:51 +08:00
jack zhang
9daf893704
fix: adjust print content (#4746)
* fix: adjust print content

* fix: bug
2024-06-25 11:42:51 +08:00
Katherine
935f9892fc
fix: double scrollbar on mobile client causing scrolling issues (#4745) 2024-06-25 10:39:42 +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
GitHub Actions Bot
927641349f chore(versions): 😊 publish v1.2.7-alpha 2024-06-24 02:04:24 +00:00
Junyi
095b50f964
fix(plugin-workflow): fix duplicating sync workflow (#4727) 2024-06-22 14:44:18 +08:00
ke
d7733ed363
chore(data-vi): remove addMigrations (#4713) 2024-06-22 14:21:07 +08:00
chenos
e2a22d4c26 fix(vditor): lang error 2024-06-22 13:25:31 +08:00
Junyi
1cba634f7d
fix(plugin-workflow): add loading for adding node (#4726)
* fix(plugin-workflow): add loading for adding node

* test(plugin-workflow): add test case

* test(plugin-workflow): skip concurrency case
2024-06-22 10:20:52 +08:00
Junyi
bda976efdf
fix(plugin-workflow): fix designable of assign fields in create/update node (#4724) 2024-06-21 16:56:19 +08:00
GitHub Actions Bot
504f8d107c chore(versions): 😊 publish v1.2.6-alpha 2024-06-20 04:40:35 +00:00
Junyi
8a629d06ad
fix(plugin-workflow): fix client warning (#4709)
* fix(plugin-workflow): fix client warning

* fix(plugin-workflow): fix build error
2024-06-20 10:59:36 +08:00
Junyi
a9f1ce7bd6
fix(plugin-workflow): fix undefined error of action trigger (#4710) 2024-06-20 10:36:43 +08:00
GitHub Actions Bot
9968eda02b chore(versions): 😊 publish v1.2.5-alpha 2024-06-19 22:58:05 +00:00
Junyi
5ad3a854c5
fix(plugin-fm): fix thumbnail rule (#4707) 2024-06-19 21:22:32 +08:00
chenos
8586992219 fix: using the global cron locale 2024-06-19 17:52:34 +08:00
Junyi
173dfbfe21
fix(plugin-workflow): fix locale key in storage (#4704) 2024-06-19 14:01:02 +08:00
chenos
2d2f1c8cc8 fix: get the APIClient instance from the app instance 2024-06-19 13:20:15 +08:00
Katherine
0e778e7e47
fix: select field set as title field (#4703)
* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field
2024-06-19 11:25:43 +08:00
ChengLei Shao
6522720a96
fix(backup-restore): snippet name (#4700) 2024-06-19 07:51:46 +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
Junyi
3838793c50
feat(plugin-field-sequence): allow to customize date format (#4685)
* feat(plugin-field-sequence): allow to customize date format

* chore(plugin-sequence): remove debug log
2024-06-18 01:11:30 +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
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
chenos
6c431caec4 fix(mock-collections): syntax error at or near "-" 2024-06-15 15:35:12 +08:00
YANG QIA
de0fb26609
fix(data-vi): custom filter conditions are not applied (#4671)
* fix(data-vi): custom filter conditions are not applied

* fix: default value
2024-06-15 13:35:27 +08:00
Katherine
d2b2ac69e6
fix: chart block actionBar style (#4666) 2024-06-14 20:27:34 +08:00
YANG QIA
5a3466a73a
feat(data-vi): allows to use json5 in chart json config (#4668) 2024-06-14 20:19:22 +08:00
xilesun
8e20aac7a7 fix(data-vi): js expressions in advanced config is not saved 2024-06-14 19:52:48 +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
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
Junyi
c747ea65c4
fix(plugin-workflow): fix incorrectly schema reaction (#4661)
* fix(plugin-workflow): fix incorrectly schema reaction

* fix(plugin-workflow): add migration
2024-06-14 08:49:36 +08:00
YANG QIA
d8e80ecb41
fix(logger): fix the issue where workflow log files do not output (#4657) 2024-06-13 22:53:02 +08:00
Junyi
c2687f71e3
fix(plugin-fm): add migration for fixing new added legacy attachment field (#4649)
* fix(plugin-fm): add migration for fixing new added legacy attachment field

* fix(plugin-fm): add uischema fix

* fix: migration
2024-06-13 18:12:22 +08:00
GitHub Actions Bot
deacbf25e9 chore(versions): 😊 publish v1.2.3-alpha 2024-06-13 03:48:21 +00:00
Junyi
a6c16cf3db
refactor(plugin-workflow): add card layout for assigning fields (#4642) 2024-06-12 23:46:05 +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
Junyi
577f9a34e8
fix(plugin-workflow-request): fix test (#4634) 2024-06-12 15:12:07 +08:00
GitHub Actions Bot
0d6ebe16cf chore(versions): 😊 publish v1.2.1-alpha 2024-06-12 05:15:06 +00:00
ChengLei Shao
690b7cd636
chore(action-import): skip reset sequence if no auto-increment primary is imported (#4631)
* chore: auto incr primary key imported test

* chore: skip reset sequence if no auto increment primary imported
2024-06-12 11:45:45 +08:00
GitHub Actions Bot
79634179a4 chore(versions): 😊 publish v1.2.0-alpha 2024-06-12 03:39:54 +00: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
YANG QIA
4e8bbf884c
fix(auth): translation of sign in page (#4624) 2024-06-11 23:37:00 +08: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
dependabot[bot]
868813b5fc
chore(deps-dev): bump multer-aliyun-oss from 2.1.1 to 2.1.3 (#4614)
Bumps [multer-aliyun-oss](https://github.com/ay86/multer-aliyun-oss) from 2.1.1 to 2.1.3.
- [Commits](https://github.com/ay86/multer-aliyun-oss/commits)

---
updated-dependencies:
- dependency-name: multer-aliyun-oss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 22:38:30 +08:00
GitHub Actions Bot
092f3afab1 chore(versions): 😊 publish v1.0.1-alpha.2 2024-06-11 12:13:31 +00:00
Katherine
aa39b44d1b
fix: missing height in map history block (#4621) 2024-06-11 18:11:30 +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
Katherine
b9fda22fb1
fix(export): export button remaining in loading state after cancel (#4615) 2024-06-11 11:35:53 +08:00
Junyi
792200278e
refactor(plugin-workflow): change variable getter from collection fields (#4567)
* refactor(plugin-workflow): change variable getter from collection fields

* fix(plugin-workflow): fix import

* chore(plugin-workflow-action-trigger): remove unused import

* fix(plugin-workflow): fix collection field in workflow variable

* refactor(plugin-workflow-manual): avoid tslint error
2024-06-10 16:30:43 +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
Junyi
d090f27346
feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584)
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow

* refactor(plugin-workflow-mailer): change plugin name and locales

* fix(plugin-workflow-mailer): fix parameters

* fix(preset): add new plugin to preset

* fix(plugin-workflow-mailer): fix locale namespace
2024-06-08 09:19:30 +08:00
GitHub Actions Bot
9218319d02 chore(versions): 😊 publish v1.0.1-alpha.1 2024-06-07 13:46:37 +00: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
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
chenos
cf740897cc fix(ci): skip some test cases on the Windows platform 2024-06-07 10:19:49 +08:00
YANG QIA
0c637e8890
fix(map): amap reset (#4574) 2024-06-06 15:48:00 +08:00
Junyi
361ebee130
feat(plugin-workflow): allow to select any path of a variable in condition node (#4571) 2024-06-05 23:28:06 +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
65b91797ee
fix: sign up page not found for a new basic authentication (#4556) 2024-06-05 15:38:34 +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
Daniel Jimenez Gutierrez
bef0dcb7de
fix defaultImage in constants.ts for google maps (#4483)
Somehow the image was corrupted, I made a regression to a past constant and now it works.
2024-06-05 10:15:48 +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
Junyi
1c990ba0a5
fix(plugin-workflow): fix workflow version dropdown overflow (#4542) 2024-06-02 23:01:35 +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
Junyi
ccef72cb0b
fix(plugin-fm): fix cos path error (#4537) 2024-05-31 11:29:31 +08:00
Junyi
40999ed22e
fix(plugin-fm): fix delete file error of cos (#4529)
* fix(plugin-fm): fix cos delete file record

* fix(plugin-fm): fix file cannot be deleted in cos

* fix(plugin-fm): fix path join logic

* fix(plugin-fm): fix test cases
2024-05-30 19:22:38 +08:00
Zeke Zhang
96ba533158
fix(plugin-map): add 'Set default zoom level' option for map fields (#4527)
* fix(plugin-map): add 'Set default zoom level' option for map fields

* refactor: extract

* fix: should real-time map update after zoom changes
2024-05-30 15:01:51 +08:00
Zeke Zhang
eea3262469 chore: make e2e tests more stable 2024-05-30 09:41:23 +08:00
Junyi
77e0ff5ccc
fix(plugin-workflow-manual): fix custom form field wrong interface in manual node (#4520) 2024-05-29 16:46:50 +08:00
Junyi
bde1d1ee61
fix(plugin-workflow): fix trigger workflow acl (#4522) 2024-05-29 16:42:32 +08:00
Junyi
07a62b06a7
fix(plugin-workflow-request): fix locale (#4519) 2024-05-29 14:06:50 +08:00
YANG QIA
948a6345e0
fix(acl): use default role when x-role does not belong to the current user (#4507)
* fix(acl): use default role when `x-role` does not belong to the current user

* fix: test
2024-05-29 11:53:44 +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
f5079af61e
fix(data-vi): field component invisible when setting default value for filter field (#4509) 2024-05-28 15:26:01 +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
Zeke Zhang
a1909d9ce4 fix: fix loss of data scope field in permission configuration 2024-05-27 18:25:30 +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
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
GitHub Actions Bot
2e7744f85c chore(versions): 😊 publish v1.0.0-alpha.16 2024-05-27 01:28:10 +00:00
Katherine
bdde49ee84
fix: export action missing data scope filter (#4476) 2024-05-24 09:08:43 +08:00
ChengLei Shao
aa1ed6737d
fix: attachment collection permission (#4470) 2024-05-23 19:50:24 +08:00
Zeke Zhang
b052a8229c chore(kanban): remove name 2024-05-23 08:37:33 +08:00
Zeke Zhang
2d880e576f
fix(plugin): resolve error caused by duplicate addition of custom request (#4458) 2024-05-22 21:19:35 +08:00
Junyi
d62f61162d
fix(plugin-workflow): fix condition node variable error (#4437) 2024-05-21 19:30:23 +08:00
Junyi
0a6df92159
fix(plugin-workflow): fix empty value in create and update node association values (#4433) 2024-05-21 17:47:41 +08:00
GitHub Actions Bot
4f3a3c0931 chore(versions): 😊 publish v1.0.0-alpha.15 2024-05-21 02:53:07 +00:00
Katherine
8fbfd830c9
refactor: collection manager setting title field (#4419) 2024-05-21 10:30:36 +08:00
YANG QIA
f45b66dd98
feat(logger): add dailyRotateFile to default transport & add trace level (#4429) 2024-05-20 23:36:02 +08:00
Junyi
26a2a6204a
feat(plugin-workflow-request): allow to use response variables (#4414) 2024-05-20 18:50:12 +08:00
Junyi
021d400a2b
refactor(plugin-workflow): adjust multiple option in query node (#4412)
* refactor(plugin-workflow): adjust multiple option in query node

* fix(plugin-workflow): hide page size only when single

* fix(plugin-workflow): revert page param back and add fix cases

* fix: queryRecordNode

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-20 17:26:47 +08:00
Zeke Zhang
ef8e4aed48
fix(filter-form): fix operator not valid in block templates (#4390)
* fix(filter-form): fix operator not valid in block templates

* test: add e2e test

* test: clear data templates

* chore: fix e2e tests

* chore: stash

* chore: change import path to fix unit tests

* chore: change import path to fix unit tests

* chore: fix build
2024-05-20 16:50:34 +08:00
ChengLei Shao
48fdec6ff3
chore: migration to fix tree fields option (#4369)
* chore: migration to fix tree fields option

* fix: set value
2024-05-19 18:50:07 +08:00
YANG QIA
afa9f3faa4
fix(data-vi): transform values of multiple selection fields to labels (#4398) 2024-05-19 15:23:42 +08:00
Katherine
350652a515
fix: the inherited field should be able to be set as the title field (#4394) 2024-05-19 10:01:46 +08:00
YANG QIA
299c5a14cb
fix(data-vi): the custom tooltip for the pie chart is not working (#4392) 2024-05-18 22:06:06 +08:00
Junyi
9535116189
fix(plugin-workflow-request): fix request hanging when invalid header value (#4376)
* fix(plugin-workflow-request): fix request hanging when invalid header value

* fix(plugin-workflow-request): add trim for variable string field

* feat(plugin-workflow): make error result more sensible

* feat(plugin-workflow-request): unify response structure

* fix(plugin-workflow-request): fix test cases
2024-05-18 17:25:51 +08:00
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint (#4383) 2024-05-18 12:11:21 +08:00
chenos
3f94ed42b1
chore: test on windows (#4375)
* chore: win test ci

* chore: test on windows

* fix: on

* test: windows-2022

* ci: test

* fix: update yarn.lock

* ci: test

* fix: yarn --verbose

* fix: network-timeout

* fix: ci

* fix: vitest

* fix: dirname

* fix: test error

* fix: test error

* fix: test error

* fix: skip win32

* fix: ci

* fix: retry=2
2024-05-18 09:24:03 +08:00
ChengLei Shao
3d000d395e
chore: split sql collection (#3650)
* chore: split sql collection

* chore: package json

* chore: test

* chore: build

* chore: move sql resourcer into plugin-collection-sql

* fix: server

* fix: ast parser, fix T-4236

* fix: fix T-4236

* fix: fields

* fix: test

* fix: test

* fix: test

* fix: test

* chore: add keyword

* chore: node sql parser version

* chore: yarn.lock

* fix: types

* fix: remove column named `*`

* fix: package.json

* fix: version

* chore: update homepage

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-05-17 15:39:01 +08:00
YANG QIA
afdff961e4
fix(data-vi): should use local timezone when formatting date (#4366)
* fix(data-vi): should use local timezone when formatting date

* fix: mysql

* chore: remove only
2024-05-17 12:39:56 +08:00
ChengLei Shao
9b430ff4df
chore: set main as a reserved character for application name (#4370) 2024-05-17 12:27:43 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions (#4336)
* chore: remove switch

* refactor: ensure compatibility with old code

* refactor: flatten Actions

* refactor: extract options

* refactor: remove isCusomeizeCreate

* refactor: merge addNew and addRecord actions

* refactor: merge Submit and Save record actions

* refactor: extract common options

* feat: add tow props called 'currentText' and 'otherText'

* chore: fix failed tests

* refactor: add ActionInitializerItem to replace ActionInitializer

* chore: fix failed tests

* fix: fix T-4284

* fix: fix inherit

* chore: fix failed test

* chore: add Switch

* chore: add Switch for delete button

* test: e2ePageObjectModel

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
Katherine
779029e348
fix: accuracy loss in bigint field read pretty (#4360)
* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* test: intege test

* test: color test
2024-05-17 08:32:21 +08:00
GitHub Actions Bot
0399272664 chore(versions): 😊 publish v1.0.0-alpha.14 2024-05-16 13:53:55 +00:00
chenos
6e3595c0be
fix: require resolve (#4356)
* fix: require resolve

* fix: error

* fix: skip realpath

* fix: fs.realpath
2024-05-16 18:46:56 +08:00
Katherine
cb8aa0d931
fix: after setting title field the collection data should refresh (#4358) 2024-05-16 12:07:56 +08:00
Junyi
6e9ca10644
fix(plugin-workflow-request): fix value fields overflowing (#4354) 2024-05-15 18:38:28 +08:00
Junyi
21ab4c5d45
fix(plugin-workflow): fix bind hint based on event type (#4349)
* fix(plugin-workflow): fix bind hint based on event type

* fix(plugin-workflow): fix bind hint based on event type
2024-05-14 17:20:23 +08:00
GitHub Actions Bot
3e7d85b8fa chore(versions): 😊 publish v1.0.0-alpha.13 2024-05-14 09:18:26 +00:00
jack zhang
3e49ffb204
fix: demo bug (#4348) 2024-05-14 16:49:05 +08:00
dependabot[bot]
caa1dc37f6
chore(deps-dev): bump rc-tree-select from 5.5.5 to 5.20.0 (#4340)
Bumps [rc-tree-select](https://github.com/react-component/tree-select) from 5.5.5 to 5.20.0.
- [Release notes](https://github.com/react-component/tree-select/releases)
- [Changelog](https://github.com/react-component/tree-select/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/tree-select/compare/v5.5.5...v5.20.0)

---
updated-dependencies:
- dependency-name: rc-tree-select
  dependency-type: direct:development
  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-05-14 09:25:37 +08:00
Junyi
145577942f
fix(plugin-workflow-request): fix ignoreFail in sync mode (#4334)
* fix(plugin-workflow-request): fix ignoreFail in sync mode

* test(plugin-workflow-request): remote sleep in sync test
2024-05-13 23:01:01 +08:00
katherinehhh
8280077f96
fix: create kanban block report error (#4332) 2024-05-13 16:54:03 +08:00
YANG QIA
6380a49a56
fix(logger): download path (#4327)
* fix(logger): list log files by application name

* fix: tips

* fix(logger): download path
2024-05-13 12:08:52 +08:00
YANG QIA
562b29aebb
fix(logger): list log files by application name (#4325)
* fix(logger): list log files by application name

* fix: tips
2024-05-13 11:36:12 +08:00
GitHub Actions Bot
52a893f989 chore(versions): 😊 publish v1.0.0-alpha.12 2024-05-13 00:44:13 +00:00
katherinehhh
086984cb90
fix: collection support title field setting (#4322) 2024-05-12 20:44:32 +08:00
ChengLei Shao
5f5d3f3d90
feat: strategy with resources list (#4312)
* chore: strategy with resources list

* chore: append strategy resource when collection loaded

* chore: test

* chore: no permission error

* chore: test

* fix: update strategy resources after update collection

* fix: test

* fix: snippet name

* chore: error class import
2024-05-11 23:08:50 +08:00
Zeke Zhang
e96afd09e4
chore: test e2e CI (#4314)
* chore: test CI

* chore: run build CI

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: reduce timeout-minutes for e2e

* chore: use cancelled insted of always

* refactor: split files

* chore: split jobs

* refactor: split files

* refactor: split files

* chore: better comment

* chore: test

* chore: test

* chore: install glob

* chore: test

* chore: test all

* chore: fix failed tests

* chore: fix tests
2024-05-11 20:51:32 +08:00
GitHub Actions Bot
fcd368cee3 chore(versions): 😊 publish v1.0.0-alpha.11 2024-05-11 05:27:54 +00:00
Junyi
ef7a7a4605
fix(plugin-workflow-aggregate): fix association field select (#4315) 2024-05-11 12:01:10 +08:00
GitHub Actions Bot
814d5cb2d2 chore(versions): 😊 publish v1.0.0-alpha.10 2024-05-11 01:02:08 +00:00
Zeke Zhang
df0d3ddee3
perf(e2e): reduce e2e runtime (#4280)
* chore: reuse page instance

* refactor: optimize

* chore: revert

* chore: ignore workflows

* chore: upgrade playwright to 1.44.0

* chore: fix failed tests

* refactor: optimize e2eUtils

* chore: make tests pass

* chore: optimize workflow for e2e

* chore: fix fialed tests

* chore: optimize workflows

* chore: optimize

* chore: fix path

* chore: fix

* chore: test

* chore: fix

* chore: test

* chore: test

* chore: add bot for e2e

* chore: wait to revert

* chore: wait to revert

* chore: fix

* chore: fix

* chore: fix bot

* chore: test

* chore: ignore pro-plugins on PR author is not member

* chore: optimize

* chore: test

* chore: test

* chore: test bot

* chore: remove title link

* chore: fix

* chore: fix error and cache yarn

* chore: optimize md

* chore: add new workflows
2024-05-10 20:51:11 +08:00
jack zhang
1d9448a759
refactor: export AuthenticatorsContextProvider and add client.d.ts (#4311) 2024-05-10 16:55:35 +08:00
hongboji
98e5964de9
test: optimal calculationNode e2e (#4310) 2024-05-10 13:56:16 +08:00
GitHub Actions Bot
9ecdf9bc08 chore(versions): 😊 publish v1.0.0-alpha.9 2024-05-09 15:13:48 +00:00
GitHub Actions Bot
d57ebbdb44 chore(versions): 😊 publish v1.0.0-alpha.8 2024-05-09 08:31:49 +00:00
Junyi
893f27fead
feat(plugin-workflow-request): support "application/x-www-form-urlencoded" type (#4296)
* feat(plugin-workflow-request): support application/x-www-form-urlencoded type

* fix(plugin-workflow-request): avoid nullable body
2024-05-09 16:11:58 +08:00
GitHub Actions Bot
24590cdd74 chore(versions): 😊 publish v1.0.0-alpha.7 2024-05-09 08:09:31 +00:00
Junyi
65f8bd48ae
fix(plugin-workflow-custom-action-trigger): fix locales (#4298) 2024-05-09 14:58:46 +08:00
hongboji
3c8c5813de
test conditionNode e2e (#4295)
* test conditionNode e2e

* test: conditionNode e2e

* test: conditionnode e2e
2024-05-09 13:42:14 +08:00
Junyi
e67fe2038f
feat(client): add hidden option to interface (#4279) 2024-05-09 10:35:53 +08:00
jack zhang
1e5e015b73
fix: update doc demos (#4262)
* fix: update doc demos

* fix: change docs demo

* fix: bug

* fix: build bug

* fix: add english docs

* fix: add component english doc

* fix: lang change
2024-05-09 09:21:36 +08:00
Junyi
cafaa82a94
refactor(plugin-workflow): migrate directly action trigger to custom action trigger (#4253)
* refactor(plugin-workflow): migrate directly action trigger to custom action trigger

* test(plugin-workflow-action-trigger): skip legacy test case

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): match version for migration
2024-05-09 08:34:29 +08:00