被雨水过滤的空气-Rairn
070c9c21ec
feat(filter-blocks): support filter-blocks ( #1505 )
...
* 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>
2023-03-20 17:40:16 +08:00
Rairn
bc25467027
refactor: hook name should start with 'use'
2023-03-11 11:55:58 +08:00
katherinehhh
555378c342
feat: support add new in block for inheritance collection ( #1518 )
...
* feat: support adding inherited child collection in blocks
* feat: support adding inherited child collection in blocks
* refactor: create form block display on demand when using
* feat: support add new in-block for inheritance collection
* fix: action open mode support configuration when adding
* feat: support the configuration of detail and form for inherited collections in block (#1521 )
* feat: support the configuration of detail and form for inherited collections in the block
* fix: form and detail is not support current collection
* fix: inherited blocks within blocks only display their own
* style: style improve
* style: style improve
* refactor: detail and form block to determine whether there are inherited collection
* fix: repeated display of child collection
* feat: add new for inherited collection, judge the permissions
* feat: support child collection add new configure
* style: style improve
* style: style improve
* fix: child collectio repeatable configuration adding new
* style: style improve
* style: style improve
2023-03-04 18:54:25 +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
chenos
780f2d556e
feat: default value of block template title
2023-02-18 11:09:55 +08:00
Dunqing
65a579384a
feat(calendar): startDate and endDate support the use of association fields ( #1397 )
...
* feat(calendar): startDate and endDate support the use of association fields
* feat: improve association type
2023-02-01 12:55:46 +08:00
katherinehhh
a299849613
feat: antd->4.2.8 ( #1231 )
...
* feat: antd->4.2.8
* fix(plugin-workflow): dependencies
* feat: menu item key fix
* feat: dorpdown menu visible fix
* fix: update yarn.lock
* fix: only hide the first level
* fix: onVisibleChange
* fix: eventKey
* fix: setVisible(false)
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-26 11:52:59 +08:00
SemmyWong
6d1a4425f2
feat: add iframe-block plugin ( #1281 )
...
* feat: iframe-block plugin done
* refactor: iframe html filed type changed
* refactor: remove built-in actions in the ACL
* refactor: use built-in resource action
* fix: add iframe-block in built-in plugins
* refactor: remove id collection schema
* fix: fix iframe-block permission
* fix: fix iframe-block permission
* fix: improve code
* fix: src
* fix: bug
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-24 16:29:20 +08:00
Junyi
9b1ecb67f1
fix(client): menu key warnings ( #1114 )
2022-11-21 00:48:09 -08:00
chenos
89af2175de
Some features ( #979 )
...
* feat: add import client
* feat: add import server
* refactor: change export use library of file-saver
* refactor: upload excel file done
* refactor: upload xls transform
* feat: upload ui done
* feat: exclude unable import fields
* feat: excel file validator done
* feat: import done
* feat: import transform done
* fix: add import plugin in presets
* fix: explain will not output in template what is empty
* fix: config permission
* fix: permission skip
* fix: import password must be string
* fix: done close Modal
* fix: loop through, inserting data item by item
* fix: number calc with using mathjs
* fix: import plugin add locale
* fix: fix some bugs
* feat: bulk update done
* fix: transaction cannot be rolled back because it has been finished with state: rollback
* fix(plugin-system-settings): convert array to json
* fix(collection-manager): o2m is array type
* fix: missing RefreshActionInitializer
* fix(collection-manger): incorrect scope key parameter
* fix: can't access pages without permission via url (#826 )
* feat(database): add sequence field type (#779 )
* feat(database): add serialString field type
* feat(database): add serial string type field ui (skip ci)
* test(feat/database): test field options
* docs: demo
* fix(database): fix array table field behavior
* fix(database): fix serial type interface ui
* fix(database): add match logic for patterns changes
* fix(database): fix serial type query last bug in mysql
* refactor(database): refactor last record logic
* chore: revert modification on unnecessary file
* refactor(database): rename serialString type to sequence
Co-authored-by: chenos <chenlinxh@gmail.com>
* added Russian translation (#840 )
* Russian translation
* Add files via upload
Add RU locale into index.ts
Bugs fixed in the ru_RU.ts
* Update index.ts
Correct lines 4 and 8
* feat: update option must have filter or filterByTk (#847 )
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
* feat(core/cache): support cache (#876 )
* feat(core/cache): support cache
* build(create-nocobase-app): remove --cache-store-package cli option
* perf(core/cache): modify default cache config and remove unnecessary logic code
* fix: slow join query issued by appends field in find method of repository (#845 )
* fix: slow join query issue by appends field in repository.find
* feat: handle appending query in multiple relation repository
* feat: handle appending query in single relation repository
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: sort parameter is missing (#849 )
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
* fix(formula): support integer and fix NaN error (#879 )
* fix(formula): support integer and fix NaN error
* style(formula-input): remove debugger
* fix(database): fix the index name too long error
* feat(collection-manager): inverse fields can be configured (#883 )
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
* fix: run test by jest (#891 )
* fix: unable to submit form during file upload (#892 )
* fix(client/block-select-collection): fix select collection menu view error (#889 )
* fix(client/block-select-collection): fix too many collection menu view error
* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error
* fix(client/record-picker): support record-picker show format DataPicker (#888 )
* fix(client/record-picker): support record-picker show format DataPicker
* fix(client/record-picker): undefined judgment and when change field's label refresh format in time
* feat: improve signin and signup page components
* feat(plugin-workflow): add concat calculator (#894 )
* fix: single relation repository appends query issue (#901 )
* fix: appends merge includes (#905 )
* fix: build error
* fix(client): tab pane initializers for create form block
* fix: version judgment is not accurate
* fix: sync collection field default value (#907 )
* feat: limit database identifier (#908 )
* fix: cannot read properties of undefined (reading 'target')
* fix: appends merge now using primary key (#911 )
* fix: appends merge now using primary key
* chore: console.log
* fix: unbind on error throwing (#914 )
* feat: create with array of values (#912 )
* feat: create with array of values
* chore: console.log
* chore: debug
* fix(client/route-switch): skip sub routes
* Feat: plugin workflow collection field (#919 )
* feat(plugin-workflow): use Collectionfield component to render form
* fix(plugin-workflow): fix association types value assigning in nodes
* fix: missing menuItemGroupCss
* fix: multiple = false
* chore(versions): 😊 publish v0.7.5-alpha.1 (#920 )
* fix(plugin-workflow): temp disable validation of collection field in node (#928 )
* fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926 )
* Feat/plugin workflow collection field (#934 )
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
* fix(plugin-workflow): add req context to processor (#936 )
* feat: bulk update done
* feat: bulk edit done
* fix: fix import bug
* Update database.ts
* fix: workflow
* fix: error
* fix: plugin-import
* fix: handle locale
* fix: handle locale
* fix: allow email is undefined
* fix: action add loading
* fix: fix import bug
* fix: not allow sequence import
* fix: remove field not allow download template
* fix: remove field not allow download template
* fix: checkbox batch edit error
* fix: fix build edit
Co-authored-by: Semmy <semmywong@126.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: arzanov <59161748+arzanov@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: lyf-coder <58352715+lyf-coder@users.noreply.github.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
2022-10-31 23:22:33 +08:00
chenos
647d482a90
feat: support show lunar day ( #972 )
...
* feat: support show lunar day
* fix: update yarn.lock
* fix: types error
Co-authored-by: Dunqing <dengqing0821@gmail.com>
2022-10-27 14:11:56 +08:00
Ayden
b9fb69c7aa
fix: required field delete submit error ( #688 ) ( #694 )
2022-08-03 09:06:50 +08:00
chenos
075426471e
fix(collection-manager): missing collection manager context
2022-07-04 20:06:18 +08:00
SemmyWong
95c750db15
fix(custom-request): support string/json templates ( #514 )
...
* fix: request api support dynamic custom
* fix: scope undefined will not work
* fix: use formily compile
* fix: user may be null
* fix: export add context
2022-06-19 14:06:31 +08:00
金昶
99fdc83dae
feat: add block title ( #513 )
2022-06-18 20:01:30 +08:00
金昶
b91ca4420b
feat: association field block ( #493 )
...
* feat: association field block
* feat: association details block
* feat: template add resource name
* feat: add association calendar
* fix: update yarn.lock
* fix: remove useAssociationNames
* fix: restore useFilterByTk logic
* feat: client doc
* fix: resolveNocobasePackagesAlias
* fix: input textarea readpretty
* feat: styling
* fix: oho & obo
* fix: field-summary component remove to collection manager
* fix: translation
* feat: improve code
* fix(audit-logs): skip when collection does not exist
* feat: m2m
* fix: improve code
* fix: title field
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:46:48 +08:00
SemmyWong
d831a9b889
feat: plugin export ( #479 )
...
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* ci: change plugin-export version
* refactor: renders add ctx params
* fix: fix select and multipleSelect export
* fix: array convert string
* refactor: move SchemaInitializerPluginProvider
* fix: build error
* fix: change umijs config
* fix: update SchemaInitializerPluginProvider
* fix: import server
* fix: fix some bug
* fix: fix some bug
* refactor: export plugin refactor
* refactor: create all export fields by default
* fix: fix export plugin bug
* fix(plugin-collection-manager): uiSchema toJSON
* fix: update yarn.lock
* fix: fix init fields bug
* refactor: enum params pass by client
* fix: fix export table header title
* refactor: refactor dataIndex
* fix: fix dataIndex maybe complex object
* fix: add checkboxGroup in export plugin
* fix: add checkbox and i18n
* feat: improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
SemmyWong
9f6e6f22a6
feat: custom request ( #439 )
...
* feat: custom api request
* fix: fix review problem
* fix: add after request successful tip
* fix: add after request successful tip
* fix: add filterByTk
* fix: add validate
* fix: update locale
* fix: update locale
* fix: update locale
* fix: update locale
* fix: update locale
2022-05-31 18:56:51 +08:00
chenos
c7d7a26938
fix(client): clone schema before insert
2022-05-25 10:31:17 +08:00
chenos
2c98dab24c
fix(client): improve translation
2022-05-22 22:46:30 +08:00
SemmyWong
4cc162d1c1
feat: add custom action ( #396 )
...
* feat: add custom operation
* feat: add custom operation
* fix: fix cancel button hide popup
* refactor: save part schema of ActionModal
* fix: can not refresh ui
* fix: save part schema
* fix: revert code
* fix: fix pop up
* fix: fix pop up
* feat: add form custom
* fix: acl allow plugins:getPinned
* fix: add pop up
* feat: fix show callback
* fix: update data
* refactor: reviert code
* fix: update text
* feat: finish table custom operation
* feat: add form custom operation
* fix: refresh update date
* refactor: remove default button design item
* fix: refresh form values
* fix: remove default edit action design item
* fix: fix save form values logic error
* refactor: refactor code
* fix: format schema
* fix: table and form update will change all data
* fix: insert schema non refresh
* fix: fix remote load schema
* fix: fix non request while uid unchange
* fix: locale change
* fix: change x-action to customizePopup
* fix: support custom action modal tip content
* refactor: refactor custom operation
* fix: remove form.setValues
* fix: remove stopPropagation
* feat: improve translation
* feat: popup
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-21 15:08:11 +08:00
chenos
ef7cc8c2ff
fix: use wrapper when greater than one column
2022-05-01 00:04:59 +08:00
chenos
42438625d5
fix: add schema initializer icon
2022-04-30 22:43:36 +08:00
chenos
1f04f90a00
feat: translations
2022-04-23 11:55:33 +08:00
chenos
5c0184a397
feat: translations
2022-04-22 23:58:19 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app ( #273 )
...
* create-nocobase-app template from [develop]
* change create-nocobase-app package.json config
* feat: load configuration from directory
* feat: configuration repository toObject
* feat: create application from configuration dir
* feat: application factory with plugins options
* export type
* feat: read application config & application with plugins options
* feat: release command
* fix: database release
* chore: workflow package.json
* feat: nocobase cli package
* feat: console command
* chore: load application in command
* fix: load packages from process.cwd
* feat: cli load env file
* feat: create-nocobase-app
* fix: gitignore create-nocobase-app lib
* fix: sqlite path
* feat: create plugin
* chore: plugin files template
* chore: move cli into application
* chore: create-nocobase-app
* fix: create plugin
* chore: app-client && app-server
* chore: package.json
* feat: create-nocobase-app download template from npm
* chore: create-nocobase-app template
* fix: config of plugin-users
* fix: yarn.lock
* fix: database build error
* fix: yarn.lock
* fix: resourcer config
* chore: cross-env
* chore: app-client dependents
* fix: env
* chore: v0.6.0-alpha.1
* chore: verdaccio
* chore(versions): 😊 publish v0.6.0
* chore(versions): 😊 publish v0.6.1-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.1
* chore: 0.6.2-alpha.2
* feat: workspaces
* chore(versions): 😊 publish v0.6.2-alpha.3
* chore(versions): 😊 publish v0.6.2-alpha.4
* chore: create-nocobase-app
* chore: create-nocobase-app lib
* fix: update tsconfig.jest.json
* chore: .env
* chore(versions): 😊 publish v0.6.2-alpha.5
* chore(versions): 😊 publish v0.6.2-alpha.6
* feat: improve code
* chore(versions): 😊 publish v0.6.2-alpha.7
* fix: cleanup
* chore(versions): 😊 publish v0.6.2-alpha.8
* chore: tsconfig for app server package
* fix: move files
* fix: move files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00