ChengLei Shao
2063227f4a
refactor: export & import plugin ( #4468 )
...
* feat: chunk method in repository
* chore: xlsx export test
* chore: xlsx export
* chore: export action
* chore: export action
* chore: code
* feat: database interface manager
* feat: export with ui schema
* chore: console.log
* chore: export with china region field
* chore: export with attachments
* chore: export with multiple select
* chore: export with interface
* chore: export action
* fix: export with datetime file
* chore: limit export action running in same time
* chore: yarn.lock
* fix: render json value
* chore: chunk with limit
* feat: add EXPORT_LIMIT env config
* fix: typo
* fix: type
* chore: asyn mutex version
* chore: test
* chore: test
* fix: export null value
* chore: test
* chore: createdAt test
* fix: export with createdAt
* chore: import template
* chore: xlsx importer
* chore: import run
* chore: export with data source api
* chore: toValue api in interface
* fix: build
* chore: import with transaction
* fix: build database
* chore: many to one interface
* chore: code
* chore: import with associations
* chore: default toValue
* chore: import template with explain
* chore: import with explain template
* chore: reset id seq after import
* chore: download template action
* fix: database build
* fix: build
* fix: build
* fix: test
* chore: import with number field
* chore: import with boolean field
* chore: json interface
* chore: import action
* chore: typo
* chore: i18n
* chore: select interface
* chore: china region interface
* chore: datetiem field
* chore: cast to array
* fix: import tips
* chore: import await
* fix: test
* fix: test in mariadb
* chore: comments
* chore: comments
* fix: parse date with empty string
* fix: read import limit
* fix: type
* fix: test in mariadb
* chore: skip bigint test in sqlite
* chore: skip bigint test in sqlite
* chore: download tip i18n keys
* fix: download tips
* feat(client): add new variable named 'URL search params' and support link action (#4506 )
* feat: support link action
* feat(client): add new variable named 'URL search params'
* chore: add translation
* fix: avoid crashing
* chore: fix failed test
* feat: link action
* feat: link action
* fix: remove filter parameters with undefined values
* feat: link action
* feat: add support for default values in filter form fields
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
* test: add e2e test
* refactor: locale improve
* refactor: locale improve
* fix: resolve operation issues with variables
* refactor: code improve
* chore: enable direct selection of variables as default value
* chore: use qs to parse query string
* fix: menu selectKeys (T-4373)
* refactor: use qs to stringify search params
* refactor: locale improve
* refactor: locale improve
* chore: fix failed tests
* fix: resolve issue where setting Data scope is not work
* chore: fix failed e2e tests
* chore: make e2e tests more stable
* chore: add translation
* chore: make e2e tests more stable
* fix: resolve the issue of error when saving data scope
* feat: trigger variable parsing after context change
* test: add unit tests
* test: add e2e test
* refactor: extract template
* chore: fix failed unit tests
* chore: fix failed e2e test
* fix(Link): hide linkage rules in top link (T-4410)
* fix(permission): remove URL search params variable from data scope
* chore: make more stable
* chore: make e2e test more stable
* fix(Link): reduce size for variable
* fix: clear previous context (T-4449)
* fix(calendar, map): resolve initial data scope setting error (T-4450)
* fix: correct concatenation of query string (T-4453)
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
* refactor(FormV2): add FormWithDataTemplates component (#4551 )
* Revert "fix(client): fix data template style (#4536 )"
This reverts commit db66090ab2
.
* refactor(FormV2): add FormWithDataTemplates component
* chore: fix failed e2e tests
* chore: make e2e test more stable
* chore: import warning i18n
* chore: import warning i18n
* fix: bug
* fix: export action loading
* fix: bug
* chore: map field interface
* fix: merge bug
---------
Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 17:52:43 +08:00
YANG QIA
948a6345e0
fix(acl): use default role when x-role
does not belong to the current user ( #4507 )
...
* fix(acl): use default role when `x-role` does not belong to the current user
* fix: test
2024-05-29 11:53:44 +08:00
ChengLei Shao
aa1ed6737d
fix: attachment collection permission ( #4470 )
2024-05-23 19:50:24 +08:00
ChengLei Shao
5f5d3f3d90
feat: strategy with resources list ( #4312 )
...
* chore: strategy with resources list
* chore: append strategy resource when collection loaded
* chore: test
* chore: no permission error
* chore: test
* fix: update strategy resources after update collection
* fix: test
* fix: snippet name
* chore: error class import
2024-05-11 23:08:50 +08:00
Zeke Zhang
e96afd09e4
chore: test e2e CI ( #4314 )
...
* chore: test CI
* chore: run build CI
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: reduce timeout-minutes for e2e
* chore: use cancelled insted of always
* refactor: split files
* chore: split jobs
* refactor: split files
* refactor: split files
* chore: better comment
* chore: test
* chore: test
* chore: install glob
* chore: test
* chore: test all
* chore: fix failed tests
* chore: fix tests
2024-05-11 20:51:32 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header ( #4028 )
...
* fix: add license code
* fix: bug
* fix: bug
* fix: upgrade
* fix: improve
* chore: add copyright information to the file header
* fix: d.ts bug
* fix: bug
* fix: e2e bug
* fix: merge main
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
YANG QIA
b71bcc1889
chore(versions): 😊 publish v1.0.0-alpha.1 ( #4186 )
...
* feat: rename plugin-collection-manager to plugin-data-source-main (#4136 )
* feat: rename plugin
* feat: rename
* chore: rename classes of data-source-main
* chore: use name for migrating instead of packageName
* chore: rename china-region to field-china-region (#4167 )
* chore: rename china-region to field-china-region
* chore: update yarn.lock
* chore: rename classes
* chore: use name instead of pkgName
* chore: rename export to action-export (#4169 )
* chore: rename export to action-export
* chore: rename classes
* chore: use name
* chore: rename formula-field to field-formula (#4170 )
* chore: rename formula-field to field-formula
* chore: use name
* chore: rename localization-management to localization (#4173 )
* chore: rename localization-management to localization
* fix: test
* chore: rename sequence-field to field-sequence (#4174 )
* chore: rename sequence-field to field-sequence
* chore: use name
* chore: rename custom-request to action-custom-request (#4168 )
* chore: rename custom-request to action-custom-request
* chore: rename classes
* chore: use name
* fix: ns
* chore: rename iframe-block to block-iframe (#4171 )
* chore: rename iframe-block to block-iframe
* chore: use name
* chore: rename sms-auth to auth-sms (#4175 )
* chore: rename sms-auth to auth-sms
* chore: use name
* chore: rename import to action-import (#4172 )
* chore: rename import to action-import
* chore: use name
* fix: ns
* fix: packages
* test: add rename test
* fix: move rename migrations to preset
* fix: version
* fix(localization): remove duplicate records (#4182 )
* fix: locale ns
* fix(localization): remove duplicate records
* chore: merge
* fix: migration
* fix: test
* feat: improve pm add command (#4198 )
* chore: remove sso auth plugins and add upgrade warning (#4192 )
* chore: remove sso auth plugins and add upgrade warning
* chore: remove sso plugins dir
* chore: remove dependencies
* fix: names
* refactor: move to migration
* chore: adjust log
* feat: allows to remove plugins from sub apps
* fix: pm remove
* chore: add test
* chore: just for pro plugins
* refactor: optimize migration
* test: add test
* fix: auth-sms
* fix: add transaction
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* chore: make e2e more stable
* chore(license): update LICENSE to AGPL-3.0 (#4207 )
* fix: improve pm (#4200 )
* fix: improve pm
* feat: improve pm update
* fix: test error
* fix: rename plugin
* fix: remove only
* refactor(e2e): extract
* fix: await
* fix: nameOrPkg
* feat: remove multi-app-share-collection from local
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
* chore: add new line
* chore: rename migration
* fix: version
* fix: test
* feat: v1.0.0-alpha.1
* fix: multi-app-share-collection
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-29 00:46:21 +08:00
ChengLei Shao
71e8d07f15
test: add automated testing ( #4098 )
...
* test: string includes operator
* chore: operator test coverage
* chore: database utils test
* chore: acl test
* chore: no permission error
* chore: code
* fix: run coverage test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource test
* chore: datasource
* fix: build
* chore: plugin data source manager test
* chore: acl test
* chore: query interface test
* chore: ui schema storage test
* chore: save template test
* chore: ui schema insert position action
* chore: ignore migration
* chore: plugin acl test
* chore: ignore command in coverage
* chore: ignore
* chore: remove db2resource
* chore: ignore migration
* chore: ipc server test
* chore: database test
* chore: database api comments
* chore: value parser test
* chore: build
* chore: backup & restore test
* chore: plugin manager test
* chore: pm
* chore: pm ignore
* chore: skip migration
* chore: remove unused code
* fix: import
* chore: remove unused code
* chore: remove unused code
* fix: action test
* chore: data wrapping middleware
* fix: build
* fix: build
* fix: build
* test: fix T-4105
* chore: test
* fix: data-source-manager test
* fix: sql collection test
* fix: test
* fix: test
* fix: test
* fix: typo
* chore: datasource manager test
* chore: console.log
---------
Co-authored-by: xilesun <2013xile@gmail.com>
2024-04-26 17:44:59 +08:00
YANG QIA
5da0d4e75b
fix(users): improve users:updateProfile ( #4162 )
...
* chore(users): improve `users:updateProfile`
* chore: use lodash.pick
2024-04-25 16:54:53 +08:00
ChengLei Shao
57449bb2df
chore(acl): disable register association fields actions ( #4014 )
...
* chore: disable register association fields actions
* chore: test
* chore: association field acl
* fix: snippet test
* fix: pm.data-source-manager
* fix: acl roles snippets
* chore: update snippet migration
* fix: bug (#4035 )
Co-authored-by: katherinehhh <katherine_15995@163.com>
* fix: save role strategy
* fix: x-acl-action
* fix: acl snippet
* fix: bug
* fix: graph
* fix: association permission
* chore: data source manager snippet
* fix: test
* chore: test
* test: e2e test
* fix: undefined list
* fix: useApp
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-16 00:25:35 +08:00
ChengLei Shao
2a31de8ce6
fix(plugin-acl): pm.acl.roles snippet ( #4026 )
2024-04-12 16:03:09 +08:00
ChengLei Shao
fd2becd650
fix(plugin-acl): datasource roles snippet ( #4016 )
2024-04-11 15:41:24 +08:00
katherinehhh
ca49cc9dbd
fix: association block action permission verification failed ( #3994 )
...
* fix: association block action permission verification failed
* test: association block action permission test
* fix: useDataBlockProps
* fix: useDataBlockProps
* fix: useResourceName
* fix: bug
* fix: bug
* fix: bug
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-10 16:38:37 +08:00
YANG QIA
19f905d34c
chore: update class names of plugins ( #3981 )
...
* chore: update class names of plugins
* fix: build
* chore: add back sample-hello
* fix: test
2024-04-09 12:12:24 +08:00
ChengLei Shao
c22fc6f5d4
fix: list data undefined error ( #3905 )
...
* fix: list data undefined error
* chore: typo
2024-04-03 09:17:20 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props ( #3853 )
...
* refactor: update TableV2 component props
* refactor: update Action component
* refactor: update Filter.Action
* refactor: update FormV2
* refactor: update TableV2.Selector
* refactor: update Details
* refactor: update Action.Link
* refactor: about acl
* refactor: useCustomizeUpdateActionProps
* refactor: update decrator FormV2
* refactor(plugin-data-visualization): useProps to x-use-component-props
* refactor: update Pagination
* refactor: update CalendarV2
* refactor: update TitleField
* refactor: useProps
* refactor: update AssociationFilter.Item
* feat(withDynamicSchemaProps): support function useComponentPropsStr
* refactor: update FormDataTemplates
* chore: fix unit tests
* chore: fix e2e
* refactor: update
* feat(withDynamicSchemaProps): support to use dot
* refactor: update
* refactor: update
* chore: avoid error
2024-04-02 21:38:40 +08:00
ChengLei Shao
79f14d9024
chore: main datasource api ( #3880 )
...
* chore: main datasource api
* chore: test
* chore: console.log
* chore: middleware order
* chore: test
* chore: middleware order
* chore: test
* chore: middleware options
2024-03-31 16:22:45 +08:00
ChengLei Shao
89733247bd
fix: reject update when filter is empty object ( #3777 )
...
* fix: reject update when filter is empty object
* chore: valid filter when destroy data
* fix: test
* refactor(utils): move isValidFilter to utils
* chore: test
* chore: test
* chore: test
* fix(plugin-workflow-manual): fix test case
* fix(plugin-workflow-manual): add filter check for update form in manual node
* chore: validate filter params as middleware
* chore: action filter validate in data-source-manager
* chore: acl filter params validate test
* chore: move validate filter params middleware into core
* Update nocobase-test-e2e.yml
* chore: only run workflow's tests
* chore: only run workflow's tests
* fix: updateRecordForm
* Revert "chore: only run workflow's tests"
This reverts commit 64ce124171
.
* Revert "chore: only run workflow's tests"
This reverts commit b9057b35ec
.
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-03-30 21:50:54 +08:00
katherinehhh
9a66301ec7
refactor: default role & default field storage ( #3844 )
...
* refactor: default role & default field storage
* refactor: verification
* refactor: verification
2024-03-28 16:47:43 +08:00
katherinehhh
e95f4ab123
fix: acl e2e failed ( #3835 )
...
* test: acl e2e test
* refactor: test: acle e2e test fix
2024-03-27 14:34:59 +08:00
katherinehhh
d3bd0c71dd
chore: menu permissions & plugins setting permissions ( #3822 )
...
* chore: menu permissions
* chore: plugins setting permissions
* chore: plugins setting permissions
* chore: plugins setting permissions
2024-03-27 12:03:24 +08:00
chenos
c4aa8b78c2
chore: add tsdoc ( #3788 )
...
* chore: tsdoc
* chore: tsdoc
* fix: error
* chore: code format
* chore: code format
2024-03-26 17:08:45 +08:00
YANG QIA
9354e25d74
fix(acl): role menu loading status ( #3787 )
2024-03-21 21:09:24 +08:00
YANG QIA
49759c1ebf
fix(acl): bug when adding users to roles ( #3783 )
...
* fix(acl): bug when adding users to roles
* fix: bug
2024-03-21 20:44:06 +08:00
YANG QIA
49d3401379
fix(acl): role menu list only displays one page ( #3775 )
...
* fix(acl): role menu list only displays one page
* chore: remove log
2024-03-21 14:30:49 +08:00
ChengLei Shao
a2ae4f7b70
chore: load roles after start ( #3763 )
2024-03-20 14:40:11 +08:00
YANG QIA
b6d17853d8
fix(acl): bug of user filtering when adding them to roles ( #3754 )
...
* fix(acl): bug of user filtering when adding them to roles
* chore: add tests
2024-03-19 17:53:13 +08:00
chenos
df153527a7
fix(acl): unable to associate users
2024-03-17 23:30:32 +08:00
katherinehhh
93091a92f7
test(acl):column action acl e2e ( #3738 )
...
* test: acl e2e test support new data block
* test: acl e2e test support new data block
* test: acl e2e test support new data block
* test: acl e2e test support new data block
2024-03-17 17:29:23 +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
ChengLei Shao
cdf9f4818f
fix: acl should return true when resource allowed ( #3675 )
...
* fix: acl should return true when resource allowed
* chore: test
2024-03-12 09:08:15 +08:00
Chareice
ef097bd450
fix: acl snippet value
2024-03-11 13:05:37 +08:00
ChengLei Shao
cacaafd05b
fix: parse association field in acl ( #3655 )
2024-03-08 09:21:27 +08:00
jack zhang
454d1d34ed
fix: add displayName ( #3628 )
...
* fix: context add displayName
* fix: observer add displayName
* fix: memo component add displayName
* fix: forwordRef component add displayName
2024-03-06 18:22:31 +08:00
katherinehhh
bcb445644c
fix(acl-plugin-setting): pluginPermissions for snippets check ( #3622 )
...
* refactor: pluginPermissions for snippets check
* fix: bug
* fix: bug
2024-03-06 14:11:08 +08:00
katherinehhh
3acc574877
test: acl test ( #3609 )
2024-03-05 15:13:28 +08:00
chenos
e377f3a57c
fix: update plugin package.json
2024-03-04 23:02:29 +08:00
Chareice
56d4d240a1
fix: remove backup file
2024-03-04 17:46:58 +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
seonghookim
be7a4845ab
feat: add Korean translation ( #3428 )
...
* ko_KR 国际化
* fix: ko
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-25 22:07:22 +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
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
ChengLei Shao
f60c7626e0
fix: update assocations in belongs to many repository ( #3229 )
2023-12-19 10:07:25 +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
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