Commit Graph
12 Commits
Author SHA1 Message Date
webadderall e3f4339105 Add muted project hover previews and hide presets button 2026-09-22 20:15:15 +10:00
webadderall 6e7342d16c fix(projects): tighten import and document project files 2026-06-15 13:43:08 +10:00
Alan Trebugeais 0119e624b2 add manager tests 2026-05-09 19:30:40 +02:00
wiiiii123 93e1312978 merge main into beta/pr410-native-gpu-export-test
# Conflicts:
#	electron/ipc/project/manager.ts
#	electron/ipc/register/export.ts
#	src/lib/exporter/modernVideoExporter.ts
2026-05-08 10:44:13 +07:00
Recordly Reviewer 2d4d96bc4a fix: address PR review feedback - canonicalize via realpath and gate whisper soft-fail
isAllowedLocalReadPath now resolves the candidate via fs.realpathSync and requires both the lexical and canonical paths to satisfy the policy, so a symlink placed under an allowed prefix that points outside the allowlist is rejected. The redundant 'either resolved or realResolved is allowed' check in read-local-file and generate-wallpaper-thumbnail is removed since the function canonicalizes internally. Adds a regression test that creates such a symlink (skipping when Windows refuses to create it without Developer Mode).

build-whisper-runtime now only soft-fails when invoked from postinstall, in CI, or with WHISPER_RUNTIME_ALLOW_MISSING=1. Direct 'npm run build*' invocations fail loudly when CMake is missing and no bundled runtime is staged so we don't ship release builds with broken auto-captioning.
2026-05-04 14:31:09 -04:00
Recordly Reviewer c767d3a28b fix: tighten local read allowlist and gracefully skip whisper-runtime build without CMake
isAllowedLocalReadPath previously returned true for any existing path because of an existsSync fast-path, which made the read-local-file IPC handler and the local media URL policy effectively allow reading arbitrary files on disk. Drop the existsSync bypass so only paths under app-managed directories or paths that have been explicitly approved (via dialogs, exports, recording sessions, etc.) are accepted. Adjust the local media path policy tests to cover the new behaviour.

Also make build-whisper-runtime fall back to bundled artifacts when CMake is missing (mirroring build-windows-capture) so npm ci does not fail on machines without a C++ toolchain.
2026-05-04 14:21:49 -04:00
wiiiii123 05327a12ce Add native GPU static layout export path 2026-05-03 22:43:23 +07:00
webadderall a9615c486e Improve project autosave and media path handling 2026-04-27 20:07:32 +10:00
wiiiii123 2a566a16ca fix(media): restrict loopback approvals to supported files 2026-04-21 19:15:02 +07:00
wiiiii123 326f56840e fix(media): approve loopback video paths when minting URLs 2026-04-21 19:00:29 +07:00
wiiiii123 1449267ba2 test(export): tighten media path regression coverage 2026-04-19 23:44:10 +07:00
wiiiii123 bddabaf1fb fix(export): reopen saved videos and default to source quality 2026-04-19 21:42:06 +07:00