Commit Graph

1945 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Chareice
97e4dd86e5
chore: namespace separator 2024-01-11 15:07:04 +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
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
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
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
Chareice
b43ee20326
chore: uuid type 2024-01-08 12:26:13 +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
Chareice
0dae8e9278
chore: model method 2024-01-07 19:05:16 +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
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
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
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
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