Junyi
173dfbfe21
fix(plugin-workflow): fix locale key in storage ( #4704 )
2024-06-19 14:01:02 +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
a6c16cf3db
refactor(plugin-workflow): add card layout for assigning fields ( #4642 )
2024-06-12 23:46:05 +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
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
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
Zeke Zhang
bab5d40dbe
refactor(FormV2): add FormWithDataTemplates component ( #4551 )
...
* Revert "fix(client): fix data template style (#4536 )"
This reverts commit db66090ab279508473e74803dbb8637341fa6f3f.
* 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
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 0a701716877cd732db2ece8f2bdb6325a8e6179e.
* 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 29a51dff28f917fae99d4a88b908aad12c69f5c2.
* 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
bde1d1ee61
fix(plugin-workflow): fix trigger workflow acl ( #4522 )
2024-05-29 16:42:32 +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
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
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
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint ( #4383 )
2024-05-18 12:11:21 +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
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
hongboji
98e5964de9
test: optimal calculationNode e2e ( #4310 )
2024-05-10 13:56:16 +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
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
Junyi
9ca4b4584c
fix(plugin-workflow): fix e2e typo ( #4247 )
2024-05-01 13:28:07 +08:00
Junyi
31d91ebc83
fix(plugin-workflow): fix duplicated triggering schedule event in multiple apps ( #4201 )
...
* fix(plugin-workflow): adjust transaction level in schedule
* refactor(plugin-workflow): use unique event key instead of repeat-read isolation level
* fix(plugin-workflow): fix test case
* refactor(plugin-workflow): use uuid as event key when not specified
* chore(plugin-workflow): avoid conflict
2024-04-30 22:20:25 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header ( #4028 )
...
* fix: add license code
* fix: bug
* fix: bug
* fix: upgrade
* fix: improve
* chore: add copyright information to the file header
* fix: d.ts bug
* fix: bug
* fix: e2e bug
* fix: merge main
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
YANG QIA
b71bcc1889
chore(versions): 😊 publish v1.0.0-alpha.1 ( #4186 )
...
* feat: rename plugin-collection-manager to plugin-data-source-main (#4136 )
* feat: rename plugin
* feat: rename
* chore: rename classes of data-source-main
* chore: use name for migrating instead of packageName
* chore: rename china-region to field-china-region (#4167 )
* chore: rename china-region to field-china-region
* chore: update yarn.lock
* chore: rename classes
* chore: use name instead of pkgName
* chore: rename export to action-export (#4169 )
* chore: rename export to action-export
* chore: rename classes
* chore: use name
* chore: rename formula-field to field-formula (#4170 )
* chore: rename formula-field to field-formula
* chore: use name
* chore: rename localization-management to localization (#4173 )
* chore: rename localization-management to localization
* fix: test
* chore: rename sequence-field to field-sequence (#4174 )
* chore: rename sequence-field to field-sequence
* chore: use name
* chore: rename custom-request to action-custom-request (#4168 )
* chore: rename custom-request to action-custom-request
* chore: rename classes
* chore: use name
* fix: ns
* chore: rename iframe-block to block-iframe (#4171 )
* chore: rename iframe-block to block-iframe
* chore: use name
* chore: rename sms-auth to auth-sms (#4175 )
* chore: rename sms-auth to auth-sms
* chore: use name
* chore: rename import to action-import (#4172 )
* chore: rename import to action-import
* chore: use name
* fix: ns
* fix: packages
* test: add rename test
* fix: move rename migrations to preset
* fix: version
* fix(localization): remove duplicate records (#4182 )
* fix: locale ns
* fix(localization): remove duplicate records
* chore: merge
* fix: migration
* fix: test
* feat: improve pm add command (#4198 )
* chore: remove sso auth plugins and add upgrade warning (#4192 )
* chore: remove sso auth plugins and add upgrade warning
* chore: remove sso plugins dir
* chore: remove dependencies
* fix: names
* refactor: move to migration
* chore: adjust log
* feat: allows to remove plugins from sub apps
* fix: pm remove
* chore: add test
* chore: just for pro plugins
* refactor: optimize migration
* test: add test
* fix: auth-sms
* fix: add transaction
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* chore: make e2e more stable
* chore(license): update LICENSE to AGPL-3.0 (#4207 )
* fix: improve pm (#4200 )
* fix: improve pm
* feat: improve pm update
* fix: test error
* fix: rename plugin
* fix: remove only
* refactor(e2e): extract
* fix: await
* fix: nameOrPkg
* feat: remove multi-app-share-collection from local
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
* chore: add new line
* chore: rename migration
* fix: version
* fix: test
* feat: v1.0.0-alpha.1
* fix: multi-app-share-collection
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-29 00:46:21 +08:00
Junyi
c23631be4a
feat(plugin-workflow): refresh the list after sync ( #4177 )
2024-04-28 17:08:50 +08:00
Junyi
05c5acd8b7
feat(plugin-workflow): show workflow key as tooltip on title ( #4178 )
2024-04-28 17:03:44 +08:00
Junyi
bcf6c1b677
test(plugin-workflow): add test cases ( #4199 )
...
* test(plugin-workflow): add test cases
* fix(plugin-workflow): fix test cases
2024-04-28 17:03:29 +08:00
Junyi
5711b1a77b
fix(plugin-workflow): refine experience ( #4195 )
2024-04-27 20:48:23 +08:00
ChengLei Shao
71e8d07f15
test: add automated testing ( #4098 )
...
* test: string includes operator
* chore: operator test coverage
* chore: database utils test
* chore: acl test
* chore: no permission error
* chore: code
* fix: run coverage test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource
* fix: build
* chore: plugin data source manager test
* chore: acl test
* chore: query interface test
* chore: ui schema storage test
* chore: save template test
* chore: ui schema insert position action
* chore: ignore migration
* chore: plugin acl test
* chore: ignore command in coverage
* chore: ignore
* chore: remove db2resource
* chore: ignore migration
* chore: ipc server test
* chore: database test
* chore: database api comments
* chore: value parser test
* chore: build
* chore: backup & restore test
* chore: plugin manager test
* chore: pm
* chore: pm ignore
* chore: skip migration
* chore: remove unused code
* fix: import
* chore: remove unused code
* chore: remove unused code
* fix: action test
* chore: data wrapping middleware
* fix: build
* fix: build
* fix: build
* test: fix T-4105
* chore: test
* fix: data-source-manager test
* fix: sql collection test
* fix: test
* fix: test
* fix: test
* fix: typo
* chore: datasource manager test
* chore: console.log
---------
Co-authored-by: xilesun <2013xile@gmail.com>
2024-04-26 17:44:59 +08:00
hongboji
c43a6e98d5
fix: scheduleEventTrigger ( #4114 )
...
* fix: scheduleEventTrigger
* fix: delete pro-plugins
2024-04-21 19:35:30 +08:00
Junyi
5bcaa9d11f
feat(plugin-workflow): add checker for intervally dispatching ( #4119 )
2024-04-21 14:23:13 +08:00
Junyi
52d00aef58
test(plugin-workflow): add test case for duplicated triggering schedule workflow ( #3817 )
2024-04-18 17:15:14 +08:00
Junyi
a38ce654af
fix(plugin-workflow): adjust locale ( #3993 )
2024-04-10 15:20:43 +08:00
Junyi
773b7aef52
refactor(plugin-workflow): adjust comments ( #3990 )
2024-04-09 17:29:11 +08:00
Junyi
b69b0caab5
feat(plugin-workflow-sync): add sync when multi-app-share-collection enabled ( #3969 )
2024-04-09 07:34:38 +08:00
Junyi
9f72b4e1ef
chore(plugin-workflow): add comments ( #3959 )
2024-04-08 12:18:08 +08:00
katherinehhh
6e5a2c81b3
feat: action support refreshDataBlockRequest configuration ( #3882 )
...
* feat: action support refreshDataBlockRequest configuration
* feat: refreshDataBlockRequest
* fix: block templates
* fix: bug
* fix: bug
* refactor: submitted
* fix: bug
* fix: bug
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* fix: bug
* fix: bug
* fix: bug
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-04 09:30:13 +08:00
Junyi
0544b8df45
feat(plugin-workflow-action-trigger): add global action events ( #3883 )
...
* feat(plugin-workflow-action-trigger): add global action events
* feat(plugin-workflow): refine trigger select component style
* fix(plugin-workflow-action-trigger): fix unexpected triggering on any action
* fix(plugin-workflow-action-trigger): fix global check logic
* fix(plugin-workflow): adjust workflow type select style
* refactor(plugin-workflow): adjust triggers description
* fix(plugin-workflow): adjust events descriptions
* fix(plugin-workflow): fix locale
* fix(plugin-workflow-action-trigger): fix workflow filter rule in binding configuration
* fix(plugin-workflow-action-trigger): fix locale
* fix(plugin-workflow-action-trigger): fix locale
* fix(plugin-workflow-action-trigger): fix binding filter condition
* fix(plugin-workflow-action-trigger): fix locale
* fix: trigger type locator
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-04-03 15:39:56 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props ( #3853 )
...
* refactor: update TableV2 component props
* refactor: update Action component
* refactor: update Filter.Action
* refactor: update FormV2
* refactor: update TableV2.Selector
* refactor: update Details
* refactor: update Action.Link
* refactor: about acl
* refactor: useCustomizeUpdateActionProps
* refactor: update decrator FormV2
* refactor(plugin-data-visualization): useProps to x-use-component-props
* refactor: update Pagination
* refactor: update CalendarV2
* refactor: update TitleField
* refactor: useProps
* refactor: update AssociationFilter.Item
* feat(withDynamicSchemaProps): support function useComponentPropsStr
* refactor: update FormDataTemplates
* chore: fix unit tests
* chore: fix e2e
* refactor: update
* feat(withDynamicSchemaProps): support to use dot
* refactor: update
* refactor: update
* chore: avoid error
2024-04-02 21:38:40 +08:00
ChengLei Shao
89733247bd
fix: reject update when filter is empty object ( #3777 )
...
* fix: reject update when filter is empty object
* chore: valid filter when destroy data
* fix: test
* refactor(utils): move isValidFilter to utils
* chore: test
* chore: test
* chore: test
* fix(plugin-workflow-manual): fix test case
* fix(plugin-workflow-manual): add filter check for update form in manual node
* chore: validate filter params as middleware
* chore: action filter validate in data-source-manager
* chore: acl filter params validate test
* chore: move validate filter params middleware into core
* Update nocobase-test-e2e.yml
* chore: only run workflow's tests
* chore: only run workflow's tests
* fix: updateRecordForm
* Revert "chore: only run workflow's tests"
This reverts commit 64ce1241718ef516ff9bf7245296dee963ab2e43.
* Revert "chore: only run workflow's tests"
This reverts commit b9057b35ec4f87ba13c08650ffc7919e32eb3fc3.
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-03-30 21:50:54 +08:00
jack zhang
8a1345a5b8
feat: table performance ( #3791 )
...
* fix: table add useMemo and useCallback
* fix: memo bug
* fix: sub table bug
* fix: form item performance
* fix: settings center performance impove
* fix: bug
* fix: bug
* fix: form first value change check performance
* fix: revert first form change
* fix: css move out component
* fix: page change table should not render
* fix: pre process merge bug
* fix: assotion bug
* fix: input and useDeppMemoized performance
* fix: bug
* fix: bug
* fix: improve Action.tsx lazy show content
* fix: remove Action performance imporve
* fix: assocication read pretty not loading
* fix: cssInJs imporve
* fix: imporve kanban rerender
* fix: remove useless CurrentAppInfoProvider in plugin
* fix: divide the schema into several parts
* fix: tabs.tsx and Page.tsx divide
* fix: form-item imporve
* fix: add OverrideSchemaComponentRefresher
* fix: page and tabs bug
* fix: workflow bug
* fix: remove useDeepMemorized()
* fix: e2e bug
* fix: internal Tag and viewer
* fix: collection field read pretty mode skip
* fix: others performance
* fix: revert collection field read pretty
* fix: table column not render when value is null or undefined
* fix: table and grid add view check
* fix: kanban lazy render
* fix: remove table useWhyDidYouUpdate
* fix: table index skip loading
* fix: card drag rerender loading
* fix: e2e skip lazy render
* fix: e2e bug
* fix: action e2e bug
* fix: grid and kanban card
* fix: remove override refresher component
* fix: unit test bug
* fix: change schema component props name
* fix: e2e and unit test bug
* fix: e2e bug
* fix: not lazy render when data length less 10 (T-3784)
* chore: fix merge
* chore: fix e2e
* fix: drag bug (T-3807)
* fix: repetitive refresh (T-3729)
* fix: pre fix merge confict
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-30 20:31:11 +08:00
Junyi
6d0d21ede2
refactor(plugin-workflow): change to ( #3871 )
2024-03-29 23:36:49 +08:00
Junyi
1f59d4bed2
refactor(plugin-workflow): add transaction check from data source ( #3857 )
2024-03-29 09:09:12 +08:00
katherinehhh
c8e334d8ab
refactor: action icon ( #3831 )
2024-03-27 11:23:34 +08:00
Junyi
d691e4c7e6
feat(plugin-workflow): support multiple data source in workflow ( #3739 )
...
* feat(plugin-workflow): support multiple data source in workflow
* fix(plugin-workflow): fix test cases
* test(plugin-workflow-sql): debug test case
* fix(plugin-workflow): fix collection trigger creation without config
* test(plugin-workflow-sql): debug test case
* fix: workflow e2e test
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* test(plugin-workflow-sql): debug test case
* test: approval e2e
* fix: remove pro-plugins from packages
* refactor(plugin-workflow): support pass collection from props to CollectionBlockInitializer
* test(plugin-workflow): add test case
* fix(plugin-workflow): disable modification of executed workflow
* fix: e2ePageObjectModel
* fix: load data source when data source load failed (#3793 )
* chore: console.log
* fix(subTable): fix sorting rule setting (#3795 )
* fix: through collection support search (#3800 )
* fix(client): visible -> useVisible
* fix(client): fix action designer error occured in custom form (#3801 )
* fix(client): fix action designer error occured in custom form
* fix(client): fix from the source
* chore(module): remove submodule
* fix(plugin-workflow): fix client cycling import
* fix(plugin-workflow): fix collection event name
* fix(plugin-workflow): fix undefined ref
---------
Co-authored-by: hongboji <j414562100@qq.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-25 14:46:22 +08:00
Junyi
e9e116e476
fix(plugin-workflow): remove string template in condition calculation ( #3688 )
2024-03-25 11:34:14 +08:00