Commit graph

80 commits

Author SHA1 Message Date
xpltd
1da3ef37f1 M002/S04: fix filename resolution for downloads
- Use extract_info + prepare_filename to determine output filename
  before downloading (yt-dlp skips progress hooks when file exists)
- Normalize filenames to relative paths (strip output dir prefix)
- Include filename in completion SSE event so frontend displays it
- Fixes file download 404s from subdirectory source templates
2026-03-18 23:44:29 -05:00
xpltd
fd25ea7d05 M002/S04: UX review fixes — round 1
- Move Video/Audio toggle to same row as Download button
- Auto-condense toggle to icon-only below 540px
- Move gear icon to right of Download button
- Fix file download URLs: normalize filenames to relative paths in progress hook
- Display filename with visible extension (truncate middle, preserve ext)
- Remove border/box from dark mode toggle — glyph only
- Fix light/dark theme fonts: use monospace display font across all themes
2026-03-18 23:01:36 -05:00
xpltd
9b62d50461 GSD: M002/S03 complete — Mobile + integration polish
- Admin panel: Settings tab with welcome message editor (runtime override)
- Backend: PUT /api/admin/settings endpoint for runtime config
- Backend: public config reads runtime overrides (settings_overrides on app.state)
- Removed unused ThemePicker.vue (replaced by DarkModeToggle in S01)
- Removed unused DownloadItem.vue (replaced by DownloadTable in S02)
- All 34 frontend + 179 backend tests passing
- M002 COMPLETE — all 3 slices done
2026-03-18 21:34:46 -05:00
xpltd
4eec024750 GSD: M002/S02 complete — Download flow + queue redesign
- UrlInput: Download is primary one-click action, format picker is optional (⚙ toggle)
- UrlInput: Video/Audio toggle pills with icons, audio sends quality=bestaudio
- UrlInput: Paste auto-extracts formats silently in background
- DownloadTable: Sortable table with Name, Status, Progress, Speed, ETA, Actions columns
- DownloadTable: Status badges with color-coded backgrounds per status
- DownloadTable: Completed items show download/copy-link/clear action icons
- DownloadTable: Active items show cancel, failed/expired show clear
- DownloadTable: Click column headers to sort (toggle asc/desc)
- DownloadTable: Mobile hides Speed+ETA columns below 640px
- DownloadQueue: Simplified to filters + DownloadTable (removed card layout)
- All 34 frontend + 179 backend tests passing
2026-03-18 21:30:28 -05:00
xpltd
c5844ac712 GSD: M002/S01 complete — Bug fixes + header/footer rework
- Fix cancel download bug: add @click.stop, debounce with cancelling ref
- Rework header: remove nav tabs, replace ThemePicker with DarkModeToggle
- Add isDark computed + toggleDarkMode() to theme store
- Add WelcomeMessage component above URL input, reads from public config
- Add welcome_message to UIConfig and public config endpoint
- Add AppFooter with app version, yt-dlp version, GitHub link
- Remove SSE status dot from header
- Remove connectionStatus prop from AppLayout
- 5 new theme toggle tests (34 frontend tests total)
- 179 backend tests still passing
2026-03-18 21:16:24 -05:00
xpltd
efc2ead796 M001: media.rip() v1.0 — complete application
Full-featured self-hosted yt-dlp web frontend:
- Python 3.12+ / FastAPI backend with async SQLite, SSE transport, session isolation
- Vue 3 / TypeScript / Pinia frontend with real-time progress, theme picker
- 3 built-in themes (cyberpunk/dark/light) + drop-in custom theme system
- Admin auth (bcrypt), purge system, cookie upload, file serving
- Docker multi-stage build, GitHub Actions CI/CD
- 179 backend tests, 29 frontend tests (208 total)

Slices: S01 (Foundation), S02 (SSE+Sessions), S03 (Frontend),
        S04 (Admin+Auth), S05 (Themes), S06 (Docker+CI)
2026-03-18 20:00:17 -05:00
xpltd
b145dffce4 GSD: M001 COMPLETE — media.rip() v1.0, all 6 slices done
S01: Foundation + Download Engine
S02: SSE Transport + Session System
S03: Frontend Core
S04: Admin, Auth + Supporting Features
S05: Theme System
S06: Docker + CI/CD

