Commit Graph

386 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
915a9fe2df Add automated data retention cleanup
Implements edge function, Django tasks, and UI hooks/panels for automatic retention of old metrics, anomalies, alerts, and incidents, plus updates to query keys and monitoring dashboard to reflect data-retention workflows.
2025-11-11 02:21:27 +00:00
gpt-engineer-app[bot]
be94b4252c Implement ML Anomaly Detection
Introduce statistical anomaly detection for metrics via edge function, hooks, and UI components. Adds detection algorithms (z-score, moving average, rate of change), anomaly storage, auto-alerts, and dashboard rendering of detected anomalies with run-once trigger and scheduling guidance.
2025-11-11 02:07:49 +00:00
gpt-engineer-app[bot]
7fba819fc7 Implement alert correlation UI
- Add hooks and components for correlated alerts and incidents
- Integrate panels into MonitoringOverview
- Extend query keys for correlation and incidents
- Implement incident actions (create, acknowledge, resolve) and wiring
2025-11-11 02:03:20 +00:00
gpt-engineer-app[bot]
01aba7df90 Connect to Lovable Cloud
Fix security definer view issue by enabling security_invoker on grouped_alerts_view and implement grouped alerts system with new keys, hooks, components, and monitoring overview integration. Added migration to adjust view, updated query keys, created useGroupedAlerts, useAlertGroupActions, GroupedAlertsPanel, and updated MonitoringOverview to include grouped alerts.
2025-11-11 01:51:42 +00:00
gpt-engineer-app[bot]
99c917deaf Implement monitoring overview features
Add comprehensive monitoring dashboard scaffolding:
- Extend queryKeys with monitoring keys
- Create hooks: useCombinedAlerts, useRecentActivity, useDatabaseHealth, useModerationHealth
- Build UI components: SystemHealthStatus, CriticalAlertsPanel, MonitoringQuickStats, RecentActivityTimeline, MonitoringNavCards
- Create MonitoringOverview page and integrate routing (MonitoringOverview route)
- Wire AdminSidebar to include Monitoring navigation
- Introduce supporting routing and admin layout hooks/utilities
- Align with TanStack Query patterns and plan for auto-refresh and optimistic updates
2025-11-11 01:33:53 +00:00
gpt-engineer-app[bot]
e2692471bb Enhance alert resolution UX
Implement loading state, confirmation dialog, and related UI changes for resolving rate limit alerts:
- Add resolvingAlertId state
- Use ConfirmationDialog for safe resolution
- Update Resolve button to ghost variant with CheckCircle icon and loading behavior
- Wire up loading and disable states during mutation
2025-11-11 00:23:21 +00:00
gpt-engineer-app[bot]
28fa2fd0d4 Monitor rate limits progress
Implement monitor-rate-limits edge function to compare metrics against alert configurations, trigger notifications, and record alerts; update config and groundwork for admin UI integration.
2025-11-11 00:19:13 +00:00
gpt-engineer-app[bot]
1628753361 Create Rate Limit Admin Dashboard
Add a React admin dashboard component to visualize rate limit metrics and statistics, including data fetching from the rate-limit-metrics edge function, charts and statistics, and admin routes/integration. Includes setup for routing and UI scaffolding to display total requests, block rate, top blocked IPs/users, and recent activity with interactive charts.
2025-11-11 00:06:49 +00:00
gpt-engineer-app[bot]
ad31be1622 Combine Testing UIs
Merge Testing and Integration Tests into a single Testing control center in AdminSettings. Remove the separate integration-tests tab, and update the Testing tab to render both Test Data Generator and Integration Test Runner together, with appropriate headers and icons (Database and TestTube). Add Database to imports.
2025-11-10 16:44:31 +00:00
gpt-engineer-app[bot]
fce582e6ba Consolidate Admin Logs Hub
- Implement new unified monitoring hub by adding EdgeFunctionLogs, DatabaseLogs, CorrelatedLogsView, and UnifiedLogSearch components
- Integrate new tabs (edge-functions, database, traces) into ErrorMonitoring and expose TraceViewer route
- Update admin sidebar link to reflect Monitoring hub and extend error modals with log-correlation actions
- Wire up app to include trace viewer route and adjust related components for unified log correlation
2025-11-10 14:49:33 +00:00
gpt-engineer-app[bot]
96adb2b15e Connect to Lovable Cloud
Implement distributed tracing across edge functions:
- Introduce span types and utilities (logger.ts enhancements)
- Replace request tracking with span-based tracing in approval and rejection flows
- Propagate and manage W3C trace context in edge tracking
- Add span visualization scaffolding (spanVisualizer.ts) and admin TraceViewer UI (TraceViewer.tsx)
- Create tracing-related type definitions and support files
- Prepare RPC call logging with span context and retries
2025-11-10 14:40:44 +00:00
gpt-engineer-app[bot]
d903e96e13 Implement pipeline monitoring alerts
Approve and implement the Supabase migration for the pipeline monitoring alert system. This includes expanding alert types, adding new monitoring functions, and updating existing ones with escalating thresholds.
2025-11-07 05:05:32 +00:00
gpt-engineer-app[bot]
eac9902bb0 Implement Phase 3 fixes
The AI has implemented the Phase 3 plan, which includes adding approval failure monitoring to the existing error monitoring page, extending the ErrorAnalytics component with approval metrics, adding performance indexes, and creating the ApprovalFailureModal component.
2025-11-07 00:22:38 +00:00
gpt-engineer-app[bot]
bd2f9a5a9e Remove old approval flow
Implement the destructive migration plan to remove the old approval flow entirely. This includes deleting the legacy edge function, removing the toggle component, simplifying frontend code, and updating documentation.
2025-11-06 21:14:59 +00:00
gpt-engineer-app[bot]
3be551dc5a Implement blue-green deployment
Implement blue-green deployment strategy for approval flow. This involves deploying the new RPC function alongside the existing edge function, creating a new edge function that calls the RPC, and adding a feature flag to the frontend to toggle between the old and new flows. The plan includes testing in production, gradual rollout, and eventual deprecation of the old edge function.
2025-11-06 20:36:10 +00:00
gpt-engineer-app[bot]
fc7c2d5adc Refactor park detail address display
Implement the plan to refactor the address display in the park detail page. This includes updating the sidebar address to show the street address on its own line, followed by city, state, and postal code on the next line, and the country on a separate line. This change aims to create a more compact and natural address format.
2025-11-06 14:03:58 +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]
524f6a65e8 Wrap forms with error boundaries 2025-11-05 21:33:14 +00:00
gpt-engineer-app[bot]
7c35f2932b feat: Implement timezone-independent date picker 2025-11-05 16:31:51 +00:00
gpt-engineer-app[bot]
80826a83a8 Fix migration for admin settings 2025-11-05 13:40:25 +00:00
gpt-engineer-app[bot]
66bdb36b03 Implement client-side error timing 2025-11-05 04:20:55 +00:00
gpt-engineer-app[bot]
df9f997c64 feat: Implement automatic MFA verification modal 2025-11-05 00:48:39 +00:00
gpt-engineer-app[bot]
22522b31ac Fix: Resolve logger not found errors 2025-11-04 21:08:37 +00:00
gpt-engineer-app[bot]
a649906b61 feat: Complete app-wide error coverage 2025-11-04 19:58:20 +00:00
gpt-engineer-app[bot]
6e64b80106 feat: Implement comprehensive error logging 2025-11-04 19:04:06 +00:00
gpt-engineer-app[bot]
ded4dfd59c Refactor: Add button feedback 2025-11-04 18:48:39 +00:00
gpt-engineer-app[bot]
f32b8bdfee Fix error monitoring date filter 2025-11-04 16:48:01 +00:00
gpt-engineer-app[bot]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
63d9d8890c Fix frontend JSONB references 2025-11-03 21:19:51 +00:00
gpt-engineer-app[bot]
19b1451f32 Refactor log_request_metadata function 2025-11-03 20:58:52 +00:00
gpt-engineer-app[bot]
b6179372e6 Refactor: Implement logging phases 2025-11-03 17:08:36 +00:00
gpt-engineer-app[bot]
9ae4a7b743 Code edited in Lovable Code Editor 2025-11-03 15:57:37 +00:00
gpt-engineer-app[bot]
a86da6e833 Approve database migration 2025-11-03 15:18:06 +00:00
gpt-engineer-app[bot]
f034ece3a2 Refactor: Implement type safety plan 2025-11-03 03:40:10 +00:00
gpt-engineer-app[bot]
288e87bcd3 Fix TypeScript strict mode errors 2025-11-03 03:29:29 +00:00
gpt-engineer-app[bot]
3c13b7a9f4 Fix: Resolve TypeScript errors in pages 2025-11-03 02:59:07 +00:00
gpt-engineer-app[bot]
88403f04f5 Fix: Resolve type errors in page components 2025-11-03 02:56:29 +00:00
gpt-engineer-app[bot]
516f7c4c41 Fix: Resolve remaining TypeScript errors 2025-11-03 02:54:43 +00:00
gpt-engineer-app[bot]
54b84dff21 Code edited in Lovable Code Editor 2025-11-02 21:00:25 +00:00
gpt-engineer-app[bot]
133141d474 Reverted to commit 0091584677 2025-11-01 15:22:30 +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]
a9d4ee44e5 Fix: Prevent AAL1 session on MFA login 2025-10-31 16:51:25 +00:00
gpt-engineer-app[bot]
f36d6266be Fix: Remove signOut() calls before MFA 2025-10-31 16:37:36 +00:00
gpt-engineer-app[bot]
151d847cd5 Fix OAuth/Magic Link MFA enforcement 2025-10-31 15:54:15 +00:00
gpt-engineer-app[bot]
6ff832b3de Fix: Implement emergency MFA security fix 2025-10-31 14:57:26 +00:00
gpt-engineer-app[bot]
4bbb2de0b5 Fix MFA bypass vulnerability 2025-10-31 14:52:15 +00:00
gpt-engineer-app[bot]
dade374c2a feat: Implement all authentication compliance phases 2025-10-31 14:01:45 +00:00
gpt-engineer-app[bot]
4bc749a843 Fix: Implement MFA security fix 2025-10-31 13:49:18 +00:00
gpt-engineer-app[bot]
4e4876997e Fix MFA bypass vulnerability 2025-10-31 13:41:56 +00:00