Commit Graph

1274 Commits

Author SHA1 Message Date
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
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
chenos
50baa9363c fix: field update with migrate 2021-11-13 22:22:59 +08:00
chenos
bad753cd46 feat(docs): update model api doc 2021-11-12 18:38:58 +08:00
SemmyWong
686474cb38
fix: upgrade formily & side menu render with createPortal & use deep compare effect (#103)
* [Fixed]
1. ts升级4.4.4
2. 解决升级formily类型不兼容问题

* [Fixed]
1. 修复菜单混合渲染问题

* [Fixed]
1. 修复useEffect对象深度依赖比较(订单表死循环)

* [update]去掉debugger
2021-11-11 22:07:13 +08:00
twinkle77
f34920df5b
fix: SchemaRenderer get schema value (#102)
Co-authored-by: Shuogui Lin <shuogui.lin@shopee.com>
2021-11-11 11:07:02 +08:00
chenos
be03b7579d fix: formily back to 2.0.0-rc.3 2021-11-10 23:44:39 +08:00
SemmyWong
6c345cb64a
fix: upgrade formily and form.setValues uses overwrite strategy (#101)
1、formily从2.0.0-rc.3升级到2.0.0-rc.19
2、重置form没有生效,setValues参数设为override
2021-11-10 23:23:57 +08:00
chenos
06a67479c8 fix: do not clear the attachment records 2021-11-10 21:01:35 +08:00
chenos
3cdff1adc8 fix: opts null 2021-11-10 20:32:47 +08:00
chenos
f555a64a2d feat(plugin-multi-apps): expiration prompt 2021-11-10 20:32:16 +08:00
chenos
7be6327458 chore: v0.5.0-alpha.32 2021-11-09 17:14:11 +08:00
chenos
749ea00058 fix(client): TypeError: Cannot read properties of null (reading 'setSelectedRows') 2021-11-09 17:10:36 +08:00
chenos
7a35638eda chore: v0.5.0-alpha.31 2021-11-09 16:28:27 +08:00
chenos
327562f320 fix: disable koa-static in production environment 2021-11-09 16:20:17 +08:00
chenos
829f969668 chore: v0.5.0-alpha.30 2021-11-09 13:07:41 +08:00
chenos
ca2bee7d9a fix: If it is already installed, skip the installation process 2021-11-09 13:04:10 +08:00
chenos
aff76b2d85 fix: refresh the page after updating the popup type 2021-11-09 12:59:28 +08:00
chenos
1056a4dbe8 fix: improve translation 2021-11-09 12:57:42 +08:00
chenos
4ea7d74211 chore: v0.5.0-alpha.29 2021-11-08 23:06:31 +08:00
chenos
cce2253532 chore: v0.5.0-alpha.28 2021-11-08 22:54:19 +08:00
chenos
053b0fec89 feat(plugin-client): update demo data 2021-11-08 22:53:25 +08:00
chenos
5e079d38f2 fix(client): compile menu title 2021-11-08 20:59:07 +08:00
chenos
5cacee4e7f chore: v0.5.0-alpha.27 2021-11-08 20:47:20 +08:00
chenos
c93d22ec27 fix(client): i18n.t in schema 2021-11-08 20:46:45 +08:00
chenos
7611beea0f chore: v0.5.0-alpha.26 2021-11-08 20:27:59 +08:00
chenos
92f0a8265e fix: update dependencies 2021-11-08 20:17:46 +08:00
chenos
479f64f197
feat: support i18n (#99)
* feat: i18next

* multi language data

* feat(client): locale support

* en-US for collections

* us-EN for routes

* en-US for routes

* en-US for attachments

* feat: partial translations

* translation

* add AntdConfigProvider

* translation

* translation

* feat: translation

* feat: add translation

* fix: improve translation

* feat: improve translation

* fix: SyntaxError: Unexpected token ) in JSON at position

* typo

* feat: improve translation

* feat: improve translation

* feat: language settings can be saved on the server

* feat: lang option of init cli

* demo translation

* typo

* change address field to textarea

* address data

* feat: chart translation

* feat: chart translation

* improve translation

* signin,signup,signout...

Co-authored-by: Zhou <zhou.working@gmail.com>
2021-11-08 19:32:59 +08:00
chenos
8376c6d1b2 chore: v0.5.0-alpha.25 2021-11-01 17:29:27 +08:00
chenos
5a7f3e1709 fix(create-nocobase-app): process.env.API_URL='/api/' 2021-11-01 17:25:29 +08:00
chenos
b5c587fc94 chore: v0.5.0-alpha.24 2021-11-01 15:20:30 +08:00
chenos
55a1263887 fix: update doc 2021-11-01 15:20:11 +08:00
chenos
afdca3af48 fix: missing process.env.API_URL 2021-11-01 14:57:32 +08:00
chenos
f7f5689f5a fix: update doc 2021-10-31 11:37:16 +08:00
chenos
ee8a1ea187 feat: component documentation 2021-10-31 11:35:11 +08:00
chenos
08ef78ae8b feat: document translation 2021-10-31 09:44:52 +08:00
semmywong
14f492f414
fix: add sort field to the users table
* [Fixed]
1、初始化数据表时,没有配置sort
2、增加sort接口类型

* [Fixed]
1、重新提交PR

* [Fixed]
1、重新提交PR

* [Fixed]
1、重新提交PR

* [Fixed]
1、重新提交PR

* [Fixed]
1、重新提交PR
2021-10-30 10:55:43 +08:00
chenos
41b023987b chore: v0.5.0-alpha.23 2021-10-28 22:59:51 +08:00
chenos
85acc268fd fix(create-nocobase-app): cannot find module 'sqlite3' 2021-10-28 22:58:50 +08:00
chenos
1408de55d2 feat(client): tooltip for designable button 2021-10-25 23:15:25 +08:00
chenos
2253471670 chore: v0.5.0-alpha.22 2021-10-25 14:37:22 +08:00
chenos
73d439eb1f feat(create-nocobase-app): simplify the process 2021-10-25 14:24:24 +08:00
chenos
2a696eeb7a fix: process.env.PWD is not set on win10 2021-10-25 13:40:02 +08:00
ChengLei Shao
90b7c9fc94
option-tag style (#92) 2021-10-25 09:58:02 +08:00
chenos
4b586148b1 feat: supports filling in the collection name and field name 2021-10-21 12:18:21 +08:00
ChengLei Shao
58d89068af
create-nocobase-app: favicon (#91) 2021-10-21 11:25:40 +08:00
chenos
181872cf07 chore: v0.5.0-alpha.21 2021-10-18 13:04:14 +08:00
ChengLei Shao
05ecb25d1b
feat: create nocobase app with simple & quickstart option (#87)
* feat: create nocobase app with simple & quickstart option

* chore: delete template file

* create-nocobase-app: add env API_PORT fallback

* chore: log

* env default fallback

* move config dir

* change has yarn

* chore: prettier

* fix: npm running issue

* database testing support sqlite

* once...

* chore: typo

* fix: sqlite test

* update readme

* feat: copy .env.example to .env at create-nocobase-app

* create-nocobase-app: change sqlite3 to github master

* create-nocobase-app: .env template

* create-nocobase-app: update .env

* chore: typo

* update README

* chore: Application constructor

* feat: sqlite demo data support

* fix test

* fix: application error

* chore: plugin-client run sql

* fix: application createCli

* fix: can choose whether to register actions

* chore: model compile error

* fix: support sqlite

* fix: demo data set index sequence on postgresql

* chore: code reduce

* fix: operators are compatible with sqlite

* add impor demo option to init command

* update env

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-10-18 12:49:37 +08:00
chenos
12b3590845 feat: database next 2021-10-16 10:53:09 +08:00
chenos
e4043bdfc2 fix: lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function 2021-10-14 14:37:41 +08:00
chenos
f199df96aa chore: add prettier config 2021-10-14 00:08:16 +08:00
chenos
d80c875d5e chore: v0.5.0-alpha.20 2021-10-12 22:27:38 +08:00
chenos
d94606ab30 fix(plugin-users): user's password should not be leaked to the client 2021-10-12 22:17:11 +08:00
chenos
5b9a24cba1 fix(client): cannot read properties of undefined (reading 'interface') 2021-10-12 22:01:18 +08:00
chenos
fda20f83c3 chore: v0.5.0-alpha.19 2021-10-10 22:30:16 +08:00
chenos
2ce3b9d21b fix(client): auto jump to the first menu item after login 2021-10-10 22:24:30 +08:00
chenos
516c1be50d chore: v0.5.0-alpha.18 2021-10-10 13:06:09 +08:00
chenos
3e04f81a41 chore: v0.5.0-alpha.17 2021-10-10 12:59:29 +08:00
chenos
d2c534243e fix: pageSize to perPage 2021-10-10 12:54:48 +08:00
chenos
effedd77a7 fix: disable sub table field 2021-10-10 12:51:14 +08:00
chenos
ccfdb02801 fix: empty values after form submission 2021-10-10 12:50:26 +08:00
chenos
8472d9e6b0 fix: cannot start the project 2021-10-10 12:16:28 +08:00
chenos
dafe8f14d0 chore: v0.5.0-alpha.16 2021-10-08 23:16:46 +08:00
chenos
996f752007 feat: improve plugin-multi-apps 2021-10-08 23:14:55 +08:00
chenos
4ab7c71f49 feat: add @nocobase/plugin-notifications 2021-10-08 23:12:39 +08:00
chenos
23bdada69c chore: update gitHead 2021-10-08 00:37:39 +08:00
chenos
e7df1f93c4 chore: v0.5.0-alpha.15 2021-10-08 00:33:40 +08:00
chenos
04cdaae31c docs: update doc 2021-10-08 00:32:40 +08:00
chenos
2fa8280803 chore: v0.5.0-alpha.14 2021-10-07 21:57:01 +08:00
chenos
681d940fa2 fix: typo 2021-10-07 21:54:10 +08:00
chenos
8561502384 chore: v0.5.0-alpha.13 2021-10-07 21:33:32 +08:00
chenos
ce2102bf61 fix: importData: true 2021-10-07 21:32:45 +08:00
chenos
b2f3bd4894 chore: v0.5.0-alpha.12 2021-10-07 19:39:35 +08:00
chenos
7432a485eb feat: add importDemo option for plugin-client 2021-10-07 19:35:53 +08:00
chenos
a2006fdc6a chore: code cleanup 2021-10-07 19:32:55 +08:00
chenos
4506271af5 chore: v0.5.0-alpha.11 2021-10-07 19:03:50 +08:00
chenos
8196c099cd fix: api port 2021-10-07 19:02:52 +08:00
chenos
9787bedb3c chore: 0.5.0-alpha.10 2021-10-07 18:02:32 +08:00
chenos
4a1c381a24 docs: update readme 2021-10-07 18:01:45 +08:00
chenos
968fd2e656 chore: v0.5.0-alpha.9 2021-10-07 17:25:31 +08:00
chenos
23f4ec2681 feat: improve nocobase app template 2021-10-07 17:24:31 +08:00
chenos
f825e48d03 chore: v0.5.0-alpha.8 2021-10-07 16:39:18 +08:00
chenos
dd0d067c10 chore: v0.5.0-alpha.7 2021-10-07 16:32:22 +08:00
chenos
b5e24fa091 feat: initialize demo data 2021-10-07 16:31:19 +08:00
chenos
43f95e0a56 chore: v0.5.0-alpha.6 2021-10-07 15:27:02 +08:00
chenos
7ecb7c3a60 chore: v0.5.0-alpha.5 2021-10-07 15:25:20 +08:00
chenos
597c6484fb feat: add @nocobase/create-nocobase-app package 2021-10-07 15:19:42 +08:00
chenos
143ff2568c feat: initialization data for roles & permissions 2021-10-03 21:05:07 +08:00
chenos
ff7757bf99 fix: remove compress middleware 2021-10-02 23:21:00 +08:00
chenos
29d386a63d feat: improve code 2021-10-01 23:31:49 +08:00
chenos
73145b56ad feat: initialize demo data when creating the application 2021-10-01 00:50:06 +08:00
chenos
07c53a6d2e feat: improve code 2021-09-30 15:16:41 +08:00
chenos
1cb28f0309 fix: client request undefined 2021-09-30 09:45:03 +08:00
chenos
31ddfbee22 feat: add status field to multi-apps 2021-09-30 09:44:23 +08:00
chenos
55f6564ea8 feat: improve code 2021-09-29 07:38:05 +08:00
chenos
86e2a2802d feat: add useClient and useResourceRequest hooks 2021-09-28 18:20:21 +08:00
chenos
20d602e2b1 Merge branch '0.5' into develop
# Conflicts:
#	packages/app/src/apis/index.ts
#	packages/plugin-collections/src/actions/fields.ts
#	packages/plugin-collections/src/server.ts
#	yarn.lock
2021-09-28 11:37:39 +08:00
chenos
1dff47e8e4 feat: add client provider 2021-09-28 09:33:38 +08:00
chenos
897169a613 feat: add saas plugin 2021-09-28 00:18:09 +08:00
chenos
60bbbb5f35 feat: improve code... 2021-09-27 15:28:32 +08:00
chenos
4651d3dddd feat: add repository 2021-09-25 23:56:26 +08:00
chenos
9d67ecaff0 feat: improve code 2021-09-23 21:52:54 +08:00
chenos
27f6bde775 feat: improve code 2021-09-23 00:16:04 +08:00
chenos
a51c5058fb feat: improve database 2021-09-18 00:23:21 +08:00
chenos
17db8b8afb feat: docs & examples 2021-09-16 15:57:21 +08:00
chenos
b7eb720eb4 feat: improve code 2021-09-16 00:38:48 +08:00
chenos
819f1a3472 fix: Field form values is not displayed 2021-09-14 16:44:11 +08:00
chenos
a3c4a8dd9c fix: defaultPageSize=100 2021-09-14 16:29:47 +08:00
chenos
37347cb6b2 feat: add collections table/form 2021-09-14 16:28:11 +08:00
chenos
248d59f6ec feat: improve code 2021-09-14 11:09:26 +08:00
chenos
63ecfaa2ea feat: improve code 2021-09-13 15:04:09 +08:00
chenos
c6b68f2b10 feat: improve code 2021-09-11 18:53:26 +08:00
chenos
f300fd6ae9 refactor: users plugin 2021-09-09 23:58:01 +08:00
chenos
336e0b17b8 feat: improve code 2021-09-09 23:57:01 +08:00
chenos
99d33a0241 refactor: improve action unit test cases 2021-09-09 22:38:39 +08:00
chenos
409eb38d00 feat: add @nocobase/test 2021-09-09 13:09:25 +08:00
chenos
3fa9e59093 refactor: improve server application 2021-09-09 13:05:33 +08:00
chenos
edbe1ecb67 feat: improve rest api middleware 2021-09-09 12:48:01 +08:00
chenos
5847c9eeab fix: compatible jsonb for MySQL 2021-09-09 12:40:46 +08:00
chenos
e82139cfc8 feat: improve styling 2021-09-08 15:40:53 +08:00
chenos
1c30baffcf feat: improve stying 2021-09-08 15:11:35 +08:00
chenos
e8113f3809 feat: update action logs plugin 2021-09-08 14:36:18 +08:00
chenos
c182c29161 feat: improve code 2021-09-08 00:18:41 +08:00
chenos
a8cd70017b feat add event emitter support to database 2021-09-07 00:28:16 +08:00
chenos
d3890b4b66 feat: add @nocobase/preset-nocobase 2021-09-06 16:00:38 +08:00
chenos
a1bb52759b refactor: add command support to the server 2021-09-05 23:59:38 +08:00
chenos
4886a8a3a0 feat: async event emitter 2021-09-05 14:17:45 +08:00
chenos
1229a10df6 feat: improve code 2021-09-04 23:31:26 +08:00
chenos
dde1bd4fc2 feat: improve styling 2021-09-03 15:52:58 +08:00
chenos
ebfabb4605 feat: improve styling 2021-09-03 15:11:28 +08:00
chenos
8048482247 feat: improve styling 2021-09-03 15:10:10 +08:00
chenos
8bd5a83947 feat: generate reverse field for linkTo fields 2021-09-03 14:08:15 +08:00
chenos
a771aade5c bugfix 2021-09-03 00:15:07 +08:00
chenos
a8413f4e7b feat: improve code 2021-09-03 00:06:05 +08:00
chenos
4f762cfe2e feat: improve code 2021-09-02 17:32:10 +08:00
chenos
9560276fa1 fix: menu item highlight 2021-09-02 16:02:26 +08:00
chenos
e6e84bc345 bugfix 2021-08-30 18:50:25 +08:00
chenos
3c8c2d71e3 feat: improve code 2021-08-30 18:27:39 +08:00
chenos
10861d3c1c feat: association data block 2021-08-29 22:26:52 +08:00
chenos
0314faeae9 feat: improve code 2021-08-29 00:25:28 +08:00
chenos
f8c3c6a19b feat: improve text 2021-08-27 18:26:10 +08:00
chenos
6c779a7e6b feat: improve code 2021-08-27 14:52:58 +08:00
chenos
7587e2cdb7 feat: improve code 2021-08-27 14:26:24 +08:00
chenos
35cafad0ff add cancel button to markdown 2021-08-27 11:30:12 +08:00
chenos
52699b0302 feat: add Kanban.useCreateResource 2021-08-27 11:06:21 +08:00
chenos
622a6d5a27 feat: improve code 2021-08-27 10:31:27 +08:00
chenos
5aad2bae76 feat: improve code 2021-08-26 22:17:49 +08:00
chenos
0ef730d7e4 fix: call rollback in catch 2021-08-26 22:03:16 +08:00
chenos
a0fc7a17d1 improve text 2021-08-26 11:11:27 +08:00
chenos
c74e8f03ad improve code 2021-08-26 10:30:52 +08:00
chenos
0c678a013f feat: loading style 2021-08-25 23:24:00 +08:00
chenos
06fa41fffc feat: support set document title 2021-08-25 22:05:53 +08:00
chenos
a48f2a5159 feat: improve code 2021-08-25 17:07:23 +08:00
chenos
4860cb019f feat: add tooltip and confirm to the button 2021-08-25 12:21:11 +08:00
chenos
12ba06f89a improve code 2021-08-25 09:56:01 +08:00
chenos
4507a5aca1 improve text 2021-08-24 23:10:19 +08:00
chenos
53fa47c56f feat: improve code 2021-08-24 17:38:30 +08:00
chenos
7733e4d5fa feat: kanban use rectIntersection collision detection 2021-08-24 15:02:46 +08:00
chenos
73c52b7ea4 fix: action log filtering of a record 2021-08-23 23:30:48 +08:00
chenos
44633db5ff feat: login redirect 2021-08-23 22:21:40 +08:00
chenos
dd769e4d04 fix: Property 'service' is missing in type '{}' but required in type 'AuthContextProps' 2021-08-23 21:55:17 +08:00
chenos
c82fee6162 feat: user register & profile 2021-08-23 21:49:44 +08:00
chenos
589fca05d0 feat: user auth 2021-08-23 20:50:55 +08:00
chenos
7394e0aa8a improve scrollbar styling 2021-08-23 12:43:18 +08:00
chenos
52818bfeb4 improve styling 2021-08-23 12:15:22 +08:00
chenos
6f84f925aa kanban auto scroll 2021-08-23 12:05:37 +08:00
chenos
6188060475 fix: update values without sort field 2021-08-23 11:24:02 +08:00
chenos
e801181aeb feat: improve styling 2021-08-23 10:53:37 +08:00
chenos
99635025a8 feat: improve code 2021-08-23 09:51:19 +08:00
chenos
3d5c81618f refactor kanban 2021-08-23 01:23:04 +08:00
chenos
959059cfc7 fix: compilerOptions target ES6 2021-08-21 22:32:48 +08:00
chenos
3d04d527f3 fix: TypeError: Class constructor MouseSensor cannot be invoked without 'new' 2021-08-21 22:24:14 +08:00
chenos
7eb6297d0f feat: improve code 2021-08-21 22:14:23 +08:00
chenos
80f4635bb6 feat: improve code 2021-08-21 18:33:56 +08:00
chenos
1012cb6401 fix some drag and drop issues 2021-08-21 15:53:22 +08:00
chenos
8f1d6a4a2c feat: improve code 2021-08-20 23:48:13 +08:00
chenos
c3abf10746 bugfix 2021-08-20 22:50:12 +08:00
chenos
2e8fe58246 refactor: drag and drop 2021-08-20 22:30:29 +08:00
chenos
7d604cdf9a upgrade formily 2021-08-20 00:05:29 +08:00
chenos
4b20cd7bbf improve styling 2021-08-19 23:41:20 +08:00
chenos
5299a2ece9 feat: improve kanban 2021-08-19 23:37:02 +08:00
chenos
dfd4b821ff improve calendar 2021-08-19 17:03:25 +08:00
chenos
f3bdaf641e improve calendar and kanban 2021-08-18 23:34:35 +08:00
chenos
3e5e9c194c feat: improve Table.Operation 2021-08-18 11:30:24 +08:00
chenos
90f8f721b7 feat: add Action.Group 2021-08-18 11:29:57 +08:00
chenos
c2357d27a9 improved designable styling 2021-08-17 18:37:25 +08:00
chenos
4bcde0befe improved designable styling 2021-08-17 15:58:28 +08:00
chenos
2ba5e6f76f improved designable styling 2021-08-17 14:40:38 +08:00
chenos
da418720aa feat: improve code 2021-08-17 11:24:59 +08:00
chenos
b0056e1aa1 feat: improve code 2021-08-17 10:30:11 +08:00
chenos
20c839bfa9 feat: improve code 2021-08-17 00:18:42 +08:00
chenos
24d5d3cfad feat: improve code 2021-08-17 00:15:53 +08:00
chenos
3d023fb3e4 feat: add maxLevel and changeOnSelect props for the china region field 2021-08-16 15:07:02 +08:00
chenos
852d3d6f7a feat: add SystemSettingsContext 2021-08-16 14:34:58 +08:00
chenos
b7e450dcf9 fix: path error 2021-08-16 13:06:03 +08:00
chenos
bfa46eb0c0 feat: improve code 2021-08-16 12:36:17 +08:00
chenos
69d47a0331 feat: improve cascader component 2021-08-16 12:35:52 +08:00
chenos
e9ddd4fd7e feat: upgrade formily and fix type check errors 2021-08-15 12:16:11 +08:00
chenos
ce63f0fbe6 feat: improve the options of the upload component 2021-08-15 00:04:14 +08:00
chenos
a635c955c6 improve upload component 2021-08-14 23:48:29 +08:00
chenos
15105c1efb feat: improve the upload component 2021-08-13 23:34:17 +08:00
chenos
cfd12a0fcf feat: siteinfo, more configuration, userinfo... 2021-08-13 23:33:15 +08:00
chenos
9fd41ab33e feat: system settings 2021-08-13 23:14:07 +08:00
chenos
551b9ce45d feat: improve file manager plugin 2021-08-13 23:12:57 +08:00
chenos
a7040efe63 feat: improve export plugin 2021-08-13 09:57:21 +08:00
chenos
4139fc8cf6 feat: add calendar block 2021-08-13 00:02:01 +08:00
chenos
b6f359bbc5 feat: add kanban block 2021-08-12 11:34:46 +08:00
chenos
23db248743 feat: menu permissions 2021-08-11 14:27:45 +08:00
chenos
66549dc4bf feat: improve code 2021-08-11 11:18:10 +08:00
chenos
c1dfc8b2f5 feat: collection action permissions 2021-08-11 00:09:54 +08:00
chenos
b046723371 feat: menu permissions 2021-08-11 00:09:08 +08:00
chenos
9187c15b27 feat: improve code 2021-08-11 00:08:55 +08:00
chenos
ff4d3c5397 feat: roles_ui_schemas 2021-08-11 00:06:56 +08:00
chenos
fe12c67ba6 refactor: permissions plugin 2021-08-11 00:02:37 +08:00
chenos
8f58e3ec27 feat: default appends for table component 2021-08-09 11:47:06 +08:00
chenos
6d7a811d56 feat: filter support custom fields 2021-08-09 10:40:40 +08:00
chenos
cf3a6ff2ff bugfix 2021-08-09 10:10:36 +08:00
chenos
3966c7f0f3 feat: support onRemove event for the menu component 2021-08-08 16:13:02 +08:00
chenos
85c052ba59 feat: improve code 2021-08-08 12:06:33 +08:00
chenos
1ab7d544b3 feat: add ActionLogs block 2021-08-07 23:22:30 +08:00
chenos
c34d82d180 feat: divide the fields into general and system 2021-08-07 23:14:14 +08:00
chenos
2f880c6cd0 feat: improve the operators of all fields 2021-08-06 23:24:55 +08:00
chenos
b9b41139c9 precision, addonBefore and addonAfter for InputNumber 2021-08-05 23:09:17 +08:00
chenos
1ceb8b6006 hide Table.Operation.DesignableBar when not designable 2021-08-05 19:01:02 +08:00
chenos
7e091092ee fix: sortable for Menu.URL 2021-08-05 18:54:32 +08:00
chenos
6da37c6509 hide the add new tab button when not designable 2021-08-05 18:53:44 +08:00
chenos
8f746ae319 feat: action bar for the descriptions block 2021-08-05 18:34:58 +08:00
chenos
41cbb26b2e fix: improve form field config 2021-08-05 00:08:01 +08:00
chenos
8cfa623636 fix: quickly create data tables and fields in the block 2021-08-04 20:15:01 +08:00
chenos
e41926e2b9 fix: date formatting 2021-08-04 20:11:49 +08:00
chenos
02890f550d fix: date field parameter path error 2021-08-04 17:37:46 +08:00
chenos
5b014bc67e lots of updates 2021-08-04 12:38:08 +08:00
chenos
c23d2c5c3c improve code 2021-08-03 12:12:29 +08:00
chenos
754be7d1d1 improve Table Operation 2021-08-03 00:01:42 +08:00
chenos
6ff216be6b improve tabs 2021-08-02 17:50:14 +08:00
chenos
f997b4bebb improve moveTo function 2021-08-02 17:31:41 +08:00
chenos
0ca3fef9d3 moveTo for menu & table & tabs 2021-08-02 16:17:27 +08:00
chenos
cf2d3fcdaf improve drag and drop 2021-08-02 15:05:28 +08:00
chenos
57cc9e6081 refresh schema 2021-07-30 21:48:59 +08:00
chenos
ab81afecfa collectionsLoading 2021-07-30 18:54:18 +08:00
chenos
70652c9bf7 fix: await refresh 2021-07-30 18:41:10 +08:00
chenos
b9b43b9712 fix 2021-07-30 16:15:58 +08:00
chenos
c3d2c3cd28 action bar 2021-07-30 16:10:40 +08:00
chenos
7dd9fbf213 useResource 2021-07-30 09:31:04 +08:00
chenos
27b61bd571 refactor code 2021-07-30 00:03:10 +08:00
chenos
1007324b09 DesignableBar 2021-07-27 22:29:56 +08:00
chenos
428beabd5a field switch 2021-07-27 18:38:54 +08:00
chenos
a9177116aa g2plot chart 2021-07-27 15:07:46 +08:00
chenos
8bfb5cf85c updates 2021-07-27 10:34:52 +08:00
chenos
b257417d70 AddNew 2021-07-24 16:37:13 +08:00
chenos
00bb0f747e update doc 2021-07-24 14:16:09 +08:00
chenos
91ecd98071 bugfix 2021-07-23 21:28:57 +08:00
chenos
6b419fc5cd bugfix 2021-07-23 21:04:57 +08:00
chenos
5264d9a386 bugfix 2021-07-23 19:53:43 +08:00
chenos
3c3fa358de API_URL env 2021-07-23 18:26:05 +08:00
chenos
3223d95d01 updates 2021-07-23 18:08:44 +08:00
chenos
e21a9ab57d Markdown.Void 2021-07-23 13:11:14 +08:00
chenos
19cbcd1e94 updates... 2021-07-23 12:34:15 +08:00
chenos
07fa09e412 updates 2021-07-23 00:19:08 +08:00
chenos
8d298de6fe updates 2021-07-21 21:51:16 +08:00
chenos
e8399e167e updates 2021-07-20 23:19:54 +08:00
chenos
97ca17bc10 updates 2021-07-19 23:57:54 +08:00
chenos
2606f28059 lots of updates 2021-07-19 18:33:03 +08:00
chenos
63538cf240 updates... 2021-07-18 17:16:57 +08:00
chenos
057dc8406a lots of updates 2021-07-17 22:35:50 +08:00
chenos
78740f9905 updates 2021-07-16 23:57:11 +08:00
chenos
c9aa381045 refactor: action/menu/schema-renderer... 2021-07-15 18:47:21 +08:00
chenos
61796cbc27 updates... 2021-07-14 14:30:38 +08:00
chenos
03da153052 update docs 2021-07-14 08:43:18 +08:00
chenos
e50267d64c node tree of all components 2021-07-13 00:31:38 +08:00
chenos
6f54ee3d4e updates 2021-07-12 22:13:48 +08:00
chenos
af02a895c3 lots of updates 2021-07-11 22:20:54 +08:00
chenos
d39a7d822d DrawerSelect, Filter ... 2021-07-11 10:46:34 +08:00
chenos
9cc5363f49 improve select 2021-07-10 16:21:05 +08:00
chenos
15fca2b009 updates 2021-07-09 23:58:05 +08:00
chenos
708afa059c updates 2021-07-09 21:19:53 +08:00
chenos
e53a1edf7d lots of updates 2021-07-08 14:21:18 +08:00
chenos
ed4397e112 updates... 2021-07-07 22:50:40 +08:00
chenos
14160761d3 improve action & database field & table 2021-07-06 23:33:02 +08:00
chenos
b7a2d5d3e5 updates 2021-07-06 00:15:19 +08:00
chenos
eb31861b54 improve code 2021-07-04 22:04:15 +08:00
chenos
5e181c3ade lots of updates 2021-07-04 00:19:26 +08:00
chenos
699726d5bb improve code 2021-07-03 17:26:08 +08:00
chenos
8b34b84a5e updates 2021-07-03 00:24:21 +08:00
chenos
46e4089140 designable bar 2021-07-01 00:16:43 +08:00
chenos
75cd158a27 refactor 2021-06-27 15:41:40 +08:00
chenos
0b191e8b5d update docs 2021-06-06 23:24:49 +08:00
chenos
5f752d28d7 improve a lot of details 2021-06-06 18:21:04 +08:00
chenos
a7fd94affd refactor: useDrag & useDrop & useColResize 2021-06-04 11:20:11 +08:00
chenos
3c3ae5c348 clean up the redundant examples 2021-06-02 11:24:38 +08:00
chenos
5e0277d451 updates 2021-06-02 11:09:01 +08:00
chenos
cfc04814c6 bugfix 2021-05-26 09:16:32 +08:00
chenos
8fc5be634e drawer closeWithConfirm props 2021-05-26 09:10:20 +08:00
chenos
60862736ea designer field 2021-05-26 09:09:53 +08:00
chenos
b7ff2e0673 update docs 2021-05-23 09:32:43 +08:00
chenos
68f3d86761 drawer closeWithConfirm props 2021-05-23 09:20:22 +08:00
chenos
2cbcd087ce v0.5 2021-05-23 08:38:08 +08:00
Junyi
cb8edc7b75
feat: export plugin (#73)
* feat: add data export action in table view

* feat: add data render based on interface type for exporting

* fix: use rewrite action name for permissions

* feat: add support for subTable type field

* add datetime render

* export filter support selectedRowKeys

* docs

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-05-17 11:11:49 +08:00
chenos
6081ee29af fix: show all fields 2021-05-10 16:03:10 +08:00
chenos
1b3e7993fb fix: statusable 2021-05-10 15:58:14 +08:00
chenos
797da5bdb0 fix: show clear button 2021-05-10 15:47:03 +08:00
chenos
6b7e26fb90 fix: sync view details 2021-05-08 11:39:39 +08:00
chenos
91d633deed fix: get the siteTitle value from the server 2021-05-07 10:51:07 +08:00
chenos
7f6dc49227
fix: logo url get from the server 2021-05-07 10:46:49 +08:00
chenos
cd5aee4c2a fix: menu item not active 2021-04-25 13:13:37 +08:00
chenos
1bf32c7f7e fix: image can not be previewed 2021-04-25 11:55:32 +08:00
chenos
6c75950b6a feat: jump to page after successful form submission 2021-04-25 11:54:23 +08:00
chenos
3268267ccd fix: when batch uploading, filter out unaccept files 2021-04-22 19:01:28 +08:00
chenos
a19311cb24 feat: upload component supports accept property 2021-04-22 18:44:55 +08:00
chenos
80eb229696 fix: file icon 2021-04-22 14:51:23 +08:00
chenos
bbcd310169 fix: windows system the path can not use colon 2021-04-18 15:17:19 +08:00
chenos
8df85e0b20 chore(versions): publish packages v0.4.0-alpha.7 2021-04-18 09:44:18 +08:00
chenos
9f91fc7fd0 v0.4.0-alpha.6 2021-04-18 09:35:49 +08:00
chenos
95640ec57c chore: update docker-compose.yml 2021-04-17 22:21:06 +08:00
chenos
d5d0e1036b
docs: add docs (#75)
* docs: add docs

* ignore dumi theme test

* fix: error TS2717: Subsequent property declarations must have the same type.

* update docs

* deploy gh-pages

* plugins docs

* hash & cname

* exportStatic

* ssr

* vercel

* vercel

* fix: deploy vercel

* Delete vercel.json

* docs

* fix APP_DIST

* on master branch
2021-04-17 21:33:21 +08:00
Junyi
f6dcfae28c
refactor: use boolean value instead of null (#74) 2021-04-12 18:10:59 +08:00
chenos
214b227a6c fix: error message for login and registration 2021-04-12 18:06:10 +08:00
chenos
3612689035 fix: drawer bottom spacing is too small in Firefox 2021-04-09 11:31:34 +08:00
chenos
5319000bd6 fix: improve login form styles 2021-04-08 12:10:38 +08:00
chenos
ef93a3c11c chore(versions): publish packages 0.4.0-alpha.5 2021-04-07 19:36:55 +08:00
chenos
b65184ca37 fix: skip postinstall when umi does not exist 2021-04-07 19:36:09 +08:00
chenos
a22efec65d chore(versions): publish packages 0.4.0-alpha.4 2021-04-07 17:48:47 +08:00
chenos
ca71f8625c fix: missing #!/usr/bin/env node 2021-04-07 17:48:07 +08:00
chenos
e72eebb8cd chore(versions): publish packages 0.4.0-alpha.3 2021-04-07 17:39:08 +08:00
chenos
f58fad922f feat: add simple cli for nocobase api 2021-04-07 17:37:14 +08:00
chenos
c2f18763c9 chore(versions): publish packages 0.4.0-alpha.2 2021-04-07 17:12:31 +08:00
chenos
17362a8444 refactor: app middlewares 2021-04-07 17:10:52 +08:00
chenos
6906ccadb0 add gitHead 2021-04-07 10:41:06 +08:00
chenos
f0b335ac30 chore(versions): publish packages 0.4.0-alpha.1 2021-04-07 10:29:02 +08:00
chenos
30a0808c04 add "private": true to some packages 2021-04-07 10:23:28 +08:00
chenos
49f71420ed chore: update npm packages 2021-04-07 09:50:00 +08:00
chenos
c808c5b602 feat: serve dist files for development 2021-04-06 20:05:56 +08:00
chenos
fd8c6f8e50 chore: cleanup 2021-04-06 19:56:41 +08:00
chenos
b6cd540f72 chore: remove console.log 2021-04-06 19:52:01 +08:00
chenos
efb0320427 refactor(app): clean up the client code 2021-04-06 12:52:59 +08:00
Junyi
9495917e97
fix: minor problems (#72) 2021-04-04 23:33:06 +08:00
chenos
b1c1a5cee8 refactor: data wrapping middleware 2021-04-01 23:51:00 +08:00
chenos
d7dbad1ba8 fix: sub-table loading 2021-04-01 21:17:26 +08:00
chenos
b8b5940205 feat: print button for descriptions 2021-04-01 21:15:51 +08:00
chenos
acb769b0c1 fix: calendar height 2021-04-01 09:59:05 +08:00
chenos
c74818049b refactor: plugin initialization 2021-04-01 09:58:30 +08:00
chenos
29dca49b02 fix: no logging of hidden fields 2021-04-01 09:52:43 +08:00
chenos
0902bb5529 fix: missing upload headers 2021-04-01 08:43:28 +08:00
chenos
17b258e3cc fix: password was hashed twice 2021-03-31 10:56:39 +08:00
chenos
b761bf876e fix: show email when nickname is empty 2021-03-31 09:30:09 +08:00
chenos
9d67637727 feat: add a clear button to the filter box 2021-03-31 09:28:35 +08:00
chenos
b3a35146cb fix: placeholder for cascader 2021-03-31 09:10:15 +08:00
chenos
c812d97527 fix: sub-table field permissions 2021-03-31 00:01:30 +08:00
chenos
50f1d1853b fix: specify the env file path 2021-03-30 17:01:13 +08:00
chenos
996e87daa7 fix: filter operators bug 2021-03-30 06:33:39 +08:00
chenos
18825af43d fix: async mode recommended over sync mode 2021-03-30 06:12:08 +08:00
chenos
6bfd8ebf57 fix: hide user password 2021-03-29 15:53:39 +08:00
chenos
70c2cd9085 fix: adding upload action to the blacklist 2021-03-29 14:01:54 +08:00
chenos
797a5ef9e8 fix: view type linkages 2021-03-29 13:06:14 +08:00
chenos
09f2d5d2f2 fix: automation jobs 2021-03-29 12:35:58 +08:00
chenos
8be11714b9 fix: action blacklist for demo 2021-03-29 12:00:52 +08:00
chenos
aedce5589d refactor: two column layout 2021-03-29 11:57:07 +08:00
chenos
716b5e20b4 fix: table isFieldComponent 2021-03-29 11:05:48 +08:00
chenos
250dd26df9 fix: action buttons 2021-03-29 10:32:49 +08:00
chenos
20be2d7115 fix: change logs order by desc 2021-03-29 10:19:42 +08:00
chenos
2cd6a4cfad style: calendar & kanban views 2021-03-29 10:18:39 +08:00
chenos
611ce0d759 fix: sorter for datetime and number 2021-03-28 21:08:54 +08:00
chenos
0900296ea3 fix: view form linkages 2021-03-28 21:01:22 +08:00
chenos
25c1aa8825 fix: __index 2021-03-28 18:26:04 +08:00
chenos
2b549ea259 fix: subtable associatedKey 2021-03-28 17:47:26 +08:00
chenos
7becc9f8b1 fix: markdown view 2021-03-28 16:55:03 +08:00