Commit Graph

3976 Commits

Author SHA1 Message Date
Zeke Zhang
57c7dd3e95 docs: fix typo 2023-12-26 18:51:01 +08:00
katherinehhh
76e95729e4
fix: record picker display incorrect data when field has default value in collection (#3266)
* fix: default value should not set when field is readpretty or readonly

* fix: record picker display incorrect data when field has default value in collection
2023-12-26 17:21:25 +08:00
katherinehhh
641ca2dcca
fix: useParseDefaultValue (#3264) 2023-12-26 10:43:12 +08:00
katherinehhh
894e1c8bf8
refactor: local improve (#3265) 2023-12-26 10:42:14 +08:00
Chareice
9c645d3482
chore: import 2023-12-26 09:20:52 +08:00
Junyi
b68fde9d47
fix(plugin-workflow): defend unimplemented trigger type (#3263) 2023-12-25 23:59:45 +08:00
chenos
28759aac07 chore: update changelog 2023-12-25 22:26:18 +08:00
chenos
e8f481ae68 chore(versions): 😊 publish v0.18.0-alpha.2 2023-12-25 22:26:05 +08:00
chenos
313d252c71 fix: migration error 2023-12-25 22:24:28 +08:00
ChengLei Shao
bb07625af5
fix(database): belongs to association only in eager loading tree (#3259)
* chore: test

* chore: test

* fix: belongs to association only in eager loading tree
2023-12-25 19:44:27 +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
chenos
cc2b132aa1
fix: tsx cli (#3254) 2023-12-25 15:03:48 +08:00
Junyi
0330e33704
feat(plugin-workflow): add space control to RadioWithTooltip (#3252) 2023-12-24 17:14:38 +08:00
chenos
e4c97651bf fix: incorrect tsx version on windows 2023-12-23 15:27:11 +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
chenos
2e038a651b fix: locale resource name 2023-12-22 18:49:58 +08:00
Junyi
3b5240cc0a
fix(plugin-workflow-dynamic-calculation): fix missed component (#3247) 2023-12-22 15:01:11 +08:00
Junyi
3e99ad1483
refactor(client): allow fixed layout table and action link class (#3246) 2023-12-22 15:00:54 +08:00
Zeke Zhang
d570a2c704
feat: the $anyof and $noneOf operators should support non-array values (#3244)
* fix: the $anyof and $noneOf operators should support non-array values

* chore: add lodash dependency

* test: add unit test

* test: add unit test
2023-12-22 09:52:28 +08:00
chenos
5e89a02044 fix(test): migration error 2023-12-21 21:03:03 +08:00
chenos
c492977233 chore: update changelog 2023-12-21 20:40:42 +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
Zeke Zhang
e68053b006
fix(drawer): fix z-index (#3242) 2023-12-21 11:39:34 +08:00
katherinehhh
b8244bfb9a
fix: failed to duplicate value in sub-table when setting data scope in association select (#3239) 2023-12-21 10:18:19 +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
Zeke Zhang
aaee46e0c2
feat(acl): supports 'current role' variable and collections filtering (#3181)
* feat(acl): support current role variable

* feat(acl): support to filter collections

* fix: the save conditions button should not be shown

* feat(formDataTemplates): supports to use variables for data scope

* test: make testing more stable

* fix: should only support filtering title and name

* fix: fix parse

* test: make testing more stable

* fix: should not use async function
2023-12-20 12:52:54 +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
Zeke Zhang
a8ae078baa chore: fix workflows 2023-12-19 16:05:02 +08:00
Zeke Zhang
24446166db fix(filter): fix operatror 2023-12-19 15:50:53 +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
Zeke Zhang
c2f3cfd6ce
fix(filter): fix $in operatror (#3235) 2023-12-19 14:23:09 +08:00
YANG QIA
a6c23d58a1
fix(localization): compatibility with plugin package names as namespaces (#3234) 2023-12-19 13:51:26 +08:00
katherinehhh
4be8812912
fix: customize add record cusomeizeCreateFormBlockInitializers (#3230) 2023-12-19 12:02:18 +08:00
ChengLei Shao
f60c7626e0
fix: update assocations in belongs to many repository (#3229) 2023-12-19 10:07:25 +08:00
Zeke Zhang
c129889df6
fix: fix switch role and input style (#3226)
* fix: fix switch role and input style

* refactor: remove useless code
2023-12-19 07:50:53 +08:00
chenos
6d04914e32
fix: tsx must be loaded with --import instead of --loader (#3225)
* fix: tsx must be loaded with --import instead of --loader

* fix: update ci

* fix: update ci
2023-12-18 22:41:14 +08:00
chenos
b86193c349 fix: remove UpdateMode 2023-12-18 21:01:32 +08:00
by
9b1c02b63c
feat: add a secondary confirmation function to the direct execution o… (#3161)
* feat: add a secondary confirmation function to the direct execution of the move operation button

* feat: add a secondary confirmation function to the direct execution of the move operation button

* fix: fix the problem of uncontrolled confirm

* fix: copywriting repair

---------

Co-authored-by: zhangboya3 <zhangboya3@xiaomi.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-18 20:45:37 +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
de902c538b
fix(variable): local variables should not affect global variables (#3214) 2023-12-18 15:48:39 +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
Zeke Zhang
c2d95a1620 test: increase e2e timeout-minutes to 90 2023-12-17 19:21:21 +08:00
Zeke Zhang
1eee7f5f4e fix(e2e): change the value of adminSchemaUid 2023-12-17 15:51:28 +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