3084 Commits

Author SHA1 Message Date
nocobase[bot]
ed98b8c7af chore(versions): 😊 publish v1.6.2 2025-03-12 08:00:54 +00:00
Junyi
9a2b877a97
fix(plugin-workflow-manual): fix migration version (#6430) 2025-03-12 15:14:00 +08:00
Junyi
ddbb62ed49
fix(plugin-workflow-manual): fix migration (#6425)
* fix(plugin-workflow-manual): fix migration

* test(plugin-workflow-manual): add test cases for migrations

* fix(plugin-workflow-manual): fix test cases

* fix(plugin-workflow-manual): add case for new table existing
2025-03-12 12:51:21 +08:00
Sheldon Guo
69a44fff1a
fix(MessageConfigForm): add description for user selection and improve locale support (#6424) 2025-03-12 05:20:49 +08:00
Katherine
e00b294cec
fix: public form style improve (#6419)
* fix:  public form style improve

* fix: bug
2025-03-11 21:52:45 +08:00
nocobase[bot]
00b7e0e0bd chore(versions): 😊 publish v1.6.1 2025-03-11 10:14:56 +00:00
Sheldon Guo
d04bc83f2f
fix(InboxContent): add background color to layout content for better visibility (#6417) 2025-03-11 15:16:47 +08:00
nocobase[bot]
e7dea7fdfb chore(versions): 😊 publish v1.6.0 2025-03-11 05:29:43 +00:00
mytharcher
1e3f988c48 Merge branch 'main' into next 2025-03-11 10:02:29 +08:00
Junyi
7d14ebf06f
fix(lugin-workflow-tasks): only use the provider in admin layout (#6412) 2025-03-11 10:00:34 +08:00
Sheldon Guo
69c75566e0
fix(auth): user has no roles should redirect error message page (#6408) 2025-03-11 03:46:28 +08:00
Junyi
6d929de82e
fix(plugin-workflow-manual): fix task migration (#6407) 2025-03-11 00:00:28 +08:00
chenos
ded7b983fb
fix: use repository.firstOrCreate (#6406) 2025-03-10 22:49:17 +08:00
Katherine
8741c26a86
fix: formDrawer theme context issue (#6403) 2025-03-10 20:37:34 +08:00
Junyi
e5507d0758
refactor(plugin-workflow): change task center api and ui (#6272)
* refactor(plugin-workflow): change task center api and ui

* fix(client): add className property for Grid.Col

* refactor(plugin-workflow): adjust tasks menu style

* fix(plugin-workflow): fix menu title

* feat(plugin-workflow): automatically update tasks number

* fix(plugin-workflow): ignore ws if not exist

* fix(plugin-workflow): fix compatibility of no user approvals

* refactor(server): revert ws api back

* fix(plugin-workflow-manual): fix migration and renamed test cases

* fix(plugin-workflow): fix acl for task resource

* refactor(client): show badge number in toolbar

* fix(plugin-workflow): fix toolbar number

* fix(client): adjust badge font size

* refactor(plugin-workflow): adjust task center style and api

* fix(plugin-workflow-manual): fix constants

* refactor(plugin-workflow-manual): change legacy workflow todo block to list style

* test(plugin-workflow-manual): migrations

* refactor(plugin-workflow): add workflow title component

* fix(plugin-workflow-manual): fix e2e test cases

* fix(plugin-workflow): fix test kit
2025-03-10 19:58:33 +08:00
Katherine
a8532e874a
fix: error when editing fields in external data source (#6402) 2025-03-10 17:04:15 +08:00
Junyi
58b5396c30
refactor(plugin-workflow-action-trigger): support to use end node to determine status (#6399) 2025-03-10 16:01:35 +08:00
nocobase[bot]
c2e2344a83 chore(versions): 😊 publish v1.6.0-beta.19 2025-03-10 06:13:38 +00:00
nocobase[bot]
70b0194e52 chore(versions): 😊 publish v1.5.26 2025-03-10 03:17:56 +00:00
nocobase[bot]
39f505360d chore(versions): 😊 publish v1.6.0-beta.18 2025-03-09 23:29:10 +00:00
nocobase[bot]
5e02115d67 chore(versions): 😊 publish v1.5.25 2025-03-09 15:17:39 +00:00
ajie
dad8213cad
fix: the page is blank after switching roles (#6388)
* fix: set mobileRoutes do not take effect v2

* chore: remove test only

* feat: roles desktop routes migration script and test

* feat: roles mobile routes migration script and test

---------

Co-authored-by: 霍世杰 <huoshijie@192.168.1.70>
2025-03-09 18:01:29 +08:00
Sheldon Guo
79ef798b38
fix(auth): handle non-existent user with 401 error and update locale messages (#6381)
* fix(auth): handle non-existent user with 401 error and update locale messages

* fix(auth): enhance error handling for 401 status with specific error codes

* fix(auth): improve 401 error handling by checking for specific error codes
2025-03-09 08:09:13 +08:00
Katherine
3f6ecd65ed
fix: theme switching fails after multiple consecutive switches (#6387) 2025-03-09 07:43:57 +08:00
chenos
a6e03e35b4
fix: acl snippet 2025-03-07 23:16:47 +08:00
Sheldon Guo
0c81b52b30
test: add token security config test for API key authentication (#6361) 2025-03-07 22:50:17 +08:00
nocobase[bot]
1670cead6c Merge branch 'main' into next 2025-03-07 09:16:37 +00:00
N3tN00b3r
a1fe85bd03
Adding italian translation for plugins (#6316)
* Add italian translation

* Create it-IT.json
2025-03-07 17:16:16 +08:00
nocobase[bot]
06090aa0f6 chore(versions): 😊 publish v1.6.0-beta.17 2025-03-07 07:24:50 +00:00
nocobase[bot]
247a9d93fd chore(versions): 😊 publish v1.5.24 2025-03-07 05:39:31 +00:00
Zeke Zhang
216e13f744
fix: integrate menu translation for route titles in admin layout (#6377)
* fix: integrate menu translation for route titles in admin layout

* fix: add useMenuTranslation hook for improved localization in routes table schema

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-07 12:04:59 +08:00
Zeke Zhang
28500dd114
fix: properly handle hidden field in tab routing (#6366)
* fix: format code and improve readability in routesTableSchema.tsx

* fix: properly handle hidden field in tab routing
2025-03-07 11:58:18 +08:00
Zeke Zhang
57af4c1787
fix: correct parentSchemaUid reference in routesTableSchema (#6362) 2025-03-07 11:56:31 +08:00
YANG QIA
0bce6fe1dc
fix(users): "No permissions" error when users without user management permissions view their profile (#6382) 2025-03-07 11:38:26 +08:00
nocobase[bot]
af4959cee7 Merge branch 'main' into next 2025-03-07 03:36:55 +00:00
YANG QIA
c0bb9dff91
feat(data-vi): support nulls sorting in chart queries (#6383) 2025-03-07 11:36:33 +08:00
nocobase[bot]
97d6a2e74d Merge branch 'main' into next 2025-03-07 02:51:37 +00:00
Junyi
f6ec9f82b4
refactor(plugin-workflow): add option to skip triggering in collection event (#6379) 2025-03-07 10:51:15 +08:00
YANG QIA
5581eb069f
fix(users): no permissions error when updating system settings in user management (#6380) 2025-03-06 22:08:35 +08:00
Katherine
faadfa0b96
fix: import action x-toolbar (#6378) 2025-03-06 20:27:39 +08:00
chenyongxin
c2928d38cf
feat: add tooltip configuration to menu item and table headers (#6346)
* feat: add tooltip configuration to menu item and table headers

* feat: add tooltip to link and group menus

* feat: menu tooltip icon style adjustment

* feat: menu tooltip icon style adjustment

* fix: e2e

* refactor: optimize tooltip component usage in table columns

* feat: add tooltip editing functionality and enhance tooltip display in menu items

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-03-06 20:09:14 +08:00
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