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
chenos
c0a59524ab
chore(versions): 😊 publish v0.11.0-alpha.1
2023-07-08 08:29:33 +08:00
jack zhang
2cb1203aa4
refactor(client)!: application, router and plugin ( #2068 )
...
BREAKING CHANGE:
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: complete basic functional refactor
* fix: performance Application
* feat: support client and server build
* refactor: nocobase build-in plugin and providers
* fix: server can't start
* refactor: all plugins package `Prodiver` change to `Plugin`
* feat: nested router and change mobile client
* feat: delete application-v1 and router-switch
* feat: improve routes
* fix: change mobile not nested
* feat: delete RouteSwitchContext and change buildin Provider to Plugin
* feat: delete RouteSwitchContext plugins
* fix: refactor SchemaComponentOptions
* feat: improve SchemaComponentOptions
* fix: add useAdminSchemaUid
* fix: merge master error
* fix: vitest error
* fix: bug
* feat: bugs
* fix: improve code
* fix: restore code
* feat: vitest
* fix: bugs
* fix: bugs
* docs: update doc
* feat: improve code
* feat: add docs and imporve code
* fix: bugs
* feat: add tests
* fix: remove deps
* fix: muti app router error
* fix: router error
* fix: workflow error
* fix: cli error
* feat: change NoCobase -> Nocobase
* fix: code review
* fix: type error
* fix: cli error and plugin demo
* feat: update doc theme
* fix: build error
* fix: mobile router
* fix: code rewview
* fix: bug
* fix: test bug
* fix: bug
* refactor: add the "client" directory to all plugins
* refactor: modify samples client and plugin template
* fix: merge error
* fix: add files in package.json
* refactor: add README to files in package.json
* fix: adjust plugins depencies
* refactor: completing plugins' devDependencies and dependencies
* fix: bug
* refactor: remove @emotion/css
* refactor: jsonwebtoken deps
* refactor: remove sequelize
* refactor: dayjs and moment deps
* fix: bugs
* fix: bug
* fix: cycle detect
* fix: merge bug
* feat: new plugin bug
* fix: lang bug
* fix: dynamic import bug
* refactor: plugins and example add father config
* feat: improve code
* fix: add AppSpin and AppError components
* Revert "refactor: plugins and example add father config"
This reverts commit 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
chenos
15f028295c
chore(versions): 😊 publish v0.10.1-alpha.1
2023-07-07 06:56:04 +08:00
YANG QIA
3aa65cb30c
feat: data visualization ( #2160 )
...
* feat(charts-v2): init
* chore(charts-v2): init chart renderer
* feat(chart-v2): add chart grid and initializer
* feat(chart-v2): improve ui
* feat(chart-v2): ui
* feat(charts-v2): query sort ui
* feat(charts-v2): field select component
* feat(charts-v2): improve ui && add query action
* feat(charts-v2): imporve ui, work in progress
* fix(charts-v2): chart renderer request api twice
* feat(charts-v2): add dimension formatter
* feat(charts-v2): filter, sort, limit
* feat(charts-v2): sql mode ui
* feat(charts-v2): support duplicate & sql mode
* fix(charts-v2): wrong defaultValue of json config
* feat(charts-v2): transformer ui
* feat(charts-v2): transformer
* chore(charts-v2): rename transfromer to transform
* feat(charts-v2): support cache
* feat(charts-v2): add acl provider
* chore(charts-v2): hide sql mode
* refactor(charts-v2): add renderer provider
* feat: collection permission check
* feat(charts-v2): add antd statistic
* test(charts-v2): backend
* chore: improve code
* test(charts-v2): add test
* chore: add Chinese translation
* fix(charts-v2): locale switch bug
* chore: add dependency
* feat(charts-v2): init chart config from query
* feat: change layout
* test: fix frontend test
* feat: improve auto infer
* fix: ui issues
* chore: translation
* fix: sql error
* fix: some issues
* feat: support table
* fix: bug
* chore: improve code and fix query
* feat: add config reference
* chore: add translation
* fix: process data due to pg issue
* test: fix parseBuilder
* chore: upgrade formily to 2.2.25
* fix: some issues and import style
* fix: bug when query with sort
* feat: parse enum data
* fix: yarn.lock
* fix: type error
* fix: infer bug and frontend test
* test: fix frontend
* fix: test
* feat: improve preview
* chore: downgrade formily
* feat: support associations, draft, in testing
* fix: typo
* test: frontend & backend
* fix: infer bug
* feat: measure selection of statistics
* fix: bug of group by alias
* fix: some issues
* fix: order issues
* fix: yarn.lock
* chore: fix filter include & 'data-visualization'
* style: improve style
* docs: add readme
* chore: add translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 20:49:44 +08:00
Dunqing
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
chenos
560c00cc3e
chore(versions): 😊 publish v0.10.0-alpha.5
2023-06-29 15:34:40 +08:00
chenos
f3f91bd649
chore(versions): 😊 publish v0.10.0-alpha.4
2023-06-27 13:50:59 +08:00
chenos
83bf8ea3bb
chore(versions): 😊 publish v0.10.0-alpha.3
2023-06-25 14:04:19 +08:00
chenos
0b06e2cd69
chore(versions): 😊 publish v0.10.0-alpha.2
2023-06-20 11:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi
, react
and react-router-dom
( #1921 )
...
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: update docs
* feat: update docs
* fix: page tab change not work
* fix: login redirect query param doesn't work
* fix: bug and doc
* feat: update docs
* fix: ci error
* fix: merge main
* feat: update docs
* feat: update docs
* feat: update docs
* chore(versions): 😊 publish v0.10.0-alpha.1
* fix: translations
* chore: backend node test max old space size
* docs: add useSearchParams
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
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
chenos
d7f21460c6
chore(versions): 😊 publish v0.9.4-alpha.2
2023-05-26 17:05:46 +08:00
chenos
9c94840c6b
chore(versions): 😊 publish v0.9.4-alpha.1
2023-05-25 22:48:39 +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
chenos
cf0a921f85
chore(versions): 😊 publish v0.9.3-alpha.1
2023-05-11 12:49:18 +08:00
chenos
923f6e7884
chore(versions): 😊 publish v0.9.2-alpha.4
2023-04-26 22:33:55 +08:00
chenos
9756dd134b
chore(versions): 😊 publish v0.9.2-alpha.3
2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
3dfd5a1f7a
chore(versions): 😊 publish v0.9.2-alpha.2
2023-04-19 13:10:55 +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
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
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
chenos
bc5156d458
chore(versions): 😊 publish v0.9.1-alpha.2
2023-03-09 12:45:30 +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
chenos
946c8f25a3
chore(versions): 😊 publish v0.9.1-alpha.1
2023-03-03 09:34:06 +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
ChengLei Shao
dfbdbc741d
fix: collection schema updated but model _schema not change ( #1500 )
...
* fix: collection schema updated but model _schema not change
* test: schema changed
2023-02-26 08:04:29 +08:00
chenos
b91937552c
fix: environment variables ( #1490 )
2023-02-23 21:09:20 +08:00
chenos
dcc29892e6
fix: remove plugins after migration
2023-02-22 11:29:15 +08:00
chenos
a66793282f
fix: migration error
2023-02-22 10:18:14 +08:00
chenos
15c78e80a7
fix: formula plugin does not exist
2023-02-22 09:37:43 +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
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
chenos
5f609cec88
fix: upgrade error
2023-01-30 10:31:01 +08:00
chenos
daa91e95a6
chore(versions): 😊 publish v0.9.0-alpha.2
2023-01-14 12:07:20 +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
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
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
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
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
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
chenos
f5c1a07f20
fix: upgrade error ( #1303 )
2022-12-31 10:54:20 +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
627a8b264b
fix: db sync before app upgrade
2022-12-19 00:00:58 +08:00
chenos
e481c2b59b
fix: process.env.PRESET_NOCOBASE_PLUGINS
2022-12-18 23:27:03 +08:00