From 7786871d6ced0a535c50bfa6ebe869cc06356fb1 Mon Sep 17 00:00:00 2001 From: Dionisio Date: Tue, 24 Feb 2026 23:15:10 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20P1=20=E2=80=94=20audio/video=20modal=20?= =?UTF-8?q?player=20+=20MIME=20detection=20via=20magic=20bytes=20(infer)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend: - Add infer crate for magic-byte MIME detection (<1μs per file) - New src/common/mime_detect.rs: refine_content_type() with priority magic bytes > extension > client Content-Type - Inject MIME refinement in file upload handler (after spool to temp) - Inject MIME refinement in chunked upload handler (after assembly) Frontend: - Extend isViewableFile() to include audio/* and video/* - Add createMediaViewer() to InlineViewer with