Commit Graph

4345 Commits

Author SHA1 Message Date
YANG QIA
562b29aebb
fix(logger): list log files by application name (#4325)
* fix(logger): list log files by application name

* fix: tips
2024-05-13 11:36:12 +08:00
GitHub Actions Bot
52a893f989 chore(versions): 😊 publish v1.0.0-alpha.12 2024-05-13 00:44:13 +00:00
katherinehhh
086984cb90
fix: collection support title field setting (#4322) 2024-05-12 20:44:32 +08:00
katherinehhh
31b410dd69
fix: create tree collection field (#4321) 2024-05-12 20:25:28 +08:00
ChengLei Shao
5f5d3f3d90
feat: strategy with resources list (#4312)
* chore: strategy with resources list

* chore: append strategy resource when collection loaded

* chore: test

* chore: no permission error

* chore: test

* fix: update strategy resources after update collection

* fix: test

* fix: snippet name

* chore: error class import
2024-05-11 23:08:50 +08:00
Zeke Zhang
e96afd09e4
chore: test e2e CI (#4314)
* chore: test CI

* chore: run build CI

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: reduce timeout-minutes for e2e

* chore: use cancelled insted of always

* refactor: split files

* chore: split jobs

* refactor: split files

* refactor: split files

* chore: better comment

* chore: test

* chore: test

* chore: install glob

* chore: test

* chore: test all

* chore: fix failed tests

* chore: fix tests
2024-05-11 20:51:32 +08:00
katherinehhh
cff530acac
test: e2e test (#4316)
* test: detail block linagerule test

* test: popup e2e test

* test: column fixed
2024-05-11 14:31:41 +08:00
GitHub Actions Bot
fcd368cee3 chore(versions): 😊 publish v1.0.0-alpha.11 2024-05-11 05:27:54 +00:00
Junyi
ef7a7a4605
fix(plugin-workflow-aggregate): fix association field select (#4315) 2024-05-11 12:01:10 +08:00
GitHub Actions Bot
814d5cb2d2 chore(versions): 😊 publish v1.0.0-alpha.10 2024-05-11 01:02:08 +00:00
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
katherinehhh
e2922bed9e
fix: linkage rule fireImmediately should be true (#4303)
* fix: linkagerule fireImmediately

* test: test improve

* fix: bug
2024-05-10 20:33:38 +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
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