abec9982fb
Merge remote-tracking branch 'origin/main' into merge_from_upstream
2024-03-14 22:19:15 +08:00
chenos
40a22943b9
chore(versions): 😊 publish v0.20.0-alpha.10
2024-03-13 22:41:12 +08:00
a7049de998
Merge remote-tracking branch 'origin/main' into merge_from_upstream
2024-03-13 12:17:01 +08:00
katherinehhh
c7cfeec6a1
feat: add uuid & nanoid & unitTimestamp interface ( #3684 )
...
* refactor: select & radio compoent supports multiple type of value
* fix: ridio test
* feat: uuid & nanoid & snowflake interface
* refactor: delete snowflake
* feat: nanoid field type (#3685 )
* refactor: add child in inheritance of tree collection (#3676 )
* refactor: add child in inheritance of tree collection
* refactor: add child in inheritance of tree collection
* style: style improve
* feat: nanoid field
* chore: nanoid field type map
---------
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
* chore: nanoid options
* refactor: unixTimestamp
* fix: test
* refactor: unixTimestamp
* refactor: unixTimestamp
* refactor: locale imrove
* refactor: local improve
* refactor: nanoIDInput
* refactor: nanoIDInput
* refactor: nanoIDInput
* refactor: unixTimestamp
* refactor: nanoIDInput
* fix: test
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
2024-03-13 12:07:45 +08:00
chenos
2e7da6e29b
chore(versions): 😊 publish v0.20.0-alpha.9
2024-03-12 21:15:51 +08:00
1737a0f83b
Merge pull request 'main' ( #349 ) from main into @hera/dev
...
Reviewed-on: daoyoucloud/tachycode#349
2024-03-12 20:00:15 +08:00
ChengLei Shao
37b97c6e52
chore: escape underscore char in include query ( #3681 )
2024-03-12 14:53:12 +08:00
ChengLei Shao
3da2a8af92
fix: init scope value when all data is null value ( #3674 )
2024-03-11 19:37:48 +08:00
c0f46dcf87
Merge pull request 'main' ( #339 ) from main into @hera/dev
...
Reviewed-on: daoyoucloud/tachycode#339
2024-03-11 10:31:45 +08:00
xilesun
6fd06a28c8
chore(versions): 😊 publish v0.20.0-alpha.8
2024-03-11 09:59:08 +08:00
2d991ba7cf
合并对main的所有修改
...
<!-- Note -->
<!-- This is a template for submitting a new feature.
Use the bug fix template if you're submitting a bug fix pull request by adding `template=bug_fix.md` to your pull request URL. -->
<!-- Describe the new feature or modification to an existing feature clearly and consciously. -->
<!-- Explain the reason for adding or modifying this feature. -->
<!-- Provide a technically detailed description of the key changes made. -->
- Frontend
- Backend
<!-- Provide any suggestions or recommendations for improvements in the testing plan. -->
<!-- Identify any potential risks or issues that may arise from the new feature or modification. -->
<!-- Including any screenshots of the new feature or modification. -->
Co-authored-by: sealday <sealday@gmail.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-authored-by: 吕延祥 <2256334253@qq.com>
Reviewed-on: daoyoucloud/nocobase#317
2024-03-10 04:06:04 +08:00
ChengLei Shao
46daba1e6e
fix: infer postgres field ( #3663 )
2024-03-09 10:08:32 +08:00
chenos
63d1a8d90c
chore(versions): 😊 publish v0.20.0-alpha.7
2024-03-08 14:11:35 +08:00
chenos
8b4821e2df
chore(versions): 😊 publish v0.20.0-alpha.6
2024-03-08 10:23:26 +08:00
YANG QIA
263ee28c72
fix(db): through scope in eager loading & fix(acl): filter reset issue ( #3636 )
...
* fix(database): through scope in eager loading
* chore: update
* fix: role users filter
* chore: update
2024-03-07 13:38:17 +08:00
chenos
0fc382d298
chore(versions): 😊 publish v0.20.0-alpha.5
2024-03-06 00:20:06 +08:00
chenos
e7cc6cca54
chore(versions): 😊 publish v0.20.0-alpha.4
2024-03-05 09:08:53 +08:00
chenos
e377f3a57c
fix: update plugin package.json
2024-03-04 23:02:29 +08:00
chenos
ff9acd6d69
chore(versions): 😊 publish v0.20.0-alpha.3
2024-03-04 21:37:43 +08:00
chenos
32b15cb108
chore(versions): 😊 publish v0.20.0-alpha.2
2024-03-03 23:37:37 +08:00
chenos
29e10f365f
chore(versions): 😊 publish v0.20.0-alpha.1
2024-03-03 23:08:21 +08:00
katherinehhh
af6113c8ef
feat: support for multiple data sources ( #3418 )
...
* refactor: collectionName display with tablePrefix
* fix: bug
* fix: schema toolbar no ddata source (T-3182)
* fix: unit test bug
* fix: useAssociationNames support data source
* chore(RecordProvider_deprecated): add collectionName
* fix: deprecated
* refactor: default value
* refactor: default value
* fix: fastRefresh=false
* style: fix action link style (T-3228)
* fix: should not diaplay Save mode for some Action (T-3217)
* chore: remove group title (T-3194)
* fix: extend collections bug
* chore: transaction
* fix: filter block only current data source (T-3226)
* fix: fix filter block in drawer (T-3224)
* fix: avoid error when editing field (T-3232)
* fix: primary key name in postgres
* chore: test
* chore: test
* refactor: forgin key support select and input
* fix: doc bug
* fix: change duplllicte divier name
* feat: throughScope
* fix: bug
* refactor: local improve
* fix: fix parent record of Add child in tree table (T-3235)
* fix: block template filter by dataSource(T-3234)
* chore: change table primary key
* refactor: index for primarykey & unique
* chore: test
* fix: should not display filter blocks option if no association field (T-3242)
* fix: dataSourceKey
* refactor: sourcekey & forginkey & targetkey limit type
* fix: bug
* chore: test
* fix: upload action
* fix: unit test
* fix: useSourceIdFromParentRecord
* fix: permissions
* fix: oho association field should has default fieldnames
* fix: useSourceIdFromParentRecord
* fix: tableSelectorProvider collection undefined
* fix: bug
* chore: validate association keys
* fix: apply mixin bug
* fix: getPrimaryKey
* fix: bug T-3253
* fix: collection unit test
* chore: validate association keys
* fix: create collection
* fix: getCollection in TableBlockProvider
* refactor: association key in data source manager
* fix: improve doc
* fix(relationshipBlocks): fix sourceId (T-3257,T-3264)
* fix: plugin acl test
* chore: correct field options
* fix: dataScope resource
* fix: improve doc
* fix: appVersion = '<0.20.0-alpha.1'
* refactor: fieldNames
* refactor: primarykey & unique & autoIncrement shuld not support edit in third dataSource
* fix: bug
* fix: gantt block params tree
* fix: style
* fix: wording & icon
* fix: bug
* fix: roles cache
* refactor: calender & express & file collection support preset fields
* fix: decode uri
* refactor: migrate files [wip] (#3584 )
* refactor: migrate blockSettings:table
* refactor: migrate fieldSettings:TableColumn
* refactor: migrate TableBlockInitializer
* fix: fix import path
* refactor: migrate TableActionInitailizers
* refactor: migrate TableColumnInitializers
* refactor: migrate TableActionColumnInitializers
* refactor: migrate TableColumnSchemaToolbar
* refactor: migrate TableSelectorInitializer
* refactor: migrate blockSettings:tableSelector
* refactor(tableSelector): migrate e2e
* refactor(form): migrate e2e
* refactor: migrate FormBlockInitializer
* refactor: migrate CreateFormBlockInitializer
* refactor: migrate RecordFormBlockInitializer
* refactor: migrate blockSettings:createForm
* refactor: rename file name
* refactor: migrate blockSettings:editForm
* refactor: migrate FormActionInitailizers
* refactor: move to a new file
* refactor: migrate formItemInitializers
* refactor: migrate FormItemSchemaToolbar
* refactor: migrate fieldSettings:FormItem
* chore: fix build
* fix: fix weird path error
* fix: rename formActionInitializers
* fix: create collection field
* refactor: throughCollection
* fix: datasources get permission
* fix: throughCollection
* fix: throughCollection
* fix: register initializer components
* refactor: targetkey & source key must be unique
* refactor: targetkey & source key must be unique index
* fix(customRequest): avoid error when clicking button
* chore: error message when add multiple primary keys
* fix: target key in hasMany
* fix: default value should not support edit in outside dataSource
* fix: test
* fix: update associations (#3586 )
* fix: source key
* fix: addAccessor
* fix: updateAssociations
* fix: bugs
* fix: remove test.only
* refactor: migrate RecordReadPrettyFormBlockInitializer
* refactor: migrate singleDataDetailsBlockSettings
* fix(users): filter bug
* refactor: migrate readPrettyFormActionInitializers
* refactor: migrate readPrettyFormItemInitializers
* refactor: migrate DetailsBlockInitializer
* refactor: migrate multiDataDetailsBlockSettings
* feat: validate association key pairs
* chore: default title
* refactor: migrate detailsActionInitializers
* refactor: migrate e2e
* refactor: migrate ListBlockInitializer
* refactor: migrate listBlockSettings
* refactor: migrate listActionInitializers
* refactor: migrate listItemActionInitializers
* fix: create collection
* fix: remove fieldsHistoryRepository.createMany
* test(e2e): fix error message for roles.name
* fix: sync indexes in postgres
* chore: test
* test: acl test
* test(e2e): fix sort error
* refactor: remove useless code
* test: kanban e2e
* fix: load user
* fix: test
* test: fix unit tests
* fix: db.sync
* test: updateRole
* fix: test
* fix: settings and initializer performance improve
* fix: update role resources
* fix: add block
* fix: fix T-3308
* test: fix e2e
* test(e2e): skip fix block
* chore: skip test in sqlite
* fix: change initializer menu key
* test(collectionManager): fix e2e
* refactor: sort field availableTypes
* fix: client core performance optimization
* refactor(GridCard): migrate e2e
* refactor: migrate GridCard
* fix: bug
* refactor: migrate utils
* refactor: migrate filter-form
* fix: change Record to CollectionRecord
* chore: acl migration
* chore: acl migration
* chore: migration of acl
* refactor: migrate Collapse
* chore: error message
* fix: update associations
* chore: update collection search to be case-insensitive
* refactor: migrate Markdown
* fix(WorkflowTodos): x-toolbar typo
* feat: admin change password
* feat: check foreign key && target key value in update associations
* chore: dataSource permission
* refactor: dataSource permission
* fix: acl support data source permission
* fix: fix T-3307
* chore: test
* refactor: locale improve
* chore: locale
* chore: sqlite test config
* chore: create user with roles test
* chore: test
* test: fix mock data to avoid duplication
* chore: test
* fix: load table with tablePrefix
* chore: move action in datasource
* chore: number field to sort field type
* test: optimize dropdown
* chore: upgrade @playwright/test to v1.42.1
* fix: fix invalid path for Windows
* test: fix e2e
* chore: kanban Sort field
* fix: kanban
* fix: kanban
* refactor: create sort in kanban
* refactor: create sort field in kanban
* refactor: locale improve
* refactor: locale improve
* fix: sync with null default value
* refactor: collectionFieldInterfaceSelect
* fix: move action
* fix: update associations
* fix: test case
* chore: test
* test: optimize e2e
* feat: remvoe Duplicate for single details block (T-3195)
* fix(fieldNames): should use primaryKey as default value (T-3322, T-3319)
* fix: use filterTargetKey as fieldNNames.value
* test: fix e2e
* test: fix e2e
* test(kanban): fix e2e
* test(blockTemplate): should clear template at end of test
* refactor: migrate fields
* refactor: migrate actions
* refactor: migrate menu
* refactor: migrate page
* refactor(SchemaSettings): unify naming style
* fix: scopeKeyOptions undefined
* refactor(SchemaInitializers): unify naming stle
* fix(bi): chart filter fields
* chore: acl snippets
* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm
* refactor: replace to blockInitializers:customizeCreateForm
* refactor: replace block intializers name
* refactor: replace action initializers name
* refactor: replace field initializers name
* style: fix hover style for column action (T-3297)
* refactor: revert some codes
* chore: update comment
* fix: revert record deprected
* fix: remove pro-plugins
* fix: bug
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* Revert "refactor: revert some codes"
This reverts commit 991021ceaeecc5d27113a51e501a4abd439edcd2.
* Revert "refactor: replace field initializers name"
This reverts commit b47b808d06305741b56302e3dad1dd256658fad4.
* Revert "refactor: replace action initializers name"
This reverts commit eab1b6e3d986d1c3dc80d75fa6230fa948e3a33e.
* Revert "refactor: replace block intializers name"
This reverts commit 50ab9da177f344d037184a17746cb1d0e037a826.
* Revert "refactor: replace to blockInitializers:customizeCreateForm"
This reverts commit 77b9f59bb14d944fd8c42006e899861196589748.
* Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm"
This reverts commit e9a38b0b4d9fabc571b7d9cdc8929914f5e2a367.
* Revert "refactor(SchemaInitializers): unify naming stle"
This reverts commit 542390899fa84d212a8dbbe7f77e0f19befa6ae8.
* Revert "refactor(SchemaSettings): unify naming style"
This reverts commit 8566735922c4a157efccdb3830deaedeb08c6f6a.
* Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe"
This reverts commit 884f6df92fdc860a50500025f132904e9528002f.
* refactor: create sorting field in kanban
* refactor: create sorting field in kanban
* fix: style
* fix: bug
* fix(SideMenu): fix the problem of invalid add menu (T-3331)
* fix: translation
* feat: client en-US docs
---------
Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2024-03-03 23:06:24 +08:00
chenos
9520b2431e
chore(versions): 😊 publish v0.19.0-alpha.9
2024-02-28 09:20:38 +08:00
ChengLei Shao
85af594004
chore: limit restore dialect ( #3534 )
2024-02-21 23:18:58 +08:00
chenos
a736847a0f
chore(versions): 😊 publish v0.19.0-alpha.8
2024-02-21 12:59:16 +08:00
chenos
8cb1942926
chore(versions): 😊 publish v0.19.0-alpha.7
2024-02-20 18:44:20 +08:00
ChengLei Shao
ca8d6347c6
chore: field type map ( #3516 )
...
* chore: field type map
* chore: type map
2024-02-18 17:14:28 +08:00
chenos
d8bbdc9648
chore(versions): 😊 publish v0.19.0-alpha.6
2024-02-07 20:11:19 +08:00
chenos
9ff785dca4
fix: password cannot be empty ( #3491 )
2024-02-05 22:56:36 +08:00
xilesun
9120955733
fix: error message of uid field
2024-02-04 20:14:53 +08:00
YANG QIA
e8138816f2
fix: fix T-3012 ( #3489 )
2024-02-04 18:06:54 +08:00
chenos
8765208016
chore(versions): 😊 publish v0.19.0-alpha.5
2024-01-30 17:11:37 +08:00
chenos
65020f69d4
chore(versions): 😊 publish v0.19.0-alpha.4
2024-01-26 21:16:57 +08:00
chenos
8217ebfb1b
feat: improve plugin manager process ( #3386 )
...
* feat: improve plugin manager process
* fix: skip help error
* fix: ipc check
* fix: improve remove
* fix: refresh
* fix: remove dir
* fix: improve code
* fix: update yarn.lock
* fix: e2e error
* fix: migration
* fix: pm create
* Revert "fix: migration"
This reverts commit 8f8fe04436ac96798259fb6debd88fffcb613560.
* fix: remove sample-hello
2024-01-18 00:33:15 +08:00
ChengLei Shao
0ce0ca6441
fix: dump with sql collection ( #3350 )
...
* chore: dump with sql collection
* fix: dump with view that not exists in database
* fix: test
* fix: test
* fix: test
* fix: test
2024-01-09 22:19:43 +08:00
chenos
38c19818d3
chore(versions): 😊 publish v0.19.0-alpha.3
2024-01-09 18:32:09 +08:00
chenos
2070f2046d
chore(versions): 😊 publish v0.19.0-alpha.2
2024-01-09 09:13:16 +08:00
chenos
c39d3398ae
chore(versions): 😊 publish v0.19.0-alpha.1
2024-01-08 19:32:54 +08:00
chenos
7779cd79ac
refactor: optimize the command line ( #3339 )
...
* fix: perform load action on boot main app
* feat: add dataType option in collection duplicator
* chore: reset optional dumpable config
* chore: dump command
* chore: dump & restore command
* chore: delay restore
* fix: dump test
* chore: restore command
* chore: dump command action
* chore: dumpable collection api
* chore: client collection option
* feat: backup& restore client
* chore: content disposition header in dump response
* chore: download backup field
* feat: collection origin option
* fix: test
* chore: collection manager collection origin
* chore: upload backup field
* chore: upload restore file
* chore: upload restore file
* fix: test
* chore: backup and restore support learn more
* refactor: upload restore file
* refactor: upload restore file
* fix: test
* fix: test
* chore: dumpable collection with title
* chore: pg only test
* chore: test
* fix: test
* chore: test sleep
* style: locale improve
* refactor: download backup file
* refactor: start restore
* fix: restore key name
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* chore: unify duplicator option
* fix: dump empty collection
* chore: test
* chore: test
* style: style improve
* refactor: locale improve
* chore: dumpalbe collection orders
* style: style improve
* style: style improve
* style: icon adjust
* chore: nginx body size
* chore: get file status
* feat: run dump task
* feat: download api
* chore: backup files resourcer
* feat: restore destroy api
* chore: backup files resoucer
* feat: list backup files action
* chore: get collection meta from dumped file
* fix: dump file name
* fix: test
* chore: backup and restore ui
* chore: swagger api for backup & restore
* chore: api doc
* chore: api doc
* chore: api doc
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* fix: restore values
* style: style improve
* fix: download field respontype
* fix: restore form local file
* refactor: local improve
* refactor: delete backup file
* fix: in progress status
* refactor: locale improve
* refactor: locale improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* test: dump collection table attribute
* chore: dump collection with table attributes
* chore: test
* chore: create new table in restore
* fix: import error
* chore: restore table from backup file
* chore: sync collection after restore collections
* fix: restore json data
* style: style improve
* chore: restore with fields
* chore: test
* fix: test
* fix: test with underscored
* style: style improve
* fix: lock file state
* chore: add test file
* refactor: backup & restore plugin
* fix: mysql test
* chore: skip import view collection
* chore: restore collection with inherits topo order
* fix: import
* style: style improve
* fix: restore sequence fields
* fix: themeConfig collection duplicator option
* fix: restore with dialectOnly meta
* fix: throw error
* fix: restore
* fix: import backup file created in postgres into mysql
* fix: repeated items in inherits
* chore: upgrade after restore
* feat: check database env before restore
* feat: handle autoincr val in postgres
* chore: sqlite & mysql queryInterface
* chore: test
* fix: test
* chore: test
* fix: build
* fix: pg test
* fix: restore with date field
* chore: theme-config collection
* chore: chage import collections method to support collection origin
* chore: fallback get autoincr value in mysql
* fix: dataType normalize
* chore: delay restore
* chore: test
* fix: build
* feat: collectin onDump
* feat: collection onDump interface
* chore: dump with view collection
* chore: sync in restore
* refactor: locale improve
* refactor: code improve
* fix: test
* fix: data sync
* chore: rename backup & restore plugin
* chore: skip test
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* chore: import version check
* chore: backup file dir
* chore: build
* fix: bugs
* fix: error
* fix: pageSize
* fix: import origin
* fix: improve code
* fix: remove namespace
* chore: dump rules config
* fix: dump custom collection
* chore: version
* fix: test
* fix: test
* fix: test
* fix: test
* chore: test
* fix: load custom collection
* fix: client
* fix: translation
* chore: code
* fix: bug
* fix: support shared option
* fix: roles collection dumpRules
* chore: test
* fix: define collections
* chore: collection group
* fix: translation
* fix: translation
* fix: restore options
* chore: restore command
* refactor: optimize the command line
* chore: dump error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: skip cli test cases
* fix: test error
* fix: too many open files
* fix: update migration version
* fix: migrations
* fix: upgrade
* fix: error
* fix: migration error
* fix: upgrade
* fix: test error
* fix: timeout
* fix: width
* feat: auto load collections
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: test error
* fix: ipc error
* fix: test error
---------
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-01-08 19:05:14 +08:00
ChengLei Shao
fa97d0a642
feat: application backup and restore ( #3268 )
...
* fix: perform load action on boot main app
* feat: add dataType option in collection duplicator
* chore: reset optional dumpable config
* chore: dump command
* chore: dump & restore command
* chore: delay restore
* fix: dump test
* chore: restore command
* chore: dump command action
* chore: dumpable collection api
* chore: client collection option
* feat: backup& restore client
* chore: content disposition header in dump response
* chore: download backup field
* feat: collection origin option
* fix: test
* chore: collection manager collection origin
* chore: upload backup field
* chore: upload restore file
* chore: upload restore file
* fix: test
* chore: backup and restore support learn more
* refactor: upload restore file
* refactor: upload restore file
* fix: test
* fix: test
* chore: dumpable collection with title
* chore: pg only test
* chore: test
* fix: test
* chore: test sleep
* style: locale improve
* refactor: download backup file
* refactor: start restore
* fix: restore key name
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* refactor: start restore
* chore: unify duplicator option
* fix: dump empty collection
* chore: test
* chore: test
* style: style improve
* refactor: locale improve
* chore: dumpalbe collection orders
* style: style improve
* style: style improve
* style: icon adjust
* chore: nginx body size
* chore: get file status
* feat: run dump task
* feat: download api
* chore: backup files resourcer
* feat: restore destroy api
* chore: backup files resoucer
* feat: list backup files action
* chore: get collection meta from dumped file
* fix: dump file name
* fix: test
* chore: backup and restore ui
* chore: swagger api for backup & restore
* chore: api doc
* chore: api doc
* chore: api doc
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* chore: backup and restore ui
* fix: restore values
* style: style improve
* fix: download field respontype
* fix: restore form local file
* refactor: local improve
* refactor: delete backup file
* fix: in progress status
* refactor: locale improve
* refactor: locale improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* test: dump collection table attribute
* chore: dump collection with table attributes
* chore: test
* chore: create new table in restore
* fix: import error
* chore: restore table from backup file
* chore: sync collection after restore collections
* fix: restore json data
* style: style improve
* chore: restore with fields
* chore: test
* fix: test
* fix: test with underscored
* style: style improve
* fix: lock file state
* chore: add test file
* refactor: backup & restore plugin
* fix: mysql test
* chore: skip import view collection
* chore: restore collection with inherits topo order
* fix: import
* style: style improve
* fix: restore sequence fields
* fix: themeConfig collection duplicator option
* fix: restore with dialectOnly meta
* fix: throw error
* fix: restore
* fix: import backup file created in postgres into mysql
* fix: repeated items in inherits
* chore: upgrade after restore
* feat: check database env before restore
* feat: handle autoincr val in postgres
* chore: sqlite & mysql queryInterface
* chore: test
* fix: test
* chore: test
* fix: build
* fix: pg test
* fix: restore with date field
* chore: theme-config collection
* chore: chage import collections method to support collection origin
* chore: fallback get autoincr value in mysql
* fix: dataType normalize
* chore: delay restore
* chore: test
* fix: build
* feat: collectin onDump
* feat: collection onDump interface
* chore: dump with view collection
* chore: sync in restore
* refactor: locale improve
* refactor: code improve
* fix: test
* fix: data sync
* chore: rename backup & restore plugin
* chore: skip test
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* chore: import version check
* chore: backup file dir
* chore: build
* fix: bugs
* fix: error
* fix: pageSize
* fix: import origin
* fix: improve code
* fix: remove namespace
* chore: dump rules config
* fix: dump custom collection
* chore: version
* fix: test
* fix: test
* fix: test
* fix: test
* chore: test
* fix: load custom collection
* fix: client
* fix: translation
* chore: code
* fix: bug
* fix: support shared option
* fix: roles collection dumpRules
* chore: test
* fix: define collections
* chore: collection group
* fix: translation
* fix: translation
* fix: restore options
* chore: restore command
* chore: dump error
* fix: too many open files
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-08 18:59:56 +08:00
chenos
5ff7f686b1
fix(database): cannot find module 'node-fetch' ( #3335 )
2024-01-06 10:35:59 +08:00
chenos
16b34be05c
fix: date parse
2024-01-05 22:36:57 +08:00
xilesun
004998a80a
chore(versions): 😊 publish v0.18.0-alpha.9
2024-01-03 10:00:45 +08:00
chenos
8bac8dac71
chore(versions): 😊 publish v0.18.0-alpha.8
2023-12-29 15:49:02 +08:00
chenos
501e3f1db2
chore(versions): 😊 publish v0.18.0-alpha.3
2023-12-29 09:42:06 +08:00
YANG QIA
8633ec3735
refactor(logger): improve logger format ( #2664 )
...
* refactor(logger): improve logger format
* chore: improve log format
* feat(logger): plugin-logger
* feat: allow to download log files, close T-1917
* chore: update yarn.lock
* chore: improve log format
* fix: add maxsize params
* chore: add userId field to request
* chore: remove userId from request
* chore: change userId in response
* chore: change action in response
* chore: add database logger
* fix: build
* fix: test
* chore: solve conflicts
* fix: escape delimiter in message
* refactor: improve create logger api
* chore: update app logger options
* chore: remove colorize for json
* fix: bug of data2tree
* fix: test
* chore: log
* chore: remove GITHUB_ACTION check
* fix: bug
* chore: change version
* fix: transports
* fix: mockServer
* chore: use new plugin settings api
* fix: version
* fix: build
* feat: support logfmt
* fix: build
* fix: build
* fix: test
* chore: update config
* fix: test
* fix: bug
* fix: test
* fix: format
* chore: update path
* fix: build
* fix: bug
* chore: update comment
* fix: allow to custom format
* fix: package.json
* fix: version
* fix: bug
2023-12-27 13:56:13 +08:00
Chareice
9c645d3482
chore: import
2023-12-26 09:20:52 +08:00
chenos
e8f481ae68
chore(versions): 😊 publish v0.18.0-alpha.2
2023-12-25 22:26:05 +08:00
ChengLei Shao
bb07625af5
fix(database): belongs to association only in eager loading tree ( #3259 )
...
* chore: test
* chore: test
* fix: belongs to association only in eager loading tree
2023-12-25 19:44:27 +08:00
Zeke Zhang
d570a2c704
feat: the $anyof and $noneOf operators should support non-array values ( #3244 )
...
* fix: the $anyof and $noneOf operators should support non-array values
* chore: add lodash dependency
* test: add unit test
* test: add unit test
2023-12-22 09:52:28 +08:00
chenos
95e6a32647
chore(versions): 😊 publish v0.18.0-alpha.1
2023-12-21 20:40:32 +08:00
ChengLei Shao
261d4c4137
refactor: establish a sound testing system ( #3179 )
...
* chore: use vitest to replace jest
* chore: support vitest
* feat: vitest 1.0
* fix: test
* chore: yarn.lock
* chore: github actions
* fix: test
* fix: test
* fix: test
* fix: test
* fix: jest.fn
* fix: require
* fix: test
* fix: build
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: dynamic import
* fix: bug
* chore: yarn run test command
* chore: package.json
* chore: package.json
* chore: vite 5
* fix: fix variable test
* fix: import json
* feat: initEnv
* fix: env.APP_ENV_PATH
* chore: get package json
* fix: remove GlobalThmeProvider
* chore: update snap
* chore: test env
* chore: test env
* chore: import module
* chore: jest
* fix: load package json
* chore: test
* fix: bug
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* fix: import file in windows
* chore: import module with absolute file path
* fix: test error
* test: update snapshot
* chore: update yarn.lock
* fix: front-end tests do not include utils folder
* refactor: use vitest-dom
* fix: fix build
* fix: test error
* fix: change to vitest.config.mts
* fix: types error
* fix: types error
* fix: types error
* fix: error
* fix: test
* chore: test
* fix: test package
* feat: update dependencies
* refactor: test
* fix: error
* fix: error
* fix: __dirname is not defined in ES module scope
* fix: allow only
* fix: error
* fix: error
* fix: error
* fix: create-app
* fix: install-deps
* feat: update docs
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
ChengLei Shao
2289bb7418
chore: remove field from db ( #3233 )
...
* chore: remove field from db
* fix: test
* chore: test
2023-12-19 20:49:34 +08:00
ChengLei Shao
f60c7626e0
fix: update assocations in belongs to many repository ( #3229 )
2023-12-19 10:07:25 +08:00
chenos
f82b4d8726
feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container ( #3213 )
...
* feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container
* fix: db.sync
* fix: error
* fix: error
* fix: error
* fix: add test case
* fix: migration error
* fix: test error
2023-12-17 11:16:30 +08:00
YANG QIA
cb6a6b87c9
fix(acl): optimize error handling when logged user has no roles ( #3190 )
...
* fix: fix T-2720
* fix: localization
* fix: test
* fix: build
* chore: update
* fix: update title
* chore: update title
* fix: app load error
* fix: load error
* fix: test error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-15 21:03:16 +08:00
xilesun
d6dbc970a5
chore(versions): 😊 publish v0.17.0-alpha.7
2023-12-15 11:39:15 +08:00
Chareice
f6fdec1226
chore(database): update event listener scope in collection
2023-12-14 21:16:10 +08:00
chenos
a702762cca
chore(versions): 😊 publish v0.17.0-alpha.6
2023-12-13 16:36:59 +08:00
xilesun
35301358de
chore(versions): 😊 publish v0.17.0-alpha.5
2023-12-12 23:07:55 +08:00
YANG QIA
474b09c7f2
perf(server): optimize performance of APIs ( #3079 )
...
* perf: add perf_hooks
* perf: add cache
* fix: test
* feat: support bloom filter
* feat: caching token black list
* perf: caching i18n instance
* fix: test
* fix: test
* chore: remove prePerfHooks on app
* chore: improve i18n instances cache
* chore: remove performance measure
* fix: package.json
* perf: optimize cache strategy
* fix: test
* fix: bug
* test: storer of auth-manager
* fix: afterDestroy hook when updating null value
* fix: version
* chore: fix bug and add test
* fix: test
* fix: test
2023-12-12 23:02:09 +08:00
Chareice
2c37910894
chore: field type map
2023-12-12 21:28:42 +08:00
ChengLei Shao
439940cd22
chore: query interface ( #3177 )
...
* chore: query interface
* fix: build
* chore: typo
2023-12-12 21:24:52 +08:00
chenos
cf9ccfe4f9
chore(versions): 😊 publish v0.17.0-alpha.4
2023-12-12 14:10:36 +08:00
Chareice
7166409c75
fix: quote ident in postgres get table definition
2023-12-12 09:58:14 +08:00
Chareice
3b324f31a2
fix(database): phantom dependency
2023-12-06 22:29:13 +08:00
chenos
eef101c177
chore(versions): 😊 publish v0.17.0-alpha.3
2023-12-06 17:19:35 +08:00
chenos
36fd4881b2
chore(versions): 😊 publish v0.17.0-alpha.2
2023-12-06 13:20:48 +08:00
Chareice
95bec2278f
fix: load field when source collection not found
2023-12-06 09:45:32 +08:00
chenos
1757a96b51
chore(versions): 😊 publish v0.17.0-alpha.1
2023-12-04 14:58:09 +08:00
xilesun
9d644304c1
chore(versions): 😊 publish v0.16.0-alpha.6
2023-12-04 11:01:24 +08:00
Chareice
1efedee68c
fix: test params
2023-12-01 12:46:51 +08:00
chenos
8977420eec
chore(versions): 😊 publish v0.16.0-alpha.5
2023-11-30 12:41:50 +08:00
ChengLei Shao
9ed6993130
fix: query view collection with primaryKey ( #3104 )
2023-11-28 14:59:43 +08:00
Chareice
f5dc8cebf8
chore: field type map
2023-11-28 09:38:21 +08:00
ChengLei Shao
c7ef9618a9
feat(database): support find with filter and where ( #3097 )
2023-11-26 21:41:40 +08:00
chenos
ffb300d357
chore(versions): 😊 publish v0.16.0-alpha.4
2023-11-24 23:15:10 +08:00
ChengLei Shao
c81fb46071
fix: update inherited collection performance issue ( #3070 )
2023-11-21 21:36:08 +08:00
chenos
cba967933e
chore(versions): 😊 publish v0.16.0-alpha.3
2023-11-20 19:36:12 +08:00
chenos
dfb940e091
feat: node >= 18 ( #3066 )
...
* feat: node >= 18
* fix: release version
* chore(versions): test publish packages xxx
* fix: gitignore
2023-11-20 19:35:30 +08:00
chenos
91053b31ef
chore(versions): 😊 publish v0.16.0-alpha.1
2023-11-20 17:19:09 +08:00
ChengLei Shao
57d6a82fcc
feat: show table definition ( #3061 )
...
* feat: show table definition
* chore: test
2023-11-20 09:58:28 +08:00
ChengLei Shao
d7d2eb634e
feat: mariadb support ( #3052 )
...
* feat: mariadb support
* feat: mariadb test
* chore: mariadb test
* chore: test
* fix: sort field test
* fix: sort field test
* fix: test
* fix: test
* fix(bi): chart query support mariadb
* chore: test timeout
* chore: test
---------
Co-authored-by: xilesun <2013xile@gmail.com>
2023-11-20 08:54:40 +08:00
ChengLei Shao
eac8559104
chore: view inference ( #3060 )
2023-11-18 22:35:20 +08:00
ChengLei Shao
0acd7b6dd3
fix: sort by association collection ( #3058 )
...
* fix: sort by association collection
* fix: test
* chore: test
* chore: create sortfield if hasmany sortable set true
* fix: drag sort
* chore: update sort by options
* chore: sync collection after update sortBy
* chore: test
* chore: test
* chore: test
* fix: sort by
* fix: model.syncSortByField
* fix: hasmany only
* fix: sortBy
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-18 22:02:21 +08:00
chenos
ef1b9db2a9
chore(versions): 😊 publish v0.15.0-alpha.4
2023-11-18 21:22:03 +08:00
ChengLei Shao
76a225e354
feat: register collection sync logic ( #3055 )
2023-11-17 11:22:46 +08:00
chenos
60112aae62
chore(versions): 😊 publish v0.15.0-alpha.3
2023-11-16 15:03:40 +08:00
ChengLei Shao
b497ef125e
feat: collection factory ( #3047 )
2023-11-15 16:22:48 +08:00
chenos
b597aec1dc
chore(versions): 😊 publish v0.15.0-alpha.2
2023-11-13 18:28:48 +08:00
chenos
29457cb2bc
chore(versions): 😊 publish v0.15.0-alpha.1
2023-11-13 11:02:35 +08:00
chenos
3b5b732a1a
feat: plugin-mock-collections ( #2988 )
...
* feat: plugin-mock-collections
* fix: mock bug
* feat: field interfaces
* fix: field interface
* fix: formula
* fix: file collection
* fix: map
* refactor: change api path from :create to :mock
* fix: avoid test failed
* chore: remove useless code
* fix: mock records
* fix: association
* feat: custom data
* fix: mockAttachment
* fix: count
---------
Co-authored-by: Rain <958414905@qq.com>
2023-11-10 11:32:03 +08:00
chenos
3d0b42e72e
fix(import): remove commas from numbers ( #3011 )
2023-11-10 10:00:21 +08:00
ChengLei Shao
ac3f63b110
feat: drop table with cascade option ( #2973 )
...
* refactor: delete collection support cascade
* chore: remove collection from database
* feat: remove collection with cascade option
* chore: test
* chore: test
* chore: delete collection support cascade
* refactor: code improve
* refactor: locale improve
* style: delete collection modal style improve
* revert: filemanger-plugin
* revert: code improve
* revert: code improve
* revert: fix: bluk dele collection
* fix: cascade === true && cascade === 'true'
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-06 11:50:37 +08:00
katherinehhh
9a730a8fec
test: client ui test ( #2736 )
...
* test: add menu group test
* test: add menu link test
* test: insert befort page test
* test(e2e): better locators for designer buttons
* fix: make test passing
* test: esit menu title
* test: move menu
* test: move menu
* test: move menu
* test: menu insert page before
* test: menu insert page before
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: insert page after
* test: insert page after
* test: create new page
* test: menu test refactor
* test: page test
* test: page header
* test: page title
* test: edit page title
* refactor: remove DesignerControl
* test: page test
* test: page test
* test: page tab test
* test: page tab move test
* test: page tab move test
* test: block test
* chore: better locators
* test: add block test
* test: block test
* test: action & field test
* fix: should not disable add-menu-item
* chore: better test id for block
* chore: optimize Action
* chore: remove role in BlockItem
* test: block test
* test: edit block title
* test: edit block title
* test: plugin manager ui test
* test: plugin manager remove ui test
* test: plugin manager remove ui test
* test: plugin manager remove ui test
* test: plugin manager enable ui test
* feat: improve locators
* test: menu test
* test: menu test
* test: menu test
* test: page test
* test: page test
* test: block test
* test: block test
* test: block test
* test: field test
* test: field test
* test: field test
* test: field test
* test: field test
* test: field test
* chore: menu & add block
* test: action test
* chore: initializer
* chore: testid -> aria label
* chore: tabs
* test: action test
* test: action test
* test: action test
* chore: designers
* refactor: optimize schemaInitializer
* refactor: rename
* chore: add collectionName
* chore: block item
* chore: action
* fix: avoid crashting
* chore(e2e): add __E2E__
* chore: all dialog
* test: action test
* test: action test
* test: field test
* test: field test
* test: field test
* test: field test
* test: page test
* chore: add aria-label for block menu
* Revert "chore: add aria-label for block menu"
This reverts commit 6a840ef816ee1095484dc268b5dfa1bbe6cd8cbe.
* test: action test
* test: page test
* chore: optimize aria-label of Action
* test: pm test
* chore: schema-initializer
* test: pm test
* chore(e2e): increase timeout
* chore: schema settings
* chore: optimize table
* chore: workflow
* chore: plugin manager
* chore: collection manager and workflow
* chore: details of workflow
* chore: remove testid of Select
* test: fix unit-tests
* test: fix unit-tests
* test: menu test
* test: page test
* test(e2e): passing tests
* test: page test
* test: block test
* test: field test
* test: fix unit test
* chore: should use hover
* test: field test
* test: passing tests
* chore: passing tests
* test: action test
* chore: fix CI
* chore: fix CI
* test: pm test
* chore: increase timeout in CI
* test: blcok test
* revert: plugin card
* test: pm test
* test: pm test
* chore: remove testid for Modal
* refactor: rename testid
* fix: __E2E__ should be true in CI
* fix(buildPlugin): __E2E__ should be true in CI
* fix: __E2E__
* Revert "fix: __E2E__"
This reverts commit c899a33761fbfab94283f6bf41eae197f889068b.
* fix: __E2E__
* fix: passing tests
* test: action test optimize
* test: menu page pm test
* test: menu page pm test
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-04 12:39:44 +08:00
chenos
2bb0f7c51c
chore(versions): 😊 publish v0.14.0-alpha.8
2023-11-01 09:52:49 +08:00
chenos
2008bfa54a
fix(import): filter non-existent fields
2023-10-31 12:11:15 +08:00
chenos
e1c30f25e2
fix: theme migration error ( #2929 )
...
* fix: theme migration error
* fix: themeConfig:list public
* fix: item.changed
* refactor: make better
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-28 17:14:31 +08:00
ChengLei Shao
a1c425f733
fix: error when post create action with emtpy value ( #2916 )
...
* fix: error when post create action with emtpy value
* chore: sanitize
2023-10-26 11:42:09 +08:00
ChengLei Shao
cc676c3dda
feat(database): sync false option ( #2864 )
2023-10-19 16:12:12 +08:00