chenos
afab15327e
feat: improve code
2022-03-02 18:35:49 +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
chenos
9704f8a342
feat: improve acl module
2022-02-28 22:10:04 +08:00
ChengLei Shao
5e51973b21
feat: plugin install ( #211 )
...
* feat: plugin install
* fix: install options
2022-02-28 21:49:50 +08:00
chenos
78f75f5a2f
feat: improve users module
2022-02-28 14:25:50 +08:00
chenos
a507267b72
feat: code cleanup
2022-02-11 18:13:14 +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
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
chenos
f09991d932
feat: upgrade plugin-users
2021-12-08 09:10:44 +08:00
chenos
732d31009e
v0.6
2021-12-06 21:23:34 +08:00
chenos
d817ec4c7b
fix: missing parameters
2021-11-30 16:43:44 +08:00
chenos
3e53584768
fix: remove state property
2021-11-23 08:21:38 +08:00
chenos
d8c7a0f1c3
feat: add roles field to users collection
2021-11-16 18:28:07 +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
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
bd1449e87a
feat(users): add reset password for users
2021-03-22 13:41:00 +08:00
chenos
1ea08e62b6
Feature/action logs ( #61 )
...
* feat: add action logs plugin
* feat: add afterUpdate/afterDestroy hooks for logs
* 子表格细节改进
* fix: subtable
* activity
* bugfix
Co-authored-by: mytharcher <mytharcher@gmail.com>
2021-01-29 23:53:50 +08:00
Junyi
c5f089d7b7
feat: add permissions plugin ( #53 )
...
* test: skip bug test cases for ci passing
* feat: add base structure of plugin-permissions
* fix: user token parsing
* Refactor action parameter for better mergeParams (#55 )
* refactor: add parameter types to handle parameters in action [WIP]
* fix: action parameter
* fix: test cases
* test: try to fix build error
* remove unused packages
* fix: revert compatibility back
Co-authored-by: chenos <chenlinxh@gmail.com>
* 补充权限界面相关功能
* bugfix
* fix: developer mode does not work
* feat: add action scope and fields limitation in permission
* 改进权限配置表单
* feat: get/update action for role.collection
* add scope select component
* add role users tabs
* typings
* test: temp skip
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +08:00
chenos
3054ddb13b
feat: improve users options
2020-12-19 15:50:04 +08:00
chenos
7e9b4a8f45
fix: add createdAt/updatedAt/createdBy/updatedBy options to the collections table for developer mode
2020-12-18 19:41:40 +08:00
chenos
184adb924d
fix: use database hook to trigger add createdBy/updatedBy fields
2020-12-18 15:50:03 +08:00
Junyi
110d5bcc9c
feat: add createdBy/updatedBy field config for table managed by collections ( #43 )
...
* feat: add createdBy/updatedBy field config for table managed by collections
* fix: update by different users and field initialization
* fix: function argument
* add: test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-18 09:04:40 +08:00
chenos
868dd1aaaa
refactor: change registerHandler to registerActionHandler
2020-12-02 13:48:19 +08:00
chenos
d9e6d2e614
feat(users): add users module ( #26 )
...
* feat(users): add users module
* user check
2020-11-29 16:26:53 +08:00
chenos
9daae13c68
feat: improve plugins ( #14 )
...
* feat: delete defined resources
* feat: api client
* feat: view fields & tab field options & page info...
* fix: view type
2020-11-13 22:01:14 +08:00
chen
bf2e315c9e
refactor: code cleanup
2020-11-11 20:57:18 +08:00
chenos
dcdb21d398
发布核心框架 ( #6 )
...
* api/ui 改名为 server/client
* 微调
* 继续完善 pages
* Fix env file and file mode. (#1 )
* Fix: ignore .env file and environment variable names.
* Fix: correct file mode.
* fix: put environment variables together
* fix: separate data and ui resourcer
* feat: collection loader
* feat: redirectTo
* feat: fields & actions & views
* feat: fields & actions
* feat: app & pages & collections...
* feat: collections & pages & permissions...
* Doc: add readme (#2 )
* Doc: add README.md.
* Util: add .editorconfig.
* Fix: use glob ignore option instead of additional checking. (#3 )
* Fix: typo. (#4 )
* feat: permissions
* feat: getCollection & getView actions
* refactor: code cleanup
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2020-11-11 15:23:39 +08:00