katherinehhh
dcee24a1b0
refactor: table select record restricted the usage association field ( #2338 )
...
* refactor: table select recordrestricted the usage association field
* refactor: table select recordrestricted the usage action
* refactor: code improve
* refactor: code improve
* fix: code improve
* refactor: code improve
2023-08-04 15:20:06 +08:00
katherinehhh
e3b0f13923
fix: useVariablesCtx ( #2390 )
2023-08-04 11:29:42 +08:00
katherinehhh
c7a30c314c
fix: customized create action supports tree data for table selection data ( #2328 )
...
* fix: customized add action in table selection data supports tree data
* fix: customized add action in table selection data supports tree data
2023-08-04 11:06:03 +08:00
katherinehhh
364ed9a152
fix: resource undefined ( #2372 )
2023-08-04 11:01:17 +08:00
katherinehhh
45a5cdc643
refactor: remoteSelect support non object value ( #2375 )
2023-08-04 11:00:30 +08:00
katherinehhh
5480167827
fix: linkagerule copy data mutual influence ( #2333 )
2023-08-04 10:58:53 +08:00
katherinehhh
d6cc87d9a2
refactor: association field support sorting rules in sub-table ( #2326 )
...
* refactor: association field support sorting rules in sub-table
* refactor: code improve
2023-08-04 10:56:34 +08:00
katherinehhh
d333ad201a
feat(association-field): association field support sub-form(popover) ( #2373 )
...
* refactor: association field support sub-form(popover)
* refactor: code improve
* refactor: code improve
* refactor: sub-table support field component cinfig
* refactor: sub-table support field component cinfig
* refactor: sub-table support field component cinfig
* refactor: code improve
* refactor: code improve
* refactor: useAssociationNames
* refactor: locale improve
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: code improve
* refactor: code refactor
* style: style improve
* Update database.ts
* refactor: code imporve
* refactor: code imporve
* style: style improve
* style: style improve
* refactor: code imporve
* style: style improve
* refactor: code imporve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-04 09:48:03 +08:00
katherinehhh
d84c52618d
fix(markdowm): markdown style hook error reporting ( #2380 )
...
* fix: markdown style hook report error
* fix: markdown style hook report error
* fix: markdown style hook report error
* Update database.ts
* refactor: be better
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-08-04 09:37:06 +08:00
katherinehhh
316b12a4ba
fix: currentObject can not loadData ( #2385 )
2023-08-03 17:42:26 +08:00
Dunqing
495c2209c2
feat: association blocks support GridCard
and List
blocks ( #2356 )
...
* feat: association blocks support `GridCard` and `List` blocks
* fix: incorrect schemas
* fix: use RecordProvider instated of RecordSimpleProvider
2023-08-02 16:00:11 +08:00
Dunqing
a2fe6ab18d
fix(plugin-mobile): the layout is incorrect ( #2360 )
2023-08-02 15:59:32 +08:00
chenos
9251fe015f
chore(versions): 😊 publish v0.12.0-alpha.3
2023-08-02 11:25:57 +08:00
chenos
6ae22cea68
chore(versions): 😊 publish v0.12.0-alpha.2
2023-08-02 02:25:49 +08:00
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
被雨水过滤的空气-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
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
katherinehhh
23cd6bb4ed
fix: inheritd association field failed to get detail data ( #2354 )
2023-07-31 10:42:54 +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
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
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
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
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
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
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
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
katherinehhh
18900d54f4
feat: customize action support create record for any collection ( #2264 )
...
* feat: customize button support customize add record
* refactor: code improve
* refactor: schemaSetting default value
* refactor: schemaSetting default value
* refactor: schemaSetting default value
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale improve
* refactor: code improve
* fix: fix style of default variable input (T-1154)
* fix: merge bug
---------
Co-authored-by: Rain <958414905@qq.com>
2023-07-25 14:51:45 +08:00
katherinehhh
b42e3b4042
refactor: form data template support data scope config ( #2229 )
...
* refactor: data template support data scope config
* refactor: data template support data scope config
* refactor: locale improve
* refactor: code improve
* refactor: data template config data scope and title field should linkage with collection field
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
* refactor: code improve
2023-07-25 14:42:30 +08:00
katherinehhh
1f8e0284fb
refactor: sub-table acl ignore ( #2259 )
2023-07-25 14:01:54 +08:00
katherinehhh
137e3eb171
refactor: date field UI supports configuration formatting ( #2241 )
...
* refactor: support format in datetime field
* refactor: support format config in datetime field
* fix: datetime field support dateformat config
* fix: datetime field support dateformat config
* refactor: table column support date format config
* refactor: table column support date format config
* refactor: table column support date format config
* refactor: code improve
* refactor: code improve
* fix: merge bug
* fix: merge bug
* style: style improve
* Update index.tsx
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-25 13:51:50 +08:00
katherinehhh
d8befa75c6
refactor: table column field provider optimize ( #2312 )
2023-07-25 09:42:59 +08:00
chenos
063d7ca693
fix(pm): skip installed
2023-07-25 09:26:10 +08:00
katherinehhh
4a7e44f686
fix: table column field undefined fix ( #2311 )
2023-07-25 09:23:32 +08:00
katherinehhh
d068f9b5df
fix: table column field failed to be actived ( #2309 )
2023-07-24 23:59:17 +08:00
被雨水过滤的空气-Rain
68976e0ebe
fix(default-value): fix tag in RemoteSelect ( #2306 )
2023-07-24 16:24:15 +08:00
katherinehhh
7ed4ae5018
fix: modal not displayed when clicking on the association field in the table ( #2292 )
2023-07-23 19:53:09 +08:00
ChengLei Shao
e5348d7ed6
fix(database): skip reference delete on view collection ( #2303 )
2023-07-23 17:13:30 +08:00
chenos
c84476d805
chore(versions): 😊 publish v0.11.1-alpha.2
2023-07-23 12:44:50 +08:00
chenos
e979194cf2
chore(versions): 😊 publish v0.11.1-alpha.1
2023-07-22 12:50:04 +08:00
Rain
8c904363ad
fix(theme-editor): fix color of menu when it is selected
2023-07-21 13:02:19 +08:00
Rain
8196e164a5
fix(theme-editor): fix color of UI settings and Header
2023-07-21 11:52:46 +08:00
ChengLei Shao
08b2f374c8
feat(database): handle targetCollection option in repository find ( #2175 )
...
* test: return child collection when get with filterByTk
* refactor: targetCollection
* chore: target collection args in repository find
* feat: handle targetCollection option in repository find
* feat: get child target at belongs to many association
* chore: build
* chore: build
* chore: test
* refactor: targetcollection
* test: belongs to association with targetCollection
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* feat: update with targetCollection option
* feat: inject target collection options at repository update
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 10:51:56 +08:00
被雨水过滤的空气-Rain
aab3fafd9b
fix: fix sorting of user menu ( #2288 )
2023-07-21 10:39:58 +08:00
被雨水过滤的空气-Rain
4f5ec0a581
feat(theme-editor): support to config Header's color and Settings button's color ( #2263 )
...
* feat: add color options to theme editor
* feat: add default theme
* refactor: optimize
* feat: support to change color of UI settings
* fix: fix menu background color
* fix: fix color of UI settings
* feat: support to set alpha
* refactor: migrate style to a file
* feat: support colorBgSettingsHover and colorBorderSettingsHover
* feat: adapt settings color
* fix: should be reset together
* feat: compat old theme
2023-07-21 10:38:56 +08:00
katherinehhh
d2a9e4acee
fix: the drop-down multiple selection fields are not displayed as title fields when inherited collection ( #2257 )
...
* fix: inherit field override association field option field
* fix: inherit field override association field option field
2023-07-20 10:56:26 +08:00
被雨水过滤的空气-Rain
1f91ebc65e
test: make testing more stable ( #2277 )
2023-07-19 16:49:49 +08:00
YANG QIA
4333972deb
fix(client): using component as action title ( #2274 )
2023-07-19 12:00:02 +08:00
Junyi
b3e34d7f92
fix(middleware): revert now variable back ( #2267 )
2023-07-19 10:16:03 +08:00
katherinehhh
d36b9e366a
fix: linkage failed with current date variable ( #2272 )
...
* fix: linkage failed with current date variable
* fix: linkage failed with current date variable
2023-07-19 10:13:20 +08:00
被雨水过滤的空气-Rain
a57b4a8359
fix: fix style of page tab ( #2270 )
2023-07-19 09:41:22 +08:00
katherinehhh
86749255ae
fix: collection select no options ( #2271 )
2023-07-19 09:39:13 +08:00
chenos
d8529e1d06
refactor: add locale plugin ( #2261 )
...
* refactor: add locale plugin
* fix: dayjs locale
2023-07-18 15:30:58 +08:00
Junyi
a17c1ad4e4
feat(plugin-workflow): allow manual form button to be configured with preset values ( #2225 )
...
* refactor(client): split to small components
* fix(client): fix component warning
* feat(plugin-workflow): allow form button to be configured more than one for each type
* test(plugin-workflow): add test cases
* chore(plugin-workflow): add modal tips
* fix(plugin-workflow): fix test bugs
* fix(plugin-workflow): fix manual button configuration and params
* test(plugin-workflow): fix test cases
* fix(plugin-workflow): fix manual form values
* refactor(plugin-workflow): adjust component
* fix(plugin-workflow): fix typo
* refactor(plugin-workflow): avoid one more load when manual node resume
* fix(plugin-workflow): fix currentUser to be plain object
* chore(plugin-workflow): clean code
* fix(plugin-workflow): fix typo
2023-07-17 21:50:24 -07:00
Junyi
9f8460ca22
feat(plugin-workflow): change to unlimited depth preloading associations in workflow ( #2142 )
...
* refactor(plugin-snapshot): move AppendsTreeSelect component into client package
* refactor(plugin-workflow): change all appends fields select to AppendsTreeSelect
* refactor(plugin-workflow): change appends and toJSON logic on server side
* fix(plugin-workflow): fix toJSON logic and build error
* fix(plugin-workflow): fix missing component injection
* fix(plugin-workflow): fix cycle association in variables
* refactor(client): change AppendsTreeSelect to lazy load
* fix(client): fix lazy load in option
2023-07-17 20:36:17 -07:00
YANG QIA
70d5b9e44b
feat: localization management ( #2210 )
...
* feat: init localization-management
* feat: resource api
* Merge branch 'main' into T-62
* chore: change name
* feat: basic feature
* feat: support filter & sync
* feat: support auto get texts afterSave
* Merge branch 'main' into T-62
* chore: upgrade
* fix: dependency
* fix: field type
* fix: type error
* chore: remove some translations
* feat: support extract text from menu
* chore: cache text keys
* chore: remove test key
* fix: issue of extracting menu titles
* feat: translate collections & fields name
* fix: remove unique of text
* refactor: improve cache
* chore: remove listeners after disable
* chore: translation
* fix: lang switch bug
* refactor: actions & filter
* fix: translation
* refactor: merge lang bundles at backend
* fix: style & field name
* fix: translate issues
* fix: cache bug
* fix: translation merge bug
* fix: translate issues
* fix: map translation
* fix: translation issues
* fix: card title bug
* feat: cover mobile client tabbar
* fix: menu title
* refactor: add locale plugin
* chore: merge locale plugin
* fix: map translation
* chore: remove no data
* style: change button style
* fix: sync bug
* docs: add README
* chore: change name
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-17 23:23:44 +08:00
Rain
4e84b14bc7
fix: avoid crash when field is deleted in Collapse
2023-07-17 15:27:48 +08:00
katherinehhh
62381e5953
refactor: linkage rules support datetime ( #2260 )
...
* refactor: linkage rules support datetime
* refactor: linkage rules support datetime
2023-07-17 09:55:51 +08:00
katherinehhh
aececf1952
fix: view inherited collection field reported error ( #2249 )
2023-07-16 16:59:03 +08:00
katherinehhh
1d942d9910
fix: loading did not disappear after submission failure ( #2252 )
2023-07-16 16:58:31 +08:00
被雨水过滤的空气-Rain
4812cc5692
feat: support custome themes ( #2228 )
...
* feat: create custom-theme plugin
* feat: add custom-theme
* chore: add plugin name and description
* chore: add deps
* chore: optimize deps
* refactor: rename
* chore: add antd-token-previewer
* chore: add deps in plugin
* feat: add theme-editor
* feat: add theme-editor
* feat: add settings
* feat: add theme collection
* refactor: migration to the components folder
* feat: add ThemeList
* refactor: be better
* feat: export createStyles
* feat: implement ThemeCard (T-723)
* style: optimize style
* feat: add ThemeEditorProvider
* feat: add ToEditTheme
* chore: add isBuiltIn field
* feat: implement WYSIWYG
* refactor: migrate i18n
* feat: support to save config
* feat: add validation rule
* refactor: remove useless code
* refactor: optimize GlobalThemeProvider
* feat: add CurrentUserSettingsMenuProvider
* feat: support switching themes
* refactor: migrate CurrentUserProvider to app root
* feat: add InitializeTheme
* fix: fix preview demo
* fix: filter themes
* fix: not valid when editing theme
* fix: should restore the previous theme when closing theme editor
* fix: fix algorithm
* fix: the theme that was just saved should be applied
* refactor: loacl antd-token-previewer
* fix: should be based on the current theme when editing themes
* feat: support to edit theme
* perf: reduce executions
* feat: add animation
* fix: fix the type error of useRequest
* feat: remove built-in themes
* chore: reinstall deps
* fix: fix version of deps
* fix: delete client.d.ts to fix build error
* chore: reinstall deps
* fix: fix build
* fix: fix build
* fix: avoid build errors
* fix: fix crashing
* fix: use value instead of defaultValue
* fix: avoid error
* fix: avoid closure
* fix: fix build
* fix: fix style of login page
* refactor(page): fix style
* fix: fix style of PageHeader
* refactor: fix style of Drawer
* refactor: add FormDialog to loacl
* refactor: fix style of SchemaSettings.ModalItem
* refactor: fix style of pm/Card
* fix: fix text color of pm/Marketplace
* fix: fix table error
* refactor: fix style of collection-manager/summary
* refactor: fix style of fields drawer
* chore: reinstall deps
* fix: fix build
* fix: fix build of custom-theme
* fix: should export Plugin
* refactor: fix style of GraphDrawPage
* chore: upgrade plugin version
* refactor: fix style of Modal by using antd App
* refactor: fix style of FormDialog by using local version
* refactor(workflow): refactor style using antd-style in workflow
* fix(workflow): fix style of workflow
* fix: fix size
* refactor: add --nb-header-height
* feat: remove theme configuration from system settings
* refactor: migrate useUpdateThemeSettings to a new file
* refactor: rename theme to themeId
* feat: add updateSystemThemeSettings
* refactor: migrate utils function
* feat: use localStorage to avoid theme invalid in login page
* fix: fix style of login page
* fix: fix style of Drawer
* feat: optimize style of theme card
* fix: should use a empty object to reset theme
* fix: fix test of Page
* fix: fix test of Application
* fix: change backgroundColor of login page
* fix: fix all style of modal
* fix: fix gap between blocks (T-896)
* fix: fix color of font (T-905)
* fix: fix build
* fix: fix can not scroll in Drawer (T-897)
* fix: fix width of built-in plugins page (T-900)
* fix: fix style of import Modal (T-907)
* fix: fix style of calendar (T-908)
* fix: fix style of kanban (T-909)
* fix: fix style of Gantt (T-910)
* fix: fix style of Collapse (T-915)
* fix: fix style of mobile (T-916)
* fix: fix style of PageHeader (T-958)
* fix: optimize background color of Drawer
* fix: fix style of notification
* fix: fix T-1000
* fix: fix style of LinkageHeader (T-1003)
* fix: fix T-1004
* fix: fix style of scroll bar of chart (T-911)
* fix: fix style of workflow drawer (T-997)
* fix: fix T-922
* fix: fix T-924
* refactor: rename custom-theme to theme-editor
* fix: fix T-999
* fix: fix T-1011
* fix: fix error
* fix: optimize dark mode (T-921)
* fix: fix style of markdown (T-1020)
* fix: fix style of data template (T-1025)
* fix: fix style of rich text (T-1026)
* fix: fix style of a
* fix: fix style of XButton (T-1028)
* fix: fix T-1027
* fix: fix color of variable tag (T-1030)
* chore: translation
* feat: add a modal before create new theme (T-1024)
* feat: highlight card when editing theme (T-1031)
* feat: support to change theme name (T-1023)
* fix: api.auth.getOption('theme')
* fix: fix T-1032
* fix: fix feedback in feishu group
* refactor: code review
* fix: fix test
* chore: rename
* fix: useNotificationMiddleware
* refactor: revert
* fix: fix build
* fix: notification
* refactor: migrate CurrentUserProvider from Application to NocoBaseBuildInPlugin
* fix: fix test
* refactor: fix code review
* chore: avoid test error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-16 12:46:25 +08:00
chenos
f87cf982f1
fix(value-parser): option type is string
2023-07-14 18:56:58 +08:00
ChengLei Shao
3510531182
feat(database): view collection support for add new, update and delete actions ( #2119 )
...
* feat: writeableView options in view collection
* refactor: view collection support edit
* refactor: view collection support edit
* refactor: view collection support edit
* refactor: view collection support edit
* test: insert into view with join table
* chore: typo
* chore: package.json
* chore: sql parser
* chore: query interface
* chore: test
* feat: update view collection
* chore: test
* chore: test
* chore: github action pg version
* fix: params in update and delete
* refactor: locale improve
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-07-14 14:49:12 +08:00
Junyi
b63012d85a
refactor(client): change isTitleField check to interface property titleUsable ( #2250 )
2023-07-14 14:16:44 +08:00
Rain
67891d5721
fix: fix style of sub table
2023-07-13 22:45:27 +08:00
被雨水过滤的空气-Rain
623ffc9c57
fix: avoid crashes when emptying DatePicker's value ( #2237 )
...
* fix: avoid crashes when emptying DatePicker's value
* chore: better type
2023-07-13 14:12:53 +08:00
katherinehhh
11d127e3a4
fix: no template data requested during depulicating ( #2240 )
...
* fix: depulicate failed
* fix: depulicate failed to load template data
2023-07-13 14:12:17 +08:00
被雨水过滤的空气-Rain
0ba1c3d5c7
fix: avoid crashing when delete group menu ( #2239 )
2023-07-12 16:31:23 +08:00
被雨水过滤的空气-Rairn
57507b310e
fix: should auto focus in drop-down menu ( #2234 )
...
* fix: should auto focus in drop-down menu
* fix: fix error in console
2023-07-12 08:39:19 +08:00
被雨水过滤的空气-Rairn
20a7e9a657
fix: should only show one scroll bar in drop-down menu ( #2231 )
2023-07-11 17:52:45 +08:00
katherinehhh
c20c68cc42
fix: failed to correctly respond to optional fields in the child collection in the parent collection table ( #2207 )
...
* refactor: process inherited field uischema in table
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-07-11 17:43:25 +08:00
Junyi
ff7b1aaf71
fix(core): fix batch update query logic ( #2230 )
2023-07-11 16:54:04 +08:00
被雨水过滤的空气-Rairn
1fb15de29a
fix: should limit submenu height ( #2227 )
2023-07-11 14:47:27 +08:00
被雨水过滤的空气-Rairn
2e8c14e0d6
fix(upload): fix style of attachement in Table ( #2213 )
...
* fix(upload): fix style of attachement in Table
* fix: make test pass
2023-07-08 14:49:26 +08:00
chenos
6aeb9b321e
fix(cli): missing fs.existsSync
2023-07-08 09:54:23 +08:00
chenos
c0a59524ab
chore(versions): 😊 publish v0.11.0-alpha.1
2023-07-08 08:29:33 +08:00
被雨水过滤的空气-Rairn
fd36c970bc
refactor(client)!: upgrade antd to v5 ( #2078 )
...
* refactor: change moment to dayjs
* refactor: remove antd css
* refactor: change @formily/antd to @formily/antd-v5
* chore: add dep
* chore: upgrade babel/core and typescript
* refactor: rename moment to dayjs
* fix(dayjs): add plugins
* refactor: fix type errors
* refactor: change default export to named export
* chore: upgrade ts-loader
* refactor: rename moment to dayjs
* refactor: fix type errors
* chore: upgrade deps for build
* fix: fix build errors
* fix: add antd reset css
* fix: fix build error
* chore: add __builtins__
* chore: optimize genStyleHook
* refactor(Calendar): less to css-in-js
* refactor(acl): less to css-in-js
* refactor(board): less to css-in-js
* chore: add antd-style
* refactor(acl): use antd-style
* refactor(board): use antd-style
* refactor: schema-initializer
* refactor: refactor genStyleHook
* refactor: kanban
* refactor: filter
* refactor: upload
* refactor: markdown
* refactor: rename className to componentCls
* refactor: rich-text
* style: fix style
* fix: fix merge error
* chore: update yarn.lock
* chore: upgrade formily
* style: fix pageHeader
* style: fix add button style
* style: fix header menu color
* chore: update yarn.lock
* chore: upgrade deps
* test: fix tests
* test: fix tests
* fix: fix build error
* fix: fix style of plugin doc
* fix: fix tests
* fix: fix drag bug
* refactor: remove useless code
* fix: fix Modal style (T-621)
* fix: fix box-shadow of subMenu (T-622)
* fix: fix style of linkage rules (T-623)
* fix: fix style of DataTemplate
* fix: fix style of variable (T-620)
* chore: update yarn.lock
* fix: avoid test failed
* test: fix error
* chore: update yarn.lock
* test: fix error
* test(dayjs): fix error
* fix: should delay show menu to avoid the menu not hidden
* test: skip failure test
* fix(mouseEnterDelay): change default value from 100 to 150
* test: avoid failed
* refactor: rename component names
* chore: optimize types
* chore: lock antd version
* fix: fix build
* fix: fix build
* fix: layout bg color use variable
* fix: fix style of buttons
* feat: remove theme config
* fix(calendar): fix style
* fix(mobile-client): fix dialog style
* fix: fix test
* refactor: make code gooder
* chore: change code
* fix: fix T-847
* fix: fix T-845
* fix: display block
* fix: danger button
* refactor: make tester better
* fix: change moment to dayjs
* fix: build error
* fix: import dayjs/plugin/isSameOrBefore
* refactor: downgrade @testing-library/react to fix warning
* fix: fix CI
* fix: upgrade deps to fix build
* fix: fix test
* fix: skip some filed tests to avoid error
* fix: fix build errors that maked by merge code
* refactor: remove moment
* fix: error
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-08 08:26:27 +08:00
Junyi
687f3c214d
fix(db): fix .now variable ( #2209 )
2023-07-07 04:15:29 -07:00
jack zhang
2cb1203aa4
refactor(client)!: application, router and plugin ( #2068 )
...
BREAKING CHANGE:
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: complete basic functional refactor
* fix: performance Application
* feat: support client and server build
* refactor: nocobase build-in plugin and providers
* fix: server can't start
* refactor: all plugins package `Prodiver` change to `Plugin`
* feat: nested router and change mobile client
* feat: delete application-v1 and router-switch
* feat: improve routes
* fix: change mobile not nested
* feat: delete RouteSwitchContext and change buildin Provider to Plugin
* feat: delete RouteSwitchContext plugins
* fix: refactor SchemaComponentOptions
* feat: improve SchemaComponentOptions
* fix: add useAdminSchemaUid
* fix: merge master error
* fix: vitest error
* fix: bug
* feat: bugs
* fix: improve code
* fix: restore code
* feat: vitest
* fix: bugs
* fix: bugs
* docs: update doc
* feat: improve code
* feat: add docs and imporve code
* fix: bugs
* feat: add tests
* fix: remove deps
* fix: muti app router error
* fix: router error
* fix: workflow error
* fix: cli error
* feat: change NoCobase -> Nocobase
* fix: code review
* fix: type error
* fix: cli error and plugin demo
* feat: update doc theme
* fix: build error
* fix: mobile router
* fix: code rewview
* fix: bug
* fix: test bug
* fix: bug
* refactor: add the "client" directory to all plugins
* refactor: modify samples client and plugin template
* fix: merge error
* fix: add files in package.json
* refactor: add README to files in package.json
* fix: adjust plugins depencies
* refactor: completing plugins' devDependencies and dependencies
* fix: bug
* refactor: remove @emotion/css
* refactor: jsonwebtoken deps
* refactor: remove sequelize
* refactor: dayjs and moment deps
* fix: bugs
* fix: bug
* fix: cycle detect
* fix: merge bug
* feat: new plugin bug
* fix: lang bug
* fix: dynamic import bug
* refactor: plugins and example add father config
* feat: improve code
* fix: add AppSpin and AppError components
* Revert "refactor: plugins and example add father config"
This reverts commit 483315bca5
.
# Conflicts:
# packages/plugins/auth/package.json
# packages/plugins/multi-app-manager/package.json
# packages/samples/command/package.json
# packages/samples/custom-collection-template/package.json
# packages/samples/ratelimit/package.json
# packages/samples/shop-actions/package.json
# packages/samples/shop-events/package.json
# packages/samples/shop-modeling/package.json
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-07 14:35:22 +08:00
katherinehhh
09d5477983
fix: association field display has been delete in sub-form ( #2205 )
2023-07-07 13:57:12 +08:00
Junyi
6646007dd7
refactor(client): abstract RawTextArea for variable input ( #2204 )
2023-07-06 20:52:56 -07:00
katherinehhh
6496c65fc4
fix: error reported when open data scope ( #2202 )
2023-07-07 09:42:10 +08:00
katherinehhh
a266367105
fix: current object variavle can not be selected ( #2201 )
2023-07-07 09:31:00 +08:00
chenos
15f028295c
chore(versions): 😊 publish v0.10.1-alpha.1
2023-07-07 06:56:04 +08:00
Junyi
ff9e96d38b
fix(client): fix variable component for preload label based on value ( #2200 )
2023-07-06 08:52:22 -07:00
katherinehhh
5a8f3d1ae3
fix: add new collection linakge disabled ( #2198 )
2023-07-06 23:13:02 +08:00
katherinehhh
f567f887de
refactor: the default value setting of association field supports variables ( #2138 )
...
* refactor: association field support variablein default value
* refactor: the current user variable only supports the target collection us users
2023-07-06 17:57:35 +08:00
katherinehhh
a9aab8ed92
refactor: performance optimization of association field data scope ( #2113 )
...
* refactor: performance optimization of association field data scope
* refactor: disabled
* refactor: disabled
* refactor: code improve
2023-07-06 17:55:28 +08:00
katherinehhh
ed9d716d7d
refactor: duplicate support inherited collection ( #2181 )
...
* refactor: set collection from current collection when deplicate
* refactor: set collection from current collection when deplicate
* fix: duplicate target collection
* refactor: code improve
2023-07-06 17:13:20 +08:00
katherinehhh
a3dc6d67e0
fix: optional fields of the child collection cannot be displayed correctly in the parent collection ( #2194 )
2023-07-06 16:50:10 +08:00
被雨水过滤的空气-Rairn
f44c5f3b4a
fix(data-templates): fix filter is empty ( #2193 )
2023-07-06 16:45:23 +08:00
Dunqing
817646d68d
feat(api-keys): the expiration field support custom option ( #2186 )
...
* feat(api-keys): the expiration field support custom option
* feat: support never option
* feat: support if expiresIn = never the expiresIn will replace to 1000y
* fix: toggle datepicker
* feat: update syntax
* fix: option order
* docs: update
* fix: maskCloseable should be false
* refactor: performance and remove unused code
* feat: should not allow clear
* fix: decode maybe fail
* fix: i18n
2023-07-06 16:33:28 +08:00
katherinehhh
6e0471bd46
fix: error reported when rewriting the collection field ( #2189 )
2023-07-06 11:35:45 +08:00
katherinehhh
566668daa1
refactor: enable child collection support current object ( #2188 )
...
* refactor: enable child collection support current object
* refactor: locale improve
2023-07-06 11:30:45 +08:00
Junyi
c9b726916c
refactor(client): refactor variable components and variables in workflow ( #2157 )
...
* refactor(plugin-workflow): change collection variables to lazy load
* fix(plugin-workflow): avoid to-many reverse loading for association field
* fix(client): fix variable components
* chore(client): fix type
* fix(client): fix current user lazy load options
* refactor(client): remove compile from variable components which potencially causing bug
* fix(plugin-workflow): fix scope argument for new api
* fix(client): fix constant type options
* fix(client): fix infinity rerendering
* fix: avoid closure problem
* fix(client): should use no children when lazy load
* refactor(client): refactor AssignedField to use Variable component
* fix(client): fix type
* fix(plugin-workflow): fix variable options in some node not changes
* fix(plugin-workflow): fix select variable for operand crash (T-815)
* fix(plugin-workflow): variable types detect
* fix(plugin-workflow): detect association to match types
* fix(plugin-workflow): fix variable type filter logic
* fix(plugin-workflow): fix optional types
* fix(plugin-workflow): make changeOnSelect configurable in TextArea and JSONInput
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-07-05 07:01:41 -07:00
Dunqing
25a3a8affa
feat: support token blacklist ( #2168 )
...
* feat: support token blacklist, Close T-799
* feat: clean
* fix: possible token does not exist
* fix: update
* feat: update
* feat: add node-cron to delete expired token
* fix: findOrCreate not work and add test case
* test: add token-blacklist tests
* feat: add test cases for blacklist in authManager
* test: update better
* fix: should hidden token field
* test: clean
* test: clean
* fix: should stop cron in afterStop
* refactor: move delete expired token in token blacklist service
* feat: remove plugin disable/enable logic
* fix: clean
* test: revert
* fix: cron typo
2023-07-05 21:57:57 +08:00
katherinehhh
3281aa5cf1
fix: cannot open the template when the data template filter is a custom function ( #2183 )
2023-07-05 11:18:43 +08:00
katherinehhh
046a0b4f4d
feat(collection-manager): tableOID field and collection field ( #2161 )
...
* feat: support tableOid interface
* chore: child collection filter operator
* chore: test
* refactor: support tableOid and collection field
* chore: test
* fix: refactor: collectionSelect
* refactor: support linkage from form in add child
* refactor: add child support linkage form form
* refactor: code improve
* feat: support undefined value in childIn query
* chore: test
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: tableoid only support pg
* refactor: tableoid only support pg
* refactor: code improve
* refactor: collection operator
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: collection field support options config
* refactor: collection field support options config
* feat: tableoid migration
* fix: item.options?.inherits
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-04 23:16:49 +08:00
Junyi
637ccb0457
fix(utils): fix json-template type checking logic ( #2177 )
2023-07-04 05:41:20 -07:00
katherinehhh
46294692dd
fix: error opening when data scope is null ( #2178 )
...
* fix: error opening when data scope is null
* fix: error opening when data scope is null
2023-07-04 17:17:51 +08:00
被雨水过滤的空气-Rairn
ef54fb0dd0
fix: time zone when showTime is false ( #2170 )
...
* fix: set default time-zone to CST
* test: add test
* fix: selected time should be beginning of day when showTime is false
* test: fix error in CI
2023-07-04 15:30:08 +08:00
ChengLei Shao
4557f99949
chore(database): skip update association if through model is a view ( #2173 )
...
* chore(database): skip update association if through model is a view
* chore: test
2023-07-04 12:59:23 +08:00
被雨水过滤的空气-Rairn
9d2a4834a5
test: add data-testid attr ( #2167 )
2023-07-03 16:02:26 +08:00
Junyi
71c62245ad
fix(utils): avoid to use default value for null in json-templates ( #2165 )
2023-07-02 16:25:53 -07:00
Dunqing
677442c844
fix(plugin-api-keys): use currentRoles instead of get roles from roles:list ( #2163 )
2023-07-02 10:36:36 +08:00
YANG QIA
3aa65cb30c
feat: data visualization ( #2160 )
...
* feat(charts-v2): init
* chore(charts-v2): init chart renderer
* feat(chart-v2): add chart grid and initializer
* feat(chart-v2): improve ui
* feat(chart-v2): ui
* feat(charts-v2): query sort ui
* feat(charts-v2): field select component
* feat(charts-v2): improve ui && add query action
* feat(charts-v2): imporve ui, work in progress
* fix(charts-v2): chart renderer request api twice
* feat(charts-v2): add dimension formatter
* feat(charts-v2): filter, sort, limit
* feat(charts-v2): sql mode ui
* feat(charts-v2): support duplicate & sql mode
* fix(charts-v2): wrong defaultValue of json config
* feat(charts-v2): transformer ui
* feat(charts-v2): transformer
* chore(charts-v2): rename transfromer to transform
* feat(charts-v2): support cache
* feat(charts-v2): add acl provider
* chore(charts-v2): hide sql mode
* refactor(charts-v2): add renderer provider
* feat: collection permission check
* feat(charts-v2): add antd statistic
* test(charts-v2): backend
* chore: improve code
* test(charts-v2): add test
* chore: add Chinese translation
* fix(charts-v2): locale switch bug
* chore: add dependency
* feat(charts-v2): init chart config from query
* feat: change layout
* test: fix frontend test
* feat: improve auto infer
* fix: ui issues
* chore: translation
* fix: sql error
* fix: some issues
* feat: support table
* fix: bug
* chore: improve code and fix query
* feat: add config reference
* chore: add translation
* fix: process data due to pg issue
* test: fix parseBuilder
* chore: upgrade formily to 2.2.25
* fix: some issues and import style
* fix: bug when query with sort
* feat: parse enum data
* fix: yarn.lock
* fix: type error
* fix: infer bug and frontend test
* test: fix frontend
* fix: test
* feat: improve preview
* chore: downgrade formily
* feat: support associations, draft, in testing
* fix: typo
* test: frontend & backend
* fix: infer bug
* feat: measure selection of statistics
* fix: bug of group by alias
* fix: some issues
* fix: order issues
* fix: yarn.lock
* chore: fix filter include & 'data-visualization'
* style: improve style
* docs: add readme
* chore: add translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 20:49:44 +08:00
katherinehhh
24f2429066
refactor: optimization of tree table stuck performance ( #2154 )
...
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* refactor: optimization of Tree Table performance
* refactor: code improve
2023-06-30 17:47:32 +08:00
chenos
7e0ac57057
fix(acl): add roles.users field
2023-06-30 12:02:08 +08:00
Dunqing
6cfd586175
feat(plugin-api-keys): support fetch api via api-keys ( #2136 )
...
* feat(plugin-api-keys): support fetch api via api-keys
* feat: full support
* fix: missing parseToken in auth
* feat: add created at column
* feat: configure snippet
* fix: remove unused code
* fix: revert
* chore: update deps
* feat: improve role
* fix: avoid create api key without not exist role
* feat: improve select roles
* refactor: when no X-Role is found, roles should not be randomly assigned
* feat: improve code
* feat: improve current role
* fix: revert
* fix: revert apilicent
* fix: revert auth
* feat: improve currentRole logic
* feat: use resourcer.use instead it
* refactor: remove api-keys-auth
* fix: type
* refactor: move jwt to authManager
* refactor: remove unused code
* refactor: remove protected
* Revert "refactor: remove unused code"
This reverts commit 8f81535ab7
.
* feat: remove unused code
* feat: improve code
* fix: test error
* test: update test
* test: add test cases
* docs: update
* chore: update X-Role
* fix: token's roleName not work
* docs: update usage
* fix: i18n Add APi key
* docs: update capital
* docs: update
* feat: clean
* Update package.json
* Update roles.ts
* fix: api key
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 11:20:35 +08:00
jack zhang
717b21d37a
fix: 修复 gulp-less 版本导致的初始化 bug ( #2153 )
2023-06-29 16:24:24 +08:00
chenos
560c00cc3e
chore(versions): 😊 publish v0.10.0-alpha.5
2023-06-29 15:34:40 +08:00
katherinehhh
d9902a4055
fix(assigned field):dynamic value validation error when assigned field ( #2117 )
2023-06-29 08:04:09 +08:00
被雨水过滤的空气-Rairn
d71fed0471
fix(upload): fix the upload status not being updated if the upload was successful ( #2133 )
...
* fix(Upload): fix style
* fix(Upload): fix uploading
* Revert "fix(Upload): fix uploading"
This reverts commit 45984cd59fab38b8e6fb3f49930b29acc8699b4f.
* refactor: add key
* fix: fix the upload status not being updated if the upload was
successful
* fix(FileSelector): fix uploading
* fix: fix key
2023-06-28 15:38:03 +08:00
katherinehhh
ece7cb76c2
fix: association fields cannot config in table ( #2146 )
2023-06-28 15:30:49 +08:00
chenos
15f824387e
feat: error cache ( #2145 )
2023-06-28 15:29:01 +08:00
Junyi
4fc64af173
fix(client): fix field initializer in detail block ( #2144 )
2023-06-27 19:40:59 -07:00
chenos
c229d837a3
fix: dropdownMatchSelectWidth=false ( #2143 )
2023-06-28 10:13:35 +08:00
被雨水过滤的空气-Rairn
73dfe074d7
refactor: should use useDocumentTitle to change document title ( #2137 )
2023-06-27 18:42:33 +08:00
yaroslav.kr
dd3e872b06
Add *.pdf preview ( #2105 )
...
* Create uk-UA.json
added Ukrainian locale json
* Add files via upload
* fix
* Update uk_UA.ts
* feat(client): add pdf preview
* feat(client): add pdf preview to upload
* fix: refactor pdf preview
---------
Co-authored-by: alexkash <kashmensky@gmail.com>
2023-06-27 16:00:41 +08:00
chenos
f3f91bd649
chore(versions): 😊 publish v0.10.0-alpha.4
2023-06-27 13:50:59 +08:00
katherinehhh
360f6ae810
refactor: request data when the drop-down list is opened ( #2127 )
2023-06-27 13:44:41 +08:00
被雨水过滤的空气-Rairn
08a9398a19
fix: fix dialog does not appear ( #2134 )
2023-06-27 10:42:00 +08:00
katherinehhh
516fe408b9
fix(association-field):submitting failed after adding data in subform for multiple association fields ( #2065 )
...
* fix: toManay sub-form add new data misalignment
* fix: toManay sub-form add new submit failed
* refactor: code improve
* refactor: code improve
2023-06-26 16:40:27 +08:00
被雨水过滤的空气-Rairn
88d4af14df
fix(sub-apps): fix incorrect page display when navigating sub-apps ( #2126 )
...
* fix: avoid error log
* fix: fix incorrect page display when navigating sub-apps
* Revert "fix: fix incorrect page display when navigating sub-apps"
This reverts commit 1cfbfe2e22
.
* fix: fix incorrect page display when navigating sub-apps
2023-06-26 15:27:56 +08:00
katherinehhh
f042a2307a
fix: tree gantt block does not display correctly ( #2123 )
...
* fix: tree gantt block display error
* fix: tree gantt block display error
* refactor: code improve
* refactor: code improve
2023-06-26 14:14:22 +08:00
Junyi
6d80593f27
fix(plugin-workflow): change to use formv2 to avoid values updating issue ( #2124 )
2023-06-26 14:10:08 +08:00
katherinehhh
9241198da9
style:list and gridCard block style improve ( #2087 )
...
* style: list block style improve
* style: gridCard block style improve
2023-06-26 11:21:46 +08:00
被雨水过滤的空气-Rairn
ffcf9d2211
fix: fix designer button does not appear ( #2120 )
...
* refactor: convert to optional chain expresion
* fix: fix designer button does not appear
2023-06-26 11:03:42 +08:00
被雨水过滤的空气-Rairn
73f3929b4f
fix: fix the drop-down menu does not disapper ( #2109 )
...
* fix: should delay show menu to avoid the menu not hidden
* fix(mouseEnterDelay): change default value from 100 to 150
* chore: upgrade types for react
* fix: fix the drop-down menu does not disapper
* Revert "chore: upgrade types for react"
This reverts commit 7991d1c569
.
* chore: ignore types check to avoid build error
2023-06-25 19:18:22 +08:00
chenos
0e84d61b72
fix(grid): remove overflow-x: hidden
2023-06-25 14:29:47 +08:00
chenos
83bf8ea3bb
chore(versions): 😊 publish v0.10.0-alpha.3
2023-06-25 14:04:19 +08:00
katherinehhh
7c5df477f3
fix: deleting the last field from sub table, the entire table will be delete ( #2077 )
...
* fix: deleting the last field from sub table, the entire table will be deleted
* refactor: association select support data scope in sub-table
* refactor: locale improve
* style: sub-table style improve
2023-06-25 14:01:52 +08:00
katherinehhh
2bbba7b7fa
fix(sub-table): inherited fields cannot be edited in a subtable ( #2106 )
...
* fix: inherit filed cant not edit in sub-table
* fix: inherit filed cant not edit in sub-table
2023-06-25 08:54:11 +08:00
Rairn
e3b84e855c
fix: fix PageHeader
2023-06-24 22:39:51 +08:00
chenos
8b03dfa96b
fix(input-number): change step to 1 ( #2104 )
2023-06-24 17:15:59 +08:00
jack zhang
20f673a6b3
fix: create plugin cli error ( #2102 )
2023-06-23 15:54:48 +08:00
katherinehhh
480e499f67
fix: select options ( #2101 )
2023-06-23 12:00:59 +08:00
chenos
bdcbe7392f
chore(deps): bump formily from 2.2.24 to 2.2.26 ( #2088 )
...
* chore(deps): bump formily from 2.2.24 to 2.2.25
* chore(deps): bump formily from 2.2.25 to 2.2.26
* chore: update yarn.lock
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-06-23 07:55:44 +08:00
katherinehhh
87e37757b3
fix(sub-table): allows configuration of "Display association fields" ( #2073 )
2023-06-23 00:10:39 +08:00
katherinehhh
ccfc9b8625
style: enable child collection modal style improve ( #2100 )
2023-06-22 22:03:42 +08:00
katherinehhh
cb52b80cf0
feat: data scope support variables for association fields ( #2049 )
...
* feat: association field support data scope
* refactor: association data scope
* refactor: association data scope local
* refactor: association data scope
* refactor: association data scope code improve
* refactor: code improve
* fix: useFormVariable
* fix: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* refactor: locale improve
* refactor: locale improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-22 20:19:34 +08:00
被雨水过滤的空气-Rairn
6eed9ac2bb
refactor: fix warning of antd 4.x ( #1998 )
...
* refactor: fix warning by codemod
* refactor: fix warning of Dropdown
* perf: use memo
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: remove SettingsForm
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: move useMenuItem to root dir
* chore: fix conflicts
* refactor: resolve SchemaSetting
* refactor: fix lint
* test: fix failed
* chore: upgrade Vite
* fix: fix style
* refactor: fix lint
* refactor: extract component
* refactor: resovle Menu
* refactor: resolve Tabs
* refactor(getPopupContainer): should return the unique div
* refactor(Drawer): change style to rootStyle and className to rootClassName
* chore: update yarn.lock
* fix: fix T-432
* fix: fix T-338
* fix: fix T-490
* fix: collection fields
* fix: fix style
* fix: fix T-500
* fix: fix SettingMenu error (close T-516)
* fix: fix tanslation of Map (T-506)
* style: fix style (T-508)
* fix: fix schemaSetting switch of mobile (T-517)
* fix: fix T-518
* fix: fix T-524
* fix: fix T-507
* perf: optimize SchemaInitializer.Button
* perf: optimize SchemaSettings
* fix: fix serch of SchemaInitializer (T-547)
* chore: change delay
* fix: fix button style (T-548)
* fix: fix scroll bar
* fix: update yarn.lock
* fix: fix build error
* fix: should update sideMenu when change it
* fix: fix build error
* chore: mouseEnterDelay
* fix: fix group menu can not selected
2023-06-22 19:51:16 +08:00
Dunqing
b80aaacb38
fix(mobile-client): fix multiple bugs and do some improvement ( #2072 )
2023-06-21 22:26:15 +08:00
katherinehhh
1006a66a6f
fix: incomplete field list for assigned fields ( #2093 )
2023-06-21 18:29:14 +08:00
dream2023
dae191691c
fix: useAdminSchemaUid redeclaration
2023-06-21 17:49:45 +08:00
jack zhang
d7ed43b86d
fix: add useAdminSchemaUid ( #2092 )
...
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-21 16:40:21 +08:00
chenos
daa48302df
fix(acl): change route.uiSchemaUid to useAdminSchemaUid
2023-06-21 16:37:56 +08:00
Junyi
6a589543f9
refactor(db): add batch logic to update for better performance ( #2070 )
...
* refactor(db): add batch logic to update for better performance
* test(plugin-workflow): fix test cases
* fix(db): treat belongsTo field in update values as foreignKey
* fix(db): also handle object with id for belongsTo field
* fix(db): avoid 0 as falsy
* fix(db): fix test case
2023-06-21 16:37:06 +08:00
katherinehhh
c240228a69
fix: unable to load data from chinaRegion during the first configuation ( #2089 )
...
Close T-607
2023-06-21 16:00:39 +08:00
chenos
64070b81b9
refactor: migrate adminSchemaUid & mobileSchemaUid to system settings ( #2084 )
...
* refactor: migrate adminSchemaUid & mobileSchemaUid to system settings
* fix: error
2023-06-21 11:02:49 +08:00
chenos
0b06e2cd69
chore(versions): 😊 publish v0.10.0-alpha.2
2023-06-20 11:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi
, react
and react-router-dom
( #1921 )
...
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: update docs
* feat: update docs
* fix: page tab change not work
* fix: login redirect query param doesn't work
* fix: bug and doc
* feat: update docs
* fix: ci error
* fix: merge main
* feat: update docs
* feat: update docs
* feat: update docs
* chore(versions): 😊 publish v0.10.0-alpha.1
* fix: translations
* chore: backend node test max old space size
* docs: add useSearchParams
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
Junyi
0606637a73
fix(plugin-formula): fix formula field effect and read-pretty component ( #2076 )
2023-06-19 06:47:29 -07:00
katherinehhh
bcad6c89dc
fix: file collection field should default to preview as the title field ( #2059 )
...
* fix: after selecting files for multiple association fields, the selected files should not be removed
* fix: file collection field should default to preview as the title field
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-19 20:48:20 +08:00
Junyi
331d6d57b2
fix(client): remove incorrect onchange in json component ( #2079 )
2023-06-19 18:58:38 +08:00
Junyi
a3805e3b02
fix(client): fix onchange mistake ( #2075 )
2023-06-18 21:34:08 -07:00
Junyi
ebdbc2dae3
fix(client): fix locale ( #2074 )
2023-06-18 21:01:14 -07:00
被雨水过滤的空气-Rairn
e506c1781e
fix(Varaible): fix option is disabled ( #2043 )
...
* perf: use useMemo
* refactor: extract className
* refactor: fix lint warning
* fix: fix can not be selected
* refactor: reduces count of compile runs
* fix: fix T-494
* fix: should disable options that no children
* fix: fix T-496
2023-06-18 14:31:53 +08:00
katherinehhh
50865d76bc
fix: rowSelection undefined ( #2071 )
2023-06-18 14:22:46 +08:00
katherinehhh
e3045a2f9a
fix: association field cannot enable link in table column ( #2066 )
...
* fix: association field cannot enable link in table column
* refactor: code improve
2023-06-17 09:01:35 +08:00
katherinehhh
4faf64f905
refactor(association-field): support sub table ( #1862 )
...
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: association field support sub-table
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: getNesterAppends filter bug
* refactor: useFieldModeOptions
* refactor: subTable
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: sub-table
* fix: appends
* fix: sub-table-appends
* fix: undefine id
* fix: sub-table appends
* refactor: sub-table
* refactor: sub-table supoort delete
* fix: sub-table-appends
* refactor: sub table initvvalue
* fix: sub-table-appends
* fix: association field appends
* fix: association field appends
* fix: association field appends
* style: style improve
* style: style improve
* refactor: textArear Markdown RichText
* style: style improve
* fix: title field
* refactor: code improve
* fix: system fields are not allowed to be edited
* refactor: subtable does not support inline operations
* refactor: jons edit in table
* refactor: sequence readOnly in table
* refactor: json readOnly in table
* fix: sub-table appends
* fix: runWhenParamsChanged
* fix: runWhenParamsChanged
* fix: sub-table appends
* fix: sub-table appends
* refactor: sub-table
* style: checkbox group intable
* style: delete button style improve
* fix: json edit in table
* fix: sub-table appends
* style: upload file in table column
* refactor: map edit in table
* refactor: map edit in table
* refactor: map field display in sub-table
* fix: support mutiple row
* refactor: sub-table
* refactor: sub-table not support sortable
* fix: sub-table appends
* fix: sub-table appends
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* fix: subtable
* fix: subtable initValue
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* style: upload field in table
* refactor: sub table should not row selection
* style: checkboxGroup and radioGroup display in sub-table
* refactor: locale
* refactor: code improve
* refactor: quickEdit in sub-table
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* style: quickEdit style improve
* style: quickEdit style improve
* style: quickEdit style improve
* refactor: sub-table support required config
* refactor: cell validate
* refactor: cell validate
* refactor: cell required validate
* refactor: cell required validate
* refactor: sub-table display when readPretty
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table initialValue
* refactor: table
* refactor: sub-tble field required
* refactor: sub-table style improve
* refactor: sub-table attachemnt
* refactor: code improve
* test: tableV2 snap
* fix: subtable drag
* test: tableV2 snap
* refactor: checkbox group and radio group in sub-table
* refactor: sub-table required style
* style: markdown style in sub-table
* refactor: markdown display in sub-table
* refactor: json field display in sub-table
* refactor: code improve
* style: style improve
* style: style improve
* refactor: inserView when designable
* refactor: china-region load data when dropdown click
* refactor: code improve
* refactor: code improve
* refactor: display loading when the form is first loaded
* refactor: display loading when the form is first loaded
* fix: verification exception when deleting sub table rows
* refactor: sub-table code improve
* refactor: sub-table code improve
* fix: json error feedback
* refactor: code improve
* fix: json onchange
* fix: sub table data did not change when switching data templates
* test: variable test
* test: variable test
* refactor: data template
* refactor: code improve
* refactor: code improve
* fix: upload readpretty
* fix: attach upload in sub-tabl
* fix: remove small
* fix: attach upload in sub-table
* refactor: association fields should not display in sub-table
* fix: dropdownMatchSelectWidth
* refactor: association fields should not display in sub-table
* refactor: selectFile is false in sub-table
* refactor: attacattachment in sub-table
* refactor: attacattachment in sub-table
* fix: selector style
* refactor: quick edit component
* fix: zindex
* style: style improve
* style: style improve
* feat: styling
* fix: style
* fix: style
* refactor: quickEdit getContainer
* refactor: quickEdit
* refactor: quickEdit
* fix: improve code
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-16 12:07:43 +08:00
被雨水过滤的空气-Rairn
457afe3e06
fix: avoid error ( #2060 )
2023-06-15 08:26:04 -07:00
被雨水过滤的空气-Rairn
d0632d73fd
fix(Data-template): fix field cannot be expanded ( #2057 )
...
* fix(Data-template): fix field cannot be expanded
* fix: fix build errors
2023-06-15 22:14:23 +08:00
katherinehhh
d79951e209
fix(file-manager): do not delete the selected records
2023-06-15 19:09:10 +08:00
katherinehhh
70890f2f50
feat(association field):quick add new ( #1953 )
...
* refactor: association select support quieck add
* chore: tmp commit
* refactor: association select support quick add
* feat: firstOrCreate
* refactor: locale
* refactor: create api
* chore: firstOrCreate
* feat: updateOrCreate
* chore: test
* refactor: save mode edit in add new form
* feat: values to filter
* refactor: loacle improve
* refactor: loacle improve
* refactor: loacle improve
* feat: firstOrCreate http api
* refactor: code improve
* fix: build error
* refactor: local
* refactor: locale improve
* refactor: useCollectionFieldsOptions
* fix: code imprtove
* refactor: code improve
* refactor: dropdown open
* refactor: add new mode
* refactor: add new mode code improve
* refactor: add new mode code improve
* refactor: add new mode code improve
---------
Co-authored-by: chareice <chareice@live.com>
2023-06-15 16:40:42 +08:00
katherinehhh
7abfbe7be4
fix: duplicate action locale ( #2052 )
2023-06-15 16:04:27 +08:00
被雨水过滤的空气-Rairn
74b8687071
fix: fix default value of optional field ( #2053 )
...
* fix: fix default value of optional field
* fix: fix can not save default value
2023-06-15 14:38:52 +08:00
chenos
c89d7f980f
fix: performance optimizations
2023-06-15 11:27:11 +08:00
katherinehhh
c4816c6963
refactor: List block and GridCard block style improve ( #1988 )
...
* refactor: list block and gridCard style improve
* style: style improve
* style: gridCard style improve
* style: list style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
2023-06-14 20:14:57 +08:00
YANG QIA
8b9c0fa979
fix: block disappears when dragged over its parent ( #2048 )
2023-06-14 20:11:17 +08:00
jack zhang
8b64a559e4
fix: form performance ( #2047 )
...
* fix: form performance
* fix: refresh when the targetKeyValue change
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-14 19:29:29 +08:00
katherinehhh
b64ce6a2b3
fix: default value for multiple select cannot be set ( #2031 )
2023-06-14 10:56:45 +08:00
Dunqing
3332a488ca
fix: display on the PC side of moblie access is incomplete ( #2039 )
...
* fix: display on the PC side of moblie access is incomplete
* fix: need refresh should work
* fix: again
* fix: keep 0.1
2023-06-14 10:41:07 +08:00
katherinehhh
af37e26640
fix: enable tab and deleting tab page will result in an error ( #2045 )
2023-06-14 10:37:15 +08:00
被雨水过滤的空气-Rairn
58840e5fab
refactor(PluginManager): remove useless code ( #2022 )
...
* refactor(PluginManager): remove useless code
* chore: fix build error
2023-06-14 09:35:09 +08:00
Dunqing
4ac01b28db
fix(mobile-client): some mobile-client bugs ( #2017 )
...
* fix: avoid delete last tab will brake mobile client
* fix: when schema not exists
* feat: support redirect to mobile route in app
* fix: re-insert repeat routes
* feat: sync title
* fix: sync title
* fix: when TabBar is empty will cause page crashed
* fix: default label i18n not work
* fix: delete last menu will cannot add block ,Close T-434
* fix: tab cannot add block in drawer, Close T-437
* fix: hidden connect data block
* fix: login should use replace
* feat: display configuration of mobile-client address
2023-06-13 11:31:34 +08:00
katherinehhh
a6892dfff3
fix: error reported after deleting the associationFilter block linkage field ( #2038 )
2023-06-13 10:12:51 +08:00
chenos
97a4ef7422
fix(association-field): default values for the fields of a association field ( #2037 )
2023-06-13 09:46:01 +08:00
ChengLei Shao
97106c28e8
chore(database): return emtpy fields when attributes not specified ( #2034 )
...
* test: append nested field
* chore: return emtpy fields when attributes not specified
* fix: test
* fix: data template error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-12 18:44:43 +08:00
katherinehhh
82ebd0eb44
refactor: child and parent field are not linked ( #2030 )
2023-06-12 15:40:59 +08:00
chenos
47859c0f99
fix(data-template): filter out foreign keys ( #2033 )
2023-06-11 23:12:43 +08:00
Junyi
dd9cb723d4
fix(client): fix json input component value handling ( #2028 )
...
* fix(client): fix json input component value handling
* fix(client): fix json input test case
* refactor(client): remove format button from json variable component
* refactor(client): move json input style to global
* test(client): remove unused test case
2023-06-11 00:33:52 -07:00
chenos
91d6f09fc3
fix: acl missing
2023-06-10 16:57:09 +08:00
chenos
fe989bb71c
fix(acl): import SettingsCenterContext
2023-06-10 12:43:36 +08:00
Rairn
7e9f3dfa17
chore: avoid test error
2023-06-10 07:31:32 +08:00
chenos
8d4123d8d6
feat: filter out IDs in sub-forms ( #2025 )
2023-06-09 23:45:04 +08:00
chenos
84e52448f5
fix: model toJSON
2023-06-09 21:33:33 +08:00
Dunqing
77225a4e25
fix(GridCard): column count not work ( #2023 )
2023-06-09 20:02:39 +08:00
Dunqing
69bbfee67a
feat: use ActionContextProvider
instated of ActionContext.Provider
( #2019 )
2023-06-09 13:05:05 +08:00
Junyi
9a376e4116
refactor(plugin-workflow): change node config api render to component ( #2014 )
...
* refactor(plugin-workflow): change node config api render to component
* fix(plugin-workflow): fix trigger drawer error and remove unused api
* fix(plugin-workflow): fix return value of request node run phase
* fix(client): fix classname order in action button
2023-06-08 21:09:22 -07:00
Rairn
b7cb9a45c2
fix(Variable): fix can not select
2023-06-09 11:47:20 +08:00
Rairn
0a21c3bed2
test: fix test fialed
2023-06-09 09:49:40 +08:00
Dunqing
9c165db0f7
feat(plugin-mobile-client): support mobile-side client ( #1879 )
...
* feat: init mobile client
* feat: add plugin
* feat: ready to develop
* feat: update pm styels
* feat: add mobile center
* feat: router ready
* feat: support menu block, then menu ready
* fix: incorrect path
* feat: support TabBar
* feat: tabbar, menu support dragging
* feat: support page and header
* feat: mobile view
* fix: optional schema
* feat: improve styles
* fix: user-scalable
* feat: support pc component show in mobile
* feat: hidden divider
* fix: improve drawer props
* feat: support list block
* feat: rename to details list
* feat: page support tabs
* feat: improve designer css
* feat: complete enable/disabled header of page
* feat: some improve
* feat: improve empty data
* fix: header info cannot displayed
* chore: update deps
* fix: incorrect spacing
* fix: menu designer
* refactor: re implement
* feat: support page template
* feat: clean code
* feat: support i18n
* chore: update lock
* feat: support GirdCard in mobile
* fix: build failed
* feat: only render one column in mobile interface
* fix: back button should not display in container
* fix: switch to padding
* fix: fixedBlockDesignRItem shouldn't display in dosen't support block
* fix: update font family
* fix: remove gridcard title
* fix: dragging scope is too wide
* fix: add menu cannot direct display
* refactor: improve tabbar schema usage
* refactor: improve menu schema
* feat: should to use simple pagination
* feat: the tag should pre-wrap
* feat: improve the configuration button
* feat: improve name
* fix: clear data when modal is closed
* fix: the tag is too long
* fix: i18n
* fix: font incorrect
* feat: add map block
* fix: some maps error
* feat: support global action in page
* feat: improve border color
* feat: improve performance, the count stop early
* style: improve
* fix: incorrect font
* fix: style conflict
* chore: update version
* chore: missing dep
* feat: support setting block
* feat: improve settings block and improve
* feat: support onBackPressed
* fix: ts error
* feat: improve cannot find tab should navigate to mobile
* docs: update
* chore: update deps
* fix: showTitle state is incorrect
* feat: improve jsbridge apis
* fix: navigate to admin after signout
* chore: remove mgrid block
* fix: ts error
* fix: switch role will reload to root page
* fix: update deps
* fix: upgrade formily to 2.2.24
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-08 19:54:00 +08:00
ChengLei Shao
b401c54442
chore(database): append inherit inspect attribute with eager load ( #2010 )
2023-06-08 17:58:39 +08:00
YANG QIA
24601aa66f
feat(auth): support custom authentication ( #2007 )
...
* feat(auth): init auth package & collection
* feat(auth): register
* feat(auth): use authenticator
* feat(auth): mapRoles
* feat(auth): refactor
* feat(auth): base auth class
* feat(auth): add plugin
* chore(auth): test
* chore(auth): add test cases
* feat(auth): authenticators pane
* chore(auth): custom hook useAuthTypes
* feat(auth): authenticator pane
* chore(auth): store options schema using context
* feat(auth): signInPage provider
* feat(auth): signUpPage provider
* chore(auth): solve build errors
* chore(auth): add dependency
* chore(auth): remove dependency cycles
* chore(auth): add plugin-auth to preset
* chore(auth): fix test
* feat(auth): authenticator enable status
* fix(test): fix test using new authentication
* feat(auth): migration, set up basic auth
* chore(auth): can set options ui by component
* fix(test): workflow manunal.test
* fix(test): typo
* feat(auth): support multi-language
* chore(auth): imporve code
* chore(auth): hide button if no configuration
* chore(auth): readme
* chore(auth): remove allowSignup prop
* chore(auth): move configure pane to edit form
* fix(auth): jwt options bug
* feat(auth): init sms-auth
* chore(auth): at least authenticator required
* chore(auth): add test
* feat(auth): support sms auth
* fix(auth): fix test
* chore(auth): move findOrCreateUser to AuthModel
* chore(auth): history compatible processing
* feat(auth): support SAML auth
* chore(auth): saml auth list
* chore(saml-auth): improve ui
* Merge branch 'main' into feat/authentication
* chore(auth): improve code
* fix(saml-auth): fix bug
* fix(saml-auth): fix saml options
* chore(saml-auth): compatible processing && ut
* fix(auth): signin page bug
* chore(auth): saml compatible processing
* feat(auth): oidc-auth
* fix(oidc-auth): bug
* fix(oidc-auth): bug
* fix(auth): fix test
* chore(auth): filter enabled authenticator
* chore(oidc): add field map
* chore(auth): update readme
* docs(auth): create sms-auth readme
* feat(auth): allow signup config
* test(auth): fix test
* feat(auth): allow saml and oidc use http
* chore(oidc-auth): extends timeout
* docs(auth): update readme
* feat(auth): support sort
* docs(saml): update readme
* feat(auth): support sort all authenticator
* Merge branch 'main' into feat/authentication
* Merge branch 'main' into feat/authentication
* feat: improve code
* docs(auth): add doc
* Merge branch 'main' into feat/authentication
* chore: update yarn.lock
* feat: improve code
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: edit
* refactor: auth class
* fix: set options
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: add migrations
* test: fix api-client test
* chore: add sms-auth
* feat: avoid no permission after auth type disabled
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 23:46:42 +08:00
chenos
a1872fa75b
Revert "fix: the edit drawer's audit logs block can only get records by this … ( #1917 )"
...
This reverts commit 42ad77da68
.
# Conflicts:
# packages/core/client/src/block-provider/TableBlockProvider.tsx
# packages/core/client/src/schema-component/antd/filter/useValues.ts
2023-06-07 20:14:02 +08:00
ChengLei Shao
e8e9c038e3
fix: eager load with nested association ( #2002 )
2023-06-07 15:31:29 +08:00
katherinehhh
c3c02d8925
feat: duplicate action ( #1973 )
...
* feat: depulicate action
* feat: depulicate action
* refactor: duplicate action
* refactor: duplicate action
* refactor: duplicate action
* refactor: support quick duplicate
* refactor: local improve
* refactor: local improve
* fix: duplicate intialValue
* refactor: detail action support duplicate
* refactor: action role check
* fix: duplicate support linkage rule
* fix: duplicate action support openMode and openSize
* fix: duplicate action support linkage rule
* refactor: locale
* refactor: detail block support duplicate action
* refactor: code improve
* refactor: code improve
* refactor: duplicate action improve
* refactor: wait time after click is too long, a Duplicating is required
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 11:25:32 +08:00
katherinehhh
8809df3f51
refactor(association-field): useAssociationNames hook ( #1956 )
...
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* refactor: useAssociationNames
* refactor: useCreateActionProps
* refactor: useAssociationNames params
* fix: cleanup
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 11:18:35 +08:00
katherinehhh
83a6cae4e5
fix: assignedField can not select dynamicValue ( #2000 )
2023-06-07 10:54:03 +08:00
被雨水过滤的空气-Rairn
47838889f4
test: add tests for client ( #1960 )
...
* feat: add test utils
* test: fix compatibility problem
* refactor: use esm
* refactor: change require to import
* test: add a test
* chore: optimize launch.json
* chore(jest): optimize config
* test: fix failed
* test(Action): fix failed
* test: migration test from nocobase-next
* test: fix failed
* chore: set css to false
* fix: fix errors
* test(Filter): add test
* test(BlockItem): add test
* test(Calendar): add test
* refactor: migrate testUtils to client
* fix: avoid error
* refactor: fix lint error
* Revert "refactor: migrate testUtils to client"
This reverts commit ae569e2021a5c720111518cf3f2236e761a7186d.
* test: fix test failed
* refactor: migrate tesetUtils to @nocobase/test/client
* fix(Select): fix BUG
* refactor: remove useless code
* Revert "refactor: migrate tesetUtils to @nocobase/test/client"
This reverts commit 70d2211d5af546ae3fffaf5b53a326be8e194b34.
* test(AssociationSelect): add test
* test(CardItem): add test
* test(CollectionSelect): add test
* test(Cron): add test
* test(Details): add test
* test(ErrorFallback): add test
* test(Form): add test
* fix: fix CI
* test(FormItem): add test
* test(FormV2): add test
* test(G2Plot): add test
* test(Gantt): add test
* test(Grid): add test
* test(GridCard): add test
* test(Kanban): add test
* test(List): add test
* test(Menu): add test
* test(Page): add test
* test(Pagination): add test
* test(Preview): add test
* test(RemoteSelect): add test
* test: fix: failed
* refactor: remove useless code
* test(Table): add test
* test(TableV2): add test
* test(Tabs): add test
* test(Variable): add test
* test(Upload): add test
* chore: comment
* Revert "refactor: change require to import"
This reverts commit 3a23607e6faeda6f8b5bee02b9d8fa33bf9d2684.
* refactor: remove useless code
* fix: fix translation bug
* fix: fix export position
* test: update snap
2023-06-07 10:37:10 +08:00
katherinehhh
ac070de216
fix: display title enable ( #1995 )
2023-06-07 00:18:44 +08:00
black
42ad77da68
fix: the edit drawer's audit logs block can only get records by this … ( #1917 )
...
* chore: rename resource function and add comment
* chore: remove AuditLogsDesigner when create audit logs schema
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 20:13:06 +08:00
chenos
e6a2a292b3
feat: upgrade formily ( #1880 )
...
* feat: upgrade formily
* fix: upgrade @formily/json-schema
* fix: optimizing performance
* fix: performance code
* refactor: `React.memo` and `observer` component add `displayName` property
* fix: add cache to Schema.compile
* feat: 优化代码
* fix: 修复卡顿最终的问题
* Update SchemaComponentProvider.tsx
* feat: 再次优化代码
* feat: optimized code
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2023-06-06 19:33:04 +08:00
Junyi
36d16bc015
refactor(plugin-fm): change api and allow to select storage ( #1250 )
...
* refactor(plugin-fm): change api and allow to select storage
* fix(plugin-fm): fix lint errors and demo actions
* refactor(plugin-fm): refactor action codes
* fix(plugin-fm): fix api in test
* fix(plugin-fm): fix build
* fix(plugin-fm): fix locale
* refactor(plugin-fm): hide storage from api and use sourceField param
* fix(plugin-fm): fix storage select load
* fix: improve code
* fix(plugin-fm): change to attachmentField
* refactor(plugin-fm): change middleware name
* fix(plugin-fm): fix params in test cases
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 19:30:42 +08:00
被雨水过滤的空气-Rairn
b33c00be8f
fix: fix default value is invalid in subform ( #1989 )
...
* fix: fix default value is invalid in subform
* perf: use useMemo
* fix: change null to {}
2023-06-06 14:42:37 +08:00
ChengLei Shao
d7e6b7b320
feat(database): add firstOrCreate and updateOrCreate in repository ( #1943 )
...
* chore: tmp commit
* feat: firstOrCreate
* chore: firstOrCreate
* feat: updateOrCreate
* chore: test
* feat: values to filter
* feat: firstOrCreate http api
* fix: build error
2023-06-06 11:36:18 +08:00
ChengLei Shao
57d47371da
feat(database): append child collection name after eager load ( #1978 )
...
* test: eager load with inherit collection name
* feat: append child collection name after eager load
* chore: call build eager loading tree
2023-06-06 11:30:35 +08:00
Junyi
2c9ce09304
feat(plugin-workflow): manual forms ( #1748 )
...
* feat(plugin-workflow): add create record form for manual node
* feat(plugin-workflow): add update form for manual node
* fix(plugin-workflow): fix antd version and menu
* refactor(plugin-workflow): change collection config modal to initializer sub-menu
* test(plugin-workflow): add test case
* fix(plugin-workflow): fix todo components based on forms
* fix(plugin-workflow): fix cycling trigger when create or update
* fix(plugin-workflow): fix transaction in manual processor
* refactor(plugin-workflow): optimize todo list data loading
* fix(plugin-workflow): fix uncommitted manual action effects
* fix(plugin-workflow): fix save multiple forms and only submit one
* chore(plugin-workflow): fix lint
* fix(plugin-workflow): fix lint error
* refactor(plugin-workflow): abstract workflow scoped FormBlockProvider
* fix(plugin-workflow): adjust designable api to use current schema in refresh
* fix(plugin-workflow): fix schema config and support block template
* fix(plugin-workflow): fix lint and build error
* fix(plugin-workflow): adjust components and scope to inner schema component
* fix(plugin-workflow): fix ref template in todo drawer
* fix(plugin-workflow): fix todo form undefined
* fix(plugin-workflow): fix manual form schema
* fix(plugin-workflow): fix manual createdBy/updatedBy user
* fix(plugin-workflow): disable save to template on create form
* fix(plugin-workflow): fix manual form variables
* fix(plugin-workflow): fix FormBlockProvider for default field value
* fix(plugin-workflow): fix manual node variables
2023-06-05 16:52:43 +08:00
ChengLei Shao
ad726e6a94
chore(database): pg oid and name data type in view ( #1982 )
2023-06-05 10:56:34 +08:00
Rairn
76e9240d7d
chore: fix lint
2023-06-04 19:05:32 +08:00
ChengLei Shao
c7b9e6ac51
feat: infer belongs to association field in view collection ( #1756 )
...
support belongs to field in view collection
2023-06-04 13:04:56 +08:00
katherinehhh
60c8d531ef
fix: treeCollection config in detail block ( #1975 )
2023-06-03 14:08:07 +08:00
ChengLei Shao
d86da18006
fix(database): missing reference when rewrite parent field ( #1977 )
2023-06-03 00:06:54 +08:00
Junyi
9076a1d4e4
fix(evaluators): fix number lead key in variable path ( #1976 )
2023-06-02 20:35:11 +08:00
chenos
295faf569d
fix(association-field): form.get & set valuesIn field.path ( #1972 )
...
* fix: useCreateActionProps
* refactor: code improve
* fix: form.getValuesIn(field.path)
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-06-02 00:55:12 +08:00
katherinehhh
7e30b046d9
fix: useCreateActionProps ( #1971 )
2023-06-02 00:03:35 +08:00
ChengLei Shao
4b9150d448
fix(database): update association values with nested associations ( #1970 )
...
* fix: update association values with nested associations
* fix: isReverseAssociationPair
2023-06-01 23:27:57 +08:00
katherinehhh
1aad355950
fix: adding inherited blocks in relation fields under edited operate should only display themselves ( #1967 )
2023-06-01 16:21:12 +08:00
katherinehhh
a69e1acbf4
fix(form-item): data scope and sorting rule config should only display in association field ( #1964 )
...
* fix: data scope and sorting rule config should not display in normal field
* fix: data scope and sorting rule config should not display in normal field
* fix: allowMultiple should display in association field
2023-06-01 11:30:54 +08:00
katherinehhh
e139646d65
fix: select with color tag value ( #1963 )
...
* fix: select with color tag value
* fix: select with color tag value
2023-05-31 22:20:06 +08:00
katherinehhh
ea04d2309e
fix: select toValue ( #1962 )
...
* fix: select toValue
* fix: select toValue
2023-05-31 16:55:52 +08:00
katherinehhh
98be397574
fix: select null value ( #1961 )
2023-05-31 16:00:08 +08:00
chenos
261ca0dbbb
fix(association-field): show add new button when no data
2023-05-31 12:27:24 +08:00
Rairn
fe835ad296
perf(Variable): remove duration
2023-05-31 11:36:19 +08:00
katherinehhh
fdb7ab1866
refactor(sub-form):sub-form style ( #1959 )
...
* style: sub nester style improve
* style: sub-form style improve
* fix: improve code
* fix: null
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-31 10:43:56 +08:00
Rairn
7bf23964c1
fix(Variable.Input): fix error
2023-05-31 09:29:32 +08:00
chenos
3f4cd86465
fix(association-field): array field move
2023-05-30 10:12:58 +08:00
被雨水过滤的空气-Rairn
f286534752
perf(data-scope): async loading of variable data ( #1932 )
...
* refactor: remove useless code
* perf: async loading of user variable data
* perf: async loading children
* perf: add maxDepth
* refactor: use useMemo
* fix: avoid old data
2023-05-29 18:08:21 +08:00
katherinehhh
76ddbf2104
fix: undefined mode ( #1950 )
2023-05-29 16:27:23 +08:00
Dunqing
6d326f424a
fix(grid-card, list): display title only work on current block ( #1942 )
2023-05-29 11:22:38 +08:00
katherinehhh
c0f9c8116a
refactor(linkage-rule): linkage rules condition support toMany association fields ( #1924 )
...
* refactor: linkage rule support to many association field
* refactor: linkage rule support toMany
* fix: support toMany association field
* fix: support toMany association field
* fix: operator support toMany association field
* refactor: useLinkageCollectionFilterOptions
2023-05-29 11:22:04 +08:00
lincode
4296db5859
feat(plugin-manager): better plugin manager experience ( #1927 )
2023-05-29 11:06:54 +08:00
ChengLei Shao
82e6c7bb40
chore(database): sort many to many associations by primary key by … ( #1948 )
...
* chore(database): sort belongs to many associations by primary key by default
* chore: test
* chore: force sync in test
2023-05-28 22:05:25 +08:00
ChengLei Shao
29e66f675e
fix: eager load belongs to many with through table ( #1946 )
...
* fix: eager load belongs to many with through table
* fix: test
* fix: instance accessor
2023-05-27 23:23:09 +08:00
chareice
7d1a087b50
fix: eager load with long through table name
2023-05-27 17:35:30 +08:00
chenos
d7f21460c6
chore(versions): 😊 publish v0.9.4-alpha.2
2023-05-26 17:05:46 +08:00
chenos
1e870cf5ef
fix(association-field): display sub-details by default
2023-05-26 17:01:34 +08:00
ChengLei Shao
ea6f7accc3
fix: parse nested associations in filterParser ( #1941 )
2023-05-26 14:48:20 +08:00
chenos
3ab4a3b68f
fix(association-field): initialize a [null] if no data
2023-05-26 14:27:32 +08:00
chenos
c3d359925c
fix(association-field): allow dissociate ( #1940 )
2023-05-26 12:36:09 +08:00
被雨水过滤的空气-Rairn
fa778b31af
fix(data-template): fix title input prevented proper data switching ( #1937 )
...
* fix(data-template): fix title input prevented proper data switching
* fix: build error
* fix: clear the previous data before switching
2023-05-26 12:08:26 +08:00
katherinehhh
644b6eccb3
refactor: association select display loading when data is loading ( #1925 )
...
* refactor: association select loading
* refactor: association select loading
* refactor: loading
2023-05-26 11:39:16 +08:00
chenos
efbd7c7020
fix(association-field): allow multiple ( #1938 )
2023-05-26 11:38:03 +08:00
Junyi
17ccdee9ab
fix(client): fix some warnings ( #1934 )
...
* fix(client): fix some warnings
* fix(client): fix warning
2023-05-25 18:54:06 -07:00
chenos
9c94840c6b
chore(versions): 😊 publish v0.9.4-alpha.1
2023-05-25 22:48:39 +08:00
chenos
2ebb6737c3
feat(docs-theme): update changelog link
2023-05-25 22:21:52 +08:00
ChengLei Shao
27a74906ff
chore: load view collection when source not found ( #1930 )
2023-05-25 21:46:58 +08:00
被雨水过滤的空气-Rairn
e61568ac57
feat(data-template): support to set data scope and title field ( #1918 )
...
* refactor: optimize
* feat(Data-template): support to set data scope and title field
* fix: fix error when no template data
* fix: fix error
* fix: operator
* chore: remove id
* fix: filter
* fix: should be global
* fix: submit
* fix: global sync
* fix: title field
* fix: fix filter
* fix: fix first created
* fix: collection
* fix: collection
* fix: collection
* chore: should show N/A
* Revert "chore: should show N/A"
This reverts commit 00c91d77612aea0801fec88b5f3f91e4be999439.
* chore: should show N/A
* chore: remove useless code
2023-05-25 17:09:29 +08:00
被雨水过滤的空气-Rairn
c722ca41d9
feat(data-template): support for unlimited levels of fields selection ( #1910 )
...
* refactor: use useMemo
* refactor: use useCallback
* feat(Data-template): change maxDepth from 3 to 10
* feat(Data-template): support for unlimited levels of fields selection
* fix: fix invalid selection
* fix: should be updated when data changes
* feat: parent treeNode and children treeNodes are not associated
* fix: avoid error
* fix: fix error
* chore: remove notification
* fix: parant node should be selected when child is selected
* fix: auto select all ancester nodes
2023-05-25 15:23:32 +08:00
black
948d39bab4
chore: when using association field by picker mode,it's open size can be changed ( #1926 )
2023-05-25 13:05:00 +08:00
被雨水过滤的空气-Rairn
e787890671
fix(ConfigurationTabs): avoid error ( #1782 )
2023-05-25 12:24:47 +08:00
katherinehhh
0086037425
fix: tableField query data in add child action ( #1876 )
2023-05-25 12:23:48 +08:00
被雨水过滤的空气-Rairn
49117afb72
refactor: front-end testing with vitest ( #1900 )
...
* refactor: front-end testing with vitest
* fix: fix build failed
2023-05-25 10:40:08 +08:00
李小斐
c603108542
fix: disable popup button in add-modal ( #1808 )
...
* fix: disable popup button in add-modal
* fix: disable popup button in form block
2023-05-25 10:33:59 +08:00
ChengLei Shao
710bd2dfd2
fix: append acl resource params ( #1923 )
...
* test: append acl resource params
* fix: test
2023-05-24 21:31:12 +08:00
ChengLei Shao
7080db72eb
chore: update guard with array contains null ( #1922 )
2023-05-24 11:24:15 +08:00
katherinehhh
e299f5452c
refactor: initialization when switching field components ( #1915 )
...
* fix: toManyNester only display one data
* fix: sub-nester
* fix: initialValue
* fix: [null]
* fix: record picker initValue
* fix: initValue filter
* fix: association select initialValue filter
* fix: association select initialValue filter
* fix: [null]
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-24 10:36:29 +08:00
Rairn
a0dd58e7e3
fix(Data-templates): avoid errors and add log
2023-05-23 16:18:01 +08:00
katherinehhh
58fda41513
fix(association-field): only when the new data is successfully created can the data be associated ( #1884 )
...
* fix: only when the new data is successfully created can the data be associated
* fix: associate empty object data
* Update index.ts
* fix: to many nester cannot be deleted when there is one data
* fix: code improve
* fix: association field add new button should not drag
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-23 15:48:08 +08:00
ChengLei Shao
6fb569cf0d
fix: eager load with belongs to many with custom source key ( #1913 )
2023-05-23 15:03:32 +08:00
xilesun
3b732d6db7
fix(ui): dnd error read properties of null
2023-05-23 11:02:40 +08:00
katherinehhh
d0f2bd96a8
fix: hiding the title of a subform will hide all embedded titles ( #1904 )
...
* fix: hiding the title of a subform will hide all embedded titles
* fix: display title not immediately effective
2023-05-23 09:50:20 +08:00
katherinehhh
0318034b7c
fix: updateAssociationValues ( #1903 )
2023-05-23 09:44:17 +08:00
xilesun
518ca740f8
fix(locale): translation typo
2023-05-22 19:58:55 +08:00
black
db349ccb68
fix: can't set default value when turn on the form field required ( #1887 )
...
* fix: can't set default value when turn on the form field required
* fix: can't set default value when turn on the association select field required
2023-05-22 17:22:01 +08:00
被雨水过滤的空气-Rairn
110b00bc01
fix(Data-template): fix bug when deleting fields ( #1907 )
...
* chore: add translation
* fix(Data-template): fix bug when deleting fields
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-22 17:17:33 +08:00
YANG QIA
d35f67d2e1
feat(app): add clear cache button ( #1909 )
2023-05-22 17:16:12 +08:00
ChengLei Shao
5288cbb1cf
fix: eager load belongs to many association ( #1906 )
2023-05-22 16:09:37 +08:00
被雨水过滤的空气-Rairn
e27cff15c9
feat: support to-multi field variables ( #1680 )
...
* feat: support to parse association variable
* chore: change comment
* feat(operators): support array as value in string operator
* refactor: add a special marker
* feat: date support to-multi field variables
* feat: support for notIn
* refactor: rename
* test: fix test error
* Revert "test: fix test error"
This reverts commit 3d139698f6295678a39b77b08c88427f9fafe247.
* Revert "refactor: rename"
This reverts commit 2e16225c038e18ee25f1136d510cb4746bd9932f.
* Revert "feat: support for notIn"
This reverts commit 2087e5c4da1429b260890d5136c714ad541955a9.
* Revert "feat: date support to-multi field variables"
This reverts commit 0d7b2db0512ba7b632a2ab61f37cf83c0d06b9a1.
* Revert "refactor: add a special marker"
This reverts commit 7ba2e4bc00d79f60a2e90340df65b2938985750a.
* Revert "feat(operators): support array as value in string operator"
This reverts commit 0897cd19e9863248ef9e2af6c91ee14e805778a4.
* refactor: improve code
* test: fix can not import style file
* feat: only eq and ne oprators support mutil relation fields
* test: add example.test.ts
* refactor: remove jsonata
* Revert "test: add example.test.ts"
This reverts commit 0ad2ea458cd8a964891490d2021a5b000f391395.
* test: fix error
* fix: fix error
* refactor: remove async
* chore: rebase
* test: fix error
* test: fix errors
2023-05-21 17:18:35 +08:00
ChengLei Shao
aabc681245
fix: append belongs to association with fields ( #1894 )
2023-05-20 21:31:27 +08:00
ChengLei Shao
ccdc05b30b
fix: appends belongs to association ( #1893 )
...
* fix: merge stage in eager loading tree
* chore: test
2023-05-20 20:36:07 +08:00
katherinehhh
cb2feb304d
fix: preload relational data ( #1847 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: appends
* fix: sub-table-appends
* fix: undefine id
* fix: sub-table appends
* fix: sub-table-appends
* fix: sub-table-appends
* fix: association field appends
* fix: association field appends
* fix: association field appends
* fix: sub-table appends
* fix: runWhenParamsChanged
* fix: runWhenParamsChanged
* chore: eager loading tree
* feat: load eager loading tree
* fix: support mutiple row
* fix: support blockTemplate appends
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* fix: dynamic appends not support template schema
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: useAssociationNames
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
* fix: support template block schema
* fix: sub-nester-appends
---------
Co-authored-by: Chareice <chareice@live.com>
2023-05-20 17:42:26 +08:00
YANG QIA
eac034cb23
feat: support reboot application manually ( #1889 )
...
* feat(reload-btn): reload application manually
* feat(app): support reboot
* feat: collections load after upgrade
* feat(reboot): support reboot manually
* chore(reboot): some typo
* fix(reboot): fix storage path
* fix(reboot): change restart file path
* fix: menu divider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
ChengLei Shao
c0ef071baf
Refactor/append fields ( #1883 )
...
* chore: eager loading tree
* feat: load eager loading tree
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
2023-05-19 16:39:00 +08:00
ChengLei Shao
ac5f3fd67e
chore: pg sql parser ( #1890 )
2023-05-19 15:30:44 +08:00
katherinehhh
27cdd7b78a
fix: field required when setting sorting rules ( #1885 )
2023-05-18 22:23:47 +08:00
chenos
e0646650f0
fix(database): migrations table name missing table prefix
2023-05-18 14:51:51 +08:00
chenos
a26ac4f217
docs: routes demo
2023-05-17 18:06:19 +08:00
chenos
be50cb5929
chore: remove link to field and association fields filter
2023-05-17 17:04:33 +08:00
katherinehhh
63f7112e0a
feat(association-field): default one data for to-many association ( #1873 )
...
* refactor: default one data for multiple association
* refactor: default one data for multiple association
* refactor: default one data for multiple association
* fix: initial value
* fix: add new
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-17 14:26:11 +08:00
JoGosGitHub
770f53ec4e
Feat/translation es_ES ( #1801 )
...
* feat: client and plugin translation ES
* fix: es translation
* fix: es translation
2023-05-17 11:39:37 +08:00
Dunqing
fdca52ae60
fix: data is not updated when appends are changed ( #1872 )
2023-05-17 11:38:42 +08:00
katherinehhh
3603b2fe23
fix:association select no options when clearing filter ( #1866 )
...
* fix: inherit fields filter Foreign Key fields
* fix: association select no options displayed when clearing filter
* fix: association select no options displayed when clearing filter
2023-05-17 11:37:54 +08:00
chenos
3b8af6e863
feat(client): change the order of blocks
2023-05-17 11:36:41 +08:00
YANG QIA
f5d6dd7d09
fix(acl): issue with repeated createdById field ( #1871 )
2023-05-16 20:33:05 +08:00
Rairn
fbbd90ca3c
chore: avoid error
2023-05-16 20:16:45 +08:00
Rairn
2e4636a8ca
chore: avoid errors generated by collectionField
2023-05-16 20:09:36 +08:00
Rairn
8ba90b126f
fix: avoid error
2023-05-16 19:51:07 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select ( #1869 )
2023-05-16 02:07:56 -07:00
katherinehhh
190ba4db1f
fix: inherit fields filter Foreign Key fields ( #1864 )
2023-05-16 11:28:35 +08:00
Junyi
238af440e3
feat(plugin-workflow): loop ( #1787 )
...
* feat(plugin-workflow): add loop instruction
* fix(plugin-workflow): fix lint error
* feat(plugin-workflow): add loop variable in client
* feat(plugin-workflow): refactor and add job list to nodes in execution
* feat(plugin-workflow): allow to query multiple records
* fix(plugin-workflow): fix i18n
* fix(plugin-workflow): fix undefined value in component
* fix(plugin-workflow): fix parse context value with current node
* fix(plugin-workflow): fix revision with scope variable
* test(plugin-workflow): add failing case
* fix(plugin-workflow): fix revision with scope variable
* chore(plugin-workflow): fix lint errors
* fix(plugin-workflow): fix workflow canvas page style
* fix(plugin-workflow): revert abstracted node config drawer back to each node
* fix(plugin-workflow): fix parallel extra call
* fix(plugin-workflow): fix parallel branch end
* fix(plugin-workflow): fix jobs variable in processor
* fix(plugin-workflow): fix workflow canvas scroll style
* fix(plugin-workflow): fix slowly opening job modal
* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
katherinehhh
8cf3c40ad4
fix: insertAdjacent not find ( #1861 )
2023-05-16 09:20:45 +08:00
katherinehhh
d58174011c
refactor(add-new):association field add new support button edit ( #1854 )
...
* feat: assoociation add new supoort button edit
* feat: assoociation add new supoort button edit
* fix: add new button type
* refactor: add new support button edit
2023-05-16 09:06:03 +08:00
Dunqing
3a77e4376a
feat: support List and Grid Card block ( #1753 )
...
* feat: support details block
* feat: rename to list
* fix: imports
* feat: improve list block
* feat: support title hidden
* fix: showTitle default value
* feat: support table column actions
* feat: support appendsOnDemand
* feat: reuse same schema items
* feat: shouldn't display pagination when pages only one
* feat: block order
* feat: support card list
* fix: appends on demand
* fix: remove unused code
* fix: params
* fix: improve default pageSize
* feat: improve performance
* feat: add title designer
* feat: improve huge performance
* fix: better key
* feat: improve schema perf
* feat: improve initializer
* fix: improve grid perf
* fix: avoid haven't properties
* feat: support automatic run service when params changed
* fix: revert params
* fix: grid col width
* refactor: improve CardList performance
* fix: initializer related
* feat: i18n supports
* fix: improve get schema
* fix: create new form
* fix: revert code
* feat: css improve
* fix: i18n copy
* refactor: the CardList rename to GridCard
* feat: remove AssociationFilter item
* fix: edit and view data is incorrect
* feat: remove bulk actions
* feat: improve action bar
* feat: supports configuration of columns with different screen sizes
* fix: incorrect place to save the template
* feat: keep height in all card
* fix: remove console
* fix: rename
* refactor: improve GridCard implementation
* feat: support import/export actions
* fix: remove padding when actions is empty
* fix: remove incorrect import
* fix: remove unused props
* fix: action place
* feat: improve column count
* refactor: remove appendsOnDemand, and use useAssociationNames instated it
* fix: incorrect component
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
被雨水过滤的空气-Rairn
19a33dfe74
fix: fix multi-select field not show 'Allow multiple' switch ( #1857 )
...
* fix: fix multi-select field not show 'Allow multiple' switch
* fix: use uiSchema
2023-05-15 15:26:46 +08:00
katherinehhh
d2e92ead7f
fix: field for attachment interface type without appends ( #1856 )
...
* fix: attachment without appends
* fix: association fields appends
2023-05-15 11:08:38 +08:00
chenos
83749ccd53
fix(client): import declaration conflicts with local declaration of 'DeletedField'
2023-05-15 11:06:31 +08:00
李小斐
975b7dfe93
fix: action error when field deleted ( #1849 )
...
* fix: action error when field deleted
* fix: delete field cannot set dynamic value
2023-05-15 09:34:14 +08:00
ChengLei Shao
1c757bd025
feat: support running single sub app ( #1853 )
2023-05-14 16:48:53 +08:00
Rairn
ff6f37c589
refactor(Form): rename
2023-05-13 11:06:33 +08:00
katherinehhh
77b7adb97c
fix: assign field with delete field ( #1850 )
2023-05-13 11:01:01 +08:00
chenos
3a8db04161
fix: use AssignedField
2023-05-13 10:51:32 +08:00
chenos
901c05bc35
fix: dropdownMatchSelectWidth: false
2023-05-12 14:33:20 +08:00
katherinehhh
81b3afb57b
fix: title field in assign fields value ( #1848 )
2023-05-12 13:42:18 +08:00
chenos
94284c6210
fix: mode undefined
2023-05-12 10:20:02 +08:00
katherinehhh
3fcdd94549
fix:association appends ( #1842 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-05-12 07:20:27 +08:00
Rairn
eccfac5666
fix: fix translations
2023-05-11 16:59:25 +08:00
Rairn
d34b3fc5e3
chore: add translations
2023-05-11 16:56:05 +08:00
katherinehhh
a7dcbf4288
fix(block-provider): getNesterAppends filter fix ( #1839 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
2023-05-11 15:45:47 +08:00
ChengLei Shao
f8fa36d016
feat: repository aggregate method ( #1829 )
...
* feat: repository aggregate method
* chore: aggregate with distinct
* feat: has many repository aggregation
* feat: belongs to many repository aggregation
* chore: using model aggregate method
* chore: aggregate with association filter
* chore: aggregate type
* chore: type error
2023-05-11 15:16:33 +08:00
chenos
cf0a921f85
chore(versions): 😊 publish v0.9.3-alpha.1
2023-05-11 12:49:18 +08:00
katherinehhh
55efa40cdd
refactor: association field ( #1838 )
...
* feat: association field
* fix: bug
* refactor: association field
* style: style improve
* style: style improve
* refactor: support subtable
* refactor: support file collection
* refactor: locale improve
* refactor: subtable improve
* refactor: association select improve
* refactor: association select improve
* refactor: association select improve
* refactor: useAssociationNames
* refactor: enable link
* refactor: selector
* refactor: selector
* refactor: locale improve
* refactor: on demand loading of relational data
* refactor: locale improve
* refactor: select button
* refactor: association field
* refactor: formformBlock provider
* refactor: formformBlock provider
* refactor: internalSelect recordPicker
* refactor: formBlocklockProvider
* fix: addNewer schema
* fix: useServiceOptions
* fix: useCreateActionProps
* fix: useCreateActionProps
* refactor: nester delete
* refactor: nester delete in detail
* refactor: subTable suport select
* refactor: subTable suport select
* style: style improve
* style: style improve
* chore: fileManger
* fix: association readPrety
* fix: filemanger
* refactor: field mode
* refactor: enable link
* chore: error message
* refactor: association schemaInitialize
* refactor: association schemaInitialize
* refactor: currentMode
* refactor: field mode default value
* fix: file manage readPretty
* fix: appends
* chore: file manage readPretty
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: nester appends
* fix: nester appends
* fix: tree collection association fields
* fix: tree collection association fields
* fix: nester appends
* fix: subtable to select field value missing
* fix: subtable to select field value missing
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* feat: add migration
* fix: filter block allow add new
* fix: compatible with historical blocks
* fix: skip if not RecordPicker
* fix: compatible with historical blocks
* fix: detail block not support nester
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
ChengLei Shao
ecd7540f7a
fix: tree with fields option ( #1833 )
2023-05-10 16:32:36 +08:00
Junyi
fab448c486
fix(client): fix ime status in variable textarea ( #1832 )
2023-05-10 00:57:59 -07:00
ChengLei Shao
8183ff5564
chore: should not return children property when child nodes are empty ( #1825 )
2023-05-09 16:48:40 +08:00
ChengLei Shao
088acd906d
fix: tree with sort field ( #1822 )
2023-05-09 12:10:53 +08:00
ChengLei Shao
2c29daedb5
fix: filter with appends ( #1819 )
2023-05-08 11:18:42 +08:00
Rairn
c8c081eba5
fix(filter-form): avoid error
2023-05-08 07:25:54 +08:00
ChengLei Shao
7b550ce5aa
Fix/filter by array field ( #1813 )
...
* test: filter by association array field
* fix: match operator in pg
* chore: cast
2023-05-07 23:08:41 +08:00
ChengLei Shao
b3d4e47ef3
Fix/empty tree query ( #1814 )
...
* fix: empty tree query
* fix: traverse get
2023-05-07 23:08:20 +08:00
katherinehhh
8aee0eef9b
fix: association scope inherit ( #1806 )
2023-05-06 21:44:01 +08:00
ChengLei Shao
54432a4314
fix: update tree node ( #1812 )
...
* fix: update tree node
* chore: test
2023-05-06 15:14:05 +08:00
ChengLei Shao
258f4e980d
fix: list trees ( #1810 )
...
* fix: list trees
* fix: test
2023-05-06 14:28:13 +08:00
ChengLei Shao
b8c85c91b4
test: filter nested association ( #1802 )
...
* test: filter nested association
* chore: log
* fix: tree instance to json
* ci: test case
* chore: test
* chore: log
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-06 07:55:26 +08:00
Jack
d0edc6ce3f
fix: table configuration delete button problem ( #1764 )
...
* fix: table configuration delete button problem
* fix: change copy
* refactor: optimize code
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-05-05 11:30:10 +08:00
李小斐
7feeda4906
fix: fix Menu dismiss on Drag&Drop ( #1772 )
2023-05-05 11:03:49 +08:00
katherinehhh
89938191a3
fix(linkage-rule): condition variable field is allow select To many association fields ( #1798 )
...
* fix: linkage rule condiction variables allow select to manyassociation field
* fix: linkage rule condiction variables filter
* fix: linkage rule condiction variables filter
2023-05-05 10:59:33 +08:00
katherinehhh
6d342d0643
chore: duration calculation ( #1770 )
2023-05-05 10:51:25 +08:00
ChengLei Shao
e5d286a131
fix: tree performance ( #1779 )
...
* chore: tree performance
* chore: build index value
* chore: get tree index
* fix: children key
* fix: test
* fix: tree child to json
* fix: tree with fields
2023-05-05 10:33:44 +08:00
Rairn
9be1f7ac61
fix(RecordPicker): avoid error
2023-05-04 18:14:34 +08:00
black
5c29262c95
fix: close the drawer incorrectly after submit ( #1775 )
2023-05-03 23:11:52 +08:00
ChengLei Shao
d4636311e8
Fix/recreate association field ( #1789 )
...
* chore: test
* fix: recreate association with same name as field
2023-05-03 08:05:55 +08:00
black
cba7de55d8
fix: drop repeated "Connect data blocks" ( #1763 )
2023-05-02 17:05:12 +08:00
katherinehhh
03f845246e
fix: failed to open child collections add new modal ( #1780 )
2023-04-30 11:21:24 +08:00
Junyi
eb0089190e
fix(utils): fix json-templates bug and moved to utils ( #1784 )
2023-04-28 22:22:08 +08:00
Junyi
4db3b283b0
fix(evaluators): fix date result in variable ( #1781 )
2023-04-28 14:50:35 +08:00
Rairn
23ad507261
chore: fix lint errors
2023-04-27 15:22:34 +08:00
李小斐
7ddc5fb33c
fix: fix button design about edit action ( #1755 )
...
* fix: fix button design about edit action
* fix: fix import module
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.Design.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* fix: fix merge error
---------
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
2023-04-27 15:09:45 +08:00
ChengLei Shao
f0816c663e
chore: enable overring field default value ( #1777 )
2023-04-27 13:36:41 +08:00
chenos
923f6e7884
chore(versions): 😊 publish v0.9.2-alpha.4
2023-04-26 22:33:55 +08:00
chenos
77a6cbf773
chore: cleanup
2023-04-26 22:32:45 +08:00
ChengLei Shao
76527465f3
feat: node args in pm2 runtime ( #1774 )
2023-04-26 20:54:38 +08:00
被雨水过滤的空气-Rairn
e45b3ce95c
fix: hide default value for expression ( #1765 )
2023-04-26 00:23:31 -07:00
被雨水过滤的空气-Rairn
07d1c7ccc0
fix(AssociationSelect): fix x-read-pretty not working ( #1766 )
...
* fix: the default value input should not be disabled
* fix(AssociationSelect): fix x-read-pretty not working
2023-04-26 13:54:15 +08:00
Jack
de5260bc2c
fix: fixed the configuration field filter ( #1742 )
...
* fix: fixed the configuration field filter
* fix: batch update filter automatic number field
* refactor: optimize code
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-04-26 11:20:58 +08:00
black
00b3c8c257
fix(filter-block): fix association fields not being filtered ( #1758 )
2023-04-26 10:43:48 +08:00
被雨水过滤的空气-Rairn
95e4e7e7b0
fix(variable-input): fix style ( #1761 )
...
* fix(variable-input): fix style
* refactor: avoid lint error
* feat: add invariable
* fix: fix the default value variable of the expression is empty
2023-04-26 09:56:25 +08:00
ChengLei Shao
9101bbbb1b
chore: skip sync overriding field default value ( #1762 )
...
* chore: skip sync overriding field default value
* chore: test
* chore: override field does not allow setting default values
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-25 19:31:16 +08:00
katherinehhh
5d95eed09a
fix: gantt abnormal drag and drop update action ( #1760 )
2023-04-25 17:59:31 +08:00
Rairn
bc8d81333b
fix: fix error when clear RecordPicker
2023-04-25 16:45:03 +08:00
Rairn
0a8fd44816
fix: fix error with setting default value for date type
2023-04-25 16:18:08 +08:00
Rairn
ea33974ec5
fix: the default value Input should not be disabled and hidden
2023-04-25 16:05:15 +08:00
chenos
9756dd134b
chore(versions): 😊 publish v0.9.2-alpha.3
2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
fb997bc6b3
fix: remove updateCollection
2023-04-24 23:40:34 +08:00
chenos
e087be887b
fix(collection-manager): filter null
2023-04-24 22:56:37 +08:00
李小斐
c03d271481
feat: deleted collection field give some tips ( #1744 )
...
* feat: deleted collection field give some tips
* chore: optimize traslation
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-04-24 21:49:56 +08:00
被雨水过滤的空气-Rairn
cd596925ee
chore: optimize the white screen problem ( #1639 )
...
* chore: add react-error-boundary
* fix: optimize the white screen problem
* fix: fix translation
2023-04-24 16:40:02 +08:00
Rairn
5fa490e9a1
fix(data-templates): fix unselectable problem
2023-04-24 16:14:55 +08:00
Rairn
d79af627ec
fix: avoid errors
2023-04-24 15:21:42 +08:00
李小斐
fbe73d1e80
fix: plugin-manage and designable-switch add tooltip ( #1749 )
2023-04-24 14:29:26 +08:00
Rairn
5868cfa8a0
fix(collection-manager): fix incorrect grouping
2023-04-24 10:44:35 +08:00
Rairn
7d63262f8e
fix: avoid errors
2023-04-24 10:29:01 +08:00
Rairn
460d69fba8
fix(collection-manager): should expand all rows by default when adding a new field
2023-04-24 10:10:37 +08:00
Rairn
683db5b3ba
fix(collection-manager): fix table layout
2023-04-23 18:30:07 +08:00
YANG QIA
25d2ebf02a
chore(comment): collectionOptions.duplicator ( #1752 )
2023-04-23 18:29:48 +08:00
李小斐
6d693a5ab6
fix: custom column title, same as form field title ( #1745 )
2023-04-23 18:29:17 +08:00
被雨水过滤的空气-Rairn
b1068f2d51
feat: support to use variables to set default value ( #1726 )
...
* fix: fix the default value being overwriitten
* feat: supports association fields to set default value
* feat: support to toggle multiple
* feat: support to use variables to set default value
* refactor: migrate hooks
* fix: fix the title disappearing
* feat: suport to use current-user variable
* fix: fix error
* fix: one to one and one to many should not support to set default value
* fix: fix error when searching
* style: set the width of modal
* fix: should not support to set default value for system fields
* refactor: fix lint error
* style: optimize inputNumber width
* refactor: extract to one function
* refactor: extract function
* fix: should not display default when field is readPretty
* style: optimize width of select
* fix: avoid error
* fix: should not display multiple option when subtable
* fix: should not display default when attachment
* fix: chinaRegion
* chore: optimize code
* fix: build error
* fix: multiple should be true by default
* refactor: optimize code
* fix: fix Select multiple mode
* refactor: optimize code
* fix: width
2023-04-23 18:27:21 +08:00
Rairn
7b9bfa116f
refactor: fix lint error
2023-04-22 12:36:07 +08:00
Junyi
4c232980b5
fix(client): fix initializer meno props based on antd@^4.24 ( #1746 )
2023-04-22 11:27:19 +08:00
被雨水过滤的空气-Rairn
71af0f16a9
fix: improve the display of the title field ( #1741 )
...
* fix: fix the displaying problem of Select
* fix: fix error
* fix: filter out fields
* feat: format date
* feat: optimize
* fix: fix error
* feat: use the default title field
* fix: fix bug
2023-04-22 11:04:10 +08:00
Jack
7b892cec50
fix: batch edit deletes relational table fields ( #1743 )
2023-04-22 11:01:16 +08:00
katherinehhh
564fe24c8a
style: automatically omit table cell content based on width ( #1646 )
...
* style: automatically omit cell content based on width
* fix: cell tooltips are only displayed when the width is exceeded
* chore: multiple select ellipsis in table collection
* fix: no automatic thumbnail when table column content exceeds width
* refactor: table ellipsis
* refactor: isOverflowTooltip
2023-04-22 10:36:21 +08:00
被雨水过滤的空气-Rairn
3c884cdd36
feat(collection-manager): support for setting the title field ( #1729 )
...
* feat: configure fields
* feat: edit
* feat: enable delete action
* style: indent style
* feat: support to override and view inherited fields
* feat: support to delete and add field and sync
* fix: should delete the seleted option
* feat: support to setting title field
* feat: avoid infinite loops and add default title field
* feat(data-templates): use titleField to display title
* fix: fix the pagination of collection manager
* feat: add prompt for title field switch
* feat: filter field types
* feat: not use title switch when field interface is icon
* feat: translate
* fix: sync update collections data
* feat: translate
* fix: fix build error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-21 11:19:59 +08:00
chenos
5930218811
fix: acl scope support variables ( #1660 )
...
* fix: acl scope support variables
* fix: parse filter
* fix: dynamicComponent
2023-04-21 11:13:43 +08:00
black
9c4f1a8d7f
fix: filter-condition-update-incorrectly(switch "and"、"or") ( #1737 )
2023-04-21 11:04:46 +08:00
Dunqing
8352f1a7a3
fix: remove unwanted semicolons
2023-04-20 16:03:22 +08:00
Liz
4b91b2575a
fix: correcting misspelled word ( #1731 )
...
line 160: Plugin staring --> Plugin starting
2023-04-20 10:46:43 +08:00
被雨水过滤的空气-Rairn
c02544c68b
fix(FilterFormBlock): fix association field can not to filter ( #1699 )
...
* feat: add getValuesByPath
* fix(FilterFormBlock): fix association field can not to filter
* test: hasMany filter test
* fix: remove null in filter
* fix: fix not responding for filter button
* fix: fix oho and o2m and obo
* fix: fix isInFilterFormBlock
* fix: fix errors
* fix: should filter out when params is empty
---------
Co-authored-by: chareice <chareice@live.com>
2023-04-19 23:06:20 +08:00
Dunqing
1260a8df8b
fix: missing spacing after dragging ( #1671 )
...
* fix: missing spacing after dragging
* fix: avoid scrollbar
* Update Grid.tsx
remove unused code
2023-04-19 23:00:02 +08:00
chenos
b0aa0e2c41
fix: check if primary key exists
2023-04-19 22:44:34 +08:00
ChengLei Shao
ddb6d69676
fix: load view collection ( #1727 )
...
* fix: load view collection
* refactor: using graphlib at collections load
* test: destory through collection
* feat: throw error when collection manager cycle found
* test: view collection as through collection
2023-04-19 17:59:49 +08:00
chenos
fa1785316d
fix(client): option.schema?.['x-component']
2023-04-19 16:20:20 +08:00
chenos
3dfd5a1f7a
chore(versions): 😊 publish v0.9.2-alpha.2
2023-04-19 13:10:55 +08:00
saxon-y
3e2b0a3e89
fix: press enter to reload when the Pagination is focused ( #1720 )
2023-04-19 12:22:01 +08:00
Junyi
a5b4684a48
refactor(plugin-workflow): change single form to custom form block ( #1707 )
...
* refactor(plugin-workflow): change single form to custom form block
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix manual node initializer
* test(plugin-workflow): migrate test cases
* refactor(plugin-workflow): split custom form code
* fix(plugin-workflow): fix types
* refactor(plugin-workflow): change manual form config data structure
* fix(plugin-workflow): fix no options manual node variable
* fix(plugin-workflow): fix migration script
2023-04-18 18:41:18 -07:00
Junyi
a3a91965c7
fix(client): fix error on clear value in variable input ( #1723 )
2023-04-18 06:44:53 -07:00
被雨水过滤的空气-Rairn
2d2e949452
fix(record-picker): fix the table paging problem ( #1718 )
...
* fix(record-picker): fix the table paging problem
* fix(recorder-picker): de-duplication
2023-04-18 10:23:27 +08:00
katherinehhh
f5df009465
fix: data scope not effect in gantt ( #1716 )
2023-04-17 18:05:24 +08:00
katherinehhh
eeb07112c7
fix: button loading does not disappear when the operation submit failed ( #1698 )
...
* fix: button loading does not disappear when the view operation submission failed
* fix: add field button loading
* refactor: code improve
2023-04-17 17:20:35 +08:00
katherinehhh
12f95810d0
fix(linkage rule):multiple select condition judgment failed ( #1715 )
...
* fix: linkageCollectionFilterOptions
* fix: multiple select condition judgment failed
* fix: multiple select condition judgment failed
* fix: multiple select condition judgment failed
2023-04-17 17:19:54 +08:00
ChengLei Shao
9fc8f5389b
Fix/save through table data ( #1714 )
...
* fix: save through table data
* chore: variable name
* fix: format
2023-04-17 14:46:16 +08:00
Dunqing
1654b42037
feat: improve ui design for linkage action ( #1659 )
...
* feat: improve ui design for linkage action
* revert
* fix: not working
2023-04-17 10:30:13 +08:00
被雨水过滤的空气-Rairn
06d67a93ab
feat(map): support to filter other blocks ( #1691 )
...
* feat(Map): support to filter other blocks
* feat: highlight marker when selected
* feat: clear filter params when cancel connect
* feat: support line and polygon
2023-04-17 10:12:49 +08:00
katherinehhh
e8bb962389
refactor: improve linkage rule enable ( #1700 )
2023-04-17 09:28:22 +08:00
Rairn
76faa9e30c
fix(data-templates): filter out some fileds
2023-04-16 19:14:12 +08:00
Rairn
11fb951b55
fix(data-templates): should also show data-templates option when add new subrecord
2023-04-16 18:57:25 +08:00
ChengLei Shao
221c90d835
fix: find fields arg ( #1710 )
2023-04-16 17:30:39 +08:00
Rairn
6abe97291e
fix(data-templates): fix subform
2023-04-16 17:25:18 +08:00
chenos
2a05e60504
fix: data template filter
2023-04-16 16:56:35 +08:00
被雨水过滤的空气-Rairn
69bc18e166
feat(form-block): data templates ( #1704 )
...
* feat(Form): support to select existing data as template
* refactor: extract useDataTemplates
* feat(Form): support to use template
* fix: template switch
* fix: fix association field
* fix: filter fields
* fix: fix unselected default value
* fix: avoid errors
* refactor: remove useless code
* refactor: move templateSelect to FormBlockProvider
* feat: add a checkbox to toggle template selector
* feat: change the options order
* feat: hide Collection option when no inherit
* fix: optimize the label text
* fix: should empty form
* fix: should hide configuration when is not added
* chore: change text
* fix: template selector not displayed
* feat: optimize template
* feat: data template middleware
* fix: template select
* fix: default
* fix: fields
* feat: field delete button changed from hidden to disabled
* fix: improve code
* fix: prefix error
* fix: items
* feat: use Tree
* fix: maxDepth
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-16 14:22:46 +08:00
Rairn
67dc21baf7
fix: avoid errors
2023-04-14 23:34:58 +08:00
katherinehhh
cd78192f84
fix: linkage relationship data condition judgment failed ( #1681 )
2023-04-14 22:46:21 +08:00
katherinehhh
dca370eacf
fix(gantt): update permission check in gantt block ( #1701 )
...
* fix: view collection can update in gantt
* fix: gantt update without acl check
* style: style improve
* style: style improve
* style: style improve
* style: style improve
2023-04-14 22:08:01 +08:00
katherinehhh
2e95d3bf85
fix: clearFormGraph ( #1706 )
2023-04-14 21:57:44 +08:00
Junyi
0450789d63
fix(plugin-workflow): fix request body variable component ( #1703 )
...
* fix(plugin-workflow): fix request body variable component
* fix(client): add missed file
2023-04-14 16:46:51 +08:00
katherinehhh
d0171b179f
fix(gantt): improve task bar text ( #1696 )
...
* fix: progress value is too large, resulting in incorrect calculation of bar width
* style: style improve
* style: style improve
2023-04-13 15:00:41 +08:00
Dunqing
74e2811255
fix: long text should be line feed ( #1686 )
...
* fix: long text should be line feed
* feat: remove unused styles
2023-04-13 14:26:14 +08:00
Dunqing
ca88638edf
fix: cannot display data when remove last page and the page only just one item ( #1685 )
...
* fix: cannot display data when remove last page and the page only just one item
* fix: hidden pagination when pageSize = totalSize
2023-04-13 14:14:26 +08:00
katherinehhh
2ed3565d43
fix: linkage rule title can not set empty ( #1688 )
2023-04-12 12:25:35 +08:00
Dunqing
1fdc456c0b
feat: improve plugin manager ui ( #1650 )
...
* feat: improve plugin view
* feat: work compatibility
* feat: avoid cause error
* feat: complete
* docs: revert
* fix: header cannot displayed
* feat: improve
* feat: update page css
* feat: update fixedblock design
* chore: upgrade antd
* fix: improve code
* fix: build error
* fix: build error
* fix: pagination cannot be fully displayed
* feat: improve
* fix: ts error
* chore: sqlite view field test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2023-04-12 12:24:09 +08:00
katherinehhh
95bab2de33
refactor: style improve
2023-04-12 11:44:04 +08:00
katherinehhh
1a933315e4
feat: gantt block ( #1393 )
...
* feat: add Gantt block
* feat: gantt block congiure action
* feat: gantt block congiure fields
* feat: gantt block congiure fields
* feat: gantt block congiure fields
* feat: gantt block code improve
* feat: gantt block code improve
* feat: gantt block code improve
* feat: gantt block time range
* feat: gantt block date change
* feat: gantt block progress change
* feat: gantt block columnWidth fix
* feat: gantt block action configure
* feat: gant block init fix
* feat: gant block table configure
* feat: gant block table configure
* feat: gant block table configure
* feat: gant expend when table expend
* feat: modulecss ->less
* feat: style improve
* feat: style module -> emotion css
* feat: gantt process handle
* feat: gantt block empty state placeholder
* feat: table actions suport config
* feat: gantt block suprt time range change
* feat: gantt block suprt process update
* feat: gantt block suprt process update
* feat: gantt block suprt process update
* feat: gantt block suprt process update
* feat: gantt block configure actions
* feat: gantt block style improve
* feat: gantt table actions column is configured by default
* feat: gantt block surport bulk update
* feat: gantt block surport bulk update&bulk edit
* feat: gantt block action configure fix
* feat: gant block code improve
* feat: do not display gantt bar when the start date is empty
* feat: gant configure actions
* feat: gant task change
* feat: gant calendar style improve
* style: gant local
* style: gant grid style improve
* style: gant calendar style improve
* style: gant style improve
* refactor: gant bar suport click
* feat: adjacency list
* fix: error
* feat: collection extender
* Revert "feat: collection extender"
This reverts commit a942eee769
.
* fix: registerBuiltInListeners
* chore: getAllNodeIds
# Conflicts:
# packages/plugins/acl/src/server.ts
* fix: get list data tree ids
# Conflicts:
# packages/plugins/acl/src/__tests__/list-action.test.ts
* feat: suport add child
* feat: demo3
* feat: suport add child
* feat: support add child
* feat: support add child
* fix: tree true
* feat: suport expend and collapse
* feat: support expend and collapse
* feat: support expend and collapse
* feat: table block of the selector supports tree table
* feat: expand and collapse are only displayed in the tree table
* fix: when the tree table is closed and opened, it needs to be refreshed to take effect
* fix: test
* refactor: add child is hidden when the tree table is closed
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: expand and collapse button does not support modify name and icon
* refactor: parent cannot be modified when adding child
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: filter out the node itself when selecting parent
* refactor: filter out the node itself when selecting parent
* refactor: tree collection locale
* refactor: tree collection locale
* feat: gantt block support tree collection
* fix: parameter exception when creating data selector
* feat: gantt block support tree collection
* feat: gantt block support tree collection
* fix: tableActionColumnInitializers
* style: style improve
* fix: gantt expansion exception
* style: style improve
* style: style improve
* style: calendar style improve
* style: style improve
* style: code improve
* refactor: gantt chart also highlights when table rows are selected
* fix: time scale default value
* fix: end field is nor requried to set
* fix: detailed blocks not appear when child record is clicked
* fix: detailed blocks not appear when child record is clicked
* refactor: gantt default expand all
* feat: gantt adapt to compact themes
* feat: gantt adapt to compact themes
* refactor: style improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* refactor: style improve
* refactor: sort by start date
* refactor: style improve
* refactor: style improve
* fix: styling
* fix: font-family
* fix: font-weight: 400
* feat: custom color
* fix: styling
* fix: style
* refactor: style improve
* refactor: style improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-12 11:19:22 +08:00
Junyi
59865248f0
fix(client): fix constant input lose focus in variable ( #1689 )
2023-04-10 20:14:37 -07:00
Junyi
0126a48cfa
feat(plugin-workflow): add workflow specific logger ( #1677 )
...
* feat(plugin-workflow): add workflow specific logger
* fix(plugin-workflow): fix packages
* refactor(logger): adjust logger path env
2023-04-10 06:00:29 -07:00
Dunqing
cd59cd8568
fix: remove designer ( #1684 )
2023-04-10 20:35:16 +08:00
Dunqing
bbc2db424f
fix: incorrect language after logout ( #1679 )
2023-04-09 18:21:58 +08:00
被雨水过滤的空气-Rairn
2050eb5317
feat: optimize file collection ( #1666 )
...
* feat(Upload.DraggerV2): add loading
* feat: auto close on uploading over
* feat: auto selected when upload is complete
* feat: filter selected options
* feat: add quick-upload and select-file
* fix: should not appear on readPretty mode
* fix: radio
* fix: compatible with older version
* feat: improving the interaction of radio selections
* fix: show two butons by default
2023-04-09 16:46:53 +08:00
chareice
f35da4a2a0
fix: init sort field with null group
2023-04-09 12:52:42 +08:00
chareice
0c17d609fa
fix: transaction params
2023-04-09 12:19:59 +08:00
ChengLei Shao
55c7bb5cf5
fix: sort field init performance ( #1675 )
...
* fix: sort field init performance
* chore: test table prefix
* fix: mysql compability
2023-04-08 22:08:32 +08:00
Junyi
93348c9ce6
fix(client): fix variable component read pretty mode ( #1673 )
2023-04-07 23:40:18 -07:00
Dunqing
13b74bde3f
fix: ui problem of compact theme ( #1670 )
...
* fix: graphical interface override tabs
* fix: link of markdown too longer
* fix: page tab designer override in compact theme
* feat: url should be ellipsis
2023-04-08 14:30:16 +08:00
katherinehhh
a529d9b7eb
fix: linkage rule enable effect in form ( #1669 )
2023-04-08 14:26:12 +08:00
katherinehhh
7821af4024
feat: collection template summary ( #1672 )
...
* feat: collection template description
* refactor: improve translation
* refactor: improve translation
2023-04-08 14:18:20 +08:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression ( #1560 )
...
* feat(plugin-formula): add dynamic expression field
* feat(plugin-workflow): add dynamic expression for calculation
* refactor(client): allow select part of paths in variable component
* fix(client): fix types
* feat(plugin-formula): add dynamic expression config
* feat(plugin-workflow): add dynamic calculation
* refactor(plugin-formula): move expression field type to workflow plugin
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix register field in client
* fix(plugin-workflow): fix expression result value default
* fix(plugin-workflow): fix dynamic expression field error when switch collection
* fix(plugin-workflow): test component value change
* test(plugin-workflow): test component linkages
* refactor(plugin-workflow): change to expression collection template
* fix(client): fix hooks of Variable.TextArea
* fix(client): fix to import evaluators in client
* fix(evaluators): move renderReference method to plugin
* fix(plugin-workflow): fix missed component
* fix(plugin-workflow): fix dynamic expression test case
* refactor(client): change popover to double click to choose entire object
* refactor(plugin-workflow): make variable options and filter more sensible
* fix(plugin-workflow): fix form effect
* fix(plugin-workflow): fix variable filtering in collection trigger
* fix(plugin-workflow): fix types
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
chenos
b8776fe2d0
fix: linkage rule
2023-04-08 09:16:15 +08:00
ChengLei Shao
c3a91e9758
chore: find inherit collection warn ( #1663 )
2023-04-07 19:44:44 +08:00
katherinehhh
59326dbf90
fix: linkage rule title config clear exception ( #1665 )
...
* fix: linkage rule title config clear exception
* fix: form linkage rules disabled without immediate effect
* refactor: improve translation
2023-04-07 18:05:00 +08:00
katherinehhh
1d6417f7f9
feat: support tableoid filter ( #1657 )
...
* feat: support inherited collection filter
* refactor: improve translation
* chore: filter inherted collectiion
* feat: data scope support inherited collection filter
2023-04-07 16:48:32 +08:00
Junyi
0d0c5ff9e0
feat(plugin-workflow): add array mapping support in processor ( #1662 )
2023-04-07 16:08:25 +08:00
chenos
cefe678348
feat(filter-operators): eq and ne operators support array ( #1658 )
2023-04-07 13:34:39 +08:00
katherinehhh
28ee5d1477
refactor(client): improve translation ( #1654 )
...
* refactor(enabled child collection ): locale
* refactor: locale
2023-04-06 16:15:44 +08:00
被雨水过滤的空气-Rairn
c1057ad52b
fix: fix the 'Add menu item' button disappears ( #1655 )
2023-04-06 16:10:38 +08:00
katherinehhh
4274f605dd
chore: add new allowAddtoCurrent config ( #1652 )
2023-04-06 12:49:11 +08:00
被雨水过滤的空气-Rairn
53d0c2dd23
feat: support file collection ( #1636 )
...
* feat: support to add File collection
* feat: support to upload files
* refactor: rename 'ReadPretty.Attachment' to 'ReadPretty.File'
* feat: support to associate the File collection
* refactor: add Preview and replace Upload.Selector
* fix(Preview): fix some problems in ReadPretty mode
* feat: use 'preview' as a default title field
* feat: support only local storage now
* fix: should not show 'Add new' button
* chore: add default value for file storage
* fix: fix preview field of file collection cannot be displayed normally
* fix: only Table and Details can display File collection
* chore: translate
* refactor: migration to plugin from core
* refactor: change 'preview' to 'url'
* fix: only 'belongsTo' and 'belongsToMany' can linked file collection
* fix: fix storage and add a field called storage in file collection
* feat: add 'deletable' to configure the visibility of the delete button
* fix: fix can't upload attachment problem
* fix: remove more option
* fix: can't use preview to filter
* fix: remove Import action option
* refactor: remove useless code
* chore: optimize condition
* chore: remove comment
* test: windows compatible
* refactor: optimize upload
* fix: upload action
* fix: createAction
* fix: uploads
* fix: file collection cannot be inherited by other collections
* fix: url should be editable
* fix: url is filterable
* fix: use input interface for url field
* fix: fix error
* fix: remove subform
* Revert "chore: translate"
This reverts commit 53cd346dab
.
* refactor: move translation to plugin
* fix: title is editable
* fix: collection?.template === 'file'
* fix: fix order of URL
* fix(collection-manager): allow collectionCategories:list
* chore: add translation
* fix(upload): should enable to use drawer
* refactor: move code to plugin
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-06 12:43:40 +08:00
ChengLei Shao
242977983b
chore: inhertis api with difference schema ( #1545 )
...
* refactor: getTableNameWithSchema
* feat: allow create collection with same name in difference schema
* feat: support multiple schema with inherit
* feat: repository after find hook & relation repository __colection attribute
* chore: debug info
* chore: tmp commit
* fix: tableoid to tablename error
* feat: filter child table by tableoid
* feat: filter child table by collection name
* fix: sync runner
* chore: test
* fix: jest empty test error
2023-04-06 09:05:47 +08:00
Rairn
d37cadee6a
refactor: remove useless code
2023-04-05 15:45:56 +08:00
katherinehhh
c4ef0dea8c
fix: select record can not enable child collection ( #1649 )
2023-04-04 17:47:31 +08:00
ChengLei Shao
a09c5001eb
feat: plugin before enable hook ( #1648 )
2023-04-04 16:08:10 +08:00
katherinehhh
28ef3b6952
refactor: loading wthen action submit
2023-04-04 11:35:36 +08:00
katherinehhh
b7abdfb9e6
fix(linkage rule):linkage rule not display in action ( #1644 )
...
* fix: islinageActionlogical judgment
* fix: add new linkage rule setting is not effective
2023-04-04 10:53:06 +08:00
ChengLei Shao
fff11df2ba
refactor: view collection options ( #1643 )
...
* feat: add schema prefix to view only if view name exists
* chore: view-collection name without schema prefix
* chore: skip list views already connected
* chore: comment
* fix: update field error
* refactor: collection edit can not config fields
* fix: viewName set
* fix: transaction
* refactor: viewname
* chore: collection view name
* refactor: viewname
* chore: remove rename view collection name
* refactor: loading wthen action submjit
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-04 10:52:47 +08:00
ChengLei Shao
914260ed7e
fix: update field error ( #1645 )
2023-04-04 10:44:30 +08:00
Dunqing
2d84cc34ea
feat(Table): column action support linkage rules ( #1638 )
2023-04-03 13:54:12 +08:00
katherinehhh
c38dbd1675
fix(view-collection): field name cannot be edited when there with field source ( #1642 )
...
* fix: field name cannot be edited when there with field source
* fix: did not bring the uiSchema when selecting interface
2023-04-03 12:08:26 +08:00
katherinehhh
ffcf1d9cf1
fix: linkage rule config closing rules require reopening the form to take effect ( #1640 )
2023-04-03 10:22:50 +08:00
Junyi
7036879ea6
refactor(client): change Variable.TextArea to controlled component ( #1605 )
...
* refactor(client): change Variable.TextArea to controlled component
* fix(client): fix space and range index
* fix(client): fix ime state in Variable.TextArea
* chore(ci): trigger ci
* fix(client): fix expression validation
* fix(plugin-workflow): fix test case
* fix(client): fix caret when not focused
* fix(client): add html-sanitize
* fix(client): fix range errors on any input
* fix(client): fix start and end range
2023-04-03 08:57:19 +08:00
ChengLei Shao
86abc251d9
fix: get pg view def ( #1641 )
...
* fix: get pg view def
* chore: console.log
2023-04-02 22:50:55 +08:00
ChengLei Shao
bec624eb54
fix: infer view column type with alias ( #1634 )
...
* fix: infer view column type with alias
* fix: build
* fix: type
* fix: test
2023-04-02 14:32:20 +08:00
ChengLei Shao
3f81d7cd7d
chore: disabled underscored in view collection. ( #1633 )
...
* chore: disabled underscored in view collection
* fix: test
2023-04-02 11:27:04 +08:00
Dunqing
ecdd46bf83
fix: form action dragging area is too large ( #1628 )
2023-04-02 07:11:01 +08:00
Dunqing
f5171ce6e7
fix: FixedBlock related ui ( #1632 )
...
* fix: the AssociationFilter
* feat: grid dragging area support compact theme
2023-04-02 07:10:05 +08:00
ChengLei Shao
4f87de7da5
feat: database view collection ( #1587 )
...
* test: create view collection
* feat: view collection class
* feat: list view
* chore: skip sync view collection
* test: should create view collection in difference schema
* test: create view collection in collection manager
* feat: create view collection by user sql
* test: view resourcer
* feat: view collection
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* refactor: connect to database view
* refactor: sync from database
* chore: rename list view sql
* chore: list view fields api
* chore: create collection without viewName
* feat: bring out fields when selecting a view
* chore: bring out fields when selecting a view
* feat: view field inference class
* chore: bring out fields when selecting a view
* chore: sync form database view
* chore: sync form database view
* refactor: view collection local
* feat: view get api
* feat: database type infer
* feat: integer map
* chore: remove from in view list
* chore: build error
* chore: uniq collection
* fix: typo
* chore: replace collection list source field
* fix: destroy view collection
* chore: timestamp field map
* refactor: interface avalableTypes
* refactor: interface avalableTypes
* chore: list fields test
* refactor: interface avalableTypes
* chore: uiSchema response in field source
* fix: view query
* chore: collection snippet
* refactor: view collection support preview
* fix: handle field source
* fix: typo
* fix: configure fileds title
* fix: configure fileds title
* fix: configure fileds title
* fix: sync from databse interface
* fix: sync from databse interface
* feat: set fields api
* fix: sync from databse fix
* feat: possibleTypes
* chore: fields get
* fix: sync from databse
* fix: list view test
* fix: view test in difference schema
* chore: comment
* feat: when there is only one source collection, the view is a subset of a Collection
* feat: view collection add field
* fix: inherit query with schema
* fix: test
* fix: ci test
* fix: test with schema
* chore: set pg default search path
* chore: mysql test
* fix: test with schema
* chore: test
* chore: action test
* chore: view column usage return type
* feat: mysql field inference
* fix: tableName
* chore: node sql parser
* fix: sql build
* fix: database build
* fix: mysql test
* feat: view collection uiSchema title
* fix: incorrect field source display when switching views
* refactor: view collection not allow modify
* fix: view collection is allow add, delete, and modify
* fix: mysql test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* chore: add id field as default target key
* style: style improve
* feat: load source field options
* style: style improve
* chore: disable remove column in view collection
* chore: support creating view collection with different schemas with the same name
* chore: support creating view collection with different schemas with the same name
* fix: query view in difference schema
* refactor: view collection viewname
* fix: query view collection in difference schema
* fix: field load
* chore: field options
* fix: mysql test
* fix: uiSchema component error when using a view field in a block
* fix: sqlite test
* chore: test
* fix: dump user views
* fix: view collection can be updated and edited in table block
* chore: sync from database display last field configuration
* chore: loadCollections
* chore: sync from database display last field configuration
* fix: field options merge issues
* style: preview table
* fix: view collection is allow using in kanban blocks
* refactor: code improve
* fix: view collection can be updated an edited in calendar block
* chore: disable infer field without interface
* feat: preview only shows source or interface fields
* fix: test
* refactor: locale
* feat: sql parser
* chore: remove node-sql-parser
* fix: yarn.lock
* test: view repository
* fix: view repository test
* chore: console.log
* chore: console.log
* fix: mysql without schema
* fix: mysql without schema
* chore: preview with field schema
* chore: tableActionInitializers
* style: preview style improve
* chore: parameter is filter when there is no filterByTk
* fix: preview pagination
* fix: preview pagination
* style: preview table style improve
* fix: sync from database loading
* chore: preview performance optimization
* chore: preview performance optimization
* feat: limit & offset
* chore: preview performance optimization
* test: field with dot column
* fix: datetime interface display
* fix: missing boolean type
* fix: sync
* fix: sync from database
* style: style improve
* style: style improve
* style: style improve
* chore: preview table
* chore: preview table
* chore: preview table
* fix: styling
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-01 21:56:01 +08:00
chenos
bcc417a79f
fix(record-picker): title field
2023-04-01 21:37:12 +08:00
ChengLei Shao
2f8e7a8087
fix: init sort value in sort field with scopeKey ( #1626 )
2023-04-01 09:06:20 +08:00
katherinehhh
b015fb769a
style: linkage rule style improve ( #1625 )
2023-03-31 14:15:32 +08:00
chenos
db511a33fa
fix: find with attributes and group ( #1411 )
...
* fix: find with attributes and group
* fix: error
* fix: test
---------
Co-authored-by: Chareice <chareice@live.com>
2023-03-31 13:58:35 +08:00
chenos
f5890175a7
test: ci
2023-03-31 00:13:58 +08:00
被雨水过滤的空气-Rairn
098140d511
feat(parse-variables): support to parse variables in filter params ( #1558 )
...
* fix: add field linkage on setting default datetime
* fix: fix dateonly timezone problem
* fix: improve test
* docs(DatePicker): add demos
* fix(DatePicker): should return the beginning of a second
* feat(DatePicker): support non-UTC
* refactor: rename
* fix(RangePicker): get correct end date
* test(mapDatePicker): add test
* test(mapRangePicker): add test
* feat(Filter): use non-UTC to filter
* feat(FilterBlock): use non-UTC to filter
* feat: add '$dateBetween' operator in datetime
* feat: use RangePicker on toggled to 'dateBetween' operator
* feat: set ranges for RangePicker
* feat: backend support to parse 'dateBetween' operator
* fix: fix build error
* fix: adaptive content width
* feat: support to use var on data scope
* feat: add parse-variables plugin
* feat: support to parse variables
* feat: support only to set system variables
* test: rename
* feat: cover all
* fix: fix build error
* feat(RangePicker): extend more shortcut keys
* feat(parse-variables): support more date var
* feat: support user variables
* feat: disable unmatched options
* fix: use component name to filter option
* fix: fix build error
* feat: remove some operator of id
* chore: remove useless operators
* fix: built in plugin
* refactor: move to core from plugin
* refactor: remove code of plugin
* refactor: remove useless code
* fix: should after acl
* Update server.ts
* fix: compatible with old version
* feat: test cases
* refactor: rename to 'is between'
* refactor: parse filter
* fix: improve code
* feat: test cases
* fix: fix error
* fix: improve parse date
* fix: date variables
* fix: day range
* fix: test error
* fix: typo
* fix: test error
* feat: $user variable
* fix: toDate
* fix: fix the value range of shortcuts
* feat: add quarter and test
* feat: support to use user's association fields to filter
* refactor: use maxDepth
* refactor: remove useless code
* fix: make AssociationSelect.Designer to support variables
* fix: getField
* fix: parse utc
* fix: remove only
* fix: filter by ctx.db.getFieldByPath
* fix: avoid error
* fix: add translation
* fix(RangePicker): can be set to empty
* feat(utils): add hasEmptyValue
* fix: should not save empty
* fix: last few days should include today
* fix: limit user variable type to display
* fix: parse filter error
* fix: empty
* test: [skip ci]
* fix: remove ';'
* feat: improve code
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 23:49:57 +08:00
katherinehhh
c2885ee1d6
fix(linkage rules) : support naming, enabling and disabling, copying, and assigning null values ( #1511 )
...
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* feat: detailed operations support linkage rules
* fix: button linkage failed during page change of detail block
* fix: button linkage failed during page change of detail block
* fix: linkage values not suport formula
* fix: linkage value suport empty
* fix: checkbox value linkage failed
* refactor: using evaluators package
* refactor: using evaluators package
* refactor: linkage field
* fix: relation field is limited to one level
* fix: relation field is limited to one level
* fix: linkage local
* feat: support copy linkage rules
* feat: support naming linkage rules
* feat: support naming linkage rules
* style: style improve
* fix: missing operation when copying linkage
* feat: linkage rules support disabling and enabling
* fix: linkage rule update is not updated immediately
* feat: action support linkage enabled
* feat: action support linkage enabled
* feat: action support linkage enabled
* fix: linkage rules title update exception
* feat: action support linkage enabled
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* refactor: code improve
* refactor: code improve
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: the first input is cleared
* refactor: code improve
* refactor: code improve
* refactor: delete redundant variables
* fix: action modal automatically closes
* fix: action automatically closes
* fix: action automatically closes
* fix: details block chang page action linkage failed
* fix: details block chang page action linkage failed
* feat: syntax references
* feat: syntax references
* fix: current time
* fix: current time
* fix: action linkage
* fix: formulajs tyy catch
* fix: multi-level linkage
* chore: linkage support
* chore: linkage support
* chore: linkage code improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 23:40:18 +08:00
katherinehhh
99ee409fce
fix: history add new button does not support enabling child collection ( #1536 )
...
* fix: history add new button does not support enabling child collection
* fix: history add new button does not support enabling child collection
2023-03-30 17:46:39 +08:00
katherinehhh
e7d0e49b8e
fix/(linkages-action): detail block actions does not support linkage rules ( #1504 )
...
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* feat: detailed operations support linkage rules
* fix: button linkage failed during page change of detail block
* fix: button linkage failed during page change of detail block
* fix: action automatically closes
* fix: action automatically closes
* fix: details block chang page action linkage failed
* fix: details block chang page action linkage failed
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 17:31:55 +08:00
Dunqing
35d34bb427
fix: avoid fixedblock height working in popup ( #1621 )
...
* fix: designer item should return null
* fix: avoid fixedblock height working in popup
2023-03-30 15:33:05 +08:00
Dunqing
6b47597256
fix: when the page has FixedBlock, the table of popup is not displayed ( #1619 )
...
* fix: when the page has FixedBlock, the table of popup is not displayed
* feat: improve disable link
* docs: update
* feat: improve fixedblock design item
2023-03-30 12:33:57 +08:00
Dunqing
0853915f23
feat: association-filter-improve ( #1606 )
...
* feat: snapshot-i18n fix
* feat: association-filter-improve
add data scope for association filter
add default sort for association filter
* feat(association-filter-improve): close association-filter filter fix
* feat(association-filter-improve): refresh on table refresh
* feat(association-filter-improve): refresh on table refresh
* feat(association-filter-improve): remove field filter fixed
* feat(association-filter-improve): filter fix
* fix: missing props
* refactor: re design
* fix: data scope not work
* feat: support sorting rule
* feat: support configure default collapse
* fix: multiple association item will not work
* fix: ts error
* fix: ts error
---------
Co-authored-by: anuoua <anuoua@gmail.com>
2023-03-30 09:00:56 +08:00
Dunqing
920aab949a
fix(Table): cannot display table data ( #1617 )
...
* fix(Table): cannot display table data
* fix: revert logic
* fix: revert pagination
* fix: improve logic
2023-03-30 08:54:39 +08:00
Dunqing
5752edd5d5
feat(table): hidden pagination when only one page is available ( #1614 )
...
* feat(table): hidden pagination when only one page is available
* feat: remove console
* fix(table): add new button for edit button color does not work
* fix: don't support edit type and icon in Link
* feat: danger property first
* fix: reset shadow of danger button
* perf: remove unused logic
2023-03-29 17:56:05 +08:00
Dunqing
6747331529
refactor: improve FixedBlock performance ( #1593 )
...
* refactor: improve FixedBlock performance
* fix: style
* fix: fixedBlock not work when the page have many blocks
* refactor: improve performance
2023-03-29 17:11:20 +08:00
Dunqing
e6326460b0
fix(collection-manager): infinite recursion ( #1608 )
...
* fix(collection-manager): infinite recursion
* fix: ts error
2023-03-29 17:06:33 +08:00
Dunqing
e5ee716702
feat: improve the non-link ui of association data ( #1602 )
2023-03-29 16:52:00 +08:00
Dunqing
bb9b72e0d7
feat(Kanban): the card support open mode ( #1601 )
2023-03-29 16:45:21 +08:00
katherinehhh
de4beb57a0
fix: enable child collections remain after deleting a child collection ( #1610 )
2023-03-28 23:58:21 +08:00
ChengLei Shao
e566d56c2d
fix: destroy through table record referencing collections table ( #1611 )
...
* test: destory through table record referencing collections table
* fix: belongs to many fields to reference
2023-03-28 12:26:30 +08:00
Rairn
a6fc04503d
fix(Filter-form): avoid infinit loop
2023-03-27 20:09:34 +08:00
chenos
4604e45573
fix: cannot read properties of undefined (reading 'title')
2023-03-27 13:05:14 +08:00
Italo A. G
726b08e87a
Translation pt-BR (Brazilian Portuguese) ( #1591 )
...
* feat: portuguese brazil translations
* feat: add pt-BR languate to the plugins
* feat: add pt-BR languate to the plugins
2023-03-23 22:53:33 +08:00
katherinehhh
ef3a2c52d8
fix: role permission add new scope display blank ( #1592 )
2023-03-23 22:52:41 +08:00
chenos
c43930fa7c
fix: field path
2023-03-23 14:05:53 +08:00
Rairn
972e05bac0
feat(Markdown): add inline highlighting
2023-03-23 12:26:36 +08:00
Dunqing
2d5822dfa6
fix(FixedBlock): avoid kanban triggering programmatic scrolling ( #1406 )
...
* fix(FixedBlock): avoid kanban triggering programmatic scrolling
* fix: kanban
2023-03-23 12:19:41 +08:00
katherinehhh
0a25426f31
fix: repeat request categories when switching between graph interface and collection&fields ( #1590 )
2023-03-23 12:18:52 +08:00
chenos
81948f4f2c
fix(tree-collection): cannot read properties of undefined (reading 'addChild')
2023-03-21 18:09:09 +08:00
Dunqing
0d36caf1c0
fix: collectionFieldsOptions cannot get all fields ( #1588 )
2023-03-21 16:56:05 +08:00
chenos
01294d3c83
fix(collection-manager): remove __parent
2023-03-21 09:58:12 +08:00
Rairn
2f66334996
fix(Filter-blocks): disable highlight when no connected blocks
2023-03-20 18:21:18 +08:00
Rairn
815768c91d
fix(Filter-blocks): should remove option when deleting block
2023-03-20 18:00:07 +08:00
被雨水过滤的空气-Rairn
070c9c21ec
feat(filter-blocks): support filter-blocks ( #1505 )
...
* refactor: audit log (#1516 )
* refactor: audit-log
* refactor: audit-log fix view action
* refactor: audit-log view fix
* refactor(audit-log): collection field fix
* refactor: audit-log view field fix
* refactor(audit-log): support fixedBlock
* refactor(audit-log): i18n fix
* feat(filter-blocks): support form-block
* feat(filter-blocks): add FilterProvider
* feat: filter data blocks
* perf: use useMemo
* refactor: rename
* feat: collect filter params
* refactor: rename
* refactor: remove useless code
* feat: add 'Connect data blocks' option
* feat: support 'x-filter-targets' to save data-blocks
* refactor: extract Form.FilterFormDesigner
* feat: extract FormItem.FilterFormDesigner
* refactor: extract common editing options
* feat: support to set operator
* feat: use operator created by user
* fix: improve loading
* fix: merge prev params
* feat: support reset
* refactor: rename
* chore: left a TODO
* feat: add Table.FilterDesigner
* feat: support filter-table
* refactor: reduce code
* feat: handle click event of table row
* feat: support to connect association collection
* feat: support Collapse
* feat: show empty
* refactor: optimize readability
* fix: keep state as latest
* fix: highlight row on selected
* feat: highlight data block on hover
* fix: avoid misuse
* chore: reduce code
* fix(Table): support to cancel select
* fix(Collapse): merge multiple filter params
* chore: make to pass CI
* feat: merge all filter params
* refactor: remove useless code
* fix: undefined
* fix(Form): fix bug with association fields
* chore: fix typo
* fix: use title
* chore: avoid infinite loops
* test: cancel comments
* fix: make ci normal
* fix: filter down non-association fields
* fix: fix page crash
* fix: use correct operator
* fix: avoid infinte loops
* style: optimize style on hover
* fix: avoid crash
* chore: optimize empty description
* fix: avoid targetKey empty
* refactor: use getTargetKey instead
* fix: filter out unfilterable fields
* refactor: avoid to invoke hook multiple times
* refactor: reduce the judgment conditions of component
* fix: group fields in the right way
* fix: fix error of type
* fix: fix error on no FilterBlockProvider
* fix(Table): fix fexed-block bug
* chore: reduce gap
* fix(Form): use AssociationSelect by default
* fix: remove g2plot blocks
* fix(Form): remove 'Display association fields'
* fix(Table): use radio
* fix(Table): no need Actions
* fix: fix template problem
* fix(Table): keep only 'filter' and 'refresh'
* fix: use collection name as identifier for data blocks
* fix: make sure all fields are editable
* fix(Form): remove custom actions
* fix(Details): display empty component on no data
* feat(Form): support association fields
* refactor: rename
* feat(Form): support for deep-level association fields
* Revert "fix(Table): keep only 'filter' and 'refresh'"
This reverts commit 61a1d101a7d15223cfd3523adb33567fff545568.
* Revert "fix(Table): no need Actions"
This reverts commit 8314629e92fb3b5b7ec1c97904a42c76c43e4d4a.
* Revert "fix(Table): use radio"
This reverts commit c6f009740e1835f9762653a721ff64f52d0994cf.
* feat(Table): highlight row on selected
* feat: support to cacel highlight
* fix: type error
* feat: remove Table from filter list
* fix(Table): highlight rows problem
* refactor: remove usless code
* refactor(Collapse): detach from Table
* fix(Table): highlighting row problem
* fix: translate problem
* fix(Collapse): fix error of useProps
* fix(Table): avoid undefined
* Update Details.tsx
* Update DetailsBlockProvider.tsx
* refactor: rename target.name to target.uid
* fix: add translate
* style: add padding
---------
Co-authored-by: anuoua <anuoua@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-20 17:40:16 +08:00
ChengLei Shao
ca95edf295
refactor: multi-app ( #1578 )
...
* feat: compact theme
* fix: theme
* fix: styling
* fix: margin
* feat: improve
* fix: remove console.log
* test: enable plugin test
* refactor: multi app
* test: lazy load sync plugin
* test: lazy load test
* fix: beforeGetApplication Event
* feat: loadFromDatabase options in traverseSubApps
* fix: test
* fix: multi app manager test
* chore: test
* test: should upgrade sub apps when main app upgrade
* feat: plugin require check
* chore: yarn.lock
* fix: sql typo
* feat: share collections
* fix: record name
* test: belongs to many repository
* fix: belongs to many with targetKey alias
* fix: extend collection error
* fix: transaction error
* feat: collection graph
* fix: update options in collection
* chore: collections graph
* chore: export uitls
* feat: connected nodes method in collections graph
* feat: exclude params in connected nodes
* chore: sub app collection list params
* fix: collections graph
* feat: syncToApps migration
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-19 23:40:42 +08:00
chenos
4427c70087
feat: compact theme ( #1574 )
...
* feat: compact theme
* fix: theme
* fix: styling
* fix: margin
* feat: improve
* fix: remove console.log
2023-03-19 23:40:11 +08:00
chenos
75c338b0f1
fix(markdown): empty text
2023-03-19 12:59:48 +08:00
Dunqing
3cce8f75e5
feat: support cron field ( #1421 )
...
* feat(calendar): replace cron component with CronSet
* fix: same exported
* fix: type incorrect
* fix: locale
* feat: upgrade react-js-cron and update some text
* fix: cron path
* fix: edge case
* feat: support FixedBlock
2023-03-19 10:55:05 +08:00
被雨水过滤的空气-Rairn
9ada0e37d6
fix(Calendar): ensur to get correct gridInitializer when adding a new… ( #1425 )
...
* fix(Calendar): ensur to get correct gridInitializer when adding a new tab (#1241 )
* perf: use useMemo
2023-03-19 10:52:56 +08:00
被雨水过滤的空气-Rairn
c68caf105e
feat(markdown): support mermaid and better style ( #1583 )
...
* feat(markdown): support Mermaid and better style
* fix: img width
* fix: build problem
* feat: dynamic import
* feat: loading
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-19 08:18:50 +08:00
chenos
05ed569d21
fix(tree-collection): onDelete: CASCADE
2023-03-17 15:28:53 +08:00
Chareice
18a75e096c
chore: disable hooks in sort update
2023-03-17 15:02:58 +08:00
chenos
fb0cdb704f
fix(client): cannot read properties of undefined
2023-03-17 12:27:35 +08:00
chenos
a9e5e14429
feat: tree collection ( #1561 )
...
* feat: adjacency list
* fix: error
* feat: collection extender
* Revert "feat: collection extender"
This reverts commit a942eee769
.
* fix: registerBuiltInListeners
* chore: getAllNodeIds
# Conflicts:
# packages/plugins/acl/src/server.ts
* fix: get list data tree ids
# Conflicts:
# packages/plugins/acl/src/__tests__/list-action.test.ts
* feat: suport add child
* feat: demo3
* feat: suport add child
* feat: support add child
* feat: support add child
* fix: tree true
* feat: suport expend and collapse
* feat: support expend and collapse
* feat: support expend and collapse
* feat: table block of the selector supports tree table
* feat: expand and collapse are only displayed in the tree table
* fix: when the tree table is closed and opened, it needs to be refreshed to take effect
* fix: test
* refactor: add child is hidden when the tree table is closed
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: expand and collapse button does not support modify name and icon
* refactor: parent cannot be modified when adding child
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: filter out the node itself when selecting parent
* refactor: filter out the node itself when selecting parent
* refactor: tree collection locale
* refactor: tree collection locale
* fix: parameter exception when creating data selector
* fix: translation
* refactor: tree collection locale
* feat: data selector Support tree table
* fix: failed to uncheck when multiple data selectors are selected
* fix: open or disabled the tree table, and add child does not respond immediately
* feat: data selector Support tree table
* fix: can not hide add child button
* fix: improve code
* fix: tree table
* fix: dynamic children column
---------
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-03-17 09:20:56 +08:00
chenos
cd2340ecd0
fix(select-component): invalid mode
2023-03-16 14:42:41 +08:00
Dunqing
46c736d7d3
feat(plugin-map): add map block ( #1486 )
...
* feat(plugin-map): add MapBlock
* feat: improve implementation to better support multiple fields
* feat: support click overlay
* fix: the width of select is not 100%
* fix: repeat MapBlock
* fix: loss initializer
* feat: support selected marker in map
* feat: support select point use box
* fix: fixedBlock not work
* fix: template not work
* feat: improve ui
* feat: improve selecting
* feat: update ui
* feat: improve map readpretty
* feat: support marker field
2023-03-16 12:12:14 +08:00
chenos
3cf06be893
fix(record-picker): supports adding sub-collection records ( #1573 )
...
* fix: inherited collection block is not displayed when adding form from the data selector
* fix: judge whether the record is null logical error
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-03-15 23:18:49 +08:00
chenos
9e7e6a6051
fix: history.pushState
2023-03-15 16:16:04 +08:00
Rairn
8b205ec8b0
fix: fix DatePicker can't use problem
2023-03-14 18:05:10 +08:00
ChengLei Shao
e86e40b93a
fix: app manager reload ( #1565 )
...
* fix: app manager reload
* chore: plugin test order
2023-03-14 13:10:15 +08:00
Rairn
9c60402153
fix(filter): fix can't filter boolean type problem
2023-03-14 01:13:18 +08:00
Rairn
9a1794a932
fix: avoid infinite loop
2023-03-14 00:31:15 +08:00
anuoua
7313307210
feat: record picker support to enable links ( #1515 )
...
* feat: link-tag-switch
* feat(link-tag-switch): add interface
* feat(link-tag-switch): i18n fix
* feat(link-tag-switch): fix link enable
* feat(link-tag-switch): cr fix
* fix: error
* fix: skip test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-12 17:16:17 +08:00
chenos
89284bb175
fix: icons are not clickable
2023-03-11 12:21:05 +08:00
Rairn
bc25467027
refactor: hook name should start with 'use'
2023-03-11 11:55:58 +08:00
Rairn
fe652bf6e8
fix(AssociationFilter): avoid undefined
2023-03-11 11:05:57 +08:00
chenos
186da56bdc
fix(collection-manager): filter out empty
2023-03-11 09:42:00 +08:00
ChengLei Shao
0832a56868
feat: multiple apps ( #1540 )
...
* chore: skip yarn install in pm command
* feat: dump sub app by sub app name
* feat: dump & restore by sub app
* chore: enable application name to edit
* chore: field belongsTo uiSchema
* test: drop schema
* feat: uiSchema migrator
* fix: test
* fix: remove uiSchema
* fix: rerun migration
* chore: migrate fieldsHistory uiSchema
* fix: set uiSchema options
* chore: transaction params
* fix: sql error in mysql
* fix: sql compatibility
* feat: collection group api
* chore: restore & dump action template
* chore: tmp commit
* chore: collectionGroupAction
* feat: dumpableCollection api
* refactor: dump command
* fix: remove uiSchemaUid
* chore: get uiSchemaUid from tmp field
* feat: return dumped file url in dumper.dump
* feat: dump api
* refactor: collection groyoup
* chore: comment
* feat: restore command force option
* feat: dump with collection groups
* refactor: restore command
* feat: restore http api
* fix: test
* fix: test
* fix: restore test
* chore: volta pin
* fix: sub app load collection options
* fix: stop sub app
* feat: add stopped status to application to prevent duplicate application stop
* chore: tmp commit
* test: upgrade
* feat: pass upgrade event to sub app
* fix: app manager client
* fix: remove stopped status
* fix: emit beforeStop event
* feat: support dump & restore subApp through api
* chore: dumpable collections api
* refactor: getTableNameWithSchema
* fix: schema name
* feat: cname
* refactor: collection 同步实现方式
* refactor: move collection group manager to database
* fix: test
* fix: remove uiSchema
* fix: uiSchema
* fix: remove settings
* chore: plugin enable & disable event
* feat: modal warning
* fix: users_jobs namespace
* fix: rolesUischemas namespace
* fix: am snippet
* feat: beforeSubAppInstall event
* fix: improve NOCOBASE_LOCALE_KEY & NOCOBASE_ROLE_KEY
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-10 19:16:00 +08:00
Junyi
243f9e2448
docs(client): add variable docs ( #1556 )
2023-03-10 17:42:15 +08:00
chenos
bc5156d458
chore(versions): 😊 publish v0.9.1-alpha.2
2023-03-09 12:45:30 +08:00
Junyi
060ccd04e7
fix(plugin-workflow): fix module import ( #1550 ) ( #1552 )
...
* fix(plugin-workflow): fix module import (#1550 )
* fix(plugin-workflow): fix module import
2023-03-08 23:00:44 +08:00
ChengLei Shao
c86b91c586
chore: relation repository response when source model not found ( #1546 )
...
* chore: relation repository response when source model not found
* fix: test
* fix: test
* fix: test
2023-03-07 22:10:51 +08:00
Junyi
313217a671
fix(plugin-workflow): fix assignees config component in manual node ( #1547 )
2023-03-07 19:24:02 +08:00
ChengLei Shao
db6d572638
feat: stopped state in application ( #1543 )
2023-03-06 21:19:49 +08:00
chenos
cb74a9c08b
fix: set form.disabled only when disabled
2023-03-06 16:08:52 +08:00
ChengLei Shao
a214c7b2aa
fix: belongs to many through table with custom schema ( #1539 )
2023-03-05 17:43:04 +08:00
ChengLei Shao
d1fb3c92d8
test: with collection_manager_schema env ( #1532 )
...
* test: with collection_manager_schema env
* fix: remove collection
* fix: collection test
* fix: collection exist in db with custom schema
* fix: inherited with custom collection schema
* fix: build error
* fix: sync unique index & database logger
2023-03-05 14:45:56 +08:00
ChengLei Shao
104be20c60
fix: filter by association field with underscored ( #1537 )
...
* fix: filter by association field with underscored
* fix: test
2023-03-05 14:29:40 +08:00
chenos
3904aa7c11
fix: add new blocks
2023-03-05 11:59:08 +08:00
chenos
5769925757
fix: details block is not displayed
2023-03-05 07:51:22 +08:00
Frozen FIsh
b276ce1258
feat: add chart plugin ( #1477 )
...
* feat: add pie schema template
* chore: refactor
* chore: update
* chore: init server
* feat: add pie schema template
* chore: add chart utils
* chore: update
* chore: update
* chore: update
* chore: update
* feat: mvp
* chore: update
* chore: test
* feat: example
* fix: templates map error
* chore: update
* feat: add ChartBlockEngineDesigner.tsx
* chore: clean code
* chore: update templates
* chore: init bat template
* chore: update chart block engine
* feat: add chart block engine designer
* chore: update chart block initializer
* chore: update pie template
* chore: update
* feat: split sql
* chore: update
* chore: clean
* feat: support bar
* chore: add bar template
* chore: clean code
* chore: clean code
* fix: chart block initializer title
* chore: update
* fix: use title
* chore: update
* fix: bugs
* chore: clean code
* chore: update pie template
* chore: update ChartBlockInitializer.tsx
* chore: update
* feat: support chart config
* chore: add local plugin
* feat: add column template
* feat: add column chart action
* feat: add line chart template
* feat: add line action
* feat: add area template
* feat: add area action
* chore: update pie template
* chore: update
* chore: update dep
* fix: export missing utils
* chore: update dep
* chore: update dep
* chore: update pie template
* fix(charts): sql table capitalization
* fix(charts): improve sql compatibility
* fix: support choices type
* chore: update
* chore: clean code
* chore: get collection fields in chart engine
* feat(demo): chart block initializer
* fix: hello block
* chore: init data analyse plugin
* chore: add data-analyse plugin
* chore: init plugin
* chore: update
* chore: export schema initializers
* feat: add data analyse block
* chore: update data analyse block initializer
* chore: rename plugin name
* chore: update
* chore: update enum
* chore: update add block
* feat: add pie schema template
* chore: refactor
* chore: update
* chore: init server
* feat: add pie schema template
* chore: add chart utils
* chore: update
* chore: update
* chore: update
* chore: update
* feat: mvp
* chore: update
* chore: test
* feat: example
* fix: templates map error
* chore: update
* feat: add ChartBlockEngineDesigner.tsx
* chore: clean code
* chore: update templates
* chore: init bat template
* chore: update chart block engine
* feat: add chart block engine designer
* chore: update chart block initializer
* chore: update pie template
* chore: update
* feat: split sql
* chore: update
* chore: clean
* feat: support bar
* chore: add bar template
* chore: clean code
* chore: clean code
* fix: chart block initializer title
* chore: update
* fix: use title
* chore: update
* fix: bugs
* chore: clean code
* chore: update pie template
* chore: update ChartBlockInitializer.tsx
* chore: update
* feat: support chart config
* chore: add local plugin
* feat: add column template
* feat: add column chart action
* feat: add line chart template
* feat: add line action
* feat: add area template
* feat: add area action
* chore: update pie template
* chore: update
* chore: update dep
* fix: export missing utils
* chore: update dep
* chore: update dep
* chore: update pie template
* fix(charts): sql table capitalization
* fix(charts): improve sql compatibility
* fix: support choices type
* chore: update
* chore: clean code
* chore: get collection fields in chart engine
* chore: init dataset plugin
* chore: init dataset designer
* chore: init dataset block initializer
* chore: update
* chore: update
* chore: update deps
* chore: add tests
* chore: update utils
* chore: init plugin
* feat: add datasets client
* chore: update tests
* chore: update datastructures
* chore: update
* feat: add DataSetBlockInitializer
* chore: use dataset initializer
* chore: update deps
* chore: update
* chore: update pie template
* chore: update ChartBlockInitializer
* chore: update ChartBlockEngine
* chore: remove mdg file
* chore: update ChartBlockEngine
* chore: update
* chore: update g2plot
* chore: update template
* chore: update pie handler
* chore: update DataSetPreviewTable
* chore: update ChartBlockEngine
* chore: update ChartBlockEngineDesigner
* chore: remove useless files
* chore: update ChartBlockInitializer
* chore: update template
* chore: feat area template
* chore: update tests
* chore: update local plugins
* chore: update deps
* chore: update templates
* chore: update template
* feat: add CustomSelect
* chore: update select component
* fix: seriesField color error
* chore: update template
* chore: update
* fix: bar
* chore: update templates & clean code
* chore: update templates
* feat: add FunnelTemplate
* feat: charts queries
* fix: data shift
* feat: add ChartQueryMetadataProvider
* chore: update
* chore: remove dataset
* chore: update
* chore: update
* chore: clean code
* fix: delete query query list wrong behavior
* fix: delete all queries query list behavior
* chore: add empty occupancy
* chore: update description
* chore: update chart icon
* chore: update funnel template
* chore: update template title
* chore: add references
* chore: update dialog height
* fix: scatter template
* chore: update popup description
* refactor: schema level
* refactor: charts schema
* chore: remove console
* chore: remove console
* fix: error message
* chore: remove console
* chore: update DataSetPreviewTable
* feat: chart icons
* feat: update i18n
* feat: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* feat: add tittle
* chore: update icons
* chore: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* fix: improve code
* chore: update i18n
* chore: update i18n
* fix: chart icon
* feat: quick add query (#1527 )
* feat: quick add query
* feat: query
* chore: remove useless files
* fix: json5 validator error
* chore: update
* chore: update style
* chore: lint
* feat: improve code
* feat: sql validation
* refactor: clean code
* Update utils.ts
* chore: format code
* chore: remove useless file
* chore: update
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-04 19:36:58 +08:00
katherinehhh
555378c342
feat: support add new in block for inheritance collection ( #1518 )
...
* feat: support adding inherited child collection in blocks
* feat: support adding inherited child collection in blocks
* refactor: create form block display on demand when using
* feat: support add new in-block for inheritance collection
* fix: action open mode support configuration when adding
* feat: support the configuration of detail and form for inherited collections in block (#1521 )
* feat: support the configuration of detail and form for inherited collections in the block
* fix: form and detail is not support current collection
* fix: inherited blocks within blocks only display their own
* style: style improve
* style: style improve
* refactor: detail and form block to determine whether there are inherited collection
* fix: repeated display of child collection
* feat: add new for inherited collection, judge the permissions
* feat: support child collection add new configure
* style: style improve
* style: style improve
* fix: child collectio repeatable configuration adding new
* style: style improve
* style: style improve
2023-03-04 18:54:25 +08:00
Junyi
37998d03ad
refactor(plugin-workflow): change canvas card and adjust styles ( #1529 )
...
* refactor(plugin-workflow): optimize workflow canvas
* feat(plugin-workflow): allow click on node card to open config and adjust styles
* fix(plugin-workflow): fix collection trigger linkages
2023-03-04 00:19:11 +08:00
ChengLei Shao
4d44e31b31
fix: test with nocobase plugin ( #1525 )
2023-03-03 13:54:37 +08:00
ChengLei Shao
1a84396691
fix: remove field when collection has difference schema with database ( #1524 )
2023-03-03 11:05:57 +08:00
chenos
946c8f25a3
chore(versions): 😊 publish v0.9.1-alpha.1
2023-03-03 09:34:06 +08:00
chenos
07ec115904
refactor: audit logs block ( #1517 )
...
* refactor: audit-log
* refactor: audit-log fix view action
* refactor: audit-log view fix
* refactor(audit-log): collection field fix
* refactor: audit-log view field fix
* refactor(audit-log): support fixedBlock
* refactor(audit-log): i18n fix
* refactor(audit-log): fixedTable and drag issue
* refactor(audit-log): remove template support
* refactor(audit-log): drag fix
* refactor(audit-log): disableTemplate & DndContext
---------
Co-authored-by: anuoua <anuoua@gmail.com>
2023-03-03 00:16:26 +08:00
chenos
e913af7f32
fix: improve translation
2023-03-02 11:36:26 +08:00
Junyi
ac039ad0e2
fix(evaluators): fix preprocessing and add test cases ( #1519 )
...
* fix(evaluators): fix preprocessing and add test cases
* fix(plugin-workflow): fix calculation test case
2023-03-01 07:55:53 -08:00
chenos
1e329bc2d2
fix: undefined length
2023-03-01 21:46:34 +08:00
ChengLei Shao
9048b2a58b
feat: collection manager schema env ( #1506 )
...
* feat: database manager schema env support
* feat: skip db2cm collection in custom schema
* fix: test
* test: through table custom schema
* chore: fields hooks
* chore: reload through collection on autoCreate
* fix: test error
* fix: skip test case
* chore: children test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-01 17:55:37 +08:00
Junyi
acc5656490
fix(client): fix checkbox unchecked display ( #1508 )
...
* fix(client): fix checkbox unchecked display
* fix(client): revert global option back
2023-02-28 07:58:10 -08:00
Junyi
e752686c7e
feat(plugin-formula): calculation with snapshot field ( #1498 )
...
* feat(plugin-formula): calculation with snapshot field
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
2023-02-28 17:55:58 +08:00
Dunqing
15d067120d
fix(association-select): filter without data scope not work ( #1509 )
...
* fix(association-select): filter without data scope not work
* fix: update
* fix: use merge filter
* refactor: better logic
* fix: option has hidden
* fix: hidden, disabled
* fix: update
* fix: merge filter doesn't handle array
2023-02-27 18:52:03 +08:00
ChengLei Shao
ecf618783e
feat: fallback sort field init to createdAt field ( #1507 )
...
* feat: fallback sort field init to createdAt field when primary key not exists
* chore: set belongsToMany through autoCreated table to sortable false
2023-02-27 13:59:17 +08:00
Dunqing
68fcadf092
fix(association-select): data is incorrect when use data scope ( #1491 )
...
* fix(association-select): data is incorrect when use data scope
* fix: update
* feat: improve RemoteSelect performance
* feat: use value instated of options when options is empty
* fix: data scope not work
* fix: loading not work
* feat: prepare database method (#1492 )
* fix: environment variables (#1490 )
* fix: beforeSubAppLoad emit to async
* feat: support custom plugin deployment in dockerfile (#1494 )
* fix: collection importer has incorrect reference (#1495 )
* fix: collection importer has incorrect reference
* test: reimport test
* fix: export collectionTemplates
* feat: form/button linkage rules (#1456 )
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* feat: linkage rules
* refactor: linkage rules
* refactor: linkage rules update
* refactor: linkage rules button
* refactor(linakge rules): suport value action
* refactor(linakge rules): suport value action
* fix(workflow test): workflow test
* refactor(linakge rules): action linkage only for detail form
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): linkageAction
* refactor(linakge rules): linkageAction
* refactor(linakge rules): field value linkageAction
* refactor(linakge rules): local
* refactor(linakge rules): local
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse operators
* fix(linakge rules): form button linkage
* fix(linakge rules): form button linkage
* fix(linakge rules): select component suport pattern
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(action): action desginer suport linkage
* refactor: formula calculation assignment
* refactor: formula calculation assignment
* style: unified component disable style
* feat: richText suport disabled
* feat: condiction suport varible
* feat: condiction suport varible
* refactor: variableInput
* refactor: condiction scope
* refactor: multi level linkage
* fix: empry value linkage
* refactor: components using core schema-component
* fix: fix template reference linkage
* refactor: evalute foumala
* fix: mutual linkage fix
* refactor: variables suport obo&oho
* style: style improve
* style: style improve
* style: style improve
* feat: variables suport m2o
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: actions path
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: support mysql lower_case_table_names=1
* fix(linkageRules): support empty condiction (#1496 )
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* Update zh_CN.ts (#1481 )
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix(remote-select): remove fields parameter
* Update actions.md
* fix: filter
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: justwho <rov7@qq.com>
Co-authored-by: Pearl C <63629092+pearl-cao@users.noreply.github.com>
2023-02-27 09:14:14 +08:00
chenos
750081e6aa
feat: dialect version accessors ( #1502 )
2023-02-26 11:58:45 +08:00
ChengLei Shao
dfbdbc741d
fix: collection schema updated but model _schema not change ( #1500 )
...
* fix: collection schema updated but model _schema not change
* test: schema changed
2023-02-26 08:04:29 +08:00
chenos
727a0b2dbd
fix(remote-select): remove fields parameter
2023-02-25 18:19:25 +08:00
justwho
4e81a26805
Update zh_CN.ts ( #1481 )
...
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-25 17:53:45 +08:00
katherinehhh
e7e1436422
fix(linkageRules): support empty condiction ( #1496 )
...
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
2023-02-25 15:18:54 +08:00
chenos
9d1b10d635
fix: support mysql lower_case_table_names=1
2023-02-25 00:54:45 +08:00
katherinehhh
94e38e453a
feat: form/button linkage rules ( #1456 )
...
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* feat: linkage rules
* refactor: linkage rules
* refactor: linkage rules update
* refactor: linkage rules button
* refactor(linakge rules): suport value action
* refactor(linakge rules): suport value action
* fix(workflow test): workflow test
* refactor(linakge rules): action linkage only for detail form
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): linkageAction
* refactor(linakge rules): linkageAction
* refactor(linakge rules): field value linkageAction
* refactor(linakge rules): local
* refactor(linakge rules): local
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse operators
* fix(linakge rules): form button linkage
* fix(linakge rules): form button linkage
* fix(linakge rules): select component suport pattern
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(action): action desginer suport linkage
* refactor: formula calculation assignment
* refactor: formula calculation assignment
* style: unified component disable style
* feat: richText suport disabled
* feat: condiction suport varible
* feat: condiction suport varible
* refactor: variableInput
* refactor: condiction scope
* refactor: multi level linkage
* fix: empry value linkage
* refactor: components using core schema-component
* fix: fix template reference linkage
* refactor: evalute foumala
* fix: mutual linkage fix
* refactor: variables suport obo&oho
* style: style improve
* style: style improve
* style: style improve
* feat: variables suport m2o
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: actions path
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-25 00:40:51 +08:00
Chareice
8e11e4d561
fix: export collectionTemplates
2023-02-24 20:49:04 +08:00
ChengLei Shao
c9572fc9f6
fix: collection importer has incorrect reference ( #1495 )
...
* fix: collection importer has incorrect reference
* test: reimport test
2023-02-24 17:50:08 +08:00
ChengLei Shao
856b6efa77
feat: prepare database method ( #1492 )
2023-02-23 20:14:50 +08:00
chenos
fa0951171a
fix(association-select): data scope
2023-02-23 16:23:25 +08:00
ChengLei Shao
e18bccd00a
Fix/multiple schema query ( #1488 )
...
* fix: describeTableQuery in multiple schema database
* fix: beforeUpdateCollection position
2023-02-23 14:13:32 +08:00
chenos
e0736f8aed
fix: string violation ( #1487 )
...
* fix: string violation
* feat: add test cases
2023-02-23 12:46:50 +08:00
Junyi
86d9eaf2fb
refactor(plugin-workflow): migrate evaluators ( #1485 )
...
* fix(plugin-formula): fix locale
* refactor(client): migrate variable component
* refactor(plugin-workflow): use core evaluators
* refactor(plugin-workflow): migrate calculation engines to evaluators
2023-02-22 23:45:03 +08:00
chenos
4a7b32b5e7
fix(record-picker): get label from value
2023-02-22 18:10:40 +08:00
chenos
8113748f26
fix: dynamic component switching error
2023-02-21 22:08:26 +08:00
Junyi
139ca9a635
refactor(plugin-formula): combine 2 formula field type into 1 ( #1457 )
...
* fix: observer
* refactor(plugin-formula): merge 2 formula field type
* fix(plugin-formula): fix types
* fix(plugin-formula): fix type
* fix(plugin-formula): fix formulajs version
* fix(plugin-formula): change to VariableInput to avoid range error
* test(plugin-formula): add test
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* refactor(plugin-formula): move components into plugin
* fix(plugin-formula): fix migration
* fix(plugin-formula): revert legacy component to fix build
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix read-pretty component
* fix(plugin-formula): fix formula result component
* feat(plugin-formula): add checkbox display X
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-21 20:12:21 +08:00
Junyi
4fbad75ea9
Feat(plugin-workflow) manual instruction ( #1339 )
...
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* fix(plugin-workflow): fix calculation migration
* fix(plugin-workflow): move tasks native filter to server
* fix(plugin-workflow): fix manual options for variable
* fix(plugin-workflow): fix conflict
* fix(plugin-workflow): fix some bugs
* fix(plugin-workflow): fix todo list filter and locale
* fix(plugin-workflow): fix update action of workflow
* refactor(plugin-workflow): add legacy condition calculation as basic engine
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix condition basic calculation
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix evaluators and scope
* fix(plugin-workflow): remove disabled type select in schema config
* fix(plugin-workflow): fix manual form schema designer
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-20 11:52:06 +08:00
chenos
5421686504
feat: support for importing attachments ( #1466 )
2023-02-19 17:35:23 +08:00
ChengLei Shao
24fb25754f
fix: column not exists error after destory relation field ( #1465 )
...
* test: field not exists
* fix: create association field after other association field destroyed
2023-02-19 11:55:25 +08:00
chenos
cf71111b0a
fix: association value submitted on demand
2023-02-18 14:52:52 +08:00
chenos
780f2d556e
feat: default value of block template title
2023-02-18 11:09:55 +08:00
ChengLei Shao
43e52843fa
fix: add schema ( #1464 )
...
* fix: add schema
* chore: format
2023-02-18 09:27:54 +08:00
Dunqing
92185ec57c
fix: avoid o2o, o2m can select the data already selected ( #1462 )
...
* fix: avoid o2o, o2m can select the data already selected
* fix: o2m
2023-02-17 18:25:14 +08:00
chenos
a0e85cda22
feat: add test cases ( #1463 )
2023-02-17 18:15:35 +08:00
chenos
5805b69455
feat(db): field value parser
2023-02-16 23:56:00 +08:00
justwho
74b93f58fd
feat: update zh_CN.ts ( #1458 )
2023-02-16 21:03:31 +08:00
chenos
a6aec25343
refactor: export plugin ( #1460 )
...
* refactor: export plugin
* fix: improve code
2023-02-16 16:48:00 +08:00
ChengLei Shao
89c1d39b6b
Fix/pg schema with inherit ( #1446 )
...
* fix: pg schema in sync runner
* fix: restore with pg schema
* chore: databse utils
* fix: test
* Update nocobase-test.yml
* fix: test
* chore: db schema test options
* feat: collection add schema table name method
* fix: update to bigint test
* fix: schema test
* chore: show constraints query path
* chore: show constraints query path
* Update nocobase-test.yml
* chore: test
* fix: test
* fix: test
* fix: test table name
* fix: inherited collection test
2023-02-16 10:53:04 +08:00
chenos
05740672a0
feat: multiple apps admin ( #1431 )
...
* fix: dynamic routerBase
* fix: start sub app with empty options
* chore: sync options
* fix: sub app create database
* fix: test
* fix: deps
* feat: register app db creator
* feat: default db creator
* feat: app options factory
* chore: api name
* fix: test
* fix: running sub app
* fix: beforeGetApplication hook
* fix: mysql test
* fix: appManager get selector
* chore: callback
---------
Co-authored-by: Chareice <chareice@live.com>
2023-02-14 15:30:58 +08:00
ChengLei Shao
0e0eb6432e
feat: provide the underscored option for the database ( #1366 )
...
* feat: underscored options
* feat: underscored using hook
* feat: database underscored options
* feat: underscored env
* fix: collectionExistsInDb
* fix: test
* fix: nocobase install
* fix: test
* fix: belongsTo association
* fix: test of underscored
* chore: console.log
* fix: list action test
* fix: dump test
* chore: snakeCase algo
* fix: underscored field create
* fix: underscored env
* fix(acl): custom appends merge strategy (#1416 )
* Update index.md
* fix(plugin-workflow): use promise to request (#1426 )
* Update index.md
* Update collection.md
* Update index.md
* Update index.md
* Update collection.md
* Update field.md
* Update repository.md
* Update has-one-repository.md
* Update has-many-repository.md
* Update belongs-to-many-repository.md
* Update index.md
* chore: translate 'Add tab' in page header (#1424 )
* fix: test
* fix: workflow test
* fix: underscored with inherits
* fix: underscored test
* fix: process.env.DB_UNDERSCORED
* fix: process.env.DB_UNDERSCORED === 'true'
* fix: test
* fix: pg test
* fix: underscored table name
* feat: tableName & fieldName conflict check
* fix: test
* fix: underscored index
* fix: update field unique index
* fix: sync default value
* fix: collection manager create field
* chore: field sync
* fix: pg test
* chore: test
* fix: test
* chore: default constraint name
* chore: syncUniqueIndex
* feat: field destory before check
* feat: field type check
* fix: test
* fix: test
* fix: improve
* fix: should destroy when fields refer to the same field
* fix: acl meta with underscored
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-13 21:38:47 +08:00
Frozen FIsh
00acbfb9b0
Revert "fix(table): make filed overflow behavior right ( #1392 )" ( #1452 )
...
This reverts commit 7fda978fe8
.
2023-02-13 16:22:43 +08:00
katherinehhh
7591a0e8ea
fix(collection category): zh_cn locale defect ( #1451 )
2023-02-13 15:11:11 +08:00
chenos
e5e503fe87
feat: add namespace and duplicator parameters for collection options ( #1449 )
...
* feat: add namespace and duplicator parameters for collection options
* fix: duplicator:getDict
2023-02-13 09:57:03 +08:00
anuoua
6c837ee08c
feat: association snapshot ( #1438 )
...
* feat: snapshota
* feat: snapshota i18n & bugs
* feat: snapshota association value fix
* feat: snapshota remove require true
* feat: snapshota params.values null fix
* feat: snapshota i18n
* feat: snapshota CR fix
* feat: snapshota field change fix
* feat: snapshota magicstring fix
* feat: snapshota field del fix
* feat: snapshota CR fix
* feat: snapshota tag fix
* feat: snapshota depth < 3
* fix: improve code
* feat: snapshota test
* feat: snapshota remove disabled
* fix: disabled isOverride
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-12 14:43:48 +08:00
被雨水过滤的空气-Rairn
7fda978fe8
fix(table): make filed overflow behavior right ( #1392 )
...
* fix(Table): fix overflow issue on td element (#1392 )
* chore(table): update style
2023-02-11 23:34:38 +08:00
chenos
2dc9c5c444
fix: error:0308010C:digital envelope routines::unsupported ( #1447 )
...
* fix: error:0308010C:digital envelope routines::unsupported
* fix: process.env.UNSET_NODE_OPTIONS
2023-02-10 11:16:36 +08:00
katherinehhh
f8a11cbbf0
feat: collection categories ( #1327 )
...
* feat: collection categories
* feat: collection category
* feat: collection category
* feat: collection category belongsToMany
* feat: collection category
* feat: collection category
* feat: collection category
* feat: collection category local
* feat: collection category
* feat: collection category collection
* feat: collection category code improve
* feat: collection category code improve
* feat: collection category column
* feat: collection category color
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category refresh
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: graph collection show category color
* feat: graph collection show category color
* feat: graph collection category style improve
* fix: change the variable names to camel case
* fix: category
* fix: collectionCategory
* fix: field options
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-10 09:15:37 +08:00