Commit Graph

1037 Commits

Author SHA1 Message Date
Nawaz Dhandala
4dc9542c2c fix(docs): remove redundant browser reference and clarify browser context usage in synthetic monitor documentation 2026-03-07 18:31:24 +00:00
Nawaz Dhandala
3eafc54413 Refactor code for improved readability and consistency
- Updated arrow functions to use explicit return statements in several files for clarity.
- Adjusted formatting and indentation for better code structure.
- Simplified some conditional checks and improved variable declarations.
- Enhanced error handling in Workflow feature set for documentation retrieval.
- Ensured consistent use of TypeScript types across components.
2026-03-07 18:18:33 +00:00
Nawaz Dhandala
72cea8148d feat(logs): add traceId and spanId filters to logs and update related components 2026-03-07 17:59:41 +00:00
Nawaz Dhandala
4871342e55 feat(logs): add LogTimeRangePicker component and integrate time range selection in LogsViewer 2026-03-07 13:23:26 +00:00
Nawaz Dhandala
e30f3b4ef2 feat(logs): update histogram request to include active facet filters for severity and service IDs 2026-03-07 13:05:15 +00:00
Nawaz Dhandala
9bdff2e733 feat(logs): add field:value selection and autocomplete suggestions for log search 2026-03-07 13:01:35 +00:00
Nawaz Dhandala
f7bcf21030 feat(logs): enhance facet filter management to support multiple values per filter 2026-03-07 12:45:36 +00:00
Nawaz Dhandala
fe883919c3 feat(logs): implement active filter management and UI components for enhanced log filtering 2026-03-07 12:25:33 +00:00
Nawaz Dhandala
43ac4a7ef1 feat(logs): Implement enhanced log management features
- Add FacetValueRow component for displaying facet values with counts and actions.
- Introduce HistogramTooltip component for displaying histogram data with severity colors.
- Create LogSearchBar component for improved log searching with suggestions and query syntax.
- Implement LogSearchSuggestions component for displaying search suggestions.
- Develop LogsFacetSidebar component for displaying filters and facets in the sidebar.
- Add LogsHistogram component for visualizing log volume over time with severity differentiation.
- Create severityColors utility for managing severity color mappings.
- Document the roadmap for enhancing log management capabilities, including search UX, analytics, and operational features.
2026-03-07 10:32:52 +00:00
Nawaz Dhandala
37769f8640 fix: correct URL formatting for GitHub installation redirect 2026-03-06 15:47:30 +00:00
Nawaz Dhandala
9d0afe0d36 refactor: update curl commands to use -sSL for silent and follow redirects 2026-03-06 13:21:55 +00:00
Simon Larsen
54d1f1cee4 Merge pull request #2341 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-03-05 21:00:55 +00:00
Nawaz Dhandala
e9e739a34d refactor: remove deprecated service worker file for OneUptime Dashboard 2026-03-05 19:09:58 +00:00
Nawaz Dhandala
7b468cc431 refactor: update service worker generation timestamp and cache version in sw.js; improve protobuf handling in OpenTelemetryRequestMiddleware 2026-03-05 18:10:31 +00:00
simlarsen
8d6fd14078 chore: npm audit fix 2026-03-05 02:25:59 +00:00
Nawaz Dhandala
dc8f5b8160 feat: enhance mermaid diagram wrapper to allow scrolling for large diagrams 2026-03-04 21:22:01 +00:00
Nawaz Dhandala
acdecfea8d refactor: simplify findIndex logic in Docs feature and improve Markdown config declaration 2026-03-04 21:17:39 +00:00
Nawaz Dhandala
506e64c3a6 feat: add responsive mermaid diagram wrapper and TOC sidebar visibility toggle 2026-03-04 21:16:28 +00:00
Nawaz Dhandala
f4985c876b feat: enhance documentation layout and navigation
- Added breadcrumbs to the documentation content for improved navigation.
- Refined header layout by adjusting the category badge and title positioning.
- Updated the head partial to include JetBrains Mono font and dynamic page titles.
- Enhanced the header with a search button and version indicator.
- Improved navigation structure with icons for each category and collapsible sections.
- Updated pagination to provide a more visually appealing layout with clear previous/next links.
- Introduced callout styles for notes, warnings, tips, and other alerts in markdown rendering.
- Implemented slug generation for headings to enable anchor links.
- Enhanced table rendering for better styling and responsiveness in documentation.
2026-03-04 20:36:45 +00:00
Nawaz Dhandala
010ec39d8b fix: Change code block syntax highlighting from YAML to text in Webhook documentation 2026-03-04 20:10:09 +00:00
Nawaz Dhandala
787b1c79fe refactor: Enhance code block styling and add copy functionality for improved user experience 2026-03-04 20:06:20 +00:00
Nawaz Dhandala
cf5f51985f refactor: Update font loading and styles to use Google Fonts CDN, streamline CSS, and enhance layout 2026-03-04 19:37:25 +00:00
Simon Larsen
4f3f578098 Merge pull request #2339 from OneUptime/claude/suspicious-elbakyan
fix: Restore Tailwind CDN for docs with improved CLS prevention
2026-03-04 19:29:33 +00:00
Nawaz Dhandala
35f3733070 fix: Restore Tailwind CDN for docs with improved CLS prevention
The compiled CSS alone didn't cover all utility classes used in the
docs EJS templates, breaking styling. Restore the CDN but improve
CLS by:
- Loading critical CSS first with layout-stabilizing rules
  (header height, sidebar width, body flex, nav width)
