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
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style ( #3604 )
...
* refactor(SchemaSettings): unify naming style
* refactor(SchemaInitializers): unify naming stle
* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm
* refactor: replace to blockInitializers:customizeCreateForm
* refactor: replace block intializers name
* refactor: replace action initializers name
* refactor: replace field initializers name
* style: fix hover style for column action (T-3297)
* refactor: revert some codes
* chore: update comment
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* chore: delete pro-packages
* feat: add CompatibleSchemaInitializer
* test: add unit tests
* chore: add @internal for CompatibleSchemaInitializer
* chore: block
* chore: field
* chore: ations
* fix: build
* chore: typo
* fix: fix unit tests
* test: fix e2e
* chore: remove igone
* refactor: page:addBlock
* refactor: popup:addNew:addBlock
* fix: fix max call stack
* refactor: popup:addRecord:addBlock
* refactor: remove blockInitializers:recordForm
* refactor: popup:tableSelector:addBlock
* refactor: popup:view:addBlock
* refactor: popup:bulkEdit:addBlock & charts:addBlock
* refactor: mobilePage:addBlock
* refactor: popup:snapshot:addBlock
* refactor: popup:workflowManual:configureUserInterface:addBlock
* fix: avoid crashing
* chore: optimize
* refactor: popup:common:addBlock
* refactor: workflowManual:popup:configureUserInterface:addBlock
* refactor: details:configureFields
* refactor: form:configureFields
* refactor: table:configureColumns
* refactor: filterForm:configureFields
* refactor: associationFilterInitializer
* refactor: assignFieldValuesForm:configureFields
* refactor: bulkEditForm:configureFields
* refactor: auditLogsTable:configureColumns
* refactor: chartFilterForm:configureFields
* refactor: kanban:configureItemFields
* refactor: workflowManual:customForm:configureFields
* refactor: detailsWithPaging:configureActions
* refactor: details:configureActions
* refactor: createForm:configureActions
* refactor: editForm:configureActions
* refactor: gridCard:configureActions
* refactor: gridCard:configureItemActions
* refactor: list:configureActions
* refactor: list:configureItemActions
* refactor: table:configureItemActions
* refactor: table:configureActions
* refactor: filterForm:configureActions
* refactor: subTable:configureActions
* refactor: bulkEditForm:configureActions
* refactor: auditLogsTable:configureItemActions
* refactor: auditLogsTable:configureActions
* refactor: calendar:configureActions
* refactor: chartFilterForm:configureActions
* refactor: gantt:configureActions
* refactor: kanban:configureActions
* refactor: map:configureActions
* refactor: workflowManual:form:configureActions
* feat: use 'createForm:configureActions' in page
* feat: use 'details:configureActions' in Calendar
* feat: register deleteEvent initializer in calendar plugin
* fix: fix delete event action
* test: fix e2e
* test: fix e2e
* chore: only run workflow's e2e
* Revert "chore: only run workflow's e2e"
This reverts commit 9e5b4af41e
.
* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +08:00
hongboji
cd09649e1c
test: parallel branch node e2e ( #3471 )
...
* test: add parallel branch node e2e
* test: parallel branch node e2e
2024-02-01 17:49:07 +08:00
hongboji
1cad202745
test: Workflow manual node e2e ( #3451 )
...
* test: workflow manual node e2e
* fix: datablocks
* fix: timeout-minutes
* fix: datablocks&createRecordForm
* fix: createRecordForm
2024-01-29 15:59:07 +08:00
Junyi
fae544d1b1
fix(plugin-workflow): fix collection cycling triggering ( #3448 )
...
* fix(plugin-workflow): fix collection cycling triggering
* fix(plugin-workflow-test): fix test trigger
* fix(plugin-workflow): fix sqlite transaction triggering
2024-01-27 22:46:19 +08:00
Junyi
4b8915b616
refactor(plugin-workflow): add sync option for trigger ( #3383 )
...
* refactor(plugin-workflow): add sync option for trigger
* feat(plugin-workflow-request): support sync call in request
* fix(plugin-workflow-request): fix request async call
* refactor(plugin-workflow): add method to check if workflow is sync
* fix(plugin-workflow): fix useAvailable in nodes
* fix(plugin-workflow): fix node.isAvailable check
* test(plugin-workflow): limit mysql version to pass test
* fix(plugin-workflow-delay): fix test case
* fix(plugin-workflow-delay): fix test case
* feat(plugin-workflow): add sync field for workflow
* refactor(plugin-workflow): adjust end node logic
* fix(plugin-workflow): support sync mode in form trigger
* feat(plugin-workflow): add end instruction
* fix(plugin-workflow-form-trigger): fix test cases
* fix(plugin-workflow): fix transaction for sync event
2024-01-25 22:10:03 +08:00
hongboji
6eff76ffa2
fix: compute node random data even error ( #3346 )
...
* fix: compute node random data even error
* fix: expression edit box error
* fix: expression edit box error
2024-01-10 15:17:21 +08:00
chenos
eed36c3bba
fix: test error
2024-01-08 19:28:26 +08:00
chenos
7779cd79ac
refactor: optimize the command line ( #3339 )
...
* fix: perform load action on boot main app
* feat: add dataType option in collection duplicator
* chore: reset optional dumpable config
* chore: dump command
* chore: dump & restore command
* chore: delay restore
* fix: dump test
* chore: restore command
* chore: dump command action
* chore: dumpable collection api
* chore: client collection option
* feat: backup& restore client
* chore: content disposition header in dump response
* chore: download backup field
* feat: collection origin option
* fix: test
* chore: collection manager collection origin
* chore: upload backup field
* chore: upload restore file
* chore: upload restore file
* fix: test
* chore: backup and restore support learn more
* refactor: upload restore file
* refactor: upload restore file
* fix: test
* fix: test
* chore: dumpable collection with title
* chore: pg only test
* chore: test
* fix: test
* chore: test sleep
* style: locale improve
* refactor: download backup file
* refactor: start restore
* fix: restore key name
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* chore: unify duplicator option
* fix: dump empty collection
* chore: test
* chore: test
* style: style improve
* refactor: locale improve
* chore: dumpalbe collection orders
* style: style improve
* style: style improve
* style: icon adjust
* chore: nginx body size
* chore: get file status
* feat: run dump task
* feat: download api
* chore: backup files resourcer
* feat: restore destroy api
* chore: backup files resoucer
* feat: list backup files action
* chore: get collection meta from dumped file
* fix: dump file name
* fix: test
* chore: backup and restore ui
* chore: swagger api for backup & restore
* chore: api doc
* chore: api doc
* chore: api doc
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* fix: restore values
* style: style improve
* fix: download field respontype
* fix: restore form local file
* refactor: local improve
* refactor: delete backup file
* fix: in progress status
* refactor: locale improve
* refactor: locale improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* test: dump collection table attribute
* chore: dump collection with table attributes
* chore: test
* chore: create new table in restore
* fix: import error
* chore: restore table from backup file
* chore: sync collection after restore collections
* fix: restore json data
* style: style improve
* chore: restore with fields
* chore: test
* fix: test
* fix: test with underscored
* style: style improve
* fix: lock file state
* chore: add test file
* refactor: backup & restore plugin
* fix: mysql test
* chore: skip import view collection
* chore: restore collection with inherits topo order
* fix: import
* style: style improve
* fix: restore sequence fields
* fix: themeConfig collection duplicator option
* fix: restore with dialectOnly meta
* fix: throw error
* fix: restore
* fix: import backup file created in postgres into mysql
* fix: repeated items in inherits
* chore: upgrade after restore
* feat: check database env before restore
* feat: handle autoincr val in postgres
* chore: sqlite & mysql queryInterface
* chore: test
* fix: test
* chore: test
* fix: build
* fix: pg test
* fix: restore with date field
* chore: theme-config collection
* chore: chage import collections method to support collection origin
* chore: fallback get autoincr value in mysql
* fix: dataType normalize
* chore: delay restore
* chore: test
* fix: build
* feat: collectin onDump
* feat: collection onDump interface
* chore: dump with view collection
* chore: sync in restore
* refactor: locale improve
* refactor: code improve
* fix: test
* fix: data sync
* chore: rename backup & restore plugin
* chore: skip test
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* chore: import version check
* chore: backup file dir
* chore: build
* fix: bugs
* fix: error
* fix: pageSize
* fix: import origin
* fix: improve code
* fix: remove namespace
* chore: dump rules config
* fix: dump custom collection
* chore: version
* fix: test
* fix: test
* fix: test
* fix: test
* chore: test
* fix: load custom collection
* fix: client
* fix: translation
* chore: code
* fix: bug
* fix: support shared option
* fix: roles collection dumpRules
* chore: test
* fix: define collections
* chore: collection group
* fix: translation
* fix: translation
* fix: restore options
* chore: restore command
* refactor: optimize the command line
* chore: dump error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: skip cli test cases
* fix: test error
* fix: too many open files
* fix: update migration version
* fix: migrations
* fix: upgrade
* fix: error
* fix: migration error
* fix: upgrade
* fix: test error
* fix: timeout
* fix: width
* feat: auto load collections
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: ipc error
* fix: test error
---------
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-01-08 19:05:14 +08:00
ChengLei Shao
fa97d0a642
feat: application backup and restore ( #3268 )
...
* fix: perform load action on boot main app
* feat: add dataType option in collection duplicator
* chore: reset optional dumpable config
* chore: dump command
* chore: dump & restore command
* chore: delay restore
* fix: dump test
* chore: restore command
* chore: dump command action
* chore: dumpable collection api
* chore: client collection option
* feat: backup& restore client
* chore: content disposition header in dump response
* chore: download backup field
* feat: collection origin option
* fix: test
* chore: collection manager collection origin
* chore: upload backup field
* chore: upload restore file
* chore: upload restore file
* fix: test
* chore: backup and restore support learn more
* refactor: upload restore file
* refactor: upload restore file
* fix: test
* fix: test
* chore: dumpable collection with title
* chore: pg only test
* chore: test
* fix: test
* chore: test sleep
* style: locale improve
* refactor: download backup file
* refactor: start restore
* fix: restore key name
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* chore: unify duplicator option
* fix: dump empty collection
* chore: test
* chore: test
* style: style improve
* refactor: locale improve
* chore: dumpalbe collection orders
* style: style improve
* style: style improve
* style: icon adjust
* chore: nginx body size
* chore: get file status
* feat: run dump task
* feat: download api
* chore: backup files resourcer
* feat: restore destroy api
* chore: backup files resoucer
* feat: list backup files action
* chore: get collection meta from dumped file
* fix: dump file name
* fix: test
* chore: backup and restore ui
* chore: swagger api for backup & restore
* chore: api doc
* chore: api doc
* chore: api doc
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* fix: restore values
* style: style improve
* fix: download field respontype
* fix: restore form local file
* refactor: local improve
* refactor: delete backup file
* fix: in progress status
* refactor: locale improve
* refactor: locale improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* test: dump collection table attribute
* chore: dump collection with table attributes
* chore: test
* chore: create new table in restore
* fix: import error
* chore: restore table from backup file
* chore: sync collection after restore collections
* fix: restore json data
* style: style improve
* chore: restore with fields
* chore: test
* fix: test
* fix: test with underscored
* style: style improve
* fix: lock file state
* chore: add test file
* refactor: backup & restore plugin
* fix: mysql test
* chore: skip import view collection
* chore: restore collection with inherits topo order
* fix: import
* style: style improve
* fix: restore sequence fields
* fix: themeConfig collection duplicator option
* fix: restore with dialectOnly meta
* fix: throw error
* fix: restore
* fix: import backup file created in postgres into mysql
* fix: repeated items in inherits
* chore: upgrade after restore
* feat: check database env before restore
* feat: handle autoincr val in postgres
* chore: sqlite & mysql queryInterface
* chore: test
* fix: test
* chore: test
* fix: build
* fix: pg test
* fix: restore with date field
* chore: theme-config collection
* chore: chage import collections method to support collection origin
* chore: fallback get autoincr value in mysql
* fix: dataType normalize
* chore: delay restore
* chore: test
* fix: build
* feat: collectin onDump
* feat: collection onDump interface
* chore: dump with view collection
* chore: sync in restore
* refactor: locale improve
* refactor: code improve
* fix: test
* fix: data sync
* chore: rename backup & restore plugin
* chore: skip test
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* chore: import version check
* chore: backup file dir
* chore: build
* fix: bugs
* fix: error
* fix: pageSize
* fix: import origin
* fix: improve code
* fix: remove namespace
* chore: dump rules config
* fix: dump custom collection
* chore: version
* fix: test
* fix: test
* fix: test
* fix: test
* chore: test
* fix: load custom collection
* fix: client
* fix: translation
* chore: code
* fix: bug
* fix: support shared option
* fix: roles collection dumpRules
* chore: test
* fix: define collections
* chore: collection group
* fix: translation
* fix: translation
* fix: restore options
* chore: restore command
* chore: dump error
* fix: too many open files
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-08 18:59:56 +08:00
hongboji
3c87755e6c
test: workflow aggregate node e2e ( #3342 )
2024-01-07 19:52:01 +08:00
hongboji
908944ce62
test: workflow sql node e2e ( #3341 )
2024-01-07 17:09:32 +08:00
Junyi
7f0d699590
refactor(plugin-workflow): adjust some api and packages ( #3281 )
...
* fix(plugin-workflow): fix locale and some api
* fix(plugin-workflow-test): fix test package
* fix(plugin-workflow): fix package and types
* test(plugin-workflow): test package
2023-12-29 09:29:37 +08:00
hongboji
e7c2c9ff83
test: workflow e2e ( #3261 )
...
* test: workflow e2e
* test: workflow e2e
* fix: merge main, fix incompatibility
* test: remove unneeded test cases
* fix: process.env.PLAYWRIGHT_AUTH_FILE
* fix: workflow e2e
* test: increase e2e timeout-minutes to 180
* fix: error
* fix: workflow aggregate e2e test
* fix: cancel useTransaction
* fix: updateRecord
* fix: queryRecord
* fix: queryRecord
* fix: queryRecord
* fix: formEvent
* fix: format files
* fix: test
* fix: error
* fix: error
* fix: split files
* fix: ci
* fix: error
* fix: error
* fix: client end
* fix: test
* fix: test
* feat: concurrency=10
* fix: concurrency=3
* test: increase timeout
* test: p-test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-29 09:13:00 +08:00
Junyi
0e7cb9e5cf
refactor(plugin-workflow): split workflow features into plugins ( #3115 )
...
* refactor(plugin-workflow): split manual and dynamic calculation into plugins
* refactor(plugin-workflow): move loop to plugin
* refactor(plugin-workflow): move parallel to plugin
* fix(plugin-dynamic-calculation): fix package title
* fix(plugin-workflow): fix plugin name
* refactor(plugin-workflow): move delay to plugin
* refactor(plugin-workflow): simplify exporting names
* refactor(plugin-workflow): move aggregate to plugin
* refactor(plugin-workflow): move sql to plugin
* refactor(plugin-workflow): move reqeust to plugin
* refactor(plugin-workflow): move form trigger to plugin
* refactor(plugin-workflow): move locale to plugins
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow-request): package name typo
* fix(plugin-workflow): remove clean db from testkit
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* fix(plugin-workflow): fix migration version matching
* test(plugin-workflow): fix test case
* refactor(plugin-workflow): correct exporting of testkit
* fix(plugin-workflow): fix testkit and require module
* refactor(plugin-workflow): add workflow-test package for testing
* test(plugin-workflow): test weird case
* fix(plugin-workflow-test): remove workflow dependency to avoid cycling
* fix(plugin-workflow): fix migration version
* fix(plugin-workflow): fix migration and packages
* fix(plugin-workflow): fix package dependencies
* fix(preset): fix builtin list in preset
* fix(plugin-workflow): add package entry file
* fix(plugin-workflow): fix migrations
* refactor(plugin-workflow): remove require
* fix(plugin-workflow): fix locale namespace
* fix(plugin-workflow): fix merged errors
* fix(plugin-workflow): fix import cycling references
* refactor(plugin-workflow): change instruction and triggers to classes in client
* fix(plugin-workflow): fix migration version
2023-12-07 05:46:58 -08:00