Commit Graph

16 Commits

Author SHA1 Message Date
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
pac7
bf7dd93d9e Update image sources to use environment variables for dynamic image hosting
Updates image URLs across various components and pages to dynamically fetch images using Cloudflare's image hosting service, configured via environment variables. Also updates the theme provider import for Sonner toasts and modifies the Supabase upload function to use a configurable Supabase URL.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f1469493-0a69-4efc-91bd-478d1879573a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/f1469493-0a69-4efc-91bd-478d1879573a/HYhVkSk
2025-10-07 14:10:00 +00:00
pacnpal
095907b3a5 Merge branch 'main' of https://github.com/pacnpal/thrilltrack-explorer 2025-10-04 14:34:37 +00:00
pac7
65546141bb Improve photo upload by preventing empty uploads
Add a check to prevent an upload if no files are selected, displaying an error message.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f44f1d1b-1dd8-407b-8603-db12902e1a15
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-04 14:23:39 +00:00
gpt-engineer-app[bot]
b778fc95f6 Refactor: Implement Phase 3C cleanup 2025-10-03 14:24:43 +00:00
gpt-engineer-app[bot]
8378c345d1 Refactor: Limit avatar upload size 2025-09-29 02:39:47 +00:00
gpt-engineer-app[bot]
30f002a347 Fix photo upload URL 2025-09-29 01:15:56 +00:00
gpt-engineer-app[bot]
3e1ea57c11 Fix avatar upload parameter mismatch 2025-09-28 17:47:33 +00:00
gpt-engineer-app[bot]
9c9f519fc2 Fix avatar upload timeout 2025-09-28 17:43:42 +00:00
gpt-engineer-app[bot]
2147514784 Refactor: Implement avatar cleanup plan 2025-09-28 17:38:09 +00:00
gpt-engineer-app[bot]
47ef042b6f Fix Cloudflare image upload 2025-09-28 17:26:20 +00:00
gpt-engineer-app[bot]
4ddc10b8eb Refactor: Improve Cloudflare direct upload 2025-09-28 17:23:38 +00:00
gpt-engineer-app[bot]
439e9388ab Fix avatar upload and display issues 2025-09-28 16:09:09 +00:00
gpt-engineer-app[bot]
0a46ccc44a Fix image display issue 2025-09-28 15:55:52 +00:00
gpt-engineer-app[bot]
8dba5a78d1 Refactor: Use Direct Creator Upload 2025-09-20 13:21:25 +00:00
gpt-engineer-app[bot]
2c05925724 Add photo upload functionality 2025-09-20 13:18:03 +00:00