Commit Graph

62 Commits

Author SHA1 Message Date
chenos
d80c875d5e chore: v0.5.0-alpha.20 2021-10-12 22:27:38 +08:00
chenos
fda20f83c3 chore: v0.5.0-alpha.19 2021-10-10 22:30:16 +08:00
chenos
516c1be50d chore: v0.5.0-alpha.18 2021-10-10 13:06:09 +08:00
chenos
3e04f81a41 chore: v0.5.0-alpha.17 2021-10-10 12:59:29 +08:00
chenos
dafe8f14d0 chore: v0.5.0-alpha.16 2021-10-08 23:16:46 +08:00
chenos
23bdada69c chore: update gitHead 2021-10-08 00:37:39 +08:00
chenos
e7df1f93c4 chore: v0.5.0-alpha.15 2021-10-08 00:33:40 +08:00
chenos
2fa8280803 chore: v0.5.0-alpha.14 2021-10-07 21:57:01 +08:00
chenos
8561502384 chore: v0.5.0-alpha.13 2021-10-07 21:33:32 +08:00
chenos
b2f3bd4894 chore: v0.5.0-alpha.12 2021-10-07 19:39:35 +08:00
chenos
4506271af5 chore: v0.5.0-alpha.11 2021-10-07 19:03:50 +08:00
chenos
9787bedb3c chore: 0.5.0-alpha.10 2021-10-07 18:02:32 +08:00
chenos
968fd2e656 chore: v0.5.0-alpha.9 2021-10-07 17:25:31 +08:00
chenos
f825e48d03 chore: v0.5.0-alpha.8 2021-10-07 16:39:18 +08:00
chenos
dd0d067c10 chore: v0.5.0-alpha.7 2021-10-07 16:32:22 +08:00
chenos
43f95e0a56 chore: v0.5.0-alpha.6 2021-10-07 15:27:02 +08:00
chenos
7ecb7c3a60 chore: v0.5.0-alpha.5 2021-10-07 15:25:20 +08:00
chenos
27f6bde775 feat: improve code 2021-09-23 00:16:04 +08:00
chenos
23db248743 feat: menu permissions 2021-08-11 14:27:45 +08:00
chenos
66549dc4bf feat: improve code 2021-08-11 11:18:10 +08:00
chenos
fe12c67ba6 refactor: permissions plugin 2021-08-11 00:02:37 +08:00
chenos
8df85e0b20 chore(versions): publish packages v0.4.0-alpha.7 2021-04-18 09:44:18 +08:00
chenos
9f91fc7fd0 v0.4.0-alpha.6 2021-04-18 09:35:49 +08:00
Junyi
f6dcfae28c
refactor: use boolean value instead of null (#74) 2021-04-12 18:10:59 +08:00
chenos
ef93a3c11c chore(versions): publish packages 0.4.0-alpha.5 2021-04-07 19:36:55 +08:00
chenos
a22efec65d chore(versions): publish packages 0.4.0-alpha.4 2021-04-07 17:48:47 +08:00
chenos
e72eebb8cd chore(versions): publish packages 0.4.0-alpha.3 2021-04-07 17:39:08 +08:00
chenos
c2f18763c9 chore(versions): publish packages 0.4.0-alpha.2 2021-04-07 17:12:31 +08:00
chenos
6906ccadb0 add gitHead 2021-04-07 10:41:06 +08:00
chenos
f0b335ac30 chore(versions): publish packages 0.4.0-alpha.1 2021-04-07 10:29:02 +08:00
chenos
49f71420ed chore: update npm packages 2021-04-07 09:50:00 +08:00
chenos
b6cd540f72 chore: remove console.log 2021-04-06 19:52:01 +08:00
chenos
c812d97527 fix: sub-table field permissions 2021-03-31 00:01:30 +08:00
chenos
20be2d7115 fix: change logs order by desc 2021-03-29 10:19:42 +08:00
chenos
ce4a22fbb9 style: code formatting 2021-03-28 13:34:51 +08:00
chenos
81399f6037 fix: clean up code and fix tests 2021-03-19 21:27:42 +08:00
chenos
092d705d3d adjust the text of the menu permission view 2021-03-18 22:32:07 +08:00
chenos
17ae461163 fix: Property 'rows' does not exist on type 'unknown'. 2021-03-16 16:58:57 +08:00
chenos
fdc1ab03e7 fix: Property 'rows' does not exist on type 'unknown'. 2021-03-16 14:43:55 +08:00
chenos
bfdb45a1ef fix isRoot error & add getCollections api 2021-03-16 14:40:47 +08:00
chenos
6c39ac3538
Develop (#68)
* refactor: fields/views/pages...

* update

* update

* update

* updates

* updates

* add yarn.lock

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* developerMode

* 一大波更新

* bugfix

* fix: hide the sorting settings

* fix: reload menu when menu is updated

* 页面重构

* modify text

* 补充细节

* system settings

* 继续更新补充

* fix: 多级菜单支持

* 无限嵌套

* fix: icon

* 省市区参数调整

* 表单描述、文案调整

* 支持草稿

* 邮箱登录

* 细节补充

* 菜单页面权限初步

* 详情页打开方式

* 菜单父级、草稿问题

* 描述文字

* 详情分组显示

* 状态改为 radio

* 菜单权限

* 跳过省市区 api

* 修复权限数据范围

* onDraft

* 页面跳转

* 修改文案

* 注册、登录

* fix: 权限过滤问题

* 微调上传组件样式

* 0.4.0-alpha.0

* father-build

* remove father-build

* 细节调整
2021-03-16 14:31:54 +08:00
Junyi
df2137da79
Feature: filter for linkTo field (#64)
* feat: add scope select for relation field

* fix: add associatedKey support for drawerSelect component

* refactor: use 'component.x-component-props.filter' as filter type

* fix: remove user group field

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-02-18 08:55:46 +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
chenos
c6e1fd2d5f fix: set onDelete CASCADE 2021-01-27 11:24:23 +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
chenos
82355e1422 fix: scopes 2021-01-23 17:09:33 +08:00
chenos
f1c0503916 fix: SequelizeForeignKeyConstraintError: insert or update on table "actions_scopes" violates foreign key constraint "actions_scopes_collection_name_fkey" 2021-01-23 11:17:36 +08:00
chenos
d50d5a6da3 fix: users roles field showInTable 2021-01-22 10:29:41 +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
Junyi
bd756a6a5c
Feature: add permission plugin api (#57)
* fix: update method of permission

* 页面访问权限

* feat: add tabs update in role

* refactor: change main action permission check into single file

* feat: add pluginLoaded event listener for init page permissions

* refactor: change to can api

* refactor: use constants for role types

* refactor: can api

* 只处理 actions 表里的权限,其余跳过

* 注释掉 fields

* bugfix

* add: 详情模块编辑按钮权限判断

* test: add cases

* fix: add association permission judgment

* fix: add disabled property to drawer select

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-20 08:33:47 +08:00