Commit Graph

3104 Commits

Author SHA1 Message Date
Junyi
68009d3d32
fix(plugin-workflow): fix context data of form trigger (#2749) 2023-10-05 19:28:06 -07:00
Rain
b95f4a723a fix: fix duplicate display of Hello plugin 2023-10-04 19:07:44 +08:00
xilesun
301a85d767 Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737)"
This reverts commit beb4793051.
2023-09-29 15:35:43 +08:00
YANG QIA
beb4793051
refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737)
* fix(auth): sso switch popup to rediect (fix T-2024)

* refactor: auth process optimization

* fix: test

* chore: add error handler
2023-09-28 20:50:20 +08:00
ChengLei Shao
dbdd587b71
chore(database): clean invalid associations in collection model when set field failed (#2720)
* chore(database): clean invalid associations in collection model when set field failed

* fix: import

* chore: test
2023-09-27 22:03:04 +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
ChengLei Shao
ce879d2dda
feat(application): cron job in application (#2730) 2023-09-27 19:31:14 +08:00
YANG QIA
ae988d00b0
refactor(bi): improve chart frontend api (#2721)
* refactor: improve chart frontend api

* chore: remove redundant import

* fix: rename chartType

* chore: add migration check

* fix: add migration

* fix: change version

* chore: update
2023-09-27 15:50:04 +08:00
chenos
729fdd04b7 feat: add SOCKET_PATH env 2023-09-27 15:30:25 +08:00
ChengLei Shao
f02023db61
chore(multi-app-manager): add sub app upgrade handler (#2728) 2023-09-27 15:16:15 +08:00
katherinehhh
4092451bc9
fix(association-field): sub-table cannot move (#2727) 2023-09-27 11:08:38 +08:00
chenos
01271598fc fix: preset plugins 2023-09-27 09:55:18 +08:00
Junyi
6beae90806
fix(plugin-workflow): fix assignees and aggregate variable (#2725) 2023-09-26 23:39:50 +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
chareice
36f512f4b7 chore: jsonb field type map 2023-09-26 15:00:25 +08:00
Rain
a56e4d1ec6 fix(workflow): should change letter to lower case when searching in Add block 2023-09-26 14:45:29 +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
ChengLei Shao
505c23b4e1
feat(database): append tree parent recursively (#2573)
* feat(database): append with options

* feat: recursively load parent instances

* chore: test

* fix: load with appends

* chore: test

* chore: load with belongs to many

* chore: test
2023-09-25 18:17:19 +08:00
ChengLei Shao
edbd15ab5b
feat: support load belongs to association with collection that without primary key (#2529)
* test: find without pk

* feat: load root models in eager loading tree
2023-09-25 15:34:36 +08:00
ChengLei Shao
376a91b8ec
fix(gateway): should not refresh when application start from error recover (#2711)
* fix(gateway): should not refresh when application start from error recover

* chore: recover option
2023-09-25 15:26:52 +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
chenos
e522e1f742 fix: upgrade failed 2023-09-24 11:41:26 +08:00
chenos
c4be5315ce fix(mobile-client): remove routes 2023-09-23 22:13:36 +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
Junyi
8fe4640f79
fix(plugin-workflow): fix exporting types (#2707) 2023-09-22 19:08:59 -07:00
Junyi
f1cf3cc45b
fix(plugin-workflow): fix parallel bug in loop (#2703) 2023-09-22 17:59:36 +08:00
chenos
0ed164ff09 fix: update or create plugins 2023-09-22 16:32:59 +08:00
mytharcher
8eb634459d chore(versions): 😊 publish v0.14.0-alpha.6 2023-09-22 15:49:50 +08:00
mytharcher
2c0ea5490d fix: remove mistaken added folder 2023-09-22 15:49:13 +08:00
mytharcher
3b0b6483c2 chore(versions): 😊 publish v0.14.0-alpha.5 2023-09-22 15:36:22 +08:00
Junyi
c16034b8f5
refactor(plugin-workflow): add client exports (#2702) 2023-09-21 22:56:33 -07: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
Junyi
60aeba4a12
fix(cli): fix template file mode (#2697) 2023-09-22 05:35:58 +08:00
mytharcher
d20398f73f chore(versions): 😊 publish v0.14.0-alpha.4 2023-09-21 23:25:31 +08:00
ChengLei Shao
c88c91e908
fix: collection schema not exists (#2669)
* fix: collection schema not exists

* chore: test
2023-09-21 17:19:13 +08:00
ChengLei Shao
5f34970cfb
fix: core doc filter params (#2695) 2023-09-21 16:00:33 +08:00
chenos
945bcb194e
feat: add testid (#2434)
Co-authored-by: Rain <958414905@qq.com>
2023-09-21 14:54:27 +08:00
ChengLei Shao
de849b267c
feat(database): support read ssl file in database config (#2689) 2023-09-21 11:55:18 +08:00
ChengLei Shao
10e46b21f0
test: should correctly parse the command options (#2688) 2023-09-21 10:03:39 +08:00
jack zhang
196bec0ede
fix: build bug (#2685) 2023-09-20 17:56:36 +08:00
ChengLei Shao
56d1d1b85f
feat(database): perform data validation before the update/create operation (#2681)
* chore: test

* chore: tmp commit

* feat: value guard check
2023-09-20 11:53:56 +08:00
jack zhang
dfe77ca2fb
fix: build bug (#2683) 2023-09-20 11:46:06 +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
ChengLei Shao
91095d8fe0
chore: test (#2677) 2023-09-19 18:43:04 +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
ChengLei Shao
630c6f2d79
chore(command): set command handle by ipc server or not (#2660)
* chore: tmp commit

* feat: app command

* chore: return error when not handle by ipc server

* chore: command handle by ipc server

* chore: api name

* Update pm.ts

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-19 14:39:54 +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
ChengLei Shao
a53a350f95
feat(database): database connecting backoff (#2668) 2023-09-18 10:00:11 +08:00
Junyi
0f4959d217
refactor(plugin-workflow): adjust code (#2663) 2023-09-16 20:54:20 -07: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
jack zhang
1586313b92
fix: template tsconfig paths (#2652) 2023-09-15 09:04:17 +08:00
jack zhang
9e5e96b9e4
fix: improve build (#2643)
* fix: client lib require wrapper

* fix: bug

* fix: add tsconfig.paths.json

* fix: collection dir not exists

* fix: improve...

* fix: update yarn.lock

* fix: db.sync

* fix: bugs

* fix: bugs

* fix: bugs

* fix: bugs && allow user custom build config

* docs: user custom config docs

* refactor: custom user build config

* fix: bugs

* fix: build plugin-client bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-15 08:51:20 +08:00
ChengLei Shao
dbe3af26a1
fix(share-collection): sync plugins when install sub app (#2650) 2023-09-14 20:46:49 +08:00
被雨水过滤的空气-Rain
34b0ce06ba
fix: fix quarter variables (#2648) 2023-09-14 17:56:42 +08:00
katherinehhh
feaf4cd80a
fix: filterable undefined (#2646) 2023-09-14 14:21:30 +08:00
chenos
0c132d7940
fix(cli): reset command options (#2645) 2023-09-14 06:24:30 +08:00
chenos
282645ed8b fix: db.sync 2023-09-13 22:50:09 +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
chenos
6a7240816e fix: collection remove field after migrated 2023-09-13 17:21:42 +08:00
jack zhang
a564f78872
fix: plugin symbol link with dir type (#2640) 2023-09-13 15:48:11 +08:00
chenos
de8fc8079a fix: remove PluginManager.getPackageName 2023-09-13 14:40:43 +08:00
chenos
49e1641b58 fix(pm): item.packageName 2023-09-13 14:22:26 +08:00
chenos
22bf23b59e fix: add env SERVER_TSCONFIG_PATH 2023-09-13 12:21:29 +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
ChengLei Shao
6f68506eb4
chore: should update belongs to many through table when it is a view (#2635) 2023-09-13 07:15:43 +08:00
chenos
3670d670ac chore(versions): 😊 publish v0.14.0-alpha.2 2023-09-13 03:57:15 +08:00
chenos
1798170a9c fix: migration error 2023-09-13 03:56:51 +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
Dunqing
b918ec5e41
fix(mobile-client-plugin): avoid primary field error (#2625) 2023-09-12 17:58:22 +08:00
Junyi
12c811eab3
fix(plugin-workflow): fix scope variable in loop (#2633) 2023-09-11 23:29:05 -07:00
katherinehhh
cf17d8015f
fix: create action reported error when config save mode filterKeys (#2631) 2023-09-12 10:09:02 +08:00
chenos
adf11bf624 fix: error: SQLITE_ERROR: no such table: authenticators 2023-09-11 15:50:27 +08:00
ChengLei Shao
b9abbd5cbd
fix(gateway): throw error when run from cli (#2627)
* fix: throw error when run from cli

* chore: log error
2023-09-11 15:45:30 +08:00
chenos
6cc88dfa2b fix: original error: SQLITE_ERROR: no such column: options 2023-09-11 14:17:12 +08:00
Junyi
74bd479de0
feat(plugin-workflow): support variable in midway path (#2598) 2023-09-10 21:12:53 -07:00
ChengLei Shao
cc46d72c53
feat(database): support ssl config of database (#2620)
* feat: support ssl config of database

* chore: .env.example
2023-09-11 10:55:47 +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
ChengLei Shao
2484c8ffb2
fix: sync roles collection in share plugin (#2601) 2023-09-06 14:36:13 +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
d6a2ab4b61
fix(acl): parse acl params of association collection (#2594)
* fix(acl): parse params of association collection

* fix: filter params in association acl
2023-09-06 09:19:10 +08:00
YANG QIA
c096a98ceb
fix: issue of plugin snippet (#2593) 2023-09-05 12:03:42 +08:00
Rain
4ead7150f0 chore: upgrade vitest to v0.34.3 2023-09-05 10:27:30 +08:00
ChengLei Shao
97b4570bd2 chore(versions): 😊 publish v0.13.0-alpha.7 2023-09-05 09:01:30 +08:00
ChengLei Shao
185fccad65
chore: incr bodyParser body limit (#2591) 2023-09-04 22:21:31 +08:00
Rain
e5f5358be0 chore(versions): 😊 publish v0.13.0-alpha.6 2023-09-04 20:48:48 +08:00
Rain
88b2eb8a5d chore: optimize versions of deps 2023-09-04 20:40:14 +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
chareice
fed3eb1a51 chore: async/await on clean.js 2023-09-04 10:38:32 +08:00
YANG QIA
8a9764e403
fix(auth): add authenticator uid limitation (#2587) 2023-09-04 10:38:01 +08:00
chareice
ffe443b4e9 fix: clean command on windows 2023-09-04 10:36:24 +08:00
chareice
eb255df35e fix: yarn install on windows 2023-09-04 09:52:45 +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
Dunqing
24179c4469
feat(plugin-cas): support cas authenticator (#2580)
* feat(plugin-cas): support cas login method

* feat: add cas plugin in preset

* chore: update version

* feat: full support cas

* chore: update package.json

* feat: update docs and fix namespace

* fix: locale

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2023-09-02 19:40:04 +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
ChengLei Shao
1694eb6d73
fix(collection-manager): redundant fields after set collection fields (#2575)
* fix(collection-manager): redundant fields after set collection fields

* fix: destory with individuals hook

* chore: save

* chore: test

* chore: mutex in fields.afterDestroy

* chore: yarn.lock

* chore: update collections.setFields
2023-09-01 13:51:48 +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
Junyi
ee0d2175b8
fix(plugin-fm): add migration to fix attachment ui schema (#2579) 2023-08-31 18:38:37 +08:00
Junyi
ec3a720aa9
fix(plugin-fm): fix attachment field param typo (#2577) 2023-08-31 15:44:58 +08:00
被雨水过滤的空气-Rain
d56cc66ef9
fix(FilterDynamicComponent): avoid crashing (#2566) 2023-08-30 23:26:51 +08:00
Dunqing
3bb38b16f3
feat(api-keys): add tooltip for roles (#2567)
* feat(api-keys): add tooltip for roles

* feat: improve
2023-08-30 10:32:39 +08:00
katherinehhh
9c22aebaff
fix: number field reported error when clear data (#2561) 2023-08-29 18:08:43 +08:00
Junyi
904d7ee87b
docs(plugin-workflow): fix swagger docs (#2565) 2023-08-29 02:31:40 -07:00
ChengLei Shao
050e1e0215
fix(acl): grant action with table without createdAt field (#2562) 2023-08-29 17:01:14 +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
YANG QIA
8b8199aca7
chore: set audit-logs as local plugin (#2564) 2023-08-29 16:16:05 +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
Junyi
5411faf9d4
feat(plugin-workflow): add filter button for workflows list (#2555) 2023-08-28 08:48:02 -07:00
Junyi
1a82e92ae3
fix(plugin-workflow): fix destroy node bug (#2553) 2023-08-28 07:33:53 -07:00
chenos
b23112fd2e
fix: properties initialized in plugin.load are still empty in plugin.install (#2544) 2023-08-28 11:35:50 +08:00
chenos
c65507606a
fix: plugin list not updated after upgrade (#2545) 2023-08-28 00:18:46 +08:00
被雨水过滤的空气-Rain
176d380331
fix(theme-editor): fix enable invalid (#2539)
* fix(theme-editor): fix enable invalid

* chore: fix typo
2023-08-27 17:26:14 +08:00
Rain
8e42da2b01 Revert "fix(RangePicker): fix shortcut invalid (#2489)"
This reverts commit 4eada322ef.
2023-08-27 17:16:24 +08:00