Junyi
5d2724583c
fix(plugin-workflow): fix foreignkey in variable ( #1740 )
2023-04-20 19:52:13 -07:00
Junyi
edd2ec7fe6
fix(plugin-workflow): fix manual migration script ( #1735 )
2023-04-20 02:09:17 -07:00
chenos
3dfd5a1f7a
chore(versions): 😊 publish v0.9.2-alpha.2
2023-04-19 13:10:55 +08:00
Junyi
a5b4684a48
refactor(plugin-workflow): change single form to custom form block ( #1707 )
...
* refactor(plugin-workflow): change single form to custom form block
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix manual node initializer
* test(plugin-workflow): migrate test cases
* refactor(plugin-workflow): split custom form code
* fix(plugin-workflow): fix types
* refactor(plugin-workflow): change manual form config data structure
* fix(plugin-workflow): fix no options manual node variable
* fix(plugin-workflow): fix migration script
2023-04-18 18:41:18 -07:00
Junyi
422429e772
refactor(plugin-workflow): migrate menu items to options ( #1724 )
2023-04-18 06:46:59 -07:00
Junyi
0450789d63
fix(plugin-workflow): fix request body variable component ( #1703 )
...
* fix(plugin-workflow): fix request body variable component
* fix(client): add missed file
2023-04-14 16:46:51 +08:00
Dunqing
1fdc456c0b
feat: improve plugin manager ui ( #1650 )
...
* feat: improve plugin view
* feat: work compatibility
* feat: avoid cause error
* feat: complete
* docs: revert
* fix: header cannot displayed
* feat: improve
* feat: update page css
* feat: update fixedblock design
* chore: upgrade antd
* fix: improve code
* fix: build error
* fix: build error
* fix: pagination cannot be fully displayed
* feat: improve
* fix: ts error
* chore: sqlite view field test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2023-04-12 12:24:09 +08:00
Junyi
0126a48cfa
feat(plugin-workflow): add workflow specific logger ( #1677 )
...
* feat(plugin-workflow): add workflow specific logger
* fix(plugin-workflow): fix packages
* refactor(logger): adjust logger path env
2023-04-10 06:00:29 -07:00
Junyi
e9d5fa7f9c
fix(plugin-workflow): fix null collection fields ( #1674 )
2023-04-08 00:20:33 -07:00
Junyi
93348c9ce6
fix(client): fix variable component read pretty mode ( #1673 )
2023-04-07 23:40:18 -07:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression ( #1560 )
...
* feat(plugin-formula): add dynamic expression field
* feat(plugin-workflow): add dynamic expression for calculation
* refactor(client): allow select part of paths in variable component
* fix(client): fix types
* feat(plugin-formula): add dynamic expression config
* feat(plugin-workflow): add dynamic calculation
* refactor(plugin-formula): move expression field type to workflow plugin
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix register field in client
* fix(plugin-workflow): fix expression result value default
* fix(plugin-workflow): fix dynamic expression field error when switch collection
* fix(plugin-workflow): test component value change
* test(plugin-workflow): test component linkages
* refactor(plugin-workflow): change to expression collection template
* fix(client): fix hooks of Variable.TextArea
* fix(client): fix to import evaluators in client
* fix(evaluators): move renderReference method to plugin
* fix(plugin-workflow): fix missed component
* fix(plugin-workflow): fix dynamic expression test case
* refactor(client): change popover to double click to choose entire object
* refactor(plugin-workflow): make variable options and filter more sensible
* fix(plugin-workflow): fix form effect
* fix(plugin-workflow): fix variable filtering in collection trigger
* fix(plugin-workflow): fix types
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
Junyi
0d0c5ff9e0
feat(plugin-workflow): add array mapping support in processor ( #1662 )
2023-04-07 16:08:25 +08:00
Junyi
3ec8b2d45f
fix(plugin-workflow): fix appends null to collection trigger ( #1661 )
2023-04-07 16:04:40 +08:00
Junyi
0ecbd715a6
fix(plugin-workflow): fix todo drawer data load ( #1656 )
2023-04-06 05:07:38 -07:00
Junyi
7a4f2a011b
fix(plugin-workflow): fix manual node drawer ( #1653 )
2023-04-05 21:23:57 -07:00
Junyi
7036879ea6
refactor(client): change Variable.TextArea to controlled component ( #1605 )
...
* refactor(client): change Variable.TextArea to controlled component
* fix(client): fix space and range index
* fix(client): fix ime state in Variable.TextArea
* chore(ci): trigger ci
* fix(client): fix expression validation
* fix(plugin-workflow): fix test case
* fix(client): fix caret when not focused
* fix(client): add html-sanitize
* fix(client): fix range errors on any input
* fix(client): fix start and end range
2023-04-03 08:57:19 +08:00
Junyi
822099271a
fix(plugin-workflow): fix minors ui issues ( #1635 )
...
* fix(plugin-workflow): fix minors ui issues
* fix(plugin-workflow): add refresh after title changed back
* fix(plugin-workflow): fix collection fields variable
2023-04-02 13:24:25 +08:00
被雨水过滤的空气-Rairn
098140d511
feat(parse-variables): support to parse variables in filter params ( #1558 )
...
* fix: add field linkage on setting default datetime
* fix: fix dateonly timezone problem
* fix: improve test
* docs(DatePicker): add demos
* fix(DatePicker): should return the beginning of a second
* feat(DatePicker): support non-UTC
* refactor: rename
* fix(RangePicker): get correct end date
* test(mapDatePicker): add test
* test(mapRangePicker): add test
* feat(Filter): use non-UTC to filter
* feat(FilterBlock): use non-UTC to filter
* feat: add '$dateBetween' operator in datetime
* feat: use RangePicker on toggled to 'dateBetween' operator
* feat: set ranges for RangePicker
* feat: backend support to parse 'dateBetween' operator
* fix: fix build error
* fix: adaptive content width
* feat: support to use var on data scope
* feat: add parse-variables plugin
* feat: support to parse variables
* feat: support only to set system variables
* test: rename
* feat: cover all
* fix: fix build error
* feat(RangePicker): extend more shortcut keys
* feat(parse-variables): support more date var
* feat: support user variables
* feat: disable unmatched options
* fix: use component name to filter option
* fix: fix build error
* feat: remove some operator of id
* chore: remove useless operators
* fix: built in plugin
* refactor: move to core from plugin
* refactor: remove code of plugin
* refactor: remove useless code
* fix: should after acl
* Update server.ts
* fix: compatible with old version
* feat: test cases
* refactor: rename to 'is between'
* refactor: parse filter
* fix: improve code
* feat: test cases
* fix: fix error
* fix: improve parse date
* fix: date variables
* fix: day range
* fix: test error
* fix: typo
* fix: test error
* feat: $user variable
* fix: toDate
* fix: fix the value range of shortcuts
* feat: add quarter and test
* feat: support to use user's association fields to filter
* refactor: use maxDepth
* refactor: remove useless code
* fix: make AssociationSelect.Designer to support variables
* fix: getField
* fix: parse utc
* fix: remove only
* fix: filter by ctx.db.getFieldByPath
* fix: avoid error
* fix: add translation
* fix(RangePicker): can be set to empty
* feat(utils): add hasEmptyValue
* fix: should not save empty
* fix: last few days should include today
* fix: limit user variable type to display
* fix: parse filter error
* fix: empty
* test: [skip ci]
* fix: remove ';'
* feat: improve code
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 23:49:57 +08:00
Junyi
c572b696cc
fix(plugin-workflow): fix todo list form read-pretty for non-assigneed user ( #1615 )
...
Fix #1572 .
2023-03-29 18:16:46 +08:00
Junyi
435eaee262
fix(plugin-workflow): add default actions value of manual node ( #1600 )
2023-03-25 17:48:01 +08:00
Junyi
d8e8f5ec45
feat(plugin-workflow): add failOnEmpty option for query node ( #1599 )
2023-03-24 23:15:03 -07:00
Junyi
cc50b38a12
fix(plugin-workflow): use toJSON instead of get to get valid result ( #1596 )
2023-03-24 23:54:07 +08:00
Italo A. G
726b08e87a
Translation pt-BR (Brazilian Portuguese) ( #1591 )
...
* feat: portuguese brazil translations
* feat: add pt-BR languate to the plugins
* feat: add pt-BR languate to the plugins
2023-03-23 22:53:33 +08:00
Junyi
c3b89c9abf
fix(plugin-workflow): fix input width in request node config ( #1585 )
2023-03-21 13:04:37 +08:00
Dunqing
3cce8f75e5
feat: support cron field ( #1421 )
...
* feat(calendar): replace cron component with CronSet
* fix: same exported
* fix: type incorrect
* fix: locale
* feat: upgrade react-js-cron and update some text
* fix: cron path
* fix: edge case
* feat: support FixedBlock
2023-03-19 10:55:05 +08:00
ChengLei Shao
0832a56868
feat: multiple apps ( #1540 )
...
* chore: skip yarn install in pm command
* feat: dump sub app by sub app name
* feat: dump & restore by sub app
* chore: enable application name to edit
* chore: field belongsTo uiSchema
* test: drop schema
* feat: uiSchema migrator
* fix: test
* fix: remove uiSchema
* fix: rerun migration
* chore: migrate fieldsHistory uiSchema
* fix: set uiSchema options
* chore: transaction params
* fix: sql error in mysql
* fix: sql compatibility
* feat: collection group api
* chore: restore & dump action template
* chore: tmp commit
* chore: collectionGroupAction
* feat: dumpableCollection api
* refactor: dump command
* fix: remove uiSchemaUid
* chore: get uiSchemaUid from tmp field
* feat: return dumped file url in dumper.dump
* feat: dump api
* refactor: collection groyoup
* chore: comment
* feat: restore command force option
* feat: dump with collection groups
* refactor: restore command
* feat: restore http api
* fix: test
* fix: test
* fix: restore test
* chore: volta pin
* fix: sub app load collection options
* fix: stop sub app
* feat: add stopped status to application to prevent duplicate application stop
* chore: tmp commit
* test: upgrade
* feat: pass upgrade event to sub app
* fix: app manager client
* fix: remove stopped status
* fix: emit beforeStop event
* feat: support dump & restore subApp through api
* chore: dumpable collections api
* refactor: getTableNameWithSchema
* fix: schema name
* feat: cname
* refactor: collection 同步实现方式
* refactor: move collection group manager to database
* fix: test
* fix: remove uiSchema
* fix: uiSchema
* fix: remove settings
* chore: plugin enable & disable event
* feat: modal warning
* fix: users_jobs namespace
* fix: rolesUischemas namespace
* fix: am snippet
* feat: beforeSubAppInstall event
* fix: improve NOCOBASE_LOCALE_KEY & NOCOBASE_ROLE_KEY
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-10 19:16:00 +08:00
Junyi
ea4d4ac062
feat(plugin-workflow) config preload associations in triggers and nodes ( #1548 )
...
* feat(plugin-workflow): add preload associations for triggers and nodes
* feat(plugin-workflow): add appends parameter to schedule trigger
* fix(plugin-workflow): fix import
* fix(plugin-workflow): fix component injection
* test(plugin-workflow): add test case
2023-03-10 16:36:58 +08:00
chenos
bc5156d458
chore(versions): 😊 publish v0.9.1-alpha.2
2023-03-09 12:45:30 +08:00
Junyi
060ccd04e7
fix(plugin-workflow): fix module import ( #1550 ) ( #1552 )
...
* fix(plugin-workflow): fix module import (#1550 )
* fix(plugin-workflow): fix module import
2023-03-08 23:00:44 +08:00
Junyi
313217a671
fix(plugin-workflow): fix assignees config component in manual node ( #1547 )
2023-03-07 19:24:02 +08:00
Junyi
2e4354fcf3
fix(plugin-workflow): fix AssociationInput field path ( #1542 )
2023-03-06 17:45:09 +08:00
Junyi
37998d03ad
refactor(plugin-workflow): change canvas card and adjust styles ( #1529 )
...
* refactor(plugin-workflow): optimize workflow canvas
* feat(plugin-workflow): allow click on node card to open config and adjust styles
* fix(plugin-workflow): fix collection trigger linkages
2023-03-04 00:19:11 +08:00
chenos
946c8f25a3
chore(versions): 😊 publish v0.9.1-alpha.1
2023-03-03 09:34:06 +08:00
Junyi
ac039ad0e2
fix(evaluators): fix preprocessing and add test cases ( #1519 )
...
* fix(evaluators): fix preprocessing and add test cases
* fix(plugin-workflow): fix calculation test case
2023-03-01 07:55:53 -08:00
Junyi
05efa41be3
fix(plugin-workflow): fix CollectionField validation when using variable ( #1512 )
2023-02-28 17:56:23 +08:00
katherinehhh
94e38e453a
feat: form/button linkage rules ( #1456 )
...
* 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
* feat: linkage rules
* refactor: linkage rules
* refactor: linkage rules update
* refactor: linkage rules button
* refactor(linakge rules): suport value action
* refactor(linakge rules): suport value action
* fix(workflow test): workflow test
* refactor(linakge rules): action linkage only for detail form
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): linkageAction
* refactor(linakge rules): linkageAction
* refactor(linakge rules): field value linkageAction
* refactor(linakge rules): local
* refactor(linakge rules): local
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse operators
* fix(linakge rules): form button linkage
* fix(linakge rules): form button linkage
* fix(linakge rules): select component suport pattern
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(action): action desginer suport linkage
* refactor: formula calculation assignment
* refactor: formula calculation assignment
* style: unified component disable style
* feat: richText suport disabled
* feat: condiction suport varible
* feat: condiction suport varible
* refactor: variableInput
* refactor: condiction scope
* refactor: multi level linkage
* fix: empry value linkage
* refactor: components using core schema-component
* fix: fix template reference linkage
* refactor: evalute foumala
* fix: mutual linkage fix
* refactor: variables suport obo&oho
* style: style improve
* style: style improve
* style: style improve
* feat: variables suport m2o
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: actions path
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-25 00:40:51 +08:00
Junyi
86d9eaf2fb
refactor(plugin-workflow): migrate evaluators ( #1485 )
...
* fix(plugin-formula): fix locale
* refactor(client): migrate variable component
* refactor(plugin-workflow): use core evaluators
* refactor(plugin-workflow): migrate calculation engines to evaluators
2023-02-22 23:45:03 +08:00
Junyi
a19a18b1f7
fix(plugin-workflow): fix customized job status ( #1484 )
2023-02-22 18:01:43 +08:00
Junyi
a18918576b
fix(plugin-workflow): fix condition config param ( #1483 )
2023-02-22 17:35:22 +08:00
Junyi
33f6bb4c63
fix(plugin-workflow): fix migration ( #1479 )
...
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): change migration name to trigger
2023-02-22 13:20:17 +08:00
Junyi
944f327212
fix(plugin-workflow): fix migration on table prefix ( #1478 )
...
* fix(plugin-workflow): fix migration on table prefix
* fix(plugin-workflow): fix migration version check
* fix: ci
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-22 12:05:59 +08:00
Junyi
68062b969b
fix(plugin-workflow): fix migration for calculation ( #1476 )
2023-02-20 23:40:15 +08:00
Junyi
1705b10b98
fix(plugin-workflow): fix schedule trigger number type repeat ( #1475 )
2023-02-20 21:48:15 +08:00
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
chenos
68511f05bc
docs: add plug-in documentation
2023-02-11 00:09:39 +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
91413196ea
fix(plugin-workflow): fix url input width for request config ( #1401 )
2023-01-28 22:36:58 -08:00