被雨水过滤的空气-Rain
4eada322ef
fix(RangePicker): fix shortcut invalid ( #2489 )
...
* chore: upgrade antd to v5.8.4
* test: add test
* chore: fix build
* chore: upgrade @formily/antd-v5 to v1.1.1
* fix: should not close Popover when selected option
* fix: add a new Popover and to replace old Popover with new Popover
* refactor: remove useless code
2023-08-27 09:35:41 +08:00
chenos
5278017fff
chore(versions): 😊 publish v0.13.0-alpha.3
2023-08-26 16:43:41 +08:00
chenos
9364a44681
fix: xpipe.eq
2023-08-26 16:40:23 +08:00
chenos
e596025bd4
fix: yarn dev --client error
2023-08-25 09:44:47 +08:00
chenos
f4a1953980
chore(versions): 😊 publish v0.13.0-alpha.2
2023-08-24 23:14:03 +08:00
chenos
a0599e0638
fix: development environment does not load the client's locale file
2023-08-24 21:38:46 +08:00
chenos
0663844573
fix: improve translation
2023-08-24 18:39:54 +08:00
chenos
6debb8d00b
chore(versions): 😊 publish v0.13.0-alpha.1
2023-08-24 17:49:13 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor ( #2353 )
...
* chore: skip sync localization-management plugin enable status
* chore: unSyncPlugins array
* chore: remove install at dev
* chore: gateway and supervisor
* chore: install command
* chore: remove app manager
* chore: share plugin
* chore: wsserver
* chore: websocket server
* chore: websocket connection with app status
* feat: socket server at gateway
* chore: loading message
* chore: ready status
* chore: handle app error
* feat: restart app at supervisor
* feat: health check endpoint
* chore: test
* chore: test
* chore: test
* chore: test
* chore: build
* chore: test
* chore: build
* chore: application ready status
* chore: error message
* chore: handle application error
* chore: handle error in load
* chore: report error in websocket
* chore: ws error
* chore: ws error
* chore: typo
* chore: switch app ready status at install
* chore: test
* chore: test
* chore: test
* chore: test
* feat: add WebSocket client
* chore: start gateway
* chore: start command in application
* chore: code
* chore: pm command
* chore: run start after load sub app
* feat: application fsm
* refactor: server life cycle (#2402 )
* refactor: server life cycle
* fix: test error
* fix: test error
* fix: test error
* fix: app.start
* fix: cronjob stop
* fix: db.sync before upgrade
* fix: pm.get
* fix: test error
* fix: test error
* fix: test error
* test: add test cases
* fix: remove PluginType
* chore: start application after install
* chore: fsm
* chore: working status
* chore: working command
* chore: remove swith app ready status
* chore: switch status after working done
* chore: ws status
* chore: gateway error
* chore: test
* chore: stopping status
* chore: test
* chore: test
* feat: app proxy
* chore: application destory
* chore: application message changed with status
* chore: test
* chore: test timeout
* test: remove listener add by plugin
* test: remove listener add by plugin
* chore: test
* feat: app maintaining
* fix: add AppMaintainingDialog
* feat: off
* test: gateway http response
* test: gateway with errors
* chore: unkown error
* chore: websocket message
* chore: ws message
* chore: code
* chore: error format
* chore: delay app load
* feat: improve code
* chore: application initializing status
* chore: supervisor with app status
* chore: command status response
* chore: test
* chore: ws message
* chore: test
* fix: command running message
* feat: restart
* chore: code
* chore: status transition
* chore: test
* fix: improve code
* fix: error
* fix: restart
* fix: command
* chore: reset client app tag when app selector changed
* chore: error report
* fix: application status
* fix: build
* chore: disable help command dispatch
* chore: test
* test: multi apps test
* fix: improve code
* fix: test
* fix: test
* fix: multi apps single running
* fix: improve code
* fix: app status
* chore: move plugin static file to gateway
* feat: static file handler
* chore: test
* chore: enable plugins in share collection
* chore: gateway serve upload files
* fix: improve client
* chore: ws nginx config
* fix: gateway with naonoid
* fix: db sync
* fix: loading
* fix: ping
* fix: locale load
* fix: yarn start --quickstart
* fix: add debug log
* chore: application started event
* chore: running working message payload
* chore: nginx log
* chore: nginxconf
* chore: working message log
* feat: logs
* feat: compression
* fix: remove koa-send and koa-static
* fix: remove -e
* fix: remove nginx
* fix: remove -e
* fix: __appName
* chore: delay install sub application
* chore: sync plugin status
* fix: boot sub app
* fix: main app reload
* fix: test
* fix: app status
* test: field.bind block event loop
* feat: newrelic
* feat: debug log
* chore: upgrade
* fix(file-manager): test error
* fix: default app selector
* fix: reload after maintained
* chore: boot sub app
* chore: application destroy command
* chore: destroy command
* chore: clean code
* chore: package.json
* chore: maintaining message
* chore: test
* fix: collection.sync
* feat: add test cases
* chore: application
* fix: test error
* feat: improve codes and add test cases
* fix: test error
* fix: pm enable and disable
* fix: pm.disable
* feat: update docs
* chore: update dockerfile
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
ChengLei Shao
0f9d946f09
fix: sort field init ( #2520 )
...
* fix: sort field init
* chore: sort field name
2023-08-24 14:26:03 +08:00
Dunqing
1e0bedca86
feat: api documentation plugin ( #2255 )
...
* feat: api doc plugin
* fix: merge
* chore: upgrade swagger ui to latest
* feat: get paths from recourser
* feat: configure security
* feat: add models
* feat: reimplement resource action
* feat: support render schemas correctly
* feat: support load swagger documentation
* refactor: implement `SwaggerManager`
* fix: re import
* feat: update info
* refactor: do not use the cache strategy for the time being
* feat: support collection builtin actions
* fix: incorrect tag
* feat: support different swagger json for different plugins
* feat: support load server package
* feat: support visit from plugin center
* feat: add schemas for mapConfiguration
* feat: update
* fix: update tags
* feat: support only render plugin that has swagger content
* refactor: use swagger-ui-react instead of swagger-ui-dist
* fix: clean
* fix: reset
* refactor: update plugin place
* fix: revert
* fix: remove version
* fix: type error
* feat: swagger doc
* refactor: improve apis
* feat: add doc
* feat: support destination cache
* fix: avoid authorization override
* fix: auth bug
* feat: update documentation
* fix: typo
* feat: support json
* fix: key
* fix: update yarn.lock
* feat: update swagger doc
* feat: swagger doc
* docs: add auth swagger files (#2341 )
* docs: add auth swagger files
* fix: yarn.lock
* fix: skip core
* feat: swagger doc
* docs: improve auth docs
* fix(theme-editor): avoid crashing
* feat(theme-editor): improve api doc
* docs: add localization-management swagger
* docs(plugin-workflow): add api doc (#2379 )
* fix: remove files
* fix: aaa
* fix: dist
* fix: load swagger
* feat: acl api doc (#2494 )
* chore: acl api doc
* feat: ui schema api doc
* feat: multi apps api doc
* chore: ui schema doc
* feat: collection api doc
* chore: association api doc
* chore: single association doc
* feat: move action doc
* chore: list parameters
* feat: update swagger doc
* chore: collectionIndex to first
* fix: test error
* fix: ref
* chore: doc tags
* chore: template
* chore: doc with association options
* chore: single association doc
* chore: relation type
* chore: filter single association params
* chore: m2m api doc
* chore: params
* fix: 0.12.0-alpha.5
* fix: update yarn.lock
* chore: data wrap
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-24 00:27:57 +08:00
ChengLei Shao
a625fc538d
feat(database): support field get in view preview ( #2482 )
...
* feat: support field get in view preview
* chore: test
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-08-22 10:59:45 +08:00
ChengLei Shao
9c5f630ae7
chore: database connection error log
2023-08-22 09:01:29 +08:00
katherinehhh
0532d67e0b
refactor: m2m data filtering through collection data ( #2497 )
2023-08-21 22:08:37 +08:00
katherinehhh
ccf8b651ff
refactor(graph-collection-manager): update antv-x6 to 2.x ( #2466 )
...
* refactor: update antv-x6 to 2.x
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-08-21 11:27:48 +08:00
katherinehhh
f70d17c5cd
fix: view collection reported error when editing ( #2493 )
2023-08-20 20:54:32 +08:00
jack zhang
9e99b00182
fix: dev load plugin ( #2455 )
...
* fix: dev load plugin
* fix: bug
* fix: bug
2023-08-20 18:10:34 +08:00
被雨水过滤的空气-Rain
95e1cd390b
chore: remove Default value option for sequence field ( #2488 )
...
* chore: remove Default value option for sequence field
* chore: remove console.log
2023-08-20 12:08:07 +08:00
katherinehhh
847eacce70
fix: tagcolor value error ( #2487 )
2023-08-20 11:03:43 +08:00
YANG QIA
be6b949f55
feat(auth): support signing in with username ( #2376 )
...
* feat(auth): support signing in with username
* chore: compatibility && add INIT_ROOT_USERNAME
* chore: add default username of root user
* chore: add notice
* fix: typo
* chore: change rule of username
* fix: sqlite add unique constraint
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00
chenos
972b2be10e
fix(client): waitSeconds: 120s
2023-08-19 09:30:19 +08:00
ChengLei Shao
5689c51b11
fix: database logging
2023-08-18 21:29:10 +08:00
ChengLei Shao
0f3ca626ab
fix: database logging
2023-08-18 21:06:37 +08:00
katherinehhh
576ff8e52b
fix: view collection source field ( #2483 )
2023-08-18 16:45:40 +08:00
chenos
d8787493db
chore(versions): 😊 publish v0.12.0-alpha.5
2023-08-18 15:53:53 +08:00
Sarah Thompson
98eaf5acb7
fix(sdk): window is not defined in nuxt ( #2479 ) ( #2481 )
2023-08-18 15:44:19 +08:00
katherinehhh
2ea97541c6
fix: source collections not updated during synchronization in view collection ( #2480 )
2023-08-18 15:17:18 +08:00
katherinehhh
d58d0d697c
fix: large field in the subtable do not display value ( #2475 )
2023-08-17 18:09:34 +08:00
katherinehhh
3fc3d34aa7
fix: error in tree table dragging and sorting ( #2476 )
2023-08-17 18:05:12 +08:00
katherinehhh
9dc08277e1
fix: prompt on the last row of the subtable row is obscured ( #2467 )
2023-08-17 14:53:23 +08:00
YANG QIA
efa153e92e
fix: hook error in isTitleField
( #2471 )
...
* fix: hook error in `isTitleField`
* fix: error
2023-08-16 19:56:19 +08:00
katherinehhh
39dcb905f4
refactor: view synchronization field, source field support selected to inherited collection field ( #2456 )
...
* refactor: syncField action support inherited fields
* refactor: code improve
* style: style improve
2023-08-16 18:08:33 +08:00
katherinehhh
d8d01befdc
refactor: remoteSelect fieldName value ( #2457 )
...
* refactor: remoteSelect fieldName value
* refactor: code improve
2023-08-15 20:17:34 +08:00
ChengLei Shao
16ed7f2916
chore(database): view with hashed id field ( #2458 )
...
* chore: test
* chore: test
2023-08-15 18:08:46 +08:00
chenos
df85fb430a
chore(versions): 😊 publish v0.12.0-alpha.4
2023-08-15 12:22:49 +08:00
chenos
31f01dd004
fix(build): isPluginPackage
2023-08-15 12:21:11 +08:00
Junyi
dea4c6f9c7
feat(plugin-workflow): add sort and pagination to query node params ( #2453 )
...
* refactor(core): expose some utils and constants
* feat(plugin-workfow): add sort and pagination to query node params
* fix(plugin-workflow): fix job result json style
* fix(plugin-workflow): fix sort param
* fix(plugin-workflow): fix test cases
2023-08-14 20:32:51 -07:00
katherinehhh
3baebf2a71
style: ellipsisWithTooltip style improve ( #2451 )
2023-08-15 09:16:56 +08:00
katherinehhh
0669975dde
refactor: add new action init icon ( #2454 )
2023-08-15 09:16:23 +08:00
Junyi
b542802667
fix(client): fix select button height in variable textarea ( #2450 )
2023-08-14 18:21:41 +08:00
katherinehhh
274d53988a
refactor: default value for field configuration in sub-table ( #2425 )
...
* refactor: field default value config in sub-table
* refactor: richtext default value
* refactor: richtext default value
* refactor: isShowDefaultValue
2023-08-14 17:47:15 +08:00
katherinehhh
dcafbb10c8
fix(findSchema): table operation action and detail operation action interact with each other ( #2446 )
...
* fix: table operation action and detail operation action interact with each other
* refactor: code imrove
2023-08-14 15:53:28 +08:00
katherinehhh
8b75738c90
refactor: recordPicker => associationField ( #2444 )
2023-08-14 09:26:27 +08:00
katherinehhh
caad07e11e
style: schemaSetting dropdown style improve ( #2432 )
2023-08-13 19:27:21 +08:00
chenos
15504c2813
fix: improve translation
2023-08-12 10:18:47 +08:00
Dunqing
b7d23c408a
feat(map-plugin): map block support select map field of association tables ( #2214 )
...
* feat(map-plugin): map block support select map field of association tables
* fix: update incorrect default value
* fix: should support o2m and fix bugs
* fix: height Close T1185 Close 1183
* fix: o2m, m2m cannot display data
* fix: switch map field will break
2023-08-10 17:36:02 +08:00
Junyi
fa43d9c870
feat(plugin-workflow): allow to configure auto delete execution in history ( #2423 )
...
* feat(plugin-workflow): allow to configure auto delete execution
* fix(plugin-workflow): fix locale
2023-08-10 16:18:07 +08:00
katherinehhh
9881d69def
refactor(schema-template): Inherit collection using blockTemplate ( #2418 )
...
* refactor: blockTemplate
* refactor: code imrove
2023-08-10 14:52:29 +08:00
Dunqing
5edcaaea4b
fix(mobile-client): style broken and display correct mobile url in sub app ( #2414 )
2023-08-09 22:23:15 +08:00
Junyi
86e672e9bb
feat(plugin-workflow): add form trigger type ( #2347 )
...
* feat(plugin-workflow): add form trigger
* test(plugin-workflow): add test cases
* fix(client): fix component warning
* fix(plugin-workflow): fix context data for create and update
* fix(plugin-workflow): allow to select any form type workflow in configuration
* fix(client): fix tree component value
* fix(client): fix value render in component
* fix(plugin-workflow): fix context load
* fix(client): fix type
* fix(client): fix type
* fix(plugin-workflow): fix params
* fix(plugin-workflow): fix required
* fix(plugin): fix context not matching collection error
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change trigger workflow action config to cascaded
* fix(plugin-workflow): remove useless locale
* fix(client): adjust locale
* fix(client): remove useless locale
2023-08-09 12:12:57 +08:00
katherinehhh
d25b9080b1
fix(data-template): titleField undefined ( #2398 )
...
* fix: titleField undefined
* refactor: code improve
2023-08-08 17:21:09 +08:00
katherinehhh
823d4bd94d
fix: useSyncFromForm support multi-level relationships ( #2413 )
2023-08-08 15:37:10 +08:00
katherinehhh
3c161eab86
refactor: restrict the fields within the configured data scope in sub table ( #2394 )
2023-08-06 19:48:03 +08:00
Junyi
d693aad89b
feat(plugin-workflow): add modal to edit title when duplicating workflow ( #2399 )
2023-08-04 18:08:18 -07:00
被雨水过滤的空气-Rain
8615804b6f
refactor: should not trigger event of row when clicking in drawer ( #2400 )
...
* refactor: should not fire event if row when clicking in drawer
* refactor: rename
2023-08-04 06:31:50 -07:00
ChengLei Shao
e3e4e63146
fix(database): update belongs to many relation with target collection ( #2393 )
...
* fix(database): update belongs to many relation with target collection
* chore: test
2023-08-04 18:19:45 +08:00
katherinehhh
457082ffa1
refractor(remote-select): association field data scope merge with original filter conditions ( #2118 )
...
* 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
* refactor: code improve
* chore: association field data scope
* refactor: code improve
* refactor: code improve
2023-08-04 18:07:58 +08:00
katherinehhh
5ef8fe7848
fix: params undefined ( #2397 )
2023-08-04 17:14:29 +08:00
katherinehhh
cd3c93a11d
refactor:the default value of the built-in field should not be required ( #2115 )
...
* fix: the default value of the built-in field in users collection should not be required
* refactor: code improve
* fix: the default value of the built-in field in users collection should not be required
* refactor: code improve
2023-08-04 16:29:13 +08:00
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 483315bca5524e4b8cbbb20cbad77986f081089d.
# 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 8f81535ab7e9c412bdc4d4bc05abad64ff60ba3f.
* 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 1cfbfe2e22cb6622fdcfa1566ae8719f44fb1b39.
* 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 7991d1c569629a6f458a4d5145a8df3f581bb27d.
* 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