Commit Graph

4889 Commits

Author SHA1 Message Date
Katherine
bff6dde483
fix: missing multiple selection option for to-many association fields in sub-table (#4742) 2024-06-25 15:10:28 +08:00
chenos
dac110931b
chore: update dependencies (#4747)
* chore: update dependencies
* fix: @formily/antd-v5
2024-06-25 12:44:51 +08:00
jack zhang
1f05006e7a
fix: bug (#4744) 2024-06-25 11:50:40 +08:00
jack zhang
9daf893704
fix: adjust print content (#4746)
* fix: adjust print content

* fix: bug
2024-06-25 11:42:51 +08:00
Katherine
935f9892fc
fix: double scrollbar on mobile client causing scrolling issues (#4745) 2024-06-25 10:39:42 +08:00
Katherine
f04dc51a2c
fix: tag component should support enable link (#4741)
* fix: tag component should support enable link

* test: tag component support options

* fix: bug
2024-06-25 10:36:05 +08:00
jack zhang
47a6d04c63
fix: clear plugin list cache (#4739) 2024-06-25 08:48:45 +08:00
chenos
e69d33a09c chore: update link 2024-06-24 16:45:45 +08:00
ChengLei Shao
8dd8303f21
fix(backup-restore): dump with collection that names were reserved words in mysql (#4734)
* fix(backup-restore): dump with collection that names were reserved words

* chore: test
2024-06-24 15:50:37 +08:00
Katherine
5370e95f4b
refactor: integer fields with Primary selected will auto-check Auto increment (#4313) 2024-06-24 15:15:50 +08:00
GitHub Actions Bot
927641349f chore(versions): 😊 publish v1.2.7-alpha 2024-06-24 02:04:24 +00:00
Katherine
aec77064c4
fix: variable parse issue in link action with variables in paths (#4732) 2024-06-24 08:00:15 +08:00
Junyi
78955cb560
fix(client): fix default size hint of upload component (#4731) 2024-06-23 15:58:14 +08:00
Junyi
095b50f964
fix(plugin-workflow): fix duplicating sync workflow (#4727) 2024-06-22 14:44:18 +08:00
ke
d7733ed363
chore(data-vi): remove addMigrations (#4713) 2024-06-22 14:21:07 +08:00
chenos
e2a22d4c26 fix(vditor): lang error 2024-06-22 13:25:31 +08:00
Junyi
1cba634f7d
fix(plugin-workflow): add loading for adding node (#4726)
* fix(plugin-workflow): add loading for adding node

* test(plugin-workflow): add test case

* test(plugin-workflow): skip concurrency case
2024-06-22 10:20:52 +08:00
Junyi
bda976efdf
fix(plugin-workflow): fix designable of assign fields in create/update node (#4724) 2024-06-21 16:56:19 +08:00
Katherine
fb1ed31820
fix: optimize block template description (#4721)
* fix: optimize block template description

* fix: optimize block template description

* fix: bug
2024-06-21 14:46:39 +08:00
Katherine
4671a17628
fix: subform/subtable height equaling form height when form height is set (#4717)
* fix: subform height equaling form height when form height is set

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-20 21:21:55 +08:00
Junyi
f7f1bdffbb
fix(client): fix undefined context (#4719) 2024-06-20 21:17:10 +08:00
Katherine
362a83804e
fix(grid): grid style (#4715)
* fix: grid style

* fix: bug
2024-06-20 14:40:54 +08:00
GitHub Actions Bot
504f8d107c chore(versions): 😊 publish v1.2.6-alpha 2024-06-20 04:40:35 +00:00
Junyi
8a629d06ad
fix(plugin-workflow): fix client warning (#4709)
* fix(plugin-workflow): fix client warning

* fix(plugin-workflow): fix build error
2024-06-20 10:59:36 +08:00
Junyi
a9f1ce7bd6
fix(plugin-workflow): fix undefined error of action trigger (#4710) 2024-06-20 10:36:43 +08:00
GitHub Actions Bot
9968eda02b chore(versions): 😊 publish v1.2.5-alpha 2024-06-19 22:58:05 +00:00
chenos
d6851545ec fix(database): db auth default retry 9 times 2024-06-19 22:02:40 +08:00
chenos
95666a97df Revert "fix(database): db auth default retry 30 times"
This reverts commit 283f1d6000.
2024-06-19 21:36:06 +08:00
Junyi
5ad3a854c5
fix(plugin-fm): fix thumbnail rule (#4707) 2024-06-19 21:22:32 +08:00
chenos
283f1d6000 fix(database): db auth default retry 30 times 2024-06-19 18:03:25 +08:00
chenos
8586992219 fix: using the global cron locale 2024-06-19 17:52:34 +08:00
Junyi
173dfbfe21
fix(plugin-workflow): fix locale key in storage (#4704) 2024-06-19 14:01:02 +08:00
chenos
2d2f1c8cc8 fix: get the APIClient instance from the app instance 2024-06-19 13:20:15 +08:00
Katherine
0e778e7e47
fix: select field set as title field (#4703)
* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field
2024-06-19 11:25:43 +08:00
Katherine
eaa06441d0
fix: refresh list automatically after closing modal following add operation (#4699) 2024-06-19 09:54:10 +08:00
Zeke Zhang
2300104586 chore: skip unstable e2e test 2024-06-19 09:31:13 +08:00
ChengLei Shao
6522720a96
fix(backup-restore): snippet name (#4700) 2024-06-19 07:51:46 +08:00
Junyi
ed89dd04c8
fix(client): fix upload progress style (#4698) 2024-06-18 23:40:56 +08:00
Zeke Zhang
6e0074fb66
fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading (#4691)
* test: add e2e test

* fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading

* chore: optimize e2e test

* chore: fix unit tests

* chore: make e2e more stable
2024-06-18 19:28:22 +08:00
Katherine
c4c7a3ea3e
refactor: sub-table disabled dragSort (#4696)
* refactor: sub-table disableddragSort

* refactor: sub-table disabled dragSort
2024-06-18 16:42:47 +08:00
Katherine
8a7e86fdd6
fix: height calculation for full-height tabs in approval initiation and approval block (#4686) 2024-06-18 16:42:32 +08:00
ChengLei Shao
bb82faf583
chore(data-source-main): field name exists error message (#4689)
* chore: test

* chore: throw field name exists error

* chore: error message

* chore: error locale

* fix: i18n message
2024-06-18 16:34:35 +08:00
ChengLei Shao
f61b56fe4f
chore(database): mediumtext type support (#4697) 2024-06-18 16:03:35 +08:00
ChengLei Shao
06e166f8da
fix(database): find model in hooks (#4694)
* chore: test

* fix(database): find model in hooks
2024-06-18 15:31:45 +08:00
Junyi
3838793c50
feat(plugin-field-sequence): allow to customize date format (#4685)
* feat(plugin-field-sequence): allow to customize date format

* chore(plugin-sequence): remove debug log
2024-06-18 01:11:30 +08:00
Junyi
9bef416d51
refactor(plugin-workflow-dc): move collection template to plugin and remove sort field (#4682)
* refactor(plugin-workflow-dc): move collection template to plugin and remove sort field

* fix(client): fix variable component style
2024-06-17 18:21:11 +08:00
Katherine
2b7544bdc4
refactor: workflow block && template block support setting block height (#4678)
* refactor: workflow support setting block height

* refactor: support block template

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-17 16:37:31 +08:00
Katherine
6b6b69ae09
fix: restore field height spacing after removing description in form (#4679) 2024-06-17 16:31:59 +08:00
GitHub Actions Bot
9de4853030 chore(versions): 😊 publish v1.2.4-alpha 2024-06-17 00:53:36 +00:00
jack zhang
c66744d4a8
fix: action modal icon and Initializer menu close when click (#4664)
* fix: action modal icon and Initializer menu close when click

* fix: bug

* fix: bug

* feat: bug

* fix: e2e bug
2024-06-15 18:03:33 +08:00
chenos
6c431caec4 fix(mock-collections): syntax error at or near "-" 2024-06-15 15:35:12 +08:00
YANG QIA
de0fb26609
fix(data-vi): custom filter conditions are not applied (#4671)
* fix(data-vi): custom filter conditions are not applied

* fix: default value
2024-06-15 13:35:27 +08:00
Katherine
d2b2ac69e6
fix: chart block actionBar style (#4666) 2024-06-14 20:27:34 +08:00
YANG QIA
5a3466a73a
feat(data-vi): allows to use json5 in chart json config (#4668) 2024-06-14 20:19:22 +08:00
xilesun
8e20aac7a7 fix(data-vi): js expressions in advanced config is not saved 2024-06-14 19:52:48 +08:00
Zeke Zhang
1fcf1320c2
fix(duplicate): resolve error on click (#4658)
* fix(duplicate): resolve error on click

* test: add e2e test
2024-06-14 15:08:56 +08:00
Katherine
ec22846bbb
style: list block (#4665) 2024-06-14 14:13:58 +08:00
ChengLei Shao
e56e52ad49
chore(action-import): validate association & select field value (#4643)
* chore: validate association value in import

* chore: validate value in select field

* fix: test
2024-06-14 12:02:03 +08:00
Katherine
8260cfc817
fix: form/detail/filter block height (#4652)
* fix: form/detail/filter block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-14 11:11:50 +08:00
ChengLei Shao
b9bc94e062
chore(test): skipping websocket-related tests currently causes vitest to hang (#4644) 2024-06-14 10:19:56 +08:00
Junyi
c747ea65c4
fix(plugin-workflow): fix incorrectly schema reaction (#4661)
* fix(plugin-workflow): fix incorrectly schema reaction

* fix(plugin-workflow): add migration
2024-06-14 08:49:36 +08:00
RakuCloud
a49d958086
Update ja_JP.json (#4650)
change "Submit": "送信" to "Submit": "保存",
2024-06-13 23:04:23 +08:00
YANG QIA
d8e80ecb41
fix(logger): fix the issue where workflow log files do not output (#4657) 2024-06-13 22:53:02 +08:00
Junyi
c2687f71e3
fix(plugin-fm): add migration for fixing new added legacy attachment field (#4649)
* fix(plugin-fm): add migration for fixing new added legacy attachment field

* fix(plugin-fm): add uischema fix

* fix: migration
2024-06-13 18:12:22 +08:00
Junyi
a38e4ada05
fix(plugin-fm): set invalid when uploading is not completed to avoid submit (#4653) 2024-06-13 18:11:39 +08:00
Katherine
1d568c635e
fix: client test (#4648) 2024-06-13 12:38:18 +08:00
GitHub Actions Bot
deacbf25e9 chore(versions): 😊 publish v1.2.3-alpha 2024-06-13 03:48:21 +00:00
Katherine
e8c2bffe20
style(client): grid style improve (#4647)
* style: grid style improve

* refactor: remove min height for block heght

* fix: min height
2024-06-13 10:41:27 +08:00
Junyi
a6c16cf3db
refactor(plugin-workflow): add card layout for assigning fields (#4642) 2024-06-12 23:46:05 +08:00
Katherine
ecb56130cf
style: markdown block style improve (#4639) 2024-06-12 21:01:58 +08:00
GitHub Actions Bot
e45bdb7d2f chore(versions): 😊 publish v1.2.2-alpha 2024-06-12 09:56:27 +00:00
Sheldon Guo
45614c8d72
feat: support qrcode embed in markdown and scan in mobile (#4638)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: support qrcode embed in markdown and scan in mobile

* fix: fix markdown button be covered problem

* fix: fix unit test error

* fix: fix unit test errors

* refactor: use react router in qrcode scanner

* feat: markdown add loading

* fix: fix blank content in print page

* refactor: change plugin dependencies to devDependencies

* feat: add some padding in markdown editor

* chore: improve some code

* feat: improve code

* fix: add QRCodeScanner

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version

* chore: improve some code

* chore: improve some code

* fix: i18n

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-12 17:47:43 +08:00
Junyi
2aa46171b2
refactor(plugin-workflow): use assigned fields for create/update node values (#4546)
* refactor(plugin-workflow): use assigned fields for create/update node values

* fix(plugin-workflow): fix schema and values when change collection

* fix(plugin-workflow): fix node form initial values

* test: fix e2e

* fix(plugin-workflow): fix add node error

* refactor(plugin-workflow): change to self host schema in node

* feat(plugin-workflow): make collection uneditable after first saved

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-06-12 15:12:31 +08:00
Junyi
577f9a34e8
fix(plugin-workflow-request): fix test (#4634) 2024-06-12 15:12:07 +08:00
Katherine
aecc4a9739
fix: block height calculation (#4629)
* fix: block height calculation

* fix: test
2024-06-12 14:50:40 +08:00
GitHub Actions Bot
0d6ebe16cf chore(versions): 😊 publish v1.2.1-alpha 2024-06-12 05:15:06 +00:00
chenos
06f2df8d2e fix: update package.json 2024-06-12 13:12:50 +08:00
chenos
75f5098ded fix: use dataSource.collectionManager.getCollection 2024-06-12 12:56:26 +08:00
ChengLei Shao
690b7cd636
chore(action-import): skip reset sequence if no auto-increment primary is imported (#4631)
* chore: auto incr primary key imported test

* chore: skip reset sequence if no auto increment primary imported
2024-06-12 11:45:45 +08:00
GitHub Actions Bot
79634179a4 chore(versions): 😊 publish v1.2.0-alpha 2024-06-12 03:39:54 +00:00
Zeke Zhang
e6848858d4
fix(filter-form): fix auto-trigger filter action without default value (#4627)
* test: add e2e test

* test: add unit tests

* fix(reset-button): prevent data clear when default values exist

* fix: resolve known issues and add tests
2024-06-12 11:07:04 +08:00
Katherine
5d48b3b5aa
fix: page freeze when handling formula field in sub-table after add,select and delete record (#4613)
* fix: page freeze when handling formula field in sub-table after add, select, and delete record

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug
2024-06-12 10:08:54 +08:00
chenos
585fea650e
feat: workbench block (#4555)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: improve code

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version
2024-06-12 09:40:14 +08:00
GitHub Actions Bot
c7060aeceb chore(versions): 😊 publish v1.0.1-alpha.3 2024-06-11 23:57:39 +00:00
YANG QIA
4e8bbf884c
fix(auth): translation of sign in page (#4624) 2024-06-11 23:37:00 +08:00
ChengLei Shao
454079b510
fix: import data with association field (#4623)
* fix: import china region

* fix: import to many data

* chore: sequence field test

* fix: import with explain template

* fix: log error cause in error handler
2024-06-11 23:11:23 +08:00
jack zhang
a5fc22c6b0
feat: tree block (#4566)
* feat: tree block

* fix: remove showSettings

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: table tree expand

* fix: bug

* fix: connection bug T-4501

* fix: template settings bug
2024-06-11 22:53:04 +08:00
dependabot[bot]
868813b5fc
chore(deps-dev): bump multer-aliyun-oss from 2.1.1 to 2.1.3 (#4614)
Bumps [multer-aliyun-oss](https://github.com/ay86/multer-aliyun-oss) from 2.1.1 to 2.1.3.
- [Commits](https://github.com/ay86/multer-aliyun-oss/commits)

---
updated-dependencies:
- dependency-name: multer-aliyun-oss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 22:38:30 +08:00
GitHub Actions Bot
092f3afab1 chore(versions): 😊 publish v1.0.1-alpha.2 2024-06-11 12:13:31 +00:00
Zeke Zhang
b97e103001
feat(filter-form): auto-trigger filter action when default values exist (#4622)
* test: add e2e test

* feat(filter-form): auto-trigger filter action when default values exist
2024-06-11 20:04:39 +08:00
Katherine
aa39b44d1b
fix: missing height in map history block (#4621) 2024-06-11 18:11:30 +08:00
Katherine
82c8bff835
fix: table block height issue with minimal data (#4617) 2024-06-11 18:10:41 +08:00
Junyi
cd04d23481
fix(preset): fix plugin-workflow-mailer version (#4619) 2024-06-11 15:44:58 +08:00
YANG QIA
0fb18b495f
fix(auth): allows to set the auth type title translation from server end (#4616)
* fix(auth): allows to set auth type title translation from server end

* chore: move tval to utils

* chore: mark deprecated

* fix: test
2024-06-11 14:25:07 +08:00
Katherine
b9fda22fb1
fix(export): export button remaining in loading state after cancel (#4615) 2024-06-11 11:35:53 +08:00
YANG QIA
aae75de70b
feat(tree-block): support filtering child nodes (#4603)
* feat(tree-block): support filtering child nodes

* test: add list test

* test: remove only

* fix: use isValidFilter
2024-06-11 11:34:11 +08:00
Junyi
11fcc9d7ae
fix(client): fix text wrap in variable input (#4605)
* fix(client): fix text wrap in variable input

* fix(client): revert css
2024-06-10 17:26:29 +08:00
Junyi
792200278e
refactor(plugin-workflow): change variable getter from collection fields (#4567)
* refactor(plugin-workflow): change variable getter from collection fields

* fix(plugin-workflow): fix import

* chore(plugin-workflow-action-trigger): remove unused import

* fix(plugin-workflow): fix collection field in workflow variable

* refactor(plugin-workflow-manual): avoid tslint error
2024-06-10 16:30:43 +08:00
chenos
1d2ac6b85e
fix: remove grid wrap (#4612) 2024-06-10 15:31:19 +08:00
David Fecke
328b0da846
feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)
* feat(client): allow json5 value in form-item type json component

* test: fix tests

* chore: set json5 default as false

* chore: add demo

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-06-10 11:09:26 +08:00
Katherine
73bf5f328d
fix: iframe block loses height when set to default (#4602)
* fix: iframe block loses height when set to default

* refactor: local improve
2024-06-08 12:57:14 +08:00
Junyi
d090f27346
feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584)
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow

* refactor(plugin-workflow-mailer): change plugin name and locales

* fix(plugin-workflow-mailer): fix parameters

* fix(preset): add new plugin to preset

* fix(plugin-workflow-mailer): fix locale namespace
2024-06-08 09:19:30 +08:00
Zeke Zhang
056a126d3a
chore: fix typo (#4589) 2024-06-08 09:16:13 +08:00
GitHub Actions Bot
9218319d02 chore(versions): 😊 publish v1.0.1-alpha.1 2024-06-07 13:46:37 +00:00
Katherine
7439a663f5
fix: style issues for gridCard in mobile client (#4599)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style improve
2024-06-07 20:56:07 +08:00
Katherine
b00631ab89
fix: style issues for gridCard in mobile client (#4593)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug
2024-06-07 20:39:22 +08:00
Zeke Zhang
7d4ae69f08
fix(variable): should remove through collection field (#4590) 2024-06-07 14:05:39 +08:00
YANG QIA
34108f1fcb
feat(data-vi): support for using url params and current role variables (#4586)
* feat(data-vi): support for using url params and current role variable

* fix: bug
2024-06-07 11:43:11 +08:00
Zeke Zhang
837f4f4158
refactor(variable): support default value setting (#4583)
* refactor(variable): support default value setting

* chore: add e2e test for URL search params variable

* fix: resolve field linkage errors

* chore: fix unit test

* test: association select data scope linkage

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-07 10:23:28 +08:00
Katherine
17edad6014
fix: compatibility issues with historical kanban and iframe block (#4587)
* fix: iframe params undefined

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block
2024-06-07 10:22:13 +08:00
chenos
cf740897cc fix(ci): skip some test cases on the Windows platform 2024-06-07 10:19:49 +08:00
Zeke Zhang
4743b2b689
fix(linkage-rules): resolve issue with invalid expressions (#4580)
* fix(linkage-rules): resolve issue with invalid expressions

* test: add e2e test for expression

* refactor: extract template
2024-06-06 19:38:38 +08:00
YANG QIA
0c637e8890
fix(map): amap reset (#4574) 2024-06-06 15:48:00 +08:00
chenos
22a89861f6
feat: url support preview (#4559)
* feat: url support preview

* feat: add settings for Input.Preview

* refactor: refactor CollectionField.tsx to use dynamic component

* Revert "refactor: refactor CollectionField.tsx to use dynamic component"

This reverts commit 37719eb28e.

* test: add e2e test

* refactor(e2e): extract template

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-06-06 14:11:10 +08:00
Katherine
74a5090ae8
fix: correct precision conversion error for Unix timestamp in readPretty (#4569) 2024-06-06 09:27:57 +08:00
Junyi
361ebee130
feat(plugin-workflow): allow to select any path of a variable in condition node (#4571) 2024-06-05 23:28:06 +08:00
Junyi
15424f4c88
fix(client): fix action props (#4568) 2024-06-05 20:43:19 +08:00
Zeke Zhang
cdd98c91bf chore(e2e): optimize e2e test 2024-06-05 18:02:47 +08:00
ChengLei Shao
2063227f4a
refactor: export & import plugin (#4468)
* feat: chunk method in repository

* chore: xlsx export test

* chore: xlsx export

* chore: export action

* chore: export action

* chore: code

* feat: database interface manager

* feat: export with ui schema

* chore: console.log

* chore: export with china region field

* chore: export with attachments

* chore: export with multiple select

* chore: export with interface

* chore: export action

* fix: export with datetime file

* chore: limit export action running in same time

* chore: yarn.lock

* fix: render json value

* chore: chunk with limit

* feat: add EXPORT_LIMIT env config

* fix: typo

* fix: type

* chore: asyn mutex version

* chore: test

* chore: test

* fix: export null value

* chore: test

* chore: createdAt test

* fix: export with createdAt

* chore: import template

* chore: xlsx importer

* chore: import run

* chore: export with data source api

* chore: toValue api in interface

* fix: build

* chore: import with transaction

* fix: build database

* chore: many to one interface

* chore: code

* chore: import with associations

* chore: default toValue

* chore: import template with explain

* chore: import with explain template

* chore: reset id seq after import

* chore: download template action

* fix: database build

* fix: build

* fix: build

* fix: test

* chore: import with number field

* chore: import with boolean field

* chore: json interface

* chore: import action

* chore: typo

* chore: i18n

* chore: select interface

* chore: china region interface

* chore: datetiem field

* chore: cast to array

* fix: import tips

* chore: import await

* fix: test

* fix: test in mariadb

* chore: comments

* chore: comments

* fix: parse date with empty string

* fix: read import limit

* fix: type

* fix: test in mariadb

* chore: skip bigint test in sqlite

* chore: skip bigint test in sqlite

* chore: download tip i18n keys

* fix: download tips

* feat(client): add new variable named 'URL search params' and support link action (#4506)

* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>

* refactor(FormV2): add FormWithDataTemplates component (#4551)

* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable

* chore: import warning i18n

* chore: import warning i18n

* fix: bug

* fix: export action loading

* fix: bug

* chore: map field interface

* fix: merge bug

---------

Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 17:52:43 +08:00
Katherine
1cc35e1ef5
fix: styling issues during field drag-and-drop in details/form/list block (#4558)
* fix: styling issues during field drag-and-drop in details/form/list block

* refactor: code improve

* refactor: code improve

* refactor: code improve
2024-06-05 16:50:18 +08:00
Zeke Zhang
1dc6a25aa4
chore(e2e): make e2e tests more stable (#4565)
* chore(e2e): make e2e tests more stable

* fix(e2e): add immediate param for clearBlockTemplates
2024-06-05 16:44:47 +08:00
YANG QIA
65b91797ee
fix: sign up page not found for a new basic authentication (#4556) 2024-06-05 15:38:34 +08:00
YANG QIA
af1325f055
fix(l10n): i18n namespace of page title (#4557) 2024-06-05 15:38:16 +08:00
Katherine
ec15f9e35a
feat: iframe support variables (#4512)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* feat: iframe support variables

* fix: menu selectKeys (T-4373)

* feat: iframe support variables

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: bug

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix: bug

* fix: bug

* fix(Link): hide linkage rules in top link (T-4410)

* fix: bug

* fix: bug

* fix: bug

* refactor: extract commonOptions

* fix: remove 'Current record' variable

* chore: fix unit tests

* fix: bug

* chore: make unit tests pass

* fix: fix build

* fix(e2e): resolve errors due to compilation issues

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 15:25:04 +08:00
Junyi
924a328501
fix(client): fix upload logo in system settings (#4564) 2024-06-05 14:50:55 +08:00
Junyi
3f8ab46dc1
fix(plugin-fm): fix attachment component selectable check (#4563) 2024-06-05 14:50:38 +08:00
Junyi
d7866a6b51
fix(client): fix waring props (#4562) 2024-06-05 14:49:49 +08:00
Junyi
8cc5ad2abf
fix(plugin-fm): fix page crash when 413 in local dev (#4560) 2024-06-05 13:46:34 +08:00
Zeke Zhang
2dfa7a2625 Revert "chore: make e2e tests more stable"
This reverts commit 46f219f0cc.
2024-06-05 12:41:19 +08:00
Daniel Jimenez Gutierrez
bef0dcb7de
fix defaultImage in constants.ts for google maps (#4483)
Somehow the image was corrupted, I made a regression to a past constant and now it works.
2024-06-05 10:15:48 +08:00
Zeke Zhang
46f219f0cc chore: make e2e tests more stable 2024-06-05 10:02:42 +08:00
Zeke Zhang
bab5d40dbe
refactor(FormV2): add FormWithDataTemplates component (#4551)
* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable
2024-06-04 21:35:37 +08:00
Zeke Zhang
f66edb5d27
feat(client): add new variable named 'URL search params' and support link action (#4506)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-04 20:57:03 +08:00
Katherine
0b8f762d8b
feat: data block support setting block height (#4441)
* feat: data block support setting block height

* feat: form block support setting block height

* feat: form block support setting block height

* feat: detail block height

* test: fix

* fix: bug

* feat: grid card support block height

* feat: kanban support block height

* feat: kanban support block height

* feat: calender support block height

* feat: calender support block height

* feat: map support block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* test: skip

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: blockinitializers style improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: test

* fix: test

* fix: test
2024-06-04 17:32:01 +08:00
YANG QIA
9b7abf7295
feat(logger): support for collecting debug informations when rendering failed (#4524)
* feat(logger): support for collecting debug informations when rendering failed

* chore: update

* feat: add location information

* fix: test

* fix: test

* fix: tests

* fix: bug
2024-06-04 12:10:17 +08:00
Katherine
e842cd4cab
fix: data filtering and formula field value errors after subtable record selection (#4547)
* fix: data filter issue after selecting records in subtable

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-04 11:05:42 +08:00
Katherine
1b1930b328
fix: show cascade select when no data in edit form (#4543) 2024-06-03 14:30:18 +08:00
Junyi
1c990ba0a5
fix(plugin-workflow): fix workflow version dropdown overflow (#4542) 2024-06-02 23:01:35 +08:00
Zeke Zhang
63f71994ab
test(block-templates): add test cases (#4540) 2024-06-02 18:52:04 +08:00
Zeke Zhang
773f05dcd2
feat(client): adjust toolbar for Table Actions (#4538)
* feat(client): adjust toolbar for Table Actions

* chore: ensure backward compatibility

* chore: update e2e tests

* chore: fix fialed unit tests

* Revert "chore: update e2e tests"

This reverts commit 0a70171687.

* chore: update e2e tests

* chore: update e2e tests

* chore: don't forget to revert me

* chore: update e2e tests

* chore: update e2e tests

* Revert "chore: don't forget to revert me"

This reverts commit 29a51dff28.

* chore: update timeout and retries in defineConfig

* chore: make e2e tests more stable

* chore: make e2e tests more stable
2024-06-02 17:42:09 +08:00
dependabot[bot]
6bc3f7a540
chore(deps): bump sanitize-html from 2.10.0 to 2.13.0 (#4505)
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.10.0 to 2.13.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.13.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
  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-06-01 18:36:28 +08:00
Zeke Zhang
db66090ab2
fix(client): fix data template style (#4536) 2024-06-01 10:58:24 +08:00
Junyi
ccef72cb0b
fix(plugin-fm): fix cos path error (#4537) 2024-05-31 11:29:31 +08:00
Katherine
dc309cbab5
fix: prevent deletion of entire association field when removing the last column in subtable (#4518)
* fix: prevent deletion of entire association field  when removing the last column in subtable

* fix: node version

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-31 00:03:15 +08:00
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
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
Zeke Zhang
a00f4ac69b test: fix e2e to make pass 2024-04-13 12:53:25 +08:00
xilesun
d66c2baa53 chore(versions): 😊 publish v0.21.0-alpha.7 2024-04-13 09:37:59 +08:00
katherinehhh
3fd5b05940
fix: scopeKeyOptions should be obtained in real-time (#4029)
* fix: formula field caluation error

* fix: scopeKeyOptions

* fix: bug

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

* chore: unskip

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

* feat: register once hook in datasource manager

* chore: api name

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

* feat: enhance transformers

* fix: transformer

* fix: test

* fix: tooltips

* feat: add format

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

* fix: build error

* fix: exclude requirejs

* fix: e2e bug

* fix: block delete refresh(T-3936)

* fix: add test utils

* fix: build bug

* fix: remove test only

* fix: kanban bug

* fix: add more unit tests

* fix: coverage bug

* fix: update

* fix: refactor

* fix: add more tests

* fix: unit test bug

* fix: refactor code

* fix: refactor nocobase test

* test: add test case

---------

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

* chore: hide Other records in popup for edit form

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

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

* feat: optimize title for association block

* fix: template

* fix: block title

* chore: fix e2e

* fix: should use compile

* fix: remove useVisible

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

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

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

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

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

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

* test: add e2e for T-3235

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

* fix: fix field value submission on field removal

---------

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

* fix: bug

* fix: bug

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

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

* test: association block action permission test

* fix: useDataBlockProps

* fix: useDataBlockProps

* fix: useResourceName

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

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

* refactor: sort field

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

* fix(Form): invalid parentRecord

* chore: make e2e more stable

* chore: make e2e more stable

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

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

* fix: clear error on value is empty

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

* fix: build

* chore: add back sample-hello

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

* test: add e2e

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