Commit Graph

4345 Commits

Author SHA1 Message Date
Junyi
40999ed22e
fix(plugin-fm): fix delete file error of cos (#4529)
* fix(plugin-fm): fix cos delete file record

* fix(plugin-fm): fix file cannot be deleted in cos

* fix(plugin-fm): fix path join logic

* fix(plugin-fm): fix test cases
2024-05-30 19:22:38 +08:00
jack zhang
285f719f9f
fix: table borded (#4534)
* fix: table borded

* fix: unit test
2024-05-30 18:35:20 +08:00
Zeke Zhang
803ea80e4b
fix(client): fix the issue where adding block templates in the popup does not display (#4531)
* chore: avoid crashing

* fix(client): fix the issue where adding block templates in the popup does not display
2024-05-30 17:45:35 +08:00
jack zhang
d83c102492
Fix/initializer improve (#4533)
* fix: imporve code

* fix: test bug
2024-05-30 17:20:09 +08:00
YANG QIA
950495c292
fix(i18n): fix i18n namespace for collection titles (#4530) 2024-05-30 15:35:07 +08:00
Zeke Zhang
96ba533158
fix(plugin-map): add 'Set default zoom level' option for map fields (#4527)
* fix(plugin-map): add 'Set default zoom level' option for map fields

* refactor: extract

* fix: should real-time map update after zoom changes
2024-05-30 15:01:51 +08:00
Katherine
38fa7f8f03
fix: disable cascading select component for association field in subtable (#4517) 2024-05-30 14:42:56 +08:00
Katherine
9e8335572a
fix: association field enablement affecting block field states (#4528) 2024-05-30 14:42:28 +08:00
Junyi
073e2b0d5b
fix(utils): fix json-templates (#4525) 2024-05-30 12:10:05 +08:00
Zeke Zhang
eea3262469 chore: make e2e tests more stable 2024-05-30 09:41:23 +08:00
Junyi
04449fa486
fix(client): fix deep association select in AppendsTreeSelect component (#4526) 2024-05-30 09:11:34 +08:00
jack zhang
8323c978fc
fix: table drag error (#4511) 2024-05-29 22:46:36 +08:00
Zeke Zhang
b43f896882
fix(client): fix the issue where setting default values using variabl… (#4521)
* fix(client): fix the issue where setting default values using variables in the sub-table is not work

* test: add unit tests
2024-05-29 17:27:29 +08:00
Junyi
77e0ff5ccc
fix(plugin-workflow-manual): fix custom form field wrong interface in manual node (#4520) 2024-05-29 16:46:50 +08:00
Junyi
bde1d1ee61
fix(plugin-workflow): fix trigger workflow acl (#4522) 2024-05-29 16:42:32 +08:00
Junyi
07a62b06a7
fix(plugin-workflow-request): fix locale (#4519) 2024-05-29 14:06:50 +08:00
Katherine
6a9d39f25d
fix: update form submit action missing linkageRules setting (#4515) 2024-05-29 13:47:00 +08:00
Zeke Zhang
e03b5b873b
chore: add group title to Table item action settings (#4516) 2024-05-29 13:08:53 +08:00
Junyi
fb2504257b
fix(client): fix Variable.TextArea style (#4513) 2024-05-29 13:02:30 +08:00
YANG QIA
948a6345e0
fix(acl): use default role when x-role does not belong to the current user (#4507)
* fix(acl): use default role when `x-role` does not belong to the current user

* fix: test
2024-05-29 11:53:44 +08:00
Junyi
1dc7a39780
feat(plugin-fm): make rules configurable (#4118)
* feat(plugin-fm): make rules configurable

* fix(client): fix upload test cases

* refactor(client): remove dulicated code

* refactor(client): upload component

* refactor(client): remove a lot of duplicated code

* fix(client): fix upload in system settings

* fix(client): fix test case

* fix(client): fix test case

* fix(client): fix test case

* chore: update yarn.lock

* fix(client): fix test case

* fix: api mock

* refactor(client): refactor hooks

* docs(client): add demo code

* fix: ci

* fix(client): fix import package

* fix: filesize

* fix(client): fix upload component

* fix(client): deprecate preview component and move to file-manager

* fix(plugin-fm): fix storage changes in attachment field and locales

* refactor(plugin-fm): add migration for attachment field storage

* test(plugin-fm): add test case

* feat(plugin-fm): add storage size component

* fix(plugin-fm): fix component

* refactor(plugin-fm): adjust constant

* fix(plugin-fm): fix default local size limit

* fix(plugin-fm): fix test cases

* fix(plugin-fm): fix test case

* fix(plugin-fm): fix rule hook

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-29 09:33:23 +08:00
YANG QIA
f5079af61e
fix(data-vi): field component invisible when setting default value for filter field (#4509) 2024-05-28 15:26:01 +08:00
YANG QIA
98a8e687b1
feat(client): refining error fallback for different components when catching errors (#4459)
* feat(client): refining error fallback for different components when catching errors

* fix: build

* refactor: `ErrorFallback.Inline` to `ErrorFallback.Modal`

* feat: toolbar error fallback

* chore: add deprecated comment

* fix: useSchemaToolbarRender
2024-05-28 13:26:38 +08:00
Katherine
9528da51be
refactor: remove all frontend checks for isForeignKey (#4499)
* refactor: remove all frontend checks for isForeignKey

* fix: bug
2024-05-27 21:21:40 +08:00
ChengLei Shao
56dc06dcc0
fix: after update event in single relation repository (#4503)
* fix: after update event in single relation repository

* test(plugin-workflow): add association collection trigger

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-05-27 20:52:15 +08:00
Zeke Zhang
a1909d9ce4 fix: fix loss of data scope field in permission configuration 2024-05-27 18:25:30 +08:00
YANG QIA
0adf5fb6b7
chore(auth): change char length limit of username to 1-50 (#4502) 2024-05-27 17:39:39 +08:00
Katherine
02ebede15a
fix: sub-table support allowAddNew setting (#4498) 2024-05-27 16:48:01 +08:00
GitHub Actions Bot
53eb054848 chore(versions): 😊 publish v1.0.0-alpha.17 2024-05-27 06:44:39 +00:00
Zeke Zhang
13362dab25
fix: optimize data scope variable in permission configuration (#4484)
* fix: optimize data scope variable in permission configuration

* test: add e2e test

* chore: fix failed e2e

* fix: optimize data scope variable in permission configuration

* chore: skip weird test
2024-05-27 12:09:28 +08:00
Katherine
a3e47832a6
refactor: form linkage rule to cancel assignment when multiple fields are selected (#4492) 2024-05-27 11:51:04 +08:00
Chareice
eb0471fe53
chore: retry in dev env 2024-05-27 11:43:26 +08:00
Chareice
b576670826
chore: database prepare error message 2024-05-27 11:39:05 +08:00
GitHub Actions Bot
2e7744f85c chore(versions): 😊 publish v1.0.0-alpha.16 2024-05-27 01:28:10 +00:00
Katherine
8a863226f2
fix: numeric field display issue in form linkage rule (#4482)
* fix:  numeric field display issue in form linkage rule

* fix: bug
2024-05-26 07:37:29 +08:00
Katherine
bdde49ee84
fix: export action missing data scope filter (#4476) 2024-05-24 09:08:43 +08:00
ChengLei Shao
bbbb409565
chore: application start error message (#4477) 2024-05-24 08:26:08 +08:00
Zeke Zhang
cece85b335
fix(subTable): prevent setting default value for fields that have been unmounted (#4475) 2024-05-23 23:39:45 +08:00
ChengLei Shao
aa1ed6737d
fix: attachment collection permission (#4470) 2024-05-23 19:50:24 +08:00
ChengLei Shao
0dd3ea8d2e
fix(database): foreign key index in underscored table (#4473)
* fix: foreign key index in underscored table

* chore: test
2024-05-23 19:49:49 +08:00
Katherine
11343bc9be
fix: missing app context in modal (#4457)
* fix: useCurrentFormVariable

* test: table action row action linkage by row data

* test: detail block support linkage rule

* test: detail block support linkage rule

* test: detail block support linkage rule

* fix: missing app context in modal
2024-05-23 09:33:55 +08:00
Zeke Zhang
b052a8229c chore(kanban): remove name 2024-05-23 08:37:33 +08:00
Zeke Zhang
f6d56a9cb3
chore: avoid misoperation of date variables (#4452) 2024-05-22 21:21:06 +08:00
Zeke Zhang
2d880e576f
fix(plugin): resolve error caused by duplicate addition of custom request (#4458) 2024-05-22 21:19:35 +08:00
chenos
1e230ecbc2 fix(client): remove the "you are offline" prompt 2024-05-22 13:54:35 +08:00
chenos
d6d3cac0eb fix(client): unstated lru-cache dependency 2024-05-22 09:24:03 +08:00
Zeke Zhang
cedb5046dd
fix(core): support selecting the first level of variables as the default value (#4439) 2024-05-22 08:43:32 +08:00
Katherine
3f14a9b24d
fix: table row action linkage rule defect error (#4436)
* fix: useCurrentFormVariable

* test: table action row action linkage by row data

* test: detail block support linkage rule

* test: detail block support linkage rule

* test: detail block support linkage rule
2024-05-21 21:21:08 +08:00
Junyi
d62f61162d
fix(plugin-workflow): fix condition node variable error (#4437) 2024-05-21 19:30:23 +08:00
Junyi
0a6df92159
fix(plugin-workflow): fix empty value in create and update node association values (#4433) 2024-05-21 17:47:41 +08:00
Katherine
7b8a86350a
fix: error in deleting data query after block linkage filtering (#4434) 2024-05-21 17:44:33 +08:00
Zeke Zhang
1291d5437c
docs(client): should name SchemaInitializer starting with a lowercase letter (#4432)
* docs(client): the name of the SchemaInitializer should start with a lowercase letter

* chore: to identify and correct one's shortcomings
2024-05-21 14:53:15 +08:00
GitHub Actions Bot
4f3a3c0931 chore(versions): 😊 publish v1.0.0-alpha.15 2024-05-21 02:53:07 +00:00
Katherine
60ac758b68
refactor: the default accuracy of the UnixTimestamp field is second (#4418)
* refactor: the default accuracy of the UnixTimestamp field is second

* refactor: the default accuracy of the UnixTimestamp field is second

* fix: bug
2024-05-21 10:31:01 +08:00
Katherine
8fbfd830c9
refactor: collection manager setting title field (#4419) 2024-05-21 10:30:36 +08:00
YANG QIA
f45b66dd98
feat(logger): add dailyRotateFile to default transport & add trace level (#4429) 2024-05-20 23:36:02 +08:00
Katherine
304f87bee2
fix: useCurrentFormVariable (#4428)
* refactor: useCurrentFormVariable support detail block

* fix: useCurrentFormVariable

* fix: bug
2024-05-20 20:55:30 +08:00
Junyi
26a2a6204a
feat(plugin-workflow-request): allow to use response variables (#4414) 2024-05-20 18:50:12 +08:00
Junyi
021d400a2b
refactor(plugin-workflow): adjust multiple option in query node (#4412)
* refactor(plugin-workflow): adjust multiple option in query node

* fix(plugin-workflow): hide page size only when single

* fix(plugin-workflow): revert page param back and add fix cases

* fix: queryRecordNode

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-20 17:26:47 +08:00
Zeke Zhang
ef8e4aed48
fix(filter-form): fix operator not valid in block templates (#4390)
* fix(filter-form): fix operator not valid in block templates

* test: add e2e test

* test: clear data templates

* chore: fix e2e tests

* chore: stash

* chore: change import path to fix unit tests

* chore: change import path to fix unit tests

* chore: fix build
2024-05-20 16:50:34 +08:00
Katherine
a5ede09a2a
fix: custom request action should support linkage rule setting (#4410) 2024-05-20 15:01:10 +08:00
CzBiX
570a265e57
fix: Fix typo in link target (#4416)
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-05-20 13:57:21 +08:00
Zeke Zhang
f236e6d29d
fix: change License link (#4415) 2024-05-20 13:42:54 +08:00
ChengLei Shao
48fdec6ff3
chore: migration to fix tree fields option (#4369)
* chore: migration to fix tree fields option

* fix: set value
2024-05-19 18:50:07 +08:00
ChengLei Shao
c3a106bcd7
fix: column name ambiguous error in array operator (#4401)
* fix: column name ambiguous error in array operator

* fix: test
2024-05-19 18:33:40 +08:00
ChengLei Shao
8b3b9b3b26
fix: values to filter with emtpy values (#4319)
* fix: values to filter with emtpy values

* chore: test

* fix: values to filter

* fix: test
2024-05-19 17:35:11 +08:00
YANG QIA
afa9f3faa4
fix(data-vi): transform values of multiple selection fields to labels (#4398) 2024-05-19 15:23:42 +08:00
chenos
e24dd01a4c
feat: add process.env.API_CLIENT_STORAGE_PREFIX (#4395)
* feat: add process.env.API_CLIENT_STORAGE_PREFIX

* fix: test error

* fix: process.env.API_CLIENT_STORAGE_PREFIX
2024-05-19 12:22:04 +08:00
Katherine
350652a515
fix: the inherited field should be able to be set as the title field (#4394) 2024-05-19 10:01:46 +08:00
ChengLei Shao
144338be90
fix: duplicated items in update associations (#4393)
* fix: data template middleware in data source

* fix: typo

* fix: duplicated items in update associations
2024-05-18 23:08:44 +08:00
YANG QIA
299c5a14cb
fix(data-vi): the custom tooltip for the pie chart is not working (#4392) 2024-05-18 22:06:06 +08:00
Zeke Zhang
49d0082b16
fix(theme-editor): form field spacing should not be affected by token.marginBlock (#4374)
* chore: add comment

* fix(plugin-theme-editor): form field spacing should not be affected by token.marginBlock

* fix: fix grid layout styling issue in Form component

* fix: fix failed test
2024-05-18 18:56:11 +08:00
Junyi
9535116189
fix(plugin-workflow-request): fix request hanging when invalid header value (#4376)
* fix(plugin-workflow-request): fix request hanging when invalid header value

* fix(plugin-workflow-request): add trim for variable string field

* feat(plugin-workflow): make error result more sensible

* feat(plugin-workflow-request): unify response structure

* fix(plugin-workflow-request): fix test cases
2024-05-18 17:25:51 +08:00
YANG QIA
08a0b026b6
fix(logger): should close log stream after destroying app (#4380) 2024-05-18 13:25:16 +08:00
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint (#4383) 2024-05-18 12:11:21 +08:00
chenos
3f94ed42b1
chore: test on windows (#4375)
* chore: win test ci

* chore: test on windows

* fix: on

* test: windows-2022

* ci: test

* fix: update yarn.lock

* ci: test

* fix: yarn --verbose

* fix: network-timeout

* fix: ci

* fix: vitest

* fix: dirname

* fix: test error

* fix: test error

* fix: test error

* fix: skip win32

* fix: ci

* fix: retry=2
2024-05-18 09:24:03 +08:00
ChengLei Shao
2ee67e15e8
fix: data template middleware in data source (#4378)
* fix: data template middleware in data source

* fix: typo
2024-05-17 23:14:26 +08:00
ChengLei Shao
3d000d395e
chore: split sql collection (#3650)
* chore: split sql collection

* chore: package json

* chore: test

* chore: build

* chore: move sql resourcer into plugin-collection-sql

* fix: server

* fix: ast parser, fix T-4236

* fix: fix T-4236

* fix: fields

* fix: test

* fix: test

* fix: test

* fix: test

* chore: add keyword

* chore: node sql parser version

* chore: yarn.lock

* fix: types

* fix: remove column named `*`

* fix: package.json

* fix: version

* chore: update homepage

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-05-17 15:39:01 +08:00
Katherine
caffcc4b9b
refactor: tree collection support presetFieldsDisabledIncludes (#4371)
* refactor: tree collection presetFieldsDisabled

* refactor: tree collection support presetFieldsDisabledIncludes
2024-05-17 14:28:09 +08:00
YANG QIA
afdff961e4
fix(data-vi): should use local timezone when formatting date (#4366)
* fix(data-vi): should use local timezone when formatting date

* fix: mysql

* chore: remove only
2024-05-17 12:39:56 +08:00
ChengLei Shao
9b430ff4df
chore: set main as a reserved character for application name (#4370) 2024-05-17 12:27:43 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions (#4336)
* chore: remove switch

* refactor: ensure compatibility with old code

* refactor: flatten Actions

* refactor: extract options

* refactor: remove isCusomeizeCreate

* refactor: merge addNew and addRecord actions

* refactor: merge Submit and Save record actions

* refactor: extract common options

* feat: add tow props called 'currentText' and 'otherText'

* chore: fix failed tests

* refactor: add ActionInitializerItem to replace ActionInitializer

* chore: fix failed tests

* fix: fix T-4284

* fix: fix inherit

* chore: fix failed test

* chore: add Switch

* chore: add Switch for delete button

* test: e2ePageObjectModel

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
Katherine
779029e348
fix: accuracy loss in bigint field read pretty (#4360)
* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* test: intege test

* test: color test
2024-05-17 08:32:21 +08:00
GitHub Actions Bot
0399272664 chore(versions): 😊 publish v1.0.0-alpha.14 2024-05-16 13:53:55 +00:00
chenos
6e3595c0be
fix: require resolve (#4356)
* fix: require resolve

* fix: error

* fix: skip realpath

* fix: fs.realpath
2024-05-16 18:46:56 +08:00
Katherine
cb8aa0d931
fix: after setting title field the collection data should refresh (#4358) 2024-05-16 12:07:56 +08:00
Junyi
6e9ca10644
fix(plugin-workflow-request): fix value fields overflowing (#4354) 2024-05-15 18:38:28 +08:00
Katherine
c293929daa
fix: table column should support blank column occupancy (#4350)
* fix: table column

* fix: table column
2024-05-14 20:59:54 +08:00
Junyi
21ab4c5d45
fix(plugin-workflow): fix bind hint based on event type (#4349)
* fix(plugin-workflow): fix bind hint based on event type

* fix(plugin-workflow): fix bind hint based on event type
2024-05-14 17:20:23 +08:00
GitHub Actions Bot
3e7d85b8fa chore(versions): 😊 publish v1.0.0-alpha.13 2024-05-14 09:18:26 +00:00
ChengLei Shao
33e14cbc2e
feat: record last seen at in supervisor (#4345) 2024-05-14 17:05:21 +08:00
chenos
91c24efd0b fix: restart the application after updating the plugin 2024-05-14 16:56:08 +08:00
jack zhang
3e49ffb204
fix: demo bug (#4348) 2024-05-14 16:49:05 +08:00
ChengLei Shao
c0e1260189
chore: snippet name replacement (#4346)
* chore: snippet name replacement

* chore: test
2024-05-14 13:23:02 +08:00
dependabot[bot]
caa1dc37f6
chore(deps-dev): bump rc-tree-select from 5.5.5 to 5.20.0 (#4340)
Bumps [rc-tree-select](https://github.com/react-component/tree-select) from 5.5.5 to 5.20.0.
- [Release notes](https://github.com/react-component/tree-select/releases)
- [Changelog](https://github.com/react-component/tree-select/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/tree-select/compare/v5.5.5...v5.20.0)

---
updated-dependencies:
- dependency-name: rc-tree-select
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 09:25:37 +08:00
dependabot[bot]
cbcf476304
chore(deps): bump markdown-it and @types/markdown-it (#4343)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) and [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it). These dependencies needed to be updated together.

Updates `markdown-it` from 13.0.1 to 14.1.0
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/13.0.1...14.1.0)

Updates `@types/markdown-it` from 12.2.3 to 14.1.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/markdown-it"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 08:57:37 +08:00
Junyi
145577942f
fix(plugin-workflow-request): fix ignoreFail in sync mode (#4334)
* fix(plugin-workflow-request): fix ignoreFail in sync mode

* test(plugin-workflow-request): remote sleep in sync test
2024-05-13 23:01:01 +08:00
jack zhang
6f4c884799
fix: block error can delete (#4329)
* fix: block error can delete

* fix: test bug
2024-05-13 21:28:02 +08:00
katherinehhh
8280077f96
fix: create kanban block report error (#4332) 2024-05-13 16:54:03 +08:00
YANG QIA
6380a49a56
fix(logger): download path (#4327)
* fix(logger): list log files by application name

* fix: tips

* fix(logger): download path
2024-05-13 12:08:52 +08:00