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
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 ( #2359 )
...
* chore: upgrade antd to 5.7.3
* chore: fix build
* chore: fix build
2023-08-01 11:51:30 +08:00
YANG QIA
f82b6a9d38
fix(bi): g2plot render wrong when fields contain .
( #2363 )
...
* fix: g2plot render wrong when fields contains `.`
* fix: build
* fix: test
* fix: dual axes bug
* chore: add comment
* fix: code style
2023-07-31 23:51:23 +08:00
YANG QIA
bab004f951
fix(locale): acl bug of localization management ( #2350 )
2023-07-30 13:07:00 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB ( #2321 )
...
* chore: yarn.lock
* feat: add jsonb option in field drawer
* feat: only postgres can use JSONB
* chore: add test
* refactor: make better
* fix: fix build
* fix: fix build
* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
YANG QIA
b8175dbf17
fix(bi): parsing enum labels of field with alias ( #2349 )
...
* fix(bi): parsing enum labels of field with alias
* fix: current collection bug
2023-07-29 22:35:55 +08:00
chenos
656287e57b
fix: update yarn.lock
2023-07-29 20:24:07 +08:00
chenos
167fa4bd67
fix: lock formily version
2023-07-29 09:11:10 +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
d956c90e91
fix: yarn run test
2023-07-27 19:51:18 +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
YANG QIA
0de4458936
chore: improve FormProvider ( #2322 )
2023-07-26 15:32:59 +08:00
Rain
986e2414d4
chore: fix Warning if eslint
2023-07-25 20:33:38 +08:00
ChengLei Shao
e5612f87f8
chore: merge docker build ( #2317 )
...
* chore: merge docker build
* chore: build image
* chore: build image
* chore: job name
2023-07-25 18:07: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
Rain
30b0d9b3f3
chore: fix prettier
2023-07-25 16:29:49 +08:00
被雨水过滤的空气-Rain
2c8e7b163e
chore: auto fix eslint errors when pre-commit ( #2304 )
...
* chore: run lint when pre-commit
* chore: auto fix eslint errors
2023-07-25 14:09:02 +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
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
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
被雨水过滤的空气-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
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
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
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
Dunqing
4bf722326c
feat(map-plugin): support google map ( #2027 )
...
* feat(map-plugin): support google map
* fix: should render current position
* feat: support google map in field
* feat: support google map block
* feat: support connect data
* fix: update
* feat: support autocomplete instated of search
* feat: support language
* fix: drawing not work
* feat: support same labe lstyle
* feat: use better configuration
* fix: avoid rerender
* chore: update deps
* feat: add tips for lineString, Close T-591
* fix: zoom to big
* feat: improve api key incorrect flow
* fix: remove unreleated file
* feat: improve setFitView
* feat: update tips
* feat: improve code
* fix: avoid crash, Close T-713
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 11:08:53 +08:00
jack zhang
717b21d37a
fix: 修复 gulp-less 版本导致的初始化 bug ( #2153 )
2023-06-29 16:24:24 +08:00
Rairn
b2e71850f8
Revert "chore: upgrade types of react"
...
This reverts commit 78729bdc41
.
2023-06-25 15:02:12 +08:00
Rairn
78729bdc41
chore: upgrade types of react
2023-06-25 14:47:59 +08:00
jack zhang
20f673a6b3
fix: create plugin cli error ( #2102 )
2023-06-23 15:54:48 +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
被雨水过滤的空气-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
jack zhang
acafe0f386
fix: mobile docs style ( #2083 )
2023-06-20 17:11:18 +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
YANG QIA
f1feb56743
fix(oidc): bugs of integration with logto ( #2032 )
...
* fix(oidc): iss validate bug
* chore: pass iss instend of all values
* fix(oidc): use BroadcastChannel & add alg options
* chore(oidc): improve
2023-06-12 11:50:56 +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
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
Rairn
ad2908dd76
chore: upgrade vitest
2023-06-07 15:43:15 +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
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
YANG QIA
849956b8ea
feat(multi-app-manager): support auto start ( #1931 )
...
* feat(multi-app-manager): support auto start
* perf(multi-app-manager): move filter to sql
2023-05-26 09:55:11 +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
YANG QIA
eac034cb23
feat: support reboot application manually ( #1889 )
...
* feat(reload-btn): reload application manually
* feat(app): support reboot
* feat: collections load after upgrade
* feat(reboot): support reboot manually
* chore(reboot): some typo
* fix(reboot): fix storage path
* fix(reboot): change restart file path
* fix: menu divider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
Junyi
238af440e3
feat(plugin-workflow): loop ( #1787 )
...
* feat(plugin-workflow): add loop instruction
* fix(plugin-workflow): fix lint error
* feat(plugin-workflow): add loop variable in client
* feat(plugin-workflow): refactor and add job list to nodes in execution
* feat(plugin-workflow): allow to query multiple records
* fix(plugin-workflow): fix i18n
* fix(plugin-workflow): fix undefined value in component
* fix(plugin-workflow): fix parse context value with current node
* fix(plugin-workflow): fix revision with scope variable
* test(plugin-workflow): add failing case
* fix(plugin-workflow): fix revision with scope variable
* chore(plugin-workflow): fix lint errors
* fix(plugin-workflow): fix workflow canvas page style
* fix(plugin-workflow): revert abstracted node config drawer back to each node
* fix(plugin-workflow): fix parallel extra call
* fix(plugin-workflow): fix parallel branch end
* fix(plugin-workflow): fix jobs variable in processor
* fix(plugin-workflow): fix workflow canvas scroll style
* fix(plugin-workflow): fix slowly opening job modal
* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
Junyi
eb0089190e
fix(utils): fix json-templates bug and moved to utils ( #1784 )
2023-04-28 22:22:08 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00