Commit Graph

1642 Commits

Author SHA1 Message Date
Zeke Zhang
df0d3ddee3
perf(e2e): reduce e2e runtime (#4280)
* chore: reuse page instance

* refactor: optimize

* chore: revert

* chore: ignore workflows

* chore: upgrade playwright to 1.44.0

* chore: fix failed tests

* refactor: optimize e2eUtils

* chore: make tests pass

* chore: optimize workflow for e2e

* chore: fix fialed tests

* chore: optimize workflows

* chore: optimize

* chore: fix path

* chore: fix

* chore: test

* chore: fix

* chore: test

* chore: test

* chore: add bot for e2e

* chore: wait to revert

* chore: wait to revert

* chore: fix

* chore: fix

* chore: fix bot

* chore: test

* chore: ignore pro-plugins on PR author is not member

* chore: optimize

* chore: test

* chore: test

* chore: test bot

* chore: remove title link

* chore: fix

* chore: fix error and cache yarn

* chore: optimize md

* chore: add new workflows
2024-05-10 20:51:11 +08:00
jack zhang
1d9448a759
refactor: export AuthenticatorsContextProvider and add client.d.ts (#4311) 2024-05-10 16:55:35 +08:00
hongboji
98e5964de9
test: optimal calculationNode e2e (#4310) 2024-05-10 13:56:16 +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
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
hongboji
3c8c5813de
test conditionNode e2e (#4295)
* test conditionNode e2e

* test: conditionNode e2e

* test: conditionnode e2e
2024-05-09 13:42:14 +08:00
Junyi
e67fe2038f
feat(client): add hidden option to interface (#4279) 2024-05-09 10:35:53 +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
Zeke Zhang
8de00afd12 chore: skip unstable test 2024-05-08 20:12:43 +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
chenos
a2d8870fdf chore(versions): 😊 publish v1.0.0-alpha.6 2024-05-07 16:49:53 +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
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
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
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
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
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
chenos
b7fb765fca chore(versions): 😊 publish v1.0.0-alpha.2 2024-04-29 13:00:44 +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
0541ee36e6 fix(vditor): wait seconds 120s 2024-04-28 12:35:43 +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
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
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
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
ChengLei Shao
7849bbd889
chore: data source logger instance (#4181) 2024-04-26 15:53:57 +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
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
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
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
katherinehhh
2d66f4d44b
refactor: collection template support presetFieldsDisabled (#4159)
* refactor: collection template support presetFieldsDisabled

* refactor: code improve
2024-04-25 13:17:45 +08:00
jack zhang
229e5d1a40
client unit test (#4150)
* fix: add more unit test
2024-04-24 20:33:14 +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
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
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
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
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
ChengLei Shao
c8454ab006
fix: createdBy & updatedBy target option (#4109) 2024-04-19 21:06:33 +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
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
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
Junyi
52d00aef58
test(plugin-workflow): add test case for duplicated triggering schedule workflow (#3817) 2024-04-18 17:15:14 +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
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
chenos
438a059c7b chore(versions): 😊 publish v0.21.0-alpha.11 2024-04-17 23:47:44 +08:00
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
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
ChengLei Shao
164359171d
fix: sync default value in view (#4067) 2024-04-17 15:36:29 +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
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
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
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
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
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
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
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
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
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
Junyi
a38ce654af
fix(plugin-workflow): adjust locale (#3993) 2024-04-10 15:20:43 +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
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
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
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
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
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
31713390b5 chore(versions): 😊 publish v0.21.0-alpha.4 2024-04-07 08:33:05 +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
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
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
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
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
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
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
Zeke Zhang
2f40bfab2b
chore: add API comments (#3919)
* chore: add API comments

* refactor: rename
2024-04-03 23:19:54 +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
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
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
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
YANG QIA
d23f3a3999
docs: add api comment (#3868)
* docs: add api comment

* chore: update

* fix: build
2024-04-03 12:30:33 +08:00
ChengLei Shao
c22fc6f5d4
fix: list data undefined error (#3905)
* fix: list data undefined error

* chore: typo
2024-04-03 09:17:20 +08:00
jack zhang
cc75f6f4d2
fix: lazy render bug (#3886)
* fix: lazy render bug
---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 09:13:45 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props (#3853)
* refactor: update TableV2 component props

* refactor: update Action component

* refactor: update Filter.Action

* refactor: update FormV2

* refactor: update TableV2.Selector

* refactor: update Details

* refactor: update Action.Link

* refactor: about acl

* refactor: useCustomizeUpdateActionProps

* refactor: update decrator FormV2

* refactor(plugin-data-visualization): useProps to x-use-component-props

* refactor: update Pagination

* refactor: update CalendarV2

* refactor: update TitleField

* refactor: useProps

* refactor: update AssociationFilter.Item

* feat(withDynamicSchemaProps): support function useComponentPropsStr

* refactor: update FormDataTemplates

* chore: fix unit tests

* chore: fix e2e

* refactor: update

* feat(withDynamicSchemaProps): support to use dot

* refactor: update

* refactor: update

* chore: avoid error
2024-04-02 21:38:40 +08:00
katherinehhh
a60aa65da6
fix: history block add print button, click print button to report error (#3900) 2024-04-02 14:18:47 +08:00
ChengLei Shao
ba76c77212
chore: return bigInt as string type (#3887)
* chore: test

* chore: return bigInt as string

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: postgres BIGINT parser

* chore: test
2024-04-01 22:08:10 +08:00
YANG QIA
aeb87a8e28
feat(data-vi): data scope for chart filter fields (#3894)
* feat(data-vi): data scope for chart filter fields

* fix: filter foreign keys
2024-04-01 20:25:34 +08:00
Zeke Zhang
80caec7050
feat: adjust menu of add new (#3884)
* feat: adjust menu of add new

* fix: fix known bugs

* fix: fix known bugs

* chore: fix e2e

* chore: rename

* chore: add translation

* chore: add translation

* chore: make test more stable

* test: add e2e

* refactor: extract templates

* chore: make e2e more stable
2024-04-01 17:14:19 +08:00
Zeke Zhang
f120249b41
fix(plugin-custom-request): fix edit button dialog (#3893)
* test: add e2e

* fix(plugin-custom-request): fix edit button dialog
2024-04-01 16:43:52 +08:00
jack zhang
88b317f937
fix: deps check error when dev add production plugin (#3848)
* fix: deps check error when dev add production plugin

* fix: bug
2024-04-01 14:18:00 +08:00
ChengLei Shao
79f14d9024
chore: main datasource api (#3880)
* chore: main datasource api

* chore: test

* chore: console.log

* chore: middleware order

* chore: test

* chore: middleware order

* chore: test

* chore: middleware options
2024-03-31 16:22:45 +08:00
ChengLei Shao
6bbaea2946
feat: run vitest with coverage (#3802)
* chore: vitest coverage

* chore: vitest coverage config

* chore: vitest coverage config

* chore: vitest coverage config

* chore: report storage dir

* chore: exclude lib dir

* chore: coverage report dir

* fix: client and server coverage

* fix: bug

* fix: coverage storage dir

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-31 10:07:18 +08:00
YANG QIA
198a969bba
fix(data-vi): dual axes chart displays abnormally (#3881) 2024-03-30 22:24:42 +08:00
ChengLei Shao
89733247bd
fix: reject update when filter is empty object (#3777)
* fix: reject update when filter is empty object

* chore: valid filter when destroy data

* fix: test

* refactor(utils): move isValidFilter to utils

* chore: test

* chore: test

* chore: test

* fix(plugin-workflow-manual): fix test case

* fix(plugin-workflow-manual): add filter check for update form in manual node

* chore: validate filter params as middleware

* chore: action filter validate in data-source-manager

* chore: acl filter params validate test

* chore: move validate filter params middleware into core

* Update nocobase-test-e2e.yml

* chore: only run workflow's tests

* chore: only run workflow's tests

* fix: updateRecordForm

* Revert "chore: only run workflow's tests"

This reverts commit 64ce124171.

* Revert "chore: only run workflow's tests"

This reverts commit b9057b35ec.

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-03-30 21:50:54 +08:00
ChengLei Shao
b1aa6cff5e
chore: update field with primary key attribute (#3852)
* chore: update field with primary key attribute

* chore: test

* fix: build

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* fix: test

* fix: test

* fix: test

* chore: unique index name

* fix: test

* chore: test
2024-03-30 21:24:06 +08:00
jack zhang
8a1345a5b8
feat: table performance (#3791)
* fix: table add useMemo and useCallback

* fix: memo bug

* fix: sub table bug

* fix: form item performance

* fix: settings center performance impove

* fix: bug

* fix: bug

* fix: form first value change check performance

* fix: revert first form change

* fix: css move out component

* fix: page change table should not render

* fix: pre process merge bug

* fix: assotion bug

* fix: input and useDeppMemoized performance

* fix: bug

* fix: bug

* fix: improve Action.tsx lazy show content

* fix: remove Action performance imporve

* fix: assocication read pretty not loading

* fix: cssInJs imporve

* fix: imporve kanban rerender

* fix: remove useless CurrentAppInfoProvider in plugin

* fix: divide the schema into several parts

* fix: tabs.tsx and Page.tsx divide

* fix: form-item imporve

* fix: add OverrideSchemaComponentRefresher

* fix: page and tabs bug

* fix: workflow bug

* fix: remove useDeepMemorized()

* fix: e2e bug

* fix: internal Tag and viewer

* fix: collection field read pretty mode skip

* fix: others performance

* fix: revert collection field read pretty

* fix: table column not render when value is null or undefined

* fix: table and grid add view check

* fix: kanban lazy render

* fix: remove table useWhyDidYouUpdate

* fix: table index skip loading

* fix: card drag rerender loading

* fix: e2e skip lazy render

* fix: e2e bug

* fix: action e2e bug

* fix: grid and kanban card

* fix: remove override refresher component

* fix: unit test bug

* fix: change schema component props name

* fix: e2e and unit test bug

* fix: e2e bug

* fix: not lazy render when data length less 10 (T-3784)

* chore: fix merge

* chore: fix e2e

* fix: drag bug (T-3807)

* fix: repetitive refresh (T-3729)

* fix: pre fix merge confict

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-30 20:31:11 +08:00
katherinehhh
7b073727b1
fix: setFormValueChanged undefined (#3879) 2024-03-30 18:30:46 +08:00
Junyi
5645ed4d6c
fix(plugin-workflow-parallel): fix locale (#3876) 2024-03-30 10:14:36 +08:00
katherinehhh
e1dca5deab
fix(formula-field): formula field set form value change (#3873)
* fix: formula field set form value change

* test: form edit unsave change
2024-03-30 09:04:56 +08:00
Junyi
6d0d21ede2
refactor(plugin-workflow): change to (#3871) 2024-03-29 23:36:49 +08:00
katherinehhh
4adc116386
fix: kanban card modal display abnormal (#3863) 2024-03-29 22:46:06 +08:00
katherinehhh
fec3662dc9
fix: filterTargetKey only support view collection (#3872) 2024-03-29 18:24:40 +08:00
chenos
6e20ab1a77 chore(versions): 😊 publish v0.21.0-alpha.1 2024-03-29 17:43:20 +08:00
YANG QIA
868a487b2d
fix(data-vi): bug when filtering chart with assocations (#3867)
* fix(data-vi): bug when filtering chart with assocations

* fix: remote select
2024-03-29 14:13:59 +08:00
Junyi
1f59d4bed2
refactor(plugin-workflow): add transaction check from data source (#3857) 2024-03-29 09:09:12 +08:00
YANG QIA
72c95671ae
fix(data-vi): charts size bug when changing chart type (#3859)
* fix(data-vi): charts size bug when changing chart type

* chore: remove console.log
2024-03-29 08:31:47 +08:00
katherinehhh
44e7f48f99
test: main data source e2e test (#3816)
* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: test

* test: test

* refactor: code improve

* test: test
2024-03-28 21:04:53 +08:00
YANG QIA
7b9acb73c4
chore: remove add-attach option from bulk update action (#3854) 2024-03-28 16:52:37 +08:00
katherinehhh
9a66301ec7
refactor: default role & default field storage (#3844)
* refactor: default role & default field storage

* refactor: verification

* refactor: verification
2024-03-28 16:47:43 +08:00
katherinehhh
e88082232d
fix: reporting error when clicking on the print button for the detail block (#3845) 2024-03-28 14:42:56 +08:00
YANG QIA
8ca94329ce
fix(data-vi): canvas height keeps increasing when filtering/reseting (#3849) 2024-03-28 12:56:25 +08:00
chenos
06980fd87d
fix: improve app manager (#3841) 2024-03-27 20:15:13 +08:00
Zeke Zhang
74051ff0a5
refactor(DataBlock): kanban and gantt and map and calendar (#3792)
* refactor: kanban

* refactor: gantt

* refactor: map

* refactor: calendar

* refactor: compat

* refactor: rename to createKanbanBlockUISchema

* refactor(kanban): use x-use-component-props instead of useProps

* refactor(Gantt): rename to createGanttBlockUISchema

* refactor: use x-use-component-props instead of useProps

* refactor: rename

* refactor(Map): use x-use-component-props instead of useProps

* refactor(Calendar): rename

* refactor(Calendar): should not get collection on getting association in UISchema

* refactor(Calendar): use x-use-component-props instead of useProps

* chore: add comment

* chore: fix unit test

* fix: add scopes to fix e2e

* fix(Calendar): add association property to CalendarBlockProvider decorator

* test: add e2e for Calenndar
2024-03-27 18:06:28 +08:00
Zeke Zhang
c6922b071d
refactor(DataBlock): form block (#3771)
* refactor: extract to createCreateFormBBlockUISchema

* refactor: extract to createEditFormBlockUISchema

* refactor: use new function to create UISchema

* refactor: add x-use-decorator-props

* fix: add withDynamicSchemaProps to FormBlockProvider

* chore: update import path for withDynamicSchemaProps

* refactor: should not get collection on getting association in UISchema

* refactor: use x-use-component-props instead of useProps

* fix: fix withDynamicSchemaProps

* chore: fix unit test
2024-03-27 17:32:26 +08:00
YANG QIA
996e89fb14
fix(data-vi): charts flickers (#3836) 2024-03-27 15:43:11 +08:00
katherinehhh
e95f4ab123
fix: acl e2e failed (#3835)
* test: acl e2e test

* refactor: test: acle e2e test fix
2024-03-27 14:34:59 +08:00
katherinehhh
d3bd0c71dd
chore: menu permissions & plugins setting permissions (#3822)
* chore: menu permissions

* chore: plugins setting  permissions

* chore: plugins setting  permissions

* chore: plugins setting  permissions
2024-03-27 12:03:24 +08:00
katherinehhh
78697e02be
fix: missing button icon (#3832)
* refactor: action icon

* Revert "refactor: action icon (#3831)"

This reverts commit c8e334d8ab.

* refactor: action icon
2024-03-27 11:37:58 +08:00
katherinehhh
c8e334d8ab
refactor: action icon (#3831) 2024-03-27 11:23:34 +08:00
chenos
339822241f chore(versions): 😊 publish v0.20.0-alpha.17 2024-03-26 17:25:06 +08:00
chenos
c4aa8b78c2
chore: add tsdoc (#3788)
* chore: tsdoc

* chore: tsdoc

* fix: error

* chore: code format

* chore: code format
2024-03-26 17:08:45 +08:00
Junyi
080e491a0d
fix(plugin-workflow-manual): fix schema migration (#3814) 2024-03-25 21:57:58 +08:00
Zeke Zhang
1c32983c00
refactor(DataBlock): table block (#3748)
* refactor: remove useless code

* chore: remove useless code

* feat: add createTableBlockSchema

* refactor: use createTableBlockUISchema

* refactor: extract useTableBlockParams

* refactor: extract useTableBlockSourceId

* refactor: compat

* refactor: fix typo in createTableBlockUISchema file

* refactor: should not get collection on getting association in UISchema

* refactor: use x-use-component-props instead of useProps

* chore: fix unit tests

* fix: fix errors

* refactor: refactor data block source ID hooks
2024-03-25 17:35:57 +08:00
Zeke Zhang
0269a1ff7d
fix(Details): block template (#3807)
* fix: add 'Details' in condition

* fix: block template
2024-03-25 16:25:41 +08:00
YANG QIA
088f3977a2
feat(data-vi): support multiple data sources (#3743)
* feat(data-vi): support multiple data sources

* chore: update

* chore: new pr

* chore: update

* chore: merge

* fix: bug

* fix: isDBInstance

* fix: fix T-3624

* fix: fix T-3625

* fix: test

* fix: fix T-3659

* fix: fix T-3660

* fix: backend tests

* fix: acl

* fix: fix T-3680

* fix: build
2024-03-25 14:54:13 +08:00
Junyi
d691e4c7e6
feat(plugin-workflow): support multiple data source in workflow (#3739)
* feat(plugin-workflow): support multiple data source in workflow

* fix(plugin-workflow): fix test cases

* test(plugin-workflow-sql): debug test case

* fix(plugin-workflow): fix collection trigger creation without config

* test(plugin-workflow-sql): debug test case

* fix: workflow e2e test

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* test(plugin-workflow-sql): debug test case

* test: approval e2e

* fix: remove pro-plugins from packages

* refactor(plugin-workflow): support pass collection from props to CollectionBlockInitializer

* test(plugin-workflow): add test case

* fix(plugin-workflow): disable modification of executed workflow

* fix: e2ePageObjectModel

* fix: load data source when data source load failed (#3793)

* chore: console.log

* fix(subTable): fix sorting rule setting (#3795)

* fix: through collection support search (#3800)

* fix(client): visible -> useVisible

* fix(client): fix action designer error occured in custom form (#3801)

* fix(client): fix action designer error occured in custom form

* fix(client): fix from the source

* chore(module): remove submodule

* fix(plugin-workflow): fix client cycling import

* fix(plugin-workflow): fix collection event name

* fix(plugin-workflow): fix undefined ref

---------

Co-authored-by: hongboji <j414562100@qq.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-25 14:46:22 +08:00
katherinehhh
5e22103e33
chore: file collection template preset fields should be disabled (#3810) 2024-03-25 11:39:52 +08:00
Junyi
e9e116e476
fix(plugin-workflow): remove string template in condition calculation (#3688) 2024-03-25 11:34:14 +08:00
jack zhang
00cf5fa02c
fix: refresh collection name when update (#3797) 2024-03-25 11:30:38 +08:00
jack zhang
570e5c1354
fix: reload when data source click refresh (#3804) 2024-03-25 11:28:54 +08:00
chenos
0dc0d329f8 fix: description 2024-03-25 09:48:08 +08:00
ChengLei Shao
e410dece22
fix: create attachments middleware (#3794) 2024-03-24 19:08:53 +08:00
katherinehhh
fbed0201aa
fix: field permission all fields should be displayed (#3799) 2024-03-23 18:41:57 +08:00
chenos
71ec7ece6a chore(versions): 😊 publish v0.20.0-alpha.16 2024-03-23 17:54:02 +08:00
katherinehhh
00dc004601
refactor: view collection support filterTargetKey config (#3767)
* refactor: view collection support filterTargetkey config

* refactor: locale improve

* refactor: locale improve
2024-03-23 12:17:13 +08:00
ChengLei Shao
4e145a8868
fix: load data source when data source load failed (#3793) 2024-03-22 12:20:12 +08:00
YANG QIA
9354e25d74
fix(acl): role menu loading status (#3787) 2024-03-21 21:09:24 +08:00
YANG QIA
49759c1ebf
fix(acl): bug when adding users to roles (#3783)
* fix(acl): bug when adding users to roles

* fix: bug
2024-03-21 20:44:06 +08:00
YANG QIA
49d3401379
fix(acl): role menu list only displays one page (#3775)
* fix(acl): role menu list only displays one page

* chore: remove log
2024-03-21 14:30:49 +08:00
Junyi
9b27fa955a
feat(plugin-user): add model method desensitize() to filter hidden field (#3768)
* feat(plugin-user): add model method desensitize() to filter hidden field

* fix(plugin-workflow-action-trigger): fix user fields in context
2024-03-20 23:22:22 +08:00
Junyi
cebb013482
fix(plugin-file-manager): fix storage locale on file template table header (#3769) 2024-03-20 22:25:39 +08:00
chenos
bef9c8ab7b chore(versions): 😊 publish v0.20.0-alpha.15 2024-03-20 14:47:28 +08:00
YANG QIA
6a1be0fcd5
fix(auth): sso auth bug when deploying with subpath (#3764) 2024-03-20 14:46:22 +08:00
ChengLei Shao
a2ae4f7b70
chore: load roles after start (#3763) 2024-03-20 14:40:11 +08:00
ChengLei Shao
5153ce9ab2
fix: uuid field (#3736)
* fix: uuid test

* chore: uuid test

* fix: test

* fix: uuid field name support edit

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-20 09:39:11 +08:00
ChengLei Shao
599a1aa0c6
chore: merge sub app database options (#3640) 2024-03-19 20:34:13 +08:00
YANG QIA
b6d17853d8
fix(acl): bug of user filtering when adding them to roles (#3754)
* fix(acl): bug of user filtering when adding them to roles

* chore: add tests
2024-03-19 17:53:13 +08:00
chenos
c75d38bb05 chore(versions): 😊 publish v0.20.0-alpha.14 2024-03-18 18:29:13 +08:00
YANG QIA
3942b7cb94
fix(data-vi): tooltip bug of pie chart (#3745) 2024-03-18 12:33:03 +08:00
chenos
db9ff337e5 chore(versions): 😊 publish v0.20.0-alpha.13 2024-03-17 23:34:26 +08:00
chenos
df153527a7 fix(acl): unable to associate users 2024-03-17 23:30:32 +08:00
katherinehhh
93091a92f7
test(acl):column action acl e2e (#3738)
* test: acl e2e test support new data block

* test: acl e2e test support new data block

* test: acl e2e test support new data block

* test: acl e2e test support new data block
2024-03-17 17:29:23 +08:00
YANG QIA
3be6b7c0c6
fix(data-vi): association fields transform bug (#3737)
* fix(data-vi): association fields transform bug

* fix: bug
2024-03-17 15:16:06 +08:00
chenos
c1be864124 chore(versions): 😊 publish v0.20.0-alpha.12 2024-03-16 23:18:19 +08:00
YANG QIA
542fb65b50
fix: compatibility of @ant-design/plots 2.x (#3734)
* fix: compatibility of @ant-design/plots 2.x

* fix: dual-axes chart bug

* fix: auto infer bug
2024-03-16 23:04:57 +08:00
chenos
15ef81854e chore(versions): 😊 publish v0.20.0-alpha.11 2024-03-16 20:05:34 +08:00
chenos
b359f9eac6
feat: supports subdirectory deployment (#3731)
* feat: supports subdirectory deployment

* feat: auto publicPath

* fix: buildIndexHtml

* fix: format

* fix: regexp

* fix: test error

* fix: nocobase.conf

* fix: path

* fix: nocobase.conf

* fix: bugs

* fix: resourcer prefix

* fix: cas
2024-03-16 20:01:34 +08:00
Zeke Zhang
286af35ff8
refactor: add blocks in a unified way (#3668)
* refactor: rename filterMenuItemChildren to filterCollections

* refactor: revert parameters to destructured object

* refactor(Details): unify details block between page and popup

* refactor(Form): refactor(Details): unify form block between page and popup

* refactor: table & list & grid card

* refactor: form

* refactor: association details

* chore: useVisible

* refactor: calendar

* chore: remove relationshipBlocks

* refactor: unify Details schema

* fix: avoid error

* chore: add translate

* chore: add tag to association fields

* fix: add block useChildren and children merge

* test: fix e2e

* test: fix e2e

* fix: fix Calendar

* fix: fix search

* test: add e2e for search

* fix: fix T-3554

* fix: fix T-3551

* feat: add no data for details block

* chore: fix unit test

* chore: fix unit test

* chore: change text

* chore: optimize text

* chore: add translation

* style: fix memu item style

* refactor: rename

* test: fix e2e

* test: fix e2e

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-14 19:20:02 +08:00
Zeke Zhang
ba1e44c527
feat: support to set data loading mode (#3712)
* feat: add setDataLoadingModeSettingItem

* feat: support to set data loading mode

* chore: add translation

* chore: refresh the block immediately after the configuration has been changed

* feat: the data loading mode should also work for the filter buttons

* feat: support old version

* fix: data scope

* fix: fix known bugs

* fix: add setting for table selector

* test: fix e2e
2024-03-14 18:10:54 +08:00
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style (#3604)
* refactor(SchemaSettings): unify naming style

* refactor(SchemaInitializers): unify naming stle

* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm

* refactor: replace to blockInitializers:customizeCreateForm

* refactor: replace block intializers name

* refactor: replace action initializers name

* refactor: replace field initializers name

* style: fix hover style for column action (T-3297)

* refactor: revert some codes

* chore: update comment

* chore: replace iframeBlockSchemaSettings to blockSettings:iframe

* chore: delete pro-packages

* feat: add CompatibleSchemaInitializer

* test: add unit tests

* chore: add @internal for CompatibleSchemaInitializer

* chore: block

* chore: field

* chore: ations

* fix: build

* chore: typo

* fix: fix unit tests

* test: fix e2e

* chore: remove igone

* refactor: page:addBlock

* refactor: popup:addNew:addBlock

* fix: fix max call stack

* refactor: popup:addRecord:addBlock

* refactor: remove blockInitializers:recordForm

* refactor: popup:tableSelector:addBlock

* refactor: popup:view:addBlock

* refactor: popup:bulkEdit:addBlock & charts:addBlock

* refactor: mobilePage:addBlock

* refactor: popup:snapshot:addBlock

* refactor: popup:workflowManual:configureUserInterface:addBlock

* fix: avoid crashing

* chore: optimize

* refactor: popup:common:addBlock

* refactor: workflowManual:popup:configureUserInterface:addBlock

* refactor: details:configureFields

* refactor: form:configureFields

* refactor: table:configureColumns

* refactor: filterForm:configureFields

* refactor: associationFilterInitializer

* refactor: assignFieldValuesForm:configureFields

* refactor: bulkEditForm:configureFields

* refactor: auditLogsTable:configureColumns

* refactor: chartFilterForm:configureFields

* refactor: kanban:configureItemFields

* refactor: workflowManual:customForm:configureFields

* refactor: detailsWithPaging:configureActions

* refactor: details:configureActions

* refactor: createForm:configureActions

* refactor: editForm:configureActions

* refactor: gridCard:configureActions

* refactor: gridCard:configureItemActions

* refactor: list:configureActions

* refactor: list:configureItemActions

* refactor: table:configureItemActions

* refactor: table:configureActions

* refactor: filterForm:configureActions

* refactor: subTable:configureActions

* refactor: bulkEditForm:configureActions

* refactor: auditLogsTable:configureItemActions

* refactor: auditLogsTable:configureActions

* refactor: calendar:configureActions

* refactor: chartFilterForm:configureActions

* refactor: gantt:configureActions

* refactor: kanban:configureActions

* refactor: map:configureActions

* refactor: workflowManual:form:configureActions

* feat: use 'createForm:configureActions' in page

* feat: use 'details:configureActions' in Calendar

* feat: register deleteEvent initializer in calendar plugin

* fix: fix delete event action

* test: fix e2e

* test: fix e2e

* chore: only run workflow's e2e

* Revert "chore: only run workflow's e2e"

This reverts commit 9e5b4af41e.

* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +08:00
YANG QIA
69ff55ba90
fix(data-vi): update antv version (#3710) 2024-03-13 23:03:15 +08:00
chenos
40a22943b9 chore(versions): 😊 publish v0.20.0-alpha.10 2024-03-13 22:41:12 +08:00
katherinehhh
e5c1bef8de
fix(client): size undefined in nanoid (#3708)
* fix(data-source): foreignkey

* fix: size undefined in nanoid
2024-03-13 19:00:28 +08:00
katherinehhh
0779a4eab3
refactor(radio): radio support multiple field types (#3706)
* style: fieldTitleInput style improve

* refactor: radio support mutiple type

* refactor: code improve
2024-03-13 16:44:17 +08:00