- Loading Tailwind CDN before compiled CSS so both are ready at
  first paint
- Compiled CSS now supplements (font-face, prose, syntax) rather
  than conflicting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:26:42 +00:00
Nawaz Dhandala
482003cb83 fix: Update service worker generation timestamp and Git SHA; remove obsolete accounts and status page configurations from Helm chart 2026-03-04 18:06:17 +00:00
Simon Larsen
554abbd34b Merge pull request #2338 from OneUptime/claude/suspicious-elbakyan
fix: Improve Core Web Vitals (LCP and CLS)
2026-03-04 14:50:28 +00:00
Nawaz Dhandala
83baa4d9c2 fix: Improve Core Web Vitals (LCP and CLS) for mobile and desktop
- Remove redundant Tailwind CDN from /docs pages (fixes CLS 0.21 → <0.1)
  The compiled CSS in style.css already contains all needed utilities;
  the CDN was re-processing styles causing layout shifts on 35 desktop URLs.

- Defer PostHog analytics via requestIdleCallback to unblock rendering
- Reduce Google Fonts to wght@400..800 (only weights actually used)
- Move meta charset/viewport to top of <head> for faster parsing
- Add defer to highlight.js on blog posts to unblock LCP
- Add DNS prefetch for PostHog domain

These changes target the 311 mobile URLs with LCP >2.5s and
35 desktop URLs with CLS >0.1 reported by Google Search Console.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 14:46:05 +00:00
Nawaz Dhandala
07ba3779f2 fix: Correct path for generateServiceWorker import in generate-sw.js 2026-03-04 13:27:57 +00:00
Nawaz Dhandala
e3096af8c5 fix: Update path for Common dependency in multiple package.json files 2026-03-04 12:35:37 +00:00
Nawaz Dhandala
5a72742fb9 style: Refactor legal route handlers for improved readability 2026-03-04 12:04:43 +00:00
Nawaz Dhandala
172cdf24f4 refactor: Update paths to use FeatureSet structure for accounts, dashboards, and status pages 2026-03-03 22:01:29 +00:00
Nawaz Dhandala
a53912ceb8 Refactor code structure for improved readability and maintainability 2026-03-03 22:01:17 +00:00
Nawaz Dhandala
d823f81e69 refactor: Enhance MCP server initialization and routing with CORS support 2026-03-03 21:33:55 +00:00
Nawaz Dhandala
a7782564a2 refactor: Update MCP endpoint to use prefix directly instead of appending '/mcp' 2026-03-03 21:01:32 +00:00
Nawaz Dhandala
acaab0fb1a Add documentation views and partials for error handling and content display
- Created NotFound.ejs for 404 error page with user-friendly messaging and navigation.
- Added ServerError.ejs for 500 error handling with retry and documentation links.
- Introduced Content.ejs partial for structured article content display.
- Developed Head.ejs partial for consistent head elements across pages.
- Implemented Header.ejs partial for navigation and branding.
- Created Nav.ejs partial for sidebar navigation with dynamic links.
- Added OpenSourceCommitment.ejs partial to highlight open-source contributions.
- Implemented Pagination.ejs partial for navigation between documentation sections.
2026-03-03 19:45:46 +00:00
Nawaz Dhandala
63f2a6138b refactor: Remove unused Dockerfile templates and clean up workflow configurations 2026-03-03 19:25:33 +00:00
Nawaz Dhandala
f7705e5e6f refactor: Enhance type safety by specifying types for authData and staticHandler 2026-03-03 18:28:55 +00:00
Nawaz Dhandala
c9c1f9d93e refactor: Improve code readability by formatting imports and simplifying async function syntax 2026-03-03 18:25:47 +00:00
Nawaz Dhandala
3e5cd57082 Refactor frontend build and deployment scripts; consolidate services into a single app
- Updated package.json in StatusPage to correct dependency path for Common.
- Enhanced main package.json with new scripts for building and watching frontend applications.
- Modified tsconfig.json to exclude frontend directories from compilation.
- Simplified Nginx configuration by removing individual upstreams for each service and routing all to a single app upstream.
- Refactored configure.sh to streamline Dockerfile generation.
- Cleaned up docker-compose files by consolidating services and removing unnecessary definitions.
- Introduced new frontend handling logic in Index.ts for rendering different frontend applications.
- Added utility functions for managing status page data and RSS feeds in StatusPage.ts.
- Created dev.sh and frontend-run.sh scripts to facilitate development and build processes for frontend applications.
2026-03-03 17:51:47 +00:00
Nawaz Dhandala
4e8fde3b23 feat: Integrate frontend services into Docker setup and add build scripts 2026-03-03 17:51:13 +00:00
Nawaz Dhandala
2f85b9f4e3 fix: Refactor logger info statement for OneUptime API Service initialization and streamline FedRAMP route definition 2026-03-03 14:47:54 +00:00
Nawaz Dhandala
ac388aded1 chore: update @modelcontextprotocol/sdk to version 1.27.1 2026-03-03 11:44:50 +00:00
Nawaz Dhandala
560f45f3cc feat(MCP): Introduce MCP types, logger, and integration into the application
- Added McpTypes.ts for defining JSON schema and tool information.
- Created ModelType.ts and OneUptimeOperation.ts enums for model types and operations.
- Implemented MCPLogger for structured logging in MCP servers.
- Integrated MCP routes into the main application index.
- Updated package.json to include @modelcontextprotocol/sdk dependency.
- Removed MCP-related configurations from Helm chart and Docker Compose files.
- Added Data Processing Agreement (DPA) page and route to the legal section.
- Updated legal.ejs to include a link to the new DPA page.
2026-03-03 11:34:46 +00:00
simlarsen
217218109a chore: npm audit fix 2026-02-28 02:07:25 +00:00
Nawaz Dhandala
16f29a813c feat: Implement WebAuthn challenge handling and storage for user authentication 2026-02-27 13:10:22 +00:00
simlarsen
3a379fb87c chore: npm audit fix 2026-02-23 02:33:07 +00:00
Nawaz Dhandala
7bb7837ec9 feat: implement SSO authentication flow and project management features 2026-02-20 00:23:29 +00:00
Nawaz Dhandala
f5d724a829 refactor: streamline SSO provider fetching logic and improve code readability 2026-02-19 23:29:57 +00:00
Nawaz Dhandala
6afc99f54d feat: implement SSO login functionality and add SSO provider fetching 2026-02-19 23:20:15 +00:00
Nawaz Dhandala
ab83172d60 feat: preload Tailwind CSS and Google Fonts to improve loading performance and reduce layout shifts 2026-02-19 18:04:49 +00:00