Commit Graph

1314 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
46377152c3 Improve viewing access to system logs for administrators
Update the database policy for the admin_audit_log view to allow moderators to access logs without requiring multi-factor authentication, while maintaining strict security for log insertions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 14a3da17-c084-4611-919e-f0651a496ef3
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/14a3da17-c084-4611-919e-f0651a496ef3/cWpfk79
2025-10-27 23:18:46 +00:00
pac7
dc77f6a680 Show all system activity history in admin logs
Modify fetchSystemActivities to retrieve all versions from park, ride, company, and ride_model tables instead of only current versions, and adjust limit logic for better historical data display.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 14a3da17-c084-4611-919e-f0651a496ef3
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/14a3da17-c084-4611-919e-f0651a496ef3/cWpfk79
2025-10-27 23:17:47 +00:00
pac7
5a92460543 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 14a3da17-c084-4611-919e-f0651a496ef3
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-27 23:12:05 +00:00
pac7
1eae5a5219 Fix errors when users attempt to view their profile information
Corrected null reference exceptions in the user profile component by adding null checks for user data.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8df8424e-f390-4437-b53e-d3b432315946
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/8df8424e-f390-4437-b53e-d3b432315946/AIRYNI6
2025-10-27 22:50:13 +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
43db53834b Update user avatar component to use a new component for consistency
Replaced Avatar component with UserAvatar component in AuthButtons.tsx for improved avatar display consistency and reliability, referencing commit b91d798.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: edf9a2eb-860d-4c14-b250-aaeaf2c80ee3
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-27 17:34:55 +00:00
pac7
cc732a5cb7 Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: edf9a2eb-860d-4c14-b250-aaeaf2c80ee3
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-27 17:32:50 +00:00
pac7
ed16122aab Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 32931af6-20d6-4078-9ba3-f7c3a0662ed9
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-27 17:30:48 +00:00
pac7
4a133b52b4 Fix issue where user avatars do not display in the header
No changes were made in this commit.

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/W9kEEW6
2025-10-27 17:30:48 +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
8a2d57b08c Improve avatar display to ensure consistency across the application
Replace default Avatar component with a new UserAvatar component, ensuring consistent rendering of user avatars and fallbacks in moderation queue and review lists.

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/OwE1IU0
2025-10-27 17:30:48 +00:00
pacnpal
ad8f7a4101 update 2025-10-27 17:30:25 +00:00
pac7
270017955c Transitioned from Plan to Build mode
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:29:25 +00:00
gpt-engineer-app[bot]
1ebb491ffa Fix: Address build errors in moderation logging 2025-10-27 17:17:13 +00:00
gpt-engineer-app[bot]
2de13c12e4 feat: Implement comprehensive audit logging 2025-10-27 17:14:24 +00:00
gpt-engineer-app[bot]
79277c744a Fix submission status notifications 2025-10-23 18:54:00 +00:00
gpt-engineer-app[bot]
fa43787360 feat: Add baseUrl to notification edge functions 2025-10-22 15:37:33 +00:00
gpt-engineer-app[bot]
977411d2c6 Code edited in Lovable Code Editor 2025-10-22 15:25:20 +00:00
gpt-engineer-app[bot]
199f57e00e feat: Implement notification edge functions 2025-10-22 12:35:13 +00:00
gpt-engineer-app[bot]
ee2b03b832 feat: Implement user topic subscription 2025-10-22 12:12:53 +00:00
gpt-engineer-app[bot]
3afa0a5536 feat: Enhance notification payloads 2025-10-21 23:30:06 +00:00
gpt-engineer-app[bot]
74923d3c45 Test user notification system 2025-10-21 19:59:17 +00:00
gpt-engineer-app[bot]
49a64a6bcc Fix: Update Deno std import path 2025-10-21 19:37:52 +00:00
gpt-engineer-app[bot]
85adf24832 Implement user notifications 2025-10-21 19:30:08 +00:00
gpt-engineer-app[bot]
d89f9cc6fc feat: Implement High Priority Console Cleanup 2025-10-21 18:53:17 +00:00
gpt-engineer-app[bot]
6a70267a57 feat: Lazy load admin forms 2025-10-21 18:43:38 +00:00
gpt-engineer-app[bot]
70a8534da7 Refactor: Implement Code Splitting 2025-10-21 18:31:08 +00:00
gpt-engineer-app[bot]
da0f01a785 Continue localStorage cleanup 2025-10-21 18:20:45 +00:00
gpt-engineer-app[bot]
3b82887974 Move to Phase 4-5 2025-10-21 18:15:22 +00:00
gpt-engineer-app[bot]
ae548aa389 Fix MFARemovalDialog build errors 2025-10-21 18:08:27 +00:00
gpt-engineer-app[bot]
c7f3e9e1b2 Continue console cleanup 2025-10-21 18:07:25 +00:00
gpt-engineer-app[bot]
431b5197ba Fix: Implement Phases 2 and 3 2025-10-21 17:57:06 +00:00
gpt-engineer-app[bot]
0751b4dbc3 Implement Critical Fixes 2025-10-21 17:54:37 +00:00
gpt-engineer-app[bot]
d74ece69ee Refactor: Complete JSONB elimination 2025-10-21 17:52:13 +00:00
gpt-engineer-app[bot]
103a12f768 Start Phase 4: Cleanup & Polish 2025-10-21 17:32:50 +00:00
gpt-engineer-app[bot]
00ceea51c9 feat: Start Query Optimization Phase 2025-10-21 17:29:17 +00:00
gpt-engineer-app[bot]
8b74671798 Fix build error in useModerationStats 2025-10-21 17:19:57 +00:00
gpt-engineer-app[bot]
e580f1f4b4 Refactor: Update type safety status 2025-10-21 17:19:19 +00:00
gpt-engineer-app[bot]
81fccdc4d0 Fix remaining catch blocks 2025-10-21 17:08:24 +00:00
gpt-engineer-app[bot]
e9ae019285 Fix security vulnerabilities 2025-10-21 16:56:38 +00:00
gpt-engineer-app[bot]
97f415941c Optimize select queries 2025-10-21 16:42:31 +00:00
gpt-engineer-app[bot]
29fb04d03d Fix feature path catch blocks 2025-10-21 16:01:45 +00:00
gpt-engineer-app[bot]
dcd5c9890b Fix database function search paths 2025-10-21 15:58:08 +00:00
gpt-engineer-app[bot]
6d64872edb Fix: Clean up remaining debug logs 2025-10-21 15:54:12 +00:00
gpt-engineer-app[bot]
d78356e673 Remove debug console logs 2025-10-21 15:51:53 +00:00
gpt-engineer-app[bot]
5e789c7b4b Fix critical path catch blocks 2025-10-21 15:32:01 +00:00
gpt-engineer-app[bot]
05ba99e368 Fix useState<any> declarations 2025-10-21 15:24:44 +00:00
gpt-engineer-app[bot]
65a6ed1acb Fix: Type safety and unit validation 2025-10-21 15:05:50 +00:00
gpt-engineer-app[bot]
bcba0a4f0c Add documentation to files 2025-10-21 14:41:42 +00:00