Ching L
99ad345c36
chore(drone): update SSH host and username
continuous-integration/drone/push Build is passing
2025-09-08 11:44:53 +08:00
Ching L
33424b19cc
chore(ci): remove unused port configuration in drone file
continuous-integration/drone/push Build is passing
2025-09-08 11:42:28 +08:00
Ching L
abaf11b8bf
修复 Discord 通知:限制消息长度为100字符
continuous-integration/drone/push Build is passing
2025-09-08 11:36:38 +08:00
Ching L
399220307b
修复 Discord 通知因长消息导致的 400 错误
...
continuous-integration/drone/push Build is passing
- 添加自定义消息模板,限制消息长度为 200 字符
- 简化通知格式,只保留关键信息
- 避免因过长的 commit message 导致 webhook 请求失败
2025-09-08 11:28:36 +08:00
Ching L
3efc50deee
增强重复事件处理和TBD管理 v3.7
...
continuous-integration/drone/push Build is failing
主要改进:
- 改进TBD比赛ID生成:TBD vs TBD使用时间戳生成唯一ID,避免重复
- 自动删除被取代的TBD事件:当队伍确定后删除对应占位符
- 重复比赛清理:优先保留已完成的比赛,删除未完成的重复
- 增强重复检测:按30分钟时间窗口分组,自动清理同时间重复
修复的问题:
- 修复了XG vs TBD等重复占位符事件问题
- 修复了NGX vs Liquid等比赛的重复记录问题
- 改进了过期TBD事件的清理逻辑
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 10:50:06 +08:00
Ching L
56a79c8f9d
改进TBD比赛处理机制 v3.6
...
continuous-integration/drone/push Build is passing
- 放宽TBD事件匹配时间窗口从5分钟到1小时
- 新增自动删除过期TBD事件功能(超过2小时的过期事件)
- 删除不再需要的清理脚本 (cleanup_duplicates.py, delete_duplicates.py)
- 更新文档说明新功能
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 10:09:20 +08:00
Ching L
f279bc16f3
更新文档:添加v3.5版本信息
...
- 在CHANGELOG.md中添加v3.5版本说明
- 更新README.md版本号和功能说明
- 记录修复TBD比赛错误标记问题的改进
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 09:28:59 +08:00
Ching
81eb9ba403
修复TBD比赛错误标记为完成的问题
...
continuous-integration/drone/push Build is failing
- 修改比分解析逻辑,只匹配破折号而不匹配冒号,避免将时间(19:00)误识别为比分
- 添加额外检查,确保不会将日期格式误识别为比分
- 添加TBD比赛保护机制,确保TBD vs TBD的比赛永远不会被标记为有比分或已完成
- 如果错误解析了TBD比赛的比分,会自动删除
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 11:57:21 +08:00
Ching L
6fd21a64b9
修复进行中比赛更新创建重复事件的问题
...
continuous-integration/drone/push Build is passing
- 改进事件匹配逻辑,增强基于队伍名称的查找机制
- 即使比分变化(如从1-0到1-1)也能正确识别同一场比赛
- 添加cleanup_duplicates.py工具用于查找和删除重复事件
- 添加delete_duplicates.py用于手动清理特定重复
- 更新CHANGELOG.md记录v3.4版本改动
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 00:09:44 +08:00
Ching L
b42635ff45
Add Drone CI configuration for automated deployment
...
continuous-integration/drone Build is failing
- Configure SSH deployment to /root/develop/dota2-match-calendar
- Use git pull --rebase --autostash for deployment
- Add Discord notifications for build status
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 18:29:09 +08:00
Ching L
dd5ba77e1e
支持进行中比赛的实时比分更新
...
- 使用 BeautifulSoup 正确解析 HTML 结构,提取队名、比分等信息
- 区分系列赛进行中(如 Bo3 1-0)和已完成状态
- 新增 update_event_with_score 方法处理进行中比赛的比分更新
- 扩展处理时间范围到最近 12 小时,确保捕获进行中的比赛
- 修复了 Aurora vs YkBros 等比赛比分无法识别的问题
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 18:04:36 +08:00
Ching L
d3b872cd86
修复比分识别错误问题
...
- 修复将日期时间误识别为比分的bug(如"19-00")
- 改进比分识别逻辑:
- 只在包含"vs"的行中查找比分模式
- 验证比分在合理范围内(0-5)
- 排除时间格式的模式
- 更新CHANGELOG记录此修复
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 17:39:19 +08:00
Ching L
63a1559e86
优化TBD比赛处理逻辑
...
- 实现智能去重:相同时间、相同轮次的TBD比赛只保留一个代表
- 新增TBD比赛自动更新功能:当队伍确定后自动更新日历事件
- 改进事件匹配逻辑:三层匹配机制确保准确跟踪
- 新增update_event_with_teams方法专门处理队伍更新
- 更新README和CHANGELOG文档说明新功能
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 17:28:25 +08:00
Ching L
dc63c9bd01
优化完成比赛标题格式
...
- 比分移到✓符号后面:✓ 2-0 Team1 vs Team2
- 更新 run_sync.sh 说明文字
- 修复格式匹配逻辑
2025-09-05 11:53:02 +08:00
Ching L
a1573a3f82
Initial commit: Dota 2 Calendar Sync
...
Automated sync tool for Dota 2 Tier 1 matches from Liquipedia to Google Calendar
Features:
- Sync matches from Liquipedia to Google Calendar
- Auto-update match results when completed
- Detect and update time changes
- Clean event format: Team1 vs Team2 [Tournament]
Main files:
- sync_dota2_matches.py: Main sync script
- run_sync.sh: Convenience runner
- requirements.txt: Python dependencies
- README.md: Setup and usage guide
# Conflicts:
# .gitignore
# README.md
2025-09-05 11:53:02 +08:00
2ee2d87238
Initial commit
2025-09-05 11:16:10 +08:00