Commit Graph

22 Commits

Author SHA1 Message Date
ChengLei Shao
81978711e4
featPlugin multiple apps (#248)
* feat: multiple apps plugin

* feat: multipleAppManager in Application

* stage

* fix: export error

* test: multiple app

* application model

* feat: create application with plugins

* load and install after sub application created

* create subApp database beforeInstall

* sub apps listen to main app start & stop events

* refactor: getPluginName as package name

* feat: load apps on mainApp starts

* fix: test

* feat: beforeGetApplication event

* fix: test

* fix: test with sqlite memory database

* test: lazyLoad application

* fix: test with sqlite memory

* chore: clone database collection & promise.all
2022-03-28 22:01:10 +08:00
chenos
f7ce3f64cf fix: language settings 2022-03-21 21:37:35 +08:00
chenos
6a7aa22718 feat: improve code 2022-03-19 19:28:53 +08:00
chenos
ffbf4ecb66 feat: app.acl support 2022-02-11 23:59:03 +08:00
chenos
ac7abedbb8 feat: acl middleware support 2022-02-11 19:31:53 +08:00
chenos
a507267b72 feat: code cleanup 2022-02-11 18:13:14 +08:00
chenos
7cc821c06f feat: add plugin-client 2022-02-07 21:54:35 +08:00
chenos
732d31009e v0.6 2021-12-06 21:23:34 +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
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
327562f320 fix: disable koa-static in production environment 2021-11-09 16:20:17 +08:00
chenos
053b0fec89 feat(plugin-client): update demo data 2021-11-08 22:53:25 +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
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
b5e24fa091 feat: initialize demo data 2021-10-07 16:31:19 +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
9d67ecaff0 feat: improve code 2021-09-23 21:52:54 +08:00