Commit History

taw bch yekhdem
623a0a4

Ali2206 commited on

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

Ali2206 commited on

Add detailed logging to debug template creation
aa47cce

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

Fix CRUD endpoints with proper MongoDB queries and validation
bce5673

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

Fix user name preservation in save_checklist - Preserve existing userName from mobile app instead of overriding it
12a44fb

Ali2206 commited on

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

Ali2206 commited on

Fix ObjectId serialization with comprehensive recursive conversion - Handle all ObjectId fields in nested structures and datetime objects
0ee46b5

Ali2206 commited on

Fix ObjectId serialization error in get_all_checklists endpoint - Use deep copy to avoid modifying original MongoDB documents
7ca3ae1

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

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

Ali2206 commited on

initial commit
693cb3d
verified

Ali2206 commited on