Commit Graph

326 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
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
Junyi
17f438ac39
fix(plugin-workflow): fix status button styles (#2516) 2023-08-23 02:30:21 -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
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
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
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
Junyi
2f6bfa65f7
fix(plugin-workflow): fix assign attachment value in nodes (#2448) 2023-08-14 17:11:48 +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
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
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
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
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
被雨水过滤的空气-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
Junyi
baca86e46e
refactor(plugin-workflow): adjust full-width to auto-width (#2351) 2023-07-30 02:52:35 -07: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
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
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
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
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
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
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