2493 Commits

Author SHA1 Message Date
Nawaz Dhandala
a62ba231be feat: Add DashboardDomain model and associated API services
- Introduced DashboardDomain model with comprehensive fields for managing custom domains for dashboards.
- Implemented DashboardDomainAPI for handling CNAME verification and SSL provisioning.
- Created DashboardDomainService to manage domain-related operations, including SSL ordering and CNAME validation.
- Added master password handling in DashboardAPI for enhanced security.
- Defined constants for master password messages and cookie management.
2026-03-26 11:32:06 +00:00
Nawaz Dhandala
be90693ad8 feat: Add Kubernetes resource breakdown to MetricMonitorResponse
- Introduced KubernetesAffectedResource and KubernetesResourceBreakdown interfaces to enhance metric monitoring capabilities.
- Updated MetricMonitorResponse to include kubernetesResourceBreakdown.
- Enhanced AreaChart, BarChart, and LineChart components with onValueChange prop for better interactivity.
- Added new Dashboard components: Gauge and Table, with respective configuration arguments.
- Implemented DashboardVariableSelector for dynamic variable selection in dashboards.
- Added warning and critical thresholds to DashboardValueComponent and DashboardChartComponent for improved data visualization.
- Updated DashboardChartComponentUtil to support additional queries and chart types.
- Enhanced error handling and loading states in Dashboard components.
2026-03-25 21:38:41 +00:00
Nawaz Dhandala
4fe8aea655 refactor: improve code readability and comments in IfElse and Condition components 2026-03-25 20:29:24 +00:00
Nawaz Dhandala
923e020e6e feat: enhance condition handling with input type support and value coercion 2026-03-25 20:25:19 +00:00
Nawaz Dhandala
d5a136a662 refactor: clean up code formatting and improve readability across multiple components 2026-03-25 19:08:11 +00:00
Nawaz Dhandala
4e30a863b2 fix: correct SQL syntax for attribute extraction in LogAggregationService 2026-03-25 12:08:16 +00:00
Nawaz Dhandala
2561117445 feat: add support for log query attributes and enhance active filter management in LogsViewer 2026-03-25 12:00:37 +00:00
Nawaz Dhandala
25cde457a5 refactor: clean up code formatting and improve readability in various components 2026-03-24 23:52:33 +00:00
Nawaz Dhandala
c470d66725 feat: enhance handling of camelCase and snake_case in Kubernetes object parsing and telemetry 2026-03-24 20:11:42 +00:00
Nawaz Dhandala
b434f1fef8 feat: enhance workspace notification summary handling with improved error logging and retry logic 2026-03-24 14:31:29 +00:00
Nawaz Dhandala
20d21a40b7 feat: add debug and error logging for ACME challenge validation and certificate ordering 2026-03-24 14:18:49 +00:00
Nawaz Dhandala
633ffde611 refactor: improve type definitions and error handling in various components 2026-03-24 14:00:24 +00:00
Nawaz Dhandala
fe668d808d refactor: streamline code formatting and improve readability across multiple files 2026-03-24 13:36:06 +00:00
Nawaz Dhandala
c10cefb4e1 fix: update optional properties in TimelineData interface and refactor alert/incident state references 2026-03-24 13:34:28 +00:00
Nawaz Dhandala
f93964b71b feat: enhance workspace notification summary service with filtering and formatting improvements
- Added support for notification rule conditions and filters in incident and alert summaries.
- Introduced utility functions for bold text and links in markdown formatting.
- Updated incident and alert value builders to include labels and descriptions.
- Enhanced summary blocks with improved formatting for total counts, severity, and state breakdowns.
- Refactored detailed incident and alert listings to use new formatting utilities.
- Improved overall readability and consistency of markdown output for notifications.
2026-03-24 13:27:10 +00:00
Nawaz Dhandala
66a43d322c refactor: remove sendFirstReportAt from service data structure 2026-03-24 13:03:51 +00:00
Nawaz Dhandala
6c4d283761 feat: Add sendFirstReportAt column and update defaults for OnCallDutyPolicyScheduleLayer
- Introduced a new column `sendFirstReportAt` to the `WorkspaceNotificationSummary` table.
- Updated default values for `rotation` and `restrictionTimes` columns in the `OnCallDutyPolicyScheduleLayer` table.
- Adjusted the logic in SendSummary.ts to calculate the next send time based on the recurring interval before updating the nextSendAt field.
2026-03-24 13:03:16 +00:00
Nawaz Dhandala
7695c08d1a feat(email): update API routes for sending test and broadcast emails to admin 2026-03-24 12:41:27 +00:00
Nawaz Dhandala
7d39a36526 refactor(Email): hide submit button for sending announcement email 2026-03-24 12:29:35 +00:00
Nawaz Dhandala
9806425721 feat: Add Workspace Notification Summary API and Service
- Implemented WorkspaceNotificationSummaryAPI to handle notification summary requests.
- Created WorkspaceNotificationSummaryService for business logic related to notification summaries.
- Added enums for WorkspaceNotificationSummaryItem and WorkspaceNotificationSummaryType to define summary items and types.
- Developed a cron job to send workspace notification summaries at regular intervals.
- Enhanced error handling and logging for summary sending process.
2026-03-24 12:25:51 +00:00
Nawaz Dhandala
6d15cc8e8b Refactor and clean up Kubernetes view components
- Improved formatting and consistency in various Kubernetes view files, including HPADetail, HPAs, Index, Jobs, Layout, Namespaces, NodeDetail, Nodes, PersistentVolumes, Pods, ServiceMesh, SideMenu, StatefulSets, VPADetail, and VPAs.
- Removed unnecessary line breaks and adjusted indentation for better readability.
- Simplified conditional checks and array methods for clarity.
- Enhanced the overall structure of the code to follow best practices.
2026-03-23 11:24:21 +00:00
Nawaz Dhandala
70e6924cdd feat(kubernetes): add service mesh and VPA management features
- Implemented KubernetesClusterServiceMesh component to display Istio and Linkerd metrics.
- Created KubernetesClusterVPADetail component for detailed views of Vertical Pod Autoscalers (VPA).
- Added KubernetesClusterVPAs component to list all VPAs in a cluster.
- Introduced KubernetesAlertTemplates for monitoring various Kubernetes conditions, including CrashLoopBackOff, Pod Pending, Node Not Ready, and more.
- Developed MonitorStepKubernetesMonitor interface for Kubernetes monitoring configurations.
2026-03-20 11:08:47 +00:00
Nawaz Dhandala
b10d2f458e fix(security): sanitize markdown HTML output to prevent XSS (GHSA-h5pr-pg74-99m2)
Replace inadequate <script> tag regex with proper sanitization:
- Server-side: override marked's html renderer to escape raw HTML tokens
- Client-side: sanitize preview output with DOMPurify before rendering
2026-03-19 22:16:56 +00:00
Nawaz Dhandala
6fba944b11 fix: Correct migration ordering so KubernetesCluster table is created before ALTER
TypeORM sorts migrations by the timestamp in the last 13 chars of the
class name. Migration 1773761409952 (ALTER TABLE) had a lower timestamp
than 1774000000000 (CREATE TABLE), causing it to run first on a
non-existent table and crash the app during startup.

