14 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
a1280ddd05 Migrate Novu functions to wrapEdgeFunction
Refactor Phase 3 Batch 2–4 Novu-related functions to use the createEdgeFunction wrapper, replacing explicit HTTP servers with edge wrapper, adding standardized logging, tracing, and error handling across subscriber management, topic/notification, and migration/sync functions.
2025-11-11 03:55:02 +00:00
gpt-engineer-app[bot]
bf3da6414a Centralize CORS configuration
Consolidate CORS handling by introducing a shared supabase/functions/_shared/cors.ts and migrate edge functions to import from it. Remove inline cors.ts usage across functions, standardize headers (including traceparent and x-request-id), and prepare for environment-aware origins.
2025-11-10 21:28:46 +00:00
gpt-engineer-app[bot]
2d65f13b85 Connect to Lovable Cloud
Add centralized errorFormatter to convert various error types into readable messages, and apply it across edge functions. Replace String(error) usage with formatEdgeError, update relevant imports, fix a throw to use toError, and enhance logger to log formatted errors. Includes new errorFormatter.ts and widespread updates to 18+ edge functions plus logger integration.
2025-11-10 18:09:15 +00:00
gpt-engineer-app[bot]
7663205512 Fix remaining compliance violations 2025-11-03 18:47:59 +00:00
gpt-engineer-app[bot]
ee2b03b832 feat: Implement user topic subscription 2025-10-22 12:12:53 +00:00
gpt-engineer-app[bot]
74923d3c45 Test user notification system 2025-10-21 19:59:17 +00:00
gpt-engineer-app[bot]
74860c6774 feat: Implement comprehensive request tracking and state management 2025-10-21 12:51:44 +00:00
gpt-engineer-app[bot]
f294020d0b Fix Novu API import error 2025-10-12 15:43:19 +00:00
gpt-engineer-app[bot]
1333a5e8c8 Fix Novu API import path 2025-10-12 15:41:36 +00:00
gpt-engineer-app[bot]
4d96f45e74 feat: Implement Novu package migration 2025-10-12 15:40:37 +00:00
pac7
88ed3207c4 Improve error handling and authentication for uploads and notifications
Refactor PhotoUpload component to fetch session token before polling, enhance error handling in NotificationService and versioningHelpers with `instanceof Error` checks, and add comprehensive validation for request body fields in the create-novu-subscriber Supabase function.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8d708ff6-09f1-4b67-8edc-de3fcb2349b3
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 14:55:35 +00:00
pac7
1addcbc0dd Improve error handling and environment configuration across the application
Enhance input validation, update environment variable usage for Supabase and Turnstile, and refine image upload and auth logic for better robustness and developer experience.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cb061c75-702e-4b89-a8d1-77a96cdcdfbb
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/cb061c75-702e-4b89-a8d1-77a96cdcdfbb/ANdRXVZ
2025-10-07 14:42:22 +00:00
gpt-engineer-app[bot]
18669a4e6c feat: Implement Novu username and update functionality 2025-10-01 14:01:44 +00:00
gpt-engineer-app[bot]
e2f0df22cc feat: Implement Novu notification system 2025-10-01 12:26:12 +00:00