Commit Graph

792 Commits

Author SHA1 Message Date
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