Commit Graph

35 Commits

Author SHA1 Message Date
chenos
d7a9608663 chore: update docker-compose.yml 2022-03-07 15:29:51 +08:00
ChengLei Shao
2efbe84fa6
feat: ui-schema-tree-path descendant index (#218) 2022-03-03 21:12:18 +08:00
chenos
afab15327e feat: improve code 2022-03-02 18:35:49 +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
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
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
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
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
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
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
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
Chareice
159775ff54 refactor: server hooks 2022-02-11 09:43:45 +08:00
Chareice
fca6977ad1 fix: getListenServerHooks 2022-02-11 09:43:45 +08:00
Chareice
672c44e376 fix: hookFunc args 2022-02-11 09:43:45 +08:00
Chareice
41456b562e feat: server hooks afterDestroyCollection && afterCreateSelf 2022-02-11 09:43:45 +08:00
Chareice
3e1cad643b feat: server hooks model 2022-02-11 09:43:45 +08:00
Chareice
af02e80b6f feat: uiSchema with attributes 2022-02-11 09:43:45 +08:00
ChengLei Shao
8e4336cbe1
feat(server): improve application (#177)
* feat: getRepository

* getRepository return type

* export action

* refactor(plugin-acl): plugin

* refactor(plugin-action-logs): plugin class

* refactor(plugin-china-region): plugin class

* refactor: plugin class

* fix: cli start command

* feat: pass install-command options into app.install

* fix: cli args

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-02-07 01:14:00 +08:00
chenos
e7918b7887 rename 2022-01-19 10:18:53 +08:00