Commit Graph

399 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
chenos
966b4e3459 fix: translation 2022-08-23 09:11:20 +08:00
chenos
86650f16d9 fix: update package versions 2022-08-21 19:29:07 +08:00