Commit Graph

3004 Commits

Author SHA1 Message Date
ChengLei Shao
5f34970cfb
fix: core doc filter params (#2695) 2023-09-21 16:00:33 +08:00
chenos
945bcb194e
feat: add testid (#2434)
Co-authored-by: Rain <958414905@qq.com>
2023-09-21 14:54:27 +08:00
ChengLei Shao
de849b267c
feat(database): support read ssl file in database config (#2689) 2023-09-21 11:55:18 +08:00
ChengLei Shao
10e46b21f0
test: should correctly parse the command options (#2688) 2023-09-21 10:03:39 +08:00
jack zhang
196bec0ede
fix: build bug (#2685) 2023-09-20 17:56:36 +08:00
ChengLei Shao
56d1d1b85f
feat(database): perform data validation before the update/create operation (#2681)
* chore: test

* chore: tmp commit

* feat: value guard check
2023-09-20 11:53:56 +08:00
jack zhang
dfe77ca2fb
fix: build bug (#2683) 2023-09-20 11:46:06 +08:00
katherinehhh
64b5471084
refactor: association block acl improve (#2682) 2023-09-20 11:42:28 +08:00
katherinehhh
ebc1d1afb4
refactor: acl collection field provider (#2679) 2023-09-19 20:51:43 +08:00
ChengLei Shao
91095d8fe0
chore: test (#2677) 2023-09-19 18:43:04 +08:00
katherinehhh
fc609bafb9
style:form-item style improve (#2678)
* style: setting page style improve

* style: setting page style improve
2023-09-19 17:50:25 +08:00
katherinehhh
bc5ecc9b5f
fix(acl): association field acl check error (#2675)
* fix: association field acl check

* fix: association field acl check

* fix: import action form field acl check error
2023-09-19 17:26:29 +08:00
ChengLei Shao
630c6f2d79
chore(command): set command handle by ipc server or not (#2660)
* chore: tmp commit

* feat: app command

* chore: return error when not handle by ipc server

* chore: command handle by ipc server

* chore: api name

* Update pm.ts

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-19 14:39:54 +08:00
YANG QIA
4fffa07998
fix(auth): user role not found (#2674) 2023-09-19 10:58:19 +08:00
katherinehhh
64dc385eb3
fix: file association field cannot set file manager as field component (#2672) 2023-09-18 21:10:35 +08:00
ChengLei Shao
a53a350f95
feat(database): database connecting backoff (#2668) 2023-09-18 10:00:11 +08:00
Junyi
0f4959d217
refactor(plugin-workflow): adjust code (#2663) 2023-09-16 20:54:20 -07:00
YANG QIA
3b4cff15b0
fix(auth): change password issue of basic auth (#2662) 2023-09-16 13:55:29 +08:00
katherinehhh
ccc238d0d3
fix: interface group undefined (#2656) 2023-09-15 15:20:20 +08:00
katherinehhh
1b80930065
refactor: view collection float type field supports number and percent (#2653) 2023-09-15 11:33:59 +08:00
jack zhang
1586313b92
fix: template tsconfig paths (#2652) 2023-09-15 09:04:17 +08:00
jack zhang
9e5e96b9e4
fix: improve build (#2643)
* fix: client lib require wrapper

* fix: bug

* fix: add tsconfig.paths.json

* fix: collection dir not exists

* fix: improve...

* fix: update yarn.lock

* fix: db.sync

* fix: bugs

* fix: bugs

* fix: bugs

* fix: bugs && allow user custom build config

* docs: user custom config docs

* refactor: custom user build config

* fix: bugs

* fix: build plugin-client bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-15 08:51:20 +08:00
ChengLei Shao
dbe3af26a1
fix(share-collection): sync plugins when install sub app (#2650) 2023-09-14 20:46:49 +08:00
被雨水过滤的空气-Rain
34b0ce06ba
fix: fix quarter variables (#2648) 2023-09-14 17:56:42 +08:00
katherinehhh
feaf4cd80a
fix: filterable undefined (#2646) 2023-09-14 14:21:30 +08:00
chenos
0c132d7940
fix(cli): reset command options (#2645) 2023-09-14 06:24:30 +08:00
chenos
282645ed8b fix: db.sync 2023-09-13 22:50:09 +08:00
chenos
6058850db1 chore(versions): 😊 publish v0.14.0-alpha.3 2023-09-13 18:29:38 +08:00
chenos
0d47c512d2 fix: parse websocket url (#2644) 2023-09-13 18:28:28 +08:00
chenos
6a7240816e fix: collection remove field after migrated 2023-09-13 17:21:42 +08:00
jack zhang
a564f78872
fix: plugin symbol link with dir type (#2640) 2023-09-13 15:48:11 +08:00
chenos
de8fc8079a fix: remove PluginManager.getPackageName 2023-09-13 14:40:43 +08:00
chenos
49e1641b58 fix(pm): item.packageName 2023-09-13 14:22:26 +08:00
chenos
22bf23b59e fix: add env SERVER_TSCONFIG_PATH 2023-09-13 12:21:29 +08:00
katherinehhh
4c1d186c12
style: collection category style improve (#2638) 2023-09-13 11:16:19 +08:00
katherinehhh
5e09276497
style: collection category style improve (#2637) 2023-09-13 09:11:30 +08:00
ChengLei Shao
6f68506eb4
chore: should update belongs to many through table when it is a view (#2635) 2023-09-13 07:15:43 +08:00
chenos
3670d670ac chore(versions): 😊 publish v0.14.0-alpha.2 2023-09-13 03:57:15 +08:00
chenos
1798170a9c fix: migration error 2023-09-13 03:56:51 +08:00
chenos
117d4b8186 chore(versions): 😊 publish v0.14.0-alpha.1 2023-09-12 22:42:43 +08:00
jack zhang
705b7449f0
feat: new plugin manager, supports adding plugins through UI (#2430)
* refactor: plugin manager page

* fix: bug

* feat: addByNpm api

* fix: improve the addByNpm

* feat: improve applicationPlugins:list api

* fix: re-download npm package when restart app

* fix: plugin delete api

* feat: plugin detail api

* feat: zipUrl add api

* fix: upload api bug

* fix: plugin detail info

* feat: upgrade api

* fix: upload api

* feat: handle plugin load error

* feat: support authToken

* feat: muti lang

* fix: build error

* fix: self review

* Update plugin-manager.ts

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bugs

* fix: detail click and remove isOfficial

* fix: upgrade no refresh

* fix: file size and type check

* fix: bug

* fix: upgrade error

* fix: bug

* fix: bug

* fix: plugin card layout

* fix: handling exceptional cases

* fix: tgz file support

* fix: macos compress file

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: add upgrade npm type

* fix: bugs

* fix: bug

* fix: change plugins static expose url

* fix: api prefix

* fix: bug

* fix: add nginx `/static/plugin/` path

* fix: bugs and pr docker build no dts

* fix: bug

* fix: build tools bug

* fix: improve code

* fix: build bug

* feat: improve plugin info

* fix: ui bug

* fix: plugin document bug

* feat: improve code

* feat: improve code

* feat: process dev deps check

* feat: improve code

* feat: process.env.IS_DEV_CMD

* fix: do not delete the plugin package

* feat: plugin symlink

* fix: tsx watch --ignore=./storage/plugins/**

* fix: test error

* fix: improve code

* fix: improve code

* fix: emitStartedEvent

* fix: improve code

* fix: type error

* fix: test error

* test: console.log

* fix: createStoragePluginSymLink

* fix: clientStaticMiddleware rename to clientStaticUtils

* feat: build tools support plugins folder

* fix: 350px

* fix: error

* feat: client dev support plugin folder

* fix: clear cli options

* fix: typeError: Converting circular structure to JSON

* fix: plugin name

* chore: restart application after command

* feat: upgrade error & docs

* Update v14-changelog.md

* Update v14-changelog.md

* Update v14-changelog.md

* fix: gateway test

* refactor(plugin-workflow): add ready state for gracefully tearing down

* Revert "chore: restart application after command"

This reverts commit 5015274f8e.

* chore: stop application whe restart

* T 1218 change plugin folder (#2629)

* feat: change folder name

* feat: change `pm create` command

* feat:  revert plugin name change

* fix: delete samples

* feat: change plugins folder

* fix: pm create

* feat: update docs

* fix: link package error

* fix: docs

* fix: create command

* fix: pm add error

* fix: create  add build

* fix: pm creatre + add

* feat: add tar command

* fix: docs

* fix: bug

* fix: docs

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: docs

* Update your-fisrt-plugin.md

* Update your-fisrt-plugin.md

* chore: application reload

* chore: test

* fix: pm add error

* chore: preset install skip exists plugin

* fix: createIfNotExists

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2023-09-12 22:39:23 +08:00
Dunqing
b918ec5e41
fix(mobile-client-plugin): avoid primary field error (#2625) 2023-09-12 17:58:22 +08:00
Junyi
12c811eab3
fix(plugin-workflow): fix scope variable in loop (#2633) 2023-09-11 23:29:05 -07:00
katherinehhh
cf17d8015f
fix: create action reported error when config save mode filterKeys (#2631) 2023-09-12 10:09:02 +08:00
chenos
adf11bf624 fix: error: SQLITE_ERROR: no such table: authenticators 2023-09-11 15:50:27 +08:00
ChengLei Shao
b9abbd5cbd
fix(gateway): throw error when run from cli (#2627)
* fix: throw error when run from cli

* chore: log error
2023-09-11 15:45:30 +08:00
chenos
6cc88dfa2b fix: original error: SQLITE_ERROR: no such column: options 2023-09-11 14:17:12 +08:00
Junyi
74bd479de0
feat(plugin-workflow): support variable in midway path (#2598) 2023-09-10 21:12:53 -07:00
ChengLei Shao
cc46d72c53
feat(database): support ssl config of database (#2620)
* feat: support ssl config of database

* chore: .env.example
2023-09-11 10:55:47 +08:00
Rain
fec17d5661 chore(versions): 😊 publish v0.13.0-alpha.10 2023-09-10 00:33:14 +08:00
Rain
893b2d71bc chore: add NOCOBASE_SYSTEM_SETTINGS to localStorage 2023-09-10 00:27:09 +08:00
YANG QIA
f736085af6
chore: remove username interface (#2621) 2023-09-09 00:28:35 +08:00
katherinehhh
0d465f4d71
refactor: useFieldModeOptions (#2612)
* refactor: useFieldModeOptions

* refactor: code improve

* refactor: code improve
2023-09-08 09:40:34 +08:00
YANG QIA
f82b466aaa
feat(bi): allow to use variables in query filter (#2609)
* chore: rearrange hooks

* chore: allow parse filter from params.values

* feat: support use variables when using chart filter

* refactor: improve query code by composing process middlwares

* chore: `$date` -> `$nDate`
2023-09-07 23:27:59 +08:00
chenos
b655517a74 chore(versions): 😊 publish v0.13.0-alpha.9 2023-09-07 12:46:24 +08:00
jack zhang
b390140627
fix: core/client package.json module error (#2610) 2023-09-07 12:43:04 +08:00
Rain
17d4476c10 chore(versions): 😊 publish v0.13.0-alpha.8 2023-09-07 09:04:08 +08:00
被雨水过滤的空气-Rain
7d1bac1869
chore(antd): reduce animation duration (#2602) 2023-09-07 08:46:58 +08:00
chenos
3461c29411
fix: window reload after pm load failed (#2605) 2023-09-06 22:43:43 +08:00
ChengLei Shao
2484c8ffb2
fix: sync roles collection in share plugin (#2601) 2023-09-06 14:36:13 +08:00
被雨水过滤的空气-Rain
22f681024d
fix: fix collapsed panels not working when clicked (#2600)
* refactor: rename

* fix: fix collapsed panels not working when clicked
2023-09-06 11:11:35 +08:00
katherinehhh
eeb3adf928
feat(graph-collection-manager): display collections on demand (#2583)
* refactor: graph collection support on demand rendering collection

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: support connect parent or child

* refactor: code improve

* refactor: code improve

* style: style improve

* style: style improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-09-06 09:43:26 +08:00
ChengLei Shao
d6a2ab4b61
fix(acl): parse acl params of association collection (#2594)
* fix(acl): parse params of association collection

* fix: filter params in association acl
2023-09-06 09:19:10 +08:00
YANG QIA
c096a98ceb
fix: issue of plugin snippet (#2593) 2023-09-05 12:03:42 +08:00
Rain
4ead7150f0 chore: upgrade vitest to v0.34.3 2023-09-05 10:27:30 +08:00
ChengLei Shao
97b4570bd2 chore(versions): 😊 publish v0.13.0-alpha.7 2023-09-05 09:01:30 +08:00
ChengLei Shao
185fccad65
chore: incr bodyParser body limit (#2591) 2023-09-04 22:21:31 +08:00
Rain
e5f5358be0 chore(versions): 😊 publish v0.13.0-alpha.6 2023-09-04 20:48:48 +08:00
Rain
88b2eb8a5d chore: optimize versions of deps 2023-09-04 20:40:14 +08:00
Rain
f52cb50915 chore: upgrade antd-style version to 3.4.5 2023-09-04 20:12:45 +08:00
katherinehhh
ec81db95fc
fix: resource undefind (#2589) 2023-09-04 17:55:55 +08:00
被雨水过滤的空气-Rain
aff559882f
fix(RangePicker): fix shortcut invalid (#2586)
* 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

* fix: fix dark theme

* chore: fix build

* chore: antd version

* fix: uniformly use the latest version of antd
2023-09-04 16:25:49 +08:00
chareice
fed3eb1a51 chore: async/await on clean.js 2023-09-04 10:38:32 +08:00
YANG QIA
8a9764e403
fix(auth): add authenticator uid limitation (#2587) 2023-09-04 10:38:01 +08:00
chareice
ffe443b4e9 fix: clean command on windows 2023-09-04 10:36:24 +08:00
chareice
eb255df35e fix: yarn install on windows 2023-09-04 09:52:45 +08:00
chenos
af34fe10ab chore(versions): 😊 publish v0.13.0-alpha.5 2023-09-03 11:35:48 +08:00
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