Junyi
ec9dbe865a
fix(plugin-workflow): generate workflow key ( #6567 )
2025-03-26 21:40:23 +08:00
Junyi
21857c4db5
fix(plugin-workflow): fix legacy tasks count after workflow deleted ( #6493 )
...
* fix(plugin-workflow): fix legacy tasks count after workflow deleted
* fix(plugin-workflow): fix locale
2025-03-18 17:07:53 +08:00
Junyi
cba610ecc8
fix(plugin-workflow): fix tasks count ( #6474 )
...
* fix(plugin-workflow): fix tasks count
* fix(plugin-workflow): add filter
* fix(plugin-workflow): always refresh all counts
* refactor(plugin-workflow): change to delete tasks when workflow deleted
* feat(plugin-workflow): add reload when click menu link
2025-03-16 15:04:20 +08:00
Junyi
e5507d0758
refactor(plugin-workflow): change task center api and ui ( #6272 )
...
* refactor(plugin-workflow): change task center api and ui
* fix(client): add className property for Grid.Col
* refactor(plugin-workflow): adjust tasks menu style
* fix(plugin-workflow): fix menu title
* feat(plugin-workflow): automatically update tasks number
* fix(plugin-workflow): ignore ws if not exist
* fix(plugin-workflow): fix compatibility of no user approvals
* refactor(server): revert ws api back
* fix(plugin-workflow-manual): fix migration and renamed test cases
* fix(plugin-workflow): fix acl for task resource
* refactor(client): show badge number in toolbar
* fix(plugin-workflow): fix toolbar number
* fix(client): adjust badge font size
* refactor(plugin-workflow): adjust task center style and api
* fix(plugin-workflow-manual): fix constants
* refactor(plugin-workflow-manual): change legacy workflow todo block to list style
* test(plugin-workflow-manual): migrations
* refactor(plugin-workflow): add workflow title component
* fix(plugin-workflow-manual): fix e2e test cases
* fix(plugin-workflow): fix test kit
2025-03-10 19:58:33 +08:00
Junyi
2345ea62da
fix(plugin-workflow): fix acl for getting job ( #6352 )
2025-03-04 17:34:53 +08:00
citlalinda
aee8d9b7ce
feat: add stack limit to workflow ( #6077 )
...
* feat: add stack limit to workflow
* test: add stack limit test
---------
Co-authored-by: Linda <huanghui9850@gmail.com>
2025-01-18 14:16:15 +08:00
nocobase[bot]
222b4bc9da
Merge branch 'main' into next
2025-01-17 15:46:56 +00:00
Junyi
04b817036f
fix(plugin-workflow): fix dispatch not process in preparing phase ( #6087 )
2025-01-17 23:46:29 +08:00
Junyi
04b3540739
chore(plugin-workflow): cherry pick ( #6057 )
...
* refactor(plugin-workflow): change api of manually execute (#5850 )
* feat: add subflow node
* feat: add execution event
* feat: add force option
* feat: avoid recurring call
* feat: add stack to execution
* feat: add cyclic call validator
* feat: collection trigger add execution stack
* fix: stack
* fix: manual execute
* refactor(plugin-workflow): adjust api and implementent
* chore: revert locale back
* feat: trigger field set add scope variables
* feat: add changeOnSelect
* feat: variables support ID reference
* feat: change locale
* refactor(plugin-workflow): support execute by passing filterByTk for a record
* refactor(plugin-workflow): adjust props name
* fix(plugin-workflow): fix execute variable context
* fix(plugin-workflow): fix variables and locales
* chore(plugin-workflow): remove demo code
* fix(plugin-workflow): fix import
* fix(plugin-workflow): fix build error
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
* fix(plugin-workflow): fix schedule picker value (#6039 )
* fix(plugin-workflow): fix variable compoent onchange (#5964 )
---------
Co-authored-by: shz <huanghui9850@gmail.com>
2025-01-15 17:42:49 +08:00
nocobase[bot]
de35229e64
Merge branch 'main' into next
2025-01-12 08:12:19 +00:00
Junyi
095ee3b23c
fix(plugin-workflow): fix schedule trigger conditions and logs ( #6042 )
...
* fix(plugin-workflow): fix schedule trigger conditions and logs
* fix(plugin-workflow): fix resume dispatch
2025-01-12 16:11:53 +08:00
nocobase[bot]
dc25e8a9d4
Merge branch 'main' into next
2025-01-10 11:42:53 +00:00
Junyi
2efa3eddea
fix(plugin-workflow): fix logger api ( #6036 )
2025-01-10 19:42:29 +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
ChengLei Shao
61e7a89067
refactor: export action ( #5665 )
...
* chore: export xlsx command
* chore: container service
* chore: report export progress
* chore: export
* chore: performInsert
* chore: export command
* chore: base exporter
* chore: limit option
* chore: export
* chore: export
* chore: types
* chore: ws socket with auth
* refactor: refactor exporter, change addRows method to handleRow method to support row-by-row processing
* chore: xlsx exporter
* chore: base exporter
* chore: export limit
* chore: import action
* chore: load websocket
* chore: import action
* chore: object to cli args
* chore: import options
* chore: import action
* chore: import runner
* chore: import action
* chore: import options
* chore: import options
* chore: plugin load event
* chore: test
* chore: i18n
* chore: i18n
* chore: i18n
* fix: ws auth status
* chore: cache in data source
* chore: load datasource
* chore: import with field alias
* fix: build
* fix: test
* fix: build
* fix: import schema settings
* fix: import action
* fix: import progress
* chore: template creator
* fix: import error message
* fix: import error message
* chore: test
* chore: workflow dispatch event
* chore: export alias
* fix: typo
* chore: error render
* fix: event error
* chore: send message to tags
* fix: test
* fix: import action setting
2024-12-31 20:16:03 +08:00
Junyi
aa8bc65be8
fix(plugin-workflow): fix transactions between data sources ( #5916 )
2024-12-21 09:50:00 +08:00
nocobase[bot]
a86da58955
Merge branch 'main' into next
2024-12-12 05:41:32 +00:00
Junyi
cd5b0dc4d8
fix(plugin-workflow): fix transaction when delete execution after processed ( #5870 )
2024-12-12 13:41:08 +08:00
katherinehhh
3723076cbe
Merge branch 'next' into develop
2024-12-07 20:05:50 +08:00
Junyi
fb5c033524
fix(plugin-workflow): fix transaction across data sources ( #5818 )
2024-12-07 14:41:59 +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
mytharcher
98d58963ea
fix(plugin-workflow): fix test case
2024-08-26 16:32:55 +08:00
mytharcher
df2841acb3
fix(plugin-workflow): fix send sync message with transaction
2024-08-26 16:32:55 +08:00
mytharcher
b61895d309
refactor(server): adapt to new api and fix test
2024-08-26 16:31:12 +08:00
GitHub Actions Bot
dc20cb5ec6
Merge branch 'main' into next
2024-07-30 06:43:19 +00:00
Junyi
8f6d2d5426
fix(plugin-workflow): fix admin role with workflow plugin permission can not delete executions ( #4961 )
...
* test(plugin-workflow): add test case for acl
* fix(plugin-workflow): fix acl snippets
2024-07-30 14:42:59 +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
Junyi
1c9e71dbf6
feat(server): add cluster mode for starting app ( #4895 )
...
* feat(server): add cluster mode for starting app
* chore(env): adjust order of env item
* chore: sync in main data source
* chore: onSync in plugin
* refactor(server): change onSync to plugin method
---------
Co-authored-by: Chareice <chareice@live.com>
2024-07-18 23:23:23 +08:00
Junyi
a283fc3f77
feat(server): add sync-manager ( #4780 )
...
* feat(server): add sync-manager
* refactor(server): add appName to message
* refactor(server): refactor api
* refactor(plugin-workflow): precisely control workflow status change
* feat(plugin-fm): adapt storage sync event
* fix(server): fix type
* test(server): add test cases
2024-07-10 09:54:38 +08:00
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
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
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
bde1d1ee61
fix(plugin-workflow): fix trigger workflow acl ( #4522 )
2024-05-29 16:42: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
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
Junyi
5bcaa9d11f
feat(plugin-workflow): add checker for intervally dispatching ( #4119 )
2024-04-21 14:23:13 +08:00
Junyi
773b7aef52
refactor(plugin-workflow): adjust comments ( #3990 )
2024-04-09 17:29:11 +08:00
Junyi
9f72b4e1ef
chore(plugin-workflow): add comments ( #3959 )
2024-04-08 12:18:08 +08:00
Junyi
1f59d4bed2
refactor(plugin-workflow): add transaction check from data source ( #3857 )
2024-03-29 09:09:12 +08:00
Junyi
407f887584
fix(plugin-workflow): fix processor options to pass any context ( #3483 )
2024-02-02 21:11:08 +08:00
Junyi
4d4a70b2f4
refactor(plugin-workflow): support any context in processor as options ( #3473 )
...
* refactor(plugin-workflow): support any context in processor as options
* fix(plugin-workflow): fix collection trigger
* fix(plugin-workflow): fix collection trigger and instructions
* fix(plugin-workflow): fix bind workflow configuration on button
* fix(plugin-workflow): fix e2e test cases
2024-02-02 10:32:27 +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
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
05078faf1a
refactor(plugin-workflow): add trigger title for workflow which is different with title ( #3333 )
2024-01-06 11:17:28 +08:00
Junyi
cebd8efd2e
chore(plugin-workflow): add metric example ( #3305 )
...
* chore(plugin-workflow): add metric example
* refactor(plugin-workflow): refactor some code
* refactor(plugin-workflow): remove type for less dependencies
2024-01-03 09:59:33 +08:00