Commit Graph

59 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
f9c11cb064 Fix: Improve validation error handling 2025-11-05 20:36:02 +00:00
gpt-engineer-app[bot]
028ea433bb Fix edge function query ambiguity 2025-11-05 20:09:44 +00:00
gpt-engineer-app[bot]
bd3bffcc20 Fix edge function errors 2025-11-05 19:40:35 +00:00
gpt-engineer-app[bot]
bdd4e046f5 Fix: Resolve edge function auth error 2025-11-05 19:23:25 +00:00
gpt-engineer-app[bot]
435ddf476b Fix edge function bundle timeout 2025-11-05 19:16:31 +00:00
gpt-engineer-app[bot]
e8fc479b10 Fix duplicate variable declaration 2025-11-05 19:12:48 +00:00
gpt-engineer-app[bot]
d62b3c2412 feat: Implement temp ref cleanup 2025-11-05 18:15:21 +00:00
gpt-engineer-app[bot]
b036fb4785 Add temp ref cleanup 2025-11-05 18:09:44 +00:00
gpt-engineer-app[bot]
ba6bb8a317 Fix edge function console statements 2025-11-03 19:16:06 +00:00
gpt-engineer-app[bot]
fdfe141f31 feat: Implement security fix plan 2025-11-03 15:50:07 +00:00
gpt-engineer-app[bot]
8d6cf9ceb5 Refactor submission data handling 2025-11-03 14:09:16 +00:00
gpt-engineer-app[bot]
db8029f573 Refactor submission items 2025-11-03 03:55:38 +00:00
gpt-engineer-app[bot]
bb951e637f Refactor composite submission logic 2025-11-02 20:29:08 +00:00
gpt-engineer-app[bot]
6a9df807fa Fix submission flow issues 2025-11-02 20:21:10 +00:00
gpt-engineer-app[bot]
0a9820abfb Fix composite submission dependency resolution 2025-11-02 19:56:23 +00:00
gpt-engineer-app[bot]
fe76c8c572 feat: Implement comprehensive ban enforcement 2025-10-30 01:47:51 +00:00
gpt-engineer-app[bot]
2de13c12e4 feat: Implement comprehensive audit logging 2025-10-27 17:14:24 +00:00
gpt-engineer-app[bot]
d74ece69ee Refactor: Complete JSONB elimination 2025-10-21 17:52:13 +00:00
gpt-engineer-app[bot]
827f0f8ea5 Fix: Address HMR failures and Fast Refresh incompatibility 2025-10-21 13:13:10 +00:00
gpt-engineer-app[bot]
638d49c8d9 Update plan with remaining phases 2025-10-21 12:25:36 +00:00
gpt-engineer-app[bot]
d886343398 Add edge function logging 2025-10-21 11:56:07 +00:00
gpt-engineer-app[bot]
6f1baef8c0 Approve tool use 2025-10-20 12:58:09 +00:00
gpt-engineer-app[bot]
4983960138 Fix remaining production readiness issues 2025-10-20 12:30:09 +00:00
gpt-engineer-app[bot]
84188b94f2 Fix: Enable edit functionality for ride models and timeline events 2025-10-19 22:39:01 +00:00
gpt-engineer-app[bot]
5a138688bc Fix validation for edits 2025-10-19 17:37:47 +00:00
gpt-engineer-app[bot]
459f917aa3 Fix: Remove broken getSession() call 2025-10-18 00:00:09 +00:00
gpt-engineer-app[bot]
7ba954e0cb Refactor: Add logging for getUser() failure 2025-10-17 23:52:49 +00:00
gpt-engineer-app[bot]
1d68accf05 Fix: Force redeploy edge function 2025-10-17 23:49:45 +00:00
gpt-engineer-app[bot]
8a36c71edb Fix: Implement MFA enforcement and critical bug fix 2025-10-17 19:43:43 +00:00
gpt-engineer-app[bot]
cdd9e6c8c6 Fix security vulnerabilities 2025-10-16 20:01:21 +00:00
gpt-engineer-app[bot]
f176c28df6 feat: Add track material column and filtering 2025-10-16 19:54:22 +00:00
gpt-engineer-app[bot]
7f273a2082 Refactor: Rename timeline event to milestone 2025-10-15 19:55:26 +00:00
gpt-engineer-app[bot]
c79658b3e5 Implement plan to remove public toggle 2025-10-15 19:48:19 +00:00
gpt-engineer-app[bot]
444634dc85 Approve database migration 2025-10-15 19:29:06 +00:00
gpt-engineer-app[bot]
96a5d235e9 Refactor versioning utility functions 2025-10-15 17:47:14 +00:00
gpt-engineer-app[bot]
27c7f36ca4 feat: Implement emergency hotfixes 2025-10-13 20:39:39 +00:00
gpt-engineer-app[bot]
37daceff75 Fix: Resolve form validation and type errors 2025-10-09 19:46:08 +00:00
gpt-engineer-app[bot]
73eb8a60e5 Fix retry flashing and reloading 2025-10-09 18:04:02 +00:00
gpt-engineer-app[bot]
88bcb00157 Fix Retry flashing and dependency validation 2025-10-09 17:55:58 +00:00
gpt-engineer-app[bot]
ff7c90e62d Fix edge function role check 2025-10-09 17:07:42 +00:00
pac7
0f2219f849 Improve image handling, optimize hooks, and add rate limiting
This commit introduces several improvements:
- Enhances `RideModelCard` by safely accessing and displaying ride count and image data, preventing potential errors.
- Refactors `useEntityVersions` and `useSearch` hooks to use `useCallback` and improve performance and prevent race conditions.
- Introduces a `MAX_MAP_SIZE` and cleanup mechanism for the rate limiting map in `detect-location` Supabase function to prevent memory leaks.
- Adds robust error handling and cleanup for image uploads in `uploadPendingImages`.
- Modifies `ManufacturerModels` to correctly map and display ride counts.
- Includes error handling for topological sort in `process-selective-approval` Supabase function.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 39bb006b-d046-477f-a1f9-b7821836f3a1
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 17:55:37 +00:00
pac7
aee512b8a1 Improve security by auditing service role key usage in edge functions
Audit and document the usage of service role keys in multiple Supabase edge functions (cancel-email-change, process-selective-approval, seed-test-data) to ensure secure and scoped access.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: fe5b902e-beda-40fc-bf87-a3c4ab300e3a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 12:56:58 +00:00
pac7
2fc78cbde5 Improve error handling and dependency checks for data processing
Address issues in FieldHistoryDialog by clearing changes on error, enhance useEntityVersions to provide default profiles for missing users, add localStorage availability check in useLocationAutoDetect, and improve dependency resolution logic in supabase/functions/process-selective-approval.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 334e80ad-8f74-4e3a-acec-6dd811858e98
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 12:23:22 +00:00
pac7
b8787ee6de Improve security by verifying user authentication and authorization
Update the 'process-selective-approval' Supabase function to enforce authentication and authorization checks before processing requests. Also, modify the 'upload-image' function to prevent banned users from uploading images. Additionally, enable future React Router v7 features for enhanced navigation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 6d6e48da-5b1b-47f9-a65c-9fa4a352936a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/6d6e48da-5b1b-47f9-a65c-9fa4a352936a/u05utRo
2025-10-07 20:12:39 +00:00
pac7
6737431379 Improve error handling and navigation safety across the application
Add robust error handling for image uploads, improve navigation logic in AutocompleteSearch with toast notifications for missing identifiers, refine useIsMobile hook return type, and update Supabase function error reporting to handle non-Error types.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a759d451-40bf-440d-96f5-a19ad6af18a8
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 15:25:37 +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]
fae8542c45 Fix: Correct RLS policies and function security 2025-10-06 16:50:00 +00:00
gpt-engineer-app[bot]
2750d285cb Refactor photo modification logic 2025-10-02 17:46:45 +00:00
gpt-engineer-app[bot]
9726df6606 Fix duplicate variable declaration 2025-10-02 17:35:06 +00:00
gpt-engineer-app[bot]
8ba049024e Fix form photo upload to photos table 2025-10-02 17:32:42 +00:00