Commit Graph

864 Commits

Author SHA1 Message Date
KoalaDev 082b69f509 fix(extension): support cross-origin media frames 2026-08-17 16:49:53 +02:00
GitHub Action 77bdf21405 chore(release): update versions to v3.1.1 [skip ci] 2026-08-15 15:22:46 +00:00
Timo 9cf0a6ebaa docs: changelog for v3.1.1
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
v3.1.1
2026-08-15 17:21:06 +02:00
Timo 5711daefd4 docs: record the open episode-transition stray-pause investigation
A peer can be left paused at the end of an episode while the other moves on,
and nothing recovers it. The episode guard, the title on the wire and the
comparison all exist already, so the interesting part is why the guard lets
that one pause through — and that cannot be settled without logs from both
sides while it happens.

Records what was verified from the code, the three candidate causes that are
still hypotheses, the exact log lines that separate them, the planned fix
order, and the approaches already ruled out (forcing the comparison would
break every platform that exposes no media title).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 17:20:45 +02:00
Timo 381c6a93a2 fix(popup): keep the room tab from stretching the popup
Chrome sizes the popup window to whatever the content claims it needs and
never shrinks that window back for the rest of the session. The clipping
rule that keeps content inside the fixed 360px body used a child
combinator for the room tab (#section-active > .info-card), which misses
#peerList -- it sits in a wrapper div. The sync tab's identical peer list
was covered by #tab-sync .info-card, so the room tab held the only
unclipped card in the popup: one overflowing peer row there left the
popup stuck at up to double width, including after switching back to
Sync.

Generalize the rule to .info-card so every card clips (cards that scroll
keep their own overflow-y), let the peer row's badge group wrap instead
of overflowing now that it would otherwise be cut off, wrap long room ids
and connection status text, and let the label/button rows in Sync and
Status wrap -- those were the next candidates with longer translations.

Verified against the built extension: no element in any tab can grow the
popup any more, in all 15 shipped locales.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 11:55:09 +02:00
KoalaDev 2fe785af6e test: avoid URL substring assertions 2026-08-15 07:57:02 +02:00
GitHub Action 2ea981b68f chore(release): update versions to v3.1.0 [skip ci] 2026-08-14 06:48:31 +00:00
KoalaDev 46569aefd3 docs: changelog for v3.1.0
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
v3.1.0
2026-08-14 08:48:08 +02:00
KoalaDev 1b6f7dd9c6 docs: record the gaps v3.1.0 knowingly ships with
Sticky player selection, Firefox E2E coverage and a two-peer relay E2E are
all deliberate omissions rather than oversights. Writing them down keeps the
current suite from reading as broader coverage than it is.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 08:45:59 +02:00
KoalaDev ef1fdc89c3 test: prove the frame lifecycle fixes against the real extension
The evidence for the frame-observation fixes was a reimplementation of the
logic measured in a browser console, not the shipped code. Two extension
specs now cover the observable behaviour end to end: a player frame that
swaps its document, and the same one level deeper.

The nested case fails against the pre-fix content.js and passes now. The
top-level case already passed before the fix, so that fix removed dead
observer registrations without changing what a user could see; recorded
here so the distinction is not lost.

Also adds bench-finder.mjs, which measures the extracted shipped finder
instead of a transcription of it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 07:53:45 +02:00
KoalaDev 66971150c7 test: cover the popup blacklist UI, tighten audit findings
The delta model was only covered at module level; the popup wiring around
it was not exercised at all. Seven specs now drive the real settings UI in
the packed extension, including the migration path: a pre-v3.1.0 snapshot
is converted on open, the legacy key is removed, and a default missing
from that snapshot is delivered again.

Also from the audit pass:
- await the blacklist read in init instead of firing a floating promise
- unify the debug report on the finder's own candidate list, which the
  separate traversal missed shadow-DOM videos from
- assert that a single candidate is always returned regardless of its
  ranking signals, so no scoring signal can regress a single-player site

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 07:39:41 +02:00
KoalaDev 36e1291d2c feat: rank player candidates by ordered signals, add browser E2E suite
The weighted score summed incomparable units, so size could outvote traits
that disqualify an element outright. Measured on a real page: a display:none
preload reports its full 1080p intrinsic size and scored 2073600, beating a
visible unmuted player at 509920.

Selection now compares an ordered list of signals, highest priority first:
has a source, is rendered, is not a silent background loop, rendered size
bucket, is playing, has controls, duration. Rendered size replaces intrinsic
resolution, and mute state is gone from the ranking entirely: it is a viewer
preference, not evidence about which element is the player.

It stays a ranking rather than a filter, so a page of only bad candidates
still yields one and findVideo never returns null where a video exists.

The new tests/e2e suite runs the shipped finder against real fixture pages
and drives the packed extension for injection, reinjection and remote
play/pause/seek into a first-party frame. All five scoring scenarios fail
against the previous implementation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 07:23:12 +02:00
KoalaDev 79a2204a97 feat: store the hide-clutter list as a delta, not a snapshot
Saving the editor used to persist the full effective list, which froze the
shipped defaults at that moment: every default added in a later version
never reached anyone who had touched the list once.

Storage now keeps only { removedDefaults, addedDomains }, and the effective
list is resolved against whatever ships in the running version. Entries are
tagged default or user, the editor groups them under comment headers, and
'#' lines are ignored on save. Lists saved by earlier versions are migrated
to the delta form on first read and the legacy key is removed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 06:57:41 +02:00
KoalaDev b5619ac93e docs: record JkAnime compatibility and frame support
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 06:49:29 +02:00
KoalaDev 477dad03a3 fix: harden frame observation and unblock supported Drive tabs
Audit follow-ups on the same-origin frame walk:
- prune detached frames from the load-hook set so ad/SPA frame churn
  no longer grows it for the page's lifetime
- hook load on nested frames, not just top-level ones
- re-observe from scratch after a frame reload instead of leaving the
  replaced document's tree registered
- reset the frame registry when the heartbeat error path disconnects

Also: a broad parent domain in the blacklist no longer hides a host with
its own supported player path (drive.google.com behind google.com), while
an exact user entry for that host still filters it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 06:45:33 +02:00
KoalaDev 809301b641 fix: detect videos inside same-origin player iframes
Sites like jkanime.net render the real <video> inside a first-party
iframe, so the top document had zero video elements and the content
script reported "NO VIDEO ELEMENT".

findVideo() now descends into reachable frame documents, the
MutationObserver registers those documents too (frame mutations never
bubble to the parent), and frame load events re-trigger the scan so a
late-loading player is still picked up. Debug reports count videos
across frames and expose an "In Iframe" flag.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 06:36:07 +02:00
Timo 48d6c1dc0b feat:local-blacklist-and-audio-boost 2026-08-12 02:07:34 +02:00
Timo 3d78af1e95 fix(security): fix Dependabot dependency alerts 2026-08-07 17:32:13 +02:00
KoalaDev d110957de0 Update roadmap priorities 2026-08-02 06:00:41 +02:00
KoalaDev 3062e6c93c test: cover HTML parser regressions 2026-08-01 10:15:56 +02:00
KoalaDev ec6865a0e7 test: parse help HTML with cheerio 2026-08-01 10:04:29 +02:00
Timo 816cc38ea4 fix: align help accordions consistently 2026-07-31 10:55:06 +02:00
Timo 9ade6b67ea docs: compact help topics with accordions 2026-07-31 10:46:19 +02:00
Timo 5b75bde9bb docs: expand product help guide 2026-07-31 10:10:08 +02:00
Timo 88e777eb44 docs: move v3.0.2 chat summary to changelog 2026-07-31 09:59:41 +02:00
Timo c04c501e6d docs: record v3.0.2 chat improvements 2026-07-31 09:58:23 +02:00
GitHub Action da93c09a93 chore(release): update versions to v3.0.2 [skip ci] 2026-07-31 07:48:55 +00:00
Timo 8050748e61 fix(extension): harden chat and target tab lifecycle v3.0.2 2026-07-31 09:48:22 +02:00
Timo 0b6ae803c8 feat: complete docked chat interactions 2026-07-29 22:31:40 +02:00
KoalaDev 172073896f fix: prevent language selector text clipping 2026-07-28 07:46:07 +02:00
KoalaDev ffd629a522 fix: remove unsupported legacy redirects 2026-07-28 07:35:46 +02:00
KoalaDev 2c5e2a7cc3 feat: expand help center and harden website SEO 2026-07-28 07:29:41 +02:00
KoalaDev fc005c0c88 docs: add Help Center and Edge store badge 2026-07-28 04:04:33 +02:00
KoalaDev f97885cf8d docs: render Edge icon in store badges 2026-07-28 03:33:07 +02:00
KoalaDev daa513bac5 docs: add Microsoft Edge store links 2026-07-28 03:26:23 +02:00
GitHub Action b3f9693d34 chore(release): update versions to v3.0.1 [skip ci] 2026-07-26 03:56:23 +00:00
Timo 53befe8bad merge: Google Drive and chat fixes for v3.0.1 v3.0.1 2026-07-26 05:54:57 +02:00
Timo 750b47d32a fix(i18n): correct website and extension copy 2026-07-26 05:53:57 +02:00
Timo 03710cec33 docs(comparisons): reflect encrypted text chat 2026-07-26 05:06:03 +02:00
Timo 1b97151e69 docs(privacy): document encrypted room chat 2026-07-26 04:32:06 +02:00
Timo 63db02211b fix(chat): harden overlay interactions and notifications 2026-07-26 04:14:25 +02:00
GitHub Action 90a58eb507 chore(release): update versions to v3.0.0 [skip ci] 2026-07-26 00:25:06 +00:00
KoalaDev 72113b6504 Merge pull request #32 from Shik3i/agent/update-tooling-node24
Prepare v3.0.0: encrypted text chat and runtime updates
v3.0.0
2026-07-26 02:24:12 +02:00
Timo a0954079a1 harden chat settings and server image 2026-07-26 02:22:07 +02:00
Timo 9251ae6aff add dedicated chat settings 2026-07-26 02:12:28 +02:00
Timo 511e042b0b update tooling and server runtime 2026-07-26 01:58:23 +02:00
KoalaDev 372c384a19 Merge pull request #31 from Shik3i/agent/dependabot-security-updates
Fix Dependabot build dependency alerts
2026-07-26 01:32:41 +02:00
Timo 79715046a8 fix npm 11 lockfile portability 2026-07-26 01:23:07 +02:00
Timo 2ae79386a0 fix vulnerable build dependencies 2026-07-26 01:18:24 +02:00
Timo 883e49433e Merge branch 'feature/textchat' 2026-07-26 01:04:38 +02:00