baldav/frontend
4aiman c3ec590da5 Chestny Znak scanner: DataMatrix -> National Catalog КБЖУ prefill
- ChZ module (frontend/js/chzn.js): import an anonymous session (exported from
  the CRPT app with tools/chzn_export.sh) and keep it alive via /authorize/refresh
  — /authorize/anonymous is Play Integrity-gated so BalDav can't mint its own.
  GS1 code normalization (reconstruct the GS separator before AI 93), check ->
  catalogData good_attrs КБЖУ parser (match by attr group + name prefix, since
  producers name the fields differently), optional nutrition/info vitamins.
- chzn_http Rust command: browser UA + returns {status,body} so 204/401/427 drive
  the session/refresh logic.
- Scanner modal (BarcodeDetector camera + photo/manual fallbacks) -> prefill the
  new-product form; CAMERA permission; settings section to import/refresh session.
- tools/chzn_export.sh: pull + validate the anonymous session from a rooted device.
2026-08-27 03:27:15 +03:00
..
css Recording map: navigation puck (position+direction), z-order panes, compass-only mini-compass 2026-08-24 23:06:26 +03:00
data Product catalog cleanup (no-badge unused) + order-independent search 2026-08-25 18:23:51 +03:00
img Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00
js Chestny Znak scanner: DataMatrix -> National Catalog КБЖУ prefill 2026-08-27 03:27:15 +03:00
lib Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00
index.html Chestny Znak scanner: DataMatrix -> National Catalog КБЖУ prefill 2026-08-27 03:27:15 +03:00