Commit Graph

1237 Commits

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