ChengLei Shao
3556ddc730
fix: reference check after remove collection ( #1123 )
2022-11-22 16:19:48 +08:00
ChengLei Shao
ab7c3fa98e
fix: inherits with collection not exists ( #1109 )
...
* fix: inherits with colleciton not exists
* test: create inherits with multiple lazy parents
* chore: error handler
* fix: test
2022-11-20 17:33:20 +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
49f6c18662
fix: create collection with emtpy inhertis params ( #1096 )
2022-11-16 22:07:52 +08:00
ChengLei Shao
c5fcc62bed
fix: remove node after collection removed ( #1095 )
2022-11-16 20:10:26 +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
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
1bdc29b706
feat: changed with associations ( #943 )
...
* feat: changed with associations
* fix: test error
* fix: test error
* fix: test
# Conflicts:
# packages/core/database/src/model.ts
2022-10-24 09:07:33 +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
eaea8a7100
feat: limit database identifier ( #908 )
2022-10-14 15:02:41 +08:00
Junyi
796e73ae5a
refactor(doc): change to new structure ( #804 )
...
* refactor(doc): change to new structure
* docs: add database docs
* docs: add collection docs
* docs: add db field examples
* docs(api): fix filename and menu path
* docs: add database docs
* docs: add db operators doc
* docs: add resourcer menu
* docs: add resourcer docs
* docs: fix api docs
* docs: refactor api menu structure
* feat: update docs (#830 )
* feat: updates
* feat: update docs
* chore: ignore docs from ci
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
* docs: add database methods docs
* docs: add missed api
* docs: fix api docs
* feat: update development docs (#833 )
* feat: update development docs
* feat: update docs
* feat: update docs
* docs: add first plugin example (#834 )
* feat: update docs
* feat: update docs
* docs: fix typo
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-09-19 09:23:01 +08:00
chenos
2a18967418
fix: db version check ( #749 )
...
resolve #742
2022-08-17 23:11:56 +08:00
chenos
28b73d7143
feat: add examples ( #718 )
...
* feat: add examples
* fix: tsconfig-paths/register
* feat: more examples
* fix: test errors
* feat: update examples
* docs: example list
* fix: updates
* feat: example for test case
* feat: api client
* fix: updates
* feat: tree structures
* fix: adjacency-list
2022-08-16 14:41:29 +08:00
chenos
458b7a52fb
fix(database): error getting db version number
2022-08-12 10:13:12 +08:00
Junyi
0190c573c5
fix(plugin-workflow): fix extend collection ( #708 )
...
* fix(plugin-workflow): fix extend collection
* fix: extendCollection
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-04 21:56:13 +08:00
chenos
cec5733260
fix: DB_TABLE_PREFIX doesn't get applied ( #710 )
...
* fix: env DB_TABLE_PREFIX doesn't get applied
* fix: remove before define
* fix: test error
* fix: table prefix
* test: ci
* fix: test error
* test: ci
* test: ci
* fix: test error
* fix: test error
* chore: update node ci
2022-08-04 21:27:55 +08:00
Junyi
b215f92ecc
fix(core): change proxied agent methods to native ( #654 )
2022-07-19 22:51:27 +08:00
chenos
ec7bc2bc8b
feat(cli): check database version before installation ( #572 )
...
* feat(cli): check database version before installation
* fix: log
* fix: fix bugs
* fix: postgres
* fix: run beforeInstall
2022-07-04 13:41:07 +08:00
chenos
22c6591162
fix: order nulls last ( #519 )
...
* fix: order nulls last
* fix: test error
* fix: test error
2022-06-22 14:25:10 +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
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
Junyi
78071b4cd8
refactor(database): hook proxy ( #402 )
...
* refactor(database): make db hooks clearly managed by proxy and support named events
* refactor(database): roll back most event logic
* refactor(database): rollback module name
* fix(database): fix test file path
* test: exec order
* fix(database): rollback buildSequelizeHook method
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-08 11:22:08 +08:00
chenos
1a5d1f1ebf
fix: default value of time zone
2022-06-01 12:25:21 +08:00
chenos
0270553601
fix(database): add timezone support
2022-06-01 11:41:46 +08:00
chenos
8f70535217
feat: db migrator ( #432 )
...
* feat: db migrator
* feat: modify the test description
2022-05-30 23:10:32 +08:00
chenos
6410bc8a75
feat: build, cli, devtools, sdk, docs...
...
* feat: nocobase build
* chore: update build scripts
* chore: update build scripts
* chore(versions): 😊 publish v0.7.0-alpha.33
* chore: independent version
* chore: nocobase build
* chore(versions): 😊 publish v0.7.0-alpha.34
* feat: nocobase-cli
* feat: nocobase-cli
* chore: update dependencies
* feat: improve code
* refactor: create-nocobase-app
* chore(versions): 😊 publish v0.7.0-alpha.35
* feat: @nocobase/devtools
* chore(versions): 😊 publish v0.7.0-alpha.36
* chore: update dependencies
* chore(versions): 😊 publish v0.7.0-alpha.37
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.38
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.39
* feat: update deps
* chore(versions): 😊 publish v0.7.0-alpha.40
* chore: update devDependencies
* chore(versions): 😊 publish v0.7.0-alpha.41
* fix: postinstall
* chore(versions): 😊 publish v0.7.0-alpha.42
* chore: improve code
* chore(versions): 😊 publish v0.7.0-alpha.43
* chore: execa
* chore(versions): 😊 publish v0.7.0-alpha.44
* chore(cli): allow unknown option
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: default envs
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: package argument for build command
* chore(versions): 😊 publish v0.7.0-alpha.46
* fix: improve code
* chore(versions): 😊 publish v0.7.0-alpha.48
* feat: clean & doc
* chore(versions): 😊 publish v0.7.0-alpha.49
* feat: compilation tips
* feat: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.50
* fix: unexpected token ] in JSON
* chore(versions): 😊 publish v0.7.0-alpha.51
* fix: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.52
* fix: remove export action from available action
* fix: db sync after upgrade
* chore(versions): 😊 publish v0.7.0-alpha.53
* feat: upgrade log
* chore(versions): 😊 publish v0.7.0-alpha.54
* docs: updates
* feat: updates
* docs(cli): update usage description
* feat: updates
* docs: updates
* docs: updates
* docs: toc
* feat: sdk
* docs: updates
* docs: updates
* docs: updates
* Update index.md
* docs: updates
* Update release-notes.md
* Update roadmap.md
* Update index.md
* Update contributing.md
* Update contributing.md
* Update index.md
* Update index.md
* Update nocobase-cli.md
* Update nocobase-cli.md
* fix: user plugin initialization data
* Update env.md
* Update env.md
* Update directory-structure.md
* Update index.md
* Update action-api.md
* Update filter-operators.md
* docs: update thanks.md
* Update index.md
* Update javascript-sdk.md
* Update rest-api.md
* Update installation.md
* Update installation.md
* Update upgrading.md
* Update upgrading.md
* Update upgrading.md
* Update installation.md
* Update installation.md
* Create release-notes.md
* Update release-notes.md
* feat: updates
* feat: update docs
* feat: update release-notes.md
* feat: switch language
* feat: updates
* Add files via upload
* Add files via upload
* Update important-features.md
* Update thanks.md
* feat: nocobase postinstall
* Update index.md
* Create why-different.md
* Update why-different.md
* Create who-is-for.md
* Rename who-is-for.md to who.md
* feat: update docs
* Rename why-different.md to why.md
* Update why.md
* Update menus.ts
* Update why-nocobase.md
* Create who.md
* Create why.md
* feat: updates
* chore(versions): 😊 publish v0.7.0-alpha.55
* feat: tips
* Update who.md
* Update who.md
* feat: update docs
* feat: update doc menus
* fix: plugin client dist
* docs: update contributing.md
* docs: update readme.md
* docs: update readme.md
* docs: update readme.md
* Update functional-zoning.md
* fix: br
Co-authored-by: Zhou <zhou.working@gmail.com>
2022-05-19 00:40:55 +08:00
chenos
8ee25e1109
fix: db:sync not working ( #348 )
2022-04-30 17:28:30 +08:00
chenos
bca63298dc
feat: db authenticate ( #342 )
2022-04-29 20:04:02 +08:00
chenos
f426c8a3ba
feat: add $isCurrentUser filter operator ( #299 )
...
* feat: add $isCurrentUser filter operator
* fix: supports three levels
2022-04-19 17:04:54 +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