* chore: eager loading tree
* feat: load eager loading tree
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
* feat: repository aggregate method
* chore: aggregate with distinct
* feat: has many repository aggregation
* feat: belongs to many repository aggregation
* chore: using model aggregate method
* chore: aggregate with association filter
* chore: aggregate type
* chore: type error
* test: filter nested association
* chore: log
* fix: tree instance to json
* ci: test case
* chore: test
* chore: log
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* chore: tree performance
* chore: build index value
* chore: get tree index
* fix: children key
* fix: test
* fix: tree child to json
* fix: tree with fields
* 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>
* fix: load view collection
* refactor: using graphlib at collections load
* test: destory through collection
* feat: throw error when collection manager cycle found
* test: view collection as through collection
* refactor: getTableNameWithSchema
* feat: allow create collection with same name in difference schema
* feat: support multiple schema with inherit
* feat: repository after find hook & relation repository __colection attribute
* chore: debug info
* chore: tmp commit
* fix: tableoid to tablename error
* feat: filter child table by tableoid
* feat: filter child table by collection name
* fix: sync runner
* chore: test
* fix: jest empty test error
* test: create view collection
* feat: view collection class
* feat: list view
* chore: skip sync view collection
* test: should create view collection in difference schema
* test: create view collection in collection manager
* feat: create view collection by user sql
* test: view resourcer
* feat: view collection
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* refactor: connect to database view
* refactor: sync from database
* chore: rename list view sql
* chore: list view fields api
* chore: create collection without viewName
* feat: bring out fields when selecting a view
* chore: bring out fields when selecting a view
* feat: view field inference class
* chore: bring out fields when selecting a view
* chore: sync form database view
* chore: sync form database view
* refactor: view collection local
* feat: view get api
* feat: database type infer
* feat: integer map
* chore: remove from in view list
* chore: build error
* chore: uniq collection
* fix: typo
* chore: replace collection list source field
* fix: destroy view collection
* chore: timestamp field map
* refactor: interface avalableTypes
* refactor: interface avalableTypes
* chore: list fields test
* refactor: interface avalableTypes
* chore: uiSchema response in field source
* fix: view query
* chore: collection snippet
* refactor: view collection support preview
* fix: handle field source
* fix: typo
* fix: configure fileds title
* fix: configure fileds title
* fix: configure fileds title
* fix: sync from databse interface
* fix: sync from databse interface
* feat: set fields api
* fix: sync from databse fix
* feat: possibleTypes
* chore: fields get
* fix: sync from databse
* fix: list view test
* fix: view test in difference schema
* chore: comment
* feat: when there is only one source collection, the view is a subset of a Collection
* feat: view collection add field
* fix: inherit query with schema
* fix: test
* fix: ci test
* fix: test with schema
* chore: set pg default search path
* chore: mysql test
* fix: test with schema
* chore: test
* chore: action test
* chore: view column usage return type
* feat: mysql field inference
* fix: tableName
* chore: node sql parser
* fix: sql build
* fix: database build
* fix: mysql test
* feat: view collection uiSchema title
* fix: incorrect field source display when switching views
* refactor: view collection not allow modify
* fix: view collection is allow add, delete, and modify
* fix: mysql test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* chore: add id field as default target key
* style: style improve
* feat: load source field options
* style: style improve
* chore: disable remove column in view collection
* chore: support creating view collection with different schemas with the same name
* chore: support creating view collection with different schemas with the same name
* fix: query view in difference schema
* refactor: view collection viewname
* fix: query view collection in difference schema
* fix: field load
* chore: field options
* fix: mysql test
* fix: uiSchema component error when using a view field in a block
* fix: sqlite test
* chore: test
* fix: dump user views
* fix: view collection can be updated and edited in table block
* chore: sync from database display last field configuration
* chore: loadCollections
* chore: sync from database display last field configuration
* fix: field options merge issues
* style: preview table
* fix: view collection is allow using in kanban blocks
* refactor: code improve
* fix: view collection can be updated an edited in calendar block
* chore: disable infer field without interface
* feat: preview only shows source or interface fields
* fix: test
* refactor: locale
* feat: sql parser
* chore: remove node-sql-parser
* fix: yarn.lock
* test: view repository
* fix: view repository test
* chore: console.log
* chore: console.log
* fix: mysql without schema
* fix: mysql without schema
* chore: preview with field schema
* chore: tableActionInitializers
* style: preview style improve
* chore: parameter is filter when there is no filterByTk
* fix: preview pagination
* fix: preview pagination
* style: preview table style improve
* fix: sync from database loading
* chore: preview performance optimization
* chore: preview performance optimization
* feat: limit & offset
* chore: preview performance optimization
* test: field with dot column
* fix: datetime interface display
* fix: missing boolean type
* fix: sync
* fix: sync from database
* style: style improve
* style: style improve
* style: style improve
* chore: preview table
* chore: preview table
* chore: preview table
* fix: styling
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
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>
* feat: adjacency list
* fix: error
* feat: collection extender
* Revert "feat: collection extender"
This reverts commit a942eee7699724fe831a98bae3f67a42db91a28b.
* fix: registerBuiltInListeners
* chore: getAllNodeIds
# Conflicts:
# packages/plugins/acl/src/server.ts
* fix: get list data tree ids
# Conflicts:
# packages/plugins/acl/src/__tests__/list-action.test.ts
* feat: suport add child
* feat: demo3
* feat: suport add child
* feat: support add child
* feat: support add child
* fix: tree true
* feat: suport expend and collapse
* feat: support expend and collapse
* feat: support expend and collapse
* feat: table block of the selector supports tree table
* feat: expand and collapse are only displayed in the tree table
* fix: when the tree table is closed and opened, it needs to be refreshed to take effect
* fix: test
* refactor: add child is hidden when the tree table is closed
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: expand and collapse button does not support modify name and icon
* refactor: parent cannot be modified when adding child
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: filter out the node itself when selecting parent
* refactor: filter out the node itself when selecting parent
* refactor: tree collection locale
* refactor: tree collection locale
* fix: parameter exception when creating data selector
* fix: translation
* refactor: tree collection locale
* feat: data selector Support tree table
* fix: failed to uncheck when multiple data selectors are selected
* fix: open or disabled the tree table, and add child does not respond immediately
* feat: data selector Support tree table
* fix: can not hide add child button
* fix: improve code
* fix: tree table
* fix: dynamic children column
---------
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
* feat: database manager schema env support
* feat: skip db2cm collection in custom schema
* fix: test
* test: through table custom schema
* chore: fields hooks
* chore: reload through collection on autoCreate
* fix: test error
* fix: skip test case
* chore: children test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: pg schema in sync runner
* fix: restore with pg schema
* chore: databse utils
* fix: test
* Update nocobase-test.yml
* fix: test
* chore: db schema test options
* feat: collection add schema table name method
* fix: update to bigint test
* fix: schema test
* chore: show constraints query path
* chore: show constraints query path
* Update nocobase-test.yml
* chore: test
* fix: test
* fix: test
* fix: test table name
* fix: inherited collection test
* 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)
* fix(plugin-workflow): avoid revision with ghost nodes (#941)
* fix(plugin-workflow): fix collection fieldset component (#942)
* feat(useSignup): customize success message
* feat: changed with associations (#943)
* feat: changed with associations
* fix: test error
* fix: test error
* fix: test
* fix(plugin-workflow): fix schedule trigger bug (#949)
* fix(plugin-workflow): skip time based test (#951)
* 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>
* feat: docker optimizing (#948)
* chore: feat/docker-optimizing
* feat: docker nginx gzip config
* feat: ui schema cache (#877)
* feat(core/cache): support cache
* perf(plugins/ui-schema-storage): cache schema
* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action
* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache
prevent jsonSchema and properties cache override each other
* test(plugins/ui-schema-storage): add ui_schema repository with cache test
* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option
* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false
* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add filter action to collection table (#953)
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* fix: format code
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: default value of VERDACCIO_URL
* feat: add Dockerfile.official
* refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913)
* Turkish language (#939)
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe dil düzenlemesi. Turkish language edit.
* fix: cannot find name 'antdTrTR'
* chore(versions): 😊 publish v0.7.6-alpha.2 (#954)
* Turkish readme (#955)
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe Açıklama sayfası. Turkish readme file added
* Turkish language link added
* turkish language link added
* fix: update readme
* fix(plugin-workflow): fix constant schedule trigger time (#956)
* feat: push ali docker registry (#957)
* feat: push ali docker registry
* fix: add VERDACCIO_URL
* fix: env
* fix: add VERDACCIO_URL to env
* fix: update VERDACCIO_URL
* fix: arg VERDACCIO_URL
* fix: update Dockerfile.official
* fix: build-args
* fix: network: host
* fix: ci
* fix: verdaccio:10104
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* feat: push acr
Co-authored-by: ChengLei Shao <chareice@live.com>
* feat: api service
* fix: api services
* feat(file-manager): support tencent cos (#958)
* feat: support tencent cos
* feat: normalize
* chore: update env example
* test: add cos
* Revert "feat: normalize"
This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3.
* feat: normalize
* feat: tengxun to tencent
* chore: fix missing deps
* fix: locale
* fix: locale cos
* fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962)
* fix: lerna ERR! EUNCOMMIT M yarn.lock
* fix: driver-opts: network=host
* fix(ci): add verdaccio service
* chore(versions): 😊 publish v0.7.7-alpha.1 (#963)
* fix(plugin-workflow): fix workflow update action (#964)
* fix(ci): yarn config set network-timeout 600000
* fix: empty logic operator filter (#961)
* chore: fix incorrect deps (#970)
* 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>
* fix(ci): remove platforms
* chore: improve ci (#976)
* test: ci
* fix: ci error
* fix: on pull_request
* fix: paths
* fix: paths 'packages/**'
* feat: support show lunar day in week and day (#977)
Co-authored-by: qing <qing@imideMacBook-Air.local>
* fix(client/formula): set cursor focus on input (#959)
* fix(client/formula): set cursor focus on input
* fix(client/formula): when formula field name has contains the other one will case FormulaError
refactor partial implementation
* fix(client/table-selector-provider): make data range config effective (#960)
* fix(client/table-selector-provider): make data range config effective
* fix(client/table-selector): fix when save data range config filter lose
* fix(client/upload): fix upload mutiple files always uploading status (#974)
* Update README.md
* Update README.zh-CN.md
* Update README.tr-TR.md
* feat(calendar): support for add/remove repeats events (#988)
* feat(calendar): support for adding repeats
* feat: support delete events
* fix: has many same x-action
* feat: update better logic
* fix: exclude is not an array
* fix: handle parse cron error
* feat: support every_week, every_month, every_year
* fix(calendar): events cannot support moment (#1017)
* fix(calendar): events cannot support moment
* fix: avoid manipulating raw values
* feat: add excel function field (#906)
* feat: add excel function field
* fix: translations
* fix: documentation
* chore: remove console log
* chore: moved generation of parser to helper function; feat: added GET_DEEP function
* chore: improve tokenisation for when there are similar names;
* chore: move helper to utils
* fix: import from @nocobase/utils/client
* feat: integration as a plugin
* fix: remove excel function interface
* fix: locale
* fix: error
* refactor: formula plugin
* fix: improve code
* feat: update docs
* fix: error
* fix: update deps
* fix: remove formula
* fix: bigint & test
* fix: result
* fix: double data type
* fix: maximum call stack size exceeded
* fix: improve code
* fix: improve code
* feat(cli): quickstart
* Revert "feat(cli): quickstart"
This reverts commit 99ad54afb6785c9180c46dd3e9e01e25da368218.
* fix: precision
* fix: migration
Co-authored-by: Michael DeGiovanni <m.degiovanni@gmail.com>
* chore: upgrade sequelize version to to latest
* fix: type error
* chore: type ModelCtor to ModelStatic
* feat: update sequelize version of the map plugin
* chore: update lock
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
* 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