Spaces:
Running
Running
Commit History
-
fix(routing, landing): fix 404 flash on login/dashboard entry and redesign landing page closing section
cc7d517
-
feat: add free starter courses, Google OAuth integration, and resilient profile sync
6f30bfd
-
feat: normalize course titles into professional canonical titles and remove emojis across app
d08bef8
-
fix(ui): overhaul napkin paper contrast, eliminate white/washed-out text across all screens, and boost legibility
5ee7563
-
feat(ui): complete end-to-end Napkin UI & hand-written notes transformation across all screens
1b5ee98
-
Further auth fixes: simplify signup options and add diagnostic logging
grim399ee67 -
Fix critical auth flow bugs: race conditions, fingerprint dedup, session persistenceβ
grim- useAuth: Remove broken fingerprint deduplication that swallowed valid SIGNED_IN events - useAuth: Make onAuthStateChange the single source of truth (signUp/signIn no longer manually set user state) - useAuth: Handle INITIAL_SESSION event for proper session restoration on page load - useAuth: Add useCallback for stable function references, useRef for init tracking - supabase.ts: Add detectSessionInUrl for OAuth PKCE callback handling - supabase.ts: Explicitly enable persistSession - supabase.ts: Set flowType to 'pkce' for secure OAuth flows - AuthCallback: Remove manual exchangeCodeForSession (detectSessionInUrl handles it) - AuthCallback: Fix misleading 'Confirming your email' text - AuthForm: Remove unused useEffect import8c89708 -
Revamp End-to-End Authentication With Google OAuth
grim6f28d6d
-
fix: handle async supabase loading to fix authcallback blank spinner
grime722a5f -
fix: handle old user unconfirmed email trap during signin
grim307aa56 -
fix: restore authenticated sign-in flow
grim94c3bbb
-
refactor(assessment): utilize active course context for LLM generation, increase timeout, configure hot-reload for dev server, and clean up legacy dead code
grimf237798
-
new access code stuff
e677c14
-
π§ Fix Gemini API integration for Vercel deploymentβ
β CRITICAL FIXES: - Update Assessment component to use secure AI client instead of direct gemini calls - Add missing methods to secureAIClient (generateAssessment, evaluateAnswer, generateMiniProject) - Fix API error handling with detailed logging and fallback responses - Add development-only VITE_GEMINI_API_KEY_1 for local fallback functionality - Update useChat.ts to use secure AI client methods with proper JSON parsing π‘οΈ API IMPROVEMENTS: - Enhanced error logging in backend API with environment debugging - Better fallback response when API keys not configured in Vercel - Added testConnection() method for API health checking - Improved error messages for troubleshooting deployment issues π DEBUGGING FEATURES: - Environment variable debugging (without exposing keys) - Detailed error reporting for API failures - Fallback responses to keep app functional during API issues This should resolve Gemini API integration issues in Vercel production deployment.fdca72a -
π SECURITY OVERHAUL: Complete production-ready security implementationβ
β MAJOR SECURITY FIXES: - Remove all console.log exposure of API keys and credentials - Implement secure serverless backend API proxy (/api/ai.ts) - Add production-safe logging system with credential sanitization - Configure build to strip all debug code in production - Fix all missing secure logger imports across entire codebase π‘οΈ BACKEND SECURITY: - Vercel serverless functions for secure API key management - Server-side AI API proxy prevents client credential exposure - Rate limiting and environment-based fallback handling - Complete separation of client/server environment variables π§ COMPREHENSIVE LOGGER AUDIT: - Fixed missing imports in 18+ files causing ReferenceError - All logger usage now properly imports secure logging system - Development-only logging with automatic production stripping - Credential sanitization prevents sensitive data leaks π¦ PRODUCTION HARDENING: - Terser build configuration strips console statements - Environment variable validation without value expβ¦d6ab07d
-
π CRITICAL SECURITY FIX: Remove all credential leaks from browser consoleβ
- Replace all console.log/error/warn with secure logger that only works in development - Created secureLogger.ts that automatically redacts sensitive data (API keys, user IDs, tokens) - Fixed duplicate logger imports that were breaking the build - Updated certificationAPI.ts to use secure logging (no more API keys/session IDs in console) - Enhanced environment security with secureEnvironment.ts validator - Updated supabase.ts to use secure configuration - Modified vite.config.ts to strip ALL console statements from production builds - Added security headers and build optimizations BEFORE: All API keys, user data, and credentials were visible in browser console AFTER: Zero sensitive data exposure - production builds have no logging whatsoever Production Security Status: π‘ IMPROVED (logging secured, API keys still need server proxy) Development Security: β SECURE (sensitive data redacted from logs)33927c8 -
Fix assessment evaluation system: Replace placeholder scores with real AI evaluationβ
- Enhanced certification API to use actual Gemini AI evaluation instead of placeholders - Added proper pass/fail logic with 60% threshold (scores below 60% now fail) - Updated Results component with conditional UI for passed vs failed assessments - Implemented retake functionality for failed assessments - Added comprehensive AI evaluation prompt with actual assessment questions - Enhanced scoring criteria: Beginner (60-75%), Intermediate (76-85%), Advanced (86-100%) - Added detailed feedback system to help students improve - Updated session status tracking for assessment failures - Modified CertificationFlowManager to handle assessment state and retakes - Added extensive debugging throughout the evaluation process - Created comprehensive test cases for assessment evaluation - Fixed all placeholder values (85 marks, A grade) with real evaluation results Assessment now properly evaluates student understanding and only allows progression to final project after demonstrating genuine compeβ¦abd2f2e
-
π Major Platform Revamp: Premium Learning Paths + Enhanced Certification Flow + Homepage Transformationβ
β¨ NEW FEATURES: - Premium Learning Paths with structured multi-step courses, badges, and mentorship - Enhanced AI-powered certification flow with real project generation - Completely revamped homepage showcasing new capabilities - Course session persistence system for seamless learning experience - Certification-focused navigation (removed chat-based UI) π¨ HOMEPAGE TRANSFORMATION: - Modern hero section with dual CTAs (Quick Certs vs Premium Paths) - Premium Learning Paths showcase with 6 comprehensive tracks - Enhanced Quick Certifications section (2-5 hour completions) - Updated features highlighting AI-powered + industry recognition - Professional gradient design with glassmorphism effects β‘ TECHNICAL IMPROVEMENTS: - New certification API with AI project generation - Premium topic detection system - Course session persistence with auto-resume - Sidebar restructured for certification-focused experience - Dashboard transformed from chat-based to certification-centric π§ SYSTEM ENHAβ¦e64b891
-
Initial commit: GetCert AI certification platform with chat interface and scroll fixes
7fa7b12