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
Chareice
1d11a3e793
fix: collection manager with sqlite
2022-01-22 21:20:46 +08:00
SemmyWong
be1192531c
add upload component into schema components ( #165 )
...
* feat: add Upload component into schema components
* docx file
* upload with customRequest
* action
* optimize: remove downloadFile instead of saveAs
* fix: direct download of non-image files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-22 21:05:06 +08:00
chenos
5e7e3c2c46
fix(plugin-collection-manager): cannot destructure property 'skipExist' of 'loadOptions' as it is undefined.
2022-01-22 16:42:25 +08:00
chenos
31340f4773
fix: missing request params
2022-01-22 16:36:37 +08:00
chenos
11bbec7fd4
add tsconfig-paths/register
2022-01-22 16:34:31 +08:00
chenos
4715ba8d22
feat: improve code
2022-01-21 14:04:15 +08:00
chenos
84f3ed1564
feat: improve demo
2022-01-21 09:38:34 +08:00
SemmyWong
48722c7c99
feat: cacader component
...
* feat: add Cacader component into schema component
* docs: change document language
* Nocobase next color select (#157 )
* feat: add useCompile hook
* feat: add ColorSelect component into schema component
* optimize: rename checkbox component file (#155 )
* optimize: rename checkbox component file
* optimize: rename checkbox component file
* feat: optimize antd-config-orovider
* feat: move admin-layout and auth-layout to route-switch
* feat: add application demo
* feat: add radio into schema component (#154 )
* feat: add radio to schema component
* docs: add Radio demos into schema component
* rafactor: change import path
* docs: change demo language
* fix: add title and description to demos
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add input into schema component (#158 )
* feat: add Input Component to schema compoennt
* code cleanup
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add RemoteSchemaComponent
* feat: add admin layout
* feat: add menu into schema component
* fix: remove antd/dist/antd.css
* feat: improve application demo
* feat: add DatePicker into schema components (#161 )
* feat: add DatePicker into schema components
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
* feature/nocobase next password (#159 )
* feat: add Password Component into schema components
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add InputNumber Component into schema component (#160 )
* feat: add InputNumber Component into schema component
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat(client-menu): improve code
* feat: acl (#153 )
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
* Acl (#162 )
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
* Feat/plugin collection manager (#147 )
* refactor: collection manager plugin
* feat(database): magic attribute model
* MagicAttributeModel
* load collections & fields options
* collections filterTargetKey
* Feat/plugin UI schema v0.6 (#143 )
* v0.6
* plugin-ui-schema: insert && getJsonSchema
* plugin-ui-schema: insert schema with sort
* plugin-ui-schema: node with x-index
* insert adjacent method
* chore: insert
* typo
* insert with x-uid
* fix: getSchema by subtree
* add ui-schema actions
* fix: mysql compatibility
* remove ui-schema when remove node tree
* ui schema patch
* ui_schemas.create
* test cases
* test cases
* fix(database): reset changed before update
* feat: insert ui schema node after created
* feat: patch ui schema node after updated
* fix: sqlite error
* uid
* cleanup
* test cases
* feat: ui_schema items type support
* fix: insert items node
* fix: get inner type
* change items struct
* add insert return value
* add insert return value
Co-authored-by: chenos <chenlinxh@gmail.com>
* update yarn.lock
* rename
* feat(client): plugin manager toolbar
* feat: add demo for plugin manager toolbar
* feat: improve the toolbar of the plugin manager
* feat: improve document title and page title support
* feat: add IconPicker component into schema components
* feat: improve icon component
* migrate TimePicker component into schema components (#164 )
* feat: add TimePicker component into schema components
* improve
* TimePicker.RangePicker
Co-authored-by: chenos <chenlinxh@gmail.com>
* Load Options Lazily
* feat: extract read pretty
* fix: useEffect only on update
* feat: add Cacader component into schema component
* docs: change document language
* feat: extract read pretty
* Load Options Lazily
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2022-01-21 09:32:13 +08:00
chenos
f882ab42c5
fix: useEffect only on update
2022-01-20 23:48:35 +08:00
SemmyWong
b0b79b7d9d
migrate TimePicker component into schema components ( #164 )
...
* feat: add TimePicker component into schema components
* improve
* TimePicker.RangePicker
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-20 20:33:46 +08:00
chenos
091fb7f5ee
feat: improve icon component
2022-01-20 18:19:59 +08:00
semmy
d04d3d0639
feat: add IconPicker component into schema components
2022-01-20 15:16:12 +08:00
chenos
d94874d345
feat: improve document title and page title support
2022-01-20 12:06:09 +08:00
chenos
a1ccc82fa1
feat: improve the toolbar of the plugin manager
2022-01-20 10:45:00 +08:00
chenos
b49440da00
feat: add demo for plugin manager toolbar
2022-01-19 22:21:20 +08:00
chenos
d1f9d3e25d
feat(client): plugin manager toolbar
2022-01-19 15:14:00 +08:00
chenos
e7918b7887
rename
2022-01-19 10:18:53 +08:00
ChengLei Shao
f67658129f
Feat/plugin UI schema v0.6 ( #143 )
...
* v0.6
* plugin-ui-schema: insert && getJsonSchema
* plugin-ui-schema: insert schema with sort
* plugin-ui-schema: node with x-index
* insert adjacent method
* chore: insert
* typo
* insert with x-uid
* fix: getSchema by subtree
* add ui-schema actions
* fix: mysql compatibility
* remove ui-schema when remove node tree
* ui schema patch
* ui_schemas.create
* test cases
* test cases
* fix(database): reset changed before update
* feat: insert ui schema node after created
* feat: patch ui schema node after updated
* fix: sqlite error
* uid
* cleanup
* test cases
* feat: ui_schema items type support
* fix: insert items node
* fix: get inner type
* change items struct
* add insert return value
* add insert return value
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-19 10:09:30 +08:00
chenos
380b5e8c7a
Feat/plugin collection manager ( #147 )
...
* refactor: collection manager plugin
* feat(database): magic attribute model
* MagicAttributeModel
* load collections & fields options
* collections filterTargetKey
2022-01-19 10:02:52 +08:00
ChengLei Shao
43f33044ea
Acl ( #162 )
...
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 20:29:41 +08:00
ChengLei Shao
fd32705954
feat: acl ( #153 )
...
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 16:38:03 +08:00
chenos
c9742c1710
feat(client-menu): improve code
2022-01-18 15:19:54 +08:00
SemmyWong
e48e70e82a
feat: add InputNumber Component into schema component ( #160 )
...
* feat: add InputNumber Component into schema component
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 10:08:56 +08:00
SemmyWong
206b37edc1
feature/nocobase next password ( #159 )
...
* feat: add Password Component into schema components
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 09:52:29 +08:00
SemmyWong
637b3165ca
feat: add DatePicker into schema components ( #161 )
...
* feat: add DatePicker into schema components
* improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 09:21:55 +08:00
chenos
f8c0a7ac69
feat: improve application demo
2022-01-17 23:05:27 +08:00
chenos
06a75d31a5
fix: remove antd/dist/antd.css
2022-01-17 23:04:55 +08:00
chenos
cb3e171b31
feat: add menu into schema component
2022-01-17 23:04:33 +08:00
chenos
d0f677a6e9
feat: add admin layout
2022-01-17 23:03:51 +08:00
chenos
dde48fc775
feat: add RemoteSchemaComponent
2022-01-17 23:02:35 +08:00
SemmyWong
150deb28c1
feat: add input into schema component ( #158 )
...
* feat: add Input Component to schema compoennt
* code cleanup
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-17 16:14:09 +08:00
SemmyWong
e40565e90a
feat: add radio into schema component ( #154 )
...
* feat: add radio to schema component
* docs: add Radio demos into schema component
* rafactor: change import path
* docs: change demo language
* fix: add title and description to demos
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-17 15:39:52 +08:00
chenos
50e13fe93a
feat: add application demo
2022-01-17 15:28:28 +08:00
chenos
29cf274a52
feat: move admin-layout and auth-layout to route-switch
2022-01-17 12:25:10 +08:00
chenos
224a08c057
feat: optimize antd-config-orovider
2022-01-17 12:23:32 +08:00
SemmyWong
a5393e52c7
optimize: rename checkbox component file ( #155 )
...
* optimize: rename checkbox component file
* optimize: rename checkbox component file
2022-01-15 18:45:04 +08:00
SemmyWong
6ef6dd7717
Nocobase next color select ( #157 )
...
* feat: add useCompile hook
* feat: add ColorSelect component into schema component
2022-01-15 18:43:50 +08:00
chenos
58683a7657
feat: change the schema component directory
2022-01-13 14:53:13 +08:00
chenos
f8181cbf74
feat: add async-data-provider component ( #151 )
2022-01-13 14:25:42 +08:00
chenos
eff76fb0a2
feat: add checkbox component
2022-01-11 18:13:15 +08:00
chenos
a87a089acf
feat: client v0.6 ( #150 )
...
* v0.6
* update...
* feat: improve code
* improve code
* action & form
* update...
* improve code
* improve code
* improve code
* designable
* update
* update...
* api client
* RecordProvider
* collection manager
* update...
* update api client
* update use request
* update
* update doc
* test cases for compose
* docs: improve documentation
2022-01-10 19:22:21 +08:00
chenos
72a968b29d
fix: Module '"@nocobase/database"' has no exported member 'uid'.
2022-01-08 18:04:55 +08:00
chenos
4bb4886ddb
feat: add uid
2022-01-08 18:02:42 +08:00
ChengLei Shao
246737906d
Feat/GitHub actions ( #148 )
...
* test github actions
* mod: github actions
* mod: github actions
* fix: yarn build
* fix: database pk key error
* fix: test
* skip failed tests
* github test with sqlite && mysql
* fix: mysql query error
2022-01-08 17:16:11 +08:00
chenos
10d520c22a
feat: customizable magicAttribute
2022-01-07 22:06:31 +08:00
chenos
103a170917
add test case for magic-attribute-model
2022-01-07 21:47:10 +08:00
chenos
ef6e2dd378
feat(database): magic attribute model
2022-01-07 20:26:23 +08:00
ChengLei Shao
2bf09bf9bb
feat: filter by target key ( #146 )
...
* feat: filter by target key
* fix: repository test
* change type name
* chore: test
* change PrimaryKey type to TargetKey
* rename filterTargetKey
* rename variables
* change option parser constructor
* add option parser targetKey
* change filter parser constructor
* fix: custom model
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-07 20:08:01 +08:00
ChengLei Shao
79ba391aee
refactor: actions ( #137 )
...
* db test
* associated list action
* associated list action
* fix belongs to many repository test
* create action
* update action
* add update & destroy has one
* get action
* add action
* set action
* remove action
* toggle action
* chore: code import
* add sort field mutex
* change field mutex position
* feat: handle sort field scope change
* feat: sort actions
* fix: add action
* rename sort action to move action
* more actions params
* feat: repository destroy with filter and filterByPK
* feat: hasmany repository destroy with filter and filterByPK
* feat: belongsToMany repository destroy with filter and filterByPK
* fix: actions tests lock error
* feat: code cleanup
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-16 16:46:54 +08:00
Chareice
8f0a71a1cf
feat: collection autoGenId option
2021-12-16 10:58:51 +08:00
Chareice
9ff6575cff
feat: filter with filterByPK
2021-12-12 19:57:20 +08:00
Chareice
90846686ac
fix: update association value
2021-12-08 13:00:09 +08:00
chenos
f09991d932
feat: upgrade plugin-users
2021-12-08 09:10:44 +08:00
chenos
bf2840b089
feat: context field type support ( #131 )
...
* feat: context field type support
* fix: missing options
2021-12-07 21:19:28 +08:00
chenos
54f351af9d
fix: plugin packages dependencies
2021-12-07 19:40:30 +08:00
chenos
17b5839f51
feat: upgrade plugin-notifications
2021-12-07 19:24:26 +08:00
Chareice
30e31a2e79
update options
2021-12-07 15:43:14 +08:00
Chareice
f6f8f041f1
Merge remote-tracking branch 'origin/nocobase-next' into nocobase-next
2021-12-07 15:29:50 +08:00
Chareice
feea1bef48
fix array field update
2021-12-07 15:29:32 +08:00
chenos
c56cd8674d
feat: upgrade plugin-action-logs
2021-12-07 15:21:16 +08:00
chenos
732d31009e
v0.6
2021-12-06 21:23:34 +08:00
chenos
c2ff7882bc
feat: database next ( #130 )
...
* FIX: database test with sqlite
* more types
* filter test
* split filter parser
* filter test
* filter test: hasMany
* define inverse association for belongsTo & hasMany
* chore: console.log
* repository count method
* chore: Collection
* repository filter & appends & fields & expect
* repository: sort option
* chore: test
* add: test
* find & findAndCount
* chore: test
* database-next: update guard
* database-next: update guard associationKeysToBeUpdate
* chore: comment
* update-guard OneToOne Association
* has one repository
* support through table value
* belongs to many repository
* has many repository
* has many repository find
* fix: has many find and count
* clean code
* add count method
* chore: multiple relation
* chore: single relation
* repository find
* relation repository builder
* repository count
* repository count test
* fix test
* close db afterEach test
* sort with associations
* repository update
* has many repository: destroy
* belongs to many repository: destroy
* add transaction decorator
* belongs to many with transaction
* has many with transaction
* clean types
* clean types
* clean types
* repository transaction
* fix test
* single relation repository with transaction
* single relation repository with transaction
* fix: test
* fix: option parser fields append
* fix: typo
* fix: string type
* fix: import
* collection field methods
* cleanup
* collection sync
* fix: import
* fix: test
* collection update field
* collection update options
* database hook
* database test
* database event test
* update database event
* add async emmit mixin
* async model event
* database import
* fix: model hook type
* fix: collection event
* recall model.init on collection update
* skip redefine collection test
* skip collection model update
* add model hook class
* global model event support
* chore
* chore
* change utils import
* add field types
* database import
* more import test
* test case
* fix: through model init...
* bugfix
* fix
* update database import
* collection sync by foreachModel
* fix collection model sync
* update
* add field types
* custom operator
* sqlite array field
* postgresql array field
* array query escape
* mysql array operators
* date operators
* array field sqlite fix
* association operator
* date operator empty & notEmpty
* fix: fields import
* fix array field nested association
* filter parse prepare
* fix test
* string field empty
* add date operator test
* field option types
* fix typo
* fix: operator name conflict
* rename function
Co-authored-by: Chareice <chareice@live.com>
2021-12-06 21:12:54 +08:00
chenos
c1b560e928
feat: rename resourceKey & associatedKey to resourceIndex & associatedIndex ( #126 )
...
* resourceIndex & associatedIndex
* resourceIndex & associatedIndex
2021-12-04 16:28:52 +08:00
SemmyWong
62796f136c
refactor: table cell text overflow that show ellipsis ( #125 )
...
* fix: table column text overflow auto hidden
* refactor: table column text overflow auto hidden
* refactor: table column text overflow auto hidden
* fix: popover text overflow handle
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-04 15:36:59 +08:00
Junyi
5dfa57581a
Add S3 storage and refactors ( #124 )
...
* add s3 storage and refactors
* fix env and dependencies
2021-12-04 07:58:31 +08:00
chenos
c177ebb8e3
fix: ci failed
2021-12-03 12:30:55 +08:00
semmy
399135c1a9
fix: import wrong React
2021-12-03 10:18:22 +08:00
semmy
f089cacf1d
fix: 修复Table.Column.DesignableBar遗漏
2021-12-03 10:05:14 +08:00
Junyi
60b966f59e
Fix: plugin-file-manager ( #111 )
...
* fix: test cases
* fix env used by file manager
* default value of process.env.LOCAL_STORAGE_BASE_URL
* use workspace dependencies
* refactor some env to adapt more scenario
* fix reviewing issues
* fix env default value
* update umi config
* bugfix
* fix shared cache
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-03 07:31:22 +08:00
SemmyWong
12f58effad
refactor: code splitting of the table component ( #121 )
...
* refactor: 表格拆分模块化
* refactor: 表格拆分模块化
* refactor: code splitting of the table component (#120 )
* missing TableIndex
* refactor: 表格拆分模块化
* code format
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-02 22:56:16 +08:00
chenos
1072e03c5a
Revert "refactor: code splitting of the table component ( #120 )"
...
This reverts commit 0f9eb4e7f2
.
2021-12-02 17:56:05 +08:00
SemmyWong
0f9eb4e7f2
refactor: code splitting of the table component ( #120 )
2021-12-02 15:26:28 +08:00
chenos
82ad5de8cb
fix: development environment client does not need to be compiled
2021-12-02 14:11:19 +08:00
chenos
d817ec4c7b
fix: missing parameters
2021-11-30 16:43:44 +08:00
semmy
61dcd45a83
fix: add allowSignUp default value as true
2021-11-30 08:51:27 +08:00
semmy
e058c509ea
Merge branch 'develop' of https://github.com/nocobase/nocobase into develop
2021-11-29 20:59:45 +08:00
semmy
e435fe0ff3
feat: allow user to sign up
2021-11-29 20:59:31 +08:00
chenos
e43da7d0ca
fix(client): cannot find namespace 'Formily'
2021-11-29 11:36:36 +08:00
chenos
9fe9790a19
fix(client): markdown parse
2021-11-29 11:20:11 +08:00
SemmyWong
8cf1efb21f
feat: add reset button in the filter panel ( #110 )
2021-11-25 22:42:05 +08:00
SemmyWong
64283fcb0e
feat: allow user to change password ( #109 )
...
* feat: allow user to change password
* docs: update api doc
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-11-25 22:36:52 +08:00
chenos
11cded6153
chore: v0.5.0-alpha.34
2021-11-23 08:23:34 +08:00
chenos
3e53584768
fix: remove state property
2021-11-23 08:21:38 +08:00
chenos
18089eb56c
fix(client): invalid hook call
2021-11-20 13:55:50 +08:00
chenos
372a0c372c
feat(docs): update doc
2021-11-19 15:40:29 +08:00
chenos
e6fa6f9a8e
feat(plugin-users): multiple roles
2021-11-18 19:26:39 +08:00
chenos
a702f534ba
feat: add roles field to users collection
2021-11-17 18:54:02 +08:00
chenos
d8c7a0f1c3
feat: add roles field to users collection
2021-11-16 18:28:07 +08:00
chenos
3479b7ea27
chore: v0.5.0-alpha.33
2021-11-13 22:24:51 +08:00