Commit Graph

2075 Commits

Author SHA1 Message Date
lyf-coder
b23d2bcae7
fix(client/form-fields): fix fields's x-read-pretty (#994) 2022-10-31 22:49:33 +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
lyf-coder
67f3c84d27
fix(client/menu-permisssions-page): fix menu-permisssions-page no data (#993) 2022-10-31 22:41:51 +08:00
chenos
b8d0ad8fbc
feat: update docs (#996)
* feat: update docs

* feat: update docs

* fix: update docs

* Add files via upload

* Add files via upload

* Update the-first-app.md

* Update the-first-app.md

* Update v08-changelog.md

* feat: update docs

Co-authored-by: Zhou <zhou.working@gmail.com>
2022-10-31 22:41:24 +08:00
Junyi
5cb6a9646d
fix(client): add locale for sequence field (#995)
* fix(core): add locale for sequence field

* fix(client): add locale for sequence field
2022-10-31 20:52:47 +08:00
ChengLei Shao
3aada8fe07
docs: update api docs (#973)
* docs: application

* docs: application lifecycle

* docs: database

* docs: update

* docs: repository

* docs: repository

* docs: plugin

* docs: resourcer

* docs: database

* docs: acl

* docs: actions

* docs: repository

* docs: api

* docs: api

* docs: api
2022-10-31 20:10:52 +08:00
chenos
a6eebb940f
feat: update docs (#990)
* feat: improve code

* feat: update docs

* feat: update docs

* Update index.md

* Update features.md

* Update when.md

* Update contributing.md

* Update translations.md

* feat: clean up

* Add files via upload

* Update the-first-app.md

* Update plugins.md

* Update a-b-c.md

* Update blocks.md

* feat: update docs

* Add files via upload

* Update charts.md

* feat: update navs

* Update index.md

* Update index.md

* Update features.md

* Update index.md

* Update docker-compose.md

* Update create-nocobase-app.md

* Update git-clone.md

* Update contributing.md

* Update translations.md

* Update plugins.md

* Update the-first-app.md

* Add files via upload

* Update charts.md

* Update charts.md

* Update a-b-c.md

* Update collections.md

* Update menus.md

* Update menus.md

Co-authored-by: Zhou <zhou.working@gmail.com>
2022-10-31 11:52:17 +08:00
lyf-coder
8df527f7e9 fix(client/upload): fix upload mutiple files always uploading status (#974) 2022-10-31 11:33:57 +08:00
lyf-coder
b9910cdc1f fix(client/table-selector-provider): make data range config effective (#960)
* fix(client/table-selector-provider): make data range config effective

* fix(client/table-selector): fix when save data range config filter lose
2022-10-31 11:33:56 +08:00
lyf-coder
9a81b1b8ee fix(client/formula): set cursor focus on input (#959)
* fix(client/formula): set cursor focus on input

* fix(client/formula): when formula field name has contains the other one will case FormulaError

refactor partial implementation
2022-10-31 11:33:56 +08:00
Junyi
7cb5ff554e
feat: plugin workflow visualization (#987)
* feat(plugin-workfow): adjust some ui

* feat(plugin-workflow): add execution visualization

* fix(plugin-workflow): fix changed component
2022-10-30 11:54:14 +08:00
Dunqing
ed6f9a0867 feat: support show lunar day in week and day (#977)
Co-authored-by: qing <qing@imideMacBook-Air.local>
2022-10-29 14:21:57 +08:00
chenos
e7853c724e
fix: add sample plugins (#986) 2022-10-29 14:07:51 +08:00
chenos
506fae0d9a feat(ci): update ci 2022-10-28 23:17:47 +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
274d80d501 chore: improve ci (#976)
* test: ci

* fix: ci error

* fix: on pull_request

* fix: paths

* fix: paths 'packages/**'
# Conflicts:
#	.github/workflows/nocobase-test.yml
2022-10-28 11:46:22 +08:00
chenos
f477d80de4 fix(acl): no such table: roles 2022-10-27 15:32:58 +08:00
chenos
a1fba4ba26 fix(acl): write roles to acl after app load 2022-10-27 15:27:08 +08:00
chenos
419a6e4cbf fix(pm): client end 2022-10-27 15:26:28 +08:00
chenos
647d482a90 feat: support show lunar day (#972)
* feat: support show lunar day

* fix: update yarn.lock

* fix: types error

Co-authored-by: Dunqing <dengqing0821@gmail.com>
2022-10-27 14:11:56 +08:00
Dunqing
8b07d6514f chore: fix incorrect deps (#970) 2022-10-27 14:11:48 +08:00
ChengLei Shao
afa172a9be fix: empty logic operator filter (#961) 2022-10-27 14:11:36 +08:00
chenos
6b6951b279 fix(ci): yarn config set network-timeout 600000 2022-10-27 14:11:27 +08:00
Junyi
42db519fa1 fix(plugin-workflow): fix workflow update action (#964) 2022-10-27 14:11:18 +08:00
chenos
ea4a9c2d6e fix(ci): add verdaccio service 2022-10-27 14:10:30 +08:00
chenos
08fd10fbc7 fix: driver-opts: network=host 2022-10-27 14:10:30 +08:00
chenos
d0386150d9 fix: lerna ERR! EUNCOMMIT M yarn.lock 2022-10-27 14:10:30 +08:00
lyf-coder
9ff14d9d5c fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962) 2022-10-27 14:09:43 +08:00
Dunqing
8905e3c211 feat(file-manager): support tencent cos (#958)
* feat: support tencent cos

* feat: normalize

* chore: update env example

* test: add cos

* Revert "feat: normalize"

This reverts commit 371880013c.

* feat: normalize

* feat: tengxun to tencent

* chore: fix missing deps

* fix: locale

* fix: locale cos
2022-10-27 14:09:29 +08:00
chenos
3bc85dde2a fix: api services
# Conflicts:
#	packages/core/client/src/api-client/APIClient.ts
2022-10-27 14:08:53 +08:00
chenos
80b16d2b43 feat: api service 2022-10-27 14:08:10 +08:00
chenos
2f14c7164c feat: push ali docker registry (#957)
* feat: push ali docker registry

* fix: add VERDACCIO_URL

* fix: env

* fix: add VERDACCIO_URL to env

* fix: update VERDACCIO_URL

* fix: arg VERDACCIO_URL

* fix: update Dockerfile.official

* fix: build-args

* fix: network: host

* fix: ci

* fix: verdaccio:10104

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* feat: push acr

Co-authored-by: ChengLei Shao <chareice@live.com>
2022-10-27 14:08:10 +08:00
Junyi
75ecab4d3e fix(plugin-workflow): fix constant schedule trigger time (#956) 2022-10-27 14:07:59 +08:00
chenos
f2be42ac62 fix: update readme 2022-10-27 14:07:46 +08:00
altaytahsin
2dad640c24 Turkish readme (#955)
* Türkçe dil dosyası eklendi. Turkish language added

* Türkçe Açıklama sayfası. Turkish readme file added

* Turkish language link added

* turkish language link added
2022-10-27 14:07:46 +08:00
chenos
f688f9e530 chore(versions): 😊 publish v0.7.6-alpha.2 (#954)
# Conflicts:
#	docker/app-mysql/docker-compose.yml
#	docker/app-postgres/docker-compose.yml
#	docker/app-sqlite/docker-compose.yml
#	docs/en-US/release-notes.md
#	docs/zh-CN/release-notes.md
#	lerna.json
#	packages/app/client/package.json
#	packages/app/server/package.json
#	packages/core/acl/package.json
#	packages/core/actions/package.json
#	packages/core/build/package.json
#	packages/core/cache/package.json
#	packages/core/cli/package.json
#	packages/core/client/package.json
#	packages/core/create-nocobase-app/package.json
#	packages/core/database/package.json
#	packages/core/devtools/package.json
#	packages/core/dumi-theme-nocobase/package.json
#	packages/core/resourcer/package.json
#	packages/core/sdk/package.json
#	packages/core/server/package.json
#	packages/core/test/package.json
#	packages/core/utils/package.json
#	packages/plugins/acl/package.json
#	packages/plugins/audit-logs/package.json
#	packages/plugins/china-region/package.json
#	packages/plugins/client/package.json
#	packages/plugins/collection-manager/package.json
#	packages/plugins/error-handler/package.json
#	packages/plugins/export/package.json
#	packages/plugins/file-manager/package.json
#	packages/plugins/multi-app-manager/package.json
#	packages/plugins/notifications/package.json
#	packages/plugins/system-settings/package.json
#	packages/plugins/ui-routes-storage/package.json
#	packages/plugins/ui-schema-storage/package.json
#	packages/plugins/users/package.json
#	packages/plugins/verification/package.json
#	packages/plugins/workflow/package.json
#	packages/presets/nocobase/package.json
2022-10-27 14:07:18 +08:00
chenos
5a9c8d4c4f fix: cannot find name 'antdTrTR' 2022-10-27 14:04:52 +08:00
altaytahsin
7f05d9aa85 Turkish language (#939)
* Türkçe dil dosyası eklendi. Turkish language added

* Türkçe dil düzenlemesi. Turkish language edit.
2022-10-27 14:04:52 +08:00
chenos
ace6232787 feat: file storage settings 2022-10-27 14:04:04 +08:00
Junyi
08711e6c8e refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913)
# Conflicts:
#	packages/app/client/src/pages/index.tsx
#	packages/core/client/src/application/Application.tsx
#	packages/core/client/src/file-manager/index.ts
#	packages/plugins/file-manager/package.json
#	packages/plugins/file-manager/src/client/FileStorage.tsx
#	packages/plugins/file-manager/src/client/FileStorageShortcut.tsx
2022-10-27 13:49:06 +08:00
chenos
d7a5ed34d9 feat: add Dockerfile.official 2022-10-27 13:36:25 +08:00
chenos
0fea2c0b97 fix: default value of VERDACCIO_URL 2022-10-27 13:36:25 +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
katherinehhh
2c690a39e0
feat: add filter action to collection table (#953)
* feat: 数据表支持筛选

* feat: 数据表支持筛选

* feat: 数据表支持筛选

* feat: 数据表支持筛选

* fix: format code

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-24 09:49:16 +08:00
lyf-coder
40554d8151 feat: ui schema cache (#877)
* feat(core/cache): support cache

* perf(plugins/ui-schema-storage): cache schema

* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action

* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache

prevent jsonSchema and properties cache override each other

* test(plugins/ui-schema-storage): add ui_schema repository with cache test

* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option

* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false

* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-24 09:13:58 +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
ChengLei Shao
9c8922a26d feat: docker optimizing (#948)
* chore: feat/docker-optimizing
* feat: docker nginx gzip config
2022-10-24 09:04:13 +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
Junyi
9ba1d128f4 fix(plugin-workflow): skip time based test (#951) 2022-10-24 09:03:04 +08:00
Junyi
9b8a4d1063 fix(plugin-workflow): fix schedule trigger bug (#949) 2022-10-24 09:02:58 +08:00