被雨水过滤的空气-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
YANG QIA
32ee260adf
fix(bi): issue of formatting relation field & reference link of line chart ( #2332 )
...
* fix: line chart link
* fix: style
* fix: issue of formatting relation field
* chore: close chart animation
2023-07-27 16:56:11 +08:00
ChengLei Shao
0d92e59985
chore: tsx ( #2329 )
...
* chore: upgrade jest
* fix: eslint
* chore: github action backend test
* fix: import
* chore: export
* fix: test
* chore: install tsx
* chore: type
* chore: replace @koa/multer
* chore: replace ts-node-dev with tsx
2023-07-27 10:29:07 +08:00
ChengLei Shao
840254f517
chore: upgrade jest ( #2323 )
...
* chore: upgrade jest
* fix: eslint
* chore: github action backend test
* fix: import
* chore: export
* fix: test
2023-07-26 17:53:51 +08:00
chenos
81819f04e3
chore(versions): 😊 publish v0.11.1-alpha.3
2023-07-26 17:37:20 +08:00
Junyi
80779c3a98
fix(plugin-workflow): fix expression field in sub-form ( #2324 )
2023-07-26 00:38:51 -07:00
YANG QIA
0de4458936
chore: improve FormProvider ( #2322 )
2023-07-26 15:32:59 +08:00
Dunqing
07ff868133
fix: should use filter
instead of where
( #2318 )
2023-07-25 21:51:23 +08:00
YANG QIA
78bfcba24f
fix(bi): issue of dnd ( #2315 )
2023-07-25 20:45:01 +08:00
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
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
Junyi
df4e6de4dc
fix(plugin-workflow): fix schedule duplicated triggering in multi-apps ( #2313 )
2023-07-24 19:41:54 -07:00
chenos
c84476d805
chore(versions): 😊 publish v0.11.1-alpha.2
2023-07-23 12:44:50 +08:00
Rain
d0528cf1f2
chore(theme-editor): fix deps
2023-07-22 18:26:33 +08:00
Rain
8051e2fc94
chore(theme-editor): fix deps
2023-07-22 18:18:50 +08:00
Rain
25decf0aa9
chore(theme-editor): fix deps
2023-07-22 18:02:35 +08:00
chenos
e979194cf2
chore(versions): 😊 publish v0.11.1-alpha.1
2023-07-22 12:50:04 +08:00
Junyi
5562aca456
fix(plugin-workflow): workflow collections should not appear in blocks ( #2290 )
2023-07-21 01:19:22 -07:00
Rain
8c904363ad
fix(theme-editor): fix color of menu when it is selected
2023-07-21 13:02:19 +08:00
ChengLei Shao
fe2890f9ec
chore: remove belongsToMany through table as collection dependency ( #2289 )
...
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 12:18:17 +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
eb9ee38a2b
feat: add built-in themes ( #2284 )
...
* feat: add built-in themes
* chore: add translation
* fix: should be optional in initial
2023-07-21 10:42:50 +08:00
被雨水过滤的空气-Rain
a4d8ef4b71
docs: add doc for Theme Editor ( #2280 )
...
* docs: add doc for Theme Editor
* chore: update src of img
* chore: increase image height
* chore: optimize img
2023-07-21 10:40:36 +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
Junyi
d587599c8a
feat(plugin-workflow): add sql node ( #2276 )
...
* feat(plugin-workflow): add sql node
* fix(plugin-workflow): fix test cases
2023-07-19 20:04:41 -07:00
chenos
fa2de8e806
fix(theme-editor): remove db.sync
2023-07-20 10:34:09 +08:00
YANG QIA
4e979bc7b7
fix(bi): orderBy bug under MySQL ( #2283 )
...
* fix(bi): orderBy bug under MySQL
* fix: compatible with pgsql
2023-07-19 21:25:49 +08:00
YANG QIA
d80213be5e
fix(bi): eliminate redundancy queries ( #2268 )
...
* fix(bi): eliminate redundancy queries
* fix: reset data after close configure pane
* fix: enum transform bug
* fix: reset form after clicking cancel button
* fix: reset form when changing collection
2023-07-19 16:34:52 +08:00
chenos
2d8451f2dd
fix(s3): missing endpoint
2023-07-19 12:30:40 +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
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
Junyi
6e637dbb42
chore(plugin-workflow): fix breadcrumb warning ( #2256 )
2023-07-14 22:23:02 -07:00
Junyi
5540a582f0
fix(plugin-workflow): fix request node error in loop ( #2254 )
2023-07-14 18:37:09 +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
katherinehhh
9b5e923e91
fix: option field display value in workflow todo list ( #2246 )
...
* fix: option field display value in workflowtodo
* refactor: code improve
* refactor: code improve
2023-07-13 22:08:00 -07:00
Junyi
01db49a089
fix(plugin-workflow): fix dispatch bug ( #2247 )
2023-07-13 23:14:25 +08:00
Junyi
5638a2fa2b
fix(plugin-workflow): fix job button style ( #2243 )
2023-07-12 22:32:00 -07: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
Junyi
05058c04b6
fix(plugin-fm): adjust upload file size to 1G which same as default on server side ( #2236 )
...
Close #2215 .
2023-07-11 08:47:57 -07: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
6b220c342c
fix(plugin-workflow): fix loop variable ( #2211 )
2023-07-07 07:51:44 -07:00
Junyi
6c19dad23d
chore(plugin-workflow): adjust types ( #2206 )
...
* chore(plugin-workflow): adjust types
* fix(plugin-workflow): fix types
2023-07-07 02:59:46 -07:00
jack zhang
2cb1203aa4
refactor(client)!: application, router and plugin ( #2068 )
...
BREAKING CHANGE:
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: complete basic functional refactor
* fix: performance Application
* feat: support client and server build
* refactor: nocobase build-in plugin and providers
* fix: server can't start
* refactor: all plugins package `Prodiver` change to `Plugin`
* feat: nested router and change mobile client
* feat: delete application-v1 and router-switch
* feat: improve routes
* fix: change mobile not nested
* feat: delete RouteSwitchContext and change buildin Provider to Plugin
* feat: delete RouteSwitchContext plugins
* fix: refactor SchemaComponentOptions
* feat: improve SchemaComponentOptions
* fix: add useAdminSchemaUid
* fix: merge master error
* fix: vitest error
* fix: bug
* feat: bugs
* fix: improve code
* fix: restore code
* feat: vitest
* fix: bugs
* fix: bugs
* docs: update doc
* feat: improve code
* feat: add docs and imporve code
* fix: bugs
* feat: add tests
* fix: remove deps
* fix: muti app router error
* fix: router error
* fix: workflow error
* fix: cli error
* feat: change NoCobase -> Nocobase
* fix: code review
* fix: type error
* fix: cli error and plugin demo
* feat: update doc theme
* fix: build error
* fix: mobile router
* fix: code rewview
* fix: bug
* fix: test bug
* fix: bug
* refactor: add the "client" directory to all plugins
* refactor: modify samples client and plugin template
* fix: merge error
* fix: add files in package.json
* refactor: add README to files in package.json
* fix: adjust plugins depencies
* refactor: completing plugins' devDependencies and dependencies
* fix: bug
* refactor: remove @emotion/css
* refactor: jsonwebtoken deps
* refactor: remove sequelize
* refactor: dayjs and moment deps
* fix: bugs
* fix: bug
* fix: cycle detect
* fix: merge bug
* feat: new plugin bug
* fix: lang bug
* fix: dynamic import bug
* refactor: plugins and example add father config
* feat: improve code
* fix: add AppSpin and AppError components
* Revert "refactor: plugins and example add father config"
This reverts commit 483315bca5
.
# Conflicts:
# packages/plugins/auth/package.json
# packages/plugins/multi-app-manager/package.json
# packages/samples/command/package.json
# packages/samples/custom-collection-template/package.json
# packages/samples/ratelimit/package.json
# packages/samples/shop-actions/package.json
# packages/samples/shop-events/package.json
# packages/samples/shop-modeling/package.json
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-07 14:35:22 +08:00