112 Commits

Author SHA1 Message Date
chenos
1db56657e8
feat: make commercial plugins free (#6663)
* feat: make commercial plugins free

* fix: rm pkg

* fix: deps

* fix: deps

* fix: deps

* fix: test error

* fix: test error

* fix: test error
2025-04-14 22:56:34 +08:00
chenos
72828200b9
fix: error: ENOTEMPTY: directory not empty (#6660) 2025-04-14 13:59:19 +08:00
chenos
68d2ae1c3d chore: init env 2025-03-21 10:50:49 +08:00
chenos
8f8ee69aec chore: locale command 2025-03-18 17:28:32 +08:00
gchust
3cbf81e5cd
chore: upgrade react types definition (#6278)
* chore: upgrade react type to 18

* chore: update ant design icons to avoid ts error

* fix: ts errors

* fix: ts error after upgrade react types

* fix: some icons ts error

* fix: improve type validation in bulk edit form item settings

* fix: lazy load component type error

* fix: some ts errors

* fix: unit test error after upgrade ant design icons

* chore: remove ts-ignore comment for startTransition
2025-02-25 09:48:13 +08:00
chenos
7e2f2303e8
fix(cli): improve internal logic of nocobase upgrade command (#6280) 2025-02-24 21:35:06 +08:00
chenos
4de54a1167
fix: permission denied for sock files (#6092)
* fix: permission denied for sock files

* fix: error
2025-01-20 17:21:50 +08:00
chenos
80bd0e9870 fix: use posix.resolve 2025-01-10 10:42:35 +08:00
chenos
5ecd48ad15 fix: ensure URL paths start with public path and redirect public path without trailing slash 2025-01-10 10:13:44 +08:00
chenos
4e212195f1 fix: pro package download 2024-12-19 14:13:09 +08:00
chenos
de9ac9957e perf: pro package download 2024-12-18 23:12:44 +08:00
chenos
3ad8704153 chore: remove console log 2024-12-12 11:17:13 +08:00
chenos
33eda2665c chore: hide mako ad 2024-12-07 18:52:26 +08:00
Junyi
223abab1b7
chore(command): fix command and add shortcut (#5817) 2024-12-07 14:41:37 +08:00
chenos
02e418e83f
perf: optimize the pkg command (#5785) 2024-12-03 23:13:09 +08:00
chenos
33bbfeab85
feat: restart the process when plugins are added or removed (#5761)
* feat: restart the process when plugins are added or removed

* fix: debounce

* fix: pm2
2024-12-01 18:12:27 +08:00
nocobase[bot]
cc5576f64d Merge branch 'main' into next 2024-11-29 09:43:35 +00:00
chenos
397e2165a8 chore: update Dockerfile 2024-11-29 17:42:54 +08:00
nocobase[bot]
bf889c8c15 Merge branch 'main' into next 2024-11-28 12:20:23 +00:00
chenos
fab699a679
fix(cli): daemon mode does not delete sock files (#5750) 2024-11-28 20:19:57 +08:00
chenos
f92717e1cd chore: support running multiple application processes simultaneously in development mode 2024-11-05 10:23:40 +08:00
nocobase[bot]
beb393ffb3 Merge branch 'main' into next 2024-10-22 07:31:13 +00:00
Chareice
1ee6ca7bef
chore: ignore error when write to exclude 2024-10-22 15:16:59 +08:00
YANG QIA
5108c8fe7c
feat(client): allows to store client information into session storage (#5424)
* feat(client): allows to store client information into session storage

* fix: test error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-10-15 18:07:55 +08:00
chenos
d7dc8fa4cf
feat: simplify the process of adding and updating plugins (#5275)
* feat: auto download pro

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: test error

* fix: improve code

* fix: yarn install error

* fix: build error

* fix: generatePlugins

* fix: test error

* fix: download pro command

* fix: run error

* feat: version

* fix: require packageJson

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test error

* fix: test error

* fix: improve code

* fix: removable

* fix: error

* fix: error
2024-09-15 01:37:46 +08:00
chenos
1de0ce5e1a
fix: use the built-in logo file (#5032)
* fix: logo url

* fix: logo with internal url

* fix: tz

* fix: improve code

* fix: tz

* fix: tz

* fix: test case

* fix: tz
2024-08-27 07:15:54 +08:00
chenos
da966813ee
fix(cli): support upgrade to next (#5130) 2024-08-26 15:51:12 +08:00
GitHub Actions Bot
1eb87946c3 Merge branch 'main' into next 2024-08-25 13:49:48 +00:00
chenos
6e10a84625
fix: the time zone defaults to the system time zone (#5121)
* fix: set time zone automatically

* fix: getTimezonesByOffset
2024-08-25 21:49:31 +08:00
chenos
dd9f5d5e52 fix: exclude packages/pro-plugins 2024-08-05 13:28:40 +08:00
Junyi
1c9e71dbf6
feat(server): add cluster mode for starting app (#4895)
* feat(server): add cluster mode for starting app

* chore(env): adjust order of env item

* chore: sync in main data source

* chore: onSync in plugin

* refactor(server): change onSync to plugin method

---------

Co-authored-by: Chareice <chareice@live.com>
2024-07-18 23:23:23 +08:00
chenos
559518f6e9
chore: next release ci (#4861)
* test: ci

* test: ci

* test: ci

* fix: jq

* fix: jq

* fix: release ci

* fix: ci

* fix: ci

* fix: build

* fix: ci

* fix: env

* fix: jq

* fix: cache

* test: ci

* test: ci

* test: ci

* test: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* test: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: cache

* fix: ci

* fix(cli): improve upgrade command

* fix: workflow_dispatch
2024-07-10 23:49:16 +08:00
chenos
e24dd01a4c
feat: add process.env.API_CLIENT_STORAGE_PREFIX (#4395)
* feat: add process.env.API_CLIENT_STORAGE_PREFIX

* fix: test error

* fix: process.env.API_CLIENT_STORAGE_PREFIX
2024-05-19 12:22:04 +08:00
chenos
3f94ed42b1
chore: test on windows (#4375)
* chore: win test ci

* chore: test on windows

* fix: on

* test: windows-2022

* ci: test

* fix: update yarn.lock

* ci: test

* fix: yarn --verbose

* fix: network-timeout

* fix: ci

* fix: vitest

* fix: dirname

* fix: test error

* fix: test error

* fix: test error

* fix: skip win32

* fix: ci

* fix: retry=2
2024-05-18 09:24:03 +08:00
Zeke Zhang
df0d3ddee3
perf(e2e): reduce e2e runtime (#4280)
* chore: reuse page instance

* refactor: optimize

* chore: revert

* chore: ignore workflows

* chore: upgrade playwright to 1.44.0

* chore: fix failed tests

* refactor: optimize e2eUtils

* chore: make tests pass

* chore: optimize workflow for e2e

* chore: fix fialed tests

* chore: optimize workflows

* chore: optimize

* chore: fix path

* chore: fix

* chore: test

* chore: fix

* chore: test

* chore: test

* chore: add bot for e2e

* chore: wait to revert

* chore: wait to revert

* chore: fix

* chore: fix

* chore: fix bot

* chore: test

* chore: ignore pro-plugins on PR author is not member

* chore: optimize

* chore: test

* chore: test

* chore: test bot

* chore: remove title link

* chore: fix

* chore: fix error and cache yarn

* chore: optimize md

* chore: add new workflows
2024-05-10 20:51:11 +08:00
jack zhang
1e5e015b73
fix: update doc demos (#4262)
* fix: update doc demos

* fix: change docs demo

* fix: bug

* fix: build bug

* fix: add english docs

* fix: add component english doc

* fix: lang change
2024-05-09 09:21:36 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header (#4028)
* fix: add license code

* fix: bug

* fix: bug

* fix: upgrade

* fix: improve

* chore: add copyright information to the file header

* fix: d.ts bug

* fix: bug

* fix: e2e bug

* fix: merge main

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
jack zhang
402e14500a
fix: env bug (#4191) 2024-04-27 15:03:18 +08:00
jack zhang
229e5d1a40
client unit test (#4150)
* fix: add more unit test
2024-04-24 20:33:14 +08:00
chenos
3445001540 fix: delete sock files before nocobase start 2024-04-18 14:25:05 +08:00
chenos
31d68f91e8
feat: run e2e with pro plugins (#3890)
* feat: run e2e with pro plugins

* fix: name

* chore: fix typo

* fix: make e2e pass

* chore: only run pro e2e

* Revert "chore: only run pro e2e"

This reverts commit 9beff480c125ecbf221a61d69e09ca6e98119816.

* chore: increase timeout

* feat: support to set maxDepth

* chore: set default maxDepth to 1

* chore: fix e2e to make pass

* chore: add test for BlockSchemaToolbar

* chore: split files to avoid slowing down testing

* chore: make e2e more stable

* chore: make e2e more stable

* refactor: e2e

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-15 12:40:53 +08:00
jack zhang
2a4c356bc2
fix: bug (#4038) 2024-04-15 11:56:12 +08:00
Zeke Zhang
de7b75fea7
fix(BulkForm): should be required when switching to 'Changed to' (#3965)
* fix(BulkForm): should be required when switching to 'Changed to'

* fix: clear error on value is empty

* chore: optimize unit test log
2024-04-09 16:07:14 +08:00
ChengLei Shao
6bbaea2946
feat: run vitest with coverage (#3802)
* chore: vitest coverage

* chore: vitest coverage config

* chore: vitest coverage config

* chore: vitest coverage config

* chore: report storage dir

* chore: exclude lib dir

* chore: coverage report dir

* fix: client and server coverage

* fix: bug

* fix: coverage storage dir

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-31 10:07:18 +08:00
chenos
f2d4188ccf feat: update docker config 2024-03-28 10:44:55 +08:00
jack zhang
e32666b191
Optimize building tools (#3824)
* fix: build support dir

* fix: add build retry

* fix: vite warning ignore
2024-03-27 07:45:29 +08:00
Junyi
d691e4c7e6
feat(plugin-workflow): support multiple data source in workflow (#3739)
* feat(plugin-workflow): support multiple data source in workflow

* fix(plugin-workflow): fix test cases

* test(plugin-workflow-sql): debug test case

* fix(plugin-workflow): fix collection trigger creation without config

* test(plugin-workflow-sql): debug test case

* fix: workflow e2e test

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* test(plugin-workflow-sql): debug test case

* test: approval e2e

* fix: remove pro-plugins from packages

* refactor(plugin-workflow): support pass collection from props to CollectionBlockInitializer

* test(plugin-workflow): add test case

* fix(plugin-workflow): disable modification of executed workflow

* fix: e2ePageObjectModel

* fix: load data source when data source load failed (#3793)

* chore: console.log

* fix(subTable): fix sorting rule setting (#3795)

* fix: through collection support search (#3800)

* fix(client): visible -> useVisible

* fix(client): fix action designer error occured in custom form (#3801)

* fix(client): fix action designer error occured in custom form

* fix(client): fix from the source

* chore(module): remove submodule

* fix(plugin-workflow): fix client cycling import

* fix(plugin-workflow): fix collection event name

* fix(plugin-workflow): fix undefined ref

---------

Co-authored-by: hongboji <j414562100@qq.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-25 14:46:22 +08:00
Zeke Zhang
f2828cd8b0
chore: add options for matching and ignoring test files in e2e and p-test commands (#3811) 2024-03-25 12:29:44 +08:00
chenos
729a8dce81 fix: env variables have been modified 2024-03-17 23:33:22 +08:00
chenos
b359f9eac6
feat: supports subdirectory deployment (#3731)
* feat: supports subdirectory deployment

* feat: auto publicPath

* fix: buildIndexHtml

* fix: format

* fix: regexp

* fix: test error

* fix: nocobase.conf

* fix: path

* fix: nocobase.conf

* fix: bugs

* fix: resourcer prefix

* fix: cas
2024-03-16 20:01:34 +08:00