Commit Graph

4432 Commits

Author SHA1 Message Date
hongboji
98e5964de9
test: optimal calculationNode e2e (#4310) 2024-05-10 13:56:16 +08:00
jack zhang
9e04f405dc
fix: support admin.xx static (#4304) 2024-05-10 08:49:04 +08:00
GitHub Actions Bot
9ecdf9bc08 chore(versions): 😊 publish v1.0.0-alpha.9 2024-05-09 15:13:48 +00:00
GitHub Actions Bot
d57ebbdb44 chore(versions): 😊 publish v1.0.0-alpha.8 2024-05-09 08:31:49 +00:00
Zeke Zhang
b54de2419d
chore: optimize timeout for e2e (#4276)
* chore: reduce timeout-minutes to 180

* chore: optimize timeout value in defineConfig

* chore: optimize

* chore: update retries and trace in defineConfig function

* chore: update retries and trace options in defineConfig function
2024-05-09 16:12:34 +08:00
Junyi
893f27fead
feat(plugin-workflow-request): support "application/x-www-form-urlencoded" type (#4296)
* feat(plugin-workflow-request): support application/x-www-form-urlencoded type

* fix(plugin-workflow-request): avoid nullable body
2024-05-09 16:11:58 +08:00
GitHub Actions Bot
24590cdd74 chore(versions): 😊 publish v1.0.0-alpha.7 2024-05-09 08:09:31 +00:00
Junyi
65f8bd48ae
fix(plugin-workflow-custom-action-trigger): fix locales (#4298) 2024-05-09 14:58:46 +08:00
katherinehhh
4522dd09f3
style: add child action style improve (#4289)
* style: add child style improve

* refactor: tree table

* fix: bug

* refactor: code improve
2024-05-09 14:25:15 +08:00
chenos
61338eedb7 fix(server): parse plugin name 2024-05-09 14:06:43 +08:00
katherinehhh
8afe119ac9
fix: configure data scope in action permission reporting error (#4301) 2024-05-09 13:57:57 +08:00
hongboji
3c8c5813de
test conditionNode e2e (#4295)
* test conditionNode e2e

* test: conditionNode e2e

* test: conditionnode e2e
2024-05-09 13:42:14 +08:00
jack zhang
9740bf89ba
fix: bug (#4300) 2024-05-09 12:00:50 +08:00
katherinehhh
c9c14df4f0
fix: association collection field should not support sortable (#4288)
* fix: association collection  field should not support sortable

* fix: association collection  field should not support sortable
2024-05-09 11:44:20 +08:00
jack zhang
7fc8af7e7b
Fix/doc multi lang change (#4299)
* fix: doc lang change

* fix: home site
2024-05-09 10:53:01 +08:00
Junyi
e67fe2038f
feat(client): add hidden option to interface (#4279) 2024-05-09 10:35:53 +08:00
katherinehhh
68a0c96fd0
feat: table column support fixed right or fixed left (#4260)
* feat: table column support fixed right or fixed left

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-05-09 10:07:55 +08:00
jack zhang
2014729e01
fix: collection field support x-use-component-props (#4264)
* fix: collection field support x-use-component-props

* fix: bug

* fix: bug
2024-05-09 09:21:58 +08:00
jack zhang
1e5e015b73
fix: update doc demos (#4262)
* fix: update doc demos

* fix: change docs demo

* fix: bug

* fix: build bug

* fix: add english docs

* fix: add component english doc

* fix: lang change
2024-05-09 09:21:36 +08:00
Junyi
cafaa82a94
refactor(plugin-workflow): migrate directly action trigger to custom action trigger (#4253)
* refactor(plugin-workflow): migrate directly action trigger to custom action trigger

* test(plugin-workflow-action-trigger): skip legacy test case

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): match version for migration
2024-05-09 08:34:29 +08:00
jack zhang
077efebdf0
feat: support mobile iframe block and toolbar props (#4292) 2024-05-08 23:51:32 +08:00
chenos
1604a4fdb6
fix: missing toolbar props (#4291) 2024-05-08 23:47:11 +08:00
Zeke Zhang
8de00afd12 chore: skip unstable test 2024-05-08 20:12:43 +08:00
katherinehhh
3074dbcb67
fix: actionSchemaToolbar support x-toolbar-props (#4286)
* fix: actionSchemaToolbar support x-toolbar-props

* fix: bug
2024-05-08 15:36:54 +08:00
katherinehhh
f1923d25cd
refactor: external data source view collection createMainOnly (#4287) 2024-05-08 14:47:37 +08:00
Zeke Zhang
040d79747c chore: skip unstable tests for map 2024-05-08 11:49:15 +08:00
katherinehhh
d787edfb47
feat: add Gantt and Kanban blocks in pop ups/drawers (#4277)
* feat: add Gantt  and Kanban blocks in pop ups/drawers

* feat: add Gantt  and Kanban blocks in pop ups/drawers

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-05-08 10:16:39 +08:00
Zeke Zhang
1283312eb9 chore: fix failed e2e 2024-05-07 23:32:25 +08:00
Zeke Zhang
1ce5d76b7e chore: fix failed e2e 2024-05-07 21:47:57 +08:00
katherinehhh
61ac914772
fix: association select report Maximum call stack size exceeded in sub-table (#4278) 2024-05-07 21:03:10 +08:00
chenos
a2d8870fdf chore(versions): 😊 publish v1.0.0-alpha.6 2024-05-07 16:49:53 +08:00
katherinehhh
2ec128c63f
feat: detail block support linkage rule (#4221)
* feat: detail block support linkage rule

* fix: bug

* fix: bug

* test: e2e test
2024-05-07 09:45:28 +08:00
katherinehhh
0214bb915e
fix: bulk delete collection field should not close modal (#4263) 2024-05-07 09:44:55 +08:00
chenos
3c3e68acdc chore(versions): 😊 publish v1.0.0-alpha.5 2024-05-07 08:59:58 +08:00
ChengLei Shao
7545d05a3d
feat(database): append default sort options into find (#4231)
* chore: upgrade vitest

* feat(database): append default sort options into find

* chore: test

* chore: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test
2024-05-06 21:03:30 +08:00
katherinehhh
3651c6ccca
fix: switch date field of the linkage rule from expression to constant value display Invalid Date (#4251) 2024-05-06 14:01:53 +08:00
katherinehhh
0602bb9ab8
fix: collection fields should refreshed after editing sync from database (#4224)
* fix: collection fields table should refreshed after editing collection field

* fix: bug
2024-05-05 22:41:54 +08:00
chenos
7d24e11229 chore(versions): 😊 publish v1.0.0-alpha.4 2024-05-02 10:40:08 +08:00
Junyi
45d9eca38b
fix(plugin-workflow-request): fix response log (#4249) 2024-05-01 13:28:22 +08:00
Junyi
9ca4b4584c
fix(plugin-workflow): fix e2e typo (#4247) 2024-05-01 13:28:07 +08:00
Junyi
31d91ebc83
fix(plugin-workflow): fix duplicated triggering schedule event in multiple apps (#4201)
* fix(plugin-workflow): adjust transaction level in schedule

* refactor(plugin-workflow): use unique event key instead of repeat-read isolation level

* fix(plugin-workflow): fix test case

* refactor(plugin-workflow): use uuid as event key when not specified

* chore(plugin-workflow): avoid conflict
2024-04-30 22:20:25 +08:00
Junyi
f3e39f6f05
fix(client): fix error log in variable component (#4248) 2024-04-30 21:58:34 +08:00
jack zhang
95fef86880
client components (#4216)
* docs: update docs components

* docs: add more component docs

* docs: add more docs

* fix: add more docs

* fix: build bug

* feat: docs

* fix: build error

* fix: docs

* fix: change x-read-pretty to x-patten

* fix: upgrade docs and types

* fix: build bug

* fix: add more docs

* fix: build bug

* fix: cascader component

* fix: bug

* fix: add more docs

* fix: add backend ci time

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-30 21:21:17 +08:00
YANG QIA
5313b8e495
fix(logger): gateway log cache issue && upgrade winston (#4250)
* fix(logger): gateway log cache

* chore(logger): bump winston to 3.13.0
2024-04-30 21:08:15 +08:00
chenos
2ba022ac1f chore(versions): 😊 publish v1.0.0-alpha.3 2024-04-30 16:11:28 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header (#4028)
* fix: add license code

* fix: bug

* fix: bug

* fix: upgrade

* fix: improve

* chore: add copyright information to the file header

* fix: d.ts bug

* fix: bug

* fix: e2e bug

* fix: merge main

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
ChengLei Shao
d15eab2294
fix: upgrade sub app (#4246) 2024-04-30 15:38:32 +08:00
Zeke Zhang
e5152af4c2
refactor: extract to SetTheCountOfColumnsDisplayedInARow (#4211)
* refactor: extract

* chore: revert
2024-04-30 10:39:15 +08:00
katherinehhh
35825ac77b
refactor: tree collection association support sub-table & sub-detail (#4225) 2024-04-30 09:49:57 +08:00
ChengLei Shao
afa3e94aa0
chore: upgrade vitest (#4232) 2024-04-29 22:14:38 +08:00
ChengLei Shao
9e37140197
fix: restore backup before 1.0 (#4228)
* fix: restore backup before 1.0

* chore: test

* chore: test

* chore: rename plugins
2024-04-29 22:01:56 +08:00
ChengLei Shao
9c4fde6ed6
chore: error message on backup restore (#4218) 2024-04-29 20:09:43 +08:00
chenos
e5442458a8
fix: improve plugin static file proxy (#4227) 2024-04-29 19:45:31 +08:00
jack zhang
a293e9e543
fix: build order bug (#4223)
* fix: build order bug

* fix: remove getCompatible error tip

* fix: add workflow npmignore
2024-04-29 19:27:32 +08:00
katherinehhh
964d631c1d
fix: missing pageSize parameters when setting column field sorting (#4219)
* fix: missing pageSize parameters when setting column field sorting

* fix: missing pageSize parameters when setting column field sorting
2024-04-29 13:16:33 +08:00
chenos
b7fb765fca chore(versions): 😊 publish v1.0.0-alpha.2 2024-04-29 13:00:44 +08:00
chenos
c5b803a750 fix(pm): parse name 2024-04-29 13:00:10 +08:00
jack zhang
3b7342456f
fix: iframe bug (#4217) 2024-04-29 11:56:53 +08:00
YANG QIA
b71bcc1889
chore(versions): 😊 publish v1.0.0-alpha.1 (#4186)
* feat: rename plugin-collection-manager to plugin-data-source-main (#4136)

* feat: rename plugin

* feat: rename

* chore: rename classes of data-source-main

* chore: use name for migrating instead of packageName

* chore: rename china-region to field-china-region (#4167)

* chore: rename china-region to field-china-region

* chore: update yarn.lock

* chore: rename classes

* chore: use name instead of pkgName

* chore: rename export to action-export (#4169)

* chore: rename export to action-export

* chore: rename classes

* chore: use name

* chore: rename formula-field to field-formula (#4170)

* chore: rename formula-field to field-formula

* chore: use name

* chore: rename localization-management to localization (#4173)

* chore: rename localization-management to localization

* fix: test

* chore: rename sequence-field to field-sequence (#4174)

* chore: rename sequence-field to field-sequence

* chore: use name

* chore: rename custom-request to action-custom-request (#4168)

* chore: rename custom-request to action-custom-request

* chore: rename classes

* chore: use name

* fix: ns

* chore: rename iframe-block to block-iframe (#4171)

* chore: rename iframe-block to block-iframe

* chore: use name

* chore: rename sms-auth to auth-sms (#4175)

* chore: rename sms-auth to auth-sms

* chore: use name

* chore: rename import to action-import (#4172)

* chore: rename import to action-import

* chore: use name

* fix: ns

* fix: packages

* test: add rename test

* fix: move rename migrations to preset

* fix: version

* fix(localization): remove duplicate records (#4182)

* fix: locale ns

* fix(localization): remove duplicate records

* chore: merge

* fix: migration

* fix: test

* feat: improve pm add command (#4198)

* chore: remove sso auth plugins and add upgrade warning (#4192)

* chore: remove sso auth plugins and add upgrade warning

* chore: remove sso plugins dir

* chore: remove dependencies

* fix: names

* refactor: move to migration

* chore: adjust log

* feat: allows to remove plugins from sub apps

* fix: pm remove

* chore: add test

* chore: just for pro plugins

* refactor: optimize migration

* test: add test

* fix: auth-sms

* fix: add transaction

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* chore: make e2e more stable

* chore(license): update LICENSE to AGPL-3.0 (#4207)

* fix: improve pm (#4200)

* fix: improve pm

* feat: improve pm update

* fix: test error

* fix: rename plugin

* fix: remove only

* refactor(e2e): extract

* fix: await

* fix: nameOrPkg

* feat: remove multi-app-share-collection from local

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>

* chore: add new line

* chore: rename migration

* fix: version

* fix: test

* feat: v1.0.0-alpha.1

* fix: multi-app-share-collection

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-29 00:46:21 +08:00
chenos
fdd3ca614e chore(versions): 😊 publish v0.21.0-alpha.16 2024-04-28 21:24:57 +08:00
Zeke Zhang
8524beae67 chore: make e2e more stable 2024-04-28 17:46:31 +08:00
Junyi
c23631be4a
feat(plugin-workflow): refresh the list after sync (#4177) 2024-04-28 17:08:50 +08:00
Junyi
05c5acd8b7
feat(plugin-workflow): show workflow key as tooltip on title (#4178) 2024-04-28 17:03:44 +08:00
Junyi
bcf6c1b677
test(plugin-workflow): add test cases (#4199)
* test(plugin-workflow): add test cases

* fix(plugin-workflow): fix test cases
2024-04-28 17:03:29 +08:00
chenos
97d9136230 fix(vditor): file collection is not empty 2024-04-28 16:16:57 +08:00
chenos
674093e84c fix: appName 2024-04-28 14:51:18 +08:00
chenos
0541ee36e6 fix(vditor): wait seconds 120s 2024-04-28 12:35:43 +08:00
ChengLei Shao
d92c223458
chore: api cache control header (#4203)
* chore: api cache control header

* chore: api cache control header
2024-04-28 12:12:48 +08:00
Zeke Zhang
08f68720bf chore: make e2e more stable 2024-04-28 12:07:35 +08:00
Sun668
0d9b43206c
feat: load vditor dep from local (#4190)
* feat: load vditor dep from local

* fix: plugin-field-markdown-vditor build config

* Revert "fix: plugin-field-markdown-vditor build config"

This reverts commit 60d344d340.

* feat: plugin-field-markdown-vditor: use NODE_ENV

* fix: plugin-field-markdown-vdtor dep preload

* fix: plugin-field-markdown-vdtor dep preload

* fix: plugin-field-markdown-vdtor dep preload

* feat: plugin-field-markdown-vditor set default valut for edit

* fix: cdn

* fix: set vditor editor value after create

* fix: cdn

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-28 11:23:14 +08:00
katherinehhh
132f626fa3
test: input number separator test (#4204) 2024-04-28 11:17:43 +08:00
katherinehhh
fb41cce7b1
fix: number field shuold support separator setting (#4197) 2024-04-27 21:29:02 +08:00
Junyi
5711b1a77b
fix(plugin-workflow): refine experience (#4195) 2024-04-27 20:48:23 +08:00
YANG QIA
fec979e190
chore: optimize warning wordings of import & export (#4196)
* chore: optimize warning wordings of import & export

* chore: remove pro links
2024-04-27 19:58:19 +08:00
katherinehhh
c5d8a7e251
refactor: external data source collection manager (#4193)
* refactor: data source collection manager

* refactor: data source collection manager
2024-04-27 17:07:20 +08:00
jack zhang
402e14500a
fix: env bug (#4191) 2024-04-27 15:03:18 +08:00
ChengLei Shao
69baf99b66
fix: empty operator with association field (#4189)
* test: empty operator with association field

* fix: test

* fix: test
2024-04-27 14:40:05 +08:00
Zeke Zhang
def7530d14
chore: add e2e (#4184)
* test: schemaInitializer of map

* test: settings of map block

* refactor: extract common options

* chore: test filter blocks in page

* chore: test filter block in popup

* chore: add e2e for inherit fields

* chore: attachement field

* chore: file block

* chore: should use beforEach instead of beforAll

* chore: make e2e pass

* chore: only run map e2e

* Revert "chore: only run map e2e"

This reverts commit fbdae1a573.
2024-04-27 14:06:42 +08:00
chenos
6eac27d539
fix: vditor version (#4183) 2024-04-27 10:01:02 +08:00
katherinehhh
0a011841d5
refactor: form data template locale improve (#4188) 2024-04-26 21:06:09 +08:00
ChengLei Shao
71e8d07f15
test: add automated testing (#4098)
* test: string includes operator

* chore: operator test coverage

* chore: database utils test

* chore: acl test

* chore: no permission error

* chore: code

* fix: run coverage test

* chore: datasource test

* chore: datasource test

* chore: datasource test

* chore: datasource test

* chore: datasource test

* chore: datasource

* fix: build

* chore: plugin data source manager test

* chore: acl test

* chore: query interface test

* chore: ui schema storage test

* chore: save template test

* chore: ui schema insert position action

* chore: ignore migration

* chore: plugin acl test

* chore: ignore command in coverage

* chore: ignore

* chore: remove db2resource

* chore: ignore migration

* chore: ipc server test

* chore: database test

* chore: database api comments

* chore: value parser test

* chore: build

* chore: backup & restore test

* chore: plugin manager test

* chore: pm

* chore: pm ignore

* chore: skip migration

* chore: remove unused code

* fix: import

* chore: remove unused code

* chore: remove unused code

* fix: action test

* chore: data wrapping middleware

* fix: build

* fix: build

* fix: build

* test: fix T-4105

* chore: test

* fix: data-source-manager test

* fix: sql collection test

* fix: test

* fix: test

* fix: test

* fix: typo

* chore: datasource manager test

* chore: console.log

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-04-26 17:44:59 +08:00
chenos
c5811315aa fix: field-markdown-vditor version 2024-04-26 15:55:22 +08:00
ChengLei Shao
7849bbd889
chore: data source logger instance (#4181) 2024-04-26 15:53:57 +08:00
ChengLei Shao
2dc9622acc
chore: get database instance in relation repository (#4179) 2024-04-26 15:16:33 +08:00
Zeke Zhang
ccd2ade2aa
chore: add e2e for variables (#4152)
* chore: optimize e2e

* chore: test default value

* chore: data scope

* chore: test Assign field values

* chore: fix e2e

* refactor: extract

* chore: skip failed e2e

* chore: fix failed e2e

* chore: fix T-4133

* chore: fix e2e
2024-04-26 14:26:02 +08:00
Chareice
e3408c9ff1
chore: database debug logging 2024-04-26 10:52:35 +08:00
ChengLei Shao
12ba257cf6
chore: define collection debug message (#4176)
* chore: define collection debug message

* chore: safe debug log

* chore: safe debug log
2024-04-26 10:14:37 +08:00
ChengLei Shao
7748a33138
chore: unsupportedFields in view collection (#4155)
* chore: unsupportedFields in view collection

* refactor: view display unsupportedFields

* refactor: locale improve

* chore: test

* chore: test

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-26 10:11:47 +08:00
Sun668
4165d8baae
feat: add plugin-field-markdown-vditor (#4065)
* feat: create vditor field type, use Vditor as Markdown Editor

* feat: clear Markdown Vditor value when set props.value to null

* feat: add plugin-field-markdown-field to preset local plugin

* fix: fix the plugin-field-markdown-vditor name in preset

* fix: fix the plugin-field-markdown-vditor version in preset

* feat: set vditor disable if props.disable is true after init

* feat: use data from localstorage as vditor upload request headers

* fix: plugin-field-markdown-vditor version to 0.21.0-alpha.11

* feat: when fileCollection is not defined, remove upload from vditor toolbar

* feat: add temp function to reset vditor value

* fix: temp function to reset vditor value may include reset tag

* feat: update plugin-field-markdown-vditor i18n

* fix: i18n

* feat: temp disable fullscreen

* fix: remove useless file

* fix: plugin description

* fix: plugin description

* fix: plugin-field-markdown-vditor componentCls

* fix: plugin-field-markdown-vditadd default toobar config

* fix: use long text to save mardkwon

* fix: vditor fullscreen style

* feat: change vditor field datatype

* fix: code review

* fix: code review

* feat: change import method of katex in plugin-field-markdown-vditor

* fix: version

* fix: resize will cause blur

* fix: vditor base font-size

* fix: vditor base font-size

* feat: use style config from token as vditor base size

* fix: plugin-field-markdown-vditor i18n

* fix: toobar config tooltip can not be seen

* fix: vditor toobar default config

* feat: plugin-field-markdown-vditor doc url

* feat: move cursor to end when reset vditor value

* fix: value change will not set vditor

* feat: support getHeaders

* fix: improve component

* fix: enhance vditor init

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-26 08:42:01 +08:00
katherinehhh
3a0ade464a
fix: bulk edit form acl action error (#4166) 2024-04-25 20:14:37 +08:00
ChengLei Shao
6300ccae23
fix: auto create uuid foreign key in relation field (#4160)
* chore: test

* fix: auto create uuid foreign key in relation field
2024-04-25 19:06:15 +08:00
Junyi
f16add313d
fix(plugin-fm): fix confusing size limit hint (#4153) 2024-04-25 18:27:02 +08:00
YANG QIA
5da0d4e75b
fix(users): improve users:updateProfile (#4162)
* chore(users): improve `users:updateProfile`

* chore: use lodash.pick
2024-04-25 16:54:53 +08:00
chenos
b25db239a3
fix(client): get api url (#4161)
* fix(client): get api url

* fix: trim /
2024-04-25 16:30:46 +08:00
chenos
333fe8d8f4
feat: remove plugin-ui-routes-storage (#4140)
* feat: remove plugin-ui-routes-storage

* fix: skip test
2024-04-25 15:50:04 +08:00
jack zhang
b01d550a3c
fix: lock cytoscape version (#4158) 2024-04-25 14:13:57 +08:00
katherinehhh
2d66f4d44b
refactor: collection template support presetFieldsDisabled (#4159)
* refactor: collection template support presetFieldsDisabled

* refactor: code improve
2024-04-25 13:17:45 +08:00
katherinehhh
343b97de14
fix: grid schema (#4157) 2024-04-25 11:38:22 +08:00
Zeke Zhang
205984b812 chore: fix fialed e2e 2024-04-25 10:07:20 +08:00
chenos
6781f28fbf fix(pm): error retrieving .npmrc file path 2024-04-24 23:15:34 +08:00
jack zhang
229e5d1a40
client unit test (#4150)
* fix: add more unit test
2024-04-24 20:33:14 +08:00
ChengLei Shao
b65ee6a602
fix: update belongs to many association that target key is not primary key (#4146) 2024-04-24 14:58:39 +08:00
katherinehhh
5c7004ff43
refactor: form data template locale improve (#4148) 2024-04-24 14:31:46 +08:00
ChengLei Shao
f8067c6550
fix(database): column name in array field (#4110)
* fix: column name in array field

* chore: test

* fix: test

* fix: test

* fix: test
2024-04-24 12:39:15 +08:00
katherinehhh
e96e9aea6e
test: refresh on action e2e test (#4147) 2024-04-24 11:55:10 +08:00
chenos
d5ed2d5037
fix(custom-request): support configuring content type (#4144) 2024-04-23 21:43:45 +08:00
Zeke Zhang
fd4c9cb288
chore: deprecate the current record variable from the form (#4063)
* chore: remove the current record variable from the form

* chore: fix failed e2e

* refactor(VariableInput): support for setting the react node for label

* feat: support to show tooltip

* chore: stash

* chore: add translation

* chore: add translation

* chore: fix expresion

* test: add e2e for deprecated variables

* refactor: migrate file

* chore: make e2e pass

* chore: make e2e pass

* chore: make e2e pass

* chore: adjust

* chore: natch

* chore: revert match
2024-04-23 21:18:27 +08:00
Zeke Zhang
785cc525c4
feat(Theme): add some tokens (#4137)
* chore: use token better

* chore: use rgba

* feat: add some custom tokens

* Revert "chore: use rgba"

This reverts commit dac660f693.

* feat: adaptor tokens

* chore: adjust details

* chore: fix unit tests

* chore: remove box shadow from buttons in the upper right corner of the page

* fix: font size
2024-04-23 21:17:20 +08:00
Junyi
b0ba197915
fix(client): fix some warnings (#4143) 2024-04-23 21:12:37 +08:00
katherinehhh
90144e32ce
style: tableActionColumn style improve (#4138) 2024-04-23 19:50:44 +08:00
katherinehhh
7f1caf018f
fix: actionBar style improve (#4123) 2024-04-23 17:09:29 +08:00
ChengLei Shao
abeb14316c
chore: warning message if on delete conflict (#4141) 2024-04-23 14:13:21 +08:00
Junyi
8a2bcd9a74
fix(plugin-workflow-manual): allow pass node when no assignee (#4139) 2024-04-23 13:42:58 +08:00
chenos
05504b5678 chore(versions): 😊 publish v0.21.0-alpha.15 2024-04-23 11:18:20 +08:00
chenos
4b51a43786 fix(ui-schema-storage): allow uiSchemas:getParentJsonSchema 2024-04-23 09:02:51 +08:00
ChengLei Shao
320d4fef07
chore: datasource manager api (#4124)
* chore: datasource manager api

* chore: interface

* chore: api

* chore: datasource api
2024-04-22 22:23:41 +08:00
Junyi
3413c6c6d4
fix(plugin-workflow-manual): fix assignees parsing bug (#4125) 2024-04-22 17:00:16 +08:00
chenos
7e4ad0daae chore(versions): 😊 publish v0.21.0-alpha.14 2024-04-22 11:26:15 +08:00
ChengLei Shao
e8cf01a99d
fix: load association field in collection (#4122)
* fix: load association field in collection

* chore: test
2024-04-22 10:28:34 +08:00
Zeke Zhang
15325101d6
perf: remove all Skeleton animation (#4113)
* perf: remove Skeleton

* chore: add lazy render

* chore: remove all animation
2024-04-22 09:03:20 +08:00
Zeke Zhang
03cf42db9b
test: add e2e (#4121)
* test: connecting two blocks connected by a foreign key

* test: save as template, then delete it
2024-04-21 22:24:00 +08:00
Zeke Zhang
451bcca06f chore: add deprecated comment for CompatibleSchemaInitializer 2024-04-21 22:18:35 +08:00
YANG QIA
b12fe0981f
chore(data-vi): adjust api (#4116) 2024-04-21 21:14:26 +08:00
hongboji
c43a6e98d5
fix: scheduleEventTrigger (#4114)
* fix: scheduleEventTrigger

* fix: delete pro-plugins
2024-04-21 19:35:30 +08:00
Junyi
5bcaa9d11f
feat(plugin-workflow): add checker for intervally dispatching (#4119) 2024-04-21 14:23:13 +08:00
chenos
9b20b04e98 chore(versions): 😊 publish v0.21.0-alpha.13 2024-04-21 12:04:14 +08:00
Zeke Zhang
9fe1ecdf1e
feat: add filterOtherRecordsCollection for DataBlockInitializer (#4117) 2024-04-21 07:59:07 +08:00
Zeke Zhang
5f8e442a15
refactor: optimize CollectionField (#4111) 2024-04-21 07:58:45 +08:00
chenos
c26e43a34f feat(database): improve text field 2024-04-20 22:01:09 +08:00
chenos
65b1e7c5a5 test: add test case 2024-04-20 19:36:35 +08:00
chenos
8f829546c5
fix: improve sort field migration (#4112) 2024-04-20 19:18:44 +08:00
chenos
a8eb2b719c chore(versions): 😊 publish v0.21.0-alpha.12 2024-04-19 22:53:42 +08:00
chenos
7b9e5c2cde
fix: field component (#4102)
* fix: field component

* chore: fix e2e

* fix: optimize CollectionField

* fix: add test case

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 22:52:55 +08:00
katherinehhh
31c5ff6624
fix: association select support add mode (#4108) 2024-04-19 22:00:55 +08:00
ChengLei Shao
c8454ab006
fix: createdBy & updatedBy target option (#4109) 2024-04-19 21:06:33 +08:00
katherinehhh
2093bc0058
fix(linkage-rule): linkage rule support empty condiction (#4103)
* fix: linkage rule support empty condiction

* fix: linkage rule support empty condiction
2024-04-19 17:30:04 +08:00
chenos
0af40dfa3e
fix: add SanitizedCollectionProvider (#4100)
* fix: add SanitizedCollectionProvider

* fix: client unit test

* chore: add comment [skip ci]

---------

Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 17:19:07 +08:00
katherinehhh
d24c30a7f8
fix: tree collection target error (#4105) 2024-04-19 16:29:15 +08:00
chenos
1bacd00739
fix: add ClearCollectionFieldContext (#4101)
* fix: add ClearCollectionFieldContext

* chore: add comment

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 16:25:29 +08:00
chenos
cb91f7dbd4
feat: improve form block (#4099)
* feat: improve form block

* fix: remove RenderChildrenWithAssociationFilter

* fix: improve form block
2024-04-19 16:15:03 +08:00
chenos
3025c254e6 fix(nginx): remove api prefix 2024-04-19 12:26:18 +08:00
ChengLei Shao
252bb14ae4
chore: migrate sortable options to sort field (#4011)
* chore: migrate sortable options to sort field

* chore: association sortable field
2024-04-19 11:58:43 +08:00
ChengLei Shao
c460354b69
feat: support sort option in appends (#4056)
* feat: support sort option in append

* chore: build

* refactor: sub-table support setDefaultSortingRules

* refactor: sub-table support setDefaultSortingRules

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-19 09:08:46 +08:00
YANG QIA
067042ac3a
feat(data-vi): allows pie chart to accept negative numbers, fix T-4075 (#4094) 2024-04-18 23:44:14 +08:00
YANG QIA
2d9ed8d1ff
fix(data-vi): number becomes string after precision transformation (#4092) 2024-04-18 20:07:26 +08:00
chenos
78ea107edb
fix: encode url params (#4055) 2024-04-18 17:22:31 +08:00
Junyi
52d00aef58
test(plugin-workflow): add test case for duplicated triggering schedule workflow (#3817) 2024-04-18 17:15:14 +08:00
Zeke Zhang
ca29515bcd
perf(LinkageRules): solve lagging problems (#4090) 2024-04-18 16:52:34 +08:00
Zeke Zhang
8f17456d93
fix(subTable): should not display Allow add new data option (#4086)
* fix(subTable): should not display Allow add new data option

* chore: make e2e more stable
2024-04-18 15:07:59 +08:00
chenos
3445001540 fix: delete sock files before nocobase start 2024-04-18 14:25:05 +08:00
chenos
651af7d741
fix: missing fields (#4083)
* fix: missing fields

* fix: typo

* chore: add migration

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-04-18 12:23:44 +08:00
katherinehhh
a3795c2ec3
fix: table select pagination error (#4078) 2024-04-18 11:30:38 +08:00
katherinehhh
a88b32bc7a
fix: reset page when setting block data scope (#4081) 2024-04-18 09:06:12 +08:00
chenos
438a059c7b chore(versions): 😊 publish v0.21.0-alpha.11 2024-04-17 23:47:44 +08:00
chenos
fa8e890679 fix: getCurrentTimezone error 2024-04-17 21:16:51 +05:30
jack zhang
c9171a7117
fix: custom request role list (#4074)
* fix: custom request role list

* fix: custom request body users

* fix: support external data sources

* fix: record data

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-17 21:15:04 +05:30
chenos
27962ab283
fix: parse iso week (#4068)
* fix: parse iso week

* fix: error

* test: ci

* fix: ci test

* fix: --allowOnly

* fix: parse iso week
2024-04-17 19:52:52 +05:30
Zeke Zhang
ce6011dbc1
fix(sourceId): avoid error (#4077) 2024-04-17 21:34:05 +08:00
YANG QIA
946debc737
fix(sql-collection): can't select interface when setting fields (#4079) 2024-04-17 21:20:50 +08:00
ChengLei Shao
0291eb4ba4
fix: load with source field (#4075)
* test: belongs to a view collection

* fix: load with source field
2024-04-17 19:26:43 +08:00
katherinehhh
f808d99656
fix: deletion of operation linkage rules does not take effect in real time (#4058)
* fix: deletion of operation linkage rules does not take effect in real time

* fix: bug
2024-04-17 19:26:00 +08:00
Junyi
92b28fa411
fix(core): fix round bug in formula evaluator (#4070) 2024-04-17 18:40:26 +08:00
Zeke Zhang
ac45742e34
test: add e2e for data loading mode (#4069) 2024-04-17 18:32:05 +08:00
Zeke Zhang
0bebdfe150
fix(filterForm): avoid duplicate names (#4071) 2024-04-17 18:31:33 +08:00
Zeke Zhang
01f1440005
chore: optimize block title (#4040)
* chore: optimize block title

* chore: fix failed e2e
2024-04-17 16:48:31 +08:00
ChengLei Shao
164359171d
fix: sync default value in view (#4067) 2024-04-17 15:36:29 +08:00
Zeke Zhang
8bff5c32a7
fix(defaultValue): fix the issue of default values disappearing after refreshing the page (#4066)
* test: add e2e

* fix(defaultValue): fix the issue of default values disappearing after refreshing the page
2024-04-17 14:07:26 +08:00
katherinehhh
d25670f29f
refactor: gantt block (#4059)
* refactor: gantt block

* style: style improve

* fix: bug

* fix: bug
2024-04-17 11:21:03 +08:00
katherinehhh
6a0777397a
fix: sub-table big field should support variable default value (#4062) 2024-04-17 10:50:07 +08:00
Zeke Zhang
39f8bd529a
chore(Theme): set the default font size of the Compact theme to 16 (#4064)
* chore(Theme): set the default font size of the Compact theme to 16

* chore: compact dark
2024-04-17 10:49:22 +08:00
Zeke Zhang
a9407b3a49
test: add e2e for actions (#4053)
* test: add e2e for bulk delete

* chore: add e2e for Secondary confirmation
2024-04-17 08:31:39 +08:00
chenos
d76d657622 chore(versions): 😊 publish v0.21.0-alpha.10 2024-04-16 23:51:49 +08:00
YANG QIA
9b0c22fda9
chore: adjust import & export warnings (#4060)
* chore: adjust import & export warnings

* fix: add limit

* chore: adjust warnings
2024-04-16 23:51:03 +08:00
chenos
64e12bb08b chore(versions): 😊 publish v0.21.0-alpha.9 2024-04-16 22:53:12 +08:00
Zeke Zhang
3d857d2e69
fix(variable): missing variables and invalid translations (#4054)
* fix(variable):  missing variables and invalid translations

* refactor: better

* fix: should display current record variable

* fix: template

* chore: add deps

* chore: add e2e for table view

* fix: current record variable

* chore: avoid error

* fix: bugs

* chore: fix failed e2e

* chore: fix e2e

* fix: colection name
2024-04-16 22:50:52 +08:00
YANG QIA
8b88b29b5e
test: add backend unit tests (#4000)
* test: add backend unit tests

* test: cas

* test: oidc & saml

* test: sql collection

* fix: test files

* test: data-visualization

* test: localization

* fix: test
2024-04-16 17:56:48 +08:00
jack zhang
769de9a69e
fix: improve card item (#4036)
* fix: add block card item(T-4026 and T-4022)

* fix: bug
2024-04-16 09:14:51 +08:00
chenos
8c779b4cf6 chore(versions): 😊 publish v0.21.0-alpha.8 2024-04-16 00:26:13 +08:00
ChengLei Shao
57449bb2df
chore(acl): disable register association fields actions (#4014)
* chore: disable register association fields actions

* chore: test

* chore: association field acl

* fix: snippet test

* fix: pm.data-source-manager

* fix: acl roles snippets

* chore: update snippet migration

* fix: bug (#4035)

Co-authored-by: katherinehhh <katherine_15995@163.com>

* fix: save role strategy

* fix: x-acl-action

* fix: acl snippet

* fix: bug

* fix: graph

* fix: association permission

* chore: data source manager snippet

* fix: test

* chore: test

* test: e2e test

* fix: undefined list

* fix: useApp

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-16 00:25:35 +08:00
Zeke Zhang
fe4be822b9 feat: add to more blocks 2024-04-15 19:46:13 +08:00
Zeke Zhang
b43bf22afc
fix(variable): fix parent record variable reporting errors in data scope (#4039) 2024-04-15 17:51:06 +08:00
Zeke Zhang
0ed17af122
test(e2e): add assertions on field values (#4034)
* chore: optimize e2e

* test(e2e): add assertions on field values

* chore: fix e2e
2024-04-15 17:50:18 +08:00
Zeke Zhang
0274e65cec
feat(Variable): add a new variable (#4025)
* feat: add DeclareVariable

* feat: add a new variable

* test: add e2e

* fix: current form variable

* chore: rename '弹窗记录' to 'Current popup record'

* fix(Details): fix data scope error

* fix(Calendar): fix data scope

* fix: varaible's data souce

* fix: data souce
2024-04-15 14:50:38 +08:00
chenos
31d68f91e8
feat: run e2e with pro plugins (#3890)
* feat: run e2e with pro plugins

* fix: name

* chore: fix typo

* fix: make e2e pass

* chore: only run pro e2e

* Revert "chore: only run pro e2e"

This reverts commit 9beff480c1.

* chore: increase timeout

* feat: support to set maxDepth

* chore: set default maxDepth to 1

* chore: fix e2e to make pass

* chore: add test for BlockSchemaToolbar

* chore: split files to avoid slowing down testing

* chore: make e2e more stable

* chore: make e2e more stable

* refactor: e2e

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-15 12:40:53 +08:00
jack zhang
2a4c356bc2
fix: bug (#4038) 2024-04-15 11:56:12 +08:00
ChengLei Shao
ad75debeaa
fix: array operator with camel case field (#4032)
* fix: array operator with camel case field

* fix: test

* fix: test
2024-04-14 10:51:14 +08:00
Chareice
ed26c2ebea
fix: vitest config 2024-04-13 20:45:12 +08:00
Zeke Zhang
a00f4ac69b test: fix e2e to make pass 2024-04-13 12:53:25 +08:00
xilesun
d66c2baa53 chore(versions): 😊 publish v0.21.0-alpha.7 2024-04-13 09:37:59 +08:00
katherinehhh
3fd5b05940
fix: scopeKeyOptions should be obtained in real-time (#4029)
* fix: formula field caluation error

* fix: scopeKeyOptions

* fix: bug

* fix: bug
2024-04-13 09:28:24 +08:00
Zeke Zhang
f36bc41a11
fix(addText): should use FormItemSchemaToolbar instead of BlockSchema… (#3963)
* fix(addText): should use FormItemSchemaToolbar instead of BlockSchemaToolbar

* chore: unskip

* fix: add component Slider
2024-04-13 09:14:46 +08:00
ChengLei Shao
7f936832b9
feat: register once hook in datasource manager (#4024)
* chore: datasource hook

* feat: register once hook in datasource manager

* chore: api name

* chore: test
2024-04-13 08:24:10 +08:00
xilesun
1f0acfc2a3 fix(data-vi): set default bordered as false 2024-04-12 22:49:00 +08:00
ChengLei Shao
0fcef2f837
fix: snippets (#4030) 2024-04-12 22:40:06 +08:00
jack zhang
1fad32db80
fix: vitest single bug (#4031) 2024-04-12 22:22:16 +08:00
YANG QIA
91fdd84ea1
feat(data-vi): improved user experiences (refer to pr) (#4013)
* feat(data-vi): improved user experiences (refer to pr)

* feat: enhance transformers

* fix: transformer

* fix: test

* fix: tooltips

* feat: add format

* chore: add locales and tip
2024-04-12 22:21:15 +08:00
jack zhang
91254bdf55
test: add frontend unit test (#3991)
* test: add unit test

* fix: build error

* fix: exclude requirejs

* fix: e2e bug

* fix: block delete refresh(T-3936)

* fix: add test utils

* fix: build bug

* fix: remove test only

* fix: kanban bug

* fix: add more unit tests

* fix: coverage bug

* fix: update

* fix: refactor

* fix: add more tests

* fix: unit test bug

* fix: refactor code

* fix: refactor nocobase test

* test: add test case

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-12 21:55:37 +08:00
Zeke Zhang
17793c2ab9
feat: support Others option in popup (#4015)
* feat: support Others option in popup

* chore: hide Other records in popup for edit form

* chore: rename 'Others' to 'Other records'

* fix: in other records, the data table does not need to filter itself

* feat: optimize title for association block

* fix: template

* fix: block title

* chore: fix e2e

* fix: should use compile

* fix: remove useVisible

* test: add e2e
2024-04-12 19:14:18 +08:00
katherinehhh
1658415402
fix(collection-manager): no refresh after override the field (#4022)
* refactor: code improve

* fix: bug
2024-04-12 17:57:38 +08:00
YANG QIA
a18dab363a
chore: add export & import warnings (#4027)
* chore: add export & import warnings

* chore: update
2024-04-12 16:22:18 +08:00
katherinehhh
bfbec4c004
refactor: third party data source support sort field grouped sorting edit (#4023)
* fix: formula field caluation error

* refactor: third party data souce support sort field grouped sorting configure
2024-04-12 16:09:05 +08:00
ChengLei Shao
2a31de8ce6
fix(plugin-acl): pm.acl.roles snippet (#4026) 2024-04-12 16:03:09 +08:00
katherinehhh
d4b4391aba
test: association name block e2e test (#4021)
* fix: initializer use useAassociationName

* test: association table block e2e test
2024-04-12 00:24:06 +08:00
chenos
e1533ec800
fix: get api url (#4020) 2024-04-11 23:02:34 +08:00
Zeke Zhang
beab81818f
fix(Sub-details): the initializer button is not displayed when the field value is empty (#4019)
* test: add e2e

* fix: remove return
2024-04-11 23:02:04 +08:00
katherinehhh
0f0ccfa9da
fix: initializer use useAassociationName (#4018) 2024-04-11 21:56:34 +08:00
chenos
3b6e7929b6 fix: api base url 2024-04-11 21:29:27 +08:00
Chiming
0cb7820f6f
fix(auth): cas login bug when use subdirectory deployment (#4017)
Co-authored-by: ChimingLiu <chinmingcock@gmail.com>
2024-04-11 20:42:20 +08:00
Zeke Zhang
fa815aeb3c
fix(TreeTable): add child error (#4008)
* fix(TreeTable): add new error

* test: add e2e for T-3235

* fix: parentId
2024-04-11 17:25:46 +08:00
katherinehhh
6d7ecba59e
fix: remove active field should not clear value (#4012)
* fix: remove active field

* fix: fix field value submission on field removal

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-11 17:23:31 +08:00
ChengLei Shao
fd2becd650
fix(plugin-acl): datasource roles snippet (#4016) 2024-04-11 15:41:24 +08:00
katherinehhh
4c3dc89f66
fix: after selecting all, bulk update prompts for unselected data (#4010) 2024-04-11 14:56:37 +08:00
katherinehhh
82df150c30
refactor: tree table is not enabled by default (#4001)
* refactor: table block do not enable trees by default

* fix: bug

* fix: bug

* fix: bug
2024-04-11 14:10:30 +08:00
Junyi
de935d54b6
feat(plugin-workflow-action-trigger): support association actions to trigger (#4007) 2024-04-11 10:57:14 +08:00
s1v
699fd52b8e
Update application.ts (#4006)
The runAsCLI function's options argument is an optional argument. However, there were instances where it was being treated as a regular argument, which was causing errors. I have changed it to be nullable.
2024-04-11 00:18:30 +08:00
katherinehhh
89ad13de29
fix: tag filed setting (#4009)
* fix: tag filed setting

* fix: tag filed setting
2024-04-10 21:51:07 +08:00
YANG QIA
127e2b332b
fix(users): remove phone validation due to incorrect check of foreign phone numebrs (#4005) 2024-04-10 17:14:44 +08:00
katherinehhh
ca49cc9dbd
fix: association block action permission verification failed (#3994)
* fix: association block action permission verification failed

* test: association block action permission test

* fix: useDataBlockProps

* fix: useDataBlockProps

* fix: useResourceName

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-10 16:38:37 +08:00
katherinehhh
e9f0e32a26
refactor: fields for table sorting cannot select sorting fields with scopekey (#3984)
* refactor: fields for table sorting cannot select sorting fields with scopeke y

* refactor: sort field

* refactor: sort field
2024-04-10 16:37:18 +08:00
Zeke Zhang
b7fc50e47e
fix(Form): invalid parentRecord (#3998)
* test: add e2e

* fix(Form): invalid parentRecord

* chore: make e2e more stable

* chore: make e2e more stable

* test: fix e2e
2024-04-10 15:22:34 +08:00
Junyi
a38ce654af
fix(plugin-workflow): adjust locale (#3993) 2024-04-10 15:20:43 +08:00
katherinehhh
7b2e042598
fix: sub -table support allowSelectExistingRecord setting (#4004) 2024-04-10 15:07:48 +08:00
Zeke Zhang
3dcbdf3592 test: fix e2e 2024-04-10 12:30:54 +08:00
YANG QIA
f12952de1f
fix(auth): sign up page not found when entering with url directly (#4002) 2024-04-10 11:08:08 +08:00
ChengLei Shao
0bb5d5f5ee
chore(database): set null value when field is unique and value is empty string (#3997)
* chore(database): set null value when field is unique and value is empty string

* fix: build
2024-04-10 08:49:19 +08:00
ChengLei Shao
6595fde713
chore(gateway): report error with cause message (#3999) 2024-04-09 22:43:12 +08:00
ChengLei Shao
320005843a
chore(error-handler): display message cause the error (#3996) 2024-04-09 19:52:08 +08:00
ChengLei Shao
1e0501cd96
fix: restore with table name in camel case (#3995) 2024-04-09 19:10:29 +08:00
Junyi
773b7aef52
refactor(plugin-workflow): adjust comments (#3990) 2024-04-09 17:29:11 +08:00
katherinehhh
8eee6756d4
fix: gantt collapse & expand (#3982) 2024-04-09 16:37:02 +08:00
Zeke Zhang
de7b75fea7
fix(BulkForm): should be required when switching to 'Changed to' (#3965)
* fix(BulkForm): should be required when switching to 'Changed to'

* fix: clear error on value is empty

* chore: optimize unit test log
2024-04-09 16:07:14 +08:00
Zeke Zhang
71366e3dea chore: update docs of Theme editor 2024-04-09 14:57:40 +08:00
chenos
dc8dbdd1cb
fix: move action (#3985) 2024-04-09 13:07:41 +08:00
katherinehhh
771fdf48fc
refactor: sort field should not has defaultValue (#3986) 2024-04-09 12:25:06 +08:00
YANG QIA
19f905d34c
chore: update class names of plugins (#3981)
* chore: update class names of plugins

* fix: build

* chore: add back sample-hello

* fix: test
2024-04-09 12:12:24 +08:00
Junyi
b69b0caab5
feat(plugin-workflow-sync): add sync when multi-app-share-collection enabled (#3969) 2024-04-09 07:34:38 +08:00
YANG QIA
a82e8a1ed6
fix(localization): incorrect locale when first entering (#3968) 2024-04-08 21:47:45 +08:00
YANG QIA
d46dc75125
chore: adjust and add api comments (#3951) 2024-04-08 19:43:00 +08:00
Zeke Zhang
cceb326239 chore: skip failed test 2024-04-08 19:07:32 +08:00
katherinehhh
bbdfad4ea3
refactor: select options configuration (#3964) 2024-04-08 17:40:59 +08:00
Zeke Zhang
ce0f4ddf04
fix(GridCard): set the count of columns displayed in a row (#3960)
* fix(GridCard): set the count of columns displayed in a row

* test: add e2e

* chore: fix e2e
2024-04-08 15:23:52 +08:00
katherinehhh
c735664ea9
refactor: only numerical formula fields support format (#3962) 2024-04-08 14:30:50 +08:00
Junyi
9f72b4e1ef
chore(plugin-workflow): add comments (#3959) 2024-04-08 12:18:08 +08:00
Junyi
d14f8d23d7
chore: remove legacy formula plugins (#3939)
* chore: remove legacy formula plugins

* fix(plugin-formula-field): fix readme
2024-04-08 08:44:10 +08:00
chenos
6017c01f02 chore(versions): 😊 publish v0.21.0-alpha.6 2024-04-07 21:52:45 +08:00
Zeke Zhang
ef53f4abca
fix(LinkageRules): should be effective immediately (#3958)
* test: add e2e

* fix: fix bug
2024-04-07 19:49:43 +08:00
Zeke Zhang
286ddb6b38
fix(Picker): should display Allow add new data option (#3957) 2024-04-07 19:36:42 +08:00
Zeke Zhang
d75db22777
fix(connect-data-blocks): should immediately show in the drop-down menu (#3953)
* test: add e2e tests

* fix: should immediately show in the drop-down menu

* fix: should not lose the filtering function when dragging and connecting
2024-04-07 17:21:26 +08:00
jack zhang
606ef55db8
fix: left menu title modify (#3956) 2024-04-07 16:14:02 +08:00
jack zhang
89b73ba389
fix: template list provider bug (#3950) 2024-04-07 14:29:20 +08:00
katherinehhh
e81cfcbe98
refactor: nanoid &uuid autoFill (#3955) 2024-04-07 13:55:21 +08:00
ChengLei Shao
dfcf7671d3
feat: getParentJsonSchema in ui schema repository (#3690)
* feat: getParentJsonSchema in ui schema repository

* chore: ui schema snippet

* chore: method name

* chore: test

* chore: test

* fix: getParentProperty

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-07 13:14:48 +08:00
ChengLei Shao
ac1e07ff52
fix: save uuid & nano id field value with sequelize validation (#3952) 2024-04-07 12:10:42 +08:00
Chareice
0bb421ac40
chore: report error if collection not found 2024-04-07 12:09:51 +08:00
chenos
b63a685f84 chore(versions): 😊 publish v0.21.0-alpha.5 2024-04-07 11:06:02 +08:00
chenos
099316fa8d fix(client): can not find bignumber.js module 2024-04-07 11:05:46 +08:00
katherinehhh
04b6d79dcb
fix: throughCollection support fuzzy search (#3949) 2024-04-07 09:53:53 +08:00
chenos
31713390b5 chore(versions): 😊 publish v0.21.0-alpha.4 2024-04-07 08:33:05 +08:00
chenos
04762f4028
fix: getSourceKeyByAssocation (#3947)
* fix: getSourceKeyByAssocation

* fix: getSourceKeyByAssocation
2024-04-07 08:28:42 +08:00
Zeke Zhang
f1f9f3ec28
fix(RichText): unify style (#3946) 2024-04-06 19:41:52 +08:00
Zeke Zhang
10ad3f16fd
fix(connectDataBlocks): should add FilterBlockProvider to Grid (#3944)
* fix(connectDataBlocks): should add FilterBlockProvider to Grid

* chore: fix unit test
2024-04-06 18:57:32 +08:00
Zeke Zhang
1bcfc5bb8e
chore: add appVersion to Schema (#3936)
* chore: add appVersion to Schema

* refactor: rename appVersion to x-app-version

* fix: should not override existing x-app-version

* chore: fix build
2024-04-06 17:26:54 +08:00
katherinehhh
de5bd5aae7
fix: collectionFieldInterfaceSelect (#3945)
* fix: formula field caluation error

* fix: collection manager primarykey

* fix: nanoid & uuid suport index

* fix: collectionFieldInterfaceSelect
2024-04-06 17:20:51 +08:00
Zeke Zhang
aae936aa01
fix: fix sourceId of templates (#3941)
* chore: add sourceId

* chore: add e2e

* fix: fix sourceId of templates

* chore: add e2e for Form

* chore: make e2e more stable

* test: skip test
2024-04-06 17:14:30 +08:00
katherinehhh
bd6ffcef83
fix(collection manager): collection manager primarykey & nanoid & uuid suport index setting (#3943)
* fix: formula field caluation error

* fix: collection manager primarykey

* fix: nanoid & uuid suport index
2024-04-06 16:26:24 +08:00
Junyi
a08e96adae
fix(plugin-formula-field): fix component context (#3937) 2024-04-06 15:30:21 +08:00
chenos
d2b808671b chore(versions): 😊 publish v0.21.0-alpha.3 2024-04-06 13:04:57 +08:00
katherinehhh
2a41573bd7
fix: nanoid availableTypes (#3942) 2024-04-06 12:31:10 +08:00
katherinehhh
c7c61e005f
fix: automatically generate default values (#3940) 2024-04-06 11:07:29 +08:00
katherinehhh
cca2987511
fix: formula field caluation error (#3938)
* fix: formula field caluation error

* fix: bug
2024-04-06 10:56:25 +08:00
katherinehhh
d8e969b9ae
fix: formula field support format (#3928) 2024-04-06 08:15:22 +08:00
Zeke Zhang
b750cab942
refactor: unify tab initailizer naming (#3932)
* refactor: rename dialog to popup

* feat: add tabPaneInitializers

* refactor: rename TabPaneInitializers to popup:addTab

* refactor: rename TabPaneInitializersForCreateFormBlock to popup:addTab

* refactor: rename TabPaneInitializersForBulkEditFormBlock to popup:addTab

* chore: fix unit tests

* chore: fix e2e
2024-04-05 23:19:09 +08:00
Zeke Zhang
385ac5a488
fix: add zIndex to Lightbox overlay style (#3934) 2024-04-05 21:57:39 +08:00
Zeke Zhang
2d0482449d
fix(Table): fix the problem that the content of the association field is not displayed (#3930)
* test: add e2e test

* fix(Table): fix the problem that the content of the association field is not displayed

* fix(Calendar): avoid infinite loops
2024-04-05 16:02:25 +08:00
Junyi
781d7c038e
fix(evaluators): fix array flatten (#3931) 2024-04-05 12:41:43 +08:00
katherinehhh
a4cbec293d
refactor: main data source view collection support filterTargetKey (#3818) 2024-04-05 12:11:51 +08:00
katherinehhh
aa96a16d1d
fix: formula field calculation error (#3929)
* fix: formula field calculation error

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* test: foumula e2e test
2024-04-05 09:52:08 +08:00
ChengLei Shao
4ac2875d51
fix: load view collection belongs to association with source options (#3912)
* chore: view collection belongs to source field test

* chore: test

* fix: load field with source attribute

* chore: test
2024-04-05 09:49:23 +08:00
katherinehhh
e7187e536d
fix: edit form unchanged should not appear unSaveed warning when cloas modal (#3920) 2024-04-04 22:42:05 +08:00
Zeke Zhang
59c1aea942
fix(Collapse): fix error for chinaRegions (#3925)
* fix: fix error for chinaRegions

* fix: collapse
2024-04-04 14:47:09 +08:00
katherinehhh
4006b17a53
fix: number display format (#3924) 2024-04-04 10:32:15 +08:00
Zeke Zhang
e0521170d1
fix(defaultValue): should immediate effect when set default value (#3923) 2024-04-04 09:50:46 +08:00
katherinehhh
6e5a2c81b3
feat: action support refreshDataBlockRequest configuration (#3882)
* feat: action support refreshDataBlockRequest configuration

* feat: refreshDataBlockRequest

* fix: block templates

* fix: bug

* fix: bug

* refactor: submitted

* fix: bug

* fix: bug

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-04 09:30:13 +08:00
katherinehhh
fcd2b766cf
refactor: formBlockProvider & detailBlockProvider (#3898)
* refactor: formBlockProvider

* refactor: detailBlockProvider

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve
2024-04-04 09:29:09 +08:00
YANG QIA
b111f827ed
feat(data-vi): allows to add charts for mobile client (#3922)
* feat(data-vi): allows to add charts for mobile client

* fix: remove foreign keys
2024-04-04 00:06:30 +08:00
chenos
d173aef69b chore(versions): 😊 publish v0.21.0-alpha.2 2024-04-03 23:31:25 +08:00
chenos
daec9aec98 fix: nginx static file caching 2024-04-03 23:30:03 +08:00
Zeke Zhang
2f40bfab2b
chore: add API comments (#3919)
* chore: add API comments

* refactor: rename
2024-04-03 23:19:54 +08:00
Zeke Zhang
0a64855bfe
fix: fix Pagination (#3921) 2024-04-03 23:18:19 +08:00
Junyi
1ec5c1c9c2
test(plugin-error-handler): middleware (#3909)
* test(plugin-error-handler-middleware): add test case

* chore: test

* chore: handle error throw via ctx.throw

---------

Co-authored-by: Chareice <chareice@live.com>
2024-04-03 22:26:35 +08:00
chenos
187a587e68
fix: update plugin (#3895) 2024-04-03 21:15:28 +08:00
katherinehhh
fc503321ae
fix: gantt block pagination (#3918)
* fix: gantt block  pagination

* fix: gantt block  pagination
2024-04-03 20:48:51 +08:00
chenos
2be065984c
fix: source id null (#3917)
* fix: source id null

* refactor: use parentRecord instead of sourceId

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 20:41:23 +08:00
Zeke Zhang
fb43a3b479
fix(Table): fix Pagination (#3916)
* fix(Table): fix Pagination

* test: add e2e
2024-04-03 19:26:39 +08:00
Zeke Zhang
768dfc624a
fix: get the correct sourceId (#3897)
* fix(withDynamicSchemaProps): replace recursive merge with simple merge

* refactor: add useDetailsByAssociationRecordDecoratorProps

* chore: update comment

* fix: get the correct sourceId

* test: add e2e

* refactor: extract to template

* refactor: add x-is-current

* refactor: optimize code

* Revert "refactor: optimize code"

This reverts commit b2b03c3c0c.

* refactor: add useSourceIdCommon hook and update usage in multiple files

* fix(EditForm): refactor form block sourceId logic

* chore: add test for form block

* chore: update comment

* fix: fix filterKey assignment in useParentRequest function

* refactor: refactor useParentRequest function to use fieldCollection for filterTargetKey

* refactor: extract to useSourceKey

* refactor: optimize code
2024-04-03 16:36:20 +08:00
Zeke Zhang
ac655f6866
fix(DataScope): fix no immediate effect issue after saving (#3910)
* fix(DataScope): fix immediate effect issue after saving

* test: add e2e

* refactor: extract to template
2024-04-03 16:17:18 +08:00
katherinehhh
953d9b2e6e
fix: select field options initialValue (#3911) 2024-04-03 16:02:12 +08:00
jack zhang
0fc1d96a48
fix: external link click (#3908) 2024-04-03 15:56:13 +08:00
katherinehhh
986dc85392
fix(inputNumber): loss of accuracy in inputNumber (#3902)
* fix: inputNumber loss of accuracy

* fix: bug

* test: fix test

* fix: test

* fix: test
2024-04-03 15:47:36 +08:00
Junyi
0544b8df45
feat(plugin-workflow-action-trigger): add global action events (#3883)
* feat(plugin-workflow-action-trigger): add global action events

* feat(plugin-workflow): refine trigger select component style

* fix(plugin-workflow-action-trigger): fix unexpected triggering on any action

* fix(plugin-workflow-action-trigger): fix global check logic

* fix(plugin-workflow): adjust workflow type select style

* refactor(plugin-workflow): adjust triggers description

* fix(plugin-workflow): adjust events descriptions

* fix(plugin-workflow): fix locale

* fix(plugin-workflow-action-trigger): fix workflow filter rule in binding configuration

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix binding filter condition

* fix(plugin-workflow-action-trigger): fix locale

* fix: trigger type locator

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-04-03 15:39:56 +08:00