Renamed 1773761409952 → 1774000000001 so the CREATE TABLE migration
executes first.
2026-03-19 10:37:34 +00:00
Nawaz Dhandala
e8e4ee3ff0 feat: Enhance BLOCKED_SANDBOX_PROPERTIES with additional browserType aliases for improved clarity 2026-03-19 09:34:12 +00:00
Nawaz Dhandala
3efacce002 Refactor and clean up code across multiple components
- Simplified error handling in KubernetesEventsTab and KubernetesLogsTab by removing unnecessary line breaks.
- Consolidated import statements in KubernetesMetricsTab for better readability.
- Improved JSX formatting in KubernetesOverviewTab, KubernetesClusterContainerDetail, and other components for consistency.
- Enhanced code clarity in KubernetesObjectFetcher and KubernetesObjectParser by removing redundant line breaks and comments.
- Streamlined API response handling in IPWhitelistAPI for better readability.
- Updated PageSEO configuration for improved formatting.
2026-03-19 09:25:52 +00:00
Nawaz Dhandala
6eb7b98002 feat: Implement session revocation on password reset and change 2026-03-18 21:21:41 +00:00
Nawaz Dhandala
c4903e5d1c feat: Add IP whitelist API and configuration support 2026-03-18 21:00:37 +00:00
Nawaz Dhandala
deb873c832 refactor: Enhance type definitions and improve code clarity across multiple components and files 2026-03-18 14:40:44 +00:00
Nawaz Dhandala
305fa4a476 Refactor and enhance various components and routes in the Dashboard and MobileApp
- Improved formatting and readability in Kubernetes PodDetail and SideMenu components.
- Added service count fetching and loading/error handling in Logs, Metrics, and Traces pages.
- Updated Exception and Kubernetes routes for better readability.
- Enhanced Postgres migration scripts for KubernetesCluster and KubernetesClusterLabel.
- Minor formatting adjustments in MarkdownViewer and CriticalPath utility.
- Refactored EmptyState, MonitorSummaryView, and hooks in MobileApp for improved clarity.
- Fixed minor issues in MonitorDetailScreen and MonitorsScreen regarding status display.
2026-03-18 14:21:39 +00:00
Nawaz Dhandala
a2ac43baab feat: Add dashboard launch configuration and enhance TelemetryDocumentation with integration method selection and improved styling 2026-03-18 08:36:22 +00:00
Nawaz Dhandala
af7a3a9286 feat: Add migration for KubernetesCluster and KubernetesClusterLabel constraints and indexes 2026-03-17 15:31:07 +00:00
Nawaz Dhandala
bc9949abe4 feat: Add Kubernetes Cluster Management and Monitoring Agent
- Implemented a new migration for the KubernetesCluster and KubernetesClusterLabel tables in the database.
- Created a KubernetesClusterService for managing cluster instances, including methods for finding or creating clusters, updating their status, and marking disconnected clusters.
- Introduced a Helm chart for the OneUptime Kubernetes Monitoring Agent, including configuration files, deployment templates, and RBAC settings.
- Added support for collecting metrics and logs from Kubernetes clusters using OpenTelemetry.
- Configured service accounts, secrets, and resource limits for the agent's deployment and daemonset.
- Provided detailed notes and helper templates for the Helm chart to facilitate installation and configuration.
2026-03-17 15:29:52 +00:00
Nawaz Dhandala
d097738f13 refactor: remove CaptureSpan decorators from Express class methods 2026-03-17 13:22:35 +00:00
Nawaz Dhandala
39a4c7e8f1 refactor: simplify error message construction in WhatsAppAuthorization middleware 2026-03-17 11:41:05 +00:00
Nawaz Dhandala
fe76e946c0 feat: implement WhatsApp webhook authorization middleware for signature verification 2026-03-17 11:40:24 +00:00
Nawaz Dhandala
66e5f43c5d fix: add validation for unknown columns in group by, sort, and select statements 2026-03-16 22:33:07 +00:00
Nawaz Dhandala
9619090b98 fix: optimize SQL query in fetchAttributesFromDatabase to improve attribute key handling 2026-03-16 20:57:58 +00:00
Nawaz Dhandala
92c00e4fc8 feat: add LogScrubRule migration and update OnCallDutyPolicyScheduleLayer defaults; refactor test imports and clean up code formatting 2026-03-16 20:00:52 +00:00
Nawaz Dhandala
5f52af2aa8 refactor: rename Record to AnalyticsRecord for clarity in StatementGenerator 2026-03-16 19:40:54 +00:00
Nawaz Dhandala
777e9612a4 feat: add migration for LogScrubRule table and update OnCallDutyPolicyScheduleLayer defaults 2026-03-16 15:51:24 +00:00
Nawaz Dhandala
8cb25d9917 feat: remove unused migration imports from Index.ts 2026-03-16 14:56:11 +00:00
Nawaz Dhandala
5f660bae02 feat: refactor table names in analytics models to use AnalyticsTableName enum 2026-03-16 12:43:55 +00:00
Nawaz Dhandala
8f9e5a46fa feat: update column types to MapStringString and BigNumber, and add projections in Log, Metric, and Span models 2026-03-16 12:08:30 +00:00
Nawaz Dhandala
9a47b02a0c feat: upgrade time column to DateTime64 for nanosecond precision in logs 2026-03-16 10:26:03 +00:00
Nawaz Dhandala
4781c6a532 fix: update array access syntax for consistency in AnalyticsDatabaseService 2026-03-16 09:20:32 +00:00
Nawaz Dhandala
1a58481265 refactor: simplify code formatting in LogAggregationService and LogsViewerToolbar 2026-03-15 00:28:07 +00:00
Nawaz Dhandala
58024398cf feat: add methods for column existence check and codec management in SpanItem 2026-03-15 00:03:46 +00:00
Nawaz Dhandala
7622367d5d refactor: improve data handling and component state management in various files 2026-03-14 22:36:00 +00:00
Nawaz Dhandala
8c2931b8c9 refactor(FilterQueryBuilder, LogDropFilterView, LogPipelineView, StatementGenerator, AddSpanTableOptimizations): streamline code formatting and improve readability 2026-03-14 13:36:35 +00:00