chenos
6e95278ce4
fix(database): missing context in hook
2022-01-25 17:08:35 +08:00
ChengLei Shao
bd285e0ba9
Plugin acl ( #166 )
...
* 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
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-24 14:10:35 +08:00
chenos
f0eb2eee20
feat: improve the params of the ctx.action
2022-01-23 12:42:35 +08:00
ChengLei Shao
f67658129f
Feat/plugin UI schema v0.6 ( #143 )
...
* v0.6
* plugin-ui-schema: insert && getJsonSchema
* plugin-ui-schema: insert schema with sort
* plugin-ui-schema: node with x-index
* insert adjacent method
* chore: insert
* typo
* insert with x-uid
* fix: getSchema by subtree
* add ui-schema actions
* fix: mysql compatibility
* remove ui-schema when remove node tree
* ui schema patch
* ui_schemas.create
* test cases
* test cases
* fix(database): reset changed before update
* feat: insert ui schema node after created
* feat: patch ui schema node after updated
* fix: sqlite error
* uid
* cleanup
* test cases
* feat: ui_schema items type support
* fix: insert items node
* fix: get inner type
* change items struct
* add insert return value
* add insert return value
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-19 10:09:30 +08:00
chenos
380b5e8c7a
Feat/plugin collection manager ( #147 )
...
* refactor: collection manager plugin
* feat(database): magic attribute model
* MagicAttributeModel
* load collections & fields options
* collections filterTargetKey
2022-01-19 10:02:52 +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
ChengLei Shao
246737906d
Feat/GitHub actions ( #148 )
...
* test github actions
* mod: github actions
* mod: github actions
* fix: yarn build
* fix: database pk key error
* fix: test
* skip failed tests
* github test with sqlite && mysql
* fix: mysql query error
2022-01-08 17:16:11 +08:00
chenos
10d520c22a
feat: customizable magicAttribute
2022-01-07 22:06:31 +08:00
chenos
103a170917
add test case for magic-attribute-model
2022-01-07 21:47:10 +08:00
chenos
ef6e2dd378
feat(database): magic attribute model
2022-01-07 20:26:23 +08:00
ChengLei Shao
2bf09bf9bb
feat: filter by target key ( #146 )
...
* feat: filter by target key
* fix: repository test
* change type name
* chore: test
* change PrimaryKey type to TargetKey
* rename filterTargetKey
* rename variables
* change option parser constructor
* add option parser targetKey
* change filter parser constructor
* fix: custom model
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-07 20:08:01 +08:00
ChengLei Shao
79ba391aee
refactor: actions ( #137 )
...
* db test
* associated list action
* associated list action
* fix belongs to many repository test
* create action
* update action
* add update & destroy has one
* get action
* add action
* set action
* remove action
* toggle action
* chore: code import
* add sort field mutex
* change field mutex position
* feat: handle sort field scope change
* feat: sort actions
* fix: add action
* rename sort action to move action
* more actions params
* feat: repository destroy with filter and filterByPK
* feat: hasmany repository destroy with filter and filterByPK
* feat: belongsToMany repository destroy with filter and filterByPK
* fix: actions tests lock error
* feat: code cleanup
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-16 16:46:54 +08:00
Chareice
8f0a71a1cf
feat: collection autoGenId option
2021-12-16 10:58:51 +08:00
Chareice
9ff6575cff
feat: filter with filterByPK
2021-12-12 19:57:20 +08:00
Chareice
90846686ac
fix: update association value
2021-12-08 13:00:09 +08:00
chenos
f09991d932
feat: upgrade plugin-users
2021-12-08 09:10:44 +08:00
chenos
bf2840b089
feat: context field type support ( #131 )
...
* feat: context field type support
* fix: missing options
2021-12-07 21:19:28 +08:00
chenos
54f351af9d
fix: plugin packages dependencies
2021-12-07 19:40:30 +08:00
chenos
17b5839f51
feat: upgrade plugin-notifications
2021-12-07 19:24:26 +08:00
Chareice
30e31a2e79
update options
2021-12-07 15:43:14 +08:00
Chareice
f6f8f041f1
Merge remote-tracking branch 'origin/nocobase-next' into nocobase-next
2021-12-07 15:29:50 +08:00
Chareice
feea1bef48
fix array field update
2021-12-07 15:29:32 +08:00
chenos
c56cd8674d
feat: upgrade plugin-action-logs
2021-12-07 15:21:16 +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
897169a613
feat: add saas plugin
2021-09-28 00:18:09 +08:00
chenos
248d59f6ec
feat: improve code
2021-09-14 11:09:26 +08:00
chenos
336e0b17b8
feat: improve code
2021-09-09 23:57:01 +08:00
chenos
5847c9eeab
fix: compatible jsonb for MySQL
2021-09-09 12:40:46 +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
5b014bc67e
lots of updates
2021-08-04 12:38:08 +08:00
chenos
8bfb5cf85c
updates
2021-07-27 10:34:52 +08:00
chenos
af02a895c3
lots of updates
2021-07-11 22:20:54 +08:00
chenos
17b258e3cc
fix: password was hashed twice
2021-03-31 10:56:39 +08:00
chenos
18825af43d
fix: async mode recommended over sync mode
2021-03-30 06:12:08 +08:00
chenos
ce4a22fbb9
style: code formatting
2021-03-28 13:34:51 +08:00
chenos
eba121b998
fix: add sticky parameter to sort action
2021-03-25 16:03:43 +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
Junyi
9a27eac0e0
fix: ignore some typescript error ( #59 )
2021-01-23 17:12:09 +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
b81b83d3f3
fix: do not change the field type
2021-01-08 15:49:37 +08:00
Junyi
62a7cc2b1f
test: skip bug test cases for ci passing ( #52 )
2021-01-05 15:19:36 +08:00
chenos
eafdddcd4d
fix: allow set null with updateAssociations
2021-01-02 22:30:13 +08:00
Junyi
9fcf6fbd59
fix: avoid bug when update other field ( #51 )
...
* fix: avoid bug when update other field
* fix: optimize logic
2021-01-01 11:42:45 +08:00