Commit Graph

1774 Commits

Author SHA1 Message Date
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
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
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
ChengLei Shao
afa172a9be fix: empty logic operator filter (#961) 2022-10-27 14:11:36 +08:00
Junyi
42db519fa1 fix(plugin-workflow): fix workflow update action (#964) 2022-10-27 14:11:18 +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
Junyi
75ecab4d3e fix(plugin-workflow): fix constant schedule trigger time (#956) 2022-10-27 14:07:59 +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
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
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
chenos
a47ca1dd6c feat(useSignup): customize success message 2022-10-24 09:02:47 +08:00
Junyi
9111693804 fix(plugin-workflow): fix collection fieldset component (#942) 2022-10-24 09:02:42 +08:00
Junyi
c7300d1100 fix(plugin-workflow): avoid revision with ghost nodes (#941) 2022-10-24 09:02:37 +08:00
Junyi
cadaa8a2c2 fix(plugin-workflow): add req context to processor (#936) 2022-10-24 09:02:30 +08:00
Junyi
26c428a15b feat: plugin workflow collection field (#934)
* feat(plugin-workflow): support association constant simple input

* fix(plugin-workflow): remove useless code
# Conflicts:
#	packages/plugins/workflow/src/client/components/CollectionFieldset.tsx
2022-10-24 09:01:51 +08:00
Junyi
42dbaf3582 fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926) 2022-10-24 09:00:01 +08:00
Junyi
5992952872 fix(plugin-workflow): temp disable validation of collection field in node (#928) 2022-10-24 09:00:01 +08:00
chenos
8e087840ca fix: multiple = false 2022-10-23 10:39:05 +08:00
chenos
347c0831f8 fix: missing menuItemGroupCss 2022-10-23 10:39:05 +08:00
ChengLei Shao
4d6363b47a
Doc/db repository (#896)
* docs: update database repository docs

* docs: single relation repository docs

* docs: has many relation repository docs

* docs: belongs to many  relation repository docs

* docs: acl

* docs: actions

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-16 19:16:14 +08:00
Junyi
faa01c9335
docs: fix i18n dev sample (#910) 2022-10-16 17:20:53 +08:00
chenos
7df5129cd7 fix(client/route-switch): skip sub routes 2022-10-15 11:09:06 +08:00
ChengLei Shao
6076014c54 feat: create with array of values (#912)
* feat: create with array of values

* chore: console.log

* chore: debug
# Conflicts:
#	packages/core/database/src/relation-repository/relation-repository.ts
2022-10-15 10:49:29 +08:00
chenos
3e22a47be6 fix: unbind on error throwing (#914) 2022-10-15 10:47:01 +08:00
ChengLei Shao
d45623ee2e fix: appends merge now using primary key (#911)
* fix: appends merge now using primary key

* chore: console.log
2022-10-15 10:47:00 +08:00
chenos
89300f0715 fix: cannot read properties of undefined (reading 'target') 2022-10-15 10:47:00 +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
ChengLei Shao
76f5754e20 fix: sync collection field default value (#907) 2022-10-14 10:04:25 +08:00
chenos
3e6d1a3427 fix: version judgment is not accurate 2022-10-14 09:48:27 +08:00
chenos
929a4f848a fix(client): tab pane initializers for create form block 2022-10-14 09:48:27 +08:00
chenos
ca2a6fecf0 fix: build error 2022-10-14 09:48:26 +08:00
ChengLei Shao
e6f4db1a73 fix: appends merge includes (#905) 2022-10-13 18:50:55 +08:00
Junyi
418256820d
fix(samples): fix test case (#903) 2022-10-13 13:50:11 +08:00
ChengLei Shao
d777fede90 fix: single relation repository appends query issue (#901)
(cherry picked from commit 20c1477015)
2022-10-13 12:39:04 +08:00
Junyi
7ca8e562ce feat(plugin-workflow): add concat calculator (#894)
(cherry picked from commit 7f3f1bc982)
2022-10-13 12:38:56 +08:00
lyf-coder
47c1764ac3 fix(client/record-picker): support record-picker show format DataPicker (#888)
* fix(client/record-picker): support record-picker show format DataPicker

* fix(client/record-picker): undefined judgment and when change field's label refresh format in time

(cherry picked from commit 381e71b1f7)
2022-10-13 12:38:15 +08:00
lyf-coder
d6d2e639ce fix(client/block-select-collection): fix select collection menu view error (#889)
* fix(client/block-select-collection): fix too many collection menu view error

* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error

(cherry picked from commit 6b897f5853)
2022-10-13 12:38:10 +08:00
chenos
9d947a0fa5 fix: unable to submit form during file upload (#892)
(cherry picked from commit 54d23e3353)
2022-10-13 12:38:03 +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
chenos
933c3f4463 fix(database): fix the index name too long error
(cherry picked from commit 7bfe6b8c46)
2022-10-13 12:36:55 +08:00
lyf-coder
7b371706ef fix(formula): support integer and fix NaN error (#879)
* fix(formula): support integer and fix NaN error

* style(formula-input): remove debugger

(cherry picked from commit 86f24a35ec)
2022-10-13 12:36:46 +08:00
katherinehhh
72372f34e9 fix: sort parameter is missing (#849)
* fix: 审计日志翻页sort丢失

* fix: 审计日志翻页sort丢失

* fix: 审计日志翻页sort丢失

Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
(cherry picked from commit 88190100cb)
2022-10-13 12:36:39 +08:00
ChengLei Shao
f490fd358a fix: slow join query issued by appends field in find method of repository (#845)
* fix: slow join query issue by appends field in repository.find

* feat: handle appending query in multiple relation repository

* feat: handle appending query in single relation repository

Co-authored-by: chenos <chenlinxh@gmail.com>
(cherry picked from commit 9222ff4f0c)

# Conflicts:
#	packages/core/database/src/__tests__/relation-repository/hasone-repository.test.ts
#	packages/core/database/src/repository.ts
2022-10-13 12:36:20 +08:00
lyf-coder
92fda15efd feat(core/cache): support cache (#876)
* feat(core/cache): support cache

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

* perf(core/cache): modify default cache config and remove unnecessary logic code

(cherry picked from commit 6e6086de7a)

# Conflicts:
#	packages/core/server/src/application.ts
#	packages/core/server/src/helper.ts
2022-10-13 12:24:10 +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
arzanov
ceed13d77e added Russian translation (#840)
* Russian translation

* Add files via upload

Add RU locale into index.ts
Bugs fixed in the ru_RU.ts

* Update index.ts

Correct lines 4 and 8

(cherry picked from commit 83882d7643)
2022-10-13 12:16:15 +08:00
Junyi
e82c1f0243 feat(database): add sequence field type (#779)
* feat(database): add serialString field type

* feat(database): add serial string type field ui (skip ci)

* test(feat/database): test field options

* docs: demo

* fix(database): fix array table field behavior

* fix(database): fix serial type interface ui

* fix(database): add match logic for patterns changes

* fix(database): fix serial type query last bug in mysql

* refactor(database): refactor last record logic

* chore: revert modification on unnecessary file

* refactor(database): rename serialString type to sequence

Co-authored-by: chenos <chenlinxh@gmail.com>
(cherry picked from commit 32c90b4eec)
2022-10-13 12:15:45 +08:00
chenos
fcccacfdf4 fix: can't access pages without permission via url (#826)
(cherry picked from commit 92e71c3b01)
2022-10-13 12:15:31 +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
5129fc8f46 fix: missing RefreshActionInitializer
(cherry picked from commit e6340fc233)
2022-10-13 12:15:30 +08:00
chenos
2277e40290 fix(collection-manager): o2m is array type
(cherry picked from commit 5de69d26ea)
2022-10-13 12:15:06 +08:00
chenos
7f51610a6f fix(plugin-system-settings): convert array to json
(cherry picked from commit 73262aff50)
2022-10-13 12:14:56 +08:00
chenos
c47f501756 fix: transaction cannot be rolled back because it has been finished with state: rollback
(cherry picked from commit 6dacec4158)
2022-10-13 12:14:35 +08:00
Junyi
a645dbf5fd
fix: listen promisify (#899) 2022-10-12 21:08:18 +08:00
Junyi
6c929039b1
refactor(core): simplify some code (#895) 2022-10-12 15:22:00 +08:00
chenos
dce6558b55
feat: sample-custom-signup-page (#893) 2022-10-12 12:13:31 +08:00
chenos
d2411f5b63 feat: update docs 2022-10-07 12:11:21 +08:00
chenos
07a1aad784 fix: types error 2022-10-06 17:21:20 +08:00
ChengLei Shao
d805fafbfc
docs: relation repository & acl (#848)
* docs: relation-repository

* docs: has many repository

* docs: acl

* docs: acl

* docs: acl

* docs: acl

* docs: acl/AllowManager

* docs: acl/ACLAvailableAction

* docs: acl

* docs: clean up

* feat: doc menus

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-06 10:29:53 +08:00
Junyi
a6b2a8d4a1
docs: add testing dev doc (#871) 2022-10-02 09:07:03 +08:00
Junyi
fceebaf50e
Doc: command (#869)
* docs: add command dev doc

* feat: update doc

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-01 22:18:26 +08:00
Junyi
2efa704b3b
docs: add hooks dev doc (#868)
* docs: add hooks dev doc

* docs: change name from hooks to events
2022-09-30 17:36:10 +08:00
chenos
3e30699581 fix: hello sample 2022-09-30 13:03:55 +08:00
chenos
794080628b
feat: ratelimit sample plugin (#862)
* feat: ratelimit sample

* feat: update doc

* feat: sample url

* fix: update yarn.lock
2022-09-30 12:40:32 +08:00
chenos
d5d052a68a
feat: custom block sample (#867) 2022-09-30 12:38:38 +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
Junyi
b9ce35d621
Doc: dev i18n (#858)
* docs: add guide index table and i18n

* docs: add dev i18n sample
2022-09-29 21:04:58 +08:00
Junyi
82560b926b
docs: add resources-actions doc and sample (#853)
* docs: add resources-actions doc and sample

* docs: fix sample

* docs: remove built file

* feat: update readme

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-09-29 21:03:35 +08:00
chenos
a7e6e4716a
feat: add custom page sample and doc (#855)
* docs: custom ui route sample

* feat: custom page

* fix: remove error

* feat: update doc

* fix: defaultShowCode  true
2022-09-27 22:50:10 +08:00
chenos
7e929b8f68
fix: auto install a plugin on enable (#852) 2022-09-26 23:47:07 +08:00
chenos
f4a10cb7ad feat: update samples readme 2022-09-26 15:18:20 +08:00
chenos
b8fc705df7 fix: pm add error 2022-09-26 15:03:22 +08:00
chenos
50286e2c3c fix: some bugs 2022-09-26 14:52:10 +08:00
chenos
47b857d80a fix: remove sample-hello 2022-09-26 09:44:20 +08:00
Junyi
92c1ac319a
Doc: dev collection fields (#846)
* docs: add collection & field guide

* docs: add extending field and full example package

* docs: fix sample code

* docs: fix typo
2022-09-26 01:18:55 +08:00
chenos
678b6cef21
docs: server application api (#842)
* feat: update docs

* fix: improve code
2022-09-23 09:22:17 +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
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
chenos
12c3915a57 fix(plugin-export): filter non-existent fields 2022-09-15 09:27:28 +08:00
Junyi
1a9cd78eb8
refactor(resourcer): combine middleware class (#825)
* refactor(resourcer): combine middleware class

* refactor(resourcer): move new middleware to plugin instance
2022-09-13 23:27:19 +08:00
Junyi
b92f3b3b95
refactor(database): fix some fields and types (#820)
* refactor(database): fix some fields and types

* fix(database): fix operator ne to null
2022-09-11 21:58:49 +08:00
chenos
e18b235777 feat: language settings support Japanese 2022-09-09 22:03:49 +08:00
maumii
9d5de42798
feat(locale): added Japanese translation (#813)
Co-authored-by: mayumi <mayumi@wasp.co.jp>
2022-09-09 21:46:44 +08:00
Junyi
295081603e
fix(plugin-workflow): fix value type for DatePicker to moment (#815) (#819)
fix #815
2022-09-09 10:08:46 +08:00
Junyi
ce75ecdb2b
refactor(plugin-workflow): export client calculators registry (#816) 2022-09-07 08:46:29 +08:00
chenos
2e8d27bf42
fix: number storage type changed to double (#810) 2022-09-06 11:40:26 +08:00
Junyi
c50a1923f4
refactor(server) (#795)
* refactor(server): refactor code

* fix(server): fix satisfy check of semver
2022-09-02 11:44:22 +08:00
Junyi
21806b3418
fix(plugin-verification): change provider rate limit error to 429 (#788) 2022-08-30 16:03:27 +08:00
Junyi
d1b52c7d96
fix(plugin-cm): fix field disappear after failed to update (#773) 2022-08-24 11:51:14 +08:00
SemmyWong
13dd078079
fix: fix uiSchema undefined (#770) 2022-08-24 08:51:42 +08:00
chenos
966b4e3459 fix: translation 2022-08-23 09:11:20 +08:00
Junyi
e6a2dff79a
fix(plugin-cm): fix unique option default value to update (#768) 2022-08-23 08:59:36 +08:00
Junyi
b6daa9ad69
fix(plugin-users): fix update profile 500 (#766) (#767)
Fix #766
2022-08-22 20:37:15 +08:00
chenos
86650f16d9 fix: update package versions 2022-08-21 19:29:07 +08:00
chenos
fdfa79cf8f
fix: mysql column in where clause is ambiguous (#756)
* fix: mysql column in where clause is ambiguous

* feat: add test case

* fix: sqlite error
2022-08-20 23:24:02 +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
Junyi
7e6a394f73
feat(plugin-verification): add plugin-verification and phone for users (#722)
* feat(plugin-verification): add plugin-verification and phone for users

* feat(plugin-verification): add env example

* fix(plugin-verification): fix locales

* fix(plugin-verification): remove sending comment

* fix(plugin-verification): fix i18n

* refactor(plugin-verification): move invalid error message to action

* fix(plugin-verification): add field migration

* chore(plugin-verification): update packages version

* test(plugin-verification): temp remove new package dependency

* refactor(plugin-verification): make sms authentication configurable in system settings

* fix: smsAuthEnabled

* feat: update preset-nocobase

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 18:06:12 +08:00
chenos
259393f626
feat: resize grid columns with drag and drop (#748)
* feat: resize grid columns with drag and drop

* fix: column resizing only in designable

* fix: batch patch

* fix: does not scroll when dragging to a blank block

* fix: overflow-x auto
2022-08-20 18:04:14 +08:00
Junyi
56bd996bd4
refactor(client): split schema-initializer items into multiple files (#744) 2022-08-20 18:03:51 +08:00
Junyi
58b4febdf8
refactor(plugin-workflow): change files mode to 644 (#755) 2022-08-19 10:00:20 +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
7fde444a60
chore(versions): 😊 publish v0.7.4-alpha.7 (#740) 2022-08-15 16:12:12 +08:00
chenos
03538ee82f fix(collection-manager): update collection without fields 2022-08-15 13:09:41 +08:00
chenos
a3810ac61a
chore(versions): 😊 publish v0.7.4-alpha.4 (#727) 2022-08-12 10:54:10 +08:00
chenos
458b7a52fb fix(database): error getting db version number 2022-08-12 10:13:12 +08:00
chenos
38c3e3e4cc fix: record provider required for read pretty 2022-08-11 23:48:13 +08:00
SemmyWong
538a28d0bd
fix: sync table sort to export (#723) 2022-08-11 22:22:24 +08:00
chenos
b848b9cd67 feat: add examples 2022-08-08 14:42:48 +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
金昶
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
Ayden
b9fb69c7aa
fix: required field delete submit error (#688) (#694) 2022-08-03 09:06:50 +08:00
chenos
bc12c92091
chore(versions): 😊 publish v0.7.4-alpha.1 (#696)
* docs: update release notes

* chore(versions): 😊 publish v0.7.4-alpha.1

* feat: update docker image version
2022-07-28 23:16:17 +08:00
chenos
82cf951166
fix: append roles to current user (#695) 2022-07-28 20:21:31 +08:00
chenos
7d4796e7e0 fix: append roles to user 2022-07-28 18:56:02 +08:00
chenos
b8cf8c92eb fix: cannot find name 'toFixedByStep' 2022-07-28 17:44:20 +08:00
chenos
609b0e2ff2 fix(client): required for the sub-table field 2022-07-28 17:37:17 +08:00
SemmyWong
165ab2b876
fix: fix date format (#686)
* fix: fix date format

* fix: fix date format

* fix: export date

* fix: get current timezone

* fix: datetime render

* fix: gmt

* fix: gmt date

* fix: utf offset

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 17:32:31 +08:00
Junyi
95e799880c
test(plugin-workflow): skip prompt tests (#692) 2022-07-28 10:12:28 +08:00
SemmyWong
92cd76ce48
fix: fix accuracy of percent (#685)
* fix: fix accuracy of percent

* fix: fix accuracy of percent

* fix: test unit modify

* fix: export number

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 09:26:50 +08:00
chenos
5e1b1170a8 fix: the database only supports MySQL 8.0.17 and above, SQLite 3.x and PostgreSQL 10+ 2022-07-28 09:06:03 +08:00
Junyi
1a4d88d089
fix(plugin-workflow): adjust await sleep time for test cases (#691) 2022-07-28 08:13:49 +08:00
Junyi
a73c37c927
feat(plugin-workflow): add assignees config for prompt instruction (#690) 2022-07-27 18:23:16 +08:00
Ayden
12f658391a
fix: role export button display (#616) (#666)
* fix: role export button display (#616)

* fix: auditLogs view permissions (#617)

* fix: role export button display (#616)

* fix: auditLogs view permissions (#617)
2022-07-26 21:07:34 +08:00
chenos
827c324be3
feat: uid validate (#681) 2022-07-26 10:07:35 +08:00
chenos
d9b2bf8af1 feat(client): tab icon 2022-07-25 23:25:53 +08:00
chenos
8f64061e65 fix(plugin-error-handler): no error message 2022-07-25 23:24:18 +08:00
chenos
9038d111ea fix(client): fieldNames of RecordPicker 2022-07-25 22:37:20 +08:00
chenos
fad794b647 fix: hide password 2022-07-25 22:31:11 +08:00
Dunqing
c697ef85a6
refactor: replace react-drag-listview with @dnd-kit/sortable (#660)
* refactor: replace react-drag-listview with @dnd-kit/sortable

* fix: components are different every time

* fix: incorrect border line

* fix: when dragging is enabled for the first time, dragging is invalid

* fix: the items property of SortableContext must be an array of strings

* fix: onRowDragEnd may be non-exists

* fix: incorrect row key

* feat: wrap SortableContext only when dragging is enabled

* fix: improve logic
2022-07-25 19:34:29 +08:00
Junyi
49a4ab4818
refactor(plugin-users): improve extendibility of middlewares (#677)
* refactor(plugin-users): improve extendibility of middlewares

* fix(plugin-users): fix typo

* fix: test error

* fix: allowConfigure condition

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-25 19:33:23 +08:00
金昶
5b61587a39
feat: o2m delete not refresh (#646)
* feat: o2m delete not refresh

* feat: add TableField judgment
2022-07-25 10:41:28 +08:00