Commit Graph

3004 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