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 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
Junyi
50786621bb
fix(plugin-workflow): try to avoid occasionally duplicated executions ( #2196 )
...
* fix(plugin-workflow): try to avoid occasionally duplicated executions
* test(plugin-workflow): avoid appends error and add more test cases
* test(plugin-workflow): fix type and adjust waiting time for test cases
* fix(plugin-workflow): refactor delay logic and fix failed cases
2023-07-06 23:07:05 -07:00
chenos
15f028295c
chore(versions): 😊 publish v0.10.1-alpha.1
2023-07-07 06:56:04 +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
Junyi
dc91d44ce6
refactor(plugin-workflow): refactor nodes variable option api ( #2192 )
2023-07-05 21:27:34 -07: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
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
650a580aca
fix(plugin-workflow): fix data scope on todo table block ( #2176 )
2023-07-04 16:05:50 +08:00
Junyi
21371aaa57
fix(plugin-workflow): fix cancel action on trigger config ( #2166 )
2023-07-02 17:02:05 -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
Dunqing
9f4fc777b0
docs: update api-keys related documentation ( #2162 )
...
* docs: typo
* docs: update
2023-07-01 12:21:33 +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
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
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
chenos
560c00cc3e
chore(versions): 😊 publish v0.10.0-alpha.5
2023-06-29 15:34:40 +08: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
e79ea701a3
fix: migration up error ( #2135 )
2023-06-27 15:19:32 +08:00
chenos
f3f91bd649
chore(versions): 😊 publish v0.10.0-alpha.4
2023-06-27 13:50:59 +08:00
chenos
4d3d00a5d2
fix: modify the migration file name
2023-06-27 13:10:34 +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
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
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
chenos
8b03dfa96b
fix(input-number): change step to 1 ( #2104 )
2023-06-24 17:15:59 +08:00
chenos
7bd3168422
fix: schema-uid-invalid ( #2107 )
2023-06-24 16:36:26 +08:00
chenos
40c1a2b2ce
fix(client): migration error
2023-06-24 12:28:43 +08:00
Junyi
19341952b9
fix(plugin-workflow): fix branch and exit logic ( #2103 )
2023-06-23 08:21:19 -07: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
Junyi
5fc5428d03
fix(plugin-workflow): fix job button style ( #2098 )
2023-06-21 08:03:54 -07:00
Dunqing
b80aaacb38
fix(mobile-client): fix multiple bugs and do some improvement ( #2072 )
2023-06-21 22:26:15 +08:00
Junyi
6254fceb04
fix(plugin-verification): fix duplication of installation ( #2097 )
2023-06-21 06:59:19 -07: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
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
Junyi
56e6d0c3b1
fix(plugin-workflow): fix occasional error on enter workflow page ( #2086 )
2023-06-20 19:53:31 -07: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
ChengLei Shao
d8ad98e2f7
fix(collection-manager): share collection when COLLECTION_MANAGER_SCHEMA not set ( #2081 )
...
* fix: share collection when COLLECTION_MANAGER_SCHEMA not set
* fix: test
2023-06-20 11:28:54 +08:00
xilesun
c9f51ca416
fix(oidc): field map bug
2023-06-19 21:53:33 +08:00
Junyi
0606637a73
fix(plugin-formula): fix formula field effect and read-pretty component ( #2076 )
2023-06-19 06:47:29 -07:00
Zhou
44549fdfee
Update README.zh-CN.md
2023-06-19 21:32:16 +08:00
xilesun
f99bedfab4
docs(oidc): add README
2023-06-19 21:13:03 +08:00
Dunqing
6d0f5c1fe0
fix(mobile-client): the JsBridge is not work
2023-06-18 10:30:27 +08:00
Dunqing
21efc5c66c
fix(mobile-client): fix navigate is incorrect
2023-06-17 22:55:55 +08:00
chenos
106f9d90f5
fix(file-manager): only allow logged-in users to upload files
2023-06-17 21:53:49 +08:00
Junyi
e5bab3249a
refactor(plugin-workflow): manual collection block migration ( #2064 )
...
* refactor(plugin-workflow): change all collection node initializer in manual config
* refactor(plugin-workflow): clean code
* fix(plugin-workflow): fix custom form field in manual config
* refactor(plugin-workflow): add migration
* fix(plugin-workflow): fix custom form block migration
* fix(plugin-workflow): fix detail read-pretty for association fields
2023-06-15 23:06:47 -07: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
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
被雨水过滤的空气-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
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
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
Dunqing
69bbfee67a
feat: use ActionContextProvider
instated of ActionContext.Provider
( #2019 )
2023-06-09 13:05:05 +08:00
Dunqing
151949362b
fix: re-insert repeat routes ( #2018 )
2023-06-09 12:23:53 +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
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
Junyi
0c150eaf9b
feat(plugin-fm): add option for storage to remove file physically or not ( #2005 )
...
* feat(plugin-fm): add server side destroy action for removing files of attachments
* feat(plugin-fm): add client option for storage
2023-06-07 05:44:16 -07: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
5e4682be72
fix: emit async
2023-06-07 17:25:06 +08:00
ChengLei Shao
43f3cb7cfe
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
2023-06-07 15:01:50 +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
ChengLei Shao
83dc81c51b
chore(collection-manager): should not throw error when source collection destoryed ( #1999 )
2023-06-07 11:06:35 +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
Junyi
a8191ed26f
fix(plugin-formula): fix result component caused page crash ( #1996 )
2023-06-06 09:04:13 -07:00
ChengLei Shao
c604f37222
feat(collection-manger): lazy load collection field ( #1993 )
...
* feat(collection-manger): lazy load collection field
* chore: console.log
2023-06-06 22:48:43 +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
icezohu
bc00bd161a
fix(multip-app-manager): init multiple Application instances while starting up a sub app ( #1986 )
...
* fix: init multiple Application instances while
starting up sub app
by Jacob
* fix: import error
by Jacob
* feat: use async-mutex for locking process
by Jacob
* revert: unused update
by Jacob
* test: should get same obj ref
when asynchronously access with same sub app name
by Jacob
* feat: add async-mutex dependency
to multi-app-manager package.json
by Jacob
2023-06-06 10:47:50 +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
YANG QIA
ecb2af8fd6
fix(charts): fields undefined bug ( #1980 )
2023-06-05 13:13:06 +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
ChengLei Shao
78095d1128
chore(collection-manager): load source field options
2023-05-31 19:04:01 +08:00
Junyi
cf4e91b0f2
fix(plugin-formula): fix read-pretty component when used in association field ( #1957 )
2023-05-30 16:15:42 +08:00
lincode
4296db5859
feat(plugin-manager): better plugin manager experience ( #1927 )
2023-05-29 11:06:54 +08:00
ChengLei Shao
ebae59507f
test(audit-logs): audit log changes ( #1928 )
...
* test: audit log changes
* chore: test
2023-05-28 07:57:59 +08:00
chenos
d7f21460c6
chore(versions): 😊 publish v0.9.4-alpha.2
2023-05-26 17:05:46 +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
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
ChengLei Shao
710bd2dfd2
fix: append acl resource params ( #1923 )
...
* test: append acl resource params
* fix: test
2023-05-24 21:31:12 +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
ChengLei Shao
6fb569cf0d
fix: eager load with belongs to many with custom source key ( #1913 )
2023-05-23 15:03:32 +08:00
Junyi
920bdf8705
fix(plugin-formula): use read-pretty component in result ( #1911 )
2023-05-22 18:15:51 -07: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
YANG QIA
eac034cb23
feat: support reboot application manually ( #1889 )
...
* feat(reload-btn): reload application manually
* feat(app): support reboot
* feat: collections load after upgrade
* feat(reboot): support reboot manually
* chore(reboot): some typo
* fix(reboot): fix storage path
* fix(reboot): change restart file path
* fix: menu divider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
ChengLei Shao
c0ef071baf
Refactor/append fields ( #1883 )
...
* chore: eager loading tree
* feat: load eager loading tree
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
2023-05-19 16:39:00 +08:00
Junyi
16444ae6ab
fix(plugin-workflow): fix language ( #1886 )
2023-05-18 08:27:18 -07:00
Junyi
2060bd4d44
feat(plugin-workflow): add node description to drawer when edit node ( #1882 )
...
* feat(plugin-workflow): add node description to drawer when edit node
* fix(plugin-workflow): fix manual description
* fix(plugin-workflow): fix languages
2023-05-18 19:42:30 +08:00
chenos
e0646650f0
fix(database): migrations table name missing table prefix
2023-05-18 14:51:51 +08:00
Junyi
c988c3705a
fix(plugin-workflow): fix variable api caller in loop ( #1877 )
2023-05-17 17:29:18 +08:00
chenos
be50cb5929
chore: remove link to field and association fields filter
2023-05-17 17:04:33 +08:00
Chareice
390c12ab2d
fix: sub app running mode when standlone deploy
2023-05-17 16:07:24 +08:00
Junyi
0264d89d14
fix(plugin-workflow): fix trigger title when workflow not loaded ( #1875 )
2023-05-17 14:24:50 +08:00
Junyi
f4064767c6
feat(plugin-workflow): aggregate ( #1852 )
...
* feat(plugin-workflow): add aggregate instruction
* test(plugin-workflow): add test cases
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix double result type
* test(plugin-workflow): fix test cases in mysql
* refactor(plugin-workflow): consolidate variables api
* fix(plugin-workflow): fix create node variable
* fix(plugin-workflow): fix aggregate association name
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow): fix aggregate node config for duplication
* fix(plugin-workflow): fix variable api
* fix(plugin-workflow): fix variable api caller
* fix(plugin-workflow): fix job button style
2023-05-17 13:37:03 +08:00
JoGosGitHub
770f53ec4e
Feat/translation es_ES ( #1801 )
...
* feat: client and plugin translation ES
* fix: es translation
* fix: es translation
2023-05-17 11:39:37 +08:00
Rairn
2e4636a8ca
chore: avoid errors generated by collectionField
2023-05-16 20:09:36 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select ( #1869 )
2023-05-16 02:07:56 -07:00
ChengLei Shao
29956150ba
chore: skip get standalone deployment sub application ( #1868 )
...
* chore: skip get standalone deployment sub application
* feat: standalone deployment
* fix: link
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 16:38:17 +08:00
Junyi
9931e6a486
fix(plugin-workflow): remove useless context option ( #1867 )
2023-05-15 23:16:13 -07: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
Dunqing
3a77e4376a
feat: support List and Grid Card block ( #1753 )
...
* feat: support details block
* feat: rename to list
* fix: imports
* feat: improve list block
* feat: support title hidden
* fix: showTitle default value
* feat: support table column actions
* feat: support appendsOnDemand
* feat: reuse same schema items
* feat: shouldn't display pagination when pages only one
* feat: block order
* feat: support card list
* fix: appends on demand
* fix: remove unused code
* fix: params
* fix: improve default pageSize
* feat: improve performance
* feat: add title designer
* feat: improve huge performance
* fix: better key
* feat: improve schema perf
* feat: improve initializer
* fix: improve grid perf
* fix: avoid haven't properties
* feat: support automatic run service when params changed
* fix: revert params
* fix: grid col width
* refactor: improve CardList performance
* fix: initializer related
* feat: i18n supports
* fix: improve get schema
* fix: create new form
* fix: revert code
* feat: css improve
* fix: i18n copy
* refactor: the CardList rename to GridCard
* feat: remove AssociationFilter item
* fix: edit and view data is incorrect
* feat: remove bulk actions
* feat: improve action bar
* feat: supports configuration of columns with different screen sizes
* fix: incorrect place to save the template
* feat: keep height in all card
* fix: remove console
* fix: rename
* refactor: improve GridCard implementation
* feat: support import/export actions
* fix: remove padding when actions is empty
* fix: remove incorrect import
* fix: remove unused props
* fix: action place
* feat: improve column count
* refactor: remove appendsOnDemand, and use useAssociationNames instated it
* fix: incorrect component
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
ChengLei Shao
1c757bd025
feat: support running single sub app ( #1853 )
2023-05-14 16:48:53 +08:00
Junyi
6c149aadfc
feat(plugin-workflow): add delete button in workflow canvas page ( #1844 )
...
* feat(plugin-workflow): add delete button in workflow canvas page
* fix(plugin-workflow): fix redirect url after deleted
* fix(plugin-workflow): fix antd version
2023-05-11 07:48:10 -07:00
Rairn
d34b3fc5e3
chore: add translations
2023-05-11 16:56:05 +08:00
chenos
cf0a921f85
chore(versions): 😊 publish v0.9.3-alpha.1
2023-05-11 12:49:18 +08:00
katherinehhh
55efa40cdd
refactor: association field ( #1838 )
...
* feat: association field
* fix: bug
* refactor: association field
* style: style improve
* style: style improve
* refactor: support subtable
* refactor: support file collection
* refactor: locale improve
* refactor: subtable improve
* refactor: association select improve
* refactor: association select improve
* refactor: association select improve
* refactor: useAssociationNames
* refactor: enable link
* refactor: selector
* refactor: selector
* refactor: locale improve
* refactor: on demand loading of relational data
* refactor: locale improve
* refactor: select button
* refactor: association field
* refactor: formformBlock provider
* refactor: formformBlock provider
* refactor: internalSelect recordPicker
* refactor: formBlocklockProvider
* fix: addNewer schema
* fix: useServiceOptions
* fix: useCreateActionProps
* fix: useCreateActionProps
* refactor: nester delete
* refactor: nester delete in detail
* refactor: subTable suport select
* refactor: subTable suport select
* style: style improve
* style: style improve
* chore: fileManger
* fix: association readPrety
* fix: filemanger
* refactor: field mode
* refactor: enable link
* chore: error message
* refactor: association schemaInitialize
* refactor: association schemaInitialize
* refactor: currentMode
* refactor: field mode default value
* fix: file manage readPretty
* fix: appends
* chore: file manage readPretty
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: nester appends
* fix: nester appends
* fix: tree collection association fields
* fix: tree collection association fields
* fix: nester appends
* fix: subtable to select field value missing
* fix: subtable to select field value missing
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* feat: add migration
* fix: filter block allow add new
* fix: compatible with historical blocks
* fix: skip if not RecordPicker
* fix: compatible with historical blocks
* fix: detail block not support nester
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
Junyi
7fcdc5d336
fix(plugin-workflow): select menu width ( #1820 )
2023-05-07 22:50:43 -07:00
ChengLei Shao
54432a4314
fix: update tree node ( #1812 )
...
* fix: update tree node
* chore: test
2023-05-06 15:14:05 +08:00
ChengLei Shao
258f4e980d
fix: list trees ( #1810 )
...
* fix: list trees
* fix: test
2023-05-06 14:28:13 +08:00
ChengLei Shao
b8c85c91b4
test: filter nested association ( #1802 )
...
* test: filter nested association
* chore: log
* fix: tree instance to json
* ci: test case
* chore: test
* chore: log
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-06 07:55:26 +08:00
ChengLei Shao
e5d286a131
fix: tree performance ( #1779 )
...
* chore: tree performance
* chore: build index value
* chore: get tree index
* fix: children key
* fix: test
* fix: tree child to json
* fix: tree with fields
2023-05-05 10:33:44 +08:00
ChengLei Shao
d4636311e8
Fix/recreate association field ( #1789 )
...
* chore: test
* fix: recreate association with same name as field
2023-05-03 08:05:55 +08:00
Junyi
eb0089190e
fix(utils): fix json-templates bug and moved to utils ( #1784 )
2023-04-28 22:22:08 +08:00
Junyi
4db3b283b0
fix(evaluators): fix date result in variable ( #1781 )
2023-04-28 14:50:35 +08:00
李小斐
7ddc5fb33c
fix: fix button design about edit action ( #1755 )
...
* fix: fix button design about edit action
* fix: fix import module
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.Design.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
* fix: fix merge error
---------
Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
2023-04-27 15:09:45 +08:00
chenos
923f6e7884
chore(versions): 😊 publish v0.9.2-alpha.4
2023-04-26 22:33:55 +08:00
chenos
77a6cbf773
chore: cleanup
2023-04-26 22:32:45 +08:00
被雨水过滤的空气-Rairn
e45b3ce95c
fix: hide default value for expression ( #1765 )
2023-04-26 00:23:31 -07:00
black
00b3c8c257
fix(filter-block): fix association fields not being filtered ( #1758 )
2023-04-26 10:43:48 +08:00
被雨水过滤的空气-Rairn
95e4e7e7b0
fix(variable-input): fix style ( #1761 )
...
* fix(variable-input): fix style
* refactor: avoid lint error
* feat: add invariable
* fix: fix the default value variable of the expression is empty
2023-04-26 09:56:25 +08:00
ChengLei Shao
9101bbbb1b
chore: skip sync overriding field default value ( #1762 )
...
* chore: skip sync overriding field default value
* chore: test
* chore: override field does not allow setting default values
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-25 19:31:16 +08:00
chenos
9756dd134b
chore(versions): 😊 publish v0.9.2-alpha.3
2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
被雨水过滤的空气-Rairn
b1068f2d51
feat: support to use variables to set default value ( #1726 )
...
* fix: fix the default value being overwriitten
* feat: supports association fields to set default value
* feat: support to toggle multiple
* feat: support to use variables to set default value
* refactor: migrate hooks
* fix: fix the title disappearing
* feat: suport to use current-user variable
* fix: fix error
* fix: one to one and one to many should not support to set default value
* fix: fix error when searching
* style: set the width of modal
* fix: should not support to set default value for system fields
* refactor: fix lint error
* style: optimize inputNumber width
* refactor: extract to one function
* refactor: extract function
* fix: should not display default when field is readPretty
* style: optimize width of select
* fix: avoid error
* fix: should not display multiple option when subtable
* fix: should not display default when attachment
* fix: chinaRegion
* chore: optimize code
* fix: build error
* fix: multiple should be true by default
* refactor: optimize code
* fix: fix Select multiple mode
* refactor: optimize code
* fix: width
2023-04-23 18:27:21 +08:00
Junyi
eac3c6f0c8
fix(plugin-workflow): request headers and params should support input ( #1750 )
2023-04-23 01:51:56 -07:00
被雨水过滤的空气-Rairn
3c884cdd36
feat(collection-manager): support for setting the title field ( #1729 )
...
* feat: configure fields
* feat: edit
* feat: enable delete action
* style: indent style
* feat: support to override and view inherited fields
* feat: support to delete and add field and sync
* fix: should delete the seleted option
* feat: support to setting title field
* feat: avoid infinite loops and add default title field
* feat(data-templates): use titleField to display title
* fix: fix the pagination of collection manager
* feat: add prompt for title field switch
* feat: filter field types
* feat: not use title switch when field interface is icon
* feat: translate
* fix: sync update collections data
* feat: translate
* fix: fix build error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-21 11:19:59 +08:00
chenos
5930218811
fix: acl scope support variables ( #1660 )
...
* fix: acl scope support variables
* fix: parse filter
* fix: dynamicComponent
2023-04-21 11:13:43 +08:00
Junyi
5d2724583c
fix(plugin-workflow): fix foreignkey in variable ( #1740 )
2023-04-20 19:52:13 -07:00
Junyi
673c246eed
fix(plugin-formula): remove showUnchecked option ( #1730 )
2023-04-20 19:23:53 -07:00
Junyi
edd2ec7fe6
fix(plugin-workflow): fix manual migration script ( #1735 )
2023-04-20 02:09:17 -07:00
ChengLei Shao
ddb6d69676
fix: load view collection ( #1727 )
...
* fix: load view collection
* refactor: using graphlib at collections load
* test: destory through collection
* feat: throw error when collection manager cycle found
* test: view collection as through collection
2023-04-19 17:59:49 +08:00
chenos
3dfd5a1f7a
chore(versions): 😊 publish v0.9.2-alpha.2
2023-04-19 13:10:55 +08:00
Junyi
a5b4684a48
refactor(plugin-workflow): change single form to custom form block ( #1707 )
...
* refactor(plugin-workflow): change single form to custom form block
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix manual node initializer
* test(plugin-workflow): migrate test cases
* refactor(plugin-workflow): split custom form code
* fix(plugin-workflow): fix types
* refactor(plugin-workflow): change manual form config data structure
* fix(plugin-workflow): fix no options manual node variable
* fix(plugin-workflow): fix migration script
2023-04-18 18:41:18 -07:00
Junyi
422429e772
refactor(plugin-workflow): migrate menu items to options ( #1724 )
2023-04-18 06:46:59 -07:00
Dunqing
42152568ee
fix(map-plugin): some data is incorrect ( #1717 )
...
* fix: data is incorrect
* fix: the data is incorrect when switch page at details
* feat: improve map configuration
* fix: shouldn't display tip when type = point
* fix: cache
2023-04-17 21:31:24 +08:00
被雨水过滤的空气-Rairn
06d67a93ab
feat(map): support to filter other blocks ( #1691 )
...
* feat(Map): support to filter other blocks
* feat: highlight marker when selected
* feat: clear filter params when cancel connect
* feat: support line and polygon
2023-04-17 10:12:49 +08:00
被雨水过滤的空气-Rairn
69bc18e166
feat(form-block): data templates ( #1704 )
...
* feat(Form): support to select existing data as template
* refactor: extract useDataTemplates
* feat(Form): support to use template
* fix: template switch
* fix: fix association field
* fix: filter fields
* fix: fix unselected default value
* fix: avoid errors
* refactor: remove useless code
* refactor: move templateSelect to FormBlockProvider
* feat: add a checkbox to toggle template selector
* feat: change the options order
* feat: hide Collection option when no inherit
* fix: optimize the label text
* fix: should empty form
* fix: should hide configuration when is not added
* chore: change text
* fix: template selector not displayed
* feat: optimize template
* feat: data template middleware
* fix: template select
* fix: default
* fix: fields
* feat: field delete button changed from hidden to disabled
* fix: improve code
* fix: prefix error
* fix: items
* feat: use Tree
* fix: maxDepth
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-16 14:22:46 +08:00
Junyi
0450789d63
fix(plugin-workflow): fix request body variable component ( #1703 )
...
* fix(plugin-workflow): fix request body variable component
* fix(client): add missed file
2023-04-14 16:46:51 +08:00
ChengLei Shao
86de0733ad
fix: meta acl with association query ( #1695 )
...
* fix: meta acl with association query
* fix: test
2023-04-12 17:44:33 +08:00
Dunqing
1fdc456c0b
feat: improve plugin manager ui ( #1650 )
...
* feat: improve plugin view
* feat: work compatibility
* feat: avoid cause error
* feat: complete
* docs: revert
* fix: header cannot displayed
* feat: improve
* feat: update page css
* feat: update fixedblock design
* chore: upgrade antd
* fix: improve code
* fix: build error
* fix: build error
* fix: pagination cannot be fully displayed
* feat: improve
* fix: ts error
* chore: sqlite view field test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2023-04-12 12:24:09 +08:00
Junyi
0126a48cfa
feat(plugin-workflow): add workflow specific logger ( #1677 )
...
* feat(plugin-workflow): add workflow specific logger
* fix(plugin-workflow): fix packages
* refactor(logger): adjust logger path env
2023-04-10 06:00:29 -07:00
被雨水过滤的空气-Rairn
2050eb5317
feat: optimize file collection ( #1666 )
...
* feat(Upload.DraggerV2): add loading
* feat: auto close on uploading over
* feat: auto selected when upload is complete
* feat: filter selected options
* feat: add quick-upload and select-file
* fix: should not appear on readPretty mode
* fix: radio
* fix: compatible with older version
* feat: improving the interaction of radio selections
* fix: show two butons by default
2023-04-09 16:46:53 +08:00
Junyi
e9d5fa7f9c
fix(plugin-workflow): fix null collection fields ( #1674 )
2023-04-08 00:20:33 -07:00
Junyi
93348c9ce6
fix(client): fix variable component read pretty mode ( #1673 )
2023-04-07 23:40:18 -07:00
Dunqing
13b74bde3f
fix: ui problem of compact theme ( #1670 )
...
* fix: graphical interface override tabs
* fix: link of markdown too longer
* fix: page tab designer override in compact theme
* feat: url should be ellipsis
2023-04-08 14:30:16 +08:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression ( #1560 )
...
* feat(plugin-formula): add dynamic expression field
* feat(plugin-workflow): add dynamic expression for calculation
* refactor(client): allow select part of paths in variable component
* fix(client): fix types
* feat(plugin-formula): add dynamic expression config
* feat(plugin-workflow): add dynamic calculation
* refactor(plugin-formula): move expression field type to workflow plugin
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix register field in client
* fix(plugin-workflow): fix expression result value default
* fix(plugin-workflow): fix dynamic expression field error when switch collection
* fix(plugin-workflow): test component value change
* test(plugin-workflow): test component linkages
* refactor(plugin-workflow): change to expression collection template
* fix(client): fix hooks of Variable.TextArea
* fix(client): fix to import evaluators in client
* fix(evaluators): move renderReference method to plugin
* fix(plugin-workflow): fix missed component
* fix(plugin-workflow): fix dynamic expression test case
* refactor(client): change popover to double click to choose entire object
* refactor(plugin-workflow): make variable options and filter more sensible
* fix(plugin-workflow): fix form effect
* fix(plugin-workflow): fix variable filtering in collection trigger
* fix(plugin-workflow): fix types
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
Junyi
0d0c5ff9e0
feat(plugin-workflow): add array mapping support in processor ( #1662 )
2023-04-07 16:08:25 +08:00
Junyi
3ec8b2d45f
fix(plugin-workflow): fix appends null to collection trigger ( #1661 )
2023-04-07 16:04:40 +08:00
Junyi
0ecbd715a6
fix(plugin-workflow): fix todo drawer data load ( #1656 )
2023-04-06 05:07:38 -07:00
被雨水过滤的空气-Rairn
c1057ad52b
fix: fix the 'Add menu item' button disappears ( #1655 )
2023-04-06 16:10:38 +08:00
被雨水过滤的空气-Rairn
53d0c2dd23
feat: support file collection ( #1636 )
...
* feat: support to add File collection
* feat: support to upload files
* refactor: rename 'ReadPretty.Attachment' to 'ReadPretty.File'
* feat: support to associate the File collection
* refactor: add Preview and replace Upload.Selector
* fix(Preview): fix some problems in ReadPretty mode
* feat: use 'preview' as a default title field
* feat: support only local storage now
* fix: should not show 'Add new' button
* chore: add default value for file storage
* fix: fix preview field of file collection cannot be displayed normally
* fix: only Table and Details can display File collection
* chore: translate
* refactor: migration to plugin from core
* refactor: change 'preview' to 'url'
* fix: only 'belongsTo' and 'belongsToMany' can linked file collection
* fix: fix storage and add a field called storage in file collection
* feat: add 'deletable' to configure the visibility of the delete button
* fix: fix can't upload attachment problem
* fix: remove more option
* fix: can't use preview to filter
* fix: remove Import action option
* refactor: remove useless code
* chore: optimize condition
* chore: remove comment
* test: windows compatible
* refactor: optimize upload
* fix: upload action
* fix: createAction
* fix: uploads
* fix: file collection cannot be inherited by other collections
* fix: url should be editable
* fix: url is filterable
* fix: use input interface for url field
* fix: fix error
* fix: remove subform
* Revert "chore: translate"
This reverts commit 53cd346dab8cbee0c52a9da3cf83a99dff2def34.
* refactor: move translation to plugin
* fix: title is editable
* fix: collection?.template === 'file'
* fix: fix order of URL
* fix(collection-manager): allow collectionCategories:list
* chore: add translation
* fix(upload): should enable to use drawer
* refactor: move code to plugin
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-06 12:43:40 +08:00
Junyi
7a4f2a011b
fix(plugin-workflow): fix manual node drawer ( #1653 )
2023-04-05 21:23:57 -07:00
chenos
6f12e97f52
fix(collection-manager): allow collectionCategories:list
2023-04-06 10:32:17 +08:00
ChengLei Shao
242977983b
chore: inhertis api with difference schema ( #1545 )
...
* refactor: getTableNameWithSchema
* feat: allow create collection with same name in difference schema
* feat: support multiple schema with inherit
* feat: repository after find hook & relation repository __colection attribute
* chore: debug info
* chore: tmp commit
* fix: tableoid to tablename error
* feat: filter child table by tableoid
* feat: filter child table by collection name
* fix: sync runner
* chore: test
* fix: jest empty test error
2023-04-06 09:05:47 +08:00
chenos
cfd9ae3a65
fix(charts): chartsQueries:getData
2023-04-04 16:51:20 +08:00
ChengLei Shao
a09c5001eb
feat: plugin before enable hook ( #1648 )
2023-04-04 16:08:10 +08:00
ChengLei Shao
83daf55741
chore: add transaction in set field action ( #1647 )
2023-04-04 11:34:20 +08:00
ChengLei Shao
fff11df2ba
refactor: view collection options ( #1643 )
...
* feat: add schema prefix to view only if view name exists
* chore: view-collection name without schema prefix
* chore: skip list views already connected
* chore: comment
* fix: update field error
* refactor: collection edit can not config fields
* fix: viewName set
* fix: transaction
* refactor: viewname
* chore: collection view name
* refactor: viewname
* chore: remove rename view collection name
* refactor: loading wthen action submjit
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-04 10:52:47 +08:00
ChengLei Shao
914260ed7e
fix: update field error ( #1645 )
2023-04-04 10:44:30 +08:00
chenos
caee2bf213
feat: plugin:getInfo
2023-04-03 16:45:53 +08:00
Junyi
7036879ea6
refactor(client): change Variable.TextArea to controlled component ( #1605 )
...
* refactor(client): change Variable.TextArea to controlled component
* fix(client): fix space and range index
* fix(client): fix ime state in Variable.TextArea
* chore(ci): trigger ci
* fix(client): fix expression validation
* fix(plugin-workflow): fix test case
* fix(client): fix caret when not focused
* fix(client): add html-sanitize
* fix(client): fix range errors on any input
* fix(client): fix start and end range
2023-04-03 08:57:19 +08:00
ChengLei Shao
86abc251d9
fix: get pg view def ( #1641 )
...
* fix: get pg view def
* chore: console.log
2023-04-02 22:50:55 +08:00
ChengLei Shao
bec624eb54
fix: infer view column type with alias ( #1634 )
...
* fix: infer view column type with alias
* fix: build
* fix: type
* fix: test
2023-04-02 14:32:20 +08:00
Junyi
822099271a
fix(plugin-workflow): fix minors ui issues ( #1635 )
...
* fix(plugin-workflow): fix minors ui issues
* fix(plugin-workflow): add refresh after title changed back
* fix(plugin-workflow): fix collection fields variable
2023-04-02 13:24:25 +08:00
ChengLei Shao
3f81d7cd7d
chore: disabled underscored in view collection. ( #1633 )
...
* chore: disabled underscored in view collection
* fix: test
2023-04-02 11:27:04 +08:00
ChengLei Shao
4f87de7da5
feat: database view collection ( #1587 )
...
* test: create view collection
* feat: view collection class
* feat: list view
* chore: skip sync view collection
* test: should create view collection in difference schema
* test: create view collection in collection manager
* feat: create view collection by user sql
* test: view resourcer
* feat: view collection
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* refactor: connect to database view
* refactor: sync from database
* chore: rename list view sql
* chore: list view fields api
* chore: create collection without viewName
* feat: bring out fields when selecting a view
* chore: bring out fields when selecting a view
* feat: view field inference class
* chore: bring out fields when selecting a view
* chore: sync form database view
* chore: sync form database view
* refactor: view collection local
* feat: view get api
* feat: database type infer
* feat: integer map
* chore: remove from in view list
* chore: build error
* chore: uniq collection
* fix: typo
* chore: replace collection list source field
* fix: destroy view collection
* chore: timestamp field map
* refactor: interface avalableTypes
* refactor: interface avalableTypes
* chore: list fields test
* refactor: interface avalableTypes
* chore: uiSchema response in field source
* fix: view query
* chore: collection snippet
* refactor: view collection support preview
* fix: handle field source
* fix: typo
* fix: configure fileds title
* fix: configure fileds title
* fix: configure fileds title
* fix: sync from databse interface
* fix: sync from databse interface
* feat: set fields api
* fix: sync from databse fix
* feat: possibleTypes
* chore: fields get
* fix: sync from databse
* fix: list view test
* fix: view test in difference schema
* chore: comment
* feat: when there is only one source collection, the view is a subset of a Collection
* feat: view collection add field
* fix: inherit query with schema
* fix: test
* fix: ci test
* fix: test with schema
* chore: set pg default search path
* chore: mysql test
* fix: test with schema
* chore: test
* chore: action test
* chore: view column usage return type
* feat: mysql field inference
* fix: tableName
* chore: node sql parser
* fix: sql build
* fix: database build
* fix: mysql test
* feat: view collection uiSchema title
* fix: incorrect field source display when switching views
* refactor: view collection not allow modify
* fix: view collection is allow add, delete, and modify
* fix: mysql test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* chore: add id field as default target key
* style: style improve
* feat: load source field options
* style: style improve
* chore: disable remove column in view collection
* chore: support creating view collection with different schemas with the same name
* chore: support creating view collection with different schemas with the same name
* fix: query view in difference schema
* refactor: view collection viewname
* fix: query view collection in difference schema
* fix: field load
* chore: field options
* fix: mysql test
* fix: uiSchema component error when using a view field in a block
* fix: sqlite test
* chore: test
* fix: dump user views
* fix: view collection can be updated and edited in table block
* chore: sync from database display last field configuration
* chore: loadCollections
* chore: sync from database display last field configuration
* fix: field options merge issues
* style: preview table
* fix: view collection is allow using in kanban blocks
* refactor: code improve
* fix: view collection can be updated an edited in calendar block
* chore: disable infer field without interface
* feat: preview only shows source or interface fields
* fix: test
* refactor: locale
* feat: sql parser
* chore: remove node-sql-parser
* fix: yarn.lock
* test: view repository
* fix: view repository test
* chore: console.log
* chore: console.log
* fix: mysql without schema
* fix: mysql without schema
* chore: preview with field schema
* chore: tableActionInitializers
* style: preview style improve
* chore: parameter is filter when there is no filterByTk
* fix: preview pagination
* fix: preview pagination
* style: preview table style improve
* fix: sync from database loading
* chore: preview performance optimization
* chore: preview performance optimization
* feat: limit & offset
* chore: preview performance optimization
* test: field with dot column
* fix: datetime interface display
* fix: missing boolean type
* fix: sync
* fix: sync from database
* style: style improve
* style: style improve
* style: style improve
* chore: preview table
* chore: preview table
* chore: preview table
* fix: styling
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-01 21:56:01 +08:00
被雨水过滤的空气-Rairn
098140d511
feat(parse-variables): support to parse variables in filter params ( #1558 )
...
* fix: add field linkage on setting default datetime
* fix: fix dateonly timezone problem
* fix: improve test
* docs(DatePicker): add demos
* fix(DatePicker): should return the beginning of a second
* feat(DatePicker): support non-UTC
* refactor: rename
* fix(RangePicker): get correct end date
* test(mapDatePicker): add test
* test(mapRangePicker): add test
* feat(Filter): use non-UTC to filter
* feat(FilterBlock): use non-UTC to filter
* feat: add '$dateBetween' operator in datetime
* feat: use RangePicker on toggled to 'dateBetween' operator
* feat: set ranges for RangePicker
* feat: backend support to parse 'dateBetween' operator
* fix: fix build error
* fix: adaptive content width
* feat: support to use var on data scope
* feat: add parse-variables plugin
* feat: support to parse variables
* feat: support only to set system variables
* test: rename
* feat: cover all
* fix: fix build error
* feat(RangePicker): extend more shortcut keys
* feat(parse-variables): support more date var
* feat: support user variables
* feat: disable unmatched options
* fix: use component name to filter option
* fix: fix build error
* feat: remove some operator of id
* chore: remove useless operators
* fix: built in plugin
* refactor: move to core from plugin
* refactor: remove code of plugin
* refactor: remove useless code
* fix: should after acl
* Update server.ts
* fix: compatible with old version
* feat: test cases
* refactor: rename to 'is between'
* refactor: parse filter
* fix: improve code
* feat: test cases
* fix: fix error
* fix: improve parse date
* fix: date variables
* fix: day range
* fix: test error
* fix: typo
* fix: test error
* feat: $user variable
* fix: toDate
* fix: fix the value range of shortcuts
* feat: add quarter and test
* feat: support to use user's association fields to filter
* refactor: use maxDepth
* refactor: remove useless code
* fix: make AssociationSelect.Designer to support variables
* fix: getField
* fix: parse utc
* fix: remove only
* fix: filter by ctx.db.getFieldByPath
* fix: avoid error
* fix: add translation
* fix(RangePicker): can be set to empty
* feat(utils): add hasEmptyValue
* fix: should not save empty
* fix: last few days should include today
* fix: limit user variable type to display
* fix: parse filter error
* fix: empty
* test: [skip ci]
* fix: remove ';'
* feat: improve code
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 23:49:57 +08:00
Dunqing
6b47597256
fix: when the page has FixedBlock, the table of popup is not displayed ( #1619 )
...
* fix: when the page has FixedBlock, the table of popup is not displayed
* feat: improve disable link
* docs: update
* feat: improve fixedblock design item
2023-03-30 12:33:57 +08:00
Junyi
c572b696cc
fix(plugin-workflow): fix todo list form read-pretty for non-assigneed user ( #1615 )
...
Fix #1572 .
2023-03-29 18:16:46 +08:00
Dunqing
6747331529
refactor: improve FixedBlock performance ( #1593 )
...
* refactor: improve FixedBlock performance
* fix: style
* fix: fixedBlock not work when the page have many blocks
* refactor: improve performance
2023-03-29 17:11:20 +08:00
Dunqing
92d0eab0cc
fix(audit-logs): Add ellipsis feature to table columns ( #1603 )
...
* fix: text is so long
* feat: don't need rowSelection
2023-03-29 16:54:59 +08:00
katherinehhh
22498d8fc6
fix( importable-field): incorrect display when moving sort handle ( #1613 )
...
* fix: importable-field incorrect display when moving sort
* fix: cascader
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-29 00:12:39 +08:00
chenos
64b1ee28fd
fix(plugin-export): sheet name cannot contain : \ / ? * [ ]
2023-03-28 23:56:04 +08:00
ChengLei Shao
e566d56c2d
fix: destroy through table record referencing collections table ( #1611 )
...
* test: destory through table record referencing collections table
* fix: belongs to many fields to reference
2023-03-28 12:26:30 +08:00
chenos
708675deb9
fix(plugin-import): sheet name cannot contain : \ / ? * [ ]
2023-03-28 10:33:36 +08:00
Junyi
435eaee262
fix(plugin-workflow): add default actions value of manual node ( #1600 )
2023-03-25 17:48:01 +08:00
Junyi
d8e8f5ec45
feat(plugin-workflow): add failOnEmpty option for query node ( #1599 )
2023-03-24 23:15:03 -07:00
Junyi
cc50b38a12
fix(plugin-workflow): use toJSON instead of get to get valid result ( #1596 )
2023-03-24 23:54:07 +08:00
Italo A. G
726b08e87a
Translation pt-BR (Brazilian Portuguese) ( #1591 )
...
* feat: portuguese brazil translations
* feat: add pt-BR languate to the plugins
* feat: add pt-BR languate to the plugins
2023-03-23 22:53:33 +08:00
katherinehhh
0a25426f31
fix: repeat request categories when switching between graph interface and collection&fields ( #1590 )
2023-03-23 12:18:52 +08:00
chenos
50183b065d
fix(file-manager): upgrade s3 version
2023-03-21 15:01:02 +08:00
Junyi
c3b89c9abf
fix(plugin-workflow): fix input width in request node config ( #1585 )
2023-03-21 13:04:37 +08:00
被雨水过滤的空气-Rairn
070c9c21ec
feat(filter-blocks): support filter-blocks ( #1505 )
...
* refactor: audit log (#1516 )
* refactor: audit-log
* refactor: audit-log fix view action
* refactor: audit-log view fix
* refactor(audit-log): collection field fix
* refactor: audit-log view field fix
* refactor(audit-log): support fixedBlock
* refactor(audit-log): i18n fix
* feat(filter-blocks): support form-block
* feat(filter-blocks): add FilterProvider
* feat: filter data blocks
* perf: use useMemo
* refactor: rename
* feat: collect filter params
* refactor: rename
* refactor: remove useless code
* feat: add 'Connect data blocks' option
* feat: support 'x-filter-targets' to save data-blocks
* refactor: extract Form.FilterFormDesigner
* feat: extract FormItem.FilterFormDesigner
* refactor: extract common editing options
* feat: support to set operator
* feat: use operator created by user
* fix: improve loading
* fix: merge prev params
* feat: support reset
* refactor: rename
* chore: left a TODO
* feat: add Table.FilterDesigner
* feat: support filter-table
* refactor: reduce code
* feat: handle click event of table row
* feat: support to connect association collection
* feat: support Collapse
* feat: show empty
* refactor: optimize readability
* fix: keep state as latest
* fix: highlight row on selected
* feat: highlight data block on hover
* fix: avoid misuse
* chore: reduce code
* fix(Table): support to cancel select
* fix(Collapse): merge multiple filter params
* chore: make to pass CI
* feat: merge all filter params
* refactor: remove useless code
* fix: undefined
* fix(Form): fix bug with association fields
* chore: fix typo
* fix: use title
* chore: avoid infinite loops
* test: cancel comments
* fix: make ci normal
* fix: filter down non-association fields
* fix: fix page crash
* fix: use correct operator
* fix: avoid infinte loops
* style: optimize style on hover
* fix: avoid crash
* chore: optimize empty description
* fix: avoid targetKey empty
* refactor: use getTargetKey instead
* fix: filter out unfilterable fields
* refactor: avoid to invoke hook multiple times
* refactor: reduce the judgment conditions of component
* fix: group fields in the right way
* fix: fix error of type
* fix: fix error on no FilterBlockProvider
* fix(Table): fix fexed-block bug
* chore: reduce gap
* fix(Form): use AssociationSelect by default
* fix: remove g2plot blocks
* fix(Form): remove 'Display association fields'
* fix(Table): use radio
* fix(Table): no need Actions
* fix: fix template problem
* fix(Table): keep only 'filter' and 'refresh'
* fix: use collection name as identifier for data blocks
* fix: make sure all fields are editable
* fix(Form): remove custom actions
* fix(Details): display empty component on no data
* feat(Form): support association fields
* refactor: rename
* feat(Form): support for deep-level association fields
* Revert "fix(Table): keep only 'filter' and 'refresh'"
This reverts commit 61a1d101a7d15223cfd3523adb33567fff545568.
* Revert "fix(Table): no need Actions"
This reverts commit 8314629e92fb3b5b7ec1c97904a42c76c43e4d4a.
* Revert "fix(Table): use radio"
This reverts commit c6f009740e1835f9762653a721ff64f52d0994cf.
* feat(Table): highlight row on selected
* feat: support to cacel highlight
* fix: type error
* feat: remove Table from filter list
* fix(Table): highlight rows problem
* refactor: remove usless code
* refactor(Collapse): detach from Table
* fix(Table): highlighting row problem
* fix: translate problem
* fix(Collapse): fix error of useProps
* fix(Table): avoid undefined
* Update Details.tsx
* Update DetailsBlockProvider.tsx
* refactor: rename target.name to target.uid
* fix: add translate
* style: add padding
---------
Co-authored-by: anuoua <anuoua@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-20 17:40:16 +08:00
chenos
ef47cac5e6
feat(duplicator): tableName and schema
2023-03-20 15:40:22 +08:00
ChengLei Shao
ca95edf295
refactor: multi-app ( #1578 )
...
* feat: compact theme
* fix: theme
* fix: styling
* fix: margin
* feat: improve
* fix: remove console.log
* test: enable plugin test
* refactor: multi app
* test: lazy load sync plugin
* test: lazy load test
* fix: beforeGetApplication Event
* feat: loadFromDatabase options in traverseSubApps
* fix: test
* fix: multi app manager test
* chore: test
* test: should upgrade sub apps when main app upgrade
* feat: plugin require check
* chore: yarn.lock
* fix: sql typo
* feat: share collections
* fix: record name
* test: belongs to many repository
* fix: belongs to many with targetKey alias
* fix: extend collection error
* fix: transaction error
* feat: collection graph
* fix: update options in collection
* chore: collections graph
* chore: export uitls
* feat: connected nodes method in collections graph
* feat: exclude params in connected nodes
* chore: sub app collection list params
* fix: collections graph
* feat: syncToApps migration
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-19 23:40:42 +08:00
chenos
4427c70087
feat: compact theme ( #1574 )
...
* feat: compact theme
* fix: theme
* fix: styling
* fix: margin
* feat: improve
* fix: remove console.log
2023-03-19 23:40:11 +08:00
Dunqing
3cce8f75e5
feat: support cron field ( #1421 )
...
* feat(calendar): replace cron component with CronSet
* fix: same exported
* fix: type incorrect
* fix: locale
* feat: upgrade react-js-cron and update some text
* fix: cron path
* fix: edge case
* feat: support FixedBlock
2023-03-19 10:55:05 +08:00
chenos
bf50615060
fix: tree collection can be sync to sub-apps
2023-03-17 14:19:28 +08:00
Dunqing
471b319b86
fix(plugin-map): map block repeats ( #1582 )
...
* fix: map block repeats
* feat: update logic
2023-03-17 11:04:29 +08:00
chenos
a9e5e14429
feat: tree collection ( #1561 )
...
* feat: adjacency list
* fix: error
* feat: collection extender
* Revert "feat: collection extender"
This reverts commit a942eee7699724fe831a98bae3f67a42db91a28b.
* fix: registerBuiltInListeners
* chore: getAllNodeIds
# Conflicts:
# packages/plugins/acl/src/server.ts
* fix: get list data tree ids
# Conflicts:
# packages/plugins/acl/src/__tests__/list-action.test.ts
* feat: suport add child
* feat: demo3
* feat: suport add child
* feat: support add child
* feat: support add child
* fix: tree true
* feat: suport expend and collapse
* feat: support expend and collapse
* feat: support expend and collapse
* feat: table block of the selector supports tree table
* feat: expand and collapse are only displayed in the tree table
* fix: when the tree table is closed and opened, it needs to be refreshed to take effect
* fix: test
* refactor: add child is hidden when the tree table is closed
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: tree table filter the children field
* refactor: expand and collapse button does not support modify name and icon
* refactor: parent cannot be modified when adding child
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: expand and collapse button hide when treetable is closed
* refactor: filter out the node itself when selecting parent
* refactor: filter out the node itself when selecting parent
* refactor: tree collection locale
* refactor: tree collection locale
* fix: parameter exception when creating data selector
* fix: translation
* refactor: tree collection locale
* feat: data selector Support tree table
* fix: failed to uncheck when multiple data selectors are selected
* fix: open or disabled the tree table, and add child does not respond immediately
* feat: data selector Support tree table
* fix: can not hide add child button
* fix: improve code
* fix: tree table
* fix: dynamic children column
---------
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-03-17 09:20:56 +08:00
Dunqing
46c736d7d3
feat(plugin-map): add map block ( #1486 )
...
* feat(plugin-map): add MapBlock
* feat: improve implementation to better support multiple fields
* feat: support click overlay
* fix: the width of select is not 100%
* fix: repeat MapBlock
* fix: loss initializer
* feat: support selected marker in map
* feat: support select point use box
* fix: fixedBlock not work
* fix: template not work
* feat: improve ui
* feat: improve selecting
* feat: update ui
* feat: improve map readpretty
* feat: support marker field
2023-03-16 12:12:14 +08:00
ChengLei Shao
2de165c1eb
chore: lazy load sub app in share collection ( #1569 )
2023-03-15 23:20:29 +08:00
ChengLei Shao
e86e40b93a
fix: app manager reload ( #1565 )
...
* fix: app manager reload
* chore: plugin test order
2023-03-14 13:10:15 +08:00
ChengLei Shao
976b094f96
feat: multi-app-share-collection plugin ( #1562 )
...
* feat: multi-app-share-collection plugin
* chore: plugin name
* fix: build
* chore: pg only test
* fix: test
* Update package.json
* Create
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-13 20:43:57 +08:00
chenos
907eb72efc
fix: column ui_schema_id does not exist
2023-03-12 18:44:45 +08:00
anuoua
7313307210
feat: record picker support to enable links ( #1515 )
...
* feat: link-tag-switch
* feat(link-tag-switch): add interface
* feat(link-tag-switch): i18n fix
* feat(link-tag-switch): fix link enable
* feat(link-tag-switch): cr fix
* fix: error
* fix: skip test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-12 17:16:17 +08:00
chenos
cb97c7ae5c
fix: migration error
2023-03-12 14:08:43 +08:00
chenos
aece9015aa
fix: transaction cannot be rolled back because it has been finished
2023-03-12 13:39:27 +08:00
ChengLei Shao
0832a56868
feat: multiple apps ( #1540 )
...
* chore: skip yarn install in pm command
* feat: dump sub app by sub app name
* feat: dump & restore by sub app
* chore: enable application name to edit
* chore: field belongsTo uiSchema
* test: drop schema
* feat: uiSchema migrator
* fix: test
* fix: remove uiSchema
* fix: rerun migration
* chore: migrate fieldsHistory uiSchema
* fix: set uiSchema options
* chore: transaction params
* fix: sql error in mysql
* fix: sql compatibility
* feat: collection group api
* chore: restore & dump action template
* chore: tmp commit
* chore: collectionGroupAction
* feat: dumpableCollection api
* refactor: dump command
* fix: remove uiSchemaUid
* chore: get uiSchemaUid from tmp field
* feat: return dumped file url in dumper.dump
* feat: dump api
* refactor: collection groyoup
* chore: comment
* feat: restore command force option
* feat: dump with collection groups
* refactor: restore command
* feat: restore http api
* fix: test
* fix: test
* fix: restore test
* chore: volta pin
* fix: sub app load collection options
* fix: stop sub app
* feat: add stopped status to application to prevent duplicate application stop
* chore: tmp commit
* test: upgrade
* feat: pass upgrade event to sub app
* fix: app manager client
* fix: remove stopped status
* fix: emit beforeStop event
* feat: support dump & restore subApp through api
* chore: dumpable collections api
* refactor: getTableNameWithSchema
* fix: schema name
* feat: cname
* refactor: collection 同步实现方式
* refactor: move collection group manager to database
* fix: test
* fix: remove uiSchema
* fix: uiSchema
* fix: remove settings
* chore: plugin enable & disable event
* feat: modal warning
* fix: users_jobs namespace
* fix: rolesUischemas namespace
* fix: am snippet
* feat: beforeSubAppInstall event
* fix: improve NOCOBASE_LOCALE_KEY & NOCOBASE_ROLE_KEY
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-10 19:16:00 +08:00
Frozen FIsh
1c2711920a
fix(charts): improve chart table preview with object type ( #1555 )
2023-03-10 16:41:31 +08:00
Junyi
ea4d4ac062
feat(plugin-workflow) config preload associations in triggers and nodes ( #1548 )
...
* feat(plugin-workflow): add preload associations for triggers and nodes
* feat(plugin-workflow): add appends parameter to schedule trigger
* fix(plugin-workflow): fix import
* fix(plugin-workflow): fix component injection
* test(plugin-workflow): add test case
2023-03-10 16:36:58 +08:00
chenos
bc5156d458
chore(versions): 😊 publish v0.9.1-alpha.2
2023-03-09 12:45:30 +08:00
Junyi
060ccd04e7
fix(plugin-workflow): fix module import ( #1550 ) ( #1552 )
...
* fix(plugin-workflow): fix module import (#1550 )
* fix(plugin-workflow): fix module import
2023-03-08 23:00:44 +08:00
Junyi
313217a671
fix(plugin-workflow): fix assignees config component in manual node ( #1547 )
2023-03-07 19:24:02 +08:00
Junyi
2e4354fcf3
fix(plugin-workflow): fix AssociationInput field path ( #1542 )
2023-03-06 17:45:09 +08:00
chenos
a463c3d747
fix: schema name conflicts
2023-03-06 16:51:01 +08:00
chenos
cd7338d1d8
fix(formula-field): remove afterSync hook
2023-03-06 11:58:21 +08:00
ChengLei Shao
a214c7b2aa
fix: belongs to many through table with custom schema ( #1539 )
2023-03-05 17:43:04 +08:00
Junyi
d380c94c52
fix(plugin-formula): expose formula field result in form ( #1534 )
...
* fix(plugin-formula): make formula field result available in form
* fix(plugin-formula): fix infinite field change loop
2023-03-05 14:48:32 +08:00
ChengLei Shao
d1fb3c92d8
test: with collection_manager_schema env ( #1532 )
...
* test: with collection_manager_schema env
* fix: remove collection
* fix: collection test
* fix: collection exist in db with custom schema
* fix: inherited with custom collection schema
* fix: build error
* fix: sync unique index & database logger
2023-03-05 14:45:56 +08:00
Frozen FIsh
599c870f2f
fix(charts): fix copy ( #1533 )
2023-03-04 22:44:52 +08:00
Frozen FIsh
b276ce1258
feat: add chart plugin ( #1477 )
...
* feat: add pie schema template
* chore: refactor
* chore: update
* chore: init server
* feat: add pie schema template
* chore: add chart utils
* chore: update
* chore: update
* chore: update
* chore: update
* feat: mvp
* chore: update
* chore: test
* feat: example
* fix: templates map error
* chore: update
* feat: add ChartBlockEngineDesigner.tsx
* chore: clean code
* chore: update templates
* chore: init bat template
* chore: update chart block engine
* feat: add chart block engine designer
* chore: update chart block initializer
* chore: update pie template
* chore: update
* feat: split sql
* chore: update
* chore: clean
* feat: support bar
* chore: add bar template
* chore: clean code
* chore: clean code
* fix: chart block initializer title
* chore: update
* fix: use title
* chore: update
* fix: bugs
* chore: clean code
* chore: update pie template
* chore: update ChartBlockInitializer.tsx
* chore: update
* feat: support chart config
* chore: add local plugin
* feat: add column template
* feat: add column chart action
* feat: add line chart template
* feat: add line action
* feat: add area template
* feat: add area action
* chore: update pie template
* chore: update
* chore: update dep
* fix: export missing utils
* chore: update dep
* chore: update dep
* chore: update pie template
* fix(charts): sql table capitalization
* fix(charts): improve sql compatibility
* fix: support choices type
* chore: update
* chore: clean code
* chore: get collection fields in chart engine
* feat(demo): chart block initializer
* fix: hello block
* chore: init data analyse plugin
* chore: add data-analyse plugin
* chore: init plugin
* chore: update
* chore: export schema initializers
* feat: add data analyse block
* chore: update data analyse block initializer
* chore: rename plugin name
* chore: update
* chore: update enum
* chore: update add block
* feat: add pie schema template
* chore: refactor
* chore: update
* chore: init server
* feat: add pie schema template
* chore: add chart utils
* chore: update
* chore: update
* chore: update
* chore: update
* feat: mvp
* chore: update
* chore: test
* feat: example
* fix: templates map error
* chore: update
* feat: add ChartBlockEngineDesigner.tsx
* chore: clean code
* chore: update templates
* chore: init bat template
* chore: update chart block engine
* feat: add chart block engine designer
* chore: update chart block initializer
* chore: update pie template
* chore: update
* feat: split sql
* chore: update
* chore: clean
* feat: support bar
* chore: add bar template
* chore: clean code
* chore: clean code
* fix: chart block initializer title
* chore: update
* fix: use title
* chore: update
* fix: bugs
* chore: clean code
* chore: update pie template
* chore: update ChartBlockInitializer.tsx
* chore: update
* feat: support chart config
* chore: add local plugin
* feat: add column template
* feat: add column chart action
* feat: add line chart template
* feat: add line action
* feat: add area template
* feat: add area action
* chore: update pie template
* chore: update
* chore: update dep
* fix: export missing utils
* chore: update dep
* chore: update dep
* chore: update pie template
* fix(charts): sql table capitalization
* fix(charts): improve sql compatibility
* fix: support choices type
* chore: update
* chore: clean code
* chore: get collection fields in chart engine
* chore: init dataset plugin
* chore: init dataset designer
* chore: init dataset block initializer
* chore: update
* chore: update
* chore: update deps
* chore: add tests
* chore: update utils
* chore: init plugin
* feat: add datasets client
* chore: update tests
* chore: update datastructures
* chore: update
* feat: add DataSetBlockInitializer
* chore: use dataset initializer
* chore: update deps
* chore: update
* chore: update pie template
* chore: update ChartBlockInitializer
* chore: update ChartBlockEngine
* chore: remove mdg file
* chore: update ChartBlockEngine
* chore: update
* chore: update g2plot
* chore: update template
* chore: update pie handler
* chore: update DataSetPreviewTable
* chore: update ChartBlockEngine
* chore: update ChartBlockEngineDesigner
* chore: remove useless files
* chore: update ChartBlockInitializer
* chore: update template
* chore: feat area template
* chore: update tests
* chore: update local plugins
* chore: update deps
* chore: update templates
* chore: update template
* feat: add CustomSelect
* chore: update select component
* fix: seriesField color error
* chore: update template
* chore: update
* fix: bar
* chore: update templates & clean code
* chore: update templates
* feat: add FunnelTemplate
* feat: charts queries
* fix: data shift
* feat: add ChartQueryMetadataProvider
* chore: update
* chore: remove dataset
* chore: update
* chore: update
* chore: clean code
* fix: delete query query list wrong behavior
* fix: delete all queries query list behavior
* chore: add empty occupancy
* chore: update description
* chore: update chart icon
* chore: update funnel template
* chore: update template title
* chore: add references
* chore: update dialog height
* fix: scatter template
* chore: update popup description
* refactor: schema level
* refactor: charts schema
* chore: remove console
* chore: remove console
* fix: error message
* chore: remove console
* chore: update DataSetPreviewTable
* feat: chart icons
* feat: update i18n
* feat: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* feat: add tittle
* chore: update icons
* chore: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* chore: update i18n
* fix: improve code
* chore: update i18n
* chore: update i18n
* fix: chart icon
* feat: quick add query (#1527 )
* feat: quick add query
* feat: query
* chore: remove useless files
* fix: json5 validator error
* chore: update
* chore: update style
* chore: lint
* feat: improve code
* feat: sql validation
* refactor: clean code
* Update utils.ts
* chore: format code
* chore: remove useless file
* chore: update
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-04 19:36:58 +08:00
Junyi
37998d03ad
refactor(plugin-workflow): change canvas card and adjust styles ( #1529 )
...
* refactor(plugin-workflow): optimize workflow canvas
* feat(plugin-workflow): allow click on node card to open config and adjust styles
* fix(plugin-workflow): fix collection trigger linkages
2023-03-04 00:19:11 +08:00
ChengLei Shao
1a84396691
fix: remove field when collection has difference schema with database ( #1524 )
2023-03-03 11:05:57 +08:00
chenos
946c8f25a3
chore(versions): 😊 publish v0.9.1-alpha.1
2023-03-03 09:34:06 +08:00
chenos
07ec115904
refactor: audit logs block ( #1517 )
...
* refactor: audit-log
* refactor: audit-log fix view action
* refactor: audit-log view fix
* refactor(audit-log): collection field fix
* refactor: audit-log view field fix
* refactor(audit-log): support fixedBlock
* refactor(audit-log): i18n fix
* refactor(audit-log): fixedTable and drag issue
* refactor(audit-log): remove template support
* refactor(audit-log): drag fix
* refactor(audit-log): disableTemplate & DndContext
---------
Co-authored-by: anuoua <anuoua@gmail.com>
2023-03-03 00:16:26 +08:00
Junyi
ac039ad0e2
fix(evaluators): fix preprocessing and add test cases ( #1519 )
...
* fix(evaluators): fix preprocessing and add test cases
* fix(plugin-workflow): fix calculation test case
2023-03-01 07:55:53 -08:00
ChengLei Shao
9048b2a58b
feat: collection manager schema env ( #1506 )
...
* feat: database manager schema env support
* feat: skip db2cm collection in custom schema
* fix: test
* test: through table custom schema
* chore: fields hooks
* chore: reload through collection on autoCreate
* fix: test error
* fix: skip test case
* chore: children test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-01 17:55:37 +08:00
anuoua
757d409131
feat(snapshot-field): improve transition ( #1513 )
2023-02-28 22:57:47 +08:00
Junyi
05efa41be3
fix(plugin-workflow): fix CollectionField validation when using variable ( #1512 )
2023-02-28 17:56:23 +08:00
Junyi
e752686c7e
feat(plugin-formula): calculation with snapshot field ( #1498 )
...
* feat(plugin-formula): calculation with snapshot field
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
2023-02-28 17:55:58 +08:00
ChengLei Shao
ecf618783e
feat: fallback sort field init to createdAt field ( #1507 )
...
* feat: fallback sort field init to createdAt field when primary key not exists
* chore: set belongsToMany through autoCreated table to sortable false
2023-02-27 13:59:17 +08:00
katherinehhh
4e0a1dedda
fix(graphical-interface): collection category does not display title ( #1503 )
2023-02-27 09:17:13 +08:00
ChengLei Shao
dfbdbc741d
fix: collection schema updated but model _schema not change ( #1500 )
...
* fix: collection schema updated but model _schema not change
* test: schema changed
2023-02-26 08:04:29 +08:00
katherinehhh
94e38e453a
feat: form/button linkage rules ( #1456 )
...
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* feat: linkage rules
* refactor: linkage rules
* refactor: linkage rules update
* refactor: linkage rules button
* refactor(linakge rules): suport value action
* refactor(linakge rules): suport value action
* fix(workflow test): workflow test
* refactor(linakge rules): action linkage only for detail form
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): logic calculation
* refactor(linakge rules): linkageAction
* refactor(linakge rules): linkageAction
* refactor(linakge rules): field value linkageAction
* refactor(linakge rules): local
* refactor(linakge rules): local
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): value property
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse form fields
* fix(linakge rules): conditionAnalyse operators
* fix(linakge rules): form button linkage
* fix(linakge rules): form button linkage
* fix(linakge rules): select component suport pattern
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(linakge rules): component suport field patter for disabled
* fix(action): action desginer suport linkage
* refactor: formula calculation assignment
* refactor: formula calculation assignment
* style: unified component disable style
* feat: richText suport disabled
* feat: condiction suport varible
* feat: condiction suport varible
* refactor: variableInput
* refactor: condiction scope
* refactor: multi level linkage
* fix: empry value linkage
* refactor: components using core schema-component
* fix: fix template reference linkage
* refactor: evalute foumala
* fix: mutual linkage fix
* refactor: variables suport obo&oho
* style: style improve
* style: style improve
* style: style improve
* feat: variables suport m2o
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: actions path
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-25 00:40:51 +08:00
Chareice
e08a8735b1
fix: beforeSubAppLoad emit to async
2023-02-24 10:44:23 +08:00
chenos
e0736f8aed
fix: string violation ( #1487 )
...
* fix: string violation
* feat: add test cases
2023-02-23 12:46:50 +08:00
Junyi
86d9eaf2fb
refactor(plugin-workflow): migrate evaluators ( #1485 )
...
* fix(plugin-formula): fix locale
* refactor(client): migrate variable component
* refactor(plugin-workflow): use core evaluators
* refactor(plugin-workflow): migrate calculation engines to evaluators
2023-02-22 23:45:03 +08:00
chenos
4a7b32b5e7
fix(record-picker): get label from value
2023-02-22 18:10:40 +08:00
Junyi
a19a18b1f7
fix(plugin-workflow): fix customized job status ( #1484 )
2023-02-22 18:01:43 +08:00
Junyi
a18918576b
fix(plugin-workflow): fix condition config param ( #1483 )
2023-02-22 17:35:22 +08:00
Junyi
33f6bb4c63
fix(plugin-workflow): fix migration ( #1479 )
...
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): change migration name to trigger
2023-02-22 13:20:17 +08:00
Junyi
944f327212
fix(plugin-workflow): fix migration on table prefix ( #1478 )
...
* fix(plugin-workflow): fix migration on table prefix
* fix(plugin-workflow): fix migration version check
* fix: ci
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-22 12:05:59 +08:00
chenos
dcc29892e6
fix: remove plugins after migration
2023-02-22 11:29:15 +08:00
chenos
6f23174389
fix: version check error
2023-02-22 10:32:53 +08:00
chenos
a66793282f
fix: migration error
2023-02-22 10:18:14 +08:00
chenos
d25c1b8072
fix(formula-field): rename Plugin.ts to plugin.ts
2023-02-22 09:39:51 +08:00
Junyi
139ca9a635
refactor(plugin-formula): combine 2 formula field type into 1 ( #1457 )
...
* fix: observer
* refactor(plugin-formula): merge 2 formula field type
* fix(plugin-formula): fix types
* fix(plugin-formula): fix type
* fix(plugin-formula): fix formulajs version
* fix(plugin-formula): change to VariableInput to avoid range error
* test(plugin-formula): add test
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* refactor(plugin-formula): move components into plugin
* fix(plugin-formula): fix migration
* fix(plugin-formula): revert legacy component to fix build
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix read-pretty component
* fix(plugin-formula): fix formula result component
* feat(plugin-formula): add checkbox display X
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-21 20:12:21 +08:00
Junyi
68062b969b
fix(plugin-workflow): fix migration for calculation ( #1476 )
2023-02-20 23:40:15 +08:00
Junyi
1705b10b98
fix(plugin-workflow): fix schedule trigger number type repeat ( #1475 )
2023-02-20 21:48:15 +08:00
Junyi
4fbad75ea9
Feat(plugin-workflow) manual instruction ( #1339 )
...
* feat(plugin-workflow): add prompt node
* feat(plugin-workflow): useValueGetter for all instructions and triggers
* feat(plugin-workflow): add workflow block initializer
* refactor(plugin-workflow): change prompt node type to manual
* feat(plugin-workflow): add ModeConfig component for mode
* feat(plugin-workflow): add todo drawer
* feat(plugin-workflow): add block value provider
* feat(plugin-workflow): improve todo block and drawer
* fix(plugin-workflow): fix instruction name in test cases
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change param type of collection field initializer
* feat(plugin-workflow): add filter types for getters
* fix(plugin-workflow): fix assignees variable
* fix(plugin-workflow): filter todo by exist workflow
* fix(plugin-workflow): fix duplicated save action in manual config
* fix(plugin-workflow): fix transaction
* feat(plugin-workflow): destroy workflow will be cascaded
* fix(plugin-workflow): fix merge
* fix(plugin-workflow): fix locale
* fix(plugin-workflow): allow open ui view when executed
* fix(plugin-workflow): change todo table filter
* feat(plugin-workflow): use formula for calculation
* fix(plugin-workflow): fix variable template regexp
* fix(plugin-workflow): fix sub-options logic with types
* refactor(plugin-workflow): drop useless component
* fix(plugin-workflow): fix manual node action button
* feat(plugin-workflow): add new variable input component
* refactor(plugin-workflow): change all variable to new component
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix functions init
* fix(plugin-workflow): change jsonb to json for stable order
* fix(plugin-workflow): fix duplicated field name when initialize
* fix(plugin-workflow): fix manual result in manual block
* test(plugin-workflow): log field initializer props
* fix(plugin-workflow): fix nullable arguments
* test(plugin-workflow): test initializer fields schema
* fix: observer
* fix(plugin-workflow): adjust hints
* fix(plugin-workflow): fix locale and cursor in variable input
* refactor(plugin-workflow): change status keys
* fix(plugin-workflow): fix parallel instruction
* fix(plugin-workflow): fix calculation migration
* fix(plugin-workflow): move tasks native filter to server
* fix(plugin-workflow): fix manual options for variable
* fix(plugin-workflow): fix conflict
* fix(plugin-workflow): fix some bugs
* fix(plugin-workflow): fix todo list filter and locale
* fix(plugin-workflow): fix update action of workflow
* refactor(plugin-workflow): add legacy condition calculation as basic engine
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix condition basic calculation
* fix(plugin-workflow): fix type
* fix(plugin-workflow): fix migration
* fix(plugin-workflow): fix evaluators and scope
* fix(plugin-workflow): remove disabled type select in schema config
* fix(plugin-workflow): fix manual form schema designer
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-20 11:52:06 +08:00
chenos
5421686504
feat: support for importing attachments ( #1466 )
2023-02-19 17:35:23 +08:00
Chareice
01663da7ec
fix: install user error
2023-02-19 16:20:14 +08:00
ChengLei Shao
24fb25754f
fix: column not exists error after destory relation field ( #1465 )
...
* test: field not exists
* fix: create association field after other association field destroyed
2023-02-19 11:55:25 +08:00
chenos
52ed4f488a
fix(ui-schema-storage): when the collection is deleted, the block template is also deleted
2023-02-18 11:20:29 +08:00
chenos
4ec19e9c0c
fix(map): ellipsis with tooltip
2023-02-18 11:10:26 +08:00
ChengLei Shao
43e52843fa
fix: add schema ( #1464 )
...
* fix: add schema
* chore: format
2023-02-18 09:27:54 +08:00
chenos
5805b69455
feat(db): field value parser
2023-02-16 23:56:00 +08:00
Chareice
0ac351bbd2
chore: plugins
2023-02-16 22:02:03 +08:00
chenos
a6aec25343
refactor: export plugin ( #1460 )
...
* refactor: export plugin
* fix: improve code
2023-02-16 16:48:00 +08:00
ChengLei Shao
542175f454
feat: beforeSubAppLoad event
2023-02-16 01:46:23 +00:00
ChengLei Shao
6b40c92d49
Merge branch 'main' into fix/pg-schema-with-inherit
2023-02-15 15:08:06 +00:00
Chareice
897cede160
fix: inherited collection test
2023-02-15 17:08:35 +08:00
chenos
b1b3e523c2
fix(map): cannot read properties of undefined (reading 'title')
2023-02-15 15:58:09 +08:00
chenos
1b5f3a38cf
fix: skip migration test case
2023-02-15 15:23:04 +08:00
chenos
50a4da84d2
fix: skip test
2023-02-15 14:27:47 +08:00
chenos
d08c7833ee
fix: collection categories need to be sorted
2023-02-15 14:22:37 +08:00
Chareice
d232a7bb50
fix: test table name
2023-02-15 12:13:32 +08:00
Chareice
05243d03ca
fix: test
2023-02-15 11:55:53 +08:00
chenos
83bca97db0
fix: optimize import performance
2023-02-15 11:37:19 +08:00
Chareice
f03bcf716d
Merge branch 'main' into fix/pg-schema-with-inherit
2023-02-15 10:43:28 +08:00
Chareice
d3fb665e61
fix: test
2023-02-15 10:10:44 +08:00
Chareice
1575364736
chore: test
2023-02-15 00:18:48 +08:00
Chareice
130fe22704
fix: schema test
2023-02-14 21:34:23 +08:00
Chareice
ee3db22c8a
fix: update to bigint test
2023-02-14 20:15:32 +08:00
Chareice
1589d11e82
feat: collection add schema table name method
2023-02-14 20:04:49 +08:00
Chareice
f1c269cb57
fix: test
2023-02-14 17:57:29 +08:00
Chareice
899a7f7141
Merge branch 'main' into fix/pg-schema-with-inherit
2023-02-14 15:32:49 +08:00
chenos
05740672a0
feat: multiple apps admin ( #1431 )
...
* fix: dynamic routerBase
* fix: start sub app with empty options
* chore: sync options
* fix: sub app create database
* fix: test
* fix: deps
* feat: register app db creator
* feat: default db creator
* feat: app options factory
* chore: api name
* fix: test
* fix: running sub app
* fix: beforeGetApplication hook
* fix: mysql test
* fix: appManager get selector
* chore: callback
---------
Co-authored-by: Chareice <chareice@live.com>
2023-02-14 15:30:58 +08:00
CraK
176bd6e7ac
chore: fix build plugin error ( #1454 )
...
* chore: fix build plugin error
* Update evaluate.ts
* Update package.json
* chore: update formulajs@3.1.7 → 4.2.0
* Update evaluate.ts
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-14 15:27:49 +08:00
ChengLei Shao
0e0eb6432e
feat: provide the underscored option for the database ( #1366 )
...
* feat: underscored options
* feat: underscored using hook
* feat: database underscored options
* feat: underscored env
* fix: collectionExistsInDb
* fix: test
* fix: nocobase install
* fix: test
* fix: belongsTo association
* fix: test of underscored
* chore: console.log
* fix: list action test
* fix: dump test
* chore: snakeCase algo
* fix: underscored field create
* fix: underscored env
* fix(acl): custom appends merge strategy (#1416 )
* Update index.md
* fix(plugin-workflow): use promise to request (#1426 )
* Update index.md
* Update collection.md
* Update index.md
* Update index.md
* Update collection.md
* Update field.md
* Update repository.md
* Update has-one-repository.md
* Update has-many-repository.md
* Update belongs-to-many-repository.md
* Update index.md
* chore: translate 'Add tab' in page header (#1424 )
* fix: test
* fix: workflow test
* fix: underscored with inherits
* fix: underscored test
* fix: process.env.DB_UNDERSCORED
* fix: process.env.DB_UNDERSCORED === 'true'
* fix: test
* fix: pg test
* fix: underscored table name
* feat: tableName & fieldName conflict check
* fix: test
* fix: underscored index
* fix: update field unique index
* fix: sync default value
* fix: collection manager create field
* chore: field sync
* fix: pg test
* chore: test
* fix: test
* chore: default constraint name
* chore: syncUniqueIndex
* feat: field destory before check
* feat: field type check
* fix: test
* fix: test
* fix: improve
* fix: should destroy when fields refer to the same field
* fix: acl meta with underscored
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-13 21:38:47 +08:00
chenos
e5e503fe87
feat: add namespace and duplicator parameters for collection options ( #1449 )
...
* feat: add namespace and duplicator parameters for collection options
* fix: duplicator:getDict
2023-02-13 09:57:03 +08:00
anuoua
2cfdfd2084
fix(snapshot-field): remove depth limit ( #1450 )
2023-02-13 09:55:04 +08:00
anuoua
6c837ee08c
feat: association snapshot ( #1438 )
...
* feat: snapshota
* feat: snapshota i18n & bugs
* feat: snapshota association value fix
* feat: snapshota remove require true
* feat: snapshota params.values null fix
* feat: snapshota i18n
* feat: snapshota CR fix
* feat: snapshota field change fix
* feat: snapshota magicstring fix
* feat: snapshota field del fix
* feat: snapshota CR fix
* feat: snapshota tag fix
* feat: snapshota depth < 3
* fix: improve code
* feat: snapshota test
* feat: snapshota remove disabled
* fix: disabled isOverride
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-12 14:43:48 +08:00
chenos
d7dad1855f
fix(duplicator): automatic file path recognition
2023-02-11 11:09:14 +08:00
Chareice
f69b062b4f
fix: test
2023-02-11 09:41:59 +08:00
chenos
68511f05bc
docs: add plug-in documentation
2023-02-11 00:09:39 +08:00
Junyi
e2e85808e4
fix(plugin-sequence): fix missed createdAt field in bulk hook ( #1448 )
2023-02-10 23:41:30 +08:00
Chareice
5e603b5a52
chore: databse utils
2023-02-10 12:52:23 +08:00
katherinehhh
f8a11cbbf0
feat: collection categories ( #1327 )
...
* feat: collection categories
* feat: collection category
* feat: collection category
* feat: collection category belongsToMany
* feat: collection category
* feat: collection category
* feat: collection category
* feat: collection category local
* feat: collection category
* feat: collection category collection
* feat: collection category code improve
* feat: collection category code improve
* feat: collection category column
* feat: collection category color
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category refresh
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: collection category improve
* feat: graph collection show category color
* feat: graph collection show category color
* feat: graph collection category style improve
* fix: change the variable names to camel case
* fix: category
* fix: collectionCategory
* fix: field options
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-10 09:15:37 +08:00
Junyi
2b7f138491
fix(plugin-fm): fix path config for storages ( #1445 )
2023-02-09 22:40:26 +08:00
Chareice
9c9c39c0cd
fix: restore with pg schema
2023-02-09 22:00:30 +08:00
SemmyWong
d79143e3ed
fix: node.js 17+, add openssl-legacy-provider ( #1434 )
...
* fix: node upgrade 17+, add openssl-legacy-provider
* fix: node upgrade 17+, add openssl-legacy-provider
* fix: param NODE_OPTIONS_OPENSSL_LEGACY_PROVIDER change to NODE_OPTIONS
2023-02-09 17:04:32 +08:00
Junyi
71dcabec25
fix(plugin-workflow): fix schedule on field null value ( #1442 )
2023-02-09 16:24:51 +08:00
Chareice
4449325489
fix: pg schema in sync runner
2023-02-09 13:01:25 +08:00
ChengLei Shao
debd95894f
feat: disable trigger when import collection ( #1417 )
...
* feat: dump with pg user defined functions
* chore: restore db in restorer
* chore: restore log
* feat: disable trigger when import collection
2023-02-07 11:55:11 +08:00
Junyi
3115134f3a
fix(plugin-workflow): use promise to request ( #1426 )
2023-02-04 16:03:25 +08:00
Chareice
1f82a97eb9
fix: isCurrentUser context params
2023-02-01 19:55:01 +08:00
ChengLei Shao
c239a5ad63
fix: load through collection before belongsToMany field bind ( #1409 )
2023-01-31 17:48:04 +08:00
Dunqing
b88adc5c11
feat(verification-plugin): support tencent sms ( #1382 )
...
* feat: support tencent sms
* feat: complete tencent sms
* refactor: clean
* feat: improve error message
2023-01-30 05:16:03 -08:00
ChengLei Shao
bab10c928b
fix: inherit startup sort ( #1402 )
2023-01-29 15:46:53 +08:00
Junyi
91413196ea
fix(plugin-workflow): fix url input width for request config ( #1401 )
2023-01-28 22:36:58 -08:00
anuoua
22339d9ef7
Fix/snapshot ( #1396 )
...
* feat: snapshot field check add collectionName
* feat: snapshot add test
* fix: filterByTk
* Update ResourceActionProvider.tsx
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-29 01:32:18 +08:00
Junyi
bf6bf00047
Fix(plugin-sequence): support sequence field in m2m through table ( #1383 )
...
* fix(plugin-sequence): support sequence field in m2m through table
* fix(plugin-sequence): fix update last sequence
* fix(plugin-sequence): fix hooks
2023-01-18 22:54:08 +08:00
Junyi
aaf6718755
fix(plugin-workflow): adjust executed alert position ( #1381 )
2023-01-17 08:32:24 -08:00
Junyi
00efb38438
feat(client): add form disabled context ( #1374 )
...
* feat(client): add form disabled context
* fix: improve code
* fix: improve code
* fix: form-v2 disabled
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-16 23:01:28 +08:00
Junyi
51ce0afc06
Fix(plugin-workflow): request node ( #1367 )
...
* fix(plugin-workflow): fix json data
* refactor(plugin-workflow): change ejs to json-templates in request
* feat(plugin-workflow): add variable insert button to json input
* fix(plugin-workflow): fix main locales
* fix(plugin-workflow): fix params in request
* fix(plugin-workflow): fix types
* feat(plugin-workflow): add ejs migration
2023-01-15 12:56:04 +08:00
chenos
daa91e95a6
chore(versions): 😊 publish v0.9.0-alpha.2
2023-01-14 12:07:20 +08:00
chenos
f33c63ac01
fix: filter error
2023-01-14 10:31:22 +08:00
chenos
a4116a251b
fix: locale cache
2023-01-13 11:47:56 +08:00
chenos
86554c0205
feat: add en-US.example.json
2023-01-13 11:26:52 +08:00
chenos
cc47041519
feat: load multiple languages dynamically ( #1355 )
...
* feat: load multiple languages dynamically
* fix: map locale
* fix: antd
* fix: locale
* fix: th
* fix: cronstrue locales
* fix: improve code
* fix: defaults
2023-01-13 10:55:04 +08:00
Junyi
a1127300ae
refactor(plugin-workflow): refactor request instruction ( #1356 )
2023-01-12 02:22:06 -08:00
chenos
c5238f5643
feat: update dependencies ( #1353 )
...
* feat: update dependencies
* fix: import error
2023-01-12 10:12:37 +08:00
chenos
6ca67c87fa
fix(plugin-snapshot): improve translation
2023-01-11 18:17:11 +08:00
chenos
013f0916a5
chore(versions): 😊 publish v0.9.0-alpha.1
2023-01-11 12:08:24 +08:00
chenos
8d30bee757
feat: change license ( #1350 )
2023-01-11 11:58:47 +08:00
chenos
1dc4142da2
fix: typeError: Cannot read properties of undefined (reading 'find')
2023-01-10 10:48:50 +08:00
chenos
452ecb5fc7
feat: formula plugin ( #1344 )
...
* fix: transaction cannot be rolled back because it has been finished with state: rollback
* fix(plugin-system-settings): convert array to json
* fix(collection-manager): o2m is array type
* fix: missing RefreshActionInitializer
* fix(collection-manger): incorrect scope key parameter
* fix: can't access pages without permission via url (#826 )
* feat(database): add sequence field type (#779 )
* feat(database): add serialString field type
* feat(database): add serial string type field ui (skip ci)
* test(feat/database): test field options
* docs: demo
* fix(database): fix array table field behavior
* fix(database): fix serial type interface ui
* fix(database): add match logic for patterns changes
* fix(database): fix serial type query last bug in mysql
* refactor(database): refactor last record logic
* chore: revert modification on unnecessary file
* refactor(database): rename serialString type to sequence
Co-authored-by: chenos <chenlinxh@gmail.com>
* added Russian translation (#840 )
* Russian translation
* Add files via upload
Add RU locale into index.ts
Bugs fixed in the ru_RU.ts
* Update index.ts
Correct lines 4 and 8
* feat: update option must have filter or filterByTk (#847 )
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
* feat(core/cache): support cache (#876 )
* feat(core/cache): support cache
* build(create-nocobase-app): remove --cache-store-package cli option
* perf(core/cache): modify default cache config and remove unnecessary logic code
* fix: slow join query issued by appends field in find method of repository (#845 )
* fix: slow join query issue by appends field in repository.find
* feat: handle appending query in multiple relation repository
* feat: handle appending query in single relation repository
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: sort parameter is missing (#849 )
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
* fix(formula): support integer and fix NaN error (#879 )
* fix(formula): support integer and fix NaN error
* style(formula-input): remove debugger
* fix(database): fix the index name too long error
* feat(collection-manager): inverse fields can be configured (#883 )
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
* fix: run test by jest (#891 )
* fix: unable to submit form during file upload (#892 )
* fix(client/block-select-collection): fix select collection menu view error (#889 )
* fix(client/block-select-collection): fix too many collection menu view error
* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error
* fix(client/record-picker): support record-picker show format DataPicker (#888 )
* fix(client/record-picker): support record-picker show format DataPicker
* fix(client/record-picker): undefined judgment and when change field's label refresh format in time
* feat: improve signin and signup page components
* feat(plugin-workflow): add concat calculator (#894 )
* fix: single relation repository appends query issue (#901 )
* fix: appends merge includes (#905 )
* fix: build error
* fix(client): tab pane initializers for create form block
* fix: version judgment is not accurate
* fix: sync collection field default value (#907 )
* feat: limit database identifier (#908 )
* fix: cannot read properties of undefined (reading 'target')
* fix: appends merge now using primary key (#911 )
* fix: appends merge now using primary key
* chore: console.log
* fix: unbind on error throwing (#914 )
* feat: create with array of values (#912 )
* feat: create with array of values
* chore: console.log
* chore: debug
* fix(client/route-switch): skip sub routes
* Feat: plugin workflow collection field (#919 )
* feat(plugin-workflow): use Collectionfield component to render form
* fix(plugin-workflow): fix association types value assigning in nodes
* fix: missing menuItemGroupCss
* fix: multiple = false
* chore(versions): 😊 publish v0.7.5-alpha.1 (#920 )
* fix(plugin-workflow): temp disable validation of collection field in node (#928 )
* fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926 )
* Feat/plugin workflow collection field (#934 )
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
* fix(plugin-workflow): add req context to processor (#936 )
* fix(plugin-workflow): avoid revision with ghost nodes (#941 )
* fix(plugin-workflow): fix collection fieldset component (#942 )
* feat(useSignup): customize success message
* feat: changed with associations (#943 )
* feat: changed with associations
* fix: test error
* fix: test error
* fix: test
* fix(plugin-workflow): fix schedule trigger bug (#949 )
* fix(plugin-workflow): skip time based test (#951 )
* fix(plugin-workflow): test changedWithAssociations() (#950 )
* fix(plugin-workflow): test changedWithAssociations()
* fix: toChangedWithAssociations
* fix(plugin-workflow): add test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: docker optimizing (#948 )
* chore: feat/docker-optimizing
* feat: docker nginx gzip config
* feat: ui schema cache (#877 )
* feat(core/cache): support cache
* perf(plugins/ui-schema-storage): cache schema
* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action
* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache
prevent jsonSchema and properties cache override each other
* test(plugins/ui-schema-storage): add ui_schema repository with cache test
* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option
* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false
* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add filter action to collection table (#953 )
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* fix: format code
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: default value of VERDACCIO_URL
* feat: add Dockerfile.official
* refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913 )
* Turkish language (#939 )
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe dil düzenlemesi. Turkish language edit.
* fix: cannot find name 'antdTrTR'
* chore(versions): 😊 publish v0.7.6-alpha.2 (#954 )
* Turkish readme (#955 )
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe Açıklama sayfası. Turkish readme file added
* Turkish language link added
* turkish language link added
* fix: update readme
* fix(plugin-workflow): fix constant schedule trigger time (#956 )
* feat: push ali docker registry (#957 )
* feat: push ali docker registry
* fix: add VERDACCIO_URL
* fix: env
* fix: add VERDACCIO_URL to env
* fix: update VERDACCIO_URL
* fix: arg VERDACCIO_URL
* fix: update Dockerfile.official
* fix: build-args
* fix: network: host
* fix: ci
* fix: verdaccio:10104
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* feat: push acr
Co-authored-by: ChengLei Shao <chareice@live.com>
* feat: api service
* fix: api services
* feat(file-manager): support tencent cos (#958 )
* feat: support tencent cos
* feat: normalize
* chore: update env example
* test: add cos
* Revert "feat: normalize"
This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3.
* feat: normalize
* feat: tengxun to tencent
* chore: fix missing deps
* fix: locale
* fix: locale cos
* fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962 )
* fix: lerna ERR! EUNCOMMIT M yarn.lock
* fix: driver-opts: network=host
* fix(ci): add verdaccio service
* chore(versions): 😊 publish v0.7.7-alpha.1 (#963 )
* fix(plugin-workflow): fix workflow update action (#964 )
* fix(ci): yarn config set network-timeout 600000
* fix: empty logic operator filter (#961 )
* chore: fix incorrect deps (#970 )
* feat: support show lunar day (#972 )
* feat: support show lunar day
* fix: update yarn.lock
* fix: types error
Co-authored-by: Dunqing <dengqing0821@gmail.com>
* fix(ci): remove platforms
* chore: improve ci (#976 )
* test: ci
* fix: ci error
* fix: on pull_request
* fix: paths
* fix: paths 'packages/**'
* feat: support show lunar day in week and day (#977 )
Co-authored-by: qing <qing@imideMacBook-Air.local>
* fix(client/formula): set cursor focus on input (#959 )
* fix(client/formula): set cursor focus on input
* fix(client/formula): when formula field name has contains the other one will case FormulaError
refactor partial implementation
* fix(client/table-selector-provider): make data range config effective (#960 )
* fix(client/table-selector-provider): make data range config effective
* fix(client/table-selector): fix when save data range config filter lose
* fix(client/upload): fix upload mutiple files always uploading status (#974 )
* Update README.md
* Update README.zh-CN.md
* Update README.tr-TR.md
* feat(calendar): support for add/remove repeats events (#988 )
* feat(calendar): support for adding repeats
* feat: support delete events
* fix: has many same x-action
* feat: update better logic
* fix: exclude is not an array
* fix: handle parse cron error
* feat: support every_week, every_month, every_year
* fix(calendar): events cannot support moment (#1017 )
* fix(calendar): events cannot support moment
* fix: avoid manipulating raw values
* feat: add excel function field (#906 )
* feat: add excel function field
* fix: translations
* fix: documentation
* chore: remove console log
* chore: moved generation of parser to helper function; feat: added GET_DEEP function
* chore: improve tokenisation for when there are similar names;
* chore: move helper to utils
* fix: import from @nocobase/utils/client
* feat: integration as a plugin
* fix: remove excel function interface
* fix: locale
* fix: error
* refactor: formula plugin
* fix: improve code
* feat: update docs
* fix: error
* fix: update deps
* fix: remove formula
* fix: bigint & test
* fix: result
* fix: double data type
* fix: maximum call stack size exceeded
* fix: improve code
* fix: improve code
* feat(cli): quickstart
* Revert "feat(cli): quickstart"
This reverts commit 99ad54afb6785c9180c46dd3e9e01e25da368218.
* fix: precision
* fix: migration
Co-authored-by: Michael DeGiovanni <m.degiovanni@gmail.com>
2023-01-10 09:48:46 +08:00
chenos
3091d25b5e
fix(acl): map snippet & translation
2023-01-09 22:03:57 +08:00
chenos
ab85deae64
fix(acl): logged in users are allowed to view map configuration
2023-01-09 18:11:12 +08:00
chenos
dd157e2fd0
fix: shallow merge
2023-01-09 15:41:08 +08:00
chenos
fd71d57bdf
fix: add filter operator "is not current logged-in user"
2023-01-09 10:59:26 +08:00
ChengLei Shao
a614bc7de8
feat: acl optimization ( #1136 )
...
* fix: sort field with table dose not have primary key
* feat: fixed params merger
* chore(plugins/acl): fixed params
* chore(plugins/acl): allowConfigure of collections
* chore(plugins/china-region): disable actions other than list
* chore(plugins/collection-manager): allowConfigure permission
* chore(plugins/file-manager): acl fixed params
* chore: acl fixed params
* chore: rolesResourcesScopes onDelete cascade
* fix: install error
* chore: test
* fix: root user fixed params
* fix: role resource scope onDelete
* chore: test
* chore: test
* fix: acl
* chore: disable index.html cache
* chore: disable index.html cache
* test: destory user role
* test: destory throught table
* fix: test
* fix: test
* chore: add rolesUsers to fixed params
* feat: permission logging
* feat: permission logging
* fix: test
* fix: test
* chore: disable grant target action
* fix: appends with fields
* fix: get action params
* fix: associationActions
* chore: change AssociationField using relation type
* chore: typo
* refactor: allow to skip
* fix: prettier
* chore: attachments association action
* fix: allowConfigure condition
* fix: deprecated allow
* fix: please use skip instead
* feat: table column aclcheck
* chore: test
* feat: throw error when detory no permission record
* chore: test
* chore: acl test
* feat: field acl
* chore: after action middleware
* fix: destory permission check
* chore: middleware use
* fix: test
* feat: filter match
* feat: subform/subtable field acl check
* feat: action permision by scope
* feat: action permision by scope
* feat: list action with allowedActions
* chore: all allowed action
* fix: pk error
* fix: merge error
* fix: create query sql
* fix: skip permission
* fix: scope with association field
* feat: action acl fix
* feat: action acl fix
* fix: update submodule
* Feat: setting center permission (#1214 )
* feat: add setting center permissions
* feat: setting center permissions backlist
* feat: setting center permissions BLACKLIST
* feat: setting center permissions blacklist
* feat: setting center permissions blacklist
* feat: setting center permission
* feat: configure plugin tab expand
Co-authored-by: chenos <chenlinxh@gmail.com>
* Feat :field acl (#1211 )
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: build error
* test: acl snippet
* feat: set field
* fix: test
* fix: build error
* fix: utils Dependency cycles
* feat: general permissions
* feat: delete pluginTabBlacklist
* fix: test
* feat: snippetManager allow method
* feat: acl role snippetAllowed method
* feat: array field repository
* feat: ArrayFieldRepository
* fix: test
* fix: ci
* fix: ci error
* fix: add set parse
* test: array field repository
* chore: addSnippetPatten
* fix: start
* feat: sync role snippets
* feat: snippets check
* feat: snippets check
* chore: acl role snippet api
* fix: test
* fix: test
* refactor: acl role snippets
* chore: registerACLSettingSnippet
* chore: default snippets
* feat: snippets match
* feat: snippets check
* feat: snippets check
* feat: pm permision check
* feat: pm permision check
* feat: snippet pattern match
* feat: pluginManagerToolbar check
* feat: pluginManagerToolbar check
* chore: snippets default value
* feat: set role snippets migration
* chore: snippets
* feat: acl local
* feat: acl local
* feat: bookmask fix
* feat: plugin-manger & ui-editor snippet
* feat: set allowConfigure to false when upgrade to snippets
* feat: destory action acl fix
* feat: destory action acl fix
* fix: association resource params merge
* fix: ui editor snippet
* feat: action acl fix
* chore: move list meta middleware into plugins/acl
* fix: test
* feat: action acl fix
* feat: action acl check fix
* feat: plugins toolbar fix
* feat: gitmodules
* fix: subproject
* chore: add avaiableActions to snippet
* chore: change plugin-manager snippet
* feat: configure action acl fix
* feat: plugin tab acl check fix
* chore: roles snippets
* fix: add actions to snippet
* feat: allowconfigure fix
* fix: count with filterBy
* fix: build error
* feat: get action with allowedActions
* feat: acl route check fix
* feat: aclActionProvider fix
* feat: actionscpe fix
* feat: actionname alias
* feat: setting center fix
* feat: acl provider fix
* fix: role collection
* feat: associate resource acl
* feat: associate resource acl
* feat: redirect to 403
* feat: route redirct
* feat: acl scope check by record
* fix: fields appends fix
* fix: fields appends fix
* fix: fields appends fix
* fix: allowedActions fix
* fix: menu items
* fix: rename
* fix: improve code
* fix: improve code
* fix: improve code
* fix: ctx?.data?.data
* fix: styling
* fix: allowAll after ignore scope
* chore: allowConfigure condition
* fix: collections.fields:*
* fix: acl test
* fix: update submodule
* fix: acl test
* fix: acl snippet
* fix: updates
* fix: only load history for logged-in users
* fix: this.app.acl.registerSnippet
* fix: downloadXlsxTemplate
* fix: 404
* feat: allowedAction in association list response
* fix: listData get
* fix: test
* fix: x-collection-field
* fix: update record error
* fix: calendar template
* test: allow manager
* fix: fetch action step
* fix: update submodule
* fix: refresh
* fix: refresh
* fix: rolesResourcesScopes
* test: snippets
* fix: snippets
* fix: test
* fix: omit filter.createdById
* fix: improve code
* fix: collections path
* fix: test error
* fix: upgrade error
* fix: errors
* fix: read allowed actions error
* fix: kanban error
* fix: error
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-01-09 07:35:48 +08:00
chenos
668f96fb25
fix: collections path
2023-01-08 20:47:32 +08:00
ChengLei Shao
6b0ed79f51
feat: duplicator plugin ( #1265 )
...
* chore: dump plugin
* chore: rename plugin
* chore: add duplicator into preset
* chore: tmp commit
* feat: restore & dump action
* feat: collection dump & restore
* feat: collection dump & restore
* fix: dump with json type
* fix: dump uischema
* chore: tmp commit
* chore: tmp commit
* feat: restore custom collections
* chore: code
* fix: build
* chore: tmp commit
* fix: pm.generateClientFile
* feat: dump with user plugins
* feat: restore ignore collection
* feat: ignore user with rolesUsers
* chore: client plugins
* refactor: restore insert sql
* chore: code format
* feat: restore with sequelize insert query
* fix: restore json field
* fix: json restore
* refactor: dumper
* refactor: restorer
* chore: dump file name
* chore: dump file name
* chore: dump message
* fix: restore with jsonb fields
* feat: field data writer
* chore: code
* feat: collection group manager
* feat: duplicator client
* feat: duplicator panel
* chore: disable duplicator ui
* feat: dump with inquirer
* chore: dumper
* chore: collection group manager
* feat: restore with inquirer
* chore: comment
* chore: inquirer page size
* feat: warning before restore
* feat: sync postgres sequence id after import collection
* chore: restore checked
* feat: dump with through table
* feat: restore with through table
* feat: restore with sequence field
* chore: graph collection manager collection group
* fix: dump with no column tables
* fix: dump empty table
* fix: force remove workdir
* chore: disable throw error when sync empty table
* feat: support map field restore
* fix: restore from pg dumped file
* fix: dump with logic field
* chore: console.log
* chore: collection group
* chore: handle import collection error
* fix: dump migrations table
* feat: display custom collection title
* fix: restore collection title display
* fix: dump iframe html
* fix: dump with postgres inhertitance
* fix: dump sql
* chore: export snapshot field
* fix: import with sequences
* fix: import sequences
* fix: storage
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-08 12:45:02 +08:00
Junyi
322194f24a
fix(plugin-workflow): fix missed preparing ( #1337 )
2023-01-08 00:56:43 +08:00
chenos
d062c8fd99
chore(versions): 😊 publish v0.8.1-alpha.4 ( #1331 )
2023-01-05 23:22:18 +08:00
chenos
4ecd2ee40d
chore(versions): 😊 publish v0.8.1-alpha.2
2023-01-05 18:29:47 +08:00
chenos
4d2817268a
fix: collections history allows logged-in user access
2023-01-05 17:34:58 +08:00
Junyi
58b7c5dd30
fix(plugin-sequence-field): integer generated should not less then start ( #1330 )
2023-01-05 00:12:11 -08:00
Junyi
c851e65459
fix(plugin-workflow): fix history drawer in workflow canvas ( #1326 )
2023-01-04 06:24:41 -08:00
anuoua
6febdb041a
feat: snapshot field plugin ( #1253 )
...
* feat: snapshort init
* feat: snapshot update yarn.lock
* feat: snapshot add to preset
* feat: snapshot add field fix
* feat: snapshot remove Table Column SnapshotField
* feat: snapshot field label fix
* feat: snapshot request error fix
* feat: snapshot 二级关联数据打开
* feat: snapshot batch edit fix
* feat: snapshot 2 level draw fix
* feat: snapshot translate
* feat: snapshot global historyCollection provider
* feat: snapshot install initial
* feat: snapshot refreshCH
* feat: snapshot add transaction
* feat: snapshot default collecitonField
* feat: snapshot build fix
* feat: snapshot useSnapshotFieldTargetCollectionKey
* feat: snapshot batch update
* feat: snapshot linkto support
* feat: snapshot use getRepository
* feat: snapshot recreate fix
* feat: snapshot collectionKey to collectionName & rebuild collection
* feat: snapshot remove SnapshotHistoryCollectionProvider & collectionName
* feat: snapshot use historyCollections in inherit table
* feat: snapshot fix TableSelectorBlock appends
* feat: snapshot kanban fix
* feat: snapshot snapshot association field fix
* feat: snapshot add CollectionFieldProvider fallback
* feat: snapshot AssociationSelect fix
* feat: snapshot TableField fix
2023-01-04 19:27:37 +08:00
Junyi
8943dabc4d
fix(plugin-workflow): fix events in prepare ( #1325 )
2023-01-04 02:26:44 -08:00
chenos
ff10e588bb
fix: export using post request
2023-01-01 15:07:50 +08:00
Dunqing
a98c9e03ce
fix(map-plugin): cannot save because the value is null ( #1309 )
...
* fix: cannot save because the value is null
* test: update
2022-12-31 22:30:26 +08:00
chenos
f5c1a07f20
fix: upgrade error ( #1303 )
2022-12-31 10:54:20 +08:00
Junyi
0d732d214c
fix(plugin-fm): fix local storage config and skip empty base url ( #1294 )
2022-12-28 07:18:14 -08:00
katherinehhh
a299849613
feat: antd->4.2.8 ( #1231 )
...
* feat: antd->4.2.8
* fix(plugin-workflow): dependencies
* feat: menu item key fix
* feat: dorpdown menu visible fix
* fix: update yarn.lock
* fix: only hide the first level
* fix: onVisibleChange
* fix: eventKey
* fix: setVisible(false)
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-26 11:52:59 +08:00
chenos
df4b42308c
fix(sequence-field): an argument for 'fnName' was not provided
2022-12-24 17:36:32 +08:00
Dunqing
07c373956c
chore: upgrade sequelize version to to latest ( #1234 )
...
* chore: upgrade sequelize version to to latest
* fix: type error
* chore: type ModelCtor to ModelStatic
* feat: update sequelize version of the map plugin
* chore: update lock
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2022-12-24 16:30:01 +08:00
SemmyWong
6d1a4425f2
feat: add iframe-block plugin ( #1281 )
...
* feat: iframe-block plugin done
* refactor: iframe html filed type changed
* refactor: remove built-in actions in the ACL
* refactor: use built-in resource action
* fix: add iframe-block in built-in plugins
* refactor: remove id collection schema
* fix: fix iframe-block permission
* fix: fix iframe-block permission
* fix: improve code
* fix: src
* fix: bug
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-24 16:29:20 +08:00
chenos
a7960422c5
fix(collection-manager): version.satisfies <= 0.8.0-alpha.14
2022-12-21 10:27:18 +08:00
chenos
1868a8a5f3
fix(collection-manager): update timestamps to true
2022-12-21 10:01:39 +08:00
Junyi
217ecb27ae
fix(plugin-sequence): fix test case ( #1268 )
...
* fix(plugin-sequence): fix test case
* fix(plugin-sequence): fix async call
* fix(plugin-sequence): fix test case
2022-12-19 21:23:54 +08:00
Junyi
a14a65596e
fix(plugin-sequence): fix update pattern index ( #1266 )
2022-12-19 12:05:11 +08:00
Dunqing
940f5f0152
feat : support fixed menu and header ( #1260 )
...
* feat: support fixed menu and header
* revert: power by
* fix: designer not work
* fix: cannot scroll
* feat: fixed menu in center
* fix: cannot scroll
* fix: unused
2022-12-18 16:49:50 +08:00
chenos
ef860d7556
feat: page tabs ( #1261 )
...
* feat: page tabs
* feat: hide page title
* fix: style
2022-12-18 09:20:56 +08:00
Junyi
9e9688fa5b
fix(plugin-fm): drawer form values ( #1259 )
2022-12-17 15:41:38 +08:00
Dunqing
8e7210a206
feat: support sync button ( #1258 )
2022-12-16 18:29:41 +08:00
Junyi
e3e352ffeb
refactor(sequence-field): move to plugin and use table to record ( #1209 )
...
* refactor(sequence-field): move to plugin and use table to record
* fix(database): skip test case which not in core
* fix(plugin-sequence): add migration
* fix(plugin-sequence): fix types
* test(plugin-sequence): fix test cases
* fix(plugin-sequence): fix configuration ui
* fix(plugin-sequence): fix merge
* fix(plugin-sequence): fix schema and error message
2022-12-16 01:04:22 -08:00
Dunqing
a593720c81
feat: add map plugin ( #1229 )
...
* feat: add map plugin
* feat: update
* feat: add Map.Designer
* feat: support polygon and clear canvas
* feat: improve and support linestring
* feat: map type default
* feat: support group order
* feat: support register group
* feat: improve named and logic
* fix: rename
* feat: better
* refactor: move to use postgresSQL supported type
* feat: support circle
* feat: support mysql
* chore: @nocobase/plugin-map
* fix: some error in postgres
* fix: line lose
* fix: accessKey or securityCode is incorrect
* fix: improve
* fix: shake screen in modal
* feat: support serviceHOST
* feat: improve
* feat: support view map in detail
* feat: support patten in details
* fix: something went wrong in edit mode
* fix: field name incorrectly
* feat: support sqlite
* feat: support circle in mysql
* feat: support map configuration
* feat: support map configuration
* fix: remove unused div
* feat: support show map in details
* fix: disabled in details
* fix: unused
* feat: improve readpretty
* fix: schemaInitialize
* feat: improve alert and search
* fix: mysql polygon not work
* test: add fields test
* test: improve
* test: update
* fix: test error
* feat: improve search and support zoom
* fix: if success should reset err message
* feat: add isOverride to confirm
* feat: improve
2022-12-14 21:45:43 +08:00
Junyi
db346688f5
fix(plugin-workflow): fix job result in history ( #1242 )
2022-12-13 21:36:26 -08:00
chareice
0d2b1caa7c
fix: collections load order
2022-12-12 18:50:53 +08:00
Junyi
41f8e6a285
fix(plugin-file-manager): fix local serve middleware ( #1226 )
2022-12-09 18:15:42 -08:00
lyf-coder
f4ee872a16
fix(workflow/request-var): fix request node var editor ( #1223 )
2022-12-09 06:01:19 -08:00
SemmyWong
cabe8a51a2
fix: change import timeout as 10 min ( #1221 )
2022-12-08 20:34:21 +08:00
Junyi
a951d49f55
Fix(plugin-workflow): client refactor ( #1163 )
...
* fix(plugin-workflow): avoid to delete using node
* fix(plugin-workflow): refactor operand
* fix(plugin-workflow): simplify code
* fix(plugin-workflow): fix condition calculator
2022-12-06 02:18:40 -08:00
Junyi
d1a6aeec76
fix(i18n): move back key to global ( #1195 )
2022-12-04 18:58:16 -08:00
Junyi
6fb58d01a3
test(plugin-workflow): add cache and test for sqlite ( #1194 )
2022-12-04 17:38:37 -08:00
Junyi
c19ca1f30b
fix(plugin-workflow): use dual pipes to process triggers ( #1187 )
...
* fix(plugin-workflow): use dual pipes to process triggers
* refactor(plugin-workflow): refactor dual pipe structure
2022-12-02 22:34:47 -08:00
Junyi
f0dcf32c56
fix(plugin-workflow): temp skip case ( #1188 )
2022-12-02 07:08:29 -08:00
Junyi
eb4fb29e3b
fix(plugin-workflow): fix transaction in trigger ( #1186 )
2022-12-02 18:15:53 +08:00
Junyi
eee4cabd64
fix(plugin-workflow): dispatch when server start ( #1183 )
2022-12-01 23:58:13 -08:00
chenos
c64e32945e
fix: yarn start error in windows system ( #1177 )
...
* feat: add .env.test.example
* fix: yarn start error in windows system
2022-12-02 14:23:07 +08:00
Junyi
1aa5df88c3
fix(plugin-users): fix initialization of sms verification ( #1173 )
2022-12-01 18:19:40 -08:00
Junyi
271573c52a
fix(plugin-workflow): fix test case ( #1172 )
2022-12-01 07:40:36 -08:00
Junyi
400320d175
feat(plugin-workflow): add duplicate action ( #1171 )
...
* feat(plugin-workflow): add duplicate action
* fix(plugin-workflow): fix test case
* feat(plugin-workflow): move execution link to column
2022-12-01 06:52:46 -08:00
Junyi
86a23c0d9f
fix(plugin-workflow): fix context operand ( #1169 )
2022-11-30 22:48:29 -08:00
anuoua
b16a764f19
fix: saml oidc text ( #1164 )
2022-11-30 14:38:06 +08:00
ChengLei Shao
1764b53a9b
fix: create inherits with empty table ( #1160 )
...
* chore: test
* feat: patch to queryInterface.describeTable
* test: add field to empty collection
* fix: create inherits with parent dose not have id field
* fix: test
* fix: test
2022-11-30 10:00:46 +08:00
chenos
205fafcd4a
fix: sso optimization ( #1159 )
...
* fix: update submodules
* fix: improve code
2022-11-30 01:00:45 +08:00
anuoua
59d32937c8
feat: saml ( #1143 )
...
* feat: saml
* feat: saml i18n fix
* feat: saml extract getSaml
* feat: saml signin extension
* feat: saml remove $eq
* feat: saml validate fix
* feat: saml page extension fix
* feat: saml remove canceltoken
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-29 23:20:33 +08:00
anuoua
1ac0032e5c
feat: oidc ( #1126 )
...
* feat: oidc
* feat: oidc remove comments
* feat: oidc add shared type
* feat: oidc add id_token sign alg
* feat: oidc i18n & batch delete
* feat: oidc i18n
* feat: oidc import fix
* feat: oidc saml list fix
* feat: oidc i18n move to plugin
* feat: oidc cr fix
* feat: oidc cr fix
* feat: oidc cr fix
* feat: oidc fix nonce value
* feat: oidc page extension fix
* feat: oidc remove canceltoken
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-29 23:18:21 +08:00
ChengLei Shao
78fe77e2cf
feat: belongs to many on delete ( #1158 )
2022-11-29 18:27:41 +08:00
Junyi
7b5277fb2a
Feat: plugin verification config ( #1129 )
...
* feat(plugin-verification): add client config
* feat(plugin-verification): add config ui
* fix(plugin-verification): fix schema
* refactor(plugin-verification): add default for verification providers
* fix(plugin-users): fix initVerification in lifecycle
* fix(plugin-users): fix initVerification in lifecycle
* fix(plugin-verification): fix locale and default provider
* fix(plugin-verification): fix test case
* fix(plugin-verification): fix locale
2022-11-28 00:41:58 -08:00
Junyi
4a113774bd
fix(plugin-workflow): fix trigger context getters ( #1149 )
2022-11-27 06:54:47 -08:00
ChengLei Shao
1ebb70e4c5
fix/inherits issues( #1146 )
...
* chore: sync inherits command
* fix: inherit field type conflit
* fix: merge
* fix: test
* fix: test
* chore: app command
* chore: create inheritance map
* fix: test
* fix: test
* fix: test
2022-11-26 09:24:53 +08:00
chenos
024cc102ea
fix: field record not updated
2022-11-25 12:12:44 +08:00
Junyi
f4c195e576
fix(plugin-workflow): fix locale ( #1145 )
2022-11-24 19:01:00 -08:00
chenos
d610297f8c
fix(acl): exception thrown when role not found
2022-11-25 09:31:57 +08:00
Junyi
2c6b9babff
fix(plugin-workflow): fix endsOn field ( #1144 )
2022-11-24 08:06:48 -08:00
ChengLei Shao
945c64304a
fix: create empty collection ( #1141 )
...
* fix: create empty collection
* chore: comment
* chore: sqlite support
* chore: mysql support
* fix: collection api
* fix: error message
2022-11-24 18:16:01 +08:00
Junyi
62652145c9
Fix(plugin workflow) interval ( #1139 )
...
* fix(plugin-workflow): use setTimeout with offset for more accuracy
* fix(plugin-workflow): locale
2022-11-24 00:13:47 -08:00
lyf-coder
9b4139e28a
feat(workflow): support Http Request Node ( #1102 )
...
* feat(workflow): support Http Request Node
* style(workflow): hTTP Request ui title
* style(workflow): request node ui title fix
* feat(workflow): support timeout config,ignoreFail etc
* refactor(workflow): request node Instruction remove unused input.result from templateVars
* fix(workflow): fix locale
* fix(workflow): perfect request implementation
2022-11-23 02:29:18 -08:00
ChengLei Shao
3556ddc730
fix: reference check after remove collection ( #1123 )
2022-11-22 16:19:48 +08:00
ChengLei Shao
466aa4987e
fix: sort field with table dose not have primary key ( #1119 )
2022-11-22 10:13:55 +08:00
ChengLei Shao
fba8f253d4
fix: test ( #1118 )
2022-11-22 09:29:09 +08:00
ChengLei Shao
d72123c5b0
fix: update to bigint ( #1117 )
...
* fix: update sequence and foreignKey
* chore: rename migration
* fix: single foreign field update
* fix: update bigint
* fix: rename
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-21 18:50:23 +08:00
ChengLei Shao
c861a6884a
fix: update sequence and foreignKey ( #1116 )
...
* fix: update sequence and foreignKey
* chore: rename migration
2022-11-21 18:07:58 +08:00
Junyi
fc7da4a04c
fix(plugin-workflow): fix workflow schema ( #1115 )
2022-11-21 00:48:28 -08:00
chenos
c888d793ee
fix(cm): update to bigint
2022-11-21 15:33:21 +08:00
chenos
c52f451840
fix: fk type invalid ( #1113 )
2022-11-21 14:58:07 +08:00
chareice
a0cb35ffa4
fix: handle column not exists error
2022-11-20 21:27:19 +08:00
Junyi
c8225e352b
fix(locale): move description to global ( #1108 )
...
* fix(locale): move description to global
* fix(locale): move description in other languages
2022-11-20 00:17:52 -08:00
ChengLei Shao
73e2d27e29
feat: using bigint for id field ( #1100 )
...
* feat: using bigint for id field
* fix: postgres bigint parse
* fix: sequelize test
* test: update to bigint migrator
* chore: updateToBigInt method
* fix: mysql update bigint
* fix: update to bigint with inherits table
* feat: update fields type in fields table
* fix: import
* fix: bigInt
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-20 14:40:41 +08:00
chenos
0cbfa0a521
Revert "refactor: formula plugin ( #1082 )"
...
This reverts commit 0469b8c44d
.
2022-11-19 18:15:42 +08:00
chenos
0469b8c44d
refactor: formula plugin ( #1082 )
...
* fix: transaction cannot be rolled back because it has been finished with state: rollback
* fix(plugin-system-settings): convert array to json
* fix(collection-manager): o2m is array type
* fix: missing RefreshActionInitializer
* fix(collection-manger): incorrect scope key parameter
* fix: can't access pages without permission via url (#826 )
* feat(database): add sequence field type (#779 )
* feat(database): add serialString field type
* feat(database): add serial string type field ui (skip ci)
* test(feat/database): test field options
* docs: demo
* fix(database): fix array table field behavior
* fix(database): fix serial type interface ui
* fix(database): add match logic for patterns changes
* fix(database): fix serial type query last bug in mysql
* refactor(database): refactor last record logic
* chore: revert modification on unnecessary file
* refactor(database): rename serialString type to sequence
Co-authored-by: chenos <chenlinxh@gmail.com>
* added Russian translation (#840 )
* Russian translation
* Add files via upload
Add RU locale into index.ts
Bugs fixed in the ru_RU.ts
* Update index.ts
Correct lines 4 and 8
* feat: update option must have filter or filterByTk (#847 )
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
* feat(core/cache): support cache (#876 )
* feat(core/cache): support cache
* build(create-nocobase-app): remove --cache-store-package cli option
* perf(core/cache): modify default cache config and remove unnecessary logic code
* fix: slow join query issued by appends field in find method of repository (#845 )
* fix: slow join query issue by appends field in repository.find
* feat: handle appending query in multiple relation repository
* feat: handle appending query in single relation repository
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: sort parameter is missing (#849 )
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
* fix(formula): support integer and fix NaN error (#879 )
* fix(formula): support integer and fix NaN error
* style(formula-input): remove debugger
* fix(database): fix the index name too long error
* feat(collection-manager): inverse fields can be configured (#883 )
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
* fix: run test by jest (#891 )
* fix: unable to submit form during file upload (#892 )
* fix(client/block-select-collection): fix select collection menu view error (#889 )
* fix(client/block-select-collection): fix too many collection menu view error
* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error
* fix(client/record-picker): support record-picker show format DataPicker (#888 )
* fix(client/record-picker): support record-picker show format DataPicker
* fix(client/record-picker): undefined judgment and when change field's label refresh format in time
* feat: improve signin and signup page components
* feat(plugin-workflow): add concat calculator (#894 )
* fix: single relation repository appends query issue (#901 )
* fix: appends merge includes (#905 )
* fix: build error
* fix(client): tab pane initializers for create form block
* fix: version judgment is not accurate
* fix: sync collection field default value (#907 )
* feat: limit database identifier (#908 )
* fix: cannot read properties of undefined (reading 'target')
* fix: appends merge now using primary key (#911 )
* fix: appends merge now using primary key
* chore: console.log
* fix: unbind on error throwing (#914 )
* feat: create with array of values (#912 )
* feat: create with array of values
* chore: console.log
* chore: debug
* fix(client/route-switch): skip sub routes
* Feat: plugin workflow collection field (#919 )
* feat(plugin-workflow): use Collectionfield component to render form
* fix(plugin-workflow): fix association types value assigning in nodes
* fix: missing menuItemGroupCss
* fix: multiple = false
* chore(versions): 😊 publish v0.7.5-alpha.1 (#920 )
* fix(plugin-workflow): temp disable validation of collection field in node (#928 )
* fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926 )
* Feat/plugin workflow collection field (#934 )
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
* fix(plugin-workflow): add req context to processor (#936 )
* fix(plugin-workflow): avoid revision with ghost nodes (#941 )
* fix(plugin-workflow): fix collection fieldset component (#942 )
* feat(useSignup): customize success message
* feat: changed with associations (#943 )
* feat: changed with associations
* fix: test error
* fix: test error
* fix: test
* fix(plugin-workflow): fix schedule trigger bug (#949 )
* fix(plugin-workflow): skip time based test (#951 )
* fix(plugin-workflow): test changedWithAssociations() (#950 )
* fix(plugin-workflow): test changedWithAssociations()
* fix: toChangedWithAssociations
* fix(plugin-workflow): add test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: docker optimizing (#948 )
* chore: feat/docker-optimizing
* feat: docker nginx gzip config
* feat: ui schema cache (#877 )
* feat(core/cache): support cache
* perf(plugins/ui-schema-storage): cache schema
* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action
* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache
prevent jsonSchema and properties cache override each other
* test(plugins/ui-schema-storage): add ui_schema repository with cache test
* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option
* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false
* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add filter action to collection table (#953 )
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* feat: 数据表支持筛选
* fix: format code
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: default value of VERDACCIO_URL
* feat: add Dockerfile.official
* refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913 )
* Turkish language (#939 )
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe dil düzenlemesi. Turkish language edit.
* fix: cannot find name 'antdTrTR'
* chore(versions): 😊 publish v0.7.6-alpha.2 (#954 )
* Turkish readme (#955 )
* Türkçe dil dosyası eklendi. Turkish language added
* Türkçe Açıklama sayfası. Turkish readme file added
* Turkish language link added
* turkish language link added
* fix: update readme
* fix(plugin-workflow): fix constant schedule trigger time (#956 )
* feat: push ali docker registry (#957 )
* feat: push ali docker registry
* fix: add VERDACCIO_URL
* fix: env
* fix: add VERDACCIO_URL to env
* fix: update VERDACCIO_URL
* fix: arg VERDACCIO_URL
* fix: update Dockerfile.official
* fix: build-args
* fix: network: host
* fix: ci
* fix: verdaccio:10104
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* Update branch-docker-ci.yml
* feat: push acr
Co-authored-by: ChengLei Shao <chareice@live.com>
* feat: api service
* fix: api services
* feat(file-manager): support tencent cos (#958 )
* feat: support tencent cos
* feat: normalize
* chore: update env example
* test: add cos
* Revert "feat: normalize"
This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3.
* feat: normalize
* feat: tengxun to tencent
* chore: fix missing deps
* fix: locale
* fix: locale cos
* fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962 )
* fix: lerna ERR! EUNCOMMIT M yarn.lock
* fix: driver-opts: network=host
* fix(ci): add verdaccio service
* chore(versions): 😊 publish v0.7.7-alpha.1 (#963 )
* fix(plugin-workflow): fix workflow update action (#964 )
* fix(ci): yarn config set network-timeout 600000
* fix: empty logic operator filter (#961 )
* chore: fix incorrect deps (#970 )
* feat: support show lunar day (#972 )
* feat: support show lunar day
* fix: update yarn.lock
* fix: types error
Co-authored-by: Dunqing <dengqing0821@gmail.com>
* fix(ci): remove platforms
* chore: improve ci (#976 )
* test: ci
* fix: ci error
* fix: on pull_request
* fix: paths
* fix: paths 'packages/**'
* feat: support show lunar day in week and day (#977 )
Co-authored-by: qing <qing@imideMacBook-Air.local>
* fix(client/formula): set cursor focus on input (#959 )
* fix(client/formula): set cursor focus on input
* fix(client/formula): when formula field name has contains the other one will case FormulaError
refactor partial implementation
* fix(client/table-selector-provider): make data range config effective (#960 )
* fix(client/table-selector-provider): make data range config effective
* fix(client/table-selector): fix when save data range config filter lose
* fix(client/upload): fix upload mutiple files always uploading status (#974 )
* Update README.md
* Update README.zh-CN.md
* Update README.tr-TR.md
* feat(calendar): support for add/remove repeats events (#988 )
* feat(calendar): support for adding repeats
* feat: support delete events
* fix: has many same x-action
* feat: update better logic
* fix: exclude is not an array
* fix: handle parse cron error
* feat: support every_week, every_month, every_year
* fix(calendar): events cannot support moment (#1017 )
* fix(calendar): events cannot support moment
* fix: avoid manipulating raw values
* feat: add excel function field (#906 )
* feat: add excel function field
* fix: translations
* fix: documentation
* chore: remove console log
* chore: moved generation of parser to helper function; feat: added GET_DEEP function
* chore: improve tokenisation for when there are similar names;
* chore: move helper to utils
* fix: import from @nocobase/utils/client
* feat: integration as a plugin
* fix: remove excel function interface
* fix: locale
* fix: error
* refactor: formula plugin
* fix: improve code
* feat: update docs
* fix: error
* fix: update deps
* fix: remove formula
* fix: bigint & test
* fix: result
* fix: double data type
* fix: maximum call stack size exceeded
* fix: improve code
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: arzanov <59161748+arzanov@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: lyf-coder <58352715+lyf-coder@users.noreply.github.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: altaytahsin <altay.tahsin@gmail.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: qing <qing@imideMacBook-Air.local>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: Michael DeGiovanni <m.degiovanni@gmail.com>
2022-11-19 18:12:54 +08:00
ChengLei Shao
e991b2965a
feat: collection inheritance ( #1069 )
...
* chore: test
* chore: inherited-collection class
* feat: collection inherit
* feat: collection inherit
* feat: inhertis sync runner
* test: get parents fields
* feat: collection inherit style promote
* feat: sync
* feat: sync alter table
* feat: pgOnly Test
* fix: child collection create api
* feat: replace parent field
* chore: reload parent fields
* test: reload collection test
* feat: details are displayed according to conditions
* fix: typo
* feat: inheritance map class
* chore: is parent node
* feat: display where child row created from
* fix: find with appends
* feat: add parent collection fields
* fix: create table
* feat: load fields for all children
* refactor: sync fields from parent
* test: has one field inhertis
* feat: replace child association target
* feat: should not replace child field when parent field update
* test: should update inherit field when parent field update
* feat: only the blocks directly inherited from the current data are displayed
* fix: inherit from multiple collections
* feat: only the blocks directly inherited from the current data are displayed
* fix: test
* feat: parent collection expend
* fix: test
* test: belongsToMany inherits
* test: belongsToMany inherits
* feat: block display
* feat: collection inherite
* feat: collection inherite
* feat: multiple inherits
* fix: sync runner
* feat: collection inherite
* feat: collecton inherits
* feat: cannot be modified after inheritance and saving
* feat: collection inherit for graph
* feat: collection inherits
* fix: drop inhertied field
* fix: should throw error when type conflit
* feat: output inherited fields
* feat: bulk update collection fields
* feat: collection fields
* feat: collection fields
* test: create relation with child table
* fix: test
* fix: test
* fix: test
* feat: style impove
* test: should not replace field with difference type
* feat: add text
* fix: throw error when replace field with difference type
* feat: overriding
* feat: kan bankanban group fields
* feat: calendar block fields
* feat: kan bankanban group fields
* fix: test
* feat: relationship fields
* feat: should delete child's field when parent field deleted
* feat: foreign key filter
* fix: build error & multiple inherit destory field
* fix: test
* chore: disable error
* feat: no recursive update associations (#1091 )
* feat: update associations
* fix(collection-manager): should update uiSchema
* chore: flip if
* feat: mutile inherits
* feat: db dialect
* feat: inherits show by database
* chore: git hash into docker image
* fix: js gzip
* fix: dockerfile
* chore: error message
* feat: overriding
* feat: overriding
* feat: overriding
* feat: local
* feat: filter fields by interface
* fix: database logging env
* test: replace hasOne target
* feat: add view
* feat: local
* chore: enable error
* fix: update docs
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-16 12:53:58 +08:00
chenos
688387413d
feat: no recursive update associations ( #1091 )
...
* feat: update associations
* fix(collection-manager): should update uiSchema
2022-11-15 20:37:26 +08:00
chenos
2ea185a412
fix: error: SQLITE_ERROR: near "AUTOINCREMENT": syntax error
2022-11-15 16:14:47 +08:00
Junyi
0288243a33
fix(plugin-workflow): fix transaction chain in trigger ( #1089 )
2022-11-15 13:35:10 +08:00
Junyi
46161e8fd9
fix(plugin-workflow): fix schema name conflict ( #1087 )
2022-11-14 23:26:44 +08:00
Junyi
c470209ecd
refactor(plugin-workflow): split transaction for collection trigger ( #1080 )
...
* refactor(plugin-workflow): split transaction for collection trigger
* fix(plugin-workflow): fix delay test case
* refactor(plugin-workflow): use micro queue to dispatch executions
* fix(plugin-workflow): fix usages of private api
* fix(plugin-workflow): fix wrong variable
2022-11-14 20:05:01 +08:00
Junyi
c465f0c427
refactor(plugin-workflow): adjust style ( #1079 )
2022-11-13 18:12:56 +08:00
chenos
dcb5a71b92
feat: log user id
2022-11-13 17:14:14 +08:00
ChengLei Shao
3263a241ab
feat: logging package ( #1021 )
...
* feat: logging package
* chore: dependency
* chore: pino
* feat: request log
* feat: log rotate
* fix: gitignore
* fix: gitignore
* fix: middleware await
* fix: test
* docs: logging
* feat: log error handler errors
* feat: improve code
* fix: response error log level
* feat: log http body
* feat: improve code
* feat: improve code
* feat: update docs
* fix: error
* feat: improve code
* fix: deps
* feat: update docs
* fix: error
* fix: colorize
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-12 17:12:50 +08:00
Junyi
188800c018
Refactor: plugin-workflow client ( #1077 )
...
* feat(plugin-worklfow): adjust ui
* refactor(plugin-workflow): move locale into plugin
* fix(plugin-workflow): fix executions history loading
2022-11-11 23:37:41 +08:00
ChengLei Shao
83cc19a013
fix: reference options sync ( #1061 )
...
* fix: sync onDelete options between field and reverseField
* feat: reference compatibility
2022-11-10 21:28:33 +08:00
Junyi
8a8478cf4c
refactor(plugin-workflow): adjust some api ( #1067 )
2022-11-10 13:33:52 +08:00
Junyi
1bd3e93588
fix(plugin-workflow): fix trigger getter ( #1060 )
2022-11-09 09:44:07 +08:00
chenos
8f623bb22d
fix(error-handler): add error handler middleware before cors
2022-11-08 17:24:12 +08:00
lyf-coder
ce5f835829
test(collection-manager): 20221104151410-update-collections-hidden test correct ( #1042 )
...
fix new version test fail
2022-11-05 01:38:39 +08:00
chenos
dcee3dd94a
chore(versions): 😊 publish v0.8.0-alpha.13
2022-11-04 21:23:02 +08:00
lyf-coder
8996dc6899
test(collection-manager): migration - 20221104151410-update-collections-hidden test optimize ( #1040 )
2022-11-04 20:44:12 +08:00
lyf-coder
dd20951323
chore(collection-manager): migration - 20221104151410-update-collections-hidden ( #1039 )
2022-11-04 17:17:35 +08:00
chenos
3aa7c0787a
fix: db sync failed ( #1037 )
...
* fix: db sync failed
* fix: remove db sync
2022-11-04 15:38:08 +08:00
ChengLei Shao
b3f3883435
fix: association accessors rebind ( #1027 )
...
* chore: test
* chore: test
* fix: association accessors rebind
* fix: test
2022-11-04 09:04:53 +08:00
chenos
def0f642d7
fix: support pro plugins
2022-11-03 15:56:27 +08:00
chenos
642e04490d
chore(versions): 😊 publish v0.8.0-alpha.9
2022-11-02 22:27:03 +08:00
chenos
0e70e3848a
feat: improve collection manager ( #1013 )
...
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat(collection-manager): add foreignKey Field and support relate field record foreignKey info
through collection record into collections and foreignKey field record info fields
* fix(collection-manager): if has through collection then don't create through collections record
* fix(client/route-switch): skip sub routes
* feat: 添加graphpostion
* feat: 图形化collection新增表时刷新数据
* fix(collection-manager): refactor afterCreateForRelateField
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化样式优化
* feat: styling
* feat: 图形化样式优化
* feat: 图形化样式优化
* feat: 图形化数据表多语言完善
* feat: 图形化数据表多语言完善
* feat: improve code
* feat: 图形化数据表连线样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* fix(collection-manager): fix afterCreateForRelateField
* feat: 样式优化
* feat: 样式优化
* feat: afterCreateForForeignKeyField
* fix: timestamps: false
* feat: 连线锚点优化
* fix(collection-manager): when del foreign key field, relate fields will be del too
* fix: update package.json
* fix: update package.json
* feat: 文件名大小写
* feat: 连线锚点优化
* feat: 连线锚点通过计算得到样式优化
* feat: 连线锚点通过计算得到样式优化
* fix: fk
* fix: remove index
* feat: 连线hover时高亮
* fix: test error
* feat: 初始化计算位置
* feat: 初始化时计算坐标位置
* feat: 初始化时计算坐标位置
* feat: improve code (#933 )
* fix: built in
* feat: 没有关系字段时也要连线
* feat: 自关联也要连线
* fix: styling
* feat: 滚动条问题
* feat: 拖拽优化
* feat: 画布paddig优化
* feat: 编辑时支持反向关联字段配置
* feat: 画布拖拽滚动优化
* feat: 画布拖拽滚动优化
* fix: reload
* feat: 修复数据表新建重叠
* fix: refreshCM & refreshGM
* feat: 修复表达式输入框显示异常
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* fix: 消除代码警告
* fix: 消除代码警告
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化
* feat: 渲染性能优化
* feat: 外键生成在位置在前面
* feat: 限制表最多显示10个字段其余滚动
* feat: 移动表位置的连线重新计算最优位置
* fix: error
* feat: 布局自动换行
* fix: test error
* fix: xpipe.eq
* fix: upgrade error
* fix: upgrade error
* feat: 选中表时只显示和目标表关联的表和连线
* feat: 连线优化
* fix: maxListenersExceededWarning
* feat: 连线优化
* feat: powerby样式优化
* feat: 表筛选优化
* feat: 新建字段优化
* feat: 点击线高亮主外键和关联字段
* feat: 点击线高亮主外键和关联字段
* feat: 鼠标hover连线高亮主外键和关联字段
* fix(collection-manager): foreign key sorting should follow ID
* fix(client/config-relation-field): set Relation field's ReverseField default value is false
* feat: 卡片默认显示主外键和关联字段其余通过折叠展示且分组区分显示
* fix(client/collection-manager): don't display auto create through collections and foreign key
only display in graph menu
* feat: 样式优化
* feat: 添加字段时默认展开折叠
* feat: 样式优化
* feat: foreign field migration (#1001 )
* feat: 补充多语言
* feat: settings center tabs
* feat: 主键判断primaryKey
* fix(collection-manager): foreign key sorting should follow primaryKey
* fix(client/block-select-collection): filter auto create through collections
* fix(client/block-config-fields): filter isForeignKey fields
* fix(client/configuration-table): relation fileds select collection filter auto create through
* feat: 多对多连线高亮时全亮
* feat: 选中多对多中的一张表另一张表也显示
* feat: 连线mouseleave事件
* feat: 多语言更新
* feat: 计算新建表位置优化
* feat: 添加自动布局
* feat(client/configure-fields): categorize fields
* fix(client/configure-fields): display foreign key fields
* fix(client): package reference
* fix: remove graph
* fix: remove
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: lyf-coder <lyf-coder@foxmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2022-11-02 22:13:25 +08:00
chenos
d5680f80d7
chore(versions): 😊 publish v0.8.0-alpha.8
2022-11-01 18:34:12 +08:00
chenos
85ead5375a
chore(versions): 😊 publish v0.8.0-alpha.7 ( #1002 )
2022-11-01 17:29:49 +08:00
Junyi
b167794290
fix(plugin-workflow): fix trigger config ( #997 )
2022-11-01 10:00:24 +08:00
chenos
3453f46997
chore(versions): 😊 publish v0.8.0-alpha.5
2022-11-01 00:50:00 +08:00
Semmy
dfab92b175
fix: change import acl
2022-10-31 23:34:14 +08:00
chenos
89af2175de
Some features ( #979 )
...
* feat: add import client
* feat: add import server
* refactor: change export use library of file-saver
* refactor: upload excel file done
* refactor: upload xls transform
* feat: upload ui done
* feat: exclude unable import fields
* feat: excel file validator done
* feat: import done
* feat: import transform done
* fix: add import plugin in presets
* fix: explain will not output in template what is empty
* fix: config permission
* fix: permission skip
* fix: import password must be string
* fix: done close Modal
* fix: loop through, inserting data item by item
* fix: number calc with using mathjs
* fix: import plugin add locale
* fix: fix some bugs
* feat: bulk update done
* fix: transaction cannot be rolled back because it has been finished with state: rollback
* fix(plugin-system-settings): convert array to json
* fix(collection-manager): o2m is array type
* fix: missing RefreshActionInitializer
* fix(collection-manger): incorrect scope key parameter
* fix: can't access pages without permission via url (#826 )
* feat(database): add sequence field type (#779 )
* feat(database): add serialString field type
* feat(database): add serial string type field ui (skip ci)
* test(feat/database): test field options
* docs: demo
* fix(database): fix array table field behavior
* fix(database): fix serial type interface ui
* fix(database): add match logic for patterns changes
* fix(database): fix serial type query last bug in mysql
* refactor(database): refactor last record logic
* chore: revert modification on unnecessary file
* refactor(database): rename serialString type to sequence
Co-authored-by: chenos <chenlinxh@gmail.com>
* added Russian translation (#840 )
* Russian translation
* Add files via upload
Add RU locale into index.ts
Bugs fixed in the ru_RU.ts
* Update index.ts
Correct lines 4 and 8
* feat: update option must have filter or filterByTk (#847 )
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
* feat(core/cache): support cache (#876 )
* feat(core/cache): support cache
* build(create-nocobase-app): remove --cache-store-package cli option
* perf(core/cache): modify default cache config and remove unnecessary logic code
* fix: slow join query issued by appends field in find method of repository (#845 )
* fix: slow join query issue by appends field in repository.find
* feat: handle appending query in multiple relation repository
* feat: handle appending query in single relation repository
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: sort parameter is missing (#849 )
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
* fix: 审计日志翻页sort丢失
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
* fix(formula): support integer and fix NaN error (#879 )
* fix(formula): support integer and fix NaN error
* style(formula-input): remove debugger
* fix(database): fix the index name too long error
* feat(collection-manager): inverse fields can be configured (#883 )
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
* fix: run test by jest (#891 )
* fix: unable to submit form during file upload (#892 )
* fix(client/block-select-collection): fix select collection menu view error (#889 )
* fix(client/block-select-collection): fix too many collection menu view error
* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error
* fix(client/record-picker): support record-picker show format DataPicker (#888 )
* fix(client/record-picker): support record-picker show format DataPicker
* fix(client/record-picker): undefined judgment and when change field's label refresh format in time
* feat: improve signin and signup page components
* feat(plugin-workflow): add concat calculator (#894 )
* fix: single relation repository appends query issue (#901 )
* fix: appends merge includes (#905 )
* fix: build error
* fix(client): tab pane initializers for create form block
* fix: version judgment is not accurate
* fix: sync collection field default value (#907 )
* feat: limit database identifier (#908 )
* fix: cannot read properties of undefined (reading 'target')
* fix: appends merge now using primary key (#911 )
* fix: appends merge now using primary key
* chore: console.log
* fix: unbind on error throwing (#914 )
* feat: create with array of values (#912 )
* feat: create with array of values
* chore: console.log
* chore: debug
* fix(client/route-switch): skip sub routes
* Feat: plugin workflow collection field (#919 )
* feat(plugin-workflow): use Collectionfield component to render form
* fix(plugin-workflow): fix association types value assigning in nodes
* fix: missing menuItemGroupCss
* fix: multiple = false
* chore(versions): 😊 publish v0.7.5-alpha.1 (#920 )
* fix(plugin-workflow): temp disable validation of collection field in node (#928 )
* fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926 )
* Feat/plugin workflow collection field (#934 )
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
* fix(plugin-workflow): add req context to processor (#936 )
* feat: bulk update done
* feat: bulk edit done
* fix: fix import bug
* Update database.ts
* fix: workflow
* fix: error
* fix: plugin-import
* fix: handle locale
* fix: handle locale
* fix: allow email is undefined
* fix: action add loading
* fix: fix import bug
* fix: not allow sequence import
* fix: remove field not allow download template
* fix: remove field not allow download template
* fix: checkbox batch edit error
* fix: fix build edit
Co-authored-by: Semmy <semmywong@126.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: arzanov <59161748+arzanov@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: lyf-coder <58352715+lyf-coder@users.noreply.github.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
2022-10-31 23:22:33 +08:00
ChengLei Shao
9f5f2d6028
feat: reference check ( #989 )
...
* chore: test
* chore: test
* chore: test code
* feat: on delete restrict
* feat: on delete cascade
* feat: on delete set null
* feat: reference unbind
* fix: test
* fix: acl test
* fix: test on Windows
* fix: database recreate
* fix: application reload
* fix: multi-app-manager test
* fix: test
* feat: ondelete
* fix: hasOne field onDelete
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-31 22:45:39 +08:00
Junyi
7cb5ff554e
feat: plugin workflow visualization ( #987 )
...
* feat(plugin-workfow): adjust some ui
* feat(plugin-workflow): add execution visualization
* fix(plugin-workflow): fix changed component
2022-10-30 11:54:14 +08:00
chenos
e7853c724e
fix: add sample plugins ( #986 )
2022-10-29 14:07:51 +08:00
chenos
f67afba964
feat: improve code ( #978 )
...
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 完善图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat: 样式优化图形化管理数据表
* feat(collection-manager): add foreignKey Field and support relate field record foreignKey info
through collection record into collections and foreignKey field record info fields
* fix(collection-manager): if has through collection then don't create through collections record
* fix(client/route-switch): skip sub routes
* feat: 添加graphpostion
* feat: 图形化collection新增表时刷新数据
* fix(collection-manager): refactor afterCreateForRelateField
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化collection存储位置
* feat: 图形化样式优化
* feat: styling
* feat: 图形化样式优化
* feat: 图形化样式优化
* feat: 图形化数据表多语言完善
* feat: 图形化数据表多语言完善
* feat: improve code
* feat: 图形化数据表连线样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* feat: 图形化数据表样式修改
* fix(collection-manager): fix afterCreateForRelateField
* feat: 样式优化
* feat: 样式优化
* feat: afterCreateForForeignKeyField
* fix: timestamps: false
* feat: 连线锚点优化
* fix(collection-manager): when del foreign key field, relate fields will be del too
* fix: update package.json
* fix: update package.json
* feat: 文件名大小写
* feat: 连线锚点优化
* feat: 连线锚点通过计算得到样式优化
* feat: 连线锚点通过计算得到样式优化
* fix: fk
* fix: remove index
* feat: 连线hover时高亮
* fix: test error
* feat: 初始化计算位置
* feat: 初始化时计算坐标位置
* feat: 初始化时计算坐标位置
* feat: improve code (#933 )
* fix: built in
* feat: 没有关系字段时也要连线
* feat: 自关联也要连线
* fix: styling
* feat: 滚动条问题
* feat: 拖拽优化
* feat: 画布paddig优化
* feat: 编辑时支持反向关联字段配置
* feat: 画布拖拽滚动优化
* feat: 画布拖拽滚动优化
* fix: reload
* feat: 修复数据表新建重叠
* fix: refreshCM & refreshGM
* feat: 修复表达式输入框显示异常
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* fix: 消除代码警告
* fix: 消除代码警告
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化(增量渲染)
* feat: 渲染性能优化
* feat: 渲染性能优化
* feat: 外键生成在位置在前面
* feat: 限制表最多显示10个字段其余滚动
* feat: 移动表位置的连线重新计算最优位置
* fix: error
* feat: 布局自动换行
* fix: test error
* fix: xpipe.eq
* fix: upgrade error
* fix: upgrade error
* feat: 选中表时只显示和目标表关联的表和连线
* fix: maxListenersExceededWarning
* feat: remove graph-collection-manager
* fix: remove graph-collection-manager
* fix: update yarn.lock
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: lyf-coder <lyf-coder@foxmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2022-10-28 15:09:14 +08:00
chenos
f477d80de4
fix(acl): no such table: roles
2022-10-27 15:32:58 +08:00
chenos
a1fba4ba26
fix(acl): write roles to acl after app load
2022-10-27 15:27:08 +08:00
Junyi
42db519fa1
fix(plugin-workflow): fix workflow update action ( #964 )
2022-10-27 14:11:18 +08:00
Dunqing
8905e3c211
feat(file-manager): support tencent cos ( #958 )
...
* feat: support tencent cos
* feat: normalize
* chore: update env example
* test: add cos
* Revert "feat: normalize"
This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3.
* feat: normalize
* feat: tengxun to tencent
* chore: fix missing deps
* fix: locale
* fix: locale cos
2022-10-27 14:09:29 +08:00
Junyi
75ecab4d3e
fix(plugin-workflow): fix constant schedule trigger time ( #956 )
2022-10-27 14:07:59 +08:00
chenos
ace6232787
feat: file storage settings
2022-10-27 14:04:04 +08:00
Junyi
08711e6c8e
refactor(plugin-file-manager): move client code into plugin folder and enable path config ( #913 )
...
# Conflicts:
# packages/app/client/src/pages/index.tsx
# packages/core/client/src/application/Application.tsx
# packages/core/client/src/file-manager/index.ts
# packages/plugins/file-manager/package.json
# packages/plugins/file-manager/src/client/FileStorage.tsx
# packages/plugins/file-manager/src/client/FileStorageShortcut.tsx
2022-10-27 13:49:06 +08:00
chenos
249dff16d3
refactor: plugin manager ( #965 )
...
* feat: improve code
* chore: update version
* feat: api service
* fix: api services
* feat: improve code
* feat: improve code
* feat: improve code
* feat: pm socket
* fix: test errors
* feat: add built-in plugins before upgrade
* feat: update docs
* feat: improve code
* fix: after load
2022-10-27 13:00:16 +08:00
lyf-coder
40554d8151
feat: ui schema cache ( #877 )
...
* feat(core/cache): support cache
* perf(plugins/ui-schema-storage): cache schema
* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action
* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache
prevent jsonSchema and properties cache override each other
* test(plugins/ui-schema-storage): add ui_schema repository with cache test
* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option
* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false
* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-24 09:13:58 +08:00
Junyi
a8cf72281f
fix(plugin-workflow): test changedWithAssociations() ( #950 )
...
* fix(plugin-workflow): test changedWithAssociations()
* fix: toChangedWithAssociations
* fix(plugin-workflow): add test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
# Conflicts:
# packages/core/database/src/model.ts
2022-10-24 09:03:57 +08:00
Junyi
9ba1d128f4
fix(plugin-workflow): skip time based test ( #951 )
2022-10-24 09:03:04 +08:00
Junyi
9b8a4d1063
fix(plugin-workflow): fix schedule trigger bug ( #949 )
2022-10-24 09:02:58 +08:00
Junyi
9111693804
fix(plugin-workflow): fix collection fieldset component ( #942 )
2022-10-24 09:02:42 +08:00
Junyi
c7300d1100
fix(plugin-workflow): avoid revision with ghost nodes ( #941 )
2022-10-24 09:02:37 +08:00
Junyi
cadaa8a2c2
fix(plugin-workflow): add req context to processor ( #936 )
2022-10-24 09:02:30 +08:00
Junyi
26c428a15b
feat: plugin workflow collection field ( #934 )
...
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
# Conflicts:
# packages/plugins/workflow/src/client/components/CollectionFieldset.tsx
2022-10-24 09:01:51 +08:00
Junyi
42dbaf3582
fix(plugin-workflow): fix schedule infinitely trigger when repeat not set ( #926 )
2022-10-24 09:00:01 +08:00
Junyi
5992952872
fix(plugin-workflow): temp disable validation of collection field in node ( #928 )
2022-10-24 09:00:01 +08:00
ChengLei Shao
4d6363b47a
Doc/db repository ( #896 )
...
* docs: update database repository docs
* docs: single relation repository docs
* docs: has many relation repository docs
* docs: belongs to many relation repository docs
* docs: acl
* docs: actions
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-16 19:16:14 +08:00
chenos
3e22a47be6
fix: unbind on error throwing ( #914 )
2022-10-15 10:47:01 +08:00
Junyi
4247c1b255
Doc: api database events ( #887 )
...
* docs: add full sequelize model event types
* feat: update docs
* fix: types
* fix: update docs
* docs: refactor db event apis
* docs: add all events to db api
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-14 17:22:32 +08:00
ChengLei Shao
76f5754e20
fix: sync collection field default value ( #907 )
2022-10-14 10:04:25 +08:00
chenos
3e6d1a3427
fix: version judgment is not accurate
2022-10-14 09:48:27 +08:00
Junyi
7ca8e562ce
feat(plugin-workflow): add concat calculator ( #894 )
...
(cherry picked from commit 7f3f1bc982379ec2d274ca79fb4d6c65664d3c2d)
2022-10-13 12:38:56 +08:00
chenos
f6add23da5
feat(collection-manager): inverse fields can be configured ( #883 )
...
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
(cherry picked from commit 306dca8e5ee1b74562d835a816b72f933465bfb6)
# Conflicts:
# packages/core/client/src/locale/zh_CN.ts
2022-10-13 12:37:29 +08:00
ChengLei Shao
3082a7d6f8
feat: update option must have filter or filterByTk ( #847 )
...
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
(cherry picked from commit 83e6f93e1e3a188781530ec7492de1ed917a4dc1)
# Conflicts:
# packages/plugins/acl/src/server.ts
# packages/plugins/collection-manager/src/__tests__/field-options/indexes.test.ts
2022-10-13 12:19:05 +08:00
chenos
fd21447810
fix(collection-manger): incorrect scope key parameter
...
(cherry picked from commit 38421ae0966b4a38c6e7e4f149bf3a911cb4f415)
2022-10-13 12:15:30 +08:00
chenos
7f51610a6f
fix(plugin-system-settings): convert array to json
...
(cherry picked from commit 73262aff5037603c1db1889ad34bf799218481ae)
2022-10-13 12:14:56 +08:00
chenos
8bf23004a1
refactor: middleware ( #857 )
...
* refactor: middleware
* fix: test error
* fix: test error
* fix: test
* fix: tag
2022-09-29 21:05:31 +08:00
chenos
f9f8dc78f4
refactor: plugin manager ( #775 )
...
* feat: dynamic import plugin client
* refactor: pm
* chore: improve cli
* feat: improve code
* feat: update dependences
* feat: hello plugin
* fix: plugin.enabled
* fix: test error
* feat: improve code
* feat: pm command
* feat: add samples
* fix: redirect
* feat: transitions
* feat: bookmark
* feat: add pm script
2022-09-18 14:10:01 +08:00
chenos
12c3915a57
fix(plugin-export): filter non-existent fields
2022-09-15 09:27:28 +08:00
Junyi
1a9cd78eb8
refactor(resourcer): combine middleware class ( #825 )
...
* refactor(resourcer): combine middleware class
* refactor(resourcer): move new middleware to plugin instance
2022-09-13 23:27:19 +08:00
maumii
9d5de42798
feat(locale): added Japanese translation ( #813 )
...
Co-authored-by: mayumi <mayumi@wasp.co.jp>
2022-09-09 21:46:44 +08:00
Junyi
295081603e
fix(plugin-workflow): fix value type for DatePicker to moment ( #815 ) ( #819 )
...
fix #815
2022-09-09 10:08:46 +08:00
Junyi
ce75ecdb2b
refactor(plugin-workflow): export client calculators registry ( #816 )
2022-09-07 08:46:29 +08:00
Junyi
c50a1923f4
refactor(server) ( #795 )
...
* refactor(server): refactor code
* fix(server): fix satisfy check of semver
2022-09-02 11:44:22 +08:00
Junyi
21806b3418
fix(plugin-verification): change provider rate limit error to 429 ( #788 )
2022-08-30 16:03:27 +08:00
Junyi
d1b52c7d96
fix(plugin-cm): fix field disappear after failed to update ( #773 )
2022-08-24 11:51:14 +08:00
SemmyWong
13dd078079
fix: fix uiSchema undefined ( #770 )
2022-08-24 08:51:42 +08:00
Junyi
e6a2dff79a
fix(plugin-cm): fix unique option default value to update ( #768 )
2022-08-23 08:59:36 +08:00
Junyi
b6daa9ad69
fix(plugin-users): fix update profile 500 ( #766 ) ( #767 )
...
Fix #766
2022-08-22 20:37:15 +08:00
chenos
86650f16d9
fix: update package versions
2022-08-21 19:29:07 +08:00
Junyi
a1dc139cf4
feat(plugin-cm): add unique option for base fields ( #745 )
...
* feat(plugin-cm): add unique option for base fields
* refactor(plugin-cm): make sure unique constraint sync with field option
* fix(plugin-cm): fix sqlite unique field sync
* fix(plugin-cm): fix unique constraint sync logic
* refactor(plugin-cm): remove unique property for select components
* fix: previous
* fix: test error
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 23:23:13 +08:00
Junyi
7e6a394f73
feat(plugin-verification): add plugin-verification and phone for users ( #722 )
...
* feat(plugin-verification): add plugin-verification and phone for users
* feat(plugin-verification): add env example
* fix(plugin-verification): fix locales
* fix(plugin-verification): remove sending comment
* fix(plugin-verification): fix i18n
* refactor(plugin-verification): move invalid error message to action
* fix(plugin-verification): add field migration
* chore(plugin-verification): update packages version
* test(plugin-verification): temp remove new package dependency
* refactor(plugin-verification): make sms authentication configurable in system settings
* fix: smsAuthEnabled
* feat: update preset-nocobase
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 18:06:12 +08:00
chenos
259393f626
feat: resize grid columns with drag and drop ( #748 )
...
* feat: resize grid columns with drag and drop
* fix: column resizing only in designable
* fix: batch patch
* fix: does not scroll when dragging to a blank block
* fix: overflow-x auto
2022-08-20 18:04:14 +08:00
Junyi
58b4febdf8
refactor(plugin-workflow): change files mode to 644 ( #755 )
2022-08-19 10:00:20 +08:00
chenos
7fde444a60
chore(versions): 😊 publish v0.7.4-alpha.7 ( #740 )
2022-08-15 16:12:12 +08:00
chenos
a3810ac61a
chore(versions): 😊 publish v0.7.4-alpha.4 ( #727 )
2022-08-12 10:54:10 +08:00
chenos
38c3e3e4cc
fix: record provider required for read pretty
2022-08-11 23:48:13 +08:00
SemmyWong
538a28d0bd
fix: sync table sort to export ( #723 )
2022-08-11 22:22:24 +08:00
Junyi
0190c573c5
fix(plugin-workflow): fix extend collection ( #708 )
...
* fix(plugin-workflow): fix extend collection
* fix: extendCollection
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-04 21:56:13 +08:00
chenos
cec5733260
fix: DB_TABLE_PREFIX doesn't get applied ( #710 )
...
* fix: env DB_TABLE_PREFIX doesn't get applied
* fix: remove before define
* fix: test error
* fix: table prefix
* test: ci
* fix: test error
* test: ci
* test: ci
* fix: test error
* fix: test error
* chore: update node ci
2022-08-04 21:27:55 +08:00
金昶
f4f35bdb43
feat: default value ( #679 )
...
* feat: default value
* feat: add global default value
* fix: field default value should be updated
* feat: adjust defaultValue logic
* feat: add hasDefaultValue property
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-03 09:32:16 +08:00
chenos
bc12c92091
chore(versions): 😊 publish v0.7.4-alpha.1 ( #696 )
...
* docs: update release notes
* chore(versions): 😊 publish v0.7.4-alpha.1
* feat: update docker image version
2022-07-28 23:16:17 +08:00
chenos
82cf951166
fix: append roles to current user ( #695 )
2022-07-28 20:21:31 +08:00
chenos
7d4796e7e0
fix: append roles to user
2022-07-28 18:56:02 +08:00
chenos
b8cf8c92eb
fix: cannot find name 'toFixedByStep'
2022-07-28 17:44:20 +08:00
SemmyWong
165ab2b876
fix: fix date format ( #686 )
...
* fix: fix date format
* fix: fix date format
* fix: export date
* fix: get current timezone
* fix: datetime render
* fix: gmt
* fix: gmt date
* fix: utf offset
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 17:32:31 +08:00
Junyi
95e799880c
test(plugin-workflow): skip prompt tests ( #692 )
2022-07-28 10:12:28 +08:00
SemmyWong
92cd76ce48
fix: fix accuracy of percent ( #685 )
...
* fix: fix accuracy of percent
* fix: fix accuracy of percent
* fix: test unit modify
* fix: export number
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 09:26:50 +08:00
Junyi
1a4d88d089
fix(plugin-workflow): adjust await sleep time for test cases ( #691 )
2022-07-28 08:13:49 +08:00
Junyi
a73c37c927
feat(plugin-workflow): add assignees config for prompt instruction ( #690 )
2022-07-27 18:23:16 +08:00
Ayden
12f658391a
fix: role export button display ( #616 ) ( #666 )
...
* fix: role export button display (#616 )
* fix: auditLogs view permissions (#617 )
* fix: role export button display (#616 )
* fix: auditLogs view permissions (#617 )
2022-07-26 21:07:34 +08:00
chenos
827c324be3
feat: uid validate ( #681 )
2022-07-26 10:07:35 +08:00
chenos
8f64061e65
fix(plugin-error-handler): no error message
2022-07-25 23:24:18 +08:00
Junyi
49a4ab4818
refactor(plugin-users): improve extendibility of middlewares ( #677 )
...
* refactor(plugin-users): improve extendibility of middlewares
* fix(plugin-users): fix typo
* fix: test error
* fix: allowConfigure condition
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-25 19:33:23 +08:00
chenos
83f2e19ef3
chore(versions): 😊 publish v0.7.3-alpha.1 ( #657 )
2022-07-20 15:28:13 +08:00
chenos
c9483254fa
feat: customizable jwt expiration date
2022-07-20 14:15:59 +08:00
金昶
c9dfc2682c
feat: improve language settings ( #627 )
...
* feat: fix system local setting
* feat: improve language settings
* fix: improve code
* feat: update doc
* feat: add migration
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-14 20:57:26 +08:00
SemmyWong
c8bd2c7317
feat: field assignment for custom actions supports string variables ( #597 )
...
* fix: temporary solution to APP crash
* feat: support dynamic assigned field value
* feat: support dynamic assigned field value
* fix: useFields filter
* fix: dynamic assigned value
* fix: dynamic assigned value
* fix: fix china region export
* fix: fix china region export
* fix: change assign value data
* fix: custom request use parse instead of SchemaCompile
* fix: allow user attribute to be selected
* fix: allow DATE field to be select currentUser or CurrentRecord
* fix: allow DATE field to be select currentUser or CurrentRecord
* fix: change style
* feat: package dependencies
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-13 15:05:46 +08:00
chenos
451d6ae974
chore(versions): 😊 publish v0.7.2-alpha.7 ( #611 )
...
* fix(cli): db sync error
* fix(cli): upgrade error
* feat: update docker image version
2022-07-10 00:41:36 +08:00
chenos
307c4ca1dc
chore(versions): 😊 publish v0.7.2-alpha.3 ( #608 )
2022-07-08 11:02:33 +08:00
chenos
654f0380b6
chore(versions): 😊 publish v0.7.2-alpha.2 ( #606 )
2022-07-07 18:38:30 +08:00
chenos
a0c021202e
fix: field permissions cannot be saved ( #605 )
...
resolve #599
2022-07-07 17:46:19 +08:00
Junyi
15d7f17fb5
fix(plugin-workflow): fix revision bug ( #603 )
2022-07-07 16:28:16 +08:00
Junyi
39a3146f14
fix(plugin-workflow): fix select value ( #600 )
2022-07-07 11:20:50 +08:00
Junyi
f951ba1745
fix(plugin-workflow): fix CollectionFieldSelect component ( #598 )
2022-07-07 10:26:33 +08:00
Junyi
e4a0bb42f6
feat(plugin-workflow): add association select in calculation ( #584 )
2022-07-06 10:34:48 +08:00
chenos
1e7746292f
chore(versions): 😊 publish v0.7.2-alpha.1 ( #578 )
...
* chore(versions): 😊 publish v0.7.2-alpha.1
* feat: update docker image version
2022-07-05 09:55:22 +08:00
chenos
ae66dd5ded
fix: drop all foreign keys ( #576 )
2022-07-04 23:48:19 +08:00
Junyi
93fba8fcb5
fix(plugin-workflow): fix collection trigger config ( #575 )
2022-07-04 22:09:15 +08:00
chenos
592f6a423b
fix: improve filter item styling
2022-07-04 20:32:18 +08:00
chenos
e3b6c0513a
feat: filter with variable ( #574 )
2022-07-04 17:50:18 +08:00
chenos
70ab4dcf1f
fix(database): index invalid ( #564 )
...
* fix(database): index invalid
* fix: test error
2022-07-01 09:33:05 +08:00
SemmyWong
41cb3da448
fix: export association table data ( #561 )
...
* fix: export association table data
* fix: fix export
* feat: add test case
* feat: add test case
2022-07-01 09:13:16 +08:00
chenos
e5793cbbcb
fix(client): maximum call stack size exceeded ( #554 )
2022-06-30 09:22:16 +08:00
Junyi
4a3cb6e65f
Refactor(plugin workflow): move client files into plugin ( #556 )
...
* refactor(plugin-workflow): move client files into plugin
* fix(client): fix package path block build
* test(plugin-workflow): trigger ci
2022-06-29 23:42:03 +08:00
Junyi
8f0ea6c3c0
fix(plugin-workflow): fix select width ( #552 )
...
* fix(plugin-workflow): fix select width
* test(plugin-workflow): skip schedule cases
2022-06-29 14:30:33 +08:00
金昶
32e744319e
feat: display association fields ( #512 )
...
* feat: association field features
* fix: remove comments
* fix: association field in creation form will trigger error
* fix: column decorator title
* fix: column designer title
* fix: association field in table
* feat: adjust documents
* fix: remove m2o subfield mode
* fix: adjust title field display condition
* fix: relation field title bug
* fix: o2m multiple is true
* feat: association fields are loaded on demand
* fix: support sub field
* feat: remove FormField require config
* fix: two lines in Columns config menu of table block
* fix: could not find schema node
* fix: add form context to internal table block
* fix(client): non-empty judgment
* feat: translations
* fix: add / edit field title compile
* fix: unique
* fix: association feature bugs
* feat: add oho & o2m selector filter
* fix: add field added logic in FormField and TableField
* fix: remove updateAssociationValues middleware
* feat: recordprovider in association fields
* feat: add kanban association appends
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-29 12:57:43 +08:00
Junyi
95d0b524d0
Fix(plugin workflow) ( #549 )
...
* fix(plugin-workflow): clear options when change collection
* fix(plugin-workflow): fix schedule trigger
2022-06-29 00:00:27 +08:00
chenos
839d588892
fix: export of relation blocks ( #546 )
2022-06-28 19:51:14 +08:00
Junyi
4a8c9c8d87
feat(plugin-workflow): add race mode ( #542 )
...
* feat(plugin-workflow): add race mode
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow): fix node create action
2022-06-28 17:00:19 +08:00
chenos
a8f951dfab
chore(versions): 😊 publish v0.7.1-alpha.7 ( #539 )
...
* fix(cli): upgrade from docker
* chore(versions): 😊 publish v0.7.1-alpha.6
* fix: export bug
* chore(versions): 😊 publish v0.7.1-alpha.7
* docs: update release notes
2022-06-26 11:25:13 +08:00
chenos
c9159c6cf4
chore(versions): 😊 publish v0.7.1-alpha.5
2022-06-26 07:36:22 +08:00
chenos
570d039f19
chore(versions): 😊 publish v0.7.1-alpha.4
2022-06-26 07:21:10 +08:00
chenos
cd5bd09c50
chore(create-nocobase-app): fix some bugs ( #538 )
...
* fix: tsconfig
* chore(versions): 😊 publish v0.7.1-alpha.1
* fix: update gitHead
* fix: update gitHead
* chore(versions): 😊 publish v0.7.1-alpha.2
* fix: update client/server entry file
* chore(versions): 😊 publish v0.7.1-alpha.3
* fix: check core dir
* fix: missing core dir
* feat: relationship fields are loaded on demand
2022-06-26 07:19:03 +08:00
chenos
9dae723ca7
fix: destroy collection fields ( #536 )
2022-06-25 10:36:56 +08:00
Junyi
ef939b4277
feat(plugin-workflow): add delay node type ( #532 )
...
* feat(plugin-workflow): add delay node type
* fix(plugin-workflow): fix test and add cases
* fix(plugin-workflow): fix processor.saveJob()
2022-06-24 23:28:49 +08:00
chenos
3dce31f6a1
refactor: client application ( #533 )
...
* refactor: client application
* feat: application
* fix: improve code
* fix: app plugin
* fix: app plugin
* fix: china region plugin
2022-06-24 21:19:57 +08:00
Junyi
f2710f2cdb
fix(plugin-workflow): set current when update ( #526 )
2022-06-22 23:17:30 +08:00
Junyi
2b3f3bd5c3
fix(plugin-workflow): fix update workflow current property ( #521 )
2022-06-21 21:43:30 +08:00
Junyi
ecf82208eb
refactor(plugin-workflow): abstract to classes ( #515 )
...
* refactor(plugin-workflow): abstract to classes
* fix(plugin-workflow): add indexes and fix cases
* test(plugin-workflow): skip schedule cases
2022-06-20 23:29:21 +08:00
chenos
906ff8f150
fix(audit-logs): operator does not exist: character varying = integer
2022-06-19 16:44:59 +08:00
SemmyWong
95c750db15
fix(custom-request): support string/json templates ( #514 )
...
* fix: request api support dynamic custom
* fix: scope undefined will not work
* fix: use formily compile
* fix: user may be null
* fix: export add context
2022-06-19 14:06:31 +08:00
chenos
72e3f15306
fix: remove collections & fields from db ( #511 )
...
* fix: remove collections & fields from db
* fix: cannot read property 'removeFromDb' of undefined
* test: add test cases
* test: add test cases
* fix: exclude non-deletable fields
2022-06-18 00:18:12 +08:00
chenos
34e17004c5
feat: improve migrations ( #510 )
...
* feat: improve upgrade
* feat: addMigrations
* fix: get version
* feat: retry
* feat: migration context
* feat: get the version number from the server
2022-06-17 10:25:59 +08:00
SemmyWong
2defd4c0d2
fix: default exportable fields ( #506 )
2022-06-15 08:34:16 +08:00
chenos
308fe7a123
fix(audit-logs): sort by createdAt
2022-06-15 08:30:55 +08:00
chenos
5e116af4a9
fix(plugin-export): allow to configure in acl
2022-06-14 22:04:33 +08:00
金昶
b91ca4420b
feat: association field block ( #493 )
...
* feat: association field block
* feat: association details block
* feat: template add resource name
* feat: add association calendar
* fix: update yarn.lock
* fix: remove useAssociationNames
* fix: restore useFilterByTk logic
* feat: client doc
* fix: resolveNocobasePackagesAlias
* fix: input textarea readpretty
* feat: styling
* fix: oho & obo
* fix: field-summary component remove to collection manager
* fix: translation
* feat: improve code
* fix(audit-logs): skip when collection does not exist
* feat: m2m
* fix: improve code
* fix: title field
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:46:48 +08:00
SemmyWong
d831a9b889
feat: plugin export ( #479 )
...
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* ci: change plugin-export version
* refactor: renders add ctx params
* fix: fix select and multipleSelect export
* fix: array convert string
* refactor: move SchemaInitializerPluginProvider
* fix: build error
* fix: change umijs config
* fix: update SchemaInitializerPluginProvider
* fix: import server
* fix: fix some bug
* fix: fix some bug
* refactor: export plugin refactor
* refactor: create all export fields by default
* fix: fix export plugin bug
* fix(plugin-collection-manager): uiSchema toJSON
* fix: update yarn.lock
* fix: fix init fields bug
* refactor: enum params pass by client
* fix: fix export table header title
* refactor: refactor dataIndex
* fix: fix dataIndex maybe complex object
* fix: add checkboxGroup in export plugin
* fix: add checkbox and i18n
* feat: improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
chenos
a92a78cc9e
fix: rollback when field creation fails ( #498 )
...
* fix: rollback when field creation fails
* fix: missing transaction
2022-06-11 20:46:30 +08:00
chenos
3fa13d8465
feat: audit logs ( #494 )
...
* feat: audit logs
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* fix: field load
2022-06-10 17:46:46 +08:00
chenos
d2837740bf
fix(client): language settings
2022-06-10 08:38:24 +08:00
chenos
b466b8f6fb
feat(client): improve locale
2022-06-10 00:33:59 +08:00
Junyi
7839e78164
refactor(plugin-workflow): add revision column to execution ( #491 )
2022-06-09 16:40:10 +08:00
Junyi
892a772988
fix(plugin-multi-app-manager): fix pg cannot create database block tests ( #486 )
2022-06-08 13:20:01 +08:00
Junyi
74b9639f6f
Refactor(plugin workflow): support number in repeat config for schedule ( #482 )
...
* refactor(plugin-workflow): change option cron to repeat and allow number type
* refactor(plugin-workflow): support number in repeat config for schedule
2022-06-07 12:10:39 +08:00
Junyi
4e19571c08
fix(plugin-workflow): fix collection trigger transaction ( #474 )
2022-06-05 21:58:06 +08:00
Junyi
c129abfeb6
fix(plugin-workflow): temporary solution for collection trigger conditions ( #472 )
2022-06-05 20:03:19 +08:00
chenos
d72480ac58
fix(acl): skip when field does not exist
2022-06-03 22:20:34 +08:00
chenos
dd6f0a6d84
fix(cli): skip when role does not exist
2022-06-03 21:36:40 +08:00
Junyi
a494376f31
fix(plugin-workflow): fix languages ( #451 )
...
* fix(plugin-workflow): fix languages
* test(plugin-workflow): temporarily skip schedule tests
2022-06-02 00:18:55 +08:00
chenos
838f4f18dc
chore(versions): 😊 publish v0.7.0-alpha.83
2022-06-01 12:49:30 +08:00
chenos
a9e1094f8b
feat(plugin-file-manager): record the creator of the attachment
2022-05-31 20:17:55 +08:00
Junyi
373c2b9a2d
Feat(plugin workflow): schedule trigger ( #438 )
...
* feat(plugin-workflow): add schedule type trigger
* feat(plugin-workflow): add collection mode for schedule trigger
* feat(plugin-workflow): add ui for schedule trigger configuration
* fix(plugin-workflow): fix test case
* fix(plugin-workflow): fix trigger for sqlite
2022-05-31 00:00:07 +08:00
chenos
4820fd0937
chore(versions): 😊 publish v0.7.0-alpha.82
2022-05-27 00:02:32 +08:00
chenos
735581d20d
feat: add create-plugin command ( #423 )
...
* feat: add create-plugin command
* chore(versions): 😊 publish v0.7.0-alpha.79
* chore(versions): 😊 publish v0.7.0-alpha.80
* chore(versions): 😊 publish v0.7.0-alpha.81
2022-05-25 23:21:19 +08:00
chenos
cd39e927b6
chore(versions): 😊 publish v0.7.0-alpha.78 ( #419 )
...
* chore(versions): 😊 publish v0.7.0-alpha.68
* chore(versions): 😊 publish v0.7.0-alpha.69
* chore(versions): 😊 publish v0.7.0-alpha.70
* chore(versions): 😊 publish v0.7.0-alpha.71
* chore(versions): 😊 publish v0.7.0-alpha.72
* chore(versions): 😊 publish v0.7.0-alpha.78
2022-05-24 19:37:15 +08:00
chenos
326297936b
chore(versions): 😊 publish v0.7.0-alpha.67
2022-05-24 15:53:45 +08:00
chenos
9c19e4d67f
chore(versions): 😊 publish v0.7.0-alpha.66
2022-05-24 15:52:21 +08:00
chenos
35d01a5fb0
chore(versions): 😊 publish v0.7.0-alpha.64
2022-05-24 15:26:13 +08:00
chenos
c01c6952a5
chore(versions): 😊 publish v0.7.0-alpha.63
2022-05-24 15:10:31 +08:00
chenos
72c3ba4fae
fix(plugin-users): add translations ( #416 )
2022-05-24 14:14:19 +08:00
chenos
c851033406
feat: update docs ( #413 )
...
* feat: add alert message
* chore(versions): 😊 publish v0.7.0-alpha.61
* fix(create-nocobase-app): add storage folder
* fix(docs): storage path error
* chore(versions): 😊 publish v0.7.0-alpha.62
* docs: update upgrading
* docs: update release notes
2022-05-23 18:48:15 +08:00
chenos
f0d0afbb19
chore(versions): 😊 publish v0.7.0-alpha.60
2022-05-23 15:02:29 +08:00
chenos
c90e5aee4c
chore(versions): 😊 publish v0.7.0-alpha.59
2022-05-23 09:34:53 +08:00
Junyi
80a685f8bf
refactor(plugin-workflow): change column type of executed from boolean to integer ( #411 )
2022-05-22 19:47:15 +08:00
chenos
19ee42257e
chore(versions): 😊 publish v0.7.0-alpha.58
2022-05-22 15:04:15 +08:00
ChengLei Shao
5df11c58c7
fix: 204 no content response ( #378 )
...
* fix: 204 no content response
* Update data-wrapping.ts
* Update plugin.ts
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-22 14:48:50 +08:00
ChengLei Shao
c6839b30c1
feat: destroy association field after target collection destroy ( #376 )
2022-05-22 08:50:58 +08:00
Junyi
16f861ad7d
fix(type): use sequelize native Transactionable instead of TransactionAble ( #410 )
2022-05-22 08:48:19 +08:00
Junyi
dc05399beb
fix(plugin-workflow): remove previous listeners when collection changed in config ( #409 )
2022-05-21 21:52:30 +08:00
chenos
b44753d528
fix(plugin-acl): missing pagination parameters #394
2022-05-21 15:36:46 +08:00
Junyi
53482c5b22
refactor(plugin-workflow): multiple instances and event management ( fix #384 ) ( #408 )
...
* refactor(plugin-workflow): multiple instances and event management (fix #384 )
* fix(plugin-workflow): fix test case
2022-05-20 16:13:12 +08:00
chenos
33f076e430
chore(versions): 😊 publish v0.7.0-alpha.57
2022-05-19 12:02:20 +08:00
chenos
6410bc8a75
feat: build, cli, devtools, sdk, docs...
...
* feat: nocobase build
* chore: update build scripts
* chore: update build scripts
* chore(versions): 😊 publish v0.7.0-alpha.33
* chore: independent version
* chore: nocobase build
* chore(versions): 😊 publish v0.7.0-alpha.34
* feat: nocobase-cli
* feat: nocobase-cli
* chore: update dependencies
* feat: improve code
* refactor: create-nocobase-app
* chore(versions): 😊 publish v0.7.0-alpha.35
* feat: @nocobase/devtools
* chore(versions): 😊 publish v0.7.0-alpha.36
* chore: update dependencies
* chore(versions): 😊 publish v0.7.0-alpha.37
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.38
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.39
* feat: update deps
* chore(versions): 😊 publish v0.7.0-alpha.40
* chore: update devDependencies
* chore(versions): 😊 publish v0.7.0-alpha.41
* fix: postinstall
* chore(versions): 😊 publish v0.7.0-alpha.42
* chore: improve code
* chore(versions): 😊 publish v0.7.0-alpha.43
* chore: execa
* chore(versions): 😊 publish v0.7.0-alpha.44
* chore(cli): allow unknown option
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: default envs
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: package argument for build command
* chore(versions): 😊 publish v0.7.0-alpha.46
* fix: improve code
* chore(versions): 😊 publish v0.7.0-alpha.48
* feat: clean & doc
* chore(versions): 😊 publish v0.7.0-alpha.49
* feat: compilation tips
* feat: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.50
* fix: unexpected token ] in JSON
* chore(versions): 😊 publish v0.7.0-alpha.51
* fix: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.52
* fix: remove export action from available action
* fix: db sync after upgrade
* chore(versions): 😊 publish v0.7.0-alpha.53
* feat: upgrade log
* chore(versions): 😊 publish v0.7.0-alpha.54
* docs: updates
* feat: updates
* docs(cli): update usage description
* feat: updates
* docs: updates
* docs: updates
* docs: toc
* feat: sdk
* docs: updates
* docs: updates
* docs: updates
* Update index.md
* docs: updates
* Update release-notes.md
* Update roadmap.md
* Update index.md
* Update contributing.md
* Update contributing.md
* Update index.md
* Update index.md
* Update nocobase-cli.md
* Update nocobase-cli.md
* fix: user plugin initialization data
* Update env.md
* Update env.md
* Update directory-structure.md
* Update index.md
* Update action-api.md
* Update filter-operators.md
* docs: update thanks.md
* Update index.md
* Update javascript-sdk.md
* Update rest-api.md
* Update installation.md
* Update installation.md
* Update upgrading.md
* Update upgrading.md
* Update upgrading.md
* Update installation.md
* Update installation.md
* Create release-notes.md
* Update release-notes.md
* feat: updates
* feat: update docs
* feat: update release-notes.md
* feat: switch language
* feat: updates
* Add files via upload
* Add files via upload
* Update important-features.md
* Update thanks.md
* feat: nocobase postinstall
* Update index.md
* Create why-different.md
* Update why-different.md
* Create who-is-for.md
* Rename who-is-for.md to who.md
* feat: update docs
* Rename why-different.md to why.md
* Update why.md
* Update menus.ts
* Update why-nocobase.md
* Create who.md
* Create why.md
* feat: updates
* chore(versions): 😊 publish v0.7.0-alpha.55
* feat: tips
* Update who.md
* Update who.md
* feat: update docs
* feat: update doc menus
* fix: plugin client dist
* docs: update contributing.md
* docs: update readme.md
* docs: update readme.md
* docs: update readme.md
* Update functional-zoning.md
* fix: br
Co-authored-by: Zhou <zhou.working@gmail.com>
2022-05-19 00:40:55 +08:00
chenos
0a766b51e0
fix: acl allow plugins:getPinned
2022-05-18 08:42:03 +08:00
chenos
48b2b4bc7b
chore(versions): 😊 publish v0.7.0-alpha.34
2022-05-14 09:00:51 +08:00
chenos
b5c24aa799
feat: add plugins:getPinned action api
2022-05-14 08:56:30 +08:00
Junyi
2df0e46318
Fix(plugin workflow): fix cannot get job result properties ( #382 )
...
* fix(plugin-workflow): card drawer title
* fix(plugin-workflow): fix job result to use raw object than proxied model (#380 )
2022-05-13 13:26:49 +08:00
chenos
c4b5f4f84b
chore(versions): 😊 publish v0.7.0-alpha.33
2022-05-13 10:04:38 +08:00
Junyi
c018e5b913
Feat(plugin workflow): revisions ( #379 )
...
* feat(plugin-workflow): avoid nodes to be added/removed/modified in executed workflow
* feat(plugin-workflow): add current field to workflow stand for current version
* feat(plugin-workflow): add duplicate action to workflow for revisions
* fix(plugin-workflow): fix relation field of workflow
2022-05-12 12:19:25 +08:00
Junyi
16498dcbde
Fix(plugin workflow): fix transaction of execution ( #364 )
...
* fix(plugin-workflow): fix values dropdown height
* fix(plugin-workflow): fix duplicated property name
2022-05-06 13:55:36 +08:00
chenos
0a28df510d
fix: set visible with confirm ( #361 )
...
* chore(versions): 😊 publish v0.7.0-alpha.31
* fix: set visible with confirm
* chore(versions): 😊 publish v0.7.0-alpha.32
2022-05-05 17:38:48 +08:00
chenos
781fb0a999
chore(versions): 😊 publish v0.7.0-alpha.30
2022-05-05 16:41:46 +08:00
chenos
58b151c745
fix(client): upgrade formily packages
2022-05-05 16:41:06 +08:00
Junyi
61b28b37db
fix(plugin-workflow): fix tests ( #360 )
2022-05-05 11:59:13 +08:00
ChengLei Shao
0b7f96dab3
Fix acl error ( #358 )
...
* fix: empty resource acl error
* fix: removeAction error
2022-05-04 20:44:59 +08:00
chenos
46e660b10d
chore(versions): 😊 publish v0.7.0-alpha.29
2022-05-04 19:46:40 +08:00
ChengLei Shao
914600209a
fix: empty resource acl error ( #357 )
2022-05-04 10:16:53 +08:00
chenos
a48d00492e
chore(versions): 😊 publish v0.7.0-alpha.28
2022-05-02 10:17:37 +08:00
Junyi
7ef1ebb600
Fix(plugin-workflow) ( #353 )
...
* fix(plugin-workflow): fix component reaction
* test(plugin-workflow): try to fix ci random failing
2022-05-02 10:10:22 +08:00
Junyi
53ef901156
fix(plugin-file-manager): upgrade multer-aliyun-oss package to fix size ( #352 )
2022-05-01 22:35:41 +08:00
chenos
ebfe11ff09
chore(versions): 😊 publish v0.7.0-alpha.27
2022-05-01 00:50:13 +08:00
chenos
69da6a340f
feat: improve code ( #350 )
2022-04-30 23:41:01 +08:00
Junyi
01c7c95369
Fix/plugin workflow ( #349 )
...
* fix(plugin-workflow): fix i18n
* fix(plugin-workflow): fix default enabled value of workflows
2022-04-30 17:29:15 +08:00
Junyi
eb49849803
fix(plugin-workflow): fix trigger bind logic to avoid duplication ( #347 )
2022-04-30 16:41:40 +08:00
Junyi
b7ea6b0a5e
Fix(plugin workflow) ( #346 )
...
* fix(plugin-workflow): try fix i18n in tooltips
* fix(plugin-workflow): fix i18n contents and change model event to collection event
2022-04-30 15:44:03 +08:00
chenos
515d952767
chore(versions): 😊 publish v0.7.0-alpha.26
2022-04-30 10:13:35 +08:00
Junyi
26f072e499
chore(plugin-workflow): add translation ( #345 )
...
* chore(plugin-workflow): add translation
* fix(plugin-workflow): type
2022-04-30 10:06:25 +08:00
Junyi
5652d11b82
fix(plugin-workflow): break cycling trigger through transaction id ( #341 )
2022-04-29 22:21:58 +08:00
chenos
1fb2dd884c
chore(versions): 😊 publish v0.7.0-alpha.24
2022-04-29 21:52:27 +08:00
ChengLei Shao
687e1f4bc5
chore: install subApp asynchronous ( #336 )
...
* chore: install subApp asynchronous
* fix: test
* chore: application handleAppStart
* chore: remove application createBy field
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-29 20:00:50 +08:00
chenos
a77f71e32f
feat: improvements ( #335 )
...
* fix: improve code
* v0.7.0-alpha.18
* chore(versions): 😊 publish v0.7.0-alpha.19
* fix: tips for app.install
* chore(versions): 😊 publish v0.7.0-alpha.19
* fix: chalk module
* chore(versions): 😊 publish v0.7.0-alpha.21
* fix: clean && force
* chore(versions): 😊 publish v0.7.0-alpha.22
* feat: silent option
* chore: storage folder
* feat: storage folder
* chore(versions): 😊 publish v0.7.0-alpha.23
* docs: update readme.md
2022-04-29 00:09:40 +08:00
Junyi
f5cc368cef
Feat(plugin workflow): add changed fields to model trigger config ( #332 )
...
* feat(plugin-workflow): add changed fields to model trigger config
* fix(plugin-workflow): avoid system fields to input
2022-04-28 10:18:44 +08:00
chenos
27399f4e5e
chore(versions): 😊 publish v0.7.0-alpha.16
2022-04-27 21:28:50 +08:00
chenos
7c048e034f
fix: cannot find module mkdirp ( #330 )
...
* fix: cannot find module mkdirp
* fix: remove cb
2022-04-27 12:27:31 +08:00
Junyi
2e80e0c2c2
Fix(plugin workflow): UX issues ( #329 )
...
* fix(plugin-workflow): typo
* fix(plugin-workflow): text and style
* fix(plugin-workflow): fix trigger form validation
* fix(plugin-workflow): try to fix config field
* fix: config
* fix(plugin-workflow): node config value
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-27 10:31:16 +08:00
chenos
72d32be2b0
fix(plugin-file-manager): test failed
2022-04-27 08:26:54 +08:00
chenos
f0d9b0ec02
chore(versions): 😊 publish v0.7.0-alpha.15
2022-04-26 22:32:06 +08:00
chenos
87362789f3
chore(versions): 😊 publish v0.7.0-alpha.14
2022-04-26 21:09:46 +08:00
chenos
9dabe2fbd6
fix(plugin-file-manager): remove mkdirp
2022-04-26 20:37:59 +08:00
chenos
62eb85de5f
chore(versions): 😊 publish v0.7.0-alpha.13
2022-04-26 18:48:54 +08:00
chenos
9e152c3a0a
chore(versions): 😊 publish v0.7.0-alpha.12
2022-04-26 16:15:21 +08:00
chenos
8144cfdbea
chore(versions): 😊 publish v0.7.0-alpha.10
2022-04-26 00:36:36 +08:00
chenos
14f30e61e8
fix(plugin-error-handler): cannot find module '@formily/json-schema'
2022-04-26 00:35:40 +08:00
chenos
3fb66d345f
feat(plugin-china-region): import data with sqlite
2022-04-26 00:19:31 +08:00
chenos
0bda80e323
fix: app manager ( #320 )
...
* fix: bugfix
* chore(versions): 😊 publish v0.7.0-alpha.7
* docs: update readme.md
2022-04-25 19:05:33 +08:00
chenos
7d0087cbb3
chore(versions): 😊 publish v0.7.0-alpha.6
2022-04-25 16:16:19 +08:00
chenos
a00b45a268
chore(versions): 😊 publish v0.7.0-alpha.5
2022-04-25 16:14:29 +08:00
chenos
b0d3274b2d
fix(plugin-system-settings): cannot read property cliArgs of undefined
2022-04-25 16:13:35 +08:00
chenos
327e413b6d
chore(versions): 😊 publish v0.7.0-alpha.4
2022-04-25 14:47:13 +08:00
chenos
b12507f6e4
chore(versions): 😊 publish v0.7.0-alpha.3
2022-04-25 14:45:28 +08:00
chenos
0e0e99ef79
chore(versions): 😊 publish v0.7.0-alpha.2
2022-04-25 12:10:30 +08:00
chenos
e7293ad7aa
chore(versions): 😊 publish v0.7.0-alpha.1
2022-04-25 10:27:04 +08:00
chenos
82167c6c47
chore(versions): 😊 publish v0.7.0-alpha.0
2022-04-25 09:51:35 +08:00
chenos
717efa889d
feat(license): replace MIT license with Apache-2.0
2022-04-25 09:45:24 +08:00
chenos
3750484cbc
fix: lang option for install command
2022-04-24 23:17:42 +08:00
ChengLei Shao
c1f94d3d1b
Fix multiple apps ( #317 )
...
* chore: multiple apps
* fix: multiple apps with application options
* fix: multiple apps AppSelector type
* chore: multiple apps with plugin config
* chore: rename multiple-apps to multiple-apps-manager
* chore: application association
* chore: plugin multi-app manager
* chore: notifications transaction
2022-04-24 22:33:40 +08:00
ChengLei Shao
b1086ee728
Fix multiple apps ( #316 )
...
* chore: multiple apps
* fix: multiple apps with application options
* fix: multiple apps AppSelector type
* chore: multiple apps with plugin config
* chore: rename multiple-apps to multiple-apps-manager
* chore: application association
* chore: plugin multi-app manager
2022-04-24 20:22:50 +08:00
ChengLei Shao
b511ef3d8f
Fix acl target action error ( #311 )
...
* fix: field association resource name
* chore: resourceCollection fields unique index
* fix: test
* feat: allowConfigure permission skip
* feat: skip with array type actionNames
* chore: rename acl skip to allow
* fix: type
* chore: rename SkipManager to AllowManager
2022-04-24 10:14:46 +08:00
chenos
2fd27ea9f3
feat: file storages ( #314 )
...
* feat: file storages
* feat: storageOptions
* feat: radio field
* fix: documentRoot
2022-04-24 10:12:12 +08:00
chenos
5c0184a397
feat: translations
2022-04-22 23:58:19 +08:00
chenos
ae5686af0b
fix: acl skip chinaRegions:list action
2022-04-22 13:23:50 +08:00
chenos
5dae47d5f1
fix: set null on delete
2022-04-21 18:08:33 +08:00
chenos
f1d7d14145
fix: change API_PORT to SERVER_PORT
2022-04-21 14:51:00 +08:00
chenos
3735d71e70
fix: change plugin routes
2022-04-21 12:42:00 +08:00
chenos
f5dbb04a9f
fix: create-nocobase-app ( #306 )
...
* chore: create-nocobase-app
* chore: change create-nocobase-app lib to src
* chore(versions): 😊 publish v0.6.2-alpha.9
* fix: publish
* chore(versions): 😊 publish v0.6.2-alpha.10
* fix: read-config
* chore(versions): 😊 publish v0.6.2-alpha.11
* fix: create-nocobase-app publish
* chore: create-nocobase-app package.json
* chore(versions): 😊 publish v0.6.2-alpha.12
Co-authored-by: Chareice <chareice@live.com>
2022-04-21 00:15:38 +08:00
chenos
b45a5d57ea
fix: options property for filter component
2022-04-20 22:21:15 +08:00
Junyi
111b9e67b0
Fix(plugin workflow): fix collection data form view ( #301 )
...
* fix(plugin-workflow): change collection fields view to right configuration
* fix(plugin-workflow): fix type
2022-04-19 22:41:18 +08:00
chenos
f426c8a3ba
feat: add $isCurrentUser filter operator ( #299 )
...
* feat: add $isCurrentUser filter operator
* fix: supports three levels
2022-04-19 17:04:54 +08:00
ChengLei Shao
a37609e71b
fix: through table primaryKey error ( #297 )
...
* fix: through table primaryKey error
* chore: sort fields
* chore: test release
* chore: github action sqlite env
2022-04-19 16:35:44 +08:00
chenos
fca0943e8d
fix: update useCreateActionProps & useUpdateActionProps
2022-04-19 09:27:52 +08:00
chenos
da9e08a59f
feat: junction collection for linkTo field ( #296 )
2022-04-18 18:57:21 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app ( #273 )
...
* create-nocobase-app template from [develop]
* change create-nocobase-app package.json config
* feat: load configuration from directory
* feat: configuration repository toObject
* feat: create application from configuration dir
* feat: application factory with plugins options
* export type
* feat: read application config & application with plugins options
* feat: release command
* fix: database release
* chore: workflow package.json
* feat: nocobase cli package
* feat: console command
* chore: load application in command
* fix: load packages from process.cwd
* feat: cli load env file
* feat: create-nocobase-app
* fix: gitignore create-nocobase-app lib
* fix: sqlite path
* feat: create plugin
* chore: plugin files template
* chore: move cli into application
* chore: create-nocobase-app
* fix: create plugin
* chore: app-client && app-server
* chore: package.json
* feat: create-nocobase-app download template from npm
* chore: create-nocobase-app template
* fix: config of plugin-users
* fix: yarn.lock
* fix: database build error
* fix: yarn.lock
* fix: resourcer config
* chore: cross-env
* chore: app-client dependents
* fix: env
* chore: v0.6.0-alpha.1
* chore: verdaccio
* chore(versions): 😊 publish v0.6.0
* chore(versions): 😊 publish v0.6.1-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.1
* chore: 0.6.2-alpha.2
* feat: workspaces
* chore(versions): 😊 publish v0.6.2-alpha.3
* chore(versions): 😊 publish v0.6.2-alpha.4
* chore: create-nocobase-app
* chore: create-nocobase-app lib
* fix: update tsconfig.jest.json
* chore: .env
* chore(versions): 😊 publish v0.6.2-alpha.5
* chore(versions): 😊 publish v0.6.2-alpha.6
* feat: improve code
* chore(versions): 😊 publish v0.6.2-alpha.7
* fix: cleanup
* chore(versions): 😊 publish v0.6.2-alpha.8
* chore: tsconfig for app server package
* fix: move files
* fix: move files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00