mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-25 02:52:42 +02:00
ae68112377
- Changed blank-password login behavior to create/manage guest sessions (when read-only is enabled), including replay protection and session timestamp tracking. - Preserved and centralized `sync_since` handling during successful auth/session updates. - Updated login handling to return explicit `(success, permissions)` and reset room-server sync guard state in SQLite on successful room-server login. - Updated identity/banner output in mesh CLI from `pyMC_*` to `openHop_*` and adjusted default version fallback. - Extended path handling to support encoded path-length semantics via `PathUtils`, with legacy fallback support for older/malformed packets. - Added bundled ACK extraction from PATH payload extras and callback-based ACK propagation. - Hardened room-server push logic: max-failure early skip, corrected expected ACK CRC calculation, path encoding compatibility, persisted sync/last-activity fields, and passed expected CRC + timeout into packet injection. - Enhanced packet router ACK flow with dispatcher ACK registration helper, support for multipart ACK wrapper handling, configurable ACK wait timeout/CRC in injection, and ensured PATH helper processing always runs. - Updated daemon wiring to pass ACK callback into `PathHelper`, - make dispatcher dedupe configurable (prevent dbl deduping), and only register duplicate logging hook when dedupe is enabled. - Expanded tests to cover guest blank-password replay tracking, updated room-server injector ACK expectations, and new duplicate-logging-hook gating behavior.