Spaces:
Sleeping
Sleeping
Commit History
-
Fix qr-pdf field mismatch + add pandoc for word-to-txt/html/markdownβ
- qr_pdf endpoint read payload.text (AttributeError -> HTTP 500 on create) and stored options["text"], but the schema field is `url` and the worker reads options["url"]. Use payload.url and store "url". - Dockerfile: install pandoc β word-to-txt/html/markdown workers shell out to it and were failing with "No such file or directory: 'pandoc'". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>8dc56de -
Fix systemic tool breakage: sign worker-side Cloudinary fetch + fail-fast jobsβ
- file_downloader.download_file: sign Cloudinary URLs (private_download_url) before fetching β raw delivery URLs are ACL-blocked (HTTP 401), which was failing the input download for every job-based tool. - conversion_helpers.start_file_job: mark the job failed on download/file error instead of leaving the caller's job=None (which no-op'd fail_job and hung the row in "processing" forever β the 95% UI hang). - jobs.get_job_status: include error_message when status=="failed" so failed jobs are debuggable from the API. - sign tool frontend: gate submit on non-empty typed signature / stamp image / certificate so empty fields don't 400 at the backend. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>3652f05 -
Phase B: no-login backend β anonymous tool usage with secure downloadsβ
- Add get_current_user_optional (auto_error=False) β anonymous requests no longer 401 - Job.public_token (auto-generated UUID, unique+indexed) for download/status auth - jobs.py: token-based authorization (_authorize_job) so anonymous jobs can't be fetched by enumerating sequential ids; logged-in owner path unchanged - tool_helpers + files.py: nullable user_id; logged-in users match own rows, anonymous match unowned (NULL) rows - Sweep 66 tool endpoints (25 helper-based, 41 inline) to optional auth; admin/auth keep hard auth - Alembic migration b7e1c2a4f9d0 adds jobs.public_token Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>9eb04b1 -
Sign Cloudinary download_url in job status responseβ
Frontend opens status.download_url directly, but it was the raw delivery URL (ACL-blocked β "Failed to load PDF"). Sign it with private_download_url so the browser can download it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a4b6de7 -
Use signed Cloudinary URLs for file downloadsβ
Crs-Lionel +1: Claude Sonnet 4.6Adds signed_download_url() which generates a URL with a Cloudinary signature, satisfying accounts with strict transformations or access-control restrictions that reject plain public URLs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>be785c3 -
Initial commit: FilezKit backend + frontend, dockerized for HF Spacesβ
Crs-Lionel +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>82a25a8