Commit Graph

36 Commits

Author SHA1 Message Date
token 65ddd31cc1 feat(cert): 支持上传自定义证书、泛域名 DNS-01 及修复 HTTPS 重定向
证书管理:
- 新增上传自定义证书接口 (POST /api/v1/cert/upload),支持 PFX/P12 与 PEM 格式,
  统一转换为固定密码 pfx 落盘,校验私钥并读取有效期/颁发机构
- 新增 CertType 区分 Let's Encrypt 与用户上传证书,上传证书不参与自动续期
- 泛域名支持: SNI 按 *.example.com 匹配一级子域名,泛域名安全文件名处理,
  网关缓存按泛域名失效
- 泛域名申请: 新增 DNS-01 两步验证接口 (dns/prepare、dns/validate),
  生成 _acme-challenge TXT 记录供手动添加后签发;泛域名排除出 HTTP-01 自动续期
- 前端: 新增上传证书 / 重新上传 / DNS 验证对话框及入口

修复:
- HTTPS 重定向未生效: Server.RedirectHttps 此前从未被消费,现在网关在 ACME
  校验之后加入重定向中间件,将 80 端口明文请求 307 跳转到 HTTPS

文档与 CI:
- README(中/英) 补充证书管理说明与多平台下载
- release 工作流新增 linux/win/osx 的 x64 与 arm64 构建
- docker 镜像改为 linux/amd64,linux/arm64 多架构并修正触发分支

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 11:52:02 +08:00
token 0dbc89d543 feat(gateway): add request failover controls
- add request-level failover settings to server models and management UI
2026-03-22 16:01:31 +08:00
token f1e520996c feat: 支持配置健康检查 Interval/Timeout
允许为路由配置健康检查的探测间隔与超时,减少误判并适配不同上游响应特性。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-04 20:08:50 +08:00
token 618ba118aa feat: 支持路由级健康检查配置
为服务/集群类型路由增加健康检查开关与地址校验,网关按路由生成 HealthCheck 配置并在服务信息页展示启用状态与路径。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-04 19:51:38 +08:00
token abe4d6d899 增加健康检查 2026-01-04 19:30:09 +08:00
token ef57676312 优化性能 2026-01-04 17:37:22 +08:00
token 42ed5deb17 支持容器化及性能优化,改进证书与UI
增加对 Docker 的支持,优化了 `docker-compose` 和 `Dockerfile` 配置,支持多阶段构建。改进了 QPS 计算逻辑,采用无锁滑动窗口机制,提升性能并添加历史记录功能。增强了证书管理,支持缓存和失效逻辑,避免重复加载。更新了仪表盘 UI,替换折线图为柱状图,优化布局和交互。删除冗余代码,提升代码可读性和维护性。
2025-11-15 01:34:24 +08:00
token ca9c12b66f feat: Refactor FileStoragePage layout and styles for improved UX
- Updated the layout of the FileStoragePage to enhance the sidebar and main content structure.
- Improved styling for file tree and action buttons.
- Added loading skeletons and empty states for better user feedback.
- Enhanced file grid display with improved card styles and hover effects.

feat: Add maxRequestBodySize and timeout fields to server configuration

- Introduced new input fields for max request body size and timeout in CreateServer and UpdateServer components.
- Updated server types to include maxRequestBodySize and timeout properties.

feat: Enhance ProxyList component with improved server card rendering

- Refactored server card rendering logic for better readability and maintainability.
- Added status indicators and improved dropdown menu functionality for server actions.
- Updated layout and styling for a more cohesive design.

feat: Create SystemService for fetching system version information

- Added a new service to fetch system version information from the API.
- Defined VersionInfo interface for type safety.

fix: Update ServerPage layout and integrate server statistics display

- Improved layout of the ServerPage to include a statistics overview for servers.
- Added functionality to refresh server list and open documentation link.
2025-11-10 17:26:51 +08:00
token 4c23f643ec feat(server): 优化服务器列表UI和交互体验
重构服务器列表卡片组件,改进视觉设计和交互细节:
1. 添加卡片悬停动画和状态指示器
2. 重新设计操作菜单图标和布局
3. 增强标签样式和功能标识
4. 优化空状态页面显示
5. 调整网格布局响应式设计
2025-08-24 00:05:46 +08:00
token 50c08287d5 refactor(web): 优化UI组件和样式,移除未使用的导入
feat(server): 添加性能监控中间件和QPS服务增强

fix(web): 修复表格分页和样式问题

perf(gateway): 优化隧道客户端连接池配置

chore: 更新依赖和配置文件

style: 清理未使用的代码和注释

docs: 更新API文档和类型定义

test: 更新测试用例
2025-08-23 02:41:19 +08:00
token aaafac6fc2 refactor(ui): 重构多个组件和页面使用Tailwind CSS替换内联样式
feat(table): 新增DataTable组件基于TanStack React Table实现
feat(alert): 新增Alert组件用于显示提示信息
style: 统一组件样式和布局,移除react-layout-kit依赖
fix(theme-switch): 修复主题切换回调函数类型定义
chore: 更新依赖并添加@tanstack/react-table
2025-08-22 19:12:54 +08:00
token 5f7787efd6 feat: 重构项目结构并添加新功能
- 重构项目目录结构,将核心逻辑移至Core项目
- 添加隧道客户端功能及相关配置
- 实现黑白名单、限流策略等新功能
- 更新前端UI组件库至shadcn/ui
- 优化前端主题切换功能
- 添加设置管理接口
- 实现文件存储和目录浏览功能
- 完善证书管理功能
- 添加服务监控仪表盘
- 实现服务启停和配置管理
2025-08-22 18:39:26 +08:00
token cb4e4b0f98 重构Docker构建流程,添加多架构支持,更新依赖项并移除不必要的日志记录功能。新增配置服务以替代EntityFrameworkCore,简化数据管理。 2025-08-12 16:12:43 +08:00
token 73c85de390 优化ProxyList和DomainNamesList组件的样式,使用主题色彩,调整布局为网格形式 2025-07-18 03:26:11 +08:00
token c378e7996c chore: update dependencies and refactor modal components
- Updated @lobehub/ui to version 2.0.0 and added antd as a dependency.
- Upgraded React and ReactDOM to version 19.0.0.
- Refactored main.tsx to use StrictMode and createRoot for rendering.
- Removed duplicate onClose prop in Modal components across various files.
- Cleaned up imports by removing unused CSSProperties in TableList.tsx.
- Updated Vite configuration to change the API proxy target to a new IP address.
2025-07-17 22:16:15 +08:00
token e41a4fd386 添加删除一个月前日志的功能,更新应用日志服务,优化登录页面样式 2025-06-16 11:56:46 +08:00
token c9768944b1 优化登录页面样式,添加路由前缀验证,更新日志记录功能 2025-03-10 18:58:37 +08:00
token cd03f9ca7b 优化仪表板内存数据处理,修复内存使用率显示错误 2024-11-26 01:09:28 +08:00
token 85f66bd904 修复日志存储失败
修复域名不能提供try
修复压缩不生效
2024-11-26 00:53:57 +08:00
token 5899ea27b9 Update index.tsx 2024-11-25 23:43:12 +08:00
token ad5b93d4a7 添加 LoggerContext 和日志清理后台服务,更新依赖项,修改配置文件,优化 API 调用 2024-11-18 18:02:28 +08:00
token e36a3660ec Add global using statement for Gnarly.Data 2024-10-24 01:37:33 +08:00
token 3ea72d332a 优化代码逻辑
增加界面懒加载
优化日志显示
2024-08-07 00:29:52 +08:00
token 5e5716cd9b 优化版本 2024-08-06 02:43:37 +08:00
token 8c09b57f20 增加主题切换
修复路由错误
2024-07-29 00:29:02 +08:00
token cb8a02b17d 修复证书申请
修复Logo显示
2024-07-28 23:38:59 +08:00
token fd15113cd6 增加docker-compose 2024-07-28 22:48:05 +08:00
token c171384ef2 支持日志记录
支持编辑服务
支持编辑路由
2024-07-27 23:55:37 +08:00
token a1ec916ebd 实现文件管理
优化核心功能
 优化证书管理界面
 优化服务
2024-07-27 05:00:10 +08:00
token c5421dc6ca 增加tryFiles 2024-07-25 02:00:40 +08:00
token e8203725d4 增加关于界面
增加证书管理
2024-07-25 01:44:54 +08:00
token 78cdaef52c 增加证书申请 2024-07-24 01:10:24 +08:00
token da343bc5af 增加证书添加功能 2024-07-24 00:58:33 +08:00
token d059dff48f 增加黑名单白名单实现
增加限流实现
2024-07-24 00:51:36 +08:00
token 905316d947 增加防护界面 2024-07-23 01:22:29 +08:00
token de43adb3fa 初始化 2024-07-22 01:44:43 +08:00