Commit Graph

49 Commits

Author SHA1 Message Date
sagitchu ea156c33bc style(frontend): sync remaining glass UI theme files and cyberpunk theme 2026-04-21 12:40:00 +08:00
sagit 534d36f0a1 feat(ui): add persistent custom background image upload feature (#415) 2026-04-21 09:19:02 +08:00
sagit 49ab2915ee feat: commercial white-label support (#403)
* fix: increase updateTunnel timeout to 120s

Editing tunnel entry nodes triggers forward sync to all entry nodes.
If nodes are offline or many forwards exist, the sync can exceed
the default 30s timeout. Match the timeout used by other heavy
operations like batchDeleteTunnels.

* docs: add commercial white-label design spec

* docs: add commercial white-label implementation plan

* feat: add license activation endpoint and authorization check for commercial config keys

* feat: add frontend api and update site config state for license

* feat: conditionally hide flvx footer brand

* feat: ui settings for commercial white-label and license activation

* fix: add missing licenseActivateRequest and fix GetConfig in handler.go

* docs: add keygen.sh license integration design spec

* docs: add keygen.sh integration implementation plan

* feat: add machine fingerprint generation

* feat: add keygen.sh api client

* feat: integrate keygen into license activation endpoint

* feat: add periodic license validation job

* fix: remove accidentally leaked dash kernel test codes that caused compilation failures

* fix: correct keygen validation scope and binding logic

* feat: hardcode Keygen.sh account ID

* fix: relax strict validation matching after successful machine activation
2026-04-03 07:23:22 +00:00
sagitchu 7285717e34 feat(frontend): improve favicon loading with fallback to config API
- Add synchronous config API call in index.html when localStorage cache is empty
- Prevents favicon flash on login page during first load
- Enhance getCachedConfigs() to fetch public configs as fallback
- Preserve existing siteConfig values when config keys are missing
2026-02-27 18:23:18 +08:00
sagitchu e5ce0501a2 feat: add brand asset upload with PNG conversion and improve config validation
- Add file upload support for logo and favicon with automatic PNG conversion
- Add backend validation for brand asset data URLs (app_logo, app_favicon)
- Change vite_config.value column type from varchar(200) to text for PostgreSQL
- Add schema migration v3 for vite_config.value column type conversion
- Update frontend to use file picker instead of manual URL input
- Add early favicon application in index.html to prevent flash
2026-02-27 15:54:04 +08:00
sagit d2645589da feat(frontend): add customizable favicon and corner logo with live preview (#218)
* feat(frontend): add customizable favicon and corner logo with live preview

- Add app_logo and app_favicon config fields in config page
- Implement BrandLogo component with URL fallback to SVG logo
- Integrate BrandLogo into all layouts (admin, h5, h5-simple) and navbar
- Add real-time preview for favicon and logo in config page with error state
- Support both relative paths and full image URLs for branding assets
- Sync branding changes (app_name/app_logo/app_favicon) to site config on save

* fix(frontend): preserve tunnel node selection order

* fix(select): use useMemo for option label map to improve performance
2026-02-27 11:50:03 +08:00
sagit aeeb57b89d chore: rebrand to FLVX and fix docker multi-arch build 2026-02-08 11:50:06 +00:00
root efd5a107b9 fix: migrate frontend to Vite 7 and resolve lint warnings 2026-02-06 06:09:17 +00:00
root 6f6fececa8 style: 美化用户隧道权限分配表单UI并统一代码格式
- 使用HeroUI Checkbox组件替换原生checkbox

- 重构隧道列表为card-based tile风格

- 添加选中/未选中/已分配状态视觉区分

- 应用eslint --fix代码格式统一

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-04 02:22:28 +00:00
root 78aa86b23c 前端版本号从tag注入并提交本地配置 2026-02-01 12:10:17 +00:00
sagit dd58ac67de feat: allow changing tunnel when editing forward rules
- Add tunnelId field to ForwardUpdateDto
- Refactor updateForward to support tunnel change:
  - Release old tunnel resources (GOST services + ForwardPort)
  - Allocate new tunnel resources with proper rollback
  - Preserve flow statistics (inFlow/outFlow)
- Remove tunnel selector disabled state in forward.tsx
- Bump version to 2.0.9
2026-01-24 05:27:51 +00:00
sagit 6e25e1838d ci: migrate Docker images to GHCR and add tag-triggered release
- Replace Docker Hub with GitHub Container Registry (ghcr.io)
- Add tag push trigger for automatic release creation
- Dynamic version from tag name (2.0.8 format)
- Frontend GitHub links now use env variable VITE_GITHUB_REPO
- Release artifacts auto-replace repo/version in scripts
2026-01-24 04:40:12 +00:00
qaq c20a78a196 修复流量问题 2026-01-06 11:23:16 +08:00
qaq 0b2974726c 修修复转发链v6格式化错误的问题 2025-11-21 10:17:53 +08:00
qaq 43aebdf8f4 修复agent时携带错误的屏蔽协议数据,编辑转发时无法使用原分配端口 2025-11-20 13:51:48 +08:00
qaq 37ea338a35 修复WAL模式下丢失数据问题 2025-11-20 12:15:30 +08:00
qaq f6dd3ad657 修复v6,重复分配端口,指定网卡失败的问题 2025-11-20 11:27:58 +08:00
qaq 4fef8eeb32 修复出口协议无法选择,加入自定义转发端口,增加arm支持 2025-11-19 16:32:48 +08:00
qaq 9146eb0375 修复节点安装脚本 2025-11-19 14:56:25 +08:00
qaq 65ca18d649 2.0版本测试 2025-11-19 14:28:45 +08:00
qaq b83f6c0023 添加版本管理 2025-11-14 10:06:29 +08:00
qaq d6feb17b86 添加屏蔽协议到面板,免去手动操作 2025-10-31 15:58:49 +08:00
qaq 4754fc03a7 x修复反代 2025-09-26 19:34:11 +08:00
qaq 170744fb04 停止维护 2025-08-30 20:06:22 +08:00
qaq 7984129b4c 统一ui显示效果 2025-08-29 09:38:04 +08:00
qaq 5b33ffae17 修复到期暂停转发的连带问题 2025-08-27 11:40:49 +08:00
qaq 365387576f 修复部分浏览器判定为app的bug 2025-08-21 21:52:04 +08:00
qaq 07a0b9e3fa 修复名称 2025-08-21 17:26:02 +08:00
qaq 6c4f9cd24c 适配ios端 2025-08-21 15:40:35 +08:00
qaq ac404044c4 修改统一名称 2025-08-20 16:40:58 +08:00
qaq a8e283f31b 修改统一名称 2025-08-20 16:38:09 +08:00
qaq b1647ed309 修复转发暂停问题 增加安卓apk 2025-08-20 13:43:35 +08:00
qaq cdfad3f224 增加协议屏蔽支持 2025-08-17 21:10:56 +08:00
qaq 6f80e26a8f 优化 2025-08-15 12:25:06 +08:00
qaq 6b65a7dd2d 增加登陆验证码,24小时流量统计 2025-08-14 15:07:53 +08:00
qaq 24dcd58d80 回滚 2025-08-13 21:06:50 +08:00
qaq fe5c92bf22 修复无法及时暂停的bug 2025-08-09 21:27:30 +08:00
qaq d675effd58 修复bug 2025-08-08 19:52:53 +08:00
qaq 791cde3eb2 新增支持隧道和转发选择出口ip 2025-08-07 13:50:17 +08:00
qaq 62f9da97f4 增加拖拽排序 2025-08-05 22:16:21 +08:00
qaq 8e4b69e335 新增转发导入,导出,批量添加功能 2025-08-05 17:28:42 +08:00
qaq 614d147032 优化显示,新增流量重置 2025-08-04 17:13:38 +08:00
qaq f35e6e95f5 变更流量计费方法 2025-08-01 16:25:16 +08:00
qaq 73c1af715e 添加subStore接口 2025-08-01 12:57:40 +08:00
qaq decda2c892 增加转发分类显示 2025-07-25 12:49:50 +08:00
qaq 31e9ee621f 增加网站配置 2025-07-24 17:21:09 +08:00
qaq d28c04d7ba 增加网站配置 2025-07-24 16:48:47 +08:00
qaq f8f83039f9 重构前端ui 2025-07-03 11:18:15 +08:00
qaq 94e01ae63b 优化流程 2025-07-02 15:40:14 +08:00