Commit Graph

136 Commits

Author SHA1 Message Date
chenos
5672ffc9fa feat: update docs 2023-06-20 18:05:06 +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
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
chenos
0b0a8d2be5 feat(docs): update docs 2023-05-25 22:47:05 +08:00
chenos
a6c7b417de chore: update changelog 2023-05-11 12:52:35 +08:00
chenos
daf2034f8d chore: update changelog 2023-04-26 22:36:21 +08:00
chenos
2c75aa723d docs: update changelog 2023-04-25 13:16:44 +08:00
chenos
883f1e6fd1
fix: eslint (#1759)
* fix: eslint

* fix: eslint --fix

* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
7c06a929ef feat: update docs 2023-04-12 12:13:18 +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
phobal
3fc74002ff
docs: transform video link to video tag (#1414) 2023-03-31 13:55:29 +08:00
chenos
f9b034b283 feat(docs): introduction of tree collection 2023-03-17 10:51:02 +08:00
chenos
f6dad11441 feat: update docs 2023-02-22 12:42:36 +08:00
Zhou
7dad46de51
Update features.md 2023-02-22 09:31:22 +08:00
Zhou
6dbff4f74c
Update roadmap.md 2023-02-20 16:56:37 +08:00
Pearl C
1beb25da70
Update acl.md 2023-02-17 18:24:44 +08:00
chenos
9535ec57d0 docs: add roadmap documentation 2023-02-17 09:58:52 +08:00
Pearl C
26f0de0488
Update middleware.md 2023-02-10 16:56:40 +08:00
Pearl C
b699cd5a58
Update index.md 2023-02-05 12:18:23 +08:00
被雨水过滤的空气-Rairn
b9f3acf05d
docs: update G2Plot example url (#1408) 2023-02-01 13:01:23 +08:00
被雨水过滤的空气-Rairn
b4f1b3625c
docs: fix typo (#1412) 2023-02-01 13:00:48 +08:00
Pearl C
2dfb8752c9
Update operators.md 2023-01-27 22:30:11 +08:00
Pearl C
c45cd8dd5b
Update belongs-to-many-repository.md 2023-01-27 22:09:00 +08:00
Pearl C
919a80dcb1
Update repository.md 2023-01-26 21:20:51 +08:00
Pearl C
f6132828a3
Update repository.md 2023-01-26 20:40:15 +08:00
Pearl C
a09aeb11a1
Update repository.md 2023-01-21 16:19:45 +08:00
Pearl C
ade7a6ff1e
Update field.md 2023-01-16 23:46:25 +08:00
Pearl C
9281ee61dc
Update index.md 2023-01-14 16:41:03 +08:00
Zhou
240c27b38a
Update index.md 2023-01-12 09:56:39 +08:00
chenos
0e5c9779be feat: update docs 2023-01-11 17:36:41 +08:00
chenos
a3403a2aa6 feat: update release note 2023-01-11 12:30:13 +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
chenos
a6dcc0c71b feat: update docs 2022-12-23 18:27:00 +08:00
Zhou
57ca33d231
Update env.md 2022-12-21 10:14:36 +08:00
chenos
bc7c1ba1b0 feat: update docs 2022-12-05 22:59:10 +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
katherinehhh
4085ed0db7
Feat/collection templates (#1124)
* feat: add collection templates

* feat:  collection templates

* feat:  collection templates

* feat:  collection templates

* feat:  collection templates

* feat: collection templates

* feat: calendar collection template

* feat: no id does not support sorting

* feat: collection template edit

* feat: collectiom templates code improve

* feat: collection template supports configurable field interface

* feat: collection template supports configurable field interface

* feat: establish relation field when there is no id

* feat: collection templates

* feat: collection templates locale

* feat: calendar collection

* feat: calendar collection default fields

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: collectin template fix

* feat: add sample-custom-collection-template

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: import code

* feat: collection template local

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: collection template local

* feat: collection template local

* fix(collection-manager): exclude reverse parameters when overriding

* feat: update docs

* feat: disabled

* feat: improve code

* feat: update submodule

* feat: submodules: true

* fix: token

* fix: with ssh-key

* fix: update dockerfile

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: --no-verify-access

* fix: ci

* fix: ci

* fix: ci

* fix: missing env

* fix: env

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2022-11-29 11:31:30 +08:00
chenos
88373aef9f feat: update docs 2022-11-17 12:19:39 +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
15cbad30b4 feat: update docs 2022-11-13 23:00:59 +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
Zhou
38d0d198d2
Update i18n.md 2022-11-08 14:13:44 +08:00
Zhou
6548d69181
Update index.md 2022-11-08 11:15:24 +08:00
Zhou
1414497eff
Update index.md 2022-11-07 09:11:57 +08:00
Zhou
5e8e4b2d5f
Update test.md 2022-11-06 14:26:47 +08:00
Zhou
d5a3806148
Update i18n.md 2022-11-06 14:15:05 +08:00
Zhou
6f2a993299
Update events.md 2022-11-06 14:07:53 +08:00
Zhou
9f3c55fae9
Update middleware.md 2022-11-06 13:48:09 +08:00
Zhou
4904735597
Update resources-actions.md 2022-11-06 12:23:00 +08:00
Zhou
25246dec8c
Update collections-fields.md 2022-11-06 09:52:31 +08:00