chenos
872ee79146
refactor(database): model toJSON without the hidden fields
2022-02-23 18:18:38 +08:00
chenos
c5f639338f
refactor: mockDatabase
2022-02-15 00:20:25 +08:00
chenos
51ca12cc87
feat(plugin-china-region): improve code
2022-02-12 12:38:57 +08:00
chenos
16d07e9b4a
feat: add sortable parameter to collection options
2022-02-11 14:34:33 +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
f0eb2eee20
feat: improve the params of the ctx.action
2022-01-23 12:42:35 +08:00
ChengLei Shao
fd32705954
feat: acl ( #153 )
...
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-18 16:38:03 +08:00
chenos
732d31009e
v0.6
2021-12-06 21:23:34 +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
55f6564ea8
feat: improve code
2021-09-29 07:38:05 +08:00
chenos
336e0b17b8
feat: improve code
2021-09-09 23:57:01 +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
301229ef88
feat: route permissions ( #58 )
...
* feat: routes permissions
* fix: try to fix roles.pages action
* 多态关联
* bugfix
* fix: auto generate when option value is undefined or null
* feat: add pages' permissions saving/listing
* feat: add permission filter for getRoutes
* roles description
* feat: get root permissions all true and create user with default role
* feat: roles.collections list output with permission
* add permissions description
* fix: add context to parseApiJson
* fix: typo
* 小细节补充
Co-authored-by: mytharcher <mytharcher@gmail.com>
2021-01-22 10:18:02 +08:00
chenos
1242ba5aed
feat: improve database.sync()
2021-01-14 10:35:15 +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
e51ee7d1e6
refactor: table.extend() method
2021-01-13 15:43:41 +08:00
chenos
519f8de40b
fix: improve filters
2020-12-29 14:53:39 +08:00
chenos
93d8426c84
feat(database): add afterUpdateAssociations hook
2020-12-21 14:15:08 +08:00
chenos
59db7a34dc
fix: model is not null
2020-12-17 21:47:23 +08:00
chenos
67e18352b6
add hooks for database
2020-12-15 20:16:55 +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
chen
e5d30b30ba
first commit
2020-10-24 15:34:43 +08:00