Commit Graph

61 Commits

Author SHA1 Message Date
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