3193 Commits

Author SHA1 Message Date
nocobase[bot]
0aa9eff8ae chore(versions): 😊 publish v1.5.23 2025-03-06 11:53:17 +00:00
nocobase[bot]
5f4c7be5ec Merge branch 'main' into next 2025-03-06 07:33:46 +00:00
Katherine
633c8b9b22
fix: missing sort parameter in export button (#6375) 2025-03-06 15:33:23 +08:00
Katherine
e44ac2cae4
fix: useImportStartAction (#6373) 2025-03-06 14:31:24 +08:00
nocobase[bot]
17ef134639 chore(versions): 😊 publish v1.5.22 2025-03-06 02:59:01 +00:00
Katherine
6772bdb873
fix: attachment field storage setting dropdown not displaying options (#6365)
* fix: public form local improve

* fix: bug
2025-03-06 09:26:36 +08:00
nocobase[bot]
c6c1a1e663 chore(versions): 😊 publish v1.5.21 2025-03-05 15:21:47 +00:00
Zeke Zhang
0d0c81cc90
refactor: make the menu responsive to screen width (#6331)
* chore: convert routes

* chore: stash

* chore: stash

* feat: support to add menu item

* feat: add MenuSchemaToolbar

* refactor: extract EditMenuItem component

* feat: add hidden option

* refactor: extract HiddenMenuItem

* feat: add 'Move to' option

* feat: add insert options

* feat: remove route

* fix: children

* fix: route

* feat: enhance menu item rendering and group handling in admin layout

* feat: add container support to MenuSchemaToolbar and fix display issue in Group

* fix: add conditional check before moving routes in menu item settings

* feat(navigation): add default page navigation for admin layout

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

* feat: export AppNotFound component and integrate 404 handling in AdminDynamicPage

* fix: update admin layout route path to use item options URL

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

* refactor: rename route node retrieval functions for clarity and add legacy route compatibility

* refactor: clean up layout component by removing unused styles and improving header rendering

* refactor: simplify menu item components by removing unused schema insertion logic and optimizing imports

* refactor: add 'x-async' property to tab schema and clean up server imports

* refactor: tabs

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

* feat: operator extension

* fix: bug

* refactor: code improve

* fix: jsonLogic

---------

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

* feat: add fake schema for routing in SortableItem and remove unused fieldSchema import

* feat: adjust content padding in InternalAdminLayout for improved layout

* 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: replace SchemaComponent with RemoteSchemaComponent and add AppNotFound for empty tabs

* refactor: rename useCurrentRoute to useCurrentRouteData for clarity

* fix: redirect to first tab by default

* 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>

* fix: enhance access permission check and clean up unused props in Page component

* fix: adjust Action.Page style to set top position to 0

* fix: update redirect logic to point to the first page route in admin layout

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

* fix: add link handling in MenuItem to open URLs in a new tab

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

* fix: integrate drag-and-drop functionality in MenuItem and Page components

* fix: add drag-and-drop support in admin layout and improve loading behavior

* fix: header style

* fix: set sider width in admin layout

* fix: refactor InternalAdminLayout for improved readability and maintainability

* fix: optimize token management in InternalAdminLayout for better styling consistency

* fix: style

* fix: avoid error

* fix: update container reference in MenuSchemaToolbarWithContainer

* fix: add icon style to MenuSchemaToolbar

* fix: remove bottom border from header in admin layout

* fix: add collapsed button render function to InternalAdminLayout

* fix: update viewport meta tag for better responsiveness

* fix: add MenuItemIcon component for conditional icon rendering in admin layout

* fix: wrap SchemaToolbar in SiderContext.Provider to prevent style issues in collapsed state

* fix: update InternalAdminLayout styles for improved menu item appearance

* fix: adjust menu item spacing and height for compact mode in admin layout

* fix: add collapse handling and page change logic in InternalAdminLayout

* fix: add header context provider and update MenuItemIcon rendering logic in InternalAdminLayout

* fix: replace Modal with App.useApp().modal in HiddenMenuItem for improved modal handling

* fix: enhance click area for links in MenuItem and streamline group navigation logic

* fix: refresh routes after adding link menu

* fix: add mobile actions popover for improved user interaction in admin layout

* fix: adjust layout width and margin for improved alignment in admin layout

* style: fix the style of the top collapsed menu button dropdown

* fix: add active background color for selected menu items in collapsed menu

* fix: improve z-index management for modal, drawer, and page components to prevent overlap with collapsed menu button

* fix: adjust position of collapsed button to prevent overlap with subpages

* fix: update collapsed button rendering to handle mobile context and prevent overlap with subpages

* fix: prevent schema data request for group pages in admin layout

* fix: handle undefined menu titles by providing a default value

* fix: add refresh functionality for desktop routes in menu permissions

* fix: adjust page header padding based on route settings and token

* fix: center text

* fix: add tooltip support for menu items in collapsed state

* fix: tooltip

* fix: improve page tab routing and deletion handling

* fix: adjust admin layout height to account for header

* fix: improve route navigation and deletion handling in admin layout

* chore: update version

* fix(routing): Add Navigate import from react-router-dom

* fix(e2e): locator

* test: remove demo and useless test case for Page component

* fix: improve page creation and routing in e2e utils

* fix: improve z-index handling for embedded pages

* feat(admin-layout): Add aria-label to menu item links for improved accessibility

* fix(mobile-ui): Adjust toolbar and navigation bar styling

* test(acl): Simplify menu item visibility test setup

* test: update e2e test templates and route handling

* fix: fix compatibility issues

* fix(admin-layout): improve default page navigation handling

* fix(acl): add optional chaining to prevent potential null/undefined error in uiButtonSchemasBlacklist check

* fix: keep alive

* fix(desktop-routes): enhance route retrieval with automatic child route inclusion

* test: add test

* fix(page): update navigation logic to use location pathname for tab routing

* fix(route): export CurrentRouteProvider for better accessibility in routing context

* refactor(layout): remove unused styles for cleaner code

* fix(layout): integrate useGlobalTheme for consistent theming and clean up unused parameters

* fix(route): improve route redirection logic

---------

Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: Katherine <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-03-05 22:52:24 +08:00
YANG QIA
7404e57d4c
fix(ai): issue where the default baseURL for LLM provider is undefined (#6367) 2025-03-05 22:19:44 +08:00
nocobase[bot]
ea64d975ed Merge branch 'main' into next 2025-03-05 14:15:53 +00:00
Junyi
c453612e11
fix(plugin-workflow-aggregate): add precision process after query (#6358)
* fix(plugin-workflow-aggregate): add precision process after query

* test(plugin-workflow-aggregate): add test cases

* fix(evaluators): fix test cases

* fix(plugin-workflow-aggregate): fix e2e test case

* fix(plugin-workflow-aggregate): fix test cases
2025-03-05 21:55:47 +08:00
nocobase[bot]
bd4e86d4b3 Merge branch 'main' into next 2025-03-05 09:54:50 +00:00
Junyi
cb2cb0b5ed
fix(plugin-file-manager): fix error thrown when creating file collection (#6363) 2025-03-05 17:54:27 +08:00
Katherine
108f64755f
refactor: import action (#6350)
* refactor: code improve

* fix: bug
2025-03-05 17:03:08 +08:00
nocobase[bot]
6a1cb3c0d1 Merge branch 'main' into next 2025-03-04 09:35:19 +00:00
Junyi
2345ea62da
fix(plugin-workflow): fix acl for getting job (#6352) 2025-03-04 17:34:53 +08:00
YANG QIA
4720244eb3
feat: ai integration (#6283)
* feat: ai

* fix: build

* fix: plugin

* fix: bug

* fix: version

* chore: add debug info

* chore: allows to enter a model name manually

* chore: update

* chore: optimize

* fix: bug

* fix: version

* fix: build

* fix: test
2025-03-04 16:54:11 +08:00
nocobase[bot]
53e9ad38cd chore(versions): 😊 publish v1.6.0-beta.16 2025-03-04 03:20:25 +00:00
Sheldon Guo
f2c3f54109
fix(auth): accidentally logged out due to WebSocket authorization. (#6342)
* fix(auth): improve logging by including full context and error details

* fix(auth): enhance logging with error handling for token renewal

* feat(auth): init checkToken

* feat(auth): implement checkToken method with detailed token status and user information

* fix(auth): update check method to handle expired tokens and improve token renewal process
2025-03-04 06:54:01 +08:00
nocobase[bot]
bc9ff30a72 Merge branch 'main' into next 2025-03-03 05:42:43 +00:00
Junyi
2f7b7315ca
refactor(plugin-workflow): lazy load job result for better performance (#6344) 2025-03-03 13:42:14 +08:00
nocobase[bot]
798dde632c Merge branch 'main' into next 2025-03-03 03:57:49 +00:00
nocobase[bot]
f1bd0a1f4d chore(versions): 😊 publish v1.5.20 2025-03-03 03:57:16 +00:00
nocobase[bot]
d0e4722992 Merge branch 'main' into next 2025-03-03 02:04:44 +00:00
Zeke Zhang
54f02470de
fix(Map): prevent undefined values in Map.Designer (#6336)
* refactor(schema): remove unused schemaInitialize method

* fix(map): remove lazy loading to prevent undefined values in Map.Designer
2025-03-03 10:04:17 +08:00
Zeke Zhang
6fb456eb9a
fix(MenuPermissions): add optional chaining for menu title matching (#6335) 2025-03-02 14:28:29 +08:00
Zeke Zhang
7252b73327
feat(users): add loading state for users management tab (#6324)
- Add Spin component when users collection is not yet loaded
- Improve collection loading handling in UsersManagementTab
- Ensure smooth rendering with collection manager integration
2025-03-02 13:39:57 +08:00
nocobase[bot]
4362709ccd Merge branch 'main' into next 2025-03-01 07:12:32 +00:00
chenos
f778b2f5d6 fix(upload): resolve Chinese filename encoding issue 2025-03-01 15:11:02 +08:00
nocobase[bot]
33110193fe chore(versions): 😊 publish v1.5.19 2025-03-01 06:20:47 +00:00
Katherine
1423b62f02
feat: time field support time format (#6329)
* feat: time field support time format settings

* test: e2e test

* test: e2e test

* test: e2e test

* fix: bug
2025-02-28 15:30:22 +08:00
nocobase[bot]
1a64270a17 chore(versions): 😊 publish v1.5.18 2025-02-27 08:11:48 +00:00
Zeke Zhang
e1671ae9e5 Merge branch 'main' into next 2025-02-27 15:28:33 +08:00
Zeke Zhang
195f5df6bf
feat(workbench-block): improve block height and layout responsiveness (#6321)
- Add dynamic height calculations for workbench block
- Support height adjustments for different layouts (grid/list)
- Implement responsive styling with designable mode considerations
2025-02-27 15:26:44 +08:00
nocobase[bot]
e360a4e12f chore(versions): 😊 publish v1.5.17 2025-02-27 04:31:25 +00:00
nocobase[bot]
08f4d7eeb0 chore(versions): 😊 publish v1.6.0-beta.15 2025-02-27 04:27:59 +00:00
Katherine
1834ab6d9a
fix: issue with action panel block description (#6318) 2025-02-27 11:07:15 +08:00
nocobase[bot]
8c801015d2 chore(versions): 😊 publish v1.6.0-beta.14 2025-02-27 01:13:54 +00:00
xilesun
2b5ce1bad1 fix(acl): test 2025-02-27 00:11:54 +08:00
nocobase[bot]
220721d5d5 chore(versions): 😊 publish v1.6.0-beta.13 2025-02-26 15:01:33 +00:00
nocobase[bot]
d48adaac6a Merge branch 'main' into next 2025-02-26 12:09:01 +00:00
Junyi
22869ca184
fix(plugin-file-manager): fix migration for inherited collection (#6310) 2025-02-26 20:08:35 +08:00
Katherine
ffa75f4033
add: custom request action migration (#6313)
* feat: customRequestsRoles migration

* feat: customRequestsRoles migration
2025-02-26 19:02:05 +08:00
Katherine
dd608f96ea
Revert "add: custom requests action migration (#6311)" (#6312)
This reverts commit 109873f7e59723b269640d76e98057770092b42a.
2025-02-26 18:59:24 +08:00
Katherine
109873f7e5
add: custom requests action migration (#6311) 2025-02-26 18:58:38 +08:00
nocobase[bot]
b938437613 Merge branch 'main' into next 2025-02-26 10:38:55 +00:00
YANG QIA
414ec3c817
fix(acl): incorrect data records when using m2m fields in collection permission data scope (#6304)
* fix(acl): incorrect data records when using m2m fields in collection permission data scope

* fix: duplicate
2025-02-26 18:38:26 +08:00
Katherine
cf7131a36f
feat: add permission control for buttons with blacklist support (#6254)
* 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

* feat: add permission control for buttons with blacklist support

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: bug

* refactor: custom request

* fix: merge bug

* fix: merge bug

* fix: merge bug

* fix: merge bug

* fix: bug

* fix: bug

* fix: bug

* test: e2e test

* fix: bug

* test: e2e test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: test

---------

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-26 17:19:25 +08:00
katherinehhh
0953b60308 Merge branch 'main' into next 2025-02-26 17:03:08 +08:00
Katherine
55b70335cf
fix: incorrect data filtering in popup Kanban using popup record variables (#6290) 2025-02-26 16:51:28 +08:00