Commit Graph

32 Commits

Author SHA1 Message Date
Timo 55c2d4ed0d feat: Auto-Sync Next Episode v1.2.0
Adds a new toggleable feature that detects episode transitions via
mediaTitle mutation (loadeddata/MutationObserver), pauses the video,
and waits for all room peers to load the same episode before
executing a coordinated Force Sync play at 0:00.

Protocol:
- Add EPISODE_LOBBY and EPISODE_READY events to shared/constants.js
- Add EPISODE_LOBBY_TIMEOUT (60s) constant
- Relay both new events in server/index.js

Content Script (content.js):
- Layered detection: loadeddata + MutationObserver src-change + heartbeat
- Debounced onEpisodeTransition() sends signal ONLY; no eager pause
- PAUSE_FOR_LOBBY handler pauses only after background confirms feature enabled
- startLobbyPoll() polls title match without premature pause for non-initiators
- checkAndReportLobbyReady() pauses and sends EPISODE_READY_LOCAL on match
- CONTENT_BOOT recovery for re-injection after hard navigation

Background (background.js):
- Episode lobby state persisted in chrome.storage.session with recovery
- EPISODE_CHANGED: checks setting, creates lobby, sends PAUSE_FOR_LOBBY to tab
- EPISODE_LOBBY/READY server event handlers with dedup logic
- 60s timeout cancels lobby (Option B) with Chrome failure notification
- Peer departure handled: removes from readyPeers, re-checks completion
- executeEpisodeLobby() reuses existing Force Sync pipeline at targetTime 0.0
- Lobby cleared on LEAVE_ROOM; status exposed in GET_STATUS

Popup:
- Auto-Sync Next Episode toggle in Settings tab (default: off, opt-in)
- Episode Lobby status card in Sync tab with peer readiness display
- LOBBY_UPDATE message handler for real-time UI updates

Bumps APP_VERSION and manifest to 1.2.0
2026-04-25 16:43:10 +02:00
Timo 01bc95e176 docs: add github link and version info to dev tab (v1.1.4) 2026-04-25 03:49:42 +02:00
Timo 7417c21217 feat: enhance peer list with volume icons, play/pause status, and time interpolation (v1.1.3) 2026-04-25 03:47:57 +02:00
Timo 4785c9625c chore(extension): bump version, fix targeted injection and race conditions 2026-04-23 21:58:19 +02:00
MacBook f3ee7b47b9 chore: bump version to 1.1.1 and fix self-metadata sync and UI visibility 2026-04-22 18:44:20 +02:00
MacBook 67f872ffd2 feat(sync): implement end-to-end media title synchronization 2026-04-22 18:29:53 +02:00
MacBook e40e2e5101 feat(dev): implement extended video metadata and data-attribute inspector 2026-04-22 18:22:59 +02:00
Timo 8696533b1c UI: Exclude local peer from activity acknowledgment list for better UX. 2026-04-22 14:11:28 +02:00
Timo e65c326c32 fix: resolve metadata desync in heartbeats and restore remote control icons 2026-04-22 13:33:33 +02:00
Timo 622db23f38 style: restore classic remote control UI and sync architectural fixes 2026-04-22 13:32:10 +02:00
Timo 0509b993e5 feat: implement one-click auto-join and self-closing bridge with countdown 2026-04-22 12:29:09 +02:00
Timo 221961820a feat: implement visual confirmation system and redesigned Sync tab 2026-04-22 12:20:32 +02:00
Timo 9f004557ed fix: resolve peer isolation and invitation link sync issues 2026-04-22 12:10:26 +02:00
Timo 61d8dfc9eb ui: refine peer list name/id display style 2026-04-22 11:46:36 +02:00
Timo 5ccdd273cf fix: clear peer list immediately when leaving a room 2026-04-22 11:39:27 +02:00
Timo 1355022c35 feat: reorganize popup tabs and add video debug diagnostics 2026-04-22 11:27:16 +02:00
Timo 51a5f43130 feat: add username support and fix invitation link server parsing 2026-04-22 11:22:31 +02:00
Timo 9a2ccd27ca fix: resolve duplicate peerList IDs and refine server deduplication emission 2026-04-22 11:18:32 +02:00
Timo 80f3801b79 feat: add visible active room id and server labels to popup 2026-04-22 11:14:36 +02:00
Timo f1dae0ef4e chore: final integration polish - harden join ux, refine connection state, and sanitize logs 2026-04-22 11:04:51 +02:00
Timo 643c70772e chore(core): Integration and UX Polish fixes 2026-04-22 10:44:31 +02:00
Timo 0b28274766 Fix: Service Worker persistence, Ping-Pong failsafe, URL parsing, and server rate limit DoS 2026-04-22 10:31:46 +02:00
Timo 88cb313fc0 Security & Stability: Fixed SW race, ping-pong loops, and invite parsing 2026-04-22 10:20:45 +02:00
Timo d750d96db5 Fix security vulnerabilities and logic flaws 2026-04-22 10:04:46 +02:00
Timo 37ead94f76 Refactor: Comprehensive Security and Architecture Audit 2026-04-22 09:49:23 +02:00
Timo ffbd80881a UI: Refactored Sync tab into a Remote Control interface 2026-04-22 09:24:12 +02:00
Timo 4db23fc685 UI: Context-aware layouts and Smart Invite links (Server-in-URL) 2026-04-22 09:19:49 +02:00
Timo d9e2d6aa77 Logic: Capped reconnection (5m) and manual retry UI 2026-04-22 09:17:01 +02:00
Timo 0d7e5e7fc7 Applied Final Polish optimizations: SPA navigation fix, UI throttling, and Strict WSS 2026-04-22 08:57:22 +02:00
Timo 5cfc9d4047 Stable state before Final Polish optimizations 2026-04-22 08:56:52 +02:00
MacBook 3e2e9ed7a5 feat: production-ready release v1.0.0
- Integrated 'Koala-Bridge' for seamless web-to-extension communication.
- Implemented dedicated, minimalist invitation page (join.html).
- Added brute-force protection and RAM-cleanup to the relay server.
- Removed external fonts and trackers from the landing page (Privacy First).
- Unified header/footer design across all website pages.
- Added MIT License and comprehensive legal documentation (Impressum/Datenschutz).
2026-04-21 08:46:28 +02:00
MacBook 14033244e5 Initial commit: Production-ready KoalaSync Monorepo with Manifest V3, Socket.IO Relay, and Two-Phase Sync 2026-04-21 07:49:37 +02:00