Commit Graph
38 Commits
Author SHA1 Message Date
Codex 1273f226fd feat: configurable traffic threshold and Feishu bot alerts 2026-10-23 17:49:19 +08:00
Codex 94ec3b042b chore(frontend): drop unused logs.connCount locale keys
Remove dead connection-count copy left after retention card cleanup.
2026-10-23 16:19:10 +08:00
Codex 76bfda8627 docs+feat: record backlog tip and move custom protocols to More
Document delivered IA and backlog four items; put custom plugins under
the wizard More group per design.
2026-10-23 16:17:43 +08:00
Codex 9984e21930 feat(frontend): finish backlog UX for audit, dashboard, wizard
Wire sessions audit to paged connection-logs with filters/export,
drop connection-count from log retention, add dashboard quick cards,
and group tunnel wizard protocols by scene.
2026-10-23 16:16:50 +08:00
Codex f01d3dc5ea feat(frontend): align console IA with integrations sidebar
Add 对接与扩展 (IPSec, Feishu/OIDC, Plugins, Nodes), move identity
out of settings onto /identity, make sessions/logs tab-deep-linkable,
and rename ops audit / dial-in / admin labels to match the locked nav.
2026-10-23 16:12:02 +08:00
Codex 7f80f0f7ce Clarify Feishu upstream names and simplify sync copy 2026-10-23 14:44:40 +08:00
Codex e2597719c8 Check Feishu directory scope and highlight app availability 2026-10-23 14:35:09 +08:00
Codex 594bb61cef Show Feishu app visibility and preserve sync toggle 2026-10-23 11:19:15 +08:00
Codex e5375deeb2 Import Feishu directory with optional 30-minute sync 2026-10-23 11:10:59 +08:00
Codex 4096b93da3 Clarify Feishu permissions and verify name lookup scope 2026-10-23 02:25:15 +08:00
Codex 46390194ee Explain Feishu basic profile permission in identity diagnostics 2026-10-23 02:11:29 +08:00
Codex d4eddf7365 Resolve Feishu names by verified open ID and scope VPN member access 2026-10-23 02:02:52 +08:00
opsx 8fd8c0cd73 Bind Feishu identity to OpenVPN sessions and refine management UI 2026-10-22 23:24:41 +08:00
opsx 347799cb1e Align management UI with web design guide 2026-10-22 21:46:28 +08:00
opsx 373a0904be Improve Feishu permission checks and OpenVPN auth result page 2026-10-22 21:13:27 +08:00
opsx 0231c376c6 Correct Feishu login scope for OpenVPN OIDC 2026-10-22 20:03:23 +08:00
opsx 9e26358df0 Show Feishu tenant lookup progress and remaining setup 2026-10-22 19:22:36 +08:00
opsx 7e50443bba Guide Feishu app setup and surface tenant lookup codes 2026-10-22 19:09:57 +08:00
opsx eb3861bbe8 Fetch Feishu tenant identity from app credentials 2026-10-22 14:31:39 +08:00
opsx 5ef1cb48cf Clarify Feishu app setup and OpenVPN OIDC source 2026-10-22 10:12:06 +08:00
opsx 63cdda4ae1 Add opt-in built-in Feishu OIDC issuer for OpenVPN 2026-10-22 09:47:54 +08:00
opsx 6ca609fde4 Suggest configured HTTPS domain for OpenVPN OIDC entry 2026-10-22 09:00:11 +08:00
opsx 16955c3126 Redesign console navigation and settings tabs 2026-10-22 08:09:41 +08:00
opsx ea9c885a15 Show OpenVPN OIDC prerequisites and exposed management port 2026-10-22 08:03:08 +08:00
opsx cb28b235ef Add managed Nginx HTTP-01 gateway activation and certificate status 2026-10-22 01:08:14 +08:00
opsx 6a1bace3e9 Refresh tunnel actions promptly and clarify Feishu OIDC setup 2026-10-22 00:01:12 +08:00
opsx 41fb9d5631 Refine WireGuard client routing and authentication UI 2026-10-21 21:10:53 +08:00
opsx 6dd3c7dd45 feat(client): add authorized WireGuard device enrollment and desktop connection 2026-10-21 14:53:55 +08:00
opsx d2f1f5040e feat(tls): add optional nginx setup and gateway preview 2026-10-21 11:33:44 +08:00
opsx 00f6c876cf feat(tls): manage ACME domain and add desktop client settings 2026-10-21 10:25:55 +08:00
opsx 003f755b37 feat(openvpn): suggest available OIDC ports and add deployment assets 2026-10-21 01:19:49 +08:00
opsx d6a9a92ad0 feat(openvpn): add OIDC browser authentication and setup guide 2026-10-20 23:31:46 +08:00
opsx a15786ea84 feat: 主机环境一键初始化(页面内装依赖 + 修转发/GRE)
- 新增 GET /api/system/env:主机环境体检
  * 运行权限 / IPv4 转发 / GRE 内核模块 / 包管理器 / 各协议依赖 / xl2tpd
  * 返回 failed/blocking/ready 汇总,供前端渲染与门控
