375 Commits

Author SHA1 Message Date
simlarsen
4a7f27a372 chore: npm audit fix 2026-01-27 02:04:49 +00:00
simlarsen
1928244a8e chore: npm audit fix 2026-01-24 01:54:38 +00:00
Nawaz Dhandala
e59db99b22 feat: update migration for monitor log retention and format RouteMap entries 2026-01-23 11:58:30 +00:00
Nawaz Dhandala
402ccf01d0 feat: add Data Retention settings page and integrate with global configuration 2026-01-23 11:55:37 +00:00
simlarsen
d3d0dedfee chore: npm audit fix 2026-01-21 02:01:12 +00:00
simlarsen
79b36c5b27 chore: npm audit fix 2026-01-15 01:57:09 +00:00
simlarsen
d91272fd6c chore: npm audit fix 2026-01-09 01:58:08 +00:00
Nawaz Dhandala
2161330598 feat: Update fieldType to ObjectID for various components to enhance data handling 2025-12-26 20:34:33 +00:00
Nawaz Dhandala
fe3582b972 feat(robots): Update robots.txt to disallow access to /api/* 2025-12-25 17:27:24 +00:00
Nawaz Dhandala
9bfa13c9f5 fix(ai-agent): Update documentation link for AI agent setup guide 2025-12-24 18:58:43 +00:00
Nawaz Dhandala
f7bb851c80 fix(ai-agent): Update AI agent icon from Brain to Automation 2025-12-24 18:53:11 +00:00
Nawaz Dhandala
1da6ec7a16 feat: Add AI Agent ownership management features
- Introduced AIAgentOwnerTeam and AIAgentOwnerUser models to manage team and user ownership of AI Agents.
- Created AIAgent API to fetch global AI agents.
- Added Handlebars template for notifications when a user is added as an AI agent owner.
- Implemented services for AIAgentOwnerTeam and AIAgentOwnerUser for database interactions.
- Updated database models to include necessary access control and metadata for new entities.
2025-12-24 13:56:33 +00:00
Nawaz Dhandala
bdc40bcd59 fix: replace em dashes with hyphens in various files for consistency
- Updated error messages in errors.ejs to use hyphens instead of em dashes.
- Modified meta description in index.ejs files to use hyphens.
- Adjusted WhatsApp setup instructions in Index.tsx to replace em dashes with hyphens.
- Changed footer description in footer.ejs to use hyphens.
- Updated various markdown and HTML files to replace em dashes with hyphens for uniformity.
2025-12-19 15:39:29 +00:00
Nawaz Dhandala
2e7fdd53a5 Merge remote-tracking branch 'origin/incident-ai' 2025-12-16 13:33:18 +00:00
Nawaz Dhandala
6335887d62 feat: Reduce npm fetch retry timeout values in Dockerfiles 2025-12-16 13:30:12 +00:00
Nawaz Dhandala
cc077aff99 feat: Conditionally display cost settings based on billing configuration in LlmProviders settings 2025-12-16 10:27:21 +00:00
Nawaz Dhandala
035edaf435 feat: Add AI Logs functionality with LLM logging and management
- Introduced LlmLog model to track AI API calls, including details like provider, tokens used, cost, and status.
- Implemented AILogService to handle AI log creation and management, including billing checks and log updates.
- Created LlmLogsTable component for displaying AI logs in the dashboard with filtering and modal views for request/response details.
- Added new routes and pages for viewing AI logs in the context of incidents, alerts, and settings.
- Updated PageMap and RouteMap to include new AI log views.
- Enhanced error handling and logging for AI API interactions.
2025-12-15 20:13:36 +00:00
Nawaz Dhandala
fdb33d9375 feat: Remove unused Pill component and related status fields in LLM Providers settings 2025-12-12 14:44:16 +00:00
Nawaz Dhandala
1aa5074ca2 feat: Update icon for Global LLM Providers in SideMenu to improve clarity 2025-12-12 14:42:34 +00:00
Nawaz Dhandala
0eeea3b76c fix: Correct string quotes and improve formatting in LLM provider settings 2025-12-12 11:28:21 +00:00
Nawaz Dhandala
775d875174 Refactor LLM settings to LLM Providers
- Updated terminology from "LLMs" to "LLM Providers" across the application for clarity.
- Renamed related routes and page maps to reflect the new terminology.
- Removed deprecated LlmView and Llms components, replacing them with LlmProviderView and LlmProviders components.
- Introduced new settings page for managing global LLM Providers with appropriate UI components.
- Updated side menu and routing to accommodate the changes in naming and structure.
2025-12-12 11:07:53 +00:00
Nawaz Dhandala
165952255c feat: Refactor LLM to LLM Provider
- Replaced all instances of LLM with LLM Provider in the codebase.
- Created a new LlmProvider model to manage LLM Provider configurations.
- Updated API endpoints and services to handle LLM Providers instead of LLMs.
- Modified UI components to reflect the changes from LLM to LLM Provider, including table names, descriptions, and messages.
- Removed the old LLM model and service files to streamline the codebase.
2025-12-12 11:04:59 +00:00
Nawaz Dhandala
c617372e37 feat: Add repository field to package.json files across the project 2025-12-11 21:31:52 +00:00
Nawaz Dhandala
94b107beb3 feat: Add LLM (Large Language Model) settings and management features
- Introduced new settings page for managing global LLM configurations.
- Added routes and permissions for LLM management in the admin dashboard.
- Implemented LLM model with necessary fields and access controls.
- Created API endpoints for fetching global LLMs.
- Developed UI components for displaying and editing LLM details.
- Integrated LLM settings into the existing admin dashboard structure.
- Added support for multiple LLM providers including OpenAI, Anthropic, and Ollama.
2025-12-11 20:45:23 +00:00
simlarsen
2e5cc47522 chore: npm audit fix 2025-12-06 01:45:01 +00:00
snyk-bot
efed184276 fix: upgrade react-router-dom from 6.30.1 to 6.30.2
Snyk has created this PR to upgrade react-router-dom from 6.30.1 to 6.30.2.

See this package in npm:
react-router-dom

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/5dd2ef9c-1270-4729-aff4-e407805f7a9c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-05 00:44:09 +00:00
simlarsen
f52e73afb2 chore: npm audit fix 2025-11-25 01:48:46 +00:00
Simon Larsen
0fc63385a5 Remove unused manifest files and service workers across multiple components for cleaner codebase 2025-11-20 12:34:20 +00:00
simlarsen
ac239ffe4d chore: npm audit fix 2025-11-20 01:45:52 +00:00
simlarsen
2f102acdc2 chore: npm audit fix 2025-11-13 01:48:58 +00:00
Nawaz Dhandala
9c9dad5da0 feat(UserSettings): add user settings page and integrate into side menu 2025-11-11 19:18:20 +00:00
simlarsen
bccd2f484b chore: npm audit fix 2025-11-08 01:40:56 +00:00
simlarsen
9e5db22235 chore: npm audit fix 2025-11-07 01:46:40 +00:00
Nawaz Dhandala
d2ee3c5409 refactor(admin-dashboard, nginx): normalize multiline formatting in Serve.ts, NginxConfigurator.ts and WriteServerCertToDisk.ts 2025-11-04 20:39:53 +00:00
Nawaz Dhandala
9a1ecd7fe0 fix(admin-dashboard): clarify NotAuthorizedException messages in Serve.ts
Replace generic "Only master admins can access this app." with
"Unauthorized: Only master admins can access the admin dashboard." to
provide clearer, more informative authorization errors.
2025-11-04 20:39:14 +00:00
Simon Larsen
3d2bcfa579 refactor(admin): add types for ensureMasterAdminAccess and JSONWebToken decode result 2025-11-04 19:21:07 +00:00
Simon Larsen
3e72b2a9a4 fix(admin): restrict AdminDashboard to master admins and guard index render
Add ensureMasterAdminAccess in AdminDashboard/Serve.ts to decode JWT, validate
isMasterAdmin and return a NotAuthorized response when access is not allowed.
Wire this function into App.init as getVariablesToRenderIndexPage so the admin
frontend is protected.

Also add a res.headersSent guard in StartServer.ts to skip rendering the index
page if a response was already sent, avoiding duplicate responses.
2025-11-04 18:28:10 +00:00
Simon Larsen
1ac6e71f7e chore(config,docker,ci,ui): rename IS_ENTERPRISE to IS_ENTERPRISE_EDITION across env, Dockerfiles, compose and workflows 2025-11-03 11:25:12 +00:00
Nawaz Dhandala
5e19849ac8 feat(ui): add EditionLabel and expose IS_ENTERPRISE across apps
- Add EditionLabel component to Common UI to show current edition and info modal
- Show edition label in Login page, Dashboard header and Footer
- Add IS_ENTERPRISE env var to config.example.env and export in Common UI Config
- Propagate IS_ENTERPRISE into docker-compose.base.yml service envs
2025-10-31 15:47:12 +00:00
Nawaz Dhandala
1c1a48b78f chore(ci): build/publish enterprise image variants and add IS_ENTERPRISE arg to Dockerfiles 2025-10-31 14:49:07 +00:00
Nawaz Dhandala
b347e18749 chore: update package-locks — add deps, bump versions & sync subdeps
- Update lockfiles for root, TestServer, Worker and Workflow
- Add new/top-level packages and types:
  - @simplewebauthn/server, archiver, botbuilder
  - @types/archiver
- Bump notable package versions:
  - axios, nodemailer, playwright, react-syntax-highlighter
- Sync a large set of transitive dependency upgrades:
  - @babel/* (code-frame, parser, template, types, helpers, helper-*), brace-expansion, braces, fill-range, micromatch, picocolors, cross-spawn, to-regex-range and others
- Remove/clean outdated lock entries (e.g. to-fast-properties removed where unnecessary)
- Add/fix license fields for several packages in the lockfiles
- General lockfile normalization to ensure consistent subdependency versions across packages

This keeps dependency trees aligned across monorepo packages and pulls in recent bug/security fixes from transitive upgrades.
2025-10-29 16:43:36 +00:00
snyk-bot
44795182c9 fix: upgrade react-router-dom from 6.23.1 to 6.30.1
Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.30.1.

See this package in npm:
react-router-dom

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/5dd2ef9c-1270-4729-aff4-e407805f7a9c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-24 04:01:13 +00:00
Nawaz Dhandala
34aaa34fb3 refactor: remove shorthand webhook URL and simplify callback URL instructions in WhatsApp setup markdown 2025-10-13 13:14:10 +01:00
Nawaz Dhandala
9f72a8e554 feat: add webhook verification and enhance WhatsApp status handling 2025-10-13 12:44:48 +01:00
Nawaz Dhandala
679c1971a2 fix: update WhatsApp setup instructions for token generation and template creation 2025-10-09 17:18:58 +01:00
Nawaz Dhandala
92309d8fb2 feat: add test notification template and implement test message sending functionality in WhatsApp setup 2025-10-07 14:57:00 +01:00
Nawaz Dhandala
1736690f01 feat: enhance WhatsApp setup markdown with detailed instructions for Business Account ID, App ID, and App Secret 2025-10-07 14:22:43 +01:00
Nawaz Dhandala
78a92905e9 feat: update WhatsApp setup markdown for clarity and improved instructions 2025-10-07 14:21:24 +01:00
Nawaz Dhandala
801c1b4ccb feat: remove header from WhatsApp setup markdown for improved clarity 2025-10-07 14:15:37 +01:00
Nawaz Dhandala
703b1dca51 feat: enhance WhatsApp setup markdown formatting for better structure and clarity 2025-10-07 14:12:55 +01:00