chenos
8bac8dac71
chore(versions): 😊 publish v0.18.0-alpha.8
2023-12-29 15:49:02 +08:00
chenos
6816aded87
fix: add LICENSE
2023-12-29 13:11:56 +08:00
Zeke Zhang
c6915c69f8
fix: use appends param to load association data ( #3282 )
...
* fix: use appends param to load association data
* chore: update yarn.lock
* test: add test
* test: remove the 'BUG:' text
* test: fix 'window is not defined'
* test: increase timeout
2023-12-29 11:34:27 +08:00
chenos
501e3f1db2
chore(versions): 😊 publish v0.18.0-alpha.3
2023-12-29 09:42:06 +08:00
Junyi
7f0d699590
refactor(plugin-workflow): adjust some api and packages ( #3281 )
...
* fix(plugin-workflow): fix locale and some api
* fix(plugin-workflow-test): fix test package
* fix(plugin-workflow): fix package and types
* test(plugin-workflow): test package
2023-12-29 09:29:37 +08:00
katherinehhh
c9d5292d03
test(e2e): acl e2e test ( #3249 )
...
* test: acl test
* test: acl action test
* test: acl test
* test: acl test
* test: acl collection block test
* test: acl e2e test
* test: acl e2e test
* test: acl test
* test: acl collection test
* test: acl collectin test
* test: acl association test
* test: association acl test
* test: collection acl test
* test: collection acl test
* test: acl test
* test: acl updateRole test
* test: menu permission test
* test: menu permission test
* test: menu permission test
* test: menu permission test
* test: acl test
* test: acl test
* test: acl test
* test: acl test
* test: acl test
* test: menu acl test
* test: acl test
* refactor: setDefaultRole
* fix: merge bug
* fix: merge bug
* test: acl test
2023-12-29 09:15:57 +08:00
Zeke Zhang
4121075a98
test(e2e): add tests for collection manager ( #3253 )
...
* refactor: optimize file structure
* test: add tests for collection templates
* test: fix errors
* fix: fix errors
* test: schemaInitializer of fields
* fix: test erros
* fix: test error
* test: make tests more stable
* test: fix tree template
2023-12-29 09:14:47 +08:00
hongboji
e7c2c9ff83
test: workflow e2e ( #3261 )
...
* test: workflow e2e
* test: workflow e2e
* fix: merge main, fix incompatibility
* test: remove unneeded test cases
* fix: process.env.PLAYWRIGHT_AUTH_FILE
* fix: workflow e2e
* test: increase e2e timeout-minutes to 180
* fix: error
* fix: workflow aggregate e2e test
* fix: cancel useTransaction
* fix: updateRecord
* fix: queryRecord
* fix: queryRecord
* fix: queryRecord
* fix: formEvent
* fix: format files
* fix: test
* fix: error
* fix: error
* fix: split files
* fix: ci
* fix: error
* fix: error
* fix: client end
* fix: test
* fix: test
* feat: concurrency=10
* fix: concurrency=3
* test: increase timeout
* test: p-test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-29 09:13:00 +08:00
YANG QIA
8633ec3735
refactor(logger): improve logger format ( #2664 )
...
* refactor(logger): improve logger format
* chore: improve log format
* feat(logger): plugin-logger
* feat: allow to download log files, close T-1917
* chore: update yarn.lock
* chore: improve log format
* fix: add maxsize params
* chore: add userId field to request
* chore: remove userId from request
* chore: change userId in response
* chore: change action in response
* chore: add database logger
* fix: build
* fix: test
* chore: solve conflicts
* fix: escape delimiter in message
* refactor: improve create logger api
* chore: update app logger options
* chore: remove colorize for json
* fix: bug of data2tree
* fix: test
* chore: log
* chore: remove GITHUB_ACTION check
* fix: bug
* chore: change version
* fix: transports
* fix: mockServer
* chore: use new plugin settings api
* fix: version
* fix: build
* feat: support logfmt
* fix: build
* fix: build
* fix: test
* chore: update config
* fix: test
* fix: bug
* fix: test
* fix: format
* chore: update path
* fix: build
* fix: bug
* chore: update comment
* fix: allow to custom format
* fix: package.json
* fix: version
* fix: bug
2023-12-27 13:56:13 +08:00
Junyi
8ee8ab7d6d
refactor(plugin-workflow): refactor apis ( #3267 )
...
* refactor(plugin-workflow): refactor apis
* fix(plugin-workflow-parallel): fix import in test cases
* fix(plugin-workflow): fix some module import source
* fix(plugin-workflow): move manual table acl to manual plugin
* fix(plugin-workflow-manual): fix folder typo
2023-12-27 13:55:48 +08:00
Junyi
b68fde9d47
fix(plugin-workflow): defend unimplemented trigger type ( #3263 )
2023-12-25 23:59:45 +08:00
chenos
e8f481ae68
chore(versions): 😊 publish v0.18.0-alpha.2
2023-12-25 22:26:05 +08:00
Junyi
f17e10caa4
fix(plugin-workflow): queueing execution of disabled workflow block dispatching ( #3256 )
...
* fix(plugin-workflow): queueing execution of disabled workflow block dispatching
* fix(plugin-workflow): fix typo
2023-12-25 17:44:07 +08:00
Junyi
0330e33704
feat(plugin-workflow): add space control to RadioWithTooltip ( #3252 )
2023-12-24 17:14:38 +08:00
Dunqing
e112a644ea
feat(plugin-calendar): add calendar plugin ( #3109 )
...
* feat: init calendar plugin
* feat: move files to plugin
* feat: handle CalendarBlockInitializer in plugin
* feat: add todo
* feat: move collection template to plugin and fix i18n
* chore: update deps
* feat: export genStyleHook
* feat: handle i18n
* chore: remove react-i18next
* docs: update info
* test: move e2e test
* test: move to client
* chore: update version
* fix: merge revert
* fix: merge revert
* fix: missing SchemaSettings.xxx
* test: fix e2e failed
* test: update
* test: fix case failed
* fix: data blocks
* fix: remove provider
* fix: missing CalendarV2
* fix: missing CalendarActionInitializers
* fix: version
* fix: error
* fix: calender block form action should support print
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-23 15:16:41 +08:00
Junyi
3b5240cc0a
fix(plugin-workflow-dynamic-calculation): fix missed component ( #3247 )
2023-12-22 15:01:11 +08:00
chenos
5e89a02044
fix(test): migration error
2023-12-21 21:03:03 +08:00
chenos
95e6a32647
chore(versions): 😊 publish v0.18.0-alpha.1
2023-12-21 20:40:32 +08:00
ChengLei Shao
261d4c4137
refactor: establish a sound testing system ( #3179 )
...
* chore: use vitest to replace jest
* chore: support vitest
* feat: vitest 1.0
* fix: test
* chore: yarn.lock
* chore: github actions
* fix: test
* fix: test
* fix: test
* fix: test
* fix: jest.fn
* fix: require
* fix: test
* fix: build
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: dynamic import
* fix: bug
* chore: yarn run test command
* chore: package.json
* chore: package.json
* chore: vite 5
* fix: fix variable test
* fix: import json
* feat: initEnv
* fix: env.APP_ENV_PATH
* chore: get package json
* fix: remove GlobalThmeProvider
* chore: update snap
* chore: test env
* chore: test env
* chore: import module
* chore: jest
* fix: load package json
* chore: test
* fix: bug
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* fix: import file in windows
* chore: import module with absolute file path
* fix: test error
* test: update snapshot
* chore: update yarn.lock
* fix: front-end tests do not include utils folder
* refactor: use vitest-dom
* fix: fix build
* fix: test error
* fix: change to vitest.config.mts
* fix: types error
* fix: types error
* fix: types error
* fix: error
* fix: test
* chore: test
* fix: test package
* feat: update dependencies
* refactor: test
* fix: error
* fix: error
* fix: __dirname is not defined in ES module scope
* fix: allow only
* fix: error
* fix: error
* fix: error
* fix: create-app
* fix: install-deps
* feat: update docs
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
YANG QIA
06f11a2d08
refactor(auth): move auth client from core to the plugin & refactor auth client api ( #3215 )
...
* refactor(auth): auth client api
* fix: build
* fix: dependencies
* fix: fix T-2777
* fix: fix T-2776
* chore: update type
* fix: build
* fix: allowSignUp
* fix: file name
* fix: file name
* refactor: client api
* fix: build
* chore: update name
* fix: tsx must be loaded with --import instead of --loader
* fix: type
* fix: type
* fix: type
* fix: type
* fix: bug
* chore: improve wording
* fix: test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-21 20:19:25 +08:00
Junyi
978c4c5f61
refactor(plugin-audit-log): remove useless function wrap ( #3237 )
2023-12-20 23:18:02 +08:00
Zeke Zhang
e7b9737920
perf: remove lazy load association fields ( #3222 )
...
* perf: remove lazy load association fields
* test: fix error
* chore: fix workflows
* test: fix error
* test: fix errors
2023-12-20 13:56:24 +08:00
Junyi
2f892f00d7
refactor(plugin-workflow): add logs and try/catch for preparing ( #3236 )
2023-12-20 10:13:08 +08:00
ChengLei Shao
2289bb7418
chore: remove field from db ( #3233 )
...
* chore: remove field from db
* fix: test
* chore: test
2023-12-19 20:49:34 +08:00
katherinehhh
2808440426
fix(kanban): kanban data on a page should be isolated ( #3232 )
...
* fix: kanban block data on a page influences each other
* test: kanban test
2023-12-19 15:27:00 +08:00
ChengLei Shao
f60c7626e0
fix: update assocations in belongs to many repository ( #3229 )
2023-12-19 10:07:25 +08:00
katherinehhh
5a55987033
fix(graph-collection-manager): application context missing ( #3224 )
...
* fix: appicationContext
* fix: appicationContext
* fix: update position
2023-12-18 20:19:36 +08:00
Zeke Zhang
6bd0568d08
chore: upgrade antd to v5.12.2 ( #3185 )
...
* chore: upgrade antd to v5.12.2
* refactor: rename to StablePopover
* fix: fix tests
* test: fix e2e
* chore(CI): optimize E2E workflow
* chore: fix playwright
* fix: re-generate yarn.lock to fix e2e errors
* test: update locator
* fix: fix build errors
* fix: fix unit tests
* fix: fix e2e tests
* fix: should not auto close when clicking menu item
* fix: fix column width
* test: increase e2e timeout-minutes to 90
* test: fix e2e
* fix: update dockerfile
* fix: npmignore
* fix: app component false
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-18 15:21:57 +08:00
Dunqing
1cbdfa4f60
feat(mobile-client): update the text of the preview button ( #3189 )
2023-12-17 11:17:18 +08:00
chenos
f82b4d8726
feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container ( #3213 )
...
* feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container
* fix: db.sync
* fix: error
* fix: error
* fix: error
* fix: add test case
* fix: migration error
* fix: test error
2023-12-17 11:16:30 +08:00
katherinehhh
b1610e6994
feat: kanban& gantt&bulk edit& bulk update& duplicate& print action pluggable ( #3019 )
...
* fix: bug
* test: kanban test
* test: gantt block test
* test: gantt test
* test: gantt test
* test: gantt test
* refactor: convert parameters to destructured object
* test: add tests choices
* test: add tests media
* test: add tests for datetime in creating form
* feat(plugin-mock-collection): generate faker time
* test: add tests for datetime in editing form
* test: add tests for datetime in details form
* test: gantt block test
* test: gantt test
* test: gantt test
* test: gantt test
* fix: bug
* feat: improve code
* test: add tests for relation fields
* refactor: style improve
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* refactor: kanban setting
* refactor: gantt setting
* refactor: bulk update setting
* refactor: bulk update setting
* refactor: bulk edit settings
* refactor: duplicate settings
* refactor: print action setting
* refactor: duplicate settings
* refactor: bulk update refactor
* refactor: bulk update refactor
* fix: designableState
* fix: bug
* fix: designable
* refactor: bulk update
* fix: designable
* test: add tests for relation fields
* test: add tests for relation fields
* test: add tests for relation fields
* feat: client api doc
* test: add tests for relation fields
* test: avoid errors
* test: make tests passing
* fix: bug
* test: gantt test
* test: make tests passing
* test: add tests for advanced fields
* test: increase e2e timeout-minutes to 60
* fix: bug
* fix: improve code
* feat: add schema initailizer component demos
* test: make tests passing
* fix: schema settings demos
* feat: shallowMerge & deepMerge
* test: reduce number of tests
* test: make tests passing
* feat: updates
* fix: add Initializer Internal
* demos: useSchemaSettingsRender
* test: make tests passing
* test: make tests passing
* test: bulk update test
* refactor: useSchemaToolbar
* fix: improve docs
* fix: bug
* test: duplicate action test
* test: duplicate action test
* test: duplicate action test
* test: duplicate action test
* chore: upgrade dumi theme
* test: make tests passing
* test: add tests for linkage rules
* test: add test for form data templates
* test: add tests for default value
* test: reduce number of tests
* refactor: bulk edit setting
* test: bulk edit action test
* test: bulk edit action test
* fix: dn.deepMerge
* fix: bug
* test: bulk edit action test
* test: kanban test
* refactor: bulk update version
* refactor: print action version
* fix: bug
* fix: toolbar
* fix: docs ssr
* test: add tests for system fields
* test: add tests for actions
* fix: bug
* test: add tests for lazy loading of variables
* test: make testing more stable
* test: bulk edit test
* test: bulk update action test
* fix: update docs
* test: print test
* test: kanban test
* test: kanban test
* refactor: duplicate version
* fix: merge bug
* refactor: bulk update
* fix: merge bug
* refactor: bulk edit
* refactor: import
* refactor: export action
* refactor: code improve
* refactor: kanban code improve
* fix: merge bug
* refactor: readPrettyFormActionInitializers
* test: print action test
* test: print action test
* refactor: print action
* test: action test
* refactor: gantt date change
* style: gantt style improve
* test: gantt &bulkUpdate test
* test: bulk update test
* test: duplicate action test
* test: print action test
* test: bulk edit action test
* test: gantt block test
* test: kanban block test
* test: test file name
* test: test file name
* test: bulk update action tst
* refactor: rename test file name
* refactor: bulk update action
* refactor: gantt test
* fix: block template
* fix: block template
* fix: useFieldModeOptions
* refactor: code improve
* fix: merge bug
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-16 21:59:33 +08:00
YANG QIA
cb6a6b87c9
fix(acl): optimize error handling when logged user has no roles ( #3190 )
...
* fix: fix T-2720
* fix: localization
* fix: test
* fix: build
* chore: update
* fix: update title
* chore: update title
* fix: app load error
* fix: load error
* fix: test error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-15 21:03:16 +08:00
xilesun
d6dbc970a5
chore(versions): 😊 publish v0.17.0-alpha.7
2023-12-15 11:39:15 +08:00
YANG QIA
33779d3da2
fix: fix T-2749 ( #3194 )
2023-12-15 11:33:08 +08:00
Junyi
58f1918e73
feat(plugin-workflow-form): add role name to form trigger context ( #3182 )
...
* feat(plugin-workflow-form): add role name to form trigger context
* refactor(plugin-workflow-dynamic-calculation): move to extended group
2023-12-13 04:08:02 -08:00
Zeke Zhang
5880c979ca
test: make testing more stable
2023-12-13 16:57:18 +08:00
chenos
a702762cca
chore(versions): 😊 publish v0.17.0-alpha.6
2023-12-13 16:36:59 +08:00
Zeke Zhang
3b7c1345cc
test(e2e): add tests for client ( #3144 )
...
* test: add tests for lazy loading of association fields
* refactor: migrate
* test: add tests for page
* test: add tests for page menu
* test: add tests for tabs
* test: add tests for detail block
* test: add tests for list block
* test: add tests for grid card block
* test: add tests for filter collapse block
* test: add tests for markdown block
* test: add tests for table block
* test: add tests for table block
* test: add tests for lazy loading of association fields
* test: add tests for data scope
* test: add tests for filter block
* test: add tests for block template
* test: add tests for drag and sorting
* test: add tests for sorting rules
* test: make testing more stable
* Revert "test: make testing more stable"
This reverts commit 78b7badeb65bfc603fb746efbdb8e242a763ae6a.
* perf: remove enableToConfig
* test: make testing more stable
* test: make testing more stable
* test: delete newly created records to make tests more stable
* fix: fix error when deleting records
* test: make testing more stable
* test: make testing more stable
* test: fix tests
* refactor: optimize file structure
* test: fix tests
* test: fix tests
* refactor: optimize description
* refactor: optimize description
* refactor: use __e2e__ as the root directory for test files
* fix: fix build
* test: make testing more stable
2023-12-13 14:14:33 +08:00
Junyi
35c4b5c55a
fix(plugin-workflow-manual): fix schema config component ( #3172 )
2023-12-12 19:50:13 -08:00
xilesun
35301358de
chore(versions): 😊 publish v0.17.0-alpha.5
2023-12-12 23:07:55 +08:00
YANG QIA
474b09c7f2
perf(server): optimize performance of APIs ( #3079 )
...
* perf: add perf_hooks
* perf: add cache
* fix: test
* feat: support bloom filter
* feat: caching token black list
* perf: caching i18n instance
* fix: test
* fix: test
* chore: remove prePerfHooks on app
* chore: improve i18n instances cache
* chore: remove performance measure
* fix: package.json
* perf: optimize cache strategy
* fix: test
* fix: bug
* test: storer of auth-manager
* fix: afterDestroy hook when updating null value
* fix: version
* chore: fix bug and add test
* fix: test
* fix: test
2023-12-12 23:02:09 +08:00
chenos
cf9ccfe4f9
chore(versions): 😊 publish v0.17.0-alpha.4
2023-12-12 14:10:36 +08:00
YANG QIA
8c1738db83
fix(theme-editor): "No permission" error when updating default theme of system ( #3171 )
...
* fix: fix T-2703
* fix: bug
* fix: migration
* chore: switch type to radio
* fix: collection.sync
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-12 14:09:30 +08:00
chenos
efb6580eaf
fix(mock-collections): mock unique
2023-12-10 23:44:17 +08:00
Junyi
7bb50fea34
fix(plugin-workflow-manual): fix initializer ( #3170 )
2023-12-09 15:17:01 +08:00
YANG QIA
4665095372
fix(bi): import bug ( #3165 )
2023-12-08 16:56:05 +08:00
Junyi
0e7cb9e5cf
refactor(plugin-workflow): split workflow features into plugins ( #3115 )
...
* refactor(plugin-workflow): split manual and dynamic calculation into plugins
* refactor(plugin-workflow): move loop to plugin
* refactor(plugin-workflow): move parallel to plugin
* fix(plugin-dynamic-calculation): fix package title
* fix(plugin-workflow): fix plugin name
* refactor(plugin-workflow): move delay to plugin
* refactor(plugin-workflow): simplify exporting names
* refactor(plugin-workflow): move aggregate to plugin
* refactor(plugin-workflow): move sql to plugin
* refactor(plugin-workflow): move reqeust to plugin
* refactor(plugin-workflow): move form trigger to plugin
* refactor(plugin-workflow): move locale to plugins
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow-request): package name typo
* fix(plugin-workflow): remove clean db from testkit
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* fix(plugin-workflow): fix migration version matching
* test(plugin-workflow): fix test case
* refactor(plugin-workflow): correct exporting of testkit
* fix(plugin-workflow): fix testkit and require module
* refactor(plugin-workflow): add workflow-test package for testing
* test(plugin-workflow): test weird case
* fix(plugin-workflow-test): remove workflow dependency to avoid cycling
* fix(plugin-workflow): fix migration version
* fix(plugin-workflow): fix migration and packages
* fix(plugin-workflow): fix package dependencies
* fix(preset): fix builtin list in preset
* fix(plugin-workflow): add package entry file
* fix(plugin-workflow): fix migrations
* refactor(plugin-workflow): remove require
* fix(plugin-workflow): fix locale namespace
* fix(plugin-workflow): fix merged errors
* fix(plugin-workflow): fix import cycling references
* refactor(plugin-workflow): change instruction and triggers to classes in client
* fix(plugin-workflow): fix migration version
2023-12-07 05:46:58 -08:00
YANG QIA
8708765f43
fix(bi): localization ( #3159 )
...
* fix(bi): localization
* fix: bug
* fix(map): localization
* fix: antd config provider
2023-12-07 21:15:40 +08:00
Junyi
a86a65cf2c
fix(plugin-workflow): fix destroy node locale ( #3150 )
2023-12-06 08:06:10 -08:00
YANG QIA
e0e91c2c95
fix(lm): texts update hook after collection update ( #3151 )
...
* fix(lm): texts update hook after collection update
* fix: validate language
* fix: typo
2023-12-07 00:02:23 +08:00