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