Commit Graph
472 Commits
Author SHA1 Message Date
zhangtao 8397c305bd docs: add packaging philosophy section to README files
- Introduced a new section on packaging philosophy in both English and Chinese README files, explaining the project's approach to organizing source directories by feature rather than by layer.
- Updated the "Start Here" section to include a link to the new packaging philosophy for better guidance on project structure.
- Added a reference to the packaging philosophy in the backend README for consistency and clarity.
2026-04-04 01:48:36 +08:00
zhangtao b0ae6af3b1 chore: update .gitignore and enhance docstrings across multiple files
- Added *.pyc and *.pyo to .gitignore to prevent compiled Python files from being tracked.
- Improved docstrings in various modules, providing clearer descriptions of functions, parameters, and return values to enhance code readability and maintainability.
2026-04-04 01:21:59 +08:00
zhangtao 8e7a193a4a chore(dependencies): update prefect and websockets version constraints for compatibility
- Changed prefect dependency from a fixed version to a range (>=3.5.0,<4) to ensure compatibility with typer>=0.19 and prevent issues with future updates.
- Updated websockets dependency to a range (>=15.0.1,<16.0) to align with the new prefect version requirements and maintain consistency with deployment configurations.
2026-04-03 01:20:05 +08:00
zhangtao aeda9316d6 chore(dependencies): update croniter version constraint for compatibility
- Changed croniter dependency from a fixed version to a range (>=1.0.12,<5.0.0) to ensure compatibility with prefect==3.1.0 and prevent potential issues with future updates.
2026-04-03 01:13:46 +08:00
zhangtao c2417b466a chore(dependencies): update websockets version constraint for compatibility
- Changed websockets dependency from a fixed version to a range (>=10.4,<14.0) to ensure compatibility with prefect==3.1.0 and prevent potential issues with future updates.
2026-04-03 01:10:36 +08:00
zhangtao ee40e33cda build: 添加 prefect 依赖用于工作流编排 2026-04-03 01:01:52 +08:00
zhangtao b552b29ac5 feat: 重构代码生成模块并优化相关功能
- 重构代码生成模板,统一路由前缀和业务路径规范
- 优化数据库表分页查询性能,支持方言特定实现
- 新增同步数据库差异预览功能
- 调整字段配置界面,支持拖拽排序和批量设置
- 清理旧版示例代码和冗余配置
- 修复权限和路由嵌套路径处理问题
- 优化前端样式和交互细节
2026-04-03 00:43:50 +08:00
zhangtao 8a3360ef35 fix(菜单配置): 更新示例管理目录的默认重定向路径
将示例管理目录的默认重定向路径从null改为/example/demo-group/demo01,确保用户访问时能正确跳转到示例01页面
2026-03-30 22:14:18 +08:00
zhangtao 837d8a5aa7 feat: 优化代码生成器功能并修复多个问题
- 前端表格列添加溢出提示工具
- 后端登录IP归属地查询与设置统一处理
- 分页服务明确仅用于非SQL数据源场景
- 代码生成器添加字段筛选和帮助面板
- 修复菜单高亮和布局切换问题
- 更新文档中的BUG状态和解决方案
- 优化AI聊天界面样式和交互
- 添加数据库分页支持到多个模块
- 代码生成器表单校验和流程优化
- 修复PostgreSQL日期类型问题
2026-03-30 00:37:16 +08:00
zhangtao 7081850d46 feat(dependencies): update asyncmy and pandas versions for improved performance and compatibility
- Upgraded asyncmy from version 0.2.9 to 0.2.11 to leverage enhancements and bug fixes.
- Updated pandas from version 2.2.2 to 2.2.3 for better data processing capabilities.
- Added a new configuration option LOGIN_RESOLVE_IP_LOCATION to control IP location resolution during login.
- Enhanced login service to handle IP location resolution based on the new configuration.
- Improved validation logic in menu request handling to ensure proper redirection address for specific menu types.
- Adjusted CRUD template generation to dynamically use primary key column names for better flexibility.
- Updated Vue components to ensure proper handling of dynamic primary key references in menu items and forms.
2026-03-29 20:33:33 +08:00
zhangtao 25f497a55b feat(docs): update README files for improved local setup instructions and architecture overview
- Enhanced the "Quick Start" section in both English and Chinese README files to clarify steps for running the project locally, including environment setup and backend initialization.
- Added a new section detailing local architecture and default ports, aligning with configuration files for better user guidance.
- Improved clarity on API documentation access and emphasized automatic database initialization on the first backend start.
- Updated backend README to reflect changes in migration commands and emphasize the automatic setup process during the first run.
2026-03-29 07:42:33 +08:00
zhangtao d2a863652e feat(docs): enhance README and backend documentation for new user onboarding and backend conventions
- Added a "Start Here" section in both English and Chinese README files to guide new users on running the project locally and exploring its features.
- Introduced backend conventions for date and serialization handling, clarifying the use of Pydantic v2 and PostgreSQL.
- Updated the "Quick Start" section with detailed steps for first-time local setup, including environment requirements and backend setup instructions.
- Improved overall structure and clarity of documentation to facilitate better understanding for developers and contributors.
2026-03-29 07:25:09 +08:00
zhangtao bf26563083 feat(menu): add new user management section to sys_menu.json
- Introduced a "用户管理" (User Management) section in sys_menu.json with actions for creating, updating, deleting, and viewing user details.
- Enhanced the menu structure for improved organization and accessibility of user management features.
- Updated related styles to ensure consistency with the overall application theme.
2026-03-29 04:08:30 +08:00
zhangtao 77a6d24172 feat(workflow): add workflow management section to sys_menu.json
- Introduced a new "流程管理" (Workflow Management) section in sys_menu.json with various actions including create, debug, modify, delete, detail, and query workflows.
- Enhanced the menu structure to facilitate better organization and access to workflow management features.
- Updated related styles and variables for improved theme integration across the application.
2026-03-29 04:08:16 +08:00
zhangtao 7484560d9f feat(menu): add example management directory and related actions
- Introduced a new "示例管理目录" (Example Management Directory) in sys_menu.json with a structured hierarchy.
- Added multiple actions under "示例01管理" including create, update, delete, and import/export functionalities with appropriate permissions.
- Enhanced the menu structure to support better organization and access to example management features.
2026-03-29 03:21:23 +08:00
zhangtao 565663be4a refactor(captcha): 调整验证码字体大小并增强验证码生成逻辑
- 修改验证码字体大小从40调整为35
- 增加验证码生成的难度参数,支持不同难度级别的运算
- 优化验证码图像生成逻辑,增加随机噪点和干扰线,提升安全性和可读性
2026-03-25 01:18:24 +08:00
zhangtao fd8ee5d3af feat(theme): 添加侧边栏logo的文本颜色和背景色变量
feat(editor): 替换模拟文件上传为实际API调用

