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
李小斐
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
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +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
chenos
ff10e588bb
fix: export using post request
2023-01-01 15:07:50 +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
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
chenos
12c3915a57
fix(plugin-export): filter non-existent fields
2022-09-15 09:27:28 +08:00
SemmyWong
13dd078079
fix: fix uiSchema undefined ( #770 )
2022-08-24 08:51:42 +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
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
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
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
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
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
839d588892
fix: export of relation blocks ( #546 )
2022-06-28 19:51:14 +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
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
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
SemmyWong
2defd4c0d2
fix: default exportable fields ( #506 )
2022-06-15 08:34:16 +08:00
chenos
5e116af4a9
fix(plugin-export): allow to configure in acl
2022-06-14 22:04:33 +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