Commit Graph

214 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
1cc80e0dc4 Fix edge function transaction boundaries
Wrap edge function approval loop in database transaction to prevent partial data on failures. This change ensures atomicity for approval operations, preventing inconsistent data states in case of errors.
2025-11-06 16:11:52 +00:00
gpt-engineer-app[bot]
5b0ac813e2 Fix park submission locations
Implement Phase 1 of the JSONB violation fix by creating the `park_submission_locations` table. This includes migrating existing data from `park_submissions.temp_location_data` and updating relevant code to read and write to the new relational table. The `temp_location_data` column will be dropped after data migration.
2025-11-06 15:45:12 +00:00
gpt-engineer-app[bot]
bd4f75bfb2 Fix entity submission pipelines
Refactor park updates, ride updates, and timeline event submissions to use dedicated relational tables instead of JSON blobs in `submission_items.item_data`. This enforces the "NO JSON IN SQL" rule, improving queryability, data integrity, and consistency across the pipeline.
2025-11-06 15:13:36 +00:00
gpt-engineer-app[bot]
ed9d17bf10 Fix ride model technical specs
Implement plan to fix ride model technical specifications pipeline. This includes creating a new migration for the `ride_model_submission_technical_specifications` table, updating `entitySubmissionHelpers.ts` to handle insertion of technical specifications, and modifying the edge function `process-selective-approval/index.ts` to fetch these specifications. This ensures no data loss for ride model technical specifications.
2025-11-06 15:03:51 +00:00
gpt-engineer-app[bot]
de9a48951f Fix ride submission data loss
Implement the plan to fix critical data loss in ride submissions. This includes:
- Storing ride technical specifications, coaster statistics, and name history in submission tables.
- Adding missing category-specific fields to the `ride_submissions` table via a new migration.
- Updating submission helpers and the edge function to include these new fields.
- Fixing the park location Zod schema to include `street_address`.
2025-11-06 14:51:36 +00:00
gpt-engineer-app[bot]
9f5240ae95 Fix: Add street_address to composite submission approval
Implement the plan to add `street_address` to the location creation logic within the `process-selective-approval` edge function. This ensures that `street_address` is preserved when approving composite submissions, completing the end-to-end pipeline for this field.
2025-11-06 14:24:48 +00:00
gpt-engineer-app[bot]
b189f40c1f Fix date display and edit form issues 2025-11-06 05:01:51 +00:00
gpt-engineer-app[bot]
328a77a0a8 Fix: Normalize park_type in approval function 2025-11-06 04:50:48 +00:00
gpt-engineer-app[bot]
93e48ac457 Fix park type and moderator ID 2025-11-06 04:31:58 +00:00
gpt-engineer-app[bot]
090f6aca48 Refactor: Redeploy edge function 2025-11-06 04:25:29 +00:00
gpt-engineer-app[bot]
dfd17e8244 Refactor park submission location handling 2025-11-05 20:46:02 +00:00
gpt-engineer-app[bot]
f9c11cb064 Fix: Improve validation error handling 2025-11-05 20:36:02 +00:00
gpt-engineer-app[bot]
c8018b827e feat: Implement retry logic and tracking 2025-11-05 20:19:43 +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]
40ebc3c11b Fix logging policy violation 2025-11-04 21:52:42 +00:00
gpt-engineer-app[bot]
deabb72330 feat: Implement sitemap generator 2025-11-04 21:48:50 +00:00
gpt-engineer-app[bot]
2a2f172c3b feat: Implement test data generation plan 2025-11-04 17:25:58 +00:00
gpt-engineer-app[bot]
e1c7d5599f Fix duplicate variable name 2025-11-04 16:20:02 +00:00
gpt-engineer-app[bot]
83e20bfd56 Fix seed-test-data edge function 2025-11-04 16:04:04 +00:00
gpt-engineer-app[bot]
f979637ba3 Fix stale references in seed data 2025-11-03 23:35:40 +00:00
gpt-engineer-app[bot]
62504da252 Fix seed-test-data edge function 2025-11-03 22:41:55 +00:00
gpt-engineer-app[bot]
22f4a68bd8 Refactor: Database and UI updates 2025-11-03 21:32:04 +00:00
gpt-engineer-app[bot]
2cd6b2c6c3 Fix remaining console logs and types 2025-11-03 20:04:11 +00:00
gpt-engineer-app[bot]
6fbaf0c606 Fix edge function logging and types 2025-11-03 19:57:27 +00:00
gpt-engineer-app[bot]
99ceacfe0c Fix remaining console statements 2025-11-03 19:24:38 +00:00
gpt-engineer-app[bot]
ba6bb8a317 Fix edge function console statements 2025-11-03 19:16:06 +00:00
gpt-engineer-app[bot]
c0f468451f Fix edge function console statements 2025-11-03 19:09:28 +00:00
gpt-engineer-app[bot]
7663205512 Fix remaining compliance violations 2025-11-03 18:47:59 +00:00
gpt-engineer-app[bot]
6efb6dda66 Fix all compliance violations 2025-11-03 18:38:46 +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]
061c06be29 Implement planned features 2025-11-03 00:38:16 +00:00
gpt-engineer-app[bot]
d44f806afa Fix notification logs migration 2025-11-03 00:28:33 +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]
9529dd340e Fix admin delete user unauthorized error 2025-11-02 02:39:31 +00:00
gpt-engineer-app[bot]
133141d474 Reverted to commit 0091584677 2025-11-01 15:22:30 +00:00
gpt-engineer-app[bot]
26e5753807 Fix Auth0 JWT import path 2025-11-01 01:08:44 +00:00
gpt-engineer-app[bot]
b2bf9a6e20 Implement Auth0 migration 2025-11-01 01:08:11 +00:00
gpt-engineer-app[bot]
cdb1d0f762 Fix: Implement RLS policies for MFA 2025-10-31 17:12:59 +00:00
gpt-engineer-app[bot]
8c6726c9f2 Fix: Schedule ban expiration check 2025-10-30 12:05:11 +00:00
gpt-engineer-app[bot]
db101bc5f2 Fix: Correct ban migration logic 2025-10-30 12:03:55 +00:00