211 total tests (182 backend + 29 frontend).
2026-03-18 19:32:11 -05:00
xpltd
878ca56419 GSD: S05 complete — Theme system with CSS variable contract, 3 built-in themes, custom theme loader
182 backend + 29 frontend tests. Ready for S06: Docker + CI/CD (final slice).
2026-03-18 19:27:24 -05:00
xpltd
06267bfc0c GSD: S04 complete — Admin auth, purge, cookie upload, file serving, admin panel
164 backend + 21 frontend tests. Ready for S05: Theme System.
2026-03-18 19:10:30 -05:00
xpltd
9d71d48c50 GSD: S03 complete — Frontend Core Vue 3 SPA
S03 delivered: Vue 3 + TypeScript + Vite + Pinia SPA with SSE integration,
URL submission, live format extraction, real-time progress, download queue,
responsive layout with mobile bottom tabs. 21 frontend + 122 backend tests.
Ready for S04: Admin, Auth + Supporting Features.
2026-03-18 18:55:02 -05:00
xpltd
ea41640c17 GSD: S02 complete — SSE transport, session system, health/config endpoints
S02 delivered: cookie-based sessions, SSE streaming with replay/cleanup,
health endpoint, public config endpoint, session-mode query dispatching.
122 tests passing. Ready for S03: Frontend Core.
2026-03-18 18:37:35 -05:00
xpltd
459a155d1c chore(M001/S01/T04): auto-commit after execute-task 2026-03-17 23:07:15 -05:00
xpltd
09fcabf75b chore(M001/S01/T04): auto-commit after execute-task 2026-03-17 23:06:41 -05:00
xpltd
fbfc74e310 chore(M001/S01/T04): auto-commit after execute-task 2026-03-17 23:05:37 -05:00
xpltd
a6df51514d chore(M001/S01/T04): auto-commit after execute-task 2026-03-17 23:04:24 -05:00
xpltd
497a896994 chore(M001/S01/T04): auto-commit after execute-task 2026-03-17 23:02:42 -05:00
xpltd
bd35905436 chore(M001/S01/T03): auto-commit after state-rebuild 2026-03-17 22:56:37 -05:00
xpltd
82b408cb67 feat(S01/T03): PARTIAL RECOVERY — attempt 3 of 3 2026-03-17 22:56:36 -05:00
xpltd
03b727bd40 chore(M001/S01/T03): auto-commit after execute-task 2026-03-17 22:53:09 -05:00
xpltd
7e2edca021 chore(M001/S01/T03): auto-commit after execute-task 2026-03-17 22:50:50 -05:00
xpltd
5ddf297766 test(S01/T02): Built pydantic-settings config (env + YAML + zero-config…
- backend/app/core/config.py
- backend/app/core/database.py
- backend/app/core/sse_broker.py
- backend/tests/conftest.py
2026-03-17 22:44:20 -05:00
xpltd
a850b36d49 chore(M001/S01/T02): auto-commit after execute-task 2026-03-17 22:41:58 -05:00
xpltd
9c37dbfa27 chore(M001): record integration branch 2026-03-17 22:11:57 -05:00
xpltd
57365e7af8 docs(M001): context, requirements, and roadmap 2026-03-17 22:08:56 -05:00
xpltd
9a94de7455 chore: init gsd 2026-03-17 21:43:36 -05:00
xpltd
f1b6b5c052 chore: checkpoint v1 GSD research artifacts before migrating to GSDv2 2026-03-17 21:40:37 -05:00
xpltd
476e4a4cb5 docs: complete project research
Adds STACK, FEATURES, ARCHITECTURE, PITFALLS, and SUMMARY research files
for media.rip() v1.0 (self-hosted yt-dlp web frontend).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 21:36:25 -05:00
xpltd
bc4f90f3fa docs: start milestone v1.0 Initial Release 2026-03-17 21:27:21 -05:00
xpltd
9afb146760 chore: add project config 2026-03-17 21:11:12 -05:00
xpltd
922a143e49 docs: initialize project 2026-03-17 21:10:26 -05:00