Commit Graph

3894 Commits

Author SHA1 Message Date
chenos
2b1c32b34c fix(data-source-manager): resource prefix 2024-03-18 18:28:35 +08:00
katherinehhh
2236ac5be2
refactor: url field support text type as availableTypes (#3751) 2024-03-18 17:58:32 +08:00
Chareice
1660a62399
chore: using text type as url field 2024-03-18 16:00:53 +08:00
chenos
220eafbda5 fix(client): plugin aliases 2024-03-18 15:55:10 +08:00
ChengLei Shao
a81fa5b8e0
chore: system logger with error stack (#3747) 2024-03-18 14:32:37 +08:00
Zeke Zhang
aa1823cd73
chore: adapt to plugin-custom-brand (#3740)
* chore: adapt to plugin-custom-brand

* chore: add parseHTML

* chore: adapt to plugin-custom-brand
2024-03-18 13:22:18 +08:00
YANG QIA
3942b7cb94
fix(data-vi): tooltip bug of pie chart (#3745) 2024-03-18 12:33:03 +08:00
chenos
3b619682ee fix(field-interface): nested filterable 2024-03-18 09:56:28 +08:00
chenos
db9ff337e5 chore(versions): 😊 publish v0.20.0-alpha.13 2024-03-17 23:34:26 +08:00
chenos
729a8dce81 fix: env variables have been modified 2024-03-17 23:33:22 +08:00
chenos
df153527a7 fix(acl): unable to associate users 2024-03-17 23:30:32 +08:00
katherinehhh
7e32842a6d
fix: collections undefined inuseCollectionState (#3741) 2024-03-17 22:16:11 +08:00
katherinehhh
93091a92f7
test(acl):column action acl e2e (#3738)
* test: acl e2e test support new data block

* test: acl e2e test support new data block

* test: acl e2e test support new data block

* test: acl e2e test support new data block
2024-03-17 17:29:23 +08:00
katherinehhh
483f45765d
refactor: colDivider style improve for draging overing (#3709)
* refactor: colDivider style improve for draging overing

* refactor: stle improve

* style: grid.Col style improve
2024-03-17 16:35:59 +08:00
YANG QIA
3be6b7c0c6
fix(data-vi): association fields transform bug (#3737)
* fix(data-vi): association fields transform bug

* fix: bug
2024-03-17 15:16:06 +08:00
katherinehhh
4cf560b177
fix(acl): invalid action permission judgment (#3735)
* fix: x-acl-action is missing in action schema

* fix: useACLRoleContext

* fix: useACLRoleContext

* fix: useACLRoleContext
2024-03-17 09:26:35 +08:00
Chareice
820352f280
fix: console command 2024-03-17 09:20:14 +08:00
chenos
c1be864124 chore(versions): 😊 publish v0.20.0-alpha.12 2024-03-16 23:18:19 +08:00
YANG QIA
542fb65b50
fix: compatibility of @ant-design/plots 2.x (#3734)
* fix: compatibility of @ant-design/plots 2.x

* fix: dual-axes chart bug

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

* feat: auto publicPath

* fix: buildIndexHtml

* fix: format

* fix: regexp

* fix: test error

* fix: nocobase.conf

* fix: path

* fix: nocobase.conf

* fix: bugs

* fix: resourcer prefix

* fix: cas
2024-03-16 20:01:34 +08:00
Zeke Zhang
126f60c959
fix(variables): fix varaibles for table selector (#3725)
* fix(variables): fix varaibles for table selector

* test: add e2e

* chore: fix build

* fix: should not display current record in create form

* fix: fix known bugs

* test: fix e2e
2024-03-15 22:56:35 +08:00
Chareice
1cdbe0de96
chore: upgrade dotenv version 2024-03-15 21:48:43 +08:00
Thiago Rodrigues
8801ba625f
fixing timezone header when it is negative value (#3732) 2024-03-15 19:40:27 +08:00
jack zhang
04ee7b84ec
feat: add data source filter (#3724) 2024-03-15 15:38:33 +08:00
Zeke Zhang
b0705843e5
fix(Table): fix disappearing content after selecting a row (#3726) 2024-03-15 14:14:41 +08:00
Chareice
8be6f9078f
chore: enum type map 2024-03-15 11:37:54 +08:00
katherinehhh
032352985b
refactor: view collection set name as default title when title is missing (#3719) 2024-03-14 21:51:48 +08:00
Zeke Zhang
286af35ff8
refactor: add blocks in a unified way (#3668)
* refactor: rename filterMenuItemChildren to filterCollections

* refactor: revert parameters to destructured object

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

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

* refactor: table & list & grid card

* refactor: form

* refactor: association details

* chore: useVisible

* refactor: calendar

* chore: remove relationshipBlocks

* refactor: unify Details schema

* fix: avoid error

* chore: add translate

* chore: add tag to association fields

* fix: add block useChildren and children merge

* test: fix e2e

* test: fix e2e

* fix: fix Calendar

* fix: fix search

* test: add e2e for search

* fix: fix T-3554

* fix: fix T-3551

* feat: add no data for details block

* chore: fix unit test

* chore: fix unit test

* chore: change text

* chore: optimize text

* chore: add translation

* style: fix memu item style

* refactor: rename

* test: fix e2e

* test: fix e2e

---------

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

* feat: support to set data loading mode

* chore: add translation

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

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

* feat: support old version

* fix: data scope

* fix: fix known bugs

* fix: add setting for table selector

* test: fix e2e
2024-03-14 18:10:54 +08:00
jack zhang
99358ee796
fix: block template (#3714) 2024-03-14 14:30:02 +08:00
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style (#3604)
* refactor(SchemaSettings): unify naming style

* refactor(SchemaInitializers): unify naming stle

* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm

* refactor: replace to blockInitializers:customizeCreateForm

* refactor: replace block intializers name

* refactor: replace action initializers name

* refactor: replace field initializers name

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

* refactor: revert some codes

* chore: update comment

* chore: replace iframeBlockSchemaSettings to blockSettings:iframe

* chore: delete pro-packages

* feat: add CompatibleSchemaInitializer

* test: add unit tests

* chore: add @internal for CompatibleSchemaInitializer

* chore: block

* chore: field

* chore: ations

* fix: build

* chore: typo

* fix: fix unit tests

* test: fix e2e

* chore: remove igone

* refactor: page:addBlock

* refactor: popup:addNew:addBlock

* fix: fix max call stack

* refactor: popup:addRecord:addBlock

* refactor: remove blockInitializers:recordForm

* refactor: popup:tableSelector:addBlock

* refactor: popup:view:addBlock

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

* refactor: mobilePage:addBlock

* refactor: popup:snapshot:addBlock

* refactor: popup:workflowManual:configureUserInterface:addBlock

* fix: avoid crashing

* chore: optimize

* refactor: popup:common:addBlock

* refactor: workflowManual:popup:configureUserInterface:addBlock

* refactor: details:configureFields

* refactor: form:configureFields

* refactor: table:configureColumns

* refactor: filterForm:configureFields

* refactor: associationFilterInitializer

* refactor: assignFieldValuesForm:configureFields

* refactor: bulkEditForm:configureFields

* refactor: auditLogsTable:configureColumns

* refactor: chartFilterForm:configureFields

* refactor: kanban:configureItemFields

* refactor: workflowManual:customForm:configureFields

* refactor: detailsWithPaging:configureActions

* refactor: details:configureActions

* refactor: createForm:configureActions

* refactor: editForm:configureActions

* refactor: gridCard:configureActions

* refactor: gridCard:configureItemActions

* refactor: list:configureActions

* refactor: list:configureItemActions

* refactor: table:configureItemActions

* refactor: table:configureActions

* refactor: filterForm:configureActions

* refactor: subTable:configureActions

* refactor: bulkEditForm:configureActions

* refactor: auditLogsTable:configureItemActions

* refactor: auditLogsTable:configureActions

* refactor: calendar:configureActions

* refactor: chartFilterForm:configureActions

* refactor: gantt:configureActions

* refactor: kanban:configureActions

* refactor: map:configureActions

* refactor: workflowManual:form:configureActions

* feat: use 'createForm:configureActions' in page

* feat: use 'details:configureActions' in Calendar

* feat: register deleteEvent initializer in calendar plugin

* fix: fix delete event action

* test: fix e2e

* test: fix e2e

* chore: only run workflow's e2e

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

This reverts commit 9e5b4af41e.

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

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

* refactor: radio support mutiple type

* refactor: code improve
2024-03-13 16:44:17 +08:00
ChengLei Shao
f6590d1331
fix: get async json schema (#3705)
* fix: get async json schema

* fix: test
2024-03-13 16:17:18 +08:00
katherinehhh
0123a3320b
fix: select fieldnames (#3704) 2024-03-13 15:22:40 +08:00
katherinehhh
61a290117f
fix: field configuration of Kanban interacts with other block (#3689) 2024-03-13 15:21:35 +08:00
katherinehhh
ff1877ce01
fix: radio (#3701) 2024-03-13 12:59:20 +08:00
katherinehhh
c7cfeec6a1
feat: add uuid & nanoid & unitTimestamp interface (#3684)
* refactor: select & radio compoent supports multiple type of value

* fix: ridio test

* feat: uuid & nanoid & snowflake interface

* refactor: delete snowflake

* feat: nanoid field type (#3685)

* refactor: add child in inheritance of tree collection (#3676)

* refactor: add child in inheritance of tree collection

* refactor: add child in inheritance of tree collection

* style: style improve

* feat: nanoid field

* chore: nanoid field type map

---------

Co-authored-by: katherinehhh <shunai.tang@hand-china.com>

* chore: nanoid options

* refactor: unixTimestamp

* fix: test

* refactor: unixTimestamp

* refactor: unixTimestamp

* refactor: locale imrove

* refactor: local improve

* refactor: nanoIDInput

* refactor: nanoIDInput

* refactor: nanoIDInput

* refactor: unixTimestamp

* refactor: nanoIDInput

* fix: test

---------

Co-authored-by: ChengLei Shao <chareice@live.com>
2024-03-13 12:07:45 +08:00
Junyi
4015cf1c0d
fix(plugin-workflow): fix duplicated triggering schedule event (#3692) 2024-03-13 11:42:00 +08:00
Junyi
f68b2fb04a
refactor(client): add component to support data source select (#3691) 2024-03-13 10:23:08 +08:00
Zeke Zhang
d904d13c52
fix(Form): should be created instead of updated when clicking submit (#3687)
* fix(Form): should be created instead of updated when clicking submit

* test: add e2e

* test: optimize e2e
2024-03-13 10:13:02 +08:00
chenos
24b52c98d1 fix: add external deps 2024-03-12 22:30:13 +08:00
katherinehhh
b4058ecb1b
fix: incorrect pagination query parameters when batch deleting last page (#3670) 2024-03-12 21:29:47 +08:00
chenos
2e7da6e29b chore(versions): 😊 publish v0.20.0-alpha.9 2024-03-12 21:15:51 +08:00
katherinehhh
559cbca396
refactor: add child in inheritance of tree collection (#3676)
* refactor: add child in inheritance of tree collection

* refactor: add child in inheritance of tree collection

* style: style improve
2024-03-12 17:27:35 +08:00
Chareice
023096b1a9
fix: pagination error in roles collections resourcer 2024-03-12 15:15:24 +08:00
jack zhang
de6e8469d3
fix: data source add field refresh(T-3253) (#3645) 2024-03-12 15:13:56 +08:00
ChengLei Shao
37b97c6e52
chore: escape underscore char in include query (#3681) 2024-03-12 14:53:12 +08:00
ChengLei Shao
94cbbf93b8
fix: upgrade app after restore (#3680) 2024-03-12 11:34:22 +08:00
katherinehhh
4a346a4119
fix: view collection association field foreignkey should be select (#3671) 2024-03-12 09:30:38 +08:00
ChengLei Shao
cdf9f4818f
fix: acl should return true when resource allowed (#3675)
* fix: acl should return true when resource allowed

* chore: test
2024-03-12 09:08:15 +08:00
ChengLei Shao
3da2a8af92
fix: init scope value when all data is null value (#3674) 2024-03-11 19:37:48 +08:00
jack zhang
f9567d711b
fix: inheritance cache bug (#3669) 2024-03-11 16:57:37 +08:00
katherinehhh
ba2467c9bf fix: assign field values modal shuold support maskClosable 2024-03-11 16:52:14 +08:00
Chareice
ef097bd450
fix: acl snippet value 2024-03-11 13:05:37 +08:00
xilesun
6fd06a28c8 chore(versions): 😊 publish v0.20.0-alpha.8 2024-03-11 09:59:08 +08:00
ChengLei Shao
a477facdbf
chore: move collection manager snippets into data source (#3666) 2024-03-10 09:57:14 +08:00
Zeke Zhang
9e88972ba6
fix(Form): retain field's default value after submitting the form (#3665)
* fix(Form): should not be clear default value after submit

* test: make e2e more stable
2024-03-09 18:59:56 +08:00
ChengLei Shao
ca0f1b5c05
chore: test (#3664) 2024-03-09 17:45:19 +08:00
YANG QIA
dd5b026ee9
fix(auth): cas service validate issue (#3661) 2024-03-09 11:13:09 +08:00
ChengLei Shao
46daba1e6e
fix: infer postgres field (#3663) 2024-03-09 10:08:32 +08:00
Junyi
677eb152e0
fix(plugin-workflow-action-trigger): fix appends loading (#3659)
* fix(plugin-workflow-action-trigger): fix appends loading

* fix(plugin-workflow-action-trigger): fix test case
2024-03-08 21:06:10 +08:00
Chareice
e7e37b3634
chore(backup-restore): using ctime for Windows compatibility 2024-03-08 20:38:01 +08:00
Junyi
0bb0396754
fix(plugin-workflow): fix migration (#3654) 2024-03-08 17:29:35 +08:00
chenos
63d1a8d90c chore(versions): 😊 publish v0.20.0-alpha.7 2024-03-08 14:11:35 +08:00
katherinehhh
db045c61d2
fix: view collection interface missing (#3658) 2024-03-08 12:00:59 +08:00
jack zhang
2fc13c180c
fix: getCollection bug (#3656) 2024-03-08 11:18:32 +08:00
chenos
8b4821e2df chore(versions): 😊 publish v0.20.0-alpha.6 2024-03-08 10:23:26 +08:00
ChengLei Shao
cacaafd05b
fix: parse association field in acl (#3655) 2024-03-08 09:21:27 +08:00
YANG QIA
0ddc3d3f5f
chore: update menu name of plugin-localization (#3653) 2024-03-07 20:08:33 +08:00
YANG QIA
f9eb2699f2
chore(pm): set plugin-sms-auth as local plugin, close T-3323 (#3652) 2024-03-07 19:59:51 +08:00
katherinehhh
16581a547c
fix(cascadeSelect): cassadeSelect does not dislay data in edit form (#3649) 2024-03-07 19:22:34 +08:00
YANG QIA
263ee28c72
fix(db): through scope in eager loading & fix(acl): filter reset issue (#3636)
* fix(database): through scope in eager loading

* chore: update

* fix: role users filter

* chore: update
2024-03-07 13:38:17 +08:00
katherinehhh
30b4ed77a1
fix: dateTime format configured in table is invalid (#3630)
* fix: datetime format configured in the table is invalid

* test: date display format

* refactor: default timeformat

* test: datetime display format
2024-03-07 10:48:49 +08:00
katherinehhh
4bbce06d5e
fix: data source permission role update (#3643) 2024-03-07 10:16:48 +08:00
Zeke Zhang
d427dc6ea1 fix: avoid crashing 2024-03-07 08:39:07 +08:00
chenos
0f1115b058 fix(create-action): invalid save mode 2024-03-06 23:05:16 +08:00
chenos
2e3dd1250c fix(acl): create action aliases 2024-03-06 22:56:43 +08:00
chenos
ed224cfa13 fix(file-manager): update target 2024-03-06 22:39:39 +08:00
katherinehhh
d82ed8058c
style: flexWrap in actionBar (#3635) 2024-03-06 21:32:32 +08:00
Chareice
1c0654001f
chore: data source list enabled api 2024-03-06 18:48:30 +08:00
jack zhang
454d1d34ed
fix: add displayName (#3628)
* fix: context add displayName

* fix: observer add displayName

* fix: memo component add displayName

* fix: forwordRef component add displayName
2024-03-06 18:22:31 +08:00
chenos
bccde967cc fix: app version 2024-03-06 18:10:24 +08:00
Zeke Zhang
0ae81f0c2a
fix(customRequestAction): should not support setting icons and colours (#3632)
* test: add e2e

* fix(customRequest): should not support setting icons and colours
2024-03-06 17:13:06 +08:00
Junyi
b5ae9343b5
fix(workflow-action-trigger): change plugin name (#3631)
* fix(plugin-workflow-action-trigger): fix migration

* fix(plugin-workflow): fix useless migration logic
2024-03-06 16:36:35 +08:00
katherinehhh
f9d1e9f0bc
fix: graph collection postions data missing (#3627) 2024-03-06 15:25:20 +08:00
Zeke Zhang
0d327bb539
fix(ActionLink): fix hover style (#3629) 2024-03-06 14:58:08 +08:00
Junyi
c2b121cda6
feat(plugin-workflow-form-trigger): add trigger button to all single record action bar (#3563)
* feat(plugin-workflow-form-trigger): add trigger button to all single record actionbar

* fix(plugin-workflow-form-trigger): fix button style and triggering

* fix(plugin-workflow): fix unused hook ref in workflow

* fix(plugin-workflow-form-trigger): fix button style

* refactor(plugin-workflow-action-trigger): change plugin name

* fix(plugin-workflow-action-trigger): fix unmigrated stuff

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case

* fix(presets): fix package name

* fix(plugin-workflow-action-trigger): fix e2e test and migration

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

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

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

* feat(plugin-workflow-action-trigger): add destroy to trigger

* fix(plugin-workflow-action-trigger): fix appends select

* fix(plugin-workflow-action-trigger): remove support for destroy action

* fix(plugin-workflow-action-trigger): fix collection check

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case
2024-03-06 14:42:20 +08:00
jack zhang
d3627c5ba9
fix: sidebar menu text overflow (#3626) 2024-03-06 14:37:13 +08:00
katherinehhh
bcb445644c
fix(acl-plugin-setting): pluginPermissions for snippets check (#3622)
* refactor:  pluginPermissions for snippets check

* fix: bug

* fix: bug
2024-03-06 14:11:08 +08:00
Zeke Zhang
d56268730b
fix(subTable): fix changing title field invalid (#3625)
* test: add e2e

* fix: fieldNames change in sub-table should take effect in real time

* fix: fieldNames change in sub-table should take effect in real time

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-06 14:10:31 +08:00
Zeke Zhang
202fcef17c
fix: fix hover style for sub table (#3623)
* Revert "style(TableColumn): fix style of mouse hover (#3597)"

This reverts commit 488616f7fe.

* fix: fix hover style for sub table

* fix: style

* Revert "fix: style"

This reverts commit 33901c4ff9.

* fix: style
2024-03-06 00:29:30 +08:00
chenos
0fc382d298 chore(versions): 😊 publish v0.20.0-alpha.5 2024-03-06 00:20:06 +08:00
chenos
e82179ff61 fix(select): fieldNames are missing the value parameter 2024-03-05 23:58:56 +08:00
chenos
516619bb04 fix(file-manager): missing attachments 2024-03-05 22:54:20 +08:00
Zeke Zhang
5ca1827e7e
fix(save-record): differentiate between creation and updating based on record.isNew (#3620) 2024-03-05 21:22:24 +08:00
Junyi
8e16bab213
fix(plugin-workflow): fix schedule repeat logic (#3612)
* fix(plugin-workflow): fix schedule repeat logic

* fix(plugin-workflow): fix test case
2024-03-05 21:08:46 +08:00
katherinehhh
951aece70c
refactor: useFormItemInitializerFields (#3621) 2024-03-05 20:56:40 +08:00
katherinehhh
96832e6113
fix: collection without filterTargetKey should not be able to add block (#3614)
* fix: collection without filterTargetKey should not be  able to add block

* refactor: locale improve
2024-03-05 20:56:05 +08:00
Zeke Zhang
5a72e41a9d
fix(kanban): fix block (#3619) 2024-03-05 20:55:27 +08:00
Chareice
c07767e753
fix: data source collection unique index 2024-03-05 20:52:00 +08:00
Zeke Zhang
a37195eb4f
fix: should display settings after field deleted (#3606) 2024-03-05 19:30:59 +08:00
katherinehhh
c5dd034452
fix: role name is error in role configure (#3618) 2024-03-05 18:19:53 +08:00
katherinehhh
d708c93b22
fix: bulkEditFormItemSettings collection undefined (#3616) 2024-03-05 17:39:43 +08:00
katherinehhh
03e47a04ea
fix: calender failed to change view for week (#3602) 2024-03-05 16:34:10 +08:00
Zeke Zhang
26432ec84c chore(e2e): reduce timeout 2024-03-05 16:32:30 +08:00
Zeke Zhang
e10899b271
fix(Table): fix Fixed Block bug (#3601)
* fix(Table): fix Fixed Block bug

* test: unskip e2e

* chore: remove comment

* Revert "fix(Table): fix Fixed Block bug"

This reverts commit 7e7e22c6d3.

* fix(Table): fix Fixed Block bug

* refactor: remove useless code

* fix: empty page

* chore: increase timeout
2024-03-05 16:27:17 +08:00
ChengLei Shao
89ad88857d
chore: remove data source (#3610) 2024-03-05 15:58:45 +08:00
katherinehhh
3acc574877
test: acl test (#3609) 2024-03-05 15:13:28 +08:00
jack zhang
44f1ef1416
fix: not exists data sourec (#3608) 2024-03-05 14:56:24 +08:00
jack zhang
3b30070f2d
fix: data-block parent request with data-source (#3605) 2024-03-05 13:00:50 +08:00
jack zhang
b1a49f0d06
fix: remove temp doc (#3603)
* fix: remove temp doc

* refactor: moment => dayjs

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-05 12:34:20 +08:00
chenos
e7cc6cca54 chore(versions): 😊 publish v0.20.0-alpha.4 2024-03-05 09:08:53 +08:00
chenos
9bd0f4faff chore(data-source-manager): improve translation 2024-03-05 09:01:29 +08:00
chenos
bc9260ac52 chore: improve translation 2024-03-04 23:33:19 +08:00
chenos
e377f3a57c fix: update plugin package.json 2024-03-04 23:02:29 +08:00
chenos
ff9acd6d69 chore(versions): 😊 publish v0.20.0-alpha.3 2024-03-04 21:37:43 +08:00
jack zhang
61c24ac2fd
fix: create-nocobase-app + yarn dev error (#3599) 2024-03-04 21:36:22 +08:00
Chareice
c1c4d93dce
fix: data source collection dump rules 2024-03-04 20:44:00 +08:00
katherinehhh
f619c4e6c0
fix: chinaRegions association fieldName (#3600)
* fix: chinaRegions association fieldName

* fix: useAssociatedFormItemInitializerFields fieldName
2024-03-04 19:00:29 +08:00
Chareice
56d4d240a1
fix: remove backup file 2024-03-04 17:46:58 +08:00
katherinehhh
09985ed8bc
fix: field hidden with linkage rule should clear value (#3576) 2024-03-04 17:28:33 +08:00
Junyi
87ed436f8c
fix(client): fix mistaken changed api (#3598) 2024-03-04 16:45:10 +08:00
Zeke Zhang
488616f7fe
style(TableColumn): fix style of mouse hover (#3597) 2024-03-04 15:45:53 +08:00
chenos
32b15cb108 chore(versions): 😊 publish v0.20.0-alpha.2 2024-03-03 23:37:37 +08:00
chenos
e5a380ff39 fix: import 2024-03-03 23:35:13 +08:00
chenos
29e10f365f chore(versions): 😊 publish v0.20.0-alpha.1 2024-03-03 23:08:21 +08:00
katherinehhh
af6113c8ef
feat: support for multiple data sources (#3418)
* refactor: collectionName display with tablePrefix

* fix: bug

* fix: schema toolbar no ddata source (T-3182)

* fix: unit test bug

* fix: useAssociationNames support data source

* chore(RecordProvider_deprecated): add collectionName

* fix: deprecated

* refactor: default value

* refactor: default value

* fix: fastRefresh=false

* style: fix action link style (T-3228)

* fix: should not diaplay Save mode for some Action (T-3217)

* chore: remove group title (T-3194)

* fix: extend collections bug

* chore: transaction

* fix: filter block only current data source (T-3226)

* fix: fix filter block in drawer (T-3224)

* fix: avoid error when editing field (T-3232)

* fix: primary key name in postgres

* chore: test

* chore: test

* refactor: forgin key support select and input

* fix: doc bug

* fix: change duplllicte divier name

* feat: throughScope

* fix: bug

* refactor: local improve

* fix: fix parent record of Add child in tree table (T-3235)

* fix: block template filter by dataSource(T-3234)

* chore: change table primary key

* refactor: index for primarykey & unique

* chore: test

* fix: should not display filter blocks option if no association field (T-3242)

* fix: dataSourceKey

* refactor: sourcekey & forginkey & targetkey limit type

* fix: bug

* chore: test

* fix: upload action

* fix: unit test

* fix: useSourceIdFromParentRecord

* fix: permissions

* fix: oho association field should has default fieldnames

* fix: useSourceIdFromParentRecord

* fix: tableSelectorProvider collection undefined

* fix: bug

* chore: validate association keys

* fix: apply mixin bug

* fix: getPrimaryKey

* fix: bug T-3253

* fix:  collection unit test

* chore: validate association keys

* fix: create collection

* fix: getCollection in TableBlockProvider

* refactor: association key in data source manager

* fix: improve doc

* fix(relationshipBlocks): fix sourceId (T-3257,T-3264)

* fix: plugin acl test

* chore: correct field options

* fix: dataScope resource

* fix: improve doc

* fix: appVersion = '<0.20.0-alpha.1'

* refactor: fieldNames

* refactor: primarykey & unique & autoIncrement shuld not support edit in third dataSource

* fix: bug

* fix: gantt block params tree

* fix: style

* fix: wording & icon

* fix: bug

* fix: roles cache

* refactor: calender & express & file collection support preset fields

* fix: decode uri

* refactor: migrate files [wip] (#3584)

* refactor: migrate blockSettings:table

* refactor: migrate fieldSettings:TableColumn

* refactor: migrate TableBlockInitializer

* fix: fix import path

* refactor: migrate TableActionInitailizers

* refactor: migrate TableColumnInitializers

* refactor: migrate TableActionColumnInitializers

* refactor: migrate TableColumnSchemaToolbar

* refactor: migrate TableSelectorInitializer

* refactor: migrate blockSettings:tableSelector

* refactor(tableSelector): migrate e2e

* refactor(form): migrate e2e

* refactor: migrate FormBlockInitializer

* refactor: migrate CreateFormBlockInitializer

* refactor: migrate RecordFormBlockInitializer

* refactor: migrate blockSettings:createForm

* refactor: rename file name

* refactor: migrate blockSettings:editForm

* refactor: migrate FormActionInitailizers

* refactor: move to a new file

* refactor: migrate formItemInitializers

* refactor: migrate FormItemSchemaToolbar

* refactor: migrate fieldSettings:FormItem

* chore: fix build

* fix: fix weird path error

* fix: rename formActionInitializers

* fix: create collection field

* refactor: throughCollection

* fix: datasources get permission

* fix: throughCollection

* fix: throughCollection

* fix: register initializer components

* refactor: targetkey & source key must be unique

* refactor: targetkey & source key must be unique index

* fix(customRequest): avoid error when clicking button

* chore: error message when add multiple primary keys

* fix: target key in hasMany

* fix: default value should not support edit in outside dataSource

* fix: test

* fix: update associations (#3586)

* fix: source key

* fix: addAccessor

* fix: updateAssociations

* fix: bugs

* fix: remove test.only

* refactor: migrate RecordReadPrettyFormBlockInitializer

* refactor: migrate singleDataDetailsBlockSettings

* fix(users): filter bug

* refactor: migrate readPrettyFormActionInitializers

* refactor: migrate readPrettyFormItemInitializers

* refactor: migrate DetailsBlockInitializer

* refactor: migrate multiDataDetailsBlockSettings

* feat: validate association key pairs

* chore: default title

* refactor: migrate detailsActionInitializers

* refactor: migrate e2e

* refactor: migrate ListBlockInitializer

* refactor: migrate listBlockSettings

* refactor: migrate listActionInitializers

* refactor: migrate listItemActionInitializers

* fix: create collection

* fix: remove fieldsHistoryRepository.createMany

* test(e2e): fix error message for roles.name

* fix: sync indexes in postgres

* chore: test

* test: acl test

* test(e2e): fix sort error

* refactor: remove useless code

* test: kanban e2e

* fix: load user

* fix: test

* test: fix unit tests

* fix: db.sync

* test: updateRole

* fix: test

* fix: settings and initializer performance improve

* fix: update role resources

* fix: add block

* fix: fix T-3308

* test: fix e2e

* test(e2e): skip fix block

* chore: skip test in sqlite

* fix: change initializer menu key

* test(collectionManager): fix e2e

* refactor: sort field availableTypes

* fix: client core performance optimization

* refactor(GridCard): migrate e2e

* refactor: migrate GridCard

* fix: bug

* refactor: migrate utils

* refactor: migrate filter-form

* fix: change Record to CollectionRecord

* chore: acl migration

* chore: acl migration

* chore: migration of acl

* refactor: migrate Collapse

* chore: error message

* fix: update associations

* chore: update collection search to be case-insensitive

* refactor: migrate Markdown

* fix(WorkflowTodos): x-toolbar typo

* feat: admin change password

* feat: check foreign key && target key value in update associations

* chore: dataSource permission

* refactor: dataSource permission

* fix: acl support data source permission

* fix: fix T-3307

* chore: test

* refactor: locale improve

* chore: locale

* chore: sqlite test config

* chore: create user with roles test

* chore: test

* test: fix mock data to avoid duplication

* chore: test

* fix: load table with tablePrefix

* chore: move action in datasource

* chore: number field to sort field type

* test: optimize dropdown

* chore: upgrade @playwright/test to v1.42.1

* fix: fix invalid path for Windows

* test: fix e2e

* chore: kanban Sort field

* fix: kanban

* fix: kanban

* refactor: create sort in kanban

* refactor: create sort field in kanban

* refactor: locale improve

* refactor: locale improve

* fix: sync with null default value

* refactor: collectionFieldInterfaceSelect

* fix: move action

* fix: update associations

* fix: test case

* chore: test

* test: optimize e2e

* feat: remvoe Duplicate for single details block (T-3195)

* fix(fieldNames): should use primaryKey as default value (T-3322, T-3319)

* fix: use filterTargetKey as fieldNNames.value

* test: fix e2e

* test: fix e2e

* test(kanban): fix e2e

* test(blockTemplate): should clear template at end of test

* refactor: migrate fields

* refactor: migrate actions

* refactor: migrate menu

* refactor: migrate page

* refactor(SchemaSettings): unify naming style

* fix: scopeKeyOptions undefined

* refactor(SchemaInitializers): unify naming stle

* fix(bi): chart filter fields

* chore: acl snippets

* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm

* refactor: replace to blockInitializers:customizeCreateForm

* refactor: replace block intializers name

* refactor: replace action initializers name

* refactor: replace field initializers name

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

* refactor: revert some codes

* chore: update comment

* fix: revert record deprected

* fix: remove pro-plugins

* fix: bug

* chore: replace iframeBlockSchemaSettings to blockSettings:iframe

* Revert "refactor: revert some codes"

This reverts commit 991021ceae.

* Revert "refactor: replace field initializers name"

This reverts commit b47b808d06.

* Revert "refactor: replace action initializers name"

This reverts commit eab1b6e3d9.

* Revert "refactor: replace block intializers name"

This reverts commit 50ab9da177.

* Revert "refactor: replace to blockInitializers:customizeCreateForm"

This reverts commit 77b9f59bb1.

* Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm"

This reverts commit e9a38b0b4d.

* Revert "refactor(SchemaInitializers): unify naming stle"

This reverts commit 542390899f.

* Revert "refactor(SchemaSettings): unify naming style"

This reverts commit 8566735922.

* Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe"

This reverts commit 884f6df92f.

* refactor: create sorting field in kanban

* refactor: create sorting field in kanban

* fix: style

* fix: bug

* fix(SideMenu): fix the problem of invalid add menu (T-3331)

* fix: translation

* feat: client en-US docs

---------

Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2024-03-03 23:06:24 +08:00
Junyi
41a8344be9
fix(plugin-workflow): fix off static schedule trigger (#3595)
* fix(plugin-workflow): fix off static schedule trigger

* test(plugin-workflow): add test case
2024-03-02 14:23:55 +08:00
Junyi
7c79e58df9
fix(plugin-workflow): fix interval number greater then 32-bits integer (#3592) 2024-03-01 17:49:45 +08:00
jack zhang
2140df071d
fix: plugin settings auth bug (#3585) 2024-02-29 17:49:11 +08:00
katherinehhh
43597a4529
fix: formula field should trriger onchange when value change (#3573) 2024-02-28 15:54:01 +08:00
Zeke Zhang
288bb04458
fix(LinkageRules): fix linkage rules with nested conditions (#3578)
* fix(LinkageRules): fix linkage rules with nested conditions

* test: add e2e
2024-02-28 12:13:48 +08:00
chenos
9520b2431e chore(versions): 😊 publish v0.19.0-alpha.9 2024-02-28 09:20:38 +08:00
chenos
89de8dc113
fix: upload action (#3577)
* fix: upload action

* fix: useSourceIdFromParentRecord
2024-02-28 08:49:35 +08:00
katherinehhh
fc5e67d96b
fix: dataSource in select readPretty is missing (#3574) 2024-02-27 10:57:51 +08:00
katherinehhh
28222fce99
fix: actions schema key should be uid (#3570)
* fix: actions in table column should be uid

* fix: actins name in form block

* fix: actions schema key should be uid

* fix: actions schema key should be uid
2024-02-26 21:26:02 +08:00
katherinehhh
0e728ca5a5
fix: datatime format support preview (#3572) 2024-02-26 17:00:18 +08:00
Junyi
88b281277c
refactor(plugin-workflow): refactor schedule trigger implementation (#3562)
* refactor(plugin-workflow): refactor schedule trigger implementation

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix cleanup on app stop
2024-02-25 22:36:20 +08:00
katherinehhh
e6719763f6
refactor: the default openSize of dialog should be middle (#3569) 2024-02-25 17:36:16 +08:00
katherinehhh
5bf7acdf66
style: plugin manager style improve (#3568) 2024-02-25 13:14:34 +08:00
Zeke Zhang
4373e6da88
feat(Help): switch to the Chinese page when using Chinese (#3567) 2024-02-24 11:50:06 +08:00
katherinehhh
3d1f73fcaf
refactor: fixedBlockDesignerItem (#3550) 2024-02-23 22:14:57 +08:00
Zeke Zhang
3a0f942270 test: fix e2e 2024-02-23 15:18:17 +08:00
ChengLei Shao
aa2117f654
fix: lazy loading belongs to association (#3559)
* chore: lazy loading belongs to association

* chore: test

* chore: console.log
2024-02-23 15:12:57 +08:00
Zeke Zhang
6262409184
style: set size of icon button (#3560) 2024-02-23 11:29:17 +08:00
Zeke Zhang
5409b78f9f chore: fix auth e2e 2024-02-23 10:12:05 +08:00
Zeke Zhang
5edb8ca85d
chore: fix e2e (#3557)
* chore: change testid of Help

* test: fix e2e
2024-02-23 09:30:28 +08:00
Zeke Zhang
d02d24b484
feat: adjust of menu in upper right corner of page (#3548)
* feat: adjust of menu in upper right corner of page

* fix: uncomment

* chore: change License link

* chore: optimize text color

* chore: optimize text color

* test: fix e2e
2024-02-23 00:08:03 +08:00
chenos
83e2d64da9
chore: optimize plugin description (#3552) 2024-02-22 23:13:31 +08:00
YANG QIA
9655b58190
chore: update plugin descriptions (#3556) 2024-02-22 22:19:14 +08:00
Junyi
9d064ba97f
docs(plugin-workflow): adjust plugin description (#3553) 2024-02-22 17:39:25 +08:00
Junyi
adccdece7c
docs(plugin-snapshot-field): adjust description (#3551) 2024-02-22 13:41:36 +08:00
Junyi
c6615441bd
feat(core): add string template engine to evaluators (#3546)
* feat(core): add string template engine to evaluators

* refactor(plugin-workflow): simplify api

* Revert "refactor(plugin-workflow): simplify api"

This reverts commit 6ff2bb9220.

* fix(plugin-workflow): fix test case

* refactor(core): adjust variable regular expression
2024-02-22 11:27:10 +08:00
Junyi
85ab125bb0
docs(plugin-workflow-loop): fix description (#3549) 2024-02-22 11:05:23 +08:00
YANG QIA
a341896378
chore: update plugin names and descriptions (#3547)
* chore: update plugin names and descriptions

* chore: update
2024-02-22 09:29:30 +08:00
katherinehhh
f2dc49c7c0
refactor: formula field should not trigger form value change (#3518)
* refactor: formula field should not trigger form value change

* style: list block style improve
2024-02-22 08:25:23 +08:00
ChengLei Shao
85af594004
chore: limit restore dialect (#3534) 2024-02-21 23:18:58 +08:00
Junyi
14b6c5a628
fix(client): fix filter default value (#3544) 2024-02-21 21:24:43 +08:00
katherinehhh
bdc90155c4
refactor: iframe block support in RecordFormBlockInitializers (#3541) 2024-02-21 16:53:10 +08:00
chenos
a736847a0f chore(versions): 😊 publish v0.19.0-alpha.8 2024-02-21 12:59:16 +08:00
Zeke Zhang
b61cedecb2
fix(LinkageRules): fix appends (#3537)
* fix(LinkageRules): fix appends

* fix: fix nested rules (T-3152)
2024-02-21 12:22:52 +08:00
Zeke Zhang
bb46697e71
fix(LinkageRules): avoid to change observable object (#3538) 2024-02-21 11:22:47 +08:00
katherinehhh
65d1b41165
fix: clicking on field assignment does not display field configuration for the first time (#3484)
* fix: clicking on field assignment does not result in field configuration for the first time

* fix: fix AssignedFieldValues
2024-02-21 11:02:31 +08:00
katherinehhh
83a61cdad9
refactor: display title (#3535) 2024-02-20 20:26:05 +08:00
chenos
8cb1942926 chore(versions): 😊 publish v0.19.0-alpha.7 2024-02-20 18:44:20 +08:00
chenos
985a06a675 fix(plugin-auth): export BasicAuth 2024-02-20 16:07:51 +08:00
chenos
5b86ee393f
chore: optimize environmental variables (#3528) 2024-02-20 10:35:24 +08:00
YANG QIA
041f146d7c
fix(bi): parse issue of date variables (#3520) 2024-02-19 20:14:45 +08:00
Zeke Zhang
a18103baa0
refactor(Linkage): optimize the parsing of expression variables (#3519) 2024-02-19 18:08:14 +08:00
Junyi
c02e759830
fix(core): refactor evaluate to support dash in key path (#3517)
* fix(core): refactor evaluate to support dash in key path

* fix(core): fix evaluate expression from date variable

* fix(plugin-workflow): fix test case

* fix(client): fix pre-replace logic
2024-02-19 17:07:19 +08:00
Zeke Zhang
0d8604ee2c chore(plugin-theme-editor): update description 2024-02-18 19:41:45 +08:00
Zeke Zhang
93bbd9dd9a chore(plugin-file-manager): update description 2024-02-18 19:41:13 +08:00
ChengLei Shao
ca8d6347c6
chore: field type map (#3516)
* chore: field type map

* chore: type map
2024-02-18 17:14:28 +08:00
katherinehhh
c0b8fa27ec
fix: detail block should not support pageSizeChanger (#3515)
* fix: detail block should not support pageSizeChanger

* style: delete collection
2024-02-18 14:14:18 +08:00
Junyi
202edc8c15
fix: fields locales (#3511) 2024-02-16 09:30:10 +08:00
Zeke Zhang
28eae4a85b
fix(subTable): should clear form value after submit (#3508)
* fix(subTable): should clear form value after submit

* test: add test
2024-02-16 08:48:37 +08:00
Zeke Zhang
b232586f7b
style(PinnedPluginList): fix hover background color (#3501) 2024-02-08 08:47:33 +08:00
Junyi
1978d66ccd
docs(plugin-workflow): fix keyword (#3498) 2024-02-07 22:38:13 +08:00
chenos
d8bbdc9648 chore(versions): 😊 publish v0.19.0-alpha.6 2024-02-07 20:11:19 +08:00
chenos
b71f12560a
fix: plugin load collections (#3499) 2024-02-07 20:10:13 +08:00
katherinehhh
ea35d103ac
fix: sub-table should not support action column (#3497)
* fix: sub-table should not support action column

* fix: sub-table should not support action column
2024-02-07 15:43:07 +08:00
Zeke Zhang
626823b4b5 Revert "fix(upload): fix upload url for relationship blocks"
This reverts commit bb83face08.
2024-02-07 13:13:57 +08:00
Zeke Zhang
bb83face08 fix(upload): fix upload url for relationship blocks 2024-02-07 13:12:14 +08:00
chenos
2d5b70b3f7 fix: cannot find module 'pg' 2024-02-06 10:40:08 +08:00
chenos
9ff785dca4
fix: password cannot be empty (#3491) 2024-02-05 22:56:36 +08:00
chenos
c0988d9fc6 feat: update package.json 2024-02-05 21:10:48 +08:00
katherinehhh
a059b27d13
refactor: plugin manager keywords (#3490) 2024-02-05 14:37:07 +08:00
Junyi
ed35a35837
fix(plugin-workflow-form-trigger): fix locale (#3488) 2024-02-04 21:20:19 +08:00
xilesun
9120955733 fix: error message of uid field 2024-02-04 20:14:53 +08:00
YANG QIA
e8138816f2
fix: fix T-3012 (#3489) 2024-02-04 18:06:54 +08:00
Junyi
dcd732db89
fix(plugin-workflow): fix revision with new properties (#3487) 2024-02-04 09:49:18 +08:00
S.Feng
f1a3c17522
style(lang): add zh-tw (#3446) 2024-02-03 20:22:17 +08:00
chenos
6c9520e0a2
fix: layout of plugin settings icons (#3478) 2024-02-03 19:41:26 +08:00
Junyi
237c4aa084
fix(server): fix messages in data-wrapping (#3485) 2024-02-03 10:37:28 +08:00