Commit Graph

88 Commits (v3.2-refact)

Author SHA1 Message Date
panyy b23569e0b8 fix(mindmap): surface backend validation messages in the workbench
find_err_detail relied on ReturnDict.serializer, so plain string and list
errors lost their message and nested ones could raise. Walk dicts and
lists directly instead, and keep the internal non_field_errors key out of
user-facing text.

The axios interceptor toasted every failure before the page could handle
it, so saving over the mindmap limit showed two messages and the workbench
fell back to a generic one. Add an opt-in silentError flag and let the
workbench render the server message itself.
2026-11-12 17:54:06 +08:00
panyy 79fa2cf4a2 feat:思维导图2.7.6 2026-11-09 11:03:23 +08:00
panyy 2600fbf3a4 fix(ui): simplify document parser version and builtin labels 2026-11-06 17:08:25 +08:00
panyy 851cb6b484 fix(parser): align platform and upgrade checks with MinerU 2.7.1 2026-11-06 16:52:29 +08:00
panyy 91f9199020 chore(release): include refact runtime sources and frontend lockfile 2026-11-06 14:51:58 +08:00
panyy 96a81496be feat:优化使用体验1 2026-11-06 14:05:34 +08:00
panyy 5434504f9b feat:优化使用体验 2026-11-05 18:16:48 +08:00
panyy 2baba0b19c feat:知识库版本 2026-10-27 13:37:24 +08:00
panyy e06b78918b feat: integrate AI workbench, unified permissions and access control 2026-10-27 10:54:52 +08:00
panyy 69eb1eb681 完善知识库、模型管理和思维导图功能 2026-10-22 14:48:00 +08:00
panyy 6df950ec3f feat:优化重构 2026-10-21 15:48:54 +08:00
tanlianwang 83fbb3c600 feat(system_manage): 添加接入控制策略功能
- 新增接入控制策略模型和应用记录模型
- 实现策略的增删改查和应用功能
- 添加策略应用记录查询功能
- 在系统设置菜单中增加策略管理入口
- 实现前端策略管理页面和相关API接口
- 完成策略内容展示和时间范围格式化功能
2026-04-01 17:03:58 +08:00
panyy fba331849e 菜单权限管理 2026-03-16 10:33:48 +08:00
tanlianwang a4937899f7 build(admin): 添加管理后台静态资源文件
- 添加404页面样式文件到各个管理后台目录
- 添加500错误页面相关JS文件
- 添加多个频道相关的JS模块文件
- 完善管理后台和聊天功能的静态资源配置
2026-03-12 14:21:55 +08:00
tanlianwang 32f16e27a2 fix(bug):修复了一些bug,顺便抽了根烟喝了杯茶 2026-03-10 15:59:20 +08:00
tanlianwang 37ac57941f feat(system): 添加系统配置管理功能
- 新增 system_config 视图模块用于系统配置获取
- 在 __init__.py 中导入新的系统配置视图
- 添加 MINDMAP_URL 配置项到 config.yaml 文件
- 更新 LayoutContainer 组件默认展开状态
- 实现思维导图动态 URL 配置加载
- 添加系统配置序列化器和 API 接口
- 在国际化文件中增加用户手册和论坛链接
- 升级 @logicflow/extension 和 jspdf 依赖包版本
- 初始化 package-lock.json 文件结构
2026-03-10 10:32:17 +08:00
tanlianwang 071f14a9c6 chore(config): 更新应用标题并添加嵌入模型默认值
- 将 VITE_APP_TITLE 从 'MaxKB' 更改为 'Ai-RAG'
- 为嵌入模型路径和名称添加默认值配置
- 注释掉关于图标的代码以禁用相关功能
2025-12-29 10:59:32 +08:00
zhangzhanwei d9bda9679d fix: Migration 2025-10-30 17:23:50 +08:00
zhangzhanwei aba41c4a4b fix: Migrate file 2025-10-30 15:38:41 +08:00
zhangzhanwei 274dfdae5c fix: Model get in migration file 2025-10-30 14:27:46 +08:00
zhangzhanwei 22f72c5d33 fix: Remove duplicate user id 2025-10-28 10:23:15 +08:00
zhangzhanwei e17bb8f5dd fix: Locales 2025-10-27 17:47:13 +08:00
zhangzhanwei 8bfbac671c fix: Workspace permission table 2025-10-27 16:37:33 +08:00
zhangzhanwei 1174ee11c6 fix: Folder authorization of common user
--bug=1062968 --user=张展玮 【应用】普通用户对自己管理的文件夹进行资源授权,生效资源选择所有子资源,授权报错 https://www.tapd.cn/62980211/s/1790231
2025-10-27 14:38:11 +08:00
CaptainB cfa80800d6 chore: update migration to alter systemsetting type and remove duplicates 2025-10-23 10:49:53 +08:00
zhangzhanwei 57271e97be feat: Update django migration 2025-10-22 14:50:23 +08:00
zhangzhanwei 0bc635a802 feat: Folder Permission 2025-10-21 15:15:59 +08:00
zhangzhanwei 349402b2d8 feat: Folder authorization can optionally include sub-resources 2025-10-21 10:22:03 +08:00
zhangzhanwei da74718b67 feat: Create a composite unique key to remove duplicate data 2025-10-16 16:45:03 +08:00
zhangzhanwei a6082c909f fix: Folder_auth_permission_migrate 2025-10-15 16:55:50 +08:00
zhangzhanwei 9a8c8cc7d5 feat: The folder creator manages permissions and the root directory displays all resources 2025-10-15 10:45:54 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00
wxg0103 0e3de5dfb8 feat: add log cleanup time setting to system settings 2025-10-11 14:34:34 +08:00
wxg0103 74c454532d feat: enhance user authentication with RSA key handling and encrypted data support 2025-09-18 18:42:55 +08:00
zhangzhanwei c082dae066 fix: Query by permission in system resource management
--bug=1060785 --user=张展玮 【资源授权】-通过权限查询资源无效 https://www.tapd.cn/62980211/s/1761243
2025-08-26 13:59:29 +08:00
zhangzhanwei 6e53d2ab0e feat: Tool type in resource authorization 2025-08-22 16:36:35 +08:00
zhangzhanwei 452fd53310 fix: Resource authorization 2025-08-21 14:12:37 +08:00
CaptainB 7fc1d89659 fix: refactor database collation refresh and reindex logic with improved error handling 2025-08-19 15:52:04 +08:00
CaptainB 9461ca8071 feat: add migration to refresh collation and reindex database 2025-08-19 13:44:10 +08:00
zhangzhanwei 795db14c75 feat: Backend permissions for resource authorization 2025-08-18 16:39:00 +08:00
zhangzhanwei 2714a941f9 feat: Resource authorization permission 2025-08-18 14:24:31 +08:00
zhangzhanwei 9ea37a4799 feat:Multiple permission filtering function 2025-08-14 16:10:21 +08:00
zhangzhanwei 5061708c1f rafactor: User resource permission read and edit 2025-08-13 10:11:46 +08:00
zhangzhanwei 919c4e3f7f feat: Modify the authorization information of resources for users 2025-08-11 15:54:09 +08:00
wxg0103 8231ae66e4 refactor: update license validation logic to ensure proper function calls 2025-07-16 18:23:13 +08:00
wxg0103 778b706776 fix: update license validation logic in profile and user role update functions 2025-07-16 18:03:33 +08:00
CaptainB 67859e9873 feat: add ChatUser, UserGroup, and authorization models to initial migration 2025-07-14 19:54:18 +08:00
zhangzhanwei a7afdb769b fix: Chat user model 2025-07-14 19:37:17 +08:00
zhangzhanwei d8254f9e45 refactor: Chat user model 2025-07-14 18:43:57 +08:00
shaohuzhang1 340ca6c436
fix: The conversation user is not authorized to use (#3588) 2025-07-14 18:24:46 +08:00