* feat: register workflow blocks to mobile page
* fix: should hide Divider in subpage
* refactor: rename 'Data blocks' to 'Desktop data blocks'
* feat: adapt blocks within subpages for mobile
* feat: adapt Filter action
* feat: isolate block templates between desktop and mobile
* refactor: export storePopupContext
* feat: support popup URL for 'Workflow todos'
* chore: update e2e tests
* chore: make e2e tests pass
* chore: add comment
* fix: make popup style of duplicate and bulk edit right
* fix(GridCard): ensure single column display in mobile
* fix: fix goBack
* refactor: make more stable
* refactor: change name for add blocks menu
* fix: fix block template for mobile
* feat: adapt Apply action of approval block to mobile
* fix(Map): use window.open to redirect to configuration page
* Revert "fix(Map): use window.open to redirect to configuration page"
This reverts commit 248ae8b68c.
* fix: redirect to the main app page when URL is starts with 'admin'
* fix(Link): make path right
* fix: refactor Popup to fix draging bug
* fix: should auto refresh when submiting in Manual popup
* fix(Action.Container): should return null when visible is false (T-4949)
* fix: increase z-index of subpage to cover Amap elements
* fix: fix tab switching not work (T-4985)
* fix(Link): should be change Link's URL of all table rows after editing URL (T-4981)
* fix: fix URL not changed after closing popup (T-4987)
* fix: make unit tests pass
* fix: make unit tests pass
* chore: get e2e tests to pass
* fix: use Popup to display data picker (T-4965)
* fix: use mobile Popup in some bloks
* refactor: use local isMobile
* fix: increase Popup's z-index to cover subpage
* fix: optimize Popup for mobile
* style: createRecordAction style improve
* refactor(AssociationField): get Component from AssociationFieldModeProvider
* refactor(InternalPopoverNester): support custom Container component
* feat: adapt PopoverNester to mobile
* chore: update unit tests
* fix: get e2e tests to pass
* chore: make e2e more stable
* refactor: move mobile-action-page in adaptor-of-desktop folder
* fix: get the z-index of popups and subpages correct
* feat: unify the styles of popups
* chore: make e2e more stable
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
* refactor: support api datasource
* refactor: support api datasource
* refactor: support api datasource
* feat: url support preview (#4559)
* feat: url support preview
* feat: add settings for Input.Preview
* refactor: refactor CollectionField.tsx to use dynamic component
* Revert "refactor: refactor CollectionField.tsx to use dynamic component"
This reverts commit 37719eb28e.
* test: add e2e test
* refactor(e2e): extract template
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
* fix(map): amap reset (#4574)
* chore: volta node version
* chore: data source api
* refactor: support api datasource
* chore: data source api
* chore: data source api
* chore: field options
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* fix: load data source fields
* refactor: support api data source
* feat(data-vi): support for using url params and current role variables (#4586)
* feat(data-vi): support for using url params and current role variable
* fix: bug
* fix(variable): should remove through collection field (#4590)
* fix: style issues for gridCard in mobile client (#4593)
* fix: style issiues for gridCard in mobile client
* fix: bug
* fix: bug
* fix: bug
* fix: style issues for gridCard in mobile client (#4599)
* fix: style issiues for gridCard in mobile client
* fix: bug
* fix: bug
* fix: bug
* fix: style improve
* chore: update lerna
* chore(versions): 😊 publish v1.0.1-alpha.1
* chore: update changelog
* chore: fix typo (#4589)
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584)
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow
* refactor(plugin-workflow-mailer): change plugin name and locales
* fix(plugin-workflow-mailer): fix parameters
* fix(preset): add new plugin to preset
* fix(plugin-workflow-mailer): fix locale namespace
* fix: iframe block loses height when set to default (#4602)
* fix: iframe block loses height when set to default
* refactor: local improve
* feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)
* feat(client): allow json5 value in form-item type json component
* test: fix tests
* chore: set json5 default as false
* chore: add demo
---------
Co-authored-by: xilesun <2013xile@gmail.com>
* fix: remove grid wrap (#4612)
* refactor(plugin-workflow): change variable getter from collection fields (#4567)
* refactor(plugin-workflow): change variable getter from collection fields
* fix(plugin-workflow): fix import
* chore(plugin-workflow-action-trigger): remove unused import
* fix(plugin-workflow): fix collection field in workflow variable
* refactor(plugin-workflow-manual): avoid tslint error
* fix(client): fix text wrap in variable input (#4605)
* fix(client): fix text wrap in variable input
* fix(client): revert css
* feat(tree-block): support filtering child nodes (#4603)
* feat(tree-block): support filtering child nodes
* test: add list test
* test: remove only
* fix: use isValidFilter
* fix(export): export button remaining in loading state after cancel (#4615)
* chore: rebase
* chore: collection option
* fix: update data source fields
* chore: console.log
* refactor: support api data source
* fix: data source test
* fix: sync field in data source
* chore: unavailableActions in collection option
* chore: unavailableActions in data source collections
* chore: file collection unavailableActions
* fix: test
* chore: unavailableActions in actionInitializers
* fix: bug
* fix: destroy action
* chore: unavailableActions in plugin actionInitializers
* fix: view
* chore: unavailableActions in actionInitializers
* fix: missing removeCollection
* chore: test name
* fix: bug
* fix: bug
* chore: test
* refactor: availableTypes
* refactor: availableTypes
* chore: datasource options
* refactor: get current data source
* refactor: code improve
* fix: update collection with fields
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* chore: datasource logger
* chore: export Schema
* refactor: rawTextArea
* refactor: loadFilterTargetKeys in external data source
* chore: unavailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* revert: unavailableFunctions
* refactor: code improve
* fix: test
* chore: operation
* chore: operation
* fix: input support json field
* refactor: blockInitializers support unavailableActions
* chore: availableActions
* chore: availableActions
* refactor: support availableActions
* refactor: support availableActions
* chore: magic model test case
* fix: unixTimestamp support integer
* fix: disassociate
* fix: input readPretty
* fix: resolve error when opening modal via URL
* style: input readPretty style improve
* chore: support simple pagination
* chore: skip test
* refactor: details support pagination
* refactor: details support pagination
* chore: useActionAvailable
* fix: bug
* test: fix test
* fix: detailsBlockInitializer useActionAvailable
* chore: fix unit test
* refactor: pagination
* refactor: pagination
* test: fix test
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Katherine <shunai.tang@hand-china.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: David Fecke <david.fecke@eyecook.net>
* feat(plugin-workflow): add date range options to system variable in workflow plugin
* feat(plugin-workflow): fix according to code review
* feat(plugin-workflow): add more functions
* feat(plugin-workflow): fix according to code review
* feat(plugin-workflow): add test
* feat(plugin-workflow): support india timezone
* feat(plugin-workflow): fix test
* feat(plugin-workflow): add ts type
* feat(plugin-workflow): fix
* feat(plugin-workflow): fix
* refactor(variable): support default value setting
* chore: add e2e test for URL search params variable
* fix: resolve field linkage errors
* chore: fix unit test
* test: association select data scope linkage
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
* fix: reject update when filter is empty object
* chore: valid filter when destroy data
* fix: test
* refactor(utils): move isValidFilter to utils
* chore: test
* chore: test
* chore: test
* fix(plugin-workflow-manual): fix test case
* fix(plugin-workflow-manual): add filter check for update form in manual node
* chore: validate filter params as middleware
* chore: action filter validate in data-source-manager
* chore: acl filter params validate test
* chore: move validate filter params middleware into core
* Update nocobase-test-e2e.yml
* chore: only run workflow's tests
* chore: only run workflow's tests
* fix: updateRecordForm
* Revert "chore: only run workflow's tests"
This reverts commit 64ce124171.
* Revert "chore: only run workflow's tests"
This reverts commit b9057b35ec.
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: hongboji <j414562100@qq.com>
* fix: fix display association fields with subform
* fix: transformVariableValue
* fix: should also to request data when value is null
* fix: better way to fix
* feat: support to parse association variable
* chore: change comment
* feat(operators): support array as value in string operator
* refactor: add a special marker
* feat: date support to-multi field variables
* feat: support for notIn
* refactor: rename
* test: fix test error
* Revert "test: fix test error"
This reverts commit 3d139698f6295678a39b77b08c88427f9fafe247.
* Revert "refactor: rename"
This reverts commit 2e16225c038e18ee25f1136d510cb4746bd9932f.
* Revert "feat: support for notIn"
This reverts commit 2087e5c4da1429b260890d5136c714ad541955a9.
* Revert "feat: date support to-multi field variables"
This reverts commit 0d7b2db0512ba7b632a2ab61f37cf83c0d06b9a1.
* Revert "refactor: add a special marker"
This reverts commit 7ba2e4bc00d79f60a2e90340df65b2938985750a.
* Revert "feat(operators): support array as value in string operator"
This reverts commit 0897cd19e9863248ef9e2af6c91ee14e805778a4.
* refactor: improve code
* test: fix can not import style file
* feat: only eq and ne oprators support mutil relation fields
* test: add example.test.ts
* refactor: remove jsonata
* Revert "test: add example.test.ts"
This reverts commit 0ad2ea458cd8a964891490d2021a5b000f391395.
* test: fix error
* fix: fix error
* refactor: remove async
* chore: rebase
* test: fix error
* test: fix errors
* feat: add getValuesByPath
* fix(FilterFormBlock): fix association field can not to filter
* test: hasMany filter test
* fix: remove null in filter
* fix: fix not responding for filter button
* fix: fix oho and o2m and obo
* fix: fix isInFilterFormBlock
* fix: fix errors
* fix: should filter out when params is empty
---------
Co-authored-by: chareice <chareice@live.com>
* feat: support to add File collection
* feat: support to upload files
* refactor: rename 'ReadPretty.Attachment' to 'ReadPretty.File'
* feat: support to associate the File collection
* refactor: add Preview and replace Upload.Selector
* fix(Preview): fix some problems in ReadPretty mode
* feat: use 'preview' as a default title field
* feat: support only local storage now
* fix: should not show 'Add new' button
* chore: add default value for file storage
* fix: fix preview field of file collection cannot be displayed normally
* fix: only Table and Details can display File collection
* chore: translate
* refactor: migration to plugin from core
* refactor: change 'preview' to 'url'
* fix: only 'belongsTo' and 'belongsToMany' can linked file collection
* fix: fix storage and add a field called storage in file collection
* feat: add 'deletable' to configure the visibility of the delete button
* fix: fix can't upload attachment problem
* fix: remove more option
* fix: can't use preview to filter
* fix: remove Import action option
* refactor: remove useless code
* chore: optimize condition
* chore: remove comment
* test: windows compatible
* refactor: optimize upload
* fix: upload action
* fix: createAction
* fix: uploads
* fix: file collection cannot be inherited by other collections
* fix: url should be editable
* fix: url is filterable
* fix: use input interface for url field
* fix: fix error
* fix: remove subform
* Revert "chore: translate"
This reverts commit 53cd346dab.
* refactor: move translation to plugin
* fix: title is editable
* fix: collection?.template === 'file'
* fix: fix order of URL
* fix(collection-manager): allow collectionCategories:list
* chore: add translation
* fix(upload): should enable to use drawer
* refactor: move code to plugin
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* 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>
* refactor: audit log (#1516)
* refactor: audit-log
* refactor: audit-log fix view action
* refactor: audit-log view fix
* refactor(audit-log): collection field fix
* refactor: audit-log view field fix
* refactor(audit-log): support fixedBlock
* refactor(audit-log): i18n fix
* feat(filter-blocks): support form-block
* feat(filter-blocks): add FilterProvider
* feat: filter data blocks
* perf: use useMemo
* refactor: rename
* feat: collect filter params
* refactor: rename
* refactor: remove useless code
* feat: add 'Connect data blocks' option
* feat: support 'x-filter-targets' to save data-blocks
* refactor: extract Form.FilterFormDesigner
* feat: extract FormItem.FilterFormDesigner
* refactor: extract common editing options
* feat: support to set operator
* feat: use operator created by user
* fix: improve loading
* fix: merge prev params
* feat: support reset
* refactor: rename
* chore: left a TODO
* feat: add Table.FilterDesigner
* feat: support filter-table
* refactor: reduce code
* feat: handle click event of table row
* feat: support to connect association collection
* feat: support Collapse
* feat: show empty
* refactor: optimize readability
* fix: keep state as latest
* fix: highlight row on selected
* feat: highlight data block on hover
* fix: avoid misuse
* chore: reduce code
* fix(Table): support to cancel select
* fix(Collapse): merge multiple filter params
* chore: make to pass CI
* feat: merge all filter params
* refactor: remove useless code
* fix: undefined
* fix(Form): fix bug with association fields
* chore: fix typo
* fix: use title
* chore: avoid infinite loops
* test: cancel comments
* fix: make ci normal
* fix: filter down non-association fields
* fix: fix page crash
* fix: use correct operator
* fix: avoid infinte loops
* style: optimize style on hover
* fix: avoid crash
* chore: optimize empty description
* fix: avoid targetKey empty
* refactor: use getTargetKey instead
* fix: filter out unfilterable fields
* refactor: avoid to invoke hook multiple times
* refactor: reduce the judgment conditions of component
* fix: group fields in the right way
* fix: fix error of type
* fix: fix error on no FilterBlockProvider
* fix(Table): fix fexed-block bug
* chore: reduce gap
* fix(Form): use AssociationSelect by default
* fix: remove g2plot blocks
* fix(Form): remove 'Display association fields'
* fix(Table): use radio
* fix(Table): no need Actions
* fix: fix template problem
* fix(Table): keep only 'filter' and 'refresh'
* fix: use collection name as identifier for data blocks
* fix: make sure all fields are editable
* fix(Form): remove custom actions
* fix(Details): display empty component on no data
* feat(Form): support association fields
* refactor: rename
* feat(Form): support for deep-level association fields
* Revert "fix(Table): keep only 'filter' and 'refresh'"
This reverts commit 61a1d101a7d15223cfd3523adb33567fff545568.
* Revert "fix(Table): no need Actions"
This reverts commit 8314629e92fb3b5b7ec1c97904a42c76c43e4d4a.
* Revert "fix(Table): use radio"
This reverts commit c6f009740e1835f9762653a721ff64f52d0994cf.
* feat(Table): highlight row on selected
* feat: support to cacel highlight
* fix: type error
* feat: remove Table from filter list
* fix(Table): highlight rows problem
* refactor: remove usless code
* refactor(Collapse): detach from Table
* fix(Table): highlighting row problem
* fix: translate problem
* fix(Collapse): fix error of useProps
* fix(Table): avoid undefined
* Update Details.tsx
* Update DetailsBlockProvider.tsx
* refactor: rename target.name to target.uid
* fix: add translate
* style: add padding
---------
Co-authored-by: anuoua <anuoua@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: observer
* refactor(plugin-formula): merge 2 formula field type
* fix(plugin-formula): fix types
* fix(plugin-formula): fix type
* fix(plugin-formula): fix formulajs version
* fix(plugin-formula): change to VariableInput to avoid range error
* test(plugin-formula): add test
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* refactor(plugin-formula): move components into plugin
* fix(plugin-formula): fix migration
* fix(plugin-formula): revert legacy component to fix build
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix read-pretty component
* fix(plugin-formula): fix formula result component
* feat(plugin-formula): add checkbox display X
---------
Co-authored-by: chenos <chenlinxh@gmail.com>