- 新增 POST /api/system/fix:白名单修复动作
  * ip_forward:sysctl 开启 + 持久化到 /etc/sysctl.d/99-opsx-vpn.conf
  * gre_module:modprobe + 持久化到 /etc/modules-load.d/opsx-vpn.conf
  * install:<协议>:复用 binmgr.InstallViaPackageManager(apt/yum/dnf/apk/pacman)
  * tool:xl2tpd:L2TP 依赖补齐
  * 仅 admin 可调用;actions 与协议名均走白名单,绝不接受调用方传入命令串;全部写审计日志
- Dashboard:协议「安装命令」按钮改为「一键安装」(调 /binaries/install,含包管理器降级)
- Dashboard:主机前提警告条新增「一键修复」按钮(按缺失项逐项修复)
- i18n:中英文补齐 oneClickInstall / oneClickFix / fixSuccess / fixFailed / fixNeedRoot / fixNothing
2026-10-20 21:32:53 +08:00
opsx ef7eb378d2 feat: 新增 GRE 隧道协议,管理端口调整为 18080
- backend: 新增 GRE 隧道实现(ip tunnel 点对点互联),binmgr 支持 iproute2
- backend: api/identity 调整,各协议 service(gre/ikev2/ipsec/l2tp/openvpn)统一改动
- backend: OpenVPN 认证辅助与用户口令同步逻辑完善
- frontend: 协议图标/向导/编辑器支持 GRE,VPN 用户页重构(234 行)
- frontend: 新增 RouteListInput 路由列表输入组件,Dashboard/Layout 优化
- i18n: 中英文文案同步更新
- test: 新增 binmgr/common/gre 单测,openvpn 测试补充
- docs: README 补充 GRE 说明,默认监听端口 8080 → 18080
- chore: .gitignore 增加 opsx-vpn.previous(构建备份二进制)
2026-10-20 20:58:58 +08:00
Logan.Li c7f59f2cbf fix: 修复CSP白屏并优化LDAP配置 2026-07-25 22:28:16 +08:00
opsx-tools a14d9e62e6 feat: 日志中心 + GRE协议支持 + 流量监控 + 部署脚本
- 新增日志中心功能 (api/logapi.go + Logs.vue)
- 新增GRE协议服务支持 (service/gre/)
- 新增流量监控组件 (TrafficChart.vue)
- 新增L2TP/IPSec测试用例
- 新增日志轮转服务 (logrotate.go)
- 新增部署脚本 (scripts/install.sh, uninstall.sh, service文件)
- 更新i18n国际化文件
- 优化后端API和前端路由
2026-07-25 08:50:34 +08:00
opsx-tools 91974fc30f feat: 后端限速实现 + 前端i18n全面国际化 + 安全与代码质量修复
后端:
- trafficmgr: 实现 tc htb 限速(ApplyRateLimit/RemoveRateLimit),自动推导接口名
- 各协议服务: 代码质量改进与错误处理增强

前端:
- protocols.js: 170个硬编码中文字符串全部转为 i18n key,中英文双语翻译
- 提取 fmtBytes() 到 utils/format.js 公共模块(消除 4 处重复)
- router.js: 添加路由级权限守卫,非管理员无法直接 URL 访问管理页
- Tunnels.vue: SSE 日志流改用 fetch+ReadableStream,token 放 Authorization header
- VPNUsers.vue: 修复 catch 块中文硬编码 fallback
- 新增 TaskProgress 组件、taskmgr 后端任务管理
2026-07-23 12:57:46 +08:00
opsx-tools 021d012478 feat: 全协议一键安装 + 国内GitHub镜像加速 + 中英文i18n国际化
后端:
- binmgr.go: 新增 detectChina() 国内/海外自动判断(ipinfo.io)
- binmgr.go: 国内自动走 gh-proxy.com 镜像加速 GitHub 下载
- binmgr.go: 新增 InstallViaPackageManager() 包管理器一键安装
- binmgr.go: 新增 GetDeploySpec()/ProtocolAlias() 导出函数
- api.go: installBinary 支持全部7个协议(FRP/WireGuard/OpenVPN/IPSec/IKEv2/L2TP/StrongSwan)
- api.go: 策略: GitHub下载失败 → 自动降级包管理器安装

前端:
- 安装 vue-i18n@9, 支持中英文切换
- 新增 locales/zh-CN.json + en-US.json (548个翻译key, 17个模块)
- 新增 i18n.js 配置, localStorage 持久化语言偏好
- Layout.vue 右上角语言切换下拉菜单
- 所有17个Vue文件中文文本转为 $t() 调用
- Element Plus 组件语言跟随切换
- TunnelWizard: 所有协议显示「一键安装」按钮(带loading)
- 前端构建零错误
2026-07-23 03:01:46 +08:00