Commit Graph

811 Commits

Author SHA1 Message Date
chenos
6debb8d00b chore(versions): 😊 publish v0.13.0-alpha.1 2023-08-24 17:49:13 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor (#2353)
* chore: skip sync localization-management plugin enable status

* chore: unSyncPlugins array

* chore: remove install at dev

* chore: gateway and supervisor

* chore: install command

* chore: remove app manager

* chore: share plugin

* chore: wsserver

* chore: websocket server

* chore: websocket connection with app status

* feat: socket server at gateway

* chore: loading message

* chore: ready status

* chore: handle app error

* feat: restart app at supervisor

* feat: health check endpoint

* chore: test

* chore: test

* chore: test

* chore: test

* chore: build

* chore: test

* chore: build

* chore: application ready status

* chore: error message

* chore: handle application error

* chore: handle error in load

* chore: report error in websocket

* chore: ws error

* chore: ws error

* chore: typo

* chore: switch app ready status at install

* chore: test

* chore: test

* chore: test

* chore: test

* feat: add WebSocket client

* chore: start gateway

* chore: start command in application

* chore: code

* chore: pm command

* chore: run start after load sub app

* feat: application fsm

* refactor: server life cycle (#2402)

* refactor: server life cycle

* fix: test error

* fix: test error

* fix: test error

* fix: app.start

* fix: cronjob stop

* fix: db.sync before upgrade

* fix: pm.get

* fix: test error

* fix: test error

* fix: test error

* test: add test cases

* fix: remove PluginType

* chore: start application after install

* chore: fsm

* chore: working status

* chore: working command

* chore: remove swith app ready status

* chore: switch status after working done

* chore: ws status

* chore: gateway error

* chore: test

* chore: stopping status

* chore: test

* chore: test

* feat: app proxy

* chore: application destory

* chore: application message changed with status

* chore: test

* chore: test timeout

* test: remove listener add by plugin

* test: remove listener add by plugin

* chore: test

* feat: app maintaining

* fix: add AppMaintainingDialog

* feat: off

* test: gateway http response

* test: gateway with errors

* chore: unkown error

* chore: websocket message

* chore: ws message

* chore: code

* chore: error format

* chore: delay app load

* feat: improve code

* chore: application initializing status

* chore: supervisor with app status

* chore: command status response

* chore: test

* chore: ws message

* chore: test

* fix: command running message

* feat: restart

* chore: code

* chore: status transition

* chore: test

* fix: improve code

* fix: error

* fix: restart

* fix: command

* chore: reset client app tag when app selector changed

* chore: error report

* fix: application status

* fix: build

* chore: disable help command dispatch

* chore: test

* test: multi apps test

* fix: improve code

* fix: test

* fix: test

* fix: multi apps single running

* fix: improve code

* fix: app status

* chore: move plugin static file to gateway

* feat: static file handler

* chore: test

* chore: enable plugins in share collection

* chore: gateway serve upload files

* fix: improve client

* chore: ws nginx config

* fix: gateway with naonoid

* fix: db sync

* fix: loading

* fix: ping

* fix: locale load

* fix: yarn start --quickstart

* fix: add debug log

* chore: application started event

* chore: running working message payload

* chore: nginx log

* chore: nginxconf

* chore: working message log

* feat: logs

* feat: compression

* fix: remove koa-send and koa-static

* fix: remove -e

* fix: remove nginx

* fix: remove -e

* fix: __appName

* chore: delay install sub application

* chore: sync plugin status

* fix: boot sub app

* fix: main app reload

* fix: test

* fix: app status

* test: field.bind block event loop

* feat: newrelic

* feat: debug log

* chore: upgrade

* fix(file-manager): test error

* fix: default app selector

* fix: reload after maintained

* chore: boot sub app

* chore: application destroy command

* chore: destroy command

* chore: clean code

* chore: package.json

* chore: maintaining message

* chore: test

* fix: collection.sync

* feat: add test cases

* chore: application

* fix: test error

* feat: improve codes and add test cases

* fix: test error

* fix: pm enable and disable

* fix: pm.disable

* feat: update docs

* chore: update dockerfile

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
ChengLei Shao
b0630005d9 fix: swagger block event loop 2023-08-24 10:30:11 +08:00
ChengLei Shao
60b0fdd5ca chore: catch api doc collection error 2023-08-24 09:50:33 +08:00
Dunqing
1e0bedca86
feat: api documentation plugin (#2255)
* feat: api doc plugin

* fix: merge

* chore: upgrade swagger ui to latest

* feat: get paths from recourser

* feat: configure security

* feat: add models

* feat: reimplement resource action

* feat: support render schemas correctly

* feat: support load swagger documentation

* refactor: implement `SwaggerManager`

* fix: re import

* feat: update info

* refactor: do not use the cache strategy for the time being

* feat: support collection builtin actions

* fix: incorrect tag

* feat: support different swagger json for different plugins

* feat: support load server package

* feat: support visit from plugin center

* feat: add schemas for mapConfiguration

* feat: update

* fix: update tags

* feat: support only render plugin that has swagger content

* refactor: use swagger-ui-react instead of swagger-ui-dist

* fix: clean

* fix: reset

* refactor: update plugin place

* fix: revert

* fix: remove version

* fix: type error

* feat: swagger doc

* refactor: improve apis

* feat: add doc

* feat: support destination cache

* fix: avoid authorization override

* fix: auth bug

* feat: update documentation

* fix: typo

* feat: support json

* fix: key

* fix: update yarn.lock

* feat: update swagger doc

* feat: swagger doc

* docs: add auth swagger files (#2341)

* docs: add auth swagger files

* fix: yarn.lock

* fix: skip core

* feat: swagger doc

* docs: improve auth docs

* fix(theme-editor): avoid crashing

* feat(theme-editor): improve api doc

* docs: add localization-management swagger

* docs(plugin-workflow): add api doc (#2379)

* fix: remove files

* fix: aaa

* fix: dist

* fix: load swagger

* feat: acl api doc (#2494)

* chore: acl api doc

* feat: ui schema api doc

* feat: multi apps api doc

* chore: ui schema doc

* feat: collection api doc

* chore: association api doc

* chore: single association doc

* feat: move action doc

* chore: list parameters

* feat: update swagger doc

* chore: collectionIndex to first

* fix: test error

* fix: ref

* chore: doc tags

* chore: template

* chore: doc with association options

* chore: single association doc

* chore: relation type

* chore: filter single association params

* chore: m2m api doc

* chore: params

* fix: 0.12.0-alpha.5

* fix: update yarn.lock

* chore: data wrap

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-24 00:27:57 +08:00
Junyi
9154e531c2
fix(plugin-workflow): fix duplicated downstream executions after condition (#2517) 2023-08-23 20:38:56 +08:00
YANG QIA
8b054e6aac
fix: basic-auth compitibility issue (#2515) 2023-08-23 18:38:57 +08:00
Junyi
17f438ac39
fix(plugin-workflow): fix status button styles (#2516) 2023-08-23 02:30:21 -07:00
Junyi
96caf9befa
fix(plugin-fm): fix error when add attachment field to manual form assigned values (#2503) 2023-08-22 05:56:12 -07:00
Junyi
0fe5bdc859
fix(plugin-workflow): fix loop scope variable parsing (#2502)
* fix(plugin-workflow): fix loop scope variable parsing

* fix(plugin-workflow): fix api parameter

* fix(plugin-workflow): fix test cases
2023-08-22 05:13:52 -07:00
ChengLei Shao
a625fc538d
feat(database): support field get in view preview (#2482)
* feat: support field get in view preview

* chore: test

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

* refactor: dbViews fieldtypes

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-08-22 10:59:45 +08:00
katherinehhh
ccf8b651ff
refactor(graph-collection-manager): update antv-x6 to 2.x (#2466)
* refactor: update antv-x6  to 2.x

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-08-21 11:27:48 +08:00
Junyi
a59ed4ee17
fix(plugin-workflow): fix variable type check (#2492)
* fix(plugin-workflow): fix variable type check

* fix(plugin-workflow): fix node job button style
2023-08-20 02:45:46 -07:00
YANG QIA
be6b949f55
feat(auth): support signing in with username (#2376)
* feat(auth): support signing in with username

* chore: compatibility && add INIT_ROOT_USERNAME

* chore: add default username of root user

* chore: add notice

* fix: typo

* chore: change rule of username

* fix: sqlite add unique constraint

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00
chenos
d8787493db chore(versions): 😊 publish v0.12.0-alpha.5 2023-08-18 15:53:53 +08:00
Junyi
2e74a31aa9
feat(plugin-workflow): add user variable to form trigger context (#2477) 2023-08-17 21:07:57 +08:00
Junyi
c6070378f4
fix(plugin-workflow): fix form trigger data bug (#2472) 2023-08-16 20:05:05 -07:00
Junyi
aa6facac97
fix(plugin-workflow): fix create/edit workflow form (#2470) 2023-08-16 19:11:03 +08:00
Junyi
8528aba694
fix(plugin-workflow): fix fields filter in value assignment nodes (#2469) 2023-08-16 19:10:34 +08:00
Junyi
5581b4f872
fix(plugin-workflow): fix schedule config component witdh (#2461) 2023-08-15 07:10:46 -07:00
katherinehhh
9b00aa9cc0
refactor: sub-table/sub-form support formula field (#2449) 2023-08-15 20:19:54 +08:00
chenos
df85fb430a chore(versions): 😊 publish v0.12.0-alpha.4 2023-08-15 12:22:49 +08:00
Junyi
dea4c6f9c7
feat(plugin-workflow): add sort and pagination to query node params (#2453)
* refactor(core): expose some utils and constants

* feat(plugin-workfow): add sort and pagination to query node params

* fix(plugin-workflow): fix job result json style

* fix(plugin-workflow): fix sort param

* fix(plugin-workflow): fix test cases
2023-08-14 20:32:51 -07:00
Dunqing
95a0e2de83
fix(plugin-map): should filter empty data, Close T-1380 (#2447) 2023-08-15 08:39:14 +08:00
Dunqing
26cd9e810c
fix: should show/hide schema when enabled/disabled TabBar, Tabs, Header (#2428) 2023-08-14 20:32:40 +08:00
Junyi
2f6bfa65f7
fix(plugin-workflow): fix assign attachment value in nodes (#2448) 2023-08-14 17:11:48 +08:00
katherinehhh
e573d085d3
refactor: buffer form attachment file name (#2429) 2023-08-12 23:59:31 +08:00
Junyi
9223999db2
fix(plugin-workflow): fix aggregate node association select (#2438) 2023-08-12 09:03:08 +08:00
Junyi
78b49b82ac
fix(plugin-workflow): add enablement editing back to workflow form (#2431) 2023-08-11 13:59:31 +08:00
Junyi
5408d29533
fix(plugin-workflow): fix locale (#2427) 2023-08-10 20:46:52 +08:00
Dunqing
b7d23c408a
feat(map-plugin): map block support select map field of association tables (#2214)
* feat(map-plugin): map block support select map field of association tables

* fix: update incorrect default value

* fix: should support o2m and fix bugs

* fix: height Close T1185 Close 1183

* fix: o2m, m2m cannot display data

* fix: switch map field will break
2023-08-10 17:36:02 +08:00
Junyi
fa43d9c870
feat(plugin-workflow): allow to configure auto delete execution in history (#2423)
* feat(plugin-workflow): allow to configure auto delete execution

* fix(plugin-workflow): fix locale
2023-08-10 16:18:07 +08:00
Dunqing
5edcaaea4b
fix(mobile-client): style broken and display correct mobile url in sub app (#2414) 2023-08-09 22:23:15 +08:00
Junyi
05239c8cfe
fix(plugin-workflow): adjust styles (#2417) 2023-08-09 12:13:09 +08:00
Junyi
86e672e9bb
feat(plugin-workflow): add form trigger type (#2347)
* feat(plugin-workflow): add form trigger

* test(plugin-workflow): add test cases

* fix(client): fix component warning

* fix(plugin-workflow): fix context data for create and update

* fix(plugin-workflow): allow to select any form type workflow in configuration

* fix(client): fix tree component value

* fix(client): fix value render in component

* fix(plugin-workflow): fix context load

* fix(client): fix type

* fix(client): fix type

* fix(plugin-workflow): fix params

* fix(plugin-workflow): fix required

* fix(plugin): fix context not matching collection error

* fix(plugin-workflow): fix test cases

* refactor(plugin-workflow): change trigger workflow action config to cascaded

* fix(plugin-workflow): remove useless locale

* fix(client): adjust locale

* fix(client): remove useless locale
2023-08-09 12:12:57 +08:00
katherinehhh
a6030a5151
refactor: map clear modal getContainer (#2410) 2023-08-08 16:40:43 +08:00
Junyi
f992987187
feat(plugin-workflow): add execution dropdown for quick navigating (#2404) 2023-08-05 19:17:48 -07:00
Junyi
34ec7388df
refactor(plugin-workflow): change reload api to sync, and fix duplicated listening (#2403) 2023-08-04 21:53:09 -07:00
Junyi
e5f5787175
feat(plugin-workflow): add clear button for clearing executions (#2401) 2023-08-04 18:08:50 -07:00
Junyi
d693aad89b
feat(plugin-workflow): add modal to edit title when duplicating workflow (#2399) 2023-08-04 18:08:18 -07:00
Junyi
53a6a6c621
fix(plugin-workflow): fix manual assignee select variable type filter (#2396)
* fix(plugin-workflow): fix manual assignee select variable type filter

* chore(plugin-workflow): fix lint issues
2023-08-04 02:56:12 -07:00
Junyi
a9f46e7bac
feat(plugin-workflow): add reload for multi-app (#2391) 2023-08-04 01:37:56 -07:00
YANG QIA
1ea1e903ed
feat(bi): make more config visualizable (#2386)
* feat(bi): make more config visualizable

* refactor: improve config schema of chart

* chore: set default isStack of area chart as true
2023-08-04 15:31:56 +08:00
chenos
9251fe015f chore(versions): 😊 publish v0.12.0-alpha.3 2023-08-02 11:25:57 +08:00
chenos
6ae22cea68 chore(versions): 😊 publish v0.12.0-alpha.2 2023-08-02 02:25:49 +08:00
chenos
93f2bc2e67 chore(versions): 😊 publish v0.12.0-alpha.1 2023-08-02 00:10:42 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load (#2253)
* refactor: plugin build and plugin template

* refactor: plugins' deps

* refactor: plugins bugs

* feat: add plugin static middleware

* fix: bugs

* refactor: frontend plugin add from remote

* refactor: delete useless app/client/plugins

* fix: requirejs move to local

* fix: tests case

* refactor: add src/client and src/server dir check

* fix: lodash tree shaking

* refactor: add BUILD_TIP

* refactor: add file size tip

* fix: bugs

* fix: bug

* fix: change china-division

* fix: change plugins response

* fix: recover dynamicImport

* fix: change server src entry

* fix: test error

* fix: plugins sourcemap => false

* fix: production file error

* refactor: change build tools to vite and tsup

* fix: yarn.lock

* fix: bugs

* fix: server build bugs

* fix: delete .fatherrc.ts

* fix: bug

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* refactor: add plugin d.ts

* refactor: delete fatherrc

* refactor: delete father scripts

* refactor: build bug

* fix: bug

* fix: deps adjust

* fix: add build tips

* fix: bug

* refactor: ignore plugins when build client

* docs: update doc

* refactor: docs and build

* fix: bug

* refactor: build deps

* fix: add USER_REMOTE_PLUGIN env

* feat: add plugin static cache

* feat: add build deps cache

* fix: bugs

* test: add test

* fix: add plugin depden on plugin tip

* fix: adjust shouldDevDependencies

* fix: deps

* fix: ajust deps

* fix: mobile style error

* fix: map error

* fix: test

* fix: bug

* feat: lodash and dayjs import from themself

* feat: @emotion/css 、ahooks and lodash to global

* fix: theme-editor plugin error

* fix: review

* feat: move all plugins' dependencies to devDependencies

* feat: change build

* feat: add devPlugins

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* feat: build bugs

* fix: bugs

* fix: bugs

* fix: review

* fix: bug

* fix: change deps build

* fix: bugs

* fix: bug

* fix: bug

* fix: bugs

* fix: bug

* fix: bug

* fix: multi language

* fix: dist

* fix: cronstrue

* fix: getPackageClientStaticUrl

* fix: antd dayjs locale

* fix: plugin' d.ts import from dist

* fix: multi language

* fix: build types error

* fix: requireModule

* fix: plugin lifecycle

* fix: client resource

* fix: improve code

* fix: locale

* feat: custom build

* fix: require locale

* fix: improve code

* fix: improve code

* fix: skip preset

* fix: collection undefined

* feat: yarn build

* fix: remove enabled

* fix: update dockerfile

* fix: formily version

* docs: update v12 changelog

* fix: devDependencies

* feat: @nocobase/app

* feat: generateAppDir

* fix: improve code

* fix: 0.11.1-alpha.5

* fix: missing @nocobase/client

* fix: error

* fix: add .npmignore

* feat: upgrade antd version

* fix: dependencies

* fix: peerDependencies

* fix: remove china-division dep

* fix: toposort deps

* fix: update dockerfile

* fix: plugin template

* fix: app client outputPath

* feat: update docs

* fix: nginx server root

* fix: storage/.app-dev

* fix: getChinaDivisionData

* feat: plugin info

* feat: update docs

* fix: docs menu

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-02 00:07:52 +08:00
YANG QIA
7151345c40
fix(bi): issue of parsing label of region & file field (#2366)
* fix: issue of parsing label of region & file field

* fix: test
2023-08-01 12:50:43 +08:00
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 (#2359)
* chore: upgrade antd to 5.7.3

* chore: fix build

* chore: fix build
2023-08-01 11:51:30 +08:00
YANG QIA
f82b6a9d38
fix(bi): g2plot render wrong when fields contain . (#2363)
* fix: g2plot render wrong when fields contains `.`

* fix: build

* fix: test

* fix: dual axes bug

* chore: add comment

* fix: code style
2023-07-31 23:51:23 +08:00
katherinehhh
07f1f16ea0
fix: graph collection current appInfo error (#2364) 2023-07-31 17:47:10 +08:00
被雨水过滤的空气-Rain
c743d66b8e
chore: only dev env can throw errors (#2355) 2023-07-31 13:14:20 +08:00
Junyi
baca86e46e
refactor(plugin-workflow): adjust full-width to auto-width (#2351) 2023-07-30 02:52:35 -07:00
被雨水过滤的空气-Rain
1509893ebc
Revert "feat(theme-editor): add migration (#2310)" (#2352)
This reverts commit 682f0dfc30.
2023-07-30 17:46:37 +08:00
YANG QIA
bab004f951
fix(locale): acl bug of localization management (#2350) 2023-07-30 13:07:00 +08:00
被雨水过滤的空气-Rain
682f0dfc30
feat(theme-editor): add migration (#2310)
* chore: change 'Default theme of antd' to 'Default'

* feat(theme-editor): add migration

* refactor: change file name
2023-07-30 11:44:00 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB (#2321)
* chore: yarn.lock

* feat: add jsonb option in field drawer

* feat: only postgres can use JSONB

* chore: add test

* refactor: make better

* fix: fix build

* fix: fix build

* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
YANG QIA
b8175dbf17
fix(bi): parsing enum labels of field with alias (#2349)
* fix(bi): parsing enum labels of field with alias

* fix: current collection bug
2023-07-29 22:35:55 +08:00
chenos
40c4aab507 chore(versions): 😊 publish v0.11.1-alpha.5 2023-07-29 20:25:18 +08:00
chenos
656287e57b fix: update yarn.lock 2023-07-29 20:24:07 +08:00
Rain
3c7b3f3caf refactor: make testing more stable 2023-07-29 19:01:14 +08:00
chenos
767b81c65d fix: skip if exists 2023-07-29 12:30:40 +08:00
Junyi
021ca950ab
refactor(plugin-workflow): change strict equal and not equal to unstrict (#2346) 2023-07-28 21:25:01 -07:00
chenos
b93f28a952 chore(versions): 😊 publish v0.11.1-alpha.4 2023-07-29 09:11:52 +08:00
Junyi
1125ff76a0
refactor(plugin-workflow): allow system values to be assigned in create and update node (#2345) 2023-07-28 08:48:12 -07:00
被雨水过滤的空气-Rain
fd6d5ac2a6
fix(theme-editor): avoid error (#2340) 2023-07-28 11:03:14 +08:00
被雨水过滤的空气-Rain
880f7ed7e4
refactor: upgrade @testing-library/react to 14.x (#2339)
* refactor: upgrade @testing-library/react to 14.x

* refactor: optimize test
2023-07-28 09:58:49 +08:00
YANG QIA
32ee260adf
fix(bi): issue of formatting relation field & reference link of line chart (#2332)
* fix: line chart link

* fix: style

* fix: issue of formatting relation field

* chore: close chart animation
2023-07-27 16:56:11 +08:00
ChengLei Shao
0d92e59985
chore: tsx (#2329)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test

* chore: install tsx

* chore: type

* chore: replace @koa/multer

* chore: replace ts-node-dev with tsx
2023-07-27 10:29:07 +08:00
ChengLei Shao
840254f517
chore: upgrade jest (#2323)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test
2023-07-26 17:53:51 +08:00
chenos
81819f04e3 chore(versions): 😊 publish v0.11.1-alpha.3 2023-07-26 17:37:20 +08:00
Junyi
80779c3a98
fix(plugin-workflow): fix expression field in sub-form (#2324) 2023-07-26 00:38:51 -07:00
YANG QIA
0de4458936
chore: improve FormProvider (#2322) 2023-07-26 15:32:59 +08:00
Dunqing
07ff868133
fix: should use filter instead of where (#2318) 2023-07-25 21:51:23 +08:00
YANG QIA
78bfcba24f
fix(bi): issue of dnd (#2315) 2023-07-25 20:45:01 +08:00
YANG QIA
45bc0b83ba
feat(locale): allows to manage locale resources in core package (#2293)
* feat(locale): add app.locales

* chore: change directory

* chore: change locale directories

* fix: test

* fix: cached resources changed after sync

* chore: change fr-FR locale directory
2023-07-25 17:09:34 +08:00
Junyi
e27c72e8b0
fix(plugin-workflow): fix styles (#2316) 2023-07-25 01:41:42 -07:00
dijoux
a80815c5ad
Feat/translation fr_FR (#2275)
* feat: client and plugin translation FR

* fix: fr translation

* fix: fr translation
2023-07-25 15:04:35 +08:00
Junyi
df4e6de4dc
fix(plugin-workflow): fix schedule duplicated triggering in multi-apps (#2313) 2023-07-24 19:41:54 -07:00
chenos
c84476d805 chore(versions): 😊 publish v0.11.1-alpha.2 2023-07-23 12:44:50 +08:00
Rain
d0528cf1f2 chore(theme-editor): fix deps 2023-07-22 18:26:33 +08:00
Rain
8051e2fc94 chore(theme-editor): fix deps 2023-07-22 18:18:50 +08:00
Rain
25decf0aa9 chore(theme-editor): fix deps 2023-07-22 18:02:35 +08:00
chenos
e979194cf2 chore(versions): 😊 publish v0.11.1-alpha.1 2023-07-22 12:50:04 +08:00
Junyi
5562aca456
fix(plugin-workflow): workflow collections should not appear in blocks (#2290) 2023-07-21 01:19:22 -07:00
Rain
8c904363ad fix(theme-editor): fix color of menu when it is selected 2023-07-21 13:02:19 +08:00
ChengLei Shao
fe2890f9ec
chore: remove belongsToMany through table as collection dependency (#2289)
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 12:18:17 +08:00
Rain
8196e164a5 fix(theme-editor): fix color of UI settings and Header 2023-07-21 11:52:46 +08:00
ChengLei Shao
08b2f374c8
feat(database): handle targetCollection option in repository find (#2175)
* test: return child collection when get with filterByTk

* refactor: targetCollection

* chore: target collection args in repository find

* feat: handle targetCollection option in repository find

* feat: get child target at belongs to many association

* chore: build

* chore: build

* chore: test

* refactor: targetcollection

* test: belongs to association with targetCollection

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* feat: update with targetCollection option

* feat: inject target collection options at repository update

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 10:51:56 +08:00
被雨水过滤的空气-Rain
eb9ee38a2b
feat: add built-in themes (#2284)
* feat: add built-in themes

* chore: add translation

* fix: should be optional in initial
2023-07-21 10:42:50 +08:00
被雨水过滤的空气-Rain
a4d8ef4b71
docs: add doc for Theme Editor (#2280)
* docs: add doc for Theme Editor

* chore: update src of img

* chore: increase image height

* chore: optimize img
2023-07-21 10:40:36 +08:00
被雨水过滤的空气-Rain
aab3fafd9b
fix: fix sorting of user menu (#2288) 2023-07-21 10:39:58 +08:00
被雨水过滤的空气-Rain
4f5ec0a581
feat(theme-editor): support to config Header's color and Settings button's color (#2263)
* feat: add color options to theme editor

* feat: add default theme

* refactor: optimize

* feat: support to change color of UI settings

* fix: fix menu background color

* fix: fix color of UI settings

* feat: support to set alpha

* refactor: migrate style to a file

* feat: support colorBgSettingsHover and colorBorderSettingsHover

* feat: adapt settings color

* fix: should be reset together

* feat: compat old theme
2023-07-21 10:38:56 +08:00
Junyi
d587599c8a
feat(plugin-workflow): add sql node (#2276)
* feat(plugin-workflow): add sql node

* fix(plugin-workflow): fix test cases
2023-07-19 20:04:41 -07:00
chenos
fa2de8e806 fix(theme-editor): remove db.sync 2023-07-20 10:34:09 +08:00
YANG QIA
4e979bc7b7
fix(bi): orderBy bug under MySQL (#2283)
* fix(bi): orderBy bug under MySQL

* fix: compatible with pgsql
2023-07-19 21:25:49 +08:00
YANG QIA
d80213be5e
fix(bi): eliminate redundancy queries (#2268)
* fix(bi): eliminate redundancy queries

* fix: reset data after close configure pane

* fix: enum transform bug

* fix: reset form after clicking cancel button

* fix: reset form when changing collection
2023-07-19 16:34:52 +08:00
chenos
2d8451f2dd fix(s3): missing endpoint 2023-07-19 12:30:40 +08:00
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