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
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
chenos
95f4406ba9
fix: do not display the page title
2022-02-11 09:42:15 +08:00
chenos
7e76c54012
feat: using crypto.scrypt instead of bcrypt
2022-02-10 19:53:18 +08:00
chenos
47fa83032c
fix: build error
2022-02-10 18:38:05 +08:00
chenos
34f5c87a1e
feat: add @nocobase/app
2022-02-10 18:37:16 +08:00
chenos
ab457ade22
feat: improve code
2022-02-10 17:07:53 +08:00
chenos
43393b4d44
feat: improve action schema component
2022-02-10 12:06:48 +08:00
chenos
0c83c16391
feat(client): add settings form
2022-02-09 23:37:12 +08:00
chenos
6608901596
fix(client): improve code
2022-02-09 23:36:21 +08:00
chenos
faf0977a0b
fix(client): missing layout size and disabled props
2022-02-09 23:35:08 +08:00
chenos
6990347013
feat(client): improve schema Initializer
2022-02-09 00:13:42 +08:00
chenos
4baded4702
feat(client): improve demo
2022-02-08 19:51:30 +08:00
chenos
dd783f6554
fix(client): improve form schema component
2022-02-08 13:43:40 +08:00
chenos
01d172e5c4
feat(client): improve schema Initializer demos
2022-02-08 12:17:06 +08:00
chenos
39e80fad61
feat(client): add x-initializer parameter to schema
2022-02-07 23:30:24 +08:00
chenos
7cc821c06f
feat: add plugin-client
2022-02-07 21:54:35 +08:00
chenos
ab28a2be4c
fix: missing app command args
2022-02-07 21:54:07 +08:00
chenos
ce52361ac4
feat(client): improve schema Initializer
2022-02-07 21:52:51 +08:00
chenos
3b5f43ea09
feat: improve dnd
2022-02-07 21:51:29 +08:00
semmy
8a2ab9f86b
refactor: move sortable-item into common
2022-02-07 11:33:04 +08:00
semmy
345c802d2b
refactor: reimport dnd-context
2022-02-07 11:25:24 +08:00
semmy
02ede08a5d
refactor: rename sort-item
2022-02-07 11:23:43 +08:00
semmy
aa78a7faf1
refactor: move DndCtext into common dir
2022-02-07 11:16:54 +08:00
semmy
37c01614f2
refactor: rename components to core
2022-02-07 11:14:07 +08:00
chenos
851c97b52a
fix(server): adjust the position of beforeInstall
2022-02-07 10:07:39 +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
de25f56a79
feat: improve draggable api
2022-02-05 23:59:33 +08:00
chenos
5b4dd1800e
feat: improve the user module
2022-02-05 17:06:33 +08:00
chenos
ef24f7cfea
feat: improve the system settings module
2022-02-04 23:21:36 +08:00
chenos
7ed5054c41
feat: collection configuration interface
2022-02-03 22:27:26 +08:00
Junyi
2924418800
Merge pull request #171 from nocobase/feat/plugin-workflow
...
Feature: plugin-workflow MVP
2022-02-02 20:34:38 +08:00
Junyi
d24c5629d4
fix(root): fix dependencies in packages to avoid building errors ( #178 )
2022-02-02 19:08:33 +08:00
mytharcher
2f584b40bd
feat(plugin-workflow): add parallel branch and mixed test cases
2022-02-01 12:04:08 +08:00
chenos
218eb5ced3
feat(client): improve code
2022-01-30 19:31:00 +08:00
chenos
fd130901be
feat: add acl components
2022-01-30 19:28:42 +08:00
ChengLei Shao
15950ece05
Application ( #175 )
...
* feat: getRepository
* getRepository return type
* export action
* add: acl
* feat: setResourceAction
* feat: action alias
* chore: code struct
* feat: removeResourceAction
* chore: file name
* ignorecase
* remove ACL
* feat: ACL
* feat: role toJSON
* using emit
* chore: test
* feat: plugin-acl
* feat: acl with predicate
* grant universal action test
* grant action test
* update resource action test
* revoke resource action
* usingActionsConfig switch
* plugin-ui-schema-storage
* remove global acl instance
* fix: collection manager with sqlite
* add own action listener
* add acl middleware
* add acl allowConfigure strategy option
* add plugin-acl allowConfigure
* change acl resourceName
* add acl middleware merge params
* bugfix
* append fields on acl action params
* acl middleware parse template
* fix: collection-manager migrate
* add acl association field test
* feat(plugin-acl): grant association field actions
* chore(plugin-acl): type name
* feat(plugin-acl): regrant actions on resource action update
* feat(plugin-acl): regrant action on field destroy
* fix(plugin-acl): test
* fix(plugin-acl): test run
* feat(plugin-acl): set default role
* feat(plugin-users): set user default role
* test(plugin-users): create user with role
* feat(plugin-users): create user with role
* feat(application): application hook
* feat(database): reconnect
* feat(database): application life cycle
* feat(database): sync with option
* feat(database): hook position
* feat(database): hook position
* feat(database): remove load in start
* fix(application): get plugin
* feat(test): loadAndInstall
* feat: improve code
* feat: improve code
* fix: listen options
* fix: bug
* test(database): add test case
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-30 11:11:36 +08:00
ChengLei Shao
7a7ab2ef41
feat: add acl plugin ( #169 )
...
* feat: getRepository
* getRepository return type
* export action
* add: acl
* feat: setResourceAction
* feat: action alias
* chore: code struct
* feat: removeResourceAction
* chore: file name
* ignorecase
* remove ACL
* feat: ACL
* feat: role toJSON
* using emit
* chore: test
* feat: plugin-acl
* feat: acl with predicate
* grant universal action test
* grant action test
* update resource action test
* revoke resource action
* usingActionsConfig switch
* plugin-ui-schema-storage
* remove global acl instance
* fix: collection manager with sqlite
* add own action listener
* add acl middleware
* add acl allowConfigure strategy option
* add plugin-acl allowConfigure
* change acl resourceName
* add acl middleware merge params
* bugfix
* append fields on acl action params
* acl middleware parse template
* fix: collection-manager migrate
* add acl association field test
* feat(plugin-acl): grant association field actions
* chore(plugin-acl): type name
* feat(plugin-acl): regrant actions on resource action update
* feat(plugin-acl): regrant action on field destroy
* fix(plugin-acl): test
* fix(plugin-acl): test run
* feat(plugin-acl): set default role
* feat(plugin-users): set user default role
* test(plugin-users): create user with role
* feat(plugin-users): create user with role
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-30 10:37:27 +08:00
SemmyWong
8e1543269f
add Filter component into schema componens ( #176 )
...
* feat: add next Filter component into schema component
* fix: bugfix
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-29 23:07:05 +08:00
chenos
2929c77775
docs(api-client): update doc
2022-01-29 17:31:40 +08:00
chenos
8da98d8c2b
feat(client): add board component
2022-01-29 17:30:40 +08:00
chenos
05e2cf3b8d
feat: add some other components
2022-01-29 01:02:18 +08:00
mytharcher
f9182c4004
feat(plugin-workflow): use toggle instead of mount and unmount
2022-01-28 21:03:30 +08:00
chenos
5acac725f9
feat(client): improve the form component and add more examples
2022-01-28 15:23:52 +08:00
SemmyWong
dfa28983d7
feat: add Markdown component into schema components ( #173 )
...
* feat: markdown migrate
* feat: markdown migrate
* feat: add Markdown component into schema components
* refactor: modifty Markdown.Void component
* refactor: modifty Markdown.Void component
* refactor: modifty Markdown.Void component
* refactor: modify Markdown.Void component
* refactor: modify Markdown.Void component
* fix: x-editable=false
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-28 13:20:01 +08:00
chenos
145940fc6f
fix(client): cannot read properties of undefined (reading 'onSuccess')
2022-01-28 12:17:22 +08:00
chenos
f9a18863ad
feat: table related components ( #172 )
...
* table-related components
* feat: ArrayTable & VoidTable & RowSelection
* update
* fix: missing request params
* fix(client): get sideMenuRef from context
* void table
* fix: use request params merge
* demo
* void table demo
* feat: improve code
* feat: improve code
* feat: row select table
* feat: record picker
2022-01-28 09:28:01 +08:00
mytharcher
e592d03f18
chore(plugin-workflow): migrate from 0.5 to 0.6
2022-01-28 00:25:26 +08:00
mytharcher
4249047318
fix(plugin-workflow): test for error job
2022-01-26 23:32:18 +08:00
mytharcher
6018013195
feat(plugin-workflow): execution life cycle with branch and join
2022-01-26 23:32:17 +08:00
mytharcher
1cce3bf164
feat: server mvp for configurable workflow with nodes
2022-01-26 23:32:17 +08:00
chenos
d0b6efaaf5
feat: api service support
2022-01-26 18:20:31 +08:00
SemmyWong
c5220ce09b
feat: add select component into schema component ( #168 )
...
* feat: select migrate
* feat: select migrate
* feat: add Select component into schema components
* refactor
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-26 10:43:29 +08:00
chenos
6e95278ce4
fix(database): missing context in hook
2022-01-25 17:08:35 +08:00
SemmyWong
a648adace8
feat: add TreeSelect component into schema components ( #167 )
...
* feat: migrate TreeSelect into schema components
* fix: modify enum to tredata
* fix: options replace treeData
* feat: migrate TreeSelect into schema components
* fix: modify enum to tredata
* fix: options replace treeData
2022-01-25 10:50:44 +08:00
chenos
9684e55f1a
feat: memoized schema component
2022-01-25 09:21:41 +08:00
chenos
3c54393073
refactor(client): improve schema component
2022-01-25 00:18:34 +08:00
chenos
6ba2d6b5e5
fix(client): get sideMenuRef from context
2022-01-24 15:50:46 +08:00
chenos
1238f1ee8c
fix(plugin-collection-manager): missing transaction
2022-01-24 14:57:04 +08:00
chenos
003745681b
fix(plugin-collection-manager): filter out the fields
2022-01-24 14:41:27 +08:00
semmy
9c6ad9967f
optimize: remove unused import
2022-01-24 14:32:32 +08:00
ChengLei Shao
bd285e0ba9
Plugin acl ( #166 )
...
* feat: getRepository
* getRepository return type
* export action
* add: acl
* feat: setResourceAction
* feat: action alias
* chore: code struct
* feat: removeResourceAction
* chore: file name
* ignorecase
* remove ACL
* feat: ACL
* feat: role toJSON
* using emit
* chore: test
* feat: plugin-acl
* feat: acl with predicate
* grant universal action test
* grant action test
* update resource action test
* revoke resource action
* usingActionsConfig switch
* plugin-ui-schema-storage
* remove global acl instance
* fix: collection manager with sqlite
* add own action listener
* add acl middleware
* add acl allowConfigure strategy option
* add plugin-acl allowConfigure
* change acl resourceName
* add acl middleware merge params
* bugfix
* append fields on acl action params
* acl middleware parse template
* fix: collection-manager migrate
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-24 14:10:35 +08:00
chenos
a2f3e1904e
fix(client): adjust the order of props
2022-01-24 14:03:18 +08:00
chenos
b398e65c9c
fix(plugin-collection-manager): test error
2022-01-24 11:46:10 +08:00
chenos
2a2d67e38b
feat: improve mock server agent
2022-01-23 15:04:50 +08:00
chenos
f0eb2eee20
feat: improve the params of the ctx.action
2022-01-23 12:42:35 +08:00
chenos
2b078a28be
docs: add more examples
2022-01-23 00:46:21 +08:00