Commit Graph

1135 Commits

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