Skip to content

v2.5 Rewrite for Optimization & Less Dependencies - #8

Merged
msmhome merged 6 commits into
mainfrom
dev-rewrite
Jul 5, 2026
Merged

v2.5 Rewrite for Optimization & Less Dependencies#8
msmhome merged 6 commits into
mainfrom
dev-rewrite

Conversation

@msmhome

@msmhome msmhome commented Jul 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

msmhome added 4 commits July 5, 2026 17:16
- Replace requests with stdlib urllib.request (redirects still blocked via a no-redirect handler); drop the post-validation URL rewriting in download_file that mangled an already-validated host
- Drop bleach: SMS bodies are stored as plain .txt, never rendered as HTML, so tag-stripping bought nothing
- Remove unused FaxData model, the SmsData dict wrapper (plain request.json() now, bad JSON returns 400 instead of 500), an unreachable AddressValueError handler, and a debug log that printed a literal string
- Simplify on_confirmed to os.makedirs + shutil.move; move the directory creation there from send_fax where it was otherwise unused
- Trim requirements.txt to direct deps (starlette/pydantic ship with FastAPI)
- Dockerfile: drop no-op ENV TUNNEL_TOKEN (no matching ARG) and unused /etc/cloudflared mkdir
Comment thread server.py Fixed
Comment thread server.py Fixed
Comment thread server.py Fixed
Comment thread server.py Fixed
…pdate file handling in store_sms and FaxEventHandler. Addresses CodeQL scans in #8
Comment thread server.py Fixed
Comment thread server.py Dismissed
@msmhome
msmhome merged commit c6db665 into main Jul 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants