Commit Graph

105 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 823e70710f 性能点优化 2026-05-12 10:06:40 +08:00
token cd1415206e Merge pull request #26 from 239573049/feature/connection
Feature/connection
2026-03-28 03:59:31 +08:00
token 0b3874876c chore(docker): update gateway image registry 2026-03-22 16:02:11 +08:00
token bca6bf269c fix(tunnel): recover gateway reconnection after disconnect
- exit the gateway agent loop immediately when the control stream reaches EOF
2026-03-22 16:01:51 +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 5c3ec47fa9 Merge pull request #25 from 239573049/feat/ui
增加健康检查状态
2026-01-04 20:21:35 +08:00
token 262cc80851 增加健康检查状态 2026-01-04 20:12:05 +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 2f58c9ea7d feat: 添加请求超时功能,增强服务稳定性 2025-11-15 02:12:03 +08:00
token 71fdc788c6 feat: 添加 gateway.pfx 文件并更新 .gitignore,移除对 *.pfx 的忽略 2025-11-15 02:07:38 +08:00
token 0fb523311b fix: 移除 npm 缓存配置,因为项目没有 package-lock.json 2025-11-15 01:56:44 +08:00
token 9d245ad893 feat: 更新Dockerfile和CI配置,优化Node.js环境和构建流程 2025-11-15 01:49:10 +08:00
token 42ed5deb17 支持容器化及性能优化,改进证书与UI
增加对 Docker 的支持,优化了 `docker-compose` 和 `Dockerfile` 配置,支持多阶段构建。改进了 QPS 计算逻辑,采用无锁滑动窗口机制,提升性能并添加历史记录功能。增强了证书管理,支持缓存和失效逻辑,避免重复加载。更新了仪表盘 UI,替换折线图为柱状图,优化布局和交互。删除冗余代码,提升代码可读性和维护性。
2025-11-15 01:34:24 +08:00
token cc1586c833 Update Gateway.cs 2025-11-10 21:48:39 +08:00
token e8d5412018 更新try 2025-11-10 21:10:32 +08:00
token bfb26f3958 Update Gateway.cs 2025-11-10 21:05:38 +08:00
token fc763defa6 feat: 更新Gateway.cs,优化代理配置和请求超时设置 2025-11-10 19:29:10 +08:00
token aea2050dae Update Gateway.cs 2025-11-10 18:23:50 +08:00
token ce6043505b 更新脚本 2025-11-10 17:36:48 +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.
v2.13.0
2025-11-10 17:26:51 +08:00
token 3b758589d6 feat(release): update logging level and enhance release notes for TunnelClient 2025-08-25 03:10:24 +08:00
token ae0211b65c ci: 移除ARM64平台支持并简化构建步骤 v2.12.0 2025-08-25 02:53:02 +08:00
token a9b72e257b ci: 移除Docker构建中的ARM64平台支持 2025-08-25 00:05:10 +08:00
token 4c23f643ec feat(server): 优化服务器列表UI和交互体验
重构服务器列表卡片组件,改进视觉设计和交互细节:
1. 添加卡片悬停动画和状态指示器
2. 重新设计操作菜单图标和布局
3. 增强标签样式和功能标识
4. 优化空状态页面显示
5. 调整网格布局响应式设计
2025-08-24 00:05:46 +08:00
token 94b861cbb5 ci(workflow): 禁用ARM64构建的AOT编译以解决兼容性问题
修改发布工作流,在ARM64构建中显式禁用AOT编译,同时调整项目文件使AOT编译成为可选配置而非强制开启。这些更改解决了在ARM64架构下AOT编译导致的兼容性问题。
2025-08-23 03:05:26 +08:00
token 03f8f9e23f ci: 更新Dockerfile路径为src/FastGateway/Dockerfile 2025-08-23 03:03:14 +08:00
token 256b358f31 ci(workflow): 为ARM64平台添加标准构建步骤
为linux-arm64平台添加单独的构建步骤,使用标准构建而非AOT编译,以解决ARM64架构的兼容性问题
2025-08-23 03:02:20 +08:00
token 40ee9ff771 ci(workflow): 移除TunnelClient构建中的修剪参数
简化AOT构建流程,移除不必要的PublishTrimmed和TrimMode参数以提高构建速度
2025-08-23 02:59:10 +08:00
token 9c51623644 feat: 添加CustomWebSocketStream类并更新相关配置
- 新增CustomWebSocketStream类用于处理WebSocket流操作
- 移除appsettings.json中的数据库连接配置
- 更新CI构建脚本简化命令格式
- 添加Windows安装脚本和测试产物文件
2025-08-23 02:53:18 +08:00
token e6d219400a ci: 更新 .NET 版本至 10.0
更新 GitHub Actions 工作流和 Core 项目的 .NET 版本从 8.0/9.0 升级到 10.0
2025-08-23 02:48:05 +08:00
token 50c08287d5 refactor(web): 优化UI组件和样式,移除未使用的导入
feat(server): 添加性能监控中间件和QPS服务增强

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

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

chore: 更新依赖和配置文件

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

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

test: 更新测试用例
v2.1.0
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 5e94f70a55 refactor: enhance Gateway and TunnelClientFactory for improved proxy handling and clarity 2025-08-22 04:02:11 +08:00
token 7cd4b5b155 refactor: reorganize project structure and add new tunnel client functionality 2025-08-22 03:52:08 +08:00
token b15dbba527 refactor: update Dockerfile to use nightly preview images for base and build stages 2025-08-12 16:29:06 +08:00
token c5f874ea1a refactor: update configuration path and Dockerfile for improved structure 2025-08-12 16:18:25 +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 5ce95794c6 移除构建脚本中对命令存在性的检查,简化构建流程 2025-07-17 01:22:58 +08:00
token 22dc517497 添加ARM架构支持的构建脚本和Dockerfile 2025-07-17 00:58:49 +08:00
token f98182181f 添加ARM架构支持的Docker Compose和Dockerfile 2025-07-17 00:17:06 +08:00
token e41a4fd386 添加删除一个月前日志的功能,更新应用日志服务,优化登录页面样式 2025-06-16 11:56:46 +08:00
token 76784619f7 更新Dockerfile以使用node:alpine作为构建基础镜像,修正Gateway.cs中的WebApplication创建方法 2025-03-10 19:14:11 +08:00
token c9768944b1 优化登录页面样式,添加路由前缀验证,更新日志记录功能 2025-03-10 18:58:37 +08:00