Commit Graph

1598 Commits

Author SHA1 Message Date
chenos
a77f71e32f
feat: improvements (#335)
* fix: improve code

* v0.7.0-alpha.18

* chore(versions): 😊 publish v0.7.0-alpha.19

* fix: tips for app.install

* chore(versions): 😊 publish v0.7.0-alpha.19

* fix: chalk module

* chore(versions): 😊 publish v0.7.0-alpha.21

* fix: clean && force

* chore(versions): 😊 publish v0.7.0-alpha.22

* feat: silent option

* chore: storage folder

* feat: storage folder

* chore(versions): 😊 publish v0.7.0-alpha.23

* docs: update readme.md
2022-04-29 00:09:40 +08:00
Junyi
f5cc368cef
Feat(plugin workflow): add changed fields to model trigger config (#332)
* feat(plugin-workflow): add changed fields to model trigger config

* fix(plugin-workflow): avoid system fields to input
2022-04-28 10:18:44 +08:00
chenos
27399f4e5e chore(versions): 😊 publish v0.7.0-alpha.16 2022-04-27 21:28:50 +08:00
Chareice
147b364d41 Merge remote-tracking branch 'origin/main' 2022-04-27 21:02:21 +08:00
Chareice
153eb970bd fix: regexp replace error 2022-04-27 21:02:12 +08:00
chenos
c71f45ca6a feat: improve code 2022-04-27 20:23:33 +08:00
chenos
7c048e034f
fix: cannot find module mkdirp (#330)
* fix: cannot find module mkdirp

* fix: remove cb
2022-04-27 12:27:31 +08:00
Junyi
2e80e0c2c2
Fix(plugin workflow): UX issues (#329)
* fix(plugin-workflow): typo

* fix(plugin-workflow): text and style

* fix(plugin-workflow): fix trigger form validation

* fix(plugin-workflow): try to fix config field

* fix: config

* fix(plugin-workflow): node config value

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-27 10:31:16 +08:00
chenos
72d32be2b0 fix(plugin-file-manager): test failed 2022-04-27 08:26:54 +08:00
chenos
f0d9b0ec02 chore(versions): 😊 publish v0.7.0-alpha.15 2022-04-26 22:32:06 +08:00
chenos
91289c4530 chore: dotenv with pm2 2022-04-26 22:30:46 +08:00
chenos
87362789f3 chore(versions): 😊 publish v0.7.0-alpha.14 2022-04-26 21:09:46 +08:00
chenos
83d82adf1c fix(app-server): dist options 2022-04-26 20:40:52 +08:00
chenos
9dabe2fbd6 fix(plugin-file-manager): remove mkdirp 2022-04-26 20:37:59 +08:00
chenos
62eb85de5f chore(versions): 😊 publish v0.7.0-alpha.13 2022-04-26 18:48:54 +08:00
chenos
932c56d5ea chore: pm2 runtime 2022-04-26 18:48:17 +08:00
chenos
9e152c3a0a chore(versions): 😊 publish v0.7.0-alpha.12 2022-04-26 16:15:21 +08:00
chenos
1682e80310 chore: update dependencies 2022-04-26 16:12:48 +08:00
ChengLei Shao
fd7e77fcf9
fix: create-nocobase-app compatibility (#323) 2022-04-26 12:56:10 +08:00
chenos
8144cfdbea chore(versions): 😊 publish v0.7.0-alpha.10 2022-04-26 00:36:36 +08:00
chenos
14f30e61e8 fix(plugin-error-handler): cannot find module '@formily/json-schema' 2022-04-26 00:35:40 +08:00
chenos
2b3cd45ca1 fix(database): cannot find module lodash 2022-04-26 00:20:09 +08:00
chenos
3fb66d345f feat(plugin-china-region): import data with sqlite 2022-04-26 00:19:31 +08:00
ChengLei Shao
219dbee467
fix: create-nocobase-app client package version (#321)
* fix: create-nocobase-app client package version

* chore: create-nocobase-app package name

* feat: nocobase-prod script

* chore: npm registry

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-25 22:05:05 +08:00
chenos
0bda80e323
fix: app manager (#320)
* fix: bugfix

* chore(versions): 😊 publish v0.7.0-alpha.7

* docs: update readme.md
2022-04-25 19:05:33 +08:00
chenos
7d0087cbb3 chore(versions): 😊 publish v0.7.0-alpha.6 2022-04-25 16:16:19 +08:00
chenos
a00b45a268 chore(versions): 😊 publish v0.7.0-alpha.5 2022-04-25 16:14:29 +08:00
chenos
b0d3274b2d fix(plugin-system-settings): cannot read property cliArgs of undefined 2022-04-25 16:13:35 +08:00
chenos
327e413b6d chore(versions): 😊 publish v0.7.0-alpha.4 2022-04-25 14:47:13 +08:00
chenos
b12507f6e4 chore(versions): 😊 publish v0.7.0-alpha.3 2022-04-25 14:45:28 +08:00
chenos
733c7048ed fix: antd use ~v4.19.5 2022-04-25 14:37:10 +08:00
chenos
0e0e99ef79 chore(versions): 😊 publish v0.7.0-alpha.2 2022-04-25 12:10:30 +08:00
chenos
ed9b2b6d95 feat(license): update license 2022-04-25 12:05:37 +08:00
chenos
05a251b1fc feat: kanban disableCardDrag 2022-04-25 12:04:59 +08:00
chenos
e7293ad7aa chore(versions): 😊 publish v0.7.0-alpha.1 2022-04-25 10:27:04 +08:00
chenos
82167c6c47 chore(versions): 😊 publish v0.7.0-alpha.0 2022-04-25 09:51:35 +08:00
chenos
717efa889d feat(license): replace MIT license with Apache-2.0 2022-04-25 09:45:24 +08:00
chenos
21448f3232 feat: improve kanban 2022-04-25 08:35:07 +08:00
SemmyWong
cc4da4ca15
refactor: modify default lable style (#318) 2022-04-24 23:28:28 +08:00
chenos
3750484cbc fix: lang option for install command 2022-04-24 23:17:42 +08:00
ChengLei Shao
c1f94d3d1b
Fix multiple apps (#317)
* chore: multiple apps

* fix: multiple apps with application options

* fix: multiple apps AppSelector type

* chore: multiple apps with plugin config

* chore: rename multiple-apps to multiple-apps-manager

* chore: application association

* chore: plugin multi-app manager

* chore: notifications transaction
2022-04-24 22:33:40 +08:00
ChengLei Shao
b1086ee728
Fix multiple apps (#316)
* chore: multiple apps

* fix: multiple apps with application options

* fix: multiple apps AppSelector type

* chore: multiple apps with plugin config

* chore: rename multiple-apps to multiple-apps-manager

* chore: application association

* chore: plugin multi-app manager
2022-04-24 20:22:50 +08:00
chenos
ea0dd6e31a fix: no paging of china regions 2022-04-24 16:15:38 +08:00
chenos
4f8cf13d1d fix: the left menu does not collapse when switching routes 2022-04-24 16:05:08 +08:00
chenos
85882f7c7a feat: custom request headers 2022-04-24 15:41:30 +08:00
chenos
bc293b8fef feat: favicon 2022-04-24 13:58:10 +08:00
chenos
d32261bb88 fix: content loading 2022-04-24 12:39:23 +08:00
chenos
8acba12025 feat: improve storage options 2022-04-24 12:38:54 +08:00
ChengLei Shao
b511ef3d8f
Fix acl target action error (#311)
* fix: field association resource name

* chore: resourceCollection fields unique index

* fix: test

* feat: allowConfigure permission skip

* feat: skip with array type actionNames

* chore: rename acl skip to allow

* fix: type

* chore: rename SkipManager to AllowManager
2022-04-24 10:14:46 +08:00
chenos
2fd27ea9f3
feat: file storages (#314)
* feat: file storages

* feat: storageOptions

* feat: radio field

* fix: documentRoot
2022-04-24 10:12:12 +08:00
Junyi
fefa1fc0c9
fix(plugin-workflow): fix some ux (#313)
* fix(plugin-workflow): fix some ux

* style(plugin-workflow): optimize node remove button style
2022-04-23 23:49:24 +08:00
chenos
1f04f90a00 feat: translations 2022-04-23 11:55:33 +08:00
chenos
5c0184a397 feat: translations 2022-04-22 23:58:19 +08:00
chenos
5c6a39f2f4 fix: not showing unfilterable fields 2022-04-22 13:41:23 +08:00
chenos
ae5686af0b fix: acl skip chinaRegions:list action 2022-04-22 13:23:50 +08:00
chenos
f8f708921c fix: unable to save associated data in sub-table 2022-04-22 11:47:21 +08:00
chenos
01134f8253 fix: allow collection provider to be null 2022-04-22 11:13:06 +08:00
chenos
5dae47d5f1 fix: set null on delete 2022-04-21 18:08:33 +08:00
chenos
f2a3cef3cf fix: hide collections & fields if not exist 2022-04-21 18:08:18 +08:00
chenos
f1d7d14145 fix: change API_PORT to SERVER_PORT 2022-04-21 14:51:00 +08:00
Junyi
dda2ed1f77
fix(plugin-workflow): fix query node getter field (#308) 2022-04-21 14:36:18 +08:00
chenos
3735d71e70 fix: change plugin routes 2022-04-21 12:42:00 +08:00
chenos
be235786d0 fix: jump to the previous url after logging in 2022-04-21 11:56:53 +08:00
ChengLei Shao
45d4a9f242
Fix create nocobase app (#307)
* chore: create-nocobase-app

* chore: change create-nocobase-app lib to src

* chore(versions): 😊 publish v0.6.2-alpha.9

* fix: publish

* chore(versions): 😊 publish v0.6.2-alpha.10

* fix: read-config

* chore(versions): 😊 publish v0.6.2-alpha.11

* fix: create-nocobase-app publish

* chore: create-nocobase-app package.json

* chore(versions): 😊 publish v0.6.2-alpha.12

* feat: publish script

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-21 10:56:29 +08:00
chenos
e577cfc8e9 fix: update .npmignore 2022-04-21 00:23:36 +08:00
chenos
f5dbb04a9f
fix: create-nocobase-app (#306)
* chore: create-nocobase-app

* chore: change create-nocobase-app lib to src

* chore(versions): 😊 publish v0.6.2-alpha.9

* fix: publish

* chore(versions): 😊 publish v0.6.2-alpha.10

* fix: read-config

* chore(versions): 😊 publish v0.6.2-alpha.11

* fix: create-nocobase-app publish

* chore: create-nocobase-app package.json

* chore(versions): 😊 publish v0.6.2-alpha.12

Co-authored-by: Chareice <chareice@live.com>
2022-04-21 00:15:38 +08:00
ChengLei Shao
c940873ec8
Fix create nocobase app (#305)
* chore: create-nocobase-app

* chore: change create-nocobase-app lib to src
2022-04-20 23:36:05 +08:00
SemmyWong
446437cea7
fix: block item add overflow:hidden (#304) 2022-04-20 23:31:53 +08:00
chenos
0ab0d3ed46 fix: some field parameters should be disabled when editing 2022-04-20 22:23:52 +08:00
chenos
b45a5d57ea fix: options property for filter component 2022-04-20 22:21:15 +08:00
chenos
1f12c20838
feat: details block (#302) 2022-04-20 15:49:01 +08:00
Junyi
111b9e67b0
Fix(plugin workflow): fix collection data form view (#301)
* fix(plugin-workflow): change collection fields view to right configuration

* fix(plugin-workflow): fix type
2022-04-19 22:41:18 +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
a37609e71b
fix: through table primaryKey error (#297)
* fix: through table primaryKey error

* chore: sort fields

* chore: test release

* chore: github action sqlite env
2022-04-19 16:35:44 +08:00
chenos
28f9b902e8 fix: id operators 2022-04-19 11:19:22 +08:00
chenos
fca0943e8d fix: update useCreateActionProps & useUpdateActionProps 2022-04-19 09:27:52 +08:00
chenos
10dcc7fea0 fix: read pretty field for kanban 2022-04-18 21:43:10 +08:00
chenos
0c2b9741ed fix: useCreateActionProps & useUpdateActionProps 2022-04-18 20:04:28 +08:00
chenos
da9e08a59f
feat: junction collection for linkTo field (#296) 2022-04-18 18:57:21 +08:00
chenos
4510242651 fix: stop propagation when drawer is opened 2022-04-18 10:43:29 +08:00
SemmyWong
e21d819155
fix: long text will wrap in FormItem (#295) 2022-04-17 23:11:05 +08:00
Junyi
8e11e8d364
fix(client): avoid cannot getField by randomly generated name and throw error (#294)
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 18:09:46 +08:00
chenos
06de43da39 fix: getUmiConfig 2022-04-17 17:14:50 +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
Junyi
10dedd87e6
feat(plugin-workflow): add all crud nodes for workflow (#293) 2022-04-16 23:49:50 +08:00
chenos
28da6a5f82 feat: create system fields by default 2022-04-16 17:07:00 +08:00
Junyi
e002777b63
feat(plugin-workflow): add create node component (#292) 2022-04-15 23:54:20 +08:00
SemmyWong
5039896b16
fix: rich text removed value avoid dispaly html string (#290)
* fix: remove value avoid dispaly html string

* fix: remove debugger
2022-04-15 00:23:05 +08:00
chenos
5b41b33807 feat: rich text 2022-04-14 23:10:18 +08:00
chenos
bb3b783006 feat: improve anonymous 2022-04-14 18:37:51 +08:00
chenos
6b2d8fdd4a feat: onSuccess for action settings 2022-04-14 16:01:29 +08:00
chenos
6d917d36c2 feat: improve action schema settings 2022-04-14 09:30:19 +08:00
chenos
fd493dba9c feat: custom action initializer 2022-04-14 01:03:28 +08:00
Junyi
fda9c71d66
Feat: plugin-workflow (#288)
* refactor(plugin-workflow): change variable type keys to align to backend

* feat(plugin-workflow): add more configuration fields for model trigger

* refactor(plugin-workflow): improve transaction and error handling

* chore(plugin-workflow): add note for todos

* fix(plugin-workflow): fix calculator onchange handlers

* fix(plugin-workflow): fix transaction

* refactor(plugin-workflow): change transaction to configurable and default to false in execution due to defective solution

* fix(plugin-workflow): fix operand type to be consolidated and compatible with legacies
2022-04-14 00:05:13 +08:00
chenos
9ffe6418f9 fix: array operators schema 2022-04-13 23:17:48 +08:00
SemmyWong
a69c4d7845
fix: slate style (#289) 2022-04-13 22:51:35 +08:00
chenos
1326e024ab fix: the sub-table records can not be modified and deleted 2022-04-13 22:50:02 +08:00
chenos
5308210991 feat: improve form schema templates 2022-04-13 17:29:25 +08:00
chenos
e4fffc2245 fix: menu item permission 2022-04-13 12:52:02 +08:00
chenos
ad2135b4cb fix: jump to the home page after switching roles 2022-04-13 12:30:07 +08:00
chenos
b1decb359b fix: root & anonymous roles 2022-04-13 12:18:44 +08:00
chenos
9526ce13f2 fix: cannot convert undefined or null to object 2022-04-13 09:23:19 +08:00
chenos
13189514ff fix: users:check 2022-04-13 00:41:01 +08:00
chenos
4c2df15da2 feat: keep line breaks in the field description 2022-04-12 23:28:49 +08:00
chenos
5d9976b35e fix(client): remove auto focus for rich text component 2022-04-12 23:19:01 +08:00
chenos
85fb8d7452 fix: randomly generate role name 2022-04-12 22:48:24 +08:00
chenos
2af045979f fix: no throw exception when request users:check 2022-04-12 22:45:56 +08:00
ChengLei Shao
d7856e76ab
fix: toJSON with belongsTo Assoication (#287) 2022-04-12 17:07:13 +08:00
chenos
8b960c78d1 fix: record picker 2022-04-12 14:39:46 +08:00
chenos
271e91b452
feat: improve acl module (#283)
* feat: improve code

* fix: rowKey

* fix: ctx.state.currentUser

* fix: improve code

* fix: menu item permission

* fix: x-acl-action

* fix: skipScopeCheck

* feat: relationship resource permission

* fix: createdById
2022-04-12 12:02:58 +08:00
ChengLei Shao
118899887c
fix: destroy own records (#285)
* fix: acl own with no createdById field collection

* fix: acl delete with createdById

* fix: github action
2022-04-12 00:14:33 +08:00
Junyi
d0e524a1a0
feat(plugin-workflow): support context variables from model trigger (#284) 2022-04-11 22:06:41 +08:00
ChengLei Shao
2f6aeacbd8
fix: acl write (#280) 2022-04-11 10:09:55 +08:00
ChengLei Shao
571b077840
fix: call root server hook after insertNewSchema (#282) 2022-04-11 10:09:25 +08:00
chenos
8b5ddf4501 feat: re-check role config after menu item insert adjacent 2022-04-11 09:22:41 +08:00
chenos
6843bad133 fix(plugin-users): test errors 2022-04-10 22:54:05 +08:00
chenos
0fd41c9036 fix: set acl role 2022-04-10 22:05:18 +08:00
chenos
b586d370f0 fix: root role is not displayed 2022-04-10 21:02:05 +08:00
Junyi
c4afb7586c
Feat/plugin workflow (#278)
* fix(plugin-workflow): fix query node variable config

* feat(plugin-workflow): add more calculators

* refactor(plugin-workflow): simplify operand codes and fix variable component bugs
2022-04-10 20:06:40 +08:00
chenos
f791d43716
feat: acl provider (#279)
* feat: acl provider

* feat: menu server hook

* feat: improve code

* fix: fields filter
2022-04-10 19:22:39 +08:00
chenos
e109e2a37e fix: default value for rich text 2022-04-10 15:58:54 +08:00
chenos
a6b6f840e3 feat: powered by 2022-04-10 15:03:43 +08:00
chenos
6b1ff526eb fix: empty value 2022-04-10 13:54:25 +08:00
chenos
97c63830dd fix: skip permission 2022-04-10 10:55:56 +08:00
SemmyWong
3f3e9b5373
feat: add Slate component (#272)
* feat: add Slate component

* feat: add slate Read Pretty

* fix: remove unused code

* fix: demo

* feat: rich text field interface

* fix: editor normalize

* fix: modify slate style

* fix: remove debug info

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-10 09:10:25 +08:00
chenos
a4e943ace7 feat: refresh when role resource record exists 2022-04-09 15:32:30 +08:00
chenos
c6f1454ae8 feat: jwt service 2022-04-09 15:30:43 +08:00
chenos
e8a7e321f0 feat: accept attribute for the upload component 2022-04-09 15:24:29 +08:00
ChengLei Shao
7e4b60c410
Feat/plugin users with jwt (#258)
* feat: plugin users with jwt

* update github actions env

* feat: get jwt config from options

* feat: jwtService

* fix: type

* fix: build error

* fix: yarn repository

* fix: yarn build

* fix: yarn build
2022-04-09 14:54:46 +08:00
SemmyWong
25339a4240
fix: modify antd style of default (#277) 2022-04-09 14:50:50 +08:00
chenos
1828e15bb9 fix: skip if targetKey or sourceKey exists 2022-04-09 14:10:00 +08:00
chenos
c406e5eb8b fix: tsc error 2022-04-08 17:21:24 +08:00
chenos
ab633af627 feat: anonymous role 2022-04-08 16:17:39 +08:00
chenos
adea10a4d8 feat: scope select for acl resource actions 2022-04-08 13:47:47 +08:00
chenos
1859879978 fix(client): x-uid must be unique 2022-04-08 09:08:11 +08:00
chenos
c8b100e390 fix: dynamic component 2022-04-07 20:31:06 +08:00
chenos
3e574662cb fix(client): styling of the filter component 2022-04-07 19:19:08 +08:00
chenos
e67a686231 feat: add non-filterable config for the filter action 2022-04-07 18:12:35 +08:00
chenos
4e6d1d6fac fix(client): filter parameter merge 2022-04-07 17:46:25 +08:00
chenos
20680d3bc7 feat: improve filter component 2022-04-07 17:34:29 +08:00
chenos
53900c1e9e feat(client): add new demo for the filter component 2022-04-07 11:07:07 +08:00
chenos
8e10d7ae73 chore(client): add @nocobase/utils to rules 2022-04-07 08:39:22 +08:00
chenos
77bf4f2057 fix: update env.example 2022-04-07 08:10:58 +08:00
Junyi
31e95e3dec
fix(client): meet undefined error after clear filter cascader value (#267) 2022-04-07 07:59:17 +08:00
chenos
d2e5cf9651 feat: 'After successful submission' only configurable in the page 2022-04-06 20:28:56 +08:00
chenos
40dbae8fbe feat(client): after successful submission settings for the form block 2022-04-06 17:50:09 +08:00
chenos
592b45f5f7 feat: columns of type number/percent in the table are right-aligned 2022-04-06 16:06:08 +08:00
chenos
dd79cb05bf feat(client): block schema template manager 2022-04-06 15:34:34 +08:00
chenos
c183b98bfb fix: table data refresh after edit form submit 2022-04-06 15:34:34 +08:00
chenos
beb1ea2f9e fix(client): clear text formatting when textarea ellipsis 2022-04-06 15:34:34 +08:00
chenos
f8dd5d6f79 feat(client): sortable for the select and radio fields 2022-04-06 15:34:34 +08:00
chenos
b03ba07edd feat(client): disable street and village 2022-04-06 15:34:34 +08:00
chenos
8848fc798d fix(client): disable kanban column drag 2022-04-06 15:34:34 +08:00
chenos
f7735ccce3 fix(client): allow sign up 2022-04-06 15:34:34 +08:00
Junyi
1dc8a21cfe
Feat(plugin workflow): refactor calculation and add filter for query (#264)
* feat(plugin-workflow): group nodes in add button dropdown menu and adjust some style

* fix(client): add missing key in component

* feat(plugin-workflow): add job type variable getter structure for calculation

* feat(plugin-workflow): add calculation config for query filter
2022-04-06 15:25:56 +08:00
chenos
cdfc418f39 feat: edit tooltip for the read pretty field 2022-04-04 09:37:00 +08:00
chenos
74779a0d46
feat: block provider (#261)
* feat: block schema

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: styling for kanban

* feat: improve code

* feat: improve code

* fix(client): auto collapse menu items when overflow

* feat: improve code

* fix: fieldNames prop for calendar

* fix: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: list the sub-table data source

* fix: useFilterByTk

* feat: improve code

* feat: improve code

* feat: improve code
2022-04-04 00:30:40 +08:00
ChengLei Shao
036baaa443
fix: toJSON with null association (#260) 2022-04-03 19:45:59 +08:00
ChengLei Shao
afa807951a
fix: error handle error (#259) 2022-04-03 09:26:45 +08:00
Semmy
02ff296178 Merge branch 'nocobase-next' of https://github.com/nocobase/nocobase into nocobase-next 2022-03-30 16:10:43 +08:00
Semmy
6e136eeab2 style: fix word wrong 2022-03-30 16:10:31 +08:00
SemmyWong
c5926ec64d
fix: textarea read pretty can support break line (#255)
* fix: textarea read pretty can support  break line

* fix: add autop props

* fix: show in popover will be autop

* fix: textarea support text props
2022-03-30 15:47:35 +08:00
SemmyWong
16c0ca7412
fix: markdown support ellipsis (#257)
* fix: markdown add "format" props

* fix: markdown support ellipsis
2022-03-30 15:46:50 +08:00
Semmy
9615141180 Merge branches 'fix-textare-autop' and 'nocobase-next' of https://github.com/nocobase/nocobase into nocobase-next 2022-03-30 15:40:40 +08:00
Semmy
65deb92483 fix: textarea support text props 2022-03-30 15:35:44 +08:00
Semmy
ab530335b4 fix: show in popover will be autop 2022-03-30 14:29:48 +08:00
chenos
cf1fb16638 fix(client): auto collapse menu items when overflow 2022-03-30 14:22:11 +08:00
chenos
54ad1535d6 fix: destroy token on signout 2022-03-30 13:26:41 +08:00
Semmy
c762efc03b fix: add autop props 2022-03-30 09:36:57 +08:00
Semmy
b51daf2220 fix: textarea read pretty can support break line 2022-03-28 23:28:14 +08:00
ChengLei Shao
81978711e4
featPlugin multiple apps (#248)
* feat: multiple apps plugin

* feat: multipleAppManager in Application

* stage

* fix: export error

* test: multiple app

* application model

* feat: create application with plugins

* load and install after sub application created

* create subApp database beforeInstall

* sub apps listen to main app start & stop events

* refactor: getPluginName as package name

* feat: load apps on mainApp starts

* fix: test

* feat: beforeGetApplication event

* fix: test

* fix: test with sqlite memory database

* test: lazyLoad application

* fix: test with sqlite memory

* chore: clone database collection & promise.all
2022-03-28 22:01:10 +08:00
SemmyWong
c0a33b6e3e
add action log tempalte (#239)
* feat: add action log tempalte

* feat: add action log tempalte

* refactor: refactor action log

* fix: fix translation

* fix: modify translation

* fix: modify Action Log

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-28 15:38:29 +08:00
chenos
e932b993a4 feat: styling for kanban 2022-03-28 11:18:25 +08:00
chenos
da264777da fix: skip acl for the uiSchemaTemplates collection 2022-03-28 09:38:33 +08:00
SemmyWong
3633a518ba
fix some bugs (#252)
* fix: fix kanban could not show columns

* fix: modify drag area height

* fix: fix click Modal will open Drawer

* fix: change the Cancel button to the Reset
2022-03-28 09:18:07 +08:00
Junyi
c5e18903d2
fix(plugin-workflow): fix adding/removing node in parallel branches (#253) 2022-03-27 16:43:01 +08:00
chenos
246e06eb7a feat: workflow route provider 2022-03-27 16:15:58 +08:00
Junyi
b59a239a82
Feat: client base entry of plugin workflow (#225)
* feat(plugin-workflow): add base client entry for workflow

* fix(plugin-workflow): workflow table

* feat: custom ui route (#227)

* feat(plugin-workflow): add execution table

* refactor(actions): expose utils of actions

* fix(repo): move ".editorconfig" to root

* feat(plugin-workflow): base workflow management able to add node

* fix(plugin-workflow): fix empty workflow

* feat(plugin-workfow): add flow canvas and style

* fix(plugin-workflow): fix type for building

* feat(plugin-workflow): fix add node in branch and add branch ui

* feat(plugin-workflow): add calculation structure to condition config

* fix(plugin-workflow): fix branch line style

* feat(plugin-workflow): remove node with sub-branch

* feat(plugin-workflow): add parallel node type

* fix(plugin-workflow): fix dependency in client

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-27 15:51:48 +08:00
ChengLei Shao
e2616aa927
fix: updateAt on move scope change (#251) 2022-03-26 11:34:54 +08:00
chenos
9e6579c4e2 fix: adjust menu icon spacing 2022-03-26 09:03:16 +08:00
chenos
011b1dc8e9 fix(client): element type is invalid 2022-03-26 08:29:35 +08:00
Semmy
9fe90500cb fix: adjust menu to align 2022-03-26 00:53:58 +08:00
Semmy
4620a42932 fix: menu auto fold 2022-03-26 00:21:12 +08:00
Semmy
1a40f1e365 fix: change menu items align center 2022-03-24 23:33:13 +08:00
Semmy
743aa4a55a fix: change antd default class style 2022-03-24 23:00:29 +08:00
chenos
8af19d2489 fix: cleanup 2022-03-22 14:56:43 +08:00
chenos
f7ce3f64cf fix: language settings 2022-03-21 21:37:35 +08:00
chenos
7285dd04ee feat: save as template 2022-03-21 15:23:59 +08:00
ChengLei Shao
5554b1c260
feat: get json schema with async node (#246) 2022-03-21 14:51:23 +08:00
ChengLei Shao
ed8c60eb85
feat: insertNewSchema (#245)
* fix: transaction error

* stage

* feat: insertNewSchema

* feat: insertNewSchema Return Value

* test

* fix: insertAdjacent with root node

* feat: insertAdjacent with wrap

* fix: test

* feat: wrap with new schema

* feat: action with wrap params

* feat: improve client

* feat: improve client

* fix: test

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-20 20:04:07 +08:00
chenos
4422324980 fix(client): schema render 2022-03-20 09:04:27 +08:00
chenos
28a7cdbefb fix(database): ignore .d.ts 2022-03-19 20:51:02 +08:00
chenos
ecc31a29b2 chore: add build scripts 2022-03-19 20:50:22 +08:00
chenos
6a7aa22718 feat: improve code 2022-03-19 19:28:53 +08:00
chenos
019d182af2 feat: upgrade formily 2022-03-18 21:38:12 +08:00
chenos
542dc7dace fix(database): lost transaction 2022-03-18 15:14:23 +08:00
ChengLei Shao
15e6eac3ce
fix: transaction error (#242) 2022-03-17 15:54:27 +08:00
chenos
2fb019c392
feat: block templates (#240)
* feat: block templates

* feat: improve code

* feat: improve code

* feat: schema  settings for block templates

* feat: improve code

* feat: transition

* feat: transition
2022-03-17 09:41:48 +08:00
ChengLei Shao
5c92d3ba46
feat: uiSchema clearAncestor (#241)
* feat: uiSchema clearAncestor

* chore: uiSchema action methods

* chore: insertSingleNode
2022-03-16 18:45:20 +08:00
ChengLei Shao
4c0af45105
feat: init sort field values (#236)
* feat: init sort field values

* feat: handle sequelize afterSync hook
2022-03-14 13:24:00 +08:00
ChengLei Shao
cf279409b4
fix: move action without alter updatedAt (#235)
* fix: move action without alter updatedAt

* fix: touch updatedAt on scope change

* fix: mysql test
2022-03-13 19:38:27 +08:00
ChengLei Shao
9e27e50595
feat: role check action (#234) 2022-03-13 19:36:37 +08:00
ChengLei Shao
fe8c2576d0
feat: ne operator (#233) 2022-03-13 19:34:24 +08:00
chenos
627e2a9f4c fix: appends 2022-03-12 00:38:11 +08:00
chenos
db26c64aa2 fix: appends 2022-03-12 00:06:12 +08:00
chenos
9036eee80b feat: improve code 2022-03-11 23:33:22 +08:00
chenos
982c7a3038 feat: improve code 2022-03-11 21:31:34 +08:00
chenos
08fcee6d90 feat: improve code 2022-03-11 18:41:56 +08:00
ChengLei Shao
264a1e6c21
fix: user current role (#232) 2022-03-11 15:51:46 +08:00
ChengLei Shao
d98714d9fd
featEnable permission (#229)
* feat: acl skip

* feat: skip-manager

* feat: root user permission skip

* fix: test

* feat: set user role

* fix: code review

* feat: setDefaultRole for users
2022-03-11 10:10:57 +08:00
ChengLei Shao
accb2a59b9
test: update reverseField (#231)
* test: update reverseField

* fix: reverseField test

* feat: throw error when reverseField exists
2022-03-11 10:08:58 +08:00
chenos
a28b69326b feat: improve kanban initializer 2022-03-11 09:19:53 +08:00
chenos
3d5817e0b3
feat: kanban (#230)
* feat: kanban

* feat(client): improve kanban

* fix: unknown group
2022-03-10 23:52:44 +08:00
chenos
ffe3463dc2 fix: auto generate reverseField uiSchema title 2022-03-10 15:57:14 +08:00
chenos
683b63826a fix(client): form item required 2022-03-10 13:53:42 +08:00
chenos
fa16fe6fec fix: set default sorting rules 2022-03-10 13:43:33 +08:00
chenos
345080f92e fix(client): collection field does not exist 2022-03-10 12:01:30 +08:00
chenos
91ae780e4f feat(client): improve code 2022-03-09 22:18:52 +08:00
chenos
28e96ed5b0 fix(client): upload styling 2022-03-09 22:13:43 +08:00
chenos
97ad82fcdc feat(client): menu styling 2022-03-09 21:11:40 +08:00
chenos
4faf19d8eb fix: improve code 2022-03-09 20:58:11 +08:00
chenos
35c3d47ba1 feat: move to for menu schema settings 2022-03-09 17:20:39 +08:00
chenos
ac4ce800bc fix: ui routes 2022-03-09 16:11:22 +08:00
chenos
3cd0ea3d01 fix(client): initialize values in drawer form 2022-03-09 15:24:22 +08:00
chenos
9175ddc90e fix(client): request collections after login 2022-03-09 11:21:11 +08:00
SemmyWong
36ae278302
Nocobase next kanban (#223)
* feat: add kanban component

* feat: add kanban designer

* feat: kanban  completed

* refactor: modify kanban

* feat: kanban card

* feat: modify kanban

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-09 09:31:51 +08:00
chenos
60a915b50c fix(client): ellipsis with tooltip 2022-03-08 16:56:57 +08:00
chenos
d7a9608663 chore: update docker-compose.yml 2022-03-07 15:29:51 +08:00
chenos
e1e91bbe20 fix: enable drag and drop sorting 2022-03-07 11:40:03 +08:00
chenos
9ff0361336 feat: table supports row drag and drop sorting 2022-03-07 11:31:40 +08:00
chenos
b1aee77d10 feat: improve tab schema designer 2022-03-06 20:38:02 +08:00
ChengLei Shao
e76eb1edac
add: test (#224)
* add: test

* feat: updateAssociation Skip reverseAssociationPair

* feat: reverseAssociationPair with HasMany && HasOne
2022-03-06 19:12:44 +08:00
chenos
4ce41cf7b2 fix(client): sub table does not work 2022-03-06 19:04:02 +08:00
chenos
5164f85484 chore: env 2022-03-06 17:29:20 +08:00
chenos
c410c188a3 feat: improve code 2022-03-06 16:19:18 +08:00
ChengLei Shao
ad700c61b8
Plugin error handler (#222)
* feat: validation error with i18n

* feat: plugin-error-handler

* del: error-handle.test.ts

* feat: field name with i18n

* fix: yarn build
2022-03-06 12:07:56 +08:00
chenos
f9018cabda feat: table and calendar schema settings 2022-03-06 12:06:50 +08:00
chenos
b05cfe4b02 feat(client): menu schema insert 2022-03-06 08:50:06 +08:00
chenos
e2f4fa32a7 feat(client): menu schema settings 2022-03-06 00:13:54 +08:00
chenos
0c48463e53 feat(client): action schema settings 2022-03-05 23:47:44 +08:00
chenos
c9957dadab feat(client): FormItem.Designer & TableColumn. Designer 2022-03-05 22:51:23 +08:00
chenos
2c38bf139f fix: move draggable 2022-03-05 17:38:05 +08:00
chenos
ea27fbdea9 feat: improve code 2022-03-05 16:42:29 +08:00
chenos
f47ec3ec25 fix: cleanup 2022-03-05 15:04:05 +08:00
chenos
5cbbfcf428 feat: add drag handle for table row component 2022-03-05 14:43:19 +08:00
chenos
bf2ea2a6e1 fix(plugin-collection-manager): set the default value of sourceKey & targetKey 2022-03-04 23:17:28 +08:00
chenos
72d2699769 feat: improve code 2022-03-04 20:45:21 +08:00
ChengLei Shao
534a6e43ee
fix: array $noneOf with null (#220)
* fix: array $noneOf with null

* fix: mysql test
2022-03-04 18:13:48 +08:00
chenos
5233d00373 fix(client): cannot find module 2022-03-04 17:03:17 +08:00
chenos
46873d5b1e feat: improve code 2022-03-04 15:56:08 +08:00
chenos
ac4c8f031d feat: improve schema initializer 2022-03-04 11:59:38 +08:00
chenos
590ca267b2 feat: improve view action schema initializer 2022-03-03 23:02:55 +08:00
ChengLei Shao
b4dc7f6199
fix: filter parser with number in key (#219)
* fix: filter parser with number in key

* fix:test
2022-03-03 22:02:15 +08:00
ChengLei Shao
2efbe84fa6
feat: ui-schema-tree-path descendant index (#218) 2022-03-03 21:12:18 +08:00
chenos
3c55ac7474 fix: array field 2022-03-03 16:40:24 +08:00
chenos
93d521b134 fix(client): dynamic component 2022-03-03 15:28:43 +08:00
chenos
3ff16e70c0 feat: improve field interface filterable parameter 2022-03-03 15:21:27 +08:00
chenos
d4bd033917 feat: improve code 2022-03-03 12:15:17 +08:00
ChengLei Shao
4e9baf3957
fix: array operator query error (#217) 2022-03-03 12:09:25 +08:00
chenos
18b4feb104 fix: custom error handler 2022-03-02 22:50:07 +08:00
chenos
5785f30075 feat(client): improve sub table 2022-03-02 22:49:10 +08:00
ChengLei Shao
b354313c0e
fix: operator query value (#216)
* fix: operator query value

* fix: operator query value
2022-03-02 22:01:32 +08:00
chenos
78ada4d6ec feat: improve code 2022-03-02 21:53:13 +08:00
chenos
271111902f feat: improve code 2022-03-02 20:08:11 +08:00
chenos
afab15327e feat: improve code 2022-03-02 18:35:49 +08:00
ChengLei Shao
aa1c84e72a
feat: string operators (#215)
* feat: string operators

* fix: remove filter

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-02 15:13:06 +08:00
chenos
a96f76b87a feat(client): error handler 2022-03-02 13:22:59 +08:00
chenos
9db654047a feat(client): improve linkTo field Initializer 2022-03-02 13:22:30 +08:00
ChengLei Shao
86065fa208
feat: error handle middleware (#214)
* feat: error handle middleware

* feat: application error handler

* feat: handle with sequelizeValidationError

* fix: test

* fix: test
2022-03-02 12:50:15 +08:00
chenos
1c6289dd88 feat: improve filter action initializer 2022-03-01 22:17:58 +08:00
chenos
bc27359637
refactor: filter schema component (#213)
* refactor: filter schema component

* feat: improve filter schema component

* fix: cannot find module
2022-03-01 18:06:06 +08:00
ChengLei Shao
5d974d7e32
fix: empty operator with $or filter (#212) 2022-02-28 22:29:18 +08:00
chenos
9704f8a342 feat: improve acl module 2022-02-28 22:10:04 +08:00
ChengLei Shao
5e51973b21
feat: plugin install (#211)
* feat: plugin install

* fix: install options
2022-02-28 21:49:50 +08:00
chenos
78f75f5a2f feat: improve users module 2022-02-28 14:25:50 +08:00
ChengLei Shao
1db71b166d
feat: sortBy through table value (#209) 2022-02-27 23:02:26 +08:00
Junyi
344057ccee
Feat: plugin workflow (#210)
* feat(plugin-workflow): refactor calculator and some api

* fix(plugin-workflow): comments
2022-02-27 22:58:41 +08:00
chenos
8d4a519e4a feat(client): improve system settings module 2022-02-27 22:56:02 +08:00
ChengLei Shao
730a5e5735
fix: collection fields sort (#208) 2022-02-27 21:53:28 +08:00
Semmy
29d31b0451 Merge branch 'nocobase-next' of https://github.com/nocobase/nocobase into nocobase-next 2022-02-27 01:50:25 +08:00
Semmy
968a7ec80f feat: filter component finish 2022-02-27 01:49:56 +08:00
chenos
d1ac62ddaf feat(client): improve acl module 2022-02-26 23:03:58 +08:00
Semmy
6f2069e918 Merge branch 'nocobase-next' of https://github.com/nocobase/nocobase into nocobase-next 2022-02-26 16:40:24 +08:00
Semmy
5e472796c6 fix: fix judge an empty object 2022-02-26 16:40:07 +08:00
ChengLei Shao
3be12644ed
feat: sort in collection fields (#207)
* feat: sort in collection fields

* fix: sort should call before hidden

* mov: test file

* refactor: toJSON with traverseJSON

* fix: toJSON test

* fix: sortBy with hidden field
2022-02-26 15:12:18 +08:00
chenos
c28a1e34ec feat: menu item permissions 2022-02-26 14:32:37 +08:00
chenos
8c3e30df52 feat: improve table schema initializer 2022-02-26 14:31:08 +08:00
Semmy
0125ae8df9 fix: remove debugger 2022-02-26 14:16:40 +08:00
Semmy
f6e5a900d1 refactor: refactor calendar demo 2022-02-26 13:46:29 +08:00
chenos
f06a4497f0 fix: serialize params with qs 2022-02-25 23:41:33 +08:00
chenos
bcc42a9455 feat: improve code 2022-02-25 23:09:42 +08:00
chenos
585d9dd580 feat(client): improve the sub table field 2022-02-25 16:24:50 +08:00
chenos
6d0978f2c2 feat: improve sub table 2022-02-25 00:08:32 +08:00
chenos
f5b2600640 feat: improve code 2022-02-24 16:52:35 +08:00
chenos
dc21859d55 feat: improve code 2022-02-24 15:16:21 +08:00
chenos
1f8c5f510b feat: improve code 2022-02-24 00:04:41 +08:00
chenos
449c307eb9 fix(database): add test cases 2022-02-23 22:27:08 +08:00
chenos
4f420c670f fix(plugin-workflow): ts errors 2022-02-23 18:39:36 +08:00
chenos
37be46aacb feat(client): improve the collection manager module 2022-02-23 18:22:37 +08:00
chenos
57c9524f34 feat(client): add the setBearerToken method to the APIClient 2022-02-23 18:20:45 +08:00
chenos
872ee79146 refactor(database): model toJSON without the hidden fields 2022-02-23 18:18:38 +08:00
chenos
e140227798 fix: schema Initializer demos 2022-02-22 23:53:51 +08:00
chenos
98076d628d feat: improve collection manager module 2022-02-22 23:41:19 +08:00
chenos
f121999568 feat: improve schema initializer 2022-02-22 23:40:08 +08:00
ChengLei Shao
9dd590c459
fix Collection rest api (#205)
* test: collections rest api

* test: add more test cases

* fix: test case

* fix: Error: src/schema-component/antd/array-table/TableRecordActionDesigner.tsx(3,38): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations.

* fix: belongsToMany create with empty value

* fix: relation query  test

* test: appends + sort

* fix: belongsToMany find error

* fix: add cleanDb to fix database test

* fix: mysql test

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-02-22 23:38:13 +08:00
chenos
2caec7a271 fix: Error: src/schema-component/antd/array-table/TableRecordActionDesigner.tsx(3,38): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. 2022-02-22 18:35:12 +08:00
chenos
4657c22ef3 fix(database): create collections with field via http api 2022-02-22 16:11:19 +08:00
chenos
acb2e02c11 fix(database) unique for collectionName + fieldName 2022-02-22 15:42:12 +08:00
chenos
cf89f4f428 fix: app install with clean option 2022-02-22 15:14:32 +08:00
chenos
f45b08af38 refactor(client): schema initializer 2022-02-22 11:17:24 +08:00
ChengLei Shao
d486768eda
feat: non paged list (#204) 2022-02-21 20:14:41 +08:00
chenos
a7c4abb485 feat: add calendar block 2022-02-21 19:20:35 +08:00
SemmyWong
1e3cdf9572
feat: finish calendar component develop (#199)
* feat: add Calendar component into schema components

* feat: add Calendar component into schema components

* feat: modify calendar get data async

* refactor: remove toolbar

* fix: modify calendar

* feat: modify fieldName

* feat: add new task in calendar

* fix: modify calendar component

* feat: add Calendar component into schema components

* feat: modify calendar get data async

* feat: add Calendar component into schema components

* refactor: remove toolbar

* fix: modify calendar

* feat: modify fieldName

* feat: add new task in calendar

* fix: modify calendar component

* fix: modify "useFormItemInitializerFields"

* fix: add data to calendar

* fix: add data to calendar

* fix: add data to calendar

* feat: add remove and edit in calendar

* fix: modify edit and remove in calendar component

* fix: modify edit and remove in calendar component

* fix: modify edit and remove in calendar component

* refactor: refactor event

* feat: add Calendar component into schema components

* feat: modify calendar get data async

* feat: add Calendar component into schema components

* refactor: remove toolbar

* fix: modify calendar

* feat: modify fieldName

* feat: add new task in calendar

* fix: modify calendar component

* feat: add Calendar component into schema components

* feat: modify calendar get data async

* feat: add Calendar component into schema components

* refactor: remove toolbar

* fix: modify calendar

* feat: add new task in calendar

* fix: modify calendar component

* fix: modify "useFormItemInitializerFields"

* fix: add data to calendar

* fix: add data to calendar

* fix: add data to calendar

* feat: add remove and edit in calendar

* fix: modify edit and remove in calendar component

* fix: modify edit and remove in calendar component

* fix: modify edit and remove in calendar component

* refactor: refactor event

* fix: modify conflict

* refactor: change new initializer

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-02-21 15:31:31 +08:00
Junyi
f925922a73
fix(dependencies): move json-template into original sub packages (#203) 2022-02-21 15:23:42 +08:00
chenos
24aa18515b feat: improve code 2022-02-21 15:08:45 +08:00
Junyi
46afc05898
Feat(plugin workflow): add more instructions (#201)
* test(plugin-workflow): add getter cases

* feat(plugin-workflow): add query type for node instruction

* feat(plugin-workflow): add crud instructions for node type

* fix(plugin-workflow): fix transaction

* fix(plugin-workflow): fix context data of model trigger
2022-02-20 21:23:39 +08:00
chenos
a0ebd36e5a fix: createdAt 2022-02-20 20:27:13 +08:00
ChengLei Shao
093b731783
fix: getJsonSchema with properties (#202)
* fix: getJsonSchema with properties

* fix: mysql uiSchema remove error
2022-02-20 20:01:07 +08:00
chenos
44a4893630 feat: improve code 2022-02-20 20:00:15 +08:00
chenos
de2b7cab75 feat: improve code 2022-02-20 17:58:46 +08:00
chenos
257488ebad feat: improve code 2022-02-20 13:09:33 +08:00
ChengLei Shao
351bb88245
fix: postgres array operator (#200) 2022-02-20 10:33:26 +08:00
chenos
e56b2b7bf6 feat(client): improve code 2022-02-20 10:21:22 +08:00
chenos
ab78655004 fix(client): update action initializer 2022-02-20 01:37:47 +08:00
ChengLei Shao
000587380b
fix: postgres sort with appends issue (#198)
* fix: postgres sort with appends issue

* fix: role menus api error

* feat: add exists params in roles.collections api

* refactor: remove uid field on uiSchemas table

* test: toggle role menus

* fix: plugin-acl test

* feat: sync data to acl before app start

* fix: mysql ui-schema sql compatibility

* feat: writeRolesToACL in plugin-acl
2022-02-20 01:23:04 +08:00
chenos
7be30b5b95 feat: improve schema designer 2022-02-20 01:22:10 +08:00
chenos
991345d988 feat(client): improve code 2022-02-19 21:25:39 +08:00
chenos
118abe1de5 fix(plugin-acl): roles.resources target key is the resource name 2022-02-19 18:29:34 +08:00
chenos
014bb7ab3f feat(client): improve acl module 2022-02-19 17:19:32 +08:00
chenos
f7a30e4103 fix(database): export uid field options 2022-02-19 17:16:12 +08:00
chenos
72b66a028c fix(plugin-acl): adjust roles collection options 2022-02-19 17:15:42 +08:00
chenos
407f9d2d85 fix(acl): availableActions 2022-02-19 17:14:43 +08:00
chenos
ad38b001c5 feat(client): improve actionbar/form/markdown/space... 2022-02-18 20:31:05 +08:00
chenos
702c391bc2 feat(client): improve collection-manager module 2022-02-18 20:30:27 +08:00
chenos
77d9228ea2 feat(client): improve acl module 2022-02-18 20:30:03 +08:00
chenos
2c38b63f18 feat(client): x-designer 2022-02-18 20:29:24 +08:00
chenos
992befe89e fix(plugin-acl): display roleName 2022-02-18 20:26:50 +08:00
chenos
b06260d13d fix: field uiSchema is not updated 2022-02-18 20:26:11 +08:00
ChengLei Shao
b9bbbc8516
feat: uiSchema remove api (#196)
* feat: recursiveRemoveIfNoChildren

* feat: remove with removeParents

* refactor: removeSchema server hook

* fix: server hook test

* feat: insertInner with remove parent

* feat: onSelfMove server hook

* feat: removeParentsIfNoChildren server hook method

* refactor: ui_schema_tree_path to uiSchemaTreePath

* feat: insertAdjacent api params
2022-02-18 12:29:03 +08:00
ChengLei Shao
6c381313cb
refactor: perPage to pageSize (#197) 2022-02-18 09:46:10 +08:00
chenos
acf459d5df feat: improve code 2022-02-18 02:05:42 +08:00
chenos
b656f69565 feat: improve schema Initializer 2022-02-17 23:56:39 +08:00
ChengLei Shao
78e89b76ef
fix: option parser test (#195) 2022-02-17 17:41:30 +08:00
chenos
9c422b7879 fix(database): typings 2022-02-17 16:16:05 +08:00
ChengLei Shao
86e0f071e4
fix: nest append (#194) 2022-02-17 12:56:52 +08:00
chenos
8b4d59ee97 feat(client): improve code 2022-02-17 01:06:42 +08:00
chenos
0ee81dc221 feat: skip permission 2022-02-16 23:15:24 +08:00
chenos
fc1a65a2fb feat(client): improve the collection manager module 2022-02-16 22:48:24 +08:00
chenos
451f706b46 feat(client): add Space schema component 2022-02-16 22:45:49 +08:00
chenos
f8863959b5 feat(client): add Action.Link schema component 2022-02-16 22:45:03 +08:00
chenos
022c173f7e feat(client): improve code 2022-02-16 15:11:24 +08:00
chenos
054a73d576 fix(app): postinstall with umi.cli.js 2022-02-16 14:57:33 +08:00
chenos
6036189063 feat(client): example of CollectionProvider + ResourceActionProvider 2022-02-16 09:27:13 +08:00
chenos
0440591868 feat: rename ui_schemas to uiSchemas 2022-02-16 00:22:47 +08:00
ChengLei Shao
99bfd75776
fix: test with database (#193)
* fix: ui schema test

* fix: sqlite array query

* fix: acl test

* fix: plugin-users test

* fix: database test with postgres

* fix: test with db.getTablePrefix

* fix: test with mysql database

* fix: test with sqlite database

* fix: test with  mysql

* fix: test order with mysql

* chore: test clean database

* chore: mockServer clean

* chore: app cleanDb

* chore: plugin-users cleanDb
2022-02-15 22:32:02 +08:00
chenos
adfac15aba fix(database): parse sort 2022-02-15 17:36:32 +08:00
chenos
e36e3283a2 feat: add more demos for the void table 2022-02-15 17:13:47 +08:00
chenos
d81d1979b0 fix(jest): custom cli options not working 2022-02-15 09:54:57 +08:00
chenos
6bf416d5c4 fix(database): remove dropAllTables 2022-02-15 09:09:13 +08:00
Junyi
405ff75c1b
fix(plugin-workflow): fix dependencies in package (#192) 2022-02-15 00:48:12 +08:00
chenos
7e59e275e0 fix: do not drop all tables 2022-02-15 00:36:08 +08:00
chenos
c5f639338f refactor: mockDatabase 2022-02-15 00:20:25 +08:00
mytharcher
0d2a93f386 FIX(plugin-workflow): fix query option in test case 2022-02-15 00:15:08 +08:00
chenos
6fa6756356 fix(plugin-collection-manager): Cannot read properties of undefined (reading 'model') 2022-02-14 21:57:13 +08:00
chenos
c538fdf73a fix(database): the options.where object is empty 2022-02-14 21:27:50 +08:00
chenos
620b2b463e feat(client): give more reasonable names 2022-02-14 18:26:16 +08:00
chenos
441a7aecf2 fix: the parent cannot be moved to the child schema 2022-02-14 16:39:22 +08:00
chenos
1a7f638f85 feat(client): add designable test cases 2022-02-14 15:50:19 +08:00
Junyi
be489996c3
Merge pull request #190 from nocobase/plugin-workflow
Refactor(plugin-workflow): upgrade plugin to use abstract plugin class and fix types
2022-02-13 22:56:48 +08:00
chenos
ae43b1e99c fix: errors in tests 2022-02-13 20:36:53 +08:00
mytharcher
4553d25d0c refactor(plugin-workflow): upgrade plugin to use abstract plugin class and fix types 2022-02-13 20:29:19 +08:00
chenos
ce3daba61d docs(client): add useValues demo for form schema 2022-02-13 17:32:01 +08:00
chenos
db3285d452 fix(database): mock db 2022-02-13 13:41:17 +08:00
chenos
01e5e1cbac feat: improve code 2022-02-13 11:23:40 +08:00
ChengLei Shao
8a791f37aa
fix: ui schema storage (#188)
* fix: test

* chore: root schema x-index

* fix: getJsonSchema & getProperties empty response
2022-02-13 10:36:25 +08:00
ChengLei Shao
2e2b5cd938
fix: ui schema storage (#187)
* fix: test

* chore: root schema x-index
2022-02-13 09:38:41 +08:00
chenos
51ca12cc87 feat(plugin-china-region): improve code 2022-02-12 12:38:57 +08:00
ChengLei Shao
785077a6f3
fix: update guard with Model instance (#186) 2022-02-12 12:36:22 +08:00
chenos
ffbf4ecb66 feat: app.acl support 2022-02-11 23:59:03 +08:00
Chareice
a2037d90c9 feat: revokeResource when roleResource deleted 2022-02-11 23:24:10 +08:00
Chareice
e92a21f072 feat: add new fields when role has action permission 2022-02-11 23:24:10 +08:00
chenos
ac7abedbb8 feat: acl middleware support 2022-02-11 19:31:53 +08:00
chenos
a507267b72 feat: code cleanup 2022-02-11 18:13:14 +08:00
chenos
ad648431e9 feat: add @nocobase/plugin-ui-routes-storage 2022-02-11 15:16:00 +08:00
chenos
c2725ac9ca fix(database): remove the setUpHooks method 2022-02-11 14:52:04 +08:00
chenos
695b953a8f fix(sort-field): the value of the scopeKey attribute is null 2022-02-11 14:50:53 +08:00
chenos
16d07e9b4a feat: add sortable parameter to collection options 2022-02-11 14:34:33 +08:00
ChengLei Shao
e12b8f44d1
fix: getProperties with order (#183) 2022-02-11 12:55:30 +08:00
Chareice
45453afa0a fix: add menu role 2022-02-11 09:43:45 +08:00
Chareice
ac2b05f04c fix: typo 2022-02-11 09:43:45 +08:00
Chareice
c9643ac2b7 feat: bind new menu to role 2022-02-11 09:43:45 +08:00
Chareice
f167bf90b4 test: removeSchema breakComponent 2022-02-11 09:43:45 +08:00
Chareice
0667efefb4 feat: removeSchema Hook with params 2022-02-11 09:43:45 +08:00
Chareice
34f33844d5 feat: removeSchema Hook with params 2022-02-11 09:43:45 +08:00
Chareice
6013b4d274 feat: remove method 2022-02-11 09:43:45 +08:00
Chareice
05fe32fcf1 feat: register default hooks 2022-02-11 09:43:45 +08:00
Chareice
4607e0da49 feat: removeEmptyParents server hook 2022-02-11 09:43:45 +08:00
Chareice
85ab936c4c chore: server hooks 2022-02-11 09:43:45 +08:00
Chareice
0526e4ff1f fix: server hook args 2022-02-11 09:43:45 +08:00
Chareice
61522a48fb feat: onAnyCollectionFieldDestroy 2022-02-11 09:43:45 +08:00