Commit History

  1. taw bch yekhdem

    623a0a4
  2. Fix template ID mismatch - Support both 'default' and 'default-audit-checklist' IDs - Use existing template in database - All CRUD operations now work with existing template

    1bb5c06
  3. Add detailed logging to debug template creation

    aa47cce
  4. Ensure template exists before all CRUD operations - Add ensure_default_template_exists to all endpoints - Template auto-created on any operation - Fixes 404 errors when template doesn't exist

    86e3cc6
  5. Auto-create default template on server startup - Add ensure_default_template_exists function - Template automatically created if not found - No manual script execution needed

    66c8fc5
  6. Convert to shared checklist system - All users can edit the same template - Add template-specific CRUD endpoints - Remove user-specific checklist requirement - Collaborative editing for all users

    26a92dc
  7. Fix CRUD endpoints with proper MongoDB queries and validation

    bce5673

  1. Fix delete item API MongoDB query - Fix sections.$.items to sections.$[].items for proper array update

    505bbe6
  2. Add CRUD APIs for checklist items and sections - Add item management (create, update, delete) - Add section management (create, delete) - Implement real-time database updates - Add comprehensive error handling

    444243b
  3. Fix checklist reset after save - Updated save function to reload template from database - Added error handling for template loading - Removed hardcoded fallback structure - Fixed template endpoint integration

    32d5dab
  4. Add dynamic checklist template system - Added checklist template storage in database - Created endpoint to fetch default template - Updated frontend to load template from database - Added script to populate default template - Removed hardcoded checklist structure

    5069021
  5. Fix duplicate save issue and improve image handling - Updated backend to prevent duplicate entries - Fixed MongoDB immutable _id field error - Added comprehensive logging for debugging - Improved image capture and storage functionality

    d7e0738

  1. Fix automatic checklist creation - Return default checklist structure without saving to database when user enters name

    546abe0
  2. Fix user name preservation in save_checklist - Preserve existing userName from mobile app instead of overriding it

    12a44fb
  3. Fix user name display in history - Ensure metadata.userName is properly saved and displayed

    3d48b7c
  4. Fix ObjectId serialization with comprehensive recursive conversion - Handle all ObjectId fields in nested structures and datetime objects

    0ee46b5
  5. Fix ObjectId serialization error in get_all_checklists endpoint - Use deep copy to avoid modifying original MongoDB documents

    7ca3ae1
  6. Fix logger issue in app.py - Replace logger calls with print statements before logger is defined, and remove mongodb.env.example file

    f2be85d
  7. Fix logger issue in run.py - Replace logger calls with print statements for startup script

    09d17f9
  8. Add debugging and improve startup: Enhanced environment variable logging, created run.py startup script, updated Dockerfile for better error handling

    ef0c125
  9. Add missing files: start_server.py, mongodb.env.example, and fix Dockerfile paths

    c0559a6
  10. Deploy FastAPI backend with MongoDB integration - Added app.py, requirements.txt, and updated Dockerfile for HF Spaces deployment

    b19e5b5

  1. initial commit

    Verified signature
    693cb3d