baldav/src-tauri/src
4aiman 301138c93a 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
..
ble.rs Sensors, walk limits, GPS fixes, water UI, manual routes, Gridnev products, OTA router 2026-06-18 22:54:45 +03:00
lib.rs Chestny Znak scanner: DataMatrix -> National Catalog КБЖУ prefill 2026-08-27 03:27:15 +03:00
main.rs Initial commit: BalDav health tracker 2026-05-13 10:21:24 +03:00