Spaces:
Runtime error
Runtime error
Commit History
-
refactor: resolve circular dependencies and optimize entities for SWC builder
Implements TypeORM Relation<T> and type-only imports across all entities to support the transition to the SWC builder and resolve initialization reference errors.9f03bd9
-
1 fix(google-drive): add self-healing folder management with duplicate prevention
2 3 Fix assignment file upload failures caused by stale Google Drive folder IDs 4 and prevent duplicate Drive ID entries in the database. 5 6 Problems fixed: 7 - 404 "File not found" errors when parent folder IDs in DB no longer exist in Drive 8 - Duplicate entry errors when Drive IDs already exist with different parent/type 9 - Orphaned folders created in Drive when database records weren't synced 10 11 Changes to google-drive.service.ts: 12 - Add verifyFolderExists() to check if folders actually exist in Google Drive 13 14 Changes to drive-folder.service.ts: 15 - Rewrite getOrCreateFolder() with comprehensive 5-step check-first logic: 16 1. Check database by (folderType, parentDriveFolderId, folderName) 17 2. Get parent folder from database 18 3. Verify parent exists in Google Drive (detect stale IDs) 19 4. Check Google Drive by name to find existing folders 20 4.5. Check if Dri…b4c4de1
-
feat(drive-integration): refactor Google Drive integration with folder service and DB schema improvements
- Added DriveFolderService with dedicated folder management - Integrated drive folder service into assignments and labs modules - Fixed foreign key constraints in lab_submission entity (labSubmissionId column) - Updated service methods to use new drive folder service - Added comprehensive frontend integration guide - Added migration documentation for frontend developers - Included SQL script for database schema updates Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>5e42f3a
-
fixed the admin issue now all google drive apis works
bf97343 -
try after off
ec7b20a
-
Clean initial commit without secrets
fd07338