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
732d31009e
v0.6
2021-12-06 21:23:34 +08:00
chenos
336e0b17b8
feat: improve code
2021-09-09 23:57:01 +08:00
chenos
edbe1ecb67
feat: improve rest api middleware
2021-09-09 12:48:01 +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
868dd1aaaa
refactor: change registerHandler to registerActionHandler
2020-12-02 13:48:19 +08:00
Junyi
cd0b357887
Test/list ( #19 )
...
* test: add more case for list
* feat: allow order by associations in sorting
* fix: add more utils test in resourcer and fix except usage
* test: fix cases
* fix: page default value and max page size
* fix: page params and cases
* fix: list params
* fix: constants in list action
* fix: count when include, attributes when except and cases
* test: add case for hasMany.
2020-11-23 16:49:46 +08:00
Junyi
85e42f95a5
test: refactor test in database and add more ( #17 )
2020-11-19 23:30:30 +08:00
chenos
77dc7227a0
fix: parseRequest & registerHandlers ( #10 )
2020-11-12 11:48:54 +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
chenos
b00c24d5c6
feat: support register and call partial actions ( #7 )
2020-11-11 16:32: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
chen
e5d30b30ba
first commit
2020-10-24 15:34:43 +08:00