qshub / api /routers

Commit History

  1. feat: add customer reviews with admin approval and inquiry support system

    51a8001

  1. Add ARCH debug logging to auto_classify

    d0d7322
  2. Fix all pages classified as unknown: re-extract full text from cached PDFs on disk for accurate keyword matching instead of using truncated 250-char DB previews

    0102eee
  3. Fix 502 Gateway Timeout in Auto Classify. Removed synchronous PDF fallback which blocked HTTP. Added DB error checking to Upload. Truncated texts to 250 chars to prevent MySQL packet size limit errors.

    fe109c8
  4. Fix 502 Gateway Timeout on Saving Classifications by moving AI memory recording to BackgroundTasks

    16455b0
  5. Fix 502 Proxy Timeout by moving PDF image rendering to BackgroundTasks. This makes uploads 10x faster and prevents Cloudflare/Nginx from dropping connections.

    b314a54
  6. Fix OOM crashes on Render proxy by parsing PDFs using mmap from disk instead of massive byte duplication in memory

    e73778d
  7. Fix 502 upload root cause: single FormData POST + top-level try-except error handling + dual-table project ownership check

    66b6eeb
  8. Fix 502 upload crash: add proactive garbage collection (gc.collect) to keep RAM under 80MB on cloud containers (Render)

    c9f5391
  9. Fix 502 upload root cause: fix zero-byte file limit cap for free/trial users (PLANS[0]) + add exception handling to upload pipeline

    ccccd51
  10. Optimize render speed to 1200px (0.02s/page) + remove redundant PDF text re-extraction in auto_classify to permanently fix 502 gateway timeouts

    cd9f6b4
  11. Fix classification syntax bug + preserve 4000 char page text + enrich UAE drawing keywords + fall back to PDF text re-extraction

    0f3ab13
  12. Centralize all state_data writes into upsert_active_state() with auto-trim and size guards - prevents all future save failures

    cc1ec7a
  13. Fix all SQL dialect errors + truncate state_data + add error logging to save_classification

    8e18bfe
  14. Replace dialect SQL queries with universal SELECT -> INSERT/UPDATE logic to prevent database engine syntax errors

    5df9c92
  15. Fix MySQL ON DUPLICATE KEY UPDATE syntax in active projects query

    d4c530e
  16. Ensure save_file is best-effort to prevent upload failures

    f32140b
  17. Make auto-classify instant (<0.1s) by bypassing remote vision calls to eliminate 502 proxy timeouts

    d150fae
  18. Use UPSERT in save_classification to guarantee saving project state without 400 No active project errors

    a9270d5
  19. Expose detailed error message on classification save failure

    a19ab2b
  20. Bypass AI vision calls on known pages to eliminate proxy 502/504 timeouts during classification

    ddca60d
  21. Fix upload state preservation so both structural and architectural files are retained

    43d0969
  22. Truncate text arrays in upload.py to prevent MySQL payload overflow and HTTP 502 error

    2778875
  23. Split drawing uploads sequentially to eliminate HTTP payload timeouts and 502 Bad Gateway

    3595e00
  24. Eliminate RAM overhead during classification to fix HTTP 502 Bad Gateway OOM

    8a25d8e

  1. fix: upload cap follows the plan limit, not a fixed 50 MB⁠

    basel00omar +1: Claude Opus 4.8
    1520edc
  2. security+reliability hardening pass⁠

    basel00omar +1: Claude Opus 4.8
    361e46e

  1. Update UI, add feedback system, extract name from email

    369b6c9

  1. Add automated follow-up email after first free project export

    5e93166

  1. fix: copy total windows area and door count to boq, and export windows/doors schedules to excel

    eabe6af

  1. feat: Added stair-room toggle, graphical tables for doors/windows, and cross-floor sanity checks

    eedc61d

  1. fix: enforce export and file upload limits on backend

    29d542c

  1. Fix total_villa_height zero fallback in BOQ and external plaster window subtraction

    af041b8
  2. Implement systemic CV Auto-Scaling for partial floors/annexes

    7f70f7a
  3. Fix total_villa_height logic and doors/windows extraction logic

    ba3ebb8

  1. Fix: Rename _safe_parse_json back to parse_json to fix extraction crashes in sub-extractors, and add fallback for total_villa_height

    7dc924c
  2. Fix: Prevent double counting of doors and windows when both schedules and floor plan estimates are present

    5baa981
  3. Fix door and window counting logic

    db53248

  1. Add heuristic fallback for roof slab area to prevent stairhead-only extraction from ruining quantities

    ec4c015
  2. feat: Add Dodo Payments Customer Portal and UI refinements

    ca75569

  1. Fix UI styling for Dashboard start project, update QTO extraction pipeline logic, add PyMuPDF fallback for columns and OCR for floor heights

    8682034
  2. Fix extraction silent errors, update missing values fallback

    2e4b939
  3. Revert "fix: implement ultimate Hard Defaults to guarantee no zeroes in UI"⁠

    19a11de
  4. fix: implement ultimate Hard Defaults to guarantee no zeroes in UI

    ee3b19d
  5. fix: silent bugs including empty pdf, vector measure bounds, tie beam mismatch, lazy imports, and dead code

    55bfa94
  6. chore: remove dead workflow files securely by fixing app.py imports first

    8cd11ac
  7. fix: reorder data_review fallbacks, add roof/plot fallbacks, and restore staggered asyncio concurrency

    7ea7b28
  8. fix: critical fallback for gf_area from foundation footprint

    8e846d8
  9. fix: add length extraction to beam prompt and geometric fallback for internal walls

    d9daf16
  10. fix: implement geometric fallbacks, bullshit filters, and column fallbacks to restore villa_qto stability

    ed3818a