23 Commits

Author SHA1 Message Date
pac7
338c30e65c Improve system logging to show complete audit history
Fixes version history filtering to show all historical changes by removing the `is_current` filter from relevant database queries. Aligns RLS policies for better log access and verifies chronological sorting of aggregated activities.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 14a3da17-c084-4611-919e-f0651a496ef3
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/14a3da17-c084-4611-919e-f0651a496ef3/bS7Mx7U
2025-10-27 23:20:17 +00:00
pac7
b6c4b2e7d0 Fix critical build issues preventing application compilation and loading
Resolved Git merge conflicts in AuthButtons.tsx, fixed syntax errors blocking the Vite dev server, and installed missing @tanstack/react-query-devtools dependency.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: edf9a2eb-860d-4c14-b250-aaeaf2c80ee3
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-27 17:35:25 +00:00
pac7
785133a761 Improve how user avatars are displayed throughout the application
Update all avatar display locations to use a new UserAvatar component with enhanced retry logic, cache-busting, and support for size variants.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
2025-10-27 17:30:48 +00:00
pac7
b56617efcc Enhance moderation queue sorting with visual indicators and logging
Add loading spinners, detailed sort query logging, result preview logging, disable sort controls during loading, and mobile-specific loading text changes. Also, fix type mismatch in QueueSortControls and correct refresh strategy logic.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kq6AhNt
2025-10-13 15:16:16 +00:00
pac7
993f1d5ba2 Improve moderation queue sorting and user authentication stability
Fixes type mismatch and refresh strategy in QueueSortControls for proper moderation queue sorting, and simplifies auth hook loading state management to prevent perpetual loading.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 15:04:02 +00:00
pac7
264a930c6a Fix authentication loading state issue by simplifying auth hook
Resolved perpetual loading state issue in auth buttons by simplifying useAuth hook's loading state management, removing blocking conditional logic, adding explicit setLoading(false) calls in all code paths, and ensuring pending email state cleanup occurs before early returns.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e7030bef-c72b-4948-9378-ee5e345d91ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/e7030bef-c72b-4948-9378-ee5e345d91ce/iYcvvsb
2025-10-12 17:06:29 +00:00
pac7
811b64a370 Improve app stability by fixing critical bugs and enhancing error handling
Fixes React Hooks violations, race conditions, and CORS security issues. Improves error logging and rate limit resilience.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f4df1950-6410-48d0-b2de-f4096732504b
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 20:24:38 +00:00
pac7
26aeb46c8a Improve error handling and fix bugs across the platform
Update Supabase edge functions with improved error messages and null checks, optimize rate limiting, and fix null reference errors in photo submission.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2741d09b-80fb-4f0a-bfd6-ababb2ac4bfc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 19:57:04 +00:00
pac7
82c835d505 Improve application stability and fix various critical bugs
Update `useEntityVersions` hook to prevent race conditions, enhance error handling in Edge Functions, and resolve browser storage crashes and memory leaks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a71e826a-1d38-4b6e-a34f-fbf5ba1f1b25
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/a71e826a-1d38-4b6e-a34f-fbf5ba1f1b25/aEgTPrv
2025-10-08 19:29:16 +00:00
pac7
f21602b992 Improve application reliability by fixing critical bugs and race conditions
Introduces fixes for race conditions in version history, enhanced error handling in Edge Functions, resolved browser storage crashes, and memory leak issues in rate limiters and image uploads. Also addresses company form validation and production domain placeholders.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b9af4867-23a7-43cc-baeb-4a97f66b4150
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 18:59:50 +00:00
pac7
e4d0e2c57c Fix security vulnerabilities and improve application stability
Address critical bugs including CORS vulnerability, navigation errors, and component crashes, and resolve an image upload race condition.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 567218be-0199-4aaa-af7e-8307f67d4453
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 18:34:26 +00:00
pac7
064bf86bce Fix critical bugs and improve performance for several features
Resolve race conditions in image uploads, fix infinite loops in search components, enhance test data generation, and correct PostgreSQL queries.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dc31cf9d-7a06-4420-8ade-e7b7f5200e71
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 18:15:52 +00:00
pac7
bdc9f5695e Fix critical bugs and improve application reliability
Resolve infinite loops, hook order violations, race conditions, and enhance validation stability across various hooks and edge functions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 39bb006b-d046-477f-a1f9-b7821836f3a1
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 17:58:33 +00:00
pac7
a3598cf01d Improve application reliability and error handling
Add rate limiting to location detection, standardize error responses, verify HMR stability, and validate Cloudflare integration.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b3d7d4df-59a9-4a9c-971d-175b92dadbfa
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/b3d7d4df-59a9-4a9c-971d-175b92dadbfa/1VcvPNb
2025-10-08 17:18:40 +00:00
pac7
c5d008687e Improve application stability and security with bug fixes and updates
Implement several bug fixes and security enhancements, including improved Novu API integration, enhanced input validation, corrected TypeScript errors, verified memory management, enabled JWT verification for image uploads, replaced manual JWT decoding with Supabase verification, and made the Geolocation API configurable.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a8c5cf3e-a80e-462f-b090-b081acdcf03a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 14:06:39 +00:00
pac7
ced8fb6015 Improve security and configuration of multiple web application functions
Update JWT verification in image upload and email change functions, make geolocation API configurable, and enhance error handling in Supabase Edge Functions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 364fb426-1d27-49b2-a244-a34e41c335e4
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 12:33:05 +00:00
pac7
6f74fcaed7 Improve security and error handling in theme park application
Address JWT decoding vulnerability in email change function and enhance Supabase Edge Function error handling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a46bc7a0-bbf8-43ab-97c0-a58c66c2e365
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 12:08:32 +00:00
pac7
6c59f150e8 Improve security and code quality with authorization fixes and updates
Update Edge Functions for JWT verification and banned user checks, add React Router v7 compatibility flags, and simplify the moderation API by removing client-supplied userId.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 6d6e48da-5b1b-47f9-a65c-9fa4a352936a
Replit-Commit-Checkpoint-Type: full_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:13:17 +00:00
pac7
f02ba17760 Improve project documentation with updated technical details
Update README with detailed descriptions of the frontend and backend architecture, including tech stacks, component structures, routing, and database schema.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a759d451-40bf-440d-96f5-a19ad6af18a8
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-07 15:27:03 +00:00
pac7
1241670492 Improve security, performance, and error handling across the application
Enhance security by adding authentication to image uploads, optimize token fetching in PhotoUpload.tsx, and improve input validation and error handling in multiple backend functions and services.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8d708ff6-09f1-4b67-8edc-de3fcb2349b3
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-07 14:56:37 +00:00
pac7
0ebff53b41 Improve security and fix race conditions and memory leaks
Update environment variables for Supabase and Cloudflare, fix race conditions in hooks, and resolve memory leaks in the upload component.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cb061c75-702e-4b89-a8d1-77a96cdcdfbb
Replit-Commit-Checkpoint-Type: full_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:43:14 +00:00
pac7
19d8766285 Update application to use environment variables for configuration
Migrate hardcoded Cloudflare account hash and Supabase URL to environment variables, and fix sonner.tsx theme import.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f1469493-0a69-4efc-91bd-478d1879573a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/f1469493-0a69-4efc-91bd-478d1879573a/gC5lzMj
2025-10-07 14:13:38 +00:00
pac7
d5dd5cabe3 Add detailed project documentation for ThrillWiki
Adds a new `replit.md` file containing comprehensive documentation for the ThrillWiki project, outlining its overview, tech stack, system architecture (frontend, backend, image management), and user preferences.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f44f1d1b-1dd8-407b-8603-db12902e1a15
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-04 14:30:12 +00:00