ags / utils /cropdrive_integration.py

Commit History

13 days ago

  1. Update dependencies and fix runtime bugs found in audit⁠

    Markishime +1: Claude Opus 5.5
    3f62288

  1. feat: add Indonesian (Bahasa Indonesia) language support⁠

    Mark Cuizon
    b63bb45

  1. Fix Step 6 errors and analysis limit enforcement - Fix 'str' object has no attribute 'get' error in forecast graph - Fix interpretations and key_findings display formatting issues - Fix analysis limit check order to use updated session state - Add proper type validation for forecast data

    197ef6c

  1. Update send_analysis_complete to match AI Assistant Integration Guide format - Remove userId from message (website uses authenticated user ID) - Update message format to match exact guide specification - Update error handling to send ANALYSIS_ERROR messages - Add documentation references to integration guide

    307f1c9

  1. feat: Add SCRIPT_RUN_STATE_CHANGED communication functions⁠

    eaa5dc3

  1. feat: Implement AI Assistant Integration Guide⁠

    99cf00c
  2. Fix: Add REQUEST_CONFIG_UPDATE after ANALYSIS_COMPLETE and enhanced logging⁠

    7a7eafd
  3. Fix: Add optimistic upload count update after ANALYSIS_COMPLETE⁠

    ddd3171
  4. Fix: Add ANALYSIS_COMPLETE message sending and Firestore save with user ID⁠

    43e20d5
  5. Fix analysis completion: ensure user_id is included and message sent correctly⁠

    af79a1f
  6. Fix postMessage origin mismatch: use '*' as target origin⁠

    0da4769
  7. Fix upload limit calculation logic⁠

    82b42ca
  8. Add CropDrive integration: upload limits enforcement and analysis completion messaging⁠

    9d3b8a9

  1. Add Malaysian language support for PDF reports and improve user tracking - Add PDF translations for English and Malaysian - Update PDF download buttons to use translations - Update generate_results_pdf to pass language to generator - Improve CropDrive integration to send user ID with analysis results - Send messages to all allowed origins for better website integration

    ad3ced0

  1. Add user ID tracking and language handling for CropDrive integration - Save analysis results with user ID from CropDrive website - Enhanced language handling with URL params and postMessage support - Improved bidirectional communication between Streamlit and parent website

    0930564

  1. clean repo

    fb5dc87