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
a214c7b2aa
fix: belongs to many through table with custom schema ( #1539 )
2023-03-05 17:43:04 +08:00
ChengLei Shao
d1fb3c92d8
test: with collection_manager_schema env ( #1532 )
...
* test: with collection_manager_schema env
* fix: remove collection
* fix: collection test
* fix: collection exist in db with custom schema
* fix: inherited with custom collection schema
* fix: build error
* fix: sync unique index & database logger
2023-03-05 14:45:56 +08:00
ChengLei Shao
1a84396691
fix: remove field when collection has difference schema with database ( #1524 )
2023-03-03 11:05:57 +08:00
ChengLei Shao
9048b2a58b
feat: collection manager schema env ( #1506 )
...
* feat: database manager schema env support
* feat: skip db2cm collection in custom schema
* fix: test
* test: through table custom schema
* chore: fields hooks
* chore: reload through collection on autoCreate
* fix: test error
* fix: skip test case
* chore: children test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-01 17:55:37 +08:00
ChengLei Shao
ecf618783e
feat: fallback sort field init to createdAt field ( #1507 )
...
* feat: fallback sort field init to createdAt field when primary key not exists
* chore: set belongsToMany through autoCreated table to sortable false
2023-02-27 13:59:17 +08:00
ChengLei Shao
dfbdbc741d
fix: collection schema updated but model _schema not change ( #1500 )
...
* fix: collection schema updated but model _schema not change
* test: schema changed
2023-02-26 08:04:29 +08:00
ChengLei Shao
24fb25754f
fix: column not exists error after destory relation field ( #1465 )
...
* test: field not exists
* fix: create association field after other association field destroyed
2023-02-19 11:55:25 +08:00
ChengLei Shao
43e52843fa
fix: add schema ( #1464 )
...
* fix: add schema
* chore: format
2023-02-18 09:27:54 +08:00
ChengLei Shao
89c1d39b6b
Fix/pg schema with inherit ( #1446 )
...
* fix: pg schema in sync runner
* fix: restore with pg schema
* chore: databse utils
* fix: test
* Update nocobase-test.yml
* fix: test
* chore: db schema test options
* feat: collection add schema table name method
* fix: update to bigint test
* fix: schema test
* chore: show constraints query path
* chore: show constraints query path
* Update nocobase-test.yml
* chore: test
* fix: test
* fix: test
* fix: test table name
* fix: inherited collection test
2023-02-16 10:53:04 +08:00
chenos
1b5f3a38cf
fix: skip migration test case
2023-02-15 15:23:04 +08:00
chenos
50a4da84d2
fix: skip test
2023-02-15 14:27:47 +08:00
chenos
d08c7833ee
fix: collection categories need to be sorted
2023-02-15 14:22:37 +08:00
chenos
83bca97db0
fix: optimize import performance
2023-02-15 11:37:19 +08:00
ChengLei Shao
0e0eb6432e
feat: provide the underscored option for the database ( #1366 )
...
* feat: underscored options
* feat: underscored using hook
* feat: database underscored options
* feat: underscored env
* fix: collectionExistsInDb
* fix: test
* fix: nocobase install
* fix: test
* fix: belongsTo association
* fix: test of underscored
* chore: console.log
* fix: list action test
* fix: dump test
* chore: snakeCase algo
* fix: underscored field create
* fix: underscored env
* fix(acl): custom appends merge strategy (#1416 )
* Update index.md
* fix(plugin-workflow): use promise to request (#1426 )
* Update index.md
* Update collection.md
* Update index.md
* Update index.md
* Update collection.md
* Update field.md
* Update repository.md
* Update has-one-repository.md
* Update has-many-repository.md
* Update belongs-to-many-repository.md
* Update index.md
* chore: translate 'Add tab' in page header (#1424 )
* fix: test
* fix: workflow test
* fix: underscored with inherits
* fix: underscored test
* fix: process.env.DB_UNDERSCORED
* fix: process.env.DB_UNDERSCORED === 'true'
* fix: test
* fix: pg test
* fix: underscored table name
* feat: tableName & fieldName conflict check
* fix: test
* fix: underscored index
* fix: update field unique index
* fix: sync default value
* fix: collection manager create field
* chore: field sync
* fix: pg test
* chore: test
* fix: test
* chore: default constraint name
* chore: syncUniqueIndex
* feat: field destory before check
* feat: field type check
* fix: test
* fix: test
* fix: improve
* fix: should destroy when fields refer to the same field
* fix: acl meta with underscored
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-13 21:38:47 +08:00
chenos
e5e503fe87
feat: add namespace and duplicator parameters for collection options ( #1449 )
...
* feat: add namespace and duplicator parameters for collection options
* fix: duplicator:getDict
2023-02-13 09:57:03 +08:00
katherinehhh
f8a11cbbf0
feat: collection categories ( #1327 )
...
* feat: collection categories
* feat: collection category
* feat: collection category
* feat: collection category belongsToMany
* feat: collection category
* feat: collection category
* feat: collection category
* feat: collection category local
* feat: collection category
* feat: collection category collection
* feat: collection category code improve
* feat: collection category code improve
* feat: collection category column
* feat: collection category color
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category refresh
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: graph collection show category color
* feat: graph collection show category color
* feat: graph collection category style improve
* fix: change the variable names to camel case
* fix: category
* fix: collectionCategory
* fix: field options
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-10 09:15:37 +08:00
ChengLei Shao
c239a5ad63
fix: load through collection before belongsToMany field bind ( #1409 )
2023-01-31 17:48:04 +08:00
ChengLei Shao
bab10c928b
fix: inherit startup sort ( #1402 )
2023-01-29 15:46:53 +08:00
ChengLei Shao
a614bc7de8
feat: acl optimization ( #1136 )
...
* fix: sort field with table dose not have primary key
* feat: fixed params merger
* chore(plugins/acl): fixed params
* chore(plugins/acl): allowConfigure of collections
* chore(plugins/china-region): disable actions other than list
* chore(plugins/collection-manager): allowConfigure permission
* chore(plugins/file-manager): acl fixed params
* chore: acl fixed params
* chore: rolesResourcesScopes onDelete cascade
* fix: install error
* chore: test
* fix: root user fixed params
* fix: role resource scope onDelete
* chore: test
* chore: test
* fix: acl
* chore: disable index.html cache
* chore: disable index.html cache
* test: destory user role
* test: destory throught table
* fix: test
* fix: test
* chore: add rolesUsers to fixed params
* feat: permission logging
* feat: permission logging
* fix: test
* fix: test
* chore: disable grant target action
* fix: appends with fields
* fix: get action params
* fix: associationActions
* chore: change AssociationField using relation type
* chore: typo
* refactor: allow to skip
* fix: prettier
* chore: attachments association action
* fix: allowConfigure condition
* fix: deprecated allow
* fix: please use skip instead
* feat: table column aclcheck
* chore: test
* feat: throw error when detory no permission record
* chore: test
* chore: acl test
* feat: field acl
* chore: after action middleware
* fix: destory permission check
* chore: middleware use
* fix: test
* feat: filter match
* feat: subform/subtable field acl check
* feat: action permision by scope
* feat: action permision by scope
* feat: list action with allowedActions
* chore: all allowed action
* fix: pk error
* fix: merge error
* fix: create query sql
* fix: skip permission
* fix: scope with association field
* feat: action acl fix
* feat: action acl fix
* fix: update submodule
* Feat: setting center permission (#1214 )
* feat: add setting center permissions
* feat: setting center permissions backlist
* feat: setting center permissions BLACKLIST
* feat: setting center permissions blacklist
* feat: setting center permissions blacklist
* feat: setting center permission
* feat: configure plugin tab expand
Co-authored-by: chenos <chenlinxh@gmail.com>
* Feat :field acl (#1211 )
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: build error
* test: acl snippet
* feat: set field
* fix: test
* fix: build error
* fix: utils Dependency cycles
* feat: general permissions
* feat: delete pluginTabBlacklist
* fix: test
* feat: snippetManager allow method
* feat: acl role snippetAllowed method
* feat: array field repository
* feat: ArrayFieldRepository
* fix: test
* fix: ci
* fix: ci error
* fix: add set parse
* test: array field repository
* chore: addSnippetPatten
* fix: start
* feat: sync role snippets
* feat: snippets check
* feat: snippets check
* chore: acl role snippet api
* fix: test
* fix: test
* refactor: acl role snippets
* chore: registerACLSettingSnippet
* chore: default snippets
* feat: snippets match
* feat: snippets check
* feat: snippets check
* feat: pm permision check
* feat: pm permision check
* feat: snippet pattern match
* feat: pluginManagerToolbar check
* feat: pluginManagerToolbar check
* chore: snippets default value
* feat: set role snippets migration
* chore: snippets
* feat: acl local
* feat: acl local
* feat: bookmask fix
* feat: plugin-manger & ui-editor snippet
* feat: set allowConfigure to false when upgrade to snippets
* feat: destory action acl fix
* feat: destory action acl fix
* fix: association resource params merge
* fix: ui editor snippet
* feat: action acl fix
* chore: move list meta middleware into plugins/acl
* fix: test
* feat: action acl fix
* feat: action acl check fix
* feat: plugins toolbar fix
* feat: gitmodules
* fix: subproject
* chore: add avaiableActions to snippet
* chore: change plugin-manager snippet
* feat: configure action acl fix
* feat: plugin tab acl check fix
* chore: roles snippets
* fix: add actions to snippet
* feat: allowconfigure fix
* fix: count with filterBy
* fix: build error
* feat: get action with allowedActions
* feat: acl route check fix
* feat: aclActionProvider fix
* feat: actionscpe fix
* feat: actionname alias
* feat: setting center fix
* feat: acl provider fix
* fix: role collection
* feat: associate resource acl
* feat: associate resource acl
* feat: redirect to 403
* feat: route redirct
* feat: acl scope check by record
* fix: fields appends fix
* fix: fields appends fix
* fix: fields appends fix
* fix: allowedActions fix
* fix: menu items
* fix: rename
* fix: improve code
* fix: improve code
* fix: improve code
* fix: ctx?.data?.data
* fix: styling
* fix: allowAll after ignore scope
* chore: allowConfigure condition
* fix: collections.fields:*
* fix: acl test
* fix: update submodule
* fix: acl test
* fix: acl snippet
* fix: updates
* fix: only load history for logged-in users
* fix: this.app.acl.registerSnippet
* fix: downloadXlsxTemplate
* fix: 404
* feat: allowedAction in association list response
* fix: listData get
* fix: test
* fix: x-collection-field
* fix: update record error
* fix: calendar template
* test: allow manager
* fix: fetch action step
* fix: update submodule
* fix: refresh
* fix: refresh
* fix: rolesResourcesScopes
* test: snippets
* fix: snippets
* fix: test
* fix: omit filter.createdById
* fix: improve code
* fix: collections path
* fix: test error
* fix: upgrade error
* fix: errors
* fix: read allowed actions error
* fix: kanban error
* fix: error
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-01-09 07:35:48 +08:00
ChengLei Shao
6b0ed79f51
feat: duplicator plugin ( #1265 )
...
* chore: dump plugin
* chore: rename plugin
* chore: add duplicator into preset
* chore: tmp commit
* feat: restore & dump action
* feat: collection dump & restore
* feat: collection dump & restore
* fix: dump with json type
* fix: dump uischema
* chore: tmp commit
* chore: tmp commit
* feat: restore custom collections
* chore: code
* fix: build
* chore: tmp commit
* fix: pm.generateClientFile
* feat: dump with user plugins
* feat: restore ignore collection
* feat: ignore user with rolesUsers
* chore: client plugins
* refactor: restore insert sql
* chore: code format
* feat: restore with sequelize insert query
* fix: restore json field
* fix: json restore
* refactor: dumper
* refactor: restorer
* chore: dump file name
* chore: dump file name
* chore: dump message
* fix: restore with jsonb fields
* feat: field data writer
* chore: code
* feat: collection group manager
* feat: duplicator client
* feat: duplicator panel
* chore: disable duplicator ui
* feat: dump with inquirer
* chore: dumper
* chore: collection group manager
* feat: restore with inquirer
* chore: comment
* chore: inquirer page size
* feat: warning before restore
* feat: sync postgres sequence id after import collection
* chore: restore checked
* feat: dump with through table
* feat: restore with through table
* feat: restore with sequence field
* chore: graph collection manager collection group
* fix: dump with no column tables
* fix: dump empty table
* fix: force remove workdir
* chore: disable throw error when sync empty table
* feat: support map field restore
* fix: restore from pg dumped file
* fix: dump with logic field
* chore: console.log
* chore: collection group
* chore: handle import collection error
* fix: dump migrations table
* feat: display custom collection title
* fix: restore collection title display
* fix: dump iframe html
* fix: dump with postgres inhertitance
* fix: dump sql
* chore: export snapshot field
* fix: import with sequences
* fix: import sequences
* fix: storage
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-08 12:45:02 +08:00
anuoua
6febdb041a
feat: snapshot field plugin ( #1253 )
...
* feat: snapshort init
* feat: snapshot update yarn.lock
* feat: snapshot add to preset
* feat: snapshot add field fix
* feat: snapshot remove Table Column SnapshotField
* feat: snapshot field label fix
* feat: snapshot request error fix
* feat: snapshot 二级关联数据打开
* feat: snapshot batch edit fix
* feat: snapshot 2 level draw fix
* feat: snapshot translate
* feat: snapshot global historyCollection provider
* feat: snapshot install initial
* feat: snapshot refreshCH
* feat: snapshot add transaction
* feat: snapshot default collecitonField
* feat: snapshot build fix
* feat: snapshot useSnapshotFieldTargetCollectionKey
* feat: snapshot batch update
* feat: snapshot linkto support
* feat: snapshot use getRepository
* feat: snapshot recreate fix
* feat: snapshot collectionKey to collectionName & rebuild collection
* feat: snapshot remove SnapshotHistoryCollectionProvider & collectionName
* feat: snapshot use historyCollections in inherit table
* feat: snapshot fix TableSelectorBlock appends
* feat: snapshot kanban fix
* feat: snapshot snapshot association field fix
* feat: snapshot add CollectionFieldProvider fallback
* feat: snapshot AssociationSelect fix
* feat: snapshot TableField fix
2023-01-04 19:27:37 +08:00
chenos
f5c1a07f20
fix: upgrade error ( #1303 )
2022-12-31 10:54:20 +08:00
chenos
a7960422c5
fix(collection-manager): version.satisfies <= 0.8.0-alpha.14
2022-12-21 10:27:18 +08:00
chenos
1868a8a5f3
fix(collection-manager): update timestamps to true
2022-12-21 10:01:39 +08:00
chareice
0d2b1caa7c
fix: collections load order
2022-12-12 18:50:53 +08:00
ChengLei Shao
1764b53a9b
fix: create inherits with empty table ( #1160 )
...
* chore: test
* feat: patch to queryInterface.describeTable
* test: add field to empty collection
* fix: create inherits with parent dose not have id field
* fix: test
* fix: test
2022-11-30 10:00:46 +08:00
ChengLei Shao
78fe77e2cf
feat: belongs to many on delete ( #1158 )
2022-11-29 18:27:41 +08:00
ChengLei Shao
1ebb70e4c5
fix/inherits issues( #1146 )
...
* chore: sync inherits command
* fix: inherit field type conflit
* fix: merge
* fix: test
* fix: test
* chore: app command
* chore: create inheritance map
* fix: test
* fix: test
* fix: test
2022-11-26 09:24:53 +08:00
chenos
024cc102ea
fix: field record not updated
2022-11-25 12:12:44 +08:00
ChengLei Shao
945c64304a
fix: create empty collection ( #1141 )
...
* fix: create empty collection
* chore: comment
* chore: sqlite support
* chore: mysql support
* fix: collection api
* fix: error message
2022-11-24 18:16:01 +08:00
ChengLei Shao
3556ddc730
fix: reference check after remove collection ( #1123 )
2022-11-22 16:19:48 +08:00
ChengLei Shao
466aa4987e
fix: sort field with table dose not have primary key ( #1119 )
2022-11-22 10:13:55 +08:00
ChengLei Shao
fba8f253d4
fix: test ( #1118 )
2022-11-22 09:29:09 +08:00
ChengLei Shao
d72123c5b0
fix: update to bigint ( #1117 )
...
* fix: update sequence and foreignKey
* chore: rename migration
* fix: single foreign field update
* fix: update bigint
* fix: rename
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-21 18:50:23 +08:00
ChengLei Shao
c861a6884a
fix: update sequence and foreignKey ( #1116 )
...
* fix: update sequence and foreignKey
* chore: rename migration
2022-11-21 18:07:58 +08:00
chenos
c888d793ee
fix(cm): update to bigint
2022-11-21 15:33:21 +08:00
chenos
c52f451840
fix: fk type invalid ( #1113 )
2022-11-21 14:58:07 +08:00
chareice
a0cb35ffa4
fix: handle column not exists error
2022-11-20 21:27:19 +08:00
ChengLei Shao
73e2d27e29
feat: using bigint for id field ( #1100 )
...
* feat: using bigint for id field
* fix: postgres bigint parse
* fix: sequelize test
* test: update to bigint migrator
* chore: updateToBigInt method
* fix: mysql update bigint
* fix: update to bigint with inherits table
* feat: update fields type in fields table
* fix: import
* fix: bigInt
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-20 14:40:41 +08:00
ChengLei Shao
e991b2965a
feat: collection inheritance ( #1069 )
...
* chore: test
* chore: inherited-collection class
* feat: collection inherit
* feat: collection inherit
* feat: inhertis sync runner
* test: get parents fields
* feat: collection inherit style promote
* feat: sync
* feat: sync alter table
* feat: pgOnly Test
* fix: child collection create api
* feat: replace parent field
* chore: reload parent fields
* test: reload collection test
* feat: details are displayed according to conditions
* fix: typo
* feat: inheritance map class
* chore: is parent node
* feat: display where child row created from
* fix: find with appends
* feat: add parent collection fields
* fix: create table
* feat: load fields for all children
* refactor: sync fields from parent
* test: has one field inhertis
* feat: replace child association target
* feat: should not replace child field when parent field update
* test: should update inherit field when parent field update
* feat: only the blocks directly inherited from the current data are displayed
* fix: inherit from multiple collections
* feat: only the blocks directly inherited from the current data are displayed
* fix: test
* feat: parent collection expend
* fix: test
* test: belongsToMany inherits
* test: belongsToMany inherits
* feat: block display
* feat: collection inherite
* feat: collection inherite
* feat: multiple inherits
* fix: sync runner
* feat: collection inherite
* feat: collecton inherits
* feat: cannot be modified after inheritance and saving
* feat: collection inherit for graph
* feat: collection inherits
* fix: drop inhertied field
* fix: should throw error when type conflit
* feat: output inherited fields
* feat: bulk update collection fields
* feat: collection fields
* feat: collection fields
* test: create relation with child table
* fix: test
* fix: test
* fix: test
* feat: style impove
* test: should not replace field with difference type
* feat: add text
* fix: throw error when replace field with difference type
* feat: overriding
* feat: kan bankanban group fields
* feat: calendar block fields
* feat: kan bankanban group fields
* fix: test
* feat: relationship fields
* feat: should delete child's field when parent field deleted
* feat: foreign key filter
* fix: build error & multiple inherit destory field
* fix: test
* chore: disable error
* feat: no recursive update associations (#1091 )
* feat: update associations
* fix(collection-manager): should update uiSchema
* chore: flip if
* feat: mutile inherits
* feat: db dialect
* feat: inherits show by database
* chore: git hash into docker image
* fix: js gzip
* fix: dockerfile
* chore: error message
* feat: overriding
* feat: overriding
* feat: overriding
* feat: local
* feat: filter fields by interface
* fix: database logging env
* test: replace hasOne target
* feat: add view
* feat: local
* chore: enable error
* fix: update docs
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-16 12:53:58 +08:00
chenos
688387413d
feat: no recursive update associations ( #1091 )
...
* feat: update associations
* fix(collection-manager): should update uiSchema
2022-11-15 20:37:26 +08:00
ChengLei Shao
83cc19a013
fix: reference options sync ( #1061 )
...
* fix: sync onDelete options between field and reverseField
* feat: reference compatibility
2022-11-10 21:28:33 +08:00
lyf-coder
ce5f835829
test(collection-manager): 20221104151410-update-collections-hidden test correct ( #1042 )
...
fix new version test fail
2022-11-05 01:38:39 +08:00
lyf-coder
8996dc6899
test(collection-manager): migration - 20221104151410-update-collections-hidden test optimize ( #1040 )
2022-11-04 20:44:12 +08:00
lyf-coder
dd20951323
chore(collection-manager): migration - 20221104151410-update-collections-hidden ( #1039 )
2022-11-04 17:17:35 +08:00
chenos
3aa7c0787a
fix: db sync failed ( #1037 )
...
* fix: db sync failed
* fix: remove db sync
2022-11-04 15:38:08 +08:00
ChengLei Shao
b3f3883435
fix: association accessors rebind ( #1027 )
...
* chore: test
* chore: test
* fix: association accessors rebind
* fix: test
2022-11-04 09:04:53 +08:00
chenos
0e70e3848a
feat: improve collection manager ( #1013 )
...
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat(collection-manager): add foreignKey Field and support relate field record foreignKey info
through collection record into collections and foreignKey field record info fields
* fix(collection-manager): if has through collection then don't create through collections record
* fix(client/route-switch): skip sub routes
* feat: 添加graphpostion
* feat: 图形化collection新增表时刷新数据
* fix(collection-manager): refactor afterCreateForRelateField
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化样式优化
* feat: styling
* feat: 图形化样式优化
* feat: 图形化样式优化
* feat: 图形化数据表多语言完善
* feat: 图形化数据表多语言完善
* feat: improve code
* feat: 图形化数据表连线样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* fix(collection-manager): fix afterCreateForRelateField
* feat: 样式优化
* feat: 样式优化
* feat: afterCreateForForeignKeyField
* fix: timestamps: false
* feat: 连线锚点优化
* fix(collection-manager): when del foreign key field, relate fields will be del too
* fix: update package.json
* fix: update package.json
* feat: 文件名大小写
* feat: 连线锚点优化
* feat: 连线锚点通过计算得到样式优化
* feat: 连线锚点通过计算得到样式优化
* fix: fk
* fix: remove index
* feat: 连线hover时高亮
* fix: test error
* feat: 初始化计算位置
* feat: 初始化时计算坐标位置
* feat: 初始化时计算坐标位置
* feat: improve code (#933 )
* fix: built in
* feat: 没有关系字段时也要连线
* feat: 自关联也要连线
* fix: styling
* feat: 滚动条问题
* feat: 拖拽优化
* feat: 画布paddig优化
* feat: 编辑时支持反向关联字段配置
* feat: 画布拖拽滚动优化
* feat: 画布拖拽滚动优化
* fix: reload
* feat: 修复数据表新建重叠
* fix: refreshCM & refreshGM
* feat: 修复表达式输入框显示异常
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* fix: 消除代码警告
* fix: 消除代码警告
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化
* feat: 渲染性能优化
* feat: 外键生成在位置在前面
* feat: 限制表最多显示10个字段其余滚动
* feat: 移动表位置的连线重新计算最优位置
* fix: error
* feat: 布局自动换行
* fix: test error
* fix: xpipe.eq
* fix: upgrade error
* fix: upgrade error
* feat: 选中表时只显示和目标表关联的表和连线
* feat: 连线优化
* fix: maxListenersExceededWarning
* feat: 连线优化
* feat: powerby样式优化
* feat: 表筛选优化
* feat: 新建字段优化
* feat: 点击线高亮主外键和关联字段
* feat: 点击线高亮主外键和关联字段
* feat: 鼠标hover连线高亮主外键和关联字段
* fix(collection-manager): foreign key sorting should follow ID
* fix(client/config-relation-field): set Relation field's ReverseField default value is false
* feat: 卡片默认显示主外键和关联字段其余通过折叠展示且分组区分显示
* fix(client/collection-manager): don't display auto create through collections and foreign key
only display in graph menu
* feat: 样式优化
* feat: 添加字段时默认展开折叠
* feat: 样式优化
* feat: foreign field migration (#1001 )
* feat: 补充多语言
* feat: settings center tabs
* feat: 主键判断primaryKey
* fix(collection-manager): foreign key sorting should follow primaryKey
* fix(client/block-select-collection): filter auto create through collections
* fix(client/block-config-fields): filter isForeignKey fields
* fix(client/configuration-table): relation fileds select collection filter auto create through
* feat: 多对多连线高亮时全亮
* feat: 选中多对多中的一张表另一张表也显示
* feat: 连线mouseleave事件
* feat: 多语言更新
* feat: 计算新建表位置优化
* feat: 添加自动布局
* feat(client/configure-fields): categorize fields
* fix(client/configure-fields): display foreign key fields
* fix(client): package reference
* fix: remove graph
* fix: remove
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: lyf-coder <lyf-coder@foxmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2022-11-02 22:13:25 +08:00
ChengLei Shao
9f5f2d6028
feat: reference check ( #989 )
...
* chore: test
* chore: test
* chore: test code
* feat: on delete restrict
* feat: on delete cascade
* feat: on delete set null
* feat: reference unbind
* fix: test
* fix: acl test
* fix: test on Windows
* fix: database recreate
* fix: application reload
* fix: multi-app-manager test
* fix: test
* feat: ondelete
* fix: hasOne field onDelete
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-31 22:45:39 +08:00
chenos
f67afba964
feat: improve code ( #978 )
...
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat(collection-manager): add foreignKey Field and support relate field record foreignKey info
through collection record into collections and foreignKey field record info fields
* fix(collection-manager): if has through collection then don't create through collections record
* fix(client/route-switch): skip sub routes
* feat: 添加graphpostion
* feat: 图形化collection新增表时刷新数据
* fix(collection-manager): refactor afterCreateForRelateField
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化样式优化
* feat: styling
* feat: 图形化样式优化
* feat: 图形化样式优化
* feat: 图形化数据表多语言完善
* feat: 图形化数据表多语言完善
* feat: improve code
* feat: 图形化数据表连线样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* fix(collection-manager): fix afterCreateForRelateField
* feat: 样式优化
* feat: 样式优化
* feat: afterCreateForForeignKeyField
* fix: timestamps: false
* feat: 连线锚点优化
* fix(collection-manager): when del foreign key field, relate fields will be del too
* fix: update package.json
* fix: update package.json
* feat: 文件名大小写
* feat: 连线锚点优化
* feat: 连线锚点通过计算得到样式优化
* feat: 连线锚点通过计算得到样式优化
* fix: fk
* fix: remove index
* feat: 连线hover时高亮
* fix: test error
* feat: 初始化计算位置
* feat: 初始化时计算坐标位置
* feat: 初始化时计算坐标位置
* feat: improve code (#933 )
* fix: built in
* feat: 没有关系字段时也要连线
* feat: 自关联也要连线
* fix: styling
* feat: 滚动条问题
* feat: 拖拽优化
* feat: 画布paddig优化
* feat: 编辑时支持反向关联字段配置
* feat: 画布拖拽滚动优化
* feat: 画布拖拽滚动优化
* fix: reload
* feat: 修复数据表新建重叠
* fix: refreshCM & refreshGM
* feat: 修复表达式输入框显示异常
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* fix: 消除代码警告
* fix: 消除代码警告
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化
* feat: 渲染性能优化
* feat: 外键生成在位置在前面
* feat: 限制表最多显示10个字段其余滚动
* feat: 移动表位置的连线重新计算最优位置
* fix: error
* feat: 布局自动换行
* fix: test error
* fix: xpipe.eq
* fix: upgrade error
* fix: upgrade error
* feat: 选中表时只显示和目标表关联的表和连线
* fix: maxListenersExceededWarning
* feat: remove graph-collection-manager
* fix: remove graph-collection-manager
* fix: update yarn.lock
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: lyf-coder <lyf-coder@foxmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2022-10-28 15:09:14 +08:00
chenos
249dff16d3
refactor: plugin manager ( #965 )
...
* feat: improve code
* chore: update version
* feat: api service
* fix: api services
* feat: improve code
* feat: improve code
* feat: improve code
* feat: pm socket
* fix: test errors
* feat: add built-in plugins before upgrade
* feat: update docs
* feat: improve code
* fix: after load
2022-10-27 13:00:16 +08:00
chenos
3e22a47be6
fix: unbind on error throwing ( #914 )
2022-10-15 10:47:01 +08:00
Junyi
4247c1b255
Doc: api database events ( #887 )
...
* docs: add full sequelize model event types
* feat: update docs
* fix: types
* fix: update docs
* docs: refactor db event apis
* docs: add all events to db api
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-14 17:22:32 +08:00
ChengLei Shao
76f5754e20
fix: sync collection field default value ( #907 )
2022-10-14 10:04:25 +08:00
chenos
f6add23da5
feat(collection-manager): inverse fields can be configured ( #883 )
...
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
(cherry picked from commit 306dca8e5e
)
# Conflicts:
# packages/core/client/src/locale/zh_CN.ts
2022-10-13 12:37:29 +08:00
ChengLei Shao
3082a7d6f8
feat: update option must have filter or filterByTk ( #847 )
...
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
(cherry picked from commit 83e6f93e1e
)
# Conflicts:
# packages/plugins/acl/src/server.ts
# packages/plugins/collection-manager/src/__tests__/field-options/indexes.test.ts
2022-10-13 12:19:05 +08:00
chenos
fd21447810
fix(collection-manger): incorrect scope key parameter
...
(cherry picked from commit 38421ae096
)
2022-10-13 12:15:30 +08:00
chenos
8bf23004a1
refactor: middleware ( #857 )
...
* refactor: middleware
* fix: test error
* fix: test error
* fix: test
* fix: tag
2022-09-29 21:05:31 +08:00
chenos
f9f8dc78f4
refactor: plugin manager ( #775 )
...
* feat: dynamic import plugin client
* refactor: pm
* chore: improve cli
* feat: improve code
* feat: update dependences
* feat: hello plugin
* fix: plugin.enabled
* fix: test error
* feat: improve code
* feat: pm command
* feat: add samples
* fix: redirect
* feat: transitions
* feat: bookmark
* feat: add pm script
2022-09-18 14:10:01 +08:00
Junyi
d1b52c7d96
fix(plugin-cm): fix field disappear after failed to update ( #773 )
2022-08-24 11:51:14 +08:00
Junyi
e6a2dff79a
fix(plugin-cm): fix unique option default value to update ( #768 )
2022-08-23 08:59:36 +08:00
Junyi
a1dc139cf4
feat(plugin-cm): add unique option for base fields ( #745 )
...
* feat(plugin-cm): add unique option for base fields
* refactor(plugin-cm): make sure unique constraint sync with field option
* fix(plugin-cm): fix sqlite unique field sync
* fix(plugin-cm): fix unique constraint sync logic
* refactor(plugin-cm): remove unique property for select components
* fix: previous
* fix: test error
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 23:23:13 +08:00
金昶
f4f35bdb43
feat: default value ( #679 )
...
* feat: default value
* feat: add global default value
* fix: field default value should be updated
* feat: adjust defaultValue logic
* feat: add hasDefaultValue property
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-03 09:32:16 +08:00
chenos
451d6ae974
chore(versions): 😊 publish v0.7.2-alpha.7 ( #611 )
...
* fix(cli): db sync error
* fix(cli): upgrade error
* feat: update docker image version
2022-07-10 00:41:36 +08:00
chenos
ae66dd5ded
fix: drop all foreign keys ( #576 )
2022-07-04 23:48:19 +08:00
chenos
70ab4dcf1f
fix(database): index invalid ( #564 )
...
* fix(database): index invalid
* fix: test error
2022-07-01 09:33:05 +08:00
金昶
32e744319e
feat: display association fields ( #512 )
...
* feat: association field features
* fix: remove comments
* fix: association field in creation form will trigger error
* fix: column decorator title
* fix: column designer title
* fix: association field in table
* feat: adjust documents
* fix: remove m2o subfield mode
* fix: adjust title field display condition
* fix: relation field title bug
* fix: o2m multiple is true
* feat: association fields are loaded on demand
* fix: support sub field
* feat: remove FormField require config
* fix: two lines in Columns config menu of table block
* fix: could not find schema node
* fix: add form context to internal table block
* fix(client): non-empty judgment
* feat: translations
* fix: add / edit field title compile
* fix: unique
* fix: association feature bugs
* feat: add oho & o2m selector filter
* fix: add field added logic in FormField and TableField
* fix: remove updateAssociationValues middleware
* feat: recordprovider in association fields
* feat: add kanban association appends
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-29 12:57:43 +08:00
chenos
9dae723ca7
fix: destroy collection fields ( #536 )
2022-06-25 10:36:56 +08:00
chenos
72e3f15306
fix: remove collections & fields from db ( #511 )
...
* fix: remove collections & fields from db
* fix: cannot read property 'removeFromDb' of undefined
* test: add test cases
* test: add test cases
* fix: exclude non-deletable fields
2022-06-18 00:18:12 +08:00
chenos
34e17004c5
feat: improve migrations ( #510 )
...
* feat: improve upgrade
* feat: addMigrations
* fix: get version
* feat: retry
* feat: migration context
* feat: get the version number from the server
2022-06-17 10:25:59 +08:00
金昶
b91ca4420b
feat: association field block ( #493 )
...
* feat: association field block
* feat: association details block
* feat: template add resource name
* feat: add association calendar
* fix: update yarn.lock
* fix: remove useAssociationNames
* fix: restore useFilterByTk logic
* feat: client doc
* fix: resolveNocobasePackagesAlias
* fix: input textarea readpretty
* feat: styling
* fix: oho & obo
* fix: field-summary component remove to collection manager
* fix: translation
* feat: improve code
* fix(audit-logs): skip when collection does not exist
* feat: m2m
* fix: improve code
* fix: title field
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:46:48 +08:00
SemmyWong
d831a9b889
feat: plugin export ( #479 )
...
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* ci: change plugin-export version
* refactor: renders add ctx params
* fix: fix select and multipleSelect export
* fix: array convert string
* refactor: move SchemaInitializerPluginProvider
* fix: build error
* fix: change umijs config
* fix: update SchemaInitializerPluginProvider
* fix: import server
* fix: fix some bug
* fix: fix some bug
* refactor: export plugin refactor
* refactor: create all export fields by default
* fix: fix export plugin bug
* fix(plugin-collection-manager): uiSchema toJSON
* fix: update yarn.lock
* fix: fix init fields bug
* refactor: enum params pass by client
* fix: fix export table header title
* refactor: refactor dataIndex
* fix: fix dataIndex maybe complex object
* fix: add checkboxGroup in export plugin
* fix: add checkbox and i18n
* feat: improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
chenos
a92a78cc9e
fix: rollback when field creation fails ( #498 )
...
* fix: rollback when field creation fails
* fix: missing transaction
2022-06-11 20:46:30 +08:00
chenos
3fa13d8465
feat: audit logs ( #494 )
...
* feat: audit logs
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* fix: field load
2022-06-10 17:46:46 +08:00
ChengLei Shao
c6839b30c1
feat: destroy association field after target collection destroy ( #376 )
2022-05-22 08:50:58 +08:00
ChengLei Shao
b511ef3d8f
Fix acl target action error ( #311 )
...
* fix: field association resource name
* chore: resourceCollection fields unique index
* fix: test
* feat: allowConfigure permission skip
* feat: skip with array type actionNames
* chore: rename acl skip to allow
* fix: type
* chore: rename SkipManager to AllowManager
2022-04-24 10:14:46 +08:00
ChengLei Shao
a37609e71b
fix: through table primaryKey error ( #297 )
...
* fix: through table primaryKey error
* chore: sort fields
* chore: test release
* chore: github action sqlite env
2022-04-19 16:35:44 +08:00
chenos
fca0943e8d
fix: update useCreateActionProps & useUpdateActionProps
2022-04-19 09:27:52 +08:00
chenos
da9e08a59f
feat: junction collection for linkTo field ( #296 )
2022-04-18 18:57:21 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app ( #273 )
...
* create-nocobase-app template from [develop]
* change create-nocobase-app package.json config
* feat: load configuration from directory
* feat: configuration repository toObject
* feat: create application from configuration dir
* feat: application factory with plugins options
* export type
* feat: read application config & application with plugins options
* feat: release command
* fix: database release
* chore: workflow package.json
* feat: nocobase cli package
* feat: console command
* chore: load application in command
* fix: load packages from process.cwd
* feat: cli load env file
* feat: create-nocobase-app
* fix: gitignore create-nocobase-app lib
* fix: sqlite path
* feat: create plugin
* chore: plugin files template
* chore: move cli into application
* chore: create-nocobase-app
* fix: create plugin
* chore: app-client && app-server
* chore: package.json
* feat: create-nocobase-app download template from npm
* chore: create-nocobase-app template
* fix: config of plugin-users
* fix: yarn.lock
* fix: database build error
* fix: yarn.lock
* fix: resourcer config
* chore: cross-env
* chore: app-client dependents
* fix: env
* chore: v0.6.0-alpha.1
* chore: verdaccio
* chore(versions): 😊 publish v0.6.0
* chore(versions): 😊 publish v0.6.1-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.1
* chore: 0.6.2-alpha.2
* feat: workspaces
* chore(versions): 😊 publish v0.6.2-alpha.3
* chore(versions): 😊 publish v0.6.2-alpha.4
* chore: create-nocobase-app
* chore: create-nocobase-app lib
* fix: update tsconfig.jest.json
* chore: .env
* chore(versions): 😊 publish v0.6.2-alpha.5
* chore(versions): 😊 publish v0.6.2-alpha.6
* feat: improve code
* chore(versions): 😊 publish v0.6.2-alpha.7
* fix: cleanup
* chore(versions): 😊 publish v0.6.2-alpha.8
* chore: tsconfig for app server package
* fix: move files
* fix: move files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00