chenos
adfac15aba
fix(database): parse sort
2022-02-15 17:36:32 +08:00
chenos
c538fdf73a
fix(database): the options.where object is empty
2022-02-14 21:27:50 +08:00
chenos
16d07e9b4a
feat: add sortable parameter to collection options
2022-02-11 14:34:33 +08:00
Chareice
6013b4d274
feat: remove method
2022-02-11 09:43:45 +08:00
Chareice
3e1cad643b
feat: server hooks model
2022-02-11 09:43:45 +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
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
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
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
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
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
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