katherinehhh
44e7f48f99
test: main data source e2e test ( #3816 )
...
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: test
* test: test
* refactor: code improve
* test: test
2024-03-28 21:04:53 +08:00
jack zhang
1dfd97cad5
create nocobase app unit test ( #3833 )
...
* fix: unit test package bug
* fix: client esm
* fix: nocobase test e2e esm format (T-2824)
2024-03-28 11:08:08 +08:00
Junyi
b6ae528d80
chore(test): fix agent type ( #3819 )
2024-03-26 14:51:40 +08:00
jack zhang
36372c9614
fix: embed plugin need hooks and e2e change ( #3727 )
2024-03-26 14:32:52 +08:00
Zeke Zhang
e3d8a95809
fix(associationBlock): fix association blocks for parent collection f… ( #3813 )
...
* fix(associationBlock): fix association blocks for parent collection fields
* test: add e2e
2024-03-26 11:42:46 +08:00
Zeke Zhang
b690a3afd1
chore(e2e): update retries in defineConfig
2024-03-26 11:37:27 +08:00
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style ( #3604 )
...
* refactor(SchemaSettings): unify naming style
* refactor(SchemaInitializers): unify naming stle
* 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
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* chore: delete pro-packages
* feat: add CompatibleSchemaInitializer
* test: add unit tests
* chore: add @internal for CompatibleSchemaInitializer
* chore: block
* chore: field
* chore: ations
* fix: build
* chore: typo
* fix: fix unit tests
* test: fix e2e
* chore: remove igone
* refactor: page:addBlock
* refactor: popup:addNew:addBlock
* fix: fix max call stack
* refactor: popup:addRecord:addBlock
* refactor: remove blockInitializers:recordForm
* refactor: popup:tableSelector:addBlock
* refactor: popup:view:addBlock
* refactor: popup:bulkEdit:addBlock & charts:addBlock
* refactor: mobilePage:addBlock
* refactor: popup:snapshot:addBlock
* refactor: popup:workflowManual:configureUserInterface:addBlock
* fix: avoid crashing
* chore: optimize
* refactor: popup:common:addBlock
* refactor: workflowManual:popup:configureUserInterface:addBlock
* refactor: details:configureFields
* refactor: form:configureFields
* refactor: table:configureColumns
* refactor: filterForm:configureFields
* refactor: associationFilterInitializer
* refactor: assignFieldValuesForm:configureFields
* refactor: bulkEditForm:configureFields
* refactor: auditLogsTable:configureColumns
* refactor: chartFilterForm:configureFields
* refactor: kanban:configureItemFields
* refactor: workflowManual:customForm:configureFields
* refactor: detailsWithPaging:configureActions
* refactor: details:configureActions
* refactor: createForm:configureActions
* refactor: editForm:configureActions
* refactor: gridCard:configureActions
* refactor: gridCard:configureItemActions
* refactor: list:configureActions
* refactor: list:configureItemActions
* refactor: table:configureItemActions
* refactor: table:configureActions
* refactor: filterForm:configureActions
* refactor: subTable:configureActions
* refactor: bulkEditForm:configureActions
* refactor: auditLogsTable:configureItemActions
* refactor: auditLogsTable:configureActions
* refactor: calendar:configureActions
* refactor: chartFilterForm:configureActions
* refactor: gantt:configureActions
* refactor: kanban:configureActions
* refactor: map:configureActions
* refactor: workflowManual:form:configureActions
* feat: use 'createForm:configureActions' in page
* feat: use 'details:configureActions' in Calendar
* feat: register deleteEvent initializer in calendar plugin
* fix: fix delete event action
* test: fix e2e
* test: fix e2e
* chore: only run workflow's e2e
* Revert "chore: only run workflow's e2e"
This reverts commit 9e5b4af41e
.
* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +08:00
Zeke Zhang
26432ec84c
chore(e2e): reduce timeout
2024-03-05 16:32:30 +08:00
Zeke Zhang
e10899b271
fix(Table): fix Fixed Block bug ( #3601 )
...
* fix(Table): fix Fixed Block bug
* test: unskip e2e
* chore: remove comment
* Revert "fix(Table): fix Fixed Block bug"
This reverts commit 7e7e22c6d3
.
* fix(Table): fix Fixed Block bug
* refactor: remove useless code
* fix: empty page
* chore: increase timeout
2024-03-05 16:27:17 +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 991021ceae
.
* Revert "refactor: replace field initializers name"
This reverts commit b47b808d06
.
* Revert "refactor: replace action initializers name"
This reverts commit eab1b6e3d9
.
* Revert "refactor: replace block intializers name"
This reverts commit 50ab9da177
.
* Revert "refactor: replace to blockInitializers:customizeCreateForm"
This reverts commit 77b9f59bb1
.
* Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm"
This reverts commit e9a38b0b4d
.
* Revert "refactor(SchemaInitializers): unify naming stle"
This reverts commit 542390899f
.
* Revert "refactor(SchemaSettings): unify naming style"
This reverts commit 8566735922
.
* Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe"
This reverts commit 884f6df92f
.
* 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
1adaa53c2b
feat: supports the WS_PATH environment variable ( #3384 )
2024-01-13 18:05:22 +08:00
by
effff269dc
fix: filter form drop-down selection to add data range ( #3321 )
...
* fix: filter form drop-down selection to add data range
* refactor: use existing code directly
* test: add tests
---------
Co-authored-by: zhangboya3 <zhangboya3@xiaomi.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-01-09 12:21:16 +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
Zeke Zhang
2ab9f8625e
chore(e2e): make parallelism mode more stable ( #3294 )
...
* chore: make parallelism mode more stable
* refactor: optimize e2e tests
* test: make test more stable
* chore: change concurrency to 4 from 2
* refactor: inline variable
* test: fix error
* test: avoid error
* test: avoid error
* test: avoid error
* chore(e2e): remove --stop-on-error on CI runs
* Revert "refactor: inline variable"
This reverts commit 454bb04613
.
* test: make more stable
* chore: adjust timeout
* chore: update config
* test: make test more stable
* chore: update yarn.lock
* Revert "chore: update yarn.lock"
This reverts commit 1bb7a661d1
.
* test(workflow): increase local timeout
* test: optimize
* test: more stable
* test: fix errors
* test: more stable
* chore: increase retries to 2 in CI
2024-01-06 06:37:23 +08:00
Zeke Zhang
e99c2f2011
fix(defaultValue): fix unparsed default value in edit form's subtable ( #3289 )
...
* chore: yarn.lock
* fix: fix unparsed default value in edit form's subtable
* test: fix test
* fix: fix T-2805
* chore: increase timeout
* chore: increase expect timeout
* test: optimize parallelism mode
* test: reduce expect timeout
* test: mack test more stable
* chore: test
* chore: test
* test: fix parallelism mode
* chore: restart
2024-01-01 18:44:42 +08:00
katherinehhh
c9d5292d03
test(e2e): acl e2e test ( #3249 )
...
* test: acl test
* test: acl action test
* test: acl test
* test: acl test
* test: acl collection block test
* test: acl e2e test
* test: acl e2e test
* test: acl test
* test: acl collection test
* test: acl collectin test
* test: acl association test
* test: association acl test
* test: collection acl test
* test: collection acl test
* test: acl test
* test: acl updateRole test
* test: menu permission test
* test: menu permission test
* test: menu permission test
* test: menu permission test
* test: acl test
* test: acl test
* test: acl test
* test: acl test
* test: acl test
* test: menu acl test
* test: acl test
* refactor: setDefaultRole
* fix: merge bug
* fix: merge bug
* test: acl test
2023-12-29 09:15:57 +08:00
Zeke Zhang
4121075a98
test(e2e): add tests for collection manager ( #3253 )
...
* refactor: optimize file structure
* test: add tests for collection templates
* test: fix errors
* fix: fix errors
* test: schemaInitializer of fields
* fix: test erros
* fix: test error
* test: make tests more stable
* test: fix tree template
2023-12-29 09:14:47 +08:00
hongboji
e7c2c9ff83
test: workflow e2e ( #3261 )
...
* test: workflow e2e
* test: workflow e2e
* fix: merge main, fix incompatibility
* test: remove unneeded test cases
* fix: process.env.PLAYWRIGHT_AUTH_FILE
* fix: workflow e2e
* test: increase e2e timeout-minutes to 180
* fix: error
* fix: workflow aggregate e2e test
* fix: cancel useTransaction
* fix: updateRecord
* fix: queryRecord
* fix: queryRecord
* fix: queryRecord
* fix: formEvent
* fix: format files
* fix: test
* fix: error
* fix: error
* fix: split files
* fix: ci
* fix: error
* fix: error
* fix: client end
* fix: test
* fix: test
* feat: concurrency=10
* fix: concurrency=3
* test: increase timeout
* test: p-test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-29 09:13:00 +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
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
Zeke Zhang
1eee7f5f4e
fix(e2e): change the value of adminSchemaUid
2023-12-17 15:51:28 +08:00
Zeke Zhang
3b7c1345cc
test(e2e): add tests for client ( #3144 )
...
* test: add tests for lazy loading of association fields
* refactor: migrate
* test: add tests for page
* test: add tests for page menu
* test: add tests for tabs
* test: add tests for detail block
* test: add tests for list block
* test: add tests for grid card block
* test: add tests for filter collapse block
* test: add tests for markdown block
* test: add tests for table block
* test: add tests for table block
* test: add tests for lazy loading of association fields
* test: add tests for data scope
* test: add tests for filter block
* test: add tests for block template
* test: add tests for drag and sorting
* test: add tests for sorting rules
* test: make testing more stable
* Revert "test: make testing more stable"
This reverts commit 78b7badeb6
.
* perf: remove enableToConfig
* test: make testing more stable
* test: make testing more stable
* test: delete newly created records to make tests more stable
* fix: fix error when deleting records
* test: make testing more stable
* test: make testing more stable
* test: fix tests
* refactor: optimize file structure
* test: fix tests
* test: fix tests
* refactor: optimize description
* refactor: optimize description
* refactor: use __e2e__ as the root directory for test files
* fix: fix build
* test: make testing more stable
2023-12-13 14:14:33 +08:00
jack zhang
bf1a19426a
refactor: new schema initializer and schema settings ( #2802 )
...
* fix: form
* refactor: schema-initializer
* fix: bug
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* fix: bug
* fix: workflow
* fix: docs
* fix: bug
* fix: bug
* feat: style
* fix: remove v2
* fix: visible
* fix: bug
* fix: item hook
* feat: item hook
* fix: add search DataBlockInitializer
* fix: build bug
* fix: style bug
* fix: style bug
* fix: test bug
* fix: test bug
* fix: rerender bug
* fix: remove menu select
* fix: bug
* chore: add aria-label for SchemaInitializerButton
* refactor: rename name to camel case
* fix: menu height bug
* fix: build errors
* fix: build errors
* fix: bug
* fix: bug
* fix: performance
* test: add test for header
* fix: sidebar is not refresh (T-2422)
* feat(e2e): support to add group page and link page
* chore: make sure the page is configurable when using page.goto
* test: add tests for menu initializer
* fix: imporve code
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* test: make tests passing
* fix: make tests passing
* chore: upgrade vitest to v0.34.6
* chore: increase timeout of e2e
* feat: core
* fix: revert schema initializer demos
* test: menu, page tabs, page grid, table column
* fix: schema button interface
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: action bug
* fix: form-item bug
* fix: types error
* docs: schema settings doc
* docs: schema settings
* feat: schema setting item add name
* fix: visible lazy render bug
* fix: revert form item filter
* fix: test bug
* fix: test JSON.parse bug
* fix: test bug
* fix: improve styling
* fix: styling
* fix: cleanup
* fix: token.borderRadiusSM
* fix: bug
* test: add tests
* fix: style bug
* fix: add chart performance
* feat: add SchemaDesignerContext
* fix: bug
* fix: test bug
* style: create record action style improve
* fix: make test passing
* chore: mack tests passing
* chore: make tests passing
* test: fix tests
* style: style revert
* fix: bug
* fix: data selector
* fix: fix tests
* fix: fix tests
* fix: delete PluginManagerContext
* refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent
* fix: add dn and field builtin to SchemaSettingWrapper
* feat: update docs
* refactor: application providers
* fix: test bug
* fix: fix tests
* chore: make test passing
* feat: update docs
* chore: rename collection name
* feat: update docs
* chore: skip weird test
* fix: blockInitializers media to otherBlocks
* fix: cancel to skip test
* fix: bug
* test: add test
* refactor: migrate to small files
* test: add tests for form block settings
* chore: format
* fix: add chart scroll bug
* refactor: action designer improve
* refactor: formitem designer schemaSetting
* feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem
* test: add tests for color field in creating block
* test: add tests for email field in creating block
* test: make tests passing
* perf: reduce fields number
* fix: sub menu bug
* test: add tests basic in editing form
* test: add tests basic in details form
* fix: improve code
* test: make tests passing
* test(plugin-mock-collections): add color for enum options
* refactor: improve code
* fix: bug
* fix: bug
* refactor: convert parameters to destructured object
* test: add tests choices
* test: add tests media
* test: add tests for datetime in creating form
* feat(plugin-mock-collection): generate faker time
* test: add tests for datetime in editing form
* test: add tests for datetime in details form
* fix: bug
* feat: improve code
* test: add tests for relation fields
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* fix: designableState
* fix: bug
* fix: designable
* fix: designable
* test: add tests for relation fields
* test: add tests for relation fields
* test: add tests for relation fields
* feat: client api doc
* test: add tests for relation fields
* test: avoid errors
* test: make tests passing
* fix: bug
* test: make tests passing
* test: add tests for advanced fields
* test: increase e2e timeout-minutes to 60
* fix: bug
* fix: improve code
* feat: add schema initailizer component demos
* test: make tests passing
* fix: schema settings demos
* feat: shallowMerge & deepMerge
* test: reduce number of tests
* test: make tests passing
* feat: updates
* fix: add Initializer Internal
* demos: useSchemaSettingsRender
* test: make tests passing
* test: make tests passing
* fix: improve docs
* fix: bug
* chore: upgrade dumi theme
* test: make tests passing
* test: add tests for linkage rules
* test: add test for form data templates
* test: add tests for default value
* test: reduce number of tests
* fix: dn.deepMerge
* fix: bug
* fix: bug
* fix: toolbar
* fix: docs ssr
* test: add tests for system fields
* test: add tests for actions
* fix: bug
* test: add tests for lazy loading of variables
* test: make testing more stable
* fix: update docs
* fix: bug
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-04 14:56:46 +08:00
chenos
7adb162cc8
feat(test): add quickstart
2023-12-02 09:40:22 +08:00
Zeke Zhang
6fc644d506
feat(e2e): support for custom data when using mockRecords
2023-12-01 14:58:45 +08:00
ChengLei Shao
2dff989f70
fix: test db creator types ( #3094 )
2023-11-25 19:53:13 +08:00
被雨水过滤的空气-Rain
771ebaaaec
fix: should load association data in subform ( #3083 )
2023-11-23 21:05:07 +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
被雨水过滤的空气-Rain
3c98966169
feat(e2e): add mockCollections ( #3054 )
...
* feat(e2e): add mockCollections
* fix: fix tests
* fix: make tests passing
* fix: fix tests
* fix: fix test
* chore: restart
* chore: skip some test
2023-11-17 16:54:04 +08:00
被雨水过滤的空气-Rain
887ddf0ed1
test: optimize command ( #3030 )
...
* test: optimize command
* chore: add force options
* chore: kill child process
2023-11-14 10:04:09 +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
被雨水过滤的空气-Rain
f374c2f9b5
fix(e2e): APP_BASE_URL ( #2938 )
...
* fix: should use APP_BASE_URL
* chore: should not start local service when setting APP_BASE_URL
* fix: should use process.env.APP_BASE_URL
2023-10-30 18:08:07 +08:00
被雨水过滤的空气-Rain
1ec2d00208
feat(e2e): add test.pgOnly ( #2923 )
2023-10-27 16:54:11 +08:00
ChengLei Shao
a4cccb4032
chore: ci yarn cache ( #2853 )
...
* chore: github action setup node
* chore: github action
* chore: yarn install options
* chore: action cache
* fix: yml
* chore: workflow yaml
* chore: workflow yaml
* chore: db creator log
2023-10-18 07:40:39 +08:00
ChengLei Shao
02559b61ba
feat(ci): run backend tests concurrently ( #2815 )
...
* chore: run backend tests concurrently
* fix: mock app server create database
* chore: using @swc/jest instead of ts-jest
* chore: create test database
* chore: database distributor
* fix: test collection manager
* fix: test
* chore: to use Jest.mock, change the formatter to the commonjs module
* chore: db acquire
* chore: github action
* fix: pg test action
* chore: formatter
* chore: jest workaround
* fix: mysql test
* chore: mysql github action
* chore: clean storage
* chore: gitignore
* chore: max workers
2023-10-17 22:22:45 +08:00
被雨水过滤的空气-Rain
9085f5ca20
chore(e2e): delete collectionName key ( #2783 )
...
* chore(e2e): delete collectionName key
* test: add test
2023-10-10 15:03:17 +08:00
Rain
9ee18ca2aa
refactor(e2e): shuold use test.extend to extend createCollections (T-2157)
2023-10-10 08:26:23 +08:00
被雨水过滤的空气-Rain
f85fb6d7ba
refactor(e2e): support batch creation of collections ( #2778 )
...
* chore: types
* refactor: optimize create collections
* chore: make throw error
* chore: export createCollections
2023-10-10 07:46:24 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e ( #2624 )
...
* chore: upgrade vitest to v0.34.3
* feat: setup NocoBase
* chore: preparing test env
* test: add a test of rigster
* refactor: rename test dir to testUtils
* chore: add tests
* chore: add ci for e2e
* chore: fix ci
* chore: avoid error in CI
* chore: add some utils for test
* chore: make more stable
* chore: should not close server in CI
* chore: add comments
* chore: change output dir
* fix: should use current branch to run tests
* chore: should request systemSettings by api in e2e
* chore: should build first in e2e CI
* chore: remove key
* chore: use execa to replace execSync
* refactor: extract test suite
* chore: add gotoPage
* chore: update uid of pageSchema
* chore: update collection name
* chore: use faker.js to generate data
* refactor: extract page config
* chore: ignore for association fields in faker
* chore: add testid
* chore: optimize action designer
* chore: associationFilter.Item designer
* chore: AssiciationFilter & BlockItem
* Revert "chore: AssiciationFilter & BlockItem"
This reverts commit b418df650e
.
* Revert "chore: associationFilter.Item designer"
This reverts commit 7aa4d35c1a
.
* Revert "chore: optimize action designer"
This reverts commit ff717b972f
.
* chore: optimize Designer
* chore: compat with older browsers
* chore: use describe to avoid hooks is not run
* chore: add no-floating-promises to eslint rules
* chore: support argv
* chore: demo
* chore: better testId
* chore: change .e2e.ts to .test.ts
* fix(SchemaInitializer): avoid error
* refactor: move e2eUtils.ts to @nocobase/test
* fix: move e2eUtils to client
* chore: remove uselesscode
* refactor: add .env.e2e.example
* chore: optimize log
* refactor: use mockPage to replace gotoPage
* chore: update env.e2e
* chore: add APP_BASE_URL
* chore: gitigore
* test: add test related of menu
* chore: add SOCKET_PATH in env
* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
ChengLei Shao
ce879d2dda
feat(application): cron job in application ( #2730 )
2023-09-27 19:31:14 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor ( #2353 )
...
* chore: skip sync localization-management plugin enable status
* chore: unSyncPlugins array
* chore: remove install at dev
* chore: gateway and supervisor
* chore: install command
* chore: remove app manager
* chore: share plugin
* chore: wsserver
* chore: websocket server
* chore: websocket connection with app status
* feat: socket server at gateway
* chore: loading message
* chore: ready status
* chore: handle app error
* feat: restart app at supervisor
* feat: health check endpoint
* chore: test
* chore: test
* chore: test
* chore: test
* chore: build
* chore: test
* chore: build
* chore: application ready status
* chore: error message
* chore: handle application error
* chore: handle error in load
* chore: report error in websocket
* chore: ws error
* chore: ws error
* chore: typo
* chore: switch app ready status at install
* chore: test
* chore: test
* chore: test
* chore: test
* feat: add WebSocket client
* chore: start gateway
* chore: start command in application
* chore: code
* chore: pm command
* chore: run start after load sub app
* feat: application fsm
* refactor: server life cycle (#2402 )
* refactor: server life cycle
* fix: test error
* fix: test error
* fix: test error
* fix: app.start
* fix: cronjob stop
* fix: db.sync before upgrade
* fix: pm.get
* fix: test error
* fix: test error
* fix: test error
* test: add test cases
* fix: remove PluginType
* chore: start application after install
* chore: fsm
* chore: working status
* chore: working command
* chore: remove swith app ready status
* chore: switch status after working done
* chore: ws status
* chore: gateway error
* chore: test
* chore: stopping status
* chore: test
* chore: test
* feat: app proxy
* chore: application destory
* chore: application message changed with status
* chore: test
* chore: test timeout
* test: remove listener add by plugin
* test: remove listener add by plugin
* chore: test
* feat: app maintaining
* fix: add AppMaintainingDialog
* feat: off
* test: gateway http response
* test: gateway with errors
* chore: unkown error
* chore: websocket message
* chore: ws message
* chore: code
* chore: error format
* chore: delay app load
* feat: improve code
* chore: application initializing status
* chore: supervisor with app status
* chore: command status response
* chore: test
* chore: ws message
* chore: test
* fix: command running message
* feat: restart
* chore: code
* chore: status transition
* chore: test
* fix: improve code
* fix: error
* fix: restart
* fix: command
* chore: reset client app tag when app selector changed
* chore: error report
* fix: application status
* fix: build
* chore: disable help command dispatch
* chore: test
* test: multi apps test
* fix: improve code
* fix: test
* fix: test
* fix: multi apps single running
* fix: improve code
* fix: app status
* chore: move plugin static file to gateway
* feat: static file handler
* chore: test
* chore: enable plugins in share collection
* chore: gateway serve upload files
* fix: improve client
* chore: ws nginx config
* fix: gateway with naonoid
* fix: db sync
* fix: loading
* fix: ping
* fix: locale load
* fix: yarn start --quickstart
* fix: add debug log
* chore: application started event
* chore: running working message payload
* chore: nginx log
* chore: nginxconf
* chore: working message log
* feat: logs
* feat: compression
* fix: remove koa-send and koa-static
* fix: remove -e
* fix: remove nginx
* fix: remove -e
* fix: __appName
* chore: delay install sub application
* chore: sync plugin status
* fix: boot sub app
* fix: main app reload
* fix: test
* fix: app status
* test: field.bind block event loop
* feat: newrelic
* feat: debug log
* chore: upgrade
* fix(file-manager): test error
* fix: default app selector
* fix: reload after maintained
* chore: boot sub app
* chore: application destroy command
* chore: destroy command
* chore: clean code
* chore: package.json
* chore: maintaining message
* chore: test
* fix: collection.sync
* feat: add test cases
* chore: application
* fix: test error
* feat: improve codes and add test cases
* fix: test error
* fix: pm enable and disable
* fix: pm.disable
* feat: update docs
* chore: update dockerfile
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load ( #2253 )
...
* refactor: plugin build and plugin template
* refactor: plugins' deps
* refactor: plugins bugs
* feat: add plugin static middleware
* fix: bugs
* refactor: frontend plugin add from remote
* refactor: delete useless app/client/plugins
* fix: requirejs move to local
* fix: tests case
* refactor: add src/client and src/server dir check
* fix: lodash tree shaking
* refactor: add BUILD_TIP
* refactor: add file size tip
* fix: bugs
* fix: bug
* fix: change china-division
* fix: change plugins response
* fix: recover dynamicImport
* fix: change server src entry
* fix: test error
* fix: plugins sourcemap => false
* fix: production file error
* refactor: change build tools to vite and tsup
* fix: yarn.lock
* fix: bugs
* fix: server build bugs
* fix: delete .fatherrc.ts
* fix: bug
* fix: bug
* fix: bugs
* fix: bugs
* fix: bugs
* refactor: add plugin d.ts
* refactor: delete fatherrc
* refactor: delete father scripts
* refactor: build bug
* fix: bug
* fix: deps adjust
* fix: add build tips
* fix: bug
* refactor: ignore plugins when build client
* docs: update doc
* refactor: docs and build
* fix: bug
* refactor: build deps
* fix: add USER_REMOTE_PLUGIN env
* feat: add plugin static cache
* feat: add build deps cache
* fix: bugs
* test: add test
* fix: add plugin depden on plugin tip
* fix: adjust shouldDevDependencies
* fix: deps
* fix: ajust deps
* fix: mobile style error
* fix: map error
* fix: test
* fix: bug
* feat: lodash and dayjs import from themself
* feat: @emotion/css 、ahooks and lodash to global
* fix: theme-editor plugin error
* fix: review
* feat: move all plugins' dependencies to devDependencies
* feat: change build
* feat: add devPlugins
* fix: bug
* fix: bugs
* fix: bugs
* fix: bugs
* feat: build bugs
* fix: bugs
* fix: bugs
* fix: review
* fix: bug
* fix: change deps build
* fix: bugs
* fix: bug
* fix: bug
* fix: bugs
* fix: bug
* fix: bug
* fix: multi language
* fix: dist
* fix: cronstrue
* fix: getPackageClientStaticUrl
* fix: antd dayjs locale
* fix: plugin' d.ts import from dist
* fix: multi language
* fix: build types error
* fix: requireModule
* fix: plugin lifecycle
* fix: client resource
* fix: improve code
* fix: locale
* feat: custom build
* fix: require locale
* fix: improve code
* fix: improve code
* fix: skip preset
* fix: collection undefined
* feat: yarn build
* fix: remove enabled
* fix: update dockerfile
* fix: formily version
* docs: update v12 changelog
* fix: devDependencies
* feat: @nocobase/app
* feat: generateAppDir
* fix: improve code
* fix: 0.11.1-alpha.5
* fix: missing @nocobase/client
* fix: error
* fix: add .npmignore
* feat: upgrade antd version
* fix: dependencies
* fix: peerDependencies
* fix: remove china-division dep
* fix: toposort deps
* fix: update dockerfile
* fix: plugin template
* fix: app client outputPath
* feat: update docs
* fix: nginx server root
* fix: storage/.app-dev
* fix: getChinaDivisionData
* feat: plugin info
* feat: update docs
* fix: docs menu
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-02 00:07:52 +08:00
Dunqing
25a3a8affa
feat: support token blacklist ( #2168 )
...
* feat: support token blacklist, Close T-799
* feat: clean
* fix: possible token does not exist
* fix: update
* feat: update
* feat: add node-cron to delete expired token
* fix: findOrCreate not work and add test case
* test: add token-blacklist tests
* feat: add test cases for blacklist in authManager
* test: update better
* fix: should hidden token field
* test: clean
* test: clean
* fix: should stop cron in afterStop
* refactor: move delete expired token in token blacklist service
* feat: remove plugin disable/enable logic
* fix: clean
* test: revert
* fix: cron typo
2023-07-05 21:57:57 +08:00
YANG QIA
24601aa66f
feat(auth): support custom authentication ( #2007 )
...
* feat(auth): init auth package & collection
* feat(auth): register
* feat(auth): use authenticator
* feat(auth): mapRoles
* feat(auth): refactor
* feat(auth): base auth class
* feat(auth): add plugin
* chore(auth): test
* chore(auth): add test cases
* feat(auth): authenticators pane
* chore(auth): custom hook useAuthTypes
* feat(auth): authenticator pane
* chore(auth): store options schema using context
* feat(auth): signInPage provider
* feat(auth): signUpPage provider
* chore(auth): solve build errors
* chore(auth): add dependency
* chore(auth): remove dependency cycles
* chore(auth): add plugin-auth to preset
* chore(auth): fix test
* feat(auth): authenticator enable status
* fix(test): fix test using new authentication
* feat(auth): migration, set up basic auth
* chore(auth): can set options ui by component
* fix(test): workflow manunal.test
* fix(test): typo
* feat(auth): support multi-language
* chore(auth): imporve code
* chore(auth): hide button if no configuration
* chore(auth): readme
* chore(auth): remove allowSignup prop
* chore(auth): move configure pane to edit form
* fix(auth): jwt options bug
* feat(auth): init sms-auth
* chore(auth): at least authenticator required
* chore(auth): add test
* feat(auth): support sms auth
* fix(auth): fix test
* chore(auth): move findOrCreateUser to AuthModel
* chore(auth): history compatible processing
* feat(auth): support SAML auth
* chore(auth): saml auth list
* chore(saml-auth): improve ui
* Merge branch 'main' into feat/authentication
* chore(auth): improve code
* fix(saml-auth): fix bug
* fix(saml-auth): fix saml options
* chore(saml-auth): compatible processing && ut
* fix(auth): signin page bug
* chore(auth): saml compatible processing
* feat(auth): oidc-auth
* fix(oidc-auth): bug
* fix(oidc-auth): bug
* fix(auth): fix test
* chore(auth): filter enabled authenticator
* chore(oidc): add field map
* chore(auth): update readme
* docs(auth): create sms-auth readme
* feat(auth): allow signup config
* test(auth): fix test
* feat(auth): allow saml and oidc use http
* chore(oidc-auth): extends timeout
* docs(auth): update readme
* feat(auth): support sort
* docs(saml): update readme
* feat(auth): support sort all authenticator
* Merge branch 'main' into feat/authentication
* Merge branch 'main' into feat/authentication
* feat: improve code
* docs(auth): add doc
* Merge branch 'main' into feat/authentication
* chore: update yarn.lock
* feat: improve code
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: edit
* refactor: auth class
* fix: set options
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: add migrations
* test: fix api-client test
* chore: add sms-auth
* feat: avoid no permission after auth type disabled
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 23:46:42 +08:00
被雨水过滤的空气-Rairn
47838889f4
test: add tests for client ( #1960 )
...
* feat: add test utils
* test: fix compatibility problem
* refactor: use esm
* refactor: change require to import
* test: add a test
* chore: optimize launch.json
* chore(jest): optimize config
* test: fix failed
* test(Action): fix failed
* test: migration test from nocobase-next
* test: fix failed
* chore: set css to false
* fix: fix errors
* test(Filter): add test
* test(BlockItem): add test
* test(Calendar): add test
* refactor: migrate testUtils to client
* fix: avoid error
* refactor: fix lint error
* Revert "refactor: migrate testUtils to client"
This reverts commit ae569e2021a5c720111518cf3f2236e761a7186d.
* test: fix test failed
* refactor: migrate tesetUtils to @nocobase/test/client
* fix(Select): fix BUG
* refactor: remove useless code
* Revert "refactor: migrate tesetUtils to @nocobase/test/client"
This reverts commit 70d2211d5af546ae3fffaf5b53a326be8e194b34.
* test(AssociationSelect): add test
* test(CardItem): add test
* test(CollectionSelect): add test
* test(Cron): add test
* test(Details): add test
* test(ErrorFallback): add test
* test(Form): add test
* fix: fix CI
* test(FormItem): add test
* test(FormV2): add test
* test(G2Plot): add test
* test(Gantt): add test
* test(Grid): add test
* test(GridCard): add test
* test(Kanban): add test
* test(List): add test
* test(Menu): add test
* test(Page): add test
* test(Pagination): add test
* test(Preview): add test
* test(RemoteSelect): add test
* test: fix: failed
* refactor: remove useless code
* test(Table): add test
* test(TableV2): add test
* test(Tabs): add test
* test(Variable): add test
* test(Upload): add test
* chore: comment
* Revert "refactor: change require to import"
This reverts commit 3a23607e6faeda6f8b5bee02b9d8fa33bf9d2684.
* refactor: remove useless code
* fix: fix translation bug
* fix: fix export position
* test: update snap
2023-06-07 10:37:10 +08:00
Junyi
36d16bc015
refactor(plugin-fm): change api and allow to select storage ( #1250 )
...
* refactor(plugin-fm): change api and allow to select storage
* fix(plugin-fm): fix lint errors and demo actions
* refactor(plugin-fm): refactor action codes
* fix(plugin-fm): fix api in test
* fix(plugin-fm): fix build
* fix(plugin-fm): fix locale
* refactor(plugin-fm): hide storage from api and use sourceField param
* fix(plugin-fm): fix storage select load
* fix: improve code
* fix(plugin-fm): change to attachmentField
* refactor(plugin-fm): change middleware name
* fix(plugin-fm): fix params in test cases
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 19:30:42 +08:00
ChengLei Shao
0832a56868
feat: multiple apps ( #1540 )
...
* chore: skip yarn install in pm command
* feat: dump sub app by sub app name
* feat: dump & restore by sub app
* chore: enable application name to edit
* chore: field belongsTo uiSchema
* test: drop schema
* feat: uiSchema migrator
* fix: test
* fix: remove uiSchema
* fix: rerun migration
* chore: migrate fieldsHistory uiSchema
* fix: set uiSchema options
* chore: transaction params
* fix: sql error in mysql
* fix: sql compatibility
* feat: collection group api
* chore: restore & dump action template
* chore: tmp commit
* chore: collectionGroupAction
* feat: dumpableCollection api
* refactor: dump command
* fix: remove uiSchemaUid
* chore: get uiSchemaUid from tmp field
* feat: return dumped file url in dumper.dump
* feat: dump api
* refactor: collection groyoup
* chore: comment
* feat: restore command force option
* feat: dump with collection groups
* refactor: restore command
* feat: restore http api
* fix: test
* fix: test
* fix: restore test
* chore: volta pin
* fix: sub app load collection options
* fix: stop sub app
* feat: add stopped status to application to prevent duplicate application stop
* chore: tmp commit
* test: upgrade
* feat: pass upgrade event to sub app
* fix: app manager client
* fix: remove stopped status
* fix: emit beforeStop event
* feat: support dump & restore subApp through api
* chore: dumpable collections api
* refactor: getTableNameWithSchema
* fix: schema name
* feat: cname
* refactor: collection 同步实现方式
* refactor: move collection group manager to database
* fix: test
* fix: remove uiSchema
* fix: uiSchema
* fix: remove settings
* chore: plugin enable & disable event
* feat: modal warning
* fix: users_jobs namespace
* fix: rolesUischemas namespace
* fix: am snippet
* feat: beforeSubAppInstall event
* fix: improve NOCOBASE_LOCALE_KEY & NOCOBASE_ROLE_KEY
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-10 19:16:00 +08:00
ChengLei Shao
4d44e31b31
fix: test with nocobase plugin ( #1525 )
2023-03-03 13:54:37 +08:00
ChengLei Shao
856b6efa77
feat: prepare database method ( #1492 )
2023-02-23 20:14:50 +08:00