fix(validator): 为日期和时间类型添加格式验证器
2026-03-22 23:59:05 +08:00
zhangtao 751b6910f2 feat(前端): 改进元数据输入方式为键值对列表
重构元数据输入表单,将原来的JSON文本输入改为可动态添加的键值对列表
2026-03-22 21:38:41 +08:00
zhangtao 014b5439da refactor(vue模板): 移除未使用的data-table样式 2026-03-16 01:00:38 +08:00
zhangtao 7e9e32d1b4 feat: 优化前端表格样式和查询表单布局
refactor(backend): 重构查询参数处理逻辑并使用枚举

fix: 修复状态显示不一致问题

style: 调整代码格式和导入顺序

perf(frontend): 优化表格高度自适应和溢出处理

docs: 添加方法参数和返回值的注释
2026-03-16 00:59:48 +08:00
zhangtao 91f330a547 chore: 添加项目图片资源并更新文档引用路径
将项目所需的图片资源添加到 backend/data 目录
更新 README.md 和 README.en.md 中的图片引用路径,从远程地址改为本地路径
2026-03-15 04:48:34 +08:00
zhangtao aa3fc617d0 build: 添加 openai 2.28.0 依赖
更新 pyproject.toml、requirements.txt 和 uv.lock 文件,添加 openai 2.28.0 版本依赖
2026-03-15 03:52:56 +08:00
zhangtao 10ba8baa83 chore: 删除所有环境配置文件和docker-compose文件 2026-03-15 03:32:54 +08:00
zhangtao 1a564e5018 docs: 更新环境配置示例文件和docker-compose配置
更新前后端环境配置示例文件,替换占位符为通用值
添加docker-compose示例文件
优化.gitignore文件,添加本地覆盖配置
统一各环境配置文件的格式和说明
2026-03-15 03:28:46 +08:00
zhangtao 2021241836 docs: 更新环境变量和docker-compose配置中的占位文本
将环境变量和docker-compose配置中的示例密码和密钥替换为更明确的占位文本
添加配置项的注释说明
2026-03-15 01:59:14 +08:00
zhangtao 1617d1c28a 删除后端环境配置 example 文件 2026-03-15 01:41:38 +08:00
zhangtao b455892ae8 添加后端环境配置文件并移除 example 后缀 2026-03-15 01:41:17 +08:00
zhangtao fcab562cd9 feat(workflow): 新增工作流管理模块及相关组件
feat(tenant): 添加租户管理模块的模型、CRUD和服务层

