3491 Commits

Author SHA1 Message Date
Junyi
929f2c94d5
fix(plugin-field-sequence): fix read only mode (#6274) 2025-02-26 12:19:55 +08:00
nocobase[bot]
4425d097e2 Merge branch 'next' into develop 2025-02-26 01:53:38 +00:00
Junyi
f042501a61
fix(plugin-workflow): e2e test (#6296) 2025-02-26 09:53:02 +08:00
nocobase[bot]
2205172dd0 chore(versions): 😊 publish v1.5.16 2025-02-26 01:49:50 +00:00
nocobase[bot]
60b1bfc742 chore(versions): 😊 publish v1.6.0-beta.12 2025-02-26 00:09:44 +00:00
nocobase[bot]
62ca319508 Merge branch 'next' into develop 2025-02-25 15:40:37 +00:00
nocobase[bot]
1785d9f44f Merge branch 'main' into next 2025-02-25 15:40:11 +00:00
Junyi
99a0b6bea6
fix(plugin-file-manager): fix file template column type (#6294) 2025-02-25 23:39:41 +08:00
nocobase[bot]
4d9e0d6836 Merge branch 'next' into develop 2025-02-25 15:29:53 +00:00
nocobase[bot]
6cc13958de Merge branch 'main' into next 2025-02-25 15:29:30 +00:00
Junyi
80633ce079
fix(plugin-file-manager): fix migration and add test cases (#6288) (#6293)
* fix(plugin-file-manager): fix migration and add test cases

* fix(plugin-file-manager): fix test case fails for mysql

* fix(plugin-file-manager): fix test cases

* fix(plugin-file-manager): change migration name
2025-02-25 23:29:02 +08:00
chenos
9a653680d4 Merge branch 'next' into develop 2025-02-25 22:44:21 +08:00
mytharcher
d76ca21d29 Merge branch 'main' into next 2025-02-25 21:09:10 +08:00
Junyi
aa8b98d615
fix(plugin-file-manager): fix migration and add test cases (#6288)
* fix(plugin-file-manager): fix migration and add test cases

* fix(plugin-file-manager): fix test case fails for mysql

* fix(plugin-file-manager): fix test cases

* fix(plugin-file-manager): change migration name
2025-02-25 20:53:13 +08:00
nocobase[bot]
f02ba29a62 Merge branch 'next' into develop 2025-02-25 12:00:12 +00:00
chenos
76e5e7c1c0
fix: skip auth check in the public form (#6284)
* fix: skipAuthCheck

* fix: before auth

* fix: skip auth

* feat: add skipAuth option to ResourceActionOptions

* feat: add skipNotify option to ResourceActionOptions

---------

Co-authored-by: sheldon guo <sheldon_66@163.com>
2025-02-25 19:59:46 +08:00
nocobase[bot]
fcfa97a6c7 Merge branch 'next' into develop 2025-02-25 05:13:57 +00:00
Sheldon Guo
8d52fc6c84
refactor: remove unnecessary NavigateIfNotSignIn wrapper from AdminProvider (#6268)
* refactor: remove unnecessary NavigateIfNotSignIn wrapper from AdminProvider

* refactor: remove NavigateToSigninWithRedirect and NavigateIfNotSignIn

* refactor: streamline error handling in authCheckMiddleware

* fix: prevent notification for user role errors in authCheckMiddleware

* fix: use app error to show error message for USER_HAS_NO_ROLES_ERR in authCheckMiddleware
2025-02-25 13:13:35 +08:00
nocobase[bot]
3cbbeb0113 Merge branch 'next' into develop 2025-02-25 04:34:22 +00:00
Katherine
23aadf74e0
refactor: edit block title & description (#6277)
* refactor: edit blokc title & description

* refactor: code improve
2025-02-25 12:33:58 +08:00
nocobase[bot]
a47bc7529a Merge branch 'next' into develop 2025-02-25 01:48:35 +00:00
gchust
3cbf81e5cd
chore: upgrade react types definition (#6278)
* chore: upgrade react type to 18

* chore: update ant design icons to avoid ts error

* fix: ts errors

* fix: ts error after upgrade react types

* fix: some icons ts error

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

* fix: lazy load component type error

* fix: some ts errors

* fix: unit test error after upgrade ant design icons

* chore: remove ts-ignore comment for startTransition
2025-02-25 09:48:13 +08:00
Jiannx
669c7f6335
feat: add backend code to generate file preview url for next (#6281)
* feat: adjust preview field of file collection

* fix: add banckend to generate preview

* fix: undefined error
2025-02-25 09:33:11 +08:00
nocobase[bot]
32f77ffec3 chore(versions): 😊 publish v1.5.15 2025-02-25 00:54:07 +00:00
nocobase[bot]
c4478f42d4 Merge branch 'next' into develop 2025-02-24 21:58:32 +00:00
Zeke Zhang
739fecbbe7 Merge branch 'main' into next 2025-02-25 05:57:38 +08:00
Junyi
cdcea99e30
fix(plugin-file-manager): increase url length (#6275)
* fix(plugin-file-manager): increase url length

* fix(client): fix null value
2025-02-24 22:53:57 +08:00
chenos
7857993dcd
fix: getFilename (#6217) 2025-02-24 22:00:39 +08:00
Jiannx
d1743a1f72
feat: add backend code to generate file preview url (#6223)
* feat: adjust preview field of file collection

* fix: add banckend to generate preview

* fix: undefined error
2025-02-24 21:28:59 +08:00
Zeke Zhang
235fd81e6b
refactor(mobile): optimize style (#6270)
* feat(mobile): improve mobile UI styling and theme

- Adjust GridCard and mobile page styling
- Update mobile theme tokens with compact algorithm
- Refine spacing, border radius, and padding for mobile components

* feat(mobile): enhance workbench block layout and styling for mobile

- Refactor WorkbenchBlock and WorkbenchAction components for improved mobile responsiveness
- Integrate antd-mobile Grid and List components
- Update styling for grid and list layouts
- Optimize responsive space and item rendering
- Remove manual width calculations and resize observers

* feat(mobile): adjust menu item styling for mobile layout

- Add margin and width adjustments for mobile menu items
- Ensure consistent spacing and sizing of menu elements
- Improve visual layout of menu items in mobile view

* feat(mobile): adjust table container margins in mobile layout

- Remove hardcoded negative margins for table containers
- Improve responsive styling for mobile table layouts

* feat(mobile): refine grid card and nester component styling

- Update GridCard component with token-based margin and border radius
- Adjust InternalNester CSS with dynamic padding and margin
- Improve responsive styling for grid and card components

* feat(mobile): clean up and optimize mobile component styles

- Remove unnecessary chart block and action bar styling
- Simplify CSS rules for mobile components
- Clean up commented-out and redundant style definitions

* test(mobile): improve z-index test with precise click positioning

- Add click positioning to edit action buttons in z-index test
- Ensure consistent and precise interaction in multi-level page navigation

* chore: make e2e more stable
2025-02-24 21:12:44 +08:00
nocobase[bot]
b6f666e0d9 chore(versions): 😊 publish v1.6.0-beta.11 2025-02-24 12:10:09 +00:00
Junyi
f8a5999903 refactor(plugin-file-manager): change storage type api and add plugin api (#6246)
* refactor(plugin-file-manager): change storage type api and add plugin api

* fix(plugin-file-manager): fix test cases
2025-02-24 19:04:37 +08:00
nocobase[bot]
b47aca6ced chore(versions): 😊 publish v1.5.14 2025-02-24 10:37:30 +00:00
nocobase[bot]
75d1a9842b Merge branch 'next' into develop 2025-02-24 08:19:09 +00:00
nocobase[bot]
1f2ec084d2 Merge branch 'main' into next 2025-02-24 08:18:44 +00:00
ChengLei Shao
14ed854123
chore: import action (#6269) 2025-02-24 16:18:17 +08:00
nocobase[bot]
5d17e0941d chore(versions): 😊 publish v1.6.0-beta.10 2025-02-24 06:02:03 +00:00
nocobase[bot]
21529d75e8 Merge branch 'next' into develop 2025-02-24 02:12:07 +00:00
Katherine
9eb9d4e000
chore: user center extension (#6213)
* chore(versions): 😊 publish v1.6.0-alpha.24

* chore(versions): 😊 publish v1.6.0-alpha.25

* chore: user center extension

* refactor: change password

* chore: theme

* chore: language

* chore: code improve

* feat: support extending frontend filter operators (#6085)

* feat: operator extension

* fix: bug

* refactor: code improve

* fix: jsonLogic

---------

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

* refactor: remove registerOperators (#6224)

* refactor(plugin-workflow): trigger workflow action settings (#6143)

* refactor(plugin-workflow): move bind workflow settings to plugin

* refactor(plugin-block-workbench): move component to core

* refactor(plugin-block-workbench): adjust component api

* fix(plugin-workflow-action-trigger): fix test cases

* fix(plugin-workflow): fix component scope

* fix(plugin-workflow-action-trigger): fix test cases

* chore(versions): 😊 publish v1.6.0-alpha.26

* feat: support the extension of preset fields in collections (#6183)

* feat: support the extension of preset fields in collections

* fix: bug

* fix: bug

* fix: bug

* refactor: create collection

* fix: config

* fix: test case

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

---------

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

* feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076)

* feat: kanban field extention

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* feat: calender title fields

* feat: background color fields

* fix: bug

* fix: bug

* feat: formula field expression support field

* feat: preset fields

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* revert: preset fields

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: locale

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale

* fix: test

* fix: bug

* fix: test

* fix: test

---------

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

* feat: inline mode

* chore(versions): 😊 publish v1.6.0-alpha.27

* fix(data-source-main): update order

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: code improve

* fix: bug

* fix: improve code

* fix: getFontColor (#6241)

* chore(versions): 😊 publish v1.6.0-alpha.28

* refactor: code improve

* fix: bug

* refactor: code improve

* fix: bug

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: merge bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: update  package.json

* fix: bug

* feat: code improve

---------

Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-24 10:11:42 +08:00
nocobase[bot]
28e652e8ae chore(versions): 😊 publish v1.5.13 2025-02-22 14:06:13 +00:00
nocobase[bot]
4691a6146f chore(versions): 😊 publish v1.6.0-beta.9 2025-02-22 07:09:03 +00:00
nocobase[bot]
65cde80fcd Merge branch 'next' into develop 2025-02-21 23:11:20 +00:00
Sheldon Guo
8e9a2dbd85
feat: add expression prop to TextAreaWithGlobalScope and update ConfigForm (#6221) 2025-02-22 07:10:56 +08:00
Junyi
0ba4e5aa80
refactor(plugin-file-manager): change storage type api and add plugin api (#6246)
* refactor(plugin-file-manager): change storage type api and add plugin api

* fix(plugin-file-manager): fix test cases
2025-02-21 22:22:16 +08:00
gchust
dabf9121ed
fix: incorrect version of plugin block template (#6265)
* fix: request error for ui schemas loading

* fix: incorrect package version
2025-02-21 18:44:43 +08:00
gchust
af5d4d8c73
fix: request error for ui schemas loading (#6264) 2025-02-21 18:31:06 +08:00
chenos
5fbc7697c6
feat: release 202502 (#6259)
* chore(versions): 😊 publish v1.6.0-alpha.24

* chore(versions): 😊 publish v1.6.0-alpha.25

* feat: support extending frontend filter operators (#6085)

* feat: operator extension

* fix: bug

* refactor: code improve

* fix: jsonLogic

---------

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

* refactor: remove registerOperators (#6224)

* refactor(plugin-workflow): trigger workflow action settings (#6143)

* refactor(plugin-workflow): move bind workflow settings to plugin

* refactor(plugin-block-workbench): move component to core

* refactor(plugin-block-workbench): adjust component api

* fix(plugin-workflow-action-trigger): fix test cases

* fix(plugin-workflow): fix component scope

* fix(plugin-workflow-action-trigger): fix test cases

* chore(versions): 😊 publish v1.6.0-alpha.26

* feat: support the extension of preset fields in collections (#6183)

* feat: support the extension of preset fields in collections

* fix: bug

* fix: bug

* fix: bug

* refactor: create collection

* fix: config

* fix: test case

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

---------

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

* feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076)

* feat: kanban field extention

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* feat: calender title fields

* feat: background color fields

* fix: bug

* fix: bug

* feat: formula field expression support field

* feat: preset fields

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* revert: preset fields

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: locale

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale

* fix: test

* fix: bug

* fix: test

* fix: test

---------

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

* chore(versions): 😊 publish v1.6.0-alpha.27

* fix(data-source-main): update order

* fix: improve code

* fix: getFontColor (#6241)

* chore(versions): 😊 publish v1.6.0-alpha.28

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: version

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-21 13:25:17 +08:00
nocobase[bot]
a4e9ce3f53 chore(versions): 😊 publish v1.5.12 2025-02-21 03:16:41 +00:00
gchust
f0d61b414e
fix: public form redirects to login (#6258)
* fix: public form needs login

* fix: public form needs login

* fix: reload templates list after login
2025-02-21 11:09:31 +08:00
gchust
ae6b801132
feat: new block template plugin (#5920)
* feat: new block template plugin

* fix: build error

* fix: support nested template in blocks

* fix: remove undefined x-component properties from schema during template processing [skip ci]

* feat: reset action for template block

* fix: skip dnd error[skip ci]

* fix: dupliate template action[skip ci]

* fix: plugin not shown in test env

* fix: reset action not been shown

* fix: no permission error

* fix: loading error in production env

* fix: cross env dev error

* fix: blocks not shown in production env

* fix: insert template failing for the first time

* chore: merge

* fix: association record option not working correctly

* fix: setting error

* fix: setting

* fix: linkage error

* fix: association settings error

* fix: association record error

* feat: support edit form tpl

* fix: support more blocks

* fix: avoid nested template

* chore: re org codes

* chore: refactor[skip ci]

* chore: required comment for loading template [skip ci]

* refactor: simplify schema handling and add axios interceptors for template blocks[skip ci]

* fix: i18n [skip ci]

* feat: support showing template title in block

* fix: revert to template will lost the template title

* fix: delete operation removing blocks not working

* fix: template label

* fix: i18n error

* fix: form type should be shown only when current record

* feat: show template in the add new popup

* fix: form type switch should not be shown in add new block popup

* fix: missing i18n

* fix: associate fields should be shown only having current record

* fix: switching form not working in cn

* fix: incorrect form associate setting

* fix: uniq action issue

* fix: uniq fields/actions[skip ci]

* fix: style issue

* fix: error in configure actions

* fix: bulk destroy when no records selected

* fix: only show revert to template config in the block level

* fix: table refresh pagination incorrect after deletion

* fix: be able to input name of template

* fix: bulk destroy

* fix: reset setting will sync with template

* fix: block template table style

* fix: missing translatation

* fix: cache issue

* fix: blocks not shown in the popup after modifing the template

* feat: add search for template initializers

* fix: some blocks are missing template related setting

* fix: hide save as template in template configure view

* chore: revert incorrect commit

* fix: batchpatch error

* fix: mobile support

* fix: build error

* fix: limit one template one block

* feat: show revert to template for fields and actions

* fix: build error

* fix: revert to template not refreshing the ui for actions

* fix: revert to template not working for form

* fix: duplicate revert to setting setting item

* chore: rename reset to revert

* feat: disallow delete template's blocks in page

* feat: add colorTemplateBgSettingsHover for template block hover state

* fix: build error

* chore: hide convert to block template setting item for page

* fix: data template should be hidden in edit form

* fix: fields switch should be disabled

* chore: rename var [skip ci]

* fix: should not be able remove field in block

* fix: after revert settings, is able to remove block in template

* fix: revert settings

* fix: nested template block error

* refactor: cache

* fix: template key has not been validated in client side

* fix: only show template that has been configured

* feat: show template name in edit form

* chore: update package.json

* fix: duplicated fields after dnd in form

* fix: duplicated fields shown in form

* chore: hide old block template menu

* feat: support mobile block template [skip ci]

* fix: filter for type options [skip ci]

* fix: incorrect create new  button style [skip ci]

* feat: add mobile block support

* fix: can't restrict one template one block [skip ci]

* fix: template title not synced after editing template

* fix: keep block deletion should transform the template block to normal block

* fix: insert template fails for the first time

* fix: destroy error

* fix: deploy failure [skip ci]

* fix: destory error in subapp with sub domain

* fix: destroy error

* fix: popup action should be hidden in create new form [skip ci]

* fix: possible crash when converting template to block [skip ci]

* fix: some properties have not been revert in real time

* fix: fitler action condition error

* fix: useDataBlockResource error

* fix: revert settings not refresh filter action form [skip ci]

* fix: new template properties clear

* fix: custom request action can't be shown

* fix: template tab should not be removable

* fix: duplicated delete action in table column

* fix: field link popup not shown in block template page

* fix: page configure link not working correctly

* chore: revert useContextVaraible [skip ci]

* fix(popup): fix configured page not taking effect

* fix: add blocks  button shown in block settings

* fix: only loading 20 templates

* fix: add block icon has been shown [skip ci]

* fix: association not shown in block template configure page

* fix: edit association form error [skip ci]

* fix: console error [skip ci]

* fix: only current field has been refreshed after revert to template [skip ci]

* chore: remove incorrect commit file [skip ci]

* fix: some action delete action still be shown for template block [skip ci]

* fix: template block style[skip ci]

* fix: keep position when rever setting[skip ci]

* fix: revert to template error when already deleted from block [skip ci]

* fix: revert still works even the template has been deleted

* fix: popup not shown as template block [skip ci]

* fix: bulk destory can't keep blocks[skip ci]

* fix: after dnd some unique blocks may be duplicated in the client [skip ci]

* fix: duplicate fields error in form

* fix: revert setting incorrect [skip ci]

* fix: duplicated sub form

* refactor: simplify by moving template loading to backend [skip  ci]

* fix: failing to add template block [skip ci]

* fix: assign fields values in bulk update action [skip ci]

* fix: can't add fields in nester popup subform [skip ci]

* fix: sub-table sub-form not merged correctly [skip ci]

* fix: subtable not highlight unique fields correctly [skip ci]

* fix: block title will not be synced correctly [skip ci]

* fix: can't add block into template [skip ci]

* fix: revert setting not refreshed [skip ci]

* fix: block template title not correct in some cases [skip ci]

* fix: field link's popup merge[skip ci]

* fix: cannot read properties of null in some popup [skip ci]

* fix: position of ui components have not been saved after dnd [skip ci]

* fix: dnd position not saved correctly in some cases [skip ci]

* fix: dnd undefined type error [skip ci]

* fix: can't swtich form type

* fix: some form type switch error [skip ci]

* fix: hide chart block from templates [skip ci]

* feat: support hide some blocks from template [skip ci]

* fix: react error for revert submit button of edit form [skip ci]

* fix: hide workflow and approvar block from template

* fix: hide connect data block from template [skip ci]

* fix: error [skip ci]

* fix: associate record options have not been shown for create form [skip ci]

* fix: creat form popup will be shown after refresh if switch form type [skip ci]

* fix: associate record settings error [skip ci]

* fix: mobile template setting page can not open popup [skip ci]

* fix: mobile content overflow [skip ci]

* chore: update templates menu style [skip ci]

* fix: unique disassociate btn [skip ci]

* feat: save collection and component info while update template

* fix: clear template context info after remove block

* chore: update template block entry point

* fix: incorrect association field template block [skip ci]

* fix: template title only shown after refresh

* fix: tooltip can't be revert correctly after moving entry to submenu [skip ci]

* fix: incorrect behavior after adding collection submenu entries [skip ci]

* fix: edit form support

* fix: support current details [skip ci]

* fix: edit form btn not correct [skip ci]

* fix: create form action params [skip ci]

* fix: hide template menu entry in block template configure page [skip ci]

* fix: incorrect association [skip ci]

* fix: nested template [skip ci]

* fix: can't insert template in mobile [skip ci]

* fix: association title not correct for details block [skip ci]

* chore: remove incorrect submodules commit [skip ci]

* fix: create form is using post method [skip ci]

* fix: association hasone and belongsto details block error [skip ci]

* fix: edit form not able load data [skip ci]

* chore: hide tab bar in mobile template configure page [skip ci]

* fix: don't show no accessible pages for template configure page [skip ci]

* fix: not able to see template list on the first time opening popup [skip ci]

* fix: able to remove related approvals template block [skip ci]

* fix: data not loading for details hasone relationship [skip ci]

* fix: dnd position may not be saved [skip ci]

* fix: multi-step-form is able to delete template step[skip ci]

* fix: hide rever setting in multi step form step name [skip ci]

* fix: extrol wrap when adding blocks from template [skip ci]

* fix: nested schema patch [skip ci]

* fix: x-acl-action not correct[skip ci]

* fix: diassociate action should be unique [skip ci]

* fix: disassociate action not unique [skip ci]

* fix: mobile popup by url not working [skip ci]

* chore: code clean

* chore: update delete setting position [skip ci]

* chore: keep revert btn position consistant in all places [skip ci]

* chore: hide template from workflow setting page [skip ci]

* chore: update setting menu icon [skip ci]

* chore: rename provider name to avoid duplicated with core [skip ci]

* chore: move block template menu to an upper level [skip ci]

* fix: hide other block templates menu [skip ci]

* fix: hide other blocks when creating template

* fix: duplicate revert to template option

* fix: mail manager template block not shown in popup

* fix: main block not showing in popup

* chore: mark old template features as deprecated

* chore: hide deprecated templates in block template configure page

* fix: read x-virtual from null

* fix: ci test error

* fix: skip old templates e2e test cases

* fix: skip old templates e2e test cases

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-02-20 22:23:07 +08:00