Zeke Zhang
50851dc441
fix: z-index should be the same value ( #3278 )
2023-12-28 16:18:07 +08:00
katherinehhh
2074e5e4b8
style: collection manger fields style improve ( #3276 )
2023-12-28 14:51:24 +08:00
chenos
8108107779
fix: require module ( #3277 )
...
* fix: require module
* fix: include utils
2023-12-28 13:40:11 +08:00
Zeke Zhang
80335aa23c
chore: optimize jsdom and vitest configuration ( #3269 )
2023-12-27 17:29:07 +08:00
xilesun
1c3b5c1645
fix(logger): colorize
2023-12-27 14:02:22 +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
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
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
chenos
cc2b132aa1
fix: tsx cli ( #3254 )
2023-12-25 15:03:48 +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
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
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
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
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
24446166db
fix(filter): fix operatror
2023-12-19 15:50:53 +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
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
1eee7f5f4e
fix(e2e): change the value of adminSchemaUid
2023-12-17 15:51:28 +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
Dunqing
823a112435
fix(core): cannot add a record block in new tab in Drawer ( #3196 )
2023-12-16 19:39:46 +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
231c9b02e9
fix: update dependent version of cache-manager ( #3195 )
2023-12-15 11:38:09 +08:00
Chareice
f6fdec1226
chore(database): update event listener scope in collection
2023-12-14 21:16:10 +08:00
chenos
a702762cca
chore(versions): 😊 publish v0.17.0-alpha.6
2023-12-13 16:36:59 +08:00
jack zhang
6fd774e173
fix: create-app dev plugin load ( #3183 )
2023-12-13 16:10:11 +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
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
Chareice
2c37910894
chore: field type map
2023-12-12 21:28:42 +08:00
ChengLei Shao
439940cd22
chore: query interface ( #3177 )
...
* chore: query interface
* fix: build
* chore: typo
2023-12-12 21:24:52 +08:00
chenos
cf9ccfe4f9
chore(versions): 😊 publish v0.17.0-alpha.4
2023-12-12 14:10:36 +08:00
Chareice
7166409c75
fix: quote ident in postgres get table definition
2023-12-12 09:58:14 +08:00
jack zhang
cb0d757a6b
fix: dev load remote plugin ( #3175 )
2023-12-11 16:16:04 +08:00
katherinehhh
a7176770fb
fix: sub-form(popover)in sub-table value mutual influence ( #3164 )
2023-12-10 19:21:41 +08:00
Zeke Zhang
a2be1a0e33
feat(variable): add current role ( #3167 )
...
* feat(variable): add current role
* chore: translate
* feat: parsing in the backend
* fix: fix tests
2023-12-08 19:19:53 +08:00
jack zhang
810ab3294d
fix: sub menu hide ( #3168 )
2023-12-08 17:59:52 +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
Zeke Zhang
1fddf0bcb5
fix: fix default value is not working in sutable ( #3155 )
2023-12-07 14:08:28 +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
Chareice
3b324f31a2
fix(database): phantom dependency
2023-12-06 22:29:13 +08:00
chenos
eef101c177
chore(versions): 😊 publish v0.17.0-alpha.3
2023-12-06 17:19:35 +08:00
jack zhang
8e7cb832cc
fix: delete root docs ( #3145 )
...
* fix: delete root docs
* docs: update useSchemaOptionsContext()
* chore: change ci
* chore: upgrade dumi theme
* fix: upgrade tsx
2023-12-06 16:20:31 +08:00
YANG QIA
ff097936dd
fix(lm): reserve i18n namespaces for plugins to avoid conflicts ( #3121 )
...
* fix: fix T-2063
* fix: fix T-2589
* chore: remove translation of page header
* chore: add version check for migration
* chore: switch locale files to JSON format
* fix: bug
* fix(auth): fix translation
* fix: add App provider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-06 14:30:17 +08:00
chenos
36fd4881b2
chore(versions): 😊 publish v0.17.0-alpha.2
2023-12-06 13:20:48 +08:00
chenos
e418d31eb8
fix: default action schema settings ( #3146 )
...
* fix: default action schema settings
* fix: customRequest
2023-12-06 12:48:21 +08:00
xilesun
ad25fe704c
fix: issue with SQL collection when the source collection is deleted
2023-12-06 10:09:42 +08:00
Chareice
95bec2278f
fix: load field when source collection not found
2023-12-06 09:45:32 +08:00
YANG QIA
16ad19b18d
feat(bi): filter block for charts ( #2851 )
...
* refactor: SchemaInitializer
* feat: render
* feat: finish BlockInitializers
* feat: finish TableActionInitializers
* refactor: new SchemaInitializerV2
* feat: support useChildren
* feat: finish TableColumnInitializers
* refactor: tableActionColumnInitializers
* fix: bug
* refactor: xx
* docs: schemaInitializer demo1
* docs: schema-initializer demo2
* feat: demo3
* docs: schema-initializer
* fix: form
* feat(bi): filter block for charts
* refactor: schema-initializer
* fix: bug
* feat: add filter block in chart block
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: improve code & style
* feat: add expand/collapse button
* fix: filter & reset bug
* fix: configure data conflict
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* feat: support for adding custom filter field
* fix: bug
* fix: workflow
* fix: docs
* feat: support for editing operator of collection field
* fix: bug
* fix: bug
* feat: support for editing options of custom fields
* feat: style
* fix: remove v2
* feat: init chart with filter
* fix: visible
* fix: bug
* fix: item hook
* feat: support for setting default value
* feat: item hook
* feat: support for filtering by associate fields
* fix: bug of associate field
* fix: get field bug
* fix: bug of adding filter block
* fix: bug of empty filter
* fix: filter parse issues
* fix: add search DataBlockInitializer
* fix: build bug
* fix: fix bug and improve
* fix: bug
* fix: variable
* fix: hook dependencies
* fix: style bug
* fix: style bug
* fix: test bug
* fix: test bug
* fix: rerender bug
* fix: remove menu select
* fix: bug
* chore: add aria-label for SchemaInitializerButton
* refactor: rename name to camel case
* fix: menu height bug
* fix: build errors
* fix: build errors
* fix: bug
* fix: bug
* fix: performance
* fix: fix T-2388, T-2384
* test: add test for header
* fix: sidebar is not refresh (T-2422)
* feat(e2e): support to add group page and link page
* chore: make sure the page is configurable when using page.goto
* test: add tests for menu initializer
* fix: imporve code
* fix: fix T-2383
* fix: variables
* fix: variables
* fix: fix T-2441
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* feat: select source field for custom field, fix T-2416
* fix: bug
* test: make tests passing
* fix: make tests passing
* chore: upgrade vitest to v0.34.6
* chore: increase timeout of e2e
* feat: core
* fix: revert schema initializer demos
* test: menu, page tabs, page grid, table column
* fix: schema button interface
* fix: fix T-2386
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: fix T-2473, T-2474
* fix: fix T-2476
* fix: fix T-2472
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* fix: fix T-2484, T-2482
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: dependency
* fix: action bug
* fix: form-item bug
* fix: types error
* docs: schema settings doc
* docs: schema settings
* feat: schema setting item add name
* fix: visible lazy render bug
* fix: revert form item filter
* fix: test bug
* fix: test JSON.parse bug
* fix: test bug
* fix: improve styling
* fix: styling
* fix: cleanup
* fix: token.borderRadiusSM
* fix: bug
* test: add tests
* fix: style bug
* fix: add chart performance
* feat: add SchemaDesignerContext
* fix: bug
* fix: test bug
* style: create record action style improve
* fix: make test passing
* chore: mack tests passing
* chore: make tests passing
* test: fix tests
* style: style revert
* fix: bug
* fix: data selector
* fix: fix tests
* fix: fix tests
* fix: delete PluginManagerContext
* refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent
* fix: add dn and field builtin to SchemaSettingWrapper
* feat: update docs
* refactor: application providers
* fix: test bug
* fix: fix tests
* chore: make test passing
* feat: update docs
* chore: rename collection name
* feat: update docs
* chore: skip weird test
* fix: blockInitializers media to otherBlocks
* fix: cancel to skip test
* fix: bug
* test: add test
* refactor: migrate to small files
* test: add tests for form block settings
* chore: format
* fix: add chart scroll bug
* refactor: action designer improve
* refactor: formitem designer schemaSetting
* feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem
* test: add tests for color field in creating block
* test: add tests for email field in creating block
* test: make tests passing
* perf: reduce fields number
* fix: sub menu bug
* chore: update filter hook
* chore: fix association fields
* fix: build
* chore: use `default` instead of `componentProps.defaultValue`
* chore: remove chinaRegion in custom field components
* fix: menu height
* fix: duplicate keys warning
* fix: variable issues
* fix: filter bug
* fix: operator bug
---------
Co-authored-by: Your Name <1098626505@qq.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-05 20:45:18 +08:00
katherinehhh
536001eaba
fix: validate uid rule ( #3140 )
2023-12-05 16:09:44 +08:00
katherinehhh
d573e6ff17
refactor: collection template support forbidDeletion setting ( #3139 )
2023-12-05 15:58:36 +08:00
jack zhang
cb200de34e
fix: menu height bug ( #3137 )
2023-12-05 10:15:08 +08:00
jack zhang
f3cb6bf62c
fix: menu height 50vh ( #3135 )
2023-12-04 19:49:13 +08:00
katherinehhh
1b80cc431b
refactor: uid validate rule ( #3134 )
2023-12-04 17:56:08 +08:00
chenos
1757a96b51
chore(versions): 😊 publish v0.17.0-alpha.1
2023-12-04 14:58:09 +08:00
jack zhang
bf1a19426a
refactor: new schema initializer and schema settings ( #2802 )
...
* fix: form
* refactor: schema-initializer
* fix: bug
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* fix: bug
* fix: workflow
* fix: docs
* fix: bug
* fix: bug
* feat: style
* fix: remove v2
* fix: visible
* fix: bug
* fix: item hook
* feat: item hook
* fix: add search DataBlockInitializer
* fix: build bug
* fix: style bug
* fix: style bug
* fix: test bug
* fix: test bug
* fix: rerender bug
* fix: remove menu select
* fix: bug
* chore: add aria-label for SchemaInitializerButton
* refactor: rename name to camel case
* fix: menu height bug
* fix: build errors
* fix: build errors
* fix: bug
* fix: bug
* fix: performance
* test: add test for header
* fix: sidebar is not refresh (T-2422)
* feat(e2e): support to add group page and link page
* chore: make sure the page is configurable when using page.goto
* test: add tests for menu initializer
* fix: imporve code
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* test: make tests passing
* fix: make tests passing
* chore: upgrade vitest to v0.34.6
* chore: increase timeout of e2e
* feat: core
* fix: revert schema initializer demos
* test: menu, page tabs, page grid, table column
* fix: schema button interface
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: action bug
* fix: form-item bug
* fix: types error
* docs: schema settings doc
* docs: schema settings
* feat: schema setting item add name
* fix: visible lazy render bug
* fix: revert form item filter
* fix: test bug
* fix: test JSON.parse bug
* fix: test bug
* fix: improve styling
* fix: styling
* fix: cleanup
* fix: token.borderRadiusSM
* fix: bug
* test: add tests
* fix: style bug
* fix: add chart performance
* feat: add SchemaDesignerContext
* fix: bug
* fix: test bug
* style: create record action style improve
* fix: make test passing
* chore: mack tests passing
* chore: make tests passing
* test: fix tests
* style: style revert
* fix: bug
* fix: data selector
* fix: fix tests
* fix: fix tests
* fix: delete PluginManagerContext
* refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent
* fix: add dn and field builtin to SchemaSettingWrapper
* feat: update docs
* refactor: application providers
* fix: test bug
* fix: fix tests
* chore: make test passing
* feat: update docs
* chore: rename collection name
* feat: update docs
* chore: skip weird test
* fix: blockInitializers media to otherBlocks
* fix: cancel to skip test
* fix: bug
* test: add test
* refactor: migrate to small files
* test: add tests for form block settings
* chore: format
* fix: add chart scroll bug
* refactor: action designer improve
* refactor: formitem designer schemaSetting
* feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem
* test: add tests for color field in creating block
* test: add tests for email field in creating block
* test: make tests passing
* perf: reduce fields number
* fix: sub menu bug
* test: add tests basic in editing form
* test: add tests basic in details form
* fix: improve code
* test: make tests passing
* test(plugin-mock-collections): add color for enum options
* refactor: improve code
* fix: bug
* fix: bug
* 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
* fix: bug
* feat: improve code
* test: add tests for relation fields
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* fix: designableState
* fix: bug
* fix: designable
* 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: 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
* fix: improve docs
* fix: bug
* 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
* fix: dn.deepMerge
* fix: bug
* 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
* fix: update docs
* fix: bug
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-04 14:56:46 +08:00
xilesun
9d644304c1
chore(versions): 😊 publish v0.16.0-alpha.6
2023-12-04 11:01:24 +08:00
katherinehhh
bdf49cd38a
fix: association field should support json field as title field ( #3129 )
2023-12-03 19:14:33 +08:00
Junyi
c1c91095b8
fix(client): allow match query case insensitive ( #3127 )
2023-12-01 22:57:56 -08:00
chenos
7adb162cc8
feat(test): add quickstart
2023-12-02 09:40:22 +08:00
katherinehhh
52c83cadb3
refactor: url& sequence support availableType as string ( #3126 )
2023-12-01 16:38:34 +08:00
katherinehhh
a436b59268
refactor: view collection support json field ( #3125 )
2023-12-01 15:36:32 +08:00
Zeke Zhang
6fc644d506
feat(e2e): support for custom data when using mockRecords
2023-12-01 14:58:45 +08:00
Chareice
1efedee68c
fix: test params
2023-12-01 12:46:51 +08:00
katherinehhh
4f9696035a
refactor: collection template support configureActions ( #3123 )
2023-12-01 11:27:38 +08:00
katherinehhh
1d01a66193
fix: onTemplateSuccess undefined ( #3119 )
2023-11-30 17:32:42 +08:00
chenos
8977420eec
chore(versions): 😊 publish v0.16.0-alpha.5
2023-11-30 12:41:50 +08:00
jack zhang
d973ed8dba
fix(pm): create plugin bug ( #3117 )
...
* fix: build bug
* fix: app template package.json add workspaces
* fix: plugin manager packageName
* fix: remove template tsconfig paths
2023-11-30 12:41:15 +08:00
katherinehhh
cb22d0f2ed
fix: fields options undefined ( #3116 )
2023-11-30 11:47:16 +08:00
Rain
f3c6f066ec
fix(linkageRules): remove throttle to prevent unexpected behavior
2023-11-29 17:53:33 +08:00
Zeke Zhang
357a081199
fix(linkageRules): fix autorun ( #3105 )
...
* fix(linkageRules): avoid accidentally triggering autorun
* fix(linkageRules): fix the order of autorun triggers
* fix: avoid crashing
* fix: fix variable of expression
* perf: use throttle to improve performance
* chore: reduce wait time from 1000 to 500
* fix: fix init state
* Revert "fix: fix init state"
This reverts commit 3f469731770b7e1224ebbb63277ac86adc51b97d.
* refactor: rename
* fix: fix init state
2023-11-29 14:57:03 +08:00
Junyi
f62134a4ed
fix(client): adjust error message ( #3108 )
2023-11-28 17:38:24 -08:00
Junyi
bd6fbcd319
fix(plugin-workflow): fix form event parse variables ( #3106 )
2023-11-28 04:58:15 -08:00
ChengLei Shao
9ed6993130
fix: query view collection with primaryKey ( #3104 )
2023-11-28 14:59:43 +08:00
katherinehhh
0cf045d142
fix: association data params missing appends ( #3103 )
...
* fix: association data params missing appends
* refactor: code improve
2023-11-28 11:12:42 +08:00
Chareice
f5dc8cebf8
chore: field type map
2023-11-28 09:38:21 +08:00
被雨水过滤的空气-Rain
723cc45d0f
fix(linkageRules): avoid infinite loop ( #3095 )
...
* Revert "refactor: avoid errors (#3091 )"
This reverts commit 85be616f35
.
* fix(linkageRules): avoid infinite loop
* chore: remove console.log
* chore: remove useless code
2023-11-27 19:27:35 +08:00
ChengLei Shao
cbcf70e587
chore: cache effective snippets results in acl role ( #3102 )
2023-11-27 15:49:50 +08:00
chenos
5ebd5d5c62
fix(cli): unsafe shell command constructed from library input
2023-11-27 09:07:16 +08:00
ChengLei Shao
c7ef9618a9
feat(database): support find with filter and where ( #3097 )
2023-11-26 21:41:40 +08:00
ChengLei Shao
2dff989f70
fix: test db creator types ( #3094 )
2023-11-25 19:53:13 +08:00
chenos
ffb300d357
chore(versions): 😊 publish v0.16.0-alpha.4
2023-11-24 23:15:10 +08:00
被雨水过滤的空气-Rain
85be616f35
refactor: avoid errors ( #3091 )
...
* refactor: avoid errors
* refactor: remove useless code
2023-11-24 21:46:19 +08:00
被雨水过滤的空气-Rain
e5f711ec66
fix: avoid infinite loop ( #3089 )
2023-11-24 17:35:45 +08:00
katherinehhh
641d59421d
refactor: import interface getOptions ( #3088 )
2023-11-24 17:01:16 +08:00
chenos
992f2d442d
fix: dev plugins path
2023-11-24 15:49:37 +08:00
YANG QIA
039deac92b
fix: sql collection creation issue ( #3087 )
2023-11-24 15:43:04 +08:00
被雨水过滤的空气-Rain
771ebaaaec
fix: should load association data in subform ( #3083 )
2023-11-23 21:05:07 +08:00
katherinehhh
78bd78ca3d
fix: view collection json field rendering error ( #3077 )
2023-11-23 11:50:34 +08:00
Rain
e2ed6be305
fix: avoid crashing
2023-11-23 11:22:25 +08:00
katherinehhh
b3dfc939f3
fix: m2o association field should support pattern configure ( #3074 )
...
* fix: m2o association field should support pattern configure
* fix: setInitialValueundefined
2023-11-22 21:12:08 +08:00
被雨水过滤的空气-Rain
ea136ab6bc
fix: subform disappears ( #3073 )
2023-11-22 17:22:09 +08:00
Junyi
e0c7d09cab
fix(client): fix variable input style when disabled ( #3071 )
2023-11-21 18:42:05 -08:00
ChengLei Shao
c81fb46071
fix: update inherited collection performance issue ( #3070 )
2023-11-21 21:36:08 +08:00
被雨水过滤的空气-Rain
19bad669af
fix(linkage): avoid infinite loop ( #3069 )
2023-11-21 17:28:37 +08:00
chenos
45dcdab083
fix: add i18n resources after server app load ( #3068 )
...
* fix: add i18n resources after server app load
* fix: skip cache
2023-11-21 11:39:19 +08:00
katherinehhh
78c4334e19
fix: linkage rule in action set both disable and enable ( #3065 )
2023-11-21 10:31:07 +08:00
chenos
cba967933e
chore(versions): 😊 publish v0.16.0-alpha.3
2023-11-20 19:36:12 +08:00
chenos
dfb940e091
feat: node >= 18 ( #3066 )
...
* feat: node >= 18
* fix: release version
* chore(versions): test publish packages xxx
* fix: gitignore
2023-11-20 19:35:30 +08:00
chenos
91053b31ef
chore(versions): 😊 publish v0.16.0-alpha.1
2023-11-20 17:19:09 +08:00
YANG QIA
daac2ae0db
refactor(cache): improve cache ( #3004 )
...
* feat: improve cache
* fix: bug
* fix: test
* fix: test
* fix: test
* chore: add cache test
* feat: add wrapWithCondition
* fix: test
* refactor: improve api
* fix: test
* fix: test
* fix: test
* fix: improve code
* fix: test
* feat: register redis store
* fix: tst
* fix: test
* fix: bug
* chore: update
* fix: ttl unit
* chore: cachemanager constructor
* chore: remove code
* feat: support close connection
* chore: add close options for redis store
2023-11-20 17:14:20 +08:00
ChengLei Shao
57d6a82fcc
feat: show table definition ( #3061 )
...
* feat: show table definition
* chore: test
2023-11-20 09:58:28 +08:00
ChengLei Shao
d7d2eb634e
feat: mariadb support ( #3052 )
...
* feat: mariadb support
* feat: mariadb test
* chore: mariadb test
* chore: test
* fix: sort field test
* fix: sort field test
* fix: test
* fix: test
* fix(bi): chart query support mariadb
* chore: test timeout
* chore: test
---------
Co-authored-by: xilesun <2013xile@gmail.com>
2023-11-20 08:54:40 +08:00
Junyi
fbe3d2d9a5
fix(plugin-workflow): client minor fixes ( #3062 )
2023-11-19 03:24:34 -08:00
ChengLei Shao
eac8559104
chore: view inference ( #3060 )
2023-11-18 22:35:20 +08:00
ChengLei Shao
0acd7b6dd3
fix: sort by association collection ( #3058 )
...
* fix: sort by association collection
* fix: test
* chore: test
* chore: create sortfield if hasmany sortable set true
* fix: drag sort
* chore: update sort by options
* chore: sync collection after update sortBy
* chore: test
* chore: test
* chore: test
* fix: sort by
* fix: model.syncSortByField
* fix: hasmany only
* fix: sortBy
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-18 22:02:21 +08:00
chenos
ef1b9db2a9
chore(versions): 😊 publish v0.15.0-alpha.4
2023-11-18 21:22:03 +08:00
chenos
4a26b9b208
fix: import @nocobase/utils/client
2023-11-18 21:20:30 +08:00
Dunqing
2c688dba43
fix(calendar): cannot switch week in week mode ( #3057 )
2023-11-17 23:17:30 +08:00
被雨水过滤的空气-Rain
3c98966169
feat(e2e): add mockCollections ( #3054 )
...
* feat(e2e): add mockCollections
* fix: fix tests
* fix: make tests passing
* fix: fix tests
* fix: fix test
* chore: restart
* chore: skip some test
2023-11-17 16:54:04 +08:00
katherinehhh
36043be130
fix: association table block overwirtten by default values in popver action ( #3056 )
2023-11-17 16:11:30 +08:00
ChengLei Shao
76a225e354
feat: register collection sync logic ( #3055 )
2023-11-17 11:22:46 +08:00
katherinehhh
cd76ae7e63
fix: tableoid should pointed to target collection in assciation field data scope config ( #3053 )
2023-11-16 18:15:10 +08:00
chenos
60112aae62
chore(versions): 😊 publish v0.15.0-alpha.3
2023-11-16 15:03:40 +08:00
chenos
03062a2b05
feat: e2e commands ( #3042 )
2023-11-16 12:33:56 +08:00
被雨水过滤的空气-Rain
14a21882e8
Revert "chore: hide linkage rule option in some buttons ( #3046 )" ( #3051 )
...
* Revert "chore: hide linkage rule option in some buttons (#3046 )"
This reverts commit f0db975c1d
.
* refactor: remove concole log
2023-11-16 11:52:22 +08:00
被雨水过滤的空气-Rain
f0db975c1d
chore: hide linkage rule option in some buttons ( #3046 )
2023-11-15 16:32:28 +08:00
ChengLei Shao
b497ef125e
feat: collection factory ( #3047 )
2023-11-15 16:22:48 +08:00
katherinehhh
3aca9e05d9
fix: association block filter params ( #3039 )
2023-11-14 17:24:59 +08:00
Junyi
52c3f28c04
fix(plugin-fm): fix error log ( #3038 )
2023-11-14 16:54:19 +08:00
katherinehhh
57c7450e16
refactor: findSchema should omit AssociationField.Viewer ( #3037 )
2023-11-14 14:43:31 +08:00
被雨水过滤的空气-Rain
c25f51d99b
fix: fix display association fields with subform ( #3036 )
...
* fix: fix display association fields with subform
* fix: transformVariableValue
* fix: should also to request data when value is null
* fix: better way to fix
2023-11-14 14:15:47 +08:00
被雨水过滤的空气-Rain
887ddf0ed1
test: optimize command ( #3030 )
...
* test: optimize command
* chore: add force options
* chore: kill child process
2023-11-14 10:04:09 +08:00
katherinehhh
4d4b73767f
fix: attachment field in m2m association field report error whwen setting required ( #3031 )
2023-11-14 09:36:00 +08:00
chenos
b597aec1dc
chore(versions): 😊 publish v0.15.0-alpha.2
2023-11-13 18:28:48 +08:00
jack zhang
4209babb47
fix: antd table ref bug ( #3029 )
2023-11-13 17:49:24 +08:00
jack zhang
647c8ccdaa
fix: improve plugin settings code ( #3028 )
2023-11-13 17:10:01 +08:00
jack zhang
34d1406ede
fix: plugin settings manager Component optional & delete isBookmark ( #3027 )
2023-11-13 12:21:40 +08:00
Junyi
83245a406b
fix(plugin-workflow): fix workflow title in binding workflow configuration not showing ( #3026 )
2023-11-12 20:13:54 -08:00
chenos
29457cb2bc
chore(versions): 😊 publish v0.15.0-alpha.1
2023-11-13 11:02:35 +08:00
jack zhang
35b06cbfa0
refactor: plugin settings manager ( #2712 )
...
* feat: add settingsCenter
* fix: style bug
* chore: optimized code
* refactor: settingCenter Auth
* feat: add aclSnippet option
* refactor: all plugin's setting center api
* feat: add plugin with name
* docs: add settings-center doc
* fix: settings center menu sort by name
* fix: change setting center layout
* fix: change hello sort
* test: add SettingsCenter.ts test case
* fix: bug
* fix: acl bug
* fix: bug
* fix: bug and 404 page
* fix: test bug
* fix: test bug
* fix: bug
* fix: locale
* fix: styling
* fix: rename settingsCenter to pluginSettingsManager
* fix: styling
* fix: e2e bug
* fix: e2e bug
* fix: locale
* feat: update docs
* fix: update
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-13 11:01:18 +08:00
被雨水过滤的空气-Rain
454db91827
fix: fix regular of variable ( #3024 )
...
* fix: fix regular of variable
* refactor: the better way
2023-11-11 11:23:34 +08:00
被雨水过滤的空气-Rain
b92e9d1b69
fix: should load association data in subform ( #3020 )
...
* fix: should load association data in subform
* fix: make test passing
* fix: avoid error
2023-11-10 22:28:05 +08:00
katherinehhh
b11c22798a
fix: association field in reference block failed to append ( #2998 )
...
* fix: reference block association data failed to append
* feat: default value should not set in edit form
* chore: block template provider
2023-11-10 15:54:55 +08:00
被雨水过滤的空气-Rain
d9e7ba6e8d
fix: relational data should be loaded correctly on first render ( #3016 )
...
* fix: subform should lazy load data
* fix: relational data should be loaded correctly on first render
2023-11-10 15:27:53 +08:00
chenos
3b5b732a1a
feat: plugin-mock-collections ( #2988 )
...
* feat: plugin-mock-collections
* fix: mock bug
* feat: field interfaces
* fix: field interface
* fix: formula
* fix: file collection
* fix: map
* refactor: change api path from :create to :mock
* fix: avoid test failed
* chore: remove useless code
* fix: mock records
* fix: association
* feat: custom data
* fix: mockAttachment
* fix: count
---------
Co-authored-by: Rain <958414905@qq.com>
2023-11-10 11:32:03 +08:00
被雨水过滤的空气-Rain
d72a64976e
fix: should lazy load association data in subform ( #3012 )
2023-11-10 11:00:14 +08:00
chenos
3d0b42e72e
fix(import): remove commas from numbers ( #3011 )
2023-11-10 10:00:21 +08:00
chenos
4ed6d50400
fix(static-server): directoryListing: false ( #3010 )
2023-11-10 09:26:30 +08:00
被雨水过滤的空气-Rain
3f5704421d
fix(theme): text color of page header right side ( #3008 )
2023-11-10 08:02:30 +08:00
katherinehhh
c3c648d28c
fix: menu failed to design while menu title is empty string ( #2999 )
...
* fix: menu failed to desgin while menu title is empty string
* style: menu group style improve
2023-11-09 20:57:29 +08:00
被雨水过滤的空气-Rain
e73ad1b98b
fix: detail block has no data ( #3003 )
...
* chore: add comments
* fix: detail block has no data
2023-11-09 12:55:06 +08:00
被雨水过滤的空气-Rain
5b9695e720
fix: select item can not be selected in connecting data blocks ( #2993 )
2023-11-08 09:17:40 +08:00
被雨水过滤的空气-Rain
76940c5454
chore: optimize error message ( #2992 )
...
* Revert "chore: optimize error message (#2985 )"
This reverts commit 3802ca38f8
.
* chore: optimize error message
2023-11-08 00:23:53 +08:00
Junyi
00cabc5e23
refactor(plugin-workflow): change to function ( #2991 )
2023-11-07 07:30:53 -08:00
被雨水过滤的空气-Rain
3802ca38f8
chore: optimize error message ( #2985 )
2023-11-07 21:21:49 +08:00
katherinehhh
ee3d5af04d
fix: association select should not clearing after config data scope ( #2984 )
2023-11-07 16:05:59 +08:00
Junyi
2747e7640f
fix(plugin-workflow): fix node form values when closed ( #2978 )
...
* fix(plugin-workflow): fix node form values when closed
* fix(plugin-workflow): fix manual schema config refresh
2023-11-06 07:50:25 -08:00
被雨水过滤的空气-Rain
10a1f65284
fix: button of details is not refresh when updating record ( #2977 )
2023-11-06 21:18:55 +08:00
被雨水过滤的空气-Rain
f1e387e65e
fix: avoid infinite loop ( #2974 )
...
* fix: avoid infinite loop
* perf: avoid infinite loop
* fix: build errors
2023-11-06 14:21:28 +08:00
ChengLei Shao
ac3f63b110
feat: drop table with cascade option ( #2973 )
...
* refactor: delete collection support cascade
* chore: remove collection from database
* feat: remove collection with cascade option
* chore: test
* chore: test
* chore: delete collection support cascade
* refactor: code improve
* refactor: locale improve
* style: delete collection modal style improve
* revert: filemanger-plugin
* revert: code improve
* revert: code improve
* revert: fix: bluk dele collection
* fix: cascade === true && cascade === 'true'
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-06 11:50:37 +08:00
chenos
05040a1c5f
fix: client docs ( #2965 )
...
* fix: application bug
* fix: test error
* feat: client doc
* fix: delete it.only
* fix: demos
* fix: ci
* fix: create index.md
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2023-11-06 11:50:13 +08:00
被雨水过滤的空气-Rain
bafb03a228
fix(variable): compat $date ( #2971 )
...
* fix(variable): compat $date
* chore: update tests
2023-11-06 07:10:41 +08:00
katherinehhh
b109a5751b
fix: add child action should omit children data ( #2969 )
...
* refactor: expand action locale
* fix: add child action should omit children data
2023-11-05 19:55:51 +08:00
jack zhang
9249dcb896
fix: application bug ( #2958 )
...
* fix: application bug
2023-11-05 19:22:41 +08:00
被雨水过滤的空气-Rain
bce02ad1d7
perf: avoid page lag or stuttering ( #2964 )
...
* perf: avoid page lag or stuttering
* perf: improve performance of data scope
* chore: remove console.log
* perf: avoid crashing
* fix: make tests passing
* fix: fix title of dialog
2023-11-05 17:59:22 +08:00
katherinehhh
a42ee95e03
fix: percent field component should support decimal point ( #2966 )
2023-11-05 16:51:59 +08:00
被雨水过滤的空气-Rain
59854085b2
refactor: remove useless code ( #2961 )
2023-11-04 14:30:46 +08:00
katherinehhh
9a730a8fec
test: client ui test ( #2736 )
...
* test: add menu group test
* test: add menu link test
* test: insert befort page test
* test(e2e): better locators for designer buttons
* fix: make test passing
* test: esit menu title
* test: move menu
* test: move menu
* test: move menu
* test: menu insert page before
* test: menu insert page before
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: menu test
* test: insert page after
* test: insert page after
* test: create new page
* test: menu test refactor
* test: page test
* test: page header
* test: page title
* test: edit page title
* refactor: remove DesignerControl
* test: page test
* test: page test
* test: page tab test
* test: page tab move test
* test: page tab move test
* test: block test
* chore: better locators
* test: add block test
* test: block test
* test: action & field test
* fix: should not disable add-menu-item
* chore: better test id for block
* chore: optimize Action
* chore: remove role in BlockItem
* test: block test
* test: edit block title
* test: edit block title
* test: plugin manager ui test
* test: plugin manager remove ui test
* test: plugin manager remove ui test
* test: plugin manager remove ui test
* test: plugin manager enable ui test
* feat: improve locators
* test: menu test
* test: menu test
* test: menu test
* test: page test
* test: page test
* test: block test
* test: block test
* test: block test
* test: field test
* test: field test
* test: field test
* test: field test
* test: field test
* test: field test
* chore: menu & add block
* test: action test
* chore: initializer
* chore: testid -> aria label
* chore: tabs
* test: action test
* test: action test
* test: action test
* chore: designers
* refactor: optimize schemaInitializer
* refactor: rename
* chore: add collectionName
* chore: block item
* chore: action
* fix: avoid crashting
* chore(e2e): add __E2E__
* chore: all dialog
* test: action test
* test: action test
* test: field test
* test: field test
* test: field test
* test: field test
* test: page test
* chore: add aria-label for block menu
* Revert "chore: add aria-label for block menu"
This reverts commit 6a840ef816ee1095484dc268b5dfa1bbe6cd8cbe.
* test: action test
* test: page test
* chore: optimize aria-label of Action
* test: pm test
* chore: schema-initializer
* test: pm test
* chore(e2e): increase timeout
* chore: schema settings
* chore: optimize table
* chore: workflow
* chore: plugin manager
* chore: collection manager and workflow
* chore: details of workflow
* chore: remove testid of Select
* test: fix unit-tests
* test: fix unit-tests
* test: menu test
* test: page test
* test(e2e): passing tests
* test: page test
* test: block test
* test: field test
* test: fix unit test
* chore: should use hover
* test: field test
* test: passing tests
* chore: passing tests
* test: action test
* chore: fix CI
* chore: fix CI
* test: pm test
* chore: increase timeout in CI
* test: blcok test
* revert: plugin card
* test: pm test
* test: pm test
* chore: remove testid for Modal
* refactor: rename testid
* fix: __E2E__ should be true in CI
* fix(buildPlugin): __E2E__ should be true in CI
* fix: __E2E__
* Revert "fix: __E2E__"
This reverts commit c899a33761fbfab94283f6bf41eae197f889068b.
* fix: __E2E__
* fix: passing tests
* test: action test optimize
* test: menu page pm test
* test: menu page pm test
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-04 12:39:44 +08:00
katherinehhh
9ec2b50990
fix: import action should not visible when view collection not editable ( #2957 )
...
* fix: import action should not visible when view collection not editable
* refactor: action in view collection block
2023-11-04 08:29:59 +08:00
Junyi
1f9dae6ebd
fix(plugin-workflow): fix variables and form changed ( #2955 )
2023-11-03 05:08:11 -07:00
katherinehhh
ac8828196a
fix: target collection pointed to by tableoid is incorrect ( #2952 )
2023-11-03 10:55:40 +08:00
Junyi
a722d0af5a
feat(plugin-workflow): add zoomer for workflow canvas ( #2951 )
...
* feat(plugin-workflow): add zoomer for workflow canvas
* fix(plugin-workflow): fix zoomer position
2023-11-02 07:08:34 -07:00
Dunqing
a90d5fe6d6
feat(map-plugin): supports connecting each point into a line ( #2216 )
...
* feat(map-plugin): supports connecting each point into a line
* feat: update
* feat: support startPoint and endPoint
* fix: data refresh is incorrect when sort changed
* feat: support google map
2023-11-02 15:03:49 +08:00
Dunqing
ba011e2df6
fix(calendar): render data of next month is incorrect ( #2942 )
...
* fix(calendar): render data of next month is
incorrect
* fix: start date is incorrect when start date field is association field Close T-2336
2023-11-02 11:00:34 +08:00
Dunqing
7bbd7e6f2b
fix(custom-request): parsed not working when the value of the variable is of type o2m. ( #2926 )
...
* fix: parse o2m variables doesn\'t work
* fix: currentRecord.id doesn't work
* fix: x-button missing border-bottom
* fix: currentUser with association
* fix: filter underfined
* fix: cannot get the value by variables
2023-11-02 10:26:56 +08:00
chenos
4bb6ed4813
feat: add pro-plugins dir
2023-11-02 10:25:21 +08:00
chenos
979fc03a57
feat: add env.PLUGINS_DIRS
2023-11-01 22:32:34 +08:00
Rain
6449e2fdb8
chore(e2e): optimize variable and timeout
2023-11-01 12:00:28 +08:00
chenos
2bb0f7c51c
chore(versions): 😊 publish v0.14.0-alpha.8
2023-11-01 09:52:49 +08:00
chenos
2008bfa54a
fix(import): filter non-existent fields
2023-10-31 12:11:15 +08:00
被雨水过滤的空气-Rain
f374c2f9b5
fix(e2e): APP_BASE_URL ( #2938 )
...
* fix: should use APP_BASE_URL
* chore: should not start local service when setting APP_BASE_URL
* fix: should use process.env.APP_BASE_URL
2023-10-30 18:08:07 +08:00
被雨水过滤的空气-Rain
e67107cd2e
refactor(variable): rename ( #2937 )
2023-10-30 14:57:28 +08:00
chenos
e1c30f25e2
fix: theme migration error ( #2929 )
...
* fix: theme migration error
* fix: themeConfig:list public
* fix: item.changed
* refactor: make better
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-28 17:14:31 +08:00
chenos
6f3681c2aa
fix: app quickstart ( #2921 )
...
* fix: app quickstart
* fix: test
* fix: test
---------
Co-authored-by: Chareice <chareice@live.com>
2023-10-27 19:40:44 +08:00
被雨水过滤的空气-Rain
1ec2d00208
feat(e2e): add test.pgOnly ( #2923 )
2023-10-27 16:54:11 +08:00
被雨水过滤的空气-Rain
29bf187fbf
chore: optimize locators ( #2833 )
...
* test(e2e): better locators for designer buttons
* fix: make test passing
* refactor: remove DesignerControl
* chore: better locators
* fix: should not disable add-menu-item
* chore: better test id for block
* chore: optimize Action
* chore: remove role in BlockItem
* feat: improve locators
* chore: menu & add block
* chore: initializer
* chore: testid -> aria label
* chore: tabs
* chore: designers
* refactor: optimize schemaInitializer
* refactor: rename
* chore: add collectionName
* chore: block item
* chore: action
* fix: avoid crashting
* chore(e2e): add __E2E__
* chore: all dialog
* chore: add aria-label for block menu
* Revert "chore: add aria-label for block menu"
This reverts commit 6a840ef816ee1095484dc268b5dfa1bbe6cd8cbe.
* chore: optimize aria-label of Action
* chore: schema-initializer
* chore(e2e): increase timeout
* chore: schema settings
* chore: optimize table
* chore: workflow
* chore: plugin manager
* chore: collection manager and workflow
* chore: details of workflow
* chore: remove testid of Select
* test: fix unit-tests
* test: fix unit-tests
* test(e2e): passing tests
* test: fix unit test
* chore: should use hover
* test: passing tests
* chore: passing tests
* chore: fix CI
* chore: fix CI
* chore: increase timeout in CI
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-27 15:32:17 +08:00
katherinehhh
e35e4af5e7
refactor: reset form values after create action ( #2905 )
...
* refactor: reset form after create action
* fix: association select support reset
* fix: map field support form reset
* fix: formula field support form reset
* fix: josn field support form reset
* fix: attachement field support form reset
* fix: map field support form reset
* fix: map field support form reset
* fix: map field support form reset
* fix: console
2023-10-27 09:45:34 +08:00
被雨水过滤的空气-Rain
24c10a6f00
chore: upgrade @formily/antd-v5 ( #2920 )
2023-10-27 08:35:42 +08:00
Rain
c926b6aef2
chore: update comment
2023-10-27 07:56:04 +08:00
Dunqing
564e0a08c9
fix(core): print not work when has sub-form or sub-details ( #2852 )
2023-10-26 20:34:22 +08:00
katherinehhh
108453f90c
fix: association block was not associated after adding data ( #2907 )
2023-10-26 16:41:38 +08:00
ChengLei Shao
a1c425f733
fix: error when post create action with emtpy value ( #2916 )
...
* fix: error when post create action with emtpy value
* chore: sanitize
2023-10-26 11:42:09 +08:00
chenos
e62d383bf1
fix: removed plugins, no longer added when upgrading ( #2917 )
2023-10-26 11:01:45 +08:00
被雨水过滤的空气-Rain
b8bc32f421
fix: disappearing of fixed-block option ( #2914 )
2023-10-25 22:50:28 +08:00
katherinehhh
bbe7eed314
fix: linkage rules cause abnormal field display ( #2913 )
2023-10-25 21:45:52 +08:00
katherinehhh
101e1f8f97
fix: useRecord ( #2911 )
2023-10-25 17:27:21 +08:00
chenos
d492471ed5
fix: useValuesFromRecord with cloneDeep ( #2902 )
...
* fix: useValuesFromRecord with cloneDeep
* fix: omit uiSchema.rawTitle
* fix: disabled
2023-10-25 08:58:45 +08:00
ChengLei Shao
e2a420afcd
fix: app fix at initialized state ( #2908 )
...
* chore: start app if app is initialized status
* fix: start app at gateway
* fix: test
2023-10-25 08:41:38 +08:00
katherinehhh
0a3545aabd
fix: cascadeSelect title label display error ( #2904 )
2023-10-24 20:32:06 +08:00
katherinehhh
6b46b166cd
fix: foreignKey undefined in association field ( #2903 )
2023-10-24 16:43:21 +08:00
katherinehhh
266a4ccb08
fix: linkage rule memory overflow ( #2899 )
...
* fix: linkage rule memory overflow
* fix: linkage rule memory overflow
* refactor: linkage rule
* refactor: linkage rule
2023-10-24 15:52:00 +08:00
jack zhang
741e220fd3
fix: remove search by packageName ( #2901 )
2023-10-24 10:24:31 +08:00
katherinehhh
08f213bc16
fix: fileManager selector should be radio when not allow multiple ( #2884 )
2023-10-23 19:12:12 +08:00
ChengLei Shao
d751b30b34
chore: expose auth manager option in application ( #2894 )
2023-10-23 15:41:35 +08:00
chenos
f51c06e7b8
fix: uiSchemaTemplates:list 403
2023-10-22 13:32:52 +08:00
Junyi
5fad821eab
refactor(plugin-workflow): add property to determine workflow type triggerable on ui ( #2890 )
2023-10-21 06:44:35 -07:00
被雨水过滤的空气-Rain
cde25ed871
fix(variable): compat old variable names ( #2889 )
...
* fix(variable): compat old variable names
* refactor: remove LocalVariablesProvider
2023-10-21 14:23:06 +08:00
Rain
2ec3130f46
chore: fix style of variable input in workflow
2023-10-21 11:44:41 +08:00
被雨水过滤的空气-Rain
75f97e7e0c
fix: disappearing of sub-form data ( #2888 )
2023-10-21 11:31:38 +08:00
被雨水过滤的空气-Rain
dc4754750d
fix(variable): fix currentObject ( #2887 )
...
* fix(variable): fix currentObject
* refactor: rename
2023-10-21 10:19:34 +08:00
katherinehhh
2dbb095529
refactor: assocation select file clear linkage ( #2885 )
2023-10-20 17:31:08 +08:00
Dunqing
d2bf691b69
fix(plugin-custom-request): improve x button style and afterSuccess not work when manualClose is enable ( #2882 )
...
* feat: improve x button style
* fix: manualClose does not enable logic
2023-10-20 16:06:37 +08:00
被雨水过滤的空气-Rain
f5f74382f8
fix(variable): make all fields of currentForm and currentObject variable optional ( #2878 )
2023-10-20 14:16:29 +08:00
katherinehhh
bc758e6846
fix: non UI configured states should only display corresponding inhreited collection block ( #2879 )
2023-10-20 11:39:04 +08:00
katherinehhh
b587560a10
fix: assocition select rendering error in create mode ( #2880 )
2023-10-20 10:35:56 +08:00
katherinehhh
7e33912242
fix: action linkage not work in detail block ( #2875 )
2023-10-20 10:34:25 +08:00
katherinehhh
74a6d49181
fix: record picker did not refresh list after adding data ( #2877 )
2023-10-20 08:56:19 +08:00
katherinehhh
0be4e6d94d
fix: select field incorrect rendering in association field block ( #2876 )
...
* fix: select field incorrect rendering in assoction field block
* fix: select field incorrect rendering in assoction field block
2023-10-19 22:56:04 +08:00
被雨水过滤的空气-Rain
e05a30380a
feat(variable): add current parent record ( #2857 )
...
* feat(variable): add currentParentRecord
* chore: resolve table actions
* chore: get collection name of parent
* chore: table block and details block
* chore: list block
* chore: grid card block
* chore: calendar
* fix: bulk button
* refactor: use useMemo
* fix: fix form block
2023-10-19 22:55:05 +08:00
Dunqing
010c286f7c
fix(plugin-custom-request): variables not work in form block ( #2873 )
...
* fix: custom-request not work in form
* feat: setup logger
* test: add test case and fix crush error
* feat: improve logger
* feat: update log option
* fix: logger
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-19 22:49:33 +08:00
jack zhang
07c5b7b0eb
fix: remote plugin name ( #2872 )
2023-10-19 19:17:58 +08:00
ChengLei Shao
cc676c3dda
feat(database): sync false option ( #2864 )
2023-10-19 16:12:12 +08:00
Junyi
9cbae661b1
fix(client): fix varaible textarea setRange bug ( #2862 )
2023-10-19 01:02:52 -07:00
katherinehhh
0e9ab35254
fix: after successful submission failed to config redirectTo ( #2867 )
2023-10-19 15:42:13 +08:00
katherinehhh
18543f40e7
fix: m2o association field should not allow sub-table as field component ( #2865 )
2023-10-19 14:58:01 +08:00
katherinehhh
e920629a91
fix: field in detail block should not allow config default value ( #2858 )
2023-10-18 10:50:25 +08:00
ChengLei Shao
a4cccb4032
chore: ci yarn cache ( #2853 )
...
* chore: github action setup node
* chore: github action
* chore: yarn install options
* chore: action cache
* fix: yml
* chore: workflow yaml
* chore: workflow yaml
* chore: db creator log
2023-10-18 07:40:39 +08:00
ChengLei Shao
02559b61ba
feat(ci): run backend tests concurrently ( #2815 )
...
* chore: run backend tests concurrently
* fix: mock app server create database
* chore: using @swc/jest instead of ts-jest
* chore: create test database
* chore: database distributor
* fix: test collection manager
* fix: test
* chore: to use Jest.mock, change the formatter to the commonjs module
* chore: db acquire
* chore: github action
* fix: pg test action
* chore: formatter
* chore: jest workaround
* fix: mysql test
* chore: mysql github action
* chore: clean storage
* chore: gitignore
* chore: max workers
2023-10-17 22:22:45 +08:00
Dunqing
df552619dd
feat(custom-request): improve x button of variable ( #2829 )
...
* fix: revert the modal style
* feat: improve x button of variable
2023-10-16 18:59:48 -05:00
Junyi
73b168ac25
refactor(client): add exports ( #2846 )
2023-10-16 23:28:17 +08:00
被雨水过滤的空气-Rain
9db9b9e7af
fix(variable): should have currentObject in sub-blocks ( #2823 )
...
* chore: avoid crashing
* fix(variable): should have currentObject in sub-blocks
2023-10-16 22:49:48 +08:00
被雨水过滤的空气-Rain
24d914b0ef
fix: revert linkage rules ( #2821 )
...
* fix: revert linkage rules
* fix: move fields
2023-10-16 18:28:10 +08:00
被雨水过滤的空气-Rain
e5cca1dcb1
fix: should not display currentRecord in creation form block ( #2814 )
...
* fix: should not display currentRecord in creation form block
* fix: avoid crashing
* fix: fix T-2212
2023-10-16 18:23:41 +08:00
jack zhang
dc97149164
fix: codesanbox bug ( #2842 )
2023-10-16 15:03:32 +08:00
katherinehhh
dd892f5bae
revert:association field log ( #2840 )
...
* revert: associotn field log
* revert: associotn field log
2023-10-16 10:41:44 +08:00
katherinehhh
6a7e7b3594
fix: association field in assign field should set title field as collection field config ( #2839 )
2023-10-16 10:31:10 +08:00
jack zhang
a693f1c79e
fix: version source ( #2836 )
...
* fix: remote plugin
* fix: change version source
---------
Co-authored-by: test <test@mail.com>
2023-10-15 20:30:58 +08:00
被雨水过滤的空气-Rain
a51df00750
feat: support filter blocks in select record drawer ( #2828 )
...
* feat: support filter blocks in select record drawer
* feat: improve UX
* chore: add migration
2023-10-15 14:05:54 +08:00
jack zhang
3510506db3
fix: remote plugin ( #2831 )
2023-10-14 10:19:10 +08:00
被雨水过滤的空气-Rain
166521bcdb
fix: fix auto-close dialog ( #2825 )
...
* fix: fix auto-close dialog
* chore: skip tests
2023-10-13 20:41:16 +08:00
chenos
200138350b
fix(file-manager): improve default values for thumbnail rules
2023-10-13 19:49:51 +08:00
chenos
2d593175b9
feat(file-manager): support configuring thumbnail rules ( #2810 )
2023-10-13 16:40:45 +08:00
Junyi
1f1e7e34f5
feat(client): add disabled for initializer switch and undeletable for action settings ( #2820 )
...
* feat(client): add disabled for initializer switch and undeletable for action settings
* refactor(client): adjust api
2023-10-13 01:38:53 -07:00
Junyi
62d9200657
fix(client): fix action component warning ( #2818 )
2023-10-13 00:49:18 -07:00
katherinehhh
2a8cc10faa
fix: multiple select should assigned null after clear value ( #2822 )
2023-10-13 15:46:33 +08:00
Rain
3f363f67b8
chore: don't disable the variable option yet
2023-10-13 15:38:34 +08:00
Dunqing
bf099a4364
feat(plugin-custom-request): support better custom-request ( #2536 )
...
* feat(plugin-custom-request): support better custom-request
* feat: re implement custom request
* feat: complete configuration
* feat: support request in server
* feat: improve usage
* feat: support request
* feat: remove customRequests when action is deleted
* feat: avoid override
* fix: the data is not latest
* feat: should autoSize in url
* feat: support title and acl
* fix: i18n
* feat: support display title
* feat: i18n supports
* refactor: acl check
* feat: better method
* fix: style
* fix: remove unused code
* fix: acl
* docs: update
* fix: upgrade
* feat: hidden skip validator option and display should display data
* feat: support root access all custom-request
* chore: update deps
* fix: limit height of modal body, Close T-1682
* fix: parse incorrect, Close T-1686
* fix: i18n, Close T-1684
* fix: linkage rules incorrect, Close T-1719
* fix: missing pass appends, Close T-1720
* fix: should update initialValues when it changed
* feat: update better message
* fix: permission incorrect
* test: setup
* refactor: fix locale
* chore: update deps
* feat: move to @nocobase
* fix: dir
* fix: ui.*
* feat: add listByCurrentRole action, add decorator instead of acl
* fix: remove title field
* feat: compatible pervious version
* feat: support passing x-* headers to custom-request
* feat: support list all keys
* fix: support baseURL, close T-2090
* fix: remove unused code
* fix: sqlite, Close T-2092
* fix: close T-2089
* feat: alert error when request settings doesn't configure, Close T-2101
* feat: improve message
* chore: fix eslint error
* fix: fix version of plugin-custom-request
* fix: build error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-10-13 15:16:50 +08:00
katherinehhh
04db43985c
fix: cascadeselect report error in m2m association field ( #2819 )
2023-10-13 11:48:04 +08:00
Rain
4226d7961c
chore: avoid crashing
2023-10-13 08:52:24 +08:00
katherinehhh
a3de91b37f
fix: assign field modal cantnot open ( #2807 )
2023-10-12 16:45:17 +08:00
YANG QIA
89361ef61c
fix(auth): SSO issues ( #2733 )
...
* fix(auth): sso switch popup to rediect (fix T-2024)
* refactor: auth process optimization
* fix: test
* chore: add error handler
* fix(auth): sso redirection issue of sub app
* Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737 )"
This reverts commit beb4793051
.
* Revert "Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737 )""
This reverts commit 301a85d767
.
* refactor(oidc): improve validate logic
* refactor(saml): improve auth logic
* fix: test
* refactor(cas): improve auth logic
* chore: add error handler
* fix(oidc): subapp callback issue
* fix: add dependency
* chore: add dependency
* fix(auth): set default `userBindField:email`
2023-10-12 00:54:00 -05:00
katherinehhh
49f4d1828d
fix: data scope report error with invalid variables ( #2811 )
...
* fix: data scope error with invalidate variables
* fix: data scope error with invalidate variables
2023-10-12 13:34:17 +08:00
katherinehhh
843677c183
fix: option should clear when data scope change ( #2800 )
...
* fix: option should clear when data scope change
* refactor: data scope linkage in association select
2023-10-12 10:06:49 +08:00
被雨水过滤的空气-Rain
93e32114ca
fix: the input box displayed should correspond to the field type ( #2805 )
...
* test: add test
* fix: the input box displayed should correspond to the field type
2023-10-12 09:27:35 +08:00
katherinehhh
72367a9f85
fix: record picker cannot select data when editing ( #2798 )
...
* fix: record picker cannot select data when editing
* refactor: rename file name
* fix: just run the lazy load once
* test: add test
* test: fix test
* chore: better comment
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-11 19:28:17 +08:00
ChengLei Shao
2dc964d4f1
feat: add measure execution function ( #2801 )
2023-10-11 19:15:59 +08:00
Rain
d8759dc199
chore: add comment
2023-10-11 14:30:15 +08:00
katherinehhh
87a8b2e844
fix: fix the wrong way to determine form type ( #2787 )
...
* fix: depulicate action should load data as depulicate fields config
* fix: use formBlockType
* Revert "fix: depulicate action should load data as depulicate fields config"
This reverts commit 5acb6a1c7046ae8a89243edc4529a5201a9a8f14.
* Revert "fix: should allow to set default value in relationship form block (#2777 )"
This reverts commit 0140e623a6
.
* fix: should not lazy load data of association fields when creating form
* fix: fix subTable
* test: add test
* test: add test
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-11 14:24:31 +08:00
jack zhang
af32a4e59a
fix: bug ( #2797 )
2023-10-11 11:17:20 +08:00
被雨水过滤的空气-Rain
3793bb6cb7
fix: should not show loading when children is enpty in menu ( #2796 )
2023-10-10 23:49:19 +08:00
被雨水过滤的空气-Rain
9d7945ce2c
fix: should save operators ( #2794 )
2023-10-10 23:28:20 +08:00
Junyi
488aac2e2c
fix(client): fix undefined field method on button ( #2795 )
2023-10-10 08:20:47 -07:00
katherinehhh
59f74326b4
fix: data scope linkage in association field ( #2786 )
2023-10-10 20:01:08 +08:00
被雨水过滤的空气-Rain
9085f5ca20
chore(e2e): delete collectionName key ( #2783 )
...
* chore(e2e): delete collectionName key
* test: add test
2023-10-10 15:03:17 +08:00
Junyi
b2883ff55b
fix(client): fix rendering cause range bug ( #2785 )
2023-10-10 13:46:17 +08:00
chenos
bccec4385a
fix: percent value invalid ( #2782 )
...
* fix: percent value invalid
* fix: useMemo
2023-10-10 11:54:46 +08:00
katherinehhh
79f9e04413
fix: percent value should divide by 100 ( #2781 )
2023-10-10 11:14:47 +08:00
Junyi
08d4994305
Revert "fix(client): fix rerendering cause range bug ( #2770 )" ( #2779 )
...
This reverts commit a1ee2afabd
.
2023-10-10 09:37:56 +08:00
Rain
03133fc647
chore: typo
2023-10-10 08:32:04 +08:00
Rain
9ee18ca2aa
refactor(e2e): shuold use test.extend to extend createCollections (T-2157)
2023-10-10 08:26:23 +08:00
被雨水过滤的空气-Rain
f85fb6d7ba
refactor(e2e): support batch creation of collections ( #2778 )
...
* chore: types
* refactor: optimize create collections
* chore: make throw error
* chore: export createCollections
2023-10-10 07:46:24 +08:00
被雨水过滤的空气-Rain
0140e623a6
fix: should allow to set default value in relationship form block ( #2777 )
2023-10-09 22:57:59 +08:00
Rain
88807b3cdf
Revert "fix(default): should allow to set default value in relationship form block ( #2774 )"
...
This reverts commit cc7ec2ffd6
.
2023-10-09 19:49:03 +08:00
ChengLei Shao
1defb5db51
fix: create collections with multiple records ( #2753 )
...
* fix: create collections with multiple items
* chore: test
* fix: sync collection when pending field resolved
* fix: test
2023-10-09 17:35:04 +08:00
Junyi
a1ee2afabd
fix(client): fix rerendering cause range bug ( #2770 )
2023-10-09 16:56:37 +08:00
被雨水过滤的空气-Rain
cc7ec2ffd6
fix(default): should allow to set default value in relationship form block ( #2774 )
2023-10-09 16:52:15 +08:00
katherinehhh
9c29ae9ed8
fix(percent): percent failed to input 0 ( #2769 )
...
* fix: percent failed to input 0
* fix: percent failed to input 0
2023-10-09 15:10:47 +08:00
katherinehhh
c923dfafed
refactor(duplicate action):duplicate fields error when change duplicate mode & support unselect all ( #2768 )
...
* refactor: depulication action
* refactor: depulication action
2023-10-09 14:29:26 +08:00
ChengLei Shao
caa75877ab
feat(gateway): extend app selector as middleware ( #2761 )
...
* feat: extend app selector as middleware
* fix: test
* chore: prevent duplicate middleware additions
2023-10-09 13:02:36 +08:00
Rain
869f3001e4
fix(ErrorFallback): fix style of Feedback button
2023-10-09 12:44:55 +08:00
Rain
fa3127e467
chore(default): avoid crashing
2023-10-09 12:12:33 +08:00
被雨水过滤的空气-Rain
3b53d7c623
fix(expression): should reset lastIndex of regular ( #2767 )
...
* fix(expression): should reset lastIndex of regular
* test: add e2e
* chore: change title of test
2023-10-09 11:39:05 +08:00
Rain
67f01db779
Revert "fix(expression): should reset lastIndex of regular"
...
This reverts commit da6ae90231
.
2023-10-09 10:41:55 +08:00
Rain
da6ae90231
fix(expression): should reset lastIndex of regular
2023-10-09 10:39:47 +08:00
被雨水过滤的空气-Rain
0d67141a6b
fix(variable): should not return undefined when parsing 0 ( #2766 )
2023-10-09 08:46:46 +08:00
被雨水过滤的空气-Rain
f5399c2cf0
fix(variable): should not disable options in expression ( #2764 )
2023-10-08 22:29:17 +08:00
被雨水过滤的空气-Rain
3b76a84605
fix(subtable): should not have a value by default and fix key of table ( #2763 )
...
* fix(subtable): should not have a value by default and fix key of table
* fix(subtable): fix invalid to set default value
2023-10-08 20:55:30 +08:00
Rain
7739778ffc
fix: avoid crashing
2023-10-08 11:34:20 +08:00
被雨水过滤的空气-Rain
0c5ee4359b
style: fix PageHeader ( #2760 )
2023-10-08 10:10:42 +08:00
chenos
b0b1de9c75
fix: menu item title not updated after modification
2023-10-07 22:26:08 +08:00
被雨水过滤的空气-Rain
b4d2102e75
test(e2e): add a test for check table row ( #2757 )
2023-10-07 17:54:11 +08:00
katherinehhh
26a3f2f589
style: list block style improve ( #2755 )
2023-10-07 16:02:30 +08:00
Rain
384cc1c56c
chore(versions): 😊 publish v0.14.0-alpha.7
2023-10-07 15:53:49 +08:00
被雨水过滤的空气-Rain
573cde0a21
feat(variable): lazy load association fields ( #2382 )
...
* refactor: remove useless code
* feat: should always show user variable
* style: optimize style of variable input
* feat: change maxDepth of user varialbe to 3
* refactor: migrate getFieldDefaultValue to SchemaSettings.tsx
* feat: support to parse variables
* feat: support to parse array fields
* refactor: make testing more stable
* chore: fix CI
* feat: support to parse current user
* fix: fix tests
* feat: support to register variable
* feat: support to parse "$context"
* refactor: remove useless code
* fix: fix build
* fix: fix build
* test: make stable
* docs: add doc
* fix: fix T-1267
* fix: fix T-1268
* fix: fix T-1269
* fix: fix T-1271
* fix: fix T-1274
* refactor: improve code
* feat(variable): support local variable
* fix: fix T-1280
* refactor: close T-881
* refactor: remove useLazyLoadAssociation
* fix: fix T-1289,T-1290
* fix: fix T-1296
* refactor(AssignedField): replace user variable
* refactor: extract useBaseVariable
* refactor(AssignedField): replace variables
* feat(useVariables): support to use array as local variables
* refactor: improve variables (T-1295)
* feat: limit user choice (T-1297)
* fix: fix T-1305
* refactor: extract as SchemaSettings.DataScope
* refactor: improve linkage rules
* refactor: improve linkage rules of Action
* chore: fix build
* refactor: improve data scope of association fields
* chore: fix build
* feat: select limit
* refactor: use VariableInput to replace other
* fix: fix can not input
* fix(AssignedField): fix cannot close variables list
* test: fix errors
* refactor: migrate to new file
* fix: uniq
* fix: filter empty values
* fix: transform variables value
* fix: should sum numbers (T-1330)
* fix: fix Select (T-1337)
* refactor: use useMemo
* refactor: use hooks
* refactor: use hooks
* refactor: use hooks
* refactor: remove useless code
* refactor: rename `$form` to `$nForm` and `$record` to `$nRecord`
* fix: fix T-1334
* refactor(LinkageRuleActionGroup): use hooks
* refactor(FormButtonLinkageRuleAction): use hooks
* refactor: add type
* fix: avoid crashing
* refactor: rename `$date` to `$nDate`
* fix: fix T-1348
* perf: avoid duplicate requests
* test: fix error
* fix: fix T-1355
* fix: fix T-1355
* fix: fix T-1345
* fix: fix T-1346
* refactor(useVariableOptions): replace query with parameter
* fix: fix T-1335
* chore: fix build
* fix: fix T-1453
* refactor: remove useless code
* fix: fix T-1447
* fix: should update when seting default value
* fix: fix T-1454
* chore(eslint): ignore docker
* fix: fix T-1440
* refactor: use hooks
* fix: fix T-1332
* fix(defaultValue): should use Select mode
* fix(defaultValue): fix Checkbox
* refactor: rename and comment
* refactor: rename file name and hook name
* feat(subForm): support lazy load association fields
* fix: filter empty values
* fix(defaultValue): schema type of Checkbox should be void
* fix: fix T-1479
* fix: fix T-1491
* fix(ToOneNester): should use RecordProvider
* fix: fix T-1493
* chore: add comment
* fix: fix T-1495
* chore: fix build
* test: make pass
* fix: fix T-1503
* fix: fix T-1504
* fix: fix transformVariableValue
* fix: disable unsupport options
* refactor(useVariableOptions): add noDisabled params
* fix: data scope support to select to-many fields
* chore: add comment
* refactor: improve default value
* refactor: extract as useIsAllowToSetDefaultValue
* fix: should not support to set default value in edit mode
* fix: only the default values for sub-forms and sub-tables are valid
* fix: limit default value of association fields
* fix: fix '$nForm' variable
* fix: allow all inherit chain
* fix: optimize default value
* fix: optimize json field
* fix(currentObject): avoid error
* fix: should not show variable string
* fix: active fields
* fix: avoid errors
* feat: support special case
* fix: fix CI
* chore: fix build
* fix: json
* refactor: rename flag name
* fix: fix T-1559
* fix: fix T-1515
* fix: avoid crash
* fix: fix T-1520
* fix: fix T-1521
* fix: fix T-1523
* fix: fix T-1563
* fix: fix T-1565
* fix: fix T-1525
* fix: fix T-1524
* fix: fix T-1603
* fix: fix T-1332
* fix: fix T-1559
* fix: fix T-1602
* fix: fix T-1608
* fix: fix T-1612 T-1609
* fix: fix T-1681
* fix: fix T-1711
* fix: fix T-1713
* fix: fix T-1680
* chore: close T-1550
* fix: fix T-1507
* chore: avoid crashing
* fix: fix T-1557
* perf: close T-1726
* fix: fix T-1727
* fix: fix T-1741
* fix: fix T-1740
* chore(workflow): compact
* chore: should not to support to set default value in assign field values
* perf: compat and perf (T-1736)
* fix: fix T-1872
* fix: fix T-1877
* fix: fix quarter variables
* chore: add README
* chore: front-end should not depend on back-end code
* chore: should disable all variable options if no field is selected
* chore: should be a leaf if it has no children
* chore: fix build error
* fix: compat $form
* fix: compat $form
* chore: fix build
* chore: fix build
* fix: typeError: Cannot read properties of undefined (reading 'template')
* chore: fix test
* chore: add test
* fix: fix T-2072
* chore: optimize eslint
* perf: reduce number of requests
* fix: fix JSON
* test: fix error
* fix(e2e): avoid error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-07 15:49:09 +08:00
chenos
c4f572fda8
fix(tabs): destroy inactive tab pane
2023-10-07 15:36:41 +08:00
ChengLei Shao
dbdd587b71
chore(database): clean invalid associations in collection model when set field failed ( #2720 )
...
* chore(database): clean invalid associations in collection model when set field failed
* fix: import
* chore: test
2023-09-27 22:03:04 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e ( #2624 )
...
* chore: upgrade vitest to v0.34.3
* feat: setup NocoBase
* chore: preparing test env
* test: add a test of rigster
* refactor: rename test dir to testUtils
* chore: add tests
* chore: add ci for e2e
* chore: fix ci
* chore: avoid error in CI
* chore: add some utils for test
* chore: make more stable
* chore: should not close server in CI
* chore: add comments
* chore: change output dir
* fix: should use current branch to run tests
* chore: should request systemSettings by api in e2e
* chore: should build first in e2e CI
* chore: remove key
* chore: use execa to replace execSync
* refactor: extract test suite
* chore: add gotoPage
* chore: update uid of pageSchema
* chore: update collection name
* chore: use faker.js to generate data
* refactor: extract page config
* chore: ignore for association fields in faker
* chore: add testid
* chore: optimize action designer
* chore: associationFilter.Item designer
* chore: AssiciationFilter & BlockItem
* Revert "chore: AssiciationFilter & BlockItem"
This reverts commit b418df650e106fd0c8e23035d2f75acf60dcafe4.
* Revert "chore: associationFilter.Item designer"
This reverts commit 7aa4d35c1af7f3a780b370d8b1b44aac01697be3.
* Revert "chore: optimize action designer"
This reverts commit ff717b972ffd64f7968d565a3a84ad617ff889e2.
* chore: optimize Designer
* chore: compat with older browsers
* chore: use describe to avoid hooks is not run
* chore: add no-floating-promises to eslint rules
* chore: support argv
* chore: demo
* chore: better testId
* chore: change .e2e.ts to .test.ts
* fix(SchemaInitializer): avoid error
* refactor: move e2eUtils.ts to @nocobase/test
* fix: move e2eUtils to client
* chore: remove uselesscode
* refactor: add .env.e2e.example
* chore: optimize log
* refactor: use mockPage to replace gotoPage
* chore: update env.e2e
* chore: add APP_BASE_URL
* chore: gitigore
* test: add test related of menu
* chore: add SOCKET_PATH in env
* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
ChengLei Shao
ce879d2dda
feat(application): cron job in application ( #2730 )
2023-09-27 19:31:14 +08:00
chenos
729fdd04b7
feat: add SOCKET_PATH env
2023-09-27 15:30:25 +08:00
katherinehhh
4092451bc9
fix(association-field): sub-table cannot move ( #2727 )
2023-09-27 11:08:38 +08:00
katherinehhh
49c2fbf45d
refactor: file association field should default to using preview field as title field ( #2718 )
2023-09-26 21:25:40 +08:00
Rain
91721a4e8a
fix(SchemaInitializer): avoid error
2023-09-26 16:39:33 +08:00
Rain
b6a6431c6f
fix(SchemaInitializer): avoid crashing
2023-09-26 16:16:06 +08:00
katherinehhh
97f06d03d3
refactor: view collection support jsonb ( #2719 )
2023-09-26 16:09:14 +08:00
chareice
36f512f4b7
chore: jsonb field type map
2023-09-26 15:00:25 +08:00
被雨水过滤的空气-Rain
ff16f59908
perf: improve the UX of SchemaInitializer ( #2666 )
...
* perf: improve the UX of SchemaInitializer
* fix: fix error of Charts block
* fix: fix fields
* fix: fix search
* chore: avoid crash
* chore: fix build
* chore: avoid crash
* refactor: rename SelectCollection to SearchCollections
* refactor: increased code versatility for improved reusability
* fix: fix Add chart
* perf: workflow
* refactor: remove useless code
* fix: fix block template
* fix: should clean search value when creating a block
2023-09-26 13:47:20 +08:00
katherinehhh
8db9fda61b
fix: fileManager did not close drawer after selecting files ( #2716 )
2023-09-26 11:37:21 +08:00
katherinehhh
261678dc56
fix: association block should not close drawer after deleting data ( #2717 )
2023-09-26 11:36:45 +08:00
katherinehhh
d7a00d2581
fix: action linkage rule not effect in tree collection ( #2713 )
2023-09-26 09:43:09 +08:00
katherinehhh
e90eec7031
fix: useAssociationNames ( #2714 )
2023-09-25 22:04:20 +08:00
katherinehhh
291859d6b5
refactor: attachment field support size config ( #2552 )
...
* refactor: attachment field support size config
* style: style improve
2023-09-25 18:21:08 +08:00
katherinehhh
7dd7a65a38
feat: association support select cascade for tree collection field ( #2514 )
...
* feat: association field support cascade select
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: cascadeSelect support m2m association field
* refactor: cascadeSelect support m2m association field
* refactor: code improve
* feat(database): append with options
* feat: recursively load parent instances
* chore: test
* refactor: code improve
* fix: load with appends
* refactor: code improve
* chore: test
* refactor: code improve
* refactor: code improve
* refactor: code improve
* chore: load with belongs to many
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-25 18:18:14 +08:00
ChengLei Shao
505c23b4e1
feat(database): append tree parent recursively ( #2573 )
...
* feat(database): append with options
* feat: recursively load parent instances
* chore: test
* fix: load with appends
* chore: test
* chore: load with belongs to many
* chore: test
2023-09-25 18:17:19 +08:00
ChengLei Shao
edbd15ab5b
feat: support load belongs to association with collection that without primary key ( #2529 )
...
* test: find without pk
* feat: load root models in eager loading tree
2023-09-25 15:34:36 +08:00
ChengLei Shao
376a91b8ec
fix(gateway): should not refresh when application start from error recover ( #2711 )
...
* fix(gateway): should not refresh when application start from error recover
* chore: recover option
2023-09-25 15:26:52 +08:00
YANG QIA
89635982b4
feat(db): add sql collection ( #2419 )
...
* feat(db): add sql collection
* feat: frontend
* perf: issue of select
* fix: sql model
* fix: sql collection schema
* fix: implement sql collection
* fix: dependency
* fix: remove type declaration in actions
* fix: backend test
* chore: remove some ops of block using sql collection
* chore: remove sql collections from Form and Kanban
* feat: add execute button to sql input
* feat(backend): support infer fields by parsing sql
* feat(frontend): support infer interface by parsing sql
* fix: fix update issues and improve
* fix: update issue
* chore: update yarn.lock
* fix: fix T-1548
* fix: fix T-1544
* fix: fix T-1545
* fix: fix T-1549
* fix: test
* fix: fix T-1556
* fix: remove map action diviver
* chore: debug
* chore: remove schema of sql collection
* fix: sql collection schema
* chore: remove debug log & fix T-1555
* fix: fix T-1679
* fix: sql update issue
* fix: sql attribute issue
* fix: bug of star attribute
* fix: test
* fix: test
* fix: reset fields when updating sql collection
* fix(collection-manager): redundant fields after set collection fields
* fix: test
* fix: destory with individuals hook
* chore: save
* chore: test
* fix: fields sync issue
* fix: remove underscored option of sql collection
* chore: mutex in fields.afterDestroy
* fix: test
* chore: yarn.lock
* chore: update collections.setFields
* feat: improve sql input
* fix: fix T-1742 & improve
* chore: fix conflicts
* fix: workspace
* fix: build
* fix: test
* chore: add translations
* fix: reviewed issues
* chore: update yarn.lock
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-09-25 15:03:23 +08:00
katherinehhh
52198e57f9
fix: inherited collection failed to select ( #2710 )
2023-09-25 10:21:12 +08:00
katherinehhh
6bc4434d63
fix: form-data-template failed to clear option ( #2709 )
2023-09-25 09:43:22 +08:00
katherinehhh
51edb770bb
fix: tableoid options value of association field in filter is incorrect ( #2705 )
...
* fix: tableoid option value of association field in filter is incorrect
* fix: the saving method of the association field creation button is not effective
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-09-24 20:02:34 +08:00
katherinehhh
d83afc52ec
fix: saving method of association field creation button is not effect ( #2706 )
...
* fix: the saving method of the association field creation button is not effective
* refactor: code improve
2023-09-24 19:17:55 +08:00
chenos
e522e1f742
fix: upgrade failed
2023-09-24 11:41:26 +08:00
jack zhang
836b34a6a4
fix: gen tsconfig.paths.json bug ( #2708 )
...
* fix: gen tsconfig.paths.json bug
* fix: load remote plugin error
* fix: bug
2023-09-23 10:52:14 +08:00
mytharcher
8eb634459d
chore(versions): 😊 publish v0.14.0-alpha.6
2023-09-22 15:49:50 +08:00
mytharcher
bffa53a04e
chore(versions): 😊 publish v0.14.0-alpha.5
2023-09-22 15:47:28 +08:00
katherinehhh
49b75b6ab6
refactor: view collection support add m2o association field ( #2422 )
...
* refactor: view collection support add m2o association field
* refactor: code improve
2023-09-22 11:09:53 +08:00
被雨水过滤的空气-Rain
9f147085a5
fix: fix operator called of date field ( #2701 )
2023-09-22 10:51:17 +08:00
katherinehhh
b0069ca64a
fix: deep level association field adding error ( #2700 )
2023-09-22 10:34:35 +08:00
Junyi
60aeba4a12
fix(cli): fix template file mode ( #2697 )
2023-09-22 05:35:58 +08:00
mytharcher
d20398f73f
chore(versions): 😊 publish v0.14.0-alpha.4
2023-09-21 23:25:31 +08:00
ChengLei Shao
c88c91e908
fix: collection schema not exists ( #2669 )
...
* fix: collection schema not exists
* chore: test
2023-09-21 17:19:13 +08:00
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