Commit Graph

613 Commits

Author SHA1 Message Date
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
88ed3207c4 Improve error handling and authentication for uploads and notifications
Refactor PhotoUpload component to fetch session token before polling, enhance error handling in NotificationService and versioningHelpers with `instanceof Error` checks, and add comprehensive validation for request body fields in the create-novu-subscriber Supabase function.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8d708ff6-09f1-4b67-8edc-de3fcb2349b3
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 14:55:35 +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
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
gpt-engineer-app[bot]
ca7e5296ed Fix infinite loop in moderation queue 2025-10-06 21:07:21 +00:00
gpt-engineer-app[bot]
38db325135 Fix race condition in moderation queue 2025-10-06 20:49:14 +00:00
gpt-engineer-app[bot]
1c356ed69e Reconstruct fetchItems function 2025-10-06 20:24:46 +00:00
gpt-engineer-app[bot]
5eba459d0e Fix: Apply smart merge to all refreshes 2025-10-06 19:47:43 +00:00
gpt-engineer-app[bot]
c3b0ae3d76 Refactor: Apply smart merging to all refreshes 2025-10-06 19:43:36 +00:00
gpt-engineer-app[bot]
fd20c02e5e Implement comprehensive fix 2025-10-06 19:38:39 +00:00
gpt-engineer-app[bot]
d965d2c299 Refactor: Stabilize admin panel auto-refresh 2025-10-06 19:31:15 +00:00
gpt-engineer-app[bot]
71f497a001 Fix N+1 query and UI flashing 2025-10-06 19:19:02 +00:00
gpt-engineer-app[bot]
cc3ec7a6e4 Fix auto-refresh and queue claiming 2025-10-06 19:01:49 +00:00
gpt-engineer-app[bot]
e1e8fa2ddc Fix auto-refresh and queue claiming 2025-10-06 18:58:21 +00:00
gpt-engineer-app[bot]
2f71312f7c Implement Test Data Generator 2025-10-06 18:48:24 +00:00
gpt-engineer-app[bot]
f5c59aa072 Fix admin dashboard auto-refresh 2025-10-06 18:36:43 +00:00
gpt-engineer-app[bot]
63a7877314 Refactor: Approve tool use 2025-10-06 18:24:20 +00:00
gpt-engineer-app[bot]
c2c70524f7 Fix photo_delete display issues 2025-10-06 18:16:49 +00:00
gpt-engineer-app[bot]
3f1e4abb62 Fix submission display issues 2025-10-06 18:07:19 +00:00
gpt-engineer-app[bot]
2fc67ebf39 Fix submission display issues 2025-10-06 17:59:34 +00:00
gpt-engineer-app[bot]
25f79a4667 Refactor system log to own page 2025-10-06 17:55:33 +00:00
gpt-engineer-app[bot]
d6bddd6459 feat: Implement system activity log (Phases 1-3) 2025-10-06 17:52:08 +00:00
gpt-engineer-app[bot]
3210147654 Fix: Add dashboard widget for flow violations 2025-10-06 17:01:41 +00:00
gpt-engineer-app[bot]
124fe5e76e Implement remaining monitoring features 2025-10-06 16:58:08 +00:00
gpt-engineer-app[bot]
f86b772eca Refactor History component 2025-10-06 16:37:56 +00:00
gpt-engineer-app[bot]
522802f005 Fix: Optimize detail pages for desktop 2025-10-06 16:29:23 +00:00
gpt-engineer-app[bot]
aeaf4bdd24 feat: Optimize desktop layout for 1024px+ 2025-10-06 16:25:12 +00:00
gpt-engineer-app[bot]
d68bbe27a7 feat: Implement desktop-first maximization plan 2025-10-06 16:22:24 +00:00
gpt-engineer-app[bot]
bc8cb18172 Refactor: Optimize desktop max-widths 2025-10-06 16:15:36 +00:00
gpt-engineer-app[bot]
590d4ede52 Reverted to commit cb1ef6c177 2025-10-06 16:12:02 +00:00
gpt-engineer-app[bot]
88901a7f20 Fix desktop layout 2025-10-06 16:10:37 +00:00
gpt-engineer-app[bot]
b22d74c381 Refactor: Improve desktop layout 2025-10-06 16:03:35 +00:00
gpt-engineer-app[bot]
28f83b9c0f Refactor: Optimize desktop layout for entity pages 2025-10-06 15:59:22 +00:00
gpt-engineer-app[bot]
cb1ef6c177 Refactor: Add History Tab 2025-10-06 15:55:04 +00:00
gpt-engineer-app[bot]
badf3507de Implement Phase 2, Part 2 2025-10-06 15:43:50 +00:00
gpt-engineer-app[bot]
a3928c7f23 Add versioning system tables 2025-10-06 15:37:10 +00:00
gpt-engineer-app[bot]
3dec0b2a97 feat: Implement complete queue system 2025-10-06 14:43:31 +00:00
gpt-engineer-app[bot]
d955037990 feat: Implement frontend queue integration 2025-10-06 14:39:21 +00:00
gpt-engineer-app[bot]
6919f396e6 Fix: Detect location changes and new entity creation 2025-10-06 14:20:07 +00:00
gpt-engineer-app[bot]
26c4b2c39c Revert compact mode and show full diff 2025-10-06 13:48:22 +00:00
gpt-engineer-app[bot]
48835efe1d feat: Show actual change values in compact mode 2025-10-06 13:46:06 +00:00
gpt-engineer-app[bot]
6f5c804314 Revert to SubmissionItemsList 2025-10-06 13:37:29 +00:00
gpt-engineer-app[bot]
0b033cdd47 Fix submission display and change detection 2025-10-06 13:32:56 +00:00
gpt-engineer-app[bot]
baf889224c feat: Implement tabbed dashboard layout 2025-10-06 12:18:14 +00:00
gpt-engineer-app[bot]
8e5fbba674 feat: Implement admin panel redesign plan 2025-10-06 12:10:08 +00:00
gpt-engineer-app[bot]
065b1b4be5 Reverted to commit 095907b3a5 2025-10-04 19:16:36 +00:00
gpt-engineer-app[bot]
58c28a37eb feat: Implement collapsible sidebar navigation 2025-10-04 19:07:52 +00:00
gpt-engineer-app[bot]
35f380bfb4 Refactor: Redesign admin panel 2025-10-04 18:58:39 +00:00