Commit Graph

3543 Commits

Author SHA1 Message Date
chenos
a6384421b6 chore: update changelog 2023-08-24 17:50:32 +08:00
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
0f9d946f09
fix: sort field init (#2520)
* fix: sort field init

* chore: sort field name
2023-08-24 14:26:03 +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
9d33da0437 Merge branch 'main' of github.com:nocobase/nocobase 2023-08-22 09:37:22 +08:00
ChengLei Shao
9c5f630ae7 chore: database connection error log 2023-08-22 09:01:29 +08:00
katherinehhh
0532d67e0b
refactor: m2m data filtering through collection data (#2497) 2023-08-21 22:08:37 +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
katherinehhh
f70d17c5cd
fix: view collection reported error when editing (#2493) 2023-08-20 20:54:32 +08:00
jack zhang
9e99b00182
fix: dev load plugin (#2455)
* fix: dev load plugin

* fix: bug

* fix: bug
2023-08-20 18:10:34 +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
被雨水过滤的空气-Rain
95e1cd390b
chore: remove Default value option for sequence field (#2488)
* chore: remove Default value option for sequence field

* chore: remove console.log
2023-08-20 12:08:07 +08:00
katherinehhh
847eacce70
fix: tagcolor value error (#2487) 2023-08-20 11:03:43 +08:00
katherinehhh
5773f879bf fix: tagcolor value error 2023-08-20 11:00:25 +08: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
972b2be10e
fix(client): waitSeconds: 120s 2023-08-19 09:30:19 +08:00
ChengLei Shao
5689c51b11 fix: database logging 2023-08-18 21:29:10 +08:00
ChengLei Shao
0f3ca626ab fix: database logging 2023-08-18 21:06:37 +08:00
katherinehhh
576ff8e52b
fix: view collection source field (#2483) 2023-08-18 16:45:40 +08:00
chenos
b91a923fe0 chore: update changelog 2023-08-18 15:54:58 +08:00
chenos
d8787493db chore(versions): 😊 publish v0.12.0-alpha.5 2023-08-18 15:53:53 +08:00
Sarah Thompson
98eaf5acb7
fix(sdk): window is not defined in nuxt (#2479) (#2481) 2023-08-18 15:44:19 +08:00
katherinehhh
2ea97541c6
fix: source collections not updated during synchronization in view collection (#2480) 2023-08-18 15:17:18 +08:00
Rain
1977e00414 chore(eslint): ignore docker 2023-08-17 22:18:57 +08:00
Junyi
2e74a31aa9
feat(plugin-workflow): add user variable to form trigger context (#2477) 2023-08-17 21:07:57 +08:00
katherinehhh
d58d0d697c
fix: large field in the subtable do not display value (#2475) 2023-08-17 18:09:34 +08:00
katherinehhh
3fc3d34aa7
fix: error in tree table dragging and sorting (#2476) 2023-08-17 18:05:12 +08:00
katherinehhh
9dc08277e1
fix: prompt on the last row of the subtable row is obscured (#2467) 2023-08-17 14:53:23 +08:00
Junyi
c6070378f4
fix(plugin-workflow): fix form trigger data bug (#2472) 2023-08-16 20:05:05 -07:00
YANG QIA
efa153e92e
fix: hook error in isTitleField (#2471)
* fix: hook error in `isTitleField`

* fix: error
2023-08-16 19:56:19 +08: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
katherinehhh
39dcb905f4
refactor: view synchronization field, source field support selected to inherited collection field (#2456)
* refactor: syncField action support inherited fields

* refactor: code improve

* style: style improve
2023-08-16 18:08:33 +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
katherinehhh
d8d01befdc
refactor: remoteSelect fieldName value (#2457)
* refactor: remoteSelect fieldName value

* refactor: code improve
2023-08-15 20:17:34 +08:00
ChengLei Shao
16ed7f2916
chore(database): view with hashed id field (#2458)
* chore: test

* chore: test
2023-08-15 18:08:46 +08:00
chenos
df85fb430a chore(versions): 😊 publish v0.12.0-alpha.4 2023-08-15 12:22:49 +08:00
chenos
31f01dd004 fix(build): isPluginPackage 2023-08-15 12:21:11 +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
katherinehhh
3baebf2a71
style: ellipsisWithTooltip style improve (#2451) 2023-08-15 09:16:56 +08:00