diff --git a/replit.md b/replit.md index a382a3d0..60a67ac9 100644 --- a/replit.md +++ b/replit.md @@ -4,7 +4,19 @@ ThrillWiki is a community-driven web application for discovering, reviewing, and tracking theme parks, rides, and related entities globally. Its core purpose is to provide a centralized platform for enthusiasts to research attractions and contribute to a collaborative knowledge base through user contributions and reviews, offering a comprehensive encyclopedia for the theme park world. ## Recent Changes -**October 27, 2025 - Critical Build Fixes (Latest)** +**October 27, 2025 - System Logging Improvements (Latest)** +- **Complete Audit History**: Fixed version history filtering to show ALL historical changes, not just current versions + - Removed `is_current` filter from park, ride, company, and ride_model version queries + - System log now displays complete audit trail of all entity changes over time +- **RLS Policy Alignment**: Fixed authentication mismatch between frontend and database policies + - Relaxed admin_audit_log SELECT policy to allow moderators to view logs without AAL2 (MFA step-up) + - Maintained strict AAL2 requirement for INSERT operations to ensure high security for write operations + - Viewing logs is read-only and doesn't require the same security level as modifying data +- **Chronological Ordering**: Verified proper timestamp-based sorting of aggregated activities + - All activities from multiple sources are sorted by timestamp (newest first) after aggregation + - Ensures coherent, time-ordered display of system events + +**October 27, 2025 - Critical Build Fixes** - **Merge Conflict Resolution**: Resolved unresolved git merge conflict in AuthButtons.tsx that was preventing the app from compiling - Removed conflict markers and kept the UserAvatar component implementation for consistency with recent avatar improvements - Fixed syntax errors that were blocking Vite dev server from starting