Commit Graph

3998 Commits

Author SHA1 Message Date
Zeke Zhang
8e7cb845d4 Merge branch 'main' into T-2327-and-2771 2024-01-21 12:25:20 +08:00
Chareice
0cfa308ce4
chore: allowed action middleware 2024-01-21 10:37:33 +08:00
Chareice
9b515c6687
chore: with acl meta middleware 2024-01-21 09:57:28 +08:00
Junyi
3b60ba2cf8
test: mysql version bug (#3412)
* test(plugin-workflow): limit mysql version to pass test

* fix(plugin-workflow-delay): fix test case

* fix(plugin-workflow-delay): fix test case
2024-01-20 20:59:49 +08:00
chenos
1260934d2b fix(client): cannot read properties of null (reading 'removeEventListener')
at http://localhost:13000/p. index.f739617tasyncis:118:3551
2024-01-20 14:48:17 +08:00
dream2023
4c2f3592db fix: change role bug 2024-01-19 17:48:03 +08:00
dream2023
1d6a828f43 fix: bug 2024-01-19 16:40:16 +08:00
dream2023
0895bccde2 fix: e2e bug 2024-01-19 15:36:40 +08:00
dream2023
59abd5b41d fix: e2e bug 2024-01-19 15:29:48 +08:00
katherinehhh
cf8c30d435 fix: foreignKey 2024-01-19 15:21:51 +08:00
katherinehhh
1d983ccadf Merge branch 'T-2327-and-2771' of github.com:nocobase/nocobase into T-2327-and-2771 2024-01-19 15:10:31 +08:00
katherinehhh
96bf8398de refactor: availableTypes 2024-01-19 15:08:44 +08:00
dream2023
ddc71c60aa Merge branch 'T-2327-and-2771' of https://github.com/nocobase/nocobase into T-2327-and-2771 2024-01-19 14:30:18 +08:00
dream2023
1e79eb5484 fix: e2e bug 2024-01-19 14:29:29 +08:00
Chareice
cbbe21cd7b
chore: mysql unsigned number field 2024-01-19 14:09:12 +08:00
Chareice
817177c196
chore: mysql field type 2024-01-19 11:52:54 +08:00
Chareice
3b0feef046
chore: mysql field type 2024-01-19 11:42:00 +08:00
Chareice
fd817d7fb5
chore: postgres type map 2024-01-19 11:36:16 +08:00
dream2023
137d912802 fix: bug 2024-01-19 10:18:33 +08:00
dream2023
598f8234ff Merge branch 'T-2327-and-2771' of https://github.com/nocobase/nocobase into T-2327-and-2771 2024-01-19 09:16:57 +08:00
dream2023
0f108158d5 fix: bug 2024-01-19 09:16:37 +08:00
Chareice
31f55e3a1a
chore: error handler 2024-01-19 00:36:30 +08:00
Chareice
b6f46a16e4
chore: test 2024-01-18 22:58:15 +08:00
dream2023
9782e53f42 fix: reload database 2024-01-18 22:41:22 +08:00
Chareice
b2e4b6a7cd
chore: test 2024-01-18 22:17:52 +08:00
katherinehhh
69dcc2bf4d refactor: menu side bar 2024-01-18 21:01:17 +08:00
katherinehhh
1fa4d48869
fix: attachment deletion and re upload do not display (#3405) 2024-01-18 19:10:44 +08:00
dream2023
b4d950566c fix: bug 2024-01-18 18:41:15 +08:00
dream2023
4560619ef3 fix: bug 2024-01-18 18:40:23 +08:00
katherinehhh
ae62b83397 refactor: namespace in useresource 2024-01-18 17:12:16 +08:00
dream2023
b1ba7722c1 fix: unit test 2024-01-18 16:31:40 +08:00
dream2023
48e4b2118d fix: single and multi data source 2024-01-18 16:30:38 +08:00
katherinehhh
a15a72a113 Merge branch 'T-2327-and-2771' of github.com:nocobase/nocobase into T-2327-and-2771 2024-01-18 15:20:04 +08:00
katherinehhh
2f9f42dca8 refactor: acl support namespace 2024-01-18 15:19:06 +08:00
dream2023
31ed99810c Merge branch 'T-2327-and-2771' of https://github.com/nocobase/nocobase into T-2327-and-2771 2024-01-18 15:02:29 +08:00
dream2023
da34bf051b fix: e2e bug 2024-01-18 15:02:02 +08:00
katherinehhh
ccee2df920 refactor: acl support namespace 2024-01-18 14:44:58 +08:00
katherinehhh
3535a8d559 refactor: acl support namespace 2024-01-18 14:44:02 +08:00
dream2023
681b551697 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-18 14:42:01 +08:00
dream2023
554b1f45bb fix: delete placedholder tip 2024-01-18 14:24:26 +08:00
dream2023
1e0136e402 Merge remote-tracking branch 'origin/main' into T-2327-and-2771 2024-01-18 14:23:27 +08:00
Chareice
edad85b92d
chore: acl selectore 2024-01-18 13:52:24 +08:00
Chareice
d98a42e34f
chore: acl 2024-01-18 13:48:28 +08:00
katherinehhh
738f9c568e Merge branch 'T-2327-and-2771' of github.com:nocobase/nocobase into T-2327-and-2771 2024-01-18 12:59:45 +08:00
katherinehhh
3b63cebbf1 Merge branch 'T-2771' into T-2327-and-2771 2024-01-18 12:59:00 +08:00
katherinehhh
85cdf8ace0 refactor: availableTypes 2024-01-18 12:57:28 +08:00
dream2023
e95d5e7270 Merge remote-tracking branch 'origin/T-2327-refactor2' into T-2327-and-2771 2024-01-18 11:52:20 +08:00
dream2023
87d8f767fa fix: workflow menual 2024-01-18 11:51:01 +08:00
chenos
acabb9cbf0 fix: run postinstall after pm add 2024-01-18 11:23:57 +08:00
dream2023
f185b11616 fix: cache bug 2024-01-18 11:02:54 +08:00
katherinehhh
a60a0a6989 Merge branch 'T-2771' into T-2327-and-2771 2024-01-18 10:40:50 +08:00
katherinehhh
c80b67380b Merge branch 'T-2771' into T-2327-and-2771 2024-01-18 10:07:12 +08:00
katherinehhh
fe260d0371
refactor: parent inherited collection support enable child collection in add new action (#3398)
* refactor: parent inherited collectionsholud enable child collection in add new

* fix: useisDetailBlock

* fix: useIsDetailBlock

* fix: useIsDetailBlock

* fix: useIsDetailBlock
2024-01-18 09:46:27 +08:00
chenos
8217ebfb1b
feat: improve plugin manager process (#3386)
* feat: improve plugin manager process

* fix: skip help error

* fix: ipc check

* fix: improve remove

* fix: refresh

* fix: remove dir

* fix: improve code

* fix: update yarn.lock

* fix: e2e error

* fix: migration

* fix: pm create

* Revert "fix: migration"

This reverts commit 8f8fe04436.

* fix: remove sample-hello
2024-01-18 00:33:15 +08:00
katherinehhh
9c4eb9cd1f refactor: availableTypes 2024-01-17 22:27:55 +08:00
katherinehhh
1ea0995f71 refactor: availableTypes 2024-01-17 22:14:37 +08:00
dream2023
d2d5532127 fix: improve code 2024-01-17 21:54:18 +08:00
katherinehhh
343f057748 refactor: availableTypes 2024-01-17 21:49:20 +08:00
Junyi
a4b9544944
Fix/plugin workflow migration (#3404)
* fix(plugin-workflow): fix migration

* fix(plugin-workflow): add job.nodeKey when saving
2024-01-17 20:09:24 +08:00
dream2023
2724521000 fix: bug 2024-01-17 17:34:59 +08:00
dream2023
855db5a830 fix: build bug 2024-01-17 15:29:13 +08:00
dream2023
3216634b6a Merge remote-tracking branch 'origin/T-2771' into T-2327-and-2771 2024-01-17 14:44:42 +08:00
dream2023
40755d3ec6 Merge remote-tracking branch 'origin/T-2327-refactor2' into T-2327-and-2771 2024-01-17 14:44:22 +08:00
dream2023
de16828d73 feat: muti source 2024-01-17 14:43:39 +08:00
katherinehhh
8d06b73c48
fix: varibales as & &Iteration is not correct in record picker (#3399) 2024-01-17 11:16:19 +08:00
dream2023
c9aae391bd fix: get children collection bug 2024-01-17 10:38:48 +08:00
Junyi
6f72451d27
fix(plugin-workflow-manual): fix value block in todo block (#3400) 2024-01-17 00:06:40 +08:00
katherinehhh
5c1cce9781 refactor: sourceKey should be string 2024-01-16 16:06:41 +08:00
katherinehhh
d3704f6807
fix: assciation field in sub-table should support enable link when readOnly or readPrety (#3390) 2024-01-16 15:58:18 +08:00
katherinehhh
c2c65f15a1 refactor: o2o sourceKey should be string 2024-01-16 15:57:43 +08:00
katherinehhh
bc927af640
refactor: local translate (#3396) 2024-01-16 11:31:03 +08:00
dream2023
98206cf90e Merge remote-tracking branch 'origin/T-2771' into T-2327-and-2771 2024-01-16 10:05:08 +08:00
YANG QIA
8530da7c23
fix: fix T-2916 (#3393) 2024-01-15 23:46:29 +08:00
katherinehhh
9ccec69068 refactor: target key should be string 2024-01-15 22:29:54 +08:00
katherinehhh
82ed96400f refactor: target key should be string 2024-01-15 22:20:05 +08:00
katherinehhh
222d3f0b7b refactor: target key shuold required 2024-01-15 22:04:12 +08:00
katherinehhh
6fb5af993e
refactor(sub-table): sub-table support selection of existing records (#3311)
* refactor: sub-table support selection of existing records

* refactor: local improve

* refactor: sub-table support select existing records

* refactor: create action support updateAssociationValues

* refactor:  sub-table

* fix: omit foreignKey

* refactor: record picker omit foreignKey

* test: manyToMany

* test: subform: basic fields

* test: table column & sub-table in edit form
2024-01-15 17:46:55 +08:00
dream2023
7538d7b110 Merge remote-tracking branch 'origin/T-2327-refactor2' into T-2327-and-2771 2024-01-15 16:30:09 +08:00
dream2023
087e2dcfe4 fix: rename CollectionTemplate to CollectionTemplateBase 2024-01-15 16:18:08 +08:00
dream2023
4f6ed79221 fix: rename CollectionFieldInterface to CollectionFieldInterfaceBase 2024-01-15 16:13:57 +08:00
katherinehhh
8b893b7fdb refactor: plugin manager link 2024-01-15 16:05:25 +08:00
dream2023
4bd0198ffc Merge remote-tracking branch 'origin/T-2771' into T-2327-and-2771 2024-01-15 14:33:11 +08:00
dream2023
14ce98cee5 fix: docs bug 2024-01-15 10:34:38 +08:00
dream2023
c4f43cab54 docs: new docs 2024-01-14 23:11:15 +08:00
YANG QIA
dc71a77d8c
fix(auth): redirect URL after signing in by SSO sucessfully (#3387)
* fix: fix T-2900

* fix: saml
2024-01-14 22:26:13 +08:00
katherinehhh
dea66152b3 refactor: foreign key 2024-01-14 21:12:21 +08:00
katherinehhh
18a25682ed refactor: foreign key 2024-01-14 21:11:34 +08:00
Chareice
1b3bcb2c3c
chore: acl export 2024-01-14 19:52:19 +08:00
Chareice
157e3d2ef9
chore: test 2024-01-14 17:34:35 +08:00
Chareice
1214717f82
chore: database to connection name 2024-01-14 17:27:59 +08:00
Chareice
b8a6199f60
chore: acl selector 2024-01-14 16:02:16 +08:00
Chareice
2d1da285a9
chore: acl test 2024-01-14 10:37:13 +08:00
Chareice
f570aa5c88
chore: namespace test 2024-01-14 10:16:34 +08:00
Chareice
a58f736416
chore: acl instances 2024-01-14 10:15:39 +08:00
dream2023
615b19a7cb fix: inheritance bug 2024-01-13 21:36:48 +08:00
chenos
88dd3dd569 feat: update docs 2024-01-13 18:36:11 +08:00
Dunqing
8ab69500c7
fix(custom-request): permission issues (#3306)
* fix(custom-request-plugin): cannot see custom request action in non-root role when acl doesn't set

* fix: list all roles

* feat: display all roles

* feat: support

* fix: remove unused code

* fix: options is null

* fix: translation

* fix: migration error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-13 18:13:18 +08:00
chenos
1adaa53c2b
feat: supports the WS_PATH environment variable (#3384) 2024-01-13 18:05:22 +08:00
dream2023
300302c118 fix: bug 2024-01-13 17:44:08 +08:00
dream2023
da365210e4 Merge branch 'T-2327-refactor2' of https://github.com/nocobase/nocobase into T-2327-refactor2 2024-01-13 17:43:26 +08:00
chenos
c44f459756 fix: migration error 2024-01-13 09:47:35 +08:00
katherinehhh
fb697d5bff Merge branch 'T-2771' of github.com:nocobase/nocobase into T-2771 2024-01-12 21:27:40 +08:00
katherinehhh
850d2c6616 refactor: code improve 2024-01-12 21:27:09 +08:00
katherinehhh
24834a21c1 refactor: code improve 2024-01-12 19:59:20 +08:00
Zeke Zhang
f466e6ec95 test(e2e): increase the number of retries for error-prone tests 2024-01-12 17:14:18 +08:00
dream2023
6adb95588d fix: remove isLocal 2024-01-12 16:01:30 +08:00
dream2023
5f37f7a523 fix: bug 2024-01-12 15:20:23 +08:00
Chareice
061d2e03f8
chore: namespace char 2024-01-12 15:17:03 +08:00
Chareice
cbf3883bfe
chore: db2resource with namespace 2024-01-12 15:05:33 +08:00
dream2023
4132659670 fix: unit test 2024-01-12 12:05:46 +08:00
dream2023
3aba0d051e fix: add CollectionExtendsProvider 2024-01-12 11:50:15 +08:00
dream2023
db81a8aab6 fix: bug 2024-01-12 11:25:20 +08:00
dream2023
83680e211c fix: remove collectionTemplate and fieldInterface V2 2024-01-12 10:21:39 +08:00
dream2023
3c79cf419c Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-12 10:18:02 +08:00
dream2023
c4257f1e23 fix: build error 2024-01-12 10:17:38 +08:00
katherinehhh
bc3da07b82 Merge branch 'main' into T-2771 2024-01-12 09:54:55 +08:00
katherinehhh
dfb4421484
fix: table column sort params should support cancel sort (#3372)
* fix: sort params

* fix: sort params
2024-01-12 09:50:17 +08:00
chenos
57a2bac72a fix(api-doc): invalid headers 2024-01-12 09:14:27 +08:00
dream2023
0b6adb7994 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-11 23:35:27 +08:00
dream2023
9ec6372af9 fix: field interfaces to class 2024-01-11 23:33:35 +08:00
dream2023
9542db19ff fix: template to class 2024-01-11 22:05:18 +08:00
Chareice
6c10251ec4
Merge branch 'T-2883' into T-2771 2024-01-11 21:02:05 +08:00
YANG QIA
1871fdd895
fix: fix T-2909 (#3373) 2024-01-11 19:29:25 +08:00
dream2023
9a85755684 fix: add field groups 2024-01-11 18:16:08 +08:00
dream2023
f934cb9bbe fix: rename collectionFieldInterfaceInstance to fieldInterfaceInstance 2024-01-11 17:19:52 +08:00
katherinehhh
c9901d1681
fix: graph collection auto layout reporting error (#3370) 2024-01-11 16:51:32 +08:00
katherinehhh
80b71c4a7b
test: collection selector test (#3371)
* test: collection selector test

* test: collection selector test
2024-01-11 16:51:22 +08:00
Zeke Zhang
29a09b1ceb
fix(TableSelectorProvider): parse filter param (#3366)
* fix(TableSelectorProvider): parse filter param

* fix: avoid duplicate loading of data
2024-01-11 16:22:06 +08:00
katherinehhh
b650d30996
Revert "test: collection selector test" (#3369) 2024-01-11 16:20:00 +08:00
katherinehhh
5903541f43
test: collection selector test (#3368) 2024-01-11 15:44:55 +08:00
katherinehhh
f38e4bcaa8
refactor: local impeove (#3367) 2024-01-11 15:19:44 +08:00
dream2023
b492f4999c Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-11 15:16:54 +08:00
dream2023
04a4949d9d fix: collection field groups remove from core 2024-01-11 15:16:05 +08:00
dream2023
71d194a29f fix: change registerField and registerTemplate 2024-01-11 15:14:34 +08:00
Chareice
97e4dd86e5
chore: namespace separator 2024-01-11 15:07:04 +08:00
YANG QIA
7d29c717eb
feat(oidc): add advanced options (#3364)
* fix(oidc): params issue

* fix: test

* fix: exchangeBody

* feat: add advanced settings

* fix: locale

* fix: bug

* feat: allow to set state token manually
2024-01-11 11:27:40 +08:00
katherinehhh
53e870c0b2 Merge branch 'main' into T-2771 2024-01-11 11:22:29 +08:00
katherinehhh
4d44c6e24e
fix: useDesigner Designer should has default toolbar (#3365)
* fix: useDesigner Designer should has default toolbar

* test: e2e schemaSeting for linkage rule

* test: e2e schemaSeting for linkage rule

* test: e2e schemaSeting for linkage rule
2024-01-11 11:21:18 +08:00
Chareice
b7a837d84d
fix: acl test 2024-01-11 10:47:49 +08:00
katherinehhh
895e305a8e Merge branch 'main' into T-2771 2024-01-11 10:17:25 +08:00
chenos
2f8b0e75f8 feat: optimize translation 2024-01-11 10:06:44 +08:00
Chareice
7b6469fa3d
fix: acl test 2024-01-11 09:36:12 +08:00
dream2023
0d53f1b93c fix: bug 2024-01-10 23:51:02 +08:00
dream2023
50c57591a6 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-10 21:52:07 +08:00
dream2023
4bd5003002 fix: e2e 2024-01-10 21:50:58 +08:00
katherinehhh
77ef27d524
fix: linkage rules support multi-level association value calculation and assignment (#3359) 2024-01-10 17:01:20 +08:00
katherinehhh
79735a372b
fix: linkage rule only support action with context record (#3355) 2024-01-10 17:00:44 +08:00
Zeke Zhang
7534e12029
fix(header): avoid affecting the colours of other menus (#3357)
* fix: avoid affecting the colours of other menus

* Revert "Revert "fix(theme): fix color of header menu (#3354)""

This reverts commit 3a06893463.
2024-01-10 16:52:02 +08:00
Chareice
be2a6dc3b2
chore: test acl with namespace 2024-01-10 15:55:16 +08:00
hongboji
6eff76ffa2
fix: compute node random data even error (#3346)
* fix: compute node random data even error

* fix: expression edit box error

* fix: expression edit box error
2024-01-10 15:17:21 +08:00
Zeke Zhang
3a06893463 Revert "fix(theme): fix color of header menu (#3354)"
This reverts commit 70633840da.
2024-01-10 11:33:23 +08:00
Zeke Zhang
70633840da
fix(theme): fix color of header menu (#3354) 2024-01-10 09:15:41 +08:00
ChengLei Shao
0ce0ca6441
fix: dump with sql collection (#3350)
* chore: dump with sql collection

* fix: dump with view that not exists in database

* fix: test

* fix: test

* fix: test

* fix: test
2024-01-09 22:19:43 +08:00
chenos
38c19818d3 chore(versions): 😊 publish v0.19.0-alpha.3 2024-01-09 18:32:09 +08:00
chenos
f2de05bea0 fix(client): hide gmt property 2024-01-09 18:12:34 +08:00
dream2023
86d591c064 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-09 17:49:03 +08:00
dream2023
ecb8842444 fix: docs build 2024-01-09 17:48:03 +08:00
chenos
f5d88c9057
fix: e2e ci (#3349)
* fix: e2e ci

* fix: ci

* fix: error

* test: e2e

* fix: error

* fix: remove load

* fix: test error
2024-01-09 17:43:14 +08:00
katherinehhh
6d68515275
fix: collection field update reporting error (#3352) 2024-01-09 16:51:46 +08:00
dream2023
1af2b7e87c fix: bug 2024-01-09 16:51:03 +08:00
jack zhang
849096aafa
fix: build clean (#3351) 2024-01-09 15:56:53 +08:00
dream2023
8a3e816c54 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-09 15:37:39 +08:00
dream2023
f0a2e03402 fix: bug 2024-01-09 15:31:59 +08:00
by
effff269dc
fix: filter form drop-down selection to add data range (#3321)
* fix: filter form drop-down selection to add data range

* refactor: use existing code directly

* test: add tests

---------

Co-authored-by: zhangboya3 <zhangboya3@xiaomi.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-01-09 12:21:16 +08:00
dream2023
55d9da5800 fix: bug 2024-01-09 11:45:55 +08:00
dream2023
6ac6f050c2 fix: bug 2024-01-09 10:47:37 +08:00
katherinehhh
32778658e2 refactor: params assign support url request 2024-01-09 10:46:05 +08:00
chenos
2070f2046d chore(versions): 😊 publish v0.19.0-alpha.2 2024-01-09 09:13:16 +08:00
chenos
6567013440 fix: error creating sock file on windows 2024-01-09 09:12:48 +08:00
chenos
c39d3398ae chore(versions): 😊 publish v0.19.0-alpha.1 2024-01-08 19:32:54 +08:00
chenos
eed36c3bba fix: test error 2024-01-08 19:28:26 +08:00
chenos
7779cd79ac
refactor: optimize the command line (#3339)
* fix: perform load action on boot main app

* feat: add dataType option in collection duplicator

* chore: reset optional dumpable config

* chore: dump command

* chore: dump & restore command

* chore: delay restore

* fix: dump test

* chore: restore command

* chore: dump command action

* chore: dumpable collection api

* chore: client collection option

* feat: backup& restore client

* chore: content disposition header in dump response

* chore: download backup field

* feat: collection origin option

* fix: test

* chore: collection manager collection origin

* chore: upload  backup field

* chore: upload restore file

* chore: upload restore file

* fix: test

* chore: backup and restore support learn more

* refactor: upload restore file

* refactor: upload restore file

* fix: test

* fix: test

* chore: dumpable collection with title

* chore: pg only test

* chore: test

* fix: test

* chore: test sleep

* style: locale improve

* refactor: download backup file

* refactor: start restore

* fix: restore key name

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* chore: unify duplicator option

* fix: dump empty collection

* chore: test

* chore: test

* style: style improve

* refactor: locale improve

* chore: dumpalbe collection orders

* style: style improve

* style: style improve

* style: icon adjust

* chore: nginx body size

* chore: get file status

* feat: run dump task

* feat: download api

* chore: backup files resourcer

* feat: restore destroy api

* chore: backup files resoucer

* feat: list backup files action

* chore: get collection meta from dumped file

* fix: dump file name

* fix: test

* chore: backup and restore ui

* chore: swagger api for backup & restore

* chore: api doc

* chore: api doc

* chore: api doc

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* fix: restore values

* style: style improve

* fix: download field respontype

* fix: restore form local file

* refactor: local improve

* refactor: delete backup file

* fix: in progress status

* refactor: locale improve

* refactor: locale improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* test: dump collection table attribute

* chore: dump collection with table attributes

* chore: test

* chore: create new table in restore

* fix: import error

* chore: restore table from backup file

* chore: sync collection after restore collections

* fix: restore json data

* style: style improve

* chore: restore with fields

* chore: test

* fix: test

* fix: test with underscored

* style: style improve

* fix: lock file state

* chore: add test file

* refactor: backup & restore plugin

* fix: mysql test

* chore: skip import view collection

* chore: restore collection with inherits topo order

* fix: import

* style: style improve

* fix: restore sequence fields

* fix: themeConfig collection duplicator option

* fix: restore with dialectOnly meta

* fix: throw error

* fix: restore

* fix: import backup file created in postgres into mysql

* fix: repeated items in inherits

* chore: upgrade after restore

* feat: check database env before restore

* feat: handle autoincr val in postgres

* chore: sqlite & mysql queryInterface

* chore: test

* fix: test

* chore: test

* fix: build

* fix: pg test

* fix: restore with date field

* chore: theme-config collection

* chore: chage import collections method to support collection origin

* chore: fallback get autoincr value in mysql

* fix: dataType normalize

* chore: delay restore

* chore: test

* fix: build

* feat: collectin onDump

* feat: collection onDump interface

* chore: dump with view collection

* chore: sync in restore

* refactor: locale improve

* refactor: code improve

* fix: test

* fix: data sync

* chore: rename backup & restore plugin

* chore: skip test

* style: style improve

* style: style improve

* style: style improve

* style: style improve

* chore: import version check

* chore: backup file dir

* chore: build

* fix: bugs

* fix: error

* fix: pageSize

* fix: import origin

* fix: improve code

* fix: remove namespace

* chore: dump rules config

* fix: dump custom collection

* chore: version

* fix: test

* fix: test

* fix: test

* fix: test

* chore: test

* fix: load custom collection

* fix: client

* fix: translation

* chore: code

* fix: bug

* fix:  support shared option

* fix: roles collection dumpRules

* chore: test

* fix: define collections

* chore: collection group

* fix: translation

* fix: translation

* fix: restore options

* chore: restore command

* refactor: optimize the command line

* chore: dump error

* fix: test error

* fix:  test error

* fix: test error

* fix: test error

* fix: test error

* fix: skip cli test cases

* fix: test error

* fix: too many open files

* fix: update migration version

* fix: migrations

* fix: upgrade

* fix: error

* fix: migration error

* fix: upgrade

* fix: test error

* fix: timeout

* fix: width

* feat: auto load collections

* fix: test error

* fix: test error

* fix: test error

* fix: test error

* fix: test error

* fix: test error

* fix: test error

* fix: ipc error

* fix: test error

---------

Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-01-08 19:05:14 +08:00
ChengLei Shao
fa97d0a642
feat: application backup and restore (#3268)
* fix: perform load action on boot main app

* feat: add dataType option in collection duplicator

* chore: reset optional dumpable config

* chore: dump command

* chore: dump & restore command

* chore: delay restore

* fix: dump test

* chore: restore command

* chore: dump command action

* chore: dumpable collection api

* chore: client collection option

* feat: backup& restore client

* chore: content disposition header in dump response

* chore: download backup field

* feat: collection origin option

* fix: test

* chore: collection manager collection origin

* chore: upload  backup field

* chore: upload restore file

* chore: upload restore file

* fix: test

* chore: backup and restore support learn more

* refactor: upload restore file

* refactor: upload restore file

* fix: test

* fix: test

* chore: dumpable collection with title

* chore: pg only test

* chore: test

* fix: test

* chore: test sleep

* style: locale improve

* refactor: download backup file

* refactor: start restore

* fix: restore key name

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* refactor: start restore

* chore: unify duplicator option

* fix: dump empty collection

* chore: test

* chore: test

* style: style improve

* refactor: locale improve

* chore: dumpalbe collection orders

* style: style improve

* style: style improve

* style: icon adjust

* chore: nginx body size

* chore: get file status

* feat: run dump task

* feat: download api

* chore: backup files resourcer

* feat: restore destroy api

* chore: backup files resoucer

* feat: list backup files action

* chore: get collection meta from dumped file

* fix: dump file name

* fix: test

* chore: backup and restore ui

* chore: swagger api for backup & restore

* chore: api doc

* chore: api doc

* chore: api doc

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* chore: backup and restore ui

* fix: restore values

* style: style improve

* fix: download field respontype

* fix: restore form local file

* refactor: local improve

* refactor: delete backup file

* fix: in progress status

* refactor: locale improve

* refactor: locale improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* test: dump collection table attribute

* chore: dump collection with table attributes

* chore: test

* chore: create new table in restore

* fix: import error

* chore: restore table from backup file

* chore: sync collection after restore collections

* fix: restore json data

* style: style improve

* chore: restore with fields

* chore: test

* fix: test

* fix: test with underscored

* style: style improve

* fix: lock file state

* chore: add test file

* refactor: backup & restore plugin

* fix: mysql test

* chore: skip import view collection

* chore: restore collection with inherits topo order

* fix: import

* style: style improve

* fix: restore sequence fields

* fix: themeConfig collection duplicator option

* fix: restore with dialectOnly meta

* fix: throw error

* fix: restore

* fix: import backup file created in postgres into mysql

* fix: repeated items in inherits

* chore: upgrade after restore

* feat: check database env before restore

* feat: handle autoincr val in postgres

* chore: sqlite & mysql queryInterface

* chore: test

* fix: test

* chore: test

* fix: build

* fix: pg test

* fix: restore with date field

* chore: theme-config collection

* chore: chage import collections method to support collection origin

* chore: fallback get autoincr value in mysql

* fix: dataType normalize

* chore: delay restore

* chore: test

* fix: build

* feat: collectin onDump

* feat: collection onDump interface

* chore: dump with view collection

* chore: sync in restore

* refactor: locale improve

* refactor: code improve

* fix: test

* fix: data sync

* chore: rename backup & restore plugin

* chore: skip test

* style: style improve

* style: style improve

* style: style improve

* style: style improve

* chore: import version check

* chore: backup file dir

* chore: build

* fix: bugs

* fix: error

* fix: pageSize

* fix: import origin

* fix: improve code

* fix: remove namespace

* chore: dump rules config

* fix: dump custom collection

* chore: version

* fix: test

* fix: test

* fix: test

* fix: test

* chore: test

* fix: load custom collection

* fix: client

* fix: translation

* chore: code

* fix: bug

* fix:  support shared option

* fix: roles collection dumpRules

* chore: test

* fix: define collections

* chore: collection group

* fix: translation

* fix: translation

* fix: restore options

* chore: restore command

* chore: dump error

* fix: too many open files

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-08 18:59:56 +08:00
dream2023
08ccdb2964 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-08 18:08:00 +08:00
dream2023
0b16526297 fix: bug 2024-01-08 18:03:25 +08:00
katherinehhh
af3ef28656 fix: value undefined in CollectionCategory 2024-01-08 15:25:18 +08:00
hongboji
56b1234c1c
fix: workflow e2e concurrency errors (#3345)
* fix: workflow e2e concurrency errors

* fix: edit Collection event name
2024-01-08 14:05:35 +08:00
Chareice
b43ee20326
chore: uuid type 2024-01-08 12:26:13 +08:00
dream2023
0a011a1eeb fix: graph collection bug 2024-01-08 10:43:04 +08:00
chenos
fd4809d8ad fix: e2e with build 2024-01-08 10:29:41 +08:00
Chareice
0157deaff8
Merge branch 'T-2844' into T-2771 2024-01-07 22:24:35 +08:00
Chareice
a104e9138c
Merge branch 'main' into T-2844 2024-01-07 22:18:13 +08:00
hongboji
3c87755e6c
test: workflow aggregate node e2e (#3342) 2024-01-07 19:52:01 +08:00
Chareice
0dae8e9278
chore: model method 2024-01-07 19:05:16 +08:00
hongboji
908944ce62
test: workflow sql node e2e (#3341) 2024-01-07 17:09:32 +08:00
Zeke Zhang
d85aaa36e3
fix(z-index): avoid obscuring the pop-up and upgrade antd to v5.12.8 (#3337)
* fix(z-index): avoid obscuring the pop-up

* test: optimize

* chore: fix build

* test: fix errors
2024-01-06 18:32:25 +08:00
dream2023
f0e4152f49 Merge remote-tracking branch 'origin/main' into T-2327-refactor2 2024-01-06 16:59:36 +08:00
dream2023
c19305d4f9 fix: test bug 2024-01-06 16:36:27 +08:00
Junyi
05078faf1a
refactor(plugin-workflow): add trigger title for workflow which is different with title (#3333) 2024-01-06 11:17:28 +08:00
chenos
5ff7f686b1
fix(database): cannot find module 'node-fetch' (#3335) 2024-01-06 10:35:59 +08:00
Zeke Zhang
2ab9f8625e
chore(e2e): make parallelism mode more stable (#3294)
* chore: make parallelism mode more stable

* refactor: optimize e2e tests

* test: make test more stable

* chore: change concurrency to 4 from 2

* refactor: inline variable

* test: fix error

* test: avoid error

* test: avoid error

* test: avoid error

* chore(e2e): remove --stop-on-error on CI runs

* Revert "refactor: inline variable"

This reverts commit 454bb04613.

* test: make more stable

* chore: adjust timeout

* chore: update config

* test: make test more stable

* chore: update yarn.lock

* Revert "chore: update yarn.lock"

This reverts commit 1bb7a661d1.

* test(workflow): increase local timeout

* test: optimize

* test: more stable

* test: fix errors

* test: more stable

* chore: increase retries to 2 in CI
2024-01-06 06:37:23 +08:00
chenos
16b34be05c fix: date parse 2024-01-05 22:36:57 +08:00
Junyi
b9398d1cd4
fix(plugin-workflow-manual): adjust locale and column (#3331) 2024-01-05 21:48:21 +08:00
chenos
da99573545
feat: add onChange props to SchemaComponent (#3292)
* feat: add onChange props to SchemaComponent

* fix(client): avoid undefined method error

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-01-05 21:36:00 +08:00
YANG QIA
33c690b877
fix: fix T-2879 (#3330) 2024-01-05 20:12:30 +08:00
dream2023
513f03ac62 fix: bug 2024-01-05 18:45:02 +08:00
dream2023
2f96943875 fix: init 2024-01-05 18:16:00 +08:00
Chareice
f2475b187e
fix: application 2024-01-05 16:00:45 +08:00
Chareice
a0efbf6a23
Merge branch 'main' into T-2844 2024-01-05 15:29:16 +08:00
Chareice
a0bf84198d
chore: get remote repository in action 2024-01-05 15:26:35 +08:00
katherinehhh
c102655317
refactor: gantt tooltip hover (#3328) 2024-01-05 14:30:45 +08:00
katherinehhh
393b9f47c2
refactor: view collection should omit rawTitle when sync form database (#3327) 2024-01-05 10:37:25 +08:00
katherinehhh
c26edf6282
fix: view collection should omit rawTitle when sync form database (#3326) 2024-01-05 09:57:23 +08:00
Junyi
dfcd21f34f
refactor(client): pass props to antd list (#3319) 2024-01-04 20:57:21 +08:00
YANG QIA
f803105e69
perf(bi): optimize performance of chart filter block (#3316)
* perf: add useMemo

* fix: bug

* fix: bug

* chore: remove memo
2024-01-04 19:21:54 +08:00
katherinehhh
5f55f4d8db
fix: attachment reporting error while opening preview modal in table (#3318)
* fix: attachment report error while opening preview modal

* fix: attachment report error while opening preview modal
2024-01-04 17:35:16 +08:00
katherinehhh
a59a82cdd8 Merge branch 'main' into T-2771 2024-01-04 17:11:18 +08:00
Junyi
0b1eb36152
refactor(client): adjust list item style and fix warning (#3315)
* refactor(client): adjust list item style and fix warning

* refactor(client): adjust list item padding

* refactor(client): adjust list style
2024-01-04 14:45:14 +08:00
Zeke Zhang
ba67b7aede
fix: z-index of antd (#3313)
* chore: auto update yarn.lock

* fix: z-index of antd

* test: add test

* test: add tests
2024-01-04 11:34:34 +08:00
katherinehhh
7fffd998bb refactor: pluginsetting replaceRouteParams 2024-01-03 20:59:36 +08:00
Zeke Zhang
fdbdbac3c6 fix: fix filter param of data scope of list block 2024-01-03 17:59:32 +08:00
katherinehhh
b8df21a75a refactor: pluginsetting replaceRouteParams 2024-01-03 17:51:15 +08:00
jack zhang
4c42dd8a13
fix: in the dev environment, all plugins are loaded locally (#3309)
* fix: cna plugin load

* fix: support storage

* fix: storage plugins

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-03 17:31:58 +08:00
katherinehhh
7808f97611 Merge branch 'main' into T-2771 2024-01-03 16:37:40 +08:00
dream2023
bd3f86e44f Merge remote-tracking branch 'origin/main' into T-2327 2024-01-03 11:20:15 +08:00
Junyi
c4c7b7a6b6
fix(plugin-workflow): adjust locale (#3308) 2024-01-03 11:15:18 +08:00
dream2023
78c8b9ff2c Merge remote-tracking branch 'origin/main' into T-2327 2024-01-03 11:12:53 +08:00
xilesun
004998a80a chore(versions): 😊 publish v0.18.0-alpha.9 2024-01-03 10:00:45 +08:00
Junyi
cebd8efd2e
chore(plugin-workflow): add metric example (#3305)
* chore(plugin-workflow): add metric example

* refactor(plugin-workflow): refactor some code

* refactor(plugin-workflow): remove type for less dependencies
2024-01-03 09:59:33 +08:00
Junyi
e8b7fbd699
chore(vscode): add inspect argument for attaching to debug port (#3307) 2024-01-03 09:19:51 +08:00
katherinehhh
4dbac496be
fix(client): detail block should support save as block template (#3303)
* fix: detail block should support save as block template

* test: detail block setting test
2024-01-02 22:24:17 +08:00
Junyi
64e0659f7b
feat(plugin-workflow-request): allow to use variable in url (#3304) 2024-01-02 21:35:09 +08:00
katherinehhh
1bbae2cc4f refactor: input interface support uid as availableTypes 2024-01-02 17:57:39 +08:00
katherinehhh
fda30fd519
fix: dateformat setting should support sub-table/table block (#3297)
* fix: dateformat should effect immediately in sub-table

* refactor: dateformat setting for sub-table/table block

* refactor: dateformat setting for sub-table/table block

* refactor: schemaSettingsDateFormat
2024-01-02 17:36:28 +08:00
katherinehhh
e8759588b5
fix: record picker should support popupsize setting (#3299) 2024-01-02 15:48:42 +08:00
chenos
5de28cd4c4 fix(ui-schema-storage): duplicate of empty schema 2024-01-02 14:44:54 +08:00
chenos
29b47c1d40 fix: plugin does not exist 2024-01-02 12:32:47 +08:00
YANG QIA
0dbc01c330
feat: telemetry (#3279)
* feat: telemetry

* fix: build

* chore: update

* refactor: improve api

* fix: test

* fix: version

* fix: build

* feat: support for adding views

* fix: typo

* fix: version

* chore: update

* chore(env): `true` -> `on`

* fix: metric version
2024-01-02 12:17:46 +08:00
katherinehhh
e5f068baa5 Merge branch 'main' into T-2771 2024-01-02 11:56:43 +08:00
YANG QIA
66ee3f6864
chore(logger): append url to request log message (#3296) 2024-01-02 09:35:46 +08:00
Zeke Zhang
e99c2f2011
fix(defaultValue): fix unparsed default value in edit form's subtable (#3289)
* chore: yarn.lock

* fix: fix unparsed default value in edit form's subtable

* test: fix test

* fix: fix T-2805

* chore: increase timeout

* chore: increase expect timeout

* test: optimize parallelism mode

* test: reduce expect timeout

* test: mack test more stable

* chore: test

* chore: test

* test: fix parallelism mode

* chore: restart
2024-01-01 18:44:42 +08:00
dream2023
ae9227356f Merge remote-tracking branch 'origin/main' into T-2327 2024-01-01 17:39:15 +08:00
dream2023
65488a7cc7 fix: bug 2024-01-01 17:38:18 +08:00
katherinehhh
cc251b3222
fix: previewFields (#3293) 2024-01-01 17:10:12 +08:00
Chareice
4f51fcea7a
Merge branch 'main' into T-2844 2024-01-01 08:58:53 +08:00
YANG QIA
318b433482
chore(logger): improve format (#3290)
* chore(logger): improve format

* fix: build

* feat: develop format

* chore: develop -> console
2023-12-30 23:34:40 +08:00
katherinehhh
2836df2f10
fix: view collection should set title value when sync form database (#3287) 2023-12-29 17:51:07 +08:00
chenos
467f3b6b79
fix: remove require cache (#3288) 2023-12-29 17:34:12 +08:00
chenos
8bac8dac71 chore(versions): 😊 publish v0.18.0-alpha.8 2023-12-29 15:49:02 +08:00
chenos
6816aded87 fix: add LICENSE 2023-12-29 13:11:56 +08:00
Zeke Zhang
c739cff581 Revert "test: fix 'window is not defined'"
This reverts commit aefabffd77.
2023-12-29 12:19:19 +08:00
katherinehhh
7334e0b3fb
refactor: record picker submit button display by association type (#3283) 2023-12-29 11:53:04 +08:00
Zeke Zhang
c6915c69f8
fix: use appends param to load association data (#3282)
* fix: use appends param to load association data

* chore: update yarn.lock

* test: add test

* test: remove the 'BUG:' text

* test: fix 'window is not defined'

* test: increase timeout
2023-12-29 11:34:27 +08:00
katherinehhh
a6930bab12 Merge branch 'main' into T-2771 2023-12-29 09:56:25 +08:00
chenos
501e3f1db2 chore(versions): 😊 publish v0.18.0-alpha.3 2023-12-29 09:42:06 +08:00
chenos
95a5cab44c feat: add plugin.t() method 2023-12-29 09:40:17 +08:00
Junyi
7f0d699590
refactor(plugin-workflow): adjust some api and packages (#3281)
* fix(plugin-workflow): fix locale and some api

* fix(plugin-workflow-test): fix test package

* fix(plugin-workflow): fix package and types

* test(plugin-workflow): test package
2023-12-29 09:29:37 +08:00
katherinehhh
c9d5292d03
test(e2e): acl e2e test (#3249)
* test: acl test

* test: acl action test

* test: acl test

* test: acl test

* test: acl collection block test

* test: acl e2e test

* test: acl e2e test

* test: acl test

* test: acl collection test

* test: acl collectin test

* test: acl association test

* test: association acl test

* test: collection acl test

* test: collection acl test

* test: acl test

* test: acl updateRole test

* test: menu permission test

* test: menu permission test

* test: menu permission test

* test: menu permission test

* test: acl test

* test: acl test

* test: acl test

* test: acl test

* test: acl test

* test: menu acl test

* test: acl test

* refactor: setDefaultRole

* fix: merge bug

* fix: merge bug

* test: acl test
2023-12-29 09:15:57 +08:00
Zeke Zhang
4121075a98
test(e2e): add tests for collection manager (#3253)
* refactor: optimize file structure

* test: add tests for collection templates

* test: fix errors

* fix: fix errors

* test: schemaInitializer of fields

* fix: test erros

* fix: test error

* test: make tests more stable

* test: fix tree template
2023-12-29 09:14:47 +08:00
hongboji
e7c2c9ff83
test: workflow e2e (#3261)
* test: workflow e2e

* test: workflow e2e

* fix: merge main, fix incompatibility

* test: remove unneeded test cases

* fix: process.env.PLAYWRIGHT_AUTH_FILE

* fix: workflow e2e

* test: increase e2e timeout-minutes to 180

* fix: error

* fix: workflow aggregate e2e test

* fix: cancel useTransaction

* fix: updateRecord

* fix: queryRecord

* fix: queryRecord

* fix: queryRecord

* fix: formEvent

* fix: format files

* fix: test

* fix: error

* fix: error

* fix: split files

* fix: ci

* fix: error

* fix: error

* fix: client end

* fix: test

* fix: test

* feat: concurrency=10

* fix: concurrency=3

* test: increase timeout

* test: p-test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-29 09:13:00 +08:00
Chareice
c0c19983e2
chore: append getDb inoto context 2023-12-29 08:56:47 +08:00
katherinehhh
7b4dacd79f refactor: collection manager export 2023-12-28 21:02:31 +08:00
katherinehhh
0c60780b50
fix: associaion block failed to create in internalViewer (#3274) 2023-12-28 19:42:51 +08:00
katherinehhh
540338935b refactor: pluginsetting manager 2023-12-28 16:30:41 +08:00
katherinehhh
1f4a303581 refactor: admin layout 2023-12-28 16:19:05 +08:00
Zeke Zhang
50851dc441
fix: z-index should be the same value (#3278) 2023-12-28 16:18:07 +08:00
Chareice
b3a3457e88
fix: test 2023-12-28 15:49:23 +08:00
Chareice
f812826df9
chore: setDb 2023-12-28 15:33:51 +08:00
Chareice
d61ad37be7
feat: support multiple database instances in application 2023-12-28 15:22:04 +08:00
katherinehhh
2074e5e4b8
style: collection manger fields style improve (#3276) 2023-12-28 14:51:24 +08:00
katherinehhh
f834173be0 Merge branch 'main' into T-2771 2023-12-28 14:31:46 +08:00
chenos
8108107779
fix: require module (#3277)
* fix: require module

* fix: include utils
2023-12-28 13:40:11 +08:00
katherinehhh
e7c445d2e7 refactor: collection manager export 2023-12-28 10:28:48 +08:00
katherinehhh
3df49a4a7b refactor: collection manager export 2023-12-28 10:24:31 +08:00
Zeke Zhang
80335aa23c
chore: optimize jsdom and vitest configuration (#3269) 2023-12-27 17:29:07 +08:00
katherinehhh
886c953d7c refactor: pluginsettingmanager support databse connection 2023-12-27 16:19:19 +08:00
katherinehhh
3f2cff9bb9 refactor: pluginsetting 2023-12-27 16:12:58 +08:00
dream2023
0da46b6f89 fix: bug 2023-12-27 14:24:29 +08:00
xilesun
1c3b5c1645 fix(logger): colorize 2023-12-27 14:02:22 +08:00
YANG QIA
8633ec3735
refactor(logger): improve logger format (#2664)
* refactor(logger): improve logger format

* chore: improve log format

* feat(logger): plugin-logger

* feat: allow to download log files, close T-1917

* chore: update yarn.lock

* chore: improve log format

* fix: add maxsize params

* chore: add userId field to request

* chore: remove userId from request

* chore: change userId in response

* chore: change action in response

* chore: add database logger

* fix: build

* fix: test

* chore: solve conflicts

* fix: escape delimiter in message

* refactor: improve create logger api

* chore: update app logger options

* chore: remove colorize for json

* fix: bug of data2tree

* fix: test

* chore: log

* chore: remove GITHUB_ACTION check

* fix: bug

* chore: change version

* fix: transports

* fix: mockServer

* chore: use new plugin settings api

* fix: version

* fix: build

* feat: support logfmt

* fix: build

* fix: build

* fix: test

* chore: update config

* fix: test

* fix: bug

* fix: test

* fix: format

* chore: update path

* fix: build

* fix: bug

* chore: update comment

* fix: allow to custom format

* fix: package.json

* fix: version

* fix: bug
2023-12-27 13:56:13 +08:00
Junyi
8ee8ab7d6d
refactor(plugin-workflow): refactor apis (#3267)
* refactor(plugin-workflow): refactor apis

* fix(plugin-workflow-parallel): fix import in test cases

* fix(plugin-workflow): fix some module import source

* fix(plugin-workflow): move manual table acl to manual plugin

* fix(plugin-workflow-manual): fix folder typo
2023-12-27 13:55:48 +08:00
katherinehhh
11c9085182 feat: support databse connection 2023-12-27 11:24:17 +08:00
katherinehhh
7c674cc1c2 feat: support databse connection 2023-12-27 11:07:35 +08:00
katherinehhh
edcaf1ddf2 feat: support databse connection 2023-12-27 11:02:38 +08:00
katherinehhh
6e300503d8 feat: support databse connection 2023-12-27 10:52:15 +08:00
Zeke Zhang
57c7dd3e95 docs: fix typo 2023-12-26 18:51:01 +08:00
katherinehhh
76e95729e4
fix: record picker display incorrect data when field has default value in collection (#3266)
* fix: default value should not set when field is readpretty or readonly

* fix: record picker display incorrect data when field has default value in collection
2023-12-26 17:21:25 +08:00
katherinehhh
641ca2dcca
fix: useParseDefaultValue (#3264) 2023-12-26 10:43:12 +08:00
katherinehhh
894e1c8bf8
refactor: local improve (#3265) 2023-12-26 10:42:14 +08:00
Chareice
9c645d3482
chore: import 2023-12-26 09:20:52 +08:00
Junyi
b68fde9d47
fix(plugin-workflow): defend unimplemented trigger type (#3263) 2023-12-25 23:59:45 +08:00
chenos
e8f481ae68 chore(versions): 😊 publish v0.18.0-alpha.2 2023-12-25 22:26:05 +08:00
chenos
313d252c71 fix: migration error 2023-12-25 22:24:28 +08:00
ChengLei Shao
bb07625af5
fix(database): belongs to association only in eager loading tree (#3259)
* chore: test

* chore: test

* fix: belongs to association only in eager loading tree
2023-12-25 19:44:27 +08:00
dream2023
4a32c58f01 fix: improve code 2023-12-25 17:55:33 +08:00
Junyi
f17e10caa4
fix(plugin-workflow): queueing execution of disabled workflow block dispatching (#3256)
* fix(plugin-workflow): queueing execution of disabled workflow block dispatching

* fix(plugin-workflow): fix typo
2023-12-25 17:44:07 +08:00
dream2023
e7e7a28cfe fix: bug 2023-12-25 16:11:51 +08:00
dream2023
d8a397d452 fix: review 2023-12-25 15:50:49 +08:00
chenos
cc2b132aa1
fix: tsx cli (#3254) 2023-12-25 15:03:48 +08:00
Junyi
0330e33704
feat(plugin-workflow): add space control to RadioWithTooltip (#3252) 2023-12-24 17:14:38 +08:00
chenos
e4c97651bf fix: incorrect tsx version on windows 2023-12-23 15:27:11 +08:00
Dunqing
e112a644ea
feat(plugin-calendar): add calendar plugin (#3109)
* feat: init calendar plugin

* feat: move files to plugin

* feat: handle CalendarBlockInitializer in plugin

* feat: add todo

* feat: move collection template to plugin and fix i18n

* chore: update deps

* feat: export genStyleHook

* feat: handle i18n

* chore: remove react-i18next

* docs: update info

* test: move e2e test

* test: move to client

* chore: update version

* fix: merge revert

* fix: merge revert

* fix: missing SchemaSettings.xxx

* test: fix e2e failed

* test: update

* test: fix case failed

* fix: data blocks

* fix: remove provider

* fix: missing CalendarV2

* fix: missing CalendarActionInitializers

* fix: version

* fix: error

* fix: calender block form action should support print

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-23 15:16:41 +08:00
chenos
2e038a651b fix: locale resource name 2023-12-22 18:49:58 +08:00
dream2023
23b241a338 fix: bug 2023-12-22 15:37:14 +08:00
Junyi
3b5240cc0a
fix(plugin-workflow-dynamic-calculation): fix missed component (#3247) 2023-12-22 15:01:11 +08:00
Junyi
3e99ad1483
refactor(client): allow fixed layout table and action link class (#3246) 2023-12-22 15:00:54 +08:00
dream2023
9efea727dc Merge remote-tracking branch 'origin/main' into T-2327 2023-12-22 11:38:06 +08:00
dream2023
37230ccf8f docs: collection manager 2023-12-22 11:36:48 +08:00
Zeke Zhang
d570a2c704
feat: the $anyof and $noneOf operators should support non-array values (#3244)
* fix: the $anyof and $noneOf operators should support non-array values

* chore: add lodash dependency

* test: add unit test

* test: add unit test
2023-12-22 09:52:28 +08:00
chenos
5e89a02044 fix(test): migration error 2023-12-21 21:03:03 +08:00
chenos
95e6a32647 chore(versions): 😊 publish v0.18.0-alpha.1 2023-12-21 20:40:32 +08:00
ChengLei Shao
261d4c4137
refactor: establish a sound testing system (#3179)
* chore: use vitest to replace jest

* chore: support vitest

* feat: vitest 1.0

* fix: test

* chore: yarn.lock

* chore: github actions

* fix: test

* fix: test

* fix: test

* fix: test

* fix: jest.fn

* fix: require

* fix: test

* fix: build

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: dynamic import

* fix: bug

* chore: yarn run test command

* chore: package.json

* chore: package.json

* chore: vite 5

* fix: fix variable test

* fix: import json

* feat: initEnv

* fix: env.APP_ENV_PATH

* chore: get package json

* fix: remove GlobalThmeProvider

* chore: update snap

* chore: test env

* chore: test env

* chore: import module

* chore: jest

* fix: load package json

* chore: test

* fix: bug

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* fix: import file in windows

* chore: import module with absolute file path

* fix: test error

* test: update snapshot

* chore: update yarn.lock

* fix: front-end tests do not include utils folder

* refactor: use vitest-dom

* fix: fix build

* fix: test error

* fix: change to vitest.config.mts

* fix: types error

* fix: types error

* fix: types error

* fix: error

* fix: test

* chore: test

* fix: test package

* feat: update dependencies

* refactor: test

* fix: error

* fix: error

* fix: __dirname is not defined in ES module scope

* fix: allow only

* fix: error

* fix: error

* fix: error

* fix: create-app

* fix: install-deps

* feat: update docs

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
YANG QIA
06f11a2d08
refactor(auth): move auth client from core to the plugin & refactor auth client api (#3215)
* refactor(auth): auth client api

* fix: build

* fix: dependencies

* fix: fix T-2777

* fix: fix T-2776

* chore: update type

* fix: build

* fix: allowSignUp

* fix: file name

* fix: file name

* refactor: client api

* fix: build

* chore: update name

* fix: tsx must be loaded with --import instead of --loader

* fix: type

* fix: type

* fix: type

* fix: type

* fix: bug

* chore: improve wording

* fix: test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-21 20:19:25 +08:00
Zeke Zhang
e68053b006
fix(drawer): fix z-index (#3242) 2023-12-21 11:39:34 +08:00
katherinehhh
b8244bfb9a
fix: failed to duplicate value in sub-table when setting data scope in association select (#3239) 2023-12-21 10:18:19 +08:00
Junyi
978c4c5f61
refactor(plugin-audit-log): remove useless function wrap (#3237) 2023-12-20 23:18:02 +08:00
Zeke Zhang
e7b9737920
perf: remove lazy load association fields (#3222)
* perf: remove lazy load association fields

* test: fix error

* chore: fix workflows

* test: fix error

* test: fix errors
2023-12-20 13:56:24 +08:00
Zeke Zhang
aaee46e0c2
feat(acl): supports 'current role' variable and collections filtering (#3181)
* feat(acl): support current role variable

* feat(acl): support to filter collections

* fix: the save conditions button should not be shown

* feat(formDataTemplates): supports to use variables for data scope

* test: make testing more stable

* fix: should only support filtering title and name

* fix: fix parse

* test: make testing more stable

* fix: should not use async function
2023-12-20 12:52:54 +08:00
dream2023
d0847c6f17 Merge remote-tracking branch 'origin/main' into T-2327 2023-12-20 12:01:48 +08:00
dream2023
4a33b04414 Merge branch 'T-2327' of https://github.com/nocobase/nocobase into T-2327 2023-12-20 12:01:36 +08:00
dream2023
10ca3359be fix: review 2023-12-20 12:00:55 +08:00
Junyi
2f892f00d7
refactor(plugin-workflow): add logs and try/catch for preparing (#3236) 2023-12-20 10:13:08 +08:00
ChengLei Shao
2289bb7418
chore: remove field from db (#3233)
* chore: remove field from db

* fix: test

* chore: test
2023-12-19 20:49:34 +08:00
Zeke Zhang
24446166db fix(filter): fix operatror 2023-12-19 15:50:53 +08:00
katherinehhh
2808440426
fix(kanban): kanban data on a page should be isolated (#3232)
* fix: kanban block data on a page influences each other

* test: kanban test
2023-12-19 15:27:00 +08:00
chenos
2cd3ed6383
Merge branch 'main' into T-2327 2023-12-19 14:55:25 +08:00
Zeke Zhang
c2f3cfd6ce
fix(filter): fix $in operatror (#3235) 2023-12-19 14:23:09 +08:00
YANG QIA
a6c23d58a1
fix(localization): compatibility with plugin package names as namespaces (#3234) 2023-12-19 13:51:26 +08:00
katherinehhh
4be8812912
fix: customize add record cusomeizeCreateFormBlockInitializers (#3230) 2023-12-19 12:02:18 +08:00
ChengLei Shao
f60c7626e0
fix: update assocations in belongs to many repository (#3229) 2023-12-19 10:07:25 +08:00
Zeke Zhang
c129889df6
fix: fix switch role and input style (#3226)
* fix: fix switch role and input style

* refactor: remove useless code
2023-12-19 07:50:53 +08:00
chenos
b86193c349 fix: remove UpdateMode 2023-12-18 21:01:32 +08:00
by
9b1c02b63c
feat: add a secondary confirmation function to the direct execution o… (#3161)
* feat: add a secondary confirmation function to the direct execution of the move operation button

* feat: add a secondary confirmation function to the direct execution of the move operation button

* fix: fix the problem of uncontrolled confirm

* fix: copywriting repair

---------

Co-authored-by: zhangboya3 <zhangboya3@xiaomi.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-18 20:45:37 +08:00
katherinehhh
5a55987033
fix(graph-collection-manager): application context missing (#3224)
* fix: appicationContext

* fix: appicationContext

* fix: update position
2023-12-18 20:19:36 +08:00
dream2023
9ee161610d fix: bug 2023-12-18 17:57:25 +08:00
Zeke Zhang
de902c538b
fix(variable): local variables should not affect global variables (#3214) 2023-12-18 15:48:39 +08:00
dream2023
5d70012f50 Merge remote-tracking branch 'origin/main' into T-2327 2023-12-18 15:46:07 +08:00
dream2023
c172fd9548 feat: collection manager 2023-12-18 15:45:46 +08:00
Zeke Zhang
6bd0568d08
chore: upgrade antd to v5.12.2 (#3185)
* chore: upgrade antd to v5.12.2

* refactor: rename to StablePopover

* fix: fix tests

* test: fix e2e

* chore(CI): optimize E2E workflow

* chore: fix playwright

* fix: re-generate yarn.lock to fix e2e errors

* test: update locator

* fix: fix build errors

* fix: fix unit tests

* fix: fix e2e tests

* fix: should not auto close when clicking menu item

* fix: fix column width

* test: increase e2e timeout-minutes to 90

* test: fix e2e

* fix: update dockerfile

* fix: npmignore

* fix: app component false

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-18 15:21:57 +08:00
dream2023
b12b7c5ef6 fix: bug 2023-12-17 21:53:56 +08:00
Zeke Zhang
1eee7f5f4e fix(e2e): change the value of adminSchemaUid 2023-12-17 15:51:28 +08:00
Dunqing
1cbdfa4f60
feat(mobile-client): update the text of the preview button (#3189) 2023-12-17 11:17:18 +08:00
chenos
f82b4d8726
feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container (#3213)
* feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container

* fix: db.sync

* fix: error

* fix: error

* fix: error

* fix: add test case

* fix: migration error

* fix: test error
2023-12-17 11:16:30 +08:00
katherinehhh
b1610e6994
feat: kanban& gantt&bulk edit& bulk update& duplicate& print action pluggable (#3019)
* fix: bug

* test: kanban test

* test: gantt block test

* test: gantt test

* test: gantt test

* test: gantt test

* refactor: convert parameters to destructured object

* test: add tests choices

* test: add tests media

* test: add tests for datetime in creating form

* feat(plugin-mock-collection): generate faker time

* test: add tests for datetime in editing form

* test: add tests for datetime in details form

* test: gantt block test

* test: gantt test

* test: gantt test

* test: gantt test

* fix: bug

* feat: improve code

* test: add tests for relation fields

* refactor: style improve

* fix: rename SchemaSettings

* fix: type bug

* refactor: useDesinger()

* fix: bug

* fix: bug

* fix: build tip

* refactor: kanban setting

* refactor: gantt setting

* refactor: bulk update setting

* refactor: bulk update setting

* refactor: bulk edit settings

* refactor: duplicate settings

* refactor: print action setting

* refactor: duplicate settings

* refactor: bulk update refactor

* refactor: bulk update refactor

* fix: designableState

* fix: bug

* fix: designable

* refactor: bulk update

* fix: designable

* test: add tests for relation fields

* test: add tests for relation fields

* test: add tests for relation fields

* feat: client api doc

* test: add tests for relation fields

* test: avoid errors

* test: make tests passing

* fix: bug

* test: gantt test

* test: make tests passing

* test: add tests for advanced fields

* test: increase e2e timeout-minutes to 60

* fix: bug

* fix: improve code

* feat: add schema initailizer component  demos

* test: make tests passing

* fix: schema settings demos

* feat: shallowMerge & deepMerge

* test: reduce number of tests

* test: make tests passing

* feat: updates

* fix: add Initializer Internal

* demos:  useSchemaSettingsRender

* test: make tests passing

* test: make tests passing

* test: bulk update test

* refactor: useSchemaToolbar

* fix: improve docs

* fix: bug

* test: duplicate action test

* test: duplicate action test

* test: duplicate action test

* test: duplicate action test

* chore: upgrade dumi theme

* test: make tests passing

* test: add tests for linkage rules

* test: add test for form data templates

* test: add tests for default value

* test: reduce number of tests

* refactor: bulk edit setting

* test: bulk edit action test

* test: bulk edit action test

* fix: dn.deepMerge

* fix: bug

* test: bulk edit action test

* test: kanban test

* refactor: bulk update version

* refactor: print action version

* fix: bug

* fix: toolbar

* fix: docs ssr

* test: add tests for system fields

* test: add tests for actions

* fix:  bug

* test: add tests for lazy loading of variables

* test: make testing more stable

* test: bulk edit test

* test: bulk update action test

* fix: update docs

* test: print test

* test: kanban test

* test: kanban test

* refactor: duplicate version

* fix: merge bug

* refactor: bulk update

* fix: merge bug

* refactor: bulk edit

* refactor: import

* refactor: export action

* refactor: code improve

* refactor: kanban code improve

* fix: merge bug

* refactor: readPrettyFormActionInitializers

* test: print action test

* test: print action test

* refactor: print action

* test: action test

* refactor: gantt date change

* style: gantt  style improve

* test: gantt &bulkUpdate test

* test: bulk update test

* test: duplicate action test

* test: print action test

* test: bulk edit action test

* test: gantt block test

* test: kanban block test

* test: test file name

* test: test file name

* test: bulk update action tst

* refactor: rename test file name

* refactor: bulk update action

* refactor: gantt test

* fix: block template

* fix: block template

* fix: useFieldModeOptions

* refactor: code improve

* fix: merge bug

---------

Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-16 21:59:33 +08:00
Dunqing
823a112435
fix(core): cannot add a record block in new tab in Drawer (#3196) 2023-12-16 19:39:46 +08:00
YANG QIA
cb6a6b87c9
fix(acl): optimize error handling when logged user has no roles (#3190)
* fix: fix T-2720

* fix: localization

* fix: test

* fix: build

* chore: update

* fix: update title

* chore: update title

* fix: app load error

* fix: load error

* fix: test error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-15 21:03:16 +08:00
dream2023
e5503204d1 docs: improve documentation 2023-12-15 18:12:15 +08:00
xilesun
d6dbc970a5 chore(versions): 😊 publish v0.17.0-alpha.7 2023-12-15 11:39:15 +08:00
YANG QIA
231c9b02e9
fix: update dependent version of cache-manager (#3195) 2023-12-15 11:38:09 +08:00
YANG QIA
33779d3da2
fix: fix T-2749 (#3194) 2023-12-15 11:33:08 +08:00
Chareice
f6fdec1226
chore(database): update event listener scope in collection 2023-12-14 21:16:10 +08:00
dream2023
b35db3ae7a fix: review 2023-12-14 18:27:54 +08:00
dream2023
0636ddbe3d Merge remote-tracking branch 'origin/main' into T-2327 2023-12-14 10:08:35 +08:00
Junyi
58f1918e73
feat(plugin-workflow-form): add role name to form trigger context (#3182)
* feat(plugin-workflow-form): add role name to form trigger context

* refactor(plugin-workflow-dynamic-calculation): move to extended group
2023-12-13 04:08:02 -08:00
dream2023
201341113e docs: block provider docs 2023-12-13 17:05:57 +08:00
Zeke Zhang
5880c979ca test: make testing more stable 2023-12-13 16:57:18 +08:00
chenos
a702762cca chore(versions): 😊 publish v0.17.0-alpha.6 2023-12-13 16:36:59 +08:00
jack zhang
6fd774e173
fix: create-app dev plugin load (#3183) 2023-12-13 16:10:11 +08:00
Zeke Zhang
3b7c1345cc
test(e2e): add tests for client (#3144)
* test: add tests for lazy loading of association fields

* refactor: migrate

* test: add tests for page

* test: add tests for page menu

* test: add tests for tabs

* test: add tests for detail block

* test: add tests for list block

* test: add tests for grid card block

* test: add tests for filter collapse block

* test: add tests for markdown block

* test: add tests for table block

* test: add tests for table block

* test: add tests for lazy loading of association fields

* test: add tests for data scope

* test: add tests for filter block

* test: add tests for block template

* test: add tests for drag and sorting

* test: add tests for sorting rules

* test: make testing more stable

* Revert "test: make testing more stable"

This reverts commit 78b7badeb6.

* perf: remove enableToConfig

* test: make testing more stable

* test: make testing more stable

* test: delete newly created records to make tests more stable

* fix: fix error when deleting records

* test: make testing more stable

* test: make testing more stable

* test: fix tests

* refactor: optimize file structure

* test: fix tests

* test: fix tests

* refactor: optimize description

* refactor: optimize description

* refactor: use __e2e__ as the root directory for test files

* fix: fix build

* test: make testing more stable
2023-12-13 14:14:33 +08:00
Junyi
35c4b5c55a
fix(plugin-workflow-manual): fix schema config component (#3172) 2023-12-12 19:50:13 -08:00