ChengLei Shao
ad700c61b8
Plugin error handler ( #222 )
...
* feat: validation error with i18n
* feat: plugin-error-handler
* del: error-handle.test.ts
* feat: field name with i18n
* fix: yarn build
2022-03-06 12:07:56 +08:00
ChengLei Shao
86065fa208
feat: error handle middleware ( #214 )
...
* feat: error handle middleware
* feat: application error handler
* feat: handle with sequelizeValidationError
* fix: test
* fix: test
2022-03-02 12:50:15 +08:00
ChengLei Shao
99bfd75776
fix: test with database ( #193 )
...
* fix: ui schema test
* fix: sqlite array query
* fix: acl test
* fix: plugin-users test
* fix: database test with postgres
* fix: test with db.getTablePrefix
* fix: test with mysql database
* fix: test with sqlite database
* fix: test with mysql
* fix: test order with mysql
* chore: test clean database
* chore: mockServer clean
* chore: app cleanDb
* chore: plugin-users cleanDb
2022-02-15 22:32:02 +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
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
chenos
732d31009e
v0.6
2021-12-06 21:23:34 +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
27f6bde775
feat: improve code
2021-09-23 00:16:04 +08:00
chenos
248d59f6ec
feat: improve code
2021-09-14 11:09:26 +08:00
chenos
3fa9e59093
refactor: improve server application
2021-09-09 13:05:33 +08:00
chenos
ce4a22fbb9
style: code formatting
2021-03-28 13:34:51 +08:00
Junyi
db3a8a7499
Feature/destroy lock ( #60 )
...
* feat: load collection actions for custom options
* fix: test case
* optimization
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-26 22:16:22 +08:00
chenos
868dd1aaaa
refactor: change registerHandler to registerActionHandler
2020-12-02 13:48:19 +08:00
chenos
1023e317f3
fix #9 ( #11 )
...
* fix #9
* fix: database env variables
2020-11-12 11:48:27 +08:00
chen
204a516165
test: add a few test cases
2020-11-11 22:52:27 +08:00
chen
812cd0766d
feat: initializing resources from the database
2020-11-11 18:16:18 +08:00