eric
9833891cf4
fix: TikTok 上传确认弹窗与任务流水显示素材时长
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 21:11:12 -05:00
eric
21f74cb85c
fix: TikTok 文案只用标题模板原文,取样最短 1 分钟
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:33:24 -05:00
eric
4c8eafacb3
feat: TikTok Cookie 按账号计时,并支持多账号独立会话
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 13:19:06 -05:00
eric
dcead62399
fix: TikTok 2158 限流时给出明确提示,避免连点加重封禁
...
账号因短时间大量发布被 TikTok 拒绝,错误改为中文说明并要求等待。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:56:13 -05:00
eric
dfdd2c539c
fix: 禁止 TikTok 同一成片被回收任务反复重发
...
回收卡住上传误用了录制 started_at,刚开始上传就会被打回 scheduled 再发一次。改为只看上传租约,超时直接失败,并关掉自动重试。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:52:06 -05:00
eric
43d1542234
fix: 立即取样只录抖音在播切片,不再依赖频道或 Cookie
...
入队改用当天日期,频道可空;Cookie/YouTube 授权只在上传时检查。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:46:05 -05:00
eric
7f4a1de2c4
fix: Shorts/TikTok 立即取样从当前抖音在播立刻开录
...
手动取样不再只入队 1 条、也不再被 YouTube 上传配额拦住;点击后按在播直播间创建任务并马上开始录制。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:40:12 -05:00
eric
c7a7275229
fix: TikTok 发布成功后正确记为已上传,并禁止并发重复上传
...
vendor 的 upload_video 成功后没有 return True,被误判失败;同时立即上传会抢正在上传的任务导致重复发布。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:31:31 -05:00
eric
0815e05094
fix: TikTok 上传自动探测 tt-target-idc,避免 KeyError project
...
Cookie 有效但默认机房 useast2a 会导致 project/create 返回 status_code=8。上传前探测可用机房并写回 Cookie。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:22:56 -05:00
eric
78a043b0de
fix: slim tiktok_uploader __init__ to skip Browser/Video imports
...
Package __init__ was still loading undetected_chromedriver before tiktok.upload_video could be imported.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 11:00:15 -05:00
eric
1515783760
fix: TikTok Cookie 上传不再依赖 undetected_chromedriver
...
Cookie 路径直接 import tiktok.upload_video,vendor 补丁将 Browser 改为 login 内 lazy import,避免服务器缺 Chrome 驱动导致上传失败。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:56:19 -05:00
eric
9b9fb57491
fix: TikTok 立即上传允许卡住的 uploading 任务强制重试
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:48:35 -05:00
eric
d0bbcb484a
add TikTok Cookie Chrome helper and Tampermonkey script
...
Avoid F12 cookie copy: read HttpOnly sessionid, fill dylive paste form.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:39:29 -05:00
eric
19bb3ba134
fix: TikTok 页 UI 去重,引导/表单/操作栏不再堆叠显示
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:26:54 -05:00
eric
e0524e5b8b
fix: TikTok 页移除旧 OAuth 说明,修复 build 引用 redirectUri
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:20:55 -05:00
eric
929c6268b9
fix: TikTok 页缺失 formName 等 state 导致前端 build 失败
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:19:32 -05:00
eric
d8fdeaa71c
TikTok: Cookie 上传(TiktokAutoUploader),替代开发者 OAuth
...
账号粘贴 sessionid 即可上传;TikTok 模块独立,默认关闭不影响监控/Shorts。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:16:20 -05:00
eric
01c6bf4507
Shorts: SOCKS 代理、OAuth Client 分桶配额、频道级联清理;更新 README
...
取消本地上传拦截,按 A/B/C/D Client 独立展示配额;新增 SOCKS5 上传代理与删频道级联清理;同步文档与部署脚本。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:58:04 -05:00
eric
432b1cec9e
Add public privacy and terms pages for TikTok Login Kit
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:41:07 -05:00
eric
eceefbe7cb
TikTok redirect URI and callback use trailing slash
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:36:50 -05:00
eric
e1e20d1af8
Allow public access to TikTok OAuth callback and verify file
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:32:07 -05:00
eric
637690e476
Fix TikTok verify file path outside gitignored data dir
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:29:59 -05:00
eric
40d11ce332
Serve TikTok URL prefix verification file
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:29:45 -05:00
eric
d396afb5d7
Fix TikTok table migration: use executescript for init_db
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:12:03 -05:00
eric
0bf692e943
Fix TikTok page TypeScript build for channel board
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:09:25 -05:00
eric
7090dd3efe
Fix TikTok page toast and confirm API usage
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:07:57 -05:00
eric
c547e181e4
Add isolated TikTok auto-upload module with dedicated /tiktok page
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:03:59 -05:00
eric
c9df6be027
Isolate YouTube upload quota by OAuth Client A/B/C/D.
...
Client A exhaustion no longer pauses Client B jobs; banners and counters are per-profile.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:57:35 -05:00
eric
b752943d22
Group Shorts channels and upcoming uploads by OAuth Client A/B/C/D.
...
Same-named channels are split into account sections with colored Client badges on cards, schedule rows, and job lists.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:43:24 -05:00
eric
74e2b91228
Narrow YouTube OAuth scopes to upload+readonly.
...
Drop youtubepartner/analytics scopes that commonly break unverified Google consent with a 500 page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:30:26 -05:00
eric
1f5aef2065
Fix settings save TypeScript error for OAuth profiles.
...
Use a typed local array before assigning into Record body so Next build succeeds.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:22:16 -05:00
eric
0d2f63757a
Add reusable A/B/C/D Google OAuth profiles in settings.
...
Channels pick a profile instead of re-entering Client ID/Secret; existing global/channel credentials keep working as fallback.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 19:16:28 -05:00
eric
4f144f3daf
Support per-channel Google OAuth Client for multi-account YouTube auth.
...
Existing channels keep using the global Client; optional per-channel Client ID/Secret isolates A/B/C/D OAuth apps without changing Douyin monitor paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 18:40:58 -05:00
eric
cb9042cbe6
Add favicon and app icons
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:44:35 -05:00
eric
9e1ac3b150
Shorts dedup: global room_id+day, one upload per room per day across all channels
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:37:06 -05:00
eric
765501e225
Shorts dedup: per-channel room_id within same Beijing day
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:31:49 -05:00
eric
9d87aa48be
AGENTS: server data is the single source of truth
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:27:21 -05:00
eric
5e485b01d6
gitignore: exclude monitor.db and pb_data from tracking
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:25:38 -05:00
eric
013b1d48a3
Shorts: JS ResizeObserver syncs right panel height to left panel
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:17:54 -05:00
eric
42279394cc
Shorts: left panel flex-col so grid stretch works correctly
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:14:07 -05:00
eric
ea9059d5e9
Shorts: right panel stretches to match left, scrollable inside
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:10:45 -05:00
eric
7f4c76de23
Shorts panels: natural height, no forced stretch
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:07:01 -05:00
eric
8e34273c51
Fix shorts panel heights: both capped at 36rem with scroll
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:05:25 -05:00
eric
7fa9cd6760
Add AGENTS.md cursor guide with git rules
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:00:32 -05:00
eric
a3827d8ef3
Update README git rules, add AGENTS.md, fix shorts upcoming panel height
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 04:00:12 -05:00
eric
63f6472729
Default slots page to douyin platform filter
2026-08-11 03:48:50 -05:00
eric
91d8e6f65c
Filter YouTube sessions/events/stats from Douyin monitor panels
2026-08-11 03:31:23 -05:00
eric
dcc4f5fca9
Show live upcoming upload count and fix panel height
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 02:24:50 -05:00
eric
1112a4d055
Handle YouTube Video Uploads daily quota (429) with project budget and pause-until-reset.
...
Add shorts_yt_quota module, Shorts UI quota banner, overview tweaks (hide upcoming opens, align events panel height), Electron desktop client scaffold, and deploy scripts; update README.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 02:04:44 -05:00
eric
5c45d7538a
Add Google OAuth client secret file to repo sync.
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 20:12:20 -05:00