Commit Graph
5 Commits
Author SHA1 Message Date
adamfandClaude Code e333d6729f Fix security, robustness, and config-drift issues
- Close printer handles (contextlib.closing) in CLI and TUI
- Whitelist 4chan image extensions + numeric tim (path traversal)
- Cap downloads at 16 MB
- clean: unlink instead of rmtree, cover legacy dir, add -y flag
- TUI: escape captured output as rich Text; propagate failure exit code
- Pass --ip/--port through to connect_receipt.sh via env
- Fix double-space textln calls
- CI matrix 3.10/3.12/3.13
- pytest pythonpath so tests run without editable install
- Print retry narrowed to OSError/escpos errors

Co-Authored-By: Claude Code <[email protected]>
2026-09-22 22:20:51 +01:00
adamfandClaude Fable 5 71686e8ad4 Add tests, TUI, packaging, and CI
CI / test (push) Failing after 6m11s
- receipt_tui.py: Textual terminal UI (tui subcommand), optional [tui] extra
- tests/: pytest suite for CLI and TUI using fakes; no hardware needed
- pyproject.toml: packaging with dev/tui extras, ruff config
- GitHub Actions CI running ruff and pytest
- Rename connect_recipt.sh -> connect_receipt.sh
- CLAUDE.md project instructions; README updates

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-11 19:53:18 +01:00
adamf 573d8574a2 add more subcommands 2026-03-07 14:38:53 +00:00
adamf 5cdab2efcb removed scrap code 2025-11-18 16:07:55 +00:00
adamf 5a842158ad Initial commit 2025-11-14 22:47:27 +00:00