Commit Graph

1267 Commits

Author SHA1 Message Date
katherinehhh
dd892f5bae
revert:association field log (#2840)
* revert: associotn field log

* revert: associotn field log
2023-10-16 10:41:44 +08:00
katherinehhh
6a7e7b3594
fix: association field in assign field should set title field as collection field config (#2839) 2023-10-16 10:31:10 +08:00
被雨水过滤的空气-Rain
a51df00750
feat: support filter blocks in select record drawer (#2828)
* feat: support filter blocks in select record drawer

* feat: improve UX

* chore: add migration
2023-10-15 14:05:54 +08:00
jack zhang
3510506db3
fix: remote plugin (#2831) 2023-10-14 10:19:10 +08:00
被雨水过滤的空气-Rain
166521bcdb
fix: fix auto-close dialog (#2825)
* fix: fix auto-close dialog

* chore: skip tests
2023-10-13 20:41:16 +08:00
chenos
200138350b fix(file-manager): improve default values for thumbnail rules 2023-10-13 19:49:51 +08:00
chenos
2d593175b9
feat(file-manager): support configuring thumbnail rules (#2810) 2023-10-13 16:40:45 +08:00
Junyi
1f1e7e34f5
feat(client): add disabled for initializer switch and undeletable for action settings (#2820)
* feat(client): add disabled for initializer switch and undeletable for action settings

* refactor(client): adjust api
2023-10-13 01:38:53 -07:00
Junyi
62d9200657
fix(client): fix action component warning (#2818) 2023-10-13 00:49:18 -07:00
katherinehhh
2a8cc10faa
fix: multiple select should assigned null after clear value (#2822) 2023-10-13 15:46:33 +08:00
Rain
3f363f67b8 chore: don't disable the variable option yet 2023-10-13 15:38:34 +08:00
Dunqing
bf099a4364
feat(plugin-custom-request): support better custom-request (#2536)
* feat(plugin-custom-request): support better custom-request

* feat: re implement custom request

* feat: complete configuration

* feat: support request in server

* feat: improve usage

* feat: support request

* feat: remove customRequests when action is deleted

* feat: avoid override

* fix: the data is not latest

* feat: should autoSize in url

* feat: support title and acl

* fix: i18n

* feat: support display title

* feat: i18n supports

* refactor: acl check

* feat: better method

* fix: style

* fix: remove unused code

* fix: acl

* docs: update

* fix: upgrade

* feat: hidden skip validator option and display should display data

* feat: support root access all custom-request

* chore: update deps

* fix: limit height of modal body, Close T-1682

* fix: parse incorrect, Close T-1686

* fix: i18n, Close T-1684

* fix: linkage rules incorrect, Close T-1719

* fix: missing pass appends, Close T-1720

* fix: should update initialValues when it changed

* feat: update better message

* fix: permission incorrect

* test: setup

* refactor: fix locale

* chore: update deps

* feat: move to @nocobase

* fix: dir

* fix: ui.*

* feat: add listByCurrentRole action, add decorator instead of acl

* fix: remove title field

* feat: compatible pervious version

* feat: support passing x-* headers to custom-request

* feat: support list all keys

* fix: support baseURL, close T-2090

* fix: remove unused code

* fix: sqlite, Close T-2092

* fix: close T-2089

* feat: alert error when request settings doesn't configure, Close T-2101

* feat: improve message

* chore: fix eslint error

* fix: fix version of plugin-custom-request

* fix: build error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-10-13 15:16:50 +08:00
katherinehhh
04db43985c
fix: cascadeselect report error in m2m association field (#2819) 2023-10-13 11:48:04 +08:00
Rain
4226d7961c chore: avoid crashing 2023-10-13 08:52:24 +08:00
katherinehhh
a3de91b37f
fix: assign field modal cantnot open (#2807) 2023-10-12 16:45:17 +08:00
YANG QIA
89361ef61c
fix(auth): SSO issues (#2733)
* fix(auth): sso switch popup to rediect (fix T-2024)

* refactor: auth process optimization

* fix: test

* chore: add error handler

* fix(auth): sso redirection issue of sub app

* Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737)"

This reverts commit beb4793051.

* Revert "Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737)""

This reverts commit 301a85d767.

* refactor(oidc): improve validate logic

* refactor(saml): improve auth logic

* fix: test

* refactor(cas): improve auth logic

* chore: add error handler

* fix(oidc): subapp callback issue

* fix: add dependency

* chore: add dependency

* fix(auth): set default `userBindField:email`
2023-10-12 00:54:00 -05:00
katherinehhh
49f4d1828d
fix: data scope report error with invalid variables (#2811)
* fix: data scope error with invalidate variables

* fix: data scope error with invalidate variables
2023-10-12 13:34:17 +08:00
katherinehhh
843677c183
fix: option should clear when data scope change (#2800)
* fix: option should clear when data scope change

* refactor: data scope linkage in association select
2023-10-12 10:06:49 +08:00
被雨水过滤的空气-Rain
93e32114ca
fix: the input box displayed should correspond to the field type (#2805)
* test: add test

* fix: the input box displayed should correspond to the field type
2023-10-12 09:27:35 +08:00
katherinehhh
72367a9f85
fix: record picker cannot select data when editing (#2798)
* fix: record picker cannot select data when editing

* refactor: rename file name

* fix: just run the lazy load once

* test: add test

* test: fix test

* chore: better comment

---------

Co-authored-by: Rain <958414905@qq.com>
2023-10-11 19:28:17 +08:00
Rain
d8759dc199 chore: add comment 2023-10-11 14:30:15 +08:00
katherinehhh
87a8b2e844
fix: fix the wrong way to determine form type (#2787)
* fix: depulicate action should load data as depulicate fields config

* fix: use formBlockType

* Revert "fix: depulicate action should load data as depulicate fields config"

This reverts commit 5acb6a1c70.

* Revert "fix: should allow to set default value in relationship form block (#2777)"

This reverts commit 0140e623a6.

* fix: should not lazy load data of association fields when creating form

* fix: fix subTable

* test: add test

* test: add test

---------

Co-authored-by: Rain <958414905@qq.com>
2023-10-11 14:24:31 +08:00
jack zhang
af32a4e59a
fix: bug (#2797) 2023-10-11 11:17:20 +08:00
被雨水过滤的空气-Rain
3793bb6cb7
fix: should not show loading when children is enpty in menu (#2796) 2023-10-10 23:49:19 +08:00
被雨水过滤的空气-Rain
9d7945ce2c
fix: should save operators (#2794) 2023-10-10 23:28:20 +08:00
Junyi
488aac2e2c
fix(client): fix undefined field method on button (#2795) 2023-10-10 08:20:47 -07:00
katherinehhh
59f74326b4
fix: data scope linkage in association field (#2786) 2023-10-10 20:01:08 +08:00
Junyi
b2883ff55b
fix(client): fix rendering cause range bug (#2785) 2023-10-10 13:46:17 +08:00
chenos
bccec4385a
fix: percent value invalid (#2782)
* fix: percent value invalid

* fix: useMemo
2023-10-10 11:54:46 +08:00
katherinehhh
79f9e04413
fix: percent value should divide by 100 (#2781) 2023-10-10 11:14:47 +08:00
Junyi
08d4994305
Revert "fix(client): fix rerendering cause range bug (#2770)" (#2779)
This reverts commit a1ee2afabd.
2023-10-10 09:37:56 +08:00
Rain
03133fc647 chore: typo 2023-10-10 08:32:04 +08:00
Rain
9ee18ca2aa refactor(e2e): shuold use test.extend to extend createCollections (T-2157) 2023-10-10 08:26:23 +08:00
被雨水过滤的空气-Rain
f85fb6d7ba
refactor(e2e): support batch creation of collections (#2778)
* chore: types

* refactor: optimize create collections

* chore: make throw error

* chore: export createCollections
2023-10-10 07:46:24 +08:00
被雨水过滤的空气-Rain
0140e623a6
fix: should allow to set default value in relationship form block (#2777) 2023-10-09 22:57:59 +08:00
Rain
88807b3cdf Revert "fix(default): should allow to set default value in relationship form block (#2774)"
This reverts commit cc7ec2ffd6.
2023-10-09 19:49:03 +08:00
Junyi
a1ee2afabd
fix(client): fix rerendering cause range bug (#2770) 2023-10-09 16:56:37 +08:00
被雨水过滤的空气-Rain
cc7ec2ffd6
fix(default): should allow to set default value in relationship form block (#2774) 2023-10-09 16:52:15 +08:00
katherinehhh
9c29ae9ed8
fix(percent): percent failed to input 0 (#2769)
* fix: percent failed to input 0

* fix: percent failed to input 0
2023-10-09 15:10:47 +08:00
katherinehhh
c923dfafed
refactor(duplicate action):duplicate fields error when change duplicate mode & support unselect all (#2768)
* refactor: depulication action

* refactor: depulication action
2023-10-09 14:29:26 +08:00
Rain
869f3001e4 fix(ErrorFallback): fix style of Feedback button 2023-10-09 12:44:55 +08:00
Rain
fa3127e467 chore(default): avoid crashing 2023-10-09 12:12:33 +08:00
被雨水过滤的空气-Rain
3b53d7c623
fix(expression): should reset lastIndex of regular (#2767)
* fix(expression): should reset lastIndex of regular

* test: add e2e

* chore: change title of test
2023-10-09 11:39:05 +08:00
Rain
67f01db779 Revert "fix(expression): should reset lastIndex of regular"
This reverts commit da6ae90231.
2023-10-09 10:41:55 +08:00
Rain
da6ae90231 fix(expression): should reset lastIndex of regular 2023-10-09 10:39:47 +08:00
被雨水过滤的空气-Rain
f5399c2cf0
fix(variable): should not disable options in expression (#2764) 2023-10-08 22:29:17 +08:00
被雨水过滤的空气-Rain
3b76a84605
fix(subtable): should not have a value by default and fix key of table (#2763)
* fix(subtable): should not have a value by default and fix key of table

* fix(subtable): fix invalid to set default value
2023-10-08 20:55:30 +08:00
Rain
7739778ffc fix: avoid crashing 2023-10-08 11:34:20 +08:00
被雨水过滤的空气-Rain
0c5ee4359b
style: fix PageHeader (#2760) 2023-10-08 10:10:42 +08:00
chenos
b0b1de9c75 fix: menu item title not updated after modification 2023-10-07 22:26:08 +08:00
被雨水过滤的空气-Rain
b4d2102e75
test(e2e): add a test for check table row (#2757) 2023-10-07 17:54:11 +08:00
katherinehhh
26a3f2f589
style: list block style improve (#2755) 2023-10-07 16:02:30 +08:00
Rain
384cc1c56c chore(versions): 😊 publish v0.14.0-alpha.7 2023-10-07 15:53:49 +08:00
被雨水过滤的空气-Rain
573cde0a21
feat(variable): lazy load association fields (#2382)
* refactor: remove useless code

* feat: should always show user variable

* style: optimize style of variable input

* feat: change maxDepth of user varialbe to 3

* refactor: migrate getFieldDefaultValue to SchemaSettings.tsx

* feat: support to parse variables

* feat: support to parse array fields

* refactor: make testing more stable

* chore: fix CI

* feat: support to parse current user

* fix: fix tests

* feat: support to register variable

* feat: support to parse "$context"

* refactor: remove useless code

* fix: fix build

* fix: fix build

* test: make stable

* docs: add doc

* fix: fix T-1267

* fix: fix T-1268

* fix: fix T-1269

* fix: fix T-1271

* fix: fix T-1274

* refactor: improve code

* feat(variable): support local variable

* fix: fix T-1280

* refactor: close T-881

* refactor: remove useLazyLoadAssociation

* fix: fix T-1289,T-1290

* fix: fix T-1296

* refactor(AssignedField): replace user variable

* refactor: extract useBaseVariable

* refactor(AssignedField): replace variables

* feat(useVariables): support to use array as local variables

* refactor: improve variables (T-1295)

* feat: limit user choice (T-1297)

* fix: fix T-1305

* refactor: extract as SchemaSettings.DataScope

* refactor: improve linkage rules

* refactor: improve linkage rules of Action

* chore: fix build

* refactor: improve data scope of association fields

* chore: fix build

* feat: select limit

* refactor: use VariableInput to replace other

* fix: fix can not input

* fix(AssignedField): fix cannot close variables list

* test: fix errors

* refactor: migrate to new file

* fix: uniq

* fix: filter empty values

* fix: transform variables value

* fix: should sum numbers (T-1330)

* fix: fix Select (T-1337)

* refactor: use useMemo

* refactor: use hooks

* refactor: use hooks

* refactor: use hooks

* refactor: remove useless code

* refactor: rename `$form` to `$nForm` and `$record` to `$nRecord`

* fix: fix T-1334

* refactor(LinkageRuleActionGroup): use hooks

* refactor(FormButtonLinkageRuleAction): use hooks

* refactor: add type

* fix: avoid crashing

* refactor: rename `$date` to `$nDate`

* fix: fix T-1348

* perf: avoid duplicate requests

* test: fix error

* fix: fix T-1355

* fix: fix T-1355

* fix: fix T-1345

* fix: fix T-1346

* refactor(useVariableOptions): replace query with parameter

* fix: fix T-1335

* chore: fix build

* fix: fix T-1453

* refactor: remove useless code

* fix: fix T-1447

* fix: should update when seting default value

* fix: fix T-1454

* chore(eslint): ignore docker

* fix: fix T-1440

* refactor: use hooks

* fix: fix T-1332

* fix(defaultValue): should use Select mode

* fix(defaultValue): fix Checkbox

* refactor: rename and comment

* refactor: rename file name and hook name

* feat(subForm): support lazy load association fields

* fix: filter empty values

* fix(defaultValue): schema type of Checkbox should be void

* fix: fix T-1479

* fix: fix T-1491

* fix(ToOneNester): should use RecordProvider

* fix: fix T-1493

* chore: add comment

* fix: fix T-1495

* chore: fix build

* test: make pass

* fix: fix T-1503

* fix: fix T-1504

* fix: fix transformVariableValue

* fix: disable unsupport options

* refactor(useVariableOptions): add noDisabled params

* fix: data scope support to select to-many fields

* chore: add comment

* refactor: improve default value

* refactor: extract as useIsAllowToSetDefaultValue

* fix: should not support to set default value in edit mode

* fix: only the default values for sub-forms and sub-tables are valid

* fix: limit default value of association fields

* fix: fix '$nForm' variable

* fix: allow all inherit chain

* fix: optimize default value

* fix: optimize json field

* fix(currentObject): avoid error

* fix: should not show variable string

* fix: active fields

* fix: avoid errors

* feat: support special case

* fix: fix CI

* chore: fix build

* fix: json

* refactor: rename flag name

* fix: fix T-1559

* fix: fix T-1515

* fix: avoid crash

* fix: fix T-1520

* fix: fix T-1521

* fix: fix T-1523

* fix: fix T-1563

* fix: fix T-1565

* fix: fix T-1525

* fix: fix T-1524

* fix: fix T-1603

* fix: fix T-1332

* fix: fix T-1559

* fix: fix T-1602

* fix: fix T-1608

* fix: fix T-1612 T-1609

* fix: fix T-1681

* fix: fix T-1711

* fix: fix T-1713

* fix: fix T-1680

* chore: close T-1550

* fix: fix T-1507

* chore: avoid crashing

* fix: fix T-1557

* perf: close T-1726

* fix: fix T-1727

* fix: fix T-1741

* fix: fix T-1740

* chore(workflow): compact

* chore: should not to support to set default value in assign field values

* perf: compat and perf (T-1736)

* fix: fix T-1872

* fix: fix T-1877

* fix: fix quarter variables

* chore: add README

* chore: front-end should not depend on back-end code

* chore: should disable all variable options if no field is selected

* chore: should be a leaf if it has no children

* chore: fix build error

* fix: compat $form

* fix: compat $form

* chore: fix build

* chore: fix build

* fix: typeError: Cannot read properties of undefined (reading 'template')

* chore: fix test

* chore: add test

* fix: fix T-2072

* chore: optimize eslint

* perf: reduce number of requests

* fix: fix JSON

* test: fix error

* fix(e2e): avoid error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-07 15:49:09 +08:00
chenos
c4f572fda8 fix(tabs): destroy inactive tab pane 2023-10-07 15:36:41 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e (#2624)
* chore: upgrade vitest to v0.34.3

* feat: setup NocoBase

* chore: preparing test env

* test: add a test of rigster

* refactor: rename test dir to testUtils

* chore: add tests

* chore: add ci for e2e

* chore: fix ci

* chore: avoid error in CI

* chore: add some utils for test

* chore: make more stable

* chore: should not close server in CI

* chore: add comments

* chore: change output dir

* fix: should use current branch to run tests

* chore: should request systemSettings by api in e2e

* chore: should build first in e2e CI

* chore: remove key

* chore: use execa to replace execSync

* refactor: extract test suite

* chore: add gotoPage

* chore: update uid of pageSchema

* chore: update collection name

* chore: use faker.js to generate data

* refactor: extract page config

* chore: ignore for association fields in faker

* chore: add testid

* chore: optimize action designer

* chore: associationFilter.Item designer

* chore: AssiciationFilter & BlockItem

* Revert "chore: AssiciationFilter & BlockItem"

This reverts commit b418df650e.

* Revert "chore: associationFilter.Item designer"

This reverts commit 7aa4d35c1a.

* Revert "chore: optimize action designer"

This reverts commit ff717b972f.

* chore: optimize Designer

* chore: compat with older browsers

* chore: use describe to avoid hooks is not run

* chore: add no-floating-promises to eslint rules

* chore: support argv

* chore: demo

* chore: better testId

* chore: change .e2e.ts to .test.ts

* fix(SchemaInitializer): avoid error

* refactor: move e2eUtils.ts to @nocobase/test

* fix: move e2eUtils to client

* chore: remove uselesscode

* refactor: add .env.e2e.example

* chore: optimize log

* refactor: use mockPage to replace gotoPage

* chore: update env.e2e

* chore: add APP_BASE_URL

* chore: gitigore

* test: add test related of menu

* chore: add SOCKET_PATH in env

* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
katherinehhh
4092451bc9
fix(association-field): sub-table cannot move (#2727) 2023-09-27 11:08:38 +08:00
katherinehhh
49c2fbf45d
refactor: file association field should default to using preview field as title field (#2718) 2023-09-26 21:25:40 +08:00
Rain
91721a4e8a fix(SchemaInitializer): avoid error 2023-09-26 16:39:33 +08:00
Rain
b6a6431c6f fix(SchemaInitializer): avoid crashing 2023-09-26 16:16:06 +08:00
katherinehhh
97f06d03d3
refactor: view collection support jsonb (#2719) 2023-09-26 16:09:14 +08:00
被雨水过滤的空气-Rain
ff16f59908
perf: improve the UX of SchemaInitializer (#2666)
* perf: improve the UX of SchemaInitializer

* fix: fix error of Charts block

* fix: fix fields

* fix: fix search

* chore: avoid crash

* chore: fix build

* chore: avoid crash

* refactor: rename SelectCollection to SearchCollections

* refactor: increased code versatility for improved reusability

* fix: fix Add chart

* perf: workflow

* refactor: remove useless code

* fix: fix block template

* fix: should clean search value when creating a block
2023-09-26 13:47:20 +08:00
katherinehhh
8db9fda61b
fix: fileManager did not close drawer after selecting files (#2716) 2023-09-26 11:37:21 +08:00
katherinehhh
261678dc56
fix: association block should not close drawer after deleting data (#2717) 2023-09-26 11:36:45 +08:00
katherinehhh
d7a00d2581
fix: action linkage rule not effect in tree collection (#2713) 2023-09-26 09:43:09 +08:00
katherinehhh
e90eec7031
fix: useAssociationNames (#2714) 2023-09-25 22:04:20 +08:00
katherinehhh
291859d6b5
refactor: attachment field support size config (#2552)
* refactor: attachment field support size config

* style: style improve
2023-09-25 18:21:08 +08:00
katherinehhh
7dd7a65a38
feat: association support select cascade for tree collection field (#2514)
* feat: association field support cascade select

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: cascadeSelect support m2m association field

* refactor: cascadeSelect support m2m association field

* refactor: code improve

* feat(database): append with options

* feat: recursively load parent instances

* chore: test

* refactor: code improve

* fix: load with appends

* refactor: code improve

* chore: test

* refactor: code improve

* refactor: code improve

* refactor: code improve

* chore: load with belongs to many

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

---------

Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-25 18:18:14 +08:00
YANG QIA
89635982b4
feat(db): add sql collection (#2419)
* feat(db): add sql collection

* feat: frontend

* perf: issue of select

* fix: sql model

* fix: sql collection schema

* fix: implement sql collection

* fix: dependency

* fix: remove type declaration in actions

* fix: backend test

* chore: remove some ops of block using sql collection

* chore: remove sql collections from Form and Kanban

* feat: add execute button to sql input

* feat(backend): support infer fields by parsing sql

* feat(frontend): support infer interface by parsing sql

* fix: fix update issues and improve

* fix: update issue

* chore: update yarn.lock

* fix: fix T-1548

* fix: fix T-1544

* fix: fix T-1545

* fix: fix T-1549

* fix: test

* fix: fix T-1556

* fix: remove map action diviver

* chore: debug

* chore: remove schema of sql collection

* fix: sql collection schema

* chore: remove debug log & fix T-1555

* fix: fix T-1679

* fix: sql update issue

* fix: sql attribute issue

* fix: bug of star attribute

* fix: test

* fix: test

* fix: reset fields when updating sql collection

* fix(collection-manager): redundant fields after set collection fields

* fix: test

* fix: destory with individuals hook

* chore: save

* chore: test

* fix: fields sync issue

* fix: remove underscored option of sql collection

* chore: mutex in fields.afterDestroy

* fix: test

* chore: yarn.lock

* chore: update collections.setFields

* feat: improve sql input

* fix: fix T-1742 & improve

* chore: fix conflicts

* fix: workspace

* fix: build

* fix: test

* chore: add translations

* fix: reviewed issues

* chore: update yarn.lock

---------

Co-authored-by: ChengLei Shao <chareice@live.com>
2023-09-25 15:03:23 +08:00
katherinehhh
52198e57f9
fix: inherited collection failed to select (#2710) 2023-09-25 10:21:12 +08:00
katherinehhh
6bc4434d63
fix: form-data-template failed to clear option (#2709) 2023-09-25 09:43:22 +08:00
katherinehhh
51edb770bb
fix: tableoid options value of association field in filter is incorrect (#2705)
* fix: tableoid option value of association field in filter is incorrect

* fix: the saving method of the association field creation button is not effective

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-09-24 20:02:34 +08:00
katherinehhh
d83afc52ec
fix: saving method of association field creation button is not effect (#2706)
* fix: the saving method of the association field creation button is not effective

* refactor: code improve
2023-09-24 19:17:55 +08:00
jack zhang
836b34a6a4
fix: gen tsconfig.paths.json bug (#2708)
* fix: gen tsconfig.paths.json  bug

* fix: load remote plugin error

* fix: bug
2023-09-23 10:52:14 +08:00
mytharcher
8eb634459d chore(versions): 😊 publish v0.14.0-alpha.6 2023-09-22 15:49:50 +08:00
mytharcher
bffa53a04e chore(versions): 😊 publish v0.14.0-alpha.5 2023-09-22 15:47:28 +08:00
katherinehhh
49b75b6ab6
refactor: view collection support add m2o association field (#2422)
* refactor: view collection support add m2o association field

* refactor: code improve
2023-09-22 11:09:53 +08:00
被雨水过滤的空气-Rain
9f147085a5
fix: fix operator called of date field (#2701) 2023-09-22 10:51:17 +08:00
katherinehhh
b0069ca64a
fix: deep level association field adding error (#2700) 2023-09-22 10:34:35 +08:00
mytharcher
d20398f73f chore(versions): 😊 publish v0.14.0-alpha.4 2023-09-21 23:25:31 +08:00
chenos
945bcb194e
feat: add testid (#2434)
Co-authored-by: Rain <958414905@qq.com>
2023-09-21 14:54:27 +08:00
katherinehhh
64b5471084
refactor: association block acl improve (#2682) 2023-09-20 11:42:28 +08:00
katherinehhh
ebc1d1afb4
refactor: acl collection field provider (#2679) 2023-09-19 20:51:43 +08:00
katherinehhh
fc609bafb9
style:form-item style improve (#2678)
* style: setting page style improve

* style: setting page style improve
2023-09-19 17:50:25 +08:00
katherinehhh
bc5ecc9b5f
fix(acl): association field acl check error (#2675)
* fix: association field acl check

* fix: association field acl check

* fix: import action form field acl check error
2023-09-19 17:26:29 +08:00
YANG QIA
4fffa07998
fix(auth): user role not found (#2674) 2023-09-19 10:58:19 +08:00
katherinehhh
64dc385eb3
fix: file association field cannot set file manager as field component (#2672) 2023-09-18 21:10:35 +08:00
YANG QIA
3b4cff15b0
fix(auth): change password issue of basic auth (#2662) 2023-09-16 13:55:29 +08:00
katherinehhh
ccc238d0d3
fix: interface group undefined (#2656) 2023-09-15 15:20:20 +08:00
katherinehhh
1b80930065
refactor: view collection float type field supports number and percent (#2653) 2023-09-15 11:33:59 +08:00
katherinehhh
feaf4cd80a
fix: filterable undefined (#2646) 2023-09-14 14:21:30 +08:00
chenos
6058850db1 chore(versions): 😊 publish v0.14.0-alpha.3 2023-09-13 18:29:38 +08:00
chenos
0d47c512d2 fix: parse websocket url (#2644) 2023-09-13 18:28:28 +08:00
katherinehhh
4c1d186c12
style: collection category style improve (#2638) 2023-09-13 11:16:19 +08:00
katherinehhh
5e09276497
style: collection category style improve (#2637) 2023-09-13 09:11:30 +08:00
chenos
3670d670ac chore(versions): 😊 publish v0.14.0-alpha.2 2023-09-13 03:57:15 +08:00
chenos
117d4b8186 chore(versions): 😊 publish v0.14.0-alpha.1 2023-09-12 22:42:43 +08:00
jack zhang
705b7449f0
feat: new plugin manager, supports adding plugins through UI (#2430)
* refactor: plugin manager page

* fix: bug

* feat: addByNpm api

* fix: improve the addByNpm

* feat: improve applicationPlugins:list api

* fix: re-download npm package when restart app

* fix: plugin delete api

* feat: plugin detail api

* feat: zipUrl add api

* fix: upload api bug

* fix: plugin detail info

* feat: upgrade api

* fix: upload api

* feat: handle plugin load error

* feat: support authToken

* feat: muti lang

* fix: build error

* fix: self review

* Update plugin-manager.ts

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bugs

* fix: detail click and remove isOfficial

* fix: upgrade no refresh

* fix: file size and type check

* fix: bug

* fix: upgrade error

* fix: bug

* fix: bug

* fix: plugin card layout

* fix: handling exceptional cases

* fix: tgz file support

* fix: macos compress file

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: add upgrade npm type

* fix: bugs

* fix: bug

* fix: change plugins static expose url

* fix: api prefix

* fix: bug

* fix: add nginx `/static/plugin/` path

* fix: bugs and pr docker build no dts

* fix: bug

* fix: build tools bug

* fix: improve code

* fix: build bug

* feat: improve plugin info

* fix: ui bug

* fix: plugin document bug

* feat: improve code

* feat: improve code

* feat: process dev deps check

* feat: improve code

* feat: process.env.IS_DEV_CMD

* fix: do not delete the plugin package

* feat: plugin symlink

* fix: tsx watch --ignore=./storage/plugins/**

* fix: test error

* fix: improve code

* fix: improve code

* fix: emitStartedEvent

* fix: improve code

* fix: type error

* fix: test error

* test: console.log

* fix: createStoragePluginSymLink

* fix: clientStaticMiddleware rename to clientStaticUtils

* feat: build tools support plugins folder

* fix: 350px

* fix: error

* feat: client dev support plugin folder

* fix: clear cli options

* fix: typeError: Converting circular structure to JSON

* fix: plugin name

* chore: restart application after command

* feat: upgrade error & docs

* Update v14-changelog.md

* Update v14-changelog.md

* Update v14-changelog.md

* fix: gateway test

* refactor(plugin-workflow): add ready state for gracefully tearing down

* Revert "chore: restart application after command"

This reverts commit 5015274f8e.

* chore: stop application whe restart

* T 1218 change plugin folder (#2629)

* feat: change folder name

* feat: change `pm create` command

* feat:  revert plugin name change

* fix: delete samples

* feat: change plugins folder

* fix: pm create

* feat: update docs

* fix: link package error

* fix: docs

* fix: create command

* fix: pm add error

* fix: create  add build

* fix: pm creatre + add

* feat: add tar command

* fix: docs

* fix: bug

* fix: docs

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: docs

* Update your-fisrt-plugin.md

* Update your-fisrt-plugin.md

* chore: application reload

* chore: test

* fix: pm add error

* chore: preset install skip exists plugin

* fix: createIfNotExists

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2023-09-12 22:39:23 +08:00
katherinehhh
cf17d8015f
fix: create action reported error when config save mode filterKeys (#2631) 2023-09-12 10:09:02 +08:00
Rain
fec17d5661 chore(versions): 😊 publish v0.13.0-alpha.10 2023-09-10 00:33:14 +08:00
Rain
893b2d71bc chore: add NOCOBASE_SYSTEM_SETTINGS to localStorage 2023-09-10 00:27:09 +08:00
YANG QIA
f736085af6
chore: remove username interface (#2621) 2023-09-09 00:28:35 +08:00
katherinehhh
0d465f4d71
refactor: useFieldModeOptions (#2612)
* refactor: useFieldModeOptions

* refactor: code improve

* refactor: code improve
2023-09-08 09:40:34 +08:00
YANG QIA
f82b466aaa
feat(bi): allow to use variables in query filter (#2609)
* chore: rearrange hooks

* chore: allow parse filter from params.values

* feat: support use variables when using chart filter

* refactor: improve query code by composing process middlwares

* chore: `$date` -> `$nDate`
2023-09-07 23:27:59 +08:00
chenos
b655517a74 chore(versions): 😊 publish v0.13.0-alpha.9 2023-09-07 12:46:24 +08:00
jack zhang
b390140627
fix: core/client package.json module error (#2610) 2023-09-07 12:43:04 +08:00
Rain
17d4476c10 chore(versions): 😊 publish v0.13.0-alpha.8 2023-09-07 09:04:08 +08:00
被雨水过滤的空气-Rain
7d1bac1869
chore(antd): reduce animation duration (#2602) 2023-09-07 08:46:58 +08:00
chenos
3461c29411
fix: window reload after pm load failed (#2605) 2023-09-06 22:43:43 +08:00
被雨水过滤的空气-Rain
22f681024d
fix: fix collapsed panels not working when clicked (#2600)
* refactor: rename

* fix: fix collapsed panels not working when clicked
2023-09-06 11:11:35 +08:00
katherinehhh
eeb3adf928
feat(graph-collection-manager): display collections on demand (#2583)
* refactor: graph collection support on demand rendering collection

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: support connect parent or child

* refactor: code improve

* refactor: code improve

* style: style improve

* style: style improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-09-06 09:43:26 +08:00
ChengLei Shao
97b4570bd2 chore(versions): 😊 publish v0.13.0-alpha.7 2023-09-05 09:01:30 +08:00
Rain
e5f5358be0 chore(versions): 😊 publish v0.13.0-alpha.6 2023-09-04 20:48:48 +08:00
Rain
f52cb50915 chore: upgrade antd-style version to 3.4.5 2023-09-04 20:12:45 +08:00
katherinehhh
ec81db95fc
fix: resource undefind (#2589) 2023-09-04 17:55:55 +08:00
被雨水过滤的空气-Rain
aff559882f
fix(RangePicker): fix shortcut invalid (#2586)
* chore: upgrade antd to v5.8.4

* test: add test

* chore: fix build

* chore: upgrade @formily/antd-v5 to v1.1.1

* fix: should not close Popover when selected option

* fix: add a new Popover and to replace old Popover with new Popover

* refactor: remove useless code

* fix: fix dark theme

* chore: fix build

* chore: antd version

* fix: uniformly use the latest version of antd
2023-09-04 16:25:49 +08:00
chenos
af34fe10ab chore(versions): 😊 publish v0.13.0-alpha.5 2023-09-03 11:35:48 +08:00
jack zhang
08c5383bee
refactor: build tools (#2374)
* refactor: core/build and cli/build.js

* fix: build

* fix: bug

* fix: replaceAll to replace

* fix: node version check

* fix: add require check

* fix: esbuild other ext

* fix: process json

* fix: exlude jsx-runtime

* feat: split chunk

* fix: minify plugin client bundle

* fix: compatibility

* fix: support import()

* feat: update docs

* fix: server deps

* feat: demo

* fix: remove cjs treeshake

* fix: local error

* fix: bug

* fix: lazy load

* fix: rewrites

* fix: remove dynamic import  function

* feat: doc demo

* fix: codesanbox vite template

* fix: codesanbox demo

* fix: hide stackblitz

* fix: revert rspack

* fix: test bug

* fix: delete console

* fix: import dayjs locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-03 10:59:33 +08:00
katherinehhh
e7d60389b9
fix: association block report error for toOne association field (#2582) 2023-09-01 18:54:27 +08:00
ChengLei Shao
797f566d70
feat(gateway): response cli result when run nocobase command (#2563)
* chore(gateway): refresh message in websocket

* chore(gateway): throw error when cli error

* chore(gateway): await ipc server response

* chore: notification message

* fix: build

* chore: notification type

* feat: notification

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-01 16:11:27 +08:00
katherinehhh
d9bda04aa2
refactor: restrict the use of tree table in data selectors (#2581)
* refactor: limitthe using of tree in recordPicker

* refactor: limitthe using of tree in recordPicker
2023-09-01 10:57:20 +08:00
被雨水过滤的空气-Rain
d56cc66ef9
fix(FilterDynamicComponent): avoid crashing (#2566) 2023-08-30 23:26:51 +08:00
katherinehhh
9c22aebaff
fix: number field reported error when clear data (#2561) 2023-08-29 18:08:43 +08:00
katherinehhh
83c1792582
refactor(collection-manager): collection &&fields support description config (#2554)
* refactor: collection support description config

* refactor: collection support description filter

* feat(collection-manager): collections & fields description fields

* refactor: collection& field support description

* refactor: collection& field support description

---------

Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-29 16:32:39 +08:00
katherinehhh
bb6c154272
style: sub-table add button style improve (#2508) 2023-08-29 09:32:06 +08:00
katherinehhh
ec84747f13
refactor: associatiion fields in table should not have data scope settings (#2509) 2023-08-29 09:31:42 +08:00
Rain
8e42da2b01 Revert "fix(RangePicker): fix shortcut invalid (#2489)"
This reverts commit 4eada322ef.
2023-08-27 17:16:24 +08:00
chenos
0fd38a5c56 chore(versions): 😊 publish v0.13.0-alpha.4 2023-08-27 10:04:58 +08:00
被雨水过滤的空气-Rain
4eada322ef
fix(RangePicker): fix shortcut invalid (#2489)
* chore: upgrade antd to v5.8.4

* test: add test

* chore: fix build

* chore: upgrade @formily/antd-v5 to v1.1.1

* fix: should not close Popover when selected option

* fix: add a new Popover and to replace old Popover with new Popover

* refactor: remove useless code
2023-08-27 09:35:41 +08:00
chenos
5278017fff chore(versions): 😊 publish v0.13.0-alpha.3 2023-08-26 16:43:41 +08:00
chenos
e596025bd4 fix: yarn dev --client error 2023-08-25 09:44:47 +08:00
chenos
f4a1953980 chore(versions): 😊 publish v0.13.0-alpha.2 2023-08-24 23:14:03 +08:00
chenos
0663844573 fix: improve translation 2023-08-24 18:39:54 +08:00
chenos
6debb8d00b chore(versions): 😊 publish v0.13.0-alpha.1 2023-08-24 17:49:13 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor (#2353)
* chore: skip sync localization-management plugin enable status

* chore: unSyncPlugins array

* chore: remove install at dev

* chore: gateway and supervisor

* chore: install command

* chore: remove app manager

* chore: share plugin

* chore: wsserver

* chore: websocket server

* chore: websocket connection with app status

* feat: socket server at gateway

* chore: loading message

* chore: ready status

* chore: handle app error

* feat: restart app at supervisor

* feat: health check endpoint

* chore: test

* chore: test

* chore: test

* chore: test

* chore: build

* chore: test

* chore: build

* chore: application ready status

* chore: error message

* chore: handle application error

* chore: handle error in load

* chore: report error in websocket

* chore: ws error

* chore: ws error

* chore: typo

* chore: switch app ready status at install

* chore: test

* chore: test

* chore: test

* chore: test

* feat: add WebSocket client

* chore: start gateway

* chore: start command in application

* chore: code

* chore: pm command

* chore: run start after load sub app

* feat: application fsm

* refactor: server life cycle (#2402)

* refactor: server life cycle

* fix: test error

* fix: test error

* fix: test error

* fix: app.start

* fix: cronjob stop

* fix: db.sync before upgrade

* fix: pm.get

* fix: test error

* fix: test error

* fix: test error

* test: add test cases

* fix: remove PluginType

* chore: start application after install

* chore: fsm

* chore: working status

* chore: working command

* chore: remove swith app ready status

* chore: switch status after working done

* chore: ws status

* chore: gateway error

* chore: test

* chore: stopping status

* chore: test

* chore: test

* feat: app proxy

* chore: application destory

* chore: application message changed with status

* chore: test

* chore: test timeout

* test: remove listener add by plugin

* test: remove listener add by plugin

* chore: test

* feat: app maintaining

* fix: add AppMaintainingDialog

* feat: off

* test: gateway http response

* test: gateway with errors

* chore: unkown error

* chore: websocket message

* chore: ws message

* chore: code

* chore: error format

* chore: delay app load

* feat: improve code

* chore: application initializing status

* chore: supervisor with app status

* chore: command status response

* chore: test

* chore: ws message

* chore: test

* fix: command running message

* feat: restart

* chore: code

* chore: status transition

* chore: test

* fix: improve code

* fix: error

* fix: restart

* fix: command

* chore: reset client app tag when app selector changed

* chore: error report

* fix: application status

* fix: build

* chore: disable help command dispatch

* chore: test

* test: multi apps test

* fix: improve code

* fix: test

* fix: test

* fix: multi apps single running

* fix: improve code

* fix: app status

* chore: move plugin static file to gateway

* feat: static file handler

* chore: test

* chore: enable plugins in share collection

* chore: gateway serve upload files

* fix: improve client

* chore: ws nginx config

* fix: gateway with naonoid

* fix: db sync

* fix: loading

* fix: ping

* fix: locale load

* fix: yarn start --quickstart

* fix: add debug log

* chore: application started event

* chore: running working message payload

* chore: nginx log

* chore: nginxconf

* chore: working message log

* feat: logs

* feat: compression

* fix: remove koa-send and koa-static

* fix: remove -e

* fix: remove nginx

* fix: remove -e

* fix: __appName

* chore: delay install sub application

* chore: sync plugin status

* fix: boot sub app

* fix: main app reload

* fix: test

* fix: app status

* test: field.bind block event loop

* feat: newrelic

* feat: debug log

* chore: upgrade

* fix(file-manager): test error

* fix: default app selector

* fix: reload after maintained

* chore: boot sub app

* chore: application destroy command

* chore: destroy command

* chore: clean code

* chore: package.json

* chore: maintaining message

* chore: test

* fix: collection.sync

* feat: add test cases

* chore: application

* fix: test error

* feat: improve codes and add test cases

* fix: test error

* fix: pm enable and disable

* fix: pm.disable

* feat: update docs

* chore: update dockerfile

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
ChengLei Shao
a625fc538d
feat(database): support field get in view preview (#2482)
* feat: support field get in view preview

* chore: test

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-08-22 10:59:45 +08:00
katherinehhh
0532d67e0b
refactor: m2m data filtering through collection data (#2497) 2023-08-21 22:08:37 +08:00
katherinehhh
ccf8b651ff
refactor(graph-collection-manager): update antv-x6 to 2.x (#2466)
* refactor: update antv-x6  to 2.x

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-08-21 11:27:48 +08:00
katherinehhh
f70d17c5cd
fix: view collection reported error when editing (#2493) 2023-08-20 20:54:32 +08:00
jack zhang
9e99b00182
fix: dev load plugin (#2455)
* fix: dev load plugin

* fix: bug

* fix: bug
2023-08-20 18:10:34 +08:00
被雨水过滤的空气-Rain
95e1cd390b
chore: remove Default value option for sequence field (#2488)
* chore: remove Default value option for sequence field

* chore: remove console.log
2023-08-20 12:08:07 +08:00
katherinehhh
847eacce70
fix: tagcolor value error (#2487) 2023-08-20 11:03:43 +08:00
YANG QIA
be6b949f55
feat(auth): support signing in with username (#2376)
* feat(auth): support signing in with username

* chore: compatibility && add INIT_ROOT_USERNAME

* chore: add default username of root user

* chore: add notice

* fix: typo

* chore: change rule of username

* fix: sqlite add unique constraint

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00
chenos
972b2be10e
fix(client): waitSeconds: 120s 2023-08-19 09:30:19 +08:00
katherinehhh
576ff8e52b
fix: view collection source field (#2483) 2023-08-18 16:45:40 +08:00
chenos
d8787493db chore(versions): 😊 publish v0.12.0-alpha.5 2023-08-18 15:53:53 +08:00
katherinehhh
2ea97541c6
fix: source collections not updated during synchronization in view collection (#2480) 2023-08-18 15:17:18 +08:00
katherinehhh
d58d0d697c
fix: large field in the subtable do not display value (#2475) 2023-08-17 18:09:34 +08:00
katherinehhh
3fc3d34aa7
fix: error in tree table dragging and sorting (#2476) 2023-08-17 18:05:12 +08:00
katherinehhh
9dc08277e1
fix: prompt on the last row of the subtable row is obscured (#2467) 2023-08-17 14:53:23 +08:00
YANG QIA
efa153e92e
fix: hook error in isTitleField (#2471)
* fix: hook error in `isTitleField`

* fix: error
2023-08-16 19:56:19 +08:00
katherinehhh
39dcb905f4
refactor: view synchronization field, source field support selected to inherited collection field (#2456)
* refactor: syncField action support inherited fields

* refactor: code improve

* style: style improve
2023-08-16 18:08:33 +08:00
katherinehhh
d8d01befdc
refactor: remoteSelect fieldName value (#2457)
* refactor: remoteSelect fieldName value

* refactor: code improve
2023-08-15 20:17:34 +08:00
chenos
df85fb430a chore(versions): 😊 publish v0.12.0-alpha.4 2023-08-15 12:22:49 +08:00
Junyi
dea4c6f9c7
feat(plugin-workflow): add sort and pagination to query node params (#2453)
* refactor(core): expose some utils and constants

* feat(plugin-workfow): add sort and pagination to query node params

* fix(plugin-workflow): fix job result json style

* fix(plugin-workflow): fix sort param

* fix(plugin-workflow): fix test cases
2023-08-14 20:32:51 -07:00
katherinehhh
3baebf2a71
style: ellipsisWithTooltip style improve (#2451) 2023-08-15 09:16:56 +08:00
katherinehhh
0669975dde
refactor: add new action init icon (#2454) 2023-08-15 09:16:23 +08:00
Junyi
b542802667
fix(client): fix select button height in variable textarea (#2450) 2023-08-14 18:21:41 +08:00
katherinehhh
274d53988a
refactor: default value for field configuration in sub-table (#2425)
* refactor: field default value config in sub-table

* refactor: richtext default value

* refactor: richtext default value

* refactor: isShowDefaultValue
2023-08-14 17:47:15 +08:00
katherinehhh
dcafbb10c8
fix(findSchema): table operation action and detail operation action interact with each other (#2446)
* fix: table operation action  and detail operation action  interact with each other

* refactor: code imrove
2023-08-14 15:53:28 +08:00
katherinehhh
8b75738c90
refactor: recordPicker => associationField (#2444) 2023-08-14 09:26:27 +08:00
katherinehhh
caad07e11e
style: schemaSetting dropdown style improve (#2432) 2023-08-13 19:27:21 +08:00
chenos
15504c2813 fix: improve translation 2023-08-12 10:18:47 +08:00
Dunqing
b7d23c408a
feat(map-plugin): map block support select map field of association tables (#2214)
* feat(map-plugin): map block support select map field of association tables

* fix: update incorrect default value

* fix: should support o2m and fix bugs

* fix: height Close T1185 Close 1183

* fix: o2m, m2m cannot display data

* fix: switch map field will break
2023-08-10 17:36:02 +08:00
Junyi
fa43d9c870
feat(plugin-workflow): allow to configure auto delete execution in history (#2423)
* feat(plugin-workflow): allow to configure auto delete execution

* fix(plugin-workflow): fix locale
2023-08-10 16:18:07 +08:00
katherinehhh
9881d69def
refactor(schema-template): Inherit collection using blockTemplate (#2418)
* refactor: blockTemplate

* refactor: code imrove
2023-08-10 14:52:29 +08:00
Dunqing
5edcaaea4b
fix(mobile-client): style broken and display correct mobile url in sub app (#2414) 2023-08-09 22:23:15 +08:00
Junyi
86e672e9bb
feat(plugin-workflow): add form trigger type (#2347)
* feat(plugin-workflow): add form trigger

* test(plugin-workflow): add test cases

* fix(client): fix component warning

* fix(plugin-workflow): fix context data for create and update

* fix(plugin-workflow): allow to select any form type workflow in configuration

* fix(client): fix tree component value

* fix(client): fix value render in component

* fix(plugin-workflow): fix context load

* fix(client): fix type

* fix(client): fix type

* fix(plugin-workflow): fix params

* fix(plugin-workflow): fix required

* fix(plugin): fix context not matching collection error

* fix(plugin-workflow): fix test cases

* refactor(plugin-workflow): change trigger workflow action config to cascaded

* fix(plugin-workflow): remove useless locale

* fix(client): adjust locale

* fix(client): remove useless locale
2023-08-09 12:12:57 +08:00
katherinehhh
d25b9080b1
fix(data-template): titleField undefined (#2398)
* fix: titleField undefined

* refactor: code improve
2023-08-08 17:21:09 +08:00
katherinehhh
823d4bd94d
fix: useSyncFromForm support multi-level relationships (#2413) 2023-08-08 15:37:10 +08:00
katherinehhh
3c161eab86
refactor: restrict the fields within the configured data scope in sub table (#2394) 2023-08-06 19:48:03 +08:00
Junyi
d693aad89b
feat(plugin-workflow): add modal to edit title when duplicating workflow (#2399) 2023-08-04 18:08:18 -07:00
被雨水过滤的空气-Rain
8615804b6f
refactor: should not trigger event of row when clicking in drawer (#2400)
* refactor: should not fire event if row when clicking in drawer

* refactor: rename
2023-08-04 06:31:50 -07:00
katherinehhh
457082ffa1
refractor(remote-select): association field data scope merge with original filter conditions (#2118)
* fix:  deleting the last field from  sub table, the entire table will be deleted

* refactor: association select support data scope in sub-table

* refactor: locale improve

* style: sub-table style improve

* refactor: code improve

* chore: association field data scope

* refactor: code improve

* refactor: code improve
2023-08-04 18:07:58 +08:00
katherinehhh
5ef8fe7848
fix: params undefined (#2397) 2023-08-04 17:14:29 +08:00
katherinehhh
cd3c93a11d
refactor:the default value of the built-in field should not be required (#2115)
* fix: the default value of the built-in field in users collection should not be required

* refactor: code improve

* fix: the default value of the built-in field in users collection should not be required

* refactor: code improve
2023-08-04 16:29:13 +08:00
katherinehhh
dcee24a1b0
refactor: table select record restricted the usage association field (#2338)
* refactor: table select recordrestricted the usage association field

* refactor: table select recordrestricted the usage action

* refactor: code improve

* refactor: code improve

* fix: code improve

* refactor: code improve
2023-08-04 15:20:06 +08:00
katherinehhh
e3b0f13923
fix: useVariablesCtx (#2390) 2023-08-04 11:29:42 +08:00
katherinehhh
c7a30c314c
fix: customized create action supports tree data for table selection data (#2328)
* fix: customized add action in table selection data supports tree data

* fix: customized add action in table selection data supports tree data
2023-08-04 11:06:03 +08:00
katherinehhh
364ed9a152
fix: resource undefined (#2372) 2023-08-04 11:01:17 +08:00
katherinehhh
45a5cdc643
refactor: remoteSelect support non object value (#2375) 2023-08-04 11:00:30 +08:00
katherinehhh
5480167827
fix: linkagerule copy data mutual influence (#2333) 2023-08-04 10:58:53 +08:00
katherinehhh
d6cc87d9a2
refactor: association field support sorting rules in sub-table (#2326)
* refactor: association field support sorting rules in sub-table

* refactor: code improve
2023-08-04 10:56:34 +08:00
katherinehhh
d333ad201a
feat(association-field): association field support sub-form(popover) (#2373)
* refactor: association field support sub-form(popover)

* refactor: code improve

* refactor: code improve

* refactor: sub-table support field component cinfig

* refactor: sub-table support field component cinfig

* refactor: sub-table support field component cinfig

* refactor: code improve

* refactor: code improve

* refactor: useAssociationNames

* refactor: locale improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: code improve

* refactor: code refactor

* style: style improve

* Update database.ts

* refactor: code imporve

* refactor: code imporve

* style: style improve

* style: style improve

* refactor: code imporve

* style: style improve

* refactor: code imporve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-04 09:48:03 +08:00
katherinehhh
d84c52618d
fix(markdowm): markdown style hook error reporting (#2380)
* fix: markdown style hook report error

* fix: markdown style hook report error

* fix: markdown style hook report error

* Update database.ts

* refactor: be better

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-08-04 09:37:06 +08:00
katherinehhh
316b12a4ba
fix: currentObject can not loadData (#2385) 2023-08-03 17:42:26 +08:00
Dunqing
495c2209c2
feat: association blocks support GridCard and List blocks (#2356)
* feat: association blocks support `GridCard` and `List` blocks

* fix: incorrect schemas

* fix: use RecordProvider instated of RecordSimpleProvider
2023-08-02 16:00:11 +08:00
Dunqing
a2fe6ab18d
fix(plugin-mobile): the layout is incorrect (#2360) 2023-08-02 15:59:32 +08:00
chenos
9251fe015f chore(versions): 😊 publish v0.12.0-alpha.3 2023-08-02 11:25:57 +08:00
chenos
6ae22cea68 chore(versions): 😊 publish v0.12.0-alpha.2 2023-08-02 02:25:49 +08:00
chenos
93f2bc2e67 chore(versions): 😊 publish v0.12.0-alpha.1 2023-08-02 00:10:42 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load (#2253)
* refactor: plugin build and plugin template

* refactor: plugins' deps

* refactor: plugins bugs

* feat: add plugin static middleware

* fix: bugs

* refactor: frontend plugin add from remote

* refactor: delete useless app/client/plugins

* fix: requirejs move to local

* fix: tests case

* refactor: add src/client and src/server dir check

* fix: lodash tree shaking

* refactor: add BUILD_TIP

* refactor: add file size tip

* fix: bugs

* fix: bug

* fix: change china-division

* fix: change plugins response

* fix: recover dynamicImport

* fix: change server src entry

* fix: test error

* fix: plugins sourcemap => false

* fix: production file error

* refactor: change build tools to vite and tsup

* fix: yarn.lock

* fix: bugs

* fix: server build bugs

* fix: delete .fatherrc.ts

* fix: bug

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* refactor: add plugin d.ts

* refactor: delete fatherrc

* refactor: delete father scripts

* refactor: build bug

* fix: bug

* fix: deps adjust

* fix: add build tips

* fix: bug

* refactor: ignore plugins when build client

* docs: update doc

* refactor: docs and build

* fix: bug

* refactor: build deps

* fix: add USER_REMOTE_PLUGIN env

* feat: add plugin static cache

* feat: add build deps cache

* fix: bugs

* test: add test

* fix: add plugin depden on plugin tip

* fix: adjust shouldDevDependencies

* fix: deps

* fix: ajust deps

* fix: mobile style error

* fix: map error

* fix: test

* fix: bug

* feat: lodash and dayjs import from themself

* feat: @emotion/css 、ahooks and lodash to global

* fix: theme-editor plugin error

* fix: review

* feat: move all plugins' dependencies to devDependencies

* feat: change build

* feat: add devPlugins

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* feat: build bugs

* fix: bugs

* fix: bugs

* fix: review

* fix: bug

* fix: change deps build

* fix: bugs

* fix: bug

* fix: bug

* fix: bugs

* fix: bug

* fix: bug

* fix: multi language

* fix: dist

* fix: cronstrue

* fix: getPackageClientStaticUrl

* fix: antd dayjs locale

* fix: plugin' d.ts import from dist

* fix: multi language

* fix: build types error

* fix: requireModule

* fix: plugin lifecycle

* fix: client resource

* fix: improve code

* fix: locale

* feat: custom build

* fix: require locale

* fix: improve code

* fix: improve code

* fix: skip preset

* fix: collection undefined

* feat: yarn build

* fix: remove enabled

* fix: update dockerfile

* fix: formily version

* docs: update v12 changelog

* fix: devDependencies

* feat: @nocobase/app

* feat: generateAppDir

* fix: improve code

* fix: 0.11.1-alpha.5

* fix: missing @nocobase/client

* fix: error

* fix: add .npmignore

* feat: upgrade antd version

* fix: dependencies

* fix: peerDependencies

* fix: remove china-division dep

* fix: toposort deps

* fix: update dockerfile

* fix: plugin template

* fix: app client outputPath

* feat: update docs

* fix: nginx server root

* fix: storage/.app-dev

* fix: getChinaDivisionData

* feat: plugin info

* feat: update docs

* fix: docs menu

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-02 00:07:52 +08:00
katherinehhh
cfa252bfb0
fix: modal will automatically close when configing fields to association field details in sub-table (#2371) 2023-08-01 21:20:34 +08:00
被雨水过滤的空气-Rain
4e4c4eae27
fix(default-value): should not show 'N/A' when a normal value is selected. (#2365)
* fix(default-value): fix N/A

* fix: fix invalid selection
2023-08-01 16:19:15 +08:00
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 (#2359)
* chore: upgrade antd to 5.7.3

* chore: fix build

* chore: fix build
2023-08-01 11:51:30 +08:00
katherinehhh
18bf6e507e
refactor(association field): association field support tag field mode (#2251)
* refactor: association field support tag field mode

* refactor: association field support tag field mode

* refactor: locale improve

* refactor: color field

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: colorPicker refactor

* refactor: colorPicker refactor

* fix: color field failed to config  defaultValue

* style: style improve

* refactor: code improve

* fix: merge bug

* refactor: color field defaultValue

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-31 16:23:04 +08:00
katherinehhh
8f1d0d80af
refactor: form data templates and depulicate action support sync from form fields (#2314)
* refactor: sync from form fields

* refactor: sync from form fields

* refactor: sync from form fields

* refactor: data fields

* refactor: traverseFields

* refactor: traverseFields

* refactor: locale improve

* fix: merge bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: depulicate action support sync form form fields

* refactor: code refactor

* refactor: direct duplicate support select all

* refactor: code improve

* refactor: code improve

* refactor: hasOne and hasMany avaliable for deplicate

* refactor:  code improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve
2023-07-31 16:17:18 +08:00
katherinehhh
23cd6bb4ed
fix: inheritd association field failed to get detail data (#2354) 2023-07-31 10:42:54 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB (#2321)
* chore: yarn.lock

* feat: add jsonb option in field drawer

* feat: only postgres can use JSONB

* chore: add test

* refactor: make better

* fix: fix build

* fix: fix build

* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
chenos
40c4aab507 chore(versions): 😊 publish v0.11.1-alpha.5 2023-07-29 20:25:18 +08:00