Commit Graph

3634 Commits

Author SHA1 Message Date
jack zhang
08c5383bee
refactor: build tools (#2374)
* refactor: core/build and cli/build.js

* fix: build

* fix: bug

* fix: replaceAll to replace

* fix: node version check

* fix: add require check

* fix: esbuild other ext

* fix: process json

* fix: exlude jsx-runtime

* feat: split chunk

* fix: minify plugin client bundle

* fix: compatibility

* fix: support import()

* feat: update docs

* fix: server deps

* feat: demo

* fix: remove cjs treeshake

* fix: local error

* fix: bug

* fix: lazy load

* fix: rewrites

* fix: remove dynamic import  function

* feat: doc demo

* fix: codesanbox vite template

* fix: codesanbox demo

* fix: hide stackblitz

* fix: revert rspack

* fix: test bug

* fix: delete console

* fix: import dayjs locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-03 10:59:33 +08:00
Dunqing
24179c4469
feat(plugin-cas): support cas authenticator (#2580)
* feat(plugin-cas): support cas login method

* feat: add cas plugin in preset

* chore: update version

* feat: full support cas

* chore: update package.json

* feat: update docs and fix namespace

* fix: locale

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2023-09-02 19:40:04 +08:00
katherinehhh
e7d60389b9
fix: association block report error for toOne association field (#2582) 2023-09-01 18:54:27 +08:00
ChengLei Shao
797f566d70
feat(gateway): response cli result when run nocobase command (#2563)
* chore(gateway): refresh message in websocket

* chore(gateway): throw error when cli error

* chore(gateway): await ipc server response

* chore: notification message

* fix: build

* chore: notification type

* feat: notification

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-01 16:11:27 +08:00
ChengLei Shao
1694eb6d73
fix(collection-manager): redundant fields after set collection fields (#2575)
* fix(collection-manager): redundant fields after set collection fields

* fix: destory with individuals hook

* chore: save

* chore: test

* chore: mutex in fields.afterDestroy

* chore: yarn.lock

* chore: update collections.setFields
2023-09-01 13:51:48 +08:00
katherinehhh
d9bda04aa2
refactor: restrict the use of tree table in data selectors (#2581)
* refactor: limitthe using of tree in recordPicker

* refactor: limitthe using of tree in recordPicker
2023-09-01 10:57:20 +08:00
Junyi
ee0d2175b8
fix(plugin-fm): add migration to fix attachment ui schema (#2579) 2023-08-31 18:38:37 +08:00
Junyi
ec3a720aa9
fix(plugin-fm): fix attachment field param typo (#2577) 2023-08-31 15:44:58 +08:00
被雨水过滤的空气-Rain
d56cc66ef9
fix(FilterDynamicComponent): avoid crashing (#2566) 2023-08-30 23:26:51 +08:00
Dunqing
3bb38b16f3
feat(api-keys): add tooltip for roles (#2567)
* feat(api-keys): add tooltip for roles

* feat: improve
2023-08-30 10:32:39 +08:00
katherinehhh
9c22aebaff
fix: number field reported error when clear data (#2561) 2023-08-29 18:08:43 +08:00
Junyi
904d7ee87b
docs(plugin-workflow): fix swagger docs (#2565) 2023-08-29 02:31:40 -07:00
ChengLei Shao
050e1e0215
fix(acl): grant action with table without createdAt field (#2562) 2023-08-29 17:01:14 +08:00
katherinehhh
83c1792582
refactor(collection-manager): collection &&fields support description config (#2554)
* refactor: collection support description config

* refactor: collection support description filter

* feat(collection-manager): collections & fields description fields

* refactor: collection& field support description

* refactor: collection& field support description

---------

Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-29 16:32:39 +08:00
YANG QIA
8b8199aca7
chore: set audit-logs as local plugin (#2564) 2023-08-29 16:16:05 +08:00
katherinehhh
bb6c154272
style: sub-table add button style improve (#2508) 2023-08-29 09:32:06 +08:00
katherinehhh
ec84747f13
refactor: associatiion fields in table should not have data scope settings (#2509) 2023-08-29 09:31:42 +08:00
Junyi
5411faf9d4
feat(plugin-workflow): add filter button for workflows list (#2555) 2023-08-28 08:48:02 -07:00
Junyi
1a82e92ae3
fix(plugin-workflow): fix destroy node bug (#2553) 2023-08-28 07:33:53 -07:00
chenos
b23112fd2e
fix: properties initialized in plugin.load are still empty in plugin.install (#2544) 2023-08-28 11:35:50 +08:00
chenos
c65507606a
fix: plugin list not updated after upgrade (#2545) 2023-08-28 00:18:46 +08:00
被雨水过滤的空气-Rain
176d380331
fix(theme-editor): fix enable invalid (#2539)
* fix(theme-editor): fix enable invalid

* chore: fix typo
2023-08-27 17:26:14 +08:00
Rain
8e42da2b01 Revert "fix(RangePicker): fix shortcut invalid (#2489)"
This reverts commit 4eada322ef.
2023-08-27 17:16:24 +08:00
ChengLei Shao
9288cb9338 chore(api-doc): collection manager db views api doc 2023-08-27 15:54:22 +08:00
ChengLei Shao
7fd126d6a3 chore(api-doc): view collection api doc 2023-08-27 15:14:34 +08:00
chenos
0fd38a5c56 chore(versions): 😊 publish v0.13.0-alpha.4 2023-08-27 10:04:58 +08:00
chenos
f5a4413a9a fix: insert a record after pm.add 2023-08-27 10:04:32 +08:00
被雨水过滤的空气-Rain
4eada322ef
fix(RangePicker): fix shortcut invalid (#2489)
* chore: upgrade antd to v5.8.4

* test: add test

* chore: fix build

* chore: upgrade @formily/antd-v5 to v1.1.1

* fix: should not close Popover when selected option

* fix: add a new Popover and to replace old Popover with new Popover

* refactor: remove useless code
2023-08-27 09:35:41 +08:00
chenos
5278017fff chore(versions): 😊 publish v0.13.0-alpha.3 2023-08-26 16:43:41 +08:00
chenos
9364a44681 fix: xpipe.eq 2023-08-26 16:40:23 +08:00
Rain
0ea609e0a8 fix(theme-editor): only list action allows to use and must be logged in 2023-08-26 14:07:03 +08:00
被雨水过滤的空气-Rain
d1f4f0d29a
fix(themeEditor): should allow all roles to use (#2538) 2023-08-26 12:07:59 +08:00
Junyi
643594abad
fix(plugin-cm): fix life cycle (#2535) 2023-08-25 23:11:12 +08:00
ChengLei Shao
3d9a6ef76f fix: swagger filter params 2023-08-25 10:26:49 +08:00
chenos
e596025bd4 fix: yarn dev --client error 2023-08-25 09:44:47 +08:00
chenos
f4a1953980 chore(versions): 😊 publish v0.13.0-alpha.2 2023-08-24 23:14:03 +08:00
chenos
cf77ca1792 fix(plugin-client): extract locale files of antd 2023-08-24 22:44:42 +08:00
chenos
a0599e0638 fix: development environment does not load the client's locale file 2023-08-24 21:38:46 +08:00
Junyi
54692387d0
refactor(plugin-workflow): hide unused form in manual ui after done (#2526) 2023-08-24 06:07:44 -07:00
Junyi
42acff6c75
style(plugin-workflow): adjust terminal style on workflow canvas (#2524) 2023-08-24 04:03:19 -07:00
chenos
0663844573 fix: improve translation 2023-08-24 18:39:54 +08:00
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