chenos
2e737f74fd
chore: create-mock-database ( #6522 )
...
* chore: create-mock-database
* fix: mockDatabase
2025-03-21 12:14:31 +08:00
Junyi
c453612e11
fix(plugin-workflow-aggregate): add precision process after query ( #6358 )
...
* fix(plugin-workflow-aggregate): add precision process after query
* test(plugin-workflow-aggregate): add test cases
* fix(evaluators): fix test cases
* fix(plugin-workflow-aggregate): fix e2e test case
* fix(plugin-workflow-aggregate): fix test cases
2025-03-05 21:55:47 +08:00
Junyi
a96783a4b0
fix(plugin-workflow-loop): fix pending nodes in loop but resolved ( #6236 )
...
* fix(plugin-workflow-loop): fix pending nodes in loop but resolved
* fix(plugin-workflow-test): fix test instruction
2025-02-18 00:16:35 +08:00
nocobase[bot]
a55e8a8cca
Merge branch 'main' into next
2025-01-22 09:15:57 +00:00
Junyi
29f547bc26
fix(plugin-workflow-test): fix acl for mock data source ( #6116 )
2025-01-22 09:45:44 +08:00
mytharcher
ff526f9a78
Merge branch 'main' into next
2025-01-10 16:46:08 +08:00
Junyi
a3ae8032f4
fix(plugin-workflow): fix duplicate triggering ( #6022 )
...
* fix(plugin-workflow): fix duplicate triggering
* fix(plugin-workflow): await executing before resume
* fix(plugin-workflow): fix failed test case
2025-01-10 15:03:08 +08:00
nocobase[bot]
6ecf341256
Merge branch 'main' into next
2025-01-02 15:37:20 +00:00
Junyi
b1b1dc6f13
fix(plugin-workflow-test): fix date fields precision ( #5983 )
2025-01-02 20:33:30 +08:00
Junyi
45b8a56eb7
feat(plugin-workflow): add manual execute workflow ( #5664 )
...
* feat(plugin-workflow): add manual execute workflow
* refactor(plugin-workflow): adjust ui and type
* feat(plugin-workflow-action-trigger): add manually execute
* fix(plugin-workflow): keep trigger action in workflows for action trigger
* fix(plugin-workflow): fix type
* fix(plugin-workflow): collection trigger transaction
* fix(plugin-workflow): fix type
* test(plugin-workflow): skip failed test case
* fix(plugin-workflow): fix transaction
* fix(plugin-workflow): fix schedule mode field bug
* fix(plugin-workflow): collection trigger executing error
* fix(plugin-workflow-action-trigger): fix payload and appends
* fix(plugin-workflow): skip changed logic when execute
* fix(plugin-workflow): fix collection field schedule context when execute manually
* refactor(plugin-workflow): change manually option name
* fix(plugin-workflow-action-trigger): fix test case
2024-12-03 21:56:58 +08:00
mytharcher
5824f1fb15
Merge branch 'next' into T-4910
2024-11-15 11:03:16 +08:00
Junyi
379ae83862
feat(plugin-workflow): add test run for nodes ( #5407 )
...
* feat(plugin-workflow): add test run for nodes
* fix(plugin-workflow): fix locale
* test(plugin-workflow): add test cases
2024-10-16 22:39:20 +08:00
Junyi
05b9703101
feat(plugin-workflow-loop): add more configuration ( #5342 )
...
* feat(plugin-workflow-loop): add more configuration
* fix(plugin-workflow-loop): fix scope variable on current loop node
* refactor(plugin-workflow-loop): adjust order of exit options
* chore(plugin-workflow-loop): add migration
* fix(plugin-workflow): fix condition branch constant
* fix(plugin-workflow): fix additionalScope argument in parsing variable
* fix(plugin-workflow-loop): dependencies
* fix(plugin-workflow-loop): fix type
* fix(plugin-workflow-loop): fix client variable issues
* fix(plugin-workflow-loop): only use basic calculation due to expression variable issues
* refactor(plugin-workflow-loop): adjust configuration fields
* fix(plugin-workflow-loop): fix locale
* refactor(plugin-workflow-loop): adjust order of configuration fields
* fix(plugin-workflow-loop): fix number type properties
* fix(plugin-workflow-loop): fix null items in array are skipped
2024-10-16 21:15:35 +08:00
mytharcher
d0dc0428fb
fix(plugin-field-sort): fix build and test cases
2024-08-26 23:28:58 +08:00
mytharcher
b61895d309
refactor(server): adapt to new api and fix test
2024-08-26 16:31:12 +08:00
Junyi
d5ff3167c9
refactor(server): simplify api for publishing sync message ( #4912 )
...
* refactor(server): simplify method invoking for publishing sync message
* feat(test): add mock-cluster for testing cluster cases
* refactor(server): simplify sync api
* refactor(server): simplify type of sync-manager
2024-07-20 23:26:50 +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
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
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
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
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
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