Commit Graph

1662 Commits

Author SHA1 Message Date
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