Commit Graph

16 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
e28dc97d71 Migrate Phase 1 Functions
Migrate 8 high-priority functions (admin-delete-user, mfa-unenroll, confirm-account-deletion, request-account-deletion, send-contact-message, upload-image, validate-email-backend, process-oauth-profile) to wrapEdgeFunction pattern. Replace manual CORS/auth, add shared validations, integrate standardized error handling, and preserve existing rate limiting where applicable. Update implementations to leverage context span, requestId, and improved logging for consistent error reporting and tracing.
2025-11-11 03:03:26 +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]
c0f468451f Fix edge function console statements 2025-11-03 19:09:28 +00:00
gpt-engineer-app[bot]
e5de404e59 Add ban reason to profiles 2025-10-30 02:51:16 +00:00
gpt-engineer-app[bot]
f95eaf9eb7 Fix old URL generation 2025-10-30 01:06:50 +00:00
gpt-engineer-app[bot]
9f52d423f0 Refactor: Update CDN image delivery URLs 2025-10-30 00:58:22 +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]
c5ad432667 feat: Update Discord username in edge function 2025-10-12 00:51:45 +00:00
gpt-engineer-app[bot]
cf94eef683 Fix Discord OAuth data format 2025-10-12 00:43:58 +00:00
gpt-engineer-app[bot]
721fe82a00 Fix Discord OAuth data extraction 2025-10-12 00:35:04 +00:00
gpt-engineer-app[bot]
0b97904064 Fix: Correct Discord identity data access 2025-10-12 00:31:37 +00:00
gpt-engineer-app[bot]
5fb92f97bd Fix Discord OAuth profile handling 2025-10-12 00:29:25 +00:00
gpt-engineer-app[bot]
3d91092953 Fix: Use correct Cloudflare credentials 2025-10-12 00:24:58 +00:00
gpt-engineer-app[bot]
5f8cb16453 Fix: Use account hash for Cloudflare avatars 2025-10-12 00:19:04 +00:00
gpt-engineer-app[bot]
8d5e235772 Fix Cloudflare avatar upload 2025-10-12 00:11:01 +00:00
gpt-engineer-app[bot]
d6f9f4d9a3 feat: Implement OAuth profile enhancement 2025-10-11 23:56:44 +00:00