onionwire/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
t 43d68a2565
All checks were successful
ci / test (pull_request) Successful in 3m28s
feat(tui): per-message outbox delivery state + N queued footer
Chat rows now carry the state the local outbox actually holds: `✓` delivered,
`◷ queued (try n/8, retry 45s)` while the retry worker still has it, `» sending`
mid-attempt and `✗ failed: <short reason>` once attempts are exhausted. The
footer replaces the flat `sent` / `send failed` copy with the live count
(`2 queued`), and keeps a fail-closed `send failed: …` statement as long as any
row is terminally failed.

States come from the outbox API (`Node::outbox_pending` → `Queued` / `Sending` /
`Failed`; a delivered row is deleted, so absence is `Sent`). No parallel state
model, no new wire prefix. Every new glyph has an ASCII fallback (`ok` and the
state word) exercised by a test.

- `chat_with_delivery()` / `delivery_tag()` / `retry_in_text()` /
  `short_send_reason()` / `OutboxSummary::note()` are pure and unit-tested.
- `draw_chat()` is now the real chat-pane renderer (extracted from
  `App::draw_main`) so width/wrap is testable without a `Node`.
- docs/TUI.md: delivery markers, copy, and the 80x24 floor / 120x40 target.

Tests: cargo test 26/26 suites ok (tui_spec 20/20, incl. a real Store + real
`Outbox::send` -> `pending()` -> render path), clippy --all-targets -D warnings
clean.
2026-09-12 14:10:42 -04:00
..
app_sig.rs fix(protocol): domain-separate loc/prf/inv/rcp signatures 2026-09-11 23:42:41 -04:00
backup.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
dispatch.rs feat: drop unknown typed frames instead of storing as chat 2026-09-10 14:18:06 -04:00
file.rs Merge branch 'main' into wt/t_fc02d8b6 2026-09-12 04:11:00 +00:00
hs.rs [verified] fix(hs): redact onion in publish logs; cache 0700 2026-09-10 20:30:18 -04:00
outbox.rs feat(outbox): local retry queue for chat sends 2026-09-12 13:35:10 -04:00
pay.rs fix(pay): checksum Monero addresses (base58 + keccak) 2026-09-10 20:01:45 -04:00
profile.rs fix(pay): checksum Monero addresses (base58 + keccak) 2026-09-10 20:01:45 -04:00
protocol.rs Add Noise IK encrypted stream over Arti. 2026-09-10 02:07:40 -04:00
qr.rs [verified] fix(qr): bind invite sig fields; cap decode 2026-09-10 19:52:44 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
rotate.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
rotate_hs.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
sanitize.rs [verified] sanitize peer chat/control/bidi before store and TUI render 2026-09-11 23:42:48 -04:00
send.rs fix(tui): do not freeze the UI on chat send 2026-09-11 22:33:55 -04:00
store.rs fix(cli): hide store passphrase like a password prompt 2026-09-10 21:10:50 -04:00
tor_hs.rs [verified] fix(hs): redact onion in publish logs; cache 0700 2026-09-10 20:30:18 -04:00
tui_chrome.rs [verified] feat(tui): fail-closed /file transfer (1 MiB) 2026-09-10 23:32:06 -04:00
tui_frames.rs test(tui): keep send-failed visible in crowded status_footer 2026-09-12 00:22:04 -04:00
tui_spec.rs feat(tui): per-message outbox delivery state + N queued footer 2026-09-12 14:10:42 -04:00
two_node.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
wallet.rs Merge F5 wallet digest RPC onto audit bundle 2026-09-10 20:36:10 -04:00
wipe.rs fix(store): drop payments on /wipe; document non-forensic 2026-09-10 20:22:31 -04:00