|
|
e818ac8764
|
x
Build docker and publish / build (20.15.1) (push) Successful in 7m38s
|
2026-04-04 09:41:41 -07:00 |
|
|
|
98d8525fa9
|
refactor: 简化 trial 赠送配置,删除多余的白名单启用开关
Build docker and publish / build (20.15.1) (push) Successful in 7m42s
**简化方案**:
- 删除 `EnableTrialEmailWhitelist` 配置字段(多余)
- 保留 `TrialEmailDomainWhitelist`(逗号分隔的白名单域名)
- 赠送规则:白名单**非空** 且 **邮箱在列表** 才赠送
**新的赠送逻辑**:
```yaml
TrialEmailDomainWhitelist: "qq.com,163.com,gmail.com"
```
- 为空 → ❌ 不赠送(关闭)
- 非空 → ✅ 赠送给白名单域名的邮箱
**更新的地方**:
1. internal/config/config.go - 删除 EnableTrialEmailWhitelist 字段
2. userRegisterLogic.go - 简化赠送逻辑
3. emailLoginLogic.go - 简化赠送逻辑
4. bindEmailWithVerificationLogic.go - 简化赠送逻辑
5. oAuthLoginGetTokenLogic.go - 简化赠送逻辑
**配置升级说明**:
旧配置:
```yaml
EnableTrial: true
EnableTrialEmailWhitelist: true
TrialEmailDomainWhitelist: "qq.com,163.com"
```
新配置(只保留两项):
```yaml
EnableTrial: true
TrialEmailDomainWhitelist: "qq.com,163.com"
```
关闭赠送:
```yaml
EnableTrial: true
TrialEmailDomainWhitelist: ""
```
Co-Authored-By: claude-flow <ruv@ruv.net>
|
2026-04-03 07:20:10 -07:00 |
|
|
|
3417da2a9e
|
feat: trial 赠送改为白名单邮箱域名控制
Build docker and publish / build (20.15.1) (push) Failing after 7m14s
- 新增 EnableTrialEmailWhitelist + TrialEmailDomainWhitelist 配置
- 邮箱注册/登录:加白名单域名判断,域名匹配才赠送 trial
- 设备登录/手机注册:移除 activeTrial,不再自动赠送
- 绑定邮箱(bindEmailWithVerification):绑定成功后检查白名单+防重复赠送
- 新增 IsEmailDomainWhitelisted 导出函数供跨包调用
- 清理 deviceLoginLogic/telephoneUserRegisterLogic 中的 activeTrial 死代码
Co-Authored-By: claude-flow <ruv@ruv.net>
|
2026-04-02 05:46:04 -07:00 |
|
|
|
de6fbcb518
|
device_no
Build docker and publish / build (20.15.1) (push) Successful in 7m22s
|
2026-03-18 10:28:55 -07:00 |
|
|
|
dcdbabdb13
|
注销
Build docker and publish / build (20.15.1) (push) Successful in 7m34s
|
2026-03-17 07:12:42 -07:00 |
|
|
|
69028898a4
|
搜索
Build docker and publish / build (20.15.1) (push) Successful in 7m52s
|
2026-03-08 08:05:26 -07:00 |
|
|
|
7308aa9191
|
无订阅 支付后出现两个订阅
Build docker and publish / build (20.15.1) (push) Failing after 7m37s
|
2026-03-05 21:53:36 -08:00 |
|
|
|
a01570b59d
|
fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 8m21s
|
2026-03-04 06:33:14 -08:00 |
|
|
|
6c370485d1
|
fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 8m1s
|
2026-03-04 03:07:41 -08:00 |
|
|
|
4d8516b2e1
|
同步历史版本代码
|
2026-03-03 09:32:22 -08:00 |
|
EUForest
|
37200698ab
|
update: redis config
|
2026-01-31 12:08:12 +08:00 |
|
EUForest
|
23ef9dbff1
|
feat: bind device limit
|
2026-01-06 16:15:47 +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
|
ff2d3f85f3
|
new features: Based on IP user registration restrictions
|
2025-11-13 14:52:02 +08:00 |
|
EUForest
|
d78d79fa2d
|
add: Automatically delete token when device is removed
|
2025-10-22 19:52:52 +08:00 |
|
EUForest
|
46e6a9784d
|
add: User transmission interface encryption
|
2025-10-12 16:23:29 +08:00 |
|
Chang lue Tsen
|
0d1df5f905
|
feat(config): enhance NodeConfig with TrafficReportThreshold, IPStrategy, DNS, Block, and Outbound fields
|
2025-09-28 19:06:29 +09:00 |
|
Chang lue Tsen
|
b5c756af35
|
feat(subscribe): update subscribe path
|
2025-09-16 10:39:19 -04:00 |
|
Chang lue Tsen
|
b6cae7bbb5
|
feat(api): add log settings management with auto-clear and clear days configuration
|
2025-09-01 06:11:35 -04:00 |
|
Chang lue Tsen
|
6dc1bee14c
|
feat(api): refactor cache key handling for server and user lists
|
2025-08-31 11:29:55 -04:00 |
|
Chang lue Tsen
|
6580cc9d44
|
feat(subscribe): implement user agent limit feature with configurable list
|
2025-08-16 13:37:09 -04:00 |
|
Chang lue Tsen
|
34c09c4618
|
refactor: update import paths from ppanel-server to server
|
2025-04-25 15:09:31 +09:00 |
|
Chang lue Tsen
|
52063049c5
|
fix: update version command to use constants for version and build time
|
2025-04-25 15:07:22 +09:00 |
|
Chang lue Tsen
|
8addcc584b
|
init: 1.0.0
|
2025-04-25 12:08:29 +09:00 |
|