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
662619b91c
Feature: plugin-china-region ( #66 )
...
* feat: add core function for china region cascade select
* fix: test case
* refactor: use belongsToMany for region field and fix component
* fix: data import
* fix: remove sort field
* fix: clear on changeOnSelect is false
2021-02-22 15:08:35 +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
Junyi
cef64bb7f5
fix: make default view/tab cannot be destroyed ( #63 )
...
* fix: make default view/tab cannot be destroyed
* refactor: return count for destroy action
2021-02-08 15:13:07 +08:00
chenos
47bd72fa49
fix: jest.setTimeout 300000
2021-01-26 22:44:21 +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
25d9ae8fcc
fix: update field
2021-01-26 17:00:50 +08:00
chenos
4ee4bed527
feat: add description field
2021-01-26 16:47:57 +08:00
chenos
3f7e8e9c2f
feat: can set editable fields on tabs
2021-01-25 10:22:24 +08:00
chenos
1be960bebf
feat: the details tab can choose which fields to display
2021-01-24 13:23:13 +08:00
Junyi
9a27eac0e0
fix: ignore some typescript error ( #59 )
2021-01-23 17:12:09 +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
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
1d5c39e0e8
feat: add permissions migration
2021-01-18 19:06:31 +08:00
Junyi
ae257567bf
fix: updatedBy foreignKey ( #56 )
2021-01-17 10:45:37 +08:00
chenos
dba1f1fbc6
fix: delete collection load middleware
2021-01-15 23:54:50 +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
b9f74197d3
fix: add mode to view options
2021-01-12 23:00:44 +08:00
chenos
30b006bb45
fix: ids not empty
2021-01-10 09:40:29 +08:00
chenos
6b3bbefb2a
fix: typo
2021-01-07 23:57:33 +08:00
chenos
1dbfe14379
fix: get collection with transaction
2021-01-07 23:23:36 +08:00
chenos
b878b214d4
add collectionSync parameter for database options
2021-01-07 14:54:01 +08:00
chenos
551f8bad8d
feat: improve view mode
2021-01-07 09:31:26 +08:00
chenos
988b265bb8
feat: demo env disable create/update/destroy actions
2021-01-06 17:38:08 +08:00
chenos
65326a242a
refactor: can configure the color of the option label for option type fields
2021-01-06 10:23:40 +08:00
chenos
3e9f311c84
feat: add image lightbox for the attachment field
2021-01-05 17:31:41 +08:00
Junyi
62a7cc2b1f
test: skip bug test cases for ci passing ( #52 )
2021-01-05 15:19:36 +08:00
chenos
63033d57c4
fix: adjust the view mode(temporary)
2021-01-04 23:27:38 +08:00
chenos
10c891d949
feat: add calendar view
2021-01-04 20:53:30 +08:00
chenos
8efd78c1be
typo
2020-12-30 15:01:52 +08:00
Junyi
435cd9a7c9
feat: date-only operators ( #50 )
...
* feat: date-only operators
* feat: add opposite operators
* fix: use moment to parse date string
* fix: remove additional moment dependency.
* modify date filter operators
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-30 14:05:28 +08:00
chenos
41755a8af4
feat: improve ui details
2020-12-30 00:00:39 +08:00
chenos
519f8de40b
fix: improve filters
2020-12-29 14:53:39 +08:00
Junyi
3e75bbe6c3
Feature field for set default ( #49 )
...
* feat: add AsDefault field type
* fix: association definition in test case
* fix: logic of field as default in bulkCreate
* fix: change to asDefault field
* refactor: rename to radio and move unit test cases back to database package
* change to radio
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-28 23:13:17 +08:00
chenos
976bc5d66e
feat: generate linkTo pair field
2020-12-28 11:12:33 +08:00
chenos
cf47b9f282
add examples
2020-12-27 21:53:44 +08:00
chenos
629a4de173
feat: add association tab
2020-12-25 16:15:58 +08:00
Junyi
57003c6c02
fix: toInclude bug with nested associations ( #47 )
2020-12-24 07:21:46 +08:00
chenos
4b3d07d51c
fix: improves collections load
2020-12-23 20:29:11 +08:00
chenos
1aaab24688
feat: showInXX selected by default
2020-12-23 20:16:51 +08:00
chenos
0a2912fe6e
docs: change 创建 to 新增
2020-12-23 19:55:25 +08:00
chenos
5f69f0d9e1
feat: improves upload and attachment components
2020-12-23 16:03:37 +08:00
chenos
122796d11f
fix: when the target is not defined, reload the target table
2020-12-22 21:11:04 +08:00
chenos
8d3e94e86b
feat: improves fields configuration
2020-12-22 19:09:36 +08:00
chenos
e0f10db125
fix: sub table field migrate after update associations
2020-12-21 14:15:58 +08:00
chenos
fe8476c5dd
fix: after the field is updated, reload the collection configuration
2020-12-21 10:44:13 +08:00
chenos
c5e0f65ff5
feat: add field import function
2020-12-21 10:42:44 +08:00
chenos
71024dbaa0
fix: add collections after update hook
2020-12-21 09:34:34 +08:00
chenos
d408cd4c1f
feat: improve icon field
2020-12-21 09:22:05 +08:00
chenos
85aee08260
feat: add remote select component
2020-12-20 17:27:33 +08:00
chenos
2a383e2142
fix: do not automatically generate target, when target exists
2020-12-20 17:24:12 +08:00
chenos
ecab106c3c
feat: support subTable field
...
* feat: add linkTo and subTable fields
* add subTable field component
* improve sub table
* bugfix
2020-12-20 12:52:15 +08:00
chenos
6ffa3b53e8
refactor: add plugin manager
2020-12-18 19:54:53 +08:00
chenos
7e9b4a8f45
fix: add createdAt/updatedAt/createdBy/updatedBy options to the collections table for developer mode
2020-12-18 19:41:40 +08:00
chenos
afce1142d9
fix: improve field options
2020-12-18 18:25:06 +08:00
chenos
a351d52226
fix: improve createdBy/updatedBy default options
2020-12-18 15:32:45 +08:00
Junyi
110d5bcc9c
feat: add createdBy/updatedBy field config for table managed by collections ( #43 )
...
* feat: add createdBy/updatedBy field config for table managed by collections
* fix: update by different users and field initialization
* fix: function argument
* add: test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-18 09:04:40 +08:00
chenos
aef6b85736
fix: allow custom sort value
2020-12-16 20:47:10 +08:00
chenos
866549ce26
fix: do not clear data when migrating data
2020-12-16 08:42:37 +08:00
chenos
ab90b15ffc
feat: add icon field
2020-12-13 20:46:40 +08:00
chenos
71b2d9bfeb
feat: improve field options
2020-12-13 17:20:54 +08:00
chenos
d03f927bc1
refactor: collections test cases
2020-12-13 17:17:41 +08:00
chenos
5fd8139767
improve filter & sort...
2020-12-13 00:09:25 +08:00
chenos
4decab86be
feat: pages actions & tabs
2020-12-12 16:36:02 +08:00
chenos
c776229540
feat: remove view options from collections
2020-12-12 16:31:05 +08:00
chenos
5bb0d9f336
feat: add default icon
2020-12-11 12:22:54 +08:00
chenos
3571f357cd
when the field migrate, load the collection options if is not in the database
2020-12-11 10:37:43 +08:00
chenos
880737c5c8
feat: add internal parameter to collection options
2020-12-11 10:31:00 +08:00
chenos
f948896365
fix: missing options when finding
2020-12-09 23:04:53 +08:00
chenos
9b73e2a7d3
feat: improve fields & views tables options
2020-12-09 20:46:57 +08:00
chenos
13385b8ab3
fix: change the field options merge strategy
2020-12-09 20:45:15 +08:00
chenos
f24d948f83
fix: change the interface options override of the field
2020-12-09 12:23:57 +08:00
chenos
a44bab62fc
fix: add transaction to migrate options
2020-12-08 14:35:50 +08:00
chenos
276d218357
feat: add ctx.state.developerMode
2020-12-08 14:33:28 +08:00
chenos
caa98f6d08
feat: improve developer mode support
2020-12-08 10:02:41 +08:00
chenos
a3155f687f
feat: load database table dynamically
2020-12-08 09:59:41 +08:00
chenos
524103f6b3
fix: field migrate bug when import collection options
2020-12-08 09:01:15 +08:00
chenos
ed43bfe86d
feat: generate random name for actions/views/tabs
2020-12-07 23:24:43 +08:00
chenos
fb7706094b
feat: load the saved collection options
2020-12-07 17:21:14 +08:00
chenos
e6f9973531
fix: model update associations with transaction in hook
2020-12-07 17:13:42 +08:00
chenos
312571fba8
feat: add developer mode support
2020-12-07 08:53:18 +08:00
chenos
3e3cb416b6
feat: improve collection hooks/fields/actions/views... ( #30 )
...
* feat: add onFinish callback
* fix: update json attribute unsaved after query
* refactor: collection hooks
* feat: add migrate options
2020-12-04 21:09:39 +08:00
chenos
868dd1aaaa
refactor: change registerHandler to registerActionHandler
2020-12-02 13:48:19 +08:00
chenos
b6cb185380
feat: add virtual attribute geter & setter support ( #27 )
2020-12-01 23:38:10 +08:00
chenos
b5ddd6a6ba
feat: collection options & hooks ( #21 )
...
* feat: collection hooks
* export action middlewares
* add associated middleware
* cleanup
* add field interface options
* 调整配置参数
* 补充字段类型 options
* 继续调整配置参数
* 支持排序
* filterable & sortable & draggable
* feat: add random name for creating table (#23 )
* feat: add random name for creating table
* fix: random number
* Feature: collections field (#24 )
* feat: add random name for field and update table options
* fix: make field name required
* fix: this declaration
* showInXX 参数调整
* showInXX 放 component 里
* 继续调整参数
* 字段分组、pages 表配置参数等
* change date to datetime
* 选择类型字段的 options 改为 dataSource
* feat: refactor hooks initialization and add field options by interface (#25 )
* feat: refactor hooks initialization and add field options by interface
* refactor: use model.set to build input values
* refactor: extend setter/getter to adapt field options
* fix: try to fix virtual field
* refactor: setter/getter of FieldModel
* 改进自定义 model 等细节
* 补充注释
* bugfix
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2020-12-01 20:11:39 +08:00
chenos
578454d07f
feat: pagination options ( #20 )
...
* feat: pagination options
* fix: data: {list, total}
2020-11-21 23:49:59 +08:00
chenos
eb93f0734f
feat: actions & views ( #18 )
...
* feat: 视图新增支持 associated 的情况
* fix: 解决关系数据的视图问题
* 表单数据初始化
* feat: sortable table
* 排序
* 表格细节调整
* feat: field actions
2020-11-19 21:12:15 +08:00
chenos
9daae13c68
feat: improve plugins ( #14 )
...
* feat: delete defined resources
* feat: api client
* feat: view fields & tab field options & page info...
* fix: view type
2020-11-13 22:01:14 +08:00
chen
bf2e315c9e
refactor: code cleanup
2020-11-11 20:57: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