Commit Graph

2740 Commits

Author SHA1 Message Date
chenos
93f2bc2e67 chore(versions): 😊 publish v0.12.0-alpha.1 2023-08-02 00:10:42 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load (#2253)
* refactor: plugin build and plugin template

* refactor: plugins' deps

* refactor: plugins bugs

* feat: add plugin static middleware

* fix: bugs

* refactor: frontend plugin add from remote

* refactor: delete useless app/client/plugins

* fix: requirejs move to local

* fix: tests case

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

* fix: lodash tree shaking

* refactor: add BUILD_TIP

* refactor: add file size tip

* fix: bugs

* fix: bug

* fix: change china-division

* fix: change plugins response

* fix: recover dynamicImport

* fix: change server src entry

* fix: test error

* fix: plugins sourcemap => false

* fix: production file error

* refactor: change build tools to vite and tsup

* fix: yarn.lock

* fix: bugs

* fix: server build bugs

* fix: delete .fatherrc.ts

* fix: bug

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* refactor: add plugin d.ts

* refactor: delete fatherrc

* refactor: delete father scripts

* refactor: build bug

* fix: bug

* fix: deps adjust

* fix: add build tips

* fix: bug

* refactor: ignore plugins when build client

* docs: update doc

* refactor: docs and build

* fix: bug

* refactor: build deps

* fix: add USER_REMOTE_PLUGIN env

* feat: add plugin static cache

* feat: add build deps cache

* fix: bugs

* test: add test

* fix: add plugin depden on plugin tip

* fix: adjust shouldDevDependencies

* fix: deps

* fix: ajust deps

* fix: mobile style error

* fix: map error

* fix: test

* fix: bug

* feat: lodash and dayjs import from themself

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

* fix: theme-editor plugin error

* fix: review

* feat: move all plugins' dependencies to devDependencies

* feat: change build

* feat: add devPlugins

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* feat: build bugs

* fix: bugs

* fix: bugs

* fix: review

* fix: bug

* fix: change deps build

* fix: bugs

* fix: bug

* fix: bug

* fix: bugs

* fix: bug

* fix: bug

* fix: multi language

* fix: dist

* fix: cronstrue

* fix: getPackageClientStaticUrl

* fix: antd dayjs locale

* fix: plugin' d.ts import from dist

* fix: multi language

* fix: build types error

* fix: requireModule

* fix: plugin lifecycle

* fix: client resource

* fix: improve code

* fix: locale

* feat: custom build

* fix: require locale

* fix: improve code

* fix: improve code

* fix: skip preset

* fix: collection undefined

* feat: yarn build

* fix: remove enabled

* fix: update dockerfile

* fix: formily version

* docs: update v12 changelog

* fix: devDependencies

* feat: @nocobase/app

* feat: generateAppDir

* fix: improve code

* fix: 0.11.1-alpha.5

* fix: missing @nocobase/client

* fix: error

* fix: add .npmignore

* feat: upgrade antd version

* fix: dependencies

* fix: peerDependencies

* fix: remove china-division dep

* fix: toposort deps

* fix: update dockerfile

* fix: plugin template

* fix: app client outputPath

* feat: update docs

* fix: nginx server root

* fix: storage/.app-dev

* fix: getChinaDivisionData

* feat: plugin info

* feat: update docs

* fix: docs menu

---------

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

* fix: fix invalid selection
2023-08-01 16:19:15 +08:00
YANG QIA
7151345c40
fix(bi): issue of parsing label of region & file field (#2366)
* fix: issue of parsing label of region & file field

* fix: test
2023-08-01 12:50:43 +08:00
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 (#2359)
* chore: upgrade antd to 5.7.3

* chore: fix build

* chore: fix build
2023-08-01 11:51:30 +08:00
YANG QIA
f82b6a9d38
fix(bi): g2plot render wrong when fields contain . (#2363)
* fix: g2plot render wrong when fields contains `.`

* fix: build

* fix: test

* fix: dual axes bug

* chore: add comment

* fix: code style
2023-07-31 23:51:23 +08:00
katherinehhh
07f1f16ea0
fix: graph collection current appInfo error (#2364) 2023-07-31 17:47:10 +08:00
katherinehhh
18bf6e507e
refactor(association field): association field support tag field mode (#2251)
* refactor: association field support tag field mode

* refactor: association field support tag field mode

* refactor: locale improve

* refactor: color field

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: colorPicker refactor

* refactor: colorPicker refactor

* fix: color field failed to config  defaultValue

* style: style improve

* refactor: code improve

* fix: merge bug

* refactor: color field defaultValue

---------

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

* refactor: sync from form fields

* refactor: sync from form fields

* refactor: data fields

* refactor: traverseFields

* refactor: traverseFields

* refactor: locale improve

* fix: merge bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: depulicate action support sync form form fields

* refactor: code refactor

* refactor: direct duplicate support select all

* refactor: code improve

* refactor: code improve

* refactor: hasOne and hasMany avaliable for deplicate

* refactor:  code improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve
2023-07-31 16:17:18 +08:00
被雨水过滤的空气-Rain
c743d66b8e
chore: only dev env can throw errors (#2355) 2023-07-31 13:14:20 +08:00
katherinehhh
23cd6bb4ed
fix: inheritd association field failed to get detail data (#2354) 2023-07-31 10:42:54 +08:00
Junyi
baca86e46e
refactor(plugin-workflow): adjust full-width to auto-width (#2351) 2023-07-30 02:52:35 -07:00
被雨水过滤的空气-Rain
1509893ebc
Revert "feat(theme-editor): add migration (#2310)" (#2352)
This reverts commit 682f0dfc30.
2023-07-30 17:46:37 +08:00
YANG QIA
bab004f951
fix(locale): acl bug of localization management (#2350) 2023-07-30 13:07:00 +08:00
被雨水过滤的空气-Rain
682f0dfc30
feat(theme-editor): add migration (#2310)
* chore: change 'Default theme of antd' to 'Default'

* feat(theme-editor): add migration

* refactor: change file name
2023-07-30 11:44:00 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB (#2321)
* chore: yarn.lock

* feat: add jsonb option in field drawer

* feat: only postgres can use JSONB

* chore: add test

* refactor: make better

* fix: fix build

* fix: fix build

* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
YANG QIA
b8175dbf17
fix(bi): parsing enum labels of field with alias (#2349)
* fix(bi): parsing enum labels of field with alias

* fix: current collection bug
2023-07-29 22:35:55 +08:00
chenos
40c4aab507 chore(versions): 😊 publish v0.11.1-alpha.5 2023-07-29 20:25:18 +08:00
chenos
656287e57b fix: update yarn.lock 2023-07-29 20:24:07 +08:00
Rain
3c7b3f3caf refactor: make testing more stable 2023-07-29 19:01:14 +08:00
chenos
767b81c65d fix: skip if exists 2023-07-29 12:30:40 +08:00
Junyi
021ca950ab
refactor(plugin-workflow): change strict equal and not equal to unstrict (#2346) 2023-07-28 21:25:01 -07:00
chenos
b93f28a952 chore(versions): 😊 publish v0.11.1-alpha.4 2023-07-29 09:11:52 +08:00
chenos
167fa4bd67 fix: lock formily version 2023-07-29 09:11:10 +08:00
Junyi
1125ff76a0
refactor(plugin-workflow): allow system values to be assigned in create and update node (#2345) 2023-07-28 08:48:12 -07:00
ChengLei Shao
493965f848
chore(database): merge fields arguments by path (#2331)
* feat: merge fields array arg

* chore: test

* chore: test

* chore: test

* fix: test
2023-07-28 16:46:43 +08:00
被雨水过滤的空气-Rain
fd6d5ac2a6
fix(theme-editor): avoid error (#2340) 2023-07-28 11:03:14 +08:00
Rain
e7ade9ee12 chore: make testing more stable 2023-07-28 11:02:26 +08:00
被雨水过滤的空气-Rain
880f7ed7e4
refactor: upgrade @testing-library/react to 14.x (#2339)
* refactor: upgrade @testing-library/react to 14.x

* refactor: optimize test
2023-07-28 09:58:49 +08:00
ChengLei Shao
1b33755342
test: view collection as through model (#2336) 2023-07-28 08:47:13 +08:00
katherinehhh
e8c9164b5d
fix: sub-form record provider data failed to matching (#2337) 2023-07-27 22:38:10 +08:00
ChengLei Shao
3f84893f78 chore: sync runner error message 2023-07-27 21:50:41 +08:00
YANG QIA
32ee260adf
fix(bi): issue of formatting relation field & reference link of line chart (#2332)
* fix: line chart link

* fix: style

* fix: issue of formatting relation field

* chore: close chart animation
2023-07-27 16:56:11 +08:00
ChengLei Shao
a64b64384c chore: yarn dev with tsx watch 2023-07-27 11:00:39 +08:00
ChengLei Shao
0d92e59985
chore: tsx (#2329)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test

* chore: install tsx

* chore: type

* chore: replace @koa/multer

* chore: replace ts-node-dev with tsx
2023-07-27 10:29:07 +08:00
ChengLei Shao
840254f517
chore: upgrade jest (#2323)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test
2023-07-26 17:53:51 +08:00
chenos
81819f04e3 chore(versions): 😊 publish v0.11.1-alpha.3 2023-07-26 17:37:20 +08:00
Junyi
80779c3a98
fix(plugin-workflow): fix expression field in sub-form (#2324) 2023-07-26 00:38:51 -07:00
YANG QIA
0de4458936
chore: improve FormProvider (#2322) 2023-07-26 15:32:59 +08:00
katherinehhh
673ea808b0
fix: collectionField undefined (#2320) 2023-07-26 10:18:02 +08:00
Dunqing
07ff868133
fix: should use filter instead of where (#2318) 2023-07-25 21:51:23 +08:00
YANG QIA
78bfcba24f
fix(bi): issue of dnd (#2315) 2023-07-25 20:45:01 +08:00
Rain
986e2414d4 chore: fix Warning if eslint 2023-07-25 20:33:38 +08:00
chenos
c8b1668dc0 fix: collectionField interface undefined 2023-07-25 18:58:42 +08:00
被雨水过滤的空气-Rain
17ad645e45
feat(filter-block): support foreign key and inheritance (#2302)
* feat: support foreign key

* feat: inherit

* fix: exclude belongsTo

* fix: should get all collection names on inherit chain
2023-07-25 18:17:17 +08:00
YANG QIA
45bc0b83ba
feat(locale): allows to manage locale resources in core package (#2293)
* feat(locale): add app.locales

* chore: change directory

* chore: change locale directories

* fix: test

* fix: cached resources changed after sync

* chore: change fr-FR locale directory
2023-07-25 17:09:34 +08:00
Junyi
e27c72e8b0
fix(plugin-workflow): fix styles (#2316) 2023-07-25 01:41:42 -07:00
Rain
30b0d9b3f3 chore: fix prettier 2023-07-25 16:29:49 +08:00
dijoux
a80815c5ad
Feat/translation fr_FR (#2275)
* feat: client and plugin translation FR

* fix: fr translation

* fix: fr translation
2023-07-25 15:04:35 +08:00