feat(frontend): 实现工作流设计器和节点配置面板

feat(api): 添加工作流API接口定义和类型声明

refactor: 优化代码结构和注释格式

build: 添加@vue-flow相关依赖包
2026-03-15 01:27:03 +08:00
zhangtao 29f6cf9ae0 fix(用户管理): 修复编辑用户时密码字段显示问题
refactor(导航栏): 优化样式和颜色变量使用
使用CSS变量替代硬编码颜色值,提高主题一致性

refactor(顶部菜单): 重命名变量和方法以提升可读性
将processedTopMenus改为topMenuItems,handleMenuSelect改为handleTopMenuSelect

fix(菜单服务): 修复菜单标题重复校验逻辑
增加parent_id作为校验条件,避免同级菜单标题重复

refactor(顶部布局): 重构布局结构和样式
优化DOM结构和CSS,提升可维护性和响应式表现
2026-03-15 00:42:59 +08:00
zhangtao e03692467b feat(ai): 重构AI聊天模块,使用agno框架替代langchain
- 移除langchain相关依赖,引入agno作为大模型开发框架
- 重构聊天会话和消息存储,使用agno的TeamSession管理
- 合并chat_message和chat_session模块为统一的chat模块
- 更新前端API和类型定义,适配新的后端接口
- 优化数据库日志字段类型,根据数据库类型自动选择
- 重构AI助手组件,使用新的聊天API
- 清理不再使用的模型、控制器和服务代码
2026-03-13 00:41:44 +08:00
zhangtao 37d4dade10 feat(nginx): 更新SSL证书路径配置
fix(deploy): 移除对main分支的拉取尝试

feat(task): 添加节点处理器模块和示例代码

refactor(scheduler): 改进任务执行包装器支持完整Python语法

style(monitor): 允许资源文件URL为相对路径

chore(deps): 降级requests版本到2.32.3

refactor(frontend): 更新节点任务示例代码

refactor(docker): 优化docker-compose配置和健康检查

refactor(resource): 加强文件路径安全检查和URL处理
2026-03-08 21:17:04 +08:00
zhangtao f2238a2a1a fix(白名单): 添加自动登录相关接口到系统白名单 2026-03-04 00:36:55 +08:00
zhangtao 2add3bed3b feat(认证): 实现免登录快速登录功能
- 后端添加免登录用户列表、生成Token和免登录接口
- 前端添加快速登录标签页,支持用户头像快速登录
- 优化登录页面样式和交互体验
- 修复日志处理器移除时的异常处理问题
- 调整任务调度页面按钮文字和样式
2026-03-03 00:18:21 +08:00
zhangtao 4b9ebfd4ed feat(任务调度): 改进任务执行日志记录和UI展示
refactor(前端): 重构任务管理界面为卡片式布局
fix(后端): 修复任务日志记录中的job_id类型问题
perf(调度器): 优化立即执行任务的日志记录机制
style(前端): 调整多个页面的高度计算方式
2026-03-02 00:25:14 +08:00
zhangtao 83289f6025 feat: 重构前端页面布局和权限控制
refactor(前端): 统一调整表格高度为动态计算
fix(任务): 修正节点调试权限标识
style: 优化搜索区域样式和位置
chore: 移除不再使用的日志清理接口
docs(菜单): 更新菜单项名称和权限标识
2026-03-01 00:57:02 +08:00
zhangtao b12c953f07 refactor(module_task): 移除节点分类相关代码
移除节点分类功能,包括前后端相关字段、枚举、表单和展示逻辑
优化任务调度器异常处理和日志记录
改进WebSocket聊天控制器的错误处理和连接关闭逻辑
增强节点调试功能,添加执行成功提示和跳转引导
2026-02-26 23:27:28 +08:00
zhangtao 1727110b46 refactor(workflow): 移除工作流编排功能及相关代码
删除前后端工作流编排功能的所有相关代码,包括模型、控制器、服务、API、前端组件等
更新依赖版本并移除不再需要的依赖包
调整系统菜单配置移除工作流相关菜单项
2026-02-26 00:33:57 +08:00
zhangtao 4e0eff3653 feat(workflow): 重构工作流模块并移除配置表单功能
refactor(node): 移除节点模型中的config_schema字段
refactor(workflow): 简化工作流模型和CRUD操作
feat(composables): 重构并增强任务相关组合式函数
style(settings): 优化设置抽屉样式
fix(auth): 修复配置加载逻辑
chore: 清理无用文件和代码
2026-02-23 06:43:38 +08:00
zhangtao d21242f4a7 feat: 重构任务调度系统和工作流节点管理
- 重构任务调度系统,将定时任务改为调度器监控,优化状态管理和日志记录
- 重构工作流节点模型,简化分类并增加执行相关字段
- 优化工作流执行逻辑,移除对开始/结束节点的强制要求
- 前端新增终端组件和工作流节点操作按钮优化
- 移除无用代码和文件,清理后端任务调度相关代码
- 更新系统菜单结构,调整任务管理相关权限和名称
2026-02-23 03:09:29 +08:00
zhangtao 301572d200 feat(security): 增加XSS防护和文件上传安全校验
添加bleach和dompurify库用于HTML内容过滤
实现文件上传路径校验和类型检测
增强定时任务函数格式验证
修复文件下载路径穿越漏洞
2026-02-18 23:05:51 +08:00
zhangtao 8689889127 feat(权限): 实现基于策略模式的权限过滤系统
添加 PermissionFilterStrategy 枚举定义不同权限过滤策略
在基础模型和业务模型中设置默认权限策略
重构权限服务支持策略模式,根据模型策略选择过滤方法
前端添加角色部门显示和默认头像处理
2026-02-18 17:30:23 +08:00
zhangtao 0c80ad3282 fix: 调整流程编排菜单的排序顺序 2026-02-17 03:45:32 +08:00
zhangtao 46911c48db fix(module_task): 修正任务调度模块路径错误
动态导入模块时使用了错误的路径前缀,将module_application改为module_task以匹配正确的模块路径
2026-02-17 03:27:58 +08:00
zhangtao 1f7e9e8d67 feat(workflow): 重构工作流模块并迁移到module_task目录
- 将工作流相关模块从module_application迁移到module_task目录
- 新增节点类型模型、服务和API接口
- 添加动态节点组件和节点操作工具函数
- 更新前端工作流编辑器支持动态节点配置
- 移除旧的module_application工作流相关文件
- 升级element-plus到2.11.0版本
- 优化性能工具函数(防抖和节流)
- 清理不再使用的依赖项(langchain-anthropic和langchain-mcp-adapters)
2026-02-17 03:24:53 +08:00
zhangtao aad10384d4 refactor(ai): 重构AI模块目录结构并优化代码
将AI模块从module_application迁移到module_ai目录
新增聊天会话和消息的CRUD、服务和控制器
实现WebSocket聊天接口和前端组件
优化代码结构和性能,修复已知问题
2026-02-15 01:24:38 +08:00
zhangtao 815bb31d52 feat: 添加LangJin文档功能并优化代码结构
添加前端LangJin文档页面和路由
完善后端文档配置和错误处理
优化代码格式和导入顺序
更新系统菜单和配置项
2026-02-14 00:33:47 +08:00
zhangtao 6c14b3ad54 feat(ai): 重构AI聊天模块,新增会话管理和文件上传功能
- 重构前端聊天界面布局,新增侧边栏管理会话
- 实现会话创建、切换和消息历史加载功能
- 新增文件上传和消息附件支持
- 优化WebSocket连接处理,支持token认证
- 后端新增会话和消息模型,重构WebSocket处理逻辑
- 移除旧的知识库和智能体配置相关代码
- 优化UI样式和交互体验
2026-02-13 23:57:36 +08:00
langjin aa4f6130b5 feat(doc): 新增了自定义的接口文档,,支持全局参数配置,postman风格UI,访问路径默认为/ljdoc,可以在setting中自己配置 2026-02-11 17:15:19 +08:00
zhangtao 45dad1e256 feat(ai): 新增智能助手功能模块
feat(backend): 添加ChromaDB向量数据库支持
feat(backend): 实现智能体配置、知识库和文档管理
feat(backend): 重构WebSocket聊天服务为AgentService
feat(frontend): 实现完整的聊天界面组件
feat(frontend): 添加智能体配置、知识库和文档管理页面
fix(user): 修复用户导入时性别转换问题
style(import): 优化导入组件加载状态处理
2026-02-09 01:22:48 +08:00
zhangtao b4dcdfa1ab refactor(ai): 移除AI工具模块并内联AI处理逻辑
将AI工具模块中的AIClient类逻辑内联到service中,删除不再使用的工具模块
简化资源查询参数中的path字段处理
2026-02-08 01:26:53 +08:00