Commit Graph
13 Commits
Author SHA1 Message Date
Dean 6a28efaa27 Merge pull request #12266 from MarcZX10/fix/tools-deeply-nested-json-and-web-test
fix(tools): report deeply nested JSON as invalid input and run the reserved-name archive test
2026-10-29 00:30:16 +13:00
Dean b496d44374 Merge pull request #11981 from malekaifa/fix/test-web-invalid-encoding
fix(tools): report invalid web archive encoding
2026-10-28 22:36:31 +13:00
MarcZX10 ffe3506094 test(web): run archive-reserved.test.mjs with the other archive tests
tools/test_web.py launched archive-root, archive-windows and archive.test but not
archive-reserved.test.mjs, which covers the superscript Windows device names
(COM1 with a superscript digit, LPT2 and so on) added with 3397e873bc. No
workflow, script or CTest entry referenced it, so a regression in validPath for
those names went unnoticed. It runs next to the other archive tests now.
2026-10-28 06:04:43 +00:00
Mohamed Malek Aifa 802d506d1a fix(tools): report invalid web archive encoding 2026-10-27 15:27:37 +01:00
ebosido444-ai 6252b18b81 fix(web): keep the failure report with a failed conversion
A failed inspect or conversion hid the progress panel that held the
conversion log, cleared the selected archives and showed a single line,
so the only evidence of the failure was gone and a multi-GB input had to
be picked again. Compose the message with the phase, the current input,
the target, the libraries tag and the last 150 log lines, and show it in
the error box under "Failure details" so it can be copied into a report.

The report is a pure function in failure-report.mjs and is covered by
node tests.
2026-10-27 07:52:34 +01:00
Kian 8c3de0cbd9 fix(web): reset batch selection when changing apps 2026-10-24 07:58:56 +10:00
emirplus f6ae37bb3f fix(tools): handle errors cleanly and decode archive with utf-8-sig in test_web
Wrap test_web entrypoint in main(argv=None) with UTF-8 stream
reconfiguration using backslashreplace error handling.

Check existence of the archive module before reading, decode with
utf-8-sig to tolerate leading BOMs, validate the zip library URL match,
and catch subprocess and network errors cleanly via parser.error.
2026-10-21 22:19:52 +03:00
mopgobopotandClaude Opus 5.5 8eb7f51340 test(web): cover ZIPs made on Windows
Backslash names and MS-DOS attributes from an MS-DOS host, a .. escape written with backslashes, and a Unix-host name with a backslash.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 14:44:01 +03:00
Adrià 92b892f15a Merge pull request #5247 from devavijitsingh/feat/web-conversion-recovery
fix(web): remove incomplete folder output on failure
2026-10-14 22:55:41 +02:00
Avijit Singh b82adb6721 test(web): run folder recovery checks with web suite 2026-10-14 20:53:49 +02:00
MiniRML 209ebcf035 fix(web): recognize nested roots with ZIP directory entries 2026-10-13 11:08:12 -07:00
boykopovar 57801875db refactor(web): load zip.js from pinned cdn version 2026-10-13 14:02:46 +03:00
boykopovar 78df1e3244 feat(web): stream zip conversion and release library packaging 2026-10-13 13:48:23 +03:00