Commit Graph

400 Commits

Author SHA1 Message Date
ChengLei Shao
24ea83f0ff
Feat/create nocobase app (#273)
* create-nocobase-app template from [develop]

* change create-nocobase-app package.json config

* feat: load configuration from directory

* feat: configuration repository toObject

* feat: create application from configuration dir

* feat: application factory with plugins options

* export type

* feat: read application config &  application with plugins options

* feat: release command

* fix: database release

* chore: workflow package.json

* feat: nocobase cli package

* feat: console command

* chore: load application in command

* fix: load packages from process.cwd

* feat: cli load env file

* feat: create-nocobase-app

* fix: gitignore create-nocobase-app lib

* fix: sqlite path

* feat: create plugin

* chore: plugin files template

* chore: move cli into application

* chore: create-nocobase-app

* fix: create plugin

* chore: app-client && app-server

* chore: package.json

* feat: create-nocobase-app download template from npm

* chore: create-nocobase-app template

* fix: config of plugin-users

* fix: yarn.lock

* fix: database build error

* fix: yarn.lock

* fix: resourcer config

* chore: cross-env

* chore: app-client dependents

* fix: env

* chore: v0.6.0-alpha.1

* chore: verdaccio

* chore(versions): 😊 publish v0.6.0

* chore(versions): 😊 publish v0.6.1-alpha.0

* chore(versions): 😊 publish v0.6.2-alpha.0

* chore(versions): 😊 publish v0.6.2-alpha.1

* chore: 0.6.2-alpha.2

* feat: workspaces

* chore(versions): 😊 publish v0.6.2-alpha.3

* chore(versions): 😊 publish v0.6.2-alpha.4

* chore: create-nocobase-app

* chore: create-nocobase-app lib

* fix: update tsconfig.jest.json

* chore: .env

* chore(versions): 😊 publish v0.6.2-alpha.5

* chore(versions): 😊 publish v0.6.2-alpha.6

* feat: improve code

* chore(versions): 😊 publish v0.6.2-alpha.7

* fix: cleanup

* chore(versions): 😊 publish v0.6.2-alpha.8

* chore: tsconfig for app server package

* fix: move files

* fix: move files

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00
chenos
8b5ddf4501 feat: re-check role config after menu item insert adjacent 2022-04-11 09:22:41 +08:00
chenos
f791d43716
feat: acl provider (#279)
* feat: acl provider

* feat: menu server hook

* feat: improve code

* fix: fields filter
2022-04-10 19:22:39 +08:00
SemmyWong
3f3e9b5373
feat: add Slate component (#272)
* feat: add Slate component

* feat: add slate Read Pretty

* fix: remove unused code

* fix: demo

* feat: rich text field interface

* fix: editor normalize

* fix: modify slate style

* fix: remove debug info

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-10 09:10:25 +08:00
chenos
8e10d7ae73 chore(client): add @nocobase/utils to rules 2022-04-07 08:39:22 +08:00
chenos
74779a0d46
feat: block provider (#261)
* feat: block schema

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: styling for kanban

* feat: improve code

* feat: improve code

* fix(client): auto collapse menu items when overflow

* feat: improve code

* fix: fieldNames prop for calendar

* fix: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: list the sub-table data source

* fix: useFilterByTk

* feat: improve code

* feat: improve code

* feat: improve code
2022-04-04 00:30:40 +08:00
chenos
246e06eb7a feat: workflow route provider 2022-03-27 16:15:58 +08:00
Junyi
b59a239a82
Feat: client base entry of plugin workflow (#225)
* feat(plugin-workflow): add base client entry for workflow

* fix(plugin-workflow): workflow table

* feat: custom ui route (#227)

* feat(plugin-workflow): add execution table

* refactor(actions): expose utils of actions

* fix(repo): move ".editorconfig" to root

* feat(plugin-workflow): base workflow management able to add node

* fix(plugin-workflow): fix empty workflow

* feat(plugin-workfow): add flow canvas and style

* fix(plugin-workflow): fix type for building

* feat(plugin-workflow): fix add node in branch and add branch ui

* feat(plugin-workflow): add calculation structure to condition config

* fix(plugin-workflow): fix branch line style

* feat(plugin-workflow): remove node with sub-branch

* feat(plugin-workflow): add parallel node type

* fix(plugin-workflow): fix dependency in client

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-03-27 15:51:48 +08:00
chenos
f7ce3f64cf fix: language settings 2022-03-21 21:37:35 +08:00
chenos
7285dd04ee feat: save as template 2022-03-21 15:23:59 +08:00
chenos
6a7aa22718 feat: improve code 2022-03-19 19:28:53 +08:00
chenos
2fb019c392
feat: block templates (#240)
* feat: block templates

* feat: improve code

* feat: improve code

* feat: schema  settings for block templates

* feat: improve code

* feat: transition

* feat: transition
2022-03-17 09:41:48 +08:00
chenos
4faf19d8eb fix: improve code 2022-03-09 20:58:11 +08:00
chenos
9175ddc90e fix(client): request collections after login 2022-03-09 11:21:11 +08:00
chenos
5164f85484 chore: env 2022-03-06 17:29:20 +08:00
chenos
a96f76b87a feat(client): error handler 2022-03-02 13:22:59 +08:00
chenos
f5b2600640 feat: improve code 2022-02-24 16:52:35 +08:00
chenos
37be46aacb feat(client): improve the collection manager module 2022-02-23 18:22:37 +08:00
chenos
57c9524f34 feat(client): add the setBearerToken method to the APIClient 2022-02-23 18:20:45 +08:00
chenos
f45b08af38 refactor(client): schema initializer 2022-02-22 11:17:24 +08:00
chenos
b656f69565 feat: improve schema Initializer 2022-02-17 23:56:39 +08:00
chenos
fc1a65a2fb feat(client): improve the collection manager module 2022-02-16 22:48:24 +08:00
chenos
054a73d576 fix(app): postinstall with umi.cli.js 2022-02-16 14:57:33 +08:00
chenos
0440591868 feat: rename ui_schemas to uiSchemas 2022-02-16 00:22:47 +08:00
chenos
01e5e1cbac feat: improve code 2022-02-13 11:23:40 +08:00
chenos
ad648431e9 feat: add @nocobase/plugin-ui-routes-storage 2022-02-11 15:16:00 +08:00
chenos
95f4406ba9 fix: do not display the page title 2022-02-11 09:42:15 +08:00
chenos
34f5c87a1e feat: add @nocobase/app 2022-02-10 18:37:16 +08:00
chenos
732d31009e v0.6 2021-12-06 21:23:34 +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
chenos
82ad5de8cb fix: development environment client does not need to be compiled 2021-12-02 14:11:19 +08:00
chenos
bad753cd46 feat(docs): update model api doc 2021-11-12 18:38:58 +08:00
chenos
3cdff1adc8 fix: opts null 2021-11-10 20:32:47 +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
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
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
e7df1f93c4 chore: v0.5.0-alpha.15 2021-10-08 00:33:40 +08:00
chenos
2fa8280803 chore: v0.5.0-alpha.14 2021-10-07 21:57:01 +08:00
chenos
8561502384 chore: v0.5.0-alpha.13 2021-10-07 21:33:32 +08:00
chenos
b2f3bd4894 chore: v0.5.0-alpha.12 2021-10-07 19:39:35 +08:00
chenos
4506271af5 chore: v0.5.0-alpha.11 2021-10-07 19:03:50 +08:00
chenos
9787bedb3c chore: 0.5.0-alpha.10 2021-10-07 18:02:32 +08:00
chenos
968fd2e656 chore: v0.5.0-alpha.9 2021-10-07 17:25: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
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
29d386a63d feat: improve code 2021-10-01 23:31:49 +08:00
chenos
07c53a6d2e feat: improve code 2021-09-30 15:16:41 +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
1dff47e8e4 feat: add client provider 2021-09-28 09:33:38 +08:00
chenos
9d67ecaff0 feat: improve code 2021-09-23 21:52:54 +08:00
chenos
248d59f6ec feat: improve code 2021-09-14 11:09:26 +08:00
chenos
336e0b17b8 feat: improve code 2021-09-09 23:57:01 +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
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
e801181aeb feat: improve styling 2021-08-23 10:53:37 +08:00
chenos
24d5d3cfad feat: improve code 2021-08-17 00:15:53 +08:00
chenos
8bfb5cf85c updates 2021-07-27 10:34:52 +08:00
chenos
00bb0f747e update doc 2021-07-24 14:16:09 +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
19cbcd1e94 updates... 2021-07-23 12:34:15 +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
797da5bdb0 fix: show clear button 2021-05-10 15:47:03 +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
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
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
e72eebb8cd chore(versions): publish packages 0.4.0-alpha.3 2021-04-07 17:39:08 +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
49f71420ed chore: update npm packages 2021-04-07 09:50:00 +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
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
0902bb5529 fix: missing upload headers 2021-04-01 08:43:28 +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
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
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
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
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
chenos
ce4a22fbb9 style: code formatting 2021-03-28 13:34:51 +08:00
chenos
3c18ecc796 fix: display of action logs table data 2021-03-28 11:46:59 +08:00
chenos
c5b8b44a12 fix: field tooltip 2021-03-28 08:56:31 +08:00
chenos
72aecc7d0e fix: multi-select field initialization and filtering 2021-03-27 15:52:48 +08:00
chenos
7786f0ad48 field tooltip for view details 2021-03-26 16:11:34 +08:00
chenos
d8d4ef177a fix: date field does not show time configuration 2021-03-26 16:09:51 +08:00
chenos
bfa998e478 fix actions for calendar view 2021-03-26 14:49:59 +08:00
chenos
38e9b2c96c fix: subTable 2021-03-26 12:14:16 +08:00
chenos
47f4cb4d13 style 2021-03-26 10:27:53 +08:00
chenos
07af1ca08d fix: form expression scope 2021-03-26 10:05:55 +08:00
chenos
122f6bfdb7 feat: markdown field 2021-03-26 10:03:54 +08:00
chenos
ed296cfc5f fix: drawer title 2021-03-25 20:38:11 +08:00
chenos
330d08ab35 feat: kanban view 2021-03-25 16:11:45 +08:00
chenos
b101760092 feat: add calendar view 2021-03-25 08:14:19 +08:00
chenos
964b5f70ba feat: field extensions for login/register forms 2021-03-24 19:13:44 +08:00
chenos
859e1e0a04 fix: form submission error 2021-03-24 16:55:08 +08:00
chenos
bb5aa17106 feat: drawer close with confirm 2021-03-24 10:28:01 +08:00
chenos
d3fa4d3d1a feat: add api package 2021-03-23 10:53:11 +08:00
chenos
e4840f9b76 style: fix some responsive styling 2021-03-22 22:28:07 +08:00
chenos
55543fb46e fix: improve menu/view configuration 2021-03-22 16:45:32 +08:00
chenos
e443857309 fix: move page templates to pages/index 2021-03-22 14:12:11 +08:00
chenos
bd1449e87a feat(users): add reset password for users 2021-03-22 13:41:00 +08:00
chenos
b95e2da129 chore: adjust parameters 2021-03-22 13:33:57 +08:00
chenos
6c76d27cd3 fix: login & register 2021-03-22 08:56:58 +08:00
chenos
53c62e922d fix: when the details are empty, the table rows are not clickable 2021-03-18 22:37:47 +08:00
chenos
ea07c2de32 organize the code 2021-03-18 20:58:59 +08:00
chenos
fcf7b367ac fix: when there are too many menu items in a row, hide some of them 2021-03-17 17:41:43 +08:00
chenos
e56d9b8573 fix: document title of the login page 2021-03-17 09:53:25 +08:00
chenos
d18ec0be84 max-width: 1000px 2021-03-17 09:47:29 +08:00
chenos
cef2161972 feat: support for configuration after successful draft submission 2021-03-16 23:32:59 +08:00
chenos
d94cf316e8 drawer max width 800px 2021-03-16 23:05:08 +08:00
chenos
6c24978601 fix: logo height 2021-03-16 23:00:18 +08:00
chenos
62164c907c feat: view support quick edit 2021-03-16 18:06:43 +08:00
chenos
c6caa7aade fix: show site title in document title 2021-03-16 14:37:24 +08:00
chenos
6c39ac3538
Develop (#68)
* refactor: fields/views/pages...

* update

* update

* update

* updates

* updates

* add yarn.lock

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* developerMode

* 一大波更新

* bugfix

* fix: hide the sorting settings

* fix: reload menu when menu is updated

* 页面重构

* modify text

* 补充细节

* system settings

* 继续更新补充

* fix: 多级菜单支持

* 无限嵌套

* fix: icon

* 省市区参数调整

* 表单描述、文案调整

* 支持草稿

* 邮箱登录

* 细节补充

* 菜单页面权限初步

* 详情页打开方式

* 菜单父级、草稿问题

* 描述文字

* 详情分组显示

* 状态改为 radio

* 菜单权限

* 跳过省市区 api

* 修复权限数据范围

* onDraft

* 页面跳转

* 修改文案

* 注册、登录

* fix: 权限过滤问题

* 微调上传组件样式

* 0.4.0-alpha.0

* father-build

* remove father-build

* 细节调整
2021-03-16 14:31:54 +08:00
chenos
544e5c22dc fix: upgrade marked 2021-02-22 15:12:57 +08:00
Junyi
662619b91c
Feature: plugin-china-region (#66)
* feat: add core function for china region cascade select

* fix: test case

* refactor: use belongsToMany for region field and fix component

* fix: data import

* fix: remove sort field

* fix: clear on changeOnSelect is false
2021-02-22 15:08:35 +08:00