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
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
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
Dunqing
07c373956c
chore: upgrade sequelize version to to latest ( #1234 )
...
* chore: upgrade sequelize version to to latest
* fix: type error
* chore: type ModelCtor to ModelStatic
* feat: update sequelize version of the map plugin
* chore: update lock
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2022-12-24 16:30:01 +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
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
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
Junyi
a8cf72281f
fix(plugin-workflow): test changedWithAssociations() ( #950 )
...
* fix(plugin-workflow): test changedWithAssociations()
* fix: toChangedWithAssociations
* fix(plugin-workflow): add test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
# Conflicts:
# packages/core/database/src/model.ts
2022-10-24 09:03:57 +08:00
chenos
07a1aad784
fix: types error
2022-10-06 17:21:20 +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