chenos
e41926e2b9
fix: date formatting
2021-08-04 20:11:49 +08:00
chenos
02890f550d
fix: date field parameter path error
2021-08-04 17:37:46 +08:00
chenos
5b014bc67e
lots of updates
2021-08-04 12:38:08 +08:00
chenos
c23d2c5c3c
improve code
2021-08-03 12:12:29 +08:00
chenos
754be7d1d1
improve Table Operation
2021-08-03 00:01:42 +08:00
chenos
6ff216be6b
improve tabs
2021-08-02 17:50:14 +08:00
chenos
f997b4bebb
improve moveTo function
2021-08-02 17:31:41 +08:00
chenos
0ca3fef9d3
moveTo
for menu & table & tabs
2021-08-02 16:17:27 +08:00
chenos
cf2d3fcdaf
improve drag and drop
2021-08-02 15:05:28 +08:00
chenos
57cc9e6081
refresh schema
2021-07-30 21:48:59 +08:00
chenos
ab81afecfa
collectionsLoading
2021-07-30 18:54:18 +08:00
chenos
70652c9bf7
fix: await refresh
2021-07-30 18:41:10 +08:00
chenos
b9b43b9712
fix
2021-07-30 16:15:58 +08:00
chenos
c3d2c3cd28
action bar
2021-07-30 16:10:40 +08:00
chenos
7dd9fbf213
useResource
2021-07-30 09:31:04 +08:00
chenos
27b61bd571
refactor code
2021-07-30 00:03:10 +08:00
chenos
1007324b09
DesignableBar
2021-07-27 22:29:56 +08:00
chenos
428beabd5a
field switch
2021-07-27 18:38:54 +08:00
chenos
a9177116aa
g2plot chart
2021-07-27 15:07:46 +08:00
chenos
8bfb5cf85c
updates
2021-07-27 10:34:52 +08:00
chenos
b257417d70
AddNew
2021-07-24 16:37:13 +08:00
chenos
00bb0f747e
update doc
2021-07-24 14:16:09 +08:00
chenos
91ecd98071
bugfix
2021-07-23 21:28:57 +08:00
chenos
6b419fc5cd
bugfix
2021-07-23 21:04:57 +08:00
chenos
5264d9a386
bugfix
2021-07-23 19:53:43 +08:00
chenos
3c3fa358de
API_URL env
2021-07-23 18:26:05 +08:00
chenos
3223d95d01
updates
2021-07-23 18:08:44 +08:00
chenos
e21a9ab57d
Markdown.Void
2021-07-23 13:11:14 +08:00
chenos
19cbcd1e94
updates...
2021-07-23 12:34:15 +08:00
chenos
07fa09e412
updates
2021-07-23 00:19:08 +08:00
chenos
8d298de6fe
updates
2021-07-21 21:51:16 +08:00
chenos
e8399e167e
updates
2021-07-20 23:19:54 +08:00
chenos
97ca17bc10
updates
2021-07-19 23:57:54 +08:00
chenos
2606f28059
lots of updates
2021-07-19 18:33:03 +08:00
chenos
63538cf240
updates...
2021-07-18 17:16:57 +08:00
chenos
057dc8406a
lots of updates
2021-07-17 22:35:50 +08:00
chenos
78740f9905
updates
2021-07-16 23:57:11 +08:00
chenos
c9aa381045
refactor: action/menu/schema-renderer...
2021-07-15 18:47:21 +08:00
chenos
61796cbc27
updates...
2021-07-14 14:30:38 +08:00
chenos
03da153052
update docs
2021-07-14 08:43:18 +08:00
chenos
e50267d64c
node tree of all components
2021-07-13 00:31:38 +08:00
chenos
6f54ee3d4e
updates
2021-07-12 22:13:48 +08:00
chenos
af02a895c3
lots of updates
2021-07-11 22:20:54 +08:00
chenos
d39a7d822d
DrawerSelect, Filter ...
2021-07-11 10:46:34 +08:00
chenos
9cc5363f49
improve select
2021-07-10 16:21:05 +08:00
chenos
15fca2b009
updates
2021-07-09 23:58:05 +08:00
chenos
708afa059c
updates
2021-07-09 21:19:53 +08:00
chenos
e53a1edf7d
lots of updates
2021-07-08 14:21:18 +08:00
chenos
ed4397e112
updates...
2021-07-07 22:50:40 +08:00
chenos
14160761d3
improve action & database field & table
2021-07-06 23:33:02 +08:00
chenos
b7a2d5d3e5
updates
2021-07-06 00:15:19 +08:00
chenos
eb31861b54
improve code
2021-07-04 22:04:15 +08:00
chenos
5e181c3ade
lots of updates
2021-07-04 00:19:26 +08:00
chenos
699726d5bb
improve code
2021-07-03 17:26:08 +08:00
chenos
8b34b84a5e
updates
2021-07-03 00:24:21 +08:00
chenos
46e4089140
designable bar
2021-07-01 00:16:43 +08:00
chenos
75cd158a27
refactor
2021-06-27 15:41:40 +08:00
chenos
0b191e8b5d
update docs
2021-06-06 23:24:49 +08:00
chenos
5f752d28d7
improve a lot of details
2021-06-06 18:21:04 +08:00
chenos
a7fd94affd
refactor: useDrag & useDrop & useColResize
2021-06-04 11:20:11 +08:00
chenos
3c3ae5c348
clean up the redundant examples
2021-06-02 11:24:38 +08:00
chenos
5e0277d451
updates
2021-06-02 11:09:01 +08:00
chenos
cfc04814c6
bugfix
2021-05-26 09:16:32 +08:00
chenos
8fc5be634e
drawer closeWithConfirm props
2021-05-26 09:10:20 +08:00
chenos
60862736ea
designer field
2021-05-26 09:09:53 +08:00
chenos
b7ff2e0673
update docs
2021-05-23 09:32:43 +08:00
chenos
68f3d86761
drawer closeWithConfirm props
2021-05-23 09:20:22 +08:00
chenos
2cbcd087ce
v0.5
2021-05-23 08:38:08 +08:00
Junyi
cb8edc7b75
feat: export plugin ( #73 )
...
* feat: add data export action in table view
* feat: add data render based on interface type for exporting
* fix: use rewrite action name for permissions
* feat: add support for subTable type field
* add datetime render
* export filter support selectedRowKeys
* docs
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-05-17 11:11:49 +08:00
chenos
6081ee29af
fix: show all fields
2021-05-10 16:03:10 +08:00
chenos
1b3e7993fb
fix: statusable
2021-05-10 15:58:14 +08:00
chenos
797da5bdb0
fix: show clear button
2021-05-10 15:47:03 +08:00
chenos
6b7e26fb90
fix: sync view details
2021-05-08 11:39:39 +08:00
chenos
91d633deed
fix: get the siteTitle value from the server
2021-05-07 10:51:07 +08:00
chenos
7f6dc49227
fix: logo url get from the server
2021-05-07 10:46:49 +08:00
chenos
cd5aee4c2a
fix: menu item not active
2021-04-25 13:13:37 +08:00
chenos
1bf32c7f7e
fix: image can not be previewed
2021-04-25 11:55:32 +08:00
chenos
6c75950b6a
feat: jump to page after successful form submission
2021-04-25 11:54:23 +08:00
chenos
3268267ccd
fix: when batch uploading, filter out unaccept files
2021-04-22 19:01:28 +08:00
chenos
a19311cb24
feat: upload component supports accept property
2021-04-22 18:44:55 +08:00
chenos
80eb229696
fix: file icon
2021-04-22 14:51:23 +08:00
chenos
bbcd310169
fix: windows system the path can not use colon
2021-04-18 15:17:19 +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
chenos
95640ec57c
chore: update docker-compose.yml
2021-04-17 22:21:06 +08:00
chenos
d5d0e1036b
docs: add docs ( #75 )
...
* docs: add docs
* ignore dumi theme test
* fix: error TS2717: Subsequent property declarations must have the same type.
* update docs
* deploy gh-pages
* plugins docs
* hash & cname
* exportStatic
* ssr
* vercel
* vercel
* fix: deploy vercel
* Delete vercel.json
* docs
* fix APP_DIST
* on master branch
2021-04-17 21:33:21 +08:00
Junyi
f6dcfae28c
refactor: use boolean value instead of null ( #74 )
2021-04-12 18:10:59 +08:00
chenos
214b227a6c
fix: error message for login and registration
2021-04-12 18:06:10 +08:00
chenos
3612689035
fix: drawer bottom spacing is too small in Firefox
2021-04-09 11:31:34 +08:00
chenos
5319000bd6
fix: improve login form styles
2021-04-08 12:10:38 +08:00
chenos
ef93a3c11c
chore(versions): publish packages 0.4.0-alpha.5
2021-04-07 19:36:55 +08:00
chenos
b65184ca37
fix: skip postinstall when umi does not exist
2021-04-07 19:36:09 +08:00
chenos
a22efec65d
chore(versions): publish packages 0.4.0-alpha.4
2021-04-07 17:48:47 +08:00
chenos
ca71f8625c
fix: missing #!/usr/bin/env node
2021-04-07 17:48:07 +08:00
chenos
e72eebb8cd
chore(versions): publish packages 0.4.0-alpha.3
2021-04-07 17:39:08 +08:00
chenos
f58fad922f
feat: add simple cli for nocobase api
2021-04-07 17:37:14 +08:00
chenos
c2f18763c9
chore(versions): publish packages 0.4.0-alpha.2
2021-04-07 17:12:31 +08:00
chenos
17362a8444
refactor: app middlewares
2021-04-07 17:10:52 +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
30a0808c04
add "private": true
to some packages
2021-04-07 10:23:28 +08:00
chenos
49f71420ed
chore: update npm packages
2021-04-07 09:50:00 +08:00
chenos
c808c5b602
feat: serve dist files for development
2021-04-06 20:05:56 +08:00
chenos
fd8c6f8e50
chore: cleanup
2021-04-06 19:56:41 +08:00
chenos
b6cd540f72
chore: remove console.log
2021-04-06 19:52:01 +08:00
chenos
efb0320427
refactor(app): clean up the client code
2021-04-06 12:52:59 +08:00
Junyi
9495917e97
fix: minor problems ( #72 )
2021-04-04 23:33:06 +08:00
chenos
b1c1a5cee8
refactor: data wrapping middleware
2021-04-01 23:51:00 +08:00
chenos
d7dbad1ba8
fix: sub-table loading
2021-04-01 21:17:26 +08:00
chenos
b8b5940205
feat: print button for descriptions
2021-04-01 21:15:51 +08:00
chenos
acb769b0c1
fix: calendar height
2021-04-01 09:59:05 +08:00
chenos
c74818049b
refactor: plugin initialization
2021-04-01 09:58:30 +08:00
chenos
29dca49b02
fix: no logging of hidden fields
2021-04-01 09:52:43 +08:00
chenos
0902bb5529
fix: missing upload headers
2021-04-01 08:43:28 +08:00
chenos
17b258e3cc
fix: password was hashed twice
2021-03-31 10:56:39 +08:00
chenos
b761bf876e
fix: show email when nickname is empty
2021-03-31 09:30:09 +08:00
chenos
9d67637727
feat: add a clear button to the filter box
2021-03-31 09:28:35 +08:00
chenos
b3a35146cb
fix: placeholder for cascader
2021-03-31 09:10:15 +08:00
chenos
c812d97527
fix: sub-table field permissions
2021-03-31 00:01:30 +08:00
chenos
50f1d1853b
fix: specify the env file path
2021-03-30 17:01:13 +08:00
chenos
996e87daa7
fix: filter operators bug
2021-03-30 06:33:39 +08:00
chenos
18825af43d
fix: async mode recommended over sync mode
2021-03-30 06:12:08 +08:00
chenos
6bfd8ebf57
fix: hide user password
2021-03-29 15:53:39 +08:00
chenos
70c2cd9085
fix: adding upload action to the blacklist
2021-03-29 14:01:54 +08:00
chenos
797a5ef9e8
fix: view type linkages
2021-03-29 13:06:14 +08:00
chenos
09f2d5d2f2
fix: automation jobs
2021-03-29 12:35:58 +08:00
chenos
8be11714b9
fix: action blacklist for demo
2021-03-29 12:00:52 +08:00
chenos
aedce5589d
refactor: two column layout
2021-03-29 11:57:07 +08:00
chenos
716b5e20b4
fix: table isFieldComponent
2021-03-29 11:05:48 +08:00
chenos
250dd26df9
fix: action buttons
2021-03-29 10:32:49 +08:00
chenos
20be2d7115
fix: change logs order by desc
2021-03-29 10:19:42 +08:00
chenos
2cd6a4cfad
style: calendar & kanban views
2021-03-29 10:18:39 +08:00
chenos
611ce0d759
fix: sorter for datetime and number
2021-03-28 21:08:54 +08:00
chenos
0900296ea3
fix: view form linkages
2021-03-28 21:01:22 +08:00
chenos
25c1aa8825
fix: __index
2021-03-28 18:26:04 +08:00
chenos
2b549ea259
fix: subtable associatedKey
2021-03-28 17:47:26 +08:00
chenos
7becc9f8b1
fix: markdown view
2021-03-28 16:55:03 +08:00
chenos
ce4a22fbb9
style: code formatting
2021-03-28 13:34:51 +08:00
chenos
5e9959b987
feat: markdown support
2021-03-28 12:34:56 +08:00
chenos
3c18ecc796
fix: display of action logs table data
2021-03-28 11:46:59 +08:00
chenos
c5b8b44a12
fix: field tooltip
2021-03-28 08:56:31 +08:00
chenos
db103c50f0
fix: page view sync
2021-03-28 08:56:17 +08:00
chenos
72aecc7d0e
fix: multi-select field initialization and filtering
2021-03-27 15:52:48 +08:00
chenos
c865c63f14
fix: update model associations
2021-03-27 15:50:55 +08:00
chenos
7786f0ad48
field tooltip for view details
2021-03-26 16:11:34 +08:00
chenos
8fafdf077d
fix: sub-table can not be sorted
2021-03-26 16:11:11 +08:00
chenos
d8d4ef177a
fix: date field does not show time configuration
2021-03-26 16:09:51 +08:00
chenos
bfa998e478
fix actions for calendar view
2021-03-26 14:49:59 +08:00
chenos
38e9b2c96c
fix: subTable
2021-03-26 12:14:16 +08:00
chenos
47f4cb4d13
style
2021-03-26 10:27:53 +08:00
chenos
489d7c27dd
fix: modify text
2021-03-26 10:14:53 +08:00
chenos
281c1b3f1d
fix: add database pool options
2021-03-26 10:06:36 +08:00
chenos
07af1ca08d
fix: form expression scope
2021-03-26 10:05:55 +08:00
chenos
122f6bfdb7
feat: markdown field
2021-03-26 10:03:54 +08:00
chenos
ed296cfc5f
fix: drawer title
2021-03-25 20:38:11 +08:00
chenos
2aa04323ff
fix: auto get filter fields
2021-03-25 16:54:11 +08:00
chenos
330d08ab35
feat: kanban view
2021-03-25 16:11:45 +08:00
chenos
eba121b998
fix: add sticky parameter to sort action
2021-03-25 16:03:43 +08:00
chenos
b101760092
feat: add calendar view
2021-03-25 08:14:19 +08:00
chenos
964b5f70ba
feat: field extensions for login/register forms
2021-03-24 19:13:44 +08:00
chenos
859e1e0a04
fix: form submission error
2021-03-24 16:55:08 +08:00
chenos
bb5aa17106
feat: drawer close with confirm
2021-03-24 10:28:01 +08:00
chenos
388dbc5ef4
feat: quick create view for page
2021-03-24 10:21:38 +08:00
chenos
d3fa4d3d1a
feat: add api package
2021-03-23 10:53:11 +08:00
chenos
e4840f9b76
style: fix some responsive styling
2021-03-22 22:28:07 +08:00
chenos
349c9030d2
fix: add color for action log type options
2021-03-22 16:56:40 +08:00
chenos
55543fb46e
fix: improve menu/view configuration
2021-03-22 16:45:32 +08:00
chenos
e443857309
fix: move page templates to pages/index
2021-03-22 14:12:11 +08:00
chenos
bd1449e87a
feat(users): add reset password for users
2021-03-22 13:41:00 +08:00
chenos
b95e2da129
chore: adjust parameters
2021-03-22 13:33:57 +08:00
chenos
6c76d27cd3
fix: login & register
2021-03-22 08:56:58 +08:00
chenos
81399f6037
fix: clean up code and fix tests
2021-03-19 21:27:42 +08:00
chenos
53c62e922d
fix: when the details are empty, the table rows are not clickable
2021-03-18 22:37:47 +08:00
chenos
baae04a6dd
feat: add create/update/destroy action logs views
2021-03-18 22:36:05 +08:00
chenos
808e3657e0
improve collection/field import
2021-03-18 22:33:57 +08:00
chenos
092d705d3d
adjust the text of the menu permission view
2021-03-18 22:32:07 +08:00
chenos
ea07c2de32
organize the code
2021-03-18 20:58:59 +08:00
chenos
fcf7b367ac
fix: when there are too many menu items in a row, hide some of them
2021-03-17 17:41:43 +08:00
chenos
2e4bf25923
fix: view form type field linkages
2021-03-17 17:14:38 +08:00
chenos
e56d9b8573
fix: document title of the login page
2021-03-17 09:53:25 +08:00
chenos
d18ec0be84
max-width: 1000px
2021-03-17 09:47:29 +08:00
chenos
cef2161972
feat: support for configuration after successful draft submission
2021-03-16 23:32:59 +08:00
chenos
d94cf316e8
drawer max width 800px
2021-03-16 23:05:08 +08:00
chenos
6c24978601
fix: logo height
2021-03-16 23:00:18 +08:00
chenos
62164c907c
feat: view support quick edit
2021-03-16 18:06:43 +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
c6caa7aade
fix: show site title in document title
2021-03-16 14:37:24 +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
chenos
544e5c22dc
fix: upgrade marked
2021-02-22 15:12:57 +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
chenos
ce5690e25c
fix: error TS2339: Property 'rows' does not exist on type 'unknown'.
2021-02-22 11:20:27 +08:00
chenos
837865b880
fix: Property 'rows' does not exist on type '{}'.
2021-02-22 11:11:49 +08:00
chenos
e980791796
fix: skip non-existent collection
2021-02-19 22:33:47 +08:00
chenos
5000affc26
fix: skip non-existent collection
2021-02-18 12:15:09 +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
eb5581646c
Feature/plugin automations ( #65 )
...
* feat: add automations plugin
* feat: support users views as submenu
* fix: reload users collection options on initialization
* 表单细节
* 细节更新
* filterable
* fix: can not disassociate before destroy data
* 暂存
* 表单联动细节
* 补充细节
* 补充测试和细节改进
* 补充细节和测试
* 再来一波更新
2021-02-07 17:39:47 +08:00
chenos
9bd79cf082
fix: add associatedKey support for drawerSelect component
2021-02-05 20:10:31 +08:00
chenos
b050e4ce5d
feat: add associatedKey property to filter field component
2021-02-03 17:03:22 +08:00
chenos
511ba90d99
feat: add defaultFilter property to table view
2021-02-03 16:53:31 +08:00
chenos
365513909a
fix: can not disassociate before destroy data
2021-02-01 19:05:37 +08:00
Junyi
f9c4fb9df0
Feature/action logs ( #62 )
...
* feat: add hasMany field for action logs
* fix: add scope to log field
* test: add cases
* test: remove console.log
* test: add expects
* refactor: use constants for hook types
* fix: missing pageInfo
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-02-01 13:32:02 +08:00
chenos
134f72f6e8
fix: missing pageInfo
2021-02-01 13:30:32 +08:00
chenos
d83cebac56
fix: multi-level nesting
2021-01-30 19:06:01 +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
4ed21682ac
fix: defaultTab
2021-01-27 16:58:36 +08:00
chenos
8ec40d32e2
fix: tab permissions does not work
2021-01-27 16:46:31 +08:00
chenos
598584447f
fix(plugin-permissions): perPage = -1
2021-01-27 16:32:31 +08:00
chenos
7e96e9d469
bugfix
2021-01-27 14:19:20 +08:00
chenos
18e7d5ba77
fix: reload users collection options on initialization
2021-01-27 14:08:26 +08:00
chenos
c6e1fd2d5f
fix: set onDelete CASCADE
2021-01-27 11:24:23 +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
613c4a14ad
style: update form description style
2021-01-26 22:14:48 +08:00
chenos
11f5050fd5
bugfix
2021-01-26 17:12:31 +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
4fb1ff6c33
fix: skip developer mode and internal collection permissions
2021-01-26 15:18:07 +08:00
chenos
22ce4c60e7
scroll y 300
2021-01-25 10:36:37 +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
chenos
a98f5af183
feat: support users views as submenu
2021-01-24 09:27:24 +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
e36415330f
fix: can use markdown in field description
2021-01-23 14:15:41 +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
1d8de0bc4e
fix: default template for views
2021-01-22 14:54:08 +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
chenos
eff2353954
fix: update collections.roles actions
2021-01-18 19:21:58 +08:00
chenos
1d5c39e0e8
feat: add permissions migration
2021-01-18 19:06:31 +08:00
chenos
95be672222
feat: add scope hook
2021-01-17 21:51:24 +08:00
Junyi
ae257567bf
fix: updatedBy foreignKey ( #56 )
2021-01-17 10:45:37 +08:00
chenos
3a3f6fa6ca
feat: add action scopes for permissions
2021-01-16 17:26:21 +08:00
chenos
5f5bb0a258
fix: form submission broken when using nested form
2021-01-16 17:25:19 +08:00
chenos
dba1f1fbc6
fix: delete collection load middleware
2021-01-15 23:54:50 +08:00
chenos
9d95a27a7f
feat: add collection permissions tab
2021-01-14 10:52:20 +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
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
b81b83d3f3
fix: do not change the field type
2021-01-08 15:49:37 +08:00
chenos
772d83cf78
style: logo
2021-01-08 10:15:10 +08:00
chenos
cd6d444a3f
fix: filter failed files
2021-01-08 09:23:51 +08:00
chenos
d321b95fb0
fix: remove max width style
2021-01-08 09:01:33 +08:00
chenos
014f9128a5
fix: sorting of sub table fields
2021-01-08 08:52:55 +08:00
chenos
747e743df8
fix: use $isFalsy to filter developerMode
2021-01-08 00:11:50 +08:00
chenos
6b3bbefb2a
fix: typo
2021-01-07 23:57:33 +08:00
chenos
2096ee84c4
fix: password autocomplete=new-password
2021-01-07 23:42:31 +08:00
chenos
1dbfe14379
fix: get collection with transaction
2021-01-07 23:23:36 +08:00
chenos
ef7cc13ae1
autoComplete=off
2021-01-07 23:21:17 +08:00
chenos
07b982960d
fix: shared form scopes
2021-01-07 14:58:44 +08:00
chenos
b878b214d4
add collectionSync parameter for database options
2021-01-07 14:54:01 +08:00
Junyi
8289f96dd5
fix: updatedBy field in bulkUpdate hook ( #54 )
...
* fix: updatedBy field in bulkUpdate hook
* fix: test cases
* add db.sync() after each test case
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-07 14:49:39 +08:00
chenos
80acf5f199
fix: update users collection config
2021-01-07 12:51:48 +08:00
chenos
54fdb7ab46
fix: set to null when password field is empty
2021-01-07 12:48:51 +08:00
chenos
285cf34c6a
fix: set to null when text field is empty
2021-01-07 12:48:24 +08:00
chenos
84e4df4086
fix: add target="_blank" to links
2021-01-07 09:54:31 +08:00
chenos
551f8bad8d
feat: improve view mode
2021-01-07 09:31:26 +08:00
chenos
ee6cc5a665
fix: table section checkbox can not be selected
2021-01-07 09:25:27 +08:00
chenos
8b1bd64034
feat: support for image preview on image upload
2021-01-07 08:57:44 +08:00
chenos
6194009d41
style: change scrollbar style
2021-01-06 19:57:12 +08:00
chenos
988b265bb8
feat: demo env disable create/update/destroy actions
2021-01-06 17:38:08 +08:00
chenos
b6e41a6e45
fix: add hover style for table rows
2021-01-06 16:31:10 +08:00
chenos
eac7734f07
feat: align number columns text to right
2021-01-06 16:15:01 +08:00
chenos
8c679b0938
feat: support marked render for textarea field
2021-01-06 15:45:38 +08:00
chenos
0b6d54b3fc
feat: pagination show total
2021-01-06 15:44:22 +08:00
chenos
8274fbad21
refactor: improve deep equals check
2021-01-06 15:40:27 +08:00
chenos
7a4e047910
feat: add prompt to save when closing the form
2021-01-06 13:08:00 +08:00
chenos
cbb95bfb6f
fix: add default color
2021-01-06 10:46:37 +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
778fb648ca
fix(app): maxRows=12
2021-01-05 20:39:21 +08:00
chenos
c622f2ad21
fix: set logical operator default value
2021-01-05 20:35:55 +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
31edb3a1fe
feat(app): add mobile responsive
2021-01-05 12:50:28 +08:00
chenos
63033d57c4
fix: adjust the view mode(temporary)
2021-01-04 23:27:38 +08:00
chenos
65c7ec9060
feat(app): adjust sub menu spacing
2021-01-04 23:26:51 +08:00
chenos
1db4fbb8ee
fix: logical operator value
2021-01-04 20:58:11 +08:00
chenos
10c891d949
feat: add calendar view
2021-01-04 20:53:30 +08:00
chenos
5237b14dc0
feat: improve migrate cli
2021-01-04 13:17:16 +08:00
chenos
74600f0eb5
fix: filter developer mode with isTruly/isFalsy
2021-01-04 13:14:45 +08:00
chenos
10b2199e54
fix: remove through.updateAssociations
2021-01-03 10:55:25 +08:00
chenos
ad4eabd569
fix: set to null, not undefined
2021-01-02 22:43:37 +08:00
chenos
090394145a
fix: drawer select allow clear
2021-01-02 22:31:35 +08:00
chenos
eafdddcd4d
fix: allow set null with updateAssociations
2021-01-02 22:30:13 +08:00
chenos
752de2b58a
fix(app): can not open modal when only allow linking to one record
2021-01-02 09:31:33 +08:00
chenos
34895d3843
fix: text field output up to 20 characters in the table
2021-01-02 09:23:02 +08:00
chenos
2689e070f1
fix: action buttons align right
2021-01-02 09:21:07 +08:00
chenos
7ce22d7267
fix: input control can not input chinese
2021-01-02 09:18:55 +08:00
chenos
f28a56ea77
fix: button ordering
2021-01-01 20:16:40 +08:00
chenos
76e02f8ad9
fix: improve sub table action button style
2021-01-01 19:53:54 +08:00
chenos
ba6f3f7f7d
fix: appends/except only use to get/list actions
2021-01-01 19:12:53 +08:00
chenos
53212ee47d
fix: default checkbox for row selection type
2021-01-01 17:42:24 +08:00
chenos
97136c62ba
fix(app): filter merge
2021-01-01 17:35:28 +08:00
chenos
89650750b1
fix(app): unable to associate a record
2021-01-01 17:20:31 +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
chenos
6a9bf9572c
fix: view filtering does not work
2020-12-31 21:04:03 +08:00
chenos
f7f8e12ac9
fix: multiple files upload bugs
2020-12-31 14:12:25 +08:00
chenos
4fc2843a05
feat(file-manager): add aliyun oss storage
2020-12-31 12:11:38 +08:00
chenos
52a1ce012c
feat(app): image open in the modal
2020-12-30 23:20:37 +08:00
chenos
693e1171c1
fix: ahooks dependency was not found
2020-12-30 22:46:22 +08:00
chenos
f70b229985
fix: sub table overflow
2020-12-30 22:43:47 +08:00
chenos
859bb18f97
feat(app): improve loading animation
2020-12-30 22:42:47 +08:00
chenos
ed8b5504ac
feat(app): menu could be collapsed.
2020-12-30 22:36:59 +08:00
chenos
8efd78c1be
typo
2020-12-30 15:01:52 +08:00
chenos
8861e282cb
fix: show the relationship fields of the sub table
2020-12-30 15:01:28 +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
d74eda3f23
feat: use icon for boolean field
2020-12-30 12:30:38 +08:00
chenos
2e35947dae
fix: Show the number of filters
2020-12-30 12:02:02 +08:00
chenos
c20d3a91de
fix: action buttons align right
2020-12-30 11:22:06 +08:00
chenos
c20494d99b
feat: allow multiple files to be uploaded
2020-12-30 11:20:46 +08:00
chenos
41755a8af4
feat: improve ui details
2020-12-30 00:00:39 +08:00
chenos
6fd499f03a
fix: date/time filter value format
2020-12-29 15:12:49 +08:00
chenos
519f8de40b
fix: improve filters
2020-12-29 14:53:39 +08:00
chenos
e692d7bb5f
fix: menu sort
2020-12-29 11:31:19 +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
Junyi
b2fe087fc2
Feature: custom operators for querying ( #48 )
...
* feat: add some custom operators for querying
* feat: add some custom operators for querying
* test: fix cases
* improve custom operator function
* improve filter field component
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-28 21:08:13 +08:00
chenos
0754c5979a
fix: hide the paired linkTo field in the table/form view
2020-12-28 11:38:23 +08:00
chenos
976bc5d66e
feat: generate linkTo pair field
2020-12-28 11:12:33 +08:00
chenos
94c386e7aa
fix: use simple table for the association tab view
2020-12-28 11:11:49 +08:00
chenos
cf47b9f282
add examples
2020-12-27 21:53:44 +08:00
chenos
04e9393dea
fix: association find and count
2020-12-27 21:08:06 +08:00
chenos
629a4de173
feat: add association tab
2020-12-25 16:15:58 +08:00
chenos
32774657d7
fix: get association model by field target
2020-12-25 16:13:33 +08:00
chenos
76acd162e4
feat: add file icons
2020-12-24 08:35:40 +08:00
chenos
56c9f131a1
refactor: improve action default params
2020-12-24 08:16:18 +08:00
chenos
4d07ef5116
chore: allow specific build package
2020-12-24 07:35:53 +08:00
Junyi
57003c6c02
fix: toInclude bug with nested associations ( #47 )
2020-12-24 07:21:46 +08:00
chenos
6c4a73f260
fix: By USE_STATIC_SERVER environment to determine whether to start the static server
2020-12-23 21:04:03 +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
8f5ebb846c
fix: menu filter showInMenu=true
2020-12-23 20:12:50 +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
Junyi
eb7d5c594e
feat: make single file upload to attachment available ( #46 )
...
* feat: make single file upload to attachment available
* fix: change file name case
* feat: refactor structure and make local server work
* test: skip bug case temporarily
* fix: use middleware to load storage static server
* fix: change meta from values to request.body back and refactor local server middleware
* adjust details
* http:
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-23 12:46:13 +08:00
chenos
e6dfcf8418
fix the issue of the edit button(update action) on the linkTo data detail page
2020-12-22 21:16:54 +08:00
chenos
122796d11f
fix: when the target is not defined, reload the target table
2020-12-22 21:11:04 +08:00
chenos
0edb148db2
feat: add drawerSelect component for linkTo
2020-12-22 19:12:30 +08:00
chenos
8d3e94e86b
feat: improves fields configuration
2020-12-22 19:09:36 +08:00
chenos
6f0cd54fd8
feat: add linkTo field component
2020-12-22 19:08:41 +08:00
chenos
a494185dd7
fix: belongsTo's associatedKey is Model.primaryKeyAttribute
2020-12-22 19:02:05 +08:00
chenos
40bcfb7edc
fix: remove through.updateAssociations
2020-12-22 17:28:30 +08:00
chenos
c5d4e0ff24
add favicon
2020-12-22 09:47:42 +08:00
chenos
29e63cc482
change logo
2020-12-22 09:38:05 +08:00
chenos
98ae8a62a1
fix: fields appends by view type
2020-12-21 14:19:31 +08:00
chenos
e0f10db125
fix: sub table field migrate after update associations
2020-12-21 14:15:58 +08:00
chenos
93d8426c84
feat(database): add afterUpdateAssociations hook
2020-12-21 14:15:08 +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
4bc2df296d
feat: add actionDefaultParams to views
2020-12-21 10:41:12 +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
3054ddb13b
feat: improve users options
2020-12-19 15:50:04 +08:00
chenos
ddcf0f4219
feat: support document title
2020-12-19 15:48:56 +08:00
chenos
5fdbc1b10d
feat: improve field components
2020-12-19 15:48:06 +08:00
Junyi
8bdbd804f0
feature: add file manager base architecture ( #44 )
...
* feature: add file manager base architecture
* 修改 action 注册方式
* put upload action and middleware together
* bugfix
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-19 08:45:19 +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
184adb924d
fix: use database hook to trigger add createdBy/updatedBy fields
2020-12-18 15:50:03 +08:00
chenos
272b64b81b
feat: add relation field component for table and detail
2020-12-18 15:36:38 +08:00
chenos
d755558009
feat: add user check middleware
2020-12-18 15:33:34 +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
59db7a34dc
fix: model is not null
2020-12-17 21:47:23 +08:00
chenos
aef6b85736
fix: allow custom sort value
2020-12-16 20:47:10 +08:00
chenos
1006b1a9a5
feat: add sub fields for the relation field
2020-12-16 10:17:30 +08:00
chenos
50a081c861
fix: page menu sort
2020-12-16 08:43:09 +08:00
chenos
866549ce26
fix: do not clear data when migrating data
2020-12-16 08:42:37 +08:00
chenos
1aa7ee65ab
fix: association destroy with individualHooks
2020-12-15 22:45:35 +08:00
chenos
b2801a00dc
fix: view can be displayed in data menu
2020-12-15 22:44:20 +08:00
chenos
67e18352b6
add hooks for database
2020-12-15 20:16:55 +08:00
chenos
8739ea79d2
fix: add view filter to action params
2020-12-15 14:32:56 +08:00
chenos
a342c30175
fix: dynamic action params
2020-12-15 09:58:42 +08:00
Junyi
7fcce0943a
fix: use wrapped and logic for merging filters ( #42 )
2020-12-14 22:07:23 +08:00
chenos
d45d37cabf
feat: add field renderer
2020-12-13 20:48:48 +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
a7c9461cc0
fix: remove required parameter from the field options
2020-12-13 17:16:54 +08:00
chenos
a3107721c2
fix: page showInMenu=true
2020-12-13 17:15:02 +08:00
Junyi
b6bce5a2dc
fix: filterByFields should return same value when input == null (close 0) ( #41 )
2020-12-13 17:12:44 +08:00
chenos
5fd8139767
improve filter & sort...
2020-12-13 00:09:25 +08:00
Junyi
787d2b611f
fix: Symbol property could not be iterated in for-in ( #39 )
2020-12-12 22:10:44 +08:00
Junyi
5662509f4c
Feature/sort ( #38 )
...
* refactor: change sort strategy from offset to targetId
* fix: remove unnecessary query to optimize performance
* refactor: change sort api to allow object
* refactor: change function member positions
* fix: test case names
* fix: static to instance
2020-12-12 16:38:08 +08:00
chenos
4decab86be
feat: pages actions & tabs
2020-12-12 16:36:02 +08:00
chenos
2dbbe29223
feat: improve filter action
2020-12-12 16:32:18 +08:00
chenos
c776229540
feat: remove view options from collections
2020-12-12 16:31:05 +08:00
Junyi
d1372e273a
refactor: change sort strategy from offset to targetId ( #37 )
...
* refactor: change sort strategy from offset to targetId
* fix: remove unnecessary query to optimize performance
2020-12-11 22:36:02 +08:00
Junyi
841249f58c
Feature/sort ( #36 )
...
* feat: add sort value initialization via beforeCreate hook
* fix: after reinitialization, hooks are lost
* test: temp test for hook
* fix: hooks defined in the table options does not work
* refactor: change sort config into sort type field and fix updateAssociations to create with foreignKey
* refactor: abstract utility functions
* fix: type definition
* fix: type and where value type
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-11 15:41:03 +08:00
chenos
6b84446697
feat: add onTrigger to Actions component
2020-12-11 15:11:45 +08:00
chenos
2fd4e2fa61
fix: JSON.stringify for filter
2020-12-11 15:09:39 +08:00
chenos
eb501e3461
fix: get pageTitle with first string field
2020-12-11 15:00:33 +08:00
chenos
4f4064ad11
fix: model destroy with individualHooks
2020-12-11 14:36:12 +08:00
chenos
a604eed44d
refactor: menu component
2020-12-11 12:34:50 +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
f12c619603
use createFormActions instead of createSyncFormActions
2020-12-10 20:39:15 +08:00
chenos
f8e8b2b9c7
feat: add registerable icon component
2020-12-10 20:32:44 +08:00
chenos
437c49d211
refactor: change the field type names to uppercase
2020-12-10 14:47:13 +08:00
chenos
e86b573296
fix: hooks defined in the table options does not work
2020-12-10 11:18:44 +08:00
chenos
a96bf09316
test: add hook test cases
2020-12-10 10:12:27 +08:00
chenos
f948896365
fix: missing options when finding
2020-12-09 23:04:53 +08:00
chenos
2828a82f7d
feat: add percent field component
2020-12-09 20:49:17 +08:00
chenos
cbc81f1173
add example collection options for app
2020-12-09 20:47:58 +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
96510cc929
fix: after reinitialization, hooks are lost
2020-12-09 17:14:42 +08:00
chenos
f24d948f83
fix: change the interface options override of the field
2020-12-09 12:23:57 +08:00
Junyi
32a8483336
feat: add filter and transaction for destroy action ( #35 )
...
* feat: add filter and transaction for destroy action
* fix: batch destroy in to-many relactionship
2020-12-08 21:20:30 +08:00
chenos
0d3d30e0c2
feat: add support for filter action
2020-12-08 21:19:39 +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
Junyi
7467441276
fix: field filter logic for create/update ( #34 )
...
* fix: field filter logic for create/update
* fix: add test cases
2020-12-08 14:27:51 +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
ae6ea41c52
feat: menu sync & refresh
2020-12-07 17:25:36 +08:00
chenos
efc51355dd
feat: add user profile & logout...
2020-12-07 17:23:05 +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
Junyi
4e41e630ac
Feature: action fields options for create/update ( #32 )
...
* feat: add fields options for create/update actions
* test: add test case for json
* fix: minor update for reviews
* fix: test case
* fix: change fields filter strategy for create/update
* feat: add transaction for create/update
2020-12-07 11:54:23 +08:00
chenos
312571fba8
feat: add developer mode support
2020-12-07 08:53:18 +08:00
chenos
190fc6b37a
feat: add db-migrate for app
2020-12-07 08:51:50 +08:00
Junyi
05f815655f
Fix: change strategy from add to set for updateAssociations ( #33 )
...
* test: add belongsTo case
* fix: change update strategy from add to set
2020-12-06 14:28:23 +08:00
chenos
0a0d09119b
Test/ci ( #31 )
...
* Create node.js.yml
* fix: npm install command
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by build dependencies
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by set env
* fix: try to fix ci fail by pg version
* fix: try to fix ci fail by fix types
* fix(test): Type '""' is not assignable to type 'IndexType'.
* fix(test): Type '""' is not assignable to type 'IndexType'
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2020-12-05 09:27:24 +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
Junyi
1980464f63
Fix/model update associations ( #29 )
...
* refactor: change updateAssociations from set null to small grouped handling
* feat: add transaction for updateAssociations
* test: add more basic cases
* fix: pick options for different model methods
* fix: adjust options picking strategy
2020-12-04 17:20:08 +08:00
Junyi
dd1d4fc7bf
fix: database test cases and table options ( #28 )
2020-12-02 15:54:19 +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
befe5661f8
feat: add optgroup support for select
2020-12-01 20:18:03 +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
d9e6d2e614
feat(users): add users module ( #26 )
...
* feat(users): add users module
* user check
2020-11-29 16:26:53 +08:00
Junyi
3da40bd35b
feat: add sort action ( #22 )
2020-11-26 15:01:22 +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
chenos
578454d07f
feat: pagination options ( #20 )
...
* feat: pagination options
* fix: data: {list, total}
2020-11-21 23:49:59 +08:00
Junyi
85e42f95a5
test: refactor test in database and add more ( #17 )
2020-11-19 23:30:30 +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
Junyi
b0ba1472bb
Test cases for database ( #16 )
...
* fix: remove unused import
* fix: use env instead of hard code for create database instance
* refactor: change most "all" hook to "each" hook
* refactor: split test suits into files
* add: use DB_LOG_SQL in env to control SQL in log
* add: test for logical operator and fixes
2020-11-18 10:35:37 +08:00
Junyi
53729e188a
Refactor: change global injection of test for actions package. ( #15 )
...
* Refactor: change global injection to index.ts to simplify all test files.
* Fix: typo.
2020-11-16 20:38:56 +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
Junyi
92160d0fe5
Doc: add README.md for server. ( #12 )
...
* Doc: add README.md for server.
* Fix: typo.
* Fix: typo.
* Fix: move env out.
* Fix: change description.
* Fix: change environment variable name.
2020-11-13 22:00:35 +08:00
chenos
77dc7227a0
fix: parseRequest & registerHandlers ( #10 )
2020-11-12 11:48:54 +08:00
chenos
1023e317f3
fix #9 ( #11 )
...
* fix #9
* fix: database env variables
2020-11-12 11:48:27 +08:00
chen
204a516165
test: add a few test cases
2020-11-11 22:52:27 +08:00
chen
bf2e315c9e
refactor: code cleanup
2020-11-11 20:57:18 +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