Junyi
4fbad75ea9
Feat(plugin-workflow) manual instruction ( #1339 )
...
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* fix(plugin-workflow): fix calculation migration
* fix(plugin-workflow): move tasks native filter to server
* fix(plugin-workflow): fix manual options for variable
* fix(plugin-workflow): fix conflict
* fix(plugin-workflow): fix some bugs
* fix(plugin-workflow): fix todo list filter and locale
* fix(plugin-workflow): fix update action of workflow
* refactor(plugin-workflow): add legacy condition calculation as basic engine
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix condition basic calculation
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix evaluators and scope
* fix(plugin-workflow): remove disabled type select in schema config
* fix(plugin-workflow): fix manual form schema designer
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-20 11:52:06 +08:00
ChengLei Shao
0e0eb6432e
feat: provide the underscored option for the database ( #1366 )
...
* feat: underscored options
* feat: underscored using hook
* feat: database underscored options
* feat: underscored env
* fix: collectionExistsInDb
* fix: test
* fix: nocobase install
* fix: test
* fix: belongsTo association
* fix: test of underscored
* chore: console.log
* fix: list action test
* fix: dump test
* chore: snakeCase algo
* fix: underscored field create
* fix: underscored env
* fix(acl): custom appends merge strategy (#1416 )
* Update index.md
* fix(plugin-workflow): use promise to request (#1426 )
* Update index.md
* Update collection.md
* Update index.md
* Update index.md
* Update collection.md
* Update field.md
* Update repository.md
* Update has-one-repository.md
* Update has-many-repository.md
* Update belongs-to-many-repository.md
* Update index.md
* chore: translate 'Add tab' in page header (#1424 )
* fix: test
* fix: workflow test
* fix: underscored with inherits
* fix: underscored test
* fix: process.env.DB_UNDERSCORED
* fix: process.env.DB_UNDERSCORED === 'true'
* fix: test
* fix: pg test
* fix: underscored table name
* feat: tableName & fieldName conflict check
* fix: test
* fix: underscored index
* fix: update field unique index
* fix: sync default value
* fix: collection manager create field
* chore: field sync
* fix: pg test
* chore: test
* fix: test
* chore: default constraint name
* chore: syncUniqueIndex
* feat: field destory before check
* feat: field type check
* fix: test
* fix: test
* fix: improve
* fix: should destroy when fields refer to the same field
* fix: acl meta with underscored
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-13 21:38:47 +08:00
chenos
e5e503fe87
feat: add namespace and duplicator parameters for collection options ( #1449 )
...
* feat: add namespace and duplicator parameters for collection options
* fix: duplicator:getDict
2023-02-13 09:57:03 +08:00
Junyi
71dcabec25
fix(plugin-workflow): fix schedule on field null value ( #1442 )
2023-02-09 16:24:51 +08:00
Junyi
3115134f3a
fix(plugin-workflow): use promise to request ( #1426 )
2023-02-04 16:03:25 +08:00
Junyi
51ce0afc06
Fix(plugin-workflow): request node ( #1367 )
...
* fix(plugin-workflow): fix json data
* refactor(plugin-workflow): change ejs to json-templates in request
* feat(plugin-workflow): add variable insert button to json input
* fix(plugin-workflow): fix main locales
* fix(plugin-workflow): fix params in request
* fix(plugin-workflow): fix types
* feat(plugin-workflow): add ejs migration
2023-01-15 12:56:04 +08:00
Junyi
a1127300ae
refactor(plugin-workflow): refactor request instruction ( #1356 )
2023-01-12 02:22:06 -08:00
ChengLei Shao
a614bc7de8
feat: acl optimization ( #1136 )
...
* fix: sort field with table dose not have primary key
* feat: fixed params merger
* chore(plugins/acl): fixed params
* chore(plugins/acl): allowConfigure of collections
* chore(plugins/china-region): disable actions other than list
* chore(plugins/collection-manager): allowConfigure permission
* chore(plugins/file-manager): acl fixed params
* chore: acl fixed params
* chore: rolesResourcesScopes onDelete cascade
* fix: install error
* chore: test
* fix: root user fixed params
* fix: role resource scope onDelete
* chore: test
* chore: test
* fix: acl
* chore: disable index.html cache
* chore: disable index.html cache
* test: destory user role
* test: destory throught table
* fix: test
* fix: test
* chore: add rolesUsers to fixed params
* feat: permission logging
* feat: permission logging
* fix: test
* fix: test
* chore: disable grant target action
* fix: appends with fields
* fix: get action params
* fix: associationActions
* chore: change AssociationField using relation type
* chore: typo
* refactor: allow to skip
* fix: prettier
* chore: attachments association action
* fix: allowConfigure condition
* fix: deprecated allow
* fix: please use skip instead
* feat: table column aclcheck
* chore: test
* feat: throw error when detory no permission record
* chore: test
* chore: acl test
* feat: field acl
* chore: after action middleware
* fix: destory permission check
* chore: middleware use
* fix: test
* feat: filter match
* feat: subform/subtable field acl check
* feat: action permision by scope
* feat: action permision by scope
* feat: list action with allowedActions
* chore: all allowed action
* fix: pk error
* fix: merge error
* fix: create query sql
* fix: skip permission
* fix: scope with association field
* feat: action acl fix
* feat: action acl fix
* fix: update submodule
* Feat: setting center permission (#1214 )
* feat: add setting center permissions
* feat: setting center permissions backlist
* feat: setting center permissions BLACKLIST
* feat: setting center permissions blacklist
* feat: setting center permissions blacklist
* feat: setting center permission
* feat: configure plugin tab expand
Co-authored-by: chenos <chenlinxh@gmail.com>
* Feat :field acl (#1211 )
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: build error
* test: acl snippet
* feat: set field
* fix: test
* fix: build error
* fix: utils Dependency cycles
* feat: general permissions
* feat: delete pluginTabBlacklist
* fix: test
* feat: snippetManager allow method
* feat: acl role snippetAllowed method
* feat: array field repository
* feat: ArrayFieldRepository
* fix: test
* fix: ci
* fix: ci error
* fix: add set parse
* test: array field repository
* chore: addSnippetPatten
* fix: start
* feat: sync role snippets
* feat: snippets check
* feat: snippets check
* chore: acl role snippet api
* fix: test
* fix: test
* refactor: acl role snippets
* chore: registerACLSettingSnippet
* chore: default snippets
* feat: snippets match
* feat: snippets check
* feat: snippets check
* feat: pm permision check
* feat: pm permision check
* feat: snippet pattern match
* feat: pluginManagerToolbar check
* feat: pluginManagerToolbar check
* chore: snippets default value
* feat: set role snippets migration
* chore: snippets
* feat: acl local
* feat: acl local
* feat: bookmask fix
* feat: plugin-manger & ui-editor snippet
* feat: set allowConfigure to false when upgrade to snippets
* feat: destory action acl fix
* feat: destory action acl fix
* fix: association resource params merge
* fix: ui editor snippet
* feat: action acl fix
* chore: move list meta middleware into plugins/acl
* fix: test
* feat: action acl fix
* feat: action acl check fix
* feat: plugins toolbar fix
* feat: gitmodules
* fix: subproject
* chore: add avaiableActions to snippet
* chore: change plugin-manager snippet
* feat: configure action acl fix
* feat: plugin tab acl check fix
* chore: roles snippets
* fix: add actions to snippet
* feat: allowconfigure fix
* fix: count with filterBy
* fix: build error
* feat: get action with allowedActions
* feat: acl route check fix
* feat: aclActionProvider fix
* feat: actionscpe fix
* feat: actionname alias
* feat: setting center fix
* feat: acl provider fix
* fix: role collection
* feat: associate resource acl
* feat: associate resource acl
* feat: redirect to 403
* feat: route redirct
* feat: acl scope check by record
* fix: fields appends fix
* fix: fields appends fix
* fix: fields appends fix
* fix: allowedActions fix
* fix: menu items
* fix: rename
* fix: improve code
* fix: improve code
* fix: improve code
* fix: ctx?.data?.data
* fix: styling
* fix: allowAll after ignore scope
* chore: allowConfigure condition
* fix: collections.fields:*
* fix: acl test
* fix: update submodule
* fix: acl test
* fix: acl snippet
* fix: updates
* fix: only load history for logged-in users
* fix: this.app.acl.registerSnippet
* fix: downloadXlsxTemplate
* fix: 404
* feat: allowedAction in association list response
* fix: listData get
* fix: test
* fix: x-collection-field
* fix: update record error
* fix: calendar template
* test: allow manager
* fix: fetch action step
* fix: update submodule
* fix: refresh
* fix: refresh
* fix: rolesResourcesScopes
* test: snippets
* fix: snippets
* fix: test
* fix: omit filter.createdById
* fix: improve code
* fix: collections path
* fix: test error
* fix: upgrade error
* fix: errors
* fix: read allowed actions error
* fix: kanban error
* fix: error
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-01-09 07:35:48 +08:00
Junyi
322194f24a
fix(plugin-workflow): fix missed preparing ( #1337 )
2023-01-08 00:56:43 +08:00
Junyi
8943dabc4d
fix(plugin-workflow): fix events in prepare ( #1325 )
2023-01-04 02:26:44 -08:00
Junyi
e3e352ffeb
refactor(sequence-field): move to plugin and use table to record ( #1209 )
...
* refactor(sequence-field): move to plugin and use table to record
* fix(database): skip test case which not in core
* fix(plugin-sequence): add migration
* fix(plugin-sequence): fix types
* test(plugin-sequence): fix test cases
* fix(plugin-sequence): fix configuration ui
* fix(plugin-sequence): fix merge
* fix(plugin-sequence): fix schema and error message
2022-12-16 01:04:22 -08:00
Junyi
a951d49f55
Fix(plugin-workflow): client refactor ( #1163 )
...
* fix(plugin-workflow): avoid to delete using node
* fix(plugin-workflow): refactor operand
* fix(plugin-workflow): simplify code
* fix(plugin-workflow): fix condition calculator
2022-12-06 02:18:40 -08:00
Junyi
6fb58d01a3
test(plugin-workflow): add cache and test for sqlite ( #1194 )
2022-12-04 17:38:37 -08:00
Junyi
c19ca1f30b
fix(plugin-workflow): use dual pipes to process triggers ( #1187 )
...
* fix(plugin-workflow): use dual pipes to process triggers
* refactor(plugin-workflow): refactor dual pipe structure
2022-12-02 22:34:47 -08:00
Junyi
f0dcf32c56
fix(plugin-workflow): temp skip case ( #1188 )
2022-12-02 07:08:29 -08:00
Junyi
eb4fb29e3b
fix(plugin-workflow): fix transaction in trigger ( #1186 )
2022-12-02 18:15:53 +08:00
Junyi
eee4cabd64
fix(plugin-workflow): dispatch when server start ( #1183 )
2022-12-01 23:58:13 -08:00
Junyi
271573c52a
fix(plugin-workflow): fix test case ( #1172 )
2022-12-01 07:40:36 -08:00
Junyi
400320d175
feat(plugin-workflow): add duplicate action ( #1171 )
...
* feat(plugin-workflow): add duplicate action
* fix(plugin-workflow): fix test case
* feat(plugin-workflow): move execution link to column
2022-12-01 06:52:46 -08:00
Junyi
86a23c0d9f
fix(plugin-workflow): fix context operand ( #1169 )
2022-11-30 22:48:29 -08:00
Junyi
62652145c9
Fix(plugin workflow) interval ( #1139 )
...
* fix(plugin-workflow): use setTimeout with offset for more accuracy
* fix(plugin-workflow): locale
2022-11-24 00:13:47 -08:00
lyf-coder
9b4139e28a
feat(workflow): support Http Request Node ( #1102 )
...
* feat(workflow): support Http Request Node
* style(workflow): hTTP Request ui title
* style(workflow): request node ui title fix
* feat(workflow): support timeout config,ignoreFail etc
* refactor(workflow): request node Instruction remove unused input.result from templateVars
* fix(workflow): fix locale
* fix(workflow): perfect request implementation
2022-11-23 02:29:18 -08:00
ChengLei Shao
73e2d27e29
feat: using bigint for id field ( #1100 )
...
* feat: using bigint for id field
* fix: postgres bigint parse
* fix: sequelize test
* test: update to bigint migrator
* chore: updateToBigInt method
* fix: mysql update bigint
* fix: update to bigint with inherits table
* feat: update fields type in fields table
* fix: import
* fix: bigInt
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-20 14:40:41 +08:00
chenos
2ea185a412
fix: error: SQLITE_ERROR: near "AUTOINCREMENT": syntax error
2022-11-15 16:14:47 +08:00
Junyi
0288243a33
fix(plugin-workflow): fix transaction chain in trigger ( #1089 )
2022-11-15 13:35:10 +08:00
Junyi
c470209ecd
refactor(plugin-workflow): split transaction for collection trigger ( #1080 )
...
* refactor(plugin-workflow): split transaction for collection trigger
* fix(plugin-workflow): fix delay test case
* refactor(plugin-workflow): use micro queue to dispatch executions
* fix(plugin-workflow): fix usages of private api
* fix(plugin-workflow): fix wrong variable
2022-11-14 20:05:01 +08:00
Junyi
8a8478cf4c
refactor(plugin-workflow): adjust some api ( #1067 )
2022-11-10 13:33:52 +08:00
Junyi
1bd3e93588
fix(plugin-workflow): fix trigger getter ( #1060 )
2022-11-09 09:44:07 +08:00
Junyi
42db519fa1
fix(plugin-workflow): fix workflow update action ( #964 )
2022-10-27 14:11:18 +08:00
Junyi
75ecab4d3e
fix(plugin-workflow): fix constant schedule trigger time ( #956 )
2022-10-27 14:07:59 +08:00
chenos
249dff16d3
refactor: plugin manager ( #965 )
...
* feat: improve code
* chore: update version
* feat: api service
* fix: api services
* feat: improve code
* feat: improve code
* feat: improve code
* feat: pm socket
* fix: test errors
* feat: add built-in plugins before upgrade
* feat: update docs
* feat: improve code
* fix: after load
2022-10-27 13:00:16 +08:00
Junyi
a8cf72281f
fix(plugin-workflow): test changedWithAssociations() ( #950 )
...
* fix(plugin-workflow): test changedWithAssociations()
* fix: toChangedWithAssociations
* fix(plugin-workflow): add test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
# Conflicts:
# packages/core/database/src/model.ts
2022-10-24 09:03:57 +08:00
Junyi
9ba1d128f4
fix(plugin-workflow): skip time based test ( #951 )
2022-10-24 09:03:04 +08:00
Junyi
9b8a4d1063
fix(plugin-workflow): fix schedule trigger bug ( #949 )
2022-10-24 09:02:58 +08:00
Junyi
c7300d1100
fix(plugin-workflow): avoid revision with ghost nodes ( #941 )
2022-10-24 09:02:37 +08:00
Junyi
cadaa8a2c2
fix(plugin-workflow): add req context to processor ( #936 )
2022-10-24 09:02:30 +08:00
Junyi
42dbaf3582
fix(plugin-workflow): fix schedule infinitely trigger when repeat not set ( #926 )
2022-10-24 09:00:01 +08:00
Junyi
7ca8e562ce
feat(plugin-workflow): add concat calculator ( #894 )
...
(cherry picked from commit 7f3f1bc982379ec2d274ca79fb4d6c65664d3c2d)
2022-10-13 12:38:56 +08:00
Junyi
58b4febdf8
refactor(plugin-workflow): change files mode to 644 ( #755 )
2022-08-19 10:00:20 +08:00
Junyi
0190c573c5
fix(plugin-workflow): fix extend collection ( #708 )
...
* fix(plugin-workflow): fix extend collection
* fix: extendCollection
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-04 21:56:13 +08:00
Junyi
95e799880c
test(plugin-workflow): skip prompt tests ( #692 )
2022-07-28 10:12:28 +08:00
Junyi
1a4d88d089
fix(plugin-workflow): adjust await sleep time for test cases ( #691 )
2022-07-28 08:13:49 +08:00
Junyi
a73c37c927
feat(plugin-workflow): add assignees config for prompt instruction ( #690 )
2022-07-27 18:23:16 +08:00
Junyi
15d7f17fb5
fix(plugin-workflow): fix revision bug ( #603 )
2022-07-07 16:28:16 +08:00
Junyi
4a3cb6e65f
Refactor(plugin workflow): move client files into plugin ( #556 )
...
* refactor(plugin-workflow): move client files into plugin
* fix(client): fix package path block build
* test(plugin-workflow): trigger ci
2022-06-29 23:42:03 +08:00