343 Commits

Author SHA1 Message Date
EUForest
5beff61e91 Merge upstream/master into develop
Sync upstream changes from perfect-panel/server

  Includes updates from v1.0.1 to v1.2.5:
  - Currency configuration support
  - Subscribe improvements (short token, inventory check, etc.)
  - Node management enhancements
  - Database migrations
  - Bug fixes and optimizations
2026-01-03 23:21:41 +08:00
EUForest
80ee9a6acf Merge upstream/master into develop
Sync upstream changes from perfect-panel/server

  Includes updates from v1.0.1 to v1.2.5:
  - Currency configuration support
  - Subscribe improvements (short token, inventory check, etc.)
  - Node management enhancements
  - Database migrations
  - Bug fixes and optimizations
2026-01-02 12:51:55 +08:00
EUForest
47c41d1d14 fix bug: telephone login 2025-12-19 22:46:48 +08:00
EUForest
39db154e53 fix bug: Flag free trial 2025-12-17 22:09:46 +08:00
EUForest
76ff9a658d Merge branch perfect-panel/master/server into develop 2025-12-11 23:53:32 +08:00
EUForest
5e46357104 修复工作流条件判断
- 移除 startsWith 函数在 if 条件中的使用
- 使用正确的 github.ref_type 判断标签推送
2025-11-24 18:43:25 +08:00
EUForest
35f60df62e 重新触发构建测试 2025-11-24 18:39:44 +08:00
EUForest
b4893b7acc 修复 bash 脚本语法错误
- 移除 startsWith() 函数在 bash 中的使用
- 使用 github.ref_type 检测标签推送
2025-11-24 18:25:35 +08:00
EUForest
adc4a4ff2c 修复 GitHub Actions 语法错误
- 合并重复的 push 触发器
- 修复 YAML 语法问题
- 确保标签推送时自动创建 Release
2025-11-24 18:23:17 +08:00
EUForest
b8a4b73bb0 修复标签推送自动创建 Release
- 添加 tags 触发器支持 v* 格式的标签
- 标签推送时自动创建 GitHub Release
- 自动上传二进制文件到 Release
2025-11-24 18:21:56 +08:00
EUForest
e062dc1ab0 添加手动发布功能支持
- 支持手动触发时创建 GitHub Release
- 可以为现有版本重新发布二进制文件
2025-11-24 18:19:52 +08:00
EUForest
0d57e7eae3 简化为纯 Golang Linux 二进制构建工作流
- 移除复杂的部署逻辑和 Docker 支持
- 专注于构建 Linux AMD64 二进制文件
- 自动生成 SHA256 校验和
- 支持 GitHub Release 自动上传
- 提供简洁的构建摘要
2025-11-24 18:12:12 +08:00
EUForest
5d18c7bb7d 添加 GitHub 自动部署 Linux 二进制工作流
- 新增 .github/workflows/deploy-linux.yml 支持自动构建和部署
- 添加 .goreleaser.yml 配置多平台发布
- 支持 build-only/deploy-staging/deploy-production 模式
- 包含 Docker 镜像自动构建
2025-11-24 18:10:00 +08:00
EUForest
f0f29deef1 add: github workflows 2025-11-24 18:01:23 +08:00
EUForest
22d03a100a add: github workflows 2025-11-24 17:53:16 +08:00
EUForest
e81a11cd59 remove: github workflows 2025-11-24 17:35:03 +08:00
EUForest
128791f43e update: bind device 2025-11-24 15:59:45 +08:00
EUForest
d22659ff04 update: encryption 2025-11-24 15:59:03 +08:00
EUForest
95ddba2332 update: Added support for floating-point calculations for discounts 2025-11-21 17:40:03 +08:00
EUForest
c1efb23354 update: Added support for floating-point calculations for discounts 2025-11-21 17:39:57 +08:00
EUForest
ff2d3f85f3 new features: Based on IP user registration restrictions 2025-11-13 14:52:02 +08:00
EUForest
0fb92f380f update: Remove accounts without verification methods 2025-11-13 14:50:55 +08:00
EUForest
3635d3e224 update: device delete current user 2025-11-13 14:49:25 +08:00
EUForest
60d584a052 add: User cancels account 2025-11-09 17:27:24 +08:00
EUForest
b9d3446407 Bug fix: Clear server user node cache 2025-11-09 17:18:25 +08:00
EUForest
902608b2e0 Add: Get expired subscription 2025-11-08 17:06:30 +08:00
EUForest
d7aa9a44b7 Add: Try to get the device ID from the request parameters 2025-11-08 17:05:52 +08:00
EUForest
b7eafd0892 Update: Account display priority: phone number > email > device ID 2025-11-08 17:05:05 +08:00
EUForest
d1a8662095 Add: Add a WebSocket connection to monitor the app's online status. 2025-11-06 15:35:49 +08:00
EUForest
8cce9b95b4 Add: Add a WebSocket connection to monitor the app's online status. 2025-11-06 15:34:51 +08:00
EUForest
066f5d6538 Update: Successful authentication records the identifier. 2025-11-06 15:33:14 +08:00
EUForest
de6661cc16 Update: Successful authentication records the identifier. 2025-11-06 15:32:29 +08:00
EUForest
52ce054b35 Add: Server location latitude and longitude 2025-11-04 14:53:43 +08:00
EUForest
2fd119d697
add missing proxy field mappings 2025-11-02 16:38:19 +08:00
EUForest
2605d22f8e Add: ClearServerAllCache Func 2025-11-01 16:05:37 +08:00
EUForest
829d5f3ffd fix bug: Set server zone 2025-11-01 15:57:30 +08:00
EUForest
7b8e71ade2 fix bug: SMS recharge password 2025-11-01 15:52:05 +08:00
EUForest
aaea4183c2 fix bug: Get area information 2025-10-31 23:23:58 +08:00
EUForest
e0003ea074 Temporary: Cancel node cache 2025-10-28 17:48:38 +08:00
EUForest
4312e20a5c fix bug: init sql fail 2025-10-28 14:24:06 +08:00
EUForest
2edc0ef1c8 fix bug: device login fail 2025-10-28 14:18:20 +08:00
EUForest
b974b9a56b Merge remote-tracking branch 'upstream' 2025-10-23 12:23:08 +08:00
EUForest
9ab63dff88 fix bug: Login failed for old user 2025-10-23 12:21:43 +08:00
Chang lue Tsen
a5abbc1dd3 fix(server): add unauthorized access check for secret key 2025-10-22 10:38:21 -04:00
Chang lue Tsen
528ed63a55 fix(version): log migration duration for database changes 2025-10-22 10:38:11 -04:00
EUForest
b2045a6e1b Merge remote-tracking branch 'upstream' 2025-10-22 20:36:42 +08:00
EUForest
cd3b9d4fc8 Merge remote-tracking branch 'upstream'
# Conflicts:
#	apis/public/subscribe.api
#	initialize/migrate/database/02115_ads.up.sql
#	internal/logic/auth/deviceLoginLogic.go
#	internal/logic/public/subscribe/queryUserSubscribeNodeListLogic.go
#	internal/logic/public/user/unbindDeviceLogic.go
#	internal/types/types.go
#	pkg/tool/encryption_test.go
2025-10-22 20:16:03 +08:00
EUForest
b099331302 add: Add protocol configuration in the return node 2025-10-22 19:54:56 +08:00
EUForest
d78d79fa2d add: Automatically delete token when device is removed 2025-10-22 19:52:52 +08:00
Chang lue Tsen
81748abce4 fix(traffic_log): update deletion condition to use timestamp instead of created_at 2025-10-20 10:18:07 -04:00