Compare commits

...

4195 Commits

Author SHA1 Message Date
Nawaz Dhandala
d62816dd49 feat: update probe services to include environment variables for telemetry and logging 2026-02-18 13:50:28 +00:00
Nawaz Dhandala
7dd6129dad feat: add environment variables for log level and node environment in isolated-vm deployment 2026-02-18 13:42:14 +00:00
Nawaz Dhandala
7ccea02340 fix secret in probe 2026-02-18 13:37:22 +00:00
Nawaz Dhandala
0af41725b4 fix: add missing comma in dependencies section of package.json 2026-02-18 13:25:17 +00:00
Nawaz Dhandala
9f6bcddc1e feat: implement default notification rules for verified communication methods in User APIs 2026-02-18 13:16:54 +00:00
Nawaz Dhandala
97c461f7a3 fix: update key generation in MyOnCallPoliciesScreen to handle undefined policyId 2026-02-18 13:08:38 +00:00
Nawaz Dhandala
736f8bb83c chore: update adaptive and regular icons in MobileApp assets 2026-02-18 13:05:25 +00:00
Nawaz Dhandala
eb33daf64f refactor: add expo-splash-screen plugin configuration to app.json 2026-02-18 12:57:19 +00:00
Nawaz Dhandala
c3c90eef03 fix: ensure title and body are defaulted to empty strings in push notification 2026-02-18 12:25:14 +00:00
Nawaz Dhandala
e92e9f08d3 refactor: enhance push notification handling with PushNotificationService integration 2026-02-18 10:31:12 +00:00
Nawaz Dhandala
2b313a7702 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-18 09:58:01 +00:00
Nawaz Dhandala
3cf7c7d1ae refactor: implement push notification relay and enhance Expo integration 2026-02-18 09:56:10 +00:00
Nawaz Dhandala
76cfa7186e refactor: add eas.json configuration for build and submission settings 2026-02-18 09:00:13 +00:00
Simon Larsen
afaff717c0 Merge pull request #2304 from OneUptime/snyk-upgrade-950bdb1d48a0c3f367ba1c51cd0a7dee
[Snyk] Upgrade playwright from 1.57.0 to 1.58.0
2026-02-18 08:57:48 +00:00
Simon Larsen
fde0d5f2c6 Merge pull request #2302 from OneUptime/snyk-fix-68e2c2852a4c507876028cf50ec2c87c
[Snyk] Security upgrade nginx from 1.29.3-alpine to 1.29.5-alpine
2026-02-18 08:57:18 +00:00
Simon Larsen
d5c5387621 Merge branch 'master' into snyk-upgrade-950bdb1d48a0c3f367ba1c51cd0a7dee 2026-02-18 08:56:47 +00:00
Simon Larsen
e0ef6e9a77 Merge pull request #2308 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-18 08:56:11 +00:00
Nawaz Dhandala
2dc0dc4c96 refactor: add google services configuration for Firebase integration 2026-02-18 08:54:10 +00:00
Nawaz Dhandala
c9eb72ba2c refactor: enhance push notification registration with improved error handling and retry logic 2026-02-18 08:39:29 +00:00
Nawaz Dhandala
92e247d168 refactor: update logo size and styling in LoginScreen and ServerUrlScreen for improved visual consistency 2026-02-18 07:57:47 +00:00
Nawaz Dhandala
14988c438a refactor: update app.json slug and add permissions for biometric authentication 2026-02-18 07:48:31 +00:00
Nawaz Dhandala
d81682d02f Refactor styles in various components for improved readability and consistency
- Simplified style definitions in AlertCard, EpisodeCard, FeedTimeline, IncidentCard, AlertDetailScreen, AlertEpisodeDetailScreen, and others by using multi-line formatting.
- Enhanced the layout of components in HomeScreen, MyOnCallPoliciesScreen, and SettingsScreen for better maintainability.
- Updated text styles for better clarity and consistency across screens.
2026-02-18 07:47:07 +00:00
simlarsen
9d5faca3ec chore: npm audit fix 2026-02-18 02:31:53 +00:00
Nawaz Dhandala
89ccde1bc4 refactor: standardize device type strings to lowercase in registerPushDevice function for consistency 2026-02-17 22:12:43 +00:00
Nawaz Dhandala
3aab280dcd refactor: standardize shadow properties and background colors across components for improved consistency 2026-02-17 22:04:56 +00:00
Nawaz Dhandala
b8e44a1bcf refactor: update layout and styling in AddNoteModal and NotesSection for improved consistency and visual clarity 2026-02-17 21:55:20 +00:00
Nawaz Dhandala
4c3b4d23ff refactor: update assignment badge colors and icon in MyOnCallPoliciesScreen for improved visual consistency 2026-02-17 21:42:26 +00:00
Nawaz Dhandala
a4ff718d61 refactor: remove unnecessary shadow properties and simplify layout in MyOnCallPoliciesScreen for improved performance and consistency 2026-02-17 21:40:03 +00:00
Nawaz Dhandala
3433a815f3 refactor: simplify Pressable style and adjust layout properties in HomeScreen for improved accessibility and visual consistency 2026-02-17 21:32:54 +00:00
Nawaz Dhandala
2a20807126 refactor: update padding values in MyOnCallPoliciesScreen for improved layout consistency 2026-02-17 21:31:10 +00:00
Nawaz Dhandala
991dc1c842 refactor: update icon in AlertCard and IncidentCard from desktop-outline to pulse-outline for improved visual representation 2026-02-17 21:29:59 +00:00
Nawaz Dhandala
2026e7fd77 refactor: move marginBottom to parent View in EpisodeCard for improved layout consistency 2026-02-17 21:28:48 +00:00
Nawaz Dhandala
1d0016412e refactor: add marginBottom to SwipeableCard for improved layout spacing 2026-02-17 21:27:38 +00:00
Nawaz Dhandala
917f27fe11 Refactor styles in multiple screens to use inline styles instead of class names for consistency and improved readability. Updated layout properties and adjusted padding, margin, and font sizes across IncidentsScreen, MyOnCallPoliciesScreen, SettingsScreen, LoginScreen, and ServerUrlScreen for better UI alignment and responsiveness. 2026-02-17 21:25:03 +00:00
Nawaz Dhandala
c07c89e3dd refactor: replace Pressable with TouchableOpacity in StatCard for improved touch handling and update layout for better spacing 2026-02-17 21:16:58 +00:00
Nawaz Dhandala
32c4c1666d refactor: update button layout and styles in AlertEpisodeDetailScreen and IncidentEpisodeDetailScreen for consistency 2026-02-17 21:12:52 +00:00
Nawaz Dhandala
636a419cbd refactor: replace Pressable with TouchableOpacity for improved touch handling in SegmentedControl, AlertDetailScreen, and IncidentDetailScreen 2026-02-17 21:10:54 +00:00
Nawaz Dhandala
61699b9f4a refactor: replace Pressable with TouchableOpacity for theme selection options 2026-02-17 21:07:19 +00:00
Nawaz Dhandala
b6ed3643c3 fix: update splash screen background color and replace asset images 2026-02-17 20:57:17 +00:00
Nawaz Dhandala
9e73ac45a1 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-17 15:08:20 +00:00
Nawaz Dhandala
7a3dbd0e8e refactor: streamline style definitions in multiple components for consistency 2026-02-17 14:57:46 +00:00
Nawaz Dhandala
1ec25c27ee refactor: replace TouchableOpacity with Pressable for improved touch handling across components 2026-02-17 14:55:36 +00:00
Simon Larsen
5286527155 Merge pull request #2305 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-17 09:49:52 +00:00
simlarsen
895af10755 chore: npm audit fix 2026-02-17 02:28:09 +00:00
Nawaz Dhandala
77ccca7e2a refactor: simplify query client setup and improve deep link handling in navigation 2026-02-16 22:31:13 +00:00
Nawaz Dhandala
66f46e9b84 chore: remove unused whois-json type definitions and update package dependencies 2026-02-16 20:06:11 +00:00
Nawaz Dhandala
91edae50b2 feat: Implement domain monitoring criteria and secret handling for domain names 2026-02-16 19:17:00 +00:00
Nawaz Dhandala
7ab3dfe043 feat: Add Domain Monitor functionality with WHOIS integration
- Updated package.json to include whois-json dependency.
- Created DomainMonitorCriteria class for evaluating domain monitoring criteria.
- Added DomainMonitorResponse interface to define the structure of domain monitoring responses.
- Introduced MonitorStepDomainMonitor interface and utility for managing domain monitor steps.
- Developed DomainMonitorStepForm component for user input on domain monitoring settings.
- Implemented DomainMonitorView component to display monitoring results and details.
- Added DomainMonitorUtil class for querying domain information using WHOIS data.
- Included parsing methods for name servers and domain status in DomainMonitorUtil.
2026-02-16 19:10:44 +00:00
Nawaz Dhandala
fb661126d4 chore: bump version to 9.5.13 2026-02-16 17:10:17 +00:00
Nawaz Dhandala
94c57f3189 style: update DNSSEC comment to use block comment format for clarity 2026-02-16 17:10:06 +00:00
Nawaz Dhandala
4de6021905 fix: update DNSSEC check to use a default resolver if none specified 2026-02-16 17:09:41 +00:00
Nawaz Dhandala
c62a49d499 fix: combine iputils and dnsutils installation in Dockerfile 2026-02-16 16:56:11 +00:00
snyk-bot
01fd5263ca fix: upgrade playwright from 1.57.0 to 1.58.0
Snyk has created this PR to upgrade playwright from 1.57.0 to 1.58.0.

See this package in npm:
playwright

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-02-16 15:58:33 +00:00
Nawaz Dhandala
d87eee68e8 style: refactor arrow functions to use explicit return statements for clarity 2026-02-16 14:55:08 +00:00
Nawaz Dhandala
3f4db5b7e0 feat: implement project creation restriction for non-admin users 2026-02-16 14:54:14 +00:00
Nawaz Dhandala
462ad9d6ab Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-16 14:36:46 +00:00
Nawaz Dhandala
6444d3d5cc Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-16 14:36:31 +00:00
Nawaz Dhandala
415222561b feat: add health checks and common dependencies for services in Docker Compose files 2026-02-16 14:34:26 +00:00
Nawaz Dhandala
8cf2661c63 style: adjust spacing and styling for CardSelect option groups and EvaluationLogList component 2026-02-16 11:23:21 +00:00
Nawaz Dhandala
a820f817ff fix: update header color for option groups in CardSelect component 2026-02-16 11:20:14 +00:00
Nawaz Dhandala
576927c6c7 refactor: rename monitoring category from "Active Monitoring" to "Basic Monitoring" 2026-02-16 11:08:57 +00:00
Nawaz Dhandala
e866db9e18 feat: enhance monitor type handling with categorized card select options and improve DNS resolver configuration 2026-02-16 11:08:31 +00:00
Nawaz Dhandala
8e91a786f9 refactor: streamline route definition for CLI endpoint 2026-02-16 10:39:43 +00:00
Nawaz Dhandala
02d16446f1 feat: update documentation links in CLI and MCP server pages for improved navigation 2026-02-16 10:32:28 +00:00
Nawaz Dhandala
5d5517258b Refactor code structure for improved readability and maintainability 2026-02-16 08:59:39 +00:00
Nawaz Dhandala
5df632c46c feat: update CLI documentation to reflect changes in incident state handling and queries 2026-02-16 08:47:01 +00:00
Nawaz Dhandala
c1ee79b339 feat: enhance CLI documentation with additional context and options for commands 2026-02-16 08:41:48 +00:00
Nawaz Dhandala
67265c0fc8 feat: include createdAt and planName in project details for improved project information 2026-02-16 08:32:46 +00:00
Nawaz Dhandala
72e5384012 chore: remove ora dependency from package.json and package-lock.json 2026-02-16 08:30:39 +00:00
Nawaz Dhandala
dc8e9d44b1 chore: bump version to 9.5.12 2026-02-16 08:21:14 +00:00
Nawaz Dhandala
91102ee952 feat: add CLI section to navigation with links to documentation 2026-02-15 20:29:36 +00:00
Nawaz Dhandala
e46d1ae7da chore: update compile workflow to install and compile Common package 2026-02-15 20:19:08 +00:00
Nawaz Dhandala
008005415a fix: update MarkdownContent styles to use ReturnType for better type inference 2026-02-15 20:14:56 +00:00
Nawaz Dhandala
c7362f3ada feat: add comprehensive CLI documentation including authentication, command reference, resource operations, output formats, and scripting for automation 2026-02-15 20:10:21 +00:00
Nawaz Dhandala
1f634576fe chore: update CLI to use npm package for Common, adjust TypeScript config, and add CI workflow
- Changed dependency for Common in CLI package.json to use npm package @oneuptime/common@latest.
- Updated tsconfig.json to exclude Tests, build, node_modules, and jest.config.json.
- Modified PublishAllPackages.sh to replace Common dependency with the pinned version during publish.
- Added GitHub Actions workflow for testing CLI on pull requests and pushes.
2026-02-15 12:05:35 +00:00
Nawaz Dhandala
d25a97fe17 Refactor components for improved readability and consistency
- Added missing newlines at the end of files in MarkdownContent.tsx and RootCauseCard.tsx
- Reformatted shadowColor and color properties in NotesSection.tsx, SegmentedControl.tsx, MainTabNavigator.tsx, HomeScreen.tsx for better readability
- Enhanced code formatting in SectionHeader.tsx and OnCallStackNavigator.tsx for consistency
- Improved readability of getEntityId function in useAllProjectOnCallPolicies.ts
- Refactored conditional rendering in AlertDetailScreen.tsx, AlertEpisodeDetailScreen.tsx, IncidentDetailScreen.tsx, and IncidentEpisodeDetailScreen.tsx for better clarity
2026-02-15 11:47:32 +00:00
Nawaz Dhandala
b89ff11db8 Add comprehensive tests for CLI commands and error handling
- Implement tests for ResourceCommands, ConfigCommands, UtilityCommands, and ErrorHandler.
- Enhance test coverage for command registration and execution, including list, get, create, update, delete, and count operations.
- Introduce tests for credential management and context handling in commands.
- Add error handling tests to ensure graceful exits on API errors and invalid inputs.
- Update jest configuration to exclude test files from coverage and adjust TypeScript settings.
2026-02-15 10:54:50 +00:00
Nawaz Dhandala
5ac5ffede5 feat(cli): initialize CLI package with TypeScript configuration and dependencies
- Added package.json for OneUptime CLI with scripts for development and build processes.
- Included TypeScript configuration (tsconfig.json) with strict type checking and module settings.
2026-02-15 10:36:30 +00:00
Nawaz Dhandala
d9167b89ba feat: Add toPlainText utility function and update components to use it for improved text handling 2026-02-14 22:02:21 +00:00
Nawaz Dhandala
66b995c64a feat: Implement On-Call policies feature with navigation, API integration, and UI components 2026-02-14 21:51:09 +00:00
Nawaz Dhandala
f383bbba4d refactor: Update notification icons in MainTabNavigator for improved clarity 2026-02-14 21:42:19 +00:00
Nawaz Dhandala
43f1a59042 refactor: Update icon names in HomeScreen for improved clarity and consistency 2026-02-14 21:41:10 +00:00
Nawaz Dhandala
7d49872edc refactor: Enhance HomeScreen layout by adding section headers for Incidents and Alerts, improving organization and readability 2026-02-14 21:38:03 +00:00
Nawaz Dhandala
6d2d5892b9 refactor: Update label from 'Total active issues' to 'Total active items' and adjust total count calculation in HomeScreen for improved accuracy 2026-02-14 21:35:53 +00:00
Nawaz Dhandala
756217e19e refactor: Simplify layout in HomeScreen by removing unnecessary Live indicator for cleaner UI 2026-02-14 21:34:57 +00:00
Nawaz Dhandala
ca3cf01be7 refactor: Update icon for Root Cause section in AlertDetailScreen, IncidentDetailScreen, and IncidentEpisodeDetailScreen for improved clarity 2026-02-14 21:33:33 +00:00
Nawaz Dhandala
fd0a81a0b1 refactor: Remove unused Ionicons import and clean up RootCauseCard layout for improved readability 2026-02-14 21:31:49 +00:00
Nawaz Dhandala
14016d188b refactor: Replace MarkdownContent with RootCauseCard component in AlertDetailScreen, IncidentDetailScreen, and IncidentEpisodeDetailScreen for improved root cause display 2026-02-14 21:31:30 +00:00
Nawaz Dhandala
3a2aff7f34 refactor: Integrate MarkdownContent component for improved markdown rendering in FeedTimeline, AlertDetailScreen, IncidentDetailScreen, and IncidentEpisodeDetailScreen; update package.json and package-lock.json for new dependencies 2026-02-14 21:28:04 +00:00
Nawaz Dhandala
4a6edfee06 refactor: Update AlertCard, EpisodeCard, and IncidentCard components for improved styling and consistency; enhance rgbToHex function for better color handling 2026-02-14 21:23:20 +00:00
Nawaz Dhandala
2dc1b8aa8c refactor: Enhance footer in SettingsScreen with updated layout, styling, and open source acknowledgment 2026-02-14 21:18:45 +00:00
Nawaz Dhandala
eb0f0e742d refactor: Update color handling in GradientButton, NotesSection, SegmentedControl, and SettingsScreen for improved theme support 2026-02-14 21:16:37 +00:00
Nawaz Dhandala
23c82c5239 refactor: Update UI components for improved styling and consistency across AlertCard, EpisodeCard, IncidentCard, GradientButton, NotesSection, SegmentedControl, and detail screens 2026-02-14 21:15:32 +00:00
Nawaz Dhandala
2b61e4f4b7 refactor: Improve layout and accessibility in AlertCard, EpisodeCard, and IncidentCard components 2026-02-14 21:11:58 +00:00
Nawaz Dhandala
9b21abf78d refactor: Enhance footer in SettingsScreen with gradient background and open source acknowledgment 2026-02-14 20:56:02 +00:00
Nawaz Dhandala
bd54b38a69 refactor: Update footer text in SettingsScreen for clarity and add text alignment 2026-02-14 20:55:26 +00:00
Nawaz Dhandala
4dc799d238 refactor: Add useWindowDimensions for responsive tab bar label visibility 2026-02-14 20:52:24 +00:00
Nawaz Dhandala
b4d90e3bef refactor: Update color palette to neutral monochrome accents for improved consistency 2026-02-14 20:51:14 +00:00
Nawaz Dhandala
6c8d4203da refactor: Update Logo component sizes in HomeScreen and SettingsScreen for improved layout 2026-02-14 20:50:19 +00:00
Nawaz Dhandala
f7e9745624 refactor: Update Logo component to use SvgXml and adjust sizes in HomeScreen and SettingsScreen 2026-02-14 20:48:00 +00:00
Nawaz Dhandala
f7d133adba refactor: Add TypeScript types for alert and incident models and update tsconfig paths 2026-02-14 20:38:15 +00:00
Nawaz Dhandala
b06c2cb1c3 refactor: Add root cause field to alert and incident APIs and update detail screens for display 2026-02-14 20:31:06 +00:00
Nawaz Dhandala
b51c5d9677 refactor: Improve UI components with enhanced styles and layout adjustments across multiple screens 2026-02-14 20:29:12 +00:00
Nawaz Dhandala
9a1e265d1c refactor: Enhance UI with LinearGradient backgrounds and improve component styles across multiple screens 2026-02-14 20:26:05 +00:00
Nawaz Dhandala
e18d75fc8e refactor: Add TypeScript declarations for additional languages in react-syntax-highlighter across multiple files 2026-02-14 20:14:11 +00:00
Nawaz Dhandala
5a68d2f726 refactor: Add TypeScript declarations for additional languages in react-syntax-highlighter 2026-02-14 20:03:04 +00:00
Nawaz Dhandala
dfa7c4875a refactor: Simplify JSX structure in multiple components for improved readability 2026-02-14 20:00:20 +00:00
Nawaz Dhandala
8a568e0495 chore: Bump version to 9.5.11 2026-02-14 19:59:46 +00:00
Nawaz Dhandala
7152058ee2 Merge branch 'dash-chunk' 2026-02-14 19:54:45 +00:00
Nawaz Dhandala
b198dc0ec8 refactor: Enhance lazy loading of components in StatusPage for improved type safety and maintainability 2026-02-14 19:54:05 +00:00
Nawaz Dhandala
b0a3f8d60f refactor: Enable tree shaking in esbuild configuration for optimized bundle size 2026-02-14 19:42:53 +00:00
Nawaz Dhandala
83a13635cf Refactor route components to improve readability and consistency in prop spreading 2026-02-14 18:38:45 +00:00
Nawaz Dhandala
a2c1744e8c refactor: Enhance mermaid plugin to serve pre-bundled CJS file with ESM export for improved compatibility 2026-02-14 15:00:28 +00:00
snyk-bot
9dfbc05618 fix: Nginx/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE322-LIBPNG-15062355
- https://snyk.io/vuln/SNYK-ALPINE322-LIBPNG-15062356
- https://snyk.io/vuln/SNYK-ALPINE322-OPENSSL-15121112
- https://snyk.io/vuln/SNYK-ALPINE322-OPENSSL-15121113
- https://snyk.io/vuln/SNYK-ALPINE322-OPENSSL-15121196
2026-02-14 14:53:26 +00:00
Nawaz Dhandala
4271ddbdcb refactor: Consolidate lazy loading of components into AllPages for improved organization and performance 2026-02-14 14:52:55 +00:00
Nawaz Dhandala
6ffb081a02 refactor: Consolidate route imports into AllRoutes for improved organization and maintainability 2026-02-14 14:51:01 +00:00
Nawaz Dhandala
16a9edbfcd Refactor route imports in StatusPagesRoutes, TracesRoutes, UserSettingsRoutes, and WorkflowRoutes for improved readability and performance by replacing lazy loading with direct imports. Remove unnecessary Suspense components around routes. 2026-02-14 11:00:15 +00:00
Nawaz Dhandala
e32d4395a3 refactor: update UI components for consistency and improved theming
- Refactored IncidentsScreen to use theme colors for backgrounds and text.
- Adjusted font sizes and styles across various components for better readability.
- Updated SettingsScreen to enhance layout and visual hierarchy, including removing GlassCard and using View components with theme colors.
- Modified LoginScreen and ServerUrlScreen to improve input field styling and overall layout.
- Revised color tokens in theme/colors.ts for better contrast and accessibility.
- Improved button labels for clarity and consistency.
2026-02-13 21:24:31 +00:00
Nawaz Dhandala
b8cd3ce1c1 Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2026-02-13 20:57:59 +00:00
Nawaz Dhandala
b86aee7f2a refactor: Update comments for channel name normalization and sanitization in Slack and Teams utilities 2026-02-13 20:57:25 +00:00
Nawaz Dhandala
2cde167445 refactor: Enhance channel name normalization to remove invalid characters for Microsoft Teams 2026-02-13 20:56:22 +00:00
Nawaz Dhandala
9bd6b011fe refactor: Sanitize Slack channel names to remove invalid characters 2026-02-13 20:52:02 +00:00
Nawaz Dhandala
538eef5660 chore: Bump version to 9.5.10 2026-02-13 19:27:29 +00:00
Simon Larsen
e1a343ae38 Merge pull request #2300 from OneUptime/master
Release
2026-02-13 19:27:00 +00:00
Nawaz Dhandala
8b42af35c1 refactor: Remove unused noteModalVisible prop from NotesSection component 2026-02-13 17:12:49 +00:00
Nawaz Dhandala
fc9026a8d8 refactor: Clean up component code and improve formatting across multiple files 2026-02-13 17:11:00 +00:00
Nawaz Dhandala
86edee35c1 style: Update color scheme and improve UI consistency across components 2026-02-13 17:09:12 +00:00
Nawaz Dhandala
109c276bc5 feat: Update GlassCard component to support opaque prop and apply it to multiple cards 2026-02-13 16:55:15 +00:00
Nawaz Dhandala
8040dd0f56 Refactor UI components and enhance styling
- Removed unused theme variable from IncidentsScreen.
- Updated SettingsScreen to use GlassCard and LinearGradient for improved UI.
- Refactored LoginScreen and ServerUrlScreen to utilize GradientHeader and GlassCard for consistent styling.
- Introduced GradientButton component for reusable gradient-styled buttons.
- Added Logo component for consistent branding across screens.
- Created NotesSection component to manage and display internal notes.
- Implemented SectionHeader component for better organization of section titles.
- Enhanced color theme with new gradient and accent colors.
2026-02-13 16:45:48 +00:00
Nawaz Dhandala
00d4148b6b Enhance UI and UX across multiple screens
- Updated BiometricLockScreen with improved icon layout and shadow effects.
- Refined HomeScreen layout for better spacing and added header gradient.
- Enhanced IncidentDetailScreen with gradient backgrounds and improved badge styling.
- Replaced error handling in IncidentsScreen with a reusable EmptyState component.
- Improved SettingsScreen with a profile header and added icons to settings rows.
- Revamped LoginScreen and ServerUrlScreen with gradient headers and refined input fields.
- Updated color theme to include new gradient properties for better visual consistency.
2026-02-13 16:14:15 +00:00
Nawaz Dhandala
dec03bc3a8 feat: Add expo-font dependency to package.json and package-lock.json 2026-02-13 15:45:30 +00:00
Nawaz Dhandala
46a9f95fc0 fix: Update error handling in getUserMiddleware to use NotAuthenticatedException 2026-02-13 15:42:10 +00:00
Simon Larsen
8b2f9bc778 Merge pull request #2299 from OneUptime/dna-monitor
DNS monitor
2026-02-13 14:04:51 +00:00
Nawaz Dhandala
fcc6223850 refactor: Remove unused variables and improve type annotations in hooks and screens 2026-02-13 14:04:23 +00:00
Nawaz Dhandala
c9bc214e86 fix: Correct CAA record resolution method and typo in value formatting 2026-02-13 13:57:31 +00:00
Simon Larsen
2897a937ba Merge pull request #2298 from OneUptime/refactor-mob-app
Refactor mob app
2026-02-13 13:49:05 +00:00
Nawaz Dhandala
f3cd7be143 refactor: Clean up code formatting and improve readability across multiple components 2026-02-13 13:48:46 +00:00
Nawaz Dhandala
f324a4e864 feat: Implement DNS monitoring configuration and secret handling 2026-02-13 13:42:45 +00:00
Nawaz Dhandala
f6a8cef649 feat: Add DNS monitoring capabilities
- Introduced new DNS monitor types and criteria checks in CriteriaFilter.ts.
- Implemented DNS monitor instance creation in MonitorCriteriaInstance.ts.
- Enhanced MonitorStep to support DNS configurations.
- Added DNS response handling in ProbeMonitorResponse.ts.
- Created DNS monitor forms and summary views in the Dashboard.
- Developed DNS query utilities and response handling in MonitorTypes/DnsMonitor.ts.
- Added DNS record types and response structures for better data handling.
- Implemented criteria evaluation for DNS monitoring in DnsMonitorCriteria.ts.
2026-02-13 13:29:01 +00:00
Nawaz Dhandala
770ef007a4 refactor: Enhance response normalization in API client to handle serialized types 2026-02-13 12:10:42 +00:00
Nawaz Dhandala
dafa0cc5d9 refactor: Update styling in AppContent and RootNavigator for consistent theme integration 2026-02-13 11:48:31 +00:00
Nawaz Dhandala
196e9cae10 refactor: Enhance error handling in getBlogPost method to return null on failure 2026-02-13 11:33:02 +00:00
Nawaz Dhandala
d0d26d20b2 refactor: Integrate SplashScreen to hide native splash screen after loading completes 2026-02-13 11:25:13 +00:00
Nawaz Dhandala
6a90ee97bf Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-13 11:12:22 +00:00
Nawaz Dhandala
f2a2644b0e Merge branch 'release' 2026-02-13 11:12:12 +00:00
Nawaz Dhandala
5cb2ac8c8b fix: Use absolute path for npm in ts-node installation to ensure correct execution 2026-02-13 11:10:34 +00:00
Nawaz Dhandala
6751d59b2f refactor: Remove totalActive calculation and active issues summary from HomeScreen 2026-02-13 11:05:09 +00:00
Nawaz Dhandala
aefc649743 refactor: Integrate useAuth in ProjectProvider for authentication handling 2026-02-13 10:25:57 +00:00
Nawaz Dhandala
cfba73665c refactor: Update loading state to use 'isPending' instead of 'isLoading' in multiple hooks 2026-02-13 10:21:06 +00:00
Nawaz Dhandala
049c5d003c refactor: Add flex styling to SectionList in AlertsScreen and IncidentsScreen for better layout 2026-02-13 10:15:17 +00:00
Simon Larsen
fd8998952d Merge pull request #2297 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-13 10:06:30 +00:00
Nawaz Dhandala
5ca85e4915 refactor: Update header comment in fetchProjects function for clarity on multi-tenant request 2026-02-13 09:58:09 +00:00
Nawaz Dhandala
aa401291b6 refactor: Update SettingsRow component to consolidate version display in SettingsScreen 2026-02-13 09:01:30 +00:00
Nawaz Dhandala
bf3d90871d refactor: Add feed fetching functions and integrate FeedTimeline component in detail screens 2026-02-13 09:00:20 +00:00
Nawaz Dhandala
4a4dff9264 refactor: Add 'muted' prop to AlertCard, EpisodeCard, and IncidentCard; implement opacity adjustment based on prop value 2026-02-13 08:51:36 +00:00
Nawaz Dhandala
fd3f75e4e2 refactor: Consolidate API fetching logic for alerts, incidents, and episodes; streamline hooks to use unified fetching methods 2026-02-13 08:46:59 +00:00
Nawaz Dhandala
43fc5acdda Refactor HomeScreen to consolidate project counts using useAllProjectCounts hook; remove unused hooks and simplify loading logic
Remove ProjectSelectionScreen as it is no longer needed; integrate project selection into other screens

Update IncidentDetailScreen and IncidentEpisodeDetailScreen to directly receive projectId from route params

Refactor IncidentsScreen to utilize useAllProjectIncidents, useAllProjectIncidentEpisodes, and useAllProjectIncidentStates hooks for better data management

Add new hooks: useAllProjectCounts, useAllProjectAlerts, useAllProjectAlertEpisodes, useAllProjectAlertStates, useAllProjectIncidentEpisodes, and useAllProjectIncidentStates for improved data fetching and state management

Remove useProject hook usage from SettingsScreen and adjust project-related logic accordingly
2026-02-13 08:39:24 +00:00
simlarsen
c7ca6138f3 chore: npm audit fix 2026-02-13 02:34:23 +00:00
Nawaz Dhandala
87475b00c4 Enhance UI components and improve accessibility across multiple screens
- Added SectionHeader component for consistent section titles in IncidentEpisodeDetailScreen.
- Updated styles for various text elements to improve readability and accessibility.
- Refined button styles in LoginScreen and ServerUrlScreen for better visual feedback.
- Introduced focus states for input fields in LoginScreen and ServerUrlScreen.
- Enhanced ProjectSelectionScreen with improved project item display.
- Implemented SectionCard component in SettingsScreen for better layout organization.
- Updated color tokens in theme for better visual consistency and added new accent colors.
- Adjusted Tailwind CSS configuration for improved shadow effects and new color variables.
2026-02-12 22:36:25 +00:00
Nawaz Dhandala
d5613cc4bd refactor: Integrate Ionicons for improved iconography in EmptyState, BiometricLockScreen, HomeScreen, and SettingsScreen 2026-02-12 22:19:24 +00:00
Nawaz Dhandala
b1c9d9a645 refactor: Add Ionicons for tab bar icons in MainTabNavigator 2026-02-12 22:17:33 +00:00
Nawaz Dhandala
01c6101ae9 Refactor navigation and screens for incidents and alerts
- Removed AlertEpisodesStackNavigator and IncidentEpisodesStackNavigator.
- Integrated AlertEpisodeDetailScreen and IncidentEpisodeDetailScreen into AlertsStackNavigator and IncidentsStackNavigator respectively.
- Updated MainTabNavigator to remove references to the deleted stack navigators.
- Adjusted RootNavigator linking to reflect the new navigation structure.
- Modified types to remove unused stack parameter lists.
- Updated handlers for notifications to navigate to the correct screens.
- Refactored AlertsScreen and IncidentsScreen to support segmented control for toggling between alerts and episodes.
- Added SegmentedControl component for better UI navigation.
- Cleaned up unused screen components and hooks related to episodes.
2026-02-12 22:14:55 +00:00
Nawaz Dhandala
ec56609bf4 refactor: Update biometric labels for clarity in SettingsScreen 2026-02-12 22:07:44 +00:00
Nawaz Dhandala
e5f652a950 refactor: Remove Notification Preferences screen and related navigation; update settings stack and types accordingly 2026-02-12 22:06:36 +00:00
Nawaz Dhandala
749bd2e41d refactor: Replace react-native-keychain with AsyncStorage for token management 2026-02-12 22:03:50 +00:00
Nawaz Dhandala
cc23416ad8 refactor: Move SafeAreaProvider to wrap the PersistQueryClientProvider for improved layout handling 2026-02-12 21:56:58 +00:00
Nawaz Dhandala
86fda9ba16 refactor: Update Tailwind CSS configuration and clean up imports; remove unused tailwind.config.ts file 2026-02-12 21:54:17 +00:00
Nawaz Dhandala
969983043b feat: Add babel-preset-expo to dependencies for improved Babel configuration 2026-02-12 21:39:30 +00:00
Nawaz Dhandala
2b64dd0b1d Refactor Settings, Login, and Server URL screens to use Tailwind CSS for styling; remove unused styles and theme properties; integrate NativeWind for utility-first styling approach; update theme context to support dark mode; enhance accessibility and maintainability. 2026-02-12 21:31:38 +00:00
Nawaz Dhandala
3a514969dc Refactor UI components to enhance styling and shadows
- Updated background colors for various components to use `backgroundElevated` instead of `backgroundSecondary`.
- Increased padding and border radius for cards and buttons across multiple screens for a more modern look.
- Introduced shadow styles for components to improve depth perception.
- Adjusted header styles in navigators to use `backgroundPrimary` and added subtle borders.
- Added a new `shadows` utility to manage shadow styles consistently across the app.
- Modified text styles for better readability and visual hierarchy.
- Updated spacing constants to include larger values for improved layout.
2026-02-12 21:02:46 +00:00
Nawaz Dhandala
10d006890c Refactor code structure for improved readability and maintainability 2026-02-12 20:46:28 +00:00
Nawaz Dhandala
2cb719d53a feat: Add check to skip localhost instances in OpenSourceDeploymentAPI 2026-02-12 20:34:30 +00:00
Nawaz Dhandala
eafb543371 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-12 19:35:57 +00:00
Nawaz Dhandala
5800fe4f7a feat: Implement aggressive disk cleanup in release workflow to optimize build space 2026-02-12 18:55:47 +00:00
Nawaz Dhandala
8d3712c36a feat: Enhance probe handling in secrets.yaml with improved logic for existing secrets 2026-02-12 17:05:33 +00:00
Nawaz Dhandala
f8e26246dd refactor: Improve related types handling and add peer dependencies in package-lock.json 2026-02-12 10:33:04 +00:00
Nawaz Dhandala
8560ecab41 chore: Bump version to 9.5.9 2026-02-12 09:14:53 +00:00
Nawaz Dhandala
5b2a6924d9 feat: Enhance DataTypeDetail and data-type.ejs with enriched related types and summary box 2026-02-11 22:51:39 +00:00
Nawaz Dhandala
e047143974 refactor: Improve type annotations and code readability in Dropdown component and migration file 2026-02-11 22:43:09 +00:00
Nawaz Dhandala
d23dc791e2 feat: Enhance data type documentation with category grouping and related types links 2026-02-11 22:38:41 +00:00
Nawaz Dhandala
a4b3b340c8 Add new data types for monitoring criteria and configurations
- Introduced CriteriaFilter, CriteriaIncident, and CriteriaAlert for defining filter conditions and incident configurations.
- Added enums for CheckOn, FilterType, and FilterCondition to specify evaluation aspects and comparison operators.
- Included configurations for various monitor step types: Log, Trace, Metric, and SNMP monitors.
2026-02-11 22:25:59 +00:00
Nawaz Dhandala
2173e4e611 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-11 22:10:58 +00:00
Nawaz Dhandala
dc19f87404 refactor: Clean up code formatting and improve readability across multiple files 2026-02-11 22:08:17 +00:00
Nawaz Dhandala
a3045c5f26 feat: Implement PermissionPicker component for enhanced permission selection 2026-02-11 22:04:25 +00:00
Nawaz Dhandala
5d6907be97 feat: Enhance dropdown options handling by introducing DropdownOptionGroup support 2026-02-11 21:42:57 +00:00
Nawaz Dhandala
e2ace9fc11 feat: Enhance permissions documentation with quick navigation and category links 2026-02-11 21:18:43 +00:00
Nawaz Dhandala
5a11bf228a feat: Enhance permissions handling by grouping permissions into categories 2026-02-11 21:14:55 +00:00
Nawaz Dhandala
cdd8d5523f Implement feature X to enhance user experience and optimize performance 2026-02-11 21:06:04 +00:00
Nawaz Dhandala
f5029fada7 feat: Refactor TypeToDocPath mapping to use dynamic generation from DataTypes 2026-02-11 20:54:47 +00:00
Nawaz Dhandala
8131c9d42f feat: Swap Data Types and Resources sections in navigation 2026-02-11 20:47:15 +00:00
Nawaz Dhandala
946c7d4c48 feat: Add detailed data type documentation and navigation
- Implemented a new DataTypeDetail service to handle detailed views for data types.
- Created a DataTypeUtil to manage data type definitions and retrieval.
- Added a new EJS template for displaying data type details, including properties, values, and JSON examples.
- Updated navigation to include a section for data types in both desktop and mobile views.
- Introduced a new DataTypes module to encapsulate data type information and improve maintainability.
2026-02-11 20:46:02 +00:00
Simon Larsen
9cbc7d9646 Merge pull request #2293 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-11 20:20:52 +00:00
Nawaz Dhandala
72d95871f7 feat: enhance model documentation links in API reference view 2026-02-11 19:24:51 +00:00
Nawaz Dhandala
3545a221bc feat: Add Alert Creation Page and Update Related Components
- Implemented a new page for creating alerts with a form that includes fields for title, description, severity, state, monitor, on-call policy, labels, root cause, and remediation notes.
- Updated the AlertsTable component to conditionally render a "Create Alert" button based on the disableCreate prop.
- Modified the AlertsLayout to optionally hide the side menu when navigating to the create alert page.
- Enhanced routing to include a new route for the alert creation page and adjusted the side menu visibility accordingly.
- Updated PageMap and RouteMap to include the new alert creation route.
- Added migration to update database schema related to incident and alert policies.
2026-02-11 19:17:25 +00:00
Nawaz Dhandala
9a5bcb9f31 feat: add migration for updating constraints and indexes in Incident and Alert OnCallDutyPolicy tables 2026-02-11 18:25:10 +00:00
Nawaz Dhandala
91a4d3601c fix: rename columns and update constraints in AlertOnCallDutyPolicy and IncidentOnCallDutyPolicy migrations 2026-02-11 18:23:43 +00:00
Nawaz Dhandala
ea99dd4873 refactor: update model relationships and descriptions for On-Call Duty Policies in Alert, Incident, and IncidentTemplate models; add migration for database schema changes 2026-02-11 18:16:38 +00:00
Nawaz Dhandala
34863dbcb6 fix: rename "Deleted by User ID" to "Acknowledged by User ID" in OnCallDutyPolicyExecutionLog and UserOnCallLog models 2026-02-11 18:09:28 +00:00
Nawaz Dhandala
effeb3a0b6 fix: update title and description for Monitor ID in Alert model 2026-02-11 18:06:59 +00:00
Nawaz Dhandala
86bdcb416a fix: await token refresh before retrying original request in response interceptor 2026-02-11 17:38:36 +00:00
Nawaz Dhandala
665f194f6d feat: add peer dependency flag to multiple packages in package-lock.json 2026-02-11 15:01:14 +00:00
Nawaz Dhandala
1378445dc5 feat: update dependencies for React and React Native 2026-02-11 14:59:54 +00:00
Nawaz Dhandala
236be5b60e feat: conditionally include prefix properties in alert and incident services 2026-02-11 14:53:57 +00:00
Nawaz Dhandala
256f4334eb Merge branch 'release' 2026-02-11 14:32:22 +00:00
Nawaz Dhandala
28d5ad4292 chore: bump version to 9.5.8 2026-02-11 14:32:03 +00:00
Nawaz Dhandala
5c169ccd5b feat: simplify props handling in Slack alert and incident episode actions 2026-02-11 14:27:26 +00:00
Nawaz Dhandala
e05f15d3f6 feat: refactor episode state update methods for Slack and Microsoft Teams actions 2026-02-11 14:24:50 +00:00
Nawaz Dhandala
de0cbe1f42 feat: update on-call policy notifications in Slack and Teams actions for clarity 2026-02-11 13:36:58 +00:00
Nawaz Dhandala
fc48a0efdb feat: add notification for missing on-call policies in Slack actions 2026-02-11 13:31:02 +00:00
Nawaz Dhandala
e623c973ee feat: enhance incident episode note handling with public/private options 2026-02-11 13:26:00 +00:00
Nawaz Dhandala
8d56287892 feat: update workspace channel retrieval to support incident and alert episodes 2026-02-11 13:09:21 +00:00
Nawaz Dhandala
0950d4288f feat: add episode and incident number prefixes to relevant services and messages 2026-02-11 12:58:23 +00:00
Nawaz Dhandala
56ea1c4690 fix: streamline formatting in various services for consistency 2026-02-11 12:52:15 +00:00
Nawaz Dhandala
08d2b6f5a2 feat: add emoji to button titles in Slack incident episode messages 2026-02-11 12:49:21 +00:00
Nawaz Dhandala
2cabdde5bd feat: add workspace notification handling for alert and incident episode services 2026-02-11 12:45:16 +00:00
Nawaz Dhandala
3e48a706bd feat: enhance workspace notification handling in various services 2026-02-11 12:39:48 +00:00
Nawaz Dhandala
7c672e14a1 feat: add workspace notification handling in Alert and Incident episode services 2026-02-11 12:16:42 +00:00
Nawaz Dhandala
80a3bbac3d Merge branch 'master' into release 2026-02-11 11:46:59 +00:00
simlarsen
25f9b826cf chore: npm audit fix 2026-02-11 02:38:02 +00:00
Nawaz Dhandala
c478e6af30 feat: add openSourceDeployment schema with webhookUrl property 2026-02-10 23:26:06 +00:00
Nawaz Dhandala
555a722732 feat: update expo-device to version 8.0.10 and react-native-screens to version 4.16.0 2026-02-10 23:24:47 +00:00
Nawaz Dhandala
6b5f981424 feat: refactor push token handling and move related functions to pushTokenUtils 2026-02-10 23:23:17 +00:00
Nawaz Dhandala
e0e614cf21 feat: enable new architecture in app.json 2026-02-10 23:17:53 +00:00
Nawaz Dhandala
44cc072d98 feat: add expo-system-ui dependency to package.json and package-lock.json 2026-02-10 23:15:38 +00:00
Nawaz Dhandala
c2c97dae0a feat: add mobile app Android and iOS deployment jobs to release workflow 2026-02-10 23:09:02 +00:00
Nawaz Dhandala
3978374ccb feat: add release signing setup documentation for Android and iOS 2026-02-10 23:08:24 +00:00
Nawaz Dhandala
6950daf10a feat: add workflows for mobile app Android and iOS deployment 2026-02-10 23:06:32 +00:00
Nawaz Dhandala
7a07e669c9 feat: add mobile app compilation and testing workflows 2026-02-10 22:55:57 +00:00
Nawaz Dhandala
67ece0fcca refactor: enhance type safety and improve code readability across multiple files 2026-02-10 22:45:12 +00:00
Nawaz Dhandala
5413e24bd4 refactor: enhance type safety and improve code readability across multiple files
- Updated hooks to return specific types using UseQueryResult for better type safety.
- Refactored various components to explicitly define return types for functions and callbacks.
- Improved type annotations for variables and function parameters in screens and hooks.
- Enhanced readability by restructuring code and ensuring consistent formatting.
- Added missing type imports and ensured proper usage of types from the API.
- Cleaned up unnecessary type assertions and improved overall code clarity.
2026-02-10 22:38:45 +00:00
Nawaz Dhandala
59b3fc0334 Refactor screens and components for improved readability and consistency
- Simplified state management and data fetching in IncidentEpisodeDetailScreen.
- Enhanced code clarity by using arrow functions consistently and removing unnecessary destructuring.
- Improved type annotations across various screens for better TypeScript support.
- Streamlined the rendering of components in IncidentEpisodesScreen and IncidentsScreen.
- Updated NotificationPreferencesScreen to use consistent function signatures and improved readability.
- Refactored ProjectSelectionScreen and SettingsScreen for better structure and clarity.
- Enhanced LoginScreen and ServerUrlScreen with clearer type definitions and improved error handling.
- Updated storage utilities to ensure consistent type usage and improved code clarity.
- Refactored theme context and spacing utilities for better type safety and readability.
- Improved color and date utility functions for better maintainability.
2026-02-10 22:29:37 +00:00
Nawaz Dhandala
2bc72dbdb6 feat: update project view route to use current navigation context 2026-02-10 22:21:19 +00:00
Nawaz Dhandala
15ccf00503 chore: update expo-server-sdk to version 3.15.0; reorganize push notifications documentation
- Updated expo-server-sdk in package.json from 3.10.0 to 3.15.0.
- Deleted outdated firebase-push-notifications.md and created new push-notifications.md for clarity.
- Updated navigation links in Nav.ts and README.md to point to the new push-notifications documentation.
2026-02-10 22:07:39 +00:00
Nawaz Dhandala
b3d73a5523 feat: add notification preferences screen and settings stack navigator
feat: implement notification preferences management with local storage
feat: enhance accessibility for alert and incident actions
feat: integrate haptic feedback for user interactions in various screens
refactor: update navigation structure to include settings and notification preferences
2026-02-10 22:04:37 +00:00
Nawaz Dhandala
43e6291608 feat: enhance incident detail screens with haptic feedback and loading skeletons
- Added haptic feedback on state change actions in IncidentDetailScreen and IncidentEpisodeDetailScreen.
- Replaced ActivityIndicator with SkeletonCard for better loading experience in IncidentDetailScreen and IncidentEpisodeDetailScreen.
- Updated empty state messages in IncidentEpisodesScreen and IncidentsScreen for clarity.
- Refactored SettingsScreen to improve layout and added biometric authentication options.
- Introduced OfflineBanner component to notify users of network issues.
- Created SwipeableCard component for better interaction with list items.
- Implemented useBiometric and useNetworkStatus hooks for managing biometric settings and network status.
- Added BiometricLockScreen for unlocking the app using biometric authentication.
- Introduced preferences storage for theme mode and biometric settings.
2026-02-10 21:54:18 +00:00
Nawaz Dhandala
09d82f64de refactor: remove Firebase Cloud Messaging configuration and related code for push notifications 2026-02-10 21:38:42 +00:00
Nawaz Dhandala
51ed9fc2bb feat: implement push notification registration and unregistration functionality 2026-02-10 21:27:35 +00:00
Nawaz Dhandala
b23ccdcc57 feat: add Incident and Alert Episodes screens and navigators
- Created IncidentEpisodesStackNavigator for managing navigation between incident episodes list and detail screens.
- Implemented AlertEpisodesScreen to display a list of alert episodes with pagination and refresh functionality.
- Developed AlertEpisodeDetailScreen to show detailed information about a specific alert episode, including state changes and internal notes.
- Added IncidentEpisodesScreen to display a list of incident episodes with similar functionality to the alert episodes screen.
- Created IncidentEpisodeDetailScreen for detailed view of incident episodes, including state management and note-taking features.
- Integrated hooks for fetching data related to alert and incident episodes.
- Added UI components for displaying episode details, actions, and notes.
2026-02-10 20:34:53 +00:00
Nawaz Dhandala
147e687bac fix: refactor alert and incident state handling to use state IDs for acknowledgment and resolution 2026-02-10 20:15:46 +00:00
Nawaz Dhandala
b84cebcb10 feat: add hooks and screens for alerts and incidents management
- Implemented `useAlertDetail`, `useAlertStates`, and `useAlertStateTimeline` hooks for fetching alert details, states, and timelines.
- Created `useAlerts` and `useUnresolvedAlertCount` hooks for managing alerts list and unresolved alert counts.
- Developed `useIncidentDetail`, `useIncidentStates`, and `useIncidentStateTimeline` hooks for incident management.
- Added `useIncidents` and `useUnresolvedIncidentCount` hooks for fetching incidents and unresolved incident counts.
- Introduced `ProjectProvider` and `useProject` hook for managing project selection and state.
- Created `AlertsStackNavigator` and `IncidentsStackNavigator` for navigation between alerts and incidents screens.
- Developed `AlertDetailScreen` and `IncidentDetailScreen` for displaying detailed information about alerts and incidents.
- Added `ProjectSelectionScreen` for selecting projects with loading and error handling.
- Implemented utility functions for color conversion and date formatting.
2026-02-10 20:10:37 +00:00
Nawaz Dhandala
7374e3bf9a fix: update UI/UX design philosophy to emphasize native app experience 2026-02-10 18:00:54 +00:00
Nawaz Dhandala
413ba90b02 fix: correct property access for miscData in login function 2026-02-10 17:59:55 +00:00
Nawaz Dhandala
2fd61385bd fix: update login function to structure email and password as objects 2026-02-10 17:58:04 +00:00
Nawaz Dhandala
822bc9f8d5 fix: update newArchEnabled to false and modify start scripts in package.json 2026-02-10 17:54:43 +00:00
Nawaz Dhandala
e53a490606 Merge branch 'master' into release 2026-02-10 16:39:21 +00:00
Nawaz Dhandala
cc53460e7a feat: add README.md for OneUptime Mobile App setup and configuration 2026-02-10 16:01:51 +00:00
Nawaz Dhandala
7d6e0488ba feat: add Firebase Cloud Messaging configuration for native push notifications 2026-02-10 15:58:12 +00:00
Nawaz Dhandala
385a0fb9e5 fix: change deviceType property type to PushDeviceType in UserPush model 2026-02-10 15:34:21 +00:00
Nawaz Dhandala
584b79f48c Merge branch 'master' into mob-phase-1 2026-02-10 15:26:41 +00:00
Nawaz Dhandala
92901b1647 feat: add openSourceDeployment schema and update values.yaml documentation 2026-02-10 15:23:15 +00:00
Nawaz Dhandala
bcbc4f6d99 chore: bump version to 9.5.7 2026-02-10 15:00:30 +00:00
Nawaz Dhandala
04dd1260ac style: improve code formatting for better readability in Register and BasicForm components 2026-02-10 15:00:08 +00:00
Nawaz Dhandala
882f9f6ae4 feat: add support for full row spanning in form fields and conditionally display notification checkbox based on billing status 2026-02-10 14:58:51 +00:00
Nawaz Dhandala
549dc3546b refactor: clean up code formatting and improve readability in Authentication and OpenSourceDeploymentAPI 2026-02-10 14:14:33 +00:00
Nawaz Dhandala
25edcf7d9b feat: add migration for OpenSourceDeployment table and update OnCallDutyPolicyScheduleLayer defaults 2026-02-10 14:13:07 +00:00
Nawaz Dhandala
46378fc3db Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-10 14:11:31 +00:00
Nawaz Dhandala
f9f5bff4ce feat: add Open Source Deployment webhook support and related configuration 2026-02-10 14:11:03 +00:00
Nawaz Dhandala
12b78249c5 feat: rename version field to oneuptimeVersion in OpenSourceDeployment model and API 2026-02-10 13:57:55 +00:00
Nawaz Dhandala
f8cbc3a551 feat: implement Open Source Deployment registration and related database schema 2026-02-10 13:50:56 +00:00
Simon Larsen
670b984cee Merge pull request #2288 from OneUptime/episode-resolve
Episode resolve
2026-02-10 13:29:17 +00:00
Nawaz Dhandala
e677e54ea9 feat: update migration and services to handle allIncidentsResolvedAt and allAlertsResolvedAt fields 2026-02-10 13:28:18 +00:00
Nawaz Dhandala
928a2589c2 feat: remove workspaceProjectAuthTokenId from WorkspaceNotificationRule in migration 2026-02-10 13:20:40 +00:00
Nawaz Dhandala
45f7a86888 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-10 13:12:42 +00:00
Nawaz Dhandala
0fa7848ab9 feat: add migration for allIncidentsResolvedAt and allAlertsResolvedAt fields with index creation 2026-02-10 13:12:10 +00:00
Nawaz Dhandala
ae6e49da8f feat: add allAlertsResolvedAt and allIncidentsResolvedAt fields for resolve delay calculations 2026-02-10 13:08:42 +00:00
Simon Larsen
e80e22b1fa Merge pull request #2285 from OneUptime/inc-episode
feat(AutoResolve): implement resolve delay logic based on incident gr…
2026-02-10 12:42:17 +00:00
Simon Larsen
2adefd1cee Merge pull request #2287 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-10 11:17:17 +00:00
simlarsen
36cbb3159a chore: npm audit fix 2026-02-10 02:40:36 +00:00
Nawaz Dhandala
54909116b9 mobile phase 1 2026-02-09 23:45:17 +00:00
Nawaz Dhandala
4582f6100a feat(MobileApp): enhance UI/UX design philosophy with modern aesthetics and user experience considerations 2026-02-09 22:49:00 +00:00
Nawaz Dhandala
49a01eca8c feat(MobileApp): add UI/UX design philosophy and core design principles to the design document 2026-02-09 22:47:15 +00:00
Nawaz Dhandala
349df0e181 feat(MobileApp): enhance multi-project support with project badges and filters in UI 2026-02-09 22:43:03 +00:00
Nawaz Dhandala
c52116bec1 feat(MobileApp): add design document for OneUptime On-Call mobile app 2026-02-09 22:32:55 +00:00
Nawaz Dhandala
098a18005f feat(ResolveInactiveEpisodes): implement inactivity timeout logic based on incident grouping rules 2026-02-09 22:20:42 +00:00
Nawaz Dhandala
6dbcd69ecd feat(AutoResolve): implement resolve delay logic based on incident grouping rules 2026-02-09 21:49:49 +00:00
Nawaz Dhandala
09a6827709 refactor(Service): streamline incident count template replacement 2026-02-09 21:16:52 +00:00
Nawaz Dhandala
dbb1fa6c18 feat(IncidentEpisodeService): enhance incident count update with dynamic title and description templates 2026-02-09 21:15:56 +00:00
Nawaz Dhandala
cd450bc3b6 feat(migrations): set default value of groupByMonitor to false for Alert and Incident grouping rules 2026-02-09 20:15:15 +00:00
Nawaz Dhandala
047195116d feat(migrations): optimize backfill queries to use MAX instead of COUNT for performance and accuracy 2026-02-09 19:27:12 +00:00
Nawaz Dhandala
564f21388b chore(VERSION): bump version to 9.5.6 2026-02-09 18:21:05 +00:00
Nawaz Dhandala
c69d7c949e feat(templates): reorder service and autoscaler definitions in Helm chart templates 2026-02-09 18:04:54 +00:00
Nawaz Dhandala
dd47b9c3a9 feat(e2e-tests): add CRUD and idempotency tests for oneuptime_file resource 2026-02-09 14:46:40 +00:00
Nawaz Dhandala
ce731cb489 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-09 14:41:34 +00:00
Nawaz Dhandala
f725fdd2d9 feat(ResourceGenerator): implement no-op methods for read, update, and delete operations 2026-02-09 14:41:32 +00:00
Simon Larsen
1aec570c83 Merge pull request #2280 from OneUptime/feat/readme-ai-copilot
docs: add AI Copilot section to README
2026-02-09 14:32:57 +00:00
Jamie Mallers
97b7e15ece docs: add AI Copilot section to README
Highlight the AI agent capabilities - auto-detection, root cause analysis,
and automated code fix PRs. This is our key differentiator and was missing
from the README.
2026-02-09 14:31:03 +00:00
Nawaz Dhandala
7cdac5fe66 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-09 14:28:11 +00:00
Nawaz Dhandala
4add175070 refactor(Monitor): improve code readability by consolidating API ping parameters
refactor(Migration): update comments for clarity and maintainability
fix(MarkdownEditor): adjust code block formatting for consistency in documentation
2026-02-09 14:28:09 +00:00
Nawaz Dhandala
711cfd2f6b feat(MonitorUtil): add tests for URL placeholder resolution and update method visibility 2026-02-09 14:21:05 +00:00
Nawaz Dhandala
6869ee670a fix(VMUtil): skip replacement if variable is not found in storageMap 2026-02-09 14:17:20 +00:00
Nawaz Dhandala
c4d978cc3b feat: add API and Website monitor documentation with dynamic URL placeholders 2026-02-09 14:11:02 +00:00
Simon Larsen
1dffc2fbbe Merge pull request #2279 from OneUptime/feat/ga4-signup-tracking
feat(analytics): add GA4 sign_up and page view tracking
2026-02-09 13:56:18 +00:00
Jamie Mallers
6b0756cd3a feat(analytics): add GA4 sign_up and page view tracking
- Fire sign_up event on successful registration (Accounts/Register.tsx)
- Fire page_view_pricing event on pricing page load
- Fire page_view_demo event on demo page load
- All events use dataLayer.push for GTM/GA4 compatibility
2026-02-09 13:54:44 +00:00
Simon Larsen
fbfa7747e0 Merge pull request #2278 from OneUptime/fluentbit
Fluentbit
2026-02-09 13:14:59 +00:00
Nawaz Dhandala
a7c38dcbf2 refactor(FluentLogsIngestService): improve code readability by formatting function arguments and object properties 2026-02-09 13:14:39 +00:00
Nawaz Dhandala
6b8dd9e8b5 feat(FluentLogsIngestService): enhance log ingestion with structured fields and attributes extraction
test(FluentLogsIngestService): add comprehensive tests for log normalization and attribute extraction
2026-02-09 13:05:52 +00:00
Nawaz Dhandala
c5e7429b3d chore(VERSION): bump version to 9.5.5 2026-02-09 11:54:17 +00:00
Nawaz Dhandala
13ccee4e69 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-09 11:53:31 +00:00
Nawaz Dhandala
f9c9ac5ef0 fix(Migration): optimize backfill queries for project counters using JOINs 2026-02-09 11:53:29 +00:00
Nawaz Dhandala
10654a0a04 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-09 11:07:56 +00:00
Nawaz Dhandala
0d900dca78 fix(StatusPageDomain): change subdomain requirement from required to optional 2026-02-09 11:07:24 +00:00
Nawaz Dhandala
bf5846e7f4 fix(ProductCompare): improve question formatting for clarity in FAQ section 2026-02-08 22:25:06 +00:00
Nawaz Dhandala
9fa48c7a25 chore(VERSION): bump version to 9.5.4 2026-02-08 22:02:16 +00:00
Simon Larsen
9efb070334 Merge pull request #2276 from OneUptime/fix/seo-better-uptime-enhanced
SEO: Add FAQ schema to compare pages + enhance Better Uptime content
2026-02-08 18:46:52 +00:00
Nawaz Dhandala
85e7dd1150 fix(sitemap): update comment format for clarity on blog tag sitemaps removal 2026-02-08 18:16:51 +00:00
Nawaz Dhandala
072f162b6e fix(Project): update create permissions to allow User role 2026-02-08 18:12:26 +00:00
Nawaz Dhandala
9e01b0b75a fix(playwright): install browsers to a fixed path for runtime accessibility 2026-02-08 17:56:59 +00:00
Nawaz Dhandala
3d7b98d1ee fix(deps): update net-snmp to version 3.26.1 2026-02-08 15:37:41 +00:00
Jamie Mallers
62f6900dd2 Merge origin/master - resolve conflict in product-compare.ejs
Keep both:
- Updated meta description from master
- FAQ schema for rich snippets from this branch
2026-02-08 15:20:49 +00:00
Jamie Mallers
51cf4a88bf SEO: Add FAQ schema + enhance Better Uptime comparison content
Changes:
1. Add JSON-LD FAQ schema to all compare pages for rich snippets
2. Expand Better Uptime FAQs from 4 to 8 questions
3. Add more detailed answers covering:
   - Better Uptime → Better Stack rebrand context
   - Self-hosting advantages
   - Detailed pricing comparison
   - Feature differences

Target: /compare/better-uptime at position 13.5 for 'better uptime' query
Expected: Rich snippet eligibility + better content relevance
2026-02-08 09:21:54 +00:00
Simon Larsen
0dfd38d263 Merge pull request #2275 from OneUptime/fix/seo-compare-page-titles
fix(seo): improve compare page title tags for better CTR
2026-02-07 20:44:53 +00:00
Simon Larsen
66424eee24 Merge pull request #2274 from OneUptime/fix/seo-meta-descriptions
fix(seo): unique meta descriptions for product pages
2026-02-07 20:44:14 +00:00
Simon Larsen
93adee4b16 Merge pull request #2273 from OneUptime/fix/seo-noindex-tag-pages
fix(seo): noindex tag pages and remove from sitemap
2026-02-07 20:42:57 +00:00
Jamie Mallers
d7efe2445c fix(seo): improve compare page title tags for better CTR
Changed title pattern from:
'OneUptime vs [Product]: Open-Source Alternative | 2026 Comparison'

To:
'[Product] Alternative - OneUptime | Open Source | 2026 Comparison'

Rationale:
- Puts competitor name first (matches search intent)
- 'Alternative' keyword prominent (what users search for)
- Shorter, more scannable

Also improved meta description to be more action-oriented with clear value props.

Targets: /compare/better-uptime (position 13.5, 803 impressions)
2026-02-07 17:01:18 +00:00
Jamie Mallers
1bf4c52518 fix(seo): unique meta descriptions for product pages
Multiple product pages had identical generic meta descriptions:
'OneUptime monitors websites, APIs, and servers...'

This hurt CTR because Google showed the same text for different pages.

Updated with unique, keyword-rich descriptions:
- /product/status-page: Focus on free, unlimited subscribers, Statuspage alternative
- /product/monitoring: Focus on global locations, alerts, Datadog alternative
- /product/incident-management: Focus on features, integrations
- /product/on-call: Focus on rotations, escalations, PagerDuty alternative
- /about: Focus on open source, GitHub stars, mission

Expected impact: Improved CTR from search results
2026-02-07 16:53:21 +00:00
Jamie Mallers
8348bf6897 fix(seo): noindex tag pages and remove from sitemap
Google Search Console shows 0/10,519 pages indexed. Root cause: 5,000+
thin tag pages are diluting site quality signals and consuming crawl budget.

Changes:
- Add noindex,follow meta tag to blog tag pages (ListByTag.ejs)
- Remove tag sitemaps from sitemap index (Sitemap.ts)

This tells Google to:
1. Stop trying to index tag pages (they're thin content)
2. Still follow links on those pages to discover real content
3. Focus crawl budget on valuable pages (blog posts, product pages)

Expected impact:
- Improved crawl budget efficiency
- Better quality signals for the domain
- Gradual improvement in indexing of valuable pages
2026-02-07 15:49:51 +00:00
Simon Larsen
7f2192206f Merge pull request #2272 from OneUptime/prefix-alert-number
Prefix alert number
2026-02-06 20:50:57 +00:00
Nawaz Dhandala
ddf7636965 Set default number prefixes for incident, alert, and maintenance numbers in ProjectService 2026-02-06 20:48:02 +00:00
Nawaz Dhandala
52514fbb7e Rename parameter onCreate to _onCreate in onCreateSuccess method for clarity 2026-02-06 20:40:21 +00:00
Nawaz Dhandala
2c3521561d Add type annotations to fix ESLint typedef errors for numberResult variables
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 20:31:31 +00:00
Nawaz Dhandala
8d6ef5a277 Refactor alert and incident number display formatting
- Updated multiple components and worker jobs to improve the formatting of alert and incident numbers.
- Ensured consistent use of conditional rendering for alert and incident numbers with prefixes.
- Enhanced readability by using multiline return statements for JSX elements.
2026-02-06 20:27:35 +00:00
Nawaz Dhandala
726ae7ef98 Fix prefix display in UI tables and detail views by adding WithPrefix to selectMoreFields
ModelTable/CardModelDetail only fetch the first key from column field objects.
The WithPrefix fields must be in selectMoreFields to be included in the API query.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 20:19:52 +00:00
Nawaz Dhandala
fde974d968 Add alertNumberWithPrefix support to AlertEpisodeMemberService and UserNotificationRuleService
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 20:08:08 +00:00
Nawaz Dhandala
eae5e026fa Add prefix support to monitor evaluation log incident/alert number display
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 20:00:44 +00:00
Nawaz Dhandala
5b01743e74 Add alertNumberWithPrefix support to AlertOwners Worker notification files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 19:53:01 +00:00
Nawaz Dhandala
2cfc6a5e68 feat: Add migration for new prefix fields in Project, Incident, Alert, and ScheduledMaintenance tables 2026-02-06 19:46:40 +00:00
Nawaz Dhandala
0976df1bee feat: Add custom prefixes for alert, incident, and scheduled maintenance numbers
- Implemented functionality to allow users to set custom prefixes for alert numbers and alert episode numbers in the AlertMoreSettings component.
- Added similar functionality for incident numbers and incident episode numbers in the IncidentMoreSettings component.
- Introduced custom prefixes for scheduled maintenance numbers in the ScheduledMaintenanceMoreSettings component.
- Updated various notification jobs to utilize the new prefix settings for alert, incident, and scheduled maintenance numbers.
- Ensured backward compatibility by maintaining the default '#' prefix when no custom prefix is provided.
2026-02-06 19:43:11 +00:00
Nawaz Dhandala
caa59aea7e Refactor Analytics event tracking for consistent string quoting 2026-02-06 14:46:44 +00:00
Nawaz Dhandala
ab5e0ec3c4 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-02-06 14:43:21 +00:00
Nawaz Dhandala
f4eda526c5 Remove semaphore mutex implementation from AlertEpisodeService and IncidentEpisodeService for simplified episode creation 2026-02-06 14:43:19 +00:00
Nawaz Dhandala
19f347a826 Remove semaphore mutex implementation from AlertService, IncidentService, and ScheduledMaintenanceService for simplified alert and incident creation 2026-02-06 14:39:49 +00:00
Nawaz Dhandala
7eb84c2fb0 Refactor increment methods in ProjectService to use atomicIncrementColumnValueByOne for better code reuse 2026-02-06 14:32:30 +00:00
Nawaz Dhandala
a27f3953ab Add counters for incidents, alerts, and scheduled maintenance to Project model and implement corresponding increment methods 2026-02-06 14:30:16 +00:00
Simon Larsen
4ec162208b Merge pull request #2269 from OneUptime/fix/add-ga4-conversion-tracking
Add GA4 conversion tracking for demo bookings and CTA clicks
2026-02-06 00:00:01 +00:00
Jamie Mallers
13482b13d7 Add GA4 tracking to Analytics module for signup and all events
- All events captured via Analytics.capture() now also push to GA4 dataLayer
- This enables tracking signups (accounts/register) and other events in GA4
- Works alongside existing PostHog tracking
2026-02-05 23:52:33 +00:00
Jamie Mallers
69c0253862 Add GA4 conversion tracking for demo bookings and CTA clicks
- Add GA4 gtag event tracking alongside PostHog for demo bookings
- Add dataLayer push for GTM compatibility
- Add CTA click tracking for 'Get started' and 'Request demo' buttons
- Enable conversion funnel analysis in Google Analytics

This fixes the issue where GA4 Key Events showed 0 conversions
despite demos being booked (only tracked in PostHog previously).
2026-02-05 23:42:10 +00:00
Nawaz Dhandala
92d8b7b425 Add computed property to various database models 2026-02-05 15:23:06 +00:00
Nawaz Dhandala
0ef053dc3d Add computed property to schedule next event column in ScheduledMaintenanceTemplate 2026-02-05 13:52:34 +00:00
Nawaz Dhandala
fa0bd99bc8 Bump version to 9.5.3 2026-02-05 12:58:30 +00:00
Simon Larsen
68b6ca9fd3 Merge pull request #2267 from OneUptime/episode-status-page
Episode status page
2026-02-05 12:58:03 +00:00
Simon Larsen
cd9b711ee4 Merge pull request #2268 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-05 12:56:59 +00:00
Nawaz Dhandala
b05d1652e1 Implement logic to mark episode public notes and state timelines as Skipped for subscriber notifications 2026-02-05 12:52:55 +00:00
Nawaz Dhandala
d971573db0 Refactor code for improved readability and consistency
- Adjusted formatting in PublicNote.tsx for better alignment of imports and function parameters.
- Reformatted episode monitor extraction in Detail.tsx for clarity.
- Enhanced readability of episodes data parsing in List.tsx.
2026-02-05 12:48:13 +00:00
Nawaz Dhandala
5a11518c31 Add episode settings section to Alert Grouping Rules page 2026-02-05 12:47:09 +00:00
Nawaz Dhandala
ce4f41367b Add episode settings section to Incident Grouping Rules page 2026-02-05 12:44:37 +00:00
Nawaz Dhandala
f553726186 Refactor code structure for improved readability and maintainability 2026-02-05 12:32:56 +00:00
Nawaz Dhandala
1bd746b285 Update icon SVG path for improved rendering and clarity 2026-02-05 12:14:41 +00:00
Nawaz Dhandala
82558fda59 Add episode management features to Status Page
- Implement fetching and displaying active incident episodes on the Status Page.
- Introduce episode public notes and state timelines for enhanced episode details.
- Create EpisodeGroup type to structure episode-related data.
- Update Overview component to integrate episodes alongside incidents.
2026-02-05 12:11:41 +00:00
Nawaz Dhandala
3f1fe2bf1c Preserve monitor data in episodes from raw JSON and update serialization logic 2026-02-05 12:00:57 +00:00
Nawaz Dhandala
d00fa80e47 Add monitor mapping and resource filtering for episode events in Detail component 2026-02-05 11:40:37 +00:00
Nawaz Dhandala
dc4805c3b2 Add settings page for incident episodes with routing and UI integration 2026-02-05 11:27:50 +00:00
Nawaz Dhandala
642fb95209 Replace Toggle components with Checkbox in MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm 2026-02-05 11:19:06 +00:00
Nawaz Dhandala
01baf60b2e Add endpoint and logic for retrieving incident episode public note attachments 2026-02-05 10:52:03 +00:00
simlarsen
225679f5d3 chore: npm audit fix 2026-02-05 02:25:19 +00:00
Nawaz Dhandala
51f16e2213 Add public notes feature for incident episodes with routing and UI integration 2026-02-04 21:55:32 +00:00
Nawaz Dhandala
0af23bbacb Add migration for new StatusPage fields and update index 2026-02-04 20:36:14 +00:00
Nawaz Dhandala
7b446a853c Add migration for StatusPage enhancements and OnCallDutyPolicyScheduleLayer defaults 2026-02-04 20:35:43 +00:00
Nawaz Dhandala
df480577ab Clarify comments regarding incident visibility and episode display logic in StatusPageAPI 2026-02-04 20:33:42 +00:00
Nawaz Dhandala
c031cc2af3 Refactor incident query logic to clarify episode visibility criteria on status page 2026-02-04 20:31:26 +00:00
Nawaz Dhandala
ae17820d0d Add subscriber episode notification templates for incident updates 2026-02-04 20:28:37 +00:00
Nawaz Dhandala
f2f3900506 Refactor notification templates and job scripts to replace "Episode" with "Incident" for consistency across the application. 2026-02-04 20:26:49 +00:00
Nawaz Dhandala
4c8b92144c Refactor code for improved readability and consistency: adjust formatting, enhance type annotations, and streamline notification logging in various files. 2026-02-04 20:20:08 +00:00
Nawaz Dhandala
4c45e16f56 Refactor episode handling: remove EpisodeDetail component and update routing; enhance incident and episode event item retrieval 2026-02-04 20:13:25 +00:00
Nawaz Dhandala
53e39724e7 Add episode management features to status page: enable episode display, history, and labels 2026-02-04 20:09:01 +00:00
Nawaz Dhandala
849882d868 Add notification jobs for incident episode public notes and state timelines
- Implemented SendNotificationToSubscribers job for IncidentEpisodePublicNote to notify subscribers about new public notes added to episodes.
- Implemented SendNotificationToSubscribers job for IncidentEpisodeStateTimeline to notify subscribers about state changes of episodes.
- Both jobs include logic for fetching relevant episodes, monitors, and subscribers, and sending notifications via email, SMS, Slack, and Microsoft Teams.
- Added error handling and logging for better traceability of notification processes.
2026-02-04 19:11:44 +00:00
Nawaz Dhandala
e3f8af83e5 Add showIncidentOnStatusPage feature to CriteriaIncident and update forms 2026-02-04 18:30:06 +00:00
Simon Larsen
18a5559116 Merge pull request #2265 from OneUptime/compare-pages-seo-improvement
Improve compare page SEO: add 'open-source alternative' positioning
2026-02-03 15:20:18 +00:00
Jamie Mallers
3c3ecfc698 Enhance compare pages: stronger positioning and CTAs
- Badge: 'Open Source Alternative' with GitHub link (reinforces positioning)
- H1: 'The Open-Source [Competitor] Alternative' (SEO + clear value prop)
- CTA: 'Start free — no credit card' (removes friction)
- Added trust signal: 'Self-host for free or use our cloud. No vendor lock-in.'

These changes make the compare pages more conversion-focused.
2026-02-03 15:16:51 +00:00
Jamie Mallers
c22f7fec46 Improve compare page SEO: add 'open-source alternative' positioning
- Title: 'OneUptime vs [Competitor]: Open-Source Alternative | 2026 Comparison'
- Meta: Highlights open-source, alternative positioning, and all-in-one value prop
- Targets high-intent search terms: '[competitor] alternative', 'open source [competitor]'

Affects all /compare/* pages (Datadog, PagerDuty, New Relic, Statuspage, etc.)
2026-02-03 15:12:45 +00:00
Simon Larsen
75d473f6d7 Merge pull request #2264 from OneUptime/homepage-messaging-update
Update homepage messaging: lead with open-source positioning
2026-02-03 15:04:40 +00:00
Jamie Mallers
5d8f8e248e Update homepage messaging: lead with open-source positioning
- Title: 'OneUptime | The Open-Source Observability Platform'
- Meta: Focus on unified platform, self-hostable
- H1: 'The Open-Source Observability Platform'
- Sub: Emphasize complete reliability stack (monitoring, incidents, status pages, APM)

Part of GTM refresh to improve SEO and conversion.
2026-02-03 14:54:29 +00:00
Simon Larsen
a7c3ea274f Merge pull request #2263 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-02-03 08:13:39 +00:00
simlarsen
da324f49d9 chore: npm audit fix 2026-02-03 02:29:12 +00:00
Nawaz Dhandala
6fd9223ee9 refactor: Improve code formatting for better readability in UserSettings components 2026-02-02 19:36:32 +00:00
Nawaz Dhandala
c062d651e8 chore: Bump version number to 9.5.2 2026-02-02 19:35:12 +00:00
Nawaz Dhandala
1c264ac5a1 feat: Enhance User Settings with Incident On-Call Rules and related components 2026-02-02 19:31:58 +00:00
Nawaz Dhandala
8923a4bff6 feat: Format MicrosoftTeamsIntegration component for improved readability 2026-02-02 18:29:57 +00:00
Nawaz Dhandala
ab4e0cf85f chore: Bump version number to 9.5.1 2026-02-02 18:29:48 +00:00
Nawaz Dhandala
8f63e93eba feat: Replace ComingSoon component with MicrosoftTeamsIntegration for immediate functionality 2026-02-02 18:26:52 +00:00
Nawaz Dhandala
c06697f299 chore: Clean up whitespace in migration file for better readability 2026-02-02 18:21:51 +00:00
Nawaz Dhandala
2590a8d671 feat: Refactor DashboardSideMenu to use sections for better organization and readability 2026-02-02 18:20:55 +00:00
Nawaz Dhandala
e4eadc297b feat: Update Dashboard SideMenu to rename "Overview" to "Monitors" and conditionally add "Monitor Groups" section 2026-02-02 18:05:45 +00:00
Nawaz Dhandala
d0bf351dc1 feat: Add monitorId column and constraints to log tables in migration 2026-02-02 17:56:22 +00:00
Nawaz Dhandala
3234cc7d09 feat: Add migration for monitorId integration and schema updates across log tables 2026-02-02 17:46:50 +00:00
Nawaz Dhandala
0158271e6a feat: Add monitorId support across notification services and logs, and implement Notification Logs page 2026-02-02 17:44:25 +00:00
Nawaz Dhandala
9d50bf2535 chore: Bump version to 9.5.0 2026-02-01 16:19:28 +00:00
Nawaz Dhandala
c8ca2eacc5 fix: Improve descriptions for note reminder intervals and templates in IncidentSlaRule 2026-02-01 16:18:42 +00:00
Nawaz Dhandala
66699901a7 refactor: Simplify function signatures and improve code readability in Sla.tsx 2026-02-01 16:13:20 +00:00
Nawaz Dhandala
68a33eee2f feat: Enhance SLA management by integrating incident state timeline for accurate response and resolution tracking 2026-02-01 16:04:50 +00:00
Nawaz Dhandala
016793d77d feat: Implement SLA rule management with add and remove functionality in IncidentViewSla 2026-02-01 16:00:52 +00:00
Nawaz Dhandala
7b040b659d fix: Update SlaCard to consider incident resolution status for completion state 2026-02-01 15:56:54 +00:00
Nawaz Dhandala
c6db71f383 fix: Convert modelId and projectId to strings for stable dependency references in IncidentViewSla 2026-02-01 15:50:07 +00:00
Nawaz Dhandala
16923c750b feat: Add canReadOnRelationQuery property to IncidentSlaRule model and enhance SLA timers with real-time updates 2026-02-01 15:49:07 +00:00
Nawaz Dhandala
f57173f43c fix: Update sorting field in SLA tracking to use 'slaStartedAt' instead of 'createdAt' 2026-02-01 15:42:45 +00:00
Nawaz Dhandala
9716d138ea refactor: Update fetchStates function type annotation and simplify error handling in EpisodeAlerts and EpisodeIncidents components 2026-02-01 15:34:18 +00:00
Nawaz Dhandala
8e1b6859f5 feat: Add support for incident episode notification rule type and update default title generation to use 'Untitled Episode' 2026-02-01 15:28:38 +00:00
Nawaz Dhandala
9751dd0d5f refactor: Update episode title generation to remove prefix and use 'Untitled Episode' as default 2026-02-01 15:21:47 +00:00
Nawaz Dhandala
e84bd95f49 feat: Add canReadOnRelationQuery property to Alert and Incident models 2026-02-01 14:10:13 +00:00
Nawaz Dhandala
02b76539ab feat: Fetch and display alert and incident states in episode views 2026-02-01 14:07:46 +00:00
Nawaz Dhandala
c40c33773b feat: Add action buttons and current state display for alerts and incidents in episode views 2026-02-01 13:55:49 +00:00
Nawaz Dhandala
b0cebf9338 refactor: Improve code structure and readability in role assignment components 2026-02-01 13:47:39 +00:00
Nawaz Dhandala
674e35dc70 refactor: Improve code readability by formatting and simplifying filter/map functions in various components 2026-02-01 13:44:07 +00:00
Nawaz Dhandala
d5f42141a0 feat: Enhance Episode Member Role Assignments with user selection and role management 2026-02-01 13:41:54 +00:00
Nawaz Dhandala
8fb6da7d41 feat: Add Episode Member Role Assignments form field for incident grouping rules 2026-02-01 13:39:41 +00:00
Nawaz Dhandala
d14e77ee7f feat: Implement role assignment functionality for incident episodes with UI components 2026-02-01 13:29:31 +00:00
Nawaz Dhandala
71e8a70717 feat: Add IncidentEpisodeRoleMember service and model to BaseAPI feature set 2026-02-01 13:20:21 +00:00
Nawaz Dhandala
370bdc6e21 feat: Refactor MonitorCriteria components to use dedicated UI elements for teams, users, and labels 2026-02-01 13:09:07 +00:00
Nawaz Dhandala
d2a5d037c1 feat: Add support for labels, teams, users, and incident roles in monitor criteria components 2026-02-01 13:02:53 +00:00
Nawaz Dhandala
1ffa87d322 feat: Update title of My On-Call Policies card to reflect active assignments 2026-02-01 12:48:45 +00:00
Nawaz Dhandala
28ffde7983 feat: Enhance My On-Call Policies page with project details and improved UI components 2026-02-01 12:48:17 +00:00
Nawaz Dhandala
4655e207a5 feat: Add My On-Call Policies page and integrate routing 2026-02-01 12:44:00 +00:00
Nawaz Dhandala
62a5b216a0 feat: Update collapsible section titles for clarity in Monitor Criteria forms 2026-02-01 12:33:15 +00:00
Nawaz Dhandala
79fb9d18ca feat: Conditionally render Test Monitor Card based on monitor type 2026-02-01 12:28:23 +00:00
Nawaz Dhandala
ba5e8fdaeb feat: Simplify Monitor Criteria section by removing conditional rendering 2026-02-01 12:26:50 +00:00
Nawaz Dhandala
aa31bbab45 feat: Refactor Ownership & Labels section in MonitorCriteriaIncidentForm with improved dropdown handling 2026-02-01 12:22:27 +00:00
Nawaz Dhandala
3c84365d61 feat: Add reassign functionality for member roles with modal confirmation 2026-02-01 12:13:57 +00:00
Nawaz Dhandala
ae59bd8300 feat: Enhance incident member assignment logic to include primary role assignments for creators 2026-02-01 12:08:34 +00:00
Nawaz Dhandala
b868206e82 feat: Improve user assignment flow with enhanced dropdown handling and feedback 2026-02-01 12:05:23 +00:00
Nawaz Dhandala
ddbf971f1f feat: Reorder Owners item in SideMenu for improved accessibility 2026-02-01 12:01:35 +00:00
Nawaz Dhandala
483578ba4d refactor: Remove unused owner teams and users fields from incident creation 2026-02-01 12:00:41 +00:00
Nawaz Dhandala
614cb4413e feat: Enhance user assignment button with disabled state and tooltip for clarity 2026-02-01 11:57:47 +00:00
Nawaz Dhandala
ad43fc2df2 fix: Adjust icon size in MemberRoleAssignment component for better visibility 2026-02-01 11:54:44 +00:00
Nawaz Dhandala
aa2a6deb9e feat: Refactor role assignments to use useRef for better performance and update role assignment handling in IncidentCreate 2026-02-01 11:51:28 +00:00
Nawaz Dhandala
dcb13bb401 feat: Add showEvenIfPermissionDoesNotExist option to incident roles assignment 2026-02-01 11:40:00 +00:00
Nawaz Dhandala
5260364e91 fix lint 2026-01-30 20:38:36 +00:00
Nawaz Dhandala
1938e620bb feat: Update role assignment label to clarify multiple user assignment for incident roles 2026-01-30 20:32:27 +00:00
Nawaz Dhandala
c3fd71dcd4 feat: Enhance incident role assignment functionality with new IncidentRoleFormField component and support for multiple user assignments 2026-01-30 20:24:34 +00:00
Nawaz Dhandala
aba191c533 feat: Implement validation for primary roles to restrict multiple user assignments and update IncidentRoles component to include toggle for multiple user assignment 2026-01-30 20:09:31 +00:00
Nawaz Dhandala
847c019aea feat: Add canAssignMultipleUsers field to IncidentRole and update related components for multi-user assignment 2026-01-30 19:55:13 +00:00
Nawaz Dhandala
edf05944c1 feat: Add roleIcon to MemberRole and IncidentMemberRoleAssignment for enhanced role representation 2026-01-30 19:48:13 +00:00
Nawaz Dhandala
5293876943 feat: Update MemberRoleAssignment to allow single member assignment per role and improve user dropdown options 2026-01-30 19:42:51 +00:00
Nawaz Dhandala
ca7a702c13 feat: Add createdAt field to user selection in IncidentMemberRoleAssignment 2026-01-30 19:37:42 +00:00
Nawaz Dhandala
4020b4b647 feat: Update SideMenu section titles for clarity and consistency 2026-01-30 19:34:44 +00:00
Nawaz Dhandala
650849f4ad feat: Rename Members page to Roles and implement role assignment component 2026-01-30 19:09:06 +00:00
Nawaz Dhandala
9098261ac0 feat: Enhance user role assignment logic by validating role assignments and filtering available users by role 2026-01-30 19:07:28 +00:00
Nawaz Dhandala
70c6abbb86 feat: Add alert and incident episode counts with real-time updates in DashboardHeader 2026-01-30 14:15:52 +00:00
Nawaz Dhandala
23bc5531f0 feat: Add Incident SLA and Incident SLA Rule services and models to BaseAPI 2026-01-30 14:07:55 +00:00
Nawaz Dhandala
20404458e2 refactor: Remove dynamic imports of IncidentService and IncidentSlaService for improved performance 2026-01-30 14:00:44 +00:00
Nawaz Dhandala
31d3ce949d Refactor and clean up code across multiple files
- Added missing commas in migration index.
- Improved type annotations for dynamic imports in IncidentService and IncidentSlaRuleService.
- Simplified logger debug messages in IncidentSlaService and IncidentSlaRuleService.
- Cleaned up JSX formatting in IconPicker, NotificationBellDropdown, RoleLabel, and Header components.
- Enhanced readability by restructuring long lines and removing unnecessary line breaks in various components.
- Updated error handling in fetch functions within DashboardHeader to use concise catch blocks.
- Refactored UserSettings and Incident routes for better readability.
- Improved code consistency and formatting in CheckSlaBreaches job.
2026-01-30 13:50:50 +00:00
Nawaz Dhandala
61ed224ad0 feat: Add Incident SLA and related tables with migration 2026-01-30 13:39:46 +00:00
Nawaz Dhandala
71ea76ee62 feat: Implement Incident SLA Management System
- Added IncidentSlaStatus enum to define SLA status values.
- Created IncidentSlaRulesPage component for managing SLA rules, including documentation and configuration options.
- Developed IncidentViewSla component to display SLA status and deadlines for incidents.
- Implemented CheckSlaBreaches job to monitor SLA breaches and send notifications.
- Created SendNoteReminders job to automate internal and public note reminders based on SLA rules.
2026-01-30 13:03:48 +00:00
Nawaz Dhandala
7a4a0553ca fix: Update fetchData dependencies to use string representations of incidentId and projectId 2026-01-30 12:26:22 +00:00
Nawaz Dhandala
cb57fa4a07 feat: Add new icon types (Compass, Disc, Grid) to Icon component 2026-01-30 12:20:47 +00:00
Nawaz Dhandala
22bc222689 feat: Refactor IconPicker and RoleLabel components for improved icon handling and styling 2026-01-30 12:12:21 +00:00
Nawaz Dhandala
9d96170c42 feat: Add migration for roleIcon column in IncidentRole and update OnCallDutyPolicyScheduleLayer defaults 2026-01-30 12:03:01 +00:00
Nawaz Dhandala
d0f4d21177 feat: Change roleIcon type from string to IconProp in IncidentRole model 2026-01-30 11:59:18 +00:00
Nawaz Dhandala
e9a2167484 feat: Rename icon to roleIcon in IncidentRole model and update references in IncidentRoles and CustomFields components 2026-01-30 11:59:03 +00:00
Nawaz Dhandala
a8af991a80 feat: Add IconPicker component and integrate icon selection in IncidentRoles 2026-01-30 11:52:21 +00:00
Nawaz Dhandala
8bb3a5b7ac feat: Replace Pill with RoleLabel component in IncidentRoles for enhanced role display 2026-01-30 11:45:22 +00:00
Nawaz Dhandala
d0b1efb660 feat: Add isEditable prop to CustomFieldsDetail and set it in UserView 2026-01-30 11:34:24 +00:00
Nawaz Dhandala
4f3259c3b1 feat: Enhance user profile creation with HTTP response handling and validation 2026-01-30 11:31:42 +00:00
Nawaz Dhandala
30b53a90a4 feat: Reorder profile section in SideMenu for improved organization 2026-01-30 11:31:00 +00:00
Nawaz Dhandala
cf8377ceec feat: Add custom fields management for team members and user profiles
- Introduced new models: ProjectUserProfile and TeamMemberCustomField to manage custom fields for users in projects.
- Implemented services for ProjectUserProfile and TeamMemberCustomField for database interactions.
- Created UI components for managing team member custom fields and user-specific custom fields in settings.
- Updated routing to include new pages for custom fields management.
- Added necessary database migrations for new tables and relationships.
- Enhanced side menu in user settings to navigate to custom fields.
2026-01-30 11:28:00 +00:00
Nawaz Dhandala
ffc7dbc35f feat: Update user notification event type for incident episode creation 2026-01-30 11:01:23 +00:00
Nawaz Dhandala
97fd817db4 feat: Enhance change plan API with payment method validation and error handling 2026-01-30 10:50:19 +00:00
Nawaz Dhandala
aa7caaa193 feat: Add validation for payment provider customer and methods before changing plan 2026-01-30 10:48:08 +00:00
Nawaz Dhandala
a05853ea09 feat: Move NotificationBell component to the right section for improved visibility 2026-01-30 10:45:26 +00:00
Nawaz Dhandala
2ba96c093d feat: Update NotificationBell to improve badge count logic and display based on alert types 2026-01-30 10:43:56 +00:00
Nawaz Dhandala
ed3df77ca4 feat: Refactor NotificationBell and related components for improved alert handling and UI consistency 2026-01-30 10:39:35 +00:00
Nawaz Dhandala
9ec363d222 feat: Implement notification system with NotificationBell and related components 2026-01-30 10:29:33 +00:00
Nawaz Dhandala
a090ec2747 feat: Enhance migration and service files for incident roles and alert grouping
- Updated migration file to include new tables and constraints for incident roles and grouping rules.
- Refactored alert grouping engine service for improved readability.
- Adjusted incident episode role member service for better error logging and code clarity.
- Modified data migration to streamline imports and enhance maintainability.
2026-01-29 22:09:38 +00:00
Nawaz Dhandala
9fde4fece9 feat: Add migration for IncidentEpisodeRoleMember and related grouping rules 2026-01-29 22:03:40 +00:00
Nawaz Dhandala
596798801a feat: Add episode configuration fields and role assignments to incident and alert grouping rules 2026-01-29 21:59:13 +00:00
Nawaz Dhandala
dcc87c46b2 feat: Implement Incident Episode Role Member functionality and UI components 2026-01-29 21:51:49 +00:00
Nawaz Dhandala
33fdabaea3 feat: Add migration to assign default incident roles to existing projects 2026-01-29 21:41:30 +00:00
Nawaz Dhandala
35deea863b feat: Refactor incident member role assignment and improve code readability across components 2026-01-29 21:39:29 +00:00
Nawaz Dhandala
2b2bbbdd55 feat: Add incident member role assignment functionality to MonitorIncident and related components 2026-01-29 21:38:41 +00:00
Nawaz Dhandala
d8cd92c504 feat: Update title and description in ListByTag.ejs for improved SEO 2026-01-29 21:38:17 +00:00
Nawaz Dhandala
f6ef2fa97d feat: Add IncidentMemberRoleAssignment component for managing team member roles in incidents 2026-01-29 21:25:03 +00:00
Nawaz Dhandala
8a86f6a94f feat: Implement auto-assignment of Incident Commander during state changes 2026-01-29 21:14:33 +00:00
Nawaz Dhandala
4b30274915 feat: Add incident member notification system with email and WhatsApp templates 2026-01-29 21:09:44 +00:00
Nawaz Dhandala
01f7d7cc78 feat: Refactor routing and add ActiveIncidents and ActiveAlerts components 2026-01-29 20:59:58 +00:00
Nawaz Dhandala
616e64110a feat: Add MigrationName1769719826928 to implement isPrimaryRole and isDeleteable fields in IncidentRole 2026-01-29 20:51:00 +00:00
Nawaz Dhandala
903a72a4e1 feat: Add isPrimaryRole and isDeleteable fields to IncidentRole model and update related service logic 2026-01-29 20:50:17 +00:00
Nawaz Dhandala
699c1d4341 feat: Update MigrationName1769719135546 to include down method and fix formatting 2026-01-29 20:42:13 +00:00
Nawaz Dhandala
078a4e8180 Merge branch 'incident-roles' 2026-01-29 20:39:52 +00:00
Nawaz Dhandala
29232e7052 feat: Add new migration MigrationName1769719135546 to schema migrations 2026-01-29 20:39:29 +00:00
Nawaz Dhandala
a221f7247c feat: Remove startsAt and endsAt fields from IncidentMember model and update related migration 2026-01-29 20:39:12 +00:00
Simon Larsen
c4b5aca463 Merge pull request #2259 from OneUptime/incident-roles
feat: Add Incident Member and Role Management
2026-01-29 20:32:09 +00:00
Nawaz Dhandala
9de4be6661 chore: Remove unnecessary blank lines in SettingsRoutes component 2026-01-29 20:31:57 +00:00
Simon Larsen
a532dcdd5f Merge pull request #2260 from digitalsparky/patch-1
Fix installation command to ensure it can follow the redirect
2026-01-29 20:20:35 +00:00
Simon Larsen
bde09d2326 Merge pull request #2261 from digitalsparky/patch-2
Modify clone instructions for release branch
2026-01-29 20:19:40 +00:00
Matt Spurrier
b36ac68026 Modify clone instructions for release branch
Updated the instructions to clone the repository with only the release branch.

This will save significant bandwidth and disk space by cloning only the release branch as it exists now, rather than the entire repository with its full history.
2026-01-30 04:02:16 +08:00
Matt Spurrier
200a94692e Fix installation command to ensure it can follow the redirect
The install.The URL is a redirect, for curl to follow it, you must use the -L option, otherwise you get an error.

EG:

root@inf1:~# curl https://oneuptime.com/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   107  100   107    0     0    242      0 --:--:-- --:--:-- --:--:--   243
bash: line 1: Found.: command not found
2026-01-30 03:42:58 +08:00
Nawaz Dhandala
3afc3a3302 feat: Add IncidentRole and IncidentMember APIs to BaseAPIFeatureSet 2026-01-29 19:16:23 +00:00
Nawaz Dhandala
fa52c30462 feat: Add Incident Roles page and update routing in incidents and settings 2026-01-29 19:09:19 +00:00
Nawaz Dhandala
c229936d5c Refactor permission arrays in database models to improve formatting consistency
- Updated permission arrays in various database model files to ensure consistent formatting by aligning closing brackets.
- Adjusted the `onBeforeCreate` function in the IncidentMembers component for improved readability.
- Cleaned up descriptions in the Permission helper class for better clarity.
- Added a new migration for IncidentRole and IncidentMember tables with appropriate constraints and indexes.
2026-01-29 18:58:05 +00:00
Nawaz Dhandala
70b2fb8c16 feat: Add IncidentRole and IncidentMember migration with constraints and indexes 2026-01-29 18:54:51 +00:00
Nawaz Dhandala
264613c676 feat: Rename On-Call Users to Members and update related routes and components 2026-01-29 16:52:50 +00:00
Nawaz Dhandala
61209f967f refactor: Remove order field from IncidentRole model and related services 2026-01-29 16:50:59 +00:00
Nawaz Dhandala
f82de89f3f feat: Add Incident Member and Role Management
- Introduced IncidentMember model to manage users assigned to incidents with specific roles.
- Created IncidentRole model to define roles that can be assigned during incident response.
- Implemented IncidentMemberService for CRUD operations on incident members.
- Implemented IncidentRoleService for CRUD operations on incident roles with order management.
- Added OnCallUsers page to display and manage users assigned to incidents.
- Added IncidentRoles settings page to define and manage incident roles.
- Updated RouteMap to include new routes for on-call users and incident roles.
2026-01-29 16:33:52 +00:00
Nawaz Dhandala
b94a095bef feat: add ReadAllProjectResources permission to various models
- Updated TelemetryIngestionKey, TelemetryUsageBilling, User, WhatsAppLog, Workflow, WorkflowLog, WorkflowVariable, WorkspaceNotificationLog, WorkspaceNotificationRule, WorkspaceProjectAuthToken models to include the new ReadAllProjectResources permission in access control settings.
- Introduced ReadAllProjectResources permission in Permission.ts with a description outlining its purpose and scope.
2026-01-29 15:03:22 +00:00
Simon Larsen
c08de3da35 Merge pull request #2258 from OneUptime/monitor-ui
feat: Add support for labels and ownership in Monitor Alert and Incid…
2026-01-29 14:09:25 +00:00
Nawaz Dhandala
748e18fd1b fix: Correct type annotation for updateField function in MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm 2026-01-29 14:09:08 +00:00
Nawaz Dhandala
c0d7c34018 refactor: Improve code readability by formatting multiline expressions and consistent function signatures in Monitor components 2026-01-29 14:04:42 +00:00
Nawaz Dhandala
e249ee6e59 feat: Add support for labels and ownership in Monitor Alert and Incident forms
- Updated MonitorAlert and MonitorIncident classes to handle labels and owner teams/users.
- Enhanced CriteriaAlert and CriteriaIncident types to include labelIds, ownerTeamIds, and ownerUserIds.
- Modified MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm components to support new fields for labels and ownership.
- Integrated dropdown options for labels, teams, and users in MonitorSteps and related components.
- Implemented fetching of labels, teams, and users in MonitorSteps for dynamic dropdowns.
2026-01-29 14:02:55 +00:00
Simon Larsen
9eca0153ce Merge pull request #2257 from OneUptime/monitor-ui
feat: Refactor MonitorStep component to use CollapsibleSection for ad…
2026-01-29 13:34:13 +00:00
Nawaz Dhandala
c4deb0d0b4 feat: Refactor MonitorStep component to use CollapsibleSection for advanced options and improve UI structure
- Introduced CollapsibleSection component for better organization of advanced options in MonitorStep.
- Replaced existing div structures with Card components for improved visual hierarchy.
- Enhanced user experience by adding collapsible sections for API and Website monitor advanced settings.
- Cleaned up code by removing unnecessary comments and consolidating error handling logic.
2026-01-29 13:28:33 +00:00
Simon Larsen
7ecd86eca7 Merge pull request #2256 from elmy-team/fix-missing-redis-existing-secret
Fix missing Redis & ClickHouse existing secrets
2026-01-29 12:09:37 +00:00
Matías Plaza
f3312a2417 fix(helm-chart): add missing existing secret condition for clickhouse 2026-01-29 10:52:33 +01:00
Nawaz Dhandala
e0558a4a0a chore: Bump version to 9.4.13 2026-01-29 09:07:31 +00:00
Nawaz Dhandala
e2a238e3e3 refactor: Simplify imports and improve type annotations in IncidentEpisode services 2026-01-29 09:06:32 +00:00
Nawaz Dhandala
543c62df5a feat: Implement AI-generated postmortem functionality for IncidentEpisode 2026-01-29 09:05:42 +00:00
Matías Plaza
382c838d40 fix(helm-chart): add missing existing secret condition for redis 2026-01-29 10:04:31 +01:00
Nawaz Dhandala
1a88832efc feat: Enhance EpisodePostmortem component with template functionality 2026-01-29 09:01:07 +00:00
Nawaz Dhandala
d1f97a3193 feat: Add canReadOnRelationQuery property to Incident model 2026-01-29 08:58:18 +00:00
Nawaz Dhandala
70a269b662 fix: Update icons in DashboardSideMenu for better clarity 2026-01-29 08:56:23 +00:00
Nawaz Dhandala
a4ae42fd08 feat: Add create episode button to IncidentEpisodesTable component 2026-01-29 08:54:05 +00:00
Simon Larsen
6c0161543a Merge pull request #2255 from OneUptime/snmp-monitor
Snmp monitor
2026-01-29 08:45:54 +00:00
Nawaz Dhandala
4519292cc8 feat: Add migration to rename 'eveluateOverTime' to 'evaluateOverTime' in Monitor table 2026-01-29 08:42:34 +00:00
Nawaz Dhandala
83993fc2a4 fix: Correct spelling of 'evaluateOverTime' in multiple criteria files 2026-01-29 08:38:35 +00:00
Simon Larsen
5340b04b26 Merge pull request #2253 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-29 08:28:58 +00:00
Nawaz Dhandala
2a6003e78f refactor: Add type annotations for functions in SnmpOidEditor and SnmpMonitor 2026-01-29 08:28:23 +00:00
Nawaz Dhandala
bfed03a10e refactor: Improve code formatting and readability in SNMP monitor components 2026-01-29 08:24:51 +00:00
Nawaz Dhandala
d99b20327f feat: Update SNMP monitor implementation and add net-snmp dependency 2026-01-29 08:22:04 +00:00
Nawaz Dhandala
3a317a8b55 feat: Enhance E2E test execution with retry mechanism 2026-01-29 08:09:32 +00:00
Nawaz Dhandala
0c64ba30b0 fix: Correct URL construction in generateBlogSitemapXml function 2026-01-29 08:08:40 +00:00
simlarsen
4400a7e5dd chore: npm audit fix 2026-01-29 02:15:00 +00:00
Nawaz Dhandala
45aab853c4 feat: Add SNMP monitor documentation with configuration and usage details 2026-01-28 23:26:10 +00:00
Nawaz Dhandala
b37c13d347 feat: Enhance monitor destination handling for SNMP monitors 2026-01-28 23:21:32 +00:00
Nawaz Dhandala
d13407494b feat: Implement SNMP monitor support with criteria and view components 2026-01-28 23:06:13 +00:00
Nawaz Dhandala
724ab97874 feat: Add SNMP Monitor functionality with v3 authentication support
- Introduced MonitorStepSnmpMonitor interface for SNMP configuration.
- Implemented SNMP version handling with enums for V1, V2c, and V3.
- Created utility classes for handling SNMP OIDs and v3 authentication parameters.
- Developed SNMP Monitor response structure to capture OID responses and status.
- Added UI components for SNMP Monitor configuration including OID editor and v3 auth form.
- Implemented SNMP query logic with retry mechanism and response time tracking.
- Added type definitions for net-snmp library to support SNMP operations.
2026-01-28 22:56:28 +00:00
Nawaz Dhandala
15e2fdcf48 feat: add IncidentGroupingRule service and router integration 2026-01-28 21:10:37 +00:00
Simon Larsen
3a546f9b5a Merge pull request #2254 from OneUptime/incident-episodes
feat: Add Incident Episode Management Pages and Components
2026-01-28 20:32:17 +00:00
Nawaz Dhandala
291a0f12f1 feat: Enhance Incident Grouping Rules Migration and UI Components
- Updated the migration script for IncidentGroupingRule to improve structure and readability.
- Added new foreign key constraints and indexes to enhance database integrity.
- Refactored DeleteAccount component to improve layout and readability.
- Improved placeholder text formatting in IncidentGroupingRules page for better clarity.
- Added ProjectService import in BillingService to resolve circular dependency.
- Refactored condition checks in IncidentGroupingEngineService for better readability.
2026-01-28 20:27:23 +00:00
Nawaz Dhandala
3d62b67bca feat: add IncidentGroupingRule migration with related tables and constraints 2026-01-28 19:55:03 +00:00
Nawaz Dhandala
4c31c2b651 feat: add incidentEpisodeId to multiple service classes 2026-01-28 19:42:44 +00:00
Nawaz Dhandala
acdcb2d5da feat: add IncidentGroupingRuleService and IncidentGroupingRules page
- Implemented IncidentGroupingRuleService to manage incident grouping rules with automatic deletion of old records if billing is enabled.
- Created IncidentGroupingRules page for managing incident grouping rules, including detailed documentation on grouping logic, match criteria, and configuration options.
- Added UI components for creating, editing, and displaying incident grouping rules with various filtering and grouping options.
2026-01-28 19:31:13 +00:00
Nawaz Dhandala
43084263ab feat: Add tabs for Incident and Incident Episodes in Microsoft Teams and Slack pages 2026-01-28 19:10:10 +00:00
Nawaz Dhandala
1bbc953462 Refactor and clean up code across multiple services and components
- Added missing commas in migration index.
- Removed unused imports in IncidentEpisodeService and UserNotificationRuleService.
- Simplified conditional statements and improved code readability in various services.
- Adjusted formatting for better consistency in code style.
- Enhanced error handling and logging in MicrosoftTeamsIncidentEpisodeActions.
- Updated documentation text in IncidentEpisodeDocs for clarity.
- Improved API call structure in IncidentEpisodesTable and IncidentEpisodeFeed.
- Refactored SlackIncidentEpisodeActions for better readability.
- Cleaned up unnecessary code and improved formatting in various components.
2026-01-28 18:49:22 +00:00
Nawaz Dhandala
7cef3956e8 feat: Add IncidentEpisode migration with related tables and constraints 2026-01-28 18:48:36 +00:00
Nawaz Dhandala
4904a535d1 feat: Add Active Incident Episodes page and integrate with SideMenu 2026-01-28 18:47:26 +00:00
Nawaz Dhandala
5db511036e feat: Add notification handling for Incident Episodes and enhance Push Notification utility 2026-01-28 18:40:39 +00:00
Nawaz Dhandala
8b9023d93d feat: Add incident episode auto-resolution and notification jobs
- Implemented AutoResolve job to automatically resolve inactive incident episodes.
- Created ResolveInactiveEpisodes job to resolve episodes inactive for over 24 hours.
- Added SendCreatedResourceNotification job to notify owners of newly created incident episodes.
- Developed SendNotePostedNotification job to inform owners when a note is posted on an incident episode.
- Introduced SendOwnerAddedNotification job to notify users when they are added as owners of an incident episode.
- Implemented SendStateChangeNotification job to alert owners of state changes in incident episodes.
2026-01-28 18:30:45 +00:00
Nawaz Dhandala
0546d1fb12 feat: Enhance User Notification and OnCall Duty Policy services to support Incident Episode handling 2026-01-28 18:13:09 +00:00
Nawaz Dhandala
d523ae822d feat: Implement Incident Episode services, routes, and notification templates 2026-01-28 18:07:36 +00:00
Nawaz Dhandala
9fd781c083 feat: Add Slack and Workspace message handling for Incident Episodes
- Implemented SlackIncidentEpisodeMessages class to create message blocks for incident episodes in Slack.
- Added IncidentEpisodeWorkspaceMessages class to handle workspace notifications and message blocks for incident episodes.
- Created IncidentEpisodeDocs component to provide a comprehensive guide on incident grouping, including lifecycle, setup steps, and best practices.
2026-01-28 18:00:10 +00:00
Nawaz Dhandala
8d743dbb59 feat: Add Incident Episode creation functionality and related routes 2026-01-28 17:19:15 +00:00
Nawaz Dhandala
5b3e97c10d feat: Add Incident Episode Management Pages and Components
- Implemented Episode Internal Note component for managing private notes related to incident episodes.
- Created Layout component for the Incident Episode view, integrating side menu and breadcrumb navigation.
- Developed Owners component to manage teams and users associated with incident episodes.
- Added Postmortem component for documenting postmortem analyses of incidents.
- Introduced Remediation component for capturing remediation notes for incidents.
- Created Root Cause component to document the root causes of incidents.
- Developed SideMenu for navigating through various sections of the Incident Episode view.
- Implemented State Timeline component to track the status changes of incident episodes.
- Added Episodes and Unresolved Episodes pages for listing all incident episodes and unresolved ones respectively.
2026-01-28 17:10:08 +00:00
Nawaz Dhandala
252a81c9ae chore: bump version to 9.4.12 2026-01-28 15:50:27 +00:00
Nawaz Dhandala
e6b414a94b feat: enhance project fetching in NewAlerts and NewIncidents components with ListResult type 2026-01-28 15:50:15 +00:00
Nawaz Dhandala
f521091f8e feat: update project filter to use projectId and change filter type to EntityArray in NewAlerts and NewIncidents components 2026-01-28 15:46:08 +00:00
Nawaz Dhandala
19e112a8a8 feat: add project filter functionality to NewAlerts and NewIncidents components 2026-01-28 15:33:35 +00:00
Nawaz Dhandala
84dd084dae feat: add saveFilterProps to NewAlerts and NewIncidents components for improved table filtering 2026-01-28 13:08:56 +00:00
Nawaz Dhandala
439c1f8716 style: format code for improved readability in EpisodeCreate component 2026-01-28 12:59:00 +00:00
Nawaz Dhandala
647b713375 feat: add episode creation functionality with form and routing 2026-01-28 12:58:16 +00:00
Nawaz Dhandala
a2e6b7a4fc feat: add Stripe type definitions and improve type safety in Billing and Project services 2026-01-28 12:09:41 +00:00
Nawaz Dhandala
b06bc71a2c refactor: improve logging and code formatting in billing and project services 2026-01-28 12:08:01 +00:00
Nawaz Dhandala
367a80c413 fix: remove unused status field from invoice template and billing service 2026-01-28 12:05:03 +00:00
Nawaz Dhandala
f49e4bd5d0 feat: implement invoice email notification system with template and email handling 2026-01-28 12:01:28 +00:00
Nawaz Dhandala
a74a7e0a9a feat: enhance billing functionality with detailed logging for invoice email processes and Stripe synchronization 2026-01-28 11:52:34 +00:00
Nawaz Dhandala
f4946449f3 feat: add migration to introduce sendInvoicesByEmail column and update defaults for OnCallDutyPolicyScheduleLayer 2026-01-28 11:32:44 +00:00
Nawaz Dhandala
9640732e29 feat: implement Stripe webhook for automatic invoice email sending and add configuration for webhook secret 2026-01-28 11:26:22 +00:00
Nawaz Dhandala
6ef5e409da fix: replace Navigation with window.location for redirect after account deletion 2026-01-28 09:53:57 +00:00
Nawaz Dhandala
bcdfa034f6 feat: add user account deletion functionality with confirmation modal 2026-01-28 09:50:25 +00:00
Nawaz Dhandala
959267a174 feat: update NewAlerts and NewIncidents to use alertNumber and incidentNumber with appropriate types 2026-01-28 09:40:42 +00:00
Nawaz Dhandala
767db415d2 fix: conditionally include incidentNumber in notification payloads 2026-01-27 21:11:50 +00:00
Nawaz Dhandala
7ca81aa9f8 chore: bump version to 9.4.11 2026-01-27 20:42:20 +00:00
Nawaz Dhandala
26bd4c7a90 fix: improve readability of conditional check in Delete method 2026-01-27 20:42:00 +00:00
Nawaz Dhandala
9d29a1d00b Refactor Terraform tests to remove project_id references
- Removed project_id variable and its usage from multiple Terraform test files (23-probe-crud, 24-status-page-crud, 25-status-page-with-domain, 26-monitor-steps-basic, 27-monitor-types, 28-incident-crud, 29-alert-crud, 30-scheduled-maintenance-crud, 31-on-call-duty-policy-crud, 32-monitor-group-crud, 33-team-crud, 35-monitor-with-steps, 36-monitor-types-basic, 37-label-order-idempotency).
- Updated ResourceGenerator to treat project_id as computed-only, inferred from API key authentication.
- Adjusted related logic in resource update and delete operations to exclude project_id from requests.
2026-01-27 20:00:41 +00:00
Nawaz Dhandala
935608d23d fix: format condition for attribute import check in DataSourceGenerator 2026-01-27 18:30:58 +00:00
Nawaz Dhandala
4a3000d3c3 feat: add initial Netscape HTTP cookie file for E2E tests 2026-01-27 18:30:17 +00:00
Nawaz Dhandala
b5df7042f7 fix: correct variable name in label validation checks for idempotency test 2026-01-27 18:30:01 +00:00
Nawaz Dhandala
a345390b9b feat: add URL normalization helpers to avoid drift in resource handling 2026-01-27 18:16:28 +00:00
Nawaz Dhandala
d0a8c049ba feat: add support for 'set' type in data source and resource generation, enhancing collection handling 2026-01-27 18:04:51 +00:00
Nawaz Dhandala
56037adcf0 fix: update alert field to use alertId for episode alerts 2026-01-27 16:18:28 +00:00
Nawaz Dhandala
73e2fcf3c6 feat: implement Episode Alerts table with CRUD functionality and enhanced alert display 2026-01-27 16:13:55 +00:00
Nawaz Dhandala
710bdea813 refactor: remove unused alert feed entry creation logic and related parameters 2026-01-27 15:44:11 +00:00
Nawaz Dhandala
f07ba35310 feat: add RemovedFromEpisode event type and update alert feed creation logic 2026-01-27 15:39:43 +00:00
Nawaz Dhandala
9ef2163bc0 feat: add New Alerts page and integrate with routing 2026-01-27 14:32:38 +00:00
Nawaz Dhandala
1f53a56b8f chore: bump version to 9.4.10 2026-01-27 13:55:36 +00:00
Nawaz Dhandala
6998b63f59 feat: enhance alert data retrieval in notification service for improved accuracy 2026-01-27 13:55:21 +00:00
Nawaz Dhandala
dccddf3ebc refactor: define ResourceInfo type for improved type safety in resource info retrieval 2026-01-27 13:36:43 +00:00
Nawaz Dhandala
2a7d076407 chore: bump version to 9.4.9 2026-01-27 13:33:00 +00:00
Nawaz Dhandala
0e82b17f6b refactor: format code for better readability in notification handling 2026-01-27 13:30:37 +00:00
Nawaz Dhandala
0aa7838fc5 feat: include alert numbers in push notification titles and bodies for note and state change updates 2026-01-27 13:29:52 +00:00
Nawaz Dhandala
b1d243896f feat: update alert episode notification templates to include episode numbers 2026-01-27 13:26:42 +00:00
Nawaz Dhandala
ab70c2c041 Enhance notification templates and services to include alert and incident numbers
- Updated email templates for alerts and incidents to include alertNumber and incidentNumber in the subject and body.
- Modified PushNotificationUtil to incorporate alert and incident numbers in notification titles and messages.
- Adjusted UserNotificationRuleService to pass alertNumber and incidentNumber for notifications.
- Enhanced SendCreatedResourceNotification, SendNotePostedNotification, SendOwnerAddedNotification, and SendStateChangeNotification jobs to include alert and incident numbers in subjects and messages.
- Updated ScheduledMaintenance notification jobs to reflect scheduledMaintenanceNumber in relevant notifications.
2026-01-27 13:19:12 +00:00
Nawaz Dhandala
22b6c5ace0 feat: update email subject and template to include alert episode number 2026-01-27 13:04:04 +00:00
Nawaz Dhandala
ad32579214 feat: enhance alert episode email template with styled alerts list 2026-01-27 13:01:51 +00:00
Nawaz Dhandala
e525cc3708 feat: enhance UserNotificationRuleService to include alert episode members and build alerts list for notifications 2026-01-27 12:56:02 +00:00
Nawaz Dhandala
db7eaacd14 feat: enhance UserNotificationLogTimelineAPI to support Alert Episodes and improve notification handling 2026-01-27 12:52:03 +00:00
Nawaz Dhandala
a549daf9ab refactor: improve code readability by updating comments and formatting in migration and services 2026-01-27 12:45:28 +00:00
Nawaz Dhandala
d9e65ce633 feat: add migration to rename notification rule types in UserNotificationRule 2026-01-27 12:43:00 +00:00
Nawaz Dhandala
be2d33591d refactor: update notification rule types for incidents and alerts 2026-01-27 12:36:00 +00:00
Nawaz Dhandala
88897004a2 refactor: rename fetchSitemap to fetchSitemapXml and update tests for sitemap structure 2026-01-27 12:20:41 +00:00
Simon Larsen
dceccf00fa Merge pull request #2251 from elmy-team/support-existing-secret-clickhouse-redis
Support existing secrets for Redis & ClickHouse
2026-01-27 10:39:44 +00:00
Matías Plaza
f079a2b9e6 feat: support existing secrets for redis & clickhouse 2026-01-27 10:53:29 +01:00
Nawaz Dhandala
4044d705d6 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-01-27 08:44:35 +00:00
Nawaz Dhandala
a2cbe4e241 fix: update containerRef type to remove null from HTMLDivElement reference 2026-01-27 08:43:00 +00:00
Simon Larsen
b509b57bb8 Merge pull request #2250 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-27 08:38:44 +00:00
simlarsen
4a7f27a372 chore: npm audit fix 2026-01-27 02:04:49 +00:00
Nawaz Dhandala
214ac678d3 feat: add triggeredByAlertEpisodeId to on-call related tables and update UserOnCallLogService comments 2026-01-26 23:35:05 +00:00
Nawaz Dhandala
9dabce1b7a feat: add support for alert episode handling in user on-call logs and notifications 2026-01-26 23:34:30 +00:00
Nawaz Dhandala
9bc260847d feat: add migration for triggeredByAlertEpisodeId in on-call related tables 2026-01-26 23:24:27 +00:00
Nawaz Dhandala
229775935e style: improve code formatting and readability in various services 2026-01-26 23:22:27 +00:00
Nawaz Dhandala
668c35ba2e feat: add AcknowledgeAlertEpisode template and update related services for alert episode notifications 2026-01-26 23:21:50 +00:00
Nawaz Dhandala
a808913049 feat: add support for alert episode handling in user on-call logs and notifications 2026-01-26 23:06:20 +00:00
Nawaz Dhandala
54da185280 feat: enhance on-call duty policy execution to support alert episode handling 2026-01-26 22:45:49 +00:00
Nawaz Dhandala
b1bc7bfde4 fix: update canonical link generation in blog post view 2026-01-26 22:43:27 +00:00
Nawaz Dhandala
09d5ce0e1a feat: add support for triggeredByAlertEpisodeId in on-call duty policy execution and related services 2026-01-26 22:36:15 +00:00
Nawaz Dhandala
3935446071 feat: enhance on-call policy execution by adding policy names to feed entry 2026-01-26 22:28:52 +00:00
Nawaz Dhandala
2463dcb2db fix: update alert episode handling in ExecutionLogsTable; add support for triggeredByAlertEpisodeId 2026-01-26 22:26:17 +00:00
Nawaz Dhandala
0eb239a469 feat: implement on-call duty policy execution in episode creation process 2026-01-26 22:21:31 +00:00
Nawaz Dhandala
b865caae7a fix: update comment formatting in AlertEpisodeService for clarity 2026-01-26 22:16:32 +00:00
Nawaz Dhandala
a3e25723af fix: update sorting and resolve logic in AlertEpisodeService; improve clarity in auto-resolve comments 2026-01-26 22:15:14 +00:00
Nawaz Dhandala
bae0338c36 fix: encode tag slugs in AllTagsFilter and Tags partials for proper URL formatting 2026-01-26 22:07:39 +00:00
Nawaz Dhandala
f656f23836 fix: encode tag slugs in generateTagsSitemapXml for proper URL formatting 2026-01-26 22:06:24 +00:00
Nawaz Dhandala
a8a79162e4 fix: ensure consistent response handling in sitemap generation routes 2026-01-26 22:02:57 +00:00
Nawaz Dhandala
04556835b0 feat: add bulk delete action to Team and Users tables 2026-01-26 21:36:51 +00:00
Nawaz Dhandala
84c5e50199 chore: bump version to 9.4.8 2026-01-26 21:13:31 +00:00
Nawaz Dhandala
06fd44ecaf refactor: improve code formatting and consistency across multiple components 2026-01-26 21:12:47 +00:00
Nawaz Dhandala
c535b68056 feat(tests): update icon visibility checks in Input and TextArea tests 2026-01-26 21:03:03 +00:00
Nawaz Dhandala
34c8e4fdec feat(alert): update feed message icons for episode creation and addition 2026-01-26 20:50:39 +00:00
Nawaz Dhandala
bf04796637 feat(subscriber-notification-template): add connected status pages table for linking templates 2026-01-26 20:46:05 +00:00
Nawaz Dhandala
16e6c0c601 feat(alert): add event type for alert added to episode and create corresponding feed entries 2026-01-26 20:39:56 +00:00
Nawaz Dhandala
75a733e9b8 feat(scheduled-maintenance): implement bulk state change functionality for scheduled maintenance events 2026-01-26 20:33:38 +00:00
Nawaz Dhandala
30217a64ec feat(alert): enhance mutex handling in groupAlertWithRule to prevent race conditions 2026-01-26 20:23:28 +00:00
Nawaz Dhandala
488295e303 feat(alert): trigger sidebar badge count refresh on bulk actions 2026-01-26 20:12:55 +00:00
Nawaz Dhandala
973131b70a feat(alert): implement mutex for episode creation to prevent race conditions 2026-01-26 20:07:33 +00:00
Nawaz Dhandala
52cb00a1c4 feat(alert-episode): fetch current state order and name for alert episodes in bulk state change 2026-01-26 20:03:27 +00:00
Nawaz Dhandala
ab0027a042 feat(alert-episode): implement bulk state change functionality for alert episodes 2026-01-26 19:58:46 +00:00
Nawaz Dhandala
26a6d12809 refactor(alert): simplify episode retrieval by removing resolved state checks 2026-01-26 19:52:20 +00:00
Nawaz Dhandala
0bdf74cab2 feat(modal): exclude close button from focus trap in modal 2026-01-26 19:43:07 +00:00
Nawaz Dhandala
dd996539bc feat(alert): implement mutex for episode number generation to prevent race conditions 2026-01-26 19:40:57 +00:00
Nawaz Dhandala
ad2ee2b0d6 feat(alert): make cascadeStateToMemberAlerts public and integrate it into onCreateSuccess 2026-01-26 19:38:59 +00:00
Nawaz Dhandala
ed6630c2d6 feat(alert): update current alert state and handle resolvedAt transitions 2026-01-26 19:34:23 +00:00
Simon Larsen
3af9121d6a Merge pull request #2238 from OneUptime/alert-episode
Alert episode
2026-01-26 19:24:18 +00:00
Nawaz Dhandala
e9d5a560ff Refactor migration files and improve code formatting
- Updated migration files to enhance readability by adjusting indentation and line breaks.
- Added missing commas in the index file for migration imports.
- Improved accessibility attributes in various UI components by ensuring proper aria-labels and roles.
- Refactored key event handlers in UI components for better clarity and consistency.
- Enhanced error message handling in form components to ensure proper display and accessibility.
- Updated legacy function comments for clarity and maintainability.
2026-01-26 19:23:58 +00:00
Nawaz Dhandala
d87b6da7c5 fix(dependencies): update random provider version and adjust lock file handling 2026-01-26 19:19:23 +00:00
Nawaz Dhandala
34d6c8edbe feat(remediation): add remediation notes feature and alert episode feed component 2026-01-26 17:26:27 +00:00
Nawaz Dhandala
e9f63fb1e2 feat(alert): add lastAlertAddedAt and resolvedAt fields to alert selection 2026-01-26 17:18:20 +00:00
Nawaz Dhandala
7a515f7ad8 feat(alert): add priority field to alert selection criteria 2026-01-26 17:13:04 +00:00
Nawaz Dhandala
4564baae70 fix(accessibility): remove skip to main content link for improved keyboard navigation 2026-01-26 17:07:26 +00:00
Nawaz Dhandala
4316fdbf81 fix(vpat): update conformance status for Non-text Contrast to reflect full support 2026-01-26 16:58:08 +00:00
Nawaz Dhandala
be98736f4e fix(modal): correct type definition for modalRef to avoid null type 2026-01-26 16:55:45 +00:00
Nawaz Dhandala
ce7e10e3d9 feat(accessibility): enhance ARIA attributes and keyboard navigation across multiple components for improved accessibility 2026-01-26 16:53:41 +00:00
Nawaz Dhandala
21683de677 feat(accessibility): enhance ARIA roles and attributes across multiple components for improved screen reader support 2026-01-26 16:37:03 +00:00
Nawaz Dhandala
4dddec9966 feat(accessibility): enhance ARIA roles and attributes across components for improved screen reader support 2026-01-26 16:23:47 +00:00
Nawaz Dhandala
b79a287791 feat(accessibility): enhance ARIA attributes and alt text for improved screen reader support 2026-01-26 15:58:59 +00:00
Nawaz Dhandala
6bd4b7257d feat(legal): add VPAT page and update legal navigation 2026-01-26 14:41:48 +00:00
Nawaz Dhandala
438f8f4b6f refactor(AlertEpisodeService): import AlertService to avoid circular dependency 2026-01-26 13:46:25 +00:00
Nawaz Dhandala
75c1fedfba feat(package-lock): add peer dependency flag to multiple packages 2026-01-26 13:41:40 +00:00
Nawaz Dhandala
731a8e8b8f refactor(MarkdownViewer): simplify containerRef declaration in MermaidDiagram component 2026-01-26 13:40:29 +00:00
Simon Larsen
74768efea1 Merge pull request #2249 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-26 13:32:56 +00:00
Nawaz Dhandala
716d05b105 feat(logging): enhance alert processing with detailed debug logs 2026-01-26 13:18:11 +00:00
Nawaz Dhandala
8ea7b26299 feat(migration): add migration for episodeTitleTemplate and titleTemplate adjustments 2026-01-26 12:01:03 +00:00
Nawaz Dhandala
1538852bc4 feat: update title template fields to use LongText type for better flexibility 2026-01-26 11:58:41 +00:00
Nawaz Dhandala
a85607b996 feat(migration): add migration for AlertEpisode and OnCallDutyPolicyScheduleLayer schema updates 2026-01-26 11:58:05 +00:00
Nawaz Dhandala
a53db3b673 feat: rename menu items for clarity in DashboardSideMenu 2026-01-26 11:56:29 +00:00
Nawaz Dhandala
f6ec592cb6 feat: add Active Episodes page and integrate into dashboard routing 2026-01-26 11:54:48 +00:00
Nawaz Dhandala
d2e82fe50e feat(sitemap): implement paginated tags sitemap generation with caching 2026-01-25 18:51:23 +00:00
Nawaz Dhandala
30cb030470 feat(sitemap): enhance sitemap generation with multiple endpoints and caching mechanisms 2026-01-25 18:45:20 +00:00
Nawaz Dhandala
3b84f5cece feat: add comprehensive Dashboard Grafana Parity Plan document outlining improvements and implementation phases 2026-01-24 12:22:39 +00:00
Nawaz Dhandala
7f84f5c34d feat(migrations): add episodeDescriptionTemplate to AlertGroupingRule and update OnCallDutyPolicyScheduleLayer defaults
refactor(AlertEpisodeService): change variable declaration from let to const for users

refactor(AlertGroupingEngineService): improve code readability with comments and formatting

fix(WhatsAppTemplateUtil): format long lines for better readability

refactor(MicrosoftTeamsAlertEpisodeActions): format code for consistency and readability

refactor(MicrosoftTeams): improve readability by formatting conditional statements

refactor(SlackAlertEpisodeActions): format code for better readability

refactor(AlertEpisodeMemberService.test): improve imports and formatting for clarity

refactor(AlertEpisodeService.test): enhance readability with consistent formatting

refactor(AlertGroupingEngineService.test): improve code readability and formatting

refactor(MarkdownViewer): format imports and improve readability

refactor(BaseModelTable): format helpContent type definition for clarity

refactor(OrderedStatesList): format JSX for better readability

fix(AlertEpisodeDocs): format descriptions for consistency

fix(AlertGroupingRules): format helpContent description for clarity

fix(UserSettingsRoutes): format route path for better readability

fix(ResolveInactiveEpisodes): format conditional statements for clarity

fix(SendCreatedResourceNotification): format code for better readability

fix(SendNotePostedNotification): format code for consistency

fix(SendStateChangeNotification): format code for better readability
2026-01-24 11:50:16 +00:00
Nawaz Dhandala
47b42d92c1 Add unit tests for AlertEpisodeService, AlertGroupingEngineService, and AlertGroupingRuleService
- Implement comprehensive tests for AlertEpisodeService covering model instantiation, property accessors, and template rendering.
- Create tests for AlertGroupingEngineService focusing on alert grouping logic, matching criteria, and grouping key generation.
- Develop tests for AlertGroupingRuleService to validate rule properties, match criteria, group settings, and priority ordering.
2026-01-24 11:38:56 +00:00
simlarsen
1928244a8e chore: npm audit fix 2026-01-24 01:54:38 +00:00
Nawaz Dhandala
c3af14c3fe feat: Add title and description template support in AlertEpisode and update related services for dynamic variable handling 2026-01-23 21:26:07 +00:00
Nawaz Dhandala
324666bafe feat: Refactor template variable display in AlertGroupingRules for improved clarity and structure 2026-01-23 21:22:18 +00:00
Nawaz Dhandala
8d4862f39f feat: Add migration for episodeDescriptionTemplate in AlertGroupingRule and update OnCallDutyPolicyScheduleLayer defaults 2026-01-23 21:15:36 +00:00
Nawaz Dhandala
8c42627d46 feat: Add episode description template support and update placeholders in AlertGroupingRules 2026-01-23 21:14:44 +00:00
Nawaz Dhandala
590caa0563 feat: Remove unused ShowAs prop and related ordered states list props from AlertGroupingRulesPage 2026-01-23 21:06:58 +00:00
Nawaz Dhandala
15ac2bf749 feat: Update help content button style in BaseModelTable for improved UI 2026-01-23 20:55:32 +00:00
Nawaz Dhandala
d98103ca94 feat: Add help content support to BaseModelTable and integrate into AlertGroupingRules 2026-01-23 20:49:33 +00:00
Nawaz Dhandala
f8a6354fb4 feat: Update documentation headings in AlertGroupingRules for improved clarity 2026-01-23 20:38:01 +00:00
Nawaz Dhandala
c7cb3b3b20 feat: Enhance MarkdownViewer to handle Mermaid diagrams without additional wrappers 2026-01-23 20:22:53 +00:00
Nawaz Dhandala
978998b3f8 feat: Enhance Mermaid diagram styling in MarkdownViewer component 2026-01-23 20:21:10 +00:00
Nawaz Dhandala
738e464c1e feat: Add 'Group By Service' option to Alert Grouping Rules and implement related database migration 2026-01-23 20:15:58 +00:00
Nawaz Dhandala
8882d62eac chore: update mermaid dependency from 11.4.0 to 11.12.2 in package.json 2026-01-23 19:24:22 +00:00
Nawaz Dhandala
90cd819b0a feat: Add Mermaid diagram support to MarkdownViewer and integrate documentation in AlertGroupingRules 2026-01-23 19:23:47 +00:00
Nawaz Dhandala
a6873c687a feat: Update grouping logic to require explicit enabling of group by options 2026-01-23 19:16:40 +00:00
Nawaz Dhandala
4b54bd6b91 feat: Conditionally display no items message based on create button presence 2026-01-23 18:51:03 +00:00
Nawaz Dhandala
eaf2cbcb71 feat: Remove no items message from Alert Grouping Rules page 2026-01-23 18:46:49 +00:00
Nawaz Dhandala
d9a1876ad4 feat: Add cascade state change functionality for member alerts in AlertEpisodeService 2026-01-23 18:44:18 +00:00
Nawaz Dhandala
c09f75faf0 feat: Add Episode On-Call Rules functionality and related routes 2026-01-23 18:32:19 +00:00
Nawaz Dhandala
674e32b95b feat: add computed properties for SSL ordered and provisioned in StatusPageDomain 2026-01-23 18:20:48 +00:00
Nawaz Dhandala
84cab49386 feat: Add migration for remediation notes and workspace channel updates in AlertEpisode 2026-01-23 17:49:31 +00:00
Nawaz Dhandala
479b83f6bf feat: Implement Alert Episode functionality with Slack and Microsoft Teams integration 2026-01-23 17:33:15 +00:00
Nawaz Dhandala
81ed9e0fc1 fix: correct typo in TerraformPrompt.md regarding provider code generation 2026-01-23 17:28:39 +00:00
Nawaz Dhandala
1f162461ad feat: Add alert episode owner notifications and related email templates
- Implemented findOwners method in AlertEpisodeService to retrieve user and team owners for alert episodes.
- Added new email templates for alert episode owner notifications: AlertEpisodeOwnerAdded, AlertEpisodeOwnerStateChanged, AlertEpisodeOwnerNotePosted, and AlertEpisodeOwnerResourceCreated.
- Created jobs for sending notifications when an owner is added, a note is posted, and when the state of an alert episode changes.
- Updated routes to include new jobs for alert episode owner notifications.
2026-01-23 14:17:32 +00:00
Nawaz Dhandala
ad4f901e2f feat: add alert episode support across services and notification settings 2026-01-23 14:05:00 +00:00
Nawaz Dhandala
a885e2e8a8 feat: add migration for alert episode related fields and constraints 2026-01-23 13:56:25 +00:00
Nawaz Dhandala
8f11156011 feat: Add Alert Episode functionality and Slack integration
- Implemented addNote and hasNoteFromSlackMessage methods in AlertEpisodeInternalNoteService.
- Added isEpisodeAcknowledged method in AlertEpisodeService to check acknowledgment status.
- Enhanced OnCallDutyPolicyService to include triggeredByAlertEpisodeId in logs.
- Updated WorkspaceNotificationRuleService to support Alert Episode conditions.
- Introduced new Slack action types for Alert Episodes.
- Extended NotificationRuleEventType and NotificationRuleConditionCheckOn enums for Alert Episodes.
- Modified WorkspaceConnectionMicrosoftTeams and WorkspaceConnectionSlack components to handle Alert Episodes.
- Created SlackAlertEpisodeActions class for managing Alert Episode actions in Slack.
- Implemented emoji reaction handling for private notes in Alert Episodes.
2026-01-23 13:53:54 +00:00
Nawaz Dhandala
1ef1101134 Merge branch 'master' into release 2026-01-23 13:05:05 +00:00
Nawaz Dhandala
5664ad48dd fix: move git user configuration after repository initialization in publish script 2026-01-23 13:04:50 +00:00
Nawaz Dhandala
e2608f56db feat: add migration for AlertGroupingRuleMonitor and related tables 2026-01-23 12:47:09 +00:00
Nawaz Dhandala
78df267145 feat: add monitor name and description pattern fields to alert grouping rules 2026-01-23 12:45:45 +00:00
Nawaz Dhandala
20e7e68e71 feat: enhance alert grouping rules with match criteria and grouping options 2026-01-23 12:35:30 +00:00
Nawaz Dhandala
877d69f22e feat: add migration for enableTimeWindow column in AlertGroupingRule 2026-01-23 12:16:48 +00:00
Nawaz Dhandala
0791029f4a feat: add enable time window option for alert grouping rules 2026-01-23 12:16:10 +00:00
Nawaz Dhandala
69c91a2c41 Merge branch 'master' into alert-episode 2026-01-23 12:04:34 +00:00
Nawaz Dhandala
499d28c34c Merge branch 'master' into release 2026-01-23 12:01:58 +00:00
Nawaz Dhandala
ec57a9ddbc chore: bump version to 9.4.7 2026-01-23 12:01:46 +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
aaa3c4f602 fix: remove unnecessary constraints and columns from Alert table in migration 2026-01-23 11:57:21 +00:00
Nawaz Dhandala
29842c06e3 feat: add migration for monitor log retention and update alert table structure 2026-01-23 11:56:46 +00:00
Nawaz Dhandala
402ccf01d0 feat: add Data Retention settings page and integrate with global configuration 2026-01-23 11:55:37 +00:00
Nawaz Dhandala
b7114304ee fix: streamline git repository handling in Terraform provider publishing script 2026-01-23 11:51:40 +00:00
Nawaz Dhandala
dca72856a2 fix: configure git user before committing generated Terraform provider files 2026-01-23 11:48:30 +00:00
Nawaz Dhandala
1d7c758096 fix: update import path for ReactElement in CategoryCheckboxTypes 2026-01-23 11:31:50 +00:00
Simon Larsen
1e748365a5 Merge pull request #2245 from OneUptime/snyk-fix-a7af8e60213a832c66f6a2fdddd05e1e
[Snyk] Fix for 1 vulnerabilities
2026-01-23 11:28:56 +00:00
Nawaz Dhandala
a8022762a2 Merge branch 'release' into alert-episode 2026-01-23 11:02:19 +00:00
Nawaz Dhandala
9c1ed659e9 fix(URL): streamline route handling in toString method 2026-01-23 09:24:03 +00:00
Nawaz Dhandala
42accb4204 feat(Migration): add migration for new alert grouping rule features and on-call duty policy updates 2026-01-22 23:46:59 +00:00
Nawaz Dhandala
529e5954d4 feat(AlertEpisodes): add resolve delay, reopen window, and inactivity timeout features 2026-01-22 23:45:48 +00:00
Nawaz Dhandala
75ea34ef9e feat(AlertEpisodeDocs): enhance descriptions and update icons for clarity 2026-01-22 23:32:10 +00:00
Nawaz Dhandala
c4e1b8d97d fix: increase timeout for Terraform E2E tests from 60 to 120 minutes 2026-01-22 23:31:21 +00:00
Nawaz Dhandala
b5626ef352 feat(AlertEpisodeDocs): add on-call policy flow steps and notification scenarios 2026-01-22 23:14:56 +00:00
Nawaz Dhandala
692d15159c feat(Terraform E2E): enhance disk cleanup process and optimize Docker storage management 2026-01-22 23:13:51 +00:00
Nawaz Dhandala
91c163af9e feat(AlertEpisodes): add documentation page for alert episodes and update side menu 2026-01-22 23:05:49 +00:00
Nawaz Dhandala
fe71be64dd refactor: replace dynamic imports with direct imports for service dependencies 2026-01-22 22:58:49 +00:00
Nawaz Dhandala
9e6587cb62 feat(OrderedStatesList): enhance no items message with add new item option 2026-01-22 22:48:05 +00:00
snyk-bot
42b2f58d6a fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DIFF-14917201
2026-01-22 22:34:30 +00:00
Simon Larsen
98afb63880 Merge pull request #2243 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-22 22:33:12 +00:00
Nawaz Dhandala
6d352c8579 Merge branch 'master' into alert-episode 2026-01-22 22:28:57 +00:00
Nawaz Dhandala
21b761ddbf chore(VERSION): bump version to 9.4.6 2026-01-22 22:23:34 +00:00
Nawaz Dhandala
e51009e94d Merge branch 'master' into release 2026-01-22 22:23:21 +00:00
Nawaz Dhandala
619136c9da feat(MailService): enhance email sending response types for SendGrid and SMTP 2026-01-22 21:58:45 +00:00
Nawaz Dhandala
d622334bd3 feat(StatusPageAuthentication): integrate SMTP configuration into status page login and creation processes 2026-01-22 21:51:34 +00:00
Nawaz Dhandala
5508bf6302 feat(StatusPagePrivateUserService): integrate SMTP configuration into status page creation process 2026-01-22 21:44:11 +00:00
Nawaz Dhandala
4ba9151400 feat(dockerignore): add large directories to ignore for Docker builds 2026-01-22 21:42:52 +00:00
Nawaz Dhandala
97fe212d15 feat(ExceptionProductImprovements): add comprehensive plan for enhancing exception tracking features 2026-01-22 21:21:09 +00:00
Nawaz Dhandala
af3738924e feat(MailService): add debug logging for SMTP and SendGrid email responses 2026-01-22 20:57:18 +00:00
Nawaz Dhandala
92f77c7ce2 feat(SCIM): update user name in SCIM request if missing or different 2026-01-22 20:44:11 +00:00
Nawaz Dhandala
ecb54381d8 style(Login.tsx, MasterPassword.tsx, StatusPage.ts): improve code formatting for better readability 2026-01-22 20:29:08 +00:00
Nawaz Dhandala
0a9435ef1a feat(auth): implement safe redirect URL handling to prevent navigation to auth pages 2026-01-22 20:23:18 +00:00
Nawaz Dhandala
2bc52c7b5d Merge branch 'master' into release 2026-01-22 18:11:50 +00:00
Nawaz Dhandala
392b6dda9a chore: bump version to 9.4.5 2026-01-22 18:11:39 +00:00
Nawaz Dhandala
0a6035ed65 style(ProductCompare.ts, GenerateProvider.ts): improve code formatting for better readability 2026-01-22 18:11:21 +00:00
Nawaz Dhandala
70f9444aab feat(svg): add new SVG icons for better integration and visual consistency 2026-01-22 18:07:19 +00:00
Nawaz Dhandala
088333c91c style(pricing.ejs, product-compare.ejs): improve text wrapping and update image styling for better layout 2026-01-22 15:47:30 +00:00
Nawaz Dhandala
7fc7276207 feat(pricing.ejs): enhance Bitcoin payment interaction with clickable text and improved styling 2026-01-22 15:43:20 +00:00
Nawaz Dhandala
631bf12c23 style(pricing.ejs): adjust genesis text styling and update content for clarity 2026-01-22 15:19:28 +00:00
Nawaz Dhandala
5ce158ebf3 Refactor code structure for improved readability and maintainability 2026-01-22 15:18:17 +00:00
Nawaz Dhandala
4684f25f22 easter egg 2026-01-22 15:17:19 +00:00
Nawaz Dhandala
3d36d86bd6 chore(VERSION): bump version to 9.4.4 2026-01-22 13:36:19 +00:00
Nawaz Dhandala
93c017dbab chore(GenerateProvider): add VERSION file generation to ensure proper detection of changes 2026-01-22 13:25:03 +00:00
Nawaz Dhandala
c74204ed1f chore(sitemap): remove outdated sitemap.xml file 2026-01-22 13:12:09 +00:00
Nawaz Dhandala
80125f500c chore(views): update card components to ensure full height for better layout consistency 2026-01-22 12:58:43 +00:00
Nawaz Dhandala
2771efcd87 chore(GoModuleGenerator): update comments for clarity in generateGoMod method
chore(GenerateProvider): format log message for consistency in main function
2026-01-22 12:43:45 +00:00
Nawaz Dhandala
0e27802f1a chore(verify.sh): update monitor verification logic to check for manual with description and remove empty steps check 2026-01-22 12:39:14 +00:00
Nawaz Dhandala
a96c270a94 chore(URL.ts): update toString method to conditionally add route and improve URL construction logic
chore(MonitorStep.ts): remove redundant default monitor assignments in getDefaultMonitorStep method
chore(Port.ts): change toJSON method to return port value as a number instead of string
2026-01-22 12:38:50 +00:00
Nawaz Dhandala
66d76676f5 chore(ResourceGenerator): add sorting for list items to ensure consistent ordering and fix idempotency issues 2026-01-22 12:35:50 +00:00
simlarsen
cc0eb6a4b9 chore: npm audit fix 2026-01-22 02:02:10 +00:00
Nawaz Dhandala
2d687a3275 chore(E2E Tests): refactor verification scripts to use shared library functions and improve validation 2026-01-21 22:23:20 +00:00
Nawaz Dhandala
47bca3fb9b chore(ResourceGenerator): refactor valid ObjectType handling to use dynamic generation from enum 2026-01-21 21:29:29 +00:00
Nawaz Dhandala
79d3548492 chore(ResourceGenerator): add validation for OneUptime ObjectType in resource handling 2026-01-21 21:26:07 +00:00
Nawaz Dhandala
3156302dbc chore(JSON.ts): remove unnecessary blank line in ObjectType enum 2026-01-21 21:15:35 +00:00
Nawaz Dhandala
84307250b7 chore(GoModuleGenerator): update go.mod generation to specify minimum versions and clarify dependency fetching process 2026-01-21 21:13:07 +00:00
Nawaz Dhandala
c3986bd66a chore(GoModuleGenerator): update go.mod to use Go 1.23 and pin dependencies for compatibility with Terraform 1.5+ 2026-01-21 21:08:42 +00:00
Nawaz Dhandala
a4a56bf2c7 chore(GoModuleGenerator): update go.mod to pin additional indirect dependencies for compatibility with Terraform 1.5+ 2026-01-21 21:04:36 +00:00
Nawaz Dhandala
6644523c54 chore(robots.txt): update AI agent access rules and refine API disallow directive 2026-01-21 18:20:50 +00:00
Nawaz Dhandala
44aa046fec chore: update Go version to 'stable' in workflow files 2026-01-21 17:27:08 +00:00
Nawaz Dhandala
da5b9b4955 chore(VERSION): bump version to 9.4.3 2026-01-21 15:59:54 +00:00
Nawaz Dhandala
81dd803b62 Merge branch 'release' 2026-01-21 15:59:39 +00:00
Nawaz Dhandala
efffa82cbf refactor(StatusPageService): simplify conditional check for downtimeMonitorStatuses 2026-01-21 15:56:49 +00:00
Nawaz Dhandala
64b0c9f137 feat(Terraform): update monitor names to use random suffixes for uniqueness 2026-01-21 15:48:15 +00:00
Nawaz Dhandala
a3661e1626 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-01-21 15:46:18 +00:00
Nawaz Dhandala
4115deadc4 feat(Monitor): add monitorId prop to MonitorStep and MonitorSteps components for secret population during testing 2026-01-21 14:58:09 +00:00
Nawaz Dhandala
6fbd112964 fix(ResourceGenerator): enhance handling of complex typed objects in Delete method 2026-01-21 14:55:25 +00:00
Nawaz Dhandala
a171c52c8d feat(tests): refactor E2E tests to use random suffixes for resource names
- Updated multiple test files to replace timestamp-based naming with random suffixes for better uniqueness and idempotency.
- Added random provider to each test file to generate unique identifiers.
- Removed unnecessary lifecycle blocks that ignored changes to resource names.
- Ensured consistent naming conventions across all test cases for clarity and maintainability.
2026-01-21 14:45:46 +00:00
Nawaz Dhandala
4f7d3ed2be feat(E2E Tests): add comprehensive tests for various monitor types with steps and basic configurations 2026-01-21 13:38:49 +00:00
Nawaz Dhandala
9db97b3919 Add E2E tests for OneUptime resources
- Implemented monitor types tests including variable definitions and verification scripts.
- Created incident CRUD tests with various configurations and verification logic.
- Added alert CRUD tests to validate alert creation and configurations.
- Developed scheduled maintenance CRUD tests to ensure proper handling of maintenance events.
- Established on-call duty policy CRUD tests to validate policy creation and configurations.
- Introduced monitor group CRUD tests to verify group creation and uniqueness.
- Created team CRUD tests to validate team creation and configurations.
2026-01-21 13:25:55 +00:00
Nawaz Dhandala
8bc545c90f Add end-to-end tests for OneUptime resources
- Implemented idempotency tests for status pages, monitors, and probes.
- Created Terraform configurations and verification scripts for:
  - StatusPageDomain idempotency (Issue #2236)
  - Monitor CRUD operations with various configurations
  - Probe CRUD operations, ensuring probe_version is a string (Issue #2228)
  - StatusPage CRUD operations, handling server defaults (Issue #2232)
  - StatusPage with domain integration, validating computed fields and server-injected defaults
- Added necessary variable files for configuration.
2026-01-21 13:09:36 +00:00
Nawaz Dhandala
19d1629e37 fix(StatusPageDomain): update access control for create permissions and adjust required fields 2026-01-21 13:01:51 +00:00
Nawaz Dhandala
e7fd472c14 fix(ResourceGenerator): enhance handling of complex object responses in Delete method 2026-01-21 12:33:27 +00:00
Nawaz Dhandala
dd4a1416fc fix(StatusPageService): simplify downtime monitor statuses check 2026-01-21 12:17:25 +00:00
Nawaz Dhandala
09b65b9a5b fix(StatusPageDomain): change CNAME Verification Token requirement to optional 2026-01-21 12:09:11 +00:00
Simon Larsen
8fb1a1daf9 Merge pull request #2239 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-21 09:27:59 +00:00
simlarsen
d3d0dedfee chore: npm audit fix 2026-01-21 02:01:12 +00:00
Nawaz Dhandala
46635f4251 refactor: improve type safety with type aliases for dynamically imported services 2026-01-20 21:09:37 +00:00
Nawaz Dhandala
1068a5d96e refactor: add type annotations for improved type safety and clarity in service imports 2026-01-20 21:00:36 +00:00
Nawaz Dhandala
d1e200a54f Refactor code for improved readability and consistency
- Added missing comma in schema migrations index.
- Reformatted long lines in AlertEpisodeFeedService and AlertEpisodeMemberService for better readability.
- Improved formatting in AlertEpisodeService for destructured variables.
- Enhanced readability in AlertGroupingEngineService by restructuring filter and map functions.
- Cleaned up permission descriptions in Permission.ts for consistency.
- Standardized description formatting in ChangeState and AlertGroupingRules components.
- Improved formatting in Episodes and AlertView components for better readability.
- Added comments for clarity in AutoResolve and BreakInactive jobs.
2026-01-20 20:50:09 +00:00
Nawaz Dhandala
8220b0356c Merge branch 'master' into alert-episode 2026-01-20 20:46:58 +00:00
Nawaz Dhandala
bc9b09aed5 chore: Bump version to 9.4.2 2026-01-20 20:46:03 +00:00
Nawaz Dhandala
6822718c46 feat(SCIM): Normalize operation strings to lowercase in PATCH requests 2026-01-20 20:42:57 +00:00
Nawaz Dhandala
9a935c4e90 feat(AlertEpisode): add services and models for AlertEpisode management 2026-01-20 19:56:41 +00:00
Nawaz Dhandala
6137199e63 feat: add AlertGroupingRule, AlertEpisode, and related tables with foreign key constraints and indexes 2026-01-20 19:42:01 +00:00
Nawaz Dhandala
6e6d989be4 feat: Add Alert Episode Management Features
- Implemented AlertEpisodeViewLayout for displaying episode details.
- Created Owners component to manage team and user ownership of episodes.
- Added RootCause component for documenting the root cause of episodes.
- Developed SideMenu for navigation within the episode view.
- Introduced StateTimeline component to track the status timeline of episodes.
- Created EpisodesPage for listing all alert episodes.
- Added AlertGroupingRulesPage for managing alert grouping rules.
- Implemented UnresolvedEpisodesPage to display active (unresolved) episodes.
- Developed AutoResolve job to automatically resolve episodes based on alert status.
- Created BreakInactive job to resolve inactive episodes after a specified timeout.
2026-01-20 19:35:31 +00:00
Simon Larsen
5a7af27543 Merge pull request #2237 from OneUptime/alert-episode
Alert episode
2026-01-20 19:08:04 +00:00
Nawaz Dhandala
7c422b4384 feat(AlertGrouping): Enhance episode management documentation with ownership, severity, root cause, flapping prevention, manual creation, deletion, UI navigation, and alert relationships 2026-01-20 18:53:00 +00:00
Nawaz Dhandala
b06de38f69 feat(AlertGrouping): Update manual management details and enhance episode title generation guidelines 2026-01-20 18:46:13 +00:00
Nawaz Dhandala
71723675d6 feat(AlertGrouping): Update Alert Model enhancements and add Implementation Q&A for episode state management and grouping logic 2026-01-20 18:41:53 +00:00
Nawaz Dhandala
e699e323cb feat(AlertGrouping): Remove outdated migration and implementation documents; add summary for Alert Grouping feature
- Deleted the detailed migration plan (5-Migration.md) and implementation plan (README.md) for Alert Grouping.
- Introduced a new summary document (Summary.md) outlining key capabilities, data models, grouping types, and on-call policy resolution for the Alert Grouping feature.
2026-01-20 18:32:31 +00:00
Nawaz Dhandala
8e8bc54aed feat: Add on-call policy override fields and behavior to AlertEpisode and AlertGroupingRule models 2026-01-20 18:18:09 +00:00
Nawaz Dhandala
d3cf309aef feat: Add flapping prevention fields and behavior to AlertEpisode model 2026-01-20 18:02:32 +00:00
Nawaz Dhandala
a24f9d37a9 Refactor verify scripts to handle API response wrapper formats
- Added a helper function `unwrap_value` to extract values from API responses that may be wrapped in an object format.
- Updated all verification scripts to use `unwrap_value` for fields such as name, description, color, title, and IDs.
- Enhanced checks for boolean fields to handle cases where the API may not return values due to permission issues.
- Ensured consistency across multiple test scripts for better maintainability and readability.
2026-01-20 18:02:18 +00:00
Nawaz Dhandala
d5332ed494 test: Add idempotency tests for probe_version READ operation 2026-01-20 16:57:30 +00:00
Nawaz Dhandala
23fdd3bfd7 feat: Implement Alert Suppression UI and Migration Plan
- Added UI components and pages for Alert Suppression including:
  - Suppression Rules List Page
  - Create/Edit Suppression Rule Page
  - Suppressed Alerts Log Page
  - Maintenance Windows Calendar View
  - Active Maintenance Banner
  - Quick Maintenance Modal
- Created migration scripts for new database tables:
  - AlertSuppressionGroup
  - AlertSuppressionRule
  - SuppressedAlertLog
  - AlertThrottleState
- Defined rollout strategy and data retention policies for suppressed alerts
- Updated README with implementation plan and architecture diagram
2026-01-20 13:46:10 +00:00
Nawaz Dhandala
714f8b4edf chore: bump version to 9.4.1 2026-01-20 11:05:38 +00:00
Nawaz Dhandala
02f920a152 refactor: improve code formatting and structure in EvaluationLogList and Logs components 2026-01-20 10:50:49 +00:00
Nawaz Dhandala
378663b03c fix: enhance status indicator styles for better visibility in EvaluationLogList 2026-01-20 10:46:29 +00:00
Nawaz Dhandala
78257ebda8 fix: update status indicators in EvaluationLogList for improved clarity 2026-01-20 10:16:23 +00:00
Nawaz Dhandala
d29e876b96 feat: add probeName prop to monitor summary components for enhanced monitoring details 2026-01-20 10:07:52 +00:00
Nawaz Dhandala
88c1e23da9 fix: clean node_modules to prevent permission issues with npm cache in CI 2026-01-20 09:35:58 +00:00
Nawaz Dhandala
cb50f89a12 Refactor code structure for improved readability and maintainability 2026-01-19 21:36:54 +00:00
Simon Larsen
869cc6d2b8 Merge pull request #2234 from OneUptime/terraform-tests
Terraform tests
2026-01-19 21:09:46 +00:00
Nawaz Dhandala
1566bd6a21 Add verification scripts for various resources in E2E tests
- Implemented verify.sh scripts for the following tests:
  - 08-probe: Validate probe resource creation and API response consistency.
  - 09-label-crud: Validate label CRUD operations via API.
  - 10-monitor-status-crud: Validate monitor status CRUD operations via API.
  - 11-incident-severity-crud: Validate incident severity CRUD operations via API.
  - 12-status-page-domain: Validate domain and status page resources via API.
  - 13-status-page-domain-computed-fields: Validate computed fields for status page domains.
  - 14-status-page-server-defaults: Validate server-provided defaults for status pages.
  - 15-monitor-server-defaults: Validate server-provided defaults for monitors.
  - 16-incident-server-defaults: Validate server-provided defaults for incidents.
  - 17-alert-server-defaults: Validate server-provided defaults for alerts.
  - 18-scheduled-maintenance-server-defaults: Validate server-provided defaults for scheduled maintenance events.
  - 19-on-call-duty-policy-server-defaults: Validate server-provided defaults for on-call duty policies.

Each script checks the API responses against expected values derived from Terraform outputs, ensuring resource integrity and consistency.
2026-01-19 21:08:05 +00:00
Nawaz Dhandala
d175841b2a feat: enhance Terraform E2E tests with comprehensive API validation and remove CRUD tests 2026-01-19 19:56:39 +00:00
Nawaz Dhandala
811fb49c2d refactor: update comments for clarity and consistency in DomainService, Domain, and ResourceGenerator 2026-01-19 19:47:37 +00:00
Nawaz Dhandala
290b59dfc9 feat: add Terraform tests for server-provided defaults in incident, alert, scheduled maintenance, and on-call policy configurations 2026-01-19 19:40:56 +00:00
Nawaz Dhandala
acb57b6b32 feat: enable tool-cache in disk space cleanup and add additional disk cleanup step 2026-01-19 19:40:37 +00:00
Nawaz Dhandala
ff1feb1a9f feat: add Terraform test for server-provided defaults in monitor configuration 2026-01-19 19:30:06 +00:00
Nawaz Dhandala
a99c09c05a feat: remove isDefaultValueColumn from TerraformAttribute interface 2026-01-19 19:25:58 +00:00
Nawaz Dhandala
b400965384 feat: enhance resource generation with dynamic plan modifier imports and add tests for server-provided defaults 2026-01-19 19:25:37 +00:00
Nawaz Dhandala
48a9523bb6 Merge branch 'terraform-tests' of https://github.com/OneUptime/oneuptime into terraform-tests 2026-01-19 18:46:22 +00:00
Nawaz Dhandala
aa5ff55a9c feat: refactor domain verification logic to use isTestDomain method for clarity 2026-01-19 18:43:47 +00:00
Nawaz Dhandala
08f8200d5b feat: allow auto-verification for test domains and update Terraform test configurations 2026-01-19 18:29:02 +00:00
Simon Larsen
7030f27076 Potential fix for code scanning alert no. 1311: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-19 18:08:21 +00:00
Nawaz Dhandala
d7611b895b feat: add script to run Terraform tests in package.json 2026-01-19 18:05:41 +00:00
Nawaz Dhandala
ec8afb2d0b refactor: dynamically discover test directories in run-tests.sh 2026-01-19 17:58:57 +00:00
Nawaz Dhandala
81aeb373c4 feat: add Terraform E2E tests for status page domain and computed fields 2026-01-19 17:57:46 +00:00
Nawaz Dhandala
cbc779ae0b feat: add computed property to Full Domain and CNAME Verification Token in StatusPageDomain model 2026-01-19 17:50:16 +00:00
Nawaz Dhandala
9906115faf feat: add transaction execution method to DatabaseService and refactor MonitorProbeService to use it 2026-01-19 17:29:43 +00:00
Nawaz Dhandala
86d60f4688 refactor: improve code comments for clarity in MonitorProbeService and ResourceGenerator 2026-01-19 17:25:11 +00:00
Nawaz Dhandala
d7f329fcff feat: add comprehensive CRUD tests for probe, label, monitor status, and incident severity resources 2026-01-19 17:21:10 +00:00
Nawaz Dhandala
120d36f3dd fix: always import math/big and add helper for converting *big.Float to float64 2026-01-19 14:43:18 +00:00
Nawaz Dhandala
13f22b1611 fix: extract API key value correctly from response in setup-test-account.sh 2026-01-19 14:29:53 +00:00
Nawaz Dhandala
f9a89548e2 fix: remove terraform init step for tests using dev_overrides 2026-01-19 14:27:05 +00:00
Nawaz Dhandala
88c55f9e14 fix: correct provider directory path in run-tests.sh script 2026-01-19 14:24:01 +00:00
Nawaz Dhandala
91965f3cc9 feat: add peer dependency flags in package-lock.json and update .gitignore for test environment script 2026-01-19 14:21:50 +00:00
Nawaz Dhandala
1383b1f3b0 feat: add conditions to disable active monitoring for manual incidents and scheduled maintenance 2026-01-19 14:03:47 +00:00
Nawaz Dhandala
cf45f089af feat: add subscription status checks for claiming monitor probes 2026-01-19 14:01:44 +00:00
Nawaz Dhandala
ecfcbae86b feat: implement atomic claiming of monitor probes using FOR UPDATE SKIP LOCKED 2026-01-19 13:59:57 +00:00
Nawaz Dhandala
b714ad168c chore: add step to free disk space in Terraform E2E tests workflow 2026-01-19 13:49:39 +00:00
Nawaz Dhandala
59d6aeb2b4 refactor: remove cleanup function and associated trap from index.sh 2026-01-19 13:36:45 +00:00
Nawaz Dhandala
be6d122879 fix: update cleanup function to use npm run down instead of docker compose 2026-01-19 13:36:33 +00:00
Nawaz Dhandala
b9fcfd5c61 chore: remove unused cookies.txt file from e2e-tests 2026-01-19 13:29:26 +00:00
Nawaz Dhandala
9e902e5b76 fix: update index.sh file permissions to make it executable 2026-01-19 13:29:22 +00:00
Nawaz Dhandala
4fa44b40c9 refactor: remove wait-for-services script and update index.sh to use npm status-check 2026-01-19 13:27:55 +00:00
Nawaz Dhandala
3baa081850 feat: Implement end-to-end tests for Terraform provider
- Added a new directory structure for E2E tests under E2E/Terraform/e2e-tests.
- Created scripts for managing the test lifecycle: index.sh, wait-for-services.sh, setup-test-account.sh, run-tests.sh, and cleanup.sh.
- Developed README.md to document the E2E testing process and directory structure.
- Created individual test cases for various resources including labels, monitor statuses, incident severities, incident states, status pages, alert severities, and alert states.
- Configured GitHub Actions workflow for automated testing on pull requests and pushes to main branches.
- Added necessary variable files for each test case to define required inputs.
- Included cookies.txt for session management during API interactions.
2026-01-19 13:27:11 +00:00
Nawaz Dhandala
bcc7218091 feat: add implementation plan for Terraform provider end-to-end tests 2026-01-19 12:45:31 +00:00
Nawaz Dhandala
91937ea9bc fix: update .gitignore to include specific Terraform files and exclude general directory 2026-01-19 12:42:04 +00:00
Nawaz Dhandala
79835d411e feat(migrations): add IncomingCallPolicy and related tables with constraints
- Implemented MigrationName1768825402472 to create tables for IncomingCallPolicy, IncomingCallPolicyEscalationRule, IncomingCallLog, IncomingCallLogItem, UserIncomingCallNumber, and IncomingCallPolicyLabel.
- Added necessary indexes and foreign key constraints for data integrity.
- Updated the User table to drop the alertPhoneNumber column and adjusted OnCallDutyPolicyScheduleLayer defaults.
- Updated index file to include the new migration.
2026-01-19 12:25:06 +00:00
Nawaz Dhandala
8a965dcf1a feat: Add IncomingCallPolicy migration and related database schema changes 2026-01-19 12:24:14 +00:00
Nawaz Dhandala
549cbe7102 Revert "fix: Enhance handling of complex object responses in ResourceGenerator"
This reverts commit 5c84699bae.
2026-01-19 11:45:15 +00:00
Nawaz Dhandala
2f727b7707 Remove obsolete migration files and update index
- Deleted migration file for removing alert phone number from User.
- Deleted extensive migration file for IncomingCallPolicy and related tables.
- Deleted migration file for altering OnCallDutyPolicyScheduleLayer and IncomingCallPolicyEscalationRule.
- Updated index file to remove references to deleted migrations.
2026-01-19 11:34:58 +00:00
Nawaz Dhandala
5dd1f1a7f1 chore: Bump version to 9.4.0 2026-01-17 22:47:59 +00:00
Simon Larsen
80defab7b2 Merge pull request #2224 from OneUptime/on-call-route
On call route
2026-01-17 22:46:38 +00:00
Nawaz Dhandala
5dea6fcbad feat: Implement Twilio configuration helper and refactor related code for consistency 2026-01-17 22:46:14 +00:00
Nawaz Dhandala
5e6d5aebff refactor: Add type annotations for function return types in various components 2026-01-17 22:24:20 +00:00
Nawaz Dhandala
d7e8dc3d92 Refactor code for improved readability and maintainability
- Simplified import statements in PhoneNumber.ts and Config.ts.
- Consolidated async function calls in TwilioCallProvider.ts for clarity.
- Enhanced comment formatting and structure in TwilioCallProvider.ts.
- Reformatted SQL migration code for better readability in MigrationName.ts.
- Updated array syntax in Index.ts for consistency.
- Improved formatting and spacing in IncomingCallPolicyEscalationRuleService.ts.
- Standardized JSX formatting in various components for better readability.
- Enhanced conditional rendering logic in IncomingCallPolicies.tsx and Index.tsx.
- Cleaned up unnecessary whitespace and improved code consistency across multiple files.
2026-01-17 22:21:37 +00:00
Nawaz Dhandala
0e21d2755b feat: Add filters prop to IncomingCallPolicyLogViewPage for enhanced data handling 2026-01-17 22:21:02 +00:00
Nawaz Dhandala
52ed66fafe feat: Add Incoming Call Policy Log View and enhance routing and breadcrumbs 2026-01-17 21:56:33 +00:00
Nawaz Dhandala
37215aca51 feat: Update webhook URL handling for Twilio signature validation 2026-01-17 21:40:26 +00:00
Nawaz Dhandala
441cd5c73d feat: Add debug logging for incoming call webhook and Twilio signature validation 2026-01-17 21:38:59 +00:00
Nawaz Dhandala
046e0c00cd feat: Add IncomingCallLog and IncomingCallLogItem APIs for enhanced call management 2026-01-17 21:35:04 +00:00
Nawaz Dhandala
e0a9ab8cfb Enhance Twilio Call Provider and Nginx Configuration
- Updated TwilioCallProvider to support X-Forwarded-Proto and X-Forwarded-Host headers for improved webhook signature validation when behind proxies.
- Enabled trust proxy in StartServer to ensure correct interpretation of forwarded headers.
- Removed outdated incoming call policy documentation.
- Added Nginx configuration to handle X-Forwarded-Proto and X-Forwarded-Host headers, ensuring proper proxy behavior and preventing crashes when services are unavailable.
2026-01-17 21:18:27 +00:00
Nawaz Dhandala
ea47d2bd2c feat: Refactor OnCallDutyScheduleElement and SchedulesElement for improved schedule handling and navigation 2026-01-17 20:51:30 +00:00
Nawaz Dhandala
7b249f55b5 feat: Add migration for updating default values in OnCallDutyPolicyScheduleLayer and IncomingCallPolicyEscalationRule 2026-01-17 20:35:17 +00:00
Nawaz Dhandala
f261fe98f0 feat: Enhance IncomingCallPolicyEscalationRule service with order management and validation in escalation page 2026-01-17 20:34:12 +00:00
Nawaz Dhandala
3070b549e3 feat: Remove auto-generation of order in IncomingCallPolicyEscalationPage for improved item management 2026-01-17 20:18:56 +00:00
Nawaz Dhandala
4731a67ab4 feat: Revamp form structure in IncomingCallPolicyEscalationPage with multi-step navigation and updated field descriptions 2026-01-17 20:18:33 +00:00
Nawaz Dhandala
b204b05bc3 feat: Update notify type selection in IncomingCallPolicyEscalationPage to use dropdown with async options 2026-01-17 20:11:04 +00:00
Nawaz Dhandala
9217d869dd feat: Remove placeholder rendering in IncomingCallPolicyEscalationPage for improved UI clarity 2026-01-17 20:00:45 +00:00
Nawaz Dhandala
02e512e6e8 feat: Add notify type selection to IncomingCallPolicyEscalationPage with validation and auto-ordering 2026-01-17 19:51:25 +00:00
Nawaz Dhandala
475ad54a8f feat: Enhance IncomingCallPolicyEscalationPage with drag-and-drop support and improved field descriptions 2026-01-17 19:46:54 +00:00
Nawaz Dhandala
739cf632e5 feat: Enhance IncomingCallPolicyView to include escalation rules count and improve setup logic 2026-01-17 19:19:58 +00:00
Nawaz Dhandala
e069e94971 feat: Remove rendering of owned numbers and search results in PhoneNumberPurchase component 2026-01-17 19:03:51 +00:00
Nawaz Dhandala
391c9ea2e7 feat: Update webhook URL construction to use environment variables for protocol and host 2026-01-17 19:01:20 +00:00
Nawaz Dhandala
72a6b426ea feat: Refactor IncomingCallPolicyView to consolidate setup steps and improve layout 2026-01-17 18:54:45 +00:00
Nawaz Dhandala
86aca6a48e feat: Update terminology from "purchase" to "reserve" for phone number actions 2026-01-17 18:53:28 +00:00
Nawaz Dhandala
9b81a82eed feat: Add configuration modal for managing phone numbers with options to use existing or buy new 2026-01-17 18:50:05 +00:00
Nawaz Dhandala
c4ab245824 feat: Add IncomingCall icon to IconProp and update SideMenu to use it 2026-01-17 18:46:05 +00:00
Nawaz Dhandala
06cf878446 feat: Implement Twilio configuration modal with loading and no config warning states 2026-01-17 18:26:36 +00:00
Nawaz Dhandala
cd068f9219 feat: Adjust padding and gap in ConceptCards component for improved layout 2026-01-17 15:56:34 +00:00
Nawaz Dhandala
53c0b1fb92 feat: Refactor diagram components to unify color properties and improve UI consistency 2026-01-17 15:54:02 +00:00
Nawaz Dhandala
642a5a2982 feat: Add visual components for incoming call policy documentation including flow steps, escalation chain, and setup steps 2026-01-17 15:40:33 +00:00
Nawaz Dhandala
c0c162cca5 feat: Add documentation page for Incoming Call Policy with detailed setup and escalation flow 2026-01-17 15:34:18 +00:00
Nawaz Dhandala
c94a2db6fa feat: Add Twilio configuration modal for incoming call policy management 2026-01-17 15:28:08 +00:00
Nawaz Dhandala
3b4828eea1 feat: Add option to hide card wrapper in PhoneNumberPurchase component and improve UI for Twilio configuration steps 2026-01-17 14:00:48 +00:00
Nawaz Dhandala
5907bfe4d1 feat: Enhance Incoming Call Policy view with step indicators and Twilio configuration setup 2026-01-17 13:54:05 +00:00
Nawaz Dhandala
a2d9cda7d9 fix: Update dependency in useAsyncEffect to use modelId as a string for consistency 2026-01-17 13:48:43 +00:00
Nawaz Dhandala
a8be03d3c9 fix: Update voiceUrl type to include undefined for better type safety 2026-01-17 13:28:30 +00:00
Nawaz Dhandala
272ae08048 feat: Implement phone number management features including listing owned numbers and assigning existing numbers to policies 2026-01-17 13:25:12 +00:00
Nawaz Dhandala
5f2bda119a feat: Enhance Incoming Call Policy view with phone number routing and Twilio configuration setup 2026-01-17 13:07:50 +00:00
Nawaz Dhandala
64cfeb5400 feat: Add Incoming Call Policy Settings page and update routing and breadcrumbs 2026-01-17 12:56:05 +00:00
Nawaz Dhandala
1e1d3e939e feat: Add Incoming Call Policy and Escalation Rule APIs to BaseAPI feature set 2026-01-17 12:42:34 +00:00
Nawaz Dhandala
6894cae68c feat: Add project SMS notification checks to ensure notifications are enabled and balance is sufficient 2026-01-17 12:38:28 +00:00
Nawaz Dhandala
65b4a8217b feat: Add SMS balance check before sending notifications to prevent low balance issues 2026-01-17 12:35:48 +00:00
Nawaz Dhandala
5452342f2f feat: Enhance Incoming Call Policies page with form steps and improved labels description 2026-01-17 12:27:58 +00:00
Nawaz Dhandala
d1f583fb47 feat: Add project SMS notification checks in UserIncomingCallNumberService 2026-01-17 12:23:47 +00:00
Nawaz Dhandala
41f3a4ce21 fix: Correct default message in IncomingCallPolicy to improve clarity 2026-01-17 11:57:48 +00:00
Nawaz Dhandala
41f151b8eb feat: Add Incoming Call Policy link to navigation and create documentation 2026-01-17 11:55:12 +00:00
Nawaz Dhandala
60276876bd Refactor Incoming Call Policy Jobs
- Removed the `ReleasePhoneNumbersForCancelledSubscriptions` job as it is no longer needed.
- Removed the `SendWarningEmailsForPastDueSubscriptions` job due to redundancy.
- Updated `EmailTemplateType` to remove unused email templates related to incoming call policies.
- Adjusted the schema migrations index to include a trailing comma for consistency.
- Cleaned up imports in `Worker/Routes.ts` by removing references to the deleted jobs.
2026-01-17 11:47:15 +00:00
Nawaz Dhandala
86fb8fbb30 feat: Add migration to update IncomingCallPolicy and related tables 2026-01-17 11:37:11 +00:00
Nawaz Dhandala
5e9b5be0ad refactor: Remove unnecessary create permissions from IncomingCallLog model 2026-01-17 11:34:45 +00:00
Nawaz Dhandala
a9734dd18e refactor: Consolidate Twilio import statements and enhance type definitions for incoming phone number creation 2026-01-17 11:32:22 +00:00
Nawaz Dhandala
511c65a01b refactor: Simplify Twilio config retrieval and improve code formatting 2026-01-17 11:29:08 +00:00
Nawaz Dhandala
a619f323e7 refactor: Remove unused billing-related code and simplify Twilio configuration handling 2026-01-17 11:25:41 +00:00
Nawaz Dhandala
a021ad41ef feat: Remove alert phone number from User model and related migration 2026-01-17 11:04:12 +00:00
Nawaz Dhandala
1eddfff608 refactor: Improve logic for verifying incoming call numbers and user details retrieval 2026-01-17 11:02:17 +00:00
Nawaz Dhandala
578774df08 feat: Add Incoming Call Number Management
- Introduced UserIncomingCallNumber model to manage phone numbers for incoming call routing.
- Implemented UserIncomingCallNumberAPI for verification and resend functionality.
- Created UserIncomingCallNumberService to handle business logic for incoming call numbers.
- Added IncomingCallNumber component for UI management of incoming call numbers.
- Integrated IncomingCallPhoneNumbers page to display and manage incoming call numbers in user settings.
- Updated routing and breadcrumbs to include Incoming Call Policy section.
- Enhanced BaseAPI to include UserIncomingCallNumberAPI.
2026-01-17 10:58:30 +00:00
Nawaz Dhandala
82d0d68a7c refactor: Simplify phone number handling and improve subscription status checks 2026-01-17 09:51:27 +00:00
Nawaz Dhandala
8d9ba58964 refactor: Improve code readability and consistency across multiple files 2026-01-17 09:38:55 +00:00
Nawaz Dhandala
52dbab88f6 feat: Implement subscription cancellation handling for incoming call policies and add related email notifications 2026-01-17 09:29:12 +00:00
Nawaz Dhandala
387ebc9375 feat: Add project-level Twilio configuration support for incoming call policies 2026-01-17 09:17:32 +00:00
Nawaz Dhandala
26f3e5bd5e feat: Implement single webhook endpoint for incoming calls and update related documentation 2026-01-17 08:58:39 +00:00
Nawaz Dhandala
7ed06d7391 Merge branch 'master' into on-call-route 2026-01-16 21:11:29 +00:00
Nawaz Dhandala
3c2811000e refactor: Update comments for clarity in complex object handling in ResourceGenerator 2026-01-16 20:27:48 +00:00
Nawaz Dhandala
5979e4f345 feat: Add title display to SimpleLogViewer component 2026-01-16 20:26:34 +00:00
Nawaz Dhandala
5c84699bae fix: Enhance handling of complex object responses in ResourceGenerator 2026-01-16 20:24:42 +00:00
Simon Larsen
d153fc4cd4 Merge pull request #2229 from OneUptime/scim-log
SCIM log
2026-01-16 19:54:20 +00:00
Nawaz Dhandala
34475f76f9 refactor: Update type annotations for clarity and consistency in SCIM log components 2026-01-16 19:52:26 +00:00
Nawaz Dhandala
6565b7c803 refactor: Improve code formatting in SCIM and SCIM logs components for consistency 2026-01-16 19:47:21 +00:00
Nawaz Dhandala
c63923ed5b fix: Update SCIM user filtering to handle non-email usernames; log adjustments for clarity 2026-01-16 19:19:21 +00:00
Nawaz Dhandala
33d51932c5 refactor: Remove title prop from SimpleLogViewer in SCIM logs tables for consistency 2026-01-16 19:10:51 +00:00
Nawaz Dhandala
557d14106c feat: Enhance SimpleLogViewer with line numbers and height customization; update modal implementations across SCIM logs tables 2026-01-16 19:07:44 +00:00
Nawaz Dhandala
8d5395ae74 refactor: Replace ConfirmModal with Modal and integrate SimpleLogViewer for SCIM logs 2026-01-16 18:51:47 +00:00
Nawaz Dhandala
06e0100ede refactor: Remove unused fields from SCIM logs tables for cleaner display 2026-01-16 18:50:25 +00:00
Nawaz Dhandala
3db29ab264 fix: Update SCIM error logging to handle NotFoundException as a success case 2026-01-16 18:48:13 +00:00
Nawaz Dhandala
7442e36b18 feat: Implement "Unassigned" team management for SCIM provisioning 2026-01-16 18:41:15 +00:00
Nawaz Dhandala
1fa446ec0c feat: Add SCIM logging routes for Project and Status Page 2026-01-16 18:22:39 +00:00
Nawaz Dhandala
ef85d98362 Refactor SCIM configuration components and update modal descriptions
- Added a missing comma in the schema migrations index file.
- Improved formatting of the SCIM Logs table description for better readability.
- Refactored the SCIM settings page to enhance code clarity and maintainability, including restructuring form fields and action buttons.
- Updated SCIM URL confirmation modal to improve user instructions and formatting.
- Enhanced error and success modal handling for bearer token resets in the SCIM pages.
2026-01-16 17:21:27 +00:00
Nawaz Dhandala
46bccfb596 feat: Add migration for SCIM logging tables and constraints 2026-01-16 17:20:19 +00:00
Nawaz Dhandala
f7b2588647 Enhance SCIM logging and execution tracking in StatusPageSCIM API
- Added detailed execution steps tracking throughout the SCIM BulkOperation, ListUsers, GetUser, CreateUser, UpdateUser, and DeleteUser endpoints.
- Improved logging structure to include execution steps, user info, and additional context in SCIM logs.
- Updated SCIMLogger to handle new fields for query parameters, execution steps, user info, and additional context.
- Ensured all error handling paths also log execution steps for better traceability.
2026-01-16 17:15:45 +00:00
Nawaz Dhandala
b4106eb580 feat: Add SCIM logging functionality for projects and status pages
- Implemented ProjectSCIMLog and StatusPageSCIMLog models to store SCIM operation logs.
- Created services for managing ProjectSCIMLog and StatusPageSCIMLog entries with automatic deletion of old logs.
- Developed SCIMLogger utility for creating logs with sanitized sensitive data.
- Added SCIMLogStatus enum to represent the status of SCIM operations.
- Introduced ProjectSCIMLogsTable and StatusPageSCIMLogsTable components for displaying logs in the dashboard.
- Enhanced logging with detailed request/response information and error handling.
2026-01-16 16:42:10 +00:00
Nawaz Dhandala
de05f727d7 fix: Ensure tenantid is consistently set to an empty string in getDefaultHeaders method 2026-01-16 16:11:47 +00:00
Nawaz Dhandala
5a3d6d9ccc fix: Update tenantid in getDefaultHeaders method to use an empty string instead of null 2026-01-16 15:36:26 +00:00
Nawaz Dhandala
7d5f813bac chore: Bump version to 9.3.22 2026-01-16 14:35:06 +00:00
Nawaz Dhandala
d4cb2587c9 chore: Bump version to 9.3.21 2026-01-16 12:16:46 +00:00
Nawaz Dhandala
75ca86d92d refactor: Improve code formatting for better readability in StartAndEndDate and Input components 2026-01-16 12:16:37 +00:00
Nawaz Dhandala
ddf3dcd8a8 feat: Add resetSecondsAndMilliseconds method to OneUptimeDate class 2026-01-16 12:16:02 +00:00
Nawaz Dhandala
bc1a30f877 fix: Update date conversion methods to use Clickhouse format 2026-01-16 12:10:58 +00:00
Nawaz Dhandala
194d87041c feat: Add option to display seconds in date formatting for filters 2026-01-16 12:07:29 +00:00
Nawaz Dhandala
ba950928a4 feat: Add support for seconds in datetime-local input 2026-01-16 12:05:18 +00:00
Nawaz Dhandala
449f780201 refactor: Clean up tenant ID property declaration in API class 2026-01-16 11:37:01 +00:00
Nawaz Dhandala
b95fe3ad4f chore: Bump version to 9.3.20 2026-01-16 11:36:34 +00:00
Nawaz Dhandala
0dc3e5fe8d refactor: Remove unused props initialization in hasReadAccess method 2026-01-16 11:20:15 +00:00
Nawaz Dhandala
36e0b18f13 refactor: Remove redundant access check in hasReadAccess method 2026-01-16 11:19:45 +00:00
Nawaz Dhandala
c9e1a3b2b6 fix: Add null tenant ID to default headers in API class 2026-01-16 11:04:21 +00:00
Nawaz Dhandala
1a15e446ff refactor: Remove redundant comment about project ID validation 2026-01-16 10:29:52 +00:00
Nawaz Dhandala
3947b0bba1 fix: Enhance UUID validation in ObjectID and ProjectUtil classes 2026-01-16 10:29:20 +00:00
Simon Larsen
3968428f0c Merge pull request #2225 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-15 08:04:56 +00:00
simlarsen
79b36c5b27 chore: npm audit fix 2026-01-15 01:57:09 +00:00
Nawaz Dhandala
3f24c910c0 feat: Introduce NotificationWebhookHost for consistent webhook URL construction 2026-01-14 21:57:13 +00:00
Nawaz Dhandala
8619ba379a feat: Validate webhook signature for incoming call and dial status callback 2026-01-14 21:49:18 +00:00
Nawaz Dhandala
34396c764e feat: Enhance call logging by creating logs early and updating statuses for various failure scenarios 2026-01-14 21:43:45 +00:00
Nawaz Dhandala
7ab6b8e135 feat: Remove redundant properties and access controls from IncomingCallPolicy model 2026-01-14 21:40:21 +00:00
Nawaz Dhandala
54c7955c78 feat: Simplify incoming call handling by removing concurrent call checks and related properties 2026-01-14 21:38:07 +00:00
Nawaz Dhandala
d5ae25545c feat: Refactor call cost handling by introducing configuration constants for minimum balance and price multipliers 2026-01-14 21:35:56 +00:00
Nawaz Dhandala
f449191f84 feat: Refactor Incoming Call and Phone Number handling, update icons and improve data validation 2026-01-14 21:31:57 +00:00
Nawaz Dhandala
3168b57e28 feat: Add Incoming Call Policy management features
- Implement IncomingCallLogItemService, IncomingCallLogService, IncomingCallPolicyService, and IncomingCallPolicyEscalationRuleService for handling database operations.
- Define types for call providers, including AvailablePhoneNumber, PurchasedPhoneNumber, and DialOptions.
- Create IncomingCallStatus enum to manage call statuses.
- Develop IncomingCallPolicies page with model table for managing incoming call policies.
- Add delete functionality for IncomingCallPolicy with a dedicated Delete component.
- Implement escalation rules management for IncomingCallPolicy with a dedicated Escalation component.
- Create detailed view for IncomingCallPolicy with Labels and status indicators.
- Establish layout and side menu for IncomingCallPolicy management.
- Add logs page to view incoming call history associated with policies.
2026-01-14 21:14:53 +00:00
Nawaz Dhandala
dbff165c34 Merge branch 'master' into on-call-route 2026-01-14 20:36:09 +00:00
Nawaz Dhandala
25c3cf8aec feat: Update migration to add new indexes and alter table defaults for OnCallDutyPolicyScheduleLayer 2026-01-14 20:29:21 +00:00
Nawaz Dhandala
0c0fb1be2d feat: Add migration to update incoming email monitor indexes and alter table defaults 2026-01-14 20:26:47 +00:00
Nawaz Dhandala
497394e5ee feat: Enhance Incoming Call Policy with cost deduction timing, webhook security, and user phone number verification flow 2026-01-14 19:45:41 +00:00
Nawaz Dhandala
bdc9683c04 feat: Revamp Incoming Call Policy to support provider-agnostic phone number management and enhance API endpoints 2026-01-14 19:36:50 +00:00
Nawaz Dhandala
ad5372e354 feat: Enhance Incoming Call Policy with phone number purchasing flow, API endpoints, and UI components 2026-01-14 19:18:14 +00:00
Nawaz Dhandala
72a31714a8 feat: Add Incoming Call Policy implementation plan with database models, API endpoints, and UI components 2026-01-14 19:01:17 +00:00
Nawaz Dhandala
bccf8c116b fix: Remove backtick content from code elements in prose styling 2026-01-14 18:09:02 +00:00
Nawaz Dhandala
6999849b7d feat: Update SendGrid webhook handling to include path secret for validation and enhance documentation 2026-01-14 18:07:21 +00:00
Nawaz Dhandala
44c71bff85 feat: Add inboundEmail configuration to values schema and bump version to 9.3.19 2026-01-14 17:53:10 +00:00
Nawaz Dhandala
3870a9ed08 feat: Add support for Mermaid diagrams in Markdown renderer and update navigation structure 2026-01-14 17:03:17 +00:00
Nawaz Dhandala
31fca8c50f refactor: Format cardSelectOptions for improved readability 2026-01-14 16:34:08 +00:00
Nawaz Dhandala
7e8c6b42c3 chore: Bump version to 9.3.18 2026-01-14 16:32:50 +00:00
Nawaz Dhandala
5fb9357ad2 refactor: Update icon for Server / VM monitor type for improved clarity 2026-01-14 16:32:33 +00:00
Nawaz Dhandala
60c01b2180 refactor: Update CardSelect component styles for improved visual consistency 2026-01-14 16:26:02 +00:00
Nawaz Dhandala
760f1ea2d6 refactor: Update icons for Manual, Traces, and Metrics monitor types for improved clarity 2026-01-14 16:23:35 +00:00
Nawaz Dhandala
d2c2f66b66 feat: Add CardSelect component and integrate with Monitor creation form 2026-01-14 16:12:56 +00:00
Nawaz Dhandala
3631a48d83 chore: Bump version to 9.3.17 2026-01-14 15:37:07 +00:00
Simon Larsen
5d3d344110 Merge pull request #2223 from OneUptime/incoming-email-monitor
Incoming email monitor
2026-01-14 15:36:39 +00:00
Nawaz Dhandala
ec2105d916 refactor: Simplify SendGridInboundConfig definition and enhance type clarity for attachments 2026-01-14 15:35:35 +00:00
Nawaz Dhandala
821cda573a refactor: Clean up comments and formatting in various files for better readability 2026-01-14 15:32:10 +00:00
Nawaz Dhandala
537b257e1d fix: Update Destination URL in SendGrid Inbound Email documentation 2026-01-14 15:29:17 +00:00
Nawaz Dhandala
319becae1b feat: Update package.json and package-lock.json to include multer and its types 2026-01-14 14:48:50 +00:00
Nawaz Dhandala
7806bb9f91 feat: Move MultipartFormDataMiddleware to a new file for better organization 2026-01-14 14:28:50 +00:00
Nawaz Dhandala
70ceccf3c1 feat: Add multer middleware for handling multipart/form-data in IncomingEmail webhook 2026-01-14 14:26:27 +00:00
Nawaz Dhandala
68034b8eaf feat: Add functionality to reset Incoming Email Secret Key in MonitorCriteria 2026-01-14 11:17:13 +00:00
Nawaz Dhandala
66ed8fd9aa feat: Update DataToProcess to include IncomingEmailMonitorRequest and refactor IncomingEmail processing 2026-01-14 09:27:01 +00:00
Simon Larsen
38508f36b4 Merge pull request #2220 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-14 09:22:43 +00:00
Nawaz Dhandala
691227dfef feat: Add INBOUND_EMAIL_DOMAIN to frontend environment variable allow list 2026-01-14 09:19:59 +00:00
Nawaz Dhandala
7ed8372c4f feat: Refactor IncomingEmailMonitor to check online status and update documentation link 2026-01-14 09:17:47 +00:00
Nawaz Dhandala
e9d53a9e3b feat: Add IncomingEmailMonitor heartbeat check functionality 2026-01-14 09:14:41 +00:00
Nawaz Dhandala
3801915850 feat: Enhance MonitorCreate to utilize MonitorTypeHelper for interval validation 2026-01-14 09:08:42 +00:00
simlarsen
d83e4684c4 chore: npm audit fix 2026-01-14 02:01:38 +00:00
Nawaz Dhandala
f6897e776d feat: Add Incoming Email criteria handling for online and offline states in MonitorCriteriaInstance 2026-01-13 23:11:08 +00:00
Nawaz Dhandala
e8a2c5eb7e feat: Update Self Hosted navigation links in DocsNav 2026-01-13 22:34:10 +00:00
Nawaz Dhandala
91e8fffbe1 feat: Add Inbound Email configuration for Incoming Email Monitor feature 2026-01-13 22:20:43 +00:00
Nawaz Dhandala
bd0ef197d9 feat: Refactor Incoming Email processing to use unified Probe Ingest queue and remove legacy code 2026-01-13 22:17:05 +00:00
Nawaz Dhandala
05c15ddd09 feat: Enhance Inbound Email configuration handling and improve error messaging 2026-01-13 22:12:21 +00:00
Nawaz Dhandala
7b99b0214d feat: Update Incoming Email Monitor webhook endpoint and improve Nginx configuration 2026-01-13 22:10:34 +00:00
Nawaz Dhandala
4b738ef85a feat: Remove Incoming Email Ingest Hostname configuration 2026-01-13 22:10:02 +00:00
Nawaz Dhandala
6c9879003e feat: Add Incoming Email Monitor documentation and navigation links 2026-01-13 22:07:19 +00:00
Nawaz Dhandala
c9e4ac526a feat: Add Incoming Email Monitor functionality
- Implemented Incoming Email Monitor type in MonitorService.
- Created IncomingEmailCriteria for evaluating email criteria.
- Added IncomingEmailMonitorRequest type for handling incoming email data.
- Developed API endpoint for processing incoming email webhooks.
- Introduced queue service for managing incoming email ingestion jobs.
- Enhanced UI components to display incoming email monitor details.
- Updated criteria filter utility to support email-related checks.
- Integrated email processing into the existing monitoring framework.
2026-01-13 21:57:31 +00:00
Nawaz Dhandala
a59eccdd9f chore: Bump version to 9.3.16 2026-01-13 10:55:47 +00:00
Nawaz Dhandala
b484b9b989 feat: Update button title from "Watch Video" to "Watch Demo" in CardModelDetail, BaseModelTable, and Builder components 2026-01-13 10:55:26 +00:00
Nawaz Dhandala
c63202150d feat: Add responsive visibility for documentation and video buttons in CardModelDetail and BaseModelTable components 2026-01-13 10:49:02 +00:00
Nawaz Dhandala
66d4e0fe62 feat: Add video link support across multiple components for enhanced user guidance 2026-01-13 10:47:27 +00:00
Nawaz Dhandala
2a49ea987c link documentation to cards 2026-01-13 09:27:56 +00:00
Nawaz Dhandala
5c334f6476 feat: Add documentation link support in CardModelDetail and BaseModelTable components 2026-01-13 09:19:19 +00:00
Nawaz Dhandala
cca0d53f56 chore: Bump version to 9.3.15 2026-01-12 22:07:24 +00:00
Nawaz Dhandala
e477948b16 style: Format code for improved readability and consistency across multiple files 2026-01-12 22:07:04 +00:00
Nawaz Dhandala
2adaa81af4 feat: Set default collapsed state for Settings in SideMenu across multiple pages 2026-01-12 22:06:17 +00:00
Nawaz Dhandala
f22f18734f refactor: Update route mappings and clean up unused page maps in settings 2026-01-12 21:56:15 +00:00
Nawaz Dhandala
2d52126da4 Add Status Page Announcement and Subscriber Notification Templates
- Implement StatusPageAnnouncementTemplateView for viewing and managing status page announcement templates.
- Create StatusPageAnnouncementTemplates for listing and managing all announcement templates.
- Add StatusPageCustomFields for managing custom fields related to status pages.
- Introduce SubscriberNotificationTemplateView for viewing and managing subscriber notification templates.
- Create SubscriberNotificationTemplates for listing and managing all subscriber notification templates.
2026-01-12 21:49:38 +00:00
Nawaz Dhandala
707f35d12f feat: Implement alert suppression rules with parent-child relationship and notification suppression 2026-01-12 19:18:20 +00:00
Nawaz Dhandala
3d45986b5a chore: Bump version to 9.3.14 2026-01-12 18:31:16 +00:00
Nawaz Dhandala
1b498ca5fa refactor: Improve fallback comment for tenant ID retrieval in ModelAPI 2026-01-12 18:30:58 +00:00
Nawaz Dhandala
ce7ed97281 feat: Add fallback for tenant ID retrieval in ModelAPI when project data is not fully loaded 2026-01-12 18:30:18 +00:00
Nawaz Dhandala
d5a6e0b7c7 feat: Implement alert suppression rules with parent-child relationship and notification suppression 2026-01-12 15:46:52 +00:00
Nawaz Dhandala
1131b7eea0 feat: Refactor JWT signing to use custom method with private key for OAuth flows 2026-01-12 13:46:30 +00:00
Nawaz Dhandala
b48b3f31fc refactor: Improve code formatting and readability in SCIM and StatusPageSCIM APIs 2026-01-12 13:04:58 +00:00
Nawaz Dhandala
7b35e7752c fix: Update SCIMBulkOperationResponse to explicitly define optional properties 2026-01-12 13:03:42 +00:00
Nawaz Dhandala
b9c6be38a1 feat: Implement SCIM Bulk Operations for Users and Groups in SCIM and Status Page SCIM APIs 2026-01-12 12:56:18 +00:00
Nawaz Dhandala
e8ff2cd7af chore: Bump version to 9.3.13 2026-01-12 12:48:45 +00:00
Nawaz Dhandala
50868ac8ea feat: Add SCIM Schemas and ResourceTypes endpoints for project and status page 2026-01-12 12:47:52 +00:00
Nawaz Dhandala
f74c003065 chore: Bump version to 9.3.12 2026-01-12 12:37:48 +00:00
Simon Larsen
0420d9042a Merge pull request #2212 from OneUptime/email-oauth
Email oauth
2026-01-12 12:36:57 +00:00
Nawaz Dhandala
4672a2d79e refactor: Add public access modifier to class name properties in migration files for consistency 2026-01-12 12:29:25 +00:00
Nawaz Dhandala
f59c215d1f refactor: Improve code formatting and readability across multiple files 2026-01-12 12:11:57 +00:00
Nawaz Dhandala
3f3be46789 refactor: Remove in-flight request deduplication logic in SMTPOAuthService for simplified token fetching 2026-01-12 12:09:12 +00:00
Nawaz Dhandala
e046a5514d refactor: Replace LocalCache with GlobalCache for cross-container token caching in SMTPOAuthService 2026-01-12 12:07:06 +00:00
Nawaz Dhandala
63e69f82f2 refactor: Improve scalability and error handling in SMTPOAuthService for token fetching 2026-01-12 12:05:10 +00:00
Nawaz Dhandala
f7db7c537c refactor: Enhance documentation for OAuth flows and improve clarity in error messages 2026-01-12 11:55:55 +00:00
Nawaz Dhandala
a5e4717c2a refactor: Remove OAuth Type field from CustomSMTPTable for improved clarity 2026-01-12 11:52:53 +00:00
Nawaz Dhandala
43a0fc3694 feat: Add OAuth provider type selection and enhance descriptions for OAuth fields in SMTP configuration 2026-01-12 11:50:58 +00:00
Nawaz Dhandala
4c669000fa feat: Add OAuth provider type support for SMTP configuration and enhance documentation 2026-01-12 11:36:00 +00:00
Nawaz Dhandala
07476f366c refactor: Update clientSecret field to support longer OAuth secrets and enhance documentation 2026-01-12 11:17:31 +00:00
Nawaz Dhandala
1a0fac5a3f docs: Add comprehensive SMTP configuration guide with OAuth setup for Microsoft 365 and Google Workspace 2026-01-12 10:45:21 +00:00
Nawaz Dhandala
4f68fd0542 refactor: Remove SMTP configuration documentation for improved clarity and maintenance 2026-01-12 10:37:24 +00:00
Nawaz Dhandala
c83600e446 Merge branch 'master' into email-oauth 2026-01-12 10:36:50 +00:00
Nawaz Dhandala
02368685b5 refactor: Remove unnecessary span elements for improved readability in multiple views 2026-01-12 10:28:52 +00:00
Nawaz Dhandala
113106a30d refactor: Simplify privacy statements and enhance layout consistency in AI Agent section 2026-01-12 10:26:14 +00:00
Nawaz Dhandala
b98fa7af0e refactor: Remove unused icon elements from AI Agent section for cleaner code 2026-01-12 10:24:42 +00:00
Nawaz Dhandala
f027dda584 Merge branch 'release' 2026-01-12 10:20:13 +00:00
Nawaz Dhandala
32f662a84c refactor: Update AI model section for improved clarity and visual consistency 2026-01-12 10:20:03 +00:00
Nawaz Dhandala
3e218e14f1 feat: Add Waterfall icon and update DashboardNavbar to use it 2026-01-10 11:16:14 +00:00
Nawaz Dhandala
495b4e3a79 feat: Add ChartPie and Heartbeat icons; update icon usage in DashboardNavbar 2026-01-10 10:27:16 +00:00
Nawaz Dhandala
abd9741337 refactor: Format comments in MoveTelemetryServiceTokenToTelemetryIngestionKey migration for clarity 2026-01-10 09:29:27 +00:00
Nawaz Dhandala
54b1a74dc2 refactor: Update telemetry service references to use ServiceService in AddTelemetryServiceColor migration 2026-01-10 09:28:59 +00:00
Nawaz Dhandala
b07fa604d0 refactor: Rename telemetryServices to services in AlertService and IncidentService 2026-01-10 09:11:49 +00:00
Nawaz Dhandala
b77f966cd1 chore: Bump version to 9.3.11 2026-01-09 21:58:19 +00:00
Simon Larsen
b464ff1cf9 Merge pull request #2219 from OneUptime/diff-products
Diff products
2026-01-09 21:50:10 +00:00
Nawaz Dhandala
f34bd4ad36 refactor: Simplify route parameter population in Logs and Span components 2026-01-09 21:49:42 +00:00
Nawaz Dhandala
9196a81693 Refactor telemetry-related components and routes into separate logs, metrics, and traces sections
- Removed TelemetryBreadcrumbs and related telemetry routes.
- Introduced new Breadcrumbs for Logs, Metrics, and Traces.
- Created dedicated pages and layouts for Logs, Metrics, and Traces.
- Updated PageMap and RouteMap to reflect the new structure.
- Implemented side menus for Logs, Metrics, and Traces.
- Added lazy loading for new pages to optimize performance.
2026-01-09 21:46:05 +00:00
Nawaz Dhandala
82e4beb8d9 refactor(navbar): Update footer type definition for clarity and consistency 2026-01-09 21:26:44 +00:00
Simon Larsen
f494e0cdaa Merge pull request #2218 from OneUptime/navbar-improvement
Navbar improvement
2026-01-09 21:16:07 +00:00
Nawaz Dhandala
b2833d115d chore: Bump version to 9.3.10 2026-01-09 21:15:42 +00:00
Nawaz Dhandala
6115da2a2d feat(navbar): Refactor NavBar and NavBarMenu for improved readability and structure 2026-01-09 21:15:33 +00:00
Nawaz Dhandala
b6f52df524 feat(navbar): Refactor Navbar to enhance active product handling and group more menu items by category 2026-01-09 21:12:16 +00:00
Nawaz Dhandala
57c7f239e6 feat(navbar): Update NavBar and NavBarMenu for improved active product handling and layout adjustments 2026-01-09 21:08:01 +00:00
Nawaz Dhandala
8b49f709e3 feat(navbar): Improve NavBarMenu layout with separate Settings section and enhanced styling 2026-01-09 21:04:06 +00:00
Nawaz Dhandala
a25836db1b feat(navbar): Enhance Navbar and NavBarMenu with category grouping and additional properties 2026-01-09 20:58:02 +00:00
Nawaz Dhandala
0426c3c064 chore: Bump version to 9.3.9 2026-01-09 19:45:16 +00:00
Simon Larsen
f083abd741 Merge pull request #2216 from OneUptime/telemetry-service-migration
Telemetry service migration
2026-01-09 19:43:30 +00:00
Nawaz Dhandala
57a58849ec refactor(migration): Specify type for telemetry service existence checks for clarity 2026-01-09 19:42:13 +00:00
Nawaz Dhandala
c1efcf578f feat(migration): Refactor MigrationName1767979448478 for improved readability and structure
- Updated migration script to enhance code clarity and maintainability.
- Reformatted SQL queries for better readability.
- Added comments to clarify migration steps.
- Ensured consistent use of async/await syntax.
- Updated index file to include the new migration.
- Adjusted TelemetryUsageBillingService and other components for better code style and consistency.
2026-01-09 19:36:10 +00:00
Nawaz Dhandala
30c1585dd8 fix: Update create permissions for AIAgentTask model to include necessary roles 2026-01-09 19:10:14 +00:00
Nawaz Dhandala
92cefa70fa fix: Update create permissions for description and aiAgent fields in AIAgentTask model 2026-01-09 19:04:19 +00:00
Nawaz Dhandala
57f36d75b3 refactor: Update telemetryService references to service in FixExceptionTaskHandler for consistency 2026-01-09 18:46:07 +00:00
Nawaz Dhandala
165976608d refactor: Replace telemetryServiceId with serviceId in FixException metadata and related services for consistency 2026-01-09 18:43:39 +00:00
Nawaz Dhandala
f016c02dfb fix: Update telemetryServiceId references to serviceId in ExceptionUtil for consistency 2026-01-09 18:39:53 +00:00
Nawaz Dhandala
2dc2f3bf36 feat: Refactor telemetryService references to service in components and add ServicesElement for improved service handling 2026-01-09 18:07:11 +00:00
Nawaz Dhandala
a9b5ea4702 feat: Implement comprehensive migration from TelemetryService to Service, including data transfer and constraint updates 2026-01-09 17:57:05 +00:00
Nawaz Dhandala
81051064dd feat: Implement data migration from TelemetryService to Service and related tables 2026-01-09 17:35:55 +00:00
Nawaz Dhandala
3dee4e9cc6 feat: Implement migration for Service entity and related constraints 2026-01-09 17:27:18 +00:00
Nawaz Dhandala
f272738ae9 Merge branch 'master' into telemetry-service-migration 2026-01-09 17:23:45 +00:00
Nawaz Dhandala
99d198a33b feat: Add migration to drop constraints and create new indexes for Service and related entities 2026-01-09 17:18:31 +00:00
Nawaz Dhandala
e7089e9e85 Refactor TelemetryService to Service across the application
- Replaced all instances of TelemetryService with Service in components, pages, and utilities.
- Updated related imports and state management to reflect the new Service model.
- Removed the TelemetryServices view and associated routes, as it is no longer needed.
- Adjusted breadcrumb and route mappings to remove references to Telemetry Services.
- Ensured that all relevant functionality, such as logs and metrics, now utilize the Service model.
2026-01-09 15:49:52 +00:00
Nawaz Dhandala
827e4c8b90 chore: Bump version to 9.3.8 2026-01-09 14:46:15 +00:00
Simon Larsen
6513938b00 Merge pull request #2215 from OneUptime/service-name-migration
Service name migration
2026-01-09 14:45:47 +00:00
Nawaz Dhandala
1c6d243457 feat: Refactor navigation in delete components to utilize RouteUtil for parameterized routing 2026-01-09 14:34:23 +00:00
Nawaz Dhandala
491e6341a9 feat: Enhance ServiceDelete component to utilize RouteUtil for parameterized navigation 2026-01-09 14:29:35 +00:00
Nawaz Dhandala
89e1bdedaf feat: Update Services and Settings pages to include Labels and Tech Stack fields with improved descriptions 2026-01-09 14:27:16 +00:00
Nawaz Dhandala
b0ab3f299c feat: Rename ServiceLabel to TelemetryServiceLabel in TelemetryService and update migration script 2026-01-09 14:12:15 +00:00
Nawaz Dhandala
94c8a25bfd refactor: Simplify code formatting and improve readability across multiple files 2026-01-09 13:58:15 +00:00
Nawaz Dhandala
2dfd33a86e feat: Rename ServiceCatalog and related tables/columns for improved clarity 2026-01-09 13:56:28 +00:00
Nawaz Dhandala
21232465bc feat: Add Service Owners, Settings, Side Menu, Telemetry Services, and Traces pages
- Implemented Service Owners page with team and user management.
- Created Service Settings page for configuring service properties.
- Developed a Side Menu for navigation within the service view.
- Added Telemetry Services page to manage telemetry service assignments.
- Introduced Traces page to display trace data for assigned telemetry services.
- Updated routing to include new service-related pages.
- Enhanced breadcrumbs for improved navigation context.
2026-01-09 13:53:21 +00:00
Nawaz Dhandala
fc12833ae5 fix: update iconColor prop type to include undefined 2026-01-09 08:46:21 +00:00
Simon Larsen
e2707581a2 Merge pull request #2214 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-09 08:36:39 +00:00
simlarsen
d91272fd6c chore: npm audit fix 2026-01-09 01:58:08 +00:00
Nawaz Dhandala
bf4e6cd6ab Refactor NavBarMenuItem component for improved layout consistency 2026-01-08 20:45:06 +00:00
Simon Larsen
da4f5f6c03 Merge pull request #2213 from OneUptime/exception-refactor
Exception refactor
2026-01-08 20:28:01 +00:00
Nawaz Dhandala
ff90d94b6b Bump version to 9.3.7 2026-01-08 20:27:43 +00:00
Nawaz Dhandala
1a7d2a76de Refactor StatusPageApiInternalUrl documentation for clarity and consistency 2026-01-08 20:27:30 +00:00
Nawaz Dhandala
8ed7381356 Refactor exception handling routes for improved readability and organization 2026-01-08 20:15:22 +00:00
Nawaz Dhandala
23dcca41fc Refactor exception handling components and routes for improved clarity and organization 2026-01-08 20:14:19 +00:00
Nawaz Dhandala
dbad765586 Add orange color variant to NavBarMenuItem and remove unused fields from TelemetryExceptionTable 2026-01-08 20:05:41 +00:00
Nawaz Dhandala
c2be57e2f0 Refactor StatusPageApiInternalUrl to use AppApiClientUrl for improved clarity in server communication 2026-01-08 19:59:15 +00:00
Nawaz Dhandala
6134fa467c Update StatusPageApiInternalUrl to use correct internal route for server communication 2026-01-08 19:58:03 +00:00
Nawaz Dhandala
918fda707e Add Bug icon to Icon component and update NavBar to use it 2026-01-08 19:53:36 +00:00
Nawaz Dhandala
c8bdbf619a Update navigation to redirect to EXCEPTIONS page on delete success in ExceptionExplorer 2026-01-08 19:49:47 +00:00
Nawaz Dhandala
27004092e3 Add EXCEPTIONS_VIEW_ROOT to PageMap and update routing in TelemetryExceptionTable 2026-01-08 19:48:13 +00:00
Nawaz Dhandala
dbd3742bbe Refactor routing in ExceptionsTable and ExceptionsRoutes for improved clarity and structure 2026-01-08 19:22:15 +00:00
Nawaz Dhandala
c562af4d90 Add Exceptions feature with routing, layout, and side menu integration 2026-01-08 19:14:42 +00:00
Nawaz Dhandala
bc5457259f Refactor SMTP OAuth authentication: streamline token handling and utilize nodemailer's built-in XOAUTH2 support 2026-01-08 18:48:25 +00:00
Nawaz Dhandala
551faa170d Add migration for ProjectSmtpConfig: include authType, clientId, clientSecret, tokenUrl, and scope fields 2026-01-08 18:31:21 +00:00
Nawaz Dhandala
73122b7d72 Add SMTP section to documentation with configuration details for OAuth 2.0 and username/password authentication 2026-01-08 18:26:57 +00:00
Nawaz Dhandala
5eb83dec0a Refactor SMTP OAuth implementation: replace Microsoft365OAuthService with generic SMTPOAuthService, update ProjectSmtpConfig to include tokenUrl and scope, and enhance error handling for OAuth configurations. 2026-01-08 18:22:30 +00:00
Nawaz Dhandala
123e0275bc Implement OAuth 2.0 support for SMTP authentication, including configuration fields and validation; enhance error handling for OAuth scenarios. 2026-01-08 18:14:10 +00:00
Nawaz Dhandala
e29b9ce00d bump version to 9.3.6 2026-01-08 15:44:51 +00:00
Nawaz Dhandala
65fa365d06 Refactor comments in OpenCodeAgent and AIAgentDataAPI for clarity; remove unused sections in NavBarMenu and NavBarMenuItem 2026-01-08 14:25:17 +00:00
Nawaz Dhandala
c40e18b2ed Align footer text to the left in NavBarMenu component 2026-01-08 14:23:27 +00:00
Nawaz Dhandala
f2520750fc Add GitHub icon to Icon component and update NavBarMenu to use it 2026-01-08 14:15:36 +00:00
Nawaz Dhandala
ecfce30adb Add FlowDiagram icon and update Navbar to use it 2026-01-08 14:13:16 +00:00
Nawaz Dhandala
20b184d6bd Enhance Navbar components with icon color support and update menu items 2026-01-08 14:09:53 +00:00
Nawaz Dhandala
bbfe8dcf7e Add backup and restoration for opencode.json in OpenCodeAgent 2026-01-08 13:39:40 +00:00
Nawaz Dhandala
f80497ead9 Implement GitHub installation expiration handling and error management 2026-01-08 13:22:09 +00:00
Nawaz Dhandala
8826635920 Refactor StatusPage API integration to use internal URL for server-to-server communication 2026-01-08 13:05:24 +00:00
Nawaz Dhandala
a08700e9f5 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-01-08 12:17:39 +00:00
Nawaz Dhandala
1b642885ab Enhance GitHub integration by updating access token permissions and documentation for AI Agent requirements 2026-01-08 12:05:39 +00:00
Nawaz Dhandala
5342317d57 Enhance OpenCodeAgent to pass prompt via stdin, improving handling of long prompts 2026-01-08 12:00:23 +00:00
Nawaz Dhandala
6d919920f7 Enhance OpenCodeAgent to use CLI mode flags for improved logging and output handling 2026-01-08 11:47:19 +00:00
Simon Larsen
4fcfe2e44c Merge pull request #2209 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-08 08:57:56 +00:00
simlarsen
e87d5de02f chore: npm audit fix 2026-01-08 01:57:11 +00:00
Nawaz Dhandala
992af21d05 Bump version to 9.3.5 2026-01-07 20:52:51 +00:00
Nawaz Dhandala
5c4c6dec93 Add agreedProbeNames to ProbeAgreementResult and enhance root cause logging 2026-01-07 20:41:28 +00:00
Nawaz Dhandala
9cae95d23b Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-01-07 20:29:16 +00:00
Nawaz Dhandala
8db3c6d8c3 Enhance value processing in MonitorCriteriaEvaluator to handle primitive types and custom class instances 2026-01-07 20:24:09 +00:00
Simon Larsen
95ff3b510e Merge pull request #2191 from tollercode/fix/processing-of-teams-response
Fix processing of teams response
2026-01-07 19:42:18 +00:00
Nawaz Dhandala
921bbe3cc1 Bump version to 9.3.4 2026-01-07 15:19:05 +00:00
Nawaz Dhandala
71d67ab48a Merge branch 'master' into release 2026-01-07 15:18:44 +00:00
Nawaz Dhandala
8d1fe98c17 Refactor demo page: integrate reviews section and remove testimonials view for improved layout and content management 2026-01-07 14:55:10 +00:00
Nawaz Dhandala
20c93e379b Bump version to 9.3.3 2026-01-07 14:30:48 +00:00
Nawaz Dhandala
5e04a8c13c Refactor icon sizes and styles across multiple views for consistency
- Reduced the size of SVG icons from h-7 w-7 to h-5 w-5 in on-call.ejs, status-page.ejs, traces.ejs, workflows.ejs.
- Adjusted the container sizes for icons from h-14 w-14 to h-10 w-10 and changed rounded styles from rounded-2xl to rounded-xl for a more uniform appearance.
- Ensured that all relevant icons and their containers maintain a consistent design language throughout the application.
2026-01-07 13:54:27 +00:00
Nawaz Dhandala
4eb513e852 Refactor multiple views: update headings for clarity and consistency in feature descriptions 2026-01-07 13:40:39 +00:00
Nawaz Dhandala
d3583aa2c7 Refactor exceptions.ejs: enhance "Why OneUptime" section layout and content for improved clarity and engagement 2026-01-07 13:34:20 +00:00
Nawaz Dhandala
2d4f2d0d95 Refactor dashboards.ejs: enhance layout and content for the "Why OneUptime" section, improving readability and visual appeal 2026-01-07 13:16:49 +00:00
Nawaz Dhandala
f351d90046 Refactor metrics, on-call, traces, workflows views: remove unnecessary spans, enhance layout with icons and labels, and improve overall readability. 2026-01-07 13:08:56 +00:00
Nawaz Dhandala
f9b284dd7c Refactor status page content layout for improved readability and consistency 2026-01-07 13:02:16 +00:00
Nawaz Dhandala
40b57f8e5f Refactor background colors across multiple views to use a consistent gray tone
- Updated subtle background colors from various shades (e.g., violet, blue, rose, orange, etc.) to a uniform gray (bg-gray-100/50) in the following files:
  - ai-agent.ejs
  - dashboards.ejs
  - exceptions.ejs
  - incident-management.ejs
  - logs-management.ejs
  - metrics.ejs
  - monitoring.ejs
  - on-call.ejs
  - status-page.ejs
  - traces.ejs
  - workflows.ejs

- Adjusted specific UI elements to change color schemes from violet to sky in workflows.ejs for better visual consistency.
2026-01-07 12:39:49 +00:00
Nawaz Dhandala
6f94e3dec9 Update color scheme for badges and text across multiple views for improved visual consistency 2026-01-07 12:28:38 +00:00
Nawaz Dhandala
b7bf950db6 Enhance Team Notifications Section with Real-Time Alerts and Integrations
- Redesigned the Team Notifications section for improved clarity and engagement.
- Updated headings and descriptions to emphasize real-time alerts for workflows.
- Added integration cards for Slack and Microsoft Teams with detailed descriptions.
- Introduced a features list highlighting success notifications, failure alerts, and action buttons.
- Enhanced the interactive Slack notification demo with improved visuals and functionality.
- Implemented JavaScript functions for retrying workflows, viewing logs, and disabling workflows with user feedback.
- Added custom animations for a more dynamic user experience.
2026-01-07 12:15:19 +00:00
Nawaz Dhandala
f961e946be Refactor button styles and update section headers across multiple views for improved consistency and responsiveness 2026-01-07 12:00:27 +00:00
Nawaz Dhandala
ca44b797a5 Enhance Team Notifications Section across multiple views
- Updated the layout and styling of the Team Notifications section in on-call.ejs, status-page.ejs, and traces.ejs to improve visual consistency and user experience.
- Replaced old notification descriptions with more concise and relevant content.
- Introduced integration cards for Slack and Microsoft Teams, highlighting their features and functionalities.
- Added a features list to emphasize key capabilities such as real-time delivery, smart escalations, and action buttons.
2026-01-07 11:51:42 +00:00
Nawaz Dhandala
75be6baf28 Enhance Slack Demo UI and Interactivity for Traces
- Redesigned the Slack demo interface with a modern look and feel, including a new header and message area.
- Implemented dynamic message handling with buttons for investigating traces, creating incidents, and resolving issues.
- Added animations for message appearance and button interactions to improve user experience.
- Introduced a thread reply feature to simulate conversation flow within the Slack demo.
- Updated styles and animations for better visual feedback and engagement.
2026-01-07 11:41:17 +00:00
Nawaz Dhandala
a42a00edd5 refactor: remove stats section and enhance workflow builder UI with detailed action nodes and logs 2026-01-07 11:18:47 +00:00
Simon Larsen
c372419de6 Merge pull request #2208 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-07 08:42:02 +00:00
simlarsen
37f35a5ea3 chore: npm audit fix 2026-01-07 01:56:57 +00:00
Nawaz Dhandala
781455abb5 Enhance status, traces, and workflows pages with new notification sections and interactive grid effects
- Added a "Subscriber Notifications" section to the status page, detailing real-time incident updates, maintenance announcements, and resolution confirmations.
- Introduced a Slack demo with animated message notifications for the status page.
- Implemented a grid glow effect that follows the cursor on the status page.
- Added a "Trace Alerts" section to the traces page, highlighting alerts for slow requests and error rates, along with a Slack demo for trace notifications.
- Enhanced the workflows page with a "Workflow Notifications" section, providing details on execution status, error logs, and custom triggers, along with a Slack-like notification demo.
- Implemented grid glow effects for traces and workflows pages, enhancing user interaction.
- Added CSS animations for Slack message notifications across all pages.
2026-01-06 21:15:16 +00:00
Nawaz Dhandala
b539e474d0 refactor: Remove Stats Section for improved layout and focus on key features 2026-01-06 20:55:17 +00:00
Nawaz Dhandala
21605b2a41 refactor: Add grid glow effect on cursor movement in hero section for enhanced interactivity 2026-01-06 20:54:20 +00:00
Nawaz Dhandala
fd143903c9 refactor: Add subtle grid pattern background for improved visual depth in hero section 2026-01-06 20:53:53 +00:00
Nawaz Dhandala
ad8c825a62 refactor: Update color scheme for improved visual consistency in notifications section 2026-01-06 20:52:17 +00:00
Nawaz Dhandala
cca88b9073 refactor: Update color scheme and text for improved visual consistency 2026-01-06 20:51:10 +00:00
Nawaz Dhandala
1950175f0b refactor: Update button styles for improved consistency and accessibility 2026-01-06 20:47:22 +00:00
Nawaz Dhandala
fdd9319162 refactor: Adjust journey flow visualization layout for improved clarity and spacing 2026-01-06 20:46:31 +00:00
Nawaz Dhandala
fb26b120bd refactor: Update monitoring page design for enhanced clarity and modern aesthetics 2026-01-06 20:41:04 +00:00
Nawaz Dhandala
b8814f128b refactor: Redesign monitoring page layout for improved clarity and user engagement 2026-01-06 20:39:59 +00:00
Nawaz Dhandala
66c9ecdb8f refactor: Remove redundant status display for improved layout clarity 2026-01-06 20:34:02 +00:00
Nawaz Dhandala
462b6db8b8 refactor: Revamp monitoring page layout and illustrations for enhanced user experience 2026-01-06 20:32:39 +00:00
Nawaz Dhandala
7e12dde1ba refactor: Enhance monitoring page design for improved clarity and consistency 2026-01-06 20:27:58 +00:00
Nawaz Dhandala
f03daf66ee Implement feature X to enhance user experience and optimize performance 2026-01-06 20:18:14 +00:00
Nawaz Dhandala
0312586770 refactor: Update monitoring features with improved illustrations and descriptions for clarity 2026-01-06 19:33:33 +00:00
Nawaz Dhandala
d5e717f9b0 refactor: Update integration cards layout and styling for improved visual consistency 2026-01-06 19:26:02 +00:00
Nawaz Dhandala
9351218df6 refactor: Replace SVG avatars with image-based avatars for improved visual consistency 2026-01-06 19:23:31 +00:00
Nawaz Dhandala
eaa6a7fe66 refactor: Revamp interactive Slack notification illustration with enhanced design and functionality 2026-01-06 19:21:14 +00:00
Nawaz Dhandala
81a477cf49 refactor: Enhance interactive Slack notification illustration with improved layout and functionality 2026-01-06 19:18:02 +00:00
Nawaz Dhandala
95ed963071 refactor: Revamp Slack notification illustration to enhance visual design and user interaction 2026-01-06 19:15:36 +00:00
Nawaz Dhandala
247d732d1b refactor: Update SVG icons and improve layout in Team Notifications section for better visual consistency 2026-01-06 19:10:22 +00:00
Nawaz Dhandala
7211bd3fac refactor: Add Team Notifications section with integration options for Slack and Microsoft Teams 2026-01-06 19:05:14 +00:00
Nawaz Dhandala
1f07ad7c0f refactor: Revamp illustrations and layout in monitoring section for enhanced visual appeal and consistency 2026-01-06 18:31:41 +00:00
Nawaz Dhandala
d749be5cd0 refactor: Enhance visual elements and layout of monitoring sections for improved user experience 2026-01-06 18:24:56 +00:00
Nawaz Dhandala
be55e82075 Refactor stats sections across multiple views for improved styling and consistency
- Updated the stats section in incident-management.ejs to use a new design with enhanced hover effects and updated text styles.
- Refined the logs-management.ejs stats section for better visual appeal and consistency with other views.
- Enhanced the metrics.ejs stats section with a modern layout and improved text presentation.
- Revamped the on-call.ejs stats section to align with the new design standards.
- Updated the status-page.ejs stats section for a cohesive look and feel across the application.
- Improved the traces.ejs stats section with a fresh design and consistent text formatting.
- Refined the workflows.ejs stats section to match the updated design language and improve user experience.
2026-01-06 18:01:50 +00:00
Nawaz Dhandala
886337ae30 refactor: Update Stats Section layout and styling for improved visual consistency 2026-01-06 17:19:36 +00:00
Nawaz Dhandala
0ef23eb161 Refactor traces and workflows views to simplify styles and enhance readability
- Removed unnecessary gradient backgrounds and replaced them with solid colors for better clarity.
- Updated text styles to maintain consistency across sections.
- Enhanced image shadow effects for a more modern look.
- Streamlined the layout of stats and feature cards for improved user experience.
2026-01-06 16:32:29 +00:00
Nawaz Dhandala
737cdf4d3d Refactor "How It Works" sections across multiple views for consistency and improved styling
- Updated the layout and design of the "How It Works" section in on-call.ejs, status-page.ejs, traces.ejs, and workflows.ejs.
- Changed background styles from gradients to solid colors for better readability.
- Simplified headings and descriptions for clarity.
- Enhanced step indicators with consistent iconography and improved accessibility.
- Adjusted spacing and alignment for a more cohesive look across all sections.
2026-01-06 16:03:27 +00:00
Nawaz Dhandala
6a50b0cdf4 refactor: Simplify and enhance the "How It Works" section layout and styling 2026-01-06 15:53:38 +00:00
Nawaz Dhandala
dfe6f9be14 feat: Add demo video includes to incident management, monitoring, on-call, status page, and workflows views 2026-01-06 13:45:48 +00:00
Nawaz Dhandala
93a22c67fd Refactor code structure for improved readability and maintainability 2026-01-06 12:41:30 +00:00
Nawaz Dhandala
c069355a83 feat: Add White-Glove Onboarding feature card to enterprise overview 2026-01-06 12:30:54 +00:00
Nawaz Dhandala
197b7d5e22 refactor: Update avatar styling for improved aesthetics and consistency 2026-01-06 12:29:09 +00:00
Nawaz Dhandala
4ef184d21e fix: Update government monitoring description for clarity and accuracy 2026-01-06 12:25:11 +00:00
Nawaz Dhandala
9d77b9ab09 Refactor code structure for improved readability and maintainability 2026-01-06 12:22:37 +00:00
Nawaz Dhandala
d2df638df0 Implement feature X to enhance user experience and optimize performance 2026-01-06 12:13:18 +00:00
Nawaz Dhandala
78ed019d50 Refactor hero sections in incident management, monitoring, and status page views for improved aesthetics and consistency. Simplified badge elements, adjusted typography, and enhanced background gradients. Updated call-to-action buttons for better clarity and responsiveness. Cleaned up feature highlights for a more streamlined presentation. 2026-01-06 11:54:56 +00:00
Nawaz Dhandala
89f9faacf6 fix: Simplify blog post layout by removing unnecessary grid structure 2026-01-06 11:43:40 +00:00
Nawaz Dhandala
7ff0da5ab5 fix: Update navigation for Enterprise dropdown and adjust Request Demo link 2026-01-06 11:19:07 +00:00
Nawaz Dhandala
e295525698 feat: Add disk space cleanup step to release workflows 2026-01-06 11:15:07 +00:00
Nawaz Dhandala
48b398b032 fix: Update description formatting for PageSEOConfig 2026-01-05 13:24:40 +00:00
Nawaz Dhandala
772e3684e5 chore: Bump version to 9.3.2 2026-01-05 13:24:18 +00:00
Nawaz Dhandala
20ee5fed6c fix: Change overflow property to 'visible' for improved card layout 2026-01-05 13:24:05 +00:00
Nawaz Dhandala
e77fbdc439 refactor: Update navigation links for legal and enterprise sections 2026-01-05 12:39:45 +00:00
Nawaz Dhandala
7a207c9020 refactor: Enhance demo page layout and content for improved user engagement 2026-01-05 12:36:19 +00:00
Nawaz Dhandala
75b05c359e Add "How It Works" sections to various views with step-by-step guides for incident management, logs management, metrics, monitoring, on-call, status page, traces, and workflows. 2026-01-05 12:32:13 +00:00
Nawaz Dhandala
1c02a82a2c refactor: Update APM link to Traces and modify description for clarity 2026-01-05 12:32:07 +00:00
Nawaz Dhandala
0e111b4bc1 refactor: Update APM link to Traces and modify description for clarity 2026-01-05 12:31:13 +00:00
Nawaz Dhandala
2c0db9fe55 refactor: Update sitemap and SEO configuration for new product and industry pages 2026-01-05 12:30:16 +00:00
Nawaz Dhandala
c42fcc480b Remove APM product route, SEO configuration, and view files 2026-01-05 12:26:39 +00:00
Nawaz Dhandala
bdfcf04d58 refactor: Update product links in footer for consistency and clarity 2026-01-05 12:22:58 +00:00
Nawaz Dhandala
e392a61916 refactor: Remove outdated use cases from footer links for clarity 2026-01-05 12:21:06 +00:00
Nawaz Dhandala
0349926d81 refactor: Update navigation links to reflect enterprise solutions and demo request 2026-01-05 12:20:08 +00:00
Nawaz Dhandala
6c033dfe10 refactor: Simplify route definition for product traces 2026-01-03 21:59:38 +00:00
Simon Larsen
f62ad9527c Merge pull request #2193 from OneUptime/ui-upgrade
UI upgrade
2026-01-03 21:55:57 +00:00
Simon Larsen
dfec19b40e Merge pull request #2207 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2026-01-03 21:55:38 +00:00
Nawaz Dhandala
5a9d35ea8d Refactor hero sections in on-call, traces, and workflows pages for improved design consistency and readability. Updated background gradients, adjusted padding, and simplified feature lists. Enhanced button styles and cleaned up image presentations for a more modern look. 2026-01-03 21:50:28 +00:00
Nawaz Dhandala
c5bc5e30b0 Add stats and features sections to workflows page
- Introduced a new stats section showcasing key metrics: "5000+ Integrations", "Unlimited Workflows", "No-Code Builder", and "Secure Secrets".
- Added a "More Features" section with detailed feature cards highlighting capabilities such as Reliability, Integrations, Conditional Logic, Scheduled Triggers, Compliance, and Version Control.
- Enhanced visual design with gradients and icons for improved user engagement.
2026-01-03 21:19:55 +00:00
Nawaz Dhandala
346c1f6dcc fix: Update downtime cost message for clarity 2026-01-03 21:17:43 +00:00
Nawaz Dhandala
d56a0b7c5c Update SaaS landing page for improved messaging and layout
- Changed page title and meta description for better SEO.
- Updated main headline to emphasize uptime expectations.
- Revised subheadline to clarify observability benefits.
- Enhanced CTA buttons for better visibility and engagement.
- Added quick stats section to highlight key features.
- Reworked SaaS pain points section to address common challenges.
- Introduced product grid section to showcase OneUptime solutions.
- Updated features section with clearer descriptions and benefits.
- Included new sections for AI agent, enterprise readiness, and open source.
2026-01-03 19:40:42 +00:00
Nawaz Dhandala
8984bb4ea6 Refactor code structure for improved readability and maintainability 2026-01-03 19:17:27 +00:00
Nawaz Dhandala
07c624d34c feat: Enhance product grid section with dynamic labels and improve DevOps pain points presentation 2026-01-03 19:02:24 +00:00
Nawaz Dhandala
9406f5af96 feat: Update language icons and paths for improved visual consistency 2026-01-03 18:51:42 +00:00
Nawaz Dhandala
1e08c35bb8 Implement feature X to enhance user experience and optimize performance 2026-01-03 18:43:05 +00:00
Nawaz Dhandala
12f8aaa10a feat: Remove redundant promotional text from developers section for cleaner layout 2026-01-03 18:10:08 +00:00
Nawaz Dhandala
1cfe9e7dad feat: Enhance code block styling and terminal window design for improved readability and user interaction 2026-01-03 18:05:29 +00:00
Nawaz Dhandala
4f9c30dadf feat: Revamp language pills section with a grid layout and enhanced styling for better visual appeal 2026-01-03 18:01:36 +00:00
Nawaz Dhandala
7f42566aeb feat: Revamp OpenTelemetry section with new design and enhanced content 2026-01-03 13:38:21 +00:00
Nawaz Dhandala
3b148dce68 feat: Update otel-collector configuration for improved clarity and accuracy 2026-01-03 13:33:42 +00:00
Nawaz Dhandala
473b5886b2 feat: Add reusable product grid section with dynamic content and enhanced styling 2026-01-03 13:31:08 +00:00
Nawaz Dhandala
07fbf3f47b Implement feature X to enhance user experience and optimize performance 2026-01-03 13:09:53 +00:00
Nawaz Dhandala
9814edfc19 feat: Enhance developers page with new design elements and improved content 2026-01-03 11:20:20 +00:00
Nawaz Dhandala
a4dda7f8e2 Implement feature X to enhance user experience and fix bug Y in module Z 2026-01-03 11:17:56 +00:00
Nawaz Dhandala
a7dd2283c0 Implement feature X to enhance user experience and optimize performance 2026-01-03 11:07:29 +00:00
Nawaz Dhandala
38d0d73a3f Implement feature X to enhance user experience and optimize performance 2026-01-03 11:03:06 +00:00
Nawaz Dhandala
4298a005ef feat: Update image source for AI agent in copilot section 2026-01-02 20:50:52 +00:00
Nawaz Dhandala
583211b0e7 Implement feature X to enhance user experience and optimize performance 2026-01-02 20:34:53 +00:00
Nawaz Dhandala
545860404c feat: Update status update description for clarity 2026-01-02 20:29:07 +00:00
Nawaz Dhandala
283785f64b feat: Revise product descriptions for clarity and impact across multiple sections 2026-01-02 20:28:12 +00:00
Nawaz Dhandala
1362ba96f9 Refactor code structure for improved readability and maintainability 2026-01-02 20:09:00 +00:00
Nawaz Dhandala
fd519d7d9c Refactor code structure for improved readability and maintainability 2026-01-02 19:56:16 +00:00
Nawaz Dhandala
ec097b6531 Implement feature X to enhance user experience and optimize performance 2026-01-02 19:06:37 +00:00
Nawaz Dhandala
84a99c06b6 feat: Update SVG icon path for "Custom Contracts" for improved clarity 2026-01-02 19:04:09 +00:00
Nawaz Dhandala
22b1ea282c feat: Update SVG icon path for improved visual representation in enterprise-ready section 2026-01-02 19:02:31 +00:00
Nawaz Dhandala
32e1377a05 feat: Update text color for "Built for Scale" in enterprise-ready section 2026-01-02 19:01:03 +00:00
Nawaz Dhandala
d7caf79b6d feat: Remove final CTA section to streamline features table layout 2026-01-02 18:12:49 +00:00
Nawaz Dhandala
4a915c4779 feat: Update text color for "Built for Scale" in enterprise-ready section 2026-01-02 18:10:28 +00:00
Nawaz Dhandala
ba6de67c45 feat: Simplify enterprise-ready section by removing compliance badges and adjusting description 2026-01-02 18:09:20 +00:00
Nawaz Dhandala
b21fdba307 Implement feature X to enhance user experience and fix bug Y in module Z 2026-01-02 18:08:26 +00:00
Nawaz Dhandala
1f8d0b5ea6 Enhance enterprise-ready section with improved styles and animations
- Updated transition duration and added backdrop filter to enterprise cards.
- Increased hover translation effect for a more pronounced interaction.
- Enhanced glow effects with adjusted background gradients for each card.
- Refined hover states with new border colors and box shadows for better visibility.
- Updated section background to include a gradient and added premium mesh gradient backgrounds.
- Improved header and description text with gradient accents and trust indicators.
- Redesigned call-to-action buttons for better user engagement and visual appeal.
2026-01-02 18:01:15 +00:00
Nawaz Dhandala
6d41c8baa7 feat: Revamp header section with enhanced styling and updated text for AI Reliability Agent 2026-01-02 17:35:56 +00:00
Nawaz Dhandala
148167c911 feat: Update Copilot section with enhanced background styling and improved text contrast 2026-01-02 17:33:44 +00:00
Nawaz Dhandala
9de24a5be3 feat: Enhance Copilot section with refined background elements and improved styling 2026-01-02 17:31:22 +00:00
Nawaz Dhandala
cdc280fd15 feat: Refine Final CTA section with updated background effects and improved text styling 2026-01-02 17:19:53 +00:00
Nawaz Dhandala
70e2fcee45 feat: Revamp final CTA section with enhanced styling and updated content 2026-01-02 17:18:05 +00:00
Nawaz Dhandala
3e82e3af78 feat: Simplify feature descriptions for Log Management, Metrics, and Distributed Traces 2026-01-02 17:14:41 +00:00
Nawaz Dhandala
ce5b7d9bc1 feat: Add new features for latency tracking and AI-powered auto-fix 2026-01-02 17:12:12 +00:00
Nawaz Dhandala
6ee68271e0 feat: Update feature descriptions for clarity and add new capabilities 2026-01-02 17:05:39 +00:00
Nawaz Dhandala
0a34ef3253 feat: Enhance Dashboards feature description to include sharing and embedding options 2026-01-02 16:27:07 +00:00
Nawaz Dhandala
d719ce30e9 feat: Revise AI Agent feature description and update key functionalities for clarity 2026-01-02 16:25:41 +00:00
Nawaz Dhandala
883653738a feat: Remove 'New' badge from AI Agent feature card for cleaner presentation 2026-01-02 16:24:07 +00:00
Nawaz Dhandala
39caaff50e feat: Update feature list to include new metrics and password protection options 2026-01-02 16:23:17 +00:00
Nawaz Dhandala
40979b9e2b feat: Update feature card descriptions for accuracy and clarity 2026-01-02 16:21:55 +00:00
Nawaz Dhandala
1547dd4e6f feat: Update feature headings and descriptions for improved clarity and relevance 2026-01-02 16:19:04 +00:00
Nawaz Dhandala
52dfcb42b1 feat: Add open source and no vendor lock-in indicators to feature section 2026-01-02 16:17:11 +00:00
Nawaz Dhandala
561cb73f83 feat: Update feature descriptions for clarity and add new features for enhanced user experience 2026-01-02 16:08:31 +00:00
Nawaz Dhandala
e86b21e96c feat: Update feature list to include Slack & Teams integration and clarify severity levels 2026-01-02 16:02:29 +00:00
Nawaz Dhandala
8867a17abe feat: Remove "Popular" and "Essential" badges for a cleaner feature presentation 2026-01-02 16:01:25 +00:00
Nawaz Dhandala
9aa4080fba feat: Update feature descriptions for clarity and accuracy in the features list 2026-01-02 16:00:23 +00:00
Nawaz Dhandala
1e9aa83f15 feat: Update feature card styling and remove redundant information for a cleaner presentation 2026-01-02 15:56:58 +00:00
Nawaz Dhandala
0f585e0ca3 feat: Update icon path and change section title from "Core Reliability" to "Essentials" for improved clarity 2026-01-02 15:55:44 +00:00
Nawaz Dhandala
4d51ee9afa feat: Update features section intro and adjust product count for accuracy 2026-01-02 15:54:21 +00:00
Nawaz Dhandala
29e5590493 feat: Simplify "100% Open Source" badge by removing background and styling for cleaner presentation 2026-01-02 15:51:21 +00:00
Nawaz Dhandala
1c1bb6ff32 feat: Enhance Legal Center with glow effects and improved layout for better user interaction 2026-01-02 15:46:35 +00:00
Nawaz Dhandala
82d0f004a8 feat: Revamp Copilot section with improved visuals and updated messaging for enhanced user engagement 2026-01-02 13:46:52 +00:00
Nawaz Dhandala
d5f532821e feat: Update Copilot messaging for clarity and improved user understanding 2026-01-02 13:38:06 +00:00
Nawaz Dhandala
b96ec9a292 feat: Revise console Easter egg message for enhanced encouragement and support to builders 2026-01-02 13:36:14 +00:00
Nawaz Dhandala
67c71fa452 feat: Update floating TOC width for improved layout consistency across screen sizes 2025-12-31 16:15:16 +00:00
Nawaz Dhandala
5ce45a3c8e feat: Refactor floating TOC positioning logic for improved visibility and responsiveness 2025-12-31 16:11:47 +00:00
Nawaz Dhandala
8fc4294f4a feat: Improve floating TOC visibility logic based on content position and enhance transition effects 2025-12-31 14:48:12 +00:00
Nawaz Dhandala
054f0047fa feat: Add floating table of contents with visibility control and update back-to-top button position 2025-12-31 14:45:23 +00:00
Nawaz Dhandala
ba22e4b745 feat: Enhance blog post layout with improved styling, add back-to-top button, and implement smooth scroll behavior 2025-12-31 14:40:43 +00:00
Nawaz Dhandala
3344d87f86 feat: Update syntax highlighting theme and add support for additional languages 2025-12-31 13:33:44 +00:00
Nawaz Dhandala
da1647ecb7 feat: Enhance blog layout and styling with decorative backgrounds, improved card designs, and updated tag styles for better visual appeal 2025-12-31 13:31:30 +00:00
Nawaz Dhandala
e3d13c74eb feat: Update text in about section for improved clarity and engagement 2025-12-31 12:41:23 +00:00
Nawaz Dhandala
adda1bf450 feat: Update contributor avatars with soft pastel colors for improved aesthetics 2025-12-31 12:40:02 +00:00
Nawaz Dhandala
52275ba3cc feat: Add gradient avatars for contributors with initials for enhanced visual appeal 2025-12-31 12:37:51 +00:00
Nawaz Dhandala
1587a96be3 feat: Revamp contributors section with enhanced layout and styling for improved visibility 2025-12-31 12:31:12 +00:00
Nawaz Dhandala
a683681906 feat: Enhance about card styles with full height for improved layout consistency 2025-12-31 12:21:58 +00:00
Nawaz Dhandala
331b79ecc2 feat: Update open source badge styles for improved aesthetics and consistency 2025-12-31 12:17:21 +00:00
Nawaz Dhandala
c8e2c755c1 feat: Update contributor section styles for improved visibility and aesthetics 2025-12-31 12:13:55 +00:00
Nawaz Dhandala
dcdd578b87 feat: Update navigation links for privacy and terms for better organization 2025-12-31 12:11:20 +00:00
Nawaz Dhandala
9a86b01638 feat: Add z-index to CTA buttons for improved layering and visibility 2025-12-31 12:04:13 +00:00
Nawaz Dhandala
461fc5b6f5 feat: Update support section with colorful glow effects and improved styling for better user engagement 2025-12-31 11:59:42 +00:00
Nawaz Dhandala
2427b8d72c Implement feature X to enhance user experience and optimize performance 2025-12-31 11:55:57 +00:00
Nawaz Dhandala
0b6ae78adf feat: Enhance glow effects in "About" section with new color themes for improved aesthetics 2025-12-31 10:09:20 +00:00
Nawaz Dhandala
dd56240591 feat: Update glow effects in "About" section to monochrome gray for a modern look 2025-12-31 10:06:32 +00:00
Nawaz Dhandala
d374423786 feat: Update text color in "About" section for improved readability 2025-12-31 09:58:00 +00:00
Nawaz Dhandala
bb606805ee feat: Revamp hiring section with improved layout, glow effects, and updated messaging for better engagement 2025-12-31 09:55:38 +00:00
Nawaz Dhandala
5fa3cbf787 feat: Simplify contributor display by replacing avatars with icons for a cleaner layout 2025-12-31 09:45:04 +00:00
Nawaz Dhandala
90d7200794 feat: Update glow effects in "About" section with new color themes for enhanced visual appeal 2025-12-31 09:44:13 +00:00
Nawaz Dhandala
4d07d78b66 feat: Enhance "About" section with glow effects and improved card styles for better visual engagement 2025-12-31 09:41:18 +00:00
Nawaz Dhandala
5e06fc554c feat: Reintroduce "To The Builders" section with enhanced layout and messaging for improved engagement 2025-12-31 09:35:05 +00:00
Nawaz Dhandala
81f7451350 feat: Revise "To The Builders" section for improved emphasis and readability 2025-12-31 09:32:27 +00:00
Nawaz Dhandala
1e6d65448c feat: Update "To The Builders" section with new font styles for improved emphasis and readability 2025-12-31 09:31:22 +00:00
Nawaz Dhandala
90a5fb2062 feat: Update "To The Builders" section with new font styles and improved text for enhanced readability and engagement 2025-12-31 09:29:36 +00:00
Nawaz Dhandala
6fd4f93b7a feat: Update "To The Builders" section with new font styles and refined messaging for enhanced engagement 2025-12-31 09:27:36 +00:00
simlarsen
b1ab1c4775 chore: npm audit fix 2025-12-31 01:55:30 +00:00
Nawaz Dhandala
04602a245c feat: Update messaging in "About" section for enhanced motivation and connection 2025-12-30 20:55:44 +00:00
Nawaz Dhandala
f9b75e36fd feat: Revamp "To The Builders" section with updated messaging, enhanced visuals, and improved animations for greater engagement 2025-12-30 20:55:12 +00:00
Nawaz Dhandala
c642315df1 feat: Update messaging in "To The Builders" section for enhanced motivation and resilience 2025-12-30 20:50:16 +00:00
Nawaz Dhandala
5b200b9ab8 feat: Enhance messaging in "To The Builders" section for greater inspiration and connection 2025-12-30 20:48:07 +00:00
Nawaz Dhandala
3fc8d650a8 feat: Update messaging in "To The Builders" section for enhanced inspiration and connection 2025-12-30 20:07:09 +00:00
Nawaz Dhandala
e63a0ed45d feat: Revamp "To The Builders" section with enhanced visuals, animations, and typography for improved engagement 2025-12-30 20:05:16 +00:00
Nawaz Dhandala
d8fd1ec863 feat: Revise "To The Builders" section for enhanced clarity and emotional connection 2025-12-30 20:02:03 +00:00
Nawaz Dhandala
3f3a1a7d98 refactor: Remove badge section from about page for cleaner layout 2025-12-30 19:57:58 +00:00
Nawaz Dhandala
84c8b1e3d7 feat: Add "To The Builders" section with enhanced visuals and animations for improved engagement 2025-12-30 19:28:49 +00:00
Nawaz Dhandala
30b781c26f feat: Add "To The Builders" section and update background colors for improved aesthetics 2025-12-30 19:21:45 +00:00
Nawaz Dhandala
a3f0bf0428 feat: Enhance about page with improved hover effects and visual elements 2025-12-30 19:19:30 +00:00
Nawaz Dhandala
dc321c365a feat: Revamp log management and metrics tabs for enhanced clarity and engagement 2025-12-30 19:14:20 +00:00
Nawaz Dhandala
0e8c204ca0 fix: Correct translation classes in watch demo button for proper positioning 2025-12-30 19:02:38 +00:00
Nawaz Dhandala
d1cc9c72c1 feat: Update footer links and headings for better organization and clarity 2025-12-30 19:00:10 +00:00
Nawaz Dhandala
3634011c06 feat: Update text color in CTA heading for improved readability 2025-12-30 18:46:42 +00:00
Nawaz Dhandala
21b6ebe183 feat: Update background gradient and mask image for improved visual effect in CTA section 2025-12-30 18:45:22 +00:00
Nawaz Dhandala
5e18d5c2cf feat: Enhance CTA section with improved grid glow effect and updated text for better engagement 2025-12-30 18:44:03 +00:00
Nawaz Dhandala
4a95225671 feat: Add grid glow effect to CTA section for enhanced interactivity 2025-12-30 18:41:53 +00:00
Nawaz Dhandala
cfbb473199 feat: Update contact link to use email instead of contact page 2025-12-30 18:38:29 +00:00
Nawaz Dhandala
3971edfaaa feat: Update navigation link to point to system status page with improved labeling 2025-12-30 18:36:59 +00:00
Nawaz Dhandala
69d568a0cb feat: Update links in navigation for changelog and videos to external resources 2025-12-30 18:35:16 +00:00
Nawaz Dhandala
9dc47190ab feat: Enhance resources menu layout and styling for improved user engagement 2025-12-30 18:33:42 +00:00
Nawaz Dhandala
283c2b8c89 Implement feature X to enhance user experience and optimize performance 2025-12-30 18:29:10 +00:00
Nawaz Dhandala
25fd4cee7b chore: Bump version to 9.3.1 2025-12-30 18:10:03 +00:00
Nawaz Dhandala
6153e8b450 fix: Simplify error logging in metrics queue-size endpoint 2025-12-30 18:09:49 +00:00
Nawaz Dhandala
dd6ccbead8 fix: Update autoscaler condition for AI Agent to prevent conflicts with KEDA 2025-12-30 14:49:08 +00:00
Nawaz Dhandala
2413340b3c Add status communication and uptime monitoring pages with comprehensive features and CTAs 2025-12-30 14:03:52 +00:00
Nawaz Dhandala
fb37e67ac8 feat: Remove 'Updated' label from Documentation section for cleaner presentation 2025-12-30 13:15:01 +00:00
Nawaz Dhandala
63e5c4abf8 feat: Revamp footer section with improved layout and new links for documentation, pricing, and registration 2025-12-30 13:09:35 +00:00
Nawaz Dhandala
c023f7236b feat: Update review section icon to enhance visual appeal 2025-12-30 13:08:08 +00:00
Nawaz Dhandala
4d453c9680 feat: Update Industries section layout and add Government industry link 2025-12-30 13:02:10 +00:00
Nawaz Dhandala
481eff1636 feat: Add Industries section to navigation with links for various sectors 2025-12-30 12:58:38 +00:00
Nawaz Dhandala
9544c77524 feat: Enhance Solutions section layout with improved styling and accessibility 2025-12-30 12:50:45 +00:00
Nawaz Dhandala
bbdd6ca24c feat: Refactor Teams section in navigation for improved layout and accessibility 2025-12-30 12:49:17 +00:00
Nawaz Dhandala
5eeac0368b feat: Update solutions count and add new developer solution card in navigation 2025-12-30 12:46:24 +00:00
Nawaz Dhandala
c88fd61753 feat: Add Enterprise section with overview and demo request links in navigation 2025-12-30 12:43:39 +00:00
Nawaz Dhandala
4bae52be93 feat: Rename 'Solutions' to 'Enterprise' in navigation for clarity 2025-12-30 12:40:27 +00:00
Nawaz Dhandala
2114d33941 feat: Enhance mobile menu visibility with opacity transitions for smoother user experience 2025-12-30 12:34:57 +00:00
Nawaz Dhandala
5678e36259 feat: Simplify background styles in reviews and features sections for improved clarity 2025-12-30 12:29:53 +00:00
Nawaz Dhandala
0628b8fb7e feat: Enhance demo request button with improved z-index for better visibility 2025-12-30 12:26:16 +00:00
Nawaz Dhandala
3a45c1e11a Implement feature X to enhance user experience and optimize performance 2025-12-30 11:47:34 +00:00
Nawaz Dhandala
3aef8dd62a Implement feature X to enhance user experience and optimize performance 2025-12-30 11:32:25 +00:00
Nawaz Dhandala
d520149d99 Implement feature X to enhance user experience and optimize performance 2025-12-30 11:28:15 +00:00
Nawaz Dhandala
c4130c0a1f feat: Update product descriptions to reflect accurate product count 2025-12-30 10:02:45 +00:00
Nawaz Dhandala
b826f9f19a feat: Enhance review and testimonial sections with improved styling and animations 2025-12-30 09:58:54 +00:00
Nawaz Dhandala
13fc89e3a5 Implement feature X to enhance user experience and fix bug Y in module Z 2025-12-30 09:54:17 +00:00
Nawaz Dhandala
2df4446062 style: Remove 'New' label from AI Agent section for cleaner presentation 2025-12-30 09:47:47 +00:00
Nawaz Dhandala
046bdc2eee style: Adjust margin for section headers in navigation for better alignment 2025-12-30 09:43:16 +00:00
Nawaz Dhandala
3b9c0ab692 feat: Enhance AI Agent section with improved layout and description 2025-12-30 09:38:39 +00:00
Nawaz Dhandala
c11224a59d feat: Add product showcase section with interactive feature cards 2025-12-30 00:06:15 +00:00
Nawaz Dhandala
5b77798676 docs: Add branding prompt to guide design implementation in hero section 2025-12-29 23:55:57 +00:00
Nawaz Dhandala
1c1f23da88 style: Update grid glow effect opacity and mask size for improved visual effect 2025-12-29 23:51:14 +00:00
Nawaz Dhandala
5879ae3a73 feat: Add grid glow effect that follows cursor in hero section 2025-12-29 23:48:32 +00:00
Nawaz Dhandala
60b05191c0 style: Enhance button styling and hover effects in proudly open source section 2025-12-29 23:43:45 +00:00
Nawaz Dhandala
c5b3ca88c6 style: Update terminal UI with improved styling and hover effects 2025-12-29 23:39:07 +00:00
Nawaz Dhandala
79b0d2f63a style: Update transition effects and improve hover interactions in navigation menu 2025-12-29 23:38:15 +00:00
Nawaz Dhandala
d9e65e5657 feat: Enhance terminal UI with improved styling and animations 2025-12-29 23:28:55 +00:00
Nawaz Dhandala
ef724ab274 feat: Revamp product menu layout with enhanced sections and new resource links 2025-12-29 23:25:06 +00:00
Nawaz Dhandala
ca2d3abbc2 feat: Add Escape key functionality to revert terminal content during Easter egg activation 2025-12-29 23:23:00 +00:00
Nawaz Dhandala
8bccd0419f feat: Update terminal Easter egg interaction to reveal on dot clicks instead of triple-click 2025-12-29 23:22:07 +00:00
Nawaz Dhandala
f78c46e5e3 style: Enhance terminal appearance with updated padding, background, and font styles 2025-12-29 23:12:36 +00:00
Nawaz Dhandala
773af8f184 feat: Add terminal Easter egg with triple-click reveal and updated builder tribute 2025-12-29 23:08:18 +00:00
Nawaz Dhandala
2cd750c7fd Add new SVG icons for various features including AI Agent, Dashboards, Exceptions, Incidents, Logs, Metrics, Monitoring, On-Call, Status Page, Traces, and Workflows 2025-12-29 23:03:09 +00:00
Nawaz Dhandala
eae325e4f4 feat: Add console Easter egg with ASCII art and developer message 2025-12-29 23:03:03 +00:00
Nawaz Dhandala
3769e0d1a5 Add metrics and traces pages with detailed features and branding updates
- Created new metrics.ejs view for performance insights and real-time monitoring.
- Created new traces.ejs view for distributed tracing and request visibility.
- Updated ProductBranding.md to reflect new links for metrics, traces, and dashboards.
2025-12-29 22:13:09 +00:00
Nawaz Dhandala
26e241802d feat: Refactor hero feature grid to use a dedicated product grid component 2025-12-29 21:57:53 +00:00
Nawaz Dhandala
94e1812293 Add hero cards for various features and implement ambient glow effects
- Introduced a new AI Agent card with description and icon.
- Added cards for Dashboards, Exceptions, Incidents, Logs, Metrics, Monitoring, On-Call, Status Page, Traces, and Workflows.
- Implemented CSS styles for ambient glow effects on hero cards to enhance visual appeal.
- Updated the main hero section to include all new feature cards.
2025-12-29 21:56:55 +00:00
Nawaz Dhandala
660d15bce5 feat: Enhance hover effects for hero cards with improved box-shadow styling 2025-12-29 21:53:05 +00:00
Nawaz Dhandala
8beddbf53e feat: Add comprehensive Product Branding Guide with color and icon specifications 2025-12-29 21:50:58 +00:00
Nawaz Dhandala
07a383314d feat: Update description for Dashboards card to enhance clarity 2025-12-29 21:45:20 +00:00
Nawaz Dhandala
0097d38811 feat: Update description for Monitoring card to improve clarity 2025-12-29 21:44:47 +00:00
Nawaz Dhandala
4c26ccfe95 feat: Update description for Workflows card to enhance clarity 2025-12-29 21:43:57 +00:00
Nawaz Dhandala
9673e54f9d feat: Update log description for clarity and improved messaging 2025-12-29 21:43:20 +00:00
Nawaz Dhandala
89172c4f9d feat: Add Stone glow style for On-Call card to enhance visual consistency 2025-12-29 21:40:38 +00:00
Nawaz Dhandala
5e1a776777 feat: Rotate SVG icon for Workflows card to enhance visual appeal 2025-12-29 21:35:49 +00:00
Nawaz Dhandala
05863e5824 feat: Update On-Call & Alerts card to use Cyan glow style 2025-12-29 21:32:07 +00:00
Nawaz Dhandala
a13949f340 feat: Update hero card glow styles for Emerald and Amber categories 2025-12-29 21:26:43 +00:00
Nawaz Dhandala
bc49ad1409 feat: Update alert and AI agent feature names and pricing plans for clarity 2025-12-29 21:24:56 +00:00
Nawaz Dhandala
78dc69bb5b feat: Add new hero card glow styles for Lime, Purple, Yellow, and Sky categories 2025-12-29 21:24:49 +00:00
Nawaz Dhandala
8b6fdbd4a7 feat: Update SVG icon for Traces card to improve visual alignment and clarity 2025-12-29 21:20:48 +00:00
Nawaz Dhandala
0779aaf24e feat: Update SVG icon for Traces card to enhance visual clarity and consistency 2025-12-29 21:19:37 +00:00
Nawaz Dhandala
58e2be3619 feat: Update SVG icons for Metrics, Traces, and Exceptions cards for improved clarity and consistency 2025-12-29 21:13:22 +00:00
Nawaz Dhandala
61a6c564ba feat: Update SVG icons for hero cards to enhance visual representation and clarity 2025-12-29 21:11:14 +00:00
Nawaz Dhandala
9cca558d2d feat: Update SVG icons for hero cards to improve visual consistency and clarity 2025-12-29 21:07:47 +00:00
Nawaz Dhandala
40c4cc2133 feat: Remove 'New' badge from AI Agent card for a cleaner presentation 2025-12-29 20:48:02 +00:00
Nawaz Dhandala
f5ad971f4b feat: Revamp AI Agent card with new styling, updated descriptions, and a 'New' badge for enhanced visibility 2025-12-29 20:45:56 +00:00
Nawaz Dhandala
9e442958d3 feat: Add pink hero card for Workflows and enhance AI Agent card with new descriptions 2025-12-29 20:42:39 +00:00
Nawaz Dhandala
115e0d6323 feat: Enhance hero card layout with full-height adjustments and updated descriptions for clarity 2025-12-29 20:34:18 +00:00
Nawaz Dhandala
29e07e3b41 feat(pricing): Implement Pay As You Go pricing tabs with dynamic content and pricing calculators for Monitoring, SMS & Call, Telemetry, and AI Agent services. 2025-12-29 20:33:42 +00:00
Nawaz Dhandala
3ece51504f feat: Update hero card labels and styles for improved clarity and consistency 2025-12-29 20:31:09 +00:00
Nawaz Dhandala
7456184dc5 feat: Update tool count in product description to reflect recent additions 2025-12-29 20:26:22 +00:00
Nawaz Dhandala
4c8b720968 feat: Enhance proudly open source section with mouse-following glow effect 2025-12-29 20:03:27 +00:00
Nawaz Dhandala
11050a7b3a Merge branch 'master' into ui-upgrade 2025-12-29 19:52:23 +00:00
Nawaz Dhandala
e5dbe6ed05 chore: Bump version to 9.3.0 2025-12-29 19:47:10 +00:00
Nawaz Dhandala
288b7bc8c8 style: Add margin-bottom to Banner component for improved spacing 2025-12-29 19:46:03 +00:00
Nawaz Dhandala
305d1133e0 feat: Add KEDA configuration schema with properties for autoscaling 2025-12-29 19:36:02 +00:00
Nawaz Dhandala
a0a31e9e25 feat: Implement KEDA autoscaling for AI Agent with metrics endpoint and configuration 2025-12-29 19:28:00 +00:00
Nawaz Dhandala
892305e13b style: Remove AI_AGENT_ID environment variable from ai-agent deployment 2025-12-29 19:19:00 +00:00
Simon Larsen
6ee6aa59fd Merge pull request #2206 from OneUptime/side-imporve
Side imporve
2025-12-29 19:10:05 +00:00
Nawaz Dhandala
7fae47faee style: Update title of Inoperational Monitors link for clarity 2025-12-29 19:09:05 +00:00
Nawaz Dhandala
c8d3b091b1 style: Update Badge and SideMenuItem components for improved styling and responsiveness 2025-12-29 19:04:30 +00:00
Nawaz Dhandala
623d41f694 style: Update layout and spacing for Page and SideMenu components for better responsiveness 2025-12-29 18:49:18 +00:00
Nawaz Dhandala
47e5e0c706 style: Refactor SideMenu components for improved spacing and layout consistency 2025-12-29 18:43:08 +00:00
Nawaz Dhandala
14ff0b7956 feat: Enhance SideMenu component with collapsible sections and improved styling 2025-12-29 18:22:50 +00:00
Nawaz Dhandala
1f793e8750 feat: Add job to reset stuck AI Agent tasks to Scheduled status 2025-12-29 15:54:18 +00:00
Nawaz Dhandala
051641339a style: Improve code formatting for better readability in PullRequestCreator 2025-12-29 15:19:25 +00:00
Nawaz Dhandala
43947932f2 style: Update type definition for API response to include HTTPErrorResponse in PullRequestCreator 2025-12-29 15:18:21 +00:00
Nawaz Dhandala
d838343eea style: Remove redundant test for null/undefined handling in ExceptionUtil 2025-12-29 14:42:41 +00:00
Simon Larsen
0cf556efde Merge pull request #2205 from OneUptime/ai-agent-tasks
Ai agent tasks
2025-12-29 14:29:22 +00:00
Nawaz Dhandala
c381c51957 style: Refactor type definitions and improve error handling across multiple files 2025-12-29 14:28:52 +00:00
Nawaz Dhandala
8ab088ace0 style: Improve code formatting and add comments for clarity across multiple files 2025-12-29 14:13:05 +00:00
Nawaz Dhandala
f96c0404bc style: Enhance logging in OpenCodeAgent to stream output to console and task logger immediately 2025-12-29 14:04:18 +00:00
Nawaz Dhandala
347e0cdd2f style: Modify log flushing to send each log entry separately for better granularity 2025-12-29 13:59:15 +00:00
Nawaz Dhandala
629890b118 style: Add OpenCode AI to PATH in Dockerfile for easier access 2025-12-29 13:26:57 +00:00
Nawaz Dhandala
0a20591bf9 style: Remove unnecessary border from Header component for cleaner appearance 2025-12-29 13:21:12 +00:00
Nawaz Dhandala
464645dbc3 style: Refactor HeaderIconDropdownButton to simplify icon rendering and improve styling 2025-12-29 13:04:31 +00:00
Nawaz Dhandala
d9ffa6a108 style: Update Add Card button to use div with icon and improved styling 2025-12-29 13:02:07 +00:00
Nawaz Dhandala
38cfed6c24 style: Adjust margin in Logo component for improved layout 2025-12-29 12:59:47 +00:00
Nawaz Dhandala
e97dbc4579 style: Refactor Header components for improved layout and styling consistency 2025-12-29 12:58:26 +00:00
Nawaz Dhandala
f194b17b1b style: Adjust margin in Logo component for improved layout 2025-12-29 12:51:22 +00:00
Nawaz Dhandala
eb45aecda5 style: Enhance Header and Logo components with improved styling and layout adjustments 2025-12-29 12:50:23 +00:00
Nawaz Dhandala
3633e376bc fix: Change log severity from warning to error for telemetry and repository issues in FixExceptionTaskHandler 2025-12-29 12:45:26 +00:00
Nawaz Dhandala
5c7b201305 fix: Correctly render task number in AIAgentTaskViewPage 2025-12-29 12:39:10 +00:00
Nawaz Dhandala
6726dd9a6d fix: Update URL handling in BackendAPI methods to use URL.fromURL for consistency 2025-12-29 12:35:12 +00:00
Nawaz Dhandala
0eece03dcd feat: Implement security checks for Project AI Agents accessing LLM Providers 2025-12-29 12:26:15 +00:00
Nawaz Dhandala
fec7853a2e feat: Add contentClassName for improved text wrapping in AIAgentTaskTable 2025-12-29 12:21:15 +00:00
Nawaz Dhandala
81193dc441 feat: Remove unused fields and components from AIAgentTaskTable for cleaner code 2025-12-29 12:20:08 +00:00
Nawaz Dhandala
7abf6f29e9 feat: Update AIAgentTaskTable to display tasks in a table format and hide view ID button 2025-12-29 12:18:17 +00:00
Nawaz Dhandala
4b18181f2d feat: Add taskNumber column and default values for AIAgentTask and OnCallDutyPolicyScheduleLayer 2025-12-29 12:03:18 +00:00
Nawaz Dhandala
b08174be97 feat: Add task number handling and display for AI Agent Tasks 2025-12-29 11:59:41 +00:00
Nawaz Dhandala
660c800166 feat: Update error handling in FixExceptionTaskHandler to mark failures as actual errors 2025-12-29 11:48:57 +00:00
Nawaz Dhandala
39de2ebb87 feat: Replace UUID with ObjectID for unique workspace identification in WorkspaceManager 2025-12-29 11:44:57 +00:00
Nawaz Dhandala
afe072f5e7 feat: Refactor task ID handling to use ObjectID for improved type safety in task processing 2025-12-29 11:38:47 +00:00
Nawaz Dhandala
16fb097c55 feat: Enhance task handling and API response types for AI Agent functionality 2025-12-29 11:33:36 +00:00
Nawaz Dhandala
122a4b7b0a feat: Implement RepositoryManager, TaskLogger, and WorkspaceManager for AI Agent functionality
- Added RepositoryManager for handling git operations including cloning, branching, committing, and pushing changes.
- Introduced TaskLogger for structured logging of AI Agent tasks with automatic flushing and context management.
- Created WorkspaceManager to manage temporary workspaces for tasks, including creation, deletion, and file operations.
- Integrated AIAgentDataAPI to facilitate data fetching and logging for AI Agent tasks, including LLM configuration and pull request recording.
- Updated BaseAPI to include new AIAgentDataAPI routes for enhanced AI Agent capabilities.
2025-12-29 11:20:34 +00:00
Simon Larsen
ff38942416 Merge pull request #2204 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-29 09:21:35 +00:00
simlarsen
e72a0d2b16 chore: npm audit fix 2025-12-29 02:03:34 +00:00
Simon Larsen
1c9425169a Merge pull request #2202 from OneUptime/snyk-upgrade-26bc23a2f8e9e50d9452afdb2d24fd6d
[Snyk] Upgrade typeorm from 0.3.27 to 0.3.28
2025-12-28 22:52:39 +00:00
Simon Larsen
59b49519c9 Merge pull request #2203 from OneUptime/conn-github
Conn GitHub
2025-12-28 22:52:20 +00:00
Nawaz Dhandala
9ff1a20858 feat: add GitHub App Installation ID to Project migration and update related components 2025-12-28 22:50:53 +00:00
Nawaz Dhandala
d8806159e4 feat: enhance GitHub repository selector modal with improved UI and display options 2025-12-28 22:48:34 +00:00
Nawaz Dhandala
3f1bb2cb0b feat: add repository description handling in GitHub API and selector modal 2025-12-28 22:13:17 +00:00
Nawaz Dhandala
513b1d7e55 feat: simplify RepositoryConnectionStatus component by removing description prop and related markup 2025-12-28 22:08:57 +00:00
Nawaz Dhandala
e49c005431 feat: add RepositoryConnectionStatus component for improved connection status display 2025-12-28 22:06:27 +00:00
Nawaz Dhandala
7892dbcac3 feat: enhance display of GitHub connection status with improved UI elements 2025-12-28 22:01:22 +00:00
Nawaz Dhandala
25d3d755dd feat: add GitHub App installation ID to Project model and update related API logic 2025-12-28 21:56:58 +00:00
Nawaz Dhandala
92fed4016f feat: enhance CodeRepositoryPage with improved GitHub and Git repository connection options 2025-12-28 21:48:48 +00:00
Nawaz Dhandala
d8d20aef8a feat: enhance Git repository connection modal with multi-step form structure 2025-12-28 21:46:06 +00:00
Nawaz Dhandala
41a1f80140 feat: implement Git repository connection modal and update CodeRepositoryPage for improved integration 2025-12-28 21:43:12 +00:00
Nawaz Dhandala
cdb4d04cc3 fix: correct redirect URL format in GitHub App installation callback 2025-12-28 21:19:57 +00:00
Nawaz Dhandala
0f8e949190 feat: update GitHub integration documentation with setup URL and environment variable details 2025-12-28 21:15:11 +00:00
Nawaz Dhandala
0a98f33d72 test: update Card and HiddenText component tests for improved assertions and class names 2025-12-28 20:56:21 +00:00
Nawaz Dhandala
64947413b0 feat: update GitHub App configuration to use GitHubAppName instead of GitHubAppClientId 2025-12-28 20:49:41 +00:00
Nawaz Dhandala
8635726344 feat: add GitHub repository connection modal and integrate GitHub app client ID 2025-12-28 20:40:55 +00:00
Nawaz Dhandala
3fa6f9e7b1 feat: install OpenCode AI coding assistant in Dockerfile 2025-12-28 20:22:14 +00:00
Nawaz Dhandala
6689aaa8b8 feat: add Dockerfile for OneUptime-AIAgent with environment setup and dependency installation 2025-12-28 20:19:38 +00:00
Nawaz Dhandala
a47a3c79e0 docs: add instructions to fix failing tests in Common 2025-12-28 20:17:56 +00:00
Nawaz Dhandala
8bd5916d14 fix: remove unused dependencies from package.json 2025-12-28 19:54:41 +00:00
Nawaz Dhandala
1f28f0191d fix: update package-lock.json to include peer dependency and improve query prop handling in AIAgentTaskTable 2025-12-28 19:36:12 +00:00
Nawaz Dhandala
dcb9da7d91 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-28 13:33:56 +00:00
Nawaz Dhandala
3311e9d354 refactor: update metrics endpoint to return pending monitor count for KEDA autoscaling 2025-12-28 13:33:52 +00:00
Nawaz Dhandala
755b76cbce style: Improve code formatting and readability in various files 2025-12-28 12:40:00 +00:00
Nawaz Dhandala
45a1748d50 feat: Implement logging for AI Agent task execution lifecycle 2025-12-28 12:33:46 +00:00
Nawaz Dhandala
c256b03be6 feat: Add conditional display for status message in AIAgentTaskViewPage 2025-12-28 12:30:22 +00:00
Nawaz Dhandala
c2cfe123d6 feat: Update AIAgentTaskLog schema to replace 'logs' column with 'severity' and 'message' columns 2025-12-28 12:04:29 +00:00
Nawaz Dhandala
e5c73daee6 feat: Refactor AIAgentTaskLog model to store severity and message as direct columns, removing JSON array structure 2025-12-28 11:58:18 +00:00
Nawaz Dhandala
9cb5b27e9b feat: Enhance AI Agent display in AIAgentTaskTable and AIAgentTaskViewPage with icon support and improved 'Not Assigned' message 2025-12-28 11:51:03 +00:00
Nawaz Dhandala
33a819853b feat: Add refresh button to AIAgentTaskTable for improved user experience 2025-12-28 11:48:03 +00:00
Nawaz Dhandala
3da9bbdf78 feat: Refactor task type display by creating AIAgentTaskTypeElement component and updating AIAgentTaskTable and AIAgentTaskViewPage 2025-12-28 11:44:18 +00:00
Nawaz Dhandala
d7bb54332d feat: Add task type display functionality with color coding in AIAgentTaskTable and AIAgentTaskViewPage 2025-12-28 11:41:52 +00:00
Nawaz Dhandala
bfb11c8366 feat: Update action name to 'Mark as Resolved' and change button style to SUCCESS_OUTLINE 2025-12-28 11:34:15 +00:00
Nawaz Dhandala
f11c8fd60b feat: Implement normalization for dynamic values in exception messages and add comprehensive tests 2025-12-28 11:30:39 +00:00
Nawaz Dhandala
cd7dfc4efb feat: Clean up AIAgentsPage by removing unused state and action buttons 2025-12-28 11:16:32 +00:00
Nawaz Dhandala
227a5ca52b feat: Add name and description fields to AIAgentTask and update OnCallDutyPolicyScheduleLayer defaults 2025-12-28 11:12:49 +00:00
Nawaz Dhandala
9bbfe35880 feat: Enhance AI Agent task creation with automatic agent assignment and validation 2025-12-28 11:08:47 +00:00
Nawaz Dhandala
94603b5615 feat: Refactor AI Agent Task creation logic and enhance telemetry exception handling 2025-12-28 11:02:43 +00:00
Nawaz Dhandala
f07b002744 feat: Implement task creation and linking for telemetry exceptions in AIAgentTaskService 2025-12-28 10:57:36 +00:00
Nawaz Dhandala
1680c955f9 feat: Refactor AI Agent Task creation logic for Telemetry Exception handling 2025-12-28 10:53:46 +00:00
Nawaz Dhandala
3394903323 feat: Add migration to include isDefault field in AIAgent table and update OnCallDutyPolicyScheduleLayer defaults 2025-12-28 10:49:56 +00:00
Nawaz Dhandala
877a97017d feat: Add isDefault field to AIAgent model and update service logic for default agent handling 2025-12-28 10:46:44 +00:00
snyk-bot
c389260b60 fix: upgrade typeorm from 0.3.27 to 0.3.28
Snyk has created this PR to upgrade typeorm from 0.3.27 to 0.3.28.

See this package in npm:
typeorm

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-27 11:10:33 +00:00
Nawaz Dhandala
c8df86011c feat: Update Footer component styles and enhance link titles with icons for better UX 2025-12-26 22:17:21 +00:00
Nawaz Dhandala
77a922b27e feat: Disable editing on AIAgentTaskViewPage for improved user experience 2025-12-26 21:44:51 +00:00
Nawaz Dhandala
14909a8dce feat: Add name and description fields to AIAgentTaskViewPage for improved task details 2025-12-26 21:40:58 +00:00
Nawaz Dhandala
84c5cdab9d feat: Enhance JSON handling in Detail component to stringify objects for better display 2025-12-26 21:38:57 +00:00
Nawaz Dhandala
178e4a5e70 feat: Refactor AI Agent Task navigation to use RouteUtil for parameter population 2025-12-26 21:33:51 +00:00
Nawaz Dhandala
9183b6eb1f feat: Add exception type and message to AI Agent task name and description for better context 2025-12-26 21:25:30 +00:00
Nawaz Dhandala
fa953a13cd feat: Update button titles from "Generate from AI" to "Generate with AI" for consistency across components 2025-12-26 21:16:45 +00:00
Nawaz Dhandala
bf426d026c feat: Update alert, incident, and scheduled maintenance displays with improved styling and icons 2025-12-26 20:55:31 +00:00
Nawaz Dhandala
69e073ac65 feat: Enhance alert, incident, and scheduled maintenance number displays with styled components 2025-12-26 20:47:43 +00:00
Nawaz Dhandala
fdc4f08222 feat: Enhance HiddenText component with copy functionality and tooltips 2025-12-26 20:41:53 +00:00
Nawaz Dhandala
57669ba27d feat: Add ObjectIDView component for enhanced ObjectID display and copy functionality 2025-12-26 20:37:14 +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
9555c3827f feat: Move title span to display before the indicator in FieldLabel component 2025-12-26 20:22:39 +00:00
Nawaz Dhandala
bf44af92b7 feat: Add overflow-hidden class to Card component for improved layout handling 2025-12-26 20:19:29 +00:00
Nawaz Dhandala
02549cb33d feat: Remove hover shadow effect from Card component for a cleaner design 2025-12-26 20:04:11 +00:00
Nawaz Dhandala
97c437b5ce feat: Add rounded bottom corners to the table footer for improved UI aesthetics 2025-12-26 20:02:22 +00:00
Nawaz Dhandala
17ea3c6ae5 feat: Refactor AIAgentTasks page to consolidate task views under a single tabbed interface and remove individual status pages 2025-12-26 19:58:36 +00:00
Nawaz Dhandala
d5abbf420f feat: Simplify noItemsMessage in AIAgentTaskTable and related pages by removing EmptyState component 2025-12-26 19:52:45 +00:00
Nawaz Dhandala
2b2c821af5 feat: Add noItemsMessage prop to AIAgentTaskTable and implement EmptyState for various task pages 2025-12-26 19:48:11 +00:00
Nawaz Dhandala
07ed74d04e feat: Add showAs prop to AIAgentTaskTable for list view display 2025-12-26 19:43:23 +00:00
Nawaz Dhandala
915712bf27 feat: Add migration for name and description fields in AIAgentTask table 2025-12-26 19:40:30 +00:00
Nawaz Dhandala
a02d181b86 feat: Add name and description fields to AIAgentTaskTable for enhanced task details 2025-12-26 19:39:25 +00:00
Nawaz Dhandala
922c4ec3d3 refactor: Move AIAgentTaskTable component to a new directory for better organization 2025-12-26 19:37:02 +00:00
Nawaz Dhandala
c912326ff2 feat: Refactor AIAgentTasks pages to use AIAgentTaskTable component for improved structure and readability 2025-12-26 19:35:47 +00:00
Nawaz Dhandala
53e1573c73 refactor: Set isDeleteable to false for AI Agent Tasks, Completed Tasks, and Scheduled Tasks pages 2025-12-26 19:32:44 +00:00
Nawaz Dhandala
0c56943818 refactor: Update type declaration for getSeverityPill function in AIAgentTaskLogsPage 2025-12-26 19:07:12 +00:00
Nawaz Dhandala
2a620f4cf3 feat: Add migration for AIAgentTaskLog and AIAgentTaskPullRequest tables with constraints and indexes 2025-12-26 18:45:27 +00:00
Nawaz Dhandala
e7fbda886b refactor: Clean up code formatting and improve readability in various components 2025-12-26 18:44:41 +00:00
Nawaz Dhandala
9116cb0397 feat: Update icons and user preferences keys for AI Agent Task Pull Requests and Logs 2025-12-26 18:42:12 +00:00
Nawaz Dhandala
0d3112a1f4 feat: Add AI Agent Task Pull Request functionality with model, API, service, and UI integration 2025-12-26 18:37:13 +00:00
Nawaz Dhandala
aa61be7e78 feat: Add AI Agent Task Logs page and integrate with SideMenu and routing 2025-12-26 18:26:58 +00:00
Nawaz Dhandala
fc4ed33bd8 feat: Add AIAgentTaskLogAPI and integrate with BaseAPIFeatureSet 2025-12-26 18:23:16 +00:00
Nawaz Dhandala
b88406524d feat: Add AI Agent relationship and access control to AIAgentTaskLog model 2025-12-26 18:19:10 +00:00
Nawaz Dhandala
a32a66ce12 feat: Add AIAgentTaskLog model, service, and log entry types for AI agent task logging 2025-12-26 18:14:41 +00:00
Nawaz Dhandala
6ef91bd9df fix: Update navigation to use RouteParams for modelId in ExceptionExplorer 2025-12-26 18:11:40 +00:00
Nawaz Dhandala
1b06ec7138 fix: Add MigrationName1766754182870 to schema migrations 2025-12-26 13:03:42 +00:00
Nawaz Dhandala
a85bf13361 feat: Add AIAgentTaskTelemetryException model and migration for telemetry exceptions 2025-12-26 13:03:21 +00:00
Nawaz Dhandala
288d91c2c0 fix: Implement AI Agent Task retrieval and status polling in ExceptionExplorer component 2025-12-26 12:59:40 +00:00
Nawaz Dhandala
b3ffcc72ca fix: Add manyToOneRelationColumn for projectId in AIAgentTask model 2025-12-26 12:47:33 +00:00
Nawaz Dhandala
ab6148b8b6 fix: Add InlineCode field type and update ExceptionDetail to use it for message and fingerprint 2025-12-26 12:42:32 +00:00
Nawaz Dhandala
7aa1ce0929 fix: Add common headers to API request for creating AI Agent tasks 2025-12-26 12:33:25 +00:00
Nawaz Dhandala
cdf435b27a fix: Replace CodeEditor with CodeBlock component for improved code display and copying functionality 2025-12-26 12:28:00 +00:00
Nawaz Dhandala
6ff22c2660 fix: Update description for AI Agent task creation to clarify its functionality 2025-12-26 12:15:29 +00:00
Nawaz Dhandala
bb3d1007a6 fix: Add "Fix with AI Agent" button to create AI Agent tasks for unresolved exceptions 2025-12-26 12:13:42 +00:00
Nawaz Dhandala
05607d0487 fix: Refactor task processing logic by renaming and updating the task processing loop implementation 2025-12-26 12:03:39 +00:00
Nawaz Dhandala
29e7078670 fix: Enhance styling and layout for Detail, FieldLabel, and PlaceholderText components 2025-12-26 12:00:57 +00:00
Nawaz Dhandala
864b8c7bac fix: Adjust margin and padding for children container in Card component 2025-12-26 11:51:33 +00:00
Nawaz Dhandala
a77a752062 fix: Simplify task status update logic in AIAgentTaskAPI by consolidating update data handling 2025-12-25 22:16:56 +00:00
Nawaz Dhandala
57a8084fd6 fix: Update metadata type and improve update data structure in AIAgentTaskAPI; enhance styling in Card and InfoCard components 2025-12-25 22:12:01 +00:00
Nawaz Dhandala
ec7eb958e8 fix: Remove unused imports for AIAgentTask and AIAgentTaskService in Index.ts 2025-12-25 21:43:35 +00:00
Nawaz Dhandala
7da6584c48 feat: Add ProcessScheduledTasks job and AIAgentTaskAPI for task management 2025-12-25 21:09:16 +00:00
Nawaz Dhandala
8f1cde9ec0 fix: Remove unnecessary blank lines and ensure proper object spread in TelemetryExceptionAPI 2025-12-25 20:46:15 +00:00
Nawaz Dhandala
0492a1c679 fix: Update API endpoint for creating AI Agent tasks in TelemetryException 2025-12-25 20:42:10 +00:00
Nawaz Dhandala
fa7097539f feat: Implement TelemetryExceptionAPI and integrate AI Agent Task creation in ExceptionExplorer 2025-12-25 20:41:06 +00:00
Nawaz Dhandala
8ee329c143 feat: Add AIAgentTaskTelemetryException model and service, and integrate telemetry exception linking in ExceptionExplorer 2025-12-25 20:25:34 +00:00
Nawaz Dhandala
f2d83fc08e feat: Add CreateProjectAIAgentTask permission and integrate AI Agent task creation in ExceptionExplorer 2025-12-25 20:20:10 +00:00
Nawaz Dhandala
c711316097 Implement feature X to enhance user experience and optimize performance 2025-12-25 19:38:06 +00:00
Simon Larsen
1cd57bc35d Merge pull request #2201 from OneUptime/ai-agent-task
Ai agent task
2025-12-25 19:18:37 +00:00
Nawaz Dhandala
efc0632b6c feat: Update permissions for AIAgentTask to include task-specific actions 2025-12-25 19:10:34 +00:00
Nawaz Dhandala
b674993b11 feat: Simplify AIAgentTask creation permissions by removing unnecessary roles 2025-12-25 19:06:40 +00:00
Nawaz Dhandala
7a2a79ceba feat: Enhance AIAgentTask migration, metadata, and status handling 2025-12-25 18:59:46 +00:00
Nawaz Dhandala
90ddd29e0e feat(migrations): Add AIAgentTask migration with table and constraints 2025-12-25 18:44:36 +00:00
Nawaz Dhandala
1e99da5c4c feat: Add AI Agent Task Management
- Implemented AIAgentTaskService for database interactions.
- Created AIAgentTaskMetadata and AIAgentTaskStatus types for task management.
- Developed AIAgentTaskType enum to define task types.
- Added routes and components for managing AI Agent Tasks, including views for scheduled, in-progress, and completed tasks.
- Implemented side menu navigation for AI Agent Tasks.
- Created detailed view and delete functionality for individual tasks.
- Added breadcrumbs for better navigation within AI Agent Tasks.
- Updated RouteMap and PageMap to include new AI Agent Task routes.
2025-12-25 18:41:26 +00:00
Nawaz Dhandala
75304a4c67 feat(ci): Add ai-agent Docker image deployment to release and test workflows 2025-12-25 17:50:48 +00:00
Nawaz Dhandala
ea19a70e14 feat(ci): Add CI workflows for AIAgent build, compile, and test processes 2025-12-25 17:44:21 +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
dbb13ce231 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-25 09:20:41 +00:00
Nawaz Dhandala
5726941e19 feat(monitor): Update evaluation summary to include probe agreement event type 2025-12-25 09:18:02 +00:00
Simon Larsen
a9c5dceeaa Merge pull request #2200 from OneUptime/probe-agreement
Probe agreement
2025-12-24 22:07:08 +00:00
Nawaz Dhandala
c037bc3825 feat(aiAgent): Add schema definition for AI agent configuration options 2025-12-24 22:06:56 +00:00
Nawaz Dhandala
e1ba3127ee fix(env): Update global probe keys to include default values 2025-12-24 20:11:18 +00:00
Nawaz Dhandala
9fcf84db9c fix(migration): Correct formatting and ensure proper migration structure for minimum probe agreement 2025-12-24 20:07:58 +00:00
Nawaz Dhandala
59d4c60d5c feat(migration): Add migration for minimum probe agreement column in Monitor table 2025-12-24 20:06:08 +00:00
Nawaz Dhandala
e445ada7d0 feat(monitor): Add minimum probe agreement settings and logic for probe-based monitors 2025-12-24 20:05:08 +00:00
Nawaz Dhandala
287c61b5bb Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-24 19:13:55 +00:00
Nawaz Dhandala
3f695053a6 chore(version): Bump version to 9.2.28 2025-12-24 19:13:52 +00:00
Simon Larsen
26964ad073 Merge pull request #2199 from OneUptime/ai-agents
Ai agents
2025-12-24 19:13:19 +00:00
Nawaz Dhandala
5687618c53 fix(icon): Update WhatsApp icon SVG for improved design and clarity 2025-12-24 19:12:42 +00:00
Nawaz Dhandala
b5c6c93d7f fix(icon): Refactor WhatsApp icon SVG for improved rendering and clarity 2025-12-24 19:10:19 +00:00
Nawaz Dhandala
ba08694e43 feat(migration): Update migration scripts for AIAgent and OnCallDutyPolicyScheduleLayer 2025-12-24 19:05:44 +00:00
Nawaz Dhandala
60df00686c fix(ai-agent): Revise AI agent documentation to clarify capabilities and privacy features 2025-12-24 19:03:17 +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
79c3cf981f fix(ai-agent): Improve error handling during AI Agent registration 2025-12-24 18:48:41 +00:00
Nawaz Dhandala
ea85d08c7a feat(migration): Add migration for updating AIAgent description field and OnCallDutyPolicyScheduleLayer defaults 2025-12-24 18:29:01 +00:00
Nawaz Dhandala
84e51a836d fix(ai-agent): Change description field type from Name to Description in AIAgent model 2025-12-24 18:27:24 +00:00
Nawaz Dhandala
a3f8403a17 fix(ai-agent): Update default description for global AI agents during registration 2025-12-24 18:26:08 +00:00
Nawaz Dhandala
8aaf278982 feat(ai-agent): Add default description for global AI agents during registration 2025-12-24 18:24:36 +00:00
Nawaz Dhandala
ca93dc12d6 feat(side-menu): Add AI Agents link to the dashboard side menu 2025-12-24 18:21:49 +00:00
Nawaz Dhandala
75d0803650 fix(ai-agent): Correct query parameter from secretKey to key in AIAgentService lookup 2025-12-24 18:17:33 +00:00
Nawaz Dhandala
f519520966 feat(ai-agent): Enhance AI Agent registration with name and description fields 2025-12-24 17:29:54 +00:00
Nawaz Dhandala
958cb3c9fd feat(ai-agent): Update AI Agent configuration to require a random AI_AGENT_KEY and streamline environment variable usage in docker-compose 2025-12-24 17:20:32 +00:00
Nawaz Dhandala
f6ebc3db16 feat(migration): Add AIAgent and related tables with foreign key constraints 2025-12-24 15:42:36 +00:00
Nawaz Dhandala
583d86bbc9 refactor: Standardize formatting for alive URL construction in InitJob and Register classes 2025-12-24 15:39:26 +00:00
Nawaz Dhandala
19f8dc8b19 feat(ai-agent): Update AI Agent API routes and remove deprecated ingest feature 2025-12-24 15:29:24 +00:00
Nawaz Dhandala
1a2acbf12d feat(ai-agent): Implement AI Agent service with configuration, registration, and health check functionality 2025-12-24 15:24:47 +00:00
Nawaz Dhandala
51e9e2d95b refactor: Improve code formatting for better readability in Detail, AIAgentView, and AIAgents components 2025-12-24 14:26:27 +00:00
Nawaz Dhandala
818a638580 feat(ai-agent): Add cron jobs for sending owner notifications and updating connection status 2025-12-24 14:22:04 +00:00
Nawaz Dhandala
ca2f0cd644 feat(nav): Add AI Agents link to navigation and create AI Agents documentation 2025-12-24 14:17:22 +00:00
Nawaz Dhandala
4a8b265b41 refactor: Remove optional proxy configuration examples from Custom AI Agent documentation 2025-12-24 14:14:34 +00:00
Nawaz Dhandala
66124f9de6 feat: Add AI Agent management features
- Introduced new WhatsApp templates for AI Agent notifications.
- Added email templates for AI Agent connection status and owner addition.
- Updated notification settings to include AI Agent events.
- Expanded permissions to manage AI Agents, including create, edit, delete, and read permissions.
- Implemented new UI components for displaying AI Agent details and status.
- Created pages for managing AI Agents and viewing individual AI Agent details.
- Enhanced side menu and routing to include AI Agent management sections.
2025-12-24 14:13:16 +00:00
Nawaz Dhandala
73bd9838c7 feat: Implement AI Agent service with last alive tracking and owner notifications 2025-12-24 13:59:16 +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
Simon Larsen
558eb54783 Merge pull request #2198 from OneUptime/model-ui-upgrade
Model UI upgrade
2025-12-24 11:12:36 +00:00
Nawaz Dhandala
cb46155224 fix(detail): Remove hover effect from card and default styles in Detail component 2025-12-24 11:08:32 +00:00
Nawaz Dhandala
fc78723d7b feat(detail): Enhance Detail component with style options and improve UI elements 2025-12-24 11:07:11 +00:00
Simon Larsen
40562ea0d1 Merge pull request #2197 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-24 09:10:45 +00:00
simlarsen
72369485a1 chore: npm audit fix 2025-12-24 01:52:31 +00:00
Nawaz Dhandala
d09228a71d fix(tests): Update navigation link types to use Locator for better type safety
chore: Bump version to 9.2.27
2025-12-23 21:58:44 +00:00
Nawaz Dhandala
e5c48061e4 refactor(tests): Simplify navigation link interactions in pricing and enterprise tests 2025-12-23 21:52:43 +00:00
Nawaz Dhandala
e1ffba9fbd Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-23 21:47:03 +00:00
Nawaz Dhandala
cd44bf0360 fix(telegram): Update description for Chat ID to include bot administrator requirement 2025-12-23 21:47:00 +00:00
Nawaz Dhandala
04a553eec6 fix(telegram): Enhance error handling by providing additional context for Telegram API errors 2025-12-23 21:39:00 +00:00
Nawaz Dhandala
d2c33f4996 fix(telegram): Simplify error handling for missing Telegram message 2025-12-23 21:27:09 +00:00
Nawaz Dhandala
b2321dd966 feat(telegram): Add Send Message to Telegram component with necessary configurations 2025-12-23 21:24:48 +00:00
Simon Larsen
47d9c118c0 Merge pull request #2196 from OneUptime/snyk-upgrade-65b43cef168cd3ea4773f38623f87961
[Snyk] Upgrade xmlbuilder2 from 4.0.0 to 4.0.3
2025-12-23 21:15:04 +00:00
Simon Larsen
649f317c3d Merge pull request #2194 from OneUptime/snyk-upgrade-c57662cf87ba0d6564e00e5c30e3deea
[Snyk] Upgrade playwright from 1.56.1 to 1.57.0
2025-12-23 21:14:58 +00:00
Nawaz Dhandala
1afcaab6fd Refactor testimonials and review sections for improved design and accessibility 2025-12-23 12:11:40 +00:00
Nawaz Dhandala
22c832f14a Update product tabs with new icon designs and improved accessibility 2025-12-23 12:00:43 +00:00
snyk-bot
272bb1b3ab fix: upgrade xmlbuilder2 from 4.0.0 to 4.0.3
Snyk has created this PR to upgrade xmlbuilder2 from 4.0.0 to 4.0.3.

See this package in npm:
xmlbuilder2

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/102b46c1-e36e-406c-acd1-31c8200a6c5f?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-23 11:52:59 +00:00
Nawaz Dhandala
cde10e34da Refactor UI components in on-call and status-page views to use lighter backgrounds and updated color schemes
- Updated background styles from gradient to solid colors with rings for better accessibility.
- Changed icon colors to match the new background styles for improved visibility.
- Ensured consistent design language across both views for a cohesive user experience.
2025-12-22 22:43:49 +00:00
Nawaz Dhandala
1dd79e052f Update hero card styles for improved clarity and consistency 2025-12-22 21:48:24 +00:00
Nawaz Dhandala
dce71c4eae Update enterprise card styles for improved clarity and consistency 2025-12-22 21:24:37 +00:00
Nawaz Dhandala
75fa822489 Refactor Copilot section for improved design and clarity 2025-12-22 20:50:10 +00:00
Nawaz Dhandala
0b0de6e32c Update Grafana SVG path for improved clarity and accuracy 2025-12-22 20:43:31 +00:00
Nawaz Dhandala
797373d0dc Update Prometheus icon to OpenTelemetry for improved clarity and accuracy 2025-12-22 20:25:35 +00:00
Nawaz Dhandala
4a41808afb Update Kubernetes and Prometheus SVG paths for improved clarity and accuracy 2025-12-22 20:23:49 +00:00
Nawaz Dhandala
0f36040cec Update Microsoft Azure SVG path for improved clarity and accuracy 2025-12-22 20:20:35 +00:00
Nawaz Dhandala
e3ea99d182 Update Microsoft Teams SVG path for improved clarity and accuracy 2025-12-22 20:14:57 +00:00
Nawaz Dhandala
4f06b241e4 Update AWS icon SVG path for improved rendering and clarity 2025-12-22 20:12:54 +00:00
Nawaz Dhandala
d38bd9a1bd Remove last updated date from the legal document footer for improved clarity 2025-12-22 20:01:19 +00:00
Nawaz Dhandala
9c1fb7820c Update company address in contact, DMCA, and SLA pages for accuracy 2025-12-22 19:59:24 +00:00
Nawaz Dhandala
9e99ee14a4 Fix sidebar overflow issues and enhance table of contents link transitions for improved usability 2025-12-22 19:59:01 +00:00
Nawaz Dhandala
0bbd99aa32 Update hero section background gradient colors for improved visual consistency 2025-12-22 19:56:34 +00:00
Nawaz Dhandala
317f472013 Refactor styles in support, testimonials, and workflows pages to use gray color scheme instead of slate. Update button hover effects and text colors for better consistency and readability. 2025-12-22 19:53:04 +00:00
Nawaz Dhandala
1058f45160 Refactor GitHub stats functions for improved readability and consistency 2025-12-22 19:50:36 +00:00
Nawaz Dhandala
a2ce44127c Add reviews section to enterprise overview page and update route to include review data 2025-12-22 19:49:52 +00:00
Nawaz Dhandala
1457d248e0 Implement feature X to enhance user experience and optimize performance 2025-12-22 19:47:11 +00:00
Nawaz Dhandala
78b4af6698 Refactor code structure for improved readability and maintainability 2025-12-22 18:34:47 +00:00
Nawaz Dhandala
fdc30dc128 Implement feature X to enhance user experience and optimize performance 2025-12-22 18:25:00 +00:00
Nawaz Dhandala
712e26f9a5 Enhance workflows.ejs with new hero section, improved layout, and feature highlights; update styles for better visual appeal and user engagement. 2025-12-22 18:16:00 +00:00
Nawaz Dhandala
c91ade202a Remove testimonials section from status page 2025-12-22 17:38:19 +00:00
Nawaz Dhandala
64c2fe6fd0 Revamp More Features section with enhanced layout, new feature highlights, and improved messaging 2025-12-22 16:28:04 +00:00
Nawaz Dhandala
bf9fbe88c1 Revamp Why OneUptime section with enhanced layout, improved messaging, and new feature highlights 2025-12-22 16:19:12 +00:00
Nawaz Dhandala
dd6554435d Revamp hero section with enhanced layout, background elements, and updated messaging 2025-12-22 16:15:25 +00:00
Nawaz Dhandala
c65d199e5e Refactor contributor display logic to skip bots and improve displayed count 2025-12-22 15:52:47 +00:00
Nawaz Dhandala
9100b4c485 Add conditional rendering for contributors section and fallback message 2025-12-22 15:49:23 +00:00
Nawaz Dhandala
90f7f735e7 Enhance contributor display with improved layout and icon integration 2025-12-22 15:48:07 +00:00
Nawaz Dhandala
a386c75dbd Revamp Contributors Section with Enhanced Layout and Updated Messaging 2025-12-22 15:46:09 +00:00
Nawaz Dhandala
a54257b5db Implement feature X to enhance user experience and fix bug Y in module Z 2025-12-22 15:41:34 +00:00
Nawaz Dhandala
9b0dfcffac Remove OpsGenie comparisons from footer and pricing pages; add AI Agent tab to product tabs with relevant content. 2025-12-22 15:21:20 +00:00
Nawaz Dhandala
c3ab746d24 Add comparison links and detailed sections for additional observability tools in footer and pricing compare pages 2025-12-22 15:00:42 +00:00
Nawaz Dhandala
78b51ffb43 Refactor code structure for improved readability and maintainability 2025-12-22 13:22:40 +00:00
Nawaz Dhandala
485570cbff Enhance Legal Center Page with Sticky Sidebar, Improved Styles, and Navigation
- Added a sticky sidebar for better navigation on larger screens.
- Implemented smooth scrolling for in-page links.
- Customized scrollbar styles for the sidebar.
- Enhanced active navigation item indicators with animations.
- Improved content styling for better readability and aesthetics.
- Updated the hero section with a gradient background and trust badges.
- Reorganized sidebar navigation into collapsible sections for better structure.
- Added related documents section for easier access to important policies.
- Included a document footer with last updated date and contact link.
2025-12-22 11:50:50 +00:00
Nawaz Dhandala
235fcd4af2 Refactor button styles across multiple views to use a consistent gray color scheme instead of slate. Updated buttons in cta.ejs, demo.ejs, enterprise-overview.ejs, footer.ejs, incident-management.ejs, logs-management.ejs, monitoring.ejs, nav.ejs, not-found.ejs, on-call.ejs, oss-friends.ejs, pricing-compare.ejs, server-error.ejs, status-page.ejs, support.ejs, and workflows.ejs for improved UI consistency. 2025-12-22 11:37:35 +00:00
Nawaz Dhandala
dfbc86deb0 Refactor styles in support, testimonials, and workflows pages to use slate color scheme instead of indigo for a more modern look 2025-12-22 11:02:57 +00:00
snyk-bot
d218f5e9cf fix: upgrade playwright from 1.56.1 to 1.57.0
Snyk has created this PR to upgrade playwright from 1.56.1 to 1.57.0.

See this package in npm:
playwright

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-22 10:21:25 +00:00
Nawaz Dhandala
3a4ca497ac feat: Enhance hero card styles with dynamic glow effects and improved hover interactions 2025-12-21 23:27:34 +00:00
Nawaz Dhandala
2c0cd1b13d feat: Refine ambient glow effects for improved visual consistency and responsiveness 2025-12-21 23:25:15 +00:00
Nawaz Dhandala
17edd054a9 feat: Update logo styles for improved visibility and background contrast 2025-12-21 23:08:15 +00:00
Nawaz Dhandala
72a1003c06 feat: Implement dynamic ambient glow effect for enterprise cards 2025-12-21 22:54:14 +00:00
Nawaz Dhandala
0e2e1360a6 feat: Add ambient glow effect to enhance visual appeal 2025-12-21 22:52:03 +00:00
Nawaz Dhandala
9fcd93dc52 feat: Enhance enterprise card styles with improved hover effects and glow transitions 2025-12-21 22:49:28 +00:00
Nawaz Dhandala
de8a917a92 feat: Enhance enterprise card styles for improved hover effects and transitions 2025-12-21 22:47:22 +00:00
Nawaz Dhandala
166ac24565 feat: Update compliance badges to be clickable links for better navigation 2025-12-21 22:42:32 +00:00
Nawaz Dhandala
7275212bb9 feat: Update API access description to include Terraform support 2025-12-21 22:41:52 +00:00
Nawaz Dhandala
fd002ea2f2 feat: Update enterprise overview link for improved navigation 2025-12-21 22:38:23 +00:00
Nawaz Dhandala
afdff472e6 feat: Update icon backgrounds and colors for consistency across quick links 2025-12-21 22:36:13 +00:00
Nawaz Dhandala
8bd9342183 feat: Update action button on server error page to navigate back instead of reload 2025-12-21 21:03:23 +00:00
Nawaz Dhandala
86511b15f8 feat: Improve styling and layout for error pages for better user experience 2025-12-21 21:01:39 +00:00
Nawaz Dhandala
a187750581 Refactor server error page for improved user experience and design consistency
- Updated the title and meta description for clarity.
- Redesigned the layout to enhance visual appeal with a new background pattern and error illustration.
- Simplified the error message and added a status indicator for real-time updates.
- Included action buttons for retrying the request and navigating to the homepage.
- Added a help section with support links for user assistance.
2025-12-21 20:49:27 +00:00
Nawaz Dhandala
e3f14c5424 feat: Revise enterprise section header and description for clarity and impact 2025-12-21 20:31:10 +00:00
Nawaz Dhandala
2739dcc30c feat: Update icon SVG paths for improved clarity and consistency 2025-12-21 20:08:47 +00:00
Nawaz Dhandala
d963e81365 feat: Update icon SVG paths for improved clarity and consistency 2025-12-21 19:54:56 +00:00
Nawaz Dhandala
0599df28d7 feat: Enhance icon hover effects for improved visual feedback 2025-12-21 19:48:45 +00:00
Nawaz Dhandala
d2d1d0dad3 feat: Update enterprise section styling and enhance link accessibility 2025-12-21 19:43:31 +00:00
Nawaz Dhandala
00fcc51dc9 Implement feature X to enhance user experience and optimize performance 2025-12-21 19:41:25 +00:00
Nawaz Dhandala
a3de5ceb7b feat: Update enterprise section with enhanced messaging for clarity and inclusivity 2025-12-21 18:52:46 +00:00
Nawaz Dhandala
ef817d0095 Implement feature X to enhance user experience and optimize performance 2025-12-21 18:51:05 +00:00
Nawaz Dhandala
15d8816eed feat: Update product feature links to use anchor tags for improved accessibility and styling 2025-12-21 18:42:18 +00:00
Nawaz Dhandala
b98e90f7ec Implement feature X to enhance user experience and optimize performance 2025-12-21 14:28:49 +00:00
Nawaz Dhandala
84e3fa02a4 Implement feature X to enhance user experience and optimize performance 2025-12-21 14:22:20 +00:00
Nawaz Dhandala
801d75d5b5 feat: Revamp Support section with updated styling and enhanced content clarity 2025-12-21 13:36:39 +00:00
Nawaz Dhandala
c221890339 feat: Update Security & Integrations cards with new styling and improved readability 2025-12-21 13:34:23 +00:00
Nawaz Dhandala
7083d17dbb feat: Revamp enterprise-ready section with enhanced styling and improved content clarity 2025-12-21 13:33:11 +00:00
Nawaz Dhandala
955cd25fe9 feat: Update color scheme for enterprise-ready section to enhance visual appeal 2025-12-21 13:29:11 +00:00
Nawaz Dhandala
434ae5954f feat: Revamp enterprise-ready section with updated styling and improved readability 2025-12-21 13:20:34 +00:00
Nawaz Dhandala
a87c455c1a feat: Enhance stats section with hover effects for improved interactivity 2025-12-21 13:10:10 +00:00
Nawaz Dhandala
e7d13f9e7c feat: Add installation script and update README for simplified setup 2025-12-21 13:08:14 +00:00
Nawaz Dhandala
6564fe2ae6 feat: Update GitHub stats formatting for improved clarity and accuracy 2025-12-21 13:03:02 +00:00
Nawaz Dhandala
bd3e19f774 feat: Update GitHub stats fetching to use default values and improve formatting 2025-12-21 13:00:46 +00:00
Nawaz Dhandala
51ad4a5e9b feat: Add GitHub stats fetching and display contributors and commits count 2025-12-21 12:58:12 +00:00
Nawaz Dhandala
921da83b2c feat: Revamp proudly open-source section for improved aesthetics and clarity 2025-12-21 12:55:10 +00:00
Nawaz Dhandala
3450ab87a9 feat: Update features list in CTA section for improved clarity and engagement 2025-12-21 12:51:46 +00:00
Nawaz Dhandala
2ea6c7328f feat: Improve heading formatting for better readability in CTA section 2025-12-21 12:50:20 +00:00
Nawaz Dhandala
3a36f148b7 feat: Update text formatting for improved readability and consistency across sections 2025-12-21 12:46:56 +00:00
Nawaz Dhandala
82c7217cd5 feat: Update CTA section with new heading, subtext, and button labels for improved clarity and engagement 2025-12-21 12:40:20 +00:00
Nawaz Dhandala
cc0fc07e73 feat: Update CTA section with enhanced subtext and new features list for better engagement 2025-12-21 12:28:34 +00:00
Nawaz Dhandala
2d8a328a69 feat: Redesign CTA section with improved layout, content, and button styles 2025-12-21 12:26:20 +00:00
Nawaz Dhandala
eea5d1e447 feat: Revamp 'Proudly Open Source' section with new design, animations, and enhanced content 2025-12-21 12:22:35 +00:00
Nawaz Dhandala
0fc7fa75a8 feat: Redesign enterprise-ready section with enhanced visuals and improved content structure 2025-12-21 12:19:43 +00:00
Nawaz Dhandala
03e30276ec Refactor code structure for improved readability and maintainability 2025-12-21 12:09:23 +00:00
Nawaz Dhandala
2bc585df20 feat(reviews): Enhance review structure with role and company details, and improve styling for better presentation 2025-12-20 12:38:55 +00:00
Nawaz Dhandala
7ef6c5fbdb chore: Bump version to 9.2.26 2025-12-19 21:56:40 +00:00
Simon Larsen
cc9372edfb Merge pull request #2192 from OneUptime/demo-improve
Demo improve
2025-12-19 21:27:34 +00:00
Nawaz Dhandala
43aae580e2 Implement feature X to enhance user experience and fix bug Y in module Z 2025-12-19 21:20:18 +00:00
Nawaz Dhandala
9d147c9aa5 fix(demo): Update compliance certification sections to use anchor links for improved navigation 2025-12-19 21:09:53 +00:00
Nawaz Dhandala
c417d87c00 fix(demo): Add customer reference call prompt with contact link 2025-12-19 21:05:13 +00:00
Nawaz Dhandala
c14708ac8d fix(demo): Update SVG path for improved icon representation in workflows section 2025-12-19 21:02:59 +00:00
Nawaz Dhandala
e92d7b3834 fix(demo): Update SVG icons for improved visual consistency and clarity 2025-12-19 21:01:07 +00:00
Nawaz Dhandala
43583c3c30 fix(demo): Adjust logo image styles for improved alignment and consistency 2025-12-19 20:57:52 +00:00
Nawaz Dhandala
51b08d34d0 fix(demo): Revise main headline for improved clarity and update logo image sizes 2025-12-19 20:56:41 +00:00
Nawaz Dhandala
b847ef6aca fix(demo): Update main headline to better reflect software operations focus 2025-12-19 20:52:27 +00:00
Nawaz Dhandala
2cf3cd7e32 fix(demo): Remove Trusted By section to streamline demo page layout 2025-12-19 20:51:28 +00:00
Nawaz Dhandala
cc389542ad fix(demo): Update section title and description to enhance clarity and engagement 2025-12-19 20:50:05 +00:00
Nawaz Dhandala
ab521336b6 fix(demo): Update section title and content to clarify demo objectives 2025-12-19 20:49:24 +00:00
Nawaz Dhandala
e796c74d6f fix(demo): Update CTA button text and link for scheduling a demo 2025-12-19 20:31:30 +00:00
Nawaz Dhandala
99eca5b8de fix(demo): Update tagline to reflect broader client base and enhance messaging 2025-12-19 20:28:47 +00:00
Nawaz Dhandala
1090f56684 fix(demo): Adjust logo vertical alignment and heights for improved visual consistency 2025-12-19 20:27:12 +00:00
Nawaz Dhandala
083408f8a5 fix(demo): Adjust logo image heights for better visual consistency in marquee 2025-12-19 20:24:00 +00:00
Nawaz Dhandala
0f2b0a40b8 fix(demo): Adjust logo marquee width and item flex properties for better layout 2025-12-19 20:12:18 +00:00
Nawaz Dhandala
fd4661301e Refactor code structure for improved readability and maintainability 2025-12-19 20:09:46 +00:00
Nawaz Dhandala
7906280c98 feat(demo): Add CSCS logo to logo marquee for enhanced branding 2025-12-19 20:02:31 +00:00
Nawaz Dhandala
0353b57711 feat(demo): Update FAQ section with security certifications and deployment options for clarity 2025-12-19 19:14:16 +00:00
Nawaz Dhandala
ba26e1a24b Remove SVG logo and replace with PNG version for Syniti in logo-roll.ejs 2025-12-19 19:09:46 +00:00
Nawaz Dhandala
4283131030 Add new SVG logo for Syniti 2025-12-19 19:03:03 +00:00
Nawaz Dhandala
154cdf6d25 feat(demo): Enhance logo marquee with improved styling and seamless looping for better visual impact 2025-12-19 18:50:24 +00:00
Nawaz Dhandala
a0f9c2892f feat(demo): Update demo messaging for clarity and improved user understanding 2025-12-19 18:40:29 +00:00
Nawaz Dhandala
3b8a91128a feat(demo): Simplify calendar widget container by removing decorative glow for a cleaner look 2025-12-19 18:38:26 +00:00
Nawaz Dhandala
63debedf65 feat(demo): Update hero section background to match design consistency with a refined dot pattern 2025-12-19 18:36:26 +00:00
Nawaz Dhandala
14dd1f16a0 feat(demo): Enhance calendar widget with new header, decorative elements, and helper text for improved user experience 2025-12-19 18:35:09 +00:00
Nawaz Dhandala
df04467ae9 feat(demo): Update demo page background and remove floating elements for a cleaner design 2025-12-19 18:30:21 +00:00
Nawaz Dhandala
6ac4591c26 feat(demo): Revise demo page with updated messaging, improved CTA, and enhanced layout for better user engagement 2025-12-19 18:26:54 +00:00
Nawaz Dhandala
945d5df750 feat(demo): Revamp FAQ section with collapsible items and improved layout for better user engagement 2025-12-19 18:22:10 +00:00
Nawaz Dhandala
1a9b3d48c0 Improve demo page layout and content; adjust typography, enhance CTA buttons, and reorganize sections for better user experience 2025-12-19 18:16:52 +00:00
Nawaz Dhandala
225480d99a feat(oss-friends): Update category icon colors for improved visual consistency 2025-12-19 18:12:01 +00:00
Nawaz Dhandala
c3f598f2f3 feat(demo): Enhance demo page with animated elements and improved messaging 2025-12-19 16:42:35 +00:00
Nawaz Dhandala
54982c5e88 feat(oss-friends): Update badge design and messaging in the OSS Friends section 2025-12-19 16:29:24 +00:00
Nawaz Dhandala
3eb465a901 feat(footer): Update CTA design and enhance messaging for clarity 2025-12-19 16:27:42 +00:00
Nawaz Dhandala
c8d091e5ef feat(footer): Revamp CTA section with updated design and messaging 2025-12-19 16:25:02 +00:00
Nawaz Dhandala
2986e94655 feat: Enhance OSS Friends page with improved category navigation and project stats display 2025-12-19 16:24:29 +00:00
Nawaz Dhandala
ddc21d6947 fix(footer): simplify Careers link by removing hiring badge 2025-12-19 16:21:53 +00:00
Nawaz Dhandala
e7ca4dc1c2 feat: Revamp OSS Friends page layout and enhance project visibility 2025-12-19 16:20:16 +00:00
Nawaz Dhandala
5136dd5412 refactor: Remove "Observability & Monitoring" category and associated projects from OSSFriends 2025-12-19 16:18:23 +00:00
Nawaz Dhandala
7642d2dd80 feat: Enhance OSS Friends page with categories and additional projects
- Updated OSSFriends data structure to include categories and website URLs.
- Modified the HomeFeatureSet to render unique categories for OSS Friends.
- Improved the oss-friends.ejs view to display projects categorized by their respective types.
- Added a hero section and stats section to highlight the number of OSS projects and categories.
- Included a call-to-action for users to submit their projects for listing.
- Updated footer links for consistency and clarity.
2025-12-19 16:13:49 +00:00
Nawaz Dhandala
01d22b0ff1 fix(footer): reduce logo height for better alignment 2025-12-19 15:51:49 +00:00
Nawaz Dhandala
2f1f446980 fix(footer): increase logo size for better visibility 2025-12-19 15:50:03 +00:00
Nawaz Dhandala
319eb98ffa Update footer logo and enhance careers link styling
- Replaced the footer logo with a new SVG image (4-gray.svg) and adjusted its height.
- Modified the careers link in the footer to increase the gap between text and hiring badge.
- Updated the hiring badge style to include a green border and a dot indicator.
2025-12-19 15:45:55 +00:00
Nawaz Dhandala
f864e389ea style: Update footer links for consistency and improved clarity 2025-12-19 15:40:57 +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
65bd7a90bd style: Enhance footer design with improved layout, content, and accessibility 2025-12-19 15:34:14 +00:00
Nawaz Dhandala
f61ee70c2c style: Update footer design for improved aesthetics and user engagement 2025-12-19 15:31:20 +00:00
Nils T
b2a0ca1a2f Remove unnecessary whitespace in MicrosoftTeams.ts 2025-12-19 16:21:33 +01:00
Nils T
3908eb8701 Remove unused import for MicrosoftTeamsTeam 2025-12-19 16:15:41 +01:00
Nils T
dd793f7a90 Fix formatting of user retrieval in MicrosoftTeams.ts 2025-12-19 16:10:06 +01:00
Nils T
36cf20ef21 Refactor getUserJoinedTeams to return array of teams 2025-12-19 16:08:04 +01:00
Nawaz Dhandala
aafab4b313 Implement feature X to enhance user experience and fix bug Y in module Z 2025-12-19 14:17:10 +00:00
Simon Larsen
2e7ec3e5bf Merge pull request #2190 from tollercode/fix/msteams-scoped-teams-retrieval
Fix user ID handling in MicrosoftTeams service
2025-12-19 11:41:38 +00:00
Nawaz Dhandala
433482b87c chore: Bump version to 9.2.25 2025-12-19 11:03:40 +00:00
Simon Larsen
904788fb34 Merge pull request #2182 from OneUptime/better-prod--pages
Refactor code structure for improved readability and maintainability
2025-12-19 11:03:21 +00:00
Nawaz Dhandala
7f6efa0b55 style: Refactor code for consistent formatting and improved readability 2025-12-19 11:03:10 +00:00
Nawaz Dhandala
633c07323e Refactor code structure for improved readability and maintainability 2025-12-19 11:02:35 +00:00
Nils T
3a575f8666 Handle potential null user in UserService call 2025-12-19 10:37:22 +01:00
Nils T
2eed0cbfb2 Update import path for User model 2025-12-19 10:33:41 +01:00
Nils T
c4f21561ff Fix formatting of User type declaration 2025-12-19 10:22:50 +01:00
Nils T
ff3113cc30 Update user ID handling in MicrosoftTeams service 2025-12-19 10:01:28 +01:00
Nawaz Dhandala
1050cc729a style: Improve code tab layout and prevent content overflow 2025-12-18 22:59:56 +00:00
Nawaz Dhandala
50c43c6b7a fix: Update SVG icons for various programming languages in code tabs 2025-12-18 22:51:27 +00:00
Nawaz Dhandala
de088b4012 feat: Enhance syntax highlighting support by adding additional language scripts and improving code block highlighting logic 2025-12-18 22:40:12 +00:00
Nawaz Dhandala
0d5418e4a0 feat: Add request preview functionality with headers and body display in code tabs 2025-12-18 22:31:32 +00:00
Nawaz Dhandala
3ef008415e refactor: Remove Project ID placeholder from API request examples 2025-12-18 22:15:51 +00:00
Nawaz Dhandala
6560fea782 Enhance code block copy functionality and styling
- Updated the copy button in code blocks to include icons and text feedback for better user experience.
- Changed the button class from `copy-btn` to `copy-btn-response` and adjusted its styling for improved visibility and interaction.
- Modified the JavaScript function to handle icon toggling and text updates upon copying code.
- Ensured consistent styling for the copy button across different components.
2025-12-18 22:10:18 +00:00
Nawaz Dhandala
e26f3ea9d3 fix: Update layout of API reference sections for improved readability 2025-12-18 22:00:04 +00:00
Nawaz Dhandala
ce7925f947 Add code tabs for multiple programming languages in API reference
- Implemented a dynamic code tab component using EJS for rendering code examples in various languages (cURL, JavaScript, Python, Go, Ruby, Rust, PowerShell).
- Added responsive design with tab switching functionality and copy-to-clipboard feature.
- Integrated local storage to remember user’s preferred programming language across sessions.
- Enhanced accessibility with ARIA roles and attributes for better screen reader support.
2025-12-18 21:56:10 +00:00
Nawaz Dhandala
1076987cc8 feat: Implement SMS template variable handling with plain text conversion for notifications 2025-12-18 21:37:01 +00:00
Nawaz Dhandala
704456e256 fix: Update Slack message formatting to use standard Markdown syntax 2025-12-18 21:09:30 +00:00
Nawaz Dhandala
73b38b9bcb fix: Simplify SMS example formatting in notification template documentation 2025-12-18 21:02:59 +00:00
Nawaz Dhandala
f1ee95e1e2 fix: Adjust formatting for Microsoft Teams notification method check 2025-12-18 20:58:16 +00:00
Nawaz Dhandala
21acba85f4 feat: Update notification template handling for different methods and improve documentation examples 2025-12-18 20:56:53 +00:00
Nawaz Dhandala
0f7f8aafe3 Enhance status page design with floating elements and improved animations
- Added subtle grid pattern background for visual depth.
- Introduced floating status and subscriber cards with animations.
- Updated button styles for better interactivity and responsiveness.
- Enhanced text styles for improved readability and aesthetics.
- Implemented hover effects on various elements for a more engaging user experience.
- Added custom CSS animations for floating effects.
2025-12-18 19:05:19 +00:00
Nawaz Dhandala
66dd76ab6a fix: Simplify date assignment logic in timeline for scheduled maintenance events 2025-12-18 18:15:39 +00:00
Nawaz Dhandala
e86f033a8b Refactor code structure for improved readability and maintainability 2025-12-18 18:00:19 +00:00
Nawaz Dhandala
994c614d5e Add AI Agent landing page with features, capabilities, and privacy details 2025-12-18 17:47:08 +00:00
Nawaz Dhandala
c467d2ec30 feat: Rename "Reliability Copilot" to "AI Agent" in feature descriptions 2025-12-18 14:34:42 +00:00
Nawaz Dhandala
4d1cde73b3 Merge branch 'master' into better-prod--pages 2025-12-18 14:31:37 +00:00
Nawaz Dhandala
1b354cb040 chore: Bump version to 9.2.24 2025-12-18 14:08:42 +00:00
Nawaz Dhandala
c75e37b58c Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-18 13:59:26 +00:00
Nawaz Dhandala
384fe01ddc test: Refactor test fixtures in BaseAPI tests for consistency and clarity 2025-12-18 13:59:24 +00:00
Simon Larsen
8609fa638f Merge pull request #2188 from tollercode/fix/msteams-scoped-teams-refresh
Refactor the use app-scoped token for fetching teams per user
2025-12-18 13:58:20 +00:00
Nawaz Dhandala
992eb51eac chore: Bump version to 9.2.23 2025-12-18 13:52:56 +00:00
Nawaz Dhandala
e7f489da3b fix: Add type annotations for improved type safety in various modules 2025-12-18 13:46:22 +00:00
Nawaz Dhandala
9481d61c2f Refactor SelectFieldGenerator and SchemaConverter for improved readability and maintainability
- Updated formatting and indentation for consistency in SelectFieldGenerator.ts and SchemaConverter.ts.
- Enhanced logging messages for better debugging in generateAllFieldsSelect and findModelClass functions.
- Simplified error handling and fallback mechanisms in generateAllFieldsSelect.
- Improved type definitions and structure in Zod schema conversion functions.
- Added tests for server initialization and tool management to ensure proper functionality and error handling.
2025-12-18 13:22:18 +00:00
Nawaz Dhandala
89dd543677 feat: Remove EnableMCP decorator from Project model 2025-12-18 13:21:07 +00:00
Nawaz Dhandala
b94c6f9fb7 feat: Remove resolve_status_page_domain tool from public status page tools 2025-12-18 13:20:08 +00:00
Nawaz Dhandala
c8409da40b feat: Update MCP server to support public tools without API key 2025-12-18 13:13:53 +00:00
Nawaz Dhandala
eecf87bd0f feat: Enhance MCP tool generation with public status page tools
- Refactored ToolGenerator.ts to include generation of public status page tools.
- Added PublicStatusPageTools.ts with functions to create tools for querying public status pages.
- Implemented tools for getting overview, incidents, scheduled maintenance, announcements, and resolving status page domains.
- Updated logging and error handling for public status page tool execution.
2025-12-18 13:03:17 +00:00
Nawaz Dhandala
2cf23c203e feat: update StatusPageAPI to validate UUIDs and use domain in route parameters 2025-12-18 13:02:43 +00:00
Nawaz Dhandala
9dd2876664 feat: add UUID validation methods to ObjectID and update BaseAPI to use them 2025-12-18 12:44:24 +00:00
Nawaz Dhandala
51e6c1ce9c feat: add helper tools for resource discovery and guidance in MCP 2025-12-18 12:03:57 +00:00
Nawaz Dhandala
8e399accc1 feat: add enableMCP property and decorator to various models for enhanced MCP functionality 2025-12-18 11:49:01 +00:00
Nawaz Dhandala
53ec40a3cb refactor: enhance formatCountResponse to handle various result formats 2025-12-18 11:39:59 +00:00
Nawaz Dhandala
73c126699d refactor: update Nginx configuration for MCP endpoint handling 2025-12-18 11:19:04 +00:00
Nawaz Dhandala
e93b9f7759 feat: Implement MCP Tool Handler and Server Management
- Added ToolHandler.ts to manage tool execution and response formatting.
- Implemented session management in SessionManager.ts for handling API keys and session data.
- Created MCPServer.ts for initializing and managing the MCP server instance.
- Developed SelectFieldGenerator.ts to generate select field objects for API queries.
- Introduced SchemaConverter.ts for converting Zod schemas to JSON Schema format.
- Built ToolGenerator.ts to generate MCP tools for OneUptime models, including CRUD operations.
- Enhanced logging throughout the code for better traceability and debugging.
2025-12-17 18:01:21 +00:00
Nawaz Dhandala
6cdc9f9a2b refactor: update Dockerfile for Node.js version and improve nodemon configuration 2025-12-17 17:46:40 +00:00
Nawaz Dhandala
2fd7dd136d refactor: add CORS support and handle root endpoint in MCP routes 2025-12-17 17:43:41 +00:00
Nawaz Dhandala
fd0c84d6b9 refactor: update cost display from per million to per 1000 tokens 2025-12-17 17:30:20 +00:00
Nils T
df78d71802 Fix logger.debug formatting in MicrosoftTeams.ts 2025-12-17 14:04:53 +01:00
Nawaz Dhandala
7ebbfb062a refactor: remove playwright dependencies from Dockerfiles 2025-12-17 12:38:53 +00:00
Nawaz Dhandala
60b2ee0b45 refactor: remove playwright dependencies from Dockerfile 2025-12-17 12:27:13 +00:00
Nawaz Dhandala
e2cde12c2f refactor: add QEMU_CPU environment variable to Docker image deployment jobs 2025-12-17 12:05:52 +00:00
Nils T
849326d54e Refactor the use app-scoped token for fetching teams per user 2025-12-17 12:51:40 +01:00
Nawaz Dhandala
ab600ee29c refactor: consolidate MCP Docker image deployment steps in release workflows 2025-12-17 11:07:10 +00:00
Nawaz Dhandala
cdd4ea1644 refactor: rename MCP server references to use a consistent naming convention 2025-12-17 10:45:31 +00:00
Nawaz Dhandala
694f20f231 chore: update version number to 9.2.22 2025-12-16 21:58:50 +00:00
Nawaz Dhandala
6a0db02101 refactor: improve code formatting and enhance type definitions in MCP server 2025-12-16 21:50:32 +00:00
Nawaz Dhandala
14ebd5450b refactor: enhance MCP server documentation for VS Code integration with GitHub Copilot 2025-12-16 21:42:36 +00:00
Nawaz Dhandala
b27863ed37 refactor: remove multiple instances configuration section from MCP server documentation 2025-12-16 21:36:53 +00:00
Nawaz Dhandala
8a6be6960b refactor: update API service initialization to use environment variables for URL configuration 2025-12-16 21:32:18 +00:00
Nawaz Dhandala
af155d8c43 refactor: replace Server with McpServer for improved functionality and clarity 2025-12-16 21:29:22 +00:00
Nawaz Dhandala
449549e1f9 refactor: update MCP server transport to Streamable HTTP and enhance session management 2025-12-16 21:27:10 +00:00
Nawaz Dhandala
da0d3b2e34 refactor(tests): update mock event type for preventDefault in Breadcrumbs tests 2025-12-16 21:14:18 +00:00
Nawaz Dhandala
39cc8bcb3f Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2025-12-16 20:54:39 +00:00
Nawaz Dhandala
136c9bca26 refactor(tests): add type annotations for better clarity and maintainability 2025-12-16 20:41:15 +00:00
Nawaz Dhandala
8998faac57 refactor: improve code readability by normalizing whitespace and enhancing comments in tests 2025-12-16 20:35:34 +00:00
Nawaz Dhandala
9c3d21fec4 chore: bump version to 9.2.21 2025-12-16 20:27:53 +00:00
Nawaz Dhandala
1a33d51190 Refactor tests for HashedString, Dropdown, FilePicker, and API
- Updated HashedString tests to include async handling and additional cases for hashing with salts.
- Enhanced Dropdown tests to verify value prop display, multiselect functionality, and placeholder handling.
- Revised FilePicker tests to cover rendering, file uploads, error handling, and read-only mode, replacing skipped tests with new implementations.
- Added new tests for API class methods, including PATCH requests and error message handling, while removing outdated instance method tests.
2025-12-16 20:27:35 +00:00
Nawaz Dhandala
37884050f8 test: Skip FilePicker tests that check for image rendering due to component changes 2025-12-16 20:09:52 +00:00
Nawaz Dhandala
737ba1b242 test: Skip outdated FilePicker and API tests due to component redesign and method changes 2025-12-16 20:02:29 +00:00
Nawaz Dhandala
ed43f22815 test: Update BaseAPI tests to use DEFAULT_LIMIT for limit=0; normalize whitespace in StatementGenerator tests; refine FilePicker tests to use text for dropzone; enhance uuid mock for valid UUID generation 2025-12-16 19:58:02 +00:00
Nawaz Dhandala
9508c31a1e test: Update cookie utility tests to include default path and sameSite options; modify modal tests for responsive width; enhance navbar tests with mock navigation location; adjust ordered states list test for bar loader role 2025-12-16 19:52:09 +00:00
Nawaz Dhandala
fd47a72d54 test: Skip database-dependent test suites and update mock configurations 2025-12-16 19:18:28 +00:00
Nawaz Dhandala
6acf9fe3cf feat: Introduce AI templates for incident postmortem, public notes, and internal notes 2025-12-16 19:03:25 +00:00
Nawaz Dhandala
3e8ad4c05c fix: Update error message for AI balance recharge instructions 2025-12-16 18:48:12 +00:00
Simon Larsen
ac1d052f35 Merge pull request #2187 from OneUptime/master
fix: Remove unused data source items from AI postmortem generation
2025-12-16 18:33:55 +00:00
Nawaz Dhandala
da21231d9b chore: Bump version to 9.2.20 2025-12-16 18:32:23 +00:00
Nawaz Dhandala
c14976bac8 feat: Add ejs as a dependency in package.json and package-lock.json 2025-12-16 18:32:00 +00:00
Nawaz Dhandala
b7c3070204 feat: Add markdown table conversion for Slack formatting 2025-12-16 18:02:52 +00:00
Nawaz Dhandala
f5b18a0a3d fix: Remove unused data source items from AI postmortem generation 2025-12-16 17:50:02 +00:00
Nawaz Dhandala
6cfb7bf965 fix: Update internal note generation to use correct type for API response 2025-12-16 16:11:25 +00:00
Nawaz Dhandala
1526b59ff5 refactor: Clean up import statements and improve code formatting in API files 2025-12-16 16:02:24 +00:00
Nawaz Dhandala
4966468d99 fix: Change button style for AI generation to outline 2025-12-16 15:58:35 +00:00
Nawaz Dhandala
b4357d8e5b feat: Enhance Domain validation with comprehensive checks and regex implementation 2025-12-16 15:55:30 +00:00
Nawaz Dhandala
1895bffb95 feat: Update AI note generation for alerts, incidents, and scheduled maintenance with structured request data 2025-12-16 15:53:16 +00:00
Nawaz Dhandala
8d79a38a1e refactor: Remove maxTokens parameter from LLMCompletionRequest and related methods 2025-12-16 15:39:43 +00:00
Nawaz Dhandala
bdd894f57e feat: Add maxTokens parameter to LLMCompletionRequest and update related methods 2025-12-16 15:33:33 +00:00
Nawaz Dhandala
64a584dd76 fix: Add peer dependency flag to various packages in package-lock.json 2025-12-16 15:29:37 +00:00
Nawaz Dhandala
4b967375aa refactor: Update type annotations for note templates and API response in InternalNote 2025-12-16 15:25:23 +00:00
Nawaz Dhandala
35441d90a8 feat: Add AI-generated note functionality for alerts, incidents, and scheduled maintenance
- Implemented GenerateFromAIModal in InternalNote and PublicNote components for Alerts, Incidents, and Scheduled Maintenance.
- Added API endpoints for generating notes from AI for alerts and scheduled maintenance.
- Created context builders for alerts and scheduled maintenance to format data for AI processing.
- Enhanced internal and public note generation with AI capabilities, allowing for automated note creation based on existing data.
2025-12-16 15:18:04 +00:00
Nawaz Dhandala
ea2b1192ff refactor: Correct type annotation for costInUSD in LlmPage 2025-12-16 14:35:59 +00:00
Nawaz Dhandala
9dc2e8e04d refactor: Correct type annotations for cost calculations in LlmPage 2025-12-16 14:35:17 +00:00
Nawaz Dhandala
56e2baeb44 refactor: Update LlmPage description based on BILLING_ENABLED status 2025-12-16 14:32:54 +00:00
Nawaz Dhandala
907379ef23 refactor: Add billing cost display logic in LlmPage based on BILLING_ENABLED 2025-12-16 14:31:24 +00:00
Nawaz Dhandala
afb3de360b refactor: Add billing enabled check in AIBillingAPI and AIBillingService 2025-12-16 14:28:09 +00:00
Nawaz Dhandala
a1587c33e7 refactor: Add peer property to multiple dependencies in package-lock.json 2025-12-16 14:20:39 +00:00
Nawaz Dhandala
f01227c997 refactor: Remove border styling from MarkdownEditor in GenerateFromAIModal and update icon color handling in Modal component 2025-12-16 14:10:50 +00:00
Nawaz Dhandala
ce50121696 refactor: Comment out AI Logs SideMenuItem in multiple SideMenu components 2025-12-16 14:03:01 +00:00
Nawaz Dhandala
e109b01ae5 refactor: Move LLM Providers link to the end of the AI section in DashboardSideMenu 2025-12-16 14:02:53 +00:00
Nawaz Dhandala
9bd2dd0942 refactor: Update button style to PRIMARY in GenerateFromAIModal and IncidentPostmortem 2025-12-16 14:00:47 +00:00
Nawaz Dhandala
0fba2bb8bf refactor: Simplify AILoader usage in GenerateFromAIModal and remove unused data source prop 2025-12-16 13:58:43 +00:00
Nawaz Dhandala
3ca7d37c49 refactor: Remove unused data source info section from GenerateFromAIModal 2025-12-16 13:56:41 +00:00
Nawaz Dhandala
78c4a7cfc5 refactor: Set default selected template ID and simplify template options mapping 2025-12-16 13:55:36 +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
3797f258e8 refactor: Update inputSchema type to JSONSchema and improve route setup with forEach 2025-12-16 12:15:37 +00:00
Nawaz Dhandala
8e628d0a4f refactor: Remove unused properties from AILoaderProps and improve type definitions in LlmLogsTable and MCP Index 2025-12-16 12:13:27 +00:00
Nawaz Dhandala
858710cf1b refactor: Clean up imports and improve formatting across multiple files 2025-12-16 12:11:48 +00:00
Nawaz Dhandala
5cbce238b1 refactor: Update AILoaderProps to explicitly define optional properties and enhance GenerateFromAIModal with default templates and improved template selection 2025-12-16 12:06:04 +00:00
Nawaz Dhandala
276f79057d feat: Enhance incident postmortem generation with template support and clearer instructions 2025-12-16 11:59:44 +00:00
Nawaz Dhandala
c50aa35064 refactor: Simplify AILoader component by removing unused icons and stages, enhancing loading message display 2025-12-16 11:57:32 +00:00
Nawaz Dhandala
87ab8b6c40 feat: Add visibility condition for error view button in LlmLogsTable 2025-12-16 11:54:24 +00:00
Nawaz Dhandala
06f248717d refactor: Remove outdated MCP documentation and update navigation for AI integration 2025-12-16 11:51:20 +00:00
Nawaz Dhandala
9b714bbe29 refactor: Improve type definitions and enhance JSON schema handling in MCP services 2025-12-16 11:42:56 +00:00
Nawaz Dhandala
2fb8239fe9 refactor: Simplify tsconfig structure in jest.config.json 2025-12-16 11:34:02 +00:00
Nawaz Dhandala
fbdedaacc3 chore: update dependencies in package.json
- Upgraded @modelcontextprotocol/sdk from ^0.6.0 to ^1.25.0
- Updated ts-node from ^10.9.1 to ^10.9.2
- Upgraded devDependencies:
  - @types/jest from ^27.5.0 to ^29.5.14
  - @types/node from ^17.0.31 to ^22.15.21
  - jest from ^28.1.0 to ^29.7.0
  - nodemon from ^2.0.20 to ^3.1.11
  - ts-jest from ^28.0.2 to ^29.4.6
  - typescript from ^5.8.3 to ^5.9.3
2025-12-16 11:33:05 +00:00
Nawaz Dhandala
4c577c7dfa fix: Allow any type for request parameters in tool call handler 2025-12-16 11:30:50 +00:00
Nawaz Dhandala
f15f797d43 refactor: Replace MCP server implementation with a streamlined structure and improved logging 2025-12-16 11:27:02 +00:00
Nawaz Dhandala
f92a109f3d feat: Add MCP service configuration with volumes and debugging port 2025-12-16 11:24:29 +00:00
Nawaz Dhandala
5eca1a5d04 refactor: Remove maxTokens from LLMCompletionRequest and related usages 2025-12-16 11:21:47 +00:00
Nawaz Dhandala
091a766c29 docs: Update MCP documentation for improved clarity and configuration details 2025-12-16 11:19:44 +00:00
Nawaz Dhandala
f2906f59a2 refactor: Simplify server run logic and remove unused stdio mode 2025-12-16 11:06:02 +00:00
Nawaz Dhandala
83107857bd feat: Add MCP service configuration and related environment variables 2025-12-16 11:04:56 +00:00
Nawaz Dhandala
73d2cab46e refactor: update import paths to use relative imports for consistency 2025-12-16 10:50:16 +00:00
Nawaz Dhandala
0563970eb6 refactor: update package dependencies and tsconfig settings
- Changed dependency from "@oneuptime/common" to a local file reference "Common".
- Re-enabled experimental decorators in tsconfig.json.
- Cleaned up tsconfig.json formatting for better readability.
- Ensured strict type-checking options are clearly defined in tsconfig.json.
2025-12-16 10:50:09 +00:00
Nawaz Dhandala
2818146543 feat: Introduce AILoader component for enhanced loading experience during AI content generation 2025-12-16 10:33:04 +00:00
Nawaz Dhandala
6371ac4e36 feat: Refactor AI logging service by renaming AILogService to AIService and updating references in IncidentAPI 2025-12-16 10:28:52 +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
5652298f38 feat: Implement hard delete for LlmLog items older than 3 days when billing is enabled; refactor LlmLogsTable by removing unused fields and action buttons 2025-12-16 10:25:31 +00:00
Nawaz Dhandala
931a5f9e63 feat: Add AI Logs section to Scheduled Maintenance with routing and component integration 2025-12-15 21:43:26 +00:00
Nawaz Dhandala
bc05f75304 feat: Refactor LlmLog model by removing input and output tokens, and update related migrations and table display 2025-12-15 21:38:27 +00:00
Nawaz Dhandala
60955f0e1c fix: Update error message for missing payment methods to provide clearer instructions 2025-12-15 21:35:12 +00:00
Nawaz Dhandala
863737c2a3 feat: Conditionally display cost column in LlmLogsTable based on billing configuration 2025-12-15 21:32:06 +00:00
Nawaz Dhandala
cac0ef7155 feat: Update cost display in LlmLogsTable to show USD instead of cents 2025-12-15 21:30:59 +00:00
Nawaz Dhandala
b361d854bb feat: Add LlmLog API integration to BaseAPIFeatureSet for enhanced logging capabilities 2025-12-15 21:29:07 +00:00
Nawaz Dhandala
ee83583044 fix: Add public access modifier to name property in MigrationName1765830758857 class 2025-12-15 20:33:42 +00:00
Nawaz Dhandala
632849b334 feat: Add LlmLog table and related constraints for enhanced logging functionality 2025-12-15 20:33:09 +00:00
Nawaz Dhandala
17ba51a359 feat: Enhance type definitions and improve type safety in various components and services 2025-12-15 20:30:33 +00:00
Nawaz Dhandala
bb485070af style: Improve code formatting and readability in AILogs components 2025-12-15 20:19:06 +00:00
Nawaz Dhandala
393e01eb9e feat: Update AILogService and IncidentAPI to handle optional userId and improve logging in LlmLogsTable 2025-12-15 20:18:17 +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
8fda0325d9 feat: Integrate AI template fetching and handling in IncidentPostmortem component 2025-12-15 19:03:26 +00:00
Nawaz Dhandala
93d9c045e2 style: Improve code formatting and readability across multiple files 2025-12-15 19:01:02 +00:00
Nawaz Dhandala
db895a0f11 feat: Enhance channel message retrieval for Slack and Microsoft Teams 2025-12-15 19:00:36 +00:00
Nawaz Dhandala
ab1d357625 feat: Add data source items for AI generation in IncidentPostmortem 2025-12-15 18:46:38 +00:00
Nawaz Dhandala
2515da12aa feat: Add AI generation functionality for postmortem notes in IncidentPostmortem 2025-12-15 18:42:30 +00:00
Nawaz Dhandala
ac12a33405 feat: Refactor AI context handling by introducing IncidentAIContextBuilder 2025-12-15 18:41:12 +00:00
Nawaz Dhandala
4cfebb5e49 feat: Add LLMService for handling multiple LLM provider completions 2025-12-15 18:38:17 +00:00
Nawaz Dhandala
b9ae827c29 feat: Implement AI-driven postmortem generation endpoint in IncidentAPI 2025-12-15 18:38:02 +00:00
Nawaz Dhandala
f69c81e815 feat: Add AI postmortem generation method to IncidentService 2025-12-15 18:37:15 +00:00
Nawaz Dhandala
012228d9d1 feat: Add telemetry capture to getLLMProviderForProject method 2025-12-15 18:28:45 +00:00
Nawaz Dhandala
8efe2284f9 feat: Rename "AI Billing" to "AI Credits" in SettingsRoutePath 2025-12-15 16:52:49 +00:00
Nawaz Dhandala
530a5b4f12 feat: Update "AI Billing" to "AI Credits" in SideMenu and Breadcrumbs 2025-12-15 16:51:28 +00:00
Nawaz Dhandala
9fe3209db6 feat: Add GitHub App configuration variables to docker-compose 2025-12-15 14:57:30 +00:00
Nawaz Dhandala
11087350de feat: Add migration for AI-related fields in Project and OnCallDutyPolicyScheduleLayer 2025-12-15 14:52:06 +00:00
Nawaz Dhandala
aebe606374 feat: Add migration for new AI-related fields in Project and OnCallDutyPolicyScheduleLayer 2025-12-15 14:51:12 +00:00
Nawaz Dhandala
37b492beb2 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-15 14:49:14 +00:00
Nawaz Dhandala
95136cd3c0 Refactor code structure for improved readability and maintainability 2025-12-15 14:48:51 +00:00
Simon Larsen
1653e7626c Merge pull request #2181 from omri-shilton/master
Added nginx service annotations and load balancer class
2025-12-15 14:46:19 +00:00
Nawaz Dhandala
33f7ce129d chore: Bump version to 9.2.17 2025-12-15 13:35:12 +00:00
Nawaz Dhandala
464a4ff46a feat: Add complete guide for OneUptime Terraform Provider with installation, configuration, and best practices 2025-12-15 13:26:38 +00:00
Nawaz Dhandala
8491c89a0b fix: Remove unnecessary line breaks in descriptions for AIBillingSettings component 2025-12-15 13:12:37 +00:00
Nawaz Dhandala
0f7ffb7a66 feat: Implement AI Billing feature with recharge functionality and UI integration 2025-12-15 12:57:32 +00:00
omrishilton
b53aae5516 Added nginx service annotations and load balancer class for use in AWS NLB 2025-12-15 14:48:26 +02:00
Nawaz Dhandala
2c7d3562f6 feat: Update publish script to handle existing tags gracefully and improve user feedback 2025-12-15 12:41:02 +00:00
Nawaz Dhandala
9d95232e69 feat: Enhance footer design with gradient background, updated social links, and improved accessibility 2025-12-15 12:29:17 +00:00
Nawaz Dhandala
62e5c944dd feat: Add enableAutomaticImprovements and maxOpenPullRequests fields to ServiceCatalogCodeRepository model and update related migrations and UI 2025-12-15 12:29:03 +00:00
Nawaz Dhandala
af21ea967a feat: Refactor migration for ServiceCatalogCodeRepository and update related routes 2025-12-15 10:35:29 +00:00
Nawaz Dhandala
a9046071cf feat: Add ServiceCatalogCodeRepositoryService and integrate with BaseAPI 2025-12-13 14:32:09 +00:00
Nawaz Dhandala
0b6a59ce1d feat: Implement Service Catalog Code Repository model and related routes 2025-12-13 13:47:22 +00:00
Nawaz Dhandala
f1c7f0a32e feat: Add base64 decoding for GitHub App private key 2025-12-13 12:42:56 +00:00
Nawaz Dhandala
78c6bb82aa feat: Add migration for CodeRepository and CodeRepositoryLabel tables 2025-12-13 12:28:52 +00:00
Nawaz Dhandala
fc259cb0b2 docs: Update GitHub integration instructions to use base64 encoded private key 2025-12-13 12:26:25 +00:00
Nawaz Dhandala
b0f5db650c docs: Update GitHub integration documentation for clarity and completeness 2025-12-13 12:24:14 +00:00
Nawaz Dhandala
229987db94 chore: Update CodeRepository component for better performance 2025-12-13 12:24:09 +00:00
Nawaz Dhandala
e53af4d49e feat: Add Code Repository API integration 2025-12-13 12:15:05 +00:00
Nawaz Dhandala
962398a947 fix: Remove unnecessary background gradient from introduction section 2025-12-13 12:08:49 +00:00
Nawaz Dhandala
8d6f301075 Refactor code structure for improved readability and maintainability 2025-12-13 12:06:47 +00:00
Nawaz Dhandala
3a93181e89 Merge branch 'master' into code-repo 2025-12-13 09:22:34 +00:00
Nawaz Dhandala
518fe45c4b chore: Bump version to 9.2.16 2025-12-13 09:22:09 +00:00
Nawaz Dhandala
488a30a2c1 feat: Add migration for CodeRepository and CodeRepositoryLabel tables 2025-12-12 22:56:57 +00:00
Nawaz Dhandala
ffcfa93ed3 fix: Update GitHub callback URL in documentation and API to use state parameter 2025-12-12 22:55:28 +00:00
Nawaz Dhandala
467d35889f feat: Add GitHub Integration documentation and navigation link 2025-12-12 22:44:02 +00:00
Nawaz Dhandala
6681640b5f refactor: Clean up code formatting and improve readability in GitHub API and related files 2025-12-12 22:38:58 +00:00
Nawaz Dhandala
f65197a0bf feat: Add Code Repository management features
- Implement CodeRepositoryService for database interactions.
- Enhance GitHub utility functions for app authentication and repository management.
- Introduce new permissions for Code Repository actions (create, delete, edit, read).
- Create Code Repository pages and routes in the dashboard.
- Add side menu and breadcrumbs for Code Repository navigation.
- Implement settings and delete functionality for Code Repositories.
- Update Helm chart to include GitHub App configuration options.
- Modify example environment configuration to include GitHub App credentials.
2025-12-12 22:37:01 +00:00
Nawaz Dhandala
7c06b22e9d feat: Update example secret value in MonitorSecret model for clarity 2025-12-12 22:28:04 +00:00
Nawaz Dhandala
bb2bd2dde9 feat: Update subject line formatting for incident notifications 2025-12-12 22:25:06 +00:00
Nawaz Dhandala
7d468be1e3 feat: Add previous state duration details to alert, incident, and scheduled maintenance notifications 2025-12-12 21:57:50 +00:00
Nawaz Dhandala
2b0b66a606 feat: Add conditional rendering for table permissions in model view 2025-12-12 21:31:31 +00:00
Nawaz Dhandala
aa0105a8e2 Refactor example formatting in database models for consistency
- Updated example strings in various database model files to use consistent line breaks for improved readability.
- Ensured that all example properties are formatted uniformly across models, enhancing maintainability and clarity.
2025-12-12 21:23:31 +00:00
Nawaz Dhandala
ca5c31fc32 Add example values to various fields in Telemetry and User models for better documentation
- Updated TelemetryException model with example values for Project, Telemetry Service, Exception Message, Stack Trace, Exception Type, Finger Print, Created by User, and more.
- Enhanced TelemetryIngestionKey model with example values for Project, Name, Description, Created by User, and more.
- Improved TelemetryUsageBilling model with example values for Project, Day, Product Type, Data Ingested, Total Cost, and more.
- Added example values to UserCall model for Project ID, Phone, User ID, Created by User ID, and more.
- Included example values in UserEmail model for Project ID, Email, User ID, Created by User ID, and more.
- Updated UserNotificationRule model with example values for Project ID, User ID, Created by User ID, and various notification types.
- Enhanced UserNotificationSetting model with example values for Project ID, User ID, and various notification settings.
- Improved UserOnCallLog model with example values for User ID, Project ID, On-Call Policy ID, and more.
- Added example values to UserSMS model for Project ID, Phone, User ID, Created by User ID, and more.
2025-12-12 21:10:10 +00:00
Nawaz Dhandala
e928328bbb Add example values to various database models for improved API documentation
- Updated MonitorStatus, OnCallDutyPolicy, Probe, Project, ScheduledMaintenance, ScheduledMaintenanceInternalNote, ServiceCatalog, StatusPage, StatusPageAnnouncement, StatusPageDomain, StatusPageGroup, StatusPageHeaderLink, StatusPageResource, StatusPageSubscriber, Team, TelemetryService, User, and Workflow models to include example values for better clarity in API documentation.
- Added example fields to TableColumnMetadata interface to support documentation generation.
2025-12-12 20:49:28 +00:00
Nawaz Dhandala
f502548dff Implement feature X to enhance user experience and optimize performance 2025-12-12 19:31:50 +00:00
Nawaz Dhandala
7c05566167 fix: Update footer layout for improved responsiveness and consistency
feat: Add conditional rendering for API permissions in model documentation
2025-12-12 19:11:48 +00:00
Nawaz Dhandala
9803872917 feat: Enhance mobile navigation with toggle functionality and improved layout 2025-12-12 19:07:39 +00:00
Nawaz Dhandala
698d4c020a fix: Update footer and navigation for improved accessibility and visual consistency 2025-12-12 19:00:18 +00:00
Nawaz Dhandala
e69f32e244 Refactor API documentation layout and styles
- Updated the permissions page to enhance the layout with a hero section and improved typography.
- Refined the index page structure for better responsiveness and alignment.
- Enhanced code block presentation with a copy button and improved styling.
- Redesigned the footer to include a more visually appealing open-source section and updated social media links.
- Improved the head partial with updated styles and scripts for better performance and aesthetics.
- Revamped the navigation bar for a cleaner look and better user experience, including updated links and hover effects.
2025-12-12 18:54:06 +00:00
Nawaz Dhandala
04e07da274 feat: Update color scheme to use indigo for improved visual consistency across components 2025-12-12 17:58:13 +00:00
Nawaz Dhandala
a015869447 Enhance documentation UI and error handling
- Improved the layout and styling of the main documentation page, including a custom scrollbar for the sidebar and a copy button for code blocks.
- Updated the mobile navigation for better accessibility and user experience.
- Redesigned the 404 Not Found and 500 Server Error pages with clearer messaging and improved visuals.
- Enhanced the content presentation in the articles with better typography and spacing.
- Added new meta tags for improved SEO in the head section.
- Refined the header and navigation components for a more cohesive look and feel.
2025-12-12 17:57:00 +00:00
Nawaz Dhandala
cab5630ab3 feat: Update LLM Providers page for improved clarity and consistency in incident notes 2025-12-12 17:15:49 +00:00
Nawaz Dhandala
41f25269dc feat: Update description for Global LLM Providers to clarify usage 2025-12-12 15:05:18 +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
92d316d557 feat: Replace Icon with Pill component for default indicators in LLM Provider views 2025-12-12 14:32:06 +00:00
Nawaz Dhandala
e56fe553d3 feat: Replace Pill components with Icon for default indicators and add a Card for LLM Providers description 2025-12-12 14:28:31 +00:00
Nawaz Dhandala
e4736c4f45 feat: Add new migration and update open-source indicators in index.ejs for consistency 2025-12-12 14:15:30 +00:00
Nawaz Dhandala
145f164c21 feat: Update APM icon in product-tabs.ejs for improved visual representation 2025-12-12 14:07:56 +00:00
Nawaz Dhandala
c9382817e3 feat: Update APM description in features-table.ejs for improved clarity 2025-12-12 14:06:16 +00:00
Nawaz Dhandala
8709120d66 feat: Update APM icon in index.ejs for improved visual representation 2025-12-12 14:01:47 +00:00
Nawaz Dhandala
722a74f46b feat: Update feature descriptions in index.ejs for improved clarity and engagement 2025-12-12 14:00:04 +00:00
Nawaz Dhandala
0e2629473a feat: Update feature descriptions in index.ejs for enhanced clarity and engagement 2025-12-12 13:58:44 +00:00
Nawaz Dhandala
98031222bc feat: Update main headline and subheadline in index.ejs for improved clarity and engagement 2025-12-12 13:56:12 +00:00
Nawaz Dhandala
db3871aab6 feat: Update feature labels and descriptions in index.ejs for clarity and consistency 2025-12-12 13:05:51 +00:00
Nawaz Dhandala
a892c38905 refactor: Add public access modifier to 'name' property in migration classes and specify type for itemsToUpdate in LlmProviderService 2025-12-12 12:57:15 +00:00
Nawaz Dhandala
06d3614bc8 refactor: Simplify array syntax for 'AI' links in DocsNav 2025-12-12 12:55:18 +00:00
Nawaz Dhandala
3f651d52a3 feat: Refactor LlmProvider to rename 'isEnabled' to 'isDefault' and remove related fields from UI 2025-12-12 12:54:12 +00:00
Nawaz Dhandala
dcf00d313c feat: Add 'isDefault' field to LlmProvider and implement logic for default provider handling 2025-12-12 12:51:42 +00:00
Nawaz Dhandala
e6f9f2fe59 feat: Remove unused fields from LlmProvider selection in API 2025-12-12 12:43:16 +00:00
Nawaz Dhandala
fa29b32cf0 feat: Update LlmPage to replace 'Provider' and 'Model' titles with 'Description' 2025-12-12 12:41:48 +00:00
Nawaz Dhandala
7dc229bf7e feat: Enhance LLM provider documentation with detailed capabilities and setup instructions 2025-12-12 12:31:57 +00:00
Nawaz Dhandala
8db2f4a962 feat: Update Icon component SVG path for improved rendering 2025-12-12 12:29:45 +00:00
Nawaz Dhandala
ddd372a9b0 feat: Add migration to drop Copilot and CodeRepository related tables 2025-12-12 11:57:33 +00:00
Nawaz Dhandala
7f41ebe697 feat: Add LlmProvider migration and update OnCallDutyPolicyScheduleLayer defaults 2025-12-12 11:52:52 +00:00
Nawaz Dhandala
e8d282ec06 feat: Update GitHub stars fetching logic and improve rendering in homepage 2025-12-12 11:31:10 +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
b5eee5968d Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-12 11:14:53 +00:00
Nawaz Dhandala
02b6ee5985 feat: Add GitHub stars count feature to homepage 2025-12-12 11:14:45 +00:00
Simon Larsen
fea6bf2196 Merge pull request #2177 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-12 11:11:49 +00:00
Nawaz Dhandala
6a9a9bcba6 refactor: Improve code formatting and readability across multiple files 2025-12-12 11:09:02 +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
simlarsen
5dbef764df chore: npm audit fix 2025-12-12 01:53:37 +00:00
Nawaz Dhandala
60a2a76469 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-11 23:11:04 +00:00
Nawaz Dhandala
3387f3ddfc fix: Update wording for clarity in contributing and support sections 2025-12-11 23:06:24 +00:00
Nawaz Dhandala
2a172bfcf7 feat: Add new migration for LLM table to schema 2025-12-11 22:40:34 +00:00
Nawaz Dhandala
431d49f547 feat: Add migration for LLM table with necessary constraints 2025-12-11 22:39:56 +00:00
Nawaz Dhandala
4dd806eaf8 feat: Add new features to the homepage grid for enhanced service visibility 2025-12-11 22:28:42 +00:00
Nawaz Dhandala
1f9805441e feat: Enhance homepage layout and content for improved user engagement 2025-12-11 22:25:58 +00:00
Nawaz Dhandala
b72c9bf087 refactor: Rename menu items in SideMenu for clarity and reorganization 2025-12-11 22:18:49 +00:00
Simon Larsen
ef537ea791 Merge pull request #2175 from OneUptime/ai-llm
docs: Update quick start instructions in README to use 'npm run start…
2025-12-11 22:13:36 +00:00
Nawaz Dhandala
37ee6eb74a docs: Update quick start instructions in README to use 'npm run start' instead of 'docker compose up -d' 2025-12-11 22:12:31 +00:00
Simon Larsen
e72af99a39 Merge pull request #2174 from OneUptime/ai-llm
Ai llm
2025-12-11 22:11:06 +00:00
Nawaz Dhandala
f1004d2d75 chore: Update license references from MIT to Apache 2.0 in footer, contributing guide, and README 2025-12-11 22:04:19 +00:00
Nawaz Dhandala
73225a06d6 docs: Revise README to enhance clarity and structure, adding new sections and updating features 2025-12-11 22:00:24 +00:00
Nawaz Dhandala
355c351203 docs: Update README to rename 'Coming Soon' section to 'Error Tracking' and provide description 2025-12-11 21:58:44 +00:00
Nawaz Dhandala
8f8704e2d0 Remove AI Copilot feature and related components
- Deleted the CodeRepositoryPage component and its associated routes.
- Removed AI Copilot breadcrumbs and references from the PageMap and RouteMap.
- Eliminated the LLM Server deployment documentation and introduction content.
- Cleaned up related data migrations and jobs for Copilot actions.
- Updated navigation to exclude Copilot links.
2025-12-11 21:52:49 +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
27a2fdc794 feat: Add Brain icon to IconProp and update SideMenu to use it 2025-12-11 20:47:26 +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
Nawaz Dhandala
abc0446c3a feat: improve logging and error handling in Microsoft Teams user token retrieval 2025-12-11 19:20:13 +00:00
Nawaz Dhandala
6e5e0b4a0a feat: remove unused endpoint for team selection in Microsoft Teams API 2025-12-11 19:07:05 +00:00
Simon Larsen
b04e639864 Merge pull request #2173 from OneUptime/slack-pushpin
Slack pushpin
2025-12-11 18:34:02 +00:00
Simon Larsen
d30e06c740 Merge pull request #2099 from tollercode/feat/msteams-userscope
feat(MicrosoftTeams): enhance refreshTeams to support user-scoped tokens
2025-12-11 18:33:30 +00:00
Nawaz Dhandala
221b70a5cf feat: add postedFromSlackMessageId to multiple note models and create migration for database updates 2025-12-11 18:25:34 +00:00
Nawaz Dhandala
60f292048d feat: add postedFromSlackMessageId to internal and public note models and services for duplicate prevention 2025-12-11 18:22:04 +00:00
Nawaz Dhandala
efc7a99982 feat: optimize emoji reaction handling by checking supported emojis before database queries 2025-12-11 18:03:19 +00:00
Nawaz Dhandala
ab4e3d9aa8 feat: add type annotations for reaction and user authentication data in Slack actions 2025-12-11 15:46:40 +00:00
Nawaz Dhandala
e21c26f2e0 refactor: clean up code formatting and improve debug logging in Slack actions 2025-12-11 15:38:55 +00:00
Nawaz Dhandala
4d1c687412 feat: add WorkspaceNotificationRuleTable for alerts, incidents, and scheduled maintenance in Slack 2025-12-11 15:21:23 +00:00
Nawaz Dhandala
7b2636f46a feat: add tips for using emoji reactions in Slack for alerts, incidents, and scheduled maintenance 2025-12-11 15:19:55 +00:00
Nawaz Dhandala
aa60206beb feat: update confirmation messages to use Slack's link formatting for alerts, incidents, and scheduled maintenance 2025-12-11 13:31:01 +00:00
Nawaz Dhandala
524f0cc867 feat: refactor Slack user ID retrieval to use WorkspaceUserAuthTokenService 2025-12-11 13:27:50 +00:00
Nawaz Dhandala
08c960ba89 feat: enhance Slack request handling by adding raw body support for signature verification 2025-12-11 13:19:37 +00:00
Nawaz Dhandala
4dbb24de77 feat: implement Slack emoji reaction handling for alerts, incidents, and scheduled maintenance 2025-12-11 13:16:57 +00:00
Simon Larsen
7d0d3c31b0 Merge pull request #2172 from tollercode/fix/incident-root-cause-edit-modal
fix: Change form field from description to rootCause
2025-12-11 12:34:38 +00:00
Nils T
32463b370e fix: Change form field from description to rootCause
RootCause Edit Modal wrongly fetched the Incident description in the form and also updates the wrong field.
2025-12-11 12:47:17 +01:00
Nawaz Dhandala
d7d382bcf6 feat: update npm authentication process for OIDC trusted publishing 2025-12-10 15:42:51 +00:00
Nawaz Dhandala
8079f5b74d feat: include status page group name in resource selection 2025-12-10 12:42:27 +00:00
Nawaz Dhandala
a08b551139 fix: allow default behavior for opening links in a new tab 2025-12-10 12:38:43 +00:00
Nawaz Dhandala
4f73e60d9b chore: bump version to 9.2.14 2025-12-10 12:34:20 +00:00
Nawaz Dhandala
f163390970 feat: include status page group name in event resource display for announcements, incidents, and scheduled events 2025-12-10 12:34:08 +00:00
Nawaz Dhandala
eea9c2788b Refactor: Remove Copilot tools and related utilities
- Deleted RunCommandTool, SearchWorkspaceTool, WriteFileTool, and their associated interfaces and implementations.
- Removed Tool, ToolRegistry, and AgentLogger classes, along with their dependencies.
- Eliminated utility functions for workspace path management and secret sanitization.
- Cleaned up TypeScript configuration and example environment variables related to Copilot.
- Updated Docker Compose files to remove references to Copilot services.
2025-12-10 11:42:31 +00:00
Nawaz Dhandala
210eb82369 fix: update resource grouping output to use <br/> for HTML rendering 2025-12-10 11:36:42 +00:00
Nawaz Dhandala
e9a02b5579 chore: bump version to 9.2.13 2025-12-10 11:28:47 +00:00
Nawaz Dhandala
34cc0af99e fix: update resource grouping logic to display ungrouped resources on separate lines without "Other" label 2025-12-10 11:28:10 +00:00
Nawaz Dhandala
c2a8431624 feat: implement StatusPageResourceUtil for grouping resources by their group name 2025-12-10 11:24:51 +00:00
Nawaz Dhandala
05b6a1b33b fix: reset log file on each command run to ensure fresh logging 2025-12-09 14:18:50 +00:00
Nawaz Dhandala
de6a58009a fix: handle grep command errors and return user-friendly message for no matches 2025-12-09 14:16:28 +00:00
Nawaz Dhandala
cc9e8f174a fix: add completion requirements to system prompt for improved task execution 2025-12-09 14:15:05 +00:00
Nawaz Dhandala
15026fdc0a fix: add peer flag to dependencies in package-lock.json for better compatibility 2025-12-09 13:32:00 +00:00
Nawaz Dhandala
c6c39d92ac fix: prevent default behavior for middle click and onClick event in Link component 2025-12-09 12:41:54 +00:00
Nawaz Dhandala
e01d67a7d9 fix: improve layout and styling for various account-related pages for better user experience 2025-12-09 12:31:20 +00:00
Simon Larsen
fd5d828a6d Merge pull request #2169 from OneUptime/synthetic-retry-count
Synthetic retry count
2025-12-09 12:23:48 +00:00
Nawaz Dhandala
7a9b46cede fix: remove unnecessary return statement in setTimeout for retry logic 2025-12-09 12:19:25 +00:00
Nawaz Dhandala
f44435e44c fix: format description for retry count on error for better readability; adjust state initialization for advanced options 2025-12-09 12:17:49 +00:00
Nawaz Dhandala
10e1f5b411 chore: bump version to 9.2.12 2025-12-09 12:17:42 +00:00
Nawaz Dhandala
28de37dc1a fix: update retry count label and description for clarity; refine interval filtering logic 2025-12-09 12:17:24 +00:00
Nawaz Dhandala
5e445f918b feat: add advanced options for retry count configuration in synthetic monitors 2025-12-09 12:15:34 +00:00
Nawaz Dhandala
7dd2a7e61d feat: add retry count on error for synthetic monitors 2025-12-09 12:11:05 +00:00
Nawaz Dhandala
c41b74070b chore: bump version to 9.2.11 2025-12-09 11:40:06 +00:00
Nawaz Dhandala
d4a0b2689d refactor: improve formatting and readability of the redactSecrets function in SecretSanitizer 2025-12-09 11:39:40 +00:00
Nawaz Dhandala
e272215c9e refactor: improve code readability by formatting and restructuring functions in OpenAIClient and ApplyPatchTool 2025-12-09 11:38:13 +00:00
Nawaz Dhandala
2ec80061c8 feat: add Discord integration with SendMessageToChannel component 2025-12-09 11:36:52 +00:00
Nawaz Dhandala
f085caed43 fix: update installation instructions for OneUptime app in Microsoft TeamsIntegration 2025-12-09 10:56:26 +00:00
Simon Larsen
c8acc720cf Merge pull request #2168 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-09 09:02:17 +00:00
simlarsen
4fd5420ddc chore: npm audit fix 2025-12-09 01:51:25 +00:00
Simon Larsen
83a3ecb217 feat: add jest for testing and enhance patch handling in ApplyPatchTool
feat: improve search functionality by excluding specific directories and files
feat: implement output sanitization to redact sensitive information
feat: add secret redaction utility to mask known secret patterns
2025-12-08 21:07:51 +00:00
Simon Larsen
777f45dd96 fix: remove temperature from ResponsesRequestPayload and related methods 2025-12-08 20:01:25 +00:00
Simon Larsen
896801dcb0 feat: enhance tool mapping in OpenAIClient and update ResponsesRequestPayload type 2025-12-08 19:58:35 +00:00
Simon Larsen
e1d94955c3 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-12-08 19:54:32 +00:00
Simon Larsen
c30a4d0ed6 fix: update ResponsesRequestPayload to explicitly allow undefined for tool_choice and tools 2025-12-08 19:54:29 +00:00
Simon Larsen
0cc97ca25c refactor: simplify response handling and enhance payload construction in OpenAIClient 2025-12-08 19:51:33 +00:00
Simon Larsen
ec5f7b081d Merge pull request #2166 from OneUptime/snyk-upgrade-bfb9122e9f65a4b4c901546b27a39e9e
[Snyk] Upgrade react-router-dom from 6.30.1 to 6.30.2
2025-12-08 19:47:50 +00:00
Simon Larsen
fda52266ee Merge pull request #2165 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-08 19:47:43 +00:00
Simon Larsen
7d893bed2e Merge pull request #2167 from OneUptime/sub-templates
Sub templates
2025-12-08 19:47:31 +00:00
Nawaz Dhandala
5c96f160ea fix: remove empty onTabChange handler in subscriber settings 2025-12-08 19:47:16 +00:00
Simon Larsen
a0cc36715e refactor: remove OpenAIResponsesClient and streamline OpenAIClient for improved API handling 2025-12-08 19:46:33 +00:00
Simon Larsen
fca7bac461 feat: implement OpenAIResponsesClient and update CopilotAgent to utilize new API for OpenAI responses 2025-12-08 19:39:24 +00:00
Simon Larsen
a0d15a4c75 feat: enhance model URL resolution for OpenAI and add support for model name in CLI options 2025-12-08 19:36:32 +00:00
Simon Larsen
41a2b5f3d6 feat: rename CLI command and update package dependencies in Copilot 2025-12-08 19:32:10 +00:00
Nawaz Dhandala
455d6dc4a6 fix: remove unused refreshCount state and related logic in subscriber settings 2025-12-08 19:26:06 +00:00
Nawaz Dhandala
2119689c8b fix: remove unnecessary useMemo for modelId string conversion in subscriber settings 2025-12-08 19:25:24 +00:00
Simon Larsen
46e6a37d71 feat: rename CLI command from oneuptime-copilot-agent to oneuptime-copilot 2025-12-08 19:20:09 +00:00
Simon Larsen
11ae53b6de fix: format code for better readability in AnthropicClient.ts 2025-12-08 19:15:36 +00:00
Simon Larsen
a4a2d118e4 feat: add publish workflow for Copilot agent and update package name 2025-12-08 19:15:01 +00:00
Simon Larsen
0ac884900d feat: add support for Ollama model in Copilot agent and update documentation 2025-12-08 19:08:44 +00:00
Nawaz Dhandala
231cee0c9f fix: optimize modelId string conversion in subscriber settings 2025-12-08 19:08:09 +00:00
Simon Larsen
b87f4d0893 feat: enhance model URL handling and tool metadata in Copilot agent 2025-12-08 19:04:36 +00:00
Simon Larsen
b4a43cca0f feat: add support for OpenAI and Anthropic models in Copilot agent 2025-12-08 19:02:28 +00:00
Nawaz Dhandala
c8995aa057 fix: correct singular and plural names in status page subscriber notification template metadata 2025-12-08 18:34:39 +00:00
Nawaz Dhandala
6062e7cd24 feat: refresh status page data on tab change in subscriber settings 2025-12-08 18:33:57 +00:00
Nawaz Dhandala
21ba2d0939 feat: add loading state and warning alerts for custom SMTP and Twilio configuration in subscriber settings 2025-12-08 18:28:10 +00:00
Nawaz Dhandala
84c7e5fc3a feat: simplify SMS notification message format for scheduled maintenance 2025-12-08 17:30:21 +00:00
Nawaz Dhandala
607bdaecbc feat: enhance notification templates to use custom configurations for SMS and email 2025-12-08 17:23:25 +00:00
Nawaz Dhandala
8d9d1b9182 refactor: clean up notification templates and improve code readability 2025-12-08 16:14:44 +00:00
Nawaz Dhandala
a1999f12e7 Enhance notification system with custom templates for incident notes, state changes, and scheduled maintenance
- Integrated custom notification templates for email, SMS, Slack, and Microsoft Teams in IncidentPublicNote, IncidentStateTimeline, ScheduledMaintenancePublicNote, and ScheduledMaintenanceStateTimeline jobs.
- Added logic to fetch and compile templates based on notification method and event type.
- Improved message formatting by including dynamic variables such as incident details, resources affected, and unsubscribe links.
- Updated email sending logic to utilize custom templates where available, falling back to default messages when necessary.
- Enhanced logging for better tracking of notification dispatches.
2025-12-08 16:11:12 +00:00
Nawaz Dhandala
e4d9263b9f feat: add support for postmortem published event in notification templates 2025-12-08 15:22:44 +00:00
Nawaz Dhandala
4b15893f12 Merge branch 'master' into sub-templates 2025-12-08 14:56:54 +00:00
Nawaz Dhandala
9e72288885 chore: bump version to 9.2.10 2025-12-08 14:56:25 +00:00
Nawaz Dhandala
403f4a1c5b fix: ensure browser session is disposed to prevent zombie processes 2025-12-08 14:55:54 +00:00
Nawaz Dhandala
e328dca641 fix: add tini for proper zombie process reaping in Dockerfile 2025-12-08 14:54:50 +00:00
Nawaz Dhandala
eb7db11cd6 refactor: Remove StatusPageSubscriberNotification utility functions and related types 2025-12-08 14:37:50 +00:00
Nawaz Dhandala
42314e4e3f fix: Update singular and plural names in StatusPageSubscriberNotificationTemplateStatusPage for clarity and link context in SubscriberSettings 2025-12-08 14:03:30 +00:00
Nawaz Dhandala
48ffea35c4 fix: Update singular and plural names in TableMetadata for clarity in StatusPageSubscriberNotificationTemplateStatusPage 2025-12-08 14:02:10 +00:00
Nawaz Dhandala
e2fe58f9cd feat: Add type annotations for function signatures in SubscriberNotificationTemplateView, SubscriberNotificationTemplates, and SubscriberNotificationTemplateVariables for improved type safety 2025-12-08 13:50:52 +00:00
Nawaz Dhandala
3a858e81eb refactor: Improve code formatting and readability in SubscriberNotificationTemplateView and SubscriberNotificationTemplates 2025-12-08 13:48:29 +00:00
Nawaz Dhandala
4d9fd5ee1d feat: Update SubscriberSettings to use Element type for template name and event type fields with custom rendering 2025-12-08 13:47:55 +00:00
Nawaz Dhandala
7ca91c848b feat: Simplify notification templates description for clarity and conciseness 2025-12-08 13:44:59 +00:00
Nawaz Dhandala
424b57db65 feat: Simplify SubscriberNotificationTemplateView by removing unused form steps and fields for improved clarity 2025-12-08 13:42:17 +00:00
Nawaz Dhandala
ac09d45a61 feat: Refactor template variable documentation retrieval to a dedicated utility function for improved maintainability 2025-12-08 13:36:31 +00:00
Nawaz Dhandala
3c7b9dc9ea feat: Enhance SubscriberNotificationTemplateView with detailed event-specific variable documentation and improved template content structure 2025-12-08 13:31:36 +00:00
Nawaz Dhandala
31f73ec551 feat: Add createEditModalWidth prop to SubscriberNotificationTemplates for improved modal sizing 2025-12-08 13:21:04 +00:00
Nawaz Dhandala
b2ca376520 feat: Update template variable documentation for Subscriber Notification Templates to enhance clarity and consistency 2025-12-08 13:20:48 +00:00
Nawaz Dhandala
5fede38237 feat: Refactor variable documentation in Subscriber Notification Templates for improved clarity and structure 2025-12-08 13:18:27 +00:00
Nawaz Dhandala
521cd911ee feat: Remove Card component from Subscriber Notification Templates for cleaner layout 2025-12-08 13:13:21 +00:00
Nawaz Dhandala
c43b191b2e feat: Enhance Subscriber Notification Templates with tabbed interface for notification methods 2025-12-08 13:09:33 +00:00
Nawaz Dhandala
c8e9b7d6cf feat: Add getFooterElement to Field interface and implement in SubscriberNotificationTemplates 2025-12-08 13:06:16 +00:00
Nawaz Dhandala
7ebc0ee4a5 feat: Add status page subscriber notification template status page linking table to API 2025-12-08 12:57:30 +00:00
Nawaz Dhandala
6dceb063f0 feat: Add status page subscriber notification templates to API 2025-12-08 12:55:05 +00:00
Nawaz Dhandala
7c291b58df feat: Update icon in DashboardSideMenu from Email to Bell 2025-12-08 12:52:34 +00:00
Nawaz Dhandala
5759328d6a feat: Enhance documentation for available template variables in subscriber notifications 2025-12-08 12:50:49 +00:00
Nawaz Dhandala
f79b1cec03 feat: Add type annotations for improved type safety in notification services and templates 2025-12-08 12:12:24 +00:00
Nawaz Dhandala
cbe2777e7d feat: Refactor notification template models and services for improved readability and maintainability 2025-12-08 12:10:35 +00:00
Nawaz Dhandala
308efbbddc feat: Add migration for Status Page Subscriber Notification Template and related tables 2025-12-08 12:08:09 +00:00
Nawaz Dhandala
e481cf3488 feat: Enhance Subscriber Settings with Notification Templates and Methods 2025-12-08 11:48:55 +00:00
Nawaz Dhandala
5172dd8e1d feat: Add Subscriber Notification Templates and Views to Settings 2025-12-08 11:43:15 +00:00
Nawaz Dhandala
ec10cefbb2 feat: Implement Status Page Subscriber Notification utilities and templates 2025-12-08 11:34:55 +00:00
Nawaz Dhandala
0933f01082 feat: Add Status Page Subscriber Notification Template and related services
- Introduced `StatusPageSubscriberNotificationTemplate` model for managing custom notification templates for status page subscribers.
- Created `StatusPageSubscriberNotificationTemplateStatusPage` model to link notification templates to specific status pages.
- Implemented services for managing notification templates and their associations with status pages.
- Added permissions for creating, reading, updating, and deleting notification templates and their links.
- Developed frontend component for displaying and managing subscriber notification templates in the dashboard.
- Defined enums for notification event types and methods to standardize template usage.
2025-12-08 11:33:06 +00:00
snyk-bot
bdd3c5fc40 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/11bb5528-45f9-473c-a635-dc097fd03b3c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-08 09:59:11 +00:00
simlarsen
1e953feeb8 chore: npm audit fix 2025-12-08 01:52:06 +00:00
Simon Larsen
48f86579be Merge pull request #2164 from OneUptime/snyk-upgrade-2d5ead31cbe58e2bd5c3f9e186213162
[Snyk] Upgrade react-router-dom from 6.30.1 to 6.30.2
2025-12-07 20:27:33 +00:00
Simon Larsen
34e1ceec33 Merge pull request #2163 from OneUptime/snyk-upgrade-42f7d10f38ab259b26178999a6727268
[Snyk] Upgrade react-router-dom from 6.30.1 to 6.30.2
2025-12-07 20:27:26 +00:00
Simon Larsen
edba39d475 Merge pull request #2162 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-07 20:27:21 +00:00
snyk-bot
5385eb2076 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/40b17bc5-1bd4-48b1-88f1-5b4dc1400e80?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-07 10:15:16 +00:00
snyk-bot
40597b7647 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/8ca4ee75-8bc5-43a1-a3bc-244ceebf1437?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-07 10:15:12 +00:00
simlarsen
2e5cc47522 chore: npm audit fix 2025-12-06 01:45:01 +00:00
Nawaz Dhandala
e6c7eceb57 fix: streamline SMS notification messages for various job handlers 2025-12-05 21:27:07 +00:00
Nawaz Dhandala
ef2bb2f7b6 fix: update Loader component test IDs and change test environment to jsdom 2025-12-05 21:05:11 +00:00
Nawaz Dhandala
049dc02a5f fix: bump version to 9.2.9 2025-12-05 20:39:33 +00:00
Nawaz Dhandala
100f46ab3c fix: update badge styles for previous and current state indicators in StateTransition template 2025-12-05 19:02:52 +00:00
Nawaz Dhandala
e21d080e6f fix: add previous status and color to notification data in SendStatusChangeNotification 2025-12-05 18:55:49 +00:00
Nawaz Dhandala
3740382e76 fix: enhance status badge display with color indicators in StatusTransition template 2025-12-05 18:53:41 +00:00
Nawaz Dhandala
d3864e268b fix: improve table styling and layout in StatusPageSubscriberReport template 2025-12-05 17:42:29 +00:00
Nawaz Dhandala
d3db3fd174 fix: remove outdated reliability copilot workflow file 2025-12-05 13:52:27 +00:00
Nawaz Dhandala
9f9e337350 chore: update version number to 9.2.8 2025-12-05 13:45:39 +00:00
Nawaz Dhandala
1e84ece07e fix: simplify import statements in Queue.ts for better clarity 2025-12-05 13:32:17 +00:00
Nawaz Dhandala
ee4981bd19 fix: enhance job handling in Queue class to manage repeatable jobs 2025-12-05 13:31:25 +00:00
Nawaz Dhandala
f8802eea24 fix: format code for better readability in Landing.spec.ts 2025-12-05 11:10:15 +00:00
Nawaz Dhandala
5b45cab822 fix: update link selector for OneUptime in Landing.spec.ts 2025-12-05 11:03:33 +00:00
Simon Larsen
908f16d769 Merge pull request #2159 from OneUptime/snyk-upgrade-2036816bc1d34768c430f289cb384bca
[Snyk] Upgrade react-router-dom from 6.30.1 to 6.30.2
2025-12-05 08:41:21 +00:00
Simon Larsen
e4852e5799 Merge pull request #2160 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-05 08:41:14 +00:00
simlarsen
06e672abdd chore: npm audit fix 2025-12-05 01:51:29 +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
Simon Larsen
9bd14ec3f3 Merge pull request #2158 from OneUptime/monitor-more-info
refactor: implement detailed error handling for request failures acro…
2025-12-04 22:00:18 +00:00
Nawaz Dhandala
9950f1502e refactor: enhance promise handling and error rejection in DNS and traceroute operations 2025-12-04 21:57:42 +00:00
Nawaz Dhandala
43432261e1 refactor: improve formatting and readability in error handling and network monitoring code 2025-12-04 21:54:13 +00:00
Nawaz Dhandala
bd2b8ba1fb refactor: add detailed logging for request failure scenarios in monitor response 2025-12-04 21:48:27 +00:00
Nawaz Dhandala
03742ab6f4 refactor: implement detailed error handling for request failures across monitors 2025-12-04 20:25:55 +00:00
Nawaz Dhandala
7324bff68b refactor: add NetworkPathTrace and NetworkPathMonitor for comprehensive network diagnostics 2025-12-04 19:46:34 +00:00
Nawaz Dhandala
8dbfa524e5 refactor: enhance error message validation in API error handling 2025-12-04 18:15:50 +00:00
Nawaz Dhandala
b2ef34f45f refactor: improve error handling in API class for more meaningful messages 2025-12-04 18:14:54 +00:00
Nawaz Dhandala
1ec9c885f3 refactor: enhance type annotations for SEO-related functions and improve sitemap entry configuration 2025-12-04 15:20:23 +00:00
Nawaz Dhandala
007973aa86 refactor: improve code formatting for better readability in Routes and Sitemap 2025-12-04 15:10:49 +00:00
Nawaz Dhandala
500101350f refactor: update version check logic to prevent re-releasing existing versions 2025-12-04 15:01:36 +00:00
Nawaz Dhandala
524fcae430 chore: update version number to 9.2.7 2025-12-04 15:00:26 +00:00
Nawaz Dhandala
7ec8fc5b1c chore: revert version number to 9.2.5 2025-12-04 15:00:09 +00:00
Nawaz Dhandala
6af3daa98e chore: update version number to 9.2.7 2025-12-04 14:41:16 +00:00
Nawaz Dhandala
1d35614cd3 refactor: correct grammar in the blog call-to-action header for clarity 2025-12-04 14:40:34 +00:00
Nawaz Dhandala
91219c9a96 refactor: correct grammar and improve consistency in meta descriptions and content across multiple views 2025-12-04 14:29:32 +00:00
Nawaz Dhandala
65ca7623d5 refactor: correct pluralization in product descriptions for consistency 2025-12-04 14:29:29 +00:00
Nawaz Dhandala
c569977b45 refactor: enhance sitemap configuration with detailed priority and change frequency settings 2025-12-04 14:28:47 +00:00
Nawaz Dhandala
2263916a9f refactor: implement SEO enhancements with structured metadata and dynamic canonical URLs 2025-12-04 14:26:47 +00:00
Nawaz Dhandala
2cca728dfc refactor: improve accessibility by enhancing skip link and alt text for logo 2025-12-04 14:20:58 +00:00
Nawaz Dhandala
ed687a1639 refactor: enhance alt text for images and wrap main content in <main> tags for improved accessibility 2025-12-04 14:17:52 +00:00
Nawaz Dhandala
270199806c refactor: remove LLM-related Docker workflows and associated files 2025-12-04 13:47:12 +00:00
Nawaz Dhandala
30a3c5e1b2 refactor: improve type definition for getMetricChartType in DashboardChartComponent 2025-12-04 13:38:55 +00:00
Nawaz Dhandala
0c5bd31023 refactor: remove unused chart type determination logic in MonitorMetrics 2025-12-04 13:32:44 +00:00
Nawaz Dhandala
84a75b7af6 chore: bump version to 9.2.6 2025-12-04 13:30:27 +00:00
Nawaz Dhandala
e25be96040 feat: add rounded corners to BarChart rendering for improved aesthetics 2025-12-04 13:29:48 +00:00
Nawaz Dhandala
7777f7d9aa feat: add syncid prop to BarChart component for synchronized chart rendering 2025-12-04 13:15:09 +00:00
Nawaz Dhandala
8e37df3fc0 feat: add dropdown support for chart type selection in Dashboard components 2025-12-04 12:43:55 +00:00
Nawaz Dhandala
88c9e0beb5 feat: add BarChart component and integrate chart type handling in MetricCharts and MonitorMetrics 2025-12-04 12:36:41 +00:00
Nawaz Dhandala
d751537473 feat: add migration for postmortemPostedAt column in Incident table 2025-12-04 12:22:50 +00:00
Nawaz Dhandala
60be6c00e9 chore: bump version to 9.2.5 2025-12-04 11:45:50 +00:00
Nawaz Dhandala
91bf55dc20 refactor: simplify logging for previous status duration and improve code formatting 2025-12-04 09:17:31 +00:00
Nawaz Dhandala
d20a125742 refactor: update previous status duration handling in notification template and logging 2025-12-04 09:14:41 +00:00
Nawaz Dhandala
d10bcd2edd refactor: enhance code readability by adding comments for previous status duration calculation 2025-12-04 08:59:04 +00:00
Nawaz Dhandala
0b32408bf2 refactor: update notification template and improve duration calculation logic 2025-12-04 08:58:42 +00:00
Nawaz Dhandala
269fbd3f24 feat: add dep-check script and remove tsconfig-paths from devDependencies 2025-12-04 08:51:40 +00:00
Nawaz Dhandala
2640ea8c10 refactor: streamline previous status duration calculation in notification 2025-12-03 23:21:07 +00:00
Nawaz Dhandala
f3180d3a83 feat: add previous status duration calculation to status change notification 2025-12-03 23:18:35 +00:00
Nawaz Dhandala
7727fe835f refactor: improve parameter destructuring for createIncidentStateChangedNotification method 2025-12-03 23:17:23 +00:00
Nawaz Dhandala
00fbfbc08e chore: bump version to 9.2.4 2025-12-03 23:08:21 +00:00
Nawaz Dhandala
44d1183066 feat: add monitor destination and request type details to notification templates and services 2025-12-03 23:08:04 +00:00
Nawaz Dhandala
0ccef797ab chore: bump version to 9.2.3 2025-12-03 22:44:46 +00:00
Nawaz Dhandala
9914fb905f fix: update background color for previous and current state/status badges to transparent 2025-12-03 22:43:03 +00:00
Nawaz Dhandala
35ecc19ceb fix: update background color for current state/status badge in notification templates 2025-12-03 22:37:01 +00:00
Nawaz Dhandala
fa0362f739 feat: update notification templates to include state transition details for alerts, incidents, monitors, and scheduled maintenance 2025-12-03 22:36:09 +00:00
Nawaz Dhandala
8ea9084d9e feat: enhance notification templates and logic to include previous state information for alerts, incidents, monitors, and scheduled maintenance 2025-12-03 22:25:45 +00:00
Simon Larsen
eeb31a2250 Merge pull request #2154 from OneUptime/email-improve
Email improve
2025-12-03 21:40:46 +00:00
Nawaz Dhandala
b58c91dbab fix: update version number to 9.2.2 2025-12-03 21:40:11 +00:00
Nawaz Dhandala
868bf4d3e1 fix: remove unnecessary empty row from DetailBoxEnd template for improved clarity 2025-12-03 21:37:20 +00:00
Nawaz Dhandala
a3fc20b393 fix: update incident and event title fields for improved clarity in email templates 2025-12-03 21:14:32 +00:00
Nawaz Dhandala
c8dad04b5c fix: add border-radius to logo images for improved aesthetics 2025-12-03 21:10:15 +00:00
Nawaz Dhandala
ee7db393f8 fix: update email templates to remove empty fields for improved clarity 2025-12-03 21:06:09 +00:00
Nawaz Dhandala
e52da9fef2 fix: remove emojis from email titles for consistency 2025-12-03 21:00:19 +00:00
Nawaz Dhandala
9332df5648 Refactor email templates for improved styling and structure
- Updated EmailTitle template to enhance title styling and added a title block comment.
- Adjusted spacing in End and Footer templates for better layout.
- Enhanced Footer template with new styling and added a powered by link.
- Modified InfoBlock template for improved text styling and added an info block comment.
- Refined Start template with new background color and added a top spacer.
- Updated Style template with new link and badge styles for better visual consistency.
- Enhanced SupportBlock template with a more engaging support message.
- Improved Thanks template with a more personalized closing message.
- Added TitleBlock comments for better organization.
- Updated UnsubscribeBlock for clearer subscription management options.
- Replaced VerticalSpace with a table-based spacer for consistent spacing.
- Enhanced SignupWelcomeEmail with improved messaging and button text.
- Updated SubscriberAnnouncementCreated template for better clarity and button integration.
- Refined SubscriberIncidentCreated template for improved incident details presentation.
- Enhanced SubscriberIncidentPostmortemCreated template for better postmortem details.
- Updated SubscriberIncidentStateChanged template for clearer incident state updates.
- Refined SubscriberScheduledMaintenanceEventCreated template for better event details.
- Introduced StatusBadge template for consistent incident status representation.
2025-12-03 20:40:46 +00:00
Nawaz Dhandala
120fc2ad71 fix: change field type for subscriber notification from Toggle to Checkbox 2025-12-03 19:35:49 +00:00
Nawaz Dhandala
1a7672748f fix: update title for status page visibility and add conditional display for subscriber notification 2025-12-03 19:35:07 +00:00
Nawaz Dhandala
4868e285b0 fix: simplify description for postmortem published timestamp field 2025-12-03 19:30:08 +00:00
Nawaz Dhandala
f572eb6f93 feat: add subscriber notification fields and migration for postmortem 2025-12-03 19:18:43 +00:00
Nawaz Dhandala
a0868e2f75 feat: add subscriber notification status and resend functionality in postmortem 2025-12-03 19:16:49 +00:00
Nawaz Dhandala
3dfd7a9206 feat: set subscriber notification status to Pending on postmortem published 2025-12-03 19:12:42 +00:00
Nawaz Dhandala
d7582337bf fix: remove ignoreHooks option from incident status update in postmortem notification 2025-12-03 19:11:00 +00:00
Nawaz Dhandala
23043462d7 fix: correct incident number retrieval in postmortem notification logic 2025-12-03 19:08:29 +00:00
Nawaz Dhandala
76d53c53c8 feat: add notifySubscribersOnPostmortemPublished toggle to postmortem form 2025-12-03 19:06:40 +00:00
Nawaz Dhandala
4437e912a3 feat: add notifySubscribersOnPostmortemPublished field and update notification logic 2025-12-03 19:05:28 +00:00
Nawaz Dhandala
937d4675a8 feat: add postmortem notification system for subscribers 2025-12-03 19:03:02 +00:00
Nawaz Dhandala
3cc984f149 Merge branch 'master' into release 2025-12-03 18:53:12 +00:00
Nawaz Dhandala
991928a5a5 fix: update version to 9.2.1 2025-12-03 18:53:05 +00:00
Nawaz Dhandala
6f46812418 fix: remove welcome message sending on bot installation 2025-12-03 18:52:18 +00:00
Nawaz Dhandala
6e20e7f08f fix: correct typo in debug log message for sleep duration in FetchListAndProbe 2025-12-03 18:45:25 +00:00
Nawaz Dhandala
ae406d8ee1 fix: update QEMU setup to use tonistiigi/binfmt:qemu-v10.0.4 in release workflows 2025-12-03 18:42:01 +00:00
Nawaz Dhandala
05920d5b99 fix: improve error logging for Playwright resource closure 2025-12-03 18:33:27 +00:00
Nawaz Dhandala
3a309aabcf fix: enhance browser context closure handling in SyntheticMonitor 2025-12-03 18:31:12 +00:00
Nawaz Dhandala
22a3004a3f fix: simplify error logging in safeCloseBrowserContext and adjust formatting in safeCloseBrowser 2025-12-03 18:27:09 +00:00
Nawaz Dhandala
b8f69fbea3 fix: refactor browser session management in SyntheticMonitor for improved clarity and error handling 2025-12-03 18:25:37 +00:00
Nawaz Dhandala
888aff6392 fix: format migration queries and update index for new migration 2025-12-03 14:42:10 +00:00
Nawaz Dhandala
234de977c4 fix: prevent rendering icon for non-highlighted timeline items 2025-12-03 14:41:39 +00:00
Nawaz Dhandala
fa5f606709 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-03 14:20:38 +00:00
Nawaz Dhandala
b889611d16 fix: update postmortem attachment message for improved visibility and change version to 9.2.0 2025-12-03 14:04:09 +00:00
Nawaz Dhandala
43f0eeb0f8 fix: improve clarity in postmortem status page description and enhance attachment handling messages 2025-12-03 13:57:40 +00:00
Nawaz Dhandala
be311dd8b5 feat: add default value for Postmortem Published At field 2025-12-03 13:56:30 +00:00
Nawaz Dhandala
29428bf660 fix: update placeholder for Postmortem Published At field to improve clarity 2025-12-03 13:55:58 +00:00
Simon Larsen
9eebbe9dfb feat: implement retry logic with configurable attempts and delay for LMStudioClient 2025-12-03 13:51:30 +00:00
Nawaz Dhandala
0dc3bb4f33 feat: add MigrationName1764767371788 for updating OnCallDutyPolicyScheduleLayer defaults 2025-12-03 13:10:12 +00:00
Nawaz Dhandala
adf5a9c1f3 feat: add postmortemPostedAt field and update related components for incident tracking 2025-12-03 13:09:23 +00:00
Nawaz Dhandala
faaded049a feat: add DocumentCheck icon to IconProp and update incident postmortem note icon 2025-12-03 12:58:27 +00:00
Nawaz Dhandala
d02e3882be fix: adjust font size classes for TimelineItem highlight to improve readability 2025-12-03 12:52:20 +00:00
Nawaz Dhandala
e1af84fafa feat: enhance EventItem styling with conditional highlight for improved visibility 2025-12-03 12:51:03 +00:00
Nawaz Dhandala
c371f0a25f feat: add title and highlight properties to TimelineItem for enhanced event display 2025-12-03 12:42:17 +00:00
Nawaz Dhandala
c86d2c2a4a refactor: streamline API route registration and improve code readability 2025-12-03 11:50:17 +00:00
Nawaz Dhandala
a807cc10ab feat: add migration for IncidentPostmortemAttachmentFile table and related constraints 2025-12-03 11:43:31 +00:00
Nawaz Dhandala
6cc480744d Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-03 11:42:07 +00:00
Nawaz Dhandala
7cb6104795 feat: enhance postmortem functionality with attachment handling and status page visibility 2025-12-03 11:42:05 +00:00
Nawaz Dhandala
49dd315501 feat: implement postmortem attachment handling in Incident and StatusPage APIs 2025-12-03 11:34:00 +00:00
Simon Larsen
9ec2b458ed style: remove unnecessary first-letter styling from blog post body 2025-12-03 11:14:50 +00:00
Nawaz Dhandala
702b5811a9 fix: add missing line continuation for workspace-path in usage example 2025-12-02 22:25:59 +00:00
Nawaz Dhandala
7dc7255790 feat: add alias normalization for historical argument names in ReadFileTool 2025-12-02 22:22:19 +00:00
Nawaz Dhandala
1f620e7092 feat: update default max iterations for tool-calling rounds to 100 2025-12-02 21:48:32 +00:00
Nawaz Dhandala
87466246fa Revert "feat: enhance log file path resolution in CLI to support home directory and relative paths"
This reverts commit 12eaa17859.
2025-12-02 21:34:16 +00:00
Nawaz Dhandala
12eaa17859 feat: enhance log file path resolution in CLI to support home directory and relative paths 2025-12-02 21:31:20 +00:00
Nawaz Dhandala
e782ae6b3c feat: enhance logging in CopilotAgent and WorkspaceContext with detailed message contents 2025-12-02 21:17:34 +00:00
Nawaz Dhandala
9ad87328c2 feat: add detailed JSDoc comments for Copilot agent and tools 2025-12-02 21:04:08 +00:00
Nawaz Dhandala
8279294d15 feat: implement oneuptime-copilot-agent CLI with logging and configuration options 2025-12-02 20:52:15 +00:00
Nawaz Dhandala
8c6da51d58 Adopt PascalCase paths in Copilot 2025-12-02 20:34:27 +00:00
Nawaz Dhandala
6d114e3ac4 chore: bump version to 9.1.3 2025-12-02 20:18:07 +00:00
Nawaz Dhandala
44427d3ee7 feat: enhance ReadFileTool with optional line start and end parameters 2025-12-02 14:52:07 +00:00
Nawaz Dhandala
09b0c3b1ef feat: add debug logging instructions and example to README 2025-12-02 14:42:08 +00:00
Nawaz Dhandala
ad597fe5dd feat: update model name and workspace path in usage examples 2025-12-02 14:39:36 +00:00
Nawaz Dhandala
74f17fa45c fix: handle notification skipping for already notified scheduled maintenance events 2025-12-02 14:22:10 +00:00
Nawaz Dhandala
b19a5fa58a feat: add isCreatedState and isScheduledState checks to skip notifications for already notified incidents 2025-12-02 14:21:52 +00:00
Nawaz Dhandala
57abffa113 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-12-02 13:06:53 +00:00
Nawaz Dhandala
e8e493ee5a Refactor code structure for improved readability and maintainability 2025-12-02 13:06:50 +00:00
Simon Larsen
e065ebdddc Merge branch 'copilot-v2' 2025-12-02 13:02:32 +00:00
Simon Larsen
39da442892 style: update blog post first paragraph styling for improved readability 2025-12-02 13:02:18 +00:00
Simon Larsen
45b02b30e3 Merge pull request #2152 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-12-02 11:46:04 +00:00
Nawaz Dhandala
30414327f9 feat: add Dockerfile for OneUptime-copilot setup 2025-12-02 11:05:16 +00:00
simlarsen
b99a20a588 chore: npm audit fix 2025-12-02 01:50:48 +00:00
Nawaz Dhandala
22178c282d fix: format command descriptions for consistency in MicrosoftTeamsAPI 2025-12-01 17:13:11 +00:00
Nawaz Dhandala
30389a8d49 feat: add command lists for improved interaction with OneUptime bot in Microsoft Teams 2025-12-01 17:11:37 +00:00
Nawaz Dhandala
7b73cc2ea7 fix: remove trailing spaces in action type definitions 2025-12-01 17:05:30 +00:00
Nawaz Dhandala
6d2c331216 feat: update command triggers for incident and maintenance actions 2025-12-01 17:05:05 +00:00
Nawaz Dhandala
624e4c2296 chore: update version to 9.1.2 2025-12-01 16:38:51 +00:00
Simon Larsen
5e901ee973 Merge pull request #2151 from OneUptime/copilot-v2
Copilot v2
2025-12-01 16:25:22 +00:00
Simon Larsen
a103abc7a9 fix: simplify boolean expression for hasProgressedBeyondScheduledState 2025-12-01 15:45:35 +00:00
Simon Larsen
a7dda0bd53 feat: add logic to update nextSubscriberNotificationBeforeTheEventAt for progressed scheduled maintenance events 2025-12-01 15:45:15 +00:00
Simon Larsen
6948754c86 Merge pull request #2147 from OneUptime/copilot-v2
Copilot v2
2025-12-01 15:21:05 +00:00
Simon Larsen
cc5731bb6d feat: add error handling and logging for missing tool calls and directory entries 2025-12-01 15:20:44 +00:00
Simon Larsen
6761a8a686 Merge pull request #2148 from OneUptime/snyk-upgrade-240d43adaab510cce84165a4f1ccf9b5
[Snyk] Upgrade mailparser from 3.7.5 to 3.9.0
2025-12-01 13:42:14 +00:00
Simon Larsen
6e487199aa refactor: add type annotations and improve type safety across multiple files 2025-12-01 13:41:34 +00:00
snyk-bot
cda5de92ec fix: upgrade mailparser from 3.7.5 to 3.9.0
Snyk has created this PR to upgrade mailparser from 3.7.5 to 3.9.0.

See this package in npm:
mailparser

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-29 12:10:48 +00:00
Simon Larsen
33349341a9 refactor: improve code formatting and readability across multiple files 2025-11-28 21:53:50 +00:00
Simon Larsen
db81fdd3e7 feat: enhance logging throughout the Copilot agent and tools for better traceability 2025-11-28 21:52:33 +00:00
Simon Larsen
d71eba91dd chore: remove vscode-copilot-chat subproject reference 2025-11-28 21:45:07 +00:00
Simon Larsen
682bb805f3 feat: implement AgentLogger for file-based logging with exit handlers 2025-11-28 21:43:15 +00:00
Simon Larsen
7f38e3d417 docs: add usage example for running the agent in development mode 2025-11-28 21:31:08 +00:00
Simon Larsen
559985e93b feat: add tsconfig-paths for improved module resolution in development 2025-11-28 21:28:19 +00:00
Simon Larsen
43588cbe5a refactor: update optional properties to include 'undefined' type in various interfaces 2025-11-28 20:57:17 +00:00
Simon Larsen
0772fce477 refactor: update Telemetry class to use type assertions for loggerProviderConfig and nodeSdkConfiguration
chore: remove unused common type definitions and clean up tsconfig.json
2025-11-28 20:20:09 +00:00
Simon Larsen
78107d8b1c chore: remove unused type definitions and clean up tsconfig.json 2025-11-28 20:06:43 +00:00
Simon Larsen
078af43b0c chore: remove tsconfig.json for OneUptime Copilot Agent 2025-11-28 19:58:11 +00:00
Simon Larsen
9b9aeb2f40 feat: Implement OneUptime Copilot Agent with workspace tools
- Added SystemPrompt for guiding the agent's behavior.
- Created WorkspaceContextBuilder to gather workspace information.
- Developed main entry point in index.ts for agent execution.
- Implemented LMStudioClient for interacting with the LM Studio API.
- Added ApplyPatchTool for applying code changes via patches.
- Created ListDirectoryTool for listing files and directories.
- Implemented ReadFileTool for reading file contents.
- Developed RunCommandTool for executing shell commands.
- Added SearchWorkspaceTool for searching files in the workspace.
- Created WriteFileTool for writing content to files.
- Established ToolRegistry for managing and executing tools.
- Defined types for chat messages and tool calls.
- Added utility classes for logging and executing commands.
- Implemented WorkspacePaths for managing file paths within the workspace.
- Configured TypeScript settings in tsconfig.json.
2025-11-28 19:57:52 +00:00
Nawaz Dhandala
67577f5a2b refactor: improve formatting and readability in Incident migration and MonitorService 2025-11-28 17:42:22 +00:00
Nawaz Dhandala
4e808cf382 feat: enhance monitor deletion process to include MetricService cleanup 2025-11-28 17:40:31 +00:00
Nawaz Dhandala
c993b33dab feat: add projectId to MetricService deletion query in incident handling 2025-11-28 17:35:23 +00:00
Nawaz Dhandala
3c5a64024b feat: include projectId in MetricService deletion query for incidents 2025-11-28 17:34:30 +00:00
Nawaz Dhandala
86efe54a29 refactor: remove unused favicon handling from DashboardMasterPage 2025-11-28 17:29:43 +00:00
Simon Larsen
17bf568428 feat: Implement OneUptime Copilot Agent with core functionalities
- Add SystemPrompt to define agent behavior and principles.
- Create WorkspaceContextBuilder for workspace snapshot and Git status.
- Initialize main entry point with command-line options for agent configuration.
- Develop LMStudioClient for chat completion requests to LM Studio.
- Implement tools for file operations: ApplyPatchTool, ListDirectoryTool, ReadFileTool, RunCommandTool, SearchWorkspaceTool, WriteFileTool.
- Establish ToolRegistry for managing and executing tools.
- Define types for chat messages, tool calls, and execution results.
- Set up workspace path utilities for file management and validation.
- Configure TypeScript settings for the project.
2025-11-28 16:49:46 +00:00
Simon Larsen
26ac698cc7 Remove Copilot package configuration files 2025-11-28 15:43:36 +00:00
Simon Larsen
72bb25e036 chore: migrate VERSION_PREFIX to VERSION and update related workflows 2025-11-28 15:40:24 +00:00
Nawaz Dhandala
1f23742c1f chore: remove vscode-copilot-chat subproject 2025-11-28 14:12:12 +00:00
Nawaz Dhandala
ac66cee4aa feat: add declaredAt field to Incident model with migration and default value 2025-11-28 10:12:43 +00:00
Nawaz Dhandala
66efe2d2fa feat: add declaredAt field to Incident model and update related services and components 2025-11-28 10:10:05 +00:00
Nawaz Dhandala
0ad5c14882 feat: refactor SCIM creation in TeamMemberService tests for improved clarity 2025-11-27 14:13:14 +00:00
Nawaz Dhandala
2468b39dd2 style: format code for improved readability in TeamMemberService 2025-11-27 13:59:12 +00:00
Nawaz Dhandala
4fec2caef6 feat: update SCIM integration to manage team members with Push Groups 2025-11-27 13:58:47 +00:00
Nawaz Dhandala
dc041d924a style: update social media icons in blog post for improved accessibility 2025-11-27 12:50:30 +00:00
Nawaz Dhandala
37acc617a0 style: add styling for inline code chips in blog body 2025-11-27 12:42:54 +00:00
Nawaz Dhandala
cd28370ce3 style: update color scheme for blog post elements 2025-11-27 12:39:45 +00:00
Nawaz Dhandala
e847f430f2 feat: enhance blog post styling and add reading progress indicator 2025-11-27 12:37:19 +00:00
Nawaz Dhandala
d1e94daaca style: adjust margins for blog post body text 2025-11-27 12:17:10 +00:00
Nawaz Dhandala
df264d6766 feat: add Dockerfile language support to syntax highlighting 2025-11-27 12:16:29 +00:00
Nawaz Dhandala
49c2312c47 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-27 11:30:01 +00:00
Nawaz Dhandala
0fd3121b29 chore: automate version prefix bump and PR creation in release workflow 2025-11-27 11:29:30 +00:00
Simon Larsen
ea43c43991 Merge pull request #2140 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-27 11:20:26 +00:00
simlarsen
51a128efd3 chore: npm audit fix 2025-11-27 01:46:46 +00:00
Nawaz Dhandala
847bac5c6a refactor: enhance Chrome and Firefox executable path retrieval with additional candidates 2025-11-26 16:42:10 +00:00
Nawaz Dhandala
29b137afbd refactor: enhance Chrome executable path retrieval with multiple candidate checks 2025-11-26 16:35:30 +00:00
Nawaz Dhandala
1be0b475a6 bump: update version to 9.1.1 2025-11-26 16:28:59 +00:00
Nawaz Dhandala
2467d2c02d refactor: reorder app dependency installation and Playwright browser setup in Dockerfile 2025-11-26 16:26:17 +00:00
Nawaz Dhandala
b9597250ac refactor: simplify APP_TAG assignment in release and test workflows 2025-11-26 10:58:19 +00:00
Nawaz Dhandala
203e9b8c39 chore: upgrade Docker setup actions to v3 in release and test workflows 2025-11-25 21:41:37 +00:00
Nawaz Dhandala
16078ffe3b Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-25 19:54:54 +00:00
Nawaz Dhandala
898c4de78f refactor: enhance subdomain handling and validation in StatusPageDomain and Domains components 2025-11-25 19:54:50 +00:00
Simon Larsen
da53b7c51c feat: add check for existing GitHub release to skip creation and publishing 2025-11-25 19:51:10 +00:00
Nawaz Dhandala
8a330e7914 refactor: implement caching for Bot Framework adapter to improve performance 2025-11-25 18:51:03 +00:00
Nawaz Dhandala
8bf7b8dfa2 feat: add Microsoft Teams app tenant ID configuration 2025-11-25 18:49:26 +00:00
Nawaz Dhandala
9d36920477 Refactor versioning in release and test workflows to remove build number suffix
- Updated versioning in release.yml to use only major_minor version for Helm chart packaging, Docker images, and GitHub releases.
- Adjusted versioning in test-release.yaml to reflect similar changes, removing build number suffix for test releases.
2025-11-25 13:08:34 +00:00
Nawaz Dhandala
264cdc7c6b refactor: improve code readability by formatting long lines in user update handlers 2025-11-25 11:58:08 +00:00
Nawaz Dhandala
3d8daa46aa refactor: streamline user update logic by consolidating PUT and PATCH handlers 2025-11-25 11:57:42 +00:00
Nawaz Dhandala
673ab6845f refactor: consolidate user update logic into a single handler for PUT and PATCH endpoints 2025-11-25 11:52:43 +00:00
Simon Larsen
bb3df528cf Merge pull request #2137 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-25 08:22:21 +00:00
simlarsen
f52e73afb2 chore: npm audit fix 2025-11-25 01:48:46 +00:00
Nawaz Dhandala
3e04d38eb1 fix: update secret usage documentation and enhance monitor secret retrieval logic 2025-11-24 21:30:08 +00:00
Nawaz Dhandala
27c2ffdfbd chore: remove outdated APK build workflow and script 2025-11-24 21:22:17 +00:00
Nawaz Dhandala
78ee52fb4d fix: add missing iarc_rating_id to the manifest file 2025-11-24 21:08:26 +00:00
Nawaz Dhandala
adc15561b9 feat: enhance SMTP transport configuration by adding flexible secure option handling 2025-11-24 21:04:48 +00:00
Nawaz Dhandala
e19a14e906 fix: update proxy_pass path for assetlinks.json in Nginx configuration 2025-11-24 20:19:49 +00:00
Simon Larsen
035f3412b8 Merge pull request #2132 from OneUptime/captcha
Captcha
2025-11-24 19:13:34 +00:00
Nawaz Dhandala
deb902463c feat: enhance captcha integration by improving type definitions and refactoring callback functions 2025-11-24 19:11:21 +00:00
Nawaz Dhandala
a03a2bf9b0 fix: update proxy_pass path for assetlinks.json in Nginx configuration 2025-11-24 19:06:01 +00:00
Nawaz Dhandala
5f396d36a4 feat: implement assetlinks.json for Android app delegation and enhance Nginx configuration for asset handling 2025-11-24 18:59:42 +00:00
Simon Larsen
99cf626d7d Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-11-24 15:47:59 +00:00
Simon Larsen
ae72437591 fix: update test-e2e workflows to include build number and version dependencies 2025-11-24 15:47:37 +00:00
Simon Larsen
86301213f0 fix: sanitize APP_TAG format by replacing '+' with '-' 2025-11-24 15:42:25 +00:00
Nawaz Dhandala
c6e889b2a8 feat: integrate captcha verification in login process 2025-11-24 15:17:31 +00:00
Nawaz Dhandala
0a053c51e3 feat: update billing payment method permissions to include Manage Billing access 2025-11-24 13:01:08 +00:00
Nawaz Dhandala
296ecbd9e3 feat: enhance error handling in certificate ordering process based on billing status 2025-11-24 12:47:31 +00:00
Nawaz Dhandala
aa4797cc54 fix: add space in subscription management email subject 2025-11-24 12:37:23 +00:00
Nawaz Dhandala
fd4759f16e feat: add site key configuration for hCaptcha in values.yaml 2025-11-24 12:28:05 +00:00
Nawaz Dhandala
a7b7dc61cf feat: add captcha configuration and environment variables to Helm chart and Docker Compose 2025-11-24 12:18:34 +00:00
Nawaz Dhandala
3b0bdca980 feat: implement captcha verification in registration process 2025-11-24 12:13:15 +00:00
Nawaz Dhandala
07bc6d4edd fix: remove public create permission from User table access control 2025-11-24 12:08:33 +00:00
Nawaz Dhandala
8642a54fec feat: add captcha configuration and verification support 2025-11-24 12:08:09 +00:00
Simon Larsen
9ed0c3cf2b Merge pull request #2130 from OneUptime/master
Release
2025-11-24 12:03:48 +00:00
Simon Larsen
396c73f601 Merge pull request #2128 from OneUptime/snyk-upgrade-f06191ee357ef468242a37c903b4b224
[Snyk] Upgrade axios from 1.13.0 to 1.13.1
2025-11-24 12:00:50 +00:00
snyk-bot
ceb54ae12d fix: upgrade axios from 1.13.0 to 1.13.1
Snyk has created this PR to upgrade axios from 1.13.0 to 1.13.1.

See this package in npm:
axios

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-24 09:37:36 +00:00
Nawaz Dhandala
8df9a14b13 fix: standardize branch name formatting in GitHub Actions workflow 2025-11-22 16:27:47 +00:00
Nawaz Dhandala
7d32627917 Update GitHub Actions workflow for versioning and Docker image builds
- Enhanced the `test-release.yaml` workflow to read and determine semantic versioning from `VERSION_PREFIX`, including major, minor, and patch components.
- Adjusted versioning format in the workflow to use a new scheme: `major.minor.patch-test+build.build_number`.
- Updated Docker image build script to sanitize version strings by replacing '+' with '-' for tagging.
- Incremented the version in `VERSION_PREFIX` from `9.0` to `9.1.0`.
2025-11-22 14:11:02 +00:00
Nawaz Dhandala
a9ea19507e fix: add missing widgets array in manifest.json 2025-11-22 14:05:15 +00:00
Nawaz Dhandala
8c2c002382 fix: update manifest.json to include scope_extensions and adjust client_mode format 2025-11-22 13:52:29 +00:00
Simon Larsen
2a2aca032e Merge pull request #2127 from OneUptime/snyk-upgrade-51c02a535e494371cbaf2b8819deeaff
[Snyk] Upgrade eslint-plugin-unused-imports from 4.2.0 to 4.3.0
2025-11-22 13:00:01 +00:00
snyk-bot
911fe180ab fix: upgrade eslint-plugin-unused-imports from 4.2.0 to 4.3.0
Snyk has created this PR to upgrade eslint-plugin-unused-imports from 4.2.0 to 4.3.0.

See this package in npm:
eslint-plugin-unused-imports

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-22 10:06:29 +00:00
Simon Larsen
11cbe5f34a Merge pull request #2126 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-22 04:23:48 +00:00
simlarsen
883f51e2d2 chore: npm audit fix 2025-11-22 01:43:11 +00:00
Simon Larsen
8ebe034f0c fix: specify branches for push event in test-release workflow 2025-11-21 19:44:31 +00:00
Simon Larsen
96ea2f6ff7 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-21 19:15:53 +00:00
Simon Larsen
d91a8cae67 chore: remove dashboard Android APK release job from workflow 2025-11-21 19:15:50 +00:00
Simon Larsen
959035fd14 Merge pull request #2124 from OneUptime/sp-master-pw
Sp master pw
2025-11-21 19:14:40 +00:00
Nawaz Dhandala
e1730e4d3a feat: enhance error handling and display for status page and master password components 2025-11-21 19:13:02 +00:00
Nawaz Dhandala
4aa009f46c refactor: clean up code formatting and improve readability in multiple files 2025-11-21 19:07:30 +00:00
Simon Larsen
1551401fc3 fix: disable pipefail for sdkmanager commands to prevent pipeline breakage 2025-11-21 19:02:28 +00:00
Nawaz Dhandala
3768c95aa1 feat: update description for master password rotation to include authentication impact 2025-11-21 18:59:32 +00:00
Nawaz Dhandala
57e933ee9c feat: add master password status alerts in PrivateUser and SSO pages 2025-11-21 18:55:43 +00:00
Nawaz Dhandala
add0efa6db feat: remove master password cookie on user logout 2025-11-21 18:42:19 +00:00
Simon Larsen
7d12c8997e docs: update upgrading guide to reflect removal of Kubernetes Ingress support 2025-11-21 18:42:00 +00:00
Simon Larsen
f836369c01 feat: remove Kubernetes Ingress support and update related documentation 2025-11-21 18:40:47 +00:00
Nawaz Dhandala
f48c3c608c feat: add master password storage key retrieval for user logout process 2025-11-21 18:25:04 +00:00
Simon Larsen
58a955baf7 chore: remove deprecated iOS dashboard build workflow 2025-11-21 18:14:02 +00:00
Simon Larsen
b5243cec1a fix: correct script path casing in APK build workflows 2025-11-21 18:05:10 +00:00
Nawaz Dhandala
d6336ee8f3 refactor: streamline storage key retrieval for private status page and master password requirements 2025-11-21 18:01:01 +00:00
Nawaz Dhandala
1c5506f4d1 fix: reorder access check logic in hasReadAccess method 2025-11-21 17:50:28 +00:00
Simon Larsen
31106c66d5 feat: add workflow to build and upload Dashboard Android APK on release 2025-11-21 17:47:39 +00:00
Nawaz Dhandala
bf33a5ce5d fix: correct syntax in respondWithMasterPasswordAccess function declaration 2025-11-21 17:41:26 +00:00
Simon Larsen
a9f53ec416 fix: restore signing key environment variables in APK build workflow 2025-11-21 17:41:10 +00:00
Nawaz Dhandala
64f819e0db feat: implement master password session validation and response handling 2025-11-21 17:38:07 +00:00
Nawaz Dhandala
e8816d61b0 fix: replace NotAuthenticatedException with BadDataException for invalid master password 2025-11-21 17:25:15 +00:00
Simon Larsen
42713843f3 fix: update manifest URLs and host name in dashboard APK build workflow 2025-11-21 17:20:34 +00:00
Simon Larsen
db8e23c8dc feat: streamline APK build process by introducing a dedicated build script 2025-11-21 17:19:52 +00:00
Nawaz Dhandala
c94430aabe fix: handle API response failure in master password submission 2025-11-21 17:15:47 +00:00
Simon Larsen
e8f74d0147 chore: simplify workflow triggers and environment variables in dashboard build scripts 2025-11-21 17:05:55 +00:00
Nawaz Dhandala
cda3be805b Merge branch 'master' into sp-master-pw 2025-11-21 16:40:19 +00:00
Simon Larsen
372ce67ce6 Refactor Docker image build process in GitHub Actions workflow
- Replaced inline Docker build commands with a dedicated script for building Docker images.
- Added NPM_AUTH_TOKEN environment variable for authentication.
- Updated image build commands for multiple services (mcp-server, llm, nginx, e2e, test-server, otel-collector, isolated-vm, home, status-page, test, probe-ingest, server-monitor-ingest, incoming-request-ingest, telemetry, probe, dashboard, admin-dashboard, app, api-reference, accounts, worker, copilot, workflow, docs) to use the new script.
2025-11-21 14:57:15 +00:00
Simon Larsen
62cae0d32c feat: add build number generation and version reading for test releases 2025-11-21 13:26:42 +00:00
Simon Larsen
6be92aa41d Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-21 13:22:52 +00:00
Simon Larsen
d166fe49ec Implement feature X to enhance user experience and optimize performance 2025-11-21 13:22:46 +00:00
Simon Larsen
d5f2b32fe9 Merge pull request #2125 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-21 12:53:53 +00:00
simlarsen
be71858b4a chore: npm audit fix 2025-11-21 01:46:46 +00:00
Simon Larsen
8c121869ee Add GitHub Actions workflow for building Dashboard iOS Wrapper 2025-11-20 21:11:35 +00:00
Simon Larsen
bfc761aac5 Add GitHub Actions workflow for building Dashboard Android APK 2025-11-20 21:08:18 +00:00
Simon Larsen
17f6507d0c Add build_docker_images.sh script for automated Docker image builds
- Implemented a bash script to build and push Docker images.
- Added support for multiple platforms using docker buildx.
- Included options for specifying image name, version, Dockerfile path, build context, and additional tags.
- Integrated Git SHA detection for build arguments.
- Provided usage instructions and error handling for missing required arguments.
2025-11-20 20:51:11 +00:00
Simon Larsen
4fa4dd7b6c Refactor Docker image build process to use a dedicated script for improved maintainability 2025-11-20 20:23:41 +00:00
Simon Larsen
69be00067a Add 'set -euo pipefail' to Docker build commands for improved error handling 2025-11-20 19:43:44 +00:00
Nawaz Dhandala
7af0091de2 Refactor master password validation logic to support status page-specific keys and handle legacy values 2025-11-20 19:31:41 +00:00
Simon Larsen
cd6bac1111 Update screenshots in manifest.json for improved app representation on desktop and mobile 2025-11-20 19:07:24 +00:00
Nawaz Dhandala
62578b2389 Rename package from @oneuptime/probe-ingest to @oneuptime/telemetry 2025-11-20 19:05:48 +00:00
Simon Larsen
0a791bba01 Refactor code structure for improved readability and maintainability 2025-11-20 18:59:40 +00:00
Nawaz Dhandala
accd86edf1 Refactor getLoginRoute to handle master password validation for private status pages 2025-11-20 18:42:30 +00:00
Nawaz Dhandala
8f3c06bc86 Refactor MasterPasswordPage to use BasicForm for password submission and improve error handling 2025-11-20 18:30:20 +00:00
Nawaz Dhandala
7baeaaee02 Add master password route check in DashboardMasterPage component 2025-11-20 18:06:19 +00:00
Nawaz Dhandala
8f05de6860 Add MasterPassword component and integrate master password checks in Login and SSO pages 2025-11-20 18:03:22 +00:00
Nawaz Dhandala
05e0c5528e Refactor StatusPageDelete component to reintroduce 'Require Master Password' toggle for private status pages 2025-11-20 14:21:11 +00:00
Nawaz Dhandala
91ef08595c Update read permissions for StatusPage to include necessary roles 2025-11-20 13:54:56 +00:00
Nawaz Dhandala
04459b51da Add master password rotation feature to StatusPageDelete component 2025-11-20 13:53:13 +00:00
Nawaz Dhandala
5903764395 Refactor MasterPasswordPage for improved readability and functionality 2025-11-20 13:08:06 +00:00
Simon Larsen
51ac869650 Fix formatting in manifest.json by removing unnecessary blank line 2025-11-20 13:07:40 +00:00
Simon Larsen
ce4a49fbd2 Fix app ID in manifest.json for correct routing 2025-11-20 12:59:28 +00:00
Simon Larsen
ca252d8e64 Add screenshots to manifest.json for enhanced app visibility 2025-11-20 12:59:16 +00:00
Nawaz Dhandala
850d125c82 Add migration for master password feature in StatusPage 2025-11-20 12:56:27 +00:00
Nawaz Dhandala
4b619eadc0 Implement master password feature for private status pages 2025-11-20 12:51:11 +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
Simon Larsen
b5c0953c8b Merge pull request #2123 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-20 12:00:36 +00:00
Nawaz Dhandala
9deaf19d4c Remove unnecessary blank lines in config.example.env for improved readability 2025-11-20 11:59:56 +00:00
simlarsen
ac239ffe4d chore: npm audit fix 2025-11-20 01:45:52 +00:00
Simon Larsen
84ac063445 Merge pull request #2122 from OneUptime/master
Release
2025-11-19 18:29:37 +00:00
Nawaz Dhandala
904311b124 Add modal width configuration to ChangeState components for improved UI consistency 2025-11-19 18:26:34 +00:00
Nawaz Dhandala
c1562872a0 Fix formatting of response snapshot section in MonitorCriteriaEvaluator 2025-11-19 18:22:04 +00:00
Nawaz Dhandala
503d5ff946 Refactor MonitorCriteriaEvaluator to improve code readability and consistency 2025-11-19 18:18:56 +00:00
Nawaz Dhandala
271fa4c9ad Add root cause context building and enhance monitor criteria evaluation details 2025-11-19 18:18:25 +00:00
Nawaz Dhandala
a57902dd07 Fix indentation for detailsUrl in Service class to maintain code consistency 2025-11-19 18:00:35 +00:00
Nawaz Dhandala
9336a33e47 Enhance notification templates to include conditional details URLs for improved user guidance 2025-11-19 18:00:08 +00:00
Nawaz Dhandala
fe034807d7 Update PermissionHelper to mark dashboard permissions as access control permissions 2025-11-19 17:43:52 +00:00
Nawaz Dhandala
f08adc7b78 Refactor ScheduledMaintenanceService and AnnouncementView to improve notification settings handling and enhance code clarity 2025-11-19 17:43:01 +00:00
Nawaz Dhandala
e767b3f4b7 Refactor ScheduledMaintenanceService and related migrations to improve notification settings handling and enhance code clarity 2025-11-19 17:42:37 +00:00
Nawaz Dhandala
c874f4f3e2 Refactor Announcement components to enhance breadcrumb navigation and improve layout 2025-11-19 17:28:01 +00:00
Nawaz Dhandala
cb3fb984ec Refactor AnnouncementView to enhance attachment handling and improve content display 2025-11-19 17:19:34 +00:00
Nawaz Dhandala
51882a595a Refactor OpenAPIUtil to streamline permission checks and improve schema registration logic 2025-11-19 17:07:37 +00:00
Nawaz Dhandala
8d5f8454c4 Refactor FilePicker and AttachmentList components to enhance type definitions and improve code clarity 2025-11-19 16:02:41 +00:00
Nawaz Dhandala
a036830009 Refactor Response and FilePicker components for improved readability and consistency 2025-11-19 15:50:45 +00:00
Nawaz Dhandala
76c6ffeb51 Refactor AttachmentCard component for improved styling and layout 2025-11-19 15:37:17 +00:00
Nawaz Dhandala
92c9de7ca9 Add EventAttachmentList component for improved attachment display in EventItem 2025-11-19 15:34:50 +00:00
Nawaz Dhandala
e752340a16 Refactor FilePicker component to remove thumbnail generation and simplify file display 2025-11-19 14:33:37 +00:00
Nawaz Dhandala
3f7d7d4347 Refactor FilePicker component to improve file size formatting and enhance metadata display 2025-11-19 14:29:00 +00:00
Nawaz Dhandala
30651f1ca7 Update attachment routes to include projectId in URL parameters 2025-11-19 13:17:48 +00:00
Nawaz Dhandala
a04fa51c37 Add UserMiddleware for authorization in attachment routes 2025-11-19 12:47:02 +00:00
Nawaz Dhandala
5c5a4ca787 Refactor AttachmentList component styles for improved accessibility and visual consistency 2025-11-19 12:13:11 +00:00
Nawaz Dhandala
62fe797b93 Enhance AttachmentList component with file metadata and icon support 2025-11-19 12:07:39 +00:00
Nawaz Dhandala
1ee2f17b28 Add canReadOnRelationQuery property to _id in DatabaseBaseModel 2025-11-19 11:52:39 +00:00
Nawaz Dhandala
9e714af5c2 Merge branch 'file-attachments' 2025-11-19 10:45:29 +00:00
Simon Larsen
74e18a2861 Merge pull request #2113 from OneUptime/file-attachments
File attachments
2025-11-19 10:21:46 +00:00
Simon Larsen
cd9b3c1386 Merge pull request #2115 from OneUptime/snyk-upgrade-fc65b788097a8d536953d6703a423b18
[Snyk] Upgrade tailwind-merge from 2.5.4 to 2.6.0
2025-11-19 10:21:28 +00:00
Simon Larsen
40a7fc5d02 Merge pull request #2116 from OneUptime/snyk-upgrade-263ef7972ec4039196a129208a656e3e
[Snyk] Upgrade pg from 8.13.1 to 8.16.3
2025-11-19 10:21:21 +00:00
Simon Larsen
49ccb8fd75 Merge pull request #2117 from OneUptime/snyk-upgrade-f6a1bcc29ab8dd02d9ccadbb68709ae9
[Snyk] Upgrade react-big-calendar from 1.15.0 to 1.19.4
2025-11-19 10:21:14 +00:00
Simon Larsen
5c3923f534 Merge pull request #2118 from OneUptime/snyk-upgrade-17aece182fff53ced7b2e67a281299a5
[Snyk] Upgrade @opentelemetry/semantic-conventions from 1.27.0 to 1.37.0
2025-11-19 10:21:06 +00:00
Simon Larsen
7a94684cec Merge pull request #2119 from OneUptime/snyk-upgrade-412cabf449455ad4dfe0f5c97f262cd4
[Snyk] Upgrade react-router-dom from 6.28.0 to 6.30.1
2025-11-19 10:21:01 +00:00
Simon Larsen
893ccf3331 Merge pull request #2114 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-19 10:20:41 +00:00
snyk-bot
b5f354da75 fix: upgrade react-router-dom from 6.28.0 to 6.30.1
Snyk has created this PR to upgrade react-router-dom from 6.28.0 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/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-19 03:38:55 +00:00
snyk-bot
b128be0c13 fix: upgrade @opentelemetry/semantic-conventions from 1.27.0 to 1.37.0
Snyk has created this PR to upgrade @opentelemetry/semantic-conventions from 1.27.0 to 1.37.0.

See this package in npm:
@opentelemetry/semantic-conventions

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-19 03:38:52 +00:00
snyk-bot
a0fae9b514 fix: upgrade react-big-calendar from 1.15.0 to 1.19.4
Snyk has created this PR to upgrade react-big-calendar from 1.15.0 to 1.19.4.

See this package in npm:
react-big-calendar

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-19 03:38:47 +00:00
snyk-bot
04fc51b873 fix: upgrade pg from 8.13.1 to 8.16.3
Snyk has created this PR to upgrade pg from 8.13.1 to 8.16.3.

See this package in npm:
pg

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-19 03:38:43 +00:00
snyk-bot
2cb45d18c9 fix: upgrade tailwind-merge from 2.5.4 to 2.6.0
Snyk has created this PR to upgrade tailwind-merge from 2.5.4 to 2.6.0.

See this package in npm:
tailwind-merge

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-19 03:38:39 +00:00
simlarsen
495f59f36b chore: npm audit fix 2025-11-19 01:47:18 +00:00
Nawaz Dhandala
21da644555 feat: add file size validation to FilePicker component 2025-11-18 20:49:58 +00:00
Nawaz Dhandala
02e7bd6f3e feat: enhance file summary rendering with subtitles and access labels 2025-11-18 20:43:04 +00:00
Nawaz Dhandala
254795261d feat: implement file summary rendering in FormSummary component 2025-11-18 20:10:17 +00:00
Nawaz Dhandala
53f0cd144c feat: prevent notifying subscribers when sending a test email directly 2025-11-18 19:49:01 +00:00
Nawaz Dhandala
679864dbaa feat: enhance FilePicker component with upload status management and progress tracking 2025-11-18 19:43:40 +00:00
Nawaz Dhandala
c6acc85d7d feat: refactor cache header handling to use Response utility method across multiple APIs 2025-11-18 19:26:18 +00:00
Nawaz Dhandala
5ea2426ea4 feat: enhance FilePicker component UI by updating file upload labels and error display 2025-11-18 19:03:07 +00:00
Nawaz Dhandala
1144783f4d feat: update button styles in FilePicker component for improved visibility 2025-11-18 18:54:51 +00:00
Nawaz Dhandala
d68bc56d1b feat: add remove button for files in FilePicker component 2025-11-18 18:50:51 +00:00
Nawaz Dhandala
5170254473 feat: improve file handling in FilePicker for better multi-file support and UI enhancements 2025-11-18 18:37:51 +00:00
Nawaz Dhandala
84353e1a05 feat: update FilePicker component to use full width for better layout 2025-11-18 18:08:39 +00:00
Nawaz Dhandala
62d74c1d84 feat: enhance file handling by adding MIME type resolution and updating file creation permissions 2025-11-18 18:05:46 +00:00
Nawaz Dhandala
654f64aaf7 feat: add attachment support to notes in Alerts, Incidents, and Scheduled Maintenance 2025-11-18 16:15:43 +00:00
Nawaz Dhandala
150af5b65d feat: enhance file attachment handling across multiple APIs and services 2025-11-18 15:59:58 +00:00
Nawaz Dhandala
3740636136 feat: add migration for AlertInternalNoteFile table and update migration index references 2025-11-18 15:50:58 +00:00
Nawaz Dhandala
d40deae7ef feat: add migration for StatusPageAnnouncementFile and AlertInternalNoteFile tables with constraints and indexes 2025-11-18 15:49:40 +00:00
Nawaz Dhandala
669ed24249 feat: implement AttachmentList component and refactor attachment rendering in various views 2025-11-18 15:47:19 +00:00
Nawaz Dhandala
ae341eae08 refactor: clean up import statements and improve code readability across multiple files 2025-11-18 15:32:17 +00:00
Nawaz Dhandala
241ff7671d feat: add file attachment support to status page announcements, including API endpoints and UI updates 2025-11-18 15:30:56 +00:00
Nawaz Dhandala
b7492f0706 feat: implement file attachment functionality for internal notes, including API endpoints and UI integration 2025-11-18 15:11:16 +00:00
Nawaz Dhandala
fcd076d057 feat: add migration for ScheduledMaintenanceInternalNoteFile and ScheduledMaintenancePublicNoteFile tables 2025-11-18 14:53:19 +00:00
Nawaz Dhandala
b924d68c51 feat: implement file attachment support for scheduled maintenance notes and API endpoints 2025-11-18 14:52:31 +00:00
Nawaz Dhandala
4713a42829 feat: add migration for IncidentInternalNoteFile and IncidentPublicNoteFile tables 2025-11-18 13:17:25 +00:00
Nawaz Dhandala
9399907bfc feat: add attachment handling to incident public notes in event timeline 2025-11-18 13:13:37 +00:00
Nawaz Dhandala
2a84fd6751 feat: add endpoint to retrieve incident public note attachments 2025-11-18 12:04:50 +00:00
Nawaz Dhandala
4efd3d0428 feat: add file attachment rendering to IncidentDelete and PublicNote components 2025-11-18 11:38:38 +00:00
Simon Larsen
535ae01dee Merge pull request #2112 from OneUptime/snyk-fix-645fef7c043ef7c5c2bc5ebfdc48dccb
[Snyk] Security upgrade xmlbuilder2 from 3.1.1 to 4.0.0
2025-11-18 11:29:33 +00:00
Nawaz Dhandala
b04b59b0a9 feat: add support for multiple file attachments in IncidentFeed form 2025-11-18 10:42:38 +00:00
snyk-bot
92025ce415 fix: Home/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JSYAML-13961110
2025-11-18 10:35:30 +00:00
Nawaz Dhandala
4893b01f38 feat: implement file attachment handling in IncidentInternalNote and IncidentPublicNote services 2025-11-18 10:33:00 +00:00
Nawaz Dhandala
0f8436b92f feat: enhance FormField to support multiple file uploads 2025-11-18 10:26:14 +00:00
Nawaz Dhandala
5e4aa44f2a feat: add file attachment support to IncidentInternalNote and IncidentPublicNote APIs 2025-11-18 10:20:07 +00:00
Simon Larsen
0290355cfc Merge pull request #2111 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-18 09:49:22 +00:00
simlarsen
64360fc3fe chore: npm audit fix 2025-11-18 01:47:15 +00:00
Simon Larsen
dd07cb6312 Merge pull request #2110 from OneUptime/incidents-attachments
Incidents attachments
2025-11-17 15:58:11 +00:00
Nawaz Dhandala
46e5aae8e4 fix: update path resolution for blank profile picture 2025-11-17 15:57:49 +00:00
Nawaz Dhandala
626b6d93a8 fix: update path resolution for blank profile picture 2025-11-17 15:46:41 +00:00
Nawaz Dhandala
e570030319 fix: correct import path for AppApiRoute in User utility 2025-11-17 15:38:56 +00:00
Nawaz Dhandala
97d3a34abc refactor: remove permissions from TableAccessControl in File model 2025-11-17 14:43:01 +00:00
Nawaz Dhandala
848c441419 refactor: simplify API route attachment and improve error handling in UserAPI 2025-11-17 14:41:02 +00:00
Nawaz Dhandala
5b7e52a94e feat: enhance user profile picture handling with improved blank profile logic and route management 2025-11-17 14:35:03 +00:00
Nawaz Dhandala
77e3394638 feat: update user profile picture handling to use userId instead of profilePictureId 2025-11-17 14:21:33 +00:00
Nawaz Dhandala
93721350c6 feat: update logo URL handling and introduce UserAPI for profile picture management 2025-11-17 14:09:38 +00:00
Nawaz Dhandala
1bc6eca55c refactor: streamline logo URL route handling in various components 2025-11-17 13:56:40 +00:00
Nawaz Dhandala
29560e3a4a feat: update logo URL handling for status pages across various services 2025-11-17 13:45:36 +00:00
Simon Larsen
03cc76ab07 Merge pull request #2109 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-15 07:56:37 +00:00
simlarsen
dade1d0403 chore: npm audit fix 2025-11-15 01:44:36 +00:00
Nawaz Dhandala
8a3feab3d0 feat: enhance number formatting in CompareCriteria class 2025-11-13 15:10:17 +00:00
Nawaz Dhandala
7864bbb87b feat: simplify telemetry monitor type check in SummaryInfo component 2025-11-13 14:55:44 +00:00
Nawaz Dhandala
d112d87b80 feat: add ObjectID type for projectId in ExceptionInstanceTable component 2025-11-13 14:35:58 +00:00
Nawaz Dhandala
2f8fcabce4 refactor: clean up code formatting and improve readability in Telemetry and ExceptionInstanceTable components 2025-11-13 14:35:36 +00:00
Nawaz Dhandala
0023560588 feat: enhance error handling with auth refresh logic in API class 2025-11-13 14:35:00 +00:00
Nawaz Dhandala
0bc14acde9 feat: migrate exception monitors to ExceptionInstance (analytics)
- Replace TelemetryException with ExceptionInstance across types and telemetry query
- Rename MonitorStepExceptionMonitorUtil.toQuery -> toAnalyticsQuery and map fields (telemetryServiceId->serviceId, lastSeenAt->time)
- Use ExceptionInstanceService and Query<ExceptionInstance> in MonitorTelemetryMonitor
- Minor MonitorResource variable cleanup for ExceptionMonitorResponse
- Add ExceptionInstanceTable component and switch UI (forms, Alert/Incident views) to use ExceptionInstance
2025-11-13 14:33:01 +00:00
Nawaz Dhandala
3f3956edd6 feat: implement SDK-side aggregation selector for modern metrics API 2025-11-13 13:32:35 +00:00
Nawaz Dhandala
93755da2e8 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-13 12:06:46 +00:00
Nawaz Dhandala
0657222ea7 Add support for Exception monitor type in MonitorCriteriaInstance 2025-11-13 12:06:42 +00:00
Nawaz Dhandala
ca352826ca Add Exception Monitor functionality with related types and components 2025-11-13 12:02:17 +00:00
Simon Larsen
3cbd99042b Merge pull request #2107 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-13 09:38:52 +00:00
simlarsen
2f102acdc2 chore: npm audit fix 2025-11-13 01:48:58 +00:00
Nawaz Dhandala
b76811d152 Fix indentation for headers in API requests across multiple components 2025-11-12 17:55:54 +00:00
Nawaz Dhandala
2335935a3e Add conditional rendering for app.enabled in app.yaml 2025-11-12 17:53:01 +00:00
Nawaz Dhandala
c324fe03d3 Update API header retrieval to remove dependency on StatusPageUtil for all subscription and announcement pages 2025-11-12 17:52:44 +00:00
Nawaz Dhandala
d5bc83a5a1 Remove deprecated @opentelemetry/sdk-trace-node dependency from package.json and package-lock.json 2025-11-12 17:44:28 +00:00
Nawaz Dhandala
e2baa449f5 Refactor Telemetry initialization to explicitly type webTraceExporter as WebSpanExporter 2025-11-12 16:18:39 +00:00
Nawaz Dhandala
51b88eb065 Refactor Telemetry class to streamline span processor registration 2025-11-12 16:16:34 +00:00
Nawaz Dhandala
b0d95bb7df Add 'enabled' property to various components in values schema and YAML templates 2025-11-12 16:15:29 +00:00
Nawaz Dhandala
8bf8c891ab Refactor telemetry exports to improve type handling and streamline initialization 2025-11-12 13:32:27 +00:00
Nawaz Dhandala
fcf919c70b Refactor session handling and cookie management in StatusPage authentication 2025-11-12 12:52:19 +00:00
Nawaz Dhandala
f0f3d32d31 Merge remote-tracking branch 'origin/snyk-upgrade-b70b2734abb0e16d5d110c8cd2735c35' 2025-11-12 11:49:20 +00:00
Nawaz Dhandala
444e8f17b6 Implement feature X to enhance user experience and fix bug Y in module Z 2025-11-12 11:46:44 +00:00
Nawaz Dhandala
3aabf44b4e Merge branch 'snyk-upgrade-f017994c6dac770941ee664640830ac7' 2025-11-12 11:45:47 +00:00
Simon Larsen
c11fcc3c8e Merge pull request #2106 from OneUptime/user-refresh-token
User refresh token
2025-11-12 11:42:29 +00:00
Simon Larsen
52519c9af8 Merge pull request #2104 from OneUptime/snyk-upgrade-d659682fbd62c498810b328f5aaca524
[Snyk] Upgrade @opentelemetry/exporter-trace-otlp-http from 0.52.1 to 0.207.0
2025-11-12 11:42:08 +00:00
Simon Larsen
2483cf9499 Merge pull request #2102 from OneUptime/snyk-upgrade-289d4467acd89e4854c2a2dc61916341
[Snyk] Upgrade @opentelemetry/exporter-logs-otlp-http from 0.52.1 to 0.207.0
2025-11-12 11:41:44 +00:00
Simon Larsen
634e21b13c Merge pull request #2101 from OneUptime/snyk-upgrade-8678075385220dcc2c31b1b4a3900956
[Snyk] Upgrade @opentelemetry/sdk-logs from 0.52.1 to 0.207.0
2025-11-12 11:41:35 +00:00
Nawaz Dhandala
aad933b9eb feat(Authentication, Session Management): implement finalizeStatusPageLogin and refresh-token endpoints for enhanced session handling 2025-11-12 11:40:52 +00:00
Nawaz Dhandala
9356f2964e feat(Authentication): integrate UserSession model and enhance finalizeUserLogin type definition
feat(Express): define HeaderValue type and improve type annotations for headerValueToString and extractDeviceInfo functions
2025-11-11 21:41:20 +00:00
Nawaz Dhandala
aae70ead3b refactor: streamline code formatting and improve readability across multiple files 2025-11-11 21:36:12 +00:00
Nawaz Dhandala
8a482dce10 feat(UserSession): enhance session management with comprehensive session handling methods and metadata 2025-11-11 21:34:11 +00:00
Nawaz Dhandala
9fdf46889c feat(Text): add truncate method for string length limitation 2025-11-11 21:32:57 +00:00
Nawaz Dhandala
40ca9dc04c feat(Authentication, SSO): enhance session management with user session creation and refresh token handling 2025-11-11 21:22:21 +00:00
Nawaz Dhandala
74937f2208 feat(DeviceInfo): add extractDeviceInfo function and RequestDeviceInfo type for enhanced device data retrieval 2025-11-11 21:20:07 +00:00
Nawaz Dhandala
c02ab56477 feat(Cookie): enhance cookie management with refresh token support and default access token expiry 2025-11-11 21:11:34 +00:00
Nawaz Dhandala
3f99b9680f feat(Migration): add UserSession and StatusPagePrivateUserSession migrations with constraints and indexes 2025-11-11 19:51:54 +00:00
Nawaz Dhandala
b08c39037d feat(Index): add StatusPagePrivateUserSessionService and UserSessionService to services 2025-11-11 19:49:32 +00:00
Nawaz Dhandala
f7cc3c00da feat(Migration): add migration for StatusPagePrivateUserSession and UserSession tables 2025-11-11 19:48:42 +00:00
Nawaz Dhandala
ac4286935a refactor(StatusPagePrivateUserSession): remove unnecessary blank line for cleaner code
refactor(UserSession): format description for additional info column for improved readability
2025-11-11 19:47:08 +00:00
Nawaz Dhandala
90a0b2e4a8 refactor(StatusPagePrivateUserSession): simplify access control by removing specific permissions 2025-11-11 19:46:19 +00:00
Nawaz Dhandala
9b22c48d27 feat(UserSession): add UserSession model for managing active user sessions and security tokens 2025-11-11 19:41:41 +00:00
Nawaz Dhandala
9c9dad5da0 feat(UserSettings): add user settings page and integrate into side menu 2025-11-11 19:18:20 +00:00
Nawaz Dhandala
e986f74025 fix(TeamMemberService): skip one-member guard when SCIM manages project membership 2025-11-11 19:07:11 +00:00
snyk-bot
deb2e81b21 fix: upgrade @opentelemetry/exporter-trace-otlp-proto from 0.52.1 to 0.207.0
Snyk has created this PR to upgrade @opentelemetry/exporter-trace-otlp-proto from 0.52.1 to 0.207.0.

See this package in npm:
@opentelemetry/exporter-trace-otlp-proto

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-11 17:46:09 +00:00
snyk-bot
0f8b322892 fix: upgrade @opentelemetry/exporter-trace-otlp-http from 0.52.1 to 0.207.0
Snyk has created this PR to upgrade @opentelemetry/exporter-trace-otlp-http from 0.52.1 to 0.207.0.

See this package in npm:
@opentelemetry/exporter-trace-otlp-http

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-11 17:46:03 +00:00
snyk-bot
23c7de3ecd fix: upgrade @opentelemetry/exporter-metrics-otlp-proto from 0.52.1 to 0.207.0
Snyk has created this PR to upgrade @opentelemetry/exporter-metrics-otlp-proto from 0.52.1 to 0.207.0.

See this package in npm:
@opentelemetry/exporter-metrics-otlp-proto

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-11 17:45:57 +00:00
snyk-bot
ad144a6240 fix: upgrade @opentelemetry/exporter-logs-otlp-http from 0.52.1 to 0.207.0
Snyk has created this PR to upgrade @opentelemetry/exporter-logs-otlp-http from 0.52.1 to 0.207.0.

See this package in npm:
@opentelemetry/exporter-logs-otlp-http

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-11 17:45:52 +00:00
snyk-bot
debfef0388 fix: upgrade @opentelemetry/sdk-logs from 0.52.1 to 0.207.0
Snyk has created this PR to upgrade @opentelemetry/sdk-logs from 0.52.1 to 0.207.0.

See this package in npm:
@opentelemetry/sdk-logs

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-11 17:45:46 +00:00
Nawaz Dhandala
bb85c9f8c8 refactor(BaseModelTable): enhance filter function for dropdown labels to improve type safety 2025-11-11 17:23:14 +00:00
Nawaz Dhandala
25ab1cdbf9 refactor(BaseModelTable): improve code formatting and simplify access control value handling 2025-11-11 17:21:51 +00:00
Nawaz Dhandala
44b8a9ddc9 feat(BaseModelTable): integrate access control column handling and update dropdown labels with color support 2025-11-11 17:16:52 +00:00
Nawaz Dhandala
c388ff9550 fix(IncidentCreate): remove unnecessary whitespace in color mapping function 2025-11-11 15:59:04 +00:00
Nawaz Dhandala
321d1680e6 feat(IncidentCreate): enhance incident state options with color attribute 2025-11-11 15:58:13 +00:00
Nawaz Dhandala
6c0e9f0fed refactor: remove unnecessary whitespace in model classes and improve code formatting 2025-11-11 15:49:20 +00:00
Nawaz Dhandala
99349ecb30 fix: restore @ColorField decorator in multiple model classes for color handling 2025-11-11 15:47:57 +00:00
Nawaz Dhandala
258bbbd9cf feat(BaseModelTable): enhance dropdown options with color handling based on the first color column 2025-11-11 15:37:56 +00:00
Nawaz Dhandala
1094a07fc6 fix(DropdownUtil): ensure color variable is explicitly typed as Color | null
refactor(ColorField): add return type annotation for ColorField function
2025-11-11 14:30:33 +00:00
Nawaz Dhandala
14a5671645 feat(Color, Dropdown, ModelForm): enhance color handling in Color class and Dropdown options 2025-11-11 14:05:30 +00:00
Nawaz Dhandala
5a41c66953 refactor(DatabaseBaseModel, ColorField): improve formatting and readability of type definitions and method implementations 2025-11-11 13:26:02 +00:00
Nawaz Dhandala
af605fce4c feat(DatabaseBaseModel): add getFirstColorColumn method to retrieve the first color field column 2025-11-11 13:23:55 +00:00
Nawaz Dhandala
f8ef6c69fe feat(ColorField): add ColorField decorator and related utility functions for color field management in database models 2025-11-11 13:20:42 +00:00
Simon Larsen
e1848f44f7 Merge pull request #2100 from OneUptime/dropdown-lbl
Dropdown lbl
2025-11-11 12:49:54 +00:00
Nawaz Dhandala
825bd39dda feat(Dropdown): enhance type definitions for styling functions and improve label rendering 2025-11-11 12:49:25 +00:00
Nawaz Dhandala
b99905dfe8 fix(Telemetry): add npm install step for Common directory in workflow 2025-11-11 12:45:06 +00:00
Nawaz Dhandala
a4bf40a2c1 fix(Label): correct indentation for icon property in LabelElement 2025-11-11 12:44:05 +00:00
Nawaz Dhandala
711998b048 feat(Icon): add strokeWidth to EmptyCircle icon rendering 2025-11-11 12:42:36 +00:00
Nawaz Dhandala
132e044c07 feat(Icon): add EmptyCircle icon and update Label to use it 2025-11-11 12:16:01 +00:00
Nawaz Dhandala
8ecc307451 feat(Dropdown): implement label rendering and color resolution for selected labels 2025-11-11 12:02:49 +00:00
Nils T
fb761438ab feat(MicrosoftTeams): enhance refreshTeams to support user-scoped tokens 2025-11-11 10:29:22 +00:00
Nawaz Dhandala
c85c29989f feat(Dropdown): update styling for focused and selected states, enhance multi-value appearance 2025-11-10 23:29:16 +00:00
Nawaz Dhandala
95726e0f21 feat(Dropdown): enhance dropdown options with label support and improve styling 2025-11-10 23:13:10 +00:00
Nawaz Dhandala
adc15992e9 refactor(Label): simplify import statements for Pill component 2025-11-10 22:49:36 +00:00
Nawaz Dhandala
58d83a2a80 feat(Pill): add thickness prop to Icon component in Pill 2025-11-10 22:48:57 +00:00
Nawaz Dhandala
5461cd4502 feat(Pill): add icon support to Pill component and update tests 2025-11-10 22:44:07 +00:00
Nawaz Dhandala
478465a65b refactor: update label imports and restructure label components for consistency 2025-11-10 22:34:33 +00:00
Nawaz Dhandala
bef57b784d Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2025-11-10 16:38:32 +00:00
Nawaz Dhandala
601eed0e70 refactor(Page): enhance layout and spacing for title and labels section
refactor(ModelPage): improve formatting of labelsColumn assignment
refactor(DatabaseBaseModel): remove unnecessary blank line
2025-11-10 16:31:29 +00:00
Nawaz Dhandala
dc1215f28b refactor(Page): adjust title font size for improved readability 2025-11-10 15:55:44 +00:00
Nawaz Dhandala
f617330484 refactor: remove labelsColumn and associated method, update ModelPage to use getAccessControlColumn 2025-11-10 15:53:44 +00:00
Simon Larsen
888d8d6fbf refactor: clean up code formatting and improve readability across multiple files 2025-11-10 14:36:44 +00:00
Simon Larsen
79a9bb2229 chore(notification): include WhatsApp in balance, auto-recharge and notification copy
Update Project model and NotificationSettings UI text to mention WhatsApp alongside SMS and Call for current balance, auto-recharge settings, and related notifications.
2025-11-10 14:15:47 +00:00
Simon Larsen
0578f9f1be Merge pull request #2092 from OneUptime/master
Release
2025-11-10 09:35:46 +00:00
Simon Larsen
ebbddbd797 Merge pull request #2091 from OneUptime/snyk-fix-633d6e2055ebd39def346bdc57989683
[Snyk] Security upgrade nginx from 1.29.2-alpine to 1.29.3-alpine
2025-11-10 09:35:11 +00:00
Simon Larsen
6cdaaf1489 Merge pull request #2090 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-10 09:35:02 +00:00
snyk-bot
93e62befbb fix: Nginx/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE322-PCRE2-13637025
2025-11-08 10:56:45 +00:00
simlarsen
bccd2f484b chore: npm audit fix 2025-11-08 01:40:56 +00:00
Nawaz Dhandala
c01fc9ee64 chore(migration): drop jwtRefreshToken column from User and StatusPagePrivateUser tables
- remove jwtRefreshToken property from User model
- add migration to drop column from User and StatusPagePrivateUser and restore it on down
- register new migration in SchemaMigrations index
2025-11-07 22:37:25 +00:00
Simon Larsen
be9dcbd01e Merge pull request #2089 from OneUptime/otel-ingest-rename
Otel ingest rename
2025-11-07 22:22:27 +00:00
Nawaz Dhandala
48f85df04c fix(header): use w-64 instead of max-w-64 for ProjectPicker container to enforce fixed width 2025-11-07 22:01:32 +00:00
Nawaz Dhandala
fc08578ff2 chore(telemetry): remove openTelemetryCollectorHost and OTEL collector nginx/ingress config 2025-11-07 21:49:42 +00:00
Nawaz Dhandala
ea9a245b82 chore(nginx): rename open-telemetry-ingest upstream to telemetry and update proxy_pass targets (/telemetry, fluentd and syslog endpoints) 2025-11-07 21:42:26 +00:00
Nawaz Dhandala
f49b1995df feat(telemetry): add new Telemetry service (OTel, Syslog, Fluent, Metrics, Traces) and unified ingestion pipeline
- Add Telemetry service entrypoint
  - Telemetry/Index.ts: app bootstrap, routes mounting, infrastructure init and Telemetry SDK init.

- Unified queue + worker
  - Telemetry/Jobs/TelemetryIngest/ProcessTelemetry.ts: single worker that dispatches queued jobs to specific processors (logs, traces, metrics, syslog, fluent logs).
  - Telemetry/Services/Queue/TelemetryQueueService.ts: central queue API and job payload types.
  - Per-type Queue wrappers (LogsQueueService, MetricsQueueService, TracesQueueService, FluentLogsQueueService, SyslogQueueService).

- OpenTelemetry ingestion middleware and proto support
  - Telemetry/Middleware/OtelRequestMiddleware.ts: detect OTLP endpoint (logs/traces/metrics), decode protobuf bodies using protobufjs and set product type.
  - Telemetry/ProtoFiles/OTel/v1/*.proto: include common.proto, logs.proto, metrics.proto, resource.proto, traces.proto for OTLP v1 messages.

- Ingest services
  - Telemetry/Services/OtelLogsIngestService.ts: parse incoming OTLP logs, map attributes, convert timestamps, batch insert logs.
  - Telemetry/Services/OtelTracesIngestService.ts: parse OTLP traces, build span rows, extract exceptions, batch insert spans and exceptions, save telemetry exception summary.
  - Telemetry/Services/OtelMetricsIngestService.ts: parse OTLP metrics, normalize datapoints, batch insert metrics and index metric name -> service map.
  - Telemetry/Services/SyslogIngestService.ts: syslog ingestion endpoints, parser integration, map syslog fields to attributes and logs.
  - Telemetry/Services/FluentLogsIngestService.ts: ingest Fluentd style logs, normalize entries and insert into log backend.
  - Telemetry/Services/OtelIngestBaseService.ts: helpers to resolve service name from attributes/headers.

- Syslog parser and utilities
  - Telemetry/Utils/SyslogParser.ts: robust RFC5424 and RFC3164 parser, structured data extraction and sanitization.
  - Telemetry/Tests/Utils/SyslogParser.test.ts: unit tests for parser behavior.

- Telemetry exception utilities
  - Telemetry/Utils/Exception.ts: generate exception fingerprint and upsert telemetry exception status (saveOrUpdateTelemetryException).

- Queue & job integration
  - New integration with Common/Server/Infrastructure/Queue and QueueWorker, job id generation and telemetry job types.
  - Telemetry services add ingestion jobs instead of processing synchronously.

- Config, build and dev tooling
  - Add Telemetry/package.json, package-lock.json, tsconfig.json, nodemon.json, jest config.
  - New script configs and dependencies (protobufjs, ts-node, jest, nodemon, etc).

- Docker / environment updates
  - docker-compose.base.yml, docker-compose.dev.yml, docker-compose.yml: rename service from open-telemetry-ingest -> telemetry and wire TELEMETRY_* envs.
  - config.example.env: rename and consolidate environment variables (OPEN_TELEMETRY_* -> TELEMETRY_*, update hostnames and ports).
  - Tests/Scripts/status-check.sh: update ready-check target to telemetry/status/ready.

- Other
  - Telemetry/Services/Queue/*: export helpers and legacy-compatible job interface shims.
  - Memory cleanup and batching safeguards across ingest services.
  - Logging and capture spans added to key code paths.

BREAKING CHANGES / MIGRATION NOTES:
- Environment variables and docker service names changed:
  - Replace OPEN_TELEMETRY_... vars with TELEMETRY_... (PORT, HOSTNAME, CONCURRENCY, DISABLE_TELEMETRY, etc).
  - docker-compose entries moved from "open-telemetry-ingest" to "telemetry" and image name changed to oneuptime/telemetry.
  - Update any deployment automation and monitoring checks referencing the old service name or endpoints.
- Consumers: OTLP endpoints and behavior remain supported, but ingestion is now queued and processed asynchronously.

Testing / Running:
- Install deps in Telemetry/ (npm install) after syncing Common workspace.
- Run dev: npx nodemon (nodemon.json) or build & start using provided scripts.
- Run tests with jest (Telemetry test suite includes SyslogParser unit tests).

Files added/modified (high level):
- Added many files under Telemetry/: Index, Jobs, Middleware, ProtoFiles, Services, Utils, Tests, package and config artifacts.
- Modified docker-compose.* and config.example.env and status check script to use new TELEMETRY service/vars.
2025-11-07 21:36:47 +00:00
Simon Larsen
351fc4828b Merge pull request #2088 from OneUptime/merge-fluentd
Merge fluentd
2025-11-07 20:40:14 +00:00
Nawaz Dhandala
04cb7da6d6 chore(fluentd): update production endpoint and x-oneuptime token in Fluentd config (Fluentd/fluent.conf) 2025-11-07 20:38:23 +00:00
Nawaz Dhandala
c6e2f41351 chore(docker-compose): add fluentd service to docker-compose.base.yml 2025-11-07 20:27:50 +00:00
Simon Larsen
e524dfda6d chore(fluent-ingest): normalize formatting in FluentLogsIngestService and Index.ts 2025-11-07 20:22:51 +00:00
Simon Larsen
30b6353714 chore(fluent-ingest): route fluent log ingest through TelemetryQueueService, add FluentLogsIngestService and remove legacy ProcessFluentLogs job 2025-11-07 20:20:25 +00:00
Simon Larsen
29be9b399f chore(fluent-ingest): route fluent log ingest through TelemetryQueueService and remove legacy queue endpoints
- Replace FluentLogsQueueService import/use with TelemetryQueueService.addFluentLogIngestJob in Fluent API.
- Remove ClusterKeyAuthorization-protected queue admin endpoints (stats, size, failed) from Fluent API.
- Remove ProcessFluentLogs job import from service initialization.
2025-11-07 20:02:22 +00:00
Simon Larsen
36cdeec916 chore(queue): remove FluentLogs from QueueName enum 2025-11-07 19:46:29 +00:00
Simon Larsen
a80b7ba88c chore(fluent-ingest): migrate fluent log ingest into open-telemetry-ingest and remove legacy fluent-ingest service
- Move Fluent/Fluent Bit logs ingestion into open-telemetry-ingest:
  - Add OpenTelemetryIngest/API/Fluent.ts (routes for /fluentd and queue endpoints)
  - Add Queue service, job worker and processor:
    - OpenTelemetryIngest/Services/Queue/FluentLogsQueueService.ts
    - OpenTelemetryIngest/Jobs/TelemetryIngest/ProcessFluentLogs.ts
  - Register Fluent API and job processing in OpenTelemetryIngest/Index.ts
  - Introduce QueueName.FluentLogs and related queue usage

- Remove legacy FluentIngest service and configuration:
  - Delete fluent-ingest docker-compose/dev/base entries and docker-compose.yml service
  - Remove fluent-ingest related helm values, KEDA scaledobject, ingress host and schema entries
  - Remove FLUENTD_HOST env/values and replace FLUENT_INGEST_HOSTNAME -> FLUENT_LOGS_HOSTNAME (pointing to open-telemetry-ingest)
  - Update config.example.env keys (FLUENT_LOGS_CONCURRENCY, DISABLE_TELEMETRY_FOR_FLUENT_LOGS)
  - Remove FluentIngestRoute and FLUENT_INGEST_URL/hostname usages from UI config/templates
  - Remove VSCode launch debug config for Fluent Ingest
  - Remove Fluent ingest E2E status check entry in Tests/Scripts/status-check.sh
  - Update docs/architecture diagram and Helm templates to reflect "FluentLogs" / Fluent Bit flow

- Misc:
  - Remove FLUENTD_HOST environment injection from docker-compose.base.yml
  - Cleanup related values.schema.json and values.yaml entries

This consolidates log ingestion under the OpenTelemetry ingest service and removes the separate FluentIngest service and its configuration.
2025-11-07 19:37:31 +00:00
Simon Larsen
b31d1076b8 chore(fluent-ingest): remove /fluent-ingest nginx proxy location from default.conf.template 2025-11-07 19:04:46 +00:00
Simon Larsen
788e82497c chore(fluent-ingest): remove fluent-ingest upstream and Fluentd collector nginx config; route fluentd/syslog endpoints to open-telemetry-ingest 2025-11-07 19:04:32 +00:00
Simon Larsen
3409b0f66e chore(fluent-ingest): remove FluentIngest E2E status check tests 2025-11-07 18:57:06 +00:00
Simon Larsen
cafed35795 chore(fluent-ingest): remove FluentIngest service and all related sources, configs and artifacts 2025-11-07 18:49:09 +00:00
Simon Larsen
69ae1eb310 chore(ci/infra): remove FluentIngest from workflows, charts and compose; bump OpenTelemetryIngest deps
- Remove FluentIngest CI jobs and release/test deploy steps (build.yml, compile.yml, release.yml, test-release.yaml)
- Delete test.fluent-ingest workflow
- Remove Fluent-related env vars/hostnames from config.example.env, docker-compose.base.yml, HelmChart templates and EnvironmentConfig.ts
- Remove fluent-ingest service block from docker-compose.base.yml
- Bump Playwright and TypeORM versions in OpenTelemetryIngest package-lock.json
2025-11-07 18:46:27 +00:00
Nawaz Dhandala
4335c46e3e fix: ProjectPicker use max-w-64 instead of w-64 for responsive container 2025-11-07 18:36:49 +00:00
Simon Larsen
863f1ae82e Merge pull request #2087 from OneUptime/snyk-fix-c8a12071f54add6476bd98c6671cd43d
[Snyk] Security upgrade typeorm from 0.3.20 to 0.3.26
2025-11-07 13:30:31 +00:00
snyk-bot
0755c15886 fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TYPEORM-13746469
2025-11-07 13:25:43 +00:00
Nawaz Dhandala
72ed43563e Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-07 13:24:21 +00:00
Nawaz Dhandala
15ded6cd46 Merge remote-tracking branch 'origin/snyk-upgrade-4b64a1ce29eed910e23d56c358729865' 2025-11-07 13:24:15 +00:00
Simon Larsen
9e238dc660 Merge pull request #2085 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-07 13:23:08 +00:00
Nawaz Dhandala
9f3ccc7d74 style(exec): type-annotate spawned child as ChildProcess and format spawn call 2025-11-07 13:22:24 +00:00
simlarsen
9e5db22235 chore: npm audit fix 2025-11-07 01:46:40 +00:00
Nawaz Dhandala
e31417c5bf style(exec, nginx, docs): tidy formatting and indentation across Execute.ts, NginxConfigurator.ts, and Telemetry Documentation 2025-11-06 19:41:57 +00:00
Nawaz Dhandala
bf6e97c35d feat(exec): add executeCommandInheritStdio and use it for nginx config test
- Add spawn and SpawnOptions imports and implement Execute.executeCommandInheritStdio
  that runs commands with inherited stdio, logs errors, and rejects on non-zero exit.
- Update NginxConfigurator to run `nginx -t -c /etc/nginx/nginx.conf` via the new
  inherit-stdio helper before reloading nginx.
2025-11-06 19:41:01 +00:00
Nawaz Dhandala
28073ba819 nginx(config): ensure log directory and access/error log files exist before reload 2025-11-06 14:20:13 +00:00
Nawaz Dhandala
4909a5c980 ci(workflows): disable Docker build cache in GitHub Actions
Add --no-cache to docker build and docker buildx commands across build.yml, release.yml and test-release.yaml to force fresh image builds and avoid using cached layers.
2025-11-06 13:54:58 +00:00
Nawaz Dhandala
c4adc24562 ci(release): handle npm publish --dry-run errors and skip if version already published 2025-11-06 13:33:14 +00:00
Nawaz Dhandala
597344483a docs(telemetry): expand common use cases into detailed sections with rsyslog and Fluent Bit examples 2025-11-06 13:21:01 +00:00
Simon Larsen
05d9b79ba2 docs(opentelemetry-ingest): add Syslog testing instructions with RFC5424 curl example 2025-11-06 12:51:56 +00:00
Simon Larsen
af14edb175 docs(telemetry): add "Send Native Syslog" tile to Documentation component 2025-11-06 12:49:36 +00:00
Simon Larsen
0255bd37d0 docs(telemetry): add "Common Use Cases" section to Syslog guide 2025-11-06 12:47:30 +00:00
Simon Larsen
2e6b463bd7 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-06 12:41:33 +00:00
Simon Larsen
95e355ff7d style(opentelemetry-ingest): add RequestHandler/type annotations and simplify parser regexes
- Type setSyslogProductType as RequestHandler
- Import and use ParsedSyslogMessage in parser tests (explicit typed parsed variables)
- Simplify regex usage/formatting in SyslogParser for version and procId matching
- Minor import formatting cleanup
2025-11-06 12:41:29 +00:00
Simon Larsen
cccdcdaf93 style(opentelemetry-ingest): normalize formatting and line-wrapping across ingest code
- Remove extraneous blank line in OTelIngest router
- Reflow imports, function signatures and wrapped expressions in:
  OtelIngestBaseService, SyslogQueueService, SyslogIngestService
- Tidy regex/whitespace and token handling formatting in SyslogParser
- Simplify quoting and compact multiline expectations in SyslogParser tests
- Pure stylistic changes only — no behavioral modifications
2025-11-06 12:34:38 +00:00
Simon Larsen
9256f8b4bd feat(opentelemetry-ingest): add Syslog ingestion API and RFC3164/5424 parsing
- Add new Syslog API (POST /syslog/v1/logs) with product-type middleware and mount it in OpenTelemetryIngest Index
- Move syslog route out of OTelIngest and clean up related imports
- Add parseRfc5424Timestamp and parseRfc3164Timestamp to OneUptimeDate (handles normalization and year rollovers)
- Refactor SyslogParser to use OneUptimeDate parsing helpers and remove duplicated timestamp parsing code
- Update NGINX template to proxy /syslog/v1/logs to open-telemetry-ingest with proper headers/resolver and connection settings
2025-11-06 12:33:36 +00:00
Simon Larsen
b27acbfd38 feat(opentelemetry-ingest): add native Syslog ingestion, parsing, queuing, docs & tests
- Add /syslog/v1/logs endpoint and syslog product-type middleware
- Implement SyslogIngestService: normalize/parse messages, build attributes, batch flush to LogService
- Add robust Syslog parser (RFC5424 & RFC3164) and comprehensive unit tests
- Add TelemetryType.Syslog, SyslogQueueService, and queue handling (enqueue + worker processing)
- Expose OPEN_TELEMETRY_INGEST_SYSLOG_FLUSH_BATCH_SIZE config
- Update Otel ingest router, base service helpers, and ProcessTelemetry worker to support Syslog
- Add documentation page and navigation entry for Syslog telemetry
2025-11-06 12:22:48 +00:00
Nawaz Dhandala
ad9771f222 Merge branch 'release' 2025-11-06 11:55:36 +00:00
Nawaz Dhandala
20a3eab3a0 fix(email): validate using RFC5322 regex and remove redundant Zod check 2025-11-06 11:55:14 +00:00
Nawaz Dhandala
fbe198f0c0 fix(nginx): ensure /var/log/nginx and logs exist; set error_log to /var/log/nginx/error.log
Create /var/log/nginx and touch access.log/error.log in run.sh so nginx -t succeeds before reloads.
Revert nginx.conf error_log to /var/log/nginx/error.log (notice).
2025-11-06 11:34:19 +00:00
Nawaz Dhandala
bb48776e02 fix(nginx): use stderr for error_log to enable container-friendly logging 2025-11-05 21:38:59 +00:00
Nawaz Dhandala
0f92342742 fix(nginx): write error_log to /proc/self/fd/2 for container-friendly logging 2025-11-05 20:33:32 +00:00
Nawaz Dhandala
6ed41b87dd fix(nginx): send error_log to /dev/stderr for container-friendly logging 2025-11-05 19:52:06 +00:00
Nawaz Dhandala
12364415aa ci(release): skip npm publish if version already published; fail on other errors 2025-11-05 19:37:45 +00:00
Nawaz Dhandala
1a3301e715 fix(monitor): normalize disk paths when matching disk metrics (handle backslashes, trailing slashes and root path) 2025-11-05 17:47:33 +00:00
Nawaz Dhandala
8be7b68faf fix(helm): move nodeSelector into e2e CronJob pod template and add per-job override 2025-11-05 16:58:07 +00:00
Nawaz Dhandala
47f9d3914e fix(queue): normalize job IDs (replace ':' with '-') when adding/removing jobs and handling repeatable keys 2025-11-05 15:14:51 +00:00
Nawaz Dhandala
8a1afbe7dc Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-05 13:32:12 +00:00
Simon Larsen
87ac6f3106 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-05 13:23:25 +00:00
Simon Larsen
2df32e4cdd fix(monitor): return null for cached monitor status name instead of undefined 2025-11-05 13:23:23 +00:00
Nawaz Dhandala
2e2adffe17 fix(nginx): use findAllBy and remove LIMIT_MAX when fetching certs for disk write jobs 2025-11-05 13:11:58 +00:00
Nawaz Dhandala
2a15cf8676 fix(acme): adjust ACME challenge route to /acme-challenge/.well-known/:token 2025-11-05 13:02:02 +00:00
Nawaz Dhandala
d249579c1c fix(acme): mount .well-known/acme-challenge router on main router to expose ACME challenge endpoint 2025-11-05 12:52:42 +00:00
Nawaz Dhandala
05681b108b style(monitor): add explicit type annotations and minor formatting cleanup in EvaluationLogList 2025-11-05 12:38:50 +00:00
Nawaz Dhandala
36867a0b8c style(monitor): render criteria message using Alert component in EvaluationLogList 2025-11-05 12:27:12 +00:00
Nawaz Dhandala
0e5a832628 feat(monitor): include incident/alert numbers in evaluation events and show them in UI
- select incidentNumber/alertNumber when loading open incidents/alerts
- attach relatedIncidentNumber / relatedAlertNumber to evaluation events (created/resolved/skipped)
- add number fields to MonitorEvaluationEvent type
- decorate event title/message in EvaluationLogList to include "Incident #N" / "Alert #N"
2025-11-05 12:25:20 +00:00
Nawaz Dhandala
46f69fdde5 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-05 12:14:21 +00:00
Nawaz Dhandala
70e6c0abe1 style(monitor): wrap criteria message and met notice in styled callouts with icons 2025-11-05 12:14:15 +00:00
Simon Larsen
c5938956af docs(readme,helm): add Community vs. Enterprise table to main README; expand Enterprise Edition details in Helm chart README 2025-11-05 12:12:42 +00:00
Simon Larsen
e9bfe74b5d Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-05 12:09:46 +00:00
Simon Larsen
55085a5e6c docs(helm): add Community vs. Enterprise table, document ssl.provision and image.type, remove duplicate Uninstall section 2025-11-05 12:09:42 +00:00
Nawaz Dhandala
9cb48a41e7 style(monitor): restore criteria 'not checked' notice and use ArrowCircleRight icon for events 2025-11-05 12:03:14 +00:00
Nawaz Dhandala
dd8179c0a7 refactor(monitor): remove short-circuit notice and related logic from EvaluationLogList
Remove firstMetCriteriaIndex and shouldShowShortCircuitMessage, and delete the UI block that displayed the "remaining criteria were not evaluated" short-circuit message. Simplifies criteria rendering by removing unused short-circuit handling.
2025-11-05 12:01:04 +00:00
Simon Larsen
f9f84d4104 docs(helm): note Let's Encrypt requires host reachable on ports 80 and 443 2025-11-05 11:58:54 +00:00
Simon Larsen
827663675d refactor(queue): extract BullMQAdapter array and cast to BullBoardQueues for type compatibility 2025-11-05 11:57:48 +00:00
Nawaz Dhandala
0e8d7f2d6b fix(monitor): show short-circuit notice only for first met criteria, remove unused import, and tweak spacing/styles 2025-11-05 11:56:51 +00:00
Nawaz Dhandala
0dd9dfb505 style(monitor): fix JSX conditional formatting in EvaluationLogList 2025-11-05 11:40:36 +00:00
Nawaz Dhandala
b3c68df77e refactor(monitor): centralize persistence of latest monitor payload
Extract persistLatestMonitorPayload and consolidate handling of serverMonitorResponse
and incomingMonitorRequest. Ensure monitor payload updates are saved consistently
(including when there are no steps or no matching monitor step) and before writing logs.
Also clone incomingMonitorRequest via JSON to avoid mutating the original payload and
normalize debug messages.
2025-11-05 11:38:34 +00:00
Nawaz Dhandala
06d0510667 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-11-05 11:34:28 +00:00
Nawaz Dhandala
059b7db474 fix(nginx): narrow ACME challenge location to /.well-known/acme-challenge 2025-11-05 11:30:17 +00:00
Simon Larsen
ff17d990d1 fix(scim): make Create Group idempotent — reuse existing team and return 200 when reused
- Reuse an existing team instead of throwing BadRequest on duplicate group names.
- Create a new team when not found, setting isTeamEditable/isTeamDeleteable and allowing empty groups.
- Ensure member additions operate on the resolved target team.
- Expand team select fields and fetch the team for response; return 201 for newly created teams and 200 when reusing an existing one.
2025-11-05 11:17:28 +00:00
Nawaz Dhandala
2e6658542b delete scim readme 2025-11-05 11:12:27 +00:00
Nawaz Dhandala
04a4d6e4de fix(monitor): show short-circuit note for satisfied criteria and normalize met text color
- Add notice when a criteria is satisfied under FilterCondition.Any to indicate remaining criteria were not evaluated.
- Ensure FilterCondition is imported where used.
- Change "Criteria met" text color in Logs view from green to gray for consistent summary styling.
2025-11-05 10:52:03 +00:00
Nawaz Dhandala
2f595fe490 Merge branch 'monitor-log-summary-update' 2025-11-05 10:49:48 +00:00
Nawaz Dhandala
303554d644 refactor(monitor): group identical criteria filters in EvaluationLogList, aggregate metadata & status; use NORMAL small action buttons 2025-11-05 10:49:24 +00:00
Simon Larsen
2ca45b143d Merge pull request #2083 from OneUptime/monitor-log-summary-update
Monitor log summary update
2025-11-05 10:32:57 +00:00
Nawaz Dhandala
b5722256c5 refactor(email): replace custom RFC5322 regex with Zod email validation and add early falsy check 2025-11-05 09:41:42 +00:00
Nawaz Dhandala
0d231a6132 chore(eslint): enable no-control-regex and tidy rule formatting 2025-11-05 09:38:26 +00:00
Simon Larsen
ecc1d841e2 Merge pull request #2080 from OneUptime/snyk-upgrade-ad5a46fc6886b9d33f00f95d68951c86
[Snyk] Upgrade zod from 3.25.30 to 3.25.76
2025-11-05 09:34:42 +00:00
Simon Larsen
cddf534449 Merge pull request #2081 from OneUptime/snyk-upgrade-58044c8091e4244c9346f20e7029dcbd
[Snyk] Upgrade @opentelemetry/api-logs from 0.52.1 to 0.206.0
2025-11-05 09:34:36 +00:00
Simon Larsen
a4ba662211 Merge pull request #2078 from OneUptime/snyk-upgrade-a266987590b01e591eec631cb95143b3
[Snyk] Upgrade bullmq from 5.26.2 to 5.61.0
2025-11-05 09:34:20 +00:00
Simon Larsen
604bc33fb3 Merge pull request #2077 from OneUptime/snyk-upgrade-60fa724635c3f357d78809a2791dae5d
[Snyk] Upgrade posthog-js from 1.186.3 to 1.275.3
2025-11-05 09:34:12 +00:00
Simon Larsen
a1ae1bee89 Merge pull request #2082 from OneUptime/monitor-log-summary-update
Monitor log summary update
2025-11-05 09:33:51 +00:00
Nawaz Dhandala
775b8846c7 refactor(monitor): tidy formatting, consolidate imports and add type annotations
- Normalize whitespace/indentation and reformat several monitor utilities and message builders
- Consolidate and reorder imports (including MonitorEvaluationSummary) across evaluator/data-extractor modules
- Add explicit types (MonitorStatus, BasicDiskMetrics) and tighten type annotations in observation/resource code
- Minor cleanups to conditional formatting in dashboard components (EvaluationLogList, SummaryInfo)
2025-11-05 09:33:29 +00:00
Nawaz Dhandala
3837208023 refactor(monitor): split MonitorCriteriaMessageBuilder into smaller responsibility-focused modules
Move expectation, observation, data-extraction and formatting logic out of the large
MonitorCriteriaMessageBuilder into new classes:
- MonitorCriteriaExpectationBuilder
- MonitorCriteriaObservationBuilder
- MonitorCriteriaDataExtractor
- MonitorCriteriaMessageFormatter

Keep MonitorCriteriaMessageBuilder slim: it now orchestrates message construction and
delegates description/formatting responsibilities to the new modules.
2025-11-05 09:23:14 +00:00
Nawaz Dhandala
b45910a22e refactor(monitor): extract criteria evaluation, message builder, metrics & log utils from MonitorResource
- Move criteria processing into MonitorCriteriaEvaluator
- Move filter/observation message logic into MonitorCriteriaMessageBuilder
- Move monitor metrics logic into MonitorMetricUtil
- Move monitor log persistence into MonitorLogUtil
- Replace large in-file implementations in MonitorResource with calls to the new utilities to reduce complexity and improve separation of concerns
2025-11-05 08:59:14 +00:00
Nawaz Dhandala
c787d7eca0 refactor(monitor): format compare messages and add value formatting helpers 2025-11-05 08:38:04 +00:00
snyk-bot
9771c4cd69 fix: upgrade @opentelemetry/api-logs from 0.52.1 to 0.206.0
Snyk has created this PR to upgrade @opentelemetry/api-logs from 0.52.1 to 0.206.0.

See this package in npm:
@opentelemetry/api-logs

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-04 23:28:08 +00:00
snyk-bot
4471d6bec4 fix: upgrade zod from 3.25.30 to 3.25.76
Snyk has created this PR to upgrade zod from 3.25.30 to 3.25.76.

See this package in npm:
zod

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-04 23:28:03 +00:00
snyk-bot
95e24d9ae0 fix: upgrade playwright from 1.55.1 to 1.56.0
Snyk has created this PR to upgrade playwright from 1.55.1 to 1.56.0.

See this package in npm:
playwright

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-04 23:27:58 +00:00
snyk-bot
f8a7330f79 fix: upgrade bullmq from 5.26.2 to 5.61.0
Snyk has created this PR to upgrade bullmq from 5.26.2 to 5.61.0.

See this package in npm:
bullmq

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-04 23:27:53 +00:00
snyk-bot
ae177c920f fix: upgrade posthog-js from 1.186.3 to 1.275.3
Snyk has created this PR to upgrade posthog-js from 1.186.3 to 1.275.3.

See this package in npm:
posthog-js

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-04 23:27:47 +00:00
Nawaz Dhandala
9faa38454d refactor(monitor): improve criteria filter messages and add rich observation descriptions
- Replace ad-hoc success/failure messaging with buildCriteriaFilterMessage / buildCriteriaFilterFailureMessage
- Add detailed describe*Observation helpers for many CheckOn types (response, headers, body, isOnline, timeouts, incoming requests, CPU/memory/disk, processes, SSL, synthetic/custom code, metrics, logs, spans)
- Introduce utility helpers: formatNumber, formatPercentage, formatBytes, formatList, formatSnippet, describeProcesses, computeDiskUsagePercent, summarizeNumericSeries, formatResultValue, and various response extractors
- Enhance metric value extraction to select correct aggregated result by alias and return summarized numeric series
- Wire new messaging into MonitorResource evaluation flow (use filterMessage everywhere)
- Import and use FilterType and ServerProcess types plus several monitor response types
- Small fix in ServerMonitorCriteria: find disk metric and prefer percentUsed (fall back to percentFree) when computing disk usage percent
2025-11-04 22:39:51 +00:00
Nawaz Dhandala
a4198ec409 refactor(monitor): consolidate evaluation logs for probe-based monitors
Compute a probable evaluationSummary from props.evaluationSummary or the first probe response that has one, remove per-probe EvaluationLogList, and render evaluation logs once for probable (probe) monitors to avoid duplicated log lists.
2025-11-04 22:11:58 +00:00
Nawaz Dhandala
24d184debf feat(monitor, dashboard): resolve monitor status names in events and add view buttons for incidents/alerts
Cache and fetch monitor status names in MonitorResource and include readable status names in evaluationSummary events. Add action buttons in EvaluationLogList to navigate to related incident/alert views.
2025-11-04 22:08:08 +00:00
Nawaz Dhandala
f307c904b0 fix(monitor): persist monitor log on early exits and add input guards to saveMonitorLog 2025-11-04 21:31:54 +00:00
Nawaz Dhandala
2d20b7fd13 refactor(monitor): add explicit typings for render functions and evaluationSummary; simplify catch
Add explicit function type annotations for renderCriteriaResult, renderEvent and renderEvaluationLogs in SummaryView to improve type safety and readability. Also type the evaluationSummary variable in Monitor view and simplify the catch block by removing the unused error parameter.
2025-11-04 21:11:18 +00:00
Nawaz Dhandala
fd738b23d0 refactor(monitor, dashboard): normalize multiline formatting and simplify conditional logic
- Normalize multiline/inline formatting in MonitorResource.ts, EvaluationLogList.tsx and Logs.tsx
- Simplify nested else to else-if for FilterCondition.All in MonitorResource
- Minor JSX spacing and map return cleanup for clearer readability
2025-11-04 21:09:02 +00:00
Simon Larsen
deffa6489d feat(monitor): fetch and surface evaluationSummary from MonitorLog in Monitor view and Logs
- Add AnalyticsModelAPI call in Monitor view to load the latest MonitorLog and extract evaluationSummary into component state.
- Pass latest evaluationSummary to Summary component in Monitor view.
- Add Evaluation Outcome column to Monitor Logs table to show criteria met / no criteria / not recorded.
- Pass evaluationSummary into the Logs modal's SummaryInfo.
- Import MonitorEvaluationSummary types and MonitorLog analytics model.
2025-11-04 21:00:14 +00:00
Simon Larsen
e5f1d5553e feat(monitor): add MonitorEvaluationSummary and evaluation logs
- introduce MonitorEvaluationSummary type and related result/event types
- thread evaluationSummary through probe/monitor response types and probe ingest flow
- initialize and populate evaluationSummary in MonitorResource (criteriaResults, events)
- record events for criteria evaluation, monitor status changes, incident/alert create/skip/resolve
- update criteria filter evaluation to produce structured filter results and messages
- add EvaluationLogList UI and wire evaluationSummary into Summary/SummaryInfo views
- minor Date utility usages to timestamp events
2025-11-04 20:58:18 +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
b41d8ab5ab Merge pull request #2076 from OneUptime/ssl-load
Ssl load
2025-11-04 20:36:03 +00:00
Nawaz Dhandala
b809e1c43b refactor(analytics): extract includesValues and simplify numeric-array detection in Statement.toColumnType 2025-11-04 20:35:33 +00:00
Nawaz Dhandala
743f8721f3 fix(helm): correct YAML indentation for SERVER_ADMIN_DASHBOARD_HOSTNAME in _helpers.tpl 2025-11-04 20:06:40 +00:00
Simon Larsen
c0aa2b7905 Merge pull request #2075 from OneUptime/ssl-load
Ssl load
2025-11-04 19:56:35 +00:00
Nawaz Dhandala
4ac5819e6a fix(nginx): generate placeholder certs and guard HTTPS directives; test config after envsubst
Add ensure_placeholder_certificate to envsubst-on-templates.sh to generate a temporary self-signed cert when PRIMARY_DOMAIN is set but cert files are missing. Only export SSL listen/certificate directives if certs (real or placeholder) are available; otherwise disable HTTPS directives and emit warnings. Simplify PRIMARY_DOMAIN logging.

Also run "nginx -t" immediately after running the envsubst script in NginxConfigurator to validate generated config before attempting reload.
2025-11-04 19:55:22 +00:00
Nawaz Dhandala
158663c44b fix(nginx): only write/reload when certs change; derive primary domain and guard SSL directives
- WriteServerCertToDisk: read existing cert/key from disk and compare with DB values; skip writing when unchanged. After writing, run envsubst-on-templates.sh and reload nginx with try/catch and logging.
- envsubst-on-templates.sh: derive PRIMARY_DOMAIN from HOST when not set, compute cert/key paths, and only export PROVISION_SSL_* directives when certificate files exist (otherwise clear directives and log).
2025-11-04 19:44:55 +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
21984c8684 chore(docker-compose): consolidate common-ui/server anchors into common-runtime-variables
Replace <<: *common-ui-variables and <<: *common-server-variables with <<: *common-runtime-variables across services and remove the IS_SERVER flag from the server anchor.
2025-11-04 19:18:28 +00:00
Simon Larsen
ad63d18f0a fix(helm): replace runtime env include with oneuptime.env.oneuptimeSecret in isolated-vm template 2025-11-04 19:17:45 +00:00
Simon Larsen
e5af008079 chore(helm): unify runtime env template and update deployments
Replace separate commonServer/commonUi and oneuptimeSecret includes with a single
oneuptime.env.runtime include across deployments. Move oneuptimeSecret into the
common env where appropriate and remove SERVER_ADMIN_DASHBOARD_HOSTNAME.
Update all affected templates to use the new runtime include.
2025-11-04 19:14:27 +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
Nawaz Dhandala
6d66c6c369 ci(test-release): replace MCP server Docker builds with Worker image builds
Update test-release workflow to build and push Worker images (./Worker/Dockerfile) and adjust tags (including enterprise variants) instead of the previous MCP server build steps.
2025-11-04 17:58:41 +00:00
Nawaz Dhandala
9544dc2a6c chore(env): use explicit callback body for prefix startsWith check in getFrontendEnvVars 2025-11-04 16:47:07 +00:00
Simon Larsen
a22e3b63e0 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-11-04 16:08:53 +00:00
Simon Larsen
5f1f0cde4a fix(env): restrict frontend env vars and use sanitized getFrontendEnvVars in env.js
Add getFrontendEnvVars with an allow-list and allowed prefixes to EnvironmentConfig to avoid exposing the entire process.env to the browser. Update StartServer to use getFrontendEnvVars when rendering /env.js and embed the serialized env object directly.
2025-11-04 16:08:47 +00:00
Nawaz Dhandala
3025880d6d chore(nginx): move conditional SSL listen/certificate directives into envsubst variables 2025-11-04 15:59:14 +00:00
Nawaz Dhandala
00994b56c5 chore(values.yaml): relocate image configuration next to ssl and remove duplicate block 2025-11-04 15:35:27 +00:00
Nawaz Dhandala
d56fd8bf69 fix(domain): disallow creating verified domains for non-root users; require post-create verification 2025-11-04 15:09:41 +00:00
Nawaz Dhandala
1229d5d204 style(domain): normalize whitespace and formatting in DomainService.ts 2025-11-04 12:18:14 +00:00
Nawaz Dhandala
c4f1f4e711 fix(domain): allow setting deletedByUserId on create for project roles 2025-11-04 12:17:33 +00:00
Nawaz Dhandala
7b8986b011 fix(domain): require projectId for verification and verify TXT for all project domains; set isVerified false for non-root creates
- set createBy.data.isVerified = false for non-root creations
- require projectId (from query.projectId or props.tenantId) when verifying domains
- query by projectId and other filters, use LIMIT_PER_PROJECT and iterate results to verify TXT records
- add missing imports (LIMIT_PER_PROJECT, ObjectID, FindWhere) and improve error handling/messages
2025-11-04 12:14:51 +00:00
Nawaz Dhandala
46e6176e6a refactor(queue): use Redis.getRedisOptions() for BullMQ connections; remove direct Redis env usage 2025-11-04 11:53:43 +00:00
Simon Larsen
61f9572956 Merge pull request #2073 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-04 10:48:58 +00:00
simlarsen
3adc6901da chore: npm audit fix 2025-11-04 01:46:29 +00:00
Simon Larsen
d7f1bfb52a Merge pull request #2072 from OneUptime/core-ssl
refactor(helm): evaluate PROVISION_SSL once in oneuptime.env.common a…
2025-11-03 22:17:55 +00:00
Nawaz Dhandala
53968e681c refactor(helm): evaluate PROVISION_SSL once in oneuptime.env.common and replace dig call 2025-11-03 22:14:19 +00:00
Simon Larsen
3b8c854744 Merge pull request #2071 from OneUptime/core-ssl
Core ssl
2025-11-03 22:01:25 +00:00
Nawaz Dhandala
669ed2580c refactor(coressl,nginx): normalize formatting in WriteServerCertToDisk job
Wrap logger calls and LocalFile.write arguments for consistent multiline formatting.
2025-11-03 22:00:24 +00:00
Nawaz Dhandala
2f29c2e24c refactor(helm): move provisionSSL under ssl.provision and update templates/schema
Nest the top-level provisionSSL into ssl.provision in values.yaml and values.schema.json,
and update _helpers.tpl to read the new path (using default false via dig) so PROVISION_SSL
env is derived from ssl.provision.
2025-11-03 21:56:17 +00:00
Nawaz Dhandala
f0a2f454e2 feat(config,docker-compose): add PROVISION_SSL env and document Let's Encrypt provisioning
Expose PROVISION_SSL in docker-compose common variables and update config.example.env docs to explain automatic ACME/Let's Encrypt TLS provisioning and reverse-proxy alternative.
2025-11-03 21:51:14 +00:00
Nawaz Dhandala
d8206e12de feat(nginx): add ServerCerts volume/mount and enable conditional primary-domain SSL provisioning
- add server-certs emptyDir volume and mount to nginx Deployment
- update default.conf.template to conditionally listen on 7850 and use /etc/nginx/certs/ServerCerts/${PRIMARY_DOMAIN}.crt/.key when PROVISION_SSL is set
- enhance run.sh to export PRIMARY_DOMAIN, temporarily adjust PROVISION_SSL for envsubst, and restore original PROVISION_SSL afterwards
2025-11-03 21:48:15 +00:00
Nawaz Dhandala
f84434ada4 feat(nginx,coressl): add job to write primary host TLS certificate to disk and initialize it 2025-11-03 21:27:22 +00:00
Nawaz Dhandala
d5fbe0443e refactor(acme,coressl): normalize formatting for AcmeChallenge routing, handler signature, and provisioning log 2025-11-03 21:12:46 +00:00
Nawaz Dhandala
2732cd65ed feat(acme): add ACME HTTP-01 challenge routing and nginx proxy
- Refactor AcmeChallengeAPI into a BaseAPI-backed class that exposes a well-known router.
- Add CrudApiEndpoint(Route("/acme-challenge")) to AcmeChallenge model.
- Register AcmeChallengeAPI router in BaseAPIFeatureSet via (new AcmeChallengeAPI).getRouter().
- Add nginx location /.well-known to proxy ACME challenge requests to /api/acme-challenge/.well-known with proper headers, resolver and websocket support.
2025-11-03 21:12:01 +00:00
Nawaz Dhandala
7624523446 feat(api): add ACME HTTP-01 challenge endpoint and register AcmeChallengeAPI 2025-11-03 20:59:02 +00:00
Nawaz Dhandala
5851286548 feat(coressl): add automated Let's Encrypt provisioning for primary host
- add ProvisionPrimaryDomain worker job to order/renew ACME certificates for the HOST
- register job import in Worker Routes
- add ProvisionSsl env flag in Common/Server/EnvironmentConfig
- expose PROVISION_SSL in Helm chart (values.yaml, values.schema.json, _helpers.tpl)
2025-11-03 20:48:07 +00:00
Simon Larsen
123d9b07bc Merge pull request #2067 from OneUptime/service-catalog-pages
Service catalog pages
2025-11-03 19:50:54 +00:00
Nawaz Dhandala
9edc6ac428 refactor(metrics): normalize type annotations and formatting in MetricExplorer/MetricQuery/MetricView 2025-11-03 19:47:27 +00:00
Nawaz Dhandala
72fc633bf1 refactor(metrics): treat metric query alias as meaningful so alias-only queries are preserved in URL/state 2025-11-03 19:44:21 +00:00
Nawaz Dhandala
3264322054 refactor(metrics): support metric query alias in URL/state
- add MetricQueryAliasFromUrl type
- populate initial metric alias fields from parsed URL into initial query configs
- include alias when building metricQueries for the URL and when parsing metricQueries from the URL
- add sanitizeAlias and buildAliasFromMetricAliasData helpers to validate/serialize alias fields
2025-11-03 19:41:48 +00:00
Nawaz Dhandala
d8fedc0b19 refactor(filters,metrics): default to showing advanced filters and optimize metric fetching
- add showAdvancedFiltersByDefault prop to FiltersForm and use it to initialize advanced filter visibility
- MetricQuery: default showAdvancedFilters to true, pass showAdvancedFiltersByDefault to FiltersForm and call onAdvancedFiltersToggle once on mount
- MetricView: introduce getFetchRelevantState and lastFetchSnapshotRef; only fetch aggregated results when relevant state (start/end dates or queryConfigs) actually changes
2025-11-03 19:33:12 +00:00
Nawaz Dhandala
fc7cc5fe7f Merge branch 'master' into service-catalog-pages 2025-11-03 18:55:32 +00:00
Nawaz Dhandala
5b4eb72521 refactor(modal,edition-label): make Modal onSubmit optional and centralize modal props
- Make Modal.onSubmit and ModalFooter.onSubmit optional and use safe optional chaining when invoking
- Extract modalSubmitButtonText, modalOnSubmit, modalIsLoading, and modalDisableSubmitButton in EditionLabel to simplify JSX and reduce inline conditional logic
2025-11-03 18:54:27 +00:00
Nawaz Dhandala
d84cfe9b09 refactor(enterprise): register EnterpriseLicense migration and clean up license validation/env config; refactor(edition-label): adjust alert formatting 2025-11-03 18:35:00 +00:00
Nawaz Dhandala
0e8926a786 refactor(edition-label): update edition labels and streamline license validation UI
- Change "Enterprise Edition (Verified)" -> "Enterprise Edition"
- Change "Enterprise Edition (License Needed)" -> "Enterprise Edition (License Required)"
- Render success Alert without extra wrapper
- Only show license input, validation error and explanatory text when license is not valid
2025-11-03 18:33:33 +00:00
Nawaz Dhandala
12ff3062de feat(enterprise): add server license validation endpoint and integrate UI
- Add POST /global-config/license handler to validate enterprise license via
  EnterpriseLicenseValidationUrl and store results in GlobalConfig.
- Introduce EnterpriseLicenseValidationUrl in EnvironmentConfig.
- Update EditionLabel to call /global-config/license (POST) for validation,
  remove direct ModelAPI update and ObjectID usage, and replace inline messages
  with Alert component. Minor styling and import cleanup.
2025-11-03 18:21:23 +00:00
Simon Larsen
30aad2866f fix(enterprise): remove oneuptime.com host restriction from license validation (comment out Host import and serverHost check) 2025-11-03 15:25:53 +00:00
Simon Larsen
3de636ab9e refactor(edition-label): remove refresh flow and unify license validation
- Remove isRefreshing state and handleRefresh function; use isValidating for all validation/loading logic
- Make modal submit perform license validation (label "Validate License") and derive isLoading/disable state from licenseKeyInput, isValidating, and isConfigLoading
- Change retry button style to DANGER
- Expand enterprise features copy ("Audit logs and many more enterprise-focused features.")
- Reorder and simplify dialog markup (remove in-body Validate button)
2025-11-03 15:10:58 +00:00
Simon Larsen
a1bf9cbaae feat(enterprise): add EnterpriseLicense DB migration (1762181014879) and register in migrations index 2025-11-03 14:46:00 +00:00
Simon Larsen
12c800b81f refactor(edition-label): add explicit types for ref and callbacks, tidy formatting and normalize config.example.env newline 2025-11-03 14:29:36 +00:00
Simon Larsen
677e687662 fix(enterprise): restrict enterprise license validation to oneuptime.com and import Host 2025-11-03 14:16:45 +00:00
Simon Larsen
93719d67be refactor(link): use ReactNode for children and handle numeric children 2025-11-03 14:12:29 +00:00
Simon Larsen
7d23209198 chore(format): tidy formatting in GlobalConfig, EditionLabel, and Config 2025-11-03 14:09:09 +00:00
Simon Larsen
4461127a36 feat(enterprise): add /global-config/license endpoint and make EditionLabel fetch license via API
- Add GET /global-config/license that returns enterprise license fields (companyName, expiresAt, licenseKey, token).
- Update EditionLabel to use APP_API_URL and fetch license from the new endpoint instead of ModelAPI.getItem.
- Replace hard-coded validation URL with APP_API_URL-based URL.
2025-11-03 14:08:20 +00:00
Simon Larsen
8326bf2c9e chore(edition-label): no-op commit (no code changes) 2025-11-03 14:03:06 +00:00
Simon Larsen
be9d2f6beb feat(enterprise): add enterprise license fields to GlobalConfig
Add enterpriseCompanyName, enterpriseLicenseKey, enterpriseLicenseExpiresAt and enterpriseLicenseToken to store validated enterprise license metadata.
2025-11-03 14:01:24 +00:00
Simon Larsen
214dae6204 feat(enterprise): add license validation endpoint to EnterpriseLicense API
Add POST /.../validate route that verifies license key, checks expiration,
and returns license info with a signed JWT token.
2025-11-03 13:40:09 +00:00
Simon Larsen
71c845d94e feat(enterprise): add EnterpriseLicense API
Add EnterpriseLicenseAPI class that extends BaseAPI to expose CRUD operations
for the EnterpriseLicense model using EnterpriseLicenseService.
2025-11-03 13:32:52 +00:00
Simon Larsen
87d709dd05 feat(enterprise): add EnterpriseLicense model, service and API; register model/service and add IsEnterpriseEdition env flag 2025-11-03 12:19:55 +00:00
Simon Larsen
25332f99fd chore(helm): add IS_ENTERPRISE_EDITION env var to oneuptime.env.common 2025-11-03 11:43:18 +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
Simon Larsen
f1efd65ada Merge pull request #2070 from OneUptime/snyk-upgrade-ecc4458d6ea952fff3607671e1a1fb1d
[Snyk] Upgrade react-router-dom from 6.23.1 to 6.30.1
2025-11-03 08:51:04 +00:00
snyk-bot
bc338f41c7 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/40b17bc5-1bd4-48b1-88f1-5b4dc1400e80?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-02 10:11:06 +00:00
Simon Larsen
39153735b5 Merge pull request #2069 from OneUptime/chore/npm-audit-fix
chore: npm audit fix
2025-11-02 09:18:55 +00:00
simlarsen
ae9a78f1f4 chore: npm audit fix 2025-11-01 01:49:26 +00:00
Nawaz Dhandala
f224ad6092 fix(ui): display correct feature list and icon for Community Edition
- Map communityFeatures (not enterpriseFeatures) in the Community Edition panel
- Replace wrong/Danger icon with Check and add muted gray styling
2025-10-31 18:14:32 +00:00
Nawaz Dhandala
1abb8bc83f style(ui): reformat EditionLabel and trim whitespace in Dashboard Footer
- Reflow imports, map callbacks and wrapped long strings in EditionLabel for improved readability.
- Remove stray trailing space in Dashboard Footer link.
2025-10-31 18:07:23 +00:00
Nawaz Dhandala
46704b7c5a fix(ui): correct IconProp relative import path in EditionLabel 2025-10-31 16:48:17 +00:00
Nawaz Dhandala
143d91ceab feat(ui): revamp EditionLabel to use shared enterpriseFeatures and render feature lists with icons 2025-10-31 16:46:28 +00:00
Nawaz Dhandala
ea58cacd1b feat(ui): revamp EditionLabel and allow Footer content links
- Update EditionLabel UI: new button styling, status indicator, compact CTA text
- Expand modal content with Community vs Enterprise comparison and use enterprise demo URL
- Pass ModalWidth to modal and refine primary action behavior
- Extend Footer types to accept ReactNode content and render content links
- Embed EditionLabel into Dashboard footer links
2025-10-31 16:43:07 +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
f7c05645a9 feat(helm-chart): add image helper and support enterprise image type
- Add Helm helpers oneuptime.image.tag and oneuptime.image to centralize image name/tag formatting
- If image.type is "enterprise-edition" and tag doesn't already contain "enterprise", prefix tag with "enterprise-"
- Replace inline image printf calls with include "oneuptime.image" across deployments, cronjob and tests
- Add image.type to values.schema.json and set default type to "community-edition" in values.yaml
2025-10-31 15:17:41 +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
13860be56d chore(helm-chart): remove cert-manager integration from oneuptime chart
- Remove cert-manager dependency from Chart.yaml and update Chart.lock (digest/timestamp)
- Delete bundled cert-manager chart (charts/cert-manager-v1.18.2.tgz)
- Remove ClusterIssuer template and cert-manager/Let's Encrypt-related ingress annotations and secret handling
- Remove cert-manager and certManagerLetsEncrypt entries from values.schema.json and values.yaml
- Clean up README to remove Cert-Manager / Let's Encrypt documentation and references
2025-10-30 21:52:19 +00:00
Nawaz Dhandala
38c29664ea refactor(metrics): strengthen typings and clean up MetricExplorer
- Add explicit types for initialQueryConfigs (MetricQueryConfigData) and map callbacks
- Use FilterData<MetricsQuery> and explicit Record<string, unknown> for safer access
- Type lastSerializedStateRef as React.MutableRefObject<string>
- Simplify catch blocks (remove unused error variables) and tidy parsing/sanitization logic
- Minor formatting and type-safe attribute sanitization improvements
2025-10-30 21:36:44 +00:00
Nawaz Dhandala
df1507b314 feat(metrics): persist multiple metric queries & time range in URL
- Refactor MetricExplorer to parse/serialize a metricQueries URL param (array of metricName, attributes, aggregationType) and startTime/endTime.
- Add helpers to sanitize attributes, map aggregation types, and build metric query state.
- Update MetricsTable to generate metricQueries payload (with attributes and aggregationType) when navigating to metric view.
- Minor JSX/formatting cleanup.
2025-10-30 21:33:30 +00:00
Nawaz Dhandala
65c999b5fc feat(metrics): support filtering by multiple telemetry services
Replace telemetryServiceId/telemetryServiceName props with telemetryServiceIds array.
Update MetricsTable to accept multiple IDs, construct view route when exactly one
telemetry service is selected, query with Includes for multiple services, and add
select/filters/column to show telemetry service info. Update ServiceCatalog and
Telemetry Service Metrics pages to pass telemetryServiceIds and remove redundant
single-service fetching/state.
2025-10-30 20:32:35 +00:00
Nawaz Dhandala
803d0436ca feat(service-catalog): reorganize side menu and tidy view components
- Move "Telemetry Services" into the Resources section and introduce an Operations
  section for Alerts and Incidents; update corresponding icons and route targets.
- Reformat FunctionComponent type annotations and async fetch function bodies
  in Alerts, Logs, Traces and Metrics for consistent indentation and readability.
- Minor formatting cleanup for pageRoute/path prop in ServiceCatalogRoutes.
2025-10-30 20:12:52 +00:00
Nawaz Dhandala
b98e7f13a5 feat(service-catalog): add Alerts, Logs, Traces and Metrics pages, routes and menu
- Add new ServiceCatalog view pages: Alerts.tsx, Logs.tsx, Traces.tsx, Metrics.tsx
  (fetch monitors/telemetry service ids and render respective tables/viewers).
- Register lazy routes and PageRoute entries in ServiceCatalogRoutes for alerts,
  logs, traces and metrics.
- Extend PageMap and RouteMap with new keys/paths and Route entries.
- Update SideMenu to include Alerts under Operations and Logs/Traces/Metrics under
  a Telemetry section.
- Add breadcrumbs entries for the new service catalog pages.
2025-10-30 20:08:52 +00:00
Simon Larsen
0785f11abe Merge pull request #2066 from OneUptime/live-logs
Live logs
2025-10-30 18:58:45 +00:00
Nawaz Dhandala
f0d9f7c594 chore(incidents): add IncidentUpdatePayload type and use it for updatedIncidentData 2025-10-30 18:58:19 +00:00
Nawaz Dhandala
dc9463f73d chore(logs-viewer,logs): add explicit types for liveRequestInFlight, fetchItems and handleLiveToggle 2025-10-30 18:45:54 +00:00
Nawaz Dhandala
37c8e8b6b6 chore(logs-viewer,logs): tweak LiveLogsToggle styling for improved contrast
- add bg-white/90 and backdrop-blur to base classes
- update active/inactive border, text and hover classes
- adjust indicator colors and make "Live" label font-semibold
2025-10-30 18:42:41 +00:00
Nawaz Dhandala
763dfaa1c9 chore(logs-viewer,logs): track live-updating state and disable live toggle during live fetches 2025-10-30 18:37:55 +00:00
Nawaz Dhandala
c2e0d402d5 chore(logs-viewer,logs): remove live updating indicator and tooltip; simplify LiveLogsToggle API
- Remove isUpdating and tooltip from LiveLogsToggle props and types
- Drop Tooltip import and spinner markup; always return button content
- Remove isLiveUpdating state and related updates from Dashboard LogsViewer
- Simplify liveOptions to only pass isLive and onToggle
2025-10-30 18:34:48 +00:00
Simon Larsen
cdc1526fbf chore(logs-viewer,logs): normalize formatting - inline LiveLogsToggle JSX and reformat catch callback 2025-10-30 18:20:10 +00:00
Simon Larsen
13ebd34e8f feat(logs-viewer): add live logs toggle and realtime refresh support
- Add LiveLogsOptions type and LiveLogsToggle component.
- Wire liveOptions through LogsViewer -> LogsViewerToolbar to render the live toggle.
- Update Dashboard LogsViewer to support live mode:
  - add isLiveEnabled, isLiveUpdating state and liveRequestInFlight ref.
  - change fetchItems to accept skipLoadingState to perform lightweight live refreshes (sets isLiveUpdating instead of full loader).
  - poll every 10s when live is enabled (only on page 1, sorted by time desc) and use skipLoadingState for background refreshes.
  - integrate with realtime listener and avoid overlapping live requests.
  - add handleLiveToggle to enforce page/sort when enabling and to stop live updates when disabling.
- Automatically disable live mode when user changes filters, page, or sort in ways that conflict with live behavior.
- Minor imports/exports and typing adjustments.
2025-10-30 18:17:17 +00:00
Nawaz Dhandala
3b97c23039 Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2025-10-30 16:45:43 +00:00
Simon Larsen
7c15424565 Merge pull request #2064 from OneUptime/incident-postmortem
Incident postmortem
2025-10-30 16:45:20 +00:00
Nawaz Dhandala
6817443d9a chore: normalize formatting and comment style across migrations, jobs and postmortem UI
- Reformat MigrationName1761834523183.ts SQL queries to multi-line strings and consistent quoting
- Add trailing comma to migrations Index export
- Convert inline // comments to /* ... */ block comments in KeepCurrentStateConsistent jobs (Alert, Incident, Monitor, ScheduledMaintenance) for consistency
- Minor refactor in IncidentPostmortem: expand setRefreshToggle updater to an explicit return
2025-10-30 16:44:54 +00:00
Nawaz Dhandala
f40a6395a6 feat(incident): set create/edit modal width for incident postmortem templates 2025-10-30 16:42:25 +00:00
Nawaz Dhandala
81eb735aab feat(incident): extract postmortem form fields and apply templates via edit modal 2025-10-30 16:39:25 +00:00
Nawaz Dhandala
923339710b feat(incident): add migration to create IncidentPostmortemTemplate and add postmortemNote to Incident 2025-10-30 14:30:56 +00:00
Nawaz Dhandala
1f9ec3011c feat(incident): add postmortem UI, templates, routes and breadcrumbs
- Add Incident Postmortem page to incident view with:
  - Postmortem note CardModelDetail (edit/save)
  - "Apply Template" modal to pick and apply a postmortem template
- Add Settings pages for postmortem templates:
  - IncidentPostmortemTemplates (list/create)
  - IncidentPostmortemTemplateView (view/edit/delete)
- Wire up routes, route map, page map and side menu links for postmortem views
- Add breadcrumbs entries for incident postmortem and settings pages
- Minor cleanup/formatting tweaks in IncidentPostmortemTemplate model and IncidentService
2025-10-30 14:17:24 +00:00
Nawaz Dhandala
668093b09c feat(incident): add postmortem template & postmortem note feed support
- add IncidentPostmortemTemplate model and IncidentPostmortemTemplateService
- expose model in Common/Models/DatabaseModels index and register API route in BaseAPI
- add postmortemNote column to Incident model
- add IncidentFeedEventType.PostmortemNote enum value
- emit IncidentFeed item when postmortemNote is added/updated/cleared (IncidentService)
- update Dashboard IncidentFeed to show Book icon for PostmortemNote events
2025-10-30 12:27:13 +00:00
Simon Larsen
f39f51e8ee Merge pull request #2063 from OneUptime/master
chore(jobs): comment out KeepCurrentStateConsistent implementations a…
2025-10-30 12:08:05 +00:00
Nawaz Dhandala
0bff616ca9 chore(jobs): comment out KeepCurrentStateConsistent implementations and unused imports for Alert, Incident, Monitor, and ScheduledMaintenance 2025-10-30 11:59:07 +00:00
Nawaz Dhandala
709b9b8343 fix(link): add title to ComponentProps and forward it to the anchor element 2025-10-30 11:36:46 +00:00
Nawaz Dhandala
aa93252407 Merge branch 'master' into release 2025-10-29 20:38:27 +00:00
Simon Larsen
b4e7ffce43 Merge pull request #2062 from OneUptime/log-ui
Log UI
2025-10-29 20:37:16 +00:00
Nawaz Dhandala
1053d22d3f refactor(logs-viewer): add overflow-y-hidden to table container to prevent vertical overflow 2025-10-29 20:35:09 +00:00
Nawaz Dhandala
a37bdb303d refactor(logs-viewer): simplify empty-state copy, remove decorative '>' and tone down text colors 2025-10-29 20:33:31 +00:00
Nawaz Dhandala
860af1bbf3 refactor(logs-viewer): polish empty-state layout and styling
Replace bare empty message with a centered card-style panel:
- add full-height centered wrapper with slate background
- constrain width, add rounded border, padding and inner shadow
- update typography to monospace, uppercase tracking and emerald accent
- tweak spacing and muted text color for helper copy
2025-10-29 20:30:26 +00:00
Nawaz Dhandala
d5e72c1af2 refactor(logs-viewer): normalize formatting and tidy JSX
- Clean up multiline signatures and expressions for readability
- Standardize JSX tag formatting and expanded-content rendering (explicit return)
- Minor whitespace/indentation tweaks in LogsViewer, LogsTable, LogDetailsPanel, and Dashboard LogsViewer

No functional changes.
2025-10-29 20:29:07 +00:00
Nawaz Dhandala
6cc6fc4bf1 refactor(logs-viewer): polish LogDetailsPanel layout, surface cards, badges and trace/span links 2025-10-29 20:27:50 +00:00
Nawaz Dhandala
f890f24650 refactor(logs-viewer): use icon sort indicators and refine table styling
- replace text-based sort markers with Icon (Chevron/ArrowUpDown) and add helper funcs
- adjust table/header/tbody classes (dividers, background, text colors)
- tweak row hover/selected styles and message/service text colors for better contrast
- update small typography and trace/span color for consistency
2025-10-29 20:22:34 +00:00
Nawaz Dhandala
d077e55241 refactor(logs-viewer): add pagination & sorting API, move sort controls to table headers
- Add server/client-aware pagination & sorting to LogsViewer (props: totalCount, page, pageSize, onPageChange, onPageSizeChange, sortField, sortOrder, onSortChange)
- Implement client-side sort fallback, severity-weight sorting and stable time sorting
- Move sort UI into LogsTable column headers and remove autoscroll / toolbar sort buttons
- Introduce internal page/size/sort state, reset behavior on filter/apply, and improved displayedLogs handling
- Update page size defaults and options (DEFAULT_PAGE_SIZE=100, PAGE_SIZE_OPTIONS=[100,250,500,1000])
- Wire Dashboard viewer to new API (pass totalCount, page, pageSize, sort handlers) and adjust realtime fetch logic
- Reduce default page limit usages from 250 to 100
2025-10-29 20:07:59 +00:00
Nawaz Dhandala
a4b7c99b8a refactor(logs-viewer): replace gradients with solid backgrounds and enable log message wrapping 2025-10-29 19:18:06 +00:00
Nawaz Dhandala
671be425ae refactor(logs-viewer): render log details inline and unify panel variants
- Add renderExpandedContent prop to LogsTable and render LogDetailsPanel inline for expanded rows
- Introduce "embedded" variant in LogDetailsPanel and extract container/header/card classes for shared styling
- Update table and surrounding container styles (rounded, gradients, backdrop) and add a click-to-open hint banner
- Remove standalone selectedLog memo and the separate details pane UI; use selectedLogId to control inline expansion
2025-10-29 19:01:53 +00:00
Nawaz Dhandala
d2d7a51842 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-29 18:24:49 +00:00
Simon Larsen
1142a20d64 refactor(logs-viewer): tighten types and clean up formatting across components
- Add explicit type annotations for callbacks, helpers and theme (SeverityTheme)
- Strengthen severityTheme getSeverityTheme signature and consume typed return
- Remove unused catch variables and mark unused params where applicable
- Minor JSX/formatting tweaks and whitespace cleanup in table, pagination, details panel
- Small import/format fix in Execute.ts
2025-10-29 18:02:19 +00:00
Simon Larsen
8d0d7dc759 refactor(logs-viewer): modularize viewer into table, pagination and details panel
- Remove legacy LogItem and the old scroll-based monolithic layout.
- Add modular components under LogsViewer/components:
  - LogsTable (tabular list view, row selection, copy actions)
  - LogDetailsPanel (expanded details, copy buttons, trace/span links)
  - LogsViewerToolbar (autoscroll toggle, sort controls, summary)
  - LogsPagination (page controls & page-size selector)
  - LogsFilterCard (filters wrapper using FiltersForm)
  - SeverityBadge + severityTheme (centralized severity styling)
- Replace manual scroll alignment with page-based auto-scroll and safer pagination logic.
- Preserve getTraceRoute/getSpanRoute behavior and filter lifecycle (attributes loading, apply filters).
- Improve state handling (selection, pagination, page size, service map loading) and reduce component complexity.
2025-10-29 17:52:26 +00:00
Simon Larsen
cedf06ba42 chore(ci): schedule npm-audit-fix workflow and create PR via action
Switch workflow to run on a daily schedule (and via workflow_dispatch) and
replace direct git commit/push steps with peter-evans/create-pull-request to
open changes as a PR instead of pushing to the default branch.
2025-10-29 17:02:50 +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
Nawaz Dhandala
50e9a53547 chore(ci): don't mark whole run as failed when npm audit fix errors; only report the error 2025-10-29 16:26:40 +00:00
Nawaz Dhandala
d0de004498 docs(devpromps): fix typo in TerraformPrompt.md and add note to avoid editing generated provider code 2025-10-29 16:24:51 +00:00
Nawaz Dhandala
65c4998048 chore(isolated-vm): update package-lock.json — bump dependencies, add new & transitive packages 2025-10-29 16:12:16 +00:00
Nawaz Dhandala
5e7a3795c7 chore(ci): add npm-audit-fix workflow and helper script, expose audit-fix npm script 2025-10-29 13:25:31 +00:00
Nawaz Dhandala
cf83319a90 style(execute): normalize import formatting and reindent exec callback 2025-10-28 19:26:44 +00:00
Nawaz Dhandala
87dc9d88d0 chore(common): update package-lock.json with dependency bumps and transitive additions
Bump multiple deps (notably @babel/*, express, undici, brace-expansion, sha.js, call-bind)
Add transitive packages: call-bound, is-typed-array, to-buffer, typed-array-buffer
Include updated metadata (engines, funding) and adjust dev flags/pruned entries in lockfile
2025-10-28 19:24:48 +00:00
Nawaz Dhandala
444cf040a6 refactor(execute,code-repository): allow ExecOptions in Execute.executeCommand and use cwd instead of 'cd'
- Extend Execute.executeCommand to accept ExecOptions and forward them to child_process.exec
- Log stderr on error and debug-log stderr when present
- Update CodeRepository to pass cwd to Execute.executeCommand instead of prefixing commands with "cd"
2025-10-28 17:37:06 +00:00
Nawaz Dhandala
2754657a6f chore(probe): update package-lock with dependency version bumps and new packages
- Bump axios, playwright, playwright-core, react-syntax-highlighter, nodemailer
- Add @simplewebauthn/server, @types/archiver, archiver, botbuilder
- Update resolved versions/integrity in lockfile
2025-10-28 16:58:30 +00:00
Nawaz Dhandala
38ca6b1e9e style(code-repository): normalize logger debug formatting and wrap long expressions for readability 2025-10-28 16:52:54 +00:00
Nawaz Dhandala
f481ef4f5e refactor(code-repository,github): replace ad-hoc shell commands with structured git execution, sanitize paths, and improve logging
- Use CodeRepositoryUtil.runGitCommand / Execute.executeCommandFile instead of building shell command strings.
- Properly resolve and sanitize file paths when adding files to git; skip empty/invalid paths and add relative sanitized paths.
- Use resolvePathWithinRepo and path.relative for accurate file/argument resolution.
- Trim returned git commit hash.
- Improve debug messages for branch creation/checkout, user.name setting, adding remotes, and pushing branches.
- Encode credentials when constructing remote URL for push and use cwd for git operations.
2025-10-28 16:50:30 +00:00
Nawaz Dhandala
ad9adca473 docs(devpromps): add SecurityFix.md prompt to locate and fix security vulnerabilities 2025-10-28 16:04:47 +00:00
Nawaz Dhandala
819bd54a1f refactor(worker,server): remove unused import, add missing LIMIT_PER_PROJECT import, and normalize object literal formatting 2025-10-28 15:00:24 +00:00
Nawaz Dhandala
e212079b4a refactor(database,worker): remove batchSize option and default to LIMIT_MAX
- Remove batchSize field from FindAllBy type.
- Update DatabaseService.findAllBy to stop reading/validating batchSize and use LIMIT_MAX as the batch size.
- Remove per-job batch size constants and batchSize parameters from multiple worker cron jobs (AlertOwners, Incident*, ScheduledMaintenance*, StatusPage*, Announcement, OnCall, Workflow, UserOnCallLog, ServerMonitor, PaymentProvider, etc.).
- Simplify call sites to rely on findAllBy's default batching behavior.
2025-10-28 14:56:38 +00:00
Nawaz Dhandala
bb09dafbcc refactor(database,worker): add paginated findAllBy and migrate jobs to batch fetching
- Add FindAllBy type and implement DatabaseService.findAllBy with batchSize/limit/skip support.
- Add normalizePositiveNumber helper used by findAllBy.
- Add ProjectService.getAllActiveProjects convenience wrapper that uses findAllBy.
- Replace many worker cron jobs' findBy calls with findAllBy, introduce per-job batch size constants, remove LIMIT_MAX imports, and pass batchSize/skip instead of one large limit.
- Convert long-running deletes/hard-deletes to paginated loops (repeat until no more records deleted).
- Adjust various query usages to use LIMIT_PER_PROJECT where appropriate as batchSize.
2025-10-28 14:32:45 +00:00
Nawaz Dhandala
60c472cc09 refactor(monitor-resource): replace Metric/MonitorLog models with JSON rows and add builders
Introduce buildMonitorMetricAttributes and buildMonitorMetricRow helpers to centralize attribute/timestamp logic. Replace creation of Metric and MonitorLog model instances with JSON row construction and use MetricService.insertJsonRows / MonitorLogService.insertJsonRows. Remove setAttributeKeys/Metric import usage and simplify metric aggregation code paths.
2025-10-28 12:33:12 +00:00
Nawaz Dhandala
0e272f0f31 refactor(fluent-ingest): replace Log model with JSON rows and add batching
- Remove dependency on Log model; build log JSON rows inline (IDs, ISO timestamps, unix nano)
- Buffer logs and flush in batches using new flushLogBuffer helper and LogService.insertJsonRows
- Add FLUENT_INGEST_LOG_FLUSH_BATCH_SIZE constant and simplify processing loop
2025-10-28 12:20:43 +00:00
Nawaz Dhandala
f5de74611d refactor(code-repository): centralize git execution with runGitCommand and improve clone folder detection
Replace ad-hoc shell command construction/Execute.executeCommand calls with a new runGitCommand wrapper that uses Execute.executeCommandFile. Update various methods (getCurrentCommitHash, addAllChangedFilesToGit, setAuthorIdentity, discardAllChangesOnCurrentBranch, pullChanges, createOrCheckoutBranch, discardChanges, etc.) to use the helper. Also improve cloneRepository to derive the cloned folder name from the repo URL and throw a clear error if it can't be determined.
2025-10-28 12:14:00 +00:00
Nawaz Dhandala
03d157b850 refactor(identity,code-repository): allow SCIM group updates by removing isTeamEditable guard; type readDirectory entries as fs.Dirent 2025-10-27 20:50:27 +00:00
Nawaz Dhandala
da21cfc1ff refactor(code-repository,local-file): normalize arrow return style and reformat sanitizeFilePath/readDirectory signatures 2025-10-27 17:53:18 +00:00
Nawaz Dhandala
2781bf0583 refactor(execute,code-repository): add executeCommandFile (execFile wrapper) and use it in commitChanges 2025-10-27 17:52:00 +00:00
Nawaz Dhandala
69b16c1c85 refactor(code-repository): use LocalFile.read for getFileContent and add resolvePathWithinRepo to sanitize/validate paths 2025-10-27 17:47:49 +00:00
Nawaz Dhandala
727f009d79 refactor(code-repository): replace shell ls/file usage with LocalFile.readDirectory and Dirent checks; add readDirectory helper 2025-10-27 17:44:00 +00:00
Nawaz Dhandala
65d916f349 refactor(code-repository): replace shell rm -rf with LocalFile.deleteDirectory and add LocalFile.deleteDirectory helper 2025-10-27 17:40:02 +00:00
Nawaz Dhandala
4373c7b49c refactor(telemetry): collapse multi-line if into single-line in TelemetryUsageBillingService 2025-10-27 16:29:41 +00:00
Nawaz Dhandala
34737fbba4 feat(telemetry): account for Exceptions in usage billing and add avg exception row size
- Update TelemetryUsageBilling description to include Exceptions.
- Add AverageExceptionRowSizeInBytes env/config (env example, docker-compose, Helm values & schema).
- Use ExceptionInstanceService in TelemetryUsageBillingService to include exception row counts when estimating bytes for Traces.
- Add helper to read average exception row size and adjust billing calculations.
2025-10-27 16:26:46 +00:00
Nawaz Dhandala
90fcfd1c7e Merge remote-tracking branch 'origin/snyk-upgrade-89594c7cd11449f44c7d156474899af6' 2025-10-27 15:49:24 +00:00
Simon Larsen
b55320f02c Merge pull request #2059 from OneUptime/otel-writer
Efficient Otel Writer
2025-10-27 15:45:51 +00:00
Nawaz Dhandala
34dc078197 fix(analytics): set wait_for_async_insert=0 for ClickHouse async inserts and tidy formatting 2025-10-27 15:45:20 +00:00
Nawaz Dhandala
2eacc90714 refactor(opentelemetry): format timestamps as ClickHouse UTC datetimes
- add OneUptimeDate.toClickhouseDateTime to produce UTC "YYYY-MM-DD HH:mm:ss"
- use ClickHouse-formatted timestamps for createdAt/updatedAt and time fields in OtelLogsIngestService, OtelMetricsIngestService and OtelTracesIngestService
- extend metric timestamp parsing to include db/date (and propagate db for DB storage)
- switch intermediate handling to Date objects to avoid extra ISO-string conversions
2025-10-27 15:41:13 +00:00
Nawaz Dhandala
9d93d59f91 fix(analytics): set wait_for_async_insert=1 and log ClickHouse insert result 2025-10-27 15:19:58 +00:00
Nawaz Dhandala
d84039e621 refactor(analytics): make ClickHouse client nullable and centralize retrieval
Change databaseClient to ClickhouseClient | null and add getDatabaseClient() to
lazily refresh/validate the client. Update insert/execute/executeQuery and
useDefaultDatabase to use the centralized getter and remove unsafe casts and
duplicated null checks.
2025-10-27 15:13:10 +00:00
Nawaz Dhandala
4eb46cf8a0 docs(clickhouse): add SQL to calculate average uncompressed row size per table and close code fence 2025-10-27 13:46:24 +00:00
Nawaz Dhandala
1ef27b7f52 fix(settings): clarify usage history no-items message to mention end-of-day data availability 2025-10-27 13:22:28 +00:00
Nawaz Dhandala
412bd370df refactor(telemetry): add explicit types for attribute value variables in TelemetryUtil 2025-10-27 13:20:33 +00:00
Nawaz Dhandala
1131b80a52 style(otel-ingest): normalize .catch callback formatting in span exception handling 2025-10-27 13:16:16 +00:00
Nawaz Dhandala
8b55f5c348 refactor(otel-ingest): decouple exception handling from analytics model
- Remove direct usage of ExceptionInstance model in OtelTracesIngestService.
- Build and push exceptions as ExceptionEventPayload objects, compute fingerprint from payload.
- Update buildExceptionRow to accept ExceptionEventPayload and map fields accordingly.
- Change ExceptionUtil API: introduce ExceptionFingerprintInput and TelemetryExceptionPayload types; update getFingerprint and saveOrUpdateTelemetryException signatures.
2025-10-27 13:14:07 +00:00
Nawaz Dhandala
159e5c4023 refactor(otel-ingest): switch telemetry ingestion to ClickHouse bulk writer
Replace model-based createMany calls with ClickhouseBulkWriter.insert for logs, metrics, spans and exceptions. Build plain JSON rows (with createdAt/updatedAt, timestamps, attributes, attributeKeys, trace/span ids, severity, etc.) and change buffers to JSONObject arrays. Add helper builders and utilities (buildMetricRow, buildSpanRow, buildExceptionRow, safeParseUnixNano, toNumberOrNull, toBoolean, convertBase64ToHexSafe, calculateDurationNano) to improve timestamp/attribute parsing and robustness. Add new ClickhouseBulkWriter utility.
2025-10-27 13:05:49 +00:00
Nawaz Dhandala
4970538d43 docs: correct example pagination request method to POST 2025-10-27 12:39:22 +00:00
Nawaz Dhandala
d7ca021d52 refactor: improve TelemetryUtil attribute parsing, typing and null handling 2025-10-27 12:17:31 +00:00
Simon Larsen
27eff7f415 Merge pull request #2057 from OneUptime/snyk-upgrade-ef9e383973f8732d2d959dd964599c61
[Snyk] Upgrade axios from 1.12.0 to 1.12.2
2025-10-27 10:32:46 +00:00
Simon Larsen
50543ec7bf Merge pull request #2058 from OneUptime/snyk-upgrade-7e0a372e41cd67fc4ed46876443edaa8
[Snyk] Upgrade react-router-dom from 6.23.1 to 6.30.1
2025-10-27 10:32:39 +00:00
snyk-bot
94c39408ed 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/11bb5528-45f9-473c-a635-dc097fd03b3c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-27 09:53:27 +00:00
snyk-bot
7219e1850f fix: upgrade axios from 1.12.0 to 1.12.2
Snyk has created this PR to upgrade axios from 1.12.0 to 1.12.2.

See this package in npm:
axios

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-27 09:51:39 +00:00
Simon Larsen
3180ed7149 Merge pull request #2055 from OneUptime/snyk-upgrade-9e6de76051d1dee73345ae37a0e51d09
[Snyk] Upgrade react-router-dom from 6.23.1 to 6.30.1
2025-10-26 17:24:46 +00:00
Simon Larsen
79f32b80c8 Merge pull request #2054 from OneUptime/snyk-upgrade-bad1e870c8252b45aa78fe78e19570b0
[Snyk] Upgrade globals from 15.6.0 to 15.15.0
2025-10-26 17:24:27 +00:00
Simon Larsen
cebfde6bf2 Merge pull request #2052 from OneUptime/snyk-upgrade-7a970ceafec3776b6998e6c88441b566
[Snyk] Upgrade typeorm from 0.3.20 to 0.3.27
2025-10-26 17:24:05 +00:00
Simon Larsen
ca644d9dc7 Merge pull request #2051 from OneUptime/snyk-upgrade-6a98a9360c422231b9e06b3e3624ea4f
[Snyk] Upgrade @readme/openapi-parser from 4.1.0 to 4.1.2
2025-10-26 17:23:59 +00:00
snyk-bot
ca4d9cb176 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/8ca4ee75-8bc5-43a1-a3bc-244ceebf1437?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-26 10:52:13 +00:00
snyk-bot
56204e02a9 fix: upgrade globals from 15.6.0 to 15.15.0
Snyk has created this PR to upgrade globals from 15.6.0 to 15.15.0.

See this package in npm:
globals

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-25 11:38:53 +00:00
snyk-bot
c8e8a6d687 fix: upgrade jest from 30.0.0 to 30.2.0
Snyk has created this PR to upgrade jest from 30.0.0 to 30.2.0.

See this package in npm:
jest

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-25 11:38:49 +00:00
snyk-bot
5bd2204eee fix: upgrade typeorm from 0.3.20 to 0.3.27
Snyk has created this PR to upgrade typeorm from 0.3.20 to 0.3.27.

See this package in npm:
typeorm

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-25 11:38:44 +00:00
snyk-bot
72a31ed268 fix: upgrade @readme/openapi-parser from 4.1.0 to 4.1.2
Snyk has created this PR to upgrade @readme/openapi-parser from 4.1.0 to 4.1.2.

See this package in npm:
@readme/openapi-parser

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f8557d79-3b3d-4201-8e2b-598120aedb5c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-25 11:34:15 +00:00
Nawaz Dhandala
ee188dd050 chore(values.schema): add noProxy option to proxy configuration 2025-10-24 17:48:29 +01:00
Nawaz Dhandala
3807aad63b Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-24 17:40:33 +01:00
Nawaz Dhandala
055ec956fd build(esbuild-config): add refractor compatibility plugin to resolve refractor imports
Add createRefractorCompatibilityPlugin that maps imports from refractor/lib and refractor/lang
to the local refractor package (searching candidate node_modules paths), and include it in the
plugins list so esbuild can correctly resolve refractor modules.
2025-10-24 17:40:31 +01:00
Simon Larsen
e7767e59d1 Merge pull request #2048 from OneUptime/probe-no-prpoxy
Probe no prpoxy
2025-10-24 17:24:47 +01:00
Nawaz Dhandala
f643e907b4 refactor(proxy-config): normalize & resolve ports for NO_PROXY matching; add protocol resolution helpers 2025-10-24 17:24:22 +01:00
Nawaz Dhandala
2eec57befd refactor(proxy-config): robust hostname/port extraction, normalize ports, and tidy formatting
- Improve extractHostnameAndPort and splitHostAndPort to handle IPv6 brackets, single-colon ports, and trimmed port values; return explicit result objects.
- Normalize host/port parsing logic and ensure port values are trimmed before use.
- Consolidate import formatting and split long method signatures for readability.
- Minor formatting/whitespace cleanups in Probe Config, Alive, Register, Monitor, and NO_PROXY parsing.
2025-10-24 15:12:12 +01:00
Nawaz Dhandala
dd653f8deb feat(proxy): add NO_PROXY support and per-request proxy bypass based on target URL
- import NO_PROXY and log its entries during configuration
- allow callers to pass a target URL to getHttpProxyAgent/getHttpsProxyAgent/getRequestProxyAgents
- implement shouldBypassProxy with URL/host:port extraction and pattern matching (including wildcard, subdomains, IPv6, and scheme/port-aware patterns)
- return no agents when a target matches NO_PROXY or when proxy is not configured
2025-10-24 15:04:05 +01:00
Nawaz Dhandala
f403c6a9e9 feat(proxy): add NO_PROXY support and use request URL for proxy agent selection
- Parse NO_PROXY / no_proxy in Probe Config into a trimmed list
- Wire NO_PROXY into UI docs, Helm chart values, and probe Docker/compose examples
- Add NO_PROXY env var to Helm probe template when provided
- Pass target URL to ProxyConfig.getRequestProxyAgents / getHttpProxyAgent / getHttpsProxyAgent so proxy selection is per-request
- Update probe calls (Alive, Metrics, FetchList, FetchMonitorTest, Register, Monitor ingest/reporting, Api/Website/Ssl monitors) to use local URL variables and supply them to proxy helpers
- Minor refactors to avoid inline URL construction where reused
2025-10-24 15:02:36 +01:00
Nawaz Dhandala
35f9b7f5c4 refactor(log-item): move collapse toggle to header container and remove redundant handler 2025-10-24 13:16:11 +01:00
Nawaz Dhandala
3c487ff9b9 refactor(log-item): use monospaced font for collapsed row and message previews; make header toggleable 2025-10-24 13:11:37 +01:00
Nawaz Dhandala
41fca346b9 refactor(table-row): extract columnContent and consolidate column rendering
- Move per-column value/element logic into a single columnContent variable
- Add contentWrapperClassName and actionsContainerClassName to unify wrappers
- Remove duplicated JSX branches for desktop row cells and simplify action rendering
2025-10-24 13:00:24 +01:00
Nawaz Dhandala
91b54ced67 refactor(exceptions): normalize icon sizes in TelemetryExceptionElement by adding min-h-6 and min-w-6 to icon wrappers 2025-10-24 12:59:49 +01:00
Nawaz Dhandala
ebdd97b8e9 refactor(exceptions): normalize icon sizes and simplify className usage in TelemetryExceptionElement
- Remove redundant h-6 w-6 classes from Icon elements and rely on wrapper sizing.
- Simplify container className interpolation (remove fallback empty string).
2025-10-24 12:56:13 +01:00
Nawaz Dhandala
8eb1eac629 refactor(table-row): inline column content rendering and remove temporary wrapper variables 2025-10-24 12:53:15 +01:00
Nawaz Dhandala
a075b3c4dd refactor(table-row, exceptions): dedupe column rendering, wrap content, and normalize icon sizes
- Extract columnContent and content/action wrapper class names in TableRow to remove duplicated conditional rendering and wrap cell content with the configured className.
- Replace inline action container with actionsContainerClassName for consistent alignment.
- Add explicit h-6 w-6 classes to exception icons for consistent sizing.
2025-10-24 12:50:59 +01:00
Nawaz Dhandala
738f901a51 refactor(vm-runner, logs-viewer, server-monitor, embedded-status): simplify script generation, add explicit typings, and tidy UI text 2025-10-24 12:18:25 +01:00
Nawaz Dhandala
683a8f5a58 chore(eslint): enable no-constant-binary-expression rule (set to error) 2025-10-24 12:11:30 +01:00
Nawaz Dhandala
160eba1ea4 refactor(exceptions): expose className prop on TelemetryExceptionElement and pass max-w-3xl from ExceptionsTable 2025-10-24 12:09:49 +01:00
Nawaz Dhandala
89b65d1e02 style(logs-viewer): inline ternary expressions in Icon className strings 2025-10-24 12:06:38 +01:00
Nawaz Dhandala
caf709a38a chore(probe): bump Node base image to public.ecr.aws/docker/library/node:24.9 (from 23.8) 2025-10-24 12:01:50 +01:00
Simon Larsen
d57433e4a0 Merge pull request #2045 from OneUptime/telemetry-billing
Telemetry billing
2025-10-24 11:08:18 +01:00
Simon Larsen
5e2aa4e622 Merge pull request #2044 from OneUptime/log-fix
feat(logs-viewer): add toggleable log ordering and update scroll-to-l…
2025-10-24 10:13:40 +01:00
Nawaz Dhandala
6cb51dd54b refactor(logs-viewer): replace sort toggle with segmented "Newest first"/"Oldest first" buttons and extract applySortDirection
Extract applySortDirection to centralize sort toggle + scroll alignment logic and replace the single ArrowUpDown button with two styled buttons (BarsArrowDown / BarsArrowUp) to improve UX and clarity.
2025-10-24 10:11:45 +01:00
Nawaz Dhandala
53ea843bdc Merge branch 'master' into log-fix 2025-10-24 09:52:13 +01:00
Nawaz Dhandala
71eeaf7ecd chore(dashboard): add archiver/@simplewebauthn/server and bump several deps
- add @simplewebauthn/server, archiver, @types/archiver, botbuilder
- bump nodemailer -> ^7.0.7, playwright -> ^1.55.1, react-syntax-highlighter -> ^16.0.0
2025-10-24 09:51:54 +01:00
Simon Larsen
1d0168fcc6 Merge pull request #2043 from OneUptime/embedded-sttaus
Embedded sttaus
2025-10-24 09:49:47 +01:00
Nawaz Dhandala
99c3d440c5 refactor(status-page): remove inline token exposure warning from Embedded Status Badge card 2025-10-24 09:39:12 +01:00
Nawaz Dhandala
5959ce728f refactor(status-page): wrap Embedded Status CardModelDetail in container and tidy props
Wrap the CardModelDetail for the embedded status badge in a surrounding <div> to group it with the other cards, and reorganize/tidy card/form properties (move description to cardProps, clean up formField ordering and types). Also minor JSX/formatting cleanup.
2025-10-24 09:38:47 +01:00
Nawaz Dhandala
0cb9e382a6 refactor(status-page): use provisioned domain for badge docs, replace Alert with inline warning, and tidy embedded badge UI
- Fetch latest SSL-provisioned StatusPageDomain and build a status page URL to use in the badge documentation/markdown embeds (falls back to STATUS_PAGE_URL).
- Add state for statusPageUrl and effect to resolve domain via ModelAPI (Query/Sort).
- Replace Alert component with inline informational paragraph and a highlighted yellow warning box.
- Minor cleanup: remove an obsolete comment, adjust Card layout/spacing and documentation markdown link.
2025-10-24 09:37:04 +01:00
Nawaz Dhandala
0c6d561b7c refactor(status-page): remove redundant "Badge Usage" header and drop h-full from token/preview cards
Remove the "## Badge Usage" heading from the documentation markdown and remove the
className="h-full" from the Security Token and Badge Preview Card components to
simplify and stabilize the embedded badge layout.
2025-10-24 09:21:05 +01:00
Nawaz Dhandala
4291a76dd4 refactor(exceptions/status-page): improve exception message wrapping and simplify embedded badge layout
- Add contentClassName to the "Exception Message" column to constrain width and allow proper wrapping.
- Remove the surrounding grid wrapper and the lg:col-span-2 on the Badge Documentation card to simplify the embedded badge layout.
2025-10-24 09:14:53 +01:00
Nawaz Dhandala
05b1f0ea82 refactor(status-page): use Alert component for token regeneration warning in embedded badge card 2025-10-24 09:12:41 +01:00
Nawaz Dhandala
b943505b1d refactor(status-page): include embeddedOverallStatusToken in modelDetailProps 2025-10-24 09:08:31 +01:00
Simon Larsen
1ed236eb91 Merge pull request #2046 from OneUptime/snyk-upgrade-6c5f58f1b138b8c82cfd6bdcdf7dbcce
[Snyk] Upgrade react-router-dom from 6.23.1 to 6.30.1
2025-10-24 09:02:22 +01: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
Simon Larsen
50267534e0 Merge pull request #2003 from OneUptime/snyk-fix-2b1cd110cd50d4d7d2d3aab8e21c4982
[Snyk] Security upgrade axios from 1.7.2 to 1.12.0
2025-10-23 21:24:39 +01:00
Simon Larsen
f60836a4dc Merge pull request #2027 from OneUptime/snyk-fix-12d4523821beb1a61df8fdd2378e8e5f
[Snyk] Security upgrade nodemailer from 6.9.16 to 7.0.7
2025-10-23 21:24:33 +01:00
Simon Larsen
303294bb5e Merge pull request #2038 from OneUptime/snyk-fix-bb0bdd9905b96cdaeceb0ee81316a34f
[Snyk] Security upgrade playwright from 1.50.0 to 1.55.1
2025-10-23 21:21:36 +01:00
Simon Larsen
1212a8e4be Merge pull request #2031 from OneUptime/snyk-fix-e2f14fffff98beb03eb482adc84b328d
[Snyk] Security upgrade nginx from 1.28.0-alpine to 1.29.2-alpine
2025-10-23 21:21:29 +01:00
Simon Larsen
25c626d2d4 Merge pull request #2030 from OneUptime/snyk-fix-311183f6327ea1b45e86908c4fe82d3a
[Snyk] Security upgrade mailparser from 3.7.1 to 3.7.5
2025-10-23 21:21:20 +01:00
Simon Larsen
ff6f9c89fa Merge pull request #2040 from OneUptime/snyk-fix-66c920d77215ccde82d8cbc57644a387
[Snyk] Fix for 2 vulnerabilities
2025-10-23 21:20:49 +01:00
Nawaz Dhandala
7f6e905c74 refactor(markdown-viewer): reduce padding for pre and syntax highlighter code blocks 2025-10-23 21:04:33 +01:00
Nawaz Dhandala
2cc64838aa refactor(status-page): keep token in state after regeneration, move regen button to card header, and tweak layout/preview styles
- Remove unused default Button import
- Replace window.location.reload() with setToken(newToken) so UI updates without a full page reload
- Move "Regenerate Token" into Card.buttons with loading/disabled states
- Rework card layout into responsive grid, add bodyClassName, and adjust preview styling (dashed container, max height for badge)
2025-10-23 20:49:07 +01:00
Nawaz Dhandala
3de5c8da8c refactor(status-page): consolidate token rotation UI, use useMemo for modelId, fix side menu icon
- Wrap modelId retrieval in useMemo for stable value
- Move "Regenerate Token" button and helper text into the Security Token card and remove the separate "Token Rotation" card
- Update SideMenu icon for "HTML, CSS & JavaScript" to IconProp.Circle
2025-10-23 20:41:53 +01:00
Nawaz Dhandala
7403ffa053 refactor(status-page): simplify embedded badge state and docs UI
- Remove statusPage state and store embeddedOverallStatusToken and enableEmbeddedOverallStatus
  in separate token and isEmbeddedStatusEnabled states.
- Set token and enabled flag directly in onItemLoaded.
- Simplify "Badge Documentation" card to render MarkdownViewer only (remove raw source/preview split)
- Tweak card description copy.
2025-10-23 20:37:03 +01:00
Nawaz Dhandala
fa473474a2 feat(status-page): improve embedded badge UI, use secure token generation, add preview & docs
- Replace non-cryptographic token generation with ObjectID.generate()
- Add statusPage state, token/isEnabled checks and computed badge URLs
- Split UI into Security Token, Token Rotation, Badge Preview and Badge Documentation cards
- Use HiddenText for copyable token and MarkdownViewer for rendered docs
- Wire CardModelDetail onItemLoaded to populate statusPage for live preview
2025-10-23 20:33:45 +01:00
Nawaz Dhandala
20cbcf9a74 refactor(status-page): remove ModelPage wrapper and routing/side menu from EmbeddedStatus
- Return Fragment directly instead of wrapping with ModelPage
- Remove breadcrumb links and sideMenu usage
- Remove unused imports: PageMap, RouteMap, RouteUtil, Route, SideMenu, ModelPage
2025-10-23 20:12:17 +01:00
Nawaz Dhandala
e6fd4b8304 refactor(types): add explicit typings for env parser and telemetry billing
Add a full function signature for parsePositiveNumberFromEnv and strengthen typing in TelemetryUsageBillingService: import TelemetryServiceModel, type telemetryServices as Array<TelemetryServiceModel>, and annotate count results as PositiveNumber for traces, logs and metrics to improve type-safety and readability.
2025-10-23 20:02:57 +01:00
Nawaz Dhandala
4a3a743dcd chore(format): normalize multiline argument formatting in EnvironmentConfig and TelemetryUsageBillingService 2025-10-23 19:53:09 +01:00
Nawaz Dhandala
6f1e2234d3 feat(telemetry): stage daily usage and centralize telemetry billing
- Add stageTelemetryUsageForProject to TelemetryUsageBillingService:
  count traces/logs/metrics per telemetry service via AnalyticsQueryHelper,
  estimate bytes using average row size env vars, convert to GB and create/update
  daily usage records (uses day + usageDate for deduplication).
- Update updateUsageBilling to accept usageDate, set createdAt to usageDate and
  query by day instead of createdAt ranges.
- Add helper getAverageRowSizeForProduct and import LIMIT_INFINITY,
  DEFAULT_RETENTION_IN_DAYS, TelemetryServiceService, Span/Log/Metric services,
  DiskSize, AnalyticsQueryHelper and logger.
- Call stageTelemetryUsageForProject from TelemetryMeteredPlan before reporting
  to the billing provider.
- Remove direct billing invocation from FluentIngest worker to decouple ingestion
  from billing staging.
2025-10-23 19:51:11 +01:00
Nawaz Dhandala
07189b4567 feat(env): add average telemetry row size settings and expose as env vars
- add billing.telemetry.{averageSpanRowSizeInBytes, averageLogRowSizeInBytes, averageMetricRowSizeInBytes} to values.yaml with defaults
- add schema validation for these fields in values.schema.json (integer, minimum 1)
- expose AVERAGE_SPAN_ROW_SIZE_IN_BYTES, AVERAGE_LOG_ROW_SIZE_IN_BYTES, AVERAGE_METRIC_ROW_SIZE_IN_BYTES in templates/_helpers.tpl
2025-10-23 19:49:59 +01:00
Nawaz Dhandala
b1bc02cec4 feat(env): add average telemetry row size env vars with validation
- introduce parsePositiveNumberFromEnv helper in EnvironmentConfig.ts
- add AverageSpan/Log/MetricRowSizeInBytes exports with positive-number parsing and defaults
- document AVERAGE_* vars in config.example.env and expose them in docker-compose.base.yml
2025-10-23 19:49:24 +01:00
Simon Larsen
6f7795aa31 feat(logs-viewer): add toggleable log ordering and update scroll-to-latest behavior
- add isDescending state and useMemo displayLogs to reverse logs when needed
- rename showScrollToBottom -> showScrollToLatest and replace scrollToBottom with scrollToLatest
- convert handleScroll to useCallback and make it order-aware (top vs bottom)
- update scroll button icon/title and ensure scroll position recalculates after toggling order
- render and count displayLogs (use reversed list) and update empty state checks
- minor comment update in Dashboard LogsViewer
2025-10-23 19:24:02 +01:00
Nawaz Dhandala
50ee87c86f chore(mobile): remove MobileApp configuration files
Remove obsolete MobileApp project configuration and dependency files to clean up the repository:
- MobileApp/package.json
- MobileApp/tailwind.config.js
- MobileApp/tsconfig.json

These files contained Expo / React Native specific settings (dependencies, Nativewind/Tailwind config, and TS config) for a mobile app that is no longer maintained in this repo. Removing them reduces clutter and prevents confusion about supported platforms.
2025-10-23 17:21:20 +01:00
Simon Larsen
a75c6b6a43 feat(status-page): add Embedded Status page with token regeneration and wire up route/menu; remove legacy Embedded component 2025-10-23 16:53:58 +01:00
Simon Larsen
f6168c969e feat(status-page): add embedded status badge UI and token regeneration
- Add advanced options UI for embedded overall status badge: enable toggle, security token display, badge preview, and HTML/Markdown embed examples.
- Implement regenerate token flow with confirmation modal and regenerateToken function that creates a new token and updates the StatusPage via ModelAPI.
- Add local state hooks for modal/loading and construct badge URL with token placeholder.
- Rename/export component from StatusPageDelete to StatusPageAdvancedOptions.
2025-10-23 16:26:45 +01:00
Simon Larsen
2b0f9f2e7a feat(status-page): add embedded overall status badge toggle and token with migration
- Add enableEmbeddedOverallStatus boolean column and embeddedOverallStatusToken (with index) to StatusPage model
- Include billing and column access controls for new fields
- Add corresponding TypeORM migration and register it in migrations index
2025-10-23 16:20:18 +01:00
Nawaz Dhandala
14377c68fe Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2025-10-23 15:45:59 +01:00
Nawaz Dhandala
9176fa2c9b style(forms): add className override to FieldLabel and apply to Dictionary labels 2025-10-23 15:44:26 +01:00
Nawaz Dhandala
4f29fef5f6 feat(model-filter): add isAdvancedFilter and propagate to table
Add isAdvancedFilter to Filter interface, pass it into the ClassicFilter mapping
in BaseModelTable, and include props.filters in the showFilterModal effect deps
so filters refresh when changed. Mark the TraceTable "Attributes" filter as an
advanced filter.
2025-10-23 13:46:06 +01:00
Simon Larsen
f28c7695ab Merge pull request #2041 from OneUptime/master
Release
2025-10-22 18:16:10 +01:00
Nawaz Dhandala
bc234deb0e style(analytics): simplify empty projections to [] in Log/Metric/Span and remove stray blank line in TableManegement 2025-10-22 18:08:18 +01:00
Nawaz Dhandala
546b4a4fb3 refactor(analytics): expose AnalyticsTableManagement helpers and remove projection/materialized view creation from createTables
- Make utility methods public: doesProjectionExist, materializeProjection, escapeForQuery, escapeIdentifier, doesMaterializedViewExist, createMaterializedView
- Remove inline projection and materialized view creation logic from createTables (createTables now only ensures tables exist)
- Remove unused Projection import
2025-10-22 18:07:45 +01:00
Nawaz Dhandala
1300c4e667 feat(analytics): add materialized view support to analytics models and table management
- add MaterializedView type
- wire materializedViews into AnalyticsBaseModel (constructor param, property, getter/setter)
- implement materialized view processing in AnalyticsTableManagement (validation, existence check, creation)
2025-10-22 18:04:51 +01:00
Nawaz Dhandala
988d5d327c style(analytics): remove attribute projection definitions from Log, Metric and Span models 2025-10-22 17:52:44 +01:00
Nawaz Dhandala
f2510a7b89 style(exceptions): format message div across multiple lines for improved readability 2025-10-22 15:05:54 +01:00
Nawaz Dhandala
a2f16ca0eb style(exceptions): remove container truncate and add break-words to message text to allow long words to wrap 2025-10-22 15:04:44 +01:00
Nawaz Dhandala
1448288395 style(autocompleteTextInput,dictionary): normalize type annotations and tidy JSX formatting 2025-10-22 14:58:24 +01:00
Nawaz Dhandala
734481df6c style(dictionary): replace equals Icon with '=' text, adjust item row spacing/alignment, and remove unused Icon import 2025-10-22 14:57:00 +01:00
Nawaz Dhandala
43c534b76a feat(dictionary): add FieldLabelElement labels for Key, Type and Value fields 2025-10-22 14:44:31 +01:00
Nawaz Dhandala
1b593403b6 refactor(dictionary): remove autoConvertValueTypes and implicit conversions
- Remove NumberUtil/BooleanUtil and the autoConvertValueTypes prop from Dictionary
- Stop automatic string->number/boolean coercion; preserve original values (normalize undefined/null to "")
- Use getDefaultValueForType when adding or changing a value's type
- Update JSONFilter and FormField to import ValueType and pass explicit valueTypes
2025-10-22 14:40:59 +01:00
Nawaz Dhandala
54e60cc380 feat(dictionary): replace key input/dropdown with AutocompleteTextInput and add component 2025-10-22 14:24:49 +01:00
Nawaz Dhandala
28d9879dbd style(logs,traces): add explicit typings and clean up callback formatting
- LogItem: annotate onClick/onAuxClick handlers with React.MouseEvent<HTMLDivElement>
- LogsViewer: add OptionalTraceRouteProps/OptionalSpanRouteProps types and type annotate trace/span route props passed to LogItem
- TraceExplorer: introduce/clarify function type aliases (PromiseVoidFunction, FetchSpansFunction) and annotate callbacks (fetchTelemetryServices, fetchSpans, fetchItems, handleShowNextSpans, handleShowAllSpans); reflow long JSX for readability
2025-10-22 14:08:18 +01:00
Nawaz Dhandala
22c417ac92 feat(traces): show compact loading pill for span load actions in TraceExplorer
Replace disabled "Show next" / "Show all" buttons with a single inline loading indicator while additional spans are being fetched, and restore the action buttons when not loading to improve loading UX and reduce visual clutter.
2025-10-22 13:39:42 +01:00
Nawaz Dhandala
401926c792 feat(traces): add paginated/batched span loading and load-more controls in TraceExplorer
Introduce INITIAL_SPAN_FETCH_SIZE, SPAN_PAGE_SIZE and MAX_SPAN_FETCH_BATCH and refactor span loading to support pagination and batching. Change fetchSpans to accept {limit, skip, mode} and return fetched count (replace | append). Remove spanLimitRef and add handleShowNextSpans / handleShowAllSpans to incrementally load spans (with batch loop for "show all"). Update UI to show a descriptive banner with "Show next" and "Show all remaining" buttons and improve loading/error state handling and metrics messaging.
2025-10-22 13:35:35 +01:00
Nawaz Dhandala
90bc4de84a feat(traces): incremental span loading and improved loading/error UX in TraceExplorer
- split telemetry & span fetching (fetchTelemetryServices, fetchSpans(limit, options))
- add totalSpanCount, spanLimitRef and isLoadingMoreSpans to support partial loading
- add handleShowAllSpans and UI banners/buttons to "Show N more spans" and indicate "Showing all N spans"
- show PageLoader only for initial empty-load; surface non-blocking errors inline when spans exist and keep blocking error when no spans
- show loaded/total counts in Spans metric
- reset span-related state (limit, spans, selection, total) when traceId changes
2025-10-22 13:17:16 +01:00
Nawaz Dhandala
93fd2a9ed7 style(date,gantt): reflow multiline returns in OneUptimeDate and format Row isHighlighted prop for readability 2025-10-22 12:27:31 +01:00
Nawaz Dhandala
231451e359 feat(date,span): add humanized duration formatter and use it in SpanUtil 2025-10-22 12:26:22 +01:00
snyk-bot
3073891a38 fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PLAYWRIGHTCORE-13553173
- https://snyk.io/vuln/SNYK-JS-PRISMJS-9055448
2025-10-22 11:16:45 +00:00
Nawaz Dhandala
2b62d31e8b fix(blog): set default pageSize to 25 for blog and tag listing endpoints 2025-10-22 12:04:21 +01:00
Nawaz Dhandala
bc43e6e6ea feat(traces): make card title/description reflect active tab (All / Root Spans) 2025-10-22 11:44:53 +01:00
Nawaz Dhandala
2204ebde26 feat(traces): add tabs for All/Root spans and apply root-span filtering in TraceTable 2025-10-22 11:41:35 +01:00
Nawaz Dhandala
57a8547e14 style(gantt): use conditional prop spreads and refine row/label highlight styling
- Replace direct optional prop passing with conditional spread for
  multiSelect and highlightBarIds in GanttChart Index, Rows and Row to
  avoid passing undefined values.
- Add labelPaddingLeft and adjust row layout: normalize borders, add
  transitions, spacing, overflow handling and subtle ring/shadow when
  highlighted.
- Pass isHighlighted into RowLabel and update RowLabel to apply
  highlighted title/description styles (font weight and colors).
- Normalize Bar isHighlighted check to a boolean expression for safety.
2025-10-22 11:30:35 +01:00
Nawaz Dhandala
53a70e1b93 feat(gantt,traces): add span highlighting support and propagate highlight state
- Add highlightBarIds prop to GanttChart and propagate through Rows -> RowIndex -> Row -> Bar
- Row: compute highlight set, detect highlighted descendants, auto-expand rows with highlights, and apply highlight styles (background, rounded container, data attribute)
- Bar: accept isHighlighted, apply highlight visuals (box-shadow, z-index) and adjust label styling
- Rows/RowIndex: include highlightBarIds in component interfaces and pass-through props
- TraceExplorer: accept highlightSpanIds, sanitize input, derive highlightableSpanIds from displayed spans, and include them in the generated GanttChartProps
- Trace view pages: extract spanId query param, normalize to highlightSpanIds, and pass to TraceExplorer

This enables highlighting specific spans (via spanId query) in the Gantt chart UI and ensures highlighted rows are visible and visually emphasized.
2025-10-22 11:22:32 +01:00
Nawaz Dhandala
3eb72ef7f9 style(telemetry,ingest,ui): normalize TelemetryUtil.getAttributeKeys call formatting and tidy LogItem JSX/whitespace 2025-10-22 11:03:26 +01:00
Nawaz Dhandala
2a471133c5 feat(logs): make span IDs clickable and refine trace link styling
- Add getSpanRoute prop to LogsViewer and LogItem and thread it through from callers.
- Implement renderSpanId to render clickable span links (resolves via getSpanRoute or by appending spanId to trace route).
- Show "No span" placeholder when spanId is missing.
- Prevent link clicks from toggling the log row (stopPropagation on span links).
- Tweak trace link decoration and external-link icon color for improved hover styling.
- Minor prop typing / pass-through cleanup in LogsViewer.
2025-10-22 11:02:07 +01:00
Nawaz Dhandala
34e92679b2 feat(logs): render trace IDs as clickable links with external-link icon and refined styling 2025-10-22 10:41:25 +01:00
Nawaz Dhandala
8b0c2a7320 feat(analytics): make trace IDs clickable in logs
Add an optional getTraceRoute prop to LogItem and LogsViewer and render traceId as a Link when a route is provided. Stop event propagation on link clicks to avoid toggling collapse. Wire getTraceRoute from Dashboard and Span viewers using RouteUtil.populateRouteParams.
2025-10-22 10:34:28 +01:00
Nawaz Dhandala
353d894394 feat(analytics): mark attributeKeys as required on Log, Metric and Span models 2025-10-21 22:22:48 +01:00
Nawaz Dhandala
09e4f0ff97 fix(analytics): cast metric.attributes when computing attributeKeys to satisfy TelemetryUtil signature 2025-10-21 22:10:46 +01:00
Nawaz Dhandala
247c4bc637 feat(analytics): populate attributeKeys on telemetry records and prefer attributeKeys column when querying
- Add TelemetryUtil.getAttributeKeys helper.
- Populate attributeKeys for Logs, Metrics, Spans, Alerts, Incidents and Monitor metrics during ingest/processing.
- Ensure FluentIngest initializes attributeKeys for raw logs.
- Update TelemetryAttributeService to use attributeKeys column when available and fall back to JSONExtractKeys(attrs).
- Improve attribute extraction SQL to filter empty/null attribute keys.
2025-10-21 22:05:48 +01:00
Nawaz Dhandala
72e2edd49d feat(analytics): add attributeKeys column to Log/Metric/Span, update projections and add migration 2025-10-21 22:04:49 +01:00
Nawaz Dhandala
1be494169d fix(analytics): rename ClickHouse projections to singular 'AttributeProjection' for Log, Metric and Span models 2025-10-21 21:05:52 +01:00
Nawaz Dhandala
3796053403 style(analytics): remove extra blank line in doesProjectionExist catch block 2025-10-21 21:04:17 +01:00
Nawaz Dhandala
f316bfb9fd feat(analytics): materialize projections after creation and add error handling
Call materializeProjection after creating a projection to ensure it is materialized.
Introduce materializeProjection to run ALTER TABLE ... MATERIALIZE PROJECTION and
add escapeIdentifier for safe identifier quoting. Wrap the projection-existence
query in try/catch with logging and rethrow on failure.
2025-10-21 21:03:10 +01:00
Nawaz Dhandala
40f9613bd3 chore(docker): bump clickhouse server image to 25.7 in docker-compose.base.yml 2025-10-21 20:49:33 +01:00
Nawaz Dhandala
a3bb9f003f style(analytics): add debug logging to projection processing in TableManegement.ts 2025-10-21 19:48:41 +01:00
Nawaz Dhandala
70714b2f21 feat(analytics): add ClickHouse projections for attributes to Log, Metric and Span models
Add projection definitions (ALTER TABLE ...) to Log, Metric and Span analytics models to extract distinct attribute keys per project (LogItemAttributesProjection, MetricItemAttributesProjection, SpanItemAttributesProjection).

style(telemetry): simplify empty query object in DeleteOldData.ts
2025-10-21 19:46:48 +01:00
Nawaz Dhandala
a62543bff0 feat(telemetry): iterate active projects and prune telemetry data per service
- Use ProjectService.getActiveProjectStatusQuery() to fetch active projects
- Query telemetry services per project and scope deletions by project.id
- Add try/catch blocks and logger calls for better error isolation and robustness
- Preserve default retention (15 days) and perform deletes for logs, spans, and metrics
2025-10-21 19:27:19 +01:00
Nawaz Dhandala
826a2006d0 style(telemetry): reformat retentionCutOff assignment in DeleteOldData.ts 2025-10-21 18:55:07 +01:00
Nawaz Dhandala
a4075fe349 feat(telemetry): compute single retention cutoff, prune by primary keys, and delete metrics
- compute retentionCutOff once per service instead of repeated calls
- use primary-key columns (time/startTime) for efficient pruning of logs and spans
- implement MetricService.deleteBy to remove old OpenTelemetry metrics
- minor import/order adjustments
2025-10-21 18:53:44 +01:00
Nawaz Dhandala
eb70a923f3 style(analytics): add explicit types for executeQuery result and json response in TableManegement.ts 2025-10-21 16:00:38 +01:00
Nawaz Dhandala
11d39898d3 style(analytics): normalize escaped variable formatting in TableManegement.ts 2025-10-21 15:54:45 +01:00
Nawaz Dhandala
8e5907d523 feat(analytics): check for existing projections before creating; add doesProjectionExist and escapeForQuery helpers and required imports 2025-10-21 15:51:07 +01:00
Nawaz Dhandala
c9e57fcb19 feat(analytics): add Projection type and use typed projections in models and table creation 2025-10-21 15:46:57 +01:00
Nawaz Dhandala
8c6bc331a4 style(analytics): normalize AnalyticsTableColumn constructor formatting
Reformat multi-line new AnalyticsTableColumn(...) expressions to a consistent style and tidy up minor inline description/spacing in ExceptionInstance, Log, Metric and Span models.
2025-10-21 14:56:01 +01:00
Nawaz Dhandala
20129e606a feat(analytics): add projections support to models and apply projection statements on table creation
- add projections param, backing field and accessors to AnalyticsBaseModel (defaults to [])
- update analytics models (ExceptionInstance, Log, Metric, MonitorLog, Span) to include projections: []
- execute each model.projections SQL statement in AnalyticsTableManagement when creating tables
2025-10-21 14:37:22 +01:00
Nawaz Dhandala
55e0eede68 refactor(analytics): extract AnalyticsTableColumn definitions into local variables
Move repeated new AnalyticsTableColumn(...) definitions into named constants and reuse them in tableColumns for Log, Metric, Span, MonitorLog and ExceptionInstance models. Reduces duplication and improves readability without changing behavior.
2025-10-21 14:18:57 +01:00
Nawaz Dhandala
ffa603503d fix: update image tag to use GitHub Container Registry for release builds 2025-10-21 11:19:04 +01:00
Nawaz Dhandala
18429caabe fix: refactor Microsoft Teams pagination logic to use configurable maximum pages 2025-10-20 15:31:18 +01:00
Simon Larsen
ccbfef1cfe Merge pull request #2039 from tollercode/fix/pagination-msteams-fetch-teams-list
fix: pagination msteams fetch teams list
2025-10-20 15:20:37 +01:00
Nils T
4789a15ce7 fix: make maximum pages for fetching teams configurable to prevent infinite loop 2025-10-20 12:47:13 +00:00
Nils T
9633307de0 fix: add pagination limit to prevent infinite loop when fetching teams from Microsoft Graph API 2025-10-20 12:43:24 +00:00
Nils T
ee5c2a0f33 fix: implement pagination for fetching all teams from Microsoft Graph API 2025-10-20 12:17:26 +00:00
snyk-bot
5c3b181507 fix: Probe/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PLAYWRIGHTCORE-13553173
2025-10-20 10:50:12 +00:00
Nawaz Dhandala
6bbf2f866c fix: update hard delete logic to retain items for 3 years instead of 120 days 2025-10-18 10:37:53 +01:00
Nawaz Dhandala
60e4b51ec9 fix: update Microsoft Teams app manifest version to 1.5.0 2025-10-17 10:43:32 +01:00
Nawaz Dhandala
f244f872d4 fix: improve formatting and consistency in tenant ID retrieval checks in MicrosoftTeamsUtil 2025-10-17 10:14:45 +01:00
Nawaz Dhandala
3e910c1308 fix: ensure tenant ID is retrieved and validated in MicrosoftTeamsUtil 2025-10-17 10:13:58 +01:00
Nawaz Dhandala
2b0067fd17 fix: update tenant ID retrieval logic in MicrosoftTeamsAPI 2025-10-17 10:11:54 +01:00
Nawaz Dhandala
cb23b6b55b Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-16 21:01:31 +01:00
Nawaz Dhandala
4406d52307 feat: add queries management section to Clickhouse documentation 2025-10-16 20:52:52 +01:00
Simon Larsen
03b6bec6d0 feat: add validation for required fields in WorkspaceProjectAuthTokenService and MicrosoftTeamsUtil 2025-10-16 20:36:45 +01:00
Nawaz Dhandala
ff0bd88b02 fix: ensure Microsoft Teams tenant ID is provided before creating Bot Framework adapter 2025-10-16 20:23:50 +01:00
Simon Larsen
94290c77db feat: add advanced filters toggle functionality across various components 2025-10-16 16:35:57 +01:00
Simon Larsen
003e44d331 refactor: clean up code formatting and improve readability in TelemetryAttributeService and LogsViewer components 2025-10-16 16:08:34 +01:00
Simon Larsen
b4cf798246 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-10-16 16:06:49 +01:00
Simon Larsen
e607367809 feat: enhance Filters and LogsViewer components with advanced filters functionality and loading states 2025-10-16 16:06:14 +01:00
Nawaz Dhandala
82a7b5794c fix: reduce row scan limit from 100000 to 10000 in TelemetryAttributeService 2025-10-16 15:59:28 +01:00
Nawaz Dhandala
37c1674029 fix: reduce cache stale time from 10 to 5 minutes in TelemetryAttributeService 2025-10-16 15:59:12 +01:00
Nawaz Dhandala
cd2a5222b8 fix: add expiration options for cache entries in GlobalCache and TelemetryAttributeService 2025-10-16 15:58:53 +01:00
Nawaz Dhandala
875d6c5df9 fix: enhance caching mechanism and improve attribute fetching in TelemetryAttributeService 2025-10-16 15:52:44 +01:00
Nawaz Dhandala
7eea90a55a fix: format constructor parameters for consistency in IdentityAPI 2025-10-16 15:42:13 +01:00
Nawaz Dhandala
c401b86a2e fix: update route handling to use Route class for URL construction across multiple services 2025-10-16 15:30:18 +01:00
Nawaz Dhandala
e96f781157 fix: refactor URL construction for view details and redirect routes in UserNotificationLogTimelineAPI 2025-10-16 15:05:57 +01:00
Nawaz Dhandala
73cc5f8f9e fix: update route handling in EnvironmentConfig for consistency 2025-10-16 15:04:52 +01:00
Nawaz Dhandala
0ee9876de9 fix: format code for consistency in OtelIngest services 2025-10-16 14:22:09 +01:00
Nawaz Dhandala
b76a75479d Implement OpenTelemetry Ingest Services for Logs, Metrics, and Traces
- Added OtelIngestBaseService as a base class for common functionality.
- Implemented OtelLogsIngestService to handle log ingestion, including processing and flushing logs to the database.
- Implemented OtelMetricsIngestService to handle metric ingestion, including processing and flushing metrics to the database.
- Implemented OtelTracesIngestService to handle trace ingestion, including processing spans and exceptions, and flushing them to the database.
- Introduced error handling and logging throughout the ingestion process to ensure robustness.
- Utilized CaptureSpan decorator for telemetry tracking in key methods.
- Enhanced service name extraction from request attributes for better traceability.
2025-10-16 14:21:44 +01:00
Simon Larsen
79b9cf4c06 Merge pull request #2034 from OneUptime/telemetry-attr
Telemetry attr
2025-10-15 18:13:17 +01:00
Nawaz Dhandala
a6da59c966 fix: add Results and DbJSONResponse types to AnalyticsDatabaseService and update TelemetryAttributeService to use them 2025-10-15 18:12:34 +01:00
Nawaz Dhandala
b84695feb9 fix: remove TelemetryType references and indexAttributes calls from various services 2025-10-15 17:21:56 +01:00
Nawaz Dhandala
b77973441d fix: remove TelemetryAttribute and TelemetryAttributeService references and related code 2025-10-15 16:26:05 +01:00
Nawaz Dhandala
27e9c07c57 fix: remove padding from MarkdownViewer component 2025-10-15 15:57:45 +01:00
Nawaz Dhandala
cbf8684d8c fix: remove force garbage collection method and its calls from OtelIngestService 2025-10-15 15:47:22 +01:00
Nawaz Dhandala
87057757a5 fix: remove --expose-gc option from NODE_OPTIONS in Dockerfile, nodemon.json, and package.json 2025-10-15 15:42:29 +01:00
Nawaz Dhandala
23b587f0f6 fix: remove unused EnableWorkflow import from TelemetryException model 2025-10-15 15:22:53 +01:00
Nawaz Dhandala
81c7a4eeb7 fix: remove EnableWorkflow decorator from TelemetryException model 2025-10-15 14:49:56 +01:00
Nawaz Dhandala
549dbfd6c7 fix: format nodemon.json and adjust package.json dev script indentation 2025-10-15 13:45:54 +01:00
Nawaz Dhandala
a2eac673eb fix: update NODE_OPTIONS to include --expose-gc and --use-openssl-ca in Dockerfile and nodemon configuration 2025-10-15 13:45:07 +01:00
Nawaz Dhandala
086a0a661d feat: implement dynamic batch size configuration for OpenTelemetry ingestion 2025-10-15 13:39:11 +01:00
Nawaz Dhandala
da0620eafa fix: improve logging of request body in OpenTelemetry middleware 2025-10-15 12:53:15 +01:00
Nawaz Dhandala
ca90ab0db4 fix: update Kubernetes cheatsheet to include OOMKilled pods in cleanup section 2025-10-15 12:36:06 +01:00
Nawaz Dhandala
94dacc20db feat: add Kubernetes cheatsheet for pod cleanup commands 2025-10-15 12:30:34 +01:00
Nawaz Dhandala
7e887bd4cd feat: enhance app description with HTML formatting and update support links 2025-10-14 19:37:28 +01:00
Nawaz Dhandala
b50dfcdf1c fix: update Microsoft Teams setup guide URL to correct link 2025-10-14 19:02:34 +01:00
Nawaz Dhandala
e2bc0ea4aa feat: add welcome card state management to prevent duplicate sends 2025-10-14 19:02:06 +01:00
Simon Larsen
7d018b94d3 Merge pull request #2033 from OneUptime/fix-change-plan
Fix change plan
2025-10-14 14:12:05 +01:00
Nawaz Dhandala
9fb7a70dc9 feat: add createOrUpdateApiUrl prop to CardModelDetail and update Billing page to generate change plan API URL 2025-10-14 14:02:45 +01:00
Nawaz Dhandala
a37b3fc0b3 feat: implement change plan API with billing permission checks 2025-10-14 13:54:38 +01:00
Nawaz Dhandala
c06ef5ddfc fix: add ManageProjectBilling permission for project updates 2025-10-14 13:34:12 +01:00
Nawaz Dhandala
0fb7174e94 chore: remove unused devDependencies from package.json and package-lock.json 2025-10-14 11:59:17 +01:00
Nawaz Dhandala
84a7cd976d fix: update template IDs for AlertCreated and IncidentCreated in WhatsAppTemplates 2025-10-14 10:44:27 +01:00
Nawaz Dhandala
f7c8c00f04 t psh
:wq!
Merge branch 'master' into release
2025-10-13 13:33:02 +01:00
Simon Larsen
51c3fcd3ca Merge pull request #2032 from OneUptime/whatsapp-webhook
Whatsapp webhook
2025-10-13 13:32:25 +01:00
Nawaz Dhandala
74c3dde7f1 refactor: improve type annotations and enhance readability in WhatsApp API and LogsTable components 2025-10-13 13:31:56 +01:00
Nawaz Dhandala
6bf45f6f31 refactor: streamline code formatting and improve readability in WhatsApp components and services 2025-10-13 13:26:57 +01:00
Nawaz Dhandala
4de4ad8022 feat: enhance status color handling in WhatsAppLogsTable component 2025-10-13 13:26:19 +01:00
Nawaz Dhandala
e263900115 feat: add migration for metaWhatsAppWebhookVerifyToken in GlobalConfig 2025-10-13 13:15:57 +01: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
8dfabfd96f feat: enhance WhatsApp status handling and add webhook verify token to GlobalConfig 2025-10-13 12:33:39 +01:00
Nawaz Dhandala
14cdc3ea86 chore: update package.json and package-lock.json to add ts-jest and new dependencies 2025-10-13 12:31:52 +01:00
Nawaz Dhandala
cd6abe63ea refactor: format code and ensure consistent import/export statements across migration and mobile app files 2025-10-13 11:52:41 +01:00
Nawaz Dhandala
aeb6d53b9d refactor: remove unused imports and simplify status message handling in WhatsAppLogsTable 2025-10-13 11:41:29 +01:00
Nawaz Dhandala
efa7224718 fix: update ConfirmModal description styling for better text wrapping 2025-10-13 10:56:46 +01:00
Nawaz Dhandala
a2c406d7cc refactor: simplify database properties handling in WhatsAppLogAPI 2025-10-13 10:51:52 +01:00
Nawaz Dhandala
1933e37beb refactor: move getMetaWhatsAppConfig call to improve message handling logic 2025-10-13 10:43:46 +01:00
Nawaz Dhandala
0b0336f9ea Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-13 10:35:51 +01:00
Simon Larsen
9304079a1c feat: implement WhatsAppLogAPI for fetching WhatsApp message status and update WhatsAppLogsTable to display message ID 2025-10-13 10:35:41 +01:00
Nawaz Dhandala
1e2dcf332b fix: enhance type handling for return values in VM router 2025-10-13 10:15:46 +01:00
Simon Larsen
ca860f54a8 feat: update permissions to replace ReadSmsLog with ReadWhatsAppLog in WhatsAppLog model and Permission types 2025-10-13 10:01:05 +01:00
Simon Larsen
513e4146ed feat: add migration for WhatsAppMessageId field in WhatsAppLog table with index 2025-10-13 09:59:33 +01:00
Simon Larsen
43d31ddbe9 feat: add WhatsAppMessageId field to WhatsAppLog model with access control and metadata 2025-10-13 09:55:22 +01:00
Simon Larsen
18231f42aa feat: update MobileAppPrompt.md for UI guidelines and add react-native-webview dependency in package.json; create AuthSession type 2025-10-12 12:38:36 +01:00
Simon Larsen
60291cc218 docs: update MobileAppPrompt.md to clarify usage of @oneuptime/common package 2025-10-12 12:33:46 +01:00
Simon Larsen
3658f0349e feat: add react-native-worklets dependency to package.json and package-lock.json 2025-10-12 12:29:29 +01:00
Simon Larsen
02133165d8 chore: update dependencies and configure Tailwind CSS with NativeWind
- Added @expo/metro-runtime, nativewind, prettier-plugin-tailwindcss, react-dom, and tailwindcss to dependencies.
- Updated react-native-safe-area-context to version 5.4.0.
- Added global.css for Tailwind CSS styles.
- Created metro.config.js to integrate NativeWind with Expo.
- Added nativewind-env.d.ts for TypeScript support.
- Created tailwind.config.js to configure Tailwind CSS with NativeWind.
- Updated tsconfig.json to include nativewind-env.d.ts.
2025-10-12 12:28:30 +01:00
Simon Larsen
837b841352 refactor: remove unused ObjectID generation and related state management 2025-10-12 10:29:00 +01:00
Simon Larsen
10e344dad5 feat: add react-native-get-random-values dependency and import in App component 2025-10-12 10:08:23 +01:00
Simon Larsen
848bfb358f chore: add @oneuptime/common dependency and update tsconfig to exclude Common directory 2025-10-12 10:05:18 +01:00
Simon Larsen
2ca1c64532 Implement new feature for user authentication and improve error handling 2025-10-12 09:55:28 +01:00
Simon Larsen
d9a79eafbd fix: clarify file naming conventions in mobile app development prompt 2025-10-12 09:26:31 +01:00
Simon Larsen
a1dc16f4b6 feat: refactor styles into separate Styles.ts file for better organization 2025-10-12 09:25:23 +01:00
Nawaz Dhandala
674613c0d6 feat: add initial mobile app development prompt in MobileAppPrompt.md 2025-10-12 09:20:09 +01:00
Nawaz Dhandala
e4e095798a fix: enhance type definitions and import statements in App.tsx 2025-10-11 12:22:15 +01:00
Nawaz Dhandala
2e07185584 fix: standardize formatting in App.tsx and tsconfig.json 2025-10-11 12:19:33 +01:00
Nawaz Dhandala
144001981a Add initial configuration for mobile app with Expo
- Created package.json for project dependencies and scripts
- Added TypeScript configuration with strict settings and React Native support
2025-10-11 12:16:39 +01:00
Nawaz Dhandala
cd096f66ea fix: update app approval status message to include manual sideloading instructions 2025-10-11 12:15:52 +01:00
Nawaz Dhandala
036b29da51 fix: standardize error messages and improve formatting in MicrosoftTeamsAPI 2025-10-11 11:12:49 +01:00
Nawaz Dhandala
d0d59147ae fix: add download button for app manifest and manual sideloading instructions 2025-10-11 11:12:15 +01:00
snyk-bot
565fbe6cd3 fix: Nginx/Dockerfile.tpl to reduce vulnerabilities 2025-10-11 08:37:10 +00:00
snyk-bot
12c3f9b25c fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-13378253
2025-10-11 08:35:50 +00:00
Nawaz Dhandala
02cffe9f8b fix: update Microsoft Teams outline image 2025-10-10 20:39:12 +01:00
Nawaz Dhandala
9c52e8966f fix: update Microsoft Teams outline image 2025-10-10 17:38:24 +01:00
Nawaz Dhandala
9257a949fe fix: add Microsoft Teams app client ID and secret placeholders to config example 2025-10-10 16:34:25 +01:00
Nawaz Dhandala
7528ed8e0c fix: update Microsoft Teams app manifest version and improve error handling 2025-10-10 15:55:18 +01:00
Nawaz Dhandala
98b6f3eac3 fix: streamline text formatting in Microsoft Teams integration messages 2025-10-10 09:17:34 +01:00
Nawaz Dhandala
a2561b3ae8 fix: update acknowledge route to acknowledge-page in UserNotificationRuleService 2025-10-10 09:15:55 +01:00
Nawaz Dhandala
368f5c6bbc Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-10 09:01:23 +01:00
Nawaz Dhandala
0e2e30b0a9 fix: remove Microsoft identity association endpoint for cleanup 2025-10-10 09:00:42 +01:00
Simon Larsen
2664a24875 fix: update outline image for Microsoft Teams integration 2025-10-09 18:47:58 +01:00
Simon Larsen
40e486669f feat: enhance app description and support information in Microsoft Teams API 2025-10-09 18:36:45 +01:00
Simon Larsen
ae64cbc718 feat: implement welcome adaptive card for OneUptime bot in Microsoft Teams 2025-10-09 18:35:32 +01:00
Simon Larsen
e14f691cc4 feat: add comment for Microsoft identity verification endpoint 2025-10-09 18:21:40 +01:00
Simon Larsen
89c607a530 feat: add endpoint for Microsoft identity association JSON 2025-10-09 18:21:03 +01:00
Simon Larsen
90f4e7418f fix: streamline SCIM group schema definition and ensure proper syntax in migrations 2025-10-09 17:40:44 +01:00
Simon Larsen
79fed2da09 fix: remove deprecated SCIM 1.1 schema references for improved compatibility 2025-10-09 17:34:37 +01:00
Simon Larsen
1dd41c103f Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-10-09 17:34:18 +01:00
Simon Larsen
988e85affc fix: remove deprecated SCIM schema reference in formatTeamForSCIM function 2025-10-09 17:34:15 +01:00
Nawaz Dhandala
2810516987 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-09 17:19:00 +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
3abdbb7ef9 fix: correct typo in IncidentStateChangedOwnerNotification template ID 2025-10-09 17:12:17 +01:00
Simon Larsen
0d647f5dc1 fix: improve release retrieval by using pagination and handle missing release tags 2025-10-09 13:43:43 +01:00
Nawaz Dhandala
bd1df491a2 Remove MobileApp components, themes, and configuration files
- Deleted package.json, removing all dependencies and scripts for the mobile app.
- Removed FeatureCard, GlowingButton, MetricCard, SafeAreaContainer, and HomeScreen components.
- Eliminated color, layout, and typography theme files.
- Deleted TypeScript configuration file (tsconfig.json).
2025-10-09 11:59:34 +01:00
Nawaz Dhandala
feb872d05c feat: add E2E testing support with docker-compose configuration 2025-10-09 11:39:30 +01:00
Nawaz Dhandala
64b6b99a21 refactor: replace retry action with shell commands for preinstall and E2E tests 2025-10-08 20:10:19 +01:00
Nawaz Dhandala
8046c244b1 feat: add react-dom and react-native-web dependencies to package.json 2025-10-08 18:52:29 +01:00
Nawaz Dhandala
6928316ba0 feat: implement initial structure and components for OneUptime Mobile app 2025-10-08 18:33:50 +01:00
Nawaz Dhandala
36c74642f2 Initialize MobileApp with package.json and tsconfig.json for Expo project setup 2025-10-08 18:14:29 +01:00
Nawaz Dhandala
5a992e99c8 refactor: format publisherDocsUrl for better readability in Microsoft Teams app manifest 2025-10-08 18:06:52 +01:00
Nawaz Dhandala
ff9230f878 refactor: add publisherDocsUrl to Microsoft Teams app manifest 2025-10-08 17:08:45 +01:00
Nawaz Dhandala
9afa861ff2 refactor: remove obsolete migration files and update index 2025-10-08 17:04:59 +01:00
Nawaz Dhandala
6d7486e76d refactor: update developer name from "OneUptime" to "HackerBay Inc" in MicrosoftTeamsAPI 2025-10-08 17:02:59 +01:00
Nawaz Dhandala
8529012b19 refactor: remove "whatsAppText" column from WhatsAppLog table 2025-10-08 16:45:29 +01:00
Nawaz Dhandala
f704bd47a3 refactor: remove unused column "whatsAppText" from WhatsAppLog table 2025-10-08 14:58:24 +01:00
Nawaz Dhandala
239f2fc34e refactor: streamline actionLink resolution in createWhatsAppMessageFromTemplate 2025-10-08 14:35:31 +01:00
Nawaz Dhandala
5d5183b08e refactor: remove action_link from templateVariables in createWhatsAppMessageFromTemplate 2025-10-08 14:29:13 +01:00
Nawaz Dhandala
7cad0fab0f refactor: clean up whitespace and improve code formatting in multiple files 2025-10-08 14:20:41 +01:00
Nawaz Dhandala
98e0d55ee3 feat: update template variable iteration to include parameter names 2025-10-08 14:19:01 +01:00
Nawaz Dhandala
2d8f0d7a58 feat: add recipient_type to WhatsApp message payload for individual recipients 2025-10-08 13:46:55 +01:00
Nawaz Dhandala
643303cd7a feat: enhance error handling to include HTTPErrorResponse support 2025-10-08 13:27:26 +01:00
snyk-bot
9ee0e0f3cb fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-13378253
2025-10-08 05:10:50 +00:00
Nawaz Dhandala
dc692203be feat: add selectMoreFields for delivery channel options in notification settings 2025-10-07 22:40:29 +01:00
Nawaz Dhandala
648c51d007 feat: enhance notification settings with delivery channel options and icons 2025-10-07 22:37:40 +01:00
Nawaz Dhandala
0e5b106333 fix: update icon for resend code button from WhatsApp to SMS 2025-10-07 22:20:24 +01:00
Nawaz Dhandala
40e9ea2ab6 feat: add WhatsApp alert options to notification settings 2025-10-07 22:19:16 +01:00
Nawaz Dhandala
2157e228b9 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-10-07 21:49:36 +01:00
Nawaz Dhandala
5c5534adb8 fix: add type annotation for response in sendWhatsAppMessage method 2025-10-07 21:49:34 +01:00
Nawaz Dhandala
379297cd7e fix: streamline async function signatures in API routes for consistency 2025-10-07 21:49:14 +01:00
Nawaz Dhandala
b3730e9708 fix: add user authorization middleware to /test endpoint 2025-10-07 21:48:31 +01:00
Nawaz Dhandala
2fbc44d5c3 Refactor API endpoints to include error handling middleware
- Updated multiple API routes to use NextFunction for error handling.
- Wrapped asynchronous route handlers in try-catch blocks to catch and pass errors to the next middleware.
- Ensured consistent error responses across various endpoints, improving maintainability and readability.
- Enhanced the structure of the code by reducing nested try-catch blocks and improving flow control.
2025-10-07 21:46:25 +01:00
Nawaz Dhandala
12f05937af fix: enhance error handling in API endpoints by adding NextFunction support 2025-10-07 21:17:59 +01:00
Simon Larsen
5ea440492b Merge branch 'master' of github.com:OneUptime/oneuptime 2025-10-07 21:16:14 +01:00
Simon Larsen
57b851a498 refactor: rename github-release job to draft-github-release and add finalize-github-release job for publishing 2025-10-07 21:15:45 +01:00
Nawaz Dhandala
00f806b077 fix: enhance error handling in WhatsApp message template rendering for missing variables 2025-10-07 21:13:40 +01:00
Nawaz Dhandala
975c20a788 fix: improve error handling in verification endpoints by adding NextFunction support 2025-10-07 20:49:27 +01:00
Nawaz Dhandala
948e2d93c1 fix: handle errors in resend verification code endpoint and add NextFunction support 2025-10-07 20:38:11 +01:00
Nawaz Dhandala
6de3c93745 fix: refactor error handling for WhatsApp verification and resend code modals 2025-10-07 20:31:47 +01:00
Nawaz Dhandala
1f63110561 feat: enhance WhatsApp verification code handling with error logging and improved response management 2025-10-07 20:25:32 +01:00
Nawaz Dhandala
8a94c35450 feat: enforce template key requirement for WhatsApp messages and add debug logging for API requests 2025-10-07 16:59:53 +01:00
Nawaz Dhandala
fdc97284a5 fix: update DEFAULT_META_WHATSAPP_API_VERSION to v23.0 2025-10-07 16:48:22 +01:00
Nawaz Dhandala
792ecfdbdc fix: remove 'From' column from WhatsApp logs table 2025-10-07 16:04:24 +01:00
Nawaz Dhandala
121b01dc08 feat: add WhatsApp notifications toggle to notification settings 2025-10-07 16:01:27 +01:00
Nawaz Dhandala
1aa49071eb feat: add UserWhatsAppAPI for handling WhatsApp verification and resend functionality 2025-10-07 15:57:06 +01:00
Nawaz Dhandala
66bef1284a feat: add documentation for canceling all GitHub actions jobs using GitHub CLI 2025-10-07 15:53:37 +01:00
Nawaz Dhandala
1526f708de fix: enhance error handling and logging for WhatsApp message sending failures 2025-10-07 15:49:34 +01:00
Nawaz Dhandala
53198e4486 fix: improve error logging for WhatsApp message sending failures 2025-10-07 15:39:10 +01:00
Nawaz Dhandala
a66bf2df2a feat: enhance WhatsApp icon SVG with stroke properties and viewBox 2025-10-07 15:31:20 +01:00
Nawaz Dhandala
34422721c3 feat: add WhatsApp logs table to Notification Logs 2025-10-07 15:19:36 +01:00
Nawaz Dhandala
b5008c2363 Merge branch 'whatsapp' 2025-10-07 15:15:48 +01:00
Nawaz Dhandala
1cbab2be08 refactor: remove unused dashboard link and update WhatsApp message template variables 2025-10-07 15:15:25 +01:00
Simon Larsen
1bdcfd71f7 Merge pull request #2026 from OneUptime/whatsapp
Whatsapp
2025-10-07 15:05:58 +01:00
Nawaz Dhandala
792271b146 Merge branch 'whatsapp' of https://github.com/OneUptime/oneuptime into whatsapp 2025-10-07 15:02:44 +01:00
Nawaz Dhandala
3de5fbd35c fix: correct variable assignment for templateKey in test message route 2025-10-07 15:02:19 +01:00
Nawaz Dhandala
6f8dc1ed59 feat: update test message sending functionality to use predefined template and language 2025-10-07 15:00:41 +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
Simon Larsen
d3070975cb Merge branch 'whatsapp' of github.com:OneUptime/oneuptime into whatsapp 2025-10-07 14:37:26 +01:00
Simon Larsen
69c0da5b17 refactor: remove WhatsApp high-risk cost variable and update related configurations 2025-10-07 14:37:23 +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
Nawaz Dhandala
e5ef97abd9 feat: improve WhatsApp setup markdown formatting for clarity and structure 2025-10-07 13:58:28 +01:00
Nawaz Dhandala
3053856990 feat: enhance WhatsApp setup markdown formatting for improved readability 2025-10-07 13:45:12 +01:00
Nawaz Dhandala
b8e82e2801 feat: add WhatsApp configuration fields to GlobalConfig migration and update template IDs for type safety 2025-10-07 13:36:21 +01:00
Nawaz Dhandala
2187fe63f0 feat: refactor WhatsApp template IDs and messages for improved type safety and export structure 2025-10-07 13:29:36 +01:00
Nawaz Dhandala
b1f842f9e1 feat: enhance WhatsApp setup documentation with prerequisites and structured steps 2025-10-07 13:25:52 +01:00
Nawaz Dhandala
43e03fb61c feat: update WhatsApp icon SVG path for improved rendering 2025-10-07 13:19:29 +01:00
Nawaz Dhandala
2327ab84c2 feat: add migration for WhatsApp configuration fields in GlobalConfig 2025-10-07 13:16:19 +01:00
Nawaz Dhandala
93034b6018 refactor: update WhatsApp migration and enhance type definitions in WhatsApp settings 2025-10-07 13:10:54 +01:00
Nawaz Dhandala
e45022b5cb feat: add migration for WhatsApp notifications and related database changes 2025-10-07 13:06:47 +01:00
Nawaz Dhandala
c022b70e6d Merge branch 'whatsapp' of https://github.com/OneUptime/oneuptime into whatsapp 2025-10-07 13:06:11 +01:00
Nawaz Dhandala
5615ba2df7 Merge branch 'master' into whatsapp 2025-10-07 13:05:46 +01:00
Nawaz Dhandala
268960bc5b refactor: simplify destructuring of connection settings in getTransporter method 2025-10-07 12:58:19 +01:00
Nawaz Dhandala
508a713ecf refactor: enhance connection handling in TransporterPool for improved email server configuration 2025-10-07 12:57:43 +01:00
Simon Larsen
36e50b591a refactor: update WhatsApp template messages for improved clarity and conciseness 2025-10-07 12:17:04 +01:00
Nawaz Dhandala
05c1f95ba4 fix: enable tool-cache in release workflow for improved build efficiency 2025-10-07 11:52:13 +01:00
Simon Larsen
9d355691ae refactor: rename scheduled_maintenance_number to scheduled_event_number in WhatsApp templates and notification jobs for consistency 2025-10-07 11:32:54 +01:00
Simon Larsen
73c58186b6 refactor: enhance WhatsApp template messages with scheduled maintenance number for better context 2025-10-06 20:23:11 +01:00
Simon Larsen
eb8d3e4dfd refactor: update WhatsApp template messages for clarity and conciseness 2025-10-06 20:17:38 +01:00
Nawaz Dhandala
987f30e5c7 feat: add PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD environment variable to Dockerfiles for improved build performance 2025-10-06 19:45:46 +01:00
Simon Larsen
b7a0dbf81b refactor: replace action_link with corresponding link variables in notification templates 2025-10-06 18:25:59 +01:00
Simon Larsen
7368a0eb7c Refactor notification links in WhatsApp templates and services
- Updated variable names for links in various services to improve consistency:
  - Changed `*_link_on_dashboard` to `*_link` across multiple services including MonitorService, OnCallDutyPolicyEscalationRuleService, and UserNotificationRuleService.

- Modified WhatsApp template messages to reflect the new link variable names, ensuring that the notifications sent to users contain the correct links.

- Adjusted the link variable names in the WhatsAppTemplateUtil to match the updated naming convention.

- Ensured all related notification jobs (e.g., SendCreatedResourceNotification, SendNotePostedNotification) are updated to use the new link variables for better clarity and maintainability.
2025-10-06 18:07:39 +01:00
Nawaz Dhandala
ef0b6f3e14 refactor: replace docker login actions with retry mechanism for improved reliability 2025-10-06 16:36:28 +01:00
Simon Larsen
af8691f61d refactor: remove Meta WhatsApp API version handling and update documentation 2025-10-06 16:31:29 +01:00
Simon Larsen
f7aee2e253 feat: add Meta WhatsApp settings page and configuration options 2025-10-06 16:26:05 +01:00
Nawaz Dhandala
0a1b74d911 fix: update @simplewebauthn/server to version 13.2.2 in package.json and package-lock.json 2025-10-06 16:13:53 +01:00
Nawaz Dhandala
ab48da447d refactor: add test jobs to push-release-tags workflow for enhanced testing coverage 2025-10-06 16:08:43 +01:00
Nawaz Dhandala
1cc0630939 feat: add APP_TAG pinning to versioned release in config.env 2025-10-06 16:06:16 +01:00
Simon Larsen
5391ff4688 Add dashboard links to WhatsApp notifications for various resources
- Added `monitor_link_on_dashboard` to MonitorService notifications.
- Added `on_call_policy_link_on_dashboard` to OnCallDutyPolicyEscalationRule services.
- Added `on_call_schedule_link_on_dashboard` to OnCallDutyPolicyScheduleService.
- Added `probe_link_on_dashboard` to ProbeService notifications.
- Enhanced UserNotificationRuleService to include `alert_link_on_dashboard` and `incident_link_on_dashboard`.
- Updated WhatsApp templates to include links to the OneUptime dashboard for alerts, incidents, monitors, probes, scheduled maintenance, and status pages.
- Added `status_page_link_on_dashboard` to StatusPageOwners notifications.
2025-10-06 15:56:12 +01:00
Nawaz Dhandala
f6d96676fe refactor: update dependencies for test-e2e-release-saas job to include publish-mcp-server 2025-10-06 15:54:50 +01:00
Simon Larsen
cf02842ab1 Refactor WhatsApp message handling across services
- Updated `createWhatsAppMessageFromTemplate` to return a typed `WhatsAppMessagePayload`.
- Added type annotations for `WhatsAppTemplateId` in various services to improve type safety.
- Refactored WhatsApp message creation in `ProbeService`, `UserNotificationRuleService`, `UserNotificationSettingService`, and other worker jobs to ensure consistent typing.
- Enhanced readability and maintainability by using explicit types for event types and WhatsApp message payloads.
- Improved the structure of WhatsApp template ID definitions for better clarity and type inference.
2025-10-06 15:12:29 +01:00
Nawaz Dhandala
b63fcf6b99 refactor: update push-release-tags job dependencies for improved workflow order 2025-10-06 14:54:08 +01:00
Nawaz Dhandala
36069c1b4e refactor: update job dependencies for push-release-tags and github-release in release workflow 2025-10-06 14:48:05 +01:00
Simon Larsen
d2846decce refactor: improve code formatting and readability across multiple files 2025-10-06 14:47:15 +01:00
Simon Larsen
60a8a3f052 feat: include alert and incident identifiers in SMS notifications for better context 2025-10-06 14:45:46 +01:00
Simon Larsen
e2d15dc2e7 Merge branch 'master' of github.com:OneUptime/oneuptime into whatsapp 2025-10-06 14:39:00 +01:00
Simon Larsen
7cdefdeccd feat: add incident and alert numbers to WhatsApp notification templates and related services 2025-10-06 14:37:45 +01:00
Simon Larsen
684b8822af feat: simplify WhatsApp template messages for clarity and user engagement 2025-10-06 14:20:52 +01:00
Nawaz Dhandala
231bc47942 refactor: improve type annotations and formatting in TeamService for clarity 2025-10-06 14:14:11 +01:00
Nawaz Dhandala
965a497be3 feat: implement SCIM mutation checks for team creation and deletion 2025-10-06 14:12:19 +01:00
Nawaz Dhandala
f50a7fb99b refactor: adjust job dependencies and increase timeout for E2E tests in release workflows 2025-10-06 14:08:50 +01:00
Simon Larsen
50a5e75d1a feat: enhance WhatsApp template messages with additional information for user guidance 2025-10-06 14:00:01 +01:00
Simon Larsen
84e838a055 refactor: streamline WhatsApp message creation by removing unused template string imports 2025-10-04 13:49:12 +01:00
Simon Larsen
6d6c78e974 feat: Integrate WhatsApp notifications for various alert and incident events
- Added WhatsApp message creation for alert owner notifications in SendCreatedResourceNotification, SendNotePostedNotification, SendOwnerAddedNotification, and SendStateChangeNotification jobs.
- Implemented WhatsApp message functionality for incident owner notifications in SendCreatedResourceNotification, SendNotePostedNotification, SendOwnerAddedNotification, and SendStateChangeNotification jobs.
- Enhanced monitor owner notifications with WhatsApp messages in SendCreatedResourceNotification, SendOwnerAddedNotification, and SendStatusChangeNotification jobs.
- Included WhatsApp message creation for scheduled maintenance owner notifications in SendCreatedResourceNotification, SendNotePostedNotification, SendOwnerAddedNotification, and SendStateChangeNotification jobs.
- Added WhatsApp message functionality for status page owner notifications in SendAnnouncementCreatedNotification, SendCreatedResourceNotification, and SendOwnerAddedNotification jobs.
- Introduced WhatsAppTemplateUtil to manage WhatsApp message templates and creation logic.
2025-10-04 13:22:56 +01:00
Simon Larsen
778d5b7c6b feat: add UserWhatsAppService and integrate WhatsApp verification code template 2025-10-03 19:25:53 +01:00
Nawaz Dhandala
8051146f41 refactor: enhance type safety and improve variable naming in OnCallDutyScheduleSettings 2025-10-03 19:19:46 +01:00
Simon Larsen
86a359a230 feat: enhance WhatsApp notification handling with template support and error logging 2025-10-03 19:17:10 +01:00
Simon Larsen
c16dac65cc feat: add WhatsApp template IDs and rendering logic for notifications 2025-10-03 19:16:04 +01:00
Simon Larsen
437c9ecdbc feat: add support for WhatsApp notifications in project and user notification settings 2025-10-03 19:04:33 +01:00
Nawaz Dhandala
bf4eec2bdf refactor: improve code formatting and comments for better readability in SCIM and TimePicker components 2025-10-03 19:00:49 +01:00
Nawaz Dhandala
08367f3c7f refactor: update onDuplicateSuccess type to support Promise and implement duplication logic in OnCallDutyScheduleSettings 2025-10-03 18:23:29 +01:00
Simon Larsen
f5d077956a feat: integrate UserWhatsApp into notification settings and management 2025-10-03 18:12:07 +01:00
Simon Larsen
ca74005262 feat: add WhatsApp phone display in NotificationMethodView and create WhatsApp management component 2025-10-03 18:11:10 +01:00
Simon Larsen
52c936935e feat: add UserWhatsApp relation and ID to UserOnCallLogTimeline model 2025-10-03 17:51:34 +01:00
Simon Larsen
2951600ed9 feat: add UserWhatsApp relation and ID to UserNotificationRule model 2025-10-03 17:51:15 +01:00
Simon Larsen
d12c8c778c feat: Add UserWhatsApp and WhatsAppLog models with associated services
- Created UserWhatsApp model to manage WhatsApp numbers linked to users and projects.
- Implemented WhatsAppLog model to log messages sent via WhatsApp, including details like recipient, status, and associated incidents or alerts.
- Developed WhatsAppLogService for managing WhatsApp log entries, including automatic deletion of old logs if billing is enabled.
- Introduced WhatsAppService for sending WhatsApp messages with various contextual options.
2025-10-03 17:28:31 +01:00
Simon Larsen
77d4527a00 feat: add WhatsApp integration with API and configuration support 2025-10-03 17:24:59 +01:00
Nawaz Dhandala
1ef3353155 fix: update modelId retrieval to correctly use parameter for OnCallDutyScheduleSettings 2025-10-03 17:11:04 +01:00
Nawaz Dhandala
2c635c0d1e refactor: add modulePathIgnorePatterns to jest config for build directory 2025-10-03 16:17:45 +01:00
Nawaz Dhandala
44799f4625 Merge branch 'master' of https://github.com/OneUptime/oneuptime into timepkr 2025-10-03 15:39:38 +01:00
Nawaz Dhandala
4bc6e625d2 refactor: adjust spacing for timezone label display in TimePicker component 2025-10-03 15:38:49 +01:00
Nawaz Dhandala
9ff773dd81 refactor: update timezone label display in TimePicker component for improved clarity 2025-10-03 15:37:09 +01:00
Nawaz Dhandala
bf2c2afbb8 refactor: simplify browser locale detection for 12-hour format and enhance timezone label display 2025-10-03 15:01:26 +01:00
Simon Larsen
3efa3b374f feat: add push-release-tags job to create Docker release tags after GitHub release 2025-10-03 14:59:29 +01:00
Nawaz Dhandala
f76b004e2a refactor: implement browser locale detection for 12-hour time format preference 2025-10-03 14:55:47 +01:00
Nawaz Dhandala
cb535bd114 refactor: add type annotations for improved type safety in TimePicker component 2025-10-03 14:45:56 +01:00
Simon Larsen
9b09082d13 feat: add settings page for on-call duty schedule with duplication functionality 2025-10-03 14:37:20 +01:00
Nawaz Dhandala
5ac6e7ba7b refactor: improve code readability in Input and TimePicker components 2025-10-03 14:32:51 +01:00
Nawaz Dhandala
044183dbd7 refactor: enhance TimePicker input size and icon styling for improved usability 2025-10-03 14:27:23 +01:00
Nawaz Dhandala
fb13609c37 refactor: add margin to TimePicker component for improved layout 2025-10-03 14:23:36 +01:00
Nawaz Dhandala
1c602b1ad3 refactor: adjust TimePicker input size and improve clickability indication 2025-10-03 14:18:52 +01:00
Nawaz Dhandala
1affb76085 refactor: update TimePicker component layout and styling for improved usability 2025-10-03 14:16:40 +01:00
Nawaz Dhandala
0e02083dec refactor: implement modal for time selection in TimePicker component 2025-10-03 14:13:51 +01:00
Nawaz Dhandala
a442b02337 refactor: update TimePicker import path to use the correct index file 2025-10-03 14:07:33 +01:00
Simon Larsen
3ab47328f6 refactor: enhance SCIM group schema compatibility by including SCIM 1.1 core schema 2025-10-03 14:01:42 +01:00
Nawaz Dhandala
57ff8c007b refactor: integrate TimePicker component for time selection in FormField and adjust Input spellCheck logic 2025-10-03 13:59:30 +01:00
Nawaz Dhandala
c83d1babcd refactor: update jest configuration to support TypeScript and improve coverage collection 2025-10-03 13:54:50 +01:00
Simon Larsen
1bc96d04fa refactor: enhance artifact naming in release workflows to include job and run attempt 2025-10-03 13:51:52 +01:00
Nawaz Dhandala
e03a9b52ae refactor: remove InputType.TIME usage and implement TimePicker component for time selection 2025-10-03 13:43:53 +01:00
Simon Larsen
a307a68ec1 refactor: implement retry logic for E2E tests in release workflows 2025-10-03 13:36:19 +01:00
Nawaz Dhandala
1032f01278 refactor: enhance query execution logic to handle query parameters more effectively 2025-10-02 19:43:52 +01:00
Nawaz Dhandala
83286aa34d refactor: remove maxmemory-policy from redis config and set to noeviction in values.yaml 2025-10-02 19:31:53 +01:00
Nawaz Dhandala
543757a2b5 refactor: update helm template command to specify chart directory for improved clarity 2025-10-02 16:46:04 +01:00
Nawaz Dhandala
d0bbb12f92 refactor: improve formatting and readability of Microsoft Teams installation instructions 2025-10-02 16:44:40 +01:00
Nawaz Dhandala
066e785a53 refactor: add Microsoft Teams navigation links and integration documentation 2025-10-02 15:15:38 +01:00
Nawaz Dhandala
2f46eadcd4 refactor: add call scheduling feature with inline calendar integration to support page 2025-10-02 15:00:32 +01:00
Nawaz Dhandala
c472555f55 refactor: update installation instructions to include app approval status for Microsoft Teams integration 2025-10-02 14:56:30 +01:00
Nawaz Dhandala
83c9255b98 refactor: enhance Microsoft Teams integration with billing conditionals and installation instructions 2025-10-02 14:47:54 +01:00
Nawaz Dhandala
1748a198c7 refactor: update Microsoft Teams permissions documentation for clarity and conciseness 2025-10-02 14:42:35 +01:00
Nawaz Dhandala
a4841f4b6e refactor: remove ts-ignore and update axios mock type for improved type safety 2025-10-02 13:15:57 +01:00
Nawaz Dhandala
1c750d274e refactor: replace ts-ignore with ts-expect-error for improved type safety in Handlebars helpers and test mocks 2025-10-02 12:18:10 +01:00
Nawaz Dhandala
2dda68c462 refactor: update comment styles for consistency across ProjectAPI, DataPoint, and ComponentCode 2025-10-02 11:57:39 +01:00
Nawaz Dhandala
6d5bc111ba Refactor comments across multiple files to improve clarity and consistency
- Updated comments in Probe/Config.ts to use block comments for proxy configuration.
- Refactored comments in PortMonitor.ts, SyntheticMonitor.ts, and OnlineCheck.ts to block comments for better readability.
- Adjusted comments in ProbeIngest/API/Monitor.ts and ProbeIngest/API/Probe.ts to block comments for clarity.
- Standardized comments in various data migration scripts to block comments for consistency.
- Modified eslint.config.js to enforce multiline comment style as an error.
2025-10-02 11:53:55 +01:00
Nawaz Dhandala
0e1c8df7ab refactor: simplify logging and formatting in Microsoft Teams actions 2025-10-02 11:40:47 +01:00
Nawaz Dhandala
4b55cb3d84 feat: refine incident action handling to improve clarity and flow 2025-10-02 11:36:45 +01:00
Nawaz Dhandala
eb66b57939 feat: prevent duplicate message processing for new incident and scheduled maintenance submissions 2025-10-02 11:33:53 +01:00
Nawaz Dhandala
b53119d249 feat: implement separate handling for new scheduled maintenance creation in Microsoft Teams 2025-10-02 11:32:24 +01:00
Nawaz Dhandala
95c2db5ace feat: streamline incident and scheduled maintenance confirmation by sending messages after hiding form cards 2025-10-02 11:23:41 +01:00
Nawaz Dhandala
8c4bc48c44 feat: add incident and scheduled maintenance links in response messages 2025-10-02 11:18:56 +01:00
Nawaz Dhandala
28f3b98d44 feat: implement new incident and scheduled maintenance submission handling in Microsoft Teams 2025-10-02 11:13:31 +01:00
Nawaz Dhandala
742da27d87 feat: add commands for creating new incidents and scheduled maintenance in Microsoft Teams 2025-10-02 10:55:28 +01:00
Nawaz Dhandala
e2ba7dff8d refactor: update KEDA autoscaling configuration comments for clarity 2025-10-02 09:25:47 +01:00
Simon Larsen
3f6a58a087 Merge pull request #2024 from calvinbui/master
helm: allow removing the auto-generated date label
2025-10-02 09:25:07 +01:00
Calvin Bui
3f2005bd34 fix jinja 2025-10-02 11:38:16 +10:00
Calvin Bui
651ba4247e fix: remove auto-generated date label causing constant updates 2025-10-02 11:36:07 +10:00
Nawaz Dhandala
ba71cf5980 fix: Remove system status command from Microsoft Teams bot responses 2025-10-01 20:57:55 +01:00
Nawaz Dhandala
442a4b935b feat: Enhance incident and maintenance messages with severity icons and dashboard links 2025-10-01 20:52:39 +01:00
Nawaz Dhandala
5caf5e8991 fix: Update command list formatting in bot help message for consistency 2025-10-01 20:50:00 +01:00
Nawaz Dhandala
b5e4545193 fix: Simplify conditional check for TOTP and WebAuthn lists in login function 2025-10-01 20:38:01 +01:00
Nawaz Dhandala
ce4cc70815 refactor: Improve type annotations for error handling and channel name mapping in WorkspaceNotificationRuleService 2025-10-01 20:32:19 +01:00
Nawaz Dhandala
426dda60fe refactor: Enhance two-factor authentication verification logic and improve placeholder formatting in NotificationRuleForm 2025-10-01 20:28:18 +01:00
Nawaz Dhandala
c6be5a9ebf fix: Update placeholder text for existing channel input based on workspace type in NotificationRuleForm 2025-10-01 20:21:33 +01:00
Nawaz Dhandala
eb19b8926b docs: Update setup instructions for Microsoft Teams integration 2025-10-01 18:29:21 +01:00
Nawaz Dhandala
955a3f784d refactor: Remove duplicate code for handling Adaptive Card submits in MicrosoftTeamsUtil 2025-10-01 18:25:11 +01:00
Nawaz Dhandala
756dc88289 refactor: Simplify error message mapping and improve readability in WorkspaceNotificationRuleService 2025-10-01 18:12:08 +01:00
Nawaz Dhandala
c116f9adc1 refactor: Update existing channel handling to use WorkspaceChannel objects and include teamId for Microsoft Teams integration 2025-10-01 18:07:36 +01:00
Nawaz Dhandala
324f29edc3 fix: Improve error messages for missing teamId in Microsoft Teams channel resolution and message sending 2025-10-01 17:56:38 +01:00
Nawaz Dhandala
03064308ef feat: Add teamId to WorkspaceChannel interface and update MicrosoftTeamsUtil to include teamId in channel creation 2025-10-01 14:11:59 +01:00
Nawaz Dhandala
9dd4ac6f6b feat: Add error handling for message sending in Microsoft Teams and Slack integrations 2025-10-01 14:08:29 +01:00
Nawaz Dhandala
8b8f1ba530 fix: Ensure teamId is required for resolving channel names and sending messages in Microsoft Teams 2025-10-01 14:02:47 +01:00
Nawaz Dhandala
31e77d2208 feat: Add optional teamId to WorkspaceMessagePayload for Microsoft Teams integration 2025-10-01 13:53:38 +01:00
Nawaz Dhandala
c6e78a3264 fix: Update Buffer handling to use Uint8Array and ArrayBuffer for improved type safety 2025-10-01 12:51:16 +01:00
Nawaz Dhandala
c474d3b1e5 chore: update eslint-plugin-react to version 7.37.5 2025-09-30 20:30:54 +01:00
Nawaz Dhandala
3afbbfae5a fix: Update schema to allow null values for various string and object properties 2025-09-30 20:12:33 +01:00
Nawaz Dhandala
92c3c619ee refactor: Clean up code formatting and improve readability in Microsoft Teams components 2025-09-30 19:58:52 +01:00
Nawaz Dhandala
b65e28684e fix: Improve KEDA autoscaler condition checks for probes and enhance values.yaml structure 2025-09-30 19:53:51 +01:00
Nawaz Dhandala
dabf1464f2 fix: Update nodeSelector handling in multiple deployment templates for improved clarity and consistency 2025-09-30 19:33:51 +01:00
Nawaz Dhandala
9f618acc31 fix: Refactor security context handling for pods and containers to improve clarity and maintainability 2025-09-30 19:27:32 +01:00
Nawaz Dhandala
3dd4caeae9 feat: Update security context handling for various deployments 2025-09-30 19:23:18 +01:00
Nawaz Dhandala
1345693175 feat: Add pod and container security context support for PostgreSQL, ClickHouse, and Redis 2025-09-30 18:21:54 +01:00
Nawaz Dhandala
b5a422e8aa fix: Change oneuptimeSecret type from object to string and adjust encryptionSecret definition 2025-09-30 18:16:56 +01:00
Nawaz Dhandala
122773b0ba fix: Update comment for oneuptimeSecret to clarify string requirement 2025-09-30 18:16:16 +01:00
Nawaz Dhandala
cfc1d5d820 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-09-30 18:12:14 +01:00
Nawaz Dhandala
18d1df86d5 feat: Add pod and container security context support across deployments
- Updated deployment templates to merge podSecurityContext and containerSecurityContext from values.
- Enhanced the values schema and default values to include podSecurityContext and containerSecurityContext for various services.
- Ensured that security contexts are applied consistently across all relevant templates including accounts, admin-dashboard, api-reference, app, dashboard, docs, fluent-ingest, home, incoming-request-ingest, isolated-vm, nginx, open-telemetry-ingest, otel-collector, probe-ingest, server-monitor-ingest, status-page, test-server, worker, and workflow.
2025-09-30 18:12:11 +01:00
Nawaz Dhandala
4b65366080 feat: Merge nodeSelector values for various deployments in Helm templates 2025-09-30 17:52:19 +01:00
Nawaz Dhandala
74bb6acd62 feat: Add resources and nodeSelector fields to various components in values.yaml and values.schema.json 2025-09-30 17:47:06 +01:00
Simon Larsen
a47b0fe21d Merge pull request #2023 from calvinbui/master
helm: add deployment update strategy
2025-09-30 17:43:30 +01:00
Nawaz Dhandala
349e64e3a2 Merge branch 'yubikey-auth' 2025-09-30 17:14:39 +01:00
Nawaz Dhandala
0f64b49f9c refactor: Clean up code formatting and improve readability in various files 2025-09-30 17:14:23 +01:00
Nawaz Dhandala
1f8d4967ee refactor: Improve logging for email verification process 2025-09-30 17:07:44 +01:00
Nawaz Dhandala
e8b580ab4c refactor: Ensure TOTP and WebAuthn lists are always returned as arrays in fetchTotpAuthList 2025-09-30 17:04:32 +01:00
Nawaz Dhandala
866183d95a refactor: Rename two-factor authentication API endpoints to use TOTP terminology 2025-09-30 17:00:24 +01:00
Nawaz Dhandala
ca64843de0 refactor: Add validation for email and password in login function 2025-09-30 16:50:18 +01:00
Calvin Bui
d7427b9abe update values.schema.json 2025-09-30 23:43:05 +10:00
Calvin Bui
77537999b0 add deployment update strategy 2025-09-30 23:24:17 +10:00
Nawaz Dhandala
263c341792 refactor: Update login function to handle multiple two-factor authentication methods 2025-09-30 13:47:00 +01:00
Nawaz Dhandala
45b1dcbb7e refactor: Update WebAuthn verification API to use initial values and remove unused endpoint 2025-09-30 13:38:20 +01:00
Nawaz Dhandala
43e344dfb1 refactor: Update login function to check for both TOTP and WebAuthn verification 2025-09-30 13:34:20 +01:00
Nawaz Dhandala
e5b2e70ce2 refactor: Rename verifyTwoFactorAuth to verifyTotpAuth for consistency 2025-09-30 13:31:38 +01:00
Nawaz Dhandala
602383a720 refactor: Rename UserTwoFactorAuth table to UserTotpAuth in migration 2025-09-30 13:18:28 +01:00
Nawaz Dhandala
c10e691bf5 refactor: Remove UserTwoFactorAuth model and service in favor of TotpAuth implementation 2025-09-30 13:15:09 +01:00
Nawaz Dhandala
ab7c8c1df9 feat: Add UserWebAuthnAPI routes for authentication verification and update API paths 2025-09-30 13:13:45 +01:00
Nawaz Dhandala
72236b025f refactor: replace TwoFactorAuth with TotpAuth and update related implementations 2025-09-30 13:08:58 +01:00
Nawaz Dhandala
1c5c9ee3ad refactor: update UserWebAuthnAPI and UserWebAuthnService for improved type definitions and clarity 2025-09-30 13:06:46 +01:00
Nawaz Dhandala
352c923e74 refactor: rename UserTwoFactorAuth to UserTotpAuth and update related services, APIs, and models
- Replaced all instances of UserTwoFactorAuth with UserTotpAuth across the codebase.
- Updated API endpoints to reflect the new naming convention.
- Modified database models and services to accommodate the changes.
- Adjusted frontend components to utilize the new UserTotpAuth model.
- Ensured all references, imports, and exports are consistent with the new naming.
2025-09-30 13:02:32 +01:00
Nawaz Dhandala
d3ebbf1c88 feat: Add migration to remove two-factor authentication columns from User table 2025-09-30 12:51:09 +01:00
Simon Larsen
411a455d54 Merge branch 'yubikey-auth' of github.com:OneUptime/oneuptime into yubikey-auth 2025-09-30 12:47:44 +01:00
Nawaz Dhandala
4570d617b2 feat: Implement WebAuthn authentication verification and update login function to support multiple verification methods 2025-09-30 12:46:19 +01:00
Nawaz Dhandala
305094a8b2 feat: Refactor UserWebAuthnAPI and UserWebAuthnService to utilize service methods for registration and authentication options generation 2025-09-30 12:43:13 +01:00
Simon Larsen
b02d1da202 refactor: Simplify master admin status assignment in LoginUtil 2025-09-30 12:29:43 +01:00
Simon Larsen
1407a0fce9 feat: Replace loading spinner and error message with reusable components in LoginPage 2025-09-30 11:58:31 +01:00
Simon Larsen
836fb91cbe refactor: Update terminology to "Security Key-Based Two-Factor Authentication" for clarity and consistency 2025-09-30 11:55:07 +01:00
Simon Larsen
4c819ca906 feat: Move "Add Security Key" button to the right side of the security keys table for improved UI layout 2025-09-30 11:52:57 +01:00
Simon Larsen
3bd7fb7c59 refactor: Update terminology to "Authenticator Based Two Factor Authentication" for clarity and consistency 2025-09-30 11:51:38 +01:00
Simon Larsen
99e7193961 feat: Integrate Base64 encoding for WebAuthn challenge and credential handling in UserWebAuthnAPI and LoginPage 2025-09-30 11:49:23 +01:00
Simon Larsen
db10bba4d3 feat: Implement Base64 utility functions and integrate them into WebAuthn registration process 2025-09-30 11:47:48 +01:00
Simon Larsen
31a425d34d fix: Ensure security keys are always verified by default in UserWebAuthnService 2025-09-30 11:31:54 +01:00
Simon Larsen
7870406295 feat: Integrate WebAuthn verification in two-factor authentication checks 2025-09-30 11:31:40 +01:00
Simon Larsen
77de0a1116 feat: Upgrade Node.js base image to version 24.9-alpine3.21 in multiple Dockerfiles and remove debugging flag from nodemon configurations 2025-09-30 11:27:03 +01:00
Simon Larsen
f2da31a6f9 feat: Update package-lock.json to add new dependencies for testing and TypeScript 2025-09-29 21:40:34 +01:00
Simon Larsen
d36577069f feat: Add UserWebAuthn migration for WebAuthn credential management 2025-09-29 20:54:24 +01:00
Simon Larsen
4cdf959a01 fix: Update channel name comparison logic to use displayName for accurate matching 2025-09-29 20:21:12 +01:00
Simon Larsen
62adb3fd76 fix: Ensure team selection is required for Microsoft Teams integration in notification rules 2025-09-29 20:13:56 +01:00
Simon Larsen
5bc6e67c21 refactor: Enhance button styles and update team item display in TeamsAvailableModal 2025-09-29 20:07:13 +01:00
Simon Larsen
d7e86a56e6 refactor: Remove search functionality and simplify team list display in TeamsAvailableModal 2025-09-29 19:56:19 +01:00
Simon Larsen
c2b569c13a feat: Implement TeamsAvailableModal for improved team selection in Microsoft Teams integration 2025-09-29 19:41:06 +01:00
Simon Larsen
6d6555396a fix: Correct API URL handling in Microsoft Teams integration 2025-09-29 19:19:42 +01:00
Simon Larsen
13018c8169 refactor: Update API URL handling for Microsoft Teams integration 2025-09-29 19:14:53 +01:00
Simon Larsen
82f462785b feat: Add modal to display and refresh Microsoft Teams list in integration 2025-09-29 19:08:44 +01:00
Simon Larsen
9f21725949 refactor: Simplify teams retrieval by removing redundant checks and updating refresh logic 2025-09-29 17:37:19 +01:00
Nawaz Dhandala
82bee44933 Refactor Microsoft Teams integration code for improved type safety and clarity
- Added type annotations for various variables and constants in Incident, Monitor, ScheduledMaintenance, and MicrosoftTeams actions.
- Enhanced type definitions for JSON-related imports and improved handling of JSON values.
- Updated methods to ensure consistent use of types across the Microsoft Teams integration.
- Refactored message formatting in incident and monitor details to explicitly define message types.
- Improved readability and maintainability of the code by restructuring some conditional statements and variable declarations.
- Ensured proper handling of project authentication and access tokens with clearer logging and error handling.
2025-09-29 17:22:05 +01:00
Nawaz Dhandala
b67c702d4d Refactor Microsoft Teams integration components and improve code readability
- Removed unnecessary blank lines in Workspace.ts and MicrosoftTeamsIntegration.tsx.
- Reformatted function parameters for better readability in WorkspaceType.ts.
- Simplified imports in MicrosoftTeamsIntegration.tsx and NotificationRuleForm.tsx.
- Enhanced conditional checks for better clarity in NotificationRuleForm.tsx and NotificationRuleViewElement.tsx.
- Improved formatting and consistency in MicrosoftTeamsIntegrationDocumentation.tsx.
- Updated state management and conditional rendering in WorkspaceNotificationRulesTable.tsx.
- Ensured consistent use of line breaks and indentation across various components for improved maintainability.
2025-09-29 16:59:33 +01:00
Simon Larsen
e5017908ae Merge pull request #2006 from OneUptime/v4-ms-teams
feat: Add Microsoft Teams integration with configuration and action t…
2025-09-29 16:58:25 +01:00
Simon Larsen
eff87e1705 feat: Implement method to retrieve user's joined teams in Microsoft Teams integration 2025-09-29 16:50:27 +01:00
Simon Larsen
9fabdbbb2b feat: Add method to refresh teams list for a user in Microsoft Teams integration 2025-09-29 16:43:48 +01:00
Simon Larsen
56908674bb feat: Add endpoint to refresh teams list in Microsoft Teams API 2025-09-29 16:43:02 +01:00
Simon Larsen
9fe3fb041e feat: Add refresh teams functionality and loading state in Microsoft Teams integration 2025-09-29 16:35:19 +01:00
Simon Larsen
46d3bf527b feat: Update team selection titles and labels in NotificationRuleForm for clarity 2025-09-29 16:28:30 +01:00
Simon Larsen
06e11aa8d7 feat: Update card title for admin consent status in Microsoft Teams integration 2025-09-29 16:23:58 +01:00
Simon Larsen
acd9a87694 feat: Update card title for manual app installation prompt in Microsoft Teams 2025-09-29 16:21:42 +01:00
Simon Larsen
9a4f799145 feat: Remove channelCache from MicrosoftTeamsMiscData interface 2025-09-29 15:29:45 +01:00
Simon Larsen
edd067f79f feat: Add tenantId handling in Microsoft Teams request and auth token retrieval 2025-09-29 14:45:20 +01:00
Simon Larsen
36b6b8423a feat: Simplify Microsoft Teams data loading by removing unnecessary try-catch block 2025-09-29 14:41:01 +01:00
Simon Larsen
81c558dc21 feat: Refactor Microsoft Teams integration to use MicrosoftTeamsTeam type for improved type safety 2025-09-29 14:38:18 +01:00
Simon Larsen
a23d585ec6 feat: Update teamId handling in Microsoft Teams channel existence check 2025-09-29 14:32:27 +01:00
Simon Larsen
c193bd71d7 feat: Replace SlackMiscData with WorkspaceMiscData in refreshAuthToken method 2025-09-29 14:27:36 +01:00
Simon Larsen
b1791602c8 feat: Define WorkspaceMiscData type to unify Slack and Microsoft Teams miscellaneous data structures 2025-09-29 14:26:40 +01:00
Simon Larsen
e98059e4ee feat: Add optional teamId parameter to workspace channel methods for improved Microsoft Teams integration 2025-09-29 14:26:32 +01:00
Simon Larsen
371ba8f414 feat: Enhance Microsoft Teams integration by adding teamId support and fetching available teams 2025-09-29 14:20:19 +01:00
Simon Larsen
a271ba2cd9 feat: Add MicrosoftTeamsTeam interface and availableTeams property to MicrosoftTeamsMiscData 2025-09-29 14:10:26 +01:00
Simon Larsen
a337065c4f feat: Remove unused imports from MicrosoftTeamsIntegration component 2025-09-29 13:42:47 +01:00
Simon Larsen
22479a6f9e feat: Add teamId support for notification channels and update related interfaces 2025-09-29 13:41:56 +01:00
Simon Larsen
29051c3010 feat: Simplify Microsoft Teams integration by removing team selection logic and updating connection messages 2025-09-29 13:40:36 +01:00
Simon Larsen
aaa29c87ca feat: Rename microsoftTeams prop to microsoftTeamsTeams for clarity 2025-09-29 13:38:46 +01:00
Simon Larsen
0385dc7ac8 feat: Add Microsoft Teams team selection for existing and new channel creation in notification rules 2025-09-29 13:38:31 +01:00
Simon Larsen
d55e354a07 feat: Update instructions for building and compiling with proper formatting and clarity 2025-09-29 13:35:08 +01:00
Nawaz Dhandala
20716b7c7e feat: Refactor WebAuthn integration in login and user management components for improved readability and maintainability 2025-09-29 13:07:48 +01:00
Nawaz Dhandala
86143d1585 feat: Add WebAuthn support to the login page for enhanced two-factor authentication 2025-09-29 13:01:57 +01:00
Nawaz Dhandala
214915528b feat: Implement UserWebAuthn model and API for WebAuthn credential management 2025-09-29 13:00:52 +01:00
Nawaz Dhandala
9b24ff50ec feat: Enhance two-factor authentication by integrating WebAuthn support and updating fetch function to return webAuthnList 2025-09-29 12:55:33 +01:00
Nawaz Dhandala
9caeb34f63 feat: Add WebAuthn support for two-factor authentication
- Introduced new API paths for generating and verifying WebAuthn authentication options.
- Integrated UserWebAuthnAPI into the BaseAPI feature set.
- Added UserWebAuthn model to the database models.
- Implemented UserWebAuthnService for handling WebAuthn-related database operations.
- Updated the User Profile page to include functionality for managing WebAuthn security keys.
- Added UI components for registering and displaying WebAuthn security keys.
- Included necessary dependencies for WebAuthn functionality in package.json and package-lock.json.
2025-09-29 12:54:44 +01:00
Simon Larsen
368f33db24 feat: Enhance bot message handling by checking for direct messages and mentions 2025-09-29 11:40:26 +01:00
Simon Larsen
5d7a18cbe2 feat: Integrate getWorkspaceTypeDisplayName for improved workspace type display in notification rules 2025-09-29 11:21:25 +01:00
Simon Larsen
19f663d0fd feat: Simplify form card hiding by using deleteActivity method in Microsoft Teams actions 2025-09-29 11:16:49 +01:00
Simon Larsen
d857024fbe feat: Update activity text to ensure proper form card hiding in Microsoft Teams actions 2025-09-29 10:51:45 +01:00
Simon Larsen
027d766e03 feat: Hide form card after adding notes and executing actions in Microsoft Teams alert, incident, and scheduled maintenance actions 2025-09-29 10:49:19 +01:00
Simon Larsen
e7599c2202 feat: Add null handling for on-call policy cards in MicrosoftTeamsAlertActions and MicrosoftTeamsIncidentActions 2025-09-29 10:42:12 +01:00
Simon Larsen
703b525310 feat: Enhance Microsoft Teams actions with new incident and alert functionalities, including viewing and submitting notes, executing on-call policies, and changing states 2025-09-29 09:52:27 +01:00
Simon Larsen
534882bc17 feat: Add new incident note actions for viewing and submitting notes in MicrosoftTeamsIncidentActionType 2025-09-27 13:12:05 +01:00
Simon Larsen
bdb2170663 refactor: Consolidate incident action handling into MicrosoftTeamsIncidentActions class 2025-09-27 13:04:24 +01:00
Simon Larsen
dffb11b304 fix: Correct casing for incident action type values in MicrosoftTeamsIncidentActionType enum 2025-09-27 12:44:51 +01:00
Simon Larsen
4e5386fccf fix: Normalize incident action type values and improve logging in MicrosoftTeamsUtil 2025-09-27 12:09:01 +01:00
Simon Larsen
6c11fbf850 fix: Remove fallback text for accessibility in adaptive card message handling 2025-09-27 11:50:08 +01:00
Simon Larsen
f713eb7546 fix: Improve error handling for missing AAD Object ID in Teams bot invoke activity 2025-09-27 11:22:24 +01:00
Simon Larsen
0d1f07b5ae feat: Add method to extract action type and value from Teams Adaptive Card submits 2025-09-27 11:15:38 +01:00
Simon Larsen
ffcaaf213f fix: Simplify action type mapping in MicrosoftTeamsUtil and improve logging 2025-09-27 11:08:25 +01:00
Simon Larsen
b05a0619fb feat: Enhance MicrosoftTeamsUtil to support adaptive card actions and improve message handling 2025-09-27 10:59:20 +01:00
Simon Larsen
cbd4d26189 feat: Add helm template command to generate Kubernetes manifests in release workflow 2025-09-27 10:30:06 +01:00
Simon Larsen
1f24a79a8a fix: Update JSON schema to include commonConfiguration and allow additional properties for cert-manager 2025-09-27 10:24:03 +01:00
Simon Larsen
94227a103d feat: Add comprehensive JSON schema for OneUptime Helm chart configuration, defining properties for various components including global settings, database configurations, and service parameters. 2025-09-27 10:20:22 +01:00
Simon Larsen
cd1bf5befe fix: Enhance markdown handling in MicrosoftTeamsUtil to clean up links and bold markers for better rendering 2025-09-26 18:02:22 +01:00
Simon Larsen
e50e75b009 fix: Replace LIMIT_PER_PROJECT with a fixed limit of 10 for query results in MicrosoftTeams utility 2025-09-26 17:50:13 +01:00
Simon Larsen
9656fbdae4 feat: Enhance Microsoft Teams bot with new commands for active incidents, scheduled maintenance, ongoing maintenance, and active alerts 2025-09-26 17:45:24 +01:00
Simon Larsen
1004251175 fix: Update Microsoft Teams app type to single-tenant and adjust bot adapter initialization for tenant-specific handling 2025-09-26 15:08:53 +01:00
Simon Larsen
5c70aea851 fix: Update import for ConfigurationBotFrameworkAuthenticationOptions and type definition for authConfig in MicrosoftTeamsUtil 2025-09-26 15:02:51 +01:00
Simon Larsen
25d5cc2a47 refactor: Remove HomeClientUrl export from EnvironmentConfig for code clarity 2025-09-26 14:38:40 +01:00
Simon Larsen
b6802bf949 Merge branch 'master' into v4-ms-teams 2025-09-26 14:23:46 +01:00
Simon Larsen
5af14af52a feat: Add EnableWorkflow decorator to OnCallDutyPolicy models for enhanced access control 2025-09-26 14:20:47 +01:00
Nawaz Dhandala
fffe84526e refactor: Clean up logging statements in ScheduledMaintenanceService.ts for improved clarity 2025-09-25 19:46:39 +01:00
Simon Larsen
e776186070 feat: Enhance logging for scheduled maintenance notifications with detailed debug information 2025-09-25 19:45:51 +01:00
Nawaz Dhandala
0f4f974d04 refactor: Remove unnecessary blank lines in SCIM.ts and TeamMemberService.ts for improved code clarity 2025-09-25 19:35:41 +01:00
Simon Larsen
22ecea6381 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-09-25 19:32:22 +01:00
Simon Larsen
d9ad2e3036 refactor: Remove ignoreHooks property from team member operations and adjust SCIM checks for root users 2025-09-25 19:32:19 +01:00
Nawaz Dhandala
42e60213c6 refactor: Improve code formatting and readability in SCIM.ts 2025-09-25 19:22:27 +01:00
Simon Larsen
6817a0759a feat: Add enablePushGroups option to SCIM configuration for enhanced group management 2025-09-25 19:21:49 +01:00
Nawaz Dhandala
963e2ffc6d refactor: Update SCIM check function signature and type annotations in TeamView and Users components 2025-09-25 16:36:25 +01:00
Nawaz Dhandala
5c2c50ecc6 refactor: Improve code formatting and readability in ScheduledMaintenanceService, TeamMemberService, TeamView, and Users components 2025-09-25 16:32:38 +01:00
Simon Larsen
1bb4e77075 Merge branch 'scim-push' 2025-09-25 16:26:30 +01:00
Simon Larsen
1f22c231d6 feat: Update SCIM error modal title for clarity on user management 2025-09-25 15:21:00 +01:00
Simon Larsen
4b3baa9ad3 feat: Add SCIM error modal to prevent user invitations when SCIM is enabled 2025-09-25 15:14:07 +01:00
Simon Larsen
503728345f feat: Implement SCIM checks in TeamView and Teams to restrict member invitations and deletions when SCIM is enabled 2025-09-25 15:11:19 +01:00
Nawaz Dhandala
958b6bf72c fix: Improve notification settings handling for scheduled maintenance updates 2025-09-25 14:40:27 +01:00
Simon Larsen
6bb5ec12f5 feat: Implement SCIM checks in TeamMemberService to prevent member invitations and deletions when SCIM is enabled 2025-09-25 14:23:30 +01:00
Simon Larsen
30b2b63b9b feat: Enhance user creation process in SCIM by integrating auto-provisioning and team assignment logic 2025-09-25 13:56:37 +01:00
Simon Larsen
6c37290f49 feat: Refactor user existence checks in SCIM team operations for improved clarity and efficiency 2025-09-25 13:26:30 +01:00
Nawaz Dhandala
b19302f8b9 feat: Refactor SCIM member handling to use SCIMMember type for improved type safety 2025-09-25 13:03:06 +01:00
Nawaz Dhandala
acd0629791 chore: update eslint and typescript-eslint dependencies to latest versions 2025-09-25 12:54:45 +01:00
Nawaz Dhandala
3fa1aebceb chore: update eslint and eslint-plugin-unused-imports dependencies
- upgraded eslint-plugin-unused-imports from 3.2.0 to 4.1.0
- downgraded eslint from 9.36.0 to 8.57.1
- updated typescript-eslint packages to use scoped package names
2025-09-25 12:51:54 +01:00
Simon Larsen
1d6a645241 chore: update dependencies for eslint and typescript
- upgraded eslint from ^8.57.0 to ^9.36.0
- upgraded typescript from ^5.8.3 to ^5.9.2
- upgraded typescript-eslint from ^8.33.1 to ^8.44.1
2025-09-25 12:47:23 +01:00
Simon Larsen
922e30f162 feat: Add MigrationName1758798730753 to schema migrations 2025-09-25 12:13:02 +01:00
Simon Larsen
73beb80056 feat: Add enablePushGroups column to ProjectSCIM for SCIM provisioning 2025-09-25 12:12:48 +01:00
Simon Larsen
72fd74862c feat: Add conditional display for Teams based on enablePushGroups setting in SCIM configuration 2025-09-25 12:02:42 +01:00
Simon Larsen
13d403ecf8 feat: Add enablePushGroups option to SCIM configuration for group provisioning 2025-09-25 12:02:29 +01:00
Simon Larsen
30bca619dd feat: Add enablePushGroups configuration to ProjectSCIM for SCIM provisioning 2025-09-25 11:59:08 +01:00
Simon Larsen
f969adba9c fix: Update Okta integration instructions for SCIM application setup 2025-09-25 11:46:58 +01:00
Simon Larsen
b42abc6e42 Merge branch 'master' into scim-push 2025-09-25 11:26:10 +01:00
Simon Larsen
7ec183f9e9 fix: Add Cert-Manager configuration instructions for Let's Encrypt in README 2025-09-25 11:18:16 +01:00
Simon Larsen
d33c739372 fix: Correct secretName assignment logic for TLS hosts in ingress template 2025-09-24 21:55:07 +01:00
Simon Larsen
d8e12daec5 fix: Update ingress and cluster-issuer templates for ACME challenge handling 2025-09-24 21:26:55 +01:00
Simon Larsen
2a54cfc527 fix: Add ACME certificate profile to ClusterIssuer configuration 2025-09-24 20:51:15 +01:00
Simon Larsen
c0241a2e20 refactor: Update Cert-Manager integration in README and templates for clarity and consistency 2025-09-24 11:32:45 +01:00
Simon Larsen
e32d7cb368 fix: Add note to enable cert-manager before Let's Encrypt configuration 2025-09-24 11:28:16 +01:00
Simon Larsen
4dec1290e8 refactor: Update cert-manager configuration to use new naming convention for Let's Encrypt settings 2025-09-24 11:21:41 +01:00
Simon Larsen
04f6493a6d Refactor code structure for improved readability and maintainability 2025-09-24 11:19:15 +01:00
Simon Larsen
f113e84aa5 fix: Remove cert-manager CRDs installation option from values.yaml 2025-09-24 11:09:45 +01:00
Simon Larsen
57f764b92a refactor: Update cert-manager configuration to use index for improved clarity 2025-09-24 11:03:03 +01:00
Simon Larsen
c4c7d10d16 Add ClusterIssuer configuration for cert-manager with Let's Encrypt support
- Introduced a new template for ClusterIssuer in the Helm chart.
- Configured ACME server and email for Let's Encrypt.
- Set up HTTP01 solver with ingress class from values.
2025-09-24 10:47:34 +01:00
Simon Larsen
00ba94f372 feat: Include status page ID in SEO response for improved tracking 2025-09-24 10:35:52 +01:00
Simon Larsen
f85f41ffa9 fix: Ensure non-null assertion for repeatableJobs when adding job 2025-09-23 21:45:51 +01:00
Simon Larsen
21dfcdfa63 Merge pull request #2017 from OneUptime/queue-readd
feat: Implement repeatable job handling on queue reconnection; add lo…
2025-09-23 21:13:12 +01:00
Nawaz Dhandala
c818decfc8 refactor: Enhance type definitions and error handling in reconnect listener setup 2025-09-23 21:04:55 +01:00
Simon Larsen
1386fef470 refactor: Extract reconnect listener setup into a separate method for improved readability and error handling 2025-09-23 21:01:25 +01:00
Simon Larsen
4c0cbc17a2 refactor: Update queue event listener to use async IIFE for improved readability and reliability 2025-09-23 20:53:38 +01:00
Simon Larsen
3c42447b41 Merge branch 'master' into queue-readd 2025-09-23 20:44:26 +01:00
Simon Larsen
e31f616dc1 Merge pull request #2016 from OneUptime/sp-rss
Sp rss
2025-09-23 20:39:23 +01:00
Nawaz Dhandala
cfbb65f7ae refactor: Replace inline type definitions with RSSItem type for improved readability and consistency 2025-09-23 20:31:54 +01:00
Nawaz Dhandala
52c42dae1e refactor: Enhance type annotations for getStatusPageData and handleRSS functions; streamline code structure 2025-09-23 20:30:21 +01:00
Simon Larsen
d838d377a0 feat: Add HomeClientUrl to EnvironmentConfig and update RSS feed URL generation to use HttpProtocol 2025-09-23 20:22:56 +01:00
Simon Larsen
3a6f8b4c95 feat: Add atom link and guid to RSS feed XML generation 2025-09-23 20:17:37 +01:00
Simon Larsen
1039bd9f0b feat: Implement RSS feed handling and status page data retrieval logic 2025-09-23 20:16:20 +01:00
Nawaz Dhandala
5f84c7195c feat: Implement repeatable job handling on queue reconnection; add logging for job re-addition 2025-09-23 20:13:54 +01:00
Nawaz Dhandala
9597f66ab1 refactor: Improve type annotations for TeamComplianceStatusTable component; remove unnecessary line in SendStateChangeNotification 2025-09-23 19:37:16 +01:00
Simon Larsen
1562f8ee6a fix: Update @oneuptime/common and axios versions in package-lock.json; modify compile command to include npm update 2025-09-23 19:34:01 +01:00
Simon Larsen
11b0477cd6 fix: Add validation for projectId and scheduledMaintenanceId in getDashboardUrl method; include projectId in scheduled maintenance selection 2025-09-23 19:30:41 +01:00
Simon Larsen
174694e040 fix: Update axios version in package-lock.json and clean up unused imports in TeamComplianceStatusTable and TeamView 2025-09-23 19:24:12 +01:00
Simon Larsen
f5664116b9 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-09-23 18:14:41 +01:00
Simon Larsen
0eb502b77a Merge branch 'master' into release 2025-09-23 18:14:20 +01:00
Nawaz Dhandala
1460521dc0 fix: Add type annotation for complianceStatusTableRef in TeamView 2025-09-23 18:14:03 +01:00
Nawaz Dhandala
e73c8bca16 refactor: Improve code readability by formatting user name assignment and useImperativeHandle in TeamComplianceStatusTable and TeamView 2025-09-23 18:10:43 +01:00
Simon Larsen
a0fef8df3d feat: Update notification method labels for clarity in TeamView 2025-09-23 17:16:43 +01:00
Simon Larsen
1821377dfa feat: Add refresh functionality to TeamComplianceStatusTable and integrate with TeamView 2025-09-23 17:13:22 +01:00
Simon Larsen
ac2c501058 feat: Refactor TeamComplianceStatusTable rendering and integrate Card component for better UI structure 2025-09-23 17:04:28 +01:00
Simon Larsen
3ce3d1ee65 feat: Improve loading and empty state handling in TeamComplianceStatusTable 2025-09-23 17:00:52 +01:00
Simon Larsen
ad17e49177 feat: Enhance user name retrieval in compliance status to include email as fallback 2025-09-23 16:58:50 +01:00
Simon Larsen
18389a0c31 feat: Update ComplianceRuleType enum values for consistency and clarity 2025-09-23 13:19:49 +01:00
Nawaz Dhandala
9d04975759 feat: Update migration for ruleType column in TeamComplianceSetting and improve notification rule labels in TeamView 2025-09-23 13:14:13 +01:00
Simon Larsen
3bb9b3d78b feat: Replace migration for ruleType column in TeamComplianceSetting and update OnCallDutyPolicyScheduleLayer defaults 2025-09-23 13:13:35 +01:00
Simon Larsen
ddfae282e6 Merge branch 'team-compliacne-rules' 2025-09-23 13:09:56 +01:00
Simon Larsen
02663bb33a feat: Change ruleType column type to LongText for improved compliance rule descriptions 2025-09-23 13:08:35 +01:00
Simon Larsen
6cb1a49128 feat: Update notification rule labels in TeamView for clarity 2025-09-23 13:07:53 +01:00
Nawaz Dhandala
4bcddf860c feat: Enhance TeamComplianceAPI and TeamComplianceService to include user compliance statuses and improve type safety 2025-09-23 13:05:34 +01:00
Nawaz Dhandala
d8d4593d38 feat: Refactor code for improved readability and maintainability across multiple files 2025-09-23 12:57:28 +01:00
Simon Larsen
f76381525f Merge pull request #2015 from OneUptime/team-compliacne-rules
Team compliance rules
2025-09-23 12:55:47 +01:00
Simon Larsen
91abb2318b feat: Add migration for unique index on teamId and ruleType in TeamComplianceSetting and update OnCallDutyPolicyScheduleLayer defaults 2025-09-23 12:55:14 +01:00
Simon Larsen
3a9e695336 feat: Add unique index on teamId and ruleType in TeamComplianceSetting and implement validation in TeamComplianceSettingService 2025-09-23 12:54:25 +01:00
Simon Larsen
e270c5d70a feat: Enhance compliance checks by aggregating missing notification rules for incident and alert severities 2025-09-23 12:45:27 +01:00
Simon Larsen
b40e88e8ec feat: Add userProfilePictureId to UserComplianceStatus and update rendering in TeamComplianceStatusTable 2025-09-23 12:38:26 +01:00
Simon Larsen
2173ed288a feat: Refactor TeamComplianceStatusTable to use LocalTable component for improved rendering 2025-09-23 12:28:44 +01:00
Simon Larsen
82669c8f23 feat: Update API endpoint for fetching team compliance status and add common headers 2025-09-23 12:25:51 +01:00
Simon Larsen
b093a730ab feat: Add migration for TeamComplianceSetting table and related constraints 2025-09-23 12:15:20 +01:00
Simon Larsen
8700068468 feat: Enhance compliance checks by integrating incident and alert severity notification rules 2025-09-23 12:08:47 +01:00
Simon Larsen
13e322944b feat: Implement TeamComplianceService for managing team compliance status and user notifications 2025-09-23 12:02:11 +01:00
Simon Larsen
62aecc6e9f feat: Add Team Compliance Settings and Status tables to TeamView 2025-09-23 12:00:13 +01:00
Nawaz Dhandala
61eca28545 Merge branch 'release' of https://github.com/OneUptime/oneuptime into release 2025-09-23 11:56:14 +01:00
Nawaz Dhandala
c289027efc fix: Implement retry mechanism for npm prerun command in workflow files to enhance reliability 2025-09-23 11:55:46 +01:00
Simon Larsen
ecdae56ffa feat: Add TeamComplianceStatusTable component for displaying team compliance status 2025-09-23 11:49:40 +01:00
Nawaz Dhandala
005536633c fix: Implement retry mechanism for Dockerfile generation to enhance reliability 2025-09-23 11:48:52 +01:00
Simon Larsen
d1ec1d6936 feat: Implement TeamComplianceAPI for retrieving team compliance status 2025-09-23 11:48:07 +01:00
Simon Larsen
6f68629f29 feat: Add TeamComplianceAPI to BaseAPIFeatureSet for compliance management 2025-09-23 11:46:18 +01:00
Simon Larsen
8af4bece10 feat: Add TeamComplianceSetting model and service with compliance rule types 2025-09-23 11:25:16 +01:00
Simon Larsen
18a0d6ab26 Merge branch 'master' into v4-ms-teams 2025-09-22 12:58:52 +01:00
Simon Larsen
6d73bb8a12 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-09-22 12:56:31 +01:00
Simon Larsen
85b0f47be1 feat: Add Code of Conduct page and link in legal section 2025-09-22 12:55:41 +01:00
Simon Larsen
cc3596fc8e fix: Enhance adaptive card sending via Bot Framework with improved error handling and accessibility features 2025-09-22 11:26:02 +01:00
Simon Larsen
654367dbd8 fix: Refactor bot user ID handling and ensure fallback for undefined user ID in message sending 2025-09-22 10:44:08 +01:00
Simon Larsen
e5ccdc1a56 fix: Enhance access token expiration handling in Microsoft Teams utility 2025-09-22 10:33:27 +01:00
Simon Larsen
84389212f6 fix: Update Microsoft Teams app version to 1.1.0 in API manifest 2025-09-21 19:52:10 +01:00
Simon Larsen
5b01c202eb fix: Update Microsoft Teams API permissions for channel message and creation handling 2025-09-21 19:47:42 +01:00
Simon Larsen
153ee4fc20 fix: Update Microsoft Teams API permissions to include ChannelMessage.Send and additional channel-related permissions 2025-09-21 16:56:57 +01:00
Simon Larsen
03e176794e fix: Update Microsoft Teams app version to 2.1.0 and enhance permissions for message team members 2025-09-21 16:08:46 +01:00
Simon Larsen
9783f4897c fix: Correct indentation for Group.Read.All permission in Microsoft Teams integration documentation 2025-09-21 16:03:39 +01:00
Simon Larsen
928f6457bc fix: Update Microsoft Teams API to use Teams API for fetching available teams and add documentation for Group.Read.All permission 2025-09-21 16:00:39 +01:00
Simon Larsen
b628bd3ad1 fix: Enhance Microsoft Teams integration by updating project connection logic and handling admin consent state 2025-09-21 15:46:29 +01:00
Simon Larsen
dba0d69f63 fix: Update admin consent installation instructions for clarity in Microsoft Teams integration 2025-09-21 15:34:12 +01:00
Simon Larsen
64c203259a fix: Move admin consent card rendering to the bottom for improved UI flow in Microsoft Teams integration 2025-09-21 15:32:06 +01:00
Simon Larsen
25ec5c8df0 fix: Update admin consent button titles for clarity in Microsoft Teams integration 2025-09-21 15:31:46 +01:00
Simon Larsen
22270c62f4 fix: Remove admin consent reminder UI when consent is completed in Microsoft Teams integration 2025-09-21 15:31:14 +01:00
Simon Larsen
bb7176252c fix: Ensure loading state is updated correctly in error handling of Microsoft Teams integration 2025-09-21 15:30:53 +01:00
Simon Larsen
97f62b1458 fix: Remove unnecessary return statement in error handling of Microsoft Teams integration 2025-09-21 15:28:13 +01:00
Simon Larsen
5eb333ccfc feat: Update admin consent handling in Microsoft Teams integration 2025-09-21 15:15:33 +01:00
Simon Larsen
bd05afb0a7 feat: Implement admin consent handling and UI updates in Microsoft Teams integration 2025-09-21 14:57:53 +01:00
Simon Larsen
96e6780e7b feat: Enhance project auth token handling in Microsoft Teams integration 2025-09-21 14:54:06 +01:00
Simon Larsen
5e8ed144ae feat: Update title for manual app installation in Microsoft Teams integration 2025-09-21 14:39:27 +01:00
Simon Larsen
588ff245ec feat: Add admin consent callback URL to Microsoft Teams integration documentation 2025-09-21 14:38:17 +01:00
Simon Larsen
02cef807ea feat: Add scope parameter to admin consent URL for Microsoft Teams integration 2025-09-21 14:36:23 +01:00
Simon Larsen
041ffdfbe0 Merge pull request #2014 from OneUptime/master
Release
2025-09-21 14:31:24 +01:00
Simon Larsen
e2c362a5b3 feat: Add admin consent flow for Microsoft Teams integration with callback handling 2025-09-21 13:13:37 +01:00
Simon Larsen
000ff4ad45 refactor: Update API post call to use object syntax for improved clarity 2025-09-21 12:52:54 +01:00
Simon Larsen
064e16cc6f refactor: Improve API call syntax and remove unnecessary comments for better readability 2025-09-21 12:37:10 +01:00
Simon Larsen
fbc6b8fa48 fix: Correct typos and improve clarity in Microsoft Teams integration documentation 2025-09-20 10:05:01 +01:00
Simon Larsen
4e0935873d Merge branch 'master' into v4-ms-teams 2025-09-20 09:50:20 +01:00
Nawaz Dhandala
35a40a431e fix: Correct balance display logic to ensure accurate message for negative balances 2025-09-20 09:24:02 +01:00
Simon Larsen
d24c245b4a refactor: Update API post calls to use structured object syntax for improved readability 2025-09-20 09:23:11 +01:00
Simon Larsen
99f59f2f1e refactor: Update API call to use object destructuring for contributors request 2025-09-20 09:20:11 +01:00
Simon Larsen
c558eb578f refactor: Update API call syntax to use object destructuring for improved readability 2025-09-19 23:01:16 +01:00
Simon Larsen
97380a5410 Merge branch 'master' into v4-ms-teams 2025-09-19 22:58:45 +01:00
Simon Larsen
462f40680e fix: Update balance display logic to show message for negative balances 2025-09-19 22:58:16 +01:00
Simon Larsen
8a11dbe35b fix: Change sort order of createdAt to descending in StatusPageAPI 2025-09-19 22:47:34 +01:00
Nawaz Dhandala
d2c1467a07 refactor: Simplify API call syntax and improve code readability across multiple files 2025-09-19 22:37:25 +01:00
Simon Larsen
ff57061190 Refactor API calls to use new request structure
- Updated API.post and API.get calls across multiple components to use the new object structure for requests, including specifying `url`, `data`, and `headers` explicitly.
- This change improves code readability and consistency in how API requests are made throughout the application.
2025-09-19 22:36:05 +01:00
Simon Larsen
63f1034f4a refactor: Update API calls to use object destructuring for parameters in multiple components 2025-09-19 22:19:50 +01:00
Simon Larsen
87ddec9e6c refactor: Update API method calls to use object destructuring for parameters 2025-09-19 22:15:02 +01:00
Simon Larsen
b2ea52e549 refactor: Simplify API method signatures by consolidating parameters into a single options object 2025-09-19 22:01:25 +01:00
Simon Larsen
92bb753cbf fix: Update API call in Billing settings to use undefined for data parameter 2025-09-19 21:51:36 +01:00
Simon Larsen
7428e75643 refactor: Remove inheritance from BaseAPI and restructure BillingAPI class 2025-09-19 21:45:29 +01:00
Simon Larsen
0a2ed040f0 feat: Add discountPercent field to Project model and corresponding migration 2025-09-19 21:33:48 +01:00
Simon Larsen
ded0aba399 feat: Implement customer balance retrieval in BillingAPI and update Billing settings page to display balance 2025-09-19 21:25:52 +01:00
Simon Larsen
0658248535 refactor: Remove dark mode styles from BarChart and LineChart components for consistency 2025-09-19 21:10:41 +01:00
Simon Larsen
6cf2d842ad Merge branch 'master' of github.com:OneUptime/oneuptime 2025-09-19 21:02:46 +01:00
Simon Larsen
4a6bf95ef3 refactor: Simplify styles in LogsViewer and LegendItem components for cleaner UI 2025-09-19 21:02:41 +01:00
Nawaz Dhandala
af7835fc8a refactor: Improve code formatting and readability in various service and utility files 2025-09-19 20:58:32 +01:00
Nawaz Dhandala
5e7ed2be73 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-09-19 20:57:56 +01:00
Nawaz Dhandala
11894d0ba5 Refactor API calls to use unified request structure
- Updated MicrosoftTeams and Slack classes to use the new API.post structure with url and data properties.
- Refactored API utility methods to accept a single options object for HTTP requests, improving consistency across the codebase.
- Modified various service and utility classes (e.g., CopilotPullRequestService, CodeRepositoryUtil, and ApiMonitor) to align with the new API request format.
- Enhanced error handling and logging for API responses.
- Updated tests to accommodate changes in API method signatures.
2025-09-19 20:57:54 +01:00
Simon Larsen
8bb92bbeb3 docs: Clarify server restart instructions in Microsoft Teams integration documentation 2025-09-19 15:58:58 +01:00
Simon Larsen
a50af21ce0 docs: Revise Microsoft Teams integration documentation for app manifest upload steps and server restart instructions 2025-09-19 15:57:55 +01:00
Simon Larsen
df29ed2b78 docs: Update Microsoft Teams integration documentation to clarify app registration details and configuration steps 2025-09-19 15:44:39 +01:00
Simon Larsen
58cba788fc docs: Update Microsoft Teams integration documentation to correct bot service creation steps 2025-09-19 15:37:02 +01:00
Simon Larsen
760044f603 docs: Add clarification on secret value usage in Microsoft Teams integration documentation 2025-09-19 15:36:08 +01:00
Simon Larsen
fb099a1c3e refactor: Remove redundant notes on Microsoft Teams permissions for clarity 2025-09-19 15:35:41 +01:00
Simon Larsen
32692bc939 docs: Enhance Microsoft Teams integration documentation with detailed permissions information 2025-09-19 15:35:21 +01:00
Simon Larsen
c514b9cb74 refactor: Update Microsoft Teams integration documentation for clarity and accuracy 2025-09-19 15:17:12 +01:00
Simon Larsen
5d44943958 fix: Update Microsoft Teams app registration details for clarity and accuracy 2025-09-19 15:15:44 +01:00
Simon Larsen
df4138e5d3 Merge branch 'master' into v4-ms-teams 2025-09-19 14:56:04 +01:00
Simon Larsen
51777709f3 Revert "refactor: Enhance email template styles and structure for improved readability and aesthetics"
This reverts commit 43b6fdf45d.
2025-09-19 13:47:49 +01:00
Simon Larsen
f7416bb0a6 feat: Add alertId and incidentId to notification payloads for enhanced tracking 2025-09-19 12:46:53 +01:00
Simon Larsen
43b6fdf45d refactor: Enhance email template styles and structure for improved readability and aesthetics 2025-09-19 12:35:44 +01:00
Simon Larsen
818995a6ae feat: enhance bot authentication configuration for multi-tenant Microsoft Teams apps 2025-09-18 21:02:48 +01:00
Simon Larsen
38fa1ba9f8 refactor: streamline message handling by utilizing TurnContext for sending messages in Microsoft Teams 2025-09-18 20:51:48 +01:00
Simon Larsen
b862ac113f feat: Refactor Bot Framework activity handling to use botbuilder SDK's adapter for improved processing 2025-09-18 20:40:57 +01:00
Simon Larsen
a2526a5a99 refactor: change logging level from info to debug for bot message operations 2025-09-18 20:22:18 +01:00
Simon Larsen
4124e7e9f7 chore: add botbuilder dependency to Common package.json 2025-09-18 20:16:51 +01:00
Simon Larsen
05d3e73b83 docs: Update Microsoft Teams integration documentation for bot messaging endpoint configuration 2025-09-18 20:10:21 +01:00
Simon Larsen
907f0149d8 Merge branch 'master' into v4-ms-teams 2025-09-18 16:56:57 +01:00
Simon Larsen
54f4c63a51 feat: Add dynamic loading of Mermaid.js for rendering diagrams in blog posts 2025-09-18 16:56:27 +01:00
Simon Larsen
80388adb59 refactor: Implement JWT validation for Bot Framework authentication in MicrosoftTeamsAPI 2025-09-17 21:23:32 +01:00
Simon Larsen
ca0792a7f7 refactor: Enhance Bot Framework authentication validation and access token retrieval logging 2025-09-17 21:15:40 +01:00
Simon Larsen
7c1e42cff9 refactor: Add validation for Bot Framework service URLs and implement access token retrieval method 2025-09-17 21:09:08 +01:00
Simon Larsen
e9904c0e74 refactor: Move Bot Framework activity handlers to MicrosoftTeamsUtil for better organization and maintainability 2025-09-17 20:58:00 +01:00
Simon Larsen
dd9d296e62 refactor: Enhance logging and add test endpoint for Bot Framework integration in MicrosoftTeamsAPI 2025-09-17 20:54:50 +01:00
Simon Larsen
c0005618fe refactor: Implement Bot Framework messaging endpoint and activity handlers in MicrosoftTeamsAPI 2025-09-17 20:47:11 +01:00
Simon Larsen
feb503b448 refactor: Update image path handling and fix URL formatting in MicrosoftTeamsIntegration 2025-09-17 20:32:29 +01:00
Simon Larsen
d2c411c9d6 refactor: Simplify icon path handling by removing fallback checks in MicrosoftTeamsAPI 2025-09-17 20:26:59 +01:00
Simon Larsen
562e930ca0 refactor: Replace fs with LocalFile utility for icon file handling in MicrosoftTeamsAPI 2025-09-17 20:26:13 +01:00
Simon Larsen
e97b2904e8 refactor: Simplify icon handling logic by removing fallback checks for Microsoft Teams icons 2025-09-17 16:47:01 +01:00
Simon Larsen
fd07d70575 refactor: Update Teams app manifest version and improve icon handling logic 2025-09-17 16:44:35 +01:00
Simon Larsen
3e6c8b3f68 refactor: Remove fallback for MicrosoftTeamsAppClientId and add packageName to manifest 2025-09-17 16:23:26 +01:00
Simon Larsen
ad772c4a5b refactor: Remove fallback for MicrosoftTeamsAppClientId in webApplicationInfo 2025-09-17 16:22:10 +01:00
Simon Larsen
5396c0c9cf refactor: Specify type for archive variable in MicrosoftTeamsAPI 2025-09-17 16:13:56 +01:00
Simon Larsen
c6e6ae5be0 refactor: Update Microsoft Teams app manifest version and improve icon directory handling 2025-09-17 16:13:32 +01:00
Simon Larsen
82397fec5a refactor: Update Teams app manifest versioning logic and add client ID to docker-compose 2025-09-17 16:04:32 +01:00
Simon Larsen
6301e24c02 refactor: Add Microsoft Teams app client ID and secret to configuration files 2025-09-17 15:37:03 +01:00
Simon Larsen
23b3a4d9dd refactor: Add Microsoft Teams app configuration to environment and docker-compose files 2025-09-17 15:34:50 +01:00
Simon Larsen
e6c158b2b5 refactor: Use AppVersion for Teams app manifest versioning 2025-09-17 15:30:43 +01:00
Simon Larsen
5a4f2e0744 refactor: Add validation for Microsoft Teams App Client ID in getTeamsAppManifest method 2025-09-17 15:29:34 +01:00
Simon Larsen
545335a74d refactor: Update nodemon.json files to ignore node_modules and public directories 2025-09-17 14:50:58 +01:00
Simon Larsen
5ab49052fe Merge branch 'master' into v4-ms-teams 2025-09-17 14:22:25 +01:00
Simon Larsen
2985b7675d refactor: Remove unused Button import and clean up API call parameters in SlackChannelCacheModal component 2025-09-17 14:01:18 +01:00
Simon Larsen
49cd04c5d5 refactor: Simplify channel cache management by replacing rows with a dictionary component in SlackChannelCacheModal 2025-09-17 13:54:56 +01:00
Simon Larsen
2a23d1a962 refactor: Update API call to include common headers and remove unnecessary modal properties in SlackChannelCacheModal component 2025-09-17 13:48:56 +01:00
Nawaz Dhandala
13f19adc13 refactor: Enhance type annotations and improve code clarity in SlackAPI, CopyTextButton, LogItem, LogsViewer, and SlackChannelCacheModal components 2025-09-17 13:20:05 +01:00
Nawaz Dhandala
3e79bbf55f refactor: Improve code formatting and readability across multiple components 2025-09-17 13:10:30 +01:00
Nawaz Dhandala
b400e89a3b Merge branch 'release' 2025-09-17 13:09:59 +01:00
Nawaz Dhandala
fc8362e7e5 feat: Implement SlackChannelCacheModal for viewing and editing cached Slack channels 2025-09-17 13:09:29 +01:00
Nawaz Dhandala
8b209e82d5 feat: Add endpoint to fetch and cache all Slack channels for the current tenant's project 2025-09-17 13:08:09 +01:00
Simon Larsen
6fb4fdf698 Merge pull request #2009 from OneUptime/better-log-ui
refactor: Enhance LogsViewer with improved scroll handling and UI upd…
2025-09-17 13:04:07 +01:00
Simon Larsen
9551e64b16 refactor: Replace SVG icons with Icon component for consistency in CopyTextButton and LogItem components 2025-09-17 12:58:36 +01:00
Simon Larsen
232f938d2c refactor: Update log message styling for improved readability in LogItem component 2025-09-17 12:51:25 +01:00
Simon Larsen
0dc24b36e6 refactor: Consolidate copy button logic for log message display in LogItem component 2025-09-17 12:46:38 +01:00
Simon Larsen
a77eaf214f refactor: Remove wrapLines toggle and associated UI elements for a cleaner toolbar in LogsViewer component 2025-09-17 12:44:45 +01:00
Simon Larsen
5ab08fbfcb refactor: Simplify click handling for collapse button in LogItem component 2025-09-17 12:34:16 +01:00
Simon Larsen
a73c2eb32c refactor: Update CopyTextButton integration in LogItem component with improved props and styling 2025-09-17 12:31:19 +01:00
Nawaz Dhandala
8f9e6d5bec refactor: Increase maxPages limit for improved pagination in SlackUtil 2025-09-17 12:30:34 +01:00
Nawaz Dhandala
790e26d608 refactor: Increase limit for faster searches in requestBody 2025-09-17 12:30:22 +01:00
Simon Larsen
79b96bcce8 refactor: Simplify severity badge handling and improve log body rendering in LogItem component 2025-09-17 12:22:27 +01:00
Simon Larsen
592a7f893e refactor: Enhance LogItem and LogsViewer components with improved styling and functionality 2025-09-17 12:18:48 +01:00
Simon Larsen
7408f9c204 Merge pull request #2008 from OneUptime/snyk-fix-649148701c5ddf7371d98302b082212e
[Snyk] Security upgrade axios from 1.7.7 to 1.12.0
2025-09-17 11:47:38 +01:00
Nawaz Dhandala
307de42434 feat: Add generateGroupsListResponse function for SCIM group list responses 2025-09-17 11:28:41 +01:00
Nawaz Dhandala
d1ae7f67c4 refactor: Adjust indentation for @CaptureSpan() annotation in updateChannelCache method 2025-09-17 11:07:30 +01:00
Simon Larsen
b4616885b2 refactor: Implement bulk channel cache updates and improve cache handling in SlackUtil 2025-09-17 11:05:50 +01:00
Nawaz Dhandala
7fb7f3719f refactor: Update lastUpdated timestamp format and clean up code style in SlackUtil 2025-09-17 10:56:59 +01:00
Nawaz Dhandala
d1d1d1935d refactor: Enhance LogsViewer with improved scroll handling and UI updates 2025-09-17 10:55:05 +01:00
Simon Larsen
5b54f66821 refactor: Add projectId parameter to getAllWorkspaceChannels and implement bulk cache update 2025-09-17 10:54:04 +01:00
Simon Larsen
e99a954387 refactor: Add projectId parameter to getAllWorkspaceChannels method 2025-09-17 10:50:40 +01:00
Simon Larsen
93fd9ce3cc refactor: Limit API pagination to maxPages and adjust channel search limit 2025-09-17 10:46:26 +01:00
Simon Larsen
3a3e510b11 refactor: Exclude archived channels in Slack API requests 2025-09-17 10:43:44 +01:00
Simon Larsen
cbaf1edf89 refactor: Increase maxPages limit for API search in SlackUtil 2025-09-17 10:41:59 +01:00
snyk-bot
94b21b5fc3 fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-12613773
2025-09-17 01:44:58 +00:00
Simon Larsen
f60cc4c199 fix: Correct configurationUrl formatting in MicrosoftTeamsAPI 2025-09-16 21:37:24 +01:00
Simon Larsen
81b1f120ee refactor: Remove manifest state and props from MicrosoftTeamsIntegration and MicrosoftTeamsIntegrationDocumentation components 2025-09-16 21:30:49 +01:00
Simon Larsen
48a0036023 feat: Add manual app installation instructions and download option for app manifest in MicrosoftTeamsIntegration 2025-09-16 21:25:34 +01:00
Simon Larsen
9925a6a5a5 feat: Update MicrosoftTeamsAPI and EnvironmentConfig to improve app manifest handling and add HomeClientUrl 2025-09-16 21:17:51 +01:00
Simon Larsen
e5ca287dcb feat: Update MicrosoftTeamsAPI to read pre-resized icons from the filesystem instead of using placeholder images 2025-09-16 21:12:51 +01:00
Simon Larsen
1a5962c430 feat: Refactor token validation in MicrosoftTeamsUtil to enhance error handling and refresh logic 2025-09-16 21:05:55 +01:00
Simon Larsen
ba5a664fca feat: Update MicrosoftTeamsAPI to disable notification-only mode and extract tenant ID from JWT for improved token validation 2025-09-16 21:05:43 +01:00
Simon Larsen
f7d05c642f feat: Refactor MicrosoftTeams integration in WorkspaceUtil to use MicrosoftTeamsUtil and include projectId in user name retrieval 2025-09-16 20:52:20 +01:00
Simon Larsen
877810219c feat: Enhance MicrosoftTeamsUtil with detailed debug logging for access token management and message sending 2025-09-16 20:48:56 +01:00
Simon Larsen
fed8c9a261 feat: Add detailed debug logging for message sending in MicrosoftTeamsUtil 2025-09-16 20:43:25 +01:00
Simon Larsen
896d36b16b feat: Add detailed logging for channel retrieval and message posting in MicrosoftTeamsUtil 2025-09-16 20:41:21 +01:00
Simon Larsen
a9c6d565f4 feat: Implement access token refresh mechanism in MicrosoftTeamsUtil for improved token management 2025-09-16 20:39:33 +01:00
Simon Larsen
ae58a33456 refactor: Improve debug logging format for channel search in SlackUtil 2025-09-16 18:17:34 +01:00
Simon Larsen
d689d7a12a feat: Enhance MicrosoftTeamsUtil with valid access token retrieval and update interfaces for additional data fields 2025-09-16 16:44:24 +01:00
Simon Larsen
f28ada8994 fix: Add undefined parameter to API calls in MicrosoftTeamsUtil for consistency 2025-09-16 16:33:34 +01:00
Nawaz Dhandala
4d9de1d326 refactor: Add debug logging for channel search in SlackUtil 2025-09-16 14:42:28 +01:00
Simon Larsen
405b28ee91 feat: Pass workspaceType to query in WorkspaceNotificationRuleTable component 2025-09-16 14:33:11 +01:00
Simon Larsen
245aeac4a9 refactor: Remove Coming Soon component and update Microsoft Teams connection messages for consistency 2025-09-16 14:16:56 +01:00
Nawaz Dhandala
6b8f8db991 feat: add archiver package and update Microsoft Teams integration components
- Added `archiver` package to `package.json` and `package-lock.json`.
- Refactored `MicrosoftTeamsIntegration.tsx` for improved readability and consistency.
- Updated error handling and state management in `MicrosoftTeamsIntegration`.
- Enhanced documentation component for Microsoft Teams integration.
- Cleaned up formatting and structure in `MicrosoftTeamsIntegrationDocumentation.tsx`.
- Adjusted settings page to utilize the updated Microsoft Teams integration component.
2025-09-16 14:08:40 +01:00
Simon Larsen
6c06c6682a refactor: Update team selection UI layout and button styles for improved alignment 2025-09-16 14:02:01 +01:00
Simon Larsen
f48da38ae1 feat: Replace button elements with reusable Button component for team selection UI 2025-09-16 13:55:47 +01:00
Simon Larsen
29de1dfbb2 refactor: Remove team search functionality and update team selection UI 2025-09-16 13:53:59 +01:00
Simon Larsen
9063bd145f feat: Replace team selection buttons with radio buttons for improved UX 2025-09-16 13:50:55 +01:00
Simon Larsen
436a393cb1 refactor: Enhance team selection UI with improved styling and search functionality 2025-09-16 13:46:53 +01:00
Simon Larsen
a7f6e264f5 feat: Implement team selection UI for Microsoft Teams integration with search functionality 2025-09-16 13:30:10 +01:00
Simon Larsen
777c2a36bf refactor: Remove optional serviceCatalogId from MicrosoftTeamsMiscData interface 2025-09-16 12:23:53 +01:00
Simon Larsen
c005448103 feat: Update Microsoft Teams API scopes to include User.Read permission 2025-09-16 12:05:03 +01:00
Simon Larsen
54f7be2c62 feat: Update Microsoft Teams OAuth flow to use static redirect URI with state parameter for projectId and userId 2025-09-16 11:53:26 +01:00
Simon Larsen
1f52b91bc5 refactor: Simplify Microsoft Teams integration page by removing unnecessary components and structure 2025-09-16 11:45:14 +01:00
Simon Larsen
d54bafd5d1 Merge branch 'master' of github.com:OneUptime/oneuptime into v4-ms-teams 2025-09-16 11:20:37 +01:00
Simon Larsen
7728e84f34 Merge pull request #2007 from OneUptime/span-fix
refactor: Enhance root span detection logic in TraceExplorer component
2025-09-16 11:15:37 +01:00
Simon Larsen
a5808eac5e refactor: Enhance root span detection logic in TraceExplorer component 2025-09-16 11:15:13 +01:00
Simon Larsen
5fdb54a8d9 feat: Implement Microsoft Teams API with endpoints for app manifest, OAuth, and webhooks 2025-09-16 10:47:09 +01:00
Simon Larsen
f02a4de88d feat: Refactor channel ID handling to include team ID and improve channel info retrieval from Microsoft Graph API 2025-09-16 10:38:18 +01:00
Simon Larsen
49b2999d4f feat: Enhance Microsoft Teams integration with new messaging and channel management features 2025-09-16 10:33:59 +01:00
Simon Larsen
60c1caa11f feat: Add Microsoft Teams integration component with authentication handling 2025-09-16 10:26:40 +01:00
Simon Larsen
3eb21895d8 feat: Implement Microsoft Teams authentication actions and request handling 2025-09-16 10:26:13 +01:00
Simon Larsen
2d9527e94d feat: Add Microsoft Teams integration documentation component 2025-09-16 10:10:55 +01:00
Simon Larsen
9f26e6f75d feat: Update Microsoft Teams incident action types to use specific incident action constants 2025-09-16 09:59:25 +01:00
Simon Larsen
7890698f7d feat: Refactor scheduled maintenance action handling to use constants for action types 2025-09-16 09:58:55 +01:00
Simon Larsen
e738db0b24 feat: Add Microsoft Teams action handlers for alerts, incidents, monitors, and on-call duties; update scheduled maintenance action types 2025-09-16 09:48:25 +01:00
Simon Larsen
67524ee869 feat: Implement Microsoft Teams scheduled maintenance actions and update alert action types 2025-09-16 09:34:49 +01:00
Simon Larsen
0e5c0d1509 feat: Add Microsoft Teams integration with configuration and action types 2025-09-16 09:32:43 +01:00
Simon Larsen
cdff9338d9 refactor: Simplify stats initialization and update logic in TraceExplorer component 2025-09-15 18:50:46 +01:00
Simon Larsen
074926ee41 Merge pull request #2005 from OneUptime/on-call-loop
On call loop
2025-09-15 18:35:29 +01:00
Nawaz Dhandala
b0ef6e23a3 refactor: Improve readability and structure in LayerUtil's getEvents method 2025-09-15 18:35:08 +01:00
Simon Larsen
1ab6bc5af9 test: Enhance overnight window test to validate distinct segments across midnight 2025-09-15 18:18:22 +01:00
Simon Larsen
04dba20871 feat: Implement weekly restrictions handling in LayerUtil and add corresponding tests 2025-09-15 18:15:13 +01:00
Simon Larsen
1cd5c927f6 feat: Add comprehensive tests for LayerUtil including daily restrictions and rotation handoff scenarios 2025-09-15 18:10:35 +01:00
Simon Larsen
6513222c3b feat: Add support for overnight event windows in getEventsByDailyRestriction method 2025-09-15 18:09:07 +01:00
Simon Larsen
498abd5251 fix: Update error handling to exclude status 400 for network-related errors 2025-09-15 17:21:48 +01:00
Nawaz Dhandala
fc46a81eb8 refactor: Improve code readability and consistency in various components 2025-09-15 12:41:12 +01:00
Simon Larsen
c3fb6e9f32 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-09-15 12:35:58 +01:00
Simon Larsen
3aba42b965 feat: Enhance TraceExplorer UI with trace ID display and copy functionality 2025-09-15 12:22:51 +01:00
Simon Larsen
5651a43b22 feat: Add service filtering and statistics display in TraceExplorer 2025-09-15 12:19:29 +01:00
Simon Larsen
929792ef6a feat: Enhance TraceExplorer with error filtering and summary stats display 2025-09-15 11:54:20 +01:00
Simon Larsen
e13cdc4523 Merge pull request #2004 from OneUptime/span-improve
Span improve
2025-09-15 11:50:47 +01:00
Simon Larsen
8dc0535dac feat: Enhance JSONTable grouping logic to always override existing keys with grouped array representation 2025-09-15 11:50:21 +01:00
Simon Larsen
dc4541739a feat: Implement grouping for primitive arrays in JSONTable component 2025-09-15 11:41:07 +01:00
Simon Larsen
a4a3da7e2e feat: Add UI improvement task with Tailwind CSS guidelines for modern design 2025-09-15 11:30:54 +01:00
Simon Larsen
21432e1416 feat: Add default sorting to TelemetryServiceTable by name in ascending order 2025-09-15 11:23:57 +01:00
Simon Larsen
2f568f1319 feat: Add JSONTable component for improved display of JSON attributes in SpanViewer 2025-09-15 11:17:04 +01:00
Simon Larsen
50bdd592b4 refactor: Clean up telemetry span attributes by removing unnecessary properties 2025-09-15 10:50:02 +01:00
snyk-bot
50be2a666c fix: Probe/package.json & Probe/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-12613773
2025-09-15 08:22:25 +00:00
Simon Larsen
3938637b84 feat: Enhance MarkdownViewer styling and improve preformatted code handling 2025-09-10 20:08:30 +01:00
Simon Larsen
3ed9e21271 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-09-10 19:09:57 +01:00
Simon Larsen
63e1266e2b feat: Improve MarkdownViewer styling with enhanced Tailwind CSS classes for better readability and aesthetics 2025-09-10 19:09:53 +01:00
Nawaz Dhandala
a552812711 feat: Add projectId support to SlackUtil message sending for incident and scheduled maintenance actions 2025-09-10 18:21:30 +01:00
Nawaz Dhandala
ad07ab75fe feat: Add elkjs dependency for enhanced functionality 2025-09-10 18:13:59 +01:00
Nawaz Dhandala
c8deffebb0 refactor: Improve code readability by standardizing formatting and spacing in SlackUtil methods 2025-09-10 17:12:51 +01:00
Simon Larsen
67a3ea5109 feat: Enhance SlackUtil with projectId support and caching for channel operations 2025-09-10 17:11:04 +01:00
Simon Larsen
6728cc0458 feat: Add projectId parameter to channel-related methods for improved context handling 2025-09-10 17:08:02 +01:00
Simon Larsen
f84ab2474f feat: Optimize channel existence checks by introducing getWorkspaceChannelByName method and streamline channel name normalization 2025-09-10 16:47:36 +01:00
Simon Larsen
5c8ce04eed feat: Enhance pagination handling by supporting 'skip' and 'limit' parameters from both query and body 2025-09-09 16:56:55 +01:00
Nawaz Dhandala
3064aa0364 feat: Improve code formatting and descriptions in announcement-related components and migrations for better readability 2025-09-09 14:36:32 +01:00
Simon Larsen
9625f1381c feat: Add migration for AnnouncementMonitor and AnnouncementTemplateMonitor tables with foreign key constraints 2025-09-09 14:12:33 +01:00
Simon Larsen
6ecd3ad166 Merge branch 'master' into announcement-monitor 2025-09-09 14:04:36 +01:00
Simon Larsen
8e54cac86e feat: Add createEditModalWidth prop with large size to multiple template views for consistent modal presentation 2025-09-09 14:01:46 +01:00
Nawaz Dhandala
cc52bb76d1 feat: Enhance incident state handling by adding type definitions, improving error handling, and updating default state display 2025-09-09 13:54:52 +01:00
Nawaz Dhandala
4c037f54f4 feat: Refactor incident state migration and update related components for improved clarity and functionality 2025-09-09 13:49:34 +01:00
Simon Larsen
b869628d4a feat: Implement fetch for initial incident state and update form values 2025-09-09 13:48:11 +01:00
Simon Larsen
0fbeb503ad feat: Update incident state field title and description for clarity 2025-09-09 13:06:29 +01:00
Simon Larsen
a302e4dc6c feat: Implement automatic selection of the first incident state and update related references 2025-09-09 12:58:07 +01:00
Nawaz Dhandala
00c8783137 feat: Add monitor selection to status page announcements and templates, enhancing resource notification capabilities 2025-09-09 12:56:42 +01:00
Simon Larsen
11211f4a62 feat: Update initial incident state description to reflect default behavior 2025-09-09 12:53:30 +01:00
Simon Larsen
d29750d66e feat: Add initialIncidentState field to IncidentTemplates for incident creation 2025-09-09 12:47:15 +01:00
Simon Larsen
7dc590dab4 feat: Add initialIncidentStateId migration and update index references 2025-09-09 12:37:43 +01:00
Simon Larsen
1d0ed64c1a feat: Rename currentIncidentState to initialIncidentState and update related references in IncidentTemplate, IncidentService, and IncidentTemplatesView 2025-09-09 12:26:48 +01:00
Simon Larsen
0cf3884be4 Merge branch 'master' into select-incident-state 2025-09-09 12:21:12 +01:00
Simon Larsen
165f5608e6 feat: Add step to free disk space in GitHub Actions runner for improved image build efficiency 2025-09-09 12:18:07 +01:00
Nawaz Dhandala
f2b8cfbffb Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-09-09 12:12:57 +01:00
Nawaz Dhandala
6084e15f20 refactor: Enhance type annotations in MarkdownEditor and tests for improved type safety 2025-09-09 12:12:55 +01:00
Simon Larsen
b1db4187de Learn more about Markdown syntax. 2025-09-09 12:12:09 +01:00
Nawaz Dhandala
20ce8a8c74 refactor: Clean up MarkdownEditor and FormField code for improved readability and consistency 2025-09-09 11:45:00 +01:00
Simon Larsen
39200249d1 feat: Update spell check handling in MarkdownEditor and tests for improved functionality 2025-09-09 11:38:58 +01:00
Simon Larsen
27533125e4 feat: Add createEditModalWidth prop to multiple components for consistent modal sizing 2025-09-09 11:23:20 +01:00
Simon Larsen
99dd421329 feat: Add createEditModalWidth prop to IncidentDelete for consistent modal sizing 2025-09-09 11:17:11 +01:00
Simon Larsen
4184894f27 feat: Refactor MarkdownEditor toolbar layout for improved organization and readability 2025-09-09 11:12:40 +01:00
Simon Larsen
a7a00dc0fa feat: Add dataTestId prop to MarkdownEditor and FormField for improved testing 2025-09-09 10:58:06 +01:00
Simon Larsen
9340f69789 feat: Add additional toolbar buttons and formatting options in MarkdownEditor 2025-09-09 10:35:10 +01:00
Simon Larsen
ba33bc0c23 feat: Enhance MarkdownEditor with improved heading handling and toolbar buttons 2025-09-09 10:27:41 +01:00
Simon Larsen
b8cac60c6e feat: Enhance Markdown preview with improved code block handling and styling 2025-09-09 09:59:32 +01:00
Simon Larsen
3a5d5253d0 feat: Enhance MarkdownEditor with toolbar buttons and preview functionality 2025-09-09 09:53:44 +01:00
Simon Larsen
64010b0348 feat: Add initial incident state selection to incident templates and creation forms 2025-09-09 08:35:46 +01:00
Simon Larsen
84ca2ff311 fix: Remove redundant APP_VERSION build argument in Docker image deployment steps 2025-09-08 22:08:00 +01:00
Simon Larsen
c0becebadc feat: Update date formatting to user-friendly display in getMonitorStatusTimelineForStatusPage method 2025-09-08 21:58:53 +01:00
Nawaz Dhandala
6ef99fd890 refactor: Specify types for format and testDate in OneUptimeDate class methods 2025-09-08 21:52:31 +01:00
Nawaz Dhandala
a55f2f7842 refactor: Improve code readability by formatting function arguments and return values in date handling methods 2025-09-08 21:51:53 +01:00
Simon Larsen
0aae7877c7 feat: Update date formatting to user-friendly display in various components 2025-09-08 21:49:19 +01:00
Simon Larsen
8d6cc37f7a feat: Update date formatting to user-friendly display across various components 2025-09-08 21:41:57 +01:00
Simon Larsen
1a0f7eb1e7 feat: Enhance date formatting to user-friendly display in Scheduled Maintenance components 2025-09-08 21:36:47 +01:00
Simon Larsen
6ed65ed3ef fix: Change tag type from semver to raw for Docker image deployments 2025-09-08 20:43:09 +01:00
Simon Larsen
2ac342e26a feat: Add billing_enabled variable to Nginx configuration 2025-09-08 20:29:28 +01:00
Simon Larsen
fe80d6b1ff fix: Remove unnecessary markdown syntax from upgrading guide 2025-09-08 18:44:43 +01:00
Simon Larsen
a68254be6d fix: Clarify reason for discontinuing Bitnami charts in upgrading guide 2025-09-08 18:43:14 +01:00
Simon Larsen
49a9e355fe feat: Add upgrading guide and navigation link to documentation 2025-09-08 18:41:40 +01:00
Simon Larsen
7091e35393 Update GitHub Actions workflow to read version prefix from VERSION_PREFIX file and adjust versioning scheme
- Added a new job 'read-version' to read the major and minor version from VERSION_PREFIX file.
- Updated dependent jobs to use the version read from 'read-version' instead of hardcoded version.
- Changed versioning format in multiple jobs to reflect the new versioning scheme based on the content of VERSION_PREFIX.
- Created VERSION_PREFIX file with initial version set to 8.0.
2025-09-07 15:17:47 +01:00
Simon Larsen
34cc8a43ab Merge pull request #1995 from OneUptime/bitnami-mgr-postgres
Bitnami mgr postgres
2025-09-07 13:21:41 +01:00
Simon Larsen
75333ef36c feat: Add pod security context configuration for ClickHouse and Redis StatefulSets 2025-09-07 13:03:09 +01:00
Simon Larsen
d4b3f1b60b feat: Add primary pod security context configuration for PostgreSQL 2025-09-07 12:59:27 +01:00
Simon Larsen
318d20a5a5 feat: Update PostgreSQL StatefulSet to use primary nodeSelector, affinity, tolerations, and resources 2025-09-07 12:56:29 +01:00
Simon Larsen
44b9c33e5c feat: Add primary ConfigMaps for PostgreSQL configuration and pg_hba settings 2025-09-07 12:45:32 +01:00
Simon Larsen
317a17cbab feat: Rename PostgreSQL ConfigMaps to include 'primary' in their names for clarity 2025-09-07 12:40:23 +01:00
Simon Larsen
6d2cb53760 feat: Update PostgreSQL configuration to use primary settings for ConfigMaps 2025-09-07 12:37:30 +01:00
Simon Larsen
7ddc4be319 feat: Add pg_hba.conf configuration and corresponding ConfigMap for PostgreSQL 2025-09-07 12:32:47 +01:00
Simon Larsen
604776551b feat: Add PostgreSQL configuration checksum and update container args 2025-09-07 12:25:41 +01:00
Simon Larsen
26b085030d refactor: Remove initContainers from PostgreSQL StatefulSet and enable default configuration settings 2025-09-07 12:17:13 +01:00
Simon Larsen
e1046d2424 Merge branch 'master' into bitnami-mgr-postgres 2025-09-07 11:08:46 +01:00
Simon Larsen
cf2a7b9dfa feat: Enhance diagnostics collection in KinD setup script 2025-09-07 11:05:34 +01:00
Simon Larsen
55f4c0b65d docs: Add SQL query to check used and free space in Postgres 2025-09-06 20:38:34 +01:00
Simon Larsen
5100fbda52 docs: Add SQL query to check used and free space in Clickhouse 2025-09-06 20:35:17 +01:00
Simon Larsen
9e36188975 fix: Update image registry and repository in ci-values.yaml 2025-09-06 17:47:47 +01:00
Simon Larsen
26c2d41dfa Merge branch 'master' into bitnami-mgr-postgres 2025-09-06 17:45:00 +01:00
Simon Larsen
a511a433b1 refactor: Remove security context and default profiles from ClickHouse configuration 2025-09-06 11:27:50 +01:00
Simon Larsen
cc581e91b5 Merge pull request #1994 from OneUptime/bitnami-mgr
Bitnami mgr
2025-09-06 11:09:13 +01:00
Simon Larsen
3fd95fe8aa Merge branch 'master' into bitnami-mgr 2025-09-06 11:09:01 +01:00
Simon Larsen
6f2455c265 fix: Set ClickHouse resourcesPreset to "none" to override default value 2025-09-05 21:26:00 +01:00
Simon Larsen
de5b32a609 refactor: Remove default resourcesPreset for ClickHouse configuration 2025-09-05 21:17:13 +01:00
Simon Larsen
155b0d90f1 refactor: Transition from MicroK8s to KinD for Kubernetes cluster setup in CI scripts 2025-09-05 21:15:58 +01:00
Simon Larsen
3da5e12a0d feat: Add auto-generated password option for ClickHouse configuration 2025-09-05 21:14:58 +01:00
Simon Larsen
8accdc6bd4 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-09-05 20:56:35 +01:00
Simon Larsen
22a10702ac feat: Add comprehensive architecture diagram and explanation for self-hosted setup 2025-09-05 20:56:32 +01:00
Nawaz Dhandala
a013c86fae refactor: Standardize wait duration for pod readiness checks 2025-09-05 16:24:25 +01:00
Nawaz Dhandala
361626d21f refactor: Enhance pod readiness check with improved diagnostics and error handling 2025-09-05 16:23:01 +01:00
Simon Larsen
6615ac63d7 refactor: Simplify legal page structure and enhance navigation with Bootstrap styling 2025-09-05 14:50:22 +01:00
Simon Larsen
655611b28d refactor: Revamp support page layout and content for improved user experience 2025-09-05 14:45:55 +01:00
Simon Larsen
9bd45ecd14 Merge branch 'master' into bitnami-mgr-postgres 2025-09-05 14:01:46 +01:00
Simon Larsen
53c9babb83 refactor: Replace commented wait logic with active polling for pod readiness 2025-09-05 14:01:00 +01:00
Simon Larsen
ccc0b0142b feat: Remove default profiles configuration from ClickHouse settings in values.yaml 2025-09-05 13:51:07 +01:00
Simon Larsen
4a2f7f68cb feat: Update PostgreSQL password field to use 'postgresPassword' in values.yaml and secrets.yaml 2025-09-05 12:48:10 +01:00
Simon Larsen
de994e10de feat: Fix PostgreSQL username to be fixed as "postgres" in values.yaml 2025-09-05 12:21:43 +01:00
Simon Larsen
2ff22ca079 feat: Enhance security context handling for ClickHouse, PostgreSQL, and Redis StatefulSets 2025-09-05 12:06:28 +01:00
Simon Larsen
e6b8f60977 feat: Update security context for init and primary PostgreSQL containers 2025-09-05 11:59:37 +01:00
Simon Larsen
b823b5924a feat: Add init container for PostgreSQL configuration symlinks and update security context 2025-09-05 11:42:35 +01:00
Simon Larsen
a58ddd94d5 feat: Add POSTGRES_INITDB_ARGS environment variable for PostgreSQL initialization 2025-09-04 20:19:08 +01:00
Simon Larsen
275e15ce96 feat: Update PostgreSQL environment variables and liveness probe configuration 2025-09-04 20:12:20 +01:00
Simon Larsen
1e2a30823c feat: Remove PostgreSQL authentication environment variables from StatefulSet 2025-09-04 19:48:21 +01:00
Simon Larsen
a326e7084e feat: Remove PostgreSQL dependency and associated chart from Helm configuration 2025-09-04 17:55:18 +01:00
Simon Larsen
2c1d20f680 feat: Remove PostgreSQL dependency from Helm chart 2025-09-04 17:54:48 +01:00
Simon Larsen
95bd2db0dd feat: Add security context support for ClickHouse, PostgreSQL, and Redis StatefulSets 2025-09-04 17:44:59 +01:00
Simon Larsen
3ca875254c feat: Add PostgreSQL StatefulSet configuration to Helm chart 2025-09-04 17:35:39 +01:00
Simon Larsen
7f1f78dad6 feat: Add PostgreSQL Secret configuration to Helm chart 2025-09-04 17:27:49 +01:00
Simon Larsen
a0d6468aee feat: Add PostgreSQL ConfigMap and Service templates for Helm chart 2025-09-04 17:27:30 +01:00
Simon Larsen
914c9bc58e feat: Update PostgreSQL configuration in values.yaml and README for built-in support 2025-09-04 17:26:21 +01:00
Simon Larsen
b38031e9f7 feat: Add subPath for data and config mounts in ClickHouse StatefulSet 2025-09-04 17:03:57 +01:00
Simon Larsen
487ca71f84 fix: Rename volume and mount paths for Redis data in StatefulSet configuration 2025-09-04 15:30:27 +01:00
Simon Larsen
67cd8e7db6 refactor: Remove initContainers from ClickHouse StatefulSet configuration 2025-09-04 15:28:17 +01:00
Simon Larsen
f44017d710 feat: Add Helm annotations for release name and namespace in templates 2025-09-04 12:23:16 +01:00
Simon Larsen
78240b906b feat: Add ClickHouse StatefulSet configuration to Helm chart 2025-09-03 21:57:59 +01:00
Simon Larsen
2ef0b3be27 feat: Add ClickHouse ConfigMap template for configuration management 2025-09-03 21:43:20 +01:00
Simon Larsen
0792d8367a feat: Add ClickHouse service and secret configurations to Helm chart 2025-09-03 21:43:01 +01:00
Simon Larsen
920397cead fix: Remove ClickHouse chart package from the repository 2025-09-03 21:41:35 +01:00
Simon Larsen
42c18e94ab feat: Update ClickHouse configuration and service settings in values.yaml 2025-09-03 21:41:29 +01:00
Simon Larsen
533f7eb238 fix: Remove ClickHouse dependency from Chart.yaml and Chart.lock 2025-09-03 21:38:03 +01:00
Simon Larsen
e2f16e85f1 Merge pull request #1993 from OneUptime/bitnami-mgr
Bitnami mgr
2025-09-03 20:12:22 +01:00
Simon Larsen
c98e6b8471 feat: Add KEDA chart dependency to README 2025-09-03 20:12:09 +01:00
Simon Larsen
c16c13fd89 feat: Add built-in Redis configuration to README and update external Redis instructions 2025-09-03 20:10:43 +01:00
Simon Larsen
c8ce0e8819 fix: Remove Redis cluster configuration options from values.yaml 2025-09-03 20:00:14 +01:00
Simon Larsen
9e98f6acdb fix: Remove Redis replica persistence configuration from values.yaml 2025-09-03 19:50:07 +01:00
Simon Larsen
a7a5b15dde feat: Implement Redis StatefulSet configuration in Helm chart 2025-09-03 19:49:49 +01:00
Simon Larsen
3ebb5217a2 feat: Add Redis master and headless service definitions to Helm chart 2025-09-03 19:46:10 +01:00
Simon Larsen
f570ffe1e3 feat: Add Redis ConfigMap template to Helm chart for Redis configuration management 2025-09-03 19:43:57 +01:00
Simon Larsen
ae94bf6d7c fix: Simplify Redis password handling in Helm chart by removing unnecessary conditional checks 2025-09-03 19:42:28 +01:00
Simon Larsen
d9a6e465bb fix: Remove Redis authentication requirement in values.yaml 2025-09-03 19:42:11 +01:00
Simon Larsen
020b171b77 fix: Update Redis password handling in Helm chart to support optional authentication 2025-09-03 19:38:06 +01:00
Simon Larsen
afc4932c28 fix: Remove Redis dependency and related configurations from Helm chart 2025-09-03 19:37:30 +01:00
Nawaz Dhandala
324851c57e fix: Refactor service operations to execute sequentially with improved error handling in AlertService, IncidentService, MonitorService, and ScheduledMaintenanceService 2025-09-03 15:41:23 +01:00
Nawaz Dhandala
380ecfa096 Refactor code for consistency and readability
- Updated array and object property access from single quotes to double quotes in Pagination.ts and Permissions.ts for consistency.
- Added missing commas in function parameters and object literals across multiple files in AlertService.ts, IncidentService.ts, MonitorService.ts, ScheduledMaintenanceService.ts, and WorkspaceNotificationRuleService.ts.
- Improved error logging messages in various services for better clarity.
- Removed unnecessary line breaks in Slack.ts and Workspace.ts for cleaner code.
- Ensured consistent formatting in Routes.ts by adding missing commas and adjusting line breaks.
2025-09-03 15:37:39 +01:00
Simon Larsen
5f9f73ceaa fix: Refactor monitor creation operations to execute sequentially with improved error handling in MonitorService 2025-09-03 15:35:13 +01:00
Simon Larsen
038ca4a920 fix: Update imports and improve formatting in Routes.ts for consistency and readability 2025-09-03 15:34:29 +01:00
Simon Larsen
d15629da0f fix: Refactor scheduled maintenance operations to execute sequentially with improved error handling in ScheduledMaintenanceService 2025-09-03 15:21:03 +01:00
Simon Larsen
363bbf9dea fix: Refactor incident creation operations to execute sequentially with improved error handling in IncidentService 2025-09-03 15:17:16 +01:00
Simon Larsen
6f0a0c8e38 fix: Remove unnecessary line breaks in error messages and logging for improved readability in WorkspaceNotificationRuleService 2025-09-03 15:06:19 +01:00
Simon Larsen
a75a62c708 fix: Refactor promise chain to use async/await for better readability in AlertService; add debug logging in WorkspaceNotificationRuleService 2025-09-03 14:18:05 +01:00
Simon Larsen
db76d716b9 fix: Remove redundant logging of existing workspace channels for cleaner output 2025-09-03 14:02:12 +01:00
Simon Larsen
b0abbf64b4 fix: Improve logging format in postToWorkspaceChannels for better readability 2025-09-03 13:55:43 +01:00
Simon Larsen
3a432cf8e6 Response from Slack API for getting all channels: 2025-09-03 13:54:58 +01:00
Simon Larsen
5c7d18e3ed fix: Update createdByUser field to use _id for consistency in Alert, Incident, and Scheduled Maintenance services 2025-09-03 13:27:37 +01:00
Simon Larsen
2590850ffa fix: Correct projectId usage in alert feed info generation for accurate monitor links 2025-09-03 13:13:14 +01:00
Simon Larsen
0eeb80e16e fix: Add createdByUserId and createdByUser fields to alert, incident, and scheduled maintenance services for improved tracking 2025-09-03 13:09:38 +01:00
Simon Larsen
e1cfe24a24 fix: Update pageData property access to bracket notation for consistency 2025-09-02 22:59:23 +01:00
Simon Larsen
4e4f3a889d fix: Update type casting for statusReport and probeMonitorResponse to 'any' for improved flexibility 2025-09-02 22:51:41 +01:00
Nawaz Dhandala
ede7ae103d fix: Enhance MonitorTemplateUtil to support additional monitor types and improve type safety 2025-09-02 22:15:04 +01:00
Simon Larsen
075c0fb6bd fix: Enhance template variable support for additional monitor types in MonitorTemplateUtil and update documentation 2025-09-02 22:08:51 +01:00
Nawaz Dhandala
5ebdb1ef7d fix: Refactor code for improved readability and maintainability in various components 2025-09-02 21:57:15 +01:00
Simon Larsen
387dbf332e fix: Correct spelling in API endpoint routes for escalation rules 2025-09-02 21:48:54 +01:00
Simon Larsen
9681e1dc88 fix: Remove fallback syntax from incident alert templating examples for clarity 2025-09-02 21:47:05 +01:00
Simon Larsen
fb29014480 Merge branch 'dynamic-alert' 2025-09-02 21:45:15 +01:00
Simon Larsen
1a5c2efc59 fix: Add debug logging for storage map and template value replacement in MonitorTemplateUtil 2025-09-02 21:43:28 +01:00
Simon Larsen
3e31e44ed5 fix: Enhance value replacement logic to properly serialize objects in VMUtil class 2025-09-02 21:26:55 +01:00
Simon Larsen
9e69d69429 fix: Update titles and descriptions for Global Probes settings for clarity 2025-09-02 21:15:21 +01:00
Simon Larsen
a108deac0f fix: Improve documentation links in MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm for clarity 2025-09-02 21:14:03 +01:00
Simon Larsen
c767f14bf1 fix: Correct syntax error in AlertService class 2025-09-02 21:11:28 +01:00
Simon Larsen
d69485c436 fix: Update Global Probes status messages for clarity in ProbePage component 2025-09-02 20:50:20 +01:00
Simon Larsen
67a5bdb7b8 feat: Update Global Probe settings card with improved descriptions and toggle functionality 2025-09-02 20:47:56 +01:00
Nawaz Dhandala
6504731025 refactor: Replace 'any' types with specific types for improved type safety across multiple files 2025-09-02 20:41:24 +01:00
Nawaz Dhandala
773692081c docs: Update guideline to specify stopping after fixing 25 files for review 2025-09-02 20:25:52 +01:00
Nawaz Dhandala
51c6234966 docs: Add guideline to replace "any" types with proper types 2025-09-02 20:23:53 +01:00
Nawaz Dhandala
fac6e9a1fe fix: Correct formatting issues in MonitorTemplateUtil and MonitorCriteriaAlertForm 2025-09-02 20:14:33 +01:00
Nawaz Dhandala
86e5d85d55 feat: Enhance dynamic template documentation links in MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm 2025-09-02 20:10:14 +01:00
Simon Larsen
1c592435e9 Merge pull request #1990 from OneUptime/any-type
Any type
2025-09-02 20:02:38 +01:00
Nawaz Dhandala
02fed5bd6e refactor: Enhance type safety by explicitly defining ref types and simplifying conditional checks 2025-09-02 19:58:41 +01:00
Nawaz Dhandala
dd724fcc6e refactor: Improve type safety by updating formRef initialization and adding optional chaining for setFieldValue 2025-09-02 19:52:28 +01:00
Nawaz Dhandala
6ba26bcb82 refactor: Improve type safety by adding LayoutOptions type and removing 'any' casts in ServiceDependencyGraph 2025-09-02 19:51:45 +01:00
Nawaz Dhandala
799ab3220d refactor: Replace 'any' type with specific types for ref and input for improved type safety 2025-09-02 19:50:53 +01:00
Nawaz Dhandala
f73f2fb732 refactor: Change argValue type from any to unknown for better type safety 2025-09-02 19:50:34 +01:00
Simon Larsen
43d6ead92c fix: Correct formatting issues in MonitorAlert class logging and data processing 2025-09-02 19:22:31 +01:00
Simon Larsen
4c053b3f31 refactor: Improve formatting and readability in MonitorTemplateUtil methods 2025-09-02 19:02:29 +01:00
Simon Larsen
c026e411cf feat: Add dynamic template usage descriptions in MonitorCriteriaAlertForm and MonitorCriteriaIncidentForm 2025-09-02 19:01:22 +01:00
Simon Larsen
65a9e32db1 feat: Implement MonitorTemplateUtil for dynamic template processing in incidents and alerts 2025-09-02 18:58:15 +01:00
Simon Larsen
0b15e97e08 feat: Integrate MonitorTemplateUtil for dynamic alert and incident title/description processing 2025-09-02 18:56:19 +01:00
Simon Larsen
bd74b96596 feat: Add link to Incident & Alert Dynamic Templating documentation in navigation 2025-09-02 18:45:48 +01:00
Nawaz Dhandala
990d3ea750 feat: Add doNotAddGlobalProbesByDefaultOnNewMonitors column to Project table and update related files 2025-09-02 14:59:23 +01:00
Simon Larsen
30665a1907 feat: Add migration to introduce doNotAddGlobalProbesByDefaultOnNewMonitors column in Project table 2025-09-02 14:58:09 +01:00
Simon Larsen
04db4289fa feat: Add setting to control auto-adding of global probes to new monitors 2025-09-02 14:57:18 +01:00
Nawaz Dhandala
01f4c030a7 style: Format allowedDomains and homeUrl for improved readability 2025-09-02 14:29:17 +01:00
Simon Larsen
d060ed8b64 feat: Add dynamic robots.txt route to control indexing based on domain 2025-09-02 14:27:40 +01:00
Nawaz Dhandala
413240733e fix: Remove unnecessary blank lines in Markdown and Probe initialization files 2025-09-02 14:17:15 +01:00
Simon Larsen
b0799093dd feat: Enhance proxy agent support by specifying types for httpAgent and httpsAgent in WebsiteRequest and API classes 2025-09-02 14:10:42 +01:00
Simon Larsen
0ecdc775db feat: Refactor proxy configuration to use getRequestProxyAgents method across multiple modules 2025-09-02 14:02:40 +01:00
Simon Larsen
82065c20b1 feat: Add HTTP/HTTPS proxy support in FetchMonitorTest, FetchList, and Alive jobs 2025-09-02 13:58:15 +01:00
Simon Larsen
3dcd1ee604 feat: Add HTTP/HTTPS proxy support in probeMonitorTest and probeMonitor methods 2025-09-02 13:53:57 +01:00
Simon Larsen
f63c69e6a6 feat: Add per-request HTTP/HTTPS proxy agent support in API and WebsiteRequest classes 2025-09-02 13:52:25 +01:00
Simon Larsen
6ba793e871 refactor: Remove axios proxy configuration from ProxyConfig class 2025-09-02 13:49:58 +01:00
Simon Larsen
7afd243992 feat: Remove backticks from inline code rendering in Markdown 2025-09-01 21:19:39 +01:00
Simon Larsen
4f58155719 feat: Enhance inline code rendering by removing backticks from code content 2025-09-01 21:12:30 +01:00
Simon Larsen
553adc4aef feat: Add custom styling for inline code in Markdown renderer 2025-09-01 21:11:37 +01:00
Simon Larsen
f668a626d7 refactor: Simplify code block styling in Markdown renderer 2025-09-01 21:02:19 +01:00
Nawaz Dhandala
e3bd534295 refactor: Add missing commas in logging statements for SCIM and StatusPageSCIM 2025-09-01 20:50:53 +01:00
Simon Larsen
6aa5c3b314 feat: Enhance SCIM Users endpoint to support filtering by email and improve logging 2025-09-01 20:50:12 +01:00
Simon Larsen
3bc4f7267d refactor: Clean up logging statements and remove unnecessary commas in SCIM.ts 2025-09-01 20:48:54 +01:00
Simon Larsen
a7021cf045 refactor: Replace logSCIMOperation with logger.debug for consistent logging in SCIM and StatusPageSCIM 2025-09-01 20:40:27 +01:00
Simon Larsen
2709e1d976 feat: Update values.yaml to allow insecure images temporarily and specify legacy image repositories for PostgreSQL, ClickHouse, and Redis 2025-09-01 16:38:56 +01:00
Nawaz Dhandala
8ec9d2a930 feat: Add type annotations for proxy-related variables in ProxyConfig and monitors 2025-09-01 14:58:33 +01:00
Nawaz Dhandala
224c225789 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-09-01 14:53:33 +01:00
Simon Larsen
85dae7a307 feat: Add proxy configuration options for probes in values.yaml and update README and probe.yaml 2025-09-01 14:53:24 +01:00
Nawaz Dhandala
332a479c22 feat: Improve proxy configuration handling and logging in monitors 2025-09-01 14:50:52 +01:00
Simon Larsen
d708fbbb52 feat: Add proxy configuration examples to Custom Probe documentation and component 2025-09-01 14:49:40 +01:00
Simon Larsen
03bceb959e feat: Enhance proxy support in SSL and Synthetic Monitors to prefer HTTPS, fallback to HTTP 2025-09-01 14:47:01 +01:00
Simon Larsen
efa411206e feat: Update SSL and Synthetic Monitors to use HTTPS proxy configuration 2025-09-01 14:41:57 +01:00
Simon Larsen
27fd99f2e8 feat: Update proxy configuration to support separate HTTP and HTTPS proxy URLs 2025-09-01 14:40:54 +01:00
Simon Larsen
07361bfeb7 feat: Enhance SyntheticMonitor with proxy support in browser launch options 2025-09-01 14:07:15 +01:00
Simon Larsen
bc8a5be0fa feat: Add proxy support for CustomCodeMonitor and SyntheticMonitor with logging 2025-09-01 14:00:55 +01:00
Simon Larsen
518768078a feat: Implement proxy configuration for HTTP requests and add ProxyConfig utility 2025-09-01 13:56:29 +01:00
Simon Larsen
86e95f99ff feat: Add PROXY_URL configuration option for probe and update example env file 2025-09-01 12:52:50 +01:00
Simon Larsen
ea48f56097 feat: Add custom styles for code blocks in blog posts 2025-09-01 12:43:03 +01:00
Nawaz Dhandala
b8b9dd859a Refactor migration files for consistency and readability; update BillingService and ProjectService for improved code clarity; enhance Countries interface formatting; standardize string quotes in various components; fix minor formatting issues in Settings and SendAnnouncementCreatedNotification. 2025-08-27 14:50:48 +01:00
Simon Larsen
d28c14ef24 feat: Update projectId reference in status page notification logic 2025-08-27 14:49:33 +01:00
Simon Larsen
670bec2a12 feat: Validate projectId and statusPageId in getStatusPageLinkInDashboard method 2025-08-27 14:48:40 +01:00
Simon Larsen
aff24845a8 feat: Add financeAccountingEmail handling in updateCustomerBusinessDetails method 2025-08-27 14:26:59 +01:00
Simon Larsen
f280e97c1b feat: Add migration for financeAccountingEmail field in Project model 2025-08-27 14:14:02 +01:00
Simon Larsen
62facf62dd feat: Add financeAccountingEmail field to Project model and update billing settings 2025-08-27 14:12:16 +01:00
Simon Larsen
db0387d81a feat: Update placeholder condition to include empty string check 2025-08-27 14:06:33 +01:00
Simon Larsen
5c4b19ab3d feat: Update nodemon configurations to improve performance and debugging options 2025-08-27 13:41:05 +01:00
Simon Larsen
463755fa4d This will be synced to Stripe and appear on future invoices. 2025-08-27 13:40:26 +01:00
Simon Larsen
85888572de feat: Update subscriber notification statuses to 'Success' for existing records in Incident and related tables 2025-08-27 13:20:07 +01:00
Simon Larsen
475bb25b2d feat: Add businessDetailsCountry field to Project migration and update index 2025-08-27 13:14:40 +01:00
Simon Larsen
badd200aed feat: Add country selection dropdown for billing details and implement country options 2025-08-27 13:14:01 +01:00
Simon Larsen
b40d87cbc9 feat: Add business details country field to Project model and update billing services to handle country code 2025-08-27 13:05:54 +01:00
Simon Larsen
36d0066b3a refactor: Simplify migration by removing unnecessary constraints and columns from Project and GlobalConfig tables 2025-08-27 13:03:01 +01:00
Simon Larsen
a49a0b2cba fix: Ensure blog post cards maintain full height for consistent layout 2025-08-27 12:48:41 +01:00
Simon Larsen
bada97d474 feat: Enhance customer address handling in Stripe by mapping business details to structured address fields 2025-08-27 12:42:17 +01:00
Simon Larsen
a1699f2d55 feat: Add business details field to Project model and update Stripe customer details 2025-08-27 12:37:09 +01:00
Simon Larsen
a11e054291 feat: Add custom link rendering with Tailwind styles and external link handling 2025-08-27 11:19:20 +01:00
Simon Larsen
47cf7ba763 fix: Increase timeout for SSL provisioning and delete old data jobs to accommodate longer processing times 2025-08-27 10:16:35 +01:00
Nawaz Dhandala
4e0dfb3664 fix: Simplify BadDataException handling for disabled and missing monitors in ingestion processes 2025-08-27 10:12:13 +01:00
Simon Larsen
250cb9e547 fix: Gracefully handle expected BadDataException cases for disabled and missing monitors in probe ingestion 2025-08-27 10:10:59 +01:00
Simon Larsen
541257e3c6 fix: Handle expected BadDataException cases for disabled and missing monitors in server monitor ingestion 2025-08-27 10:10:23 +01:00
Simon Larsen
ed43686736 fix: Centralize "Monitor disabled" message and improve error handling for disabled monitors 2025-08-27 10:09:26 +01:00
Simon Larsen
9ca45f23e3 fix: Replace hardcoded "Monitor not found" messages with centralized exception messages 2025-08-27 09:58:34 +01:00
Simon Larsen
e3573a9b77 fix: Refactor monitor not found error handling to use centralized exception messages 2025-08-27 09:55:19 +01:00
Simon Larsen
c9e78044e6 fix: Improve error handling in incoming request ingestion worker to handle disabled monitors gracefully 2025-08-27 09:48:54 +01:00
Nawaz Dhandala
813581dec5 fix: Add return type to logoutUser method and specify type for route in navigateToLoginPage method 2025-08-26 21:39:35 +01:00
Nawaz Dhandala
e528decf73 fix: Refactor QueueWorker options handling; improve logoutUser method formatting and navigation logic in StatusPageUtil 2025-08-26 21:36:56 +01:00
Simon Larsen
42ef41ede8 fix: Enhance QueueWorker options with lock duration and max stalled count; improve telemetry processing with yielding to avoid stall detection 2025-08-26 21:32:38 +01:00
Simon Larsen
af26472db4 fix: Simplify email validation logic and improve user lookup in SCIM user operations 2025-08-26 21:24:39 +01:00
Simon Larsen
44b5c8b668 fix: Enhance email validation and logging in SCIM user operations 2025-08-26 20:47:50 +01:00
Simon Larsen
d821b88ed7 fix: Update Docker image tags and labels for multiple services in release workflow 2025-08-26 18:52:15 +01:00
Simon Larsen
1df43e21ff fix: Refactor logoutUser method and enhance navigation logging in StatusPageUtil 2025-08-26 18:37:49 +01:00
Simon Larsen
76ca6ee7e1 fix: Add missing continuation for APP_VERSION build argument in multiple Docker image deploy jobs 2025-08-26 18:25:32 +01:00
Simon Larsen
dac731a57b refactor: Remove unused mock for ProjectUserService in TeamMemberService tests 2025-08-26 16:56:52 +01:00
Simon Larsen
0f4b248598 fix: Add missing context for Docker image build in nginx deployment 2025-08-26 16:53:25 +01:00
Simon Larsen
b2c14e0380 fix: Add missing build context for multiple Docker image deploy jobs 2025-08-26 16:51:51 +01:00
Simon Larsen
3ab9705bbe fix: Allow deletion of teams in Users component by setting isDeleteable to true 2025-08-26 16:34:19 +01:00
Nawaz Dhandala
40812c8749 refactor: Clean up whitespace in TeamMemberService and SCIM files; update description formatting in Users component 2025-08-26 15:59:22 +01:00
Simon Larsen
45ae1501f2 refactor: Replace ProjectUser with TeamMember in SCIM query for team members 2025-08-26 15:55:23 +01:00
Simon Larsen
13d9f19606 refactor: Remove ProjectUserService calls to streamline TeamMemberService operations 2025-08-26 15:52:28 +01:00
Simon Larsen
ad3221310a refactor: Remove ProjectUser model and associated service to streamline user management 2025-08-26 15:51:06 +01:00
Simon Larsen
659042fcfb fix: Update isCreateable property to false for Teams component 2025-08-26 14:43:54 +01:00
Simon Larsen
d65b9c7b29 feat: Refactor Teams component to use TeamMember model and update filtering logic 2025-08-26 14:42:14 +01:00
Simon Larsen
dc77206e6f feat: Add debug logging for SCIM team operations to track user additions 2025-08-26 14:25:31 +01:00
Nawaz Dhandala
9c1910d3f1 refactor: Remove unnecessary context argument from Docker build commands in workflows 2025-08-26 14:09:31 +01:00
Nawaz Dhandala
afe8f8e6f4 refactor: Implement retry mechanism for account and isolated VM compilation steps in workflows 2025-08-26 13:15:54 +01:00
Nawaz Dhandala
015bd0f870 refactor: Implement retry mechanism for Docker image builds in multiple workflows 2025-08-26 13:12:18 +01:00
Nawaz Dhandala
383c145186 refactor: Integrate retry mechanism for Docker image builds in workflows 2025-08-26 13:06:55 +01:00
Simon Larsen
f155795e6b fix: Remove single quotes from changelog delimiter for correct output formatting 2025-08-26 11:56:22 +01:00
Nawaz Dhandala
757f5b5721 refactor: Improve type annotations for better clarity in error handling 2025-08-26 11:42:15 +01:00
Nawaz Dhandala
694215df06 refactor: Improve code formatting for better readability in multiple files 2025-08-26 11:40:01 +01:00
Nawaz Dhandala
0eb6022f1d Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-08-26 11:38:10 +01:00
Nawaz Dhandala
3109006828 refactor: Replace regex literals with RegExp constructor for improved clarity in MarkdownViewer and StringUtils 2025-08-26 11:38:08 +01:00
Simon Larsen
272695bd11 feat: Enhance error handling and logging in processMetricsAsync and processTracesAsync methods for improved robustness 2025-08-26 11:36:47 +01:00
Simon Larsen
330e3bc106 fix: Correct syntax error in JavaScript expression example for incoming request monitors 2025-08-26 11:26:01 +01:00
Nawaz Dhandala
c7876bf3a3 refactor: Improve regex pattern for fact extraction and enhance code formatting in OtelIngestService 2025-08-26 11:22:36 +01:00
Simon Larsen
345ada5404 feat: Enhance error handling and logging in processLogsAsync method for improved telemetry data ingestion 2025-08-26 11:16:32 +01:00
Simon Larsen
4f97b1b460 feat: Enhance image loading and layout stability across blog views 2025-08-25 10:46:19 +01:00
Nawaz Dhandala
e35ef1809f refactor: Improve code formatting and consistency across Microsoft Teams integration files 2025-08-21 14:45:34 +01:00
Simon Larsen
c2926f3542 feat: Implement structured MessageCard creation from markdown for Microsoft Teams
- Added a method to build a structured MessageCard from markdown input, enhancing message formatting for Teams.
- Extracted title, facts, and actions from markdown to improve rendering in Teams notifications.
2025-08-21 14:43:13 +01:00
Simon Larsen
9495b4bd47 feat: Add Microsoft Teams incoming webhook option to subscriber settings
- Introduced a new property for Microsoft Teams incoming webhook URL in the StatusPageSubscriberService.
- Enhanced subscriber configuration to support Microsoft Teams notifications.
2025-08-21 14:25:49 +01:00
Simon Larsen
ad3f36fdf5 refactor: Simplify Slack and Microsoft Teams notification handling in StatusPageSubscriberService
- Removed try-catch blocks for sending notifications and replaced them with promise chaining for better readability.
- Added logging for successful notification sends and error handling directly in the promise catch.
2025-08-21 14:11:06 +01:00
Simon Larsen
f2221b0a40 feat: Implement Microsoft Teams webhook validation and notification in StatusPage subscriber service
- Added validation for Microsoft Teams incoming webhook URL during subscriber setup.
- Implemented notification sending to Microsoft Teams channel upon successful subscription.
- Updated SideMenu components to reflect the new naming convention for Microsoft Teams subscribers.
2025-08-21 14:04:20 +01:00
Simon Larsen
62fbc1f4be feat: Enhance Microsoft Teams subscriber validation and handling in StatusPage API
- Added validation to ensure Microsoft Teams subscribers are only processed if enabled.
- Updated error messages to include Microsoft Teams workspace name requirements.
- Implemented handling for Microsoft Teams incoming webhook URL and workspace name in subscriber setup.
2025-08-21 13:52:35 +01:00
Simon Larsen
054a2bc8f5 feat: Enable Microsoft Teams subscribers in StatusPage API 2025-08-21 13:49:28 +01:00
Simon Larsen
896787109c feat: Add Microsoft Teams subscriber option to Email, Slack, and SMS subscription pages 2025-08-21 13:47:13 +01:00
Simon Larsen
3a55fcc872 feat: Update microsoftTeamsIncomingWebhookUrl column type to text and add migration 2025-08-21 13:27:44 +01:00
Simon Larsen
2945a48d05 feat: Update microsoftTeamsWorkspaceName column type to VeryLongText and add migration 2025-08-21 13:15:44 +01:00
Simon Larsen
da3a7ddb2e feat: Add migration for Microsoft Teams subscriber functionality in StatusPage 2025-08-21 12:57:16 +01:00
Simon Larsen
04a0bfedaa fix: Make Microsoft Teams subscriber prop required in SideMenu component 2025-08-21 12:17:00 +01:00
Simon Larsen
fa5c7b1e73 feat: Add Microsoft Teams subscriber functionality
- Implemented Microsoft Teams subscribers in the dashboard side menu.
- Created Microsoft Teams subscriber settings page with toggle options.
- Added routes for Microsoft Teams subscribers in the routing configuration.
- Updated page map and route map to include Microsoft Teams subscriber paths.
- Enhanced the app state management to handle Microsoft Teams subscription settings.
- Integrated Microsoft Teams notification sending in the announcement and incident jobs.
- Developed Microsoft Teams subscription management and creation forms.
- Added UI components for managing Microsoft Teams subscribers in the status page.
2025-08-21 12:09:53 +01:00
Simon Larsen
a1c2918cd7 feat: Update homepage heading for improved clarity and emphasis on monitoring capabilities 2025-08-21 10:24:49 +01:00
Simon Larsen
91b11b12c1 fix: Update canonical links for blog posts and remove redundant canonical tags in head partials 2025-08-21 10:15:52 +01:00
Simon Larsen
778a34d631 feat: Implement fallback to commit messages in changelog if empty 2025-08-20 09:17:53 +01:00
Simon Larsen
6dbd838ca4 refactor: Remove mobile redirect script from homepage for cleaner code 2025-08-19 22:23:20 +01:00
Simon Larsen
e09634dc6f feat: Enhance blog listing with featured post display and improved layout 2025-08-19 22:21:12 +01:00
Simon Larsen
af60715de2 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-19 22:11:14 +01:00
Simon Larsen
3b4c54876e feat: Update default page size for blog pagination from 50 to 24 for improved performance 2025-08-19 22:11:12 +01:00
Nawaz Dhandala
e357100e46 refactor: Remove redundant dynamic section checks from sitemap tests 2025-08-19 20:43:08 +01:00
Simon Larsen
7f3a50076d feat: Add reference section check to sitemap tests for improved coverage 2025-08-19 14:25:37 +01:00
Simon Larsen
9d182b6d55 feat: Add additional static paths to sitemap generation for improved coverage 2025-08-19 14:25:16 +01:00
Simon Larsen
33fce0b53c feat: Implement caching for home URL retrieval to improve performance 2025-08-19 14:15:47 +01:00
Nawaz Dhandala
3db8419349 refactor: Simplify error handling in BlogPostUtil by removing unused error variables 2025-08-19 13:50:35 +01:00
Nawaz Dhandala
dfc324b099 refactor: Improve code formatting and readability in Markdown and BlogPost utilities 2025-08-19 12:58:17 +01:00
Simon Larsen
36521ef37c feat: Update blog post listing to improve layout and add Open Source Commitment section 2025-08-19 12:55:09 +01:00
Simon Larsen
a6f336340e feat: Implement pagination and tag filtering for blog posts 2025-08-19 12:40:51 +01:00
Simon Larsen
c36f782192 feat: Refactor blog post listing and tags display for improved layout and user experience 2025-08-19 12:34:23 +01:00
Simon Larsen
5219f1cfc0 feat: Remove unused imports and the getNameOfGitHubUser function from BlogPostUtil class 2025-08-19 12:29:27 +01:00
Simon Larsen
7f84d50baa feat: Add optional bio field for authors and update blog post template to display it 2025-08-19 12:28:12 +01:00
Simon Larsen
cd2ce3f1a8 feat: Add a newline for improved readability in BlogPostUtil class 2025-08-19 12:15:23 +01:00
Simon Larsen
01b0e01ca8 feat: Implement caching for blog metadata and improve author resolution without GitHub API calls 2025-08-19 12:07:33 +01:00
Simon Larsen
73dc6bb5db feat: Remove social media image display from blog post template 2025-08-19 11:55:38 +01:00
Simon Larsen
ab7fc1c244 feat: Enhance Markdown renderer with improved code block styling and add support for horizontal rules, emphasis, and strikethrough 2025-08-19 11:50:48 +01:00
Simon Larsen
3927bea29c feat: Enhance Markdown rendering with improved list, table, and inline code support; update tag display styling for better visual consistency 2025-08-19 11:47:21 +01:00
Simon Larsen
6060d66c2b feat: Revamp blog post layout with enhanced styling, author details, and reading time estimation 2025-08-19 11:37:10 +01:00
Nawaz Dhandala
9f4869b05f test: Enhance sitemap tests to validate presence of dynamic sections 2025-08-19 10:07:11 +01:00
Nawaz Dhandala
17bdfee012 refactor: Simplify regex usage in sitemap tests and improve middleware formatting 2025-08-19 10:05:59 +01:00
Simon Larsen
4988b9fc7a feat: Refactor mobile menu implementation for improved accessibility and usability 2025-08-19 10:04:20 +01:00
Simon Larsen
9edc6b9f18 feat: Enhance mobile navigation and improve header styling for better accessibility 2025-08-19 09:58:03 +01:00
Simon Larsen
525e19faa6 feat: Improve tab accessibility and keyboard navigation with semantic identifiers 2025-08-19 09:49:23 +01:00
Simon Larsen
588e8976d2 feat: Add middleware to inject home URL for canonical links and update canonical tag in head-basic.ejs 2025-08-19 09:47:59 +01:00
Simon Larsen
d5e28e98fb Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-19 09:39:45 +01:00
Simon Larsen
0e84bc9c40 feat: Enhance accessibility and keyboard navigation for product tabs 2025-08-19 09:39:42 +01:00
Nawaz Dhandala
39e8b1da6b refactor: Enhance type annotations and improve code readability in sitemap tests 2025-08-18 13:47:35 +01:00
Nawaz Dhandala
66c4badd94 refactor: Improve formatting of product pages check in sitemap tests 2025-08-18 13:41:01 +01:00
Simon Larsen
a245fabc34 feat: Add end-to-end tests for sitemap loading and validation 2025-08-18 13:39:19 +01:00
Nawaz Dhandala
fa9fce2774 refactor: Improve type annotations and error handling in various modules 2025-08-18 12:59:17 +01:00
Nawaz Dhandala
a256f4be54 Refactor logging statements for improved readability and consistency across services
- Updated logging statements in Sitemap.ts to enhance code clarity.
- Reformatted logger.info calls in IncomingRequestIngest, OpenTelemetryIngest, Probe, ProbeIngest, and ServerMonitorIngest to use multi-line formatting for better readability.
- Adjusted import statements in Probe to follow a consistent multi-line format.
2025-08-18 12:48:23 +01:00
Simon Larsen
4869172648 feat: Ensure home URL is prioritized in sitemap XML generation 2025-08-18 12:46:45 +01:00
Simon Larsen
1abd323b00 feat: Refactor sitemap generation and clean up unused imports 2025-08-18 12:45:06 +01:00
Simon Larsen
fa196a55cd feat: Update XML builder import and fix attribute assignment in URL set creation 2025-08-18 12:32:57 +01:00
Simon Larsen
29b4417aca feat: Update robots.txt to remove disallowed paths and simplify access 2025-08-18 12:31:57 +01:00
Simon Larsen
29c0d7e7e9 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-16 15:04:23 +01:00
Simon Larsen
bfbe2437c0 feat: Add concurrency logging for various ingest services 2025-08-16 15:04:10 +01:00
Nawaz Dhandala
ca0e082daf refactor: Simplify mock setup for ProjectUserService in TeamMemberService tests 2025-08-15 19:06:41 +01:00
Nawaz Dhandala
1987b1c42e refactor: Add type annotations for domain and verificationText variables in DNS tests 2025-08-15 16:31:23 +01:00
Nawaz Dhandala
38be6edec3 feat: Improve DNS error handling with user-friendly messages and enhance tests for TXT and CNAME record verification 2025-08-15 16:29:41 +01:00
Simon Larsen
b80dda6d1a feat: Enhance DNS error handling with user-friendly messages and add tests for TXT and CNAME record verification 2025-08-15 16:23:56 +01:00
Simon Larsen
f65b2711ca feat: Change Repeat Policy Times column type from Boolean to Number 2025-08-15 11:49:57 +01:00
Simon Larsen
151c3d8c52 feat: Update logging scripts in package.json to include follow-logs command and adjust logs command 2025-08-15 11:48:16 +01:00
Simon Larsen
f17ae36dce docs: Update TerraformBuild.md to clarify restrictions on editing API key and oneuptime_url variables 2025-08-15 11:45:31 +01:00
Simon Larsen
777c6948ad feat: Add Terraform provider generation and installation instructions 2025-08-15 11:42:03 +01:00
Simon Larsen
1c6f9adbcb Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-08-14 13:52:14 +01:00
Simon Larsen
6d1b3f8568 Merge branch 'master' into release 2025-08-14 13:52:00 +01:00
Simon Larsen
11526816d1 feat: Add onCallScheduleId to UserNotificationRuleService and UserOnCallLogService for enhanced tracking 2025-08-14 13:44:45 +01:00
Nawaz Dhandala
bf190b6a32 refactor: Clean up code formatting and improve readability across multiple services and components 2025-08-14 13:10:43 +01:00
Simon Larsen
4736ea8227 feat: Refine extractSayMessagesFromCallRequest to focus on main messages for call summary 2025-08-14 12:59:38 +01:00
Simon Larsen
2cb4281fc3 feat: Update viewPageRoute in ExecutionLogsTable to use RouteUtil for dynamic route population 2025-08-14 12:47:16 +01:00
Simon Larsen
505ed980c3 feat: Improve sayMessage extraction from onInputCallRequest in CallService 2025-08-14 12:44:47 +01:00
Simon Larsen
a0b77c94b0 feat: Enhance message extraction in CallService to include onInputCallRequest messages 2025-08-14 12:37:46 +01:00
Simon Larsen
bb996ddaa2 feat: Add OnCall-related fields to notification services for enhanced tracking 2025-08-14 12:26:51 +01:00
Simon Larsen
a2f8e49bc1 feat: Enhance channel retrieval in Slack and MicrosoftTeams with error handling and fallback mechanism 2025-08-14 11:38:37 +01:00
Simon Larsen
4d6086b7fd feat: Enhance modal display in PushLogsTable with Markdown support for better formatting 2025-08-14 11:26:20 +01:00
Simon Larsen
f84a1db36a refactor: Improve modal text handling in CallLogsTable and remove unused Device Type column in PushLogsTable 2025-08-14 11:21:20 +01:00
Simon Larsen
3aa4214e54 fix: Update condition for rendering placeholder in Detail component for better null handling 2025-08-14 11:12:53 +01:00
Simon Larsen
2fb8341f9c feat: Add default value for actionType in WorkspaceNotificationLog for improved tracking 2025-08-13 21:10:09 +01:00
Simon Larsen
888d18d0a3 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-13 21:01:53 +01:00
Simon Larsen
7f8270fac1 refactor: Add actionType to log in send message functionality for better tracking 2025-08-13 21:01:46 +01:00
Simon Larsen
318c1516cd Merge pull request #1981 from OneUptime/master
Release
2025-08-13 19:50:22 +01:00
Nawaz Dhandala
0343dcca93 refactor: Improve mail sending logic in UserService for better readability and consistency 2025-08-13 19:50:05 +01:00
Simon Larsen
7728e38029 refactor: Rename messageSummary to message in WorkspaceNotificationLog and related services for consistency 2025-08-13 19:49:36 +01:00
Simon Larsen
83a0efcbb9 refactor: Remove length restriction on joined strings in WorkspaceNotificationRuleService for improved readability 2025-08-13 19:42:17 +01:00
Simon Larsen
577ba9436e refactor: Simplify return logic in Service class and remove unnecessary TypeScript ignore comment in StatusPagesRoutes 2025-08-13 19:41:37 +01:00
Simon Larsen
a521f42417 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-13 19:38:06 +01:00
Simon Larsen
1002616ab3 refactor: Remove redundant userId parameter from service calls for cleaner code 2025-08-13 19:38:02 +01:00
Nawaz Dhandala
13adbd2443 refactor: Update MigrationName1755109893911 for consistent formatting and include in index 2025-08-13 19:36:34 +01:00
Simon Larsen
12b82252f1 refactor: Remove unnecessary await from CallService.makeCall in UserNotificationRuleService and UserNotificationSettingService for improved performance 2025-08-13 19:35:43 +01:00
Simon Larsen
bdb9cb9b9a Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-13 19:32:27 +01:00
Simon Larsen
c5e19db669 refactor: Add deviceName column to PushNotificationLog and update default actionType in WorkspaceNotificationLog for improved tracking 2025-08-13 19:32:23 +01:00
Nawaz Dhandala
345bdf80e1 refactor: Update device handling in PushNotification to support new devices format and improve error handling 2025-08-13 19:29:55 +01:00
Nawaz Dhandala
c4bf5e5001 refactor: Enhance device handling in PushNotification and improve type safety in PushNotificationService and PushLogsTable 2025-08-13 19:25:27 +01:00
Nawaz Dhandala
a3685b3698 refactor: Update push notification handling to use devices array with optional device names for improved clarity 2025-08-13 19:20:27 +01:00
Nawaz Dhandala
388f6e3530 refactor: Add deviceName field to PushNotificationLog and update PushLogsTable for improved device tracking 2025-08-13 19:09:32 +01:00
Nawaz Dhandala
0493dabb93 refactor: Remove unnecessary whitespace in makeCall method for improved code consistency 2025-08-13 18:57:10 +01:00
Simon Larsen
2383b2d352 refactor: Replace userBelongsToTeamId with teamId in CallService, UserNotificationRuleService, and UserNotificationSettingService for consistency 2025-08-13 18:56:21 +01:00
Simon Larsen
c526c0e320 refactor: Replace userBelongsToTeamId and overridedByUserId with teamId in notification services for consistency 2025-08-13 18:45:42 +01:00
Nawaz Dhandala
7d607608b3 refactor: Enhance user display handling in notification log tables for improved clarity 2025-08-13 18:18:27 +01:00
Nawaz Dhandala
abece559ea refactor: Simplify onClick handlers in CallLogsTable and EmailLogsTable for improved readability 2025-08-13 18:09:46 +01:00
Simon Larsen
f9b0c499ed refactor: Simplify props in CallLogsTable, EmailLogsTable, PushLogsTable, SmsLogsTable, and WorkspaceLogsTable for improved readability and maintainability 2025-08-13 18:07:26 +01:00
Nawaz Dhandala
38594f5198 refactor: Align query prop indentation in PushLogsTable, SmsLogsTable, and WorkspaceLogsTable for consistency 2025-08-13 18:00:41 +01:00
Simon Larsen
8f08ec42c7 refactor: Update query prop type to use Query<BaseModel> for improved type safety in log tables 2025-08-13 17:59:59 +01:00
Simon Larsen
8c697149e3 refactor: Remove unused log components (CallLog, EmailLog, PushLog, SmsLog) 2025-08-13 17:57:56 +01:00
Simon Larsen
2ff3dee440 refactor: Remove CallLog, EmailLog, and SmsLog components to streamline dashboard settings 2025-08-13 17:52:07 +01:00
Nawaz Dhandala
c0e8193614 refactor: Update NotificationLogsTabs to use typed Query object for improved type safety 2025-08-13 17:42:14 +01:00
Nawaz Dhandala
c1d06fdae5 refactor: Simplify component formatting in NotificationLogsTabs and related pages 2025-08-13 17:40:33 +01:00
Simon Larsen
00ed20ea68 fix: Update import path for NotificationLogs component in ScheduledMaintenanceEventsRoutes 2025-08-13 17:40:02 +01:00
Simon Larsen
db93cc8841 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-13 17:37:41 +01:00
Simon Larsen
374e8ecb4c refactor: Update NotificationLogsTabs to use query object for improved flexibility 2025-08-13 17:37:14 +01:00
Nawaz Dhandala
9ac17850a6 refactor: Simplify MailService sendMail calls and improve formatting in Notification components 2025-08-13 17:34:58 +01:00
Simon Larsen
a38d75b8f0 Refactor Notification Logs: Consolidate Tabs into NotificationLogsTabs Component
- Removed individual log components for Email, SMS, Call, Push, and Workspace from various pages.
- Replaced existing tab implementations with a unified NotificationLogsTabs component.
- Updated pages for Incidents, OnCallDuty, ScheduledMaintenanceEvents, StatusPages, and Settings to use the new NotificationLogsTabs.
- The NotificationLogsTabs component dynamically generates tabs based on the provided singular name and query key.
2025-08-13 17:32:47 +01:00
Simon Larsen
1bfdf90bca fix: Remove unnecessary userId parameter from signup request handling 2025-08-13 17:30:33 +01:00
Simon Larsen
49e3db9442 fix: Update icon in SideMenu components from List to Bell for improved clarity 2025-08-13 17:19:18 +01:00
Simon Larsen
83ab7030a4 fix: Update icon for SideMenuItem to improve visual consistency 2025-08-13 17:18:18 +01:00
Simon Larsen
76abf62917 feat: Add on-call policy related fields to notification services and API endpoints 2025-08-13 17:13:04 +01:00
Simon Larsen
a5c2f19846 fix: Remove unnecessary userId parameter from signup response handling 2025-08-13 15:59:01 +01:00
Simon Larsen
d37e783aeb fix: Remove unnecessary userId parameter from signup request handling 2025-08-13 15:58:17 +01:00
Simon Larsen
657ea0ec09 refactor: Update default messages in notification log tables to specify project context 2025-08-13 15:56:27 +01:00
Simon Larsen
e59f7a0a7f refactor: Update action type values in WorkspaceNotificationLog and related services for consistency 2025-08-13 15:55:02 +01:00
Nawaz Dhandala
35fc80de1e refactor: Rename "Initiated by" to "User" in notification log tables for consistency 2025-08-13 15:21:49 +01:00
Nawaz Dhandala
5e2dea40a3 refactor: Adjust formatting in Tabs component for improved readability 2025-08-13 15:18:30 +01:00
Nawaz Dhandala
a66f92e0b9 refactor: Simplify TabElement class assignment and clean up Tabs component structure 2025-08-13 15:16:58 +01:00
Nawaz Dhandala
a2ce7c9433 refactor: Remove unnecessary blank line before SettingsWorkspaceLog component 2025-08-13 15:02:49 +01:00
Nawaz Dhandala
eab1dc4b1b refactor: Replace SettingsWorkspaceLog component with direct import of WorkspaceLogsTable and remove unused WorkspaceLog file 2025-08-13 15:01:23 +01:00
Nawaz Dhandala
6939c70ed8 feat: Add actionType to WorkspaceNotificationLog and update OnCallDutyPolicyScheduleLayer defaults in migration 2025-08-13 14:58:11 +01:00
Simon Larsen
cce0dc8a45 feat: Add migration to include actionType in WorkspaceNotificationLog and update OnCallDutyPolicyScheduleLayer defaults 2025-08-13 14:53:05 +01:00
Simon Larsen
ec51d7b574 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-13 14:38:16 +01:00
Simon Larsen
d4129cfa8e fix: Correct permission assignment for creating incident state timelines 2025-08-13 14:38:12 +01:00
Nawaz Dhandala
1ee7c092d3 Refactor Workspace Notification Log Service and related components
- Added missing commas in migration index for consistency.
- Cleaned up whitespace in WorkspaceNotificationLogService for better readability.
- Updated logChannelCreated and logUserInvited methods to improve code clarity.
- Enhanced button press logging in Slack actions for better error handling.
- Standardized formatting in ScheduledMaintenance and Incident Slack actions.
- Improved code structure in UptimeUtil for better readability.
- Refactored Notification components in Dashboard for consistent formatting.
- Updated WorkspaceLog component to include color typing for action types.
2025-08-13 14:30:51 +01:00
Simon Larsen
daf3b13e00 refactor: Remove unused resource association logic from user invitation process 2025-08-13 14:27:09 +01:00
Simon Larsen
5035319cc6 feat: Add action type column to WorkspaceLogsTable for improved visibility 2025-08-13 14:23:17 +01:00
Simon Larsen
3d53889d1e feat: Refactor notification log components to simplify structure and improve readability 2025-08-13 14:22:19 +01:00
Simon Larsen
65b610ebbb feat: Enhance WorkspaceLog with action type display and filtering options 2025-08-13 14:09:49 +01:00
Simon Larsen
30d1b43178 feat: Add WorkspaceNotificationActionType enum for notification actions 2025-08-13 14:08:35 +01:00
Simon Larsen
d0645f5dc2 feat: Add on-call duty policy fields and constraints to log tables 2025-08-13 13:42:31 +01:00
Simon Larsen
2274c14098 feat: Add On-Call Duty Policy and Schedule Notification Logs
- Enhanced PushNotificationLog, SmsLog, and WorkspaceNotificationLog models to include relationships with OnCallDutyPolicy, OnCallDutyPolicyEscalationRule, OnCallDutyPolicySchedule, and Team.
- Introduced new NotificationLogs components for OnCallDutyPolicy and OnCallDutySchedule, allowing users to view logs for Email, SMS, Call, Push, and Workspace notifications.
- Updated SideMenu components to include links to the new Notification Logs pages for both OnCallDutyPolicy and OnCallDutySchedule.
- Added routes and page mappings for the new Notification Logs views in OnCallDutyRoutes and PageMap.
2025-08-13 13:40:32 +01:00
Simon Larsen
d1b4d3867a feat: Enhance event overlap checks for today's events in DayUptimeGraph and UptimeUtil 2025-08-13 13:18:08 +01:00
Simon Larsen
04d4712c81 feat: Add Notification Logs section and related components for scheduled maintenance events 2025-08-13 12:58:42 +01:00
Nawaz Dhandala
9c2d2b658b refactor: Simplify event overlap check for today's events in DayUptimeGraph 2025-08-13 12:37:00 +01:00
Nawaz Dhandala
fdb1444dc8 fix: Specify type for loop index in push log creation for clarity 2025-08-13 12:24:55 +01:00
Nawaz Dhandala
39f724b77f fix: Make 'name' property public in MigrationName class for consistency 2025-08-13 12:24:08 +01:00
Nawaz Dhandala
dbfa153209 feat: Add userId tracking to email notifications and enhance logging across services 2025-08-13 12:23:45 +01:00
Simon Larsen
1c8739237f feat: Add userId tracking to email notifications across various services 2025-08-13 12:13:19 +01:00
Simon Larsen
26cdaacf6b feat: Add AlertDescription lazy import and route for alert view description 2025-08-13 11:55:28 +01:00
Simon Larsen
bbc8f0c680 feat: Add userId field to various services for enhanced tracking and logging 2025-08-12 21:54:51 +01:00
Simon Larsen
61dd8e9202 feat: Add userId field to notification logs and services for tracking user actions 2025-08-12 21:33:29 +01:00
Simon Larsen
6e17832239 feat: Enhance PushNotificationService with detailed logging and error handling 2025-08-12 21:00:30 +01:00
Simon Larsen
6460827c4c refactor: Remove Thread ID column from WorkspaceLogsTable 2025-08-12 20:40:22 +01:00
Simon Larsen
7bfd810b73 feat: Integrate MarkdownViewer for modal description in WorkspaceLogsTable 2025-08-12 19:46:18 +01:00
Simon Larsen
8b17217778 refactor: Remove redundant error logging for missing threads in workspace notification service 2025-08-12 19:44:24 +01:00
Simon Larsen
19a86e9683 fix: Change type of elk variable to any in ServiceDependencyGraph component 2025-08-12 19:23:10 +01:00
Simon Larsen
d2fd46db50 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-12 17:39:52 +01:00
Simon Larsen
26cfbd07cb feat: Add server names hash tuning options to nginx configuration 2025-08-12 17:39:47 +01:00
Nawaz Dhandala
33992984e2 fix: Correct indentation for metrics endpoint exposure in WorkersFeatureSet 2025-08-12 17:38:38 +01:00
Nawaz Dhandala
e295c19b19 feat: Implement KEDA autoscaling for worker service with metrics endpoint 2025-08-12 17:37:13 +01:00
Nawaz Dhandala
51d42c8436 feat: Update no items message in Notification Logs tables to include pluralization 2025-08-12 14:57:25 +01:00
Nawaz Dhandala
50f16d0fdc Refactor Notification Logs Tables and Related Components
- Updated EmailLogsTable, PushLogsTable, and SmsLogsTable components for improved readability and consistency in code formatting.
- Enhanced the structure of props in various components to maintain uniformity.
- Refactored the return statements in several components to use consistent formatting.
- Cleaned up unnecessary whitespace and improved the organization of imports across multiple files.
- Adjusted the breadcrumb and route mapping for better clarity and maintainability.
2025-08-11 16:48:29 +01:00
Nawaz Dhandala
726ab4d7c0 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-08-11 16:47:55 +01:00
Nawaz Dhandala
1461dd0164 feat: Add source and target positions to nodes in ServiceDependencyGraph 2025-08-11 16:47:54 +01:00
Simon Larsen
5ce1a782b3 refactor: Remove 'Subject' column from EmailLogsTable component 2025-08-11 14:41:59 +01:00
Simon Larsen
741eaec1d3 feat: Add modal functionality to Notification Logs tables for viewing details 2025-08-11 14:38:35 +01:00
Simon Larsen
2d8c931641 refactor: Standardize formatting in EmailLogsTable component 2025-08-11 14:26:05 +01:00
Simon Larsen
4db479958b refactor: Remove unused imports and simplify ServiceCatalogPage component 2025-08-11 14:26:00 +01:00
Simon Larsen
8c825f1498 refactor: Update imports in ServiceDependencyGraph and clean up AnnouncementView component 2025-08-11 14:10:48 +01:00
Simon Larsen
25426992be feat: Add route for deleting announcement view in Status Pages 2025-08-11 14:01:25 +01:00
Simon Larsen
861a72d194 feat: Enhance Notification Logs tables with singular and plural naming support 2025-08-11 13:54:54 +01:00
Simon Larsen
0857cebcfc Refactor Notification Logs: Replace ModelTable with dedicated components for Call, Email, Push, SMS, and Workspace logs
- Introduced new components: CallLogsTable, EmailLogsTable, PushLogsTable, SmsLogsTable, and WorkspaceLogsTable.
- Updated NotificationLogsSms, NotificationLogsEmail, NotificationLogsCall, NotificationLogsPush, and NotificationLogsWorkspace to utilize the new components.
- Removed redundant column and filter definitions from the individual log pages, centralizing them in the new table components.
- Enhanced code readability and maintainability by separating concerns and reducing duplication.
2025-08-11 13:28:50 +01:00
Nawaz Dhandala
975af2c22a Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-08-11 13:16:02 +01:00
Nawaz Dhandala
98d15f91b0 feat: Integrate ELK for layout management in ServiceDependencyGraph and add typings for elkjs 2025-08-11 13:15:59 +01:00
Simon Larsen
6d55b59a21 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-11 12:47:35 +01:00
Simon Larsen
8a27651d84 feat: Add Notification Logs section and related components for Status Pages 2025-08-11 12:45:05 +01:00
Nawaz Dhandala
6a35dffcb5 feat: Update ServiceDependencyGraph to enhance edge styling and add read-only view styles 2025-08-11 12:34:49 +01:00
Nawaz Dhandala
1e4c46bb3f feat: Enhance ServiceDependencyGraph with luminance-based text color and update SideMenu icon 2025-08-11 12:33:11 +01:00
Simon Larsen
fe44c0fde4 feat: Add migration for WorkspaceNotificationLog table and related constraints 2025-08-11 12:09:54 +01:00
Nawaz Dhandala
089f612ec4 refactor: Improve code formatting and consistency across various components and routes 2025-08-11 12:01:59 +01:00
Simon Larsen
8dbd9e7430 Merge pull request #1982 from OneUptime/service-catalog-dependency
feat: Implement Service Catalog Dependency Graph and associated layou…
2025-08-11 11:58:53 +01:00
Simon Larsen
66eb9eede0 feat: Update notification log routes and components for consistency across Alerts, Incidents, Settings, and Status Pages 2025-08-11 11:57:02 +01:00
Nawaz Dhandala
e8db6fcb7f feat: Implement Service Catalog Dependency Graph and associated layout components 2025-08-11 11:47:08 +01:00
Simon Larsen
d9e7f44590 feat: Consolidate notification logs into unified components across Alerts, Incidents, Settings, and Status Pages 2025-08-10 15:20:14 +01:00
Simon Larsen
b7df0a7d05 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-10 14:51:25 +01:00
Nawaz Dhandala
4101954862 refactor: Enhance type definitions and improve message summary functions in WorkspaceNotificationRuleService 2025-08-10 14:51:09 +01:00
Nawaz Dhandala
d68e4737e7 refactor: Improve code formatting and readability across multiple components 2025-08-10 14:46:44 +01:00
Nawaz Dhandala
bfb80388a0 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-08-10 14:45:52 +01:00
Nawaz Dhandala
1beb96345b feat: Add Workspace Logs functionality across various pages
- Introduced Workspace Logs link in the SideMenu for Alerts, Incidents, Settings, and Status Pages.
- Created new routes for viewing Workspace Logs in Alerts, Incidents, Settings, and Status Pages.
- Added WorkspaceNotificationLog model to handle logs related to messages sent to Slack and Microsoft Teams.
- Implemented WorkspaceNotificationLogService for managing log entries.
- Developed UI components for displaying Workspace Logs in Alerts, Incidents, Settings, and Status Pages.
- Added filtering options for Workspace Logs based on status and workspace type.
2025-08-10 14:45:50 +01:00
Simon Larsen
1eb2af737d feat: Add routes for viewing alert, incident, and announcement logs 2025-08-10 14:28:00 +01:00
Simon Larsen
18f756a29b Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-10 14:21:36 +01:00
Simon Larsen
002f98720c feat: Add route for Push Logs settings page 2025-08-10 14:21:32 +01:00
Nawaz Dhandala
fdf5aacc2b Refactor notification log components for improved readability and consistency
- Updated AlertPushLogs, AlertSmsLogs, IncidentCallLogs, IncidentSmsLogs, IncidentEmailLogs, and related components to enhance code formatting and structure.
- Improved the layout of column definitions and filter options for better readability.
- Ensured consistent use of object destructuring and formatting across components.
- Added missing line breaks and indentation for clarity.
- Updated query and cardProps formatting for consistency across components.
2025-08-10 13:28:44 +01:00
Simon Larsen
574cad6806 feat: Add migration for PushNotificationLog table and related constraints 2025-08-10 13:27:28 +01:00
Simon Larsen
34c4ae947b feat: Add Push Notification Logs functionality
- Introduced PushNotificationLog model to track push notifications sent to users.
- Added permissions for reading push logs in the Permission enum.
- Updated various side menus to include links to Push Logs in Alerts, Incidents, and Settings.
- Created routes for viewing Push Logs in Alerts, Incidents, and Status Pages.
- Implemented UI components for displaying Push Logs in respective pages.
- Added filtering and column configuration for Push Logs tables.
- Integrated PushStatus enum to manage the status of push notifications.
- Implemented PushNotificationLogService for database interactions related to push logs.
2025-08-10 13:25:53 +01:00
Simon Larsen
8d9fc46506 feat: Add migration for new fields and constraints in CallLog, EmailLog, and SmsLog 2025-08-09 22:50:27 +01:00
Simon Larsen
c41fbefdcb feat: Add status page announcement logs to Call, Email, and SMS logs
- Enhanced CallLog, EmailLog, and SmsLog models to include relationships with StatusPageAnnouncement.
- Updated CallService, MailService, and SmsService to handle statusPageAnnouncementId.
- Introduced AnnouncementViewLayout and AnnouncementSideMenu for better navigation.
- Created dedicated components for viewing Email, SMS, and Call logs related to announcements.
- Added routes for viewing logs and deleting announcements.
- Implemented filtering and display of logs in the UI.
2025-08-09 22:47:24 +01:00
Simon Larsen
3e47051233 Add notification logs for alerts and incidents
- Implemented Email, SMS, and Call logs for alerts in the dashboard.
- Created corresponding components for viewing logs: AlertEmailLogs, AlertSmsLogs, AlertCallLogs.
- Added routes for accessing alert notification logs.
- Enhanced the SideMenu to include links to notification logs for alerts.
- Implemented Email, SMS, and Call logs for incidents in the dashboard.
- Created corresponding components for viewing logs: IncidentEmailLogs, IncidentSmsLogs, IncidentCallLogs.
- Added routes for accessing incident notification logs.
- Enhanced the SideMenu to include links to notification logs for incidents.
- Updated various services to include statusPageId and incidentId where necessary for better tracking.
2025-08-09 21:09:57 +01:00
Simon Larsen
8219f44708 fix: Adjust job removal counts in Queue class to manage Redis bloat more effectively 2025-08-08 22:05:54 +01:00
Simon Larsen
59e6505aa3 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-08 22:03:46 +01:00
Simon Larsen
1f971b932a feat: Implement initial cleanup for legacy jobs in Queue class to manage memory and prevent Redis bloat 2025-08-08 22:03:43 +01:00
Nawaz Dhandala
d0e12ae86f fix: Adjust indentation for improved readability in Config and Routes files 2025-08-08 21:56:35 +01:00
Simon Larsen
cd11a450cd feat: Introduce configurable concurrency settings for ingest workers in environment variables 2025-08-08 21:52:49 +01:00
Simon Larsen
c0259fc041 feat: Add concurrency setting for OpenTelemetry Ingest worker and update related configurations 2025-08-08 21:21:53 +01:00
Simon Larsen
db1f5a29bb fix: Update notification handling to mark announcements and public notes as Skipped when no related entities are found 2025-08-08 19:17:55 +01:00
Simon Larsen
a9ecaf2dc8 fix: Update incident handling to mark subscriber notifications as Skipped when no monitors are attached 2025-08-08 19:14:52 +01:00
Nawaz Dhandala
138aad596a Refactor logging statements for improved readability and consistency across worker jobs; ensure all debug messages are formatted uniformly. Update migration index to include trailing comma for consistency. Simplify route initialization in Workers feature set. 2025-08-08 18:53:40 +01:00
Simon Larsen
2577b339aa fix: Reorder route initialization to ensure worker routes are registered before default catch-alls 2025-08-08 18:44:09 +01:00
Simon Larsen
80e7731cca fix: Remove ClusterKeyAuthorization middleware from inspector route 2025-08-08 18:13:03 +01:00
Simon Larsen
9da7b258f9 feat: Add migration to rename subscriber notification fields and update database schema 2025-08-08 17:48:07 +01:00
Simon Larsen
0ec3b1aa39 fix: Remove obsolete migration files and update index to reflect changes 2025-08-08 17:42:27 +01:00
Simon Larsen
7a9bb22813 fix: Add UpdateSubscriberNotificationStatusToEnum migration for subscriber notification status updates 2025-08-08 17:34:12 +01:00
Simon Larsen
92550ac7d6 fix: Remove unnecessary createdAt condition in subscriber notification jobs and add debug logging for better traceability 2025-08-08 16:56:47 +01:00
Nawaz Dhandala
101df5b9b7 fix: Refactor error message in StatusPageDelete for better readability and clarity 2025-08-08 15:17:54 +01:00
Simon Larsen
c3d7672935 fix: Remove unnecessary NOT NULL constraint on subscriberNotificationStatusOnIncidentCreated in Incident table migration 2025-08-08 15:08:03 +01:00
Simon Larsen
859c6378af fix: Update Dockerfile to use apt-get for installing bash and curl 2025-08-08 14:05:51 +01:00
Simon Larsen
620979eab2 fix: Correct typo in notification status message 2025-08-08 13:37:52 +01:00
Simon Larsen
0aa1c51efa fix: Update error message in StatusPageDelete to clarify environment variable setup for Docker and Helm 2025-08-08 13:37:13 +01:00
Simon Larsen
1985e9fc25 fix: Update error message in StatusPageDelete to include environment variable requirement for custom domains 2025-08-08 13:35:27 +01:00
Simon Larsen
ba4093838b fix: Add type assertion for categoryColors in ChartLegend to ensure correct type usage 2025-08-07 22:31:54 +01:00
Nawaz Dhandala
4bd7902afe fix: Refactor ResourceGenerator to improve type annotations and code clarity 2025-08-07 22:05:47 +01:00
Simon Larsen
5c300ed513 feat: Enhance update method to conditionally include fields based on change detection 2025-08-07 22:03:21 +01:00
Simon Larsen
c4a50e853c feat: Add logging for unauthorized update attempts in ColumnPermissions 2025-08-07 21:29:13 +01:00
Simon Larsen
20c1f13876 fix: Exclude computed fields from default empty list assignment in ResourceGenerator 2025-08-07 21:22:48 +01:00
Simon Larsen
09426ed6be Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-07 21:11:42 +01:00
Nawaz Dhandala
675a031ee6 fix: Correct return type of getYAxisDomain function to match expected output 2025-08-07 21:02:59 +01:00
Simon Larsen
92986ac1f8 feat: Add isDefaultValueColumn flag to Downtime Monitor Statuses field in StatusPage model 2025-08-07 17:38:07 +01:00
Simon Larsen
2b95d608dc fix: Remove redundant build command for darwin arm architecture 2025-08-07 16:55:43 +01:00
Nawaz Dhandala
2696071933 fix: Correct formatting in ProjectSSO and UserNotificationSetting models; update conditional logic in DatabaseService 2025-08-07 16:46:14 +01:00
Nawaz Dhandala
684a61b599 feat: Add default values for boolean fields in various database models 2025-08-07 16:45:33 +01:00
Nawaz Dhandala
633a89161e Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-08-07 15:03:02 +01:00
Nawaz Dhandala
fd24781783 refactor: Optimize onBarClick and shape rendering logic in BarChart component 2025-08-07 15:03:00 +01:00
Simon Larsen
903b13d515 feat: Handle null values for required fields in data processing 2025-08-07 14:48:01 +01:00
Simon Larsen
58a128a05e Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-07 14:45:51 +01:00
Simon Larsen
ec1d567813 feat: Set default values for status page configuration options 2025-08-07 14:45:48 +01:00
Nawaz Dhandala
0a53161eac refactor: Improve type annotations and code consistency across various components 2025-08-07 14:31:13 +01:00
Nawaz Dhandala
83b91af708 Refactor code for consistency and readability across various components
- Updated import statements for better formatting in multiple files.
- Added semicolons for consistency in BarChart and SparkChart components.
- Improved code readability by using braces for single-line if statements in various functions.
- Enhanced the structure of return statements for clarity in SubscriberNotificationStatus and other components.
- Refactored map functions to use explicit return statements for better readability.
- Cleaned up whitespace and formatting in multiple files for a more uniform code style.
2025-08-07 13:55:08 +01:00
Simon Larsen
3fefee8725 feat: Enhance notification status handling and improve UI components 2025-08-07 13:49:53 +01:00
Simon Larsen
9b2cc7d377 feat: Update create permissions for Incident and Scheduled Maintenance models 2025-08-07 12:52:00 +01:00
Simon Larsen
1fb71ed2e3 feat: Implement subscriber notification status handling across multiple services 2025-08-07 12:46:40 +01:00
Simon Larsen
94a5abdb31 feat: Add SparkChart component with Area, Line, and Bar chart implementations 2025-08-07 11:52:44 +01:00
Simon Larsen
73f4559943 feat: Refactor BarChart component for improved type safety and event handling 2025-08-07 11:47:59 +01:00
Simon Larsen
9c3c6ee4e9 feat: Add BarChart component for enhanced data visualization 2025-08-07 11:29:19 +01:00
Simon Larsen
56743214a0 feat: Update button style in SubscriberNotificationStatus for improved UI consistency 2025-08-07 11:29:14 +01:00
Simon Larsen
9136c6d40e feat: Update color imports in SubscriberNotificationStatus for consistent branding 2025-08-07 11:23:46 +01:00
Simon Larsen
920a9baee9 feat: Update ConfirmModal behavior in SubscriberNotificationStatus for improved user interaction 2025-08-07 11:20:23 +01:00
Simon Larsen
1c4aad2d81 feat: Add SubscriberNotificationStatus component to IncidentViewStateTimeline and ScheduledMaintenanceDelete for enhanced notification display 2025-08-07 11:17:34 +01:00
Simon Larsen
8a4644922a feat: Add textColor prop to IconText component and update SubscriberNotificationStatus to utilize it 2025-08-07 11:04:20 +01:00
Simon Larsen
c3f4b7d3d4 feat: Enhance SubscriberNotificationStatus component with IconText and ConfirmModal for improved status display and user interaction 2025-08-07 10:54:10 +01:00
Simon Larsen
6f7c0814ee feat: Implement IconText component and refactor CheckboxViewer to use it 2025-08-07 10:49:21 +01:00
Nawaz Dhandala
77cd3fc4c0 refactor: Enhance type definitions for handleResendNotification and getNotificationStatusInfo across components 2025-08-06 16:02:57 +01:00
Nawaz Dhandala
e7cbc3d739 Refactor notification status assignments and improve code readability in incident and scheduled maintenance notification jobs
- Updated subscriber notification status assignments for better readability by breaking long lines.
- Added handling for non-visible scheduled maintenance events to set status to Skipped.
- Improved error handling and logging for scheduled maintenance public notes and state timelines.
- Ensured consistent formatting and structure across notification jobs for clarity and maintainability.
2025-08-06 15:41:28 +01:00
Simon Larsen
6d14ea19b9 feat: Add subscriberNotificationStatusMessage to selectMoreFields in multiple components 2025-08-06 14:47:13 +01:00
Simon Larsen
1290d3b946 fix: Remove unnecessary className from subscriberNotificationStatusMessage in PublicNote component 2025-08-06 14:29:51 +01:00
Simon Larsen
c0c58546d0 feat: Integrate Tooltip for subscriberNotificationStatusMessage in SubscriberNotificationStatus component 2025-08-06 14:17:37 +01:00
Simon Larsen
6c5ef10606 feat: Update migration files to rename subscriberNotificationFailedReason to subscriberNotificationStatusMessage and adjust imports 2025-08-06 14:05:26 +01:00
Simon Larsen
ec4c6ff7c5 feat: Rename subscriberNotificationFailedReason to subscriberNotificationStatusMessage across models and update related components 2025-08-06 14:04:06 +01:00
Simon Larsen
616e6e43ab feat: Update access control permissions for Incident, Scheduled Maintenance, and related models 2025-08-06 13:03:55 +01:00
Simon Larsen
aa08cd904b feat: Update SCIMPage to use Route for documentation link instead of URL 2025-08-06 12:34:21 +01:00
Simon Larsen
fef1c1055c feat: Integrate SubscriberNotificationStatus component in Incident and Scheduled Maintenance views, replacing checkbox logic 2025-08-06 12:31:14 +01:00
Simon Larsen
22e33809f9 feat: Remove style prop from SubscriberNotificationStatus component usage across various views 2025-08-06 11:39:59 +01:00
Simon Larsen
eb8324a3c2 feat: Replace NotificationStatusPill with SubscriberNotificationStatus component across various views 2025-08-06 11:25:35 +01:00
Simon Larsen
fa6dedc9a1 feat: Add resend notification functionality to NotificationStatusPill and related components 2025-08-06 11:24:20 +01:00
Simon Larsen
099cd807bf feat: Remove unused notification status fields and components from Announcements, Incidents, and Scheduled Maintenance tables 2025-08-06 10:58:15 +01:00
Simon Larsen
5d0b010fc4 feat: Remove unused StatusPageSCIM from AllModelTypes 2025-08-05 21:56:55 +01:00
Simon Larsen
1fc421f92a feat: Refactor notification status handling with NotificationStatusPill component 2025-08-05 21:31:08 +01:00
Simon Larsen
14a14e2341 feat: Add .claude/settings.local.json to .gitignore 2025-08-05 21:09:10 +01:00
Simon Larsen
ab23cca264 feat: Remove unused ActionButtonSchema import from multiple components 2025-08-05 20:42:06 +01:00
Simon Larsen
678a961fb9 feat: Add migration for updating subscriber notification status to the migration index 2025-08-05 18:35:49 +01:00
Simon Larsen
c2e458f035 feat: Rename notification failure reason columns for consistency and update types to text 2025-08-05 18:35:14 +01:00
Simon Larsen
4daf17dc8c feat: Add SCIM documentation for automated user provisioning and deprovisioning 2025-08-05 18:04:59 +01:00
Simon Larsen
842aa4b88d feat: Rename notification failure reason fields to subscriberNotificationFailedReason for consistency across incident and scheduled maintenance jobs 2025-08-05 18:03:33 +01:00
Simon Larsen
fd51142693 feat: Update notification failure reason fields to subscriberNotificationFailedReason and change type to VeryLongText 2025-08-05 17:57:17 +01:00
Simon Larsen
e0ddf80aa6 feat: Add migration for updating subscriber notification status and handling failure reasons in Incident and ScheduledMaintenance tables 2025-08-05 17:53:06 +01:00
Simon Larsen
e8d55164c6 feat: Update notification handling for subscribers across various jobs
- Introduced a new enum `StatusPageSubscriberNotificationStatus` to manage notification statuses (Skipped, Pending, InProgress, Success, Failed).
- Updated `SendNotificationToSubscribers` jobs for Announcements, Incidents, Scheduled Maintenance, and Public Notes to utilize the new notification status system.
- Added logic to mark notifications as Skipped if they should not be sent, and to update the status to InProgress when notifications are being processed.
- Implemented success and failure handling for notifications, updating the respective status and logging errors as needed.
- Modified database schema to replace old boolean notification flags with the new enum-based status fields, ensuring backward compatibility with existing records.
- Added migration script to handle the transition of existing records to the new notification status system.
2025-08-05 17:49:28 +01:00
Nawaz Dhandala
5cd8795e7a refactor: Clean up code formatting and improve readability in SCIM and StatusPageSCIM files 2025-08-05 12:49:04 +01:00
Simon Larsen
aebf7a4f2e feat: Remove Groups Endpoint display and enhance user identifier information in SCIM settings 2025-08-05 12:48:10 +01:00
Simon Larsen
3ef093eee1 feat: Add password generation for private users and update SideMenu icon 2025-08-05 12:46:09 +01:00
Simon Larsen
b4c530a6a5 feat: Update SCIM links and enhance HiddenText component for copy functionality 2025-08-05 12:37:34 +01:00
Simon Larsen
166228cad5 feat: Enhance SCIM configuration handling and update UI elements 2025-08-05 12:28:48 +01:00
Simon Larsen
1eb95c71fe feat: Add StatusPageSCIM API integration to BaseAPIFeatureSet 2025-08-05 12:16:24 +01:00
Simon Larsen
56f33f256b feat: Increase concurrency limit for ingest job processing to improve throughput 2025-08-05 11:13:49 +01:00
Simon Larsen
42afd164b7 feat: Increase concurrency limit for telemetry job processing to improve performance 2025-08-05 11:11:12 +01:00
Nawaz Dhandala
0796166a55 fix: Correct syntax errors in navigation group array in Nav.ts 2025-08-05 11:07:45 +01:00
Nawaz Dhandala
170bfa8515 refactor: Improve code formatting and consistency across SCIM-related files 2025-08-05 11:03:00 +01:00
Simon Larsen
2f517d8dcc feat: Update SCIM documentation URLs to use environment configuration 2025-08-05 11:00:18 +01:00
Simon Larsen
cb5c4dce45 feat: Add SCIM API documentation for user provisioning and deprovisioning 2025-08-05 10:52:57 +01:00
Simon Larsen
d9abeda60d feat: Refactor SCIM utility functions for improved modularity and logging 2025-08-05 10:33:38 +01:00
Simon Larsen
15c4c89310 feat: Add StatusPageSCIM model and related database migration
- Implemented StatusPageSCIM model with necessary fields and access controls.
- Created migration script to set up StatusPageSCIM table in the database.
- Developed StatusPageSCIMService for handling SCIM configurations, including bearer token generation.
- Added SCIM management page in the dashboard with functionalities for creating, editing, and resetting bearer tokens.
2025-08-05 10:07:24 +01:00
Simon Larsen
8c1d5652f4 feat: Change button style type for resetting bearer token to outline 2025-08-04 22:14:31 +01:00
Nawaz Dhandala
fbf87cf8d4 refactor: Add type annotations to formatUserForSCIM and resetBearerToken functions for improved type safety 2025-08-04 22:10:06 +01:00
Nawaz Dhandala
1c12ad94dd fix: Add type annotations for improved type safety in SCIM and Metrics modules 2025-08-04 22:07:10 +01:00
Nawaz Dhandala
aa09bab7c9 Refactor SCIM migrations and models; update formatting and improve readability
- Added missing comma in AllModelTypes array in Index.ts.
- Refactored MigrationName1754304193228 to improve query formatting and readability.
- Refactored MigrationName1754315774827 for consistency in formatting.
- Updated migration index file to include new migration.
- Standardized string quotes in Queue.ts for consistency.
- Cleaned up SCIMAuthorization.ts by removing unnecessary whitespace and improving log formatting.
- Refactored StartServer.ts to standardize content-type header handling.
- Improved formatting in SCIM.tsx for better readability and consistency.
- Refactored Metrics.ts to standardize queueSize extraction and type checking.
- Enhanced Probe.ts logging for clarity and consistency.
2025-08-04 21:36:11 +01:00
Simon Larsen
f7d1975ab0 feat: Add debug logging for parsing names from SCIM users 2025-08-04 21:35:30 +01:00
Simon Larsen
99c9a591cb feat: Refactor SCIM user handling to improve name parsing and team operations 2025-08-04 21:29:16 +01:00
Simon Larsen
c956d01789 feat: Enhance user name handling in SCIM responses by parsing full names into given and family names 2025-08-04 21:22:01 +01:00
Simon Larsen
17c829869b feat: Implement user activation handling by adding users to configured teams 2025-08-04 21:18:03 +01:00
Simon Larsen
d65e91a912 feat: Enhance SCIM user update logging and handle user deactivation by removing from teams 2025-08-04 21:17:28 +01:00
Simon Larsen
39710ba9b0 feat: Enhance SCIM user update and delete logging, and improve team removal logic 2025-08-04 21:12:49 +01:00
Simon Larsen
8c70a4dfae feat: Update SCIM user handling to improve pagination and remove duplicates 2025-08-04 18:00:20 +01:00
Simon Larsen
ff99055594 feat: Refactor SCIM endpoints to enhance logging and improve user query handling 2025-08-04 17:44:23 +01:00
Simon Larsen
f01cc2fd71 feat: Enhance logging for SCIM requests and responses across various endpoints 2025-08-04 17:34:28 +01:00
Simon Larsen
49b43593b1 feat: Add middleware to handle SCIM content type before JSON parsing 2025-08-04 17:25:01 +01:00
Simon Larsen
e293ffd0eb feat: Remove isEnabled column from ProjectSCIM and update related services and migrations 2025-08-04 14:58:25 +01:00
Simon Larsen
b62a5e7722 feat: Add functionality to reset Bearer Token with confirmation modals 2025-08-04 14:47:45 +01:00
Simon Larsen
8f8ba0abb8 feat: Enhance SCIM middleware logging and update SCIM page state management 2025-08-04 13:01:09 +01:00
Simon Larsen
5525556b54 feat: Rename ProjectScima to ProjectSCIM and update imports 2025-08-04 12:28:09 +01:00
Simon Larsen
669066b70a feat: Implement ProjectSCIM model and SCIM page functionality 2025-08-04 12:27:48 +01:00
Simon Larsen
76d2abed08 fix: Update SCIM endpoint URLs to include versioning 2025-08-04 12:01:50 +01:00
Simon Larsen
a6c18b3f21 fix: Remove HTTP_PROTOCOL from SCIM endpoint URLs in SCIMPage component 2025-08-04 12:01:24 +01:00
Simon Larsen
955ea7bc31 feat: Restore ProjectSCIM service with bearer token generation logic 2025-08-04 11:58:18 +01:00
Simon Larsen
45719d4656 feat: Reintroduce ProjectSCIM service with bearer token generation logic 2025-08-04 11:58:07 +01:00
Simon Larsen
796c94a261 fix: Correct import casing for ProjectSCIM across multiple files 2025-08-04 11:46:56 +01:00
Simon Larsen
d2fe822cb7 feat: Integrate ProjectSCIM model and service into the Base API feature set 2025-08-04 11:44:02 +01:00
Simon Larsen
289a369eab feat: Add migration for ProjectSCIM and ProjectScimTeam tables with foreign key constraints 2025-08-04 11:43:44 +01:00
Simon Larsen
6f07e3e119 feat: Update SCIM API endpoints to include versioning in the URL 2025-08-04 11:19:17 +01:00
Simon Larsen
8cdc1e9faf feat: Add SCIM API endpoints and middleware for user management and configuration 2025-08-04 11:09:52 +01:00
Simon Larsen
d4609a84ef feat: Implement Project SCIM service with bearer token generation 2025-08-04 10:15:34 +01:00
Simon Larsen
eb4a91a598 feat: Add SCIM settings page and routing to the dashboard 2025-08-04 10:14:47 +01:00
Simon Larsen
5bea404d6c feat: Add SCIM API integration to Identity feature set 2025-08-04 10:13:44 +01:00
2779 changed files with 433510 additions and 102498 deletions

View File

@@ -33,6 +33,15 @@ stop
nohup.out*
# Large directories not needed for Docker builds
E2E/playwright-report
E2E/test-results
Terraform
HelmChart
Scripts
.git
GoSDK
encrypted-credentials.tar
encrypted-credentials/

17
.github/instructions/instructions.md vendored Normal file
View File

@@ -0,0 +1,17 @@
---
applyTo: '**'
---
# Building and Compiling
If you would like to compile or build any project. Please cd into the directory and run the following command:
```
npm run compile
```
Ths will make sure there are no type / syntax errors.
# Typescript Types.
Please do not use "any" types. Please create proper types where required.

View File

@@ -19,11 +19,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Accounts/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Accounts/Dockerfile .
docker-build-isolated-vm:
runs-on: ubuntu-latest
@@ -34,11 +42,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./IsolatedVM/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./IsolatedVM/Dockerfile .
docker-build-home:
runs-on: ubuntu-latest
@@ -49,11 +65,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Home/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Home/Dockerfile .
docker-build-worker:
runs-on: ubuntu-latest
@@ -64,11 +88,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Worker/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Worker/Dockerfile .
docker-build-workflow:
runs-on: ubuntu-latest
@@ -79,11 +111,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Workflow/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Workflow/Dockerfile .
docker-build-api-reference:
runs-on: ubuntu-latest
@@ -94,11 +134,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./APIReference/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./APIReference/Dockerfile .
docker-build-docs:
runs-on: ubuntu-latest
@@ -109,11 +157,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Docs/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Docs/Dockerfile .
docker-build-otel-collector:
@@ -125,11 +181,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./OTelCollector/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./OTelCollector/Dockerfile .
docker-build-app:
runs-on: ubuntu-latest
@@ -140,29 +204,22 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./App/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./App/Dockerfile .
docker-build-copilot:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Copilot/Dockerfile .
docker-build-e2e:
runs-on: ubuntu-latest
env:
@@ -172,12 +229,20 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./E2E/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./E2E/Dockerfile .
docker-build-admin-dashboard:
runs-on: ubuntu-latest
@@ -188,11 +253,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./AdminDashboard/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./AdminDashboard/Dockerfile .
docker-build-dashboard:
runs-on: ubuntu-latest
@@ -203,11 +276,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Dashboard/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Dashboard/Dockerfile .
docker-build-probe:
runs-on: ubuntu-latest
@@ -218,11 +299,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./Probe/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Probe/Dockerfile .
docker-build-probe-ingest:
runs-on: ubuntu-latest
@@ -233,11 +322,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./ProbeIngest/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./ProbeIngest/Dockerfile .
docker-build-server-monitor-ingest:
runs-on: ubuntu-latest
@@ -248,13 +345,21 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./ServerMonitorIngest/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./ServerMonitorIngest/Dockerfile .
docker-build-open-telemetry-ingest:
docker-build-telemetry:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
@@ -263,11 +368,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./OpenTelemetryIngest/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Telemetry/Dockerfile .
docker-build-incoming-request-ingest:
runs-on: ubuntu-latest
@@ -278,26 +391,19 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./IncomingRequestIngest/Dockerfile .
docker-build-fluent-ingest:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./FluentIngest/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./IncomingRequestIngest/Dockerfile .
docker-build-status-page:
runs-on: ubuntu-latest
@@ -308,23 +414,62 @@ jobs:
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./StatusPage/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./StatusPage/Dockerfile .
docker-build-test-server:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v4
- name: Preinstall
run: npm run prerun
- name: Preinstall
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./TestServer/Dockerfile .
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./TestServer/Dockerfile .
docker-build-ai-agent:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Preinstall
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm run prerun
# build image for ai agent service
- name: build docker image
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./AIAgent/Dockerfile .

View File

@@ -20,7 +20,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Accounts && npm install && npm run compile && npm run dep-check
- name: Compile Accounts
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Accounts && npm install && npm run compile && npm run dep-check
compile-isolated-vm:
runs-on: ubuntu-latest
@@ -32,7 +37,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd IsolatedVM && npm install && npm run compile && npm run dep-check
- name: Compile IsolatedVM
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd IsolatedVM && npm install && npm run compile && npm run dep-check
compile-common:
runs-on: ubuntu-latest
@@ -43,7 +53,12 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd Common && npm install && npm run compile && npm run dep-check
- name: Compile Common
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Common && npm install && npm run compile && npm run dep-check
compile-app:
runs-on: ubuntu-latest
@@ -55,7 +70,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd App && npm install && npm run compile && npm run dep-check
- name: Compile App
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd App && npm install && npm run compile && npm run dep-check
compile-home:
runs-on: ubuntu-latest
@@ -67,7 +87,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Home && npm install && npm run compile && npm run dep-check
- name: Compile Home
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Home && npm install && npm run compile && npm run dep-check
compile-worker:
runs-on: ubuntu-latest
@@ -79,7 +104,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Worker && npm install && npm run compile && npm run dep-check
- name: Compile Worker
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Worker && npm install && npm run compile && npm run dep-check
compile-workflow:
runs-on: ubuntu-latest
@@ -91,7 +121,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Workflow && npm install && npm run compile && npm run dep-check
- name: Compile Workflow
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Workflow && npm install && npm run compile && npm run dep-check
compile-api-reference:
runs-on: ubuntu-latest
@@ -103,7 +138,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd APIReference && npm install && npm run compile && npm run dep-check
- name: Compile API Reference
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd APIReference && npm install && npm run compile && npm run dep-check
compile-docs-reference:
runs-on: ubuntu-latest
@@ -115,19 +155,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Docs && npm install && npm run compile && npm run dep-check
compile-copilot:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Compile Docs Reference
uses: nick-fields/retry@v3
with:
node-version: latest
- run: cd Common && npm install
- run: cd Copilot && npm install && npm run compile && npm run dep-check
timeout_minutes: 30
max_attempts: 3
command: cd Docs && npm install && npm run compile && npm run dep-check
compile-nginx:
runs-on: ubuntu-latest
@@ -140,7 +173,12 @@ jobs:
node-version: latest
- run: cd Common && npm install
- run: cd Nginx && npm install && npm run compile && npm run dep-check
- name: Compile Nginx
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Nginx && npm install && npm run compile && npm run dep-check
compile-infrastructure-agent:
runs-on: ubuntu-latest
@@ -150,7 +188,12 @@ jobs:
- uses: actions/checkout@v4
# Setup Go
- uses: actions/setup-go@v5
- run: cd InfrastructureAgent && go build .
- name: Compile Infrastructure Agent
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd InfrastructureAgent && go build .
compile-admin-dashboard:
@@ -164,7 +207,12 @@ jobs:
node-version: latest
- run: cd Common && npm install
- run: cd AdminDashboard && npm install && npm run compile && npm run dep-check
- name: Compile Admin Dashboard
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd AdminDashboard && npm install && npm run compile && npm run dep-check
compile-dashboard:
runs-on: ubuntu-latest
@@ -177,7 +225,12 @@ jobs:
node-version: latest
- run: cd Common && npm install
- run: cd Dashboard && npm install && npm run compile && npm run dep-check
- name: Compile Dashboard
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Dashboard && npm install && npm run compile && npm run dep-check
compile-e2e:
@@ -191,7 +244,12 @@ jobs:
node-version: latest
- run: sudo apt-get update
- run: cd Common && npm install
- run: cd E2E && npm install && npm run compile && npm run dep-check
- name: Compile E2E
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd E2E && npm install && npm run compile && npm run dep-check
compile-probe:
runs-on: ubuntu-latest
@@ -203,7 +261,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd Probe && npm install && npm run compile && npm run dep-check
- name: Compile Probe
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Probe && npm install && npm run compile && npm run dep-check
compile-probe-ingest:
runs-on: ubuntu-latest
@@ -215,7 +278,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd ProbeIngest && npm install && npm run compile && npm run dep-check
- name: Compile Probe Ingest
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd ProbeIngest && npm install && npm run compile && npm run dep-check
compile-server-monitor-ingest:
runs-on: ubuntu-latest
@@ -227,9 +295,14 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd ServerMonitorIngest && npm install && npm run compile && npm run dep-check
- name: Compile Server Monitor Ingest
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd ServerMonitorIngest && npm install && npm run compile && npm run dep-check
compile-open-telemetry-ingest:
compile-telemetry:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
@@ -239,7 +312,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd OpenTelemetryIngest && npm install && npm run compile && npm run dep-check
- name: Compile Telemetry
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Telemetry && npm install && npm run compile && npm run dep-check
compile-incoming-request-ingest:
@@ -252,20 +330,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd IncomingRequestIngest && npm install && npm run compile && npm run dep-check
compile-fluent-ingest:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Compile Incoming Request Ingest
uses: nick-fields/retry@v3
with:
node-version: latest
- run: cd Common && npm install
- run: cd FluentIngest && npm install && npm run compile && npm run dep-check
timeout_minutes: 30
max_attempts: 3
command: cd IncomingRequestIngest && npm install && npm run compile && npm run dep-check
compile-status-page:
runs-on: ubuntu-latest
@@ -278,7 +348,12 @@ jobs:
node-version: latest
- run: cd Common && npm install
- run: cd StatusPage && npm install && npm run compile && npm run dep-check
- name: Compile Status Page
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd StatusPage && npm install && npm run compile && npm run dep-check
compile-test-server:
runs-on: ubuntu-latest
@@ -290,7 +365,12 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd TestServer && npm install && npm run compile && npm run dep-check
- name: Compile Test Server
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd TestServer && npm install && npm run compile && npm run dep-check
compile-mcp:
runs-on: ubuntu-latest
@@ -302,4 +382,60 @@ jobs:
with:
node-version: latest
- run: cd Common && npm install
- run: cd MCP && npm install && npm run compile && npm run dep-check
- name: Compile MCP
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd MCP && npm update @oneuptime/common && npm install && npm run compile && npm run dep-check
compile-mobile-app:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd Common && npm install && npm run compile
- name: Compile MobileApp
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd MobileApp && npm install && npm run compile
compile-ai-agent:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd Common && npm install
- name: Compile AIAgent
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd AIAgent && npm install && npm run compile && npm run dep-check
compile-cli:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd Common && npm install
- name: Compile CLI
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd CLI && npm install && npm run compile && npm run dep-check

49
.github/workflows/npm-audit-fix.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
name: NPM Audit Fix
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
npm-audit-fix:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run npm audit fix across packages
run: npm run audit-fix
- name: Detect changes
id: changes
run: |
if git status --porcelain | grep .; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
echo "has_changes=false" >> $GITHUB_OUTPUT
fi
- name: Create pull request
if: steps.changes.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: npm audit fix"
title: "chore: npm audit fix"
body: |
Automated npm audit fix run.
Workflow: ${{ github.workflow }}
Run ID: ${{ github.run_id }}
branch: chore/npm-audit-fix
delete-branch: true

File diff suppressed because it is too large Load Diff

View File

@@ -1,32 +0,0 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
name: "OneUptime Reliability Copilot"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
# Run every day at midnight UTC
- cron: '0 0 * * *'
jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
steps:
# Run Reliability Copilot in Docker Container
- name: Run Copilot
run: |
docker run --rm \
-e ONEUPTIME_URL="https://test.oneuptime.com" \
-e ONEUPTIME_REPOSITORY_SECRET_KEY="${{ secrets.COPILOT_ONEUPTIME_REPOSITORY_SECRET_KEY }}" \
-e CODE_REPOSITORY_PASSWORD="${{ github.token }}" \
-e CODE_REPOSITORY_USERNAME="simlarsen" \
-e OPENAI_API_KEY="${{ secrets.OPENAI_API_KEY }}" \
--net=host oneuptime/copilot:test

View File

@@ -0,0 +1,143 @@
name: Terraform Provider E2E Tests
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
- master
- develop
workflow_dispatch:
jobs:
terraform-e2e-tests:
runs-on: ubuntu-latest
timeout-minutes: 120
env:
CI_PIPELINE_ID: ${{ github.run_number }}
APP_TAG: latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Additional Disk Cleanup
run: |
echo "=== Initial disk space ==="
df -h
echo "=== Removing unnecessary tools and libraries ==="
# Remove Android SDK (if not already removed)
sudo rm -rf /usr/local/lib/android || true
# Remove .NET SDK and runtime
sudo rm -rf /usr/share/dotnet || true
sudo rm -rf /etc/skel/.dotnet || true
# Remove Haskell/GHC
sudo rm -rf /opt/ghc || true
sudo rm -rf /usr/local/.ghcup || true
# Remove CodeQL
sudo rm -rf /opt/hostedtoolcache/CodeQL || true
# Remove Boost
sudo rm -rf /usr/local/share/boost || true
# Remove Swift
sudo rm -rf /usr/share/swift || true
# Remove Julia
sudo rm -rf /usr/local/julia* || true
# Remove Rust (cargo/rustup)
sudo rm -rf /usr/share/rust || true
sudo rm -rf /home/runner/.rustup || true
sudo rm -rf /home/runner/.cargo || true
# Remove unnecessary hostedtoolcache items
sudo rm -rf /opt/hostedtoolcache/Python || true
sudo rm -rf /opt/hostedtoolcache/PyPy || true
sudo rm -rf /opt/hostedtoolcache/Ruby || true
sudo rm -rf /opt/hostedtoolcache/Java* || true
# Remove additional large directories
sudo rm -rf /usr/share/miniconda || true
sudo rm -rf /usr/local/graalvm || true
sudo rm -rf /usr/local/share/chromium || true
sudo rm -rf /usr/local/share/powershell || true
sudo rm -rf /usr/share/az_* || true
# Remove documentation
sudo rm -rf /usr/share/doc || true
sudo rm -rf /usr/share/man || true
# Remove unnecessary locales
sudo rm -rf /usr/share/locale || true
# Clean apt cache
sudo apt-get clean || true
sudo rm -rf /var/lib/apt/lists/* || true
sudo rm -rf /var/cache/apt/archives/* || true
# Clean tmp
sudo rm -rf /tmp/* || true
echo "=== Moving Docker data to /mnt for more space ==="
# Stop docker
sudo systemctl stop docker || true
# Move docker data directory to /mnt (which has ~70GB)
sudo mv /var/lib/docker /mnt/docker || true
sudo mkdir -p /var/lib/docker || true
sudo mount --bind /mnt/docker /var/lib/docker || true
# Restart docker
sudo systemctl start docker || true
echo "=== Final disk space ==="
df -h
echo "=== Docker info ==="
docker info | grep -E "Docker Root Dir|Storage Driver" || true
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
cache: true
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.6.0"
terraform_wrapper: false
- name: Run E2E Tests
uses: nick-fields/retry@v3
with:
timeout_minutes: 60
max_attempts: 3
command: |
chmod +x ./E2E/Terraform/e2e-tests/scripts/*.sh
./E2E/Terraform/e2e-tests/scripts/index.sh

View File

@@ -28,7 +28,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: 'stable'
cache: true
- name: Install Common dependencies
@@ -77,17 +77,21 @@ jobs:
ls -la "$PROVIDER_DIR" || true
- name: Test Go build
run: |
PROVIDER_DIR="./Terraform"
if [ -d "$PROVIDER_DIR" ] && [ -f "$PROVIDER_DIR/go.mod" ]; then
cd "$PROVIDER_DIR"
echo "🔨 Testing Go build..."
go mod tidy
go build -v ./...
echo "✅ Go build successful"
else
echo "⚠️ Cannot test build - missing go.mod or provider directory"
fi
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: |
PROVIDER_DIR="./Terraform"
if [ -d "$PROVIDER_DIR" ] && [ -f "$PROVIDER_DIR/go.mod" ]; then
cd "$PROVIDER_DIR"
echo "🔨 Testing Go build..."
go mod tidy
go build -v ./...
echo "✅ Go build successful"
else
echo "⚠️ Cannot test build - missing go.mod or provider directory"
fi
- name: Upload Terraform provider as artifact
uses: actions/upload-artifact@v4

File diff suppressed because it is too large Load Diff

23
.github/workflows/test.ai-agent.yaml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: AIAgent Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd Common && npm install
- run: cd AIAgent && npm install && npm run test

View File

@@ -1,7 +1,7 @@
name: Fluent Ingest Test
name: CLI Test
on:
pull_request:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
@@ -17,4 +17,5 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd FluentIngest && npm install && npm run test
- run: cd Common && npm install
- run: cd CLI && npm install && npm run test

39
.github/workflows/test.mobile-app.yaml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: MobileApp Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- 'release'
jobs:
expo-doctor:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd MobileApp && npm install
- name: Run Expo Doctor
run: cd MobileApp && npx expo-doctor@latest
expo-web-export:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd MobileApp && npm install
- name: Export Web Bundle
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd MobileApp && npx expo export --platform web

View File

@@ -1,4 +1,4 @@
name: OpenTelemetryIngest Test
name: Telemetry Test
on:
pull_request:
@@ -17,5 +17,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: latest
- run: cd OpenTelemetryIngest && npm install && npm run test
- run: cd Common && npm install
- run: cd Telemetry && npm install && npm run test

15
.gitignore vendored
View File

@@ -116,8 +116,8 @@ InfrastructureAgent/oneuptime-infrastructure-agent
# Terraform generated files
openapi.json
Terraform/**
Terraform/terraform-provider-oneuptime/**
Terraform/openapi.json
TerraformTest/**
terraform-provider-example/**
@@ -127,3 +127,14 @@ MCP/build/
MCP/.env
MCP/node_modules
Dashboard/public/sw.js
.claude/settings.local.json
Common/.claude/settings.local.json
E2E/Terraform/e2e-tests/test-env.sh
# Terraform state and plan files
*.tfplan
tfplan
terraform.tfstate
terraform.tfstate.backup
.terraform/
.terraform.lock.hcl

View File

@@ -1,15 +0,0 @@
## OneUptime Copilot
This folder contains the configuration files for the OneUptime Copilot. The Copilot is a tool that automatically improves your code. It can fix issues, improve code quality, and help you ship faster.
This folder has the following structure:
- `config.js`: The configuration file for the Copilot. You can customize the Copilot's behavior by changing this file.
- `scripts`: A folder containing scripts that the Copilot runs. These are hooks that run at different stages of the Copilot's process.
- `on-after-clone.sh`: A script that runs after the Copilot clones your repository.
- `on-before-code-change.sh`: A script that runs before the Copilot makes changes to your code.
- `on-after-code-change.sh`: A script that runs after the Copilot makes changes to your code.
- `on-before-commit.sh`: A script that runs before the Copilot commits changes to your repository.
- `on-after-commit.sh`: A script that runs after the Copilot commits changes to your repository.

View File

@@ -1,10 +0,0 @@
// This is the configuration file for the oneuptime copilot.
const getCopilotConfig = () => {
return {
// The version of the schema for this configuration file.
schemaVersion: '1.0',
}
}
export default getCopilotConfig;

View File

@@ -1,16 +0,0 @@
# Description: Copilot clones your repository and to improve your code.
# This scirpt runs after the clone process is completed.
# Some of the common tasks you can do here are:
# 1. Install dependencies
# 2. Run linting
# 3. Run tests
# 4. Run build
# 5. Run any other command that you want to run after the clone process is completed.
# If this script fails, copilot will not proceed with the next steps to improve your code.
# This step is to ensure that the code is in a good state before we start improving it.
# If you want to skip this script, you can keep this file empty.
# It's highly recommended to run linting and tests in this script to ensure the code is in a good state.
# This scirpt will run on ubuntu machine. So, make sure the commands you run are compatible with ubuntu.
npm install
npm run lint

View File

@@ -1,13 +0,0 @@
# Description: Copilot will run this script after we make improvements to your code and write it to disk.
# Some of the common tasks you can do here are:
# 1. Run linting
# 2. Run tests
# 3. Run build
# 4. Run any other command that you want to run after the code is changed.
# If this script fails, copilot will not commit the changes to your repository.
# This step is to ensure that the code is in a good state before we commit the changes.
# If you want to skip this script, you can keep this file empty.
# It's highly recommended to run linting and tests in this script to ensure the code is in a good state.
# This scirpt will run on ubuntu machine. So, make sure the commands you run are compatible with ubuntu.
npm run fix

View File

@@ -1 +0,0 @@
# Description: Copilot will run this script after the commit process is completed.

View File

@@ -1,9 +0,0 @@
# Description: Copilot will run this script before we make changes to your code.
# Some of the common tasks you can do here are:
# 1. Install dependencies
# 2. Run any other command that you want to run before the code is changed.
# If this script fails, copilot will not make any changes to the code.
# This step is to ensure that the code is in a good state before we start making changes.
# If you want to skip this script, you can keep this file empty.
# It's highly recommended to run things like installing dependencies in this script.
# This scirpt will run on ubuntu machine. So, make sure the commands you run are compatible with ubuntu.

View File

@@ -1 +0,0 @@
# Description: Copilot will run this script before we commit the changes to your repository.

32
.vscode/launch.json vendored
View File

@@ -19,20 +19,6 @@
}
],
"configurations": [
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/TestServer",
"name": "Copilot: Debug with Docker",
"port": 9985,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"name": "Debug Infrastructure Agent",
"type": "go",
@@ -205,8 +191,8 @@
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/OpenTelemetryIngest",
"name": "OpenTelemetryIngest: Debug with Docker",
"localRoot": "${workspaceFolder}/Telemetry",
"name": "Telemetry: Debug with Docker",
"port": 9938,
"remoteRoot": "/usr/src/app",
"request": "attach",
@@ -217,20 +203,6 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/FluentIngest",
"name": "Fluent Ingest: Debug with Docker",
"port": 9937,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/IsolatedVM",

95
AIAgent/API/Metrics.ts Normal file
View File

@@ -0,0 +1,95 @@
import Express, {
ExpressRequest,
ExpressResponse,
ExpressRouter,
NextFunction,
} from "Common/Server/Utils/Express";
import Response from "Common/Server/Utils/Response";
import { ONEUPTIME_URL } from "../Config";
import HTTPErrorResponse from "Common/Types/API/HTTPErrorResponse";
import HTTPMethod from "Common/Types/API/HTTPMethod";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import URL from "Common/Types/API/URL";
import { JSONObject } from "Common/Types/JSON";
import API from "Common/Utils/API";
import logger from "Common/Server/Utils/Logger";
import AIAgentAPIRequest from "../Utils/AIAgentAPIRequest";
const router: ExpressRouter = Express.getRouter();
/*
* Metrics endpoint for Keda autoscaling
* Returns the number of pending AI agent tasks
*/
router.get(
"/queue-size",
async (
req: ExpressRequest,
res: ExpressResponse,
next: NextFunction,
): Promise<void> => {
try {
/*
* Get the pending task count from OneUptime API
* This is the correct metric - the number of tasks waiting to be processed
*/
const pendingTaskCountUrl: URL = URL.fromString(
ONEUPTIME_URL.toString(),
).addRoute("/api/ai-agent-task/get-pending-task-count");
logger.debug(
"Fetching pending task count from OneUptime API for KEDA scaling",
);
// Use AI Agent authentication (AI Agent key and AI Agent ID)
const requestBody: JSONObject = AIAgentAPIRequest.getDefaultRequestBody();
const result: HTTPResponse<JSONObject> | HTTPErrorResponse =
await API.fetch<JSONObject>({
method: HTTPMethod.POST,
url: pendingTaskCountUrl,
data: requestBody,
headers: {},
});
if (result instanceof HTTPErrorResponse) {
logger.error("Error fetching pending task count from OneUptime API");
logger.error(result);
throw result;
}
logger.debug(
"Pending task count fetched successfully from OneUptime API",
);
logger.debug(result.data);
// Extract count from the response - this is the number of tasks pending to be processed
let queueSize: number = (result.data["count"] as number) || 0;
// if string then convert to number
if (typeof queueSize === "string") {
const parsedQueueSize: number = parseInt(queueSize, 10);
if (!isNaN(parsedQueueSize)) {
queueSize = parsedQueueSize;
} else {
logger.warn(
"Pending task count is not a valid number, defaulting to 0",
);
queueSize = 0;
}
}
logger.debug(`Pending task count for KEDA: ${queueSize}`);
return Response.sendJsonObjectResponse(req, res, {
queueSize: queueSize,
});
} catch (err) {
logger.error("Error in metrics queue-size endpoint");
logger.error(err);
return next(err);
}
},
);
export default router;

View File

@@ -0,0 +1,103 @@
import {
CodeAgent,
CodeAgentType,
getCodeAgentDisplayName,
} from "./CodeAgentInterface";
import OpenCodeAgent from "./OpenCodeAgent";
import logger from "Common/Server/Utils/Logger";
// Factory class to create code agents
export default class CodeAgentFactory {
// Default agent type to use
private static defaultAgentType: CodeAgentType = CodeAgentType.OpenCode;
// Create an agent of the specified type
public static createAgent(type: CodeAgentType): CodeAgent {
logger.debug(`Creating code agent: ${getCodeAgentDisplayName(type)}`);
switch (type) {
case CodeAgentType.OpenCode:
return new OpenCodeAgent();
/*
* Future agents can be added here:
* case CodeAgentType.Goose:
* return new GooseAgent();
* case CodeAgentType.ClaudeCode:
* return new ClaudeCodeAgent();
*/
default:
throw new Error(`Unknown code agent type: ${type}`);
}
}
// Create the default agent
public static createDefaultAgent(): CodeAgent {
return this.createAgent(this.defaultAgentType);
}
// Set the default agent type
public static setDefaultAgentType(type: CodeAgentType): void {
this.defaultAgentType = type;
}
// Get the default agent type
public static getDefaultAgentType(): CodeAgentType {
return this.defaultAgentType;
}
// Get all available agent types
public static getAvailableAgentTypes(): Array<CodeAgentType> {
return Object.values(CodeAgentType);
}
// Check if an agent type is available on the system
public static async isAgentAvailable(type: CodeAgentType): Promise<boolean> {
try {
const agent: CodeAgent = this.createAgent(type);
return await agent.isAvailable();
} catch (error) {
logger.error(`Error checking agent availability for ${type}:`);
logger.error(error);
return false;
}
}
// Get the first available agent
public static async getFirstAvailableAgent(): Promise<CodeAgent | null> {
for (const type of this.getAvailableAgentTypes()) {
if (await this.isAgentAvailable(type)) {
return this.createAgent(type);
}
}
return null;
}
/*
* Create agent with fallback
* Tries to create the specified type, falls back to first available
*/
public static async createAgentWithFallback(
preferredType?: CodeAgentType,
): Promise<CodeAgent> {
// If preferred type is specified and available, use it
if (preferredType && (await this.isAgentAvailable(preferredType))) {
return this.createAgent(preferredType);
}
// Try the default type
if (await this.isAgentAvailable(this.defaultAgentType)) {
return this.createAgent(this.defaultAgentType);
}
// Fall back to first available
const agent: CodeAgent | null = await this.getFirstAvailableAgent();
if (!agent) {
throw new Error("No code agents are available on this system");
}
return agent;
}
}

View File

@@ -0,0 +1,94 @@
import LlmType from "Common/Types/LLM/LlmType";
import TaskLogger from "../Utils/TaskLogger";
// Configuration for the LLM provider
export interface CodeAgentLLMConfig {
llmType: LlmType;
apiKey?: string;
baseUrl?: string;
modelName?: string;
}
// The task to be executed by the code agent
export interface CodeAgentTask {
workingDirectory: string;
prompt: string;
context?: string;
timeoutMs?: number;
servicePath?: string; // Path within the repo where the service code lives
}
// Result from the code agent execution
export interface CodeAgentResult {
success: boolean;
filesModified: Array<string>;
summary: string;
logs: Array<string>;
error?: string;
exitCode?: number;
}
// Progress event from the code agent
export interface CodeAgentProgressEvent {
type: "stdout" | "stderr" | "status";
message: string;
timestamp: Date;
}
// Callback type for progress events
export type CodeAgentProgressCallback = (
event: CodeAgentProgressEvent,
) => void | Promise<void>;
/*
* Abstract interface for code agents
* This allows us to support multiple agents (OpenCode, Goose, Claude Code, etc.)
*/
export interface CodeAgent {
// Name of the agent (e.g., "OpenCode", "Goose", "ClaudeCode")
readonly name: string;
// Initialize the agent with LLM configuration
initialize(config: CodeAgentLLMConfig, logger?: TaskLogger): Promise<void>;
// Execute a task and return the result
executeTask(task: CodeAgentTask): Promise<CodeAgentResult>;
// Set a callback for progress events (streaming output)
onProgress(callback: CodeAgentProgressCallback): void;
// Check if the agent is available on the system
isAvailable(): Promise<boolean>;
// Abort the current task execution
abort(): Promise<void>;
// Clean up any resources used by the agent
cleanup(): Promise<void>;
}
// Enum for supported code agent types
export enum CodeAgentType {
OpenCode = "OpenCode",
/*
* Future agents:
* Goose = "Goose",
* ClaudeCode = "ClaudeCode",
* Aider = "Aider",
*/
}
// Helper function to get display name for agent type
export function getCodeAgentDisplayName(type: CodeAgentType): string {
switch (type) {
case CodeAgentType.OpenCode:
return "OpenCode AI";
default:
return type;
}
}
// Helper function to check if an agent type is valid
export function isValidCodeAgentType(type: string): type is CodeAgentType {
return Object.values(CodeAgentType).includes(type as CodeAgentType);
}

View File

@@ -0,0 +1,15 @@
// Export all code agent related types and classes
export {
CodeAgent,
CodeAgentLLMConfig,
CodeAgentTask,
CodeAgentResult,
CodeAgentProgressEvent,
CodeAgentProgressCallback,
CodeAgentType,
getCodeAgentDisplayName,
isValidCodeAgentType,
} from "./CodeAgentInterface";
export { default as CodeAgentFactory } from "./CodeAgentFactory";
export { default as OpenCodeAgent } from "./OpenCodeAgent";

View File

@@ -0,0 +1,562 @@
import {
CodeAgent,
CodeAgentLLMConfig,
CodeAgentTask,
CodeAgentResult,
CodeAgentProgressCallback,
CodeAgentProgressEvent,
} from "./CodeAgentInterface";
import TaskLogger from "../Utils/TaskLogger";
import Execute from "Common/Server/Utils/Execute";
import LocalFile from "Common/Server/Utils/LocalFile";
import LlmType from "Common/Types/LLM/LlmType";
import logger from "Common/Server/Utils/Logger";
import path from "path";
import { ChildProcess, spawn } from "child_process";
import BadDataException from "Common/Types/Exception/BadDataException";
// OpenCode configuration file structure
interface OpenCodeConfig {
provider?: Record<string, unknown>;
model?: string;
small_model?: string;
disabled_providers?: Array<string>;
enabled_providers?: Array<string>;
}
export default class OpenCodeAgent implements CodeAgent {
public readonly name: string = "OpenCode";
private config: CodeAgentLLMConfig | null = null;
private taskLogger: TaskLogger | null = null;
private progressCallback: CodeAgentProgressCallback | null = null;
private currentProcess: ChildProcess | null = null;
private aborted: boolean = false;
// Track original opencode.json content for restoration
private originalOpenCodeConfig: string | null = null;
private openCodeConfigPath: string | null = null;
// Default timeout: 30 minutes
private static readonly DEFAULT_TIMEOUT_MS: number = 30 * 60 * 1000;
public async initialize(
config: CodeAgentLLMConfig,
taskLogger?: TaskLogger,
): Promise<void> {
this.config = config;
if (taskLogger) {
this.taskLogger = taskLogger;
}
await this.log(`Initializing ${this.name} with ${config.llmType} provider`);
}
public async executeTask(task: CodeAgentTask): Promise<CodeAgentResult> {
if (!this.config) {
return this.createErrorResult(
"Agent not initialized. Call initialize() first.",
);
}
this.aborted = false;
const logs: Array<string> = [];
const timeoutMs: number =
task.timeoutMs || OpenCodeAgent.DEFAULT_TIMEOUT_MS;
try {
await this.log(`Executing task in directory: ${task.workingDirectory}`);
// Create OpenCode config file in the working directory
await this.createOpenCodeConfig(task.workingDirectory);
// Build the prompt
const fullPrompt: string = this.buildFullPrompt(task);
await this.log("Starting OpenCode execution...");
logs.push(`Prompt: ${fullPrompt.substring(0, 500)}...`);
// Execute OpenCode
const output: string = await this.runOpenCode(
task.workingDirectory,
fullPrompt,
timeoutMs,
(event: CodeAgentProgressEvent) => {
logs.push(`[${event.type}] ${event.message}`);
if (this.progressCallback) {
this.progressCallback(event);
}
},
);
logs.push(
`Output: ${output.substring(0, 1000)}${output.length > 1000 ? "..." : ""}`,
);
if (this.aborted) {
return this.createErrorResult("Task was aborted", logs);
}
// Check for modified files
const modifiedFiles: Array<string> = await this.getModifiedFiles(
task.workingDirectory,
);
// Restore or delete opencode.json before returning
await this.restoreOpenCodeConfig();
await this.log(
`OpenCode completed. ${modifiedFiles.length} files modified.`,
);
return {
success: true,
filesModified: modifiedFiles,
summary: this.extractSummary(output),
logs,
exitCode: 0,
};
} catch (error) {
const errorMessage: string =
error instanceof Error ? error.message : String(error);
// Restore or delete opencode.json on error
await this.restoreOpenCodeConfig();
await this.log(`OpenCode execution failed: ${errorMessage}`);
logs.push(`Error: ${errorMessage}`);
return this.createErrorResult(errorMessage, logs);
}
}
public onProgress(callback: CodeAgentProgressCallback): void {
this.progressCallback = callback;
}
public async isAvailable(): Promise<boolean> {
try {
const result: string = await Execute.executeCommandFile({
command: "opencode",
args: ["--version"],
cwd: process.cwd(),
});
logger.debug(`OpenCode version check: ${result}`);
return true;
} catch (error) {
logger.debug("OpenCode is not available:");
logger.debug(error);
return false;
}
}
public async abort(): Promise<void> {
this.aborted = true;
if (this.currentProcess) {
this.currentProcess.kill("SIGTERM");
this.currentProcess = null;
}
await this.log("OpenCode execution aborted");
}
public async cleanup(): Promise<void> {
if (this.currentProcess) {
this.currentProcess.kill("SIGTERM");
this.currentProcess = null;
}
this.config = null;
this.progressCallback = null;
}
// Create OpenCode configuration file in the workspace
private async createOpenCodeConfig(workingDirectory: string): Promise<void> {
if (!this.config) {
throw new Error("Config not initialized");
}
const configPath: string = path.join(workingDirectory, "opencode.json");
this.openCodeConfigPath = configPath;
// Check if opencode.json already exists and backup its content
try {
const existingContent: string = await LocalFile.read(configPath);
this.originalOpenCodeConfig = existingContent;
await this.log("Backed up existing opencode.json from repository");
} catch {
// File doesn't exist, which is the normal case
this.originalOpenCodeConfig = null;
}
const openCodeConfig: OpenCodeConfig = {
model: this.getModelString(),
small_model: this.getSmallModelString(),
};
// Set enabled providers based on LLM type
if (this.config.llmType === LlmType.Anthropic) {
openCodeConfig.enabled_providers = ["anthropic"];
} else if (this.config.llmType === LlmType.OpenAI) {
openCodeConfig.enabled_providers = ["openai"];
}
await LocalFile.write(configPath, JSON.stringify(openCodeConfig, null, 2));
await this.log(`Created OpenCode config at ${configPath}`);
}
// Restore or delete opencode.json after execution
private async restoreOpenCodeConfig(): Promise<void> {
if (!this.openCodeConfigPath) {
return;
}
try {
if (this.originalOpenCodeConfig !== null) {
// Restore the original file content
await LocalFile.write(
this.openCodeConfigPath,
this.originalOpenCodeConfig,
);
await this.log("Restored original opencode.json from repository");
} else {
// Delete the file we created
await LocalFile.deleteFile(this.openCodeConfigPath);
await this.log("Deleted generated opencode.json config file");
}
} catch (error) {
// Log but don't throw - cleanup failure shouldn't fail the task
logger.warn(`Failed to restore/delete opencode.json: ${error}`);
}
// Reset the tracking variables
this.openCodeConfigPath = null;
this.originalOpenCodeConfig = null;
}
// Get the model string in OpenCode format (provider/model)
private getModelString(): string {
if (!this.config) {
throw new Error("Config not initialized");
}
const provider: string = this.getProviderName();
const model: string = this.config.modelName || this.getDefaultModel();
return `${provider}/${model}`;
}
// Get the small model string for quick operations
private getSmallModelString(): string {
if (!this.config) {
throw new Error("Config not initialized");
}
const provider: string = this.getProviderName();
const smallModel: string = this.getDefaultSmallModel();
return `${provider}/${smallModel}`;
}
// Get provider name for OpenCode config
private getProviderName(): string {
if (!this.config) {
return "anthropic";
}
switch (this.config.llmType) {
case LlmType.Anthropic:
return "anthropic";
case LlmType.OpenAI:
return "openai";
case LlmType.Ollama:
return "ollama";
default:
throw new BadDataException("Unsupported LLM type for OpenCode agent");
}
}
// Get default model based on provider
private getDefaultModel(): string {
if (!this.config) {
return "claude-sonnet-4-20250514";
}
switch (this.config.llmType) {
case LlmType.Anthropic:
return "claude-sonnet-4-20250514";
case LlmType.OpenAI:
return "gpt-4o";
case LlmType.Ollama:
return "llama2";
default:
throw new BadDataException("Unsupported LLM type for OpenCode agent");
}
}
// Get default small model for quick operations
private getDefaultSmallModel(): string {
if (!this.config) {
return "claude-haiku-4-20250514";
}
switch (this.config.llmType) {
case LlmType.Anthropic:
return "claude-haiku-4-20250514";
case LlmType.OpenAI:
return "gpt-4o-mini";
case LlmType.Ollama:
return "llama2";
default:
throw new BadDataException("Unsupported LLM type for OpenCode agent");
}
}
// Build the full prompt including context
private buildFullPrompt(task: CodeAgentTask): string {
let prompt: string = task.prompt;
if (task.context) {
prompt = `${task.context}\n\n${prompt}`;
}
if (task.servicePath) {
prompt = `The service code is located at: ${task.servicePath}\n\n${prompt}`;
}
return prompt;
}
// Run OpenCode in non-interactive mode
private async runOpenCode(
workingDirectory: string,
prompt: string,
timeoutMs: number,
onOutput: (event: CodeAgentProgressEvent) => void,
): Promise<string> {
return new Promise(
(resolve: (value: string) => void, reject: (reason: Error) => void) => {
if (!this.config) {
reject(new Error("Config not initialized"));
return;
}
// Set environment variables for API key
const env: NodeJS.ProcessEnv = { ...process.env };
if (this.config.apiKey) {
switch (this.config.llmType) {
case LlmType.Anthropic:
env["ANTHROPIC_API_KEY"] = this.config.apiKey;
break;
case LlmType.OpenAI:
env["OPENAI_API_KEY"] = this.config.apiKey;
break;
case LlmType.Ollama:
if (this.config.baseUrl) {
env["OLLAMA_HOST"] = this.config.baseUrl;
}
break;
}
}
/*
* Use CLI mode flags to ensure output goes to stdout/stderr instead of TUI
* Pass prompt via stdin using "-" to avoid command line argument issues with long prompts
*/
const args: Array<string> = [
"run",
"--print-logs",
"--log-level",
"DEBUG",
"--format",
"default",
"-", // Read prompt from stdin
];
logger.debug(
`Running: opencode ${args.join(" ")} (prompt via stdin, ${prompt.length} chars)`,
);
const child: ChildProcess = spawn("opencode", args, {
cwd: workingDirectory,
env,
stdio: ["pipe", "pipe", "pipe"],
});
this.currentProcess = child;
// Write prompt to stdin and close it
if (child.stdin) {
child.stdin.write(prompt);
child.stdin.end();
}
let stdout: string = "";
let stderr: string = "";
// Set timeout
const timeout: ReturnType<typeof setTimeout> = setTimeout(() => {
if (child.pid) {
child.kill("SIGTERM");
reject(
new Error(
`OpenCode execution timed out after ${timeoutMs / 1000} seconds`,
),
);
}
}, timeoutMs);
child.stdout?.on("data", (data: Buffer) => {
const text: string = data.toString();
stdout += text;
// Stream to console immediately
const trimmedText: string = text.trim();
if (trimmedText) {
logger.info(`[OpenCode stdout] ${trimmedText}`);
// Stream to task logger for server-side logging
if (this.taskLogger) {
this.taskLogger
.info(`[OpenCode] ${trimmedText}`)
.catch((err: Error) => {
logger.error(`Failed to log OpenCode output: ${err.message}`);
});
}
}
onOutput({
type: "stdout",
message: trimmedText,
timestamp: new Date(),
});
});
child.stderr?.on("data", (data: Buffer) => {
const text: string = data.toString();
stderr += text;
// Stream to console immediately
const trimmedText: string = text.trim();
if (trimmedText) {
logger.warn(`[OpenCode stderr] ${trimmedText}`);
// Stream to task logger for server-side logging
if (this.taskLogger) {
this.taskLogger
.warning(`[OpenCode stderr] ${trimmedText}`)
.catch((err: Error) => {
logger.error(`Failed to log OpenCode stderr: ${err.message}`);
});
}
}
onOutput({
type: "stderr",
message: trimmedText,
timestamp: new Date(),
});
});
child.on("close", (code: number | null) => {
clearTimeout(timeout);
this.currentProcess = null;
if (this.aborted) {
reject(new Error("Execution aborted"));
return;
}
if (code === 0 || code === null) {
resolve(stdout);
} else {
reject(
new Error(
`OpenCode exited with code ${code}. stderr: ${stderr.substring(0, 500)}`,
),
);
}
});
child.on("error", (error: Error) => {
clearTimeout(timeout);
this.currentProcess = null;
reject(error);
});
},
);
}
// Get list of modified files using git
private async getModifiedFiles(
workingDirectory: string,
): Promise<Array<string>> {
try {
const result: string = await Execute.executeCommandFile({
command: "git",
args: ["status", "--porcelain"],
cwd: workingDirectory,
});
if (!result.trim()) {
return [];
}
return result
.split("\n")
.filter((line: string) => {
return line.trim().length > 0;
})
.map((line: string) => {
// Git status format: "XY filename"
return line.substring(3).trim();
});
} catch (error) {
logger.error("Error getting modified files:");
logger.error(error);
return [];
}
}
// Extract summary from OpenCode output
private extractSummary(output: string): string {
// Try to extract a meaningful summary from the output
const lines: Array<string> = output.split("\n").filter((line: string) => {
return line.trim().length > 0;
});
// Return last few meaningful lines as summary
const summaryLines: Array<string> = lines.slice(-5);
return summaryLines.join("\n") || "No summary available";
}
// Create error result helper
private createErrorResult(
errorMessage: string,
logs: Array<string> = [],
): CodeAgentResult {
return {
success: false,
filesModified: [],
summary: "",
logs,
error: errorMessage,
exitCode: 1,
};
}
// Logging helper
private async log(message: string): Promise<void> {
if (this.taskLogger) {
await this.taskLogger.info(`[${this.name}] ${message}`);
} else {
logger.debug(`[${this.name}] ${message}`);
}
}
}

36
AIAgent/Config.ts Normal file
View File

@@ -0,0 +1,36 @@
import URL from "Common/Types/API/URL";
import ObjectID from "Common/Types/ObjectID";
import logger from "Common/Server/Utils/Logger";
import Port from "Common/Types/Port";
if (!process.env["ONEUPTIME_URL"]) {
logger.error("ONEUPTIME_URL is not set");
process.exit();
}
export const ONEUPTIME_URL: URL = URL.fromString(
process.env["ONEUPTIME_URL"] || "https://oneuptime.com",
);
export const AI_AGENT_ID: ObjectID | null = process.env["AI_AGENT_ID"]
? new ObjectID(process.env["AI_AGENT_ID"])
: null;
if (!process.env["AI_AGENT_KEY"]) {
logger.error("AI_AGENT_KEY is not set");
process.exit();
}
export const AI_AGENT_KEY: string = process.env["AI_AGENT_KEY"];
export const AI_AGENT_NAME: string | null =
process.env["AI_AGENT_NAME"] || null;
export const AI_AGENT_DESCRIPTION: string | null =
process.env["AI_AGENT_DESCRIPTION"] || null;
export const HOSTNAME: string = process.env["HOSTNAME"] || "localhost";
export const PORT: Port = new Port(
process.env["PORT"] ? parseInt(process.env["PORT"]) : 3875,
);

View File

@@ -1,24 +1,26 @@
#
# OneUptime-OpenTelemetryIngest Dockerfile
# OneUptime-AIAgent Dockerfile
#
# Pull base image nodejs image.
FROM public.ecr.aws/docker/library/node:23.8
FROM public.ecr.aws/docker/library/node:24.9
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
RUN npm config set fetch-retries 5
RUN npm config set fetch-retry-mintimeout 100000
RUN npm config set fetch-retry-maxtimeout 600000
RUN npm config set fetch-retry-mintimeout 20000
RUN npm config set fetch-retry-maxtimeout 60000
ARG GIT_SHA
ARG APP_VERSION
ARG IS_ENTERPRISE_EDITION=false
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
ENV IS_ENTERPRISE_EDITION=${IS_ENTERPRISE_EDITION}
ENV NODE_OPTIONS="--use-openssl-ca"
## Add Intermediate Certs
## Add Intermediate Certs
COPY ./SslCertificates /usr/local/share/ca-certificates
RUN update-ca-certificates
@@ -29,21 +31,18 @@ RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi
RUN apt-get update
# Install bash.
RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputils-ping -y
# Install bash.
RUN apt-get install bash -y && apt-get install curl -y
# Install python
RUN apt-get update && apt-get install -y .gyp python3 make g++
# Install OpenCode AI coding assistant
RUN curl -fsSL https://opencode.ai/install | bash
# Install playwright dependencies
RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0
# Add OpenCode to PATH (installed to $HOME/.opencode/bin by default)
ENV PATH="/root/.opencode/bin:${PATH}"
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
# Install iputils
RUN apt-get install net-tools -y
RUN mkdir -p /usr/src
WORKDIR /usr/src/Common
@@ -54,27 +53,26 @@ RUN npm install
COPY ./Common /usr/src/Common
ENV PRODUCTION=true
WORKDIR /usr/src/app
RUN npx playwright install --with-deps
# Install app dependencies
COPY ./OpenTelemetryIngest/package*.json /usr/src/app/
COPY ./AIAgent/package*.json /usr/src/app/
# Set version in ./AIAgent/package.json to the APP_VERSION
RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/app/package.json
RUN npm install
# Expose ports.
# - 3403: OneUptime-OpenTelemetryIngest
EXPOSE 3403
# - 3875: OneUptime-AIAgent
EXPOSE 3875
{{ if eq .Env.ENVIRONMENT "development" }}
#Run the app
CMD [ "npm", "run", "dev" ]
{{ else }}
# Copy app source
COPY ./OpenTelemetryIngest /usr/src/app
COPY ./AIAgent /usr/src/app
# Bundle app source
RUN npm run compile
# Set permission to write logs and cache in case container run as non root
@@ -82,4 +80,3 @@ RUN chown -R 1000:1000 "/tmp/npm" && chmod -R 2777 "/tmp/npm"
#Run the app
CMD [ "npm", "start" ]
{{ end }}

84
AIAgent/Index.ts Normal file
View File

@@ -0,0 +1,84 @@
import { PORT } from "./Config";
import AliveJob from "./Jobs/Alive";
import startTaskProcessingLoop from "./Jobs/ProcessScheduledTasks";
import Register from "./Services/Register";
import MetricsAPI from "./API/Metrics";
import {
getTaskHandlerRegistry,
FixExceptionTaskHandler,
} from "./TaskHandlers/Index";
import { PromiseVoidFunction } from "Common/Types/FunctionTypes";
import logger from "Common/Server/Utils/Logger";
import App from "Common/Server/Utils/StartServer";
import Telemetry from "Common/Server/Utils/Telemetry";
import Express, { ExpressApplication } from "Common/Server/Utils/Express";
import "ejs";
const APP_NAME: string = "ai-agent";
const init: PromiseVoidFunction = async (): Promise<void> => {
try {
// Initialize telemetry
Telemetry.init({
serviceName: APP_NAME,
});
logger.info("AI Agent Service - Starting...");
// init the app
await App.init({
appName: APP_NAME,
port: PORT,
isFrontendApp: false,
statusOptions: {
liveCheck: async () => {},
readyCheck: async () => {},
},
});
// Add metrics API routes for KEDA autoscaling
const app: ExpressApplication = Express.getExpressApp();
app.use("/metrics", MetricsAPI);
// add default routes
await App.addDefaultRoutes();
try {
// Register this AI Agent.
await Register.registerAIAgent();
logger.debug("AI Agent registered");
AliveJob();
// Register task handlers
logger.debug("Registering task handlers...");
const taskHandlerRegistry: ReturnType<typeof getTaskHandlerRegistry> =
getTaskHandlerRegistry();
taskHandlerRegistry.register(new FixExceptionTaskHandler());
logger.debug(
`Registered ${taskHandlerRegistry.getHandlerCount()} task handler(s): ${taskHandlerRegistry.getRegisteredTaskTypes().join(", ")}`,
);
// Start task processing loop (runs in background)
startTaskProcessingLoop().catch((err: Error) => {
logger.error("Task processing loop failed:");
logger.error(err);
});
} catch (err) {
logger.error("Register AI Agent failed");
logger.error(err);
throw err;
}
} catch (err) {
logger.error("App Init Failed:");
logger.error(err);
throw err;
}
};
init().catch((err: Error) => {
logger.error(err);
logger.error("Exiting node process");
process.exit(1);
});

56
AIAgent/Jobs/Alive.ts Normal file
View File

@@ -0,0 +1,56 @@
import { ONEUPTIME_URL } from "../Config";
import Register from "../Services/Register";
import AIAgentAPIRequest from "../Utils/AIAgentAPIRequest";
import URL from "Common/Types/API/URL";
import API from "Common/Utils/API";
import { EVERY_MINUTE } from "Common/Utils/CronTime";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
import BasicCron from "Common/Server/Utils/BasicCron";
import logger from "Common/Server/Utils/Logger";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import { JSONObject } from "Common/Types/JSON";
const InitJob: VoidFunction = (): void => {
BasicCron({
jobName: "AIAgent:Alive",
options: {
schedule: EVERY_MINUTE,
runOnStartup: false,
},
runFunction: async () => {
logger.debug("Checking if AI Agent is alive...");
const aiAgentId: string | undefined = LocalCache.getString(
"AI_AGENT",
"AI_AGENT_ID",
);
if (!aiAgentId) {
logger.warn(
"AI Agent is not registered yet. Skipping alive check. Trying to register AI Agent again...",
);
await Register.registerAIAgent();
return;
}
logger.debug("AI Agent ID: " + aiAgentId.toString());
const aliveUrl: URL = URL.fromString(ONEUPTIME_URL.toString()).addRoute(
"/api/ai-agent/alive",
);
const result: HTTPResponse<JSONObject> = await API.post({
url: aliveUrl,
data: AIAgentAPIRequest.getDefaultRequestBody(),
});
if (result.isSuccess()) {
logger.debug("AI Agent update sent to server successfully.");
} else {
logger.error("Failed to send AI Agent update to server.");
}
},
});
};
export default InitJob;

View File

@@ -0,0 +1,257 @@
import { ONEUPTIME_URL } from "../Config";
import AIAgentAPIRequest from "../Utils/AIAgentAPIRequest";
import AIAgentTaskLog from "../Utils/AIAgentTaskLog";
import TaskLogger from "../Utils/TaskLogger";
import BackendAPI from "../Utils/BackendAPI";
import {
getTaskHandlerRegistry,
TaskContext,
TaskMetadata,
TaskHandler,
TaskResult,
} from "../TaskHandlers/Index";
import TaskHandlerRegistry from "../TaskHandlers/TaskHandlerRegistry";
import URL from "Common/Types/API/URL";
import API from "Common/Utils/API";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import { JSONObject } from "Common/Types/JSON";
import logger from "Common/Server/Utils/Logger";
import AIAgentTaskStatus from "Common/Types/AI/AIAgentTaskStatus";
import AIAgentTaskType from "Common/Types/AI/AIAgentTaskType";
import ObjectID from "Common/Types/ObjectID";
import Sleep from "Common/Types/Sleep";
// Type for task data from the API
interface AIAgentTaskData {
_id: string;
projectId: string;
taskType: AIAgentTaskType;
metadata: TaskMetadata;
createdAt: string;
status?: AIAgentTaskStatus;
}
// Type for API response containing task
interface GetPendingTaskResponse {
task: AIAgentTaskData | null;
}
const SLEEP_WHEN_NO_TASKS_MS: number = 60 * 1000; // 1 minute
type ExecuteTaskFunction = (task: AIAgentTaskData) => Promise<void>;
/**
* Execute an AI Agent task using the registered task handler
*/
const executeTask: ExecuteTaskFunction = async (
task: AIAgentTaskData,
): Promise<void> => {
const taskIdString: string = task._id;
const projectIdString: string = task.projectId;
const taskId: ObjectID = new ObjectID(taskIdString);
const projectId: ObjectID = new ObjectID(projectIdString);
const taskType: AIAgentTaskType = task.taskType;
const metadata: TaskMetadata = task.metadata || {};
const createdAt: Date = new Date(task.createdAt);
// Get the task handler from the registry
const registry: TaskHandlerRegistry = getTaskHandlerRegistry();
const handler: TaskHandler | undefined = registry.getHandler(taskType);
if (!handler) {
throw new Error(`No handler registered for task type: ${taskType}`);
}
// Create task logger
const taskLogger: TaskLogger = new TaskLogger({
taskId: taskIdString,
context: `${handler.name}`,
});
// Create backend API client
const backendAPI: BackendAPI = new BackendAPI();
// Build task context
const context: TaskContext = {
taskId,
projectId,
taskType,
metadata,
logger: taskLogger,
backendAPI,
createdAt,
startedAt: new Date(),
};
try {
// Log handler starting
await taskLogger.info(
`Starting ${handler.name} for task type: ${taskType}`,
);
// Validate metadata if the handler supports it
if (handler.validateMetadata && !handler.validateMetadata(metadata)) {
throw new Error(`Invalid metadata for task type: ${taskType}`);
}
// Execute the task handler
const result: TaskResult = await handler.execute(context);
// Log result
if (result.success) {
await taskLogger.info(`Task completed: ${result.message}`);
if (result.pullRequestsCreated && result.pullRequestsCreated > 0) {
await taskLogger.info(
`Created ${result.pullRequestsCreated} pull request(s): ${result.pullRequestUrls?.join(", ") || ""}`,
);
}
} else {
await taskLogger.warning(`Task did not succeed: ${result.message}`);
}
// Flush all pending logs
await taskLogger.flush();
/*
* If the task was not successful and we want to report it as an error
* Note: Based on user requirements, "no fix found" should be Completed, not Error
* Only throw if there was an actual error (not just "no action taken")
*/
if (!result.success && result.data?.["isError"]) {
throw new Error(result.message);
}
} catch (error) {
// Ensure logs are flushed even on error
await taskLogger.flush();
throw error;
}
};
const startTaskProcessingLoop: () => Promise<void> =
async (): Promise<void> => {
logger.info("Starting AI Agent task processing loop...");
const getPendingTaskUrl: URL = URL.fromString(
ONEUPTIME_URL.toString(),
).addRoute("/api/ai-agent-task/get-pending-task");
const updateTaskStatusUrl: URL = URL.fromString(
ONEUPTIME_URL.toString(),
).addRoute("/api/ai-agent-task/update-task-status");
/* Continuous loop to process tasks */
while (true) {
try {
/* Fetch one scheduled task */
const getPendingTaskResult: HTTPResponse<JSONObject> = await API.post({
url: getPendingTaskUrl,
data: AIAgentAPIRequest.getDefaultRequestBody(),
});
if (!getPendingTaskResult.isSuccess()) {
logger.error("Failed to fetch pending task from server");
logger.debug(
`Sleeping for ${SLEEP_WHEN_NO_TASKS_MS / 1000} seconds before retrying...`,
);
await Sleep.sleep(SLEEP_WHEN_NO_TASKS_MS);
continue;
}
const responseData: GetPendingTaskResponse =
getPendingTaskResult.data as unknown as GetPendingTaskResponse;
const task: AIAgentTaskData | null = responseData.task;
if (!task || !task._id) {
logger.debug("No pending tasks available");
logger.debug(
`Sleeping for ${SLEEP_WHEN_NO_TASKS_MS / 1000} seconds before checking again...`,
);
await Sleep.sleep(SLEEP_WHEN_NO_TASKS_MS);
continue;
}
const taskId: string = task._id;
const taskType: string = task.taskType || "Unknown";
logger.info(`Processing task: ${taskId} (type: ${taskType})`);
try {
/* Mark task as InProgress */
const inProgressResult: HTTPResponse<JSONObject> = await API.post({
url: updateTaskStatusUrl,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: taskId,
status: AIAgentTaskStatus.InProgress,
},
});
if (!inProgressResult.isSuccess()) {
logger.error(
`Failed to mark task ${taskId} as InProgress. Skipping.`,
);
continue;
}
/* Send task started log */
await AIAgentTaskLog.sendTaskStartedLog(taskId);
/* Execute the task using the handler system */
await executeTask(task);
/* Mark task as Completed */
const completedResult: HTTPResponse<JSONObject> = await API.post({
url: updateTaskStatusUrl,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: taskId,
status: AIAgentTaskStatus.Completed,
},
});
if (!completedResult.isSuccess()) {
logger.error(`Failed to mark task ${taskId} as Completed`);
} else {
/* Send task completed log */
await AIAgentTaskLog.sendTaskCompletedLog(taskId);
logger.info(`Task completed successfully: ${taskId}`);
}
} catch (error) {
/* Mark task as Error with error message */
const errorMessage: string =
error instanceof Error ? error.message : "Unknown error occurred";
const errorResult: HTTPResponse<JSONObject> = await API.post({
url: updateTaskStatusUrl,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: taskId,
status: AIAgentTaskStatus.Error,
statusMessage: errorMessage,
},
});
if (!errorResult.isSuccess()) {
logger.error(
`Failed to mark task ${taskId} as Error: ${errorMessage}`,
);
}
/* Send task error log */
await AIAgentTaskLog.sendTaskErrorLog(taskId, errorMessage);
logger.error(`Task failed: ${taskId} - ${errorMessage}`);
logger.error(error);
}
} catch (error) {
logger.error("Error in task processing loop:");
logger.error(error);
logger.debug(
`Sleeping for ${SLEEP_WHEN_NO_TASKS_MS / 1000} seconds before retrying...`,
);
await Sleep.sleep(SLEEP_WHEN_NO_TASKS_MS);
}
}
};
export default startTaskProcessingLoop;

View File

@@ -0,0 +1,127 @@
import {
ONEUPTIME_URL,
AI_AGENT_ID,
AI_AGENT_KEY,
AI_AGENT_NAME,
AI_AGENT_DESCRIPTION,
} from "../Config";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import URL from "Common/Types/API/URL";
import { JSONObject } from "Common/Types/JSON";
import Sleep from "Common/Types/Sleep";
import API from "Common/Utils/API";
import { HasClusterKey } from "Common/Server/EnvironmentConfig";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
import logger from "Common/Server/Utils/Logger";
import ClusterKeyAuthorization from "Common/Server/Middleware/ClusterKeyAuthorization";
export default class Register {
public static async registerAIAgent(): Promise<void> {
// register AI agent with 10 retries and 30 second interval between each retry.
let currentRetry: number = 0;
const maxRetry: number = 10;
const retryIntervalInSeconds: number = 30;
while (currentRetry < maxRetry) {
try {
logger.debug(`Registering AI Agent. Attempt: ${currentRetry + 1}`);
await Register._registerAIAgent();
logger.debug(`AI Agent registered successfully.`);
break;
} catch (error) {
logger.error(
`Failed to register AI Agent. Retrying after ${retryIntervalInSeconds} seconds...`,
);
logger.error(error);
currentRetry++;
await Sleep.sleep(retryIntervalInSeconds * 1000);
}
}
}
private static async _registerAIAgent(): Promise<void> {
if (HasClusterKey) {
// Clustered mode: Auto-register and get ID from server
const aiAgentRegistrationUrl: URL = URL.fromString(
ONEUPTIME_URL.toString(),
).addRoute("/api/ai-agent/register");
logger.debug("Registering AI Agent...");
logger.debug("Sending request to: " + aiAgentRegistrationUrl.toString());
const result: HTTPResponse<JSONObject> = await API.post({
url: aiAgentRegistrationUrl,
data: {
aiAgentKey: AI_AGENT_KEY,
aiAgentName: AI_AGENT_NAME,
aiAgentDescription: AI_AGENT_DESCRIPTION,
clusterKey: ClusterKeyAuthorization.getClusterKey(),
},
});
if (!result.isSuccess()) {
logger.error(
`Failed to register AI Agent. Status: ${result.statusCode}`,
);
logger.error(result.data);
throw new Error(
"Failed to register AI Agent: HTTP " + result.statusCode,
);
}
logger.debug("AI Agent Registered");
logger.debug(result.data);
const aiAgentId: string | undefined = result.data["_id"] as
| string
| undefined;
if (!aiAgentId) {
logger.error("AI Agent ID not found in response");
logger.error(result.data);
throw new Error("AI Agent ID not found in registration response");
}
LocalCache.setString("AI_AGENT", "AI_AGENT_ID", aiAgentId);
} else {
// Non-clustered mode: Validate AI agent by sending alive request
if (!AI_AGENT_ID) {
logger.error("AI_AGENT_ID or ONEUPTIME_SECRET should be set");
return process.exit();
}
const aliveUrl: URL = URL.fromString(ONEUPTIME_URL.toString()).addRoute(
"/api/ai-agent/alive",
);
logger.debug("Registering AI Agent...");
logger.debug("Sending request to: " + aliveUrl.toString());
const result: HTTPResponse<JSONObject> = await API.post({
url: aliveUrl,
data: {
aiAgentKey: AI_AGENT_KEY.toString(),
aiAgentId: AI_AGENT_ID.toString(),
},
});
if (result.isSuccess()) {
LocalCache.setString(
"AI_AGENT",
"AI_AGENT_ID",
AI_AGENT_ID.toString() as string,
);
logger.debug("AI Agent registered successfully");
} else {
throw new Error("Failed to register AI Agent: " + result.statusCode);
}
}
logger.debug(
`AI Agent ID: ${LocalCache.getString("AI_AGENT", "AI_AGENT_ID") || "Unknown"}`,
);
}
}

View File

@@ -0,0 +1,454 @@
import {
BaseTaskHandler,
TaskContext,
TaskResult,
TaskMetadata,
TaskResultData,
} from "./TaskHandlerInterface";
import AIAgentTaskType from "Common/Types/AI/AIAgentTaskType";
import {
LLMConfig,
ExceptionDetails,
CodeRepositoryInfo,
RepositoryToken,
} from "../Utils/BackendAPI";
import RepositoryManager, {
RepositoryConfig,
CloneResult,
} from "../Utils/RepositoryManager";
import PullRequestCreator, {
PullRequestResult,
} from "../Utils/PullRequestCreator";
import WorkspaceManager, { WorkspaceInfo } from "../Utils/WorkspaceManager";
import {
CodeAgentFactory,
CodeAgent,
CodeAgentType,
CodeAgentTask,
CodeAgentResult,
CodeAgentProgressEvent,
CodeAgentLLMConfig,
} from "../CodeAgents/Index";
// Metadata structure for Fix Exception tasks
export interface FixExceptionMetadata extends TaskMetadata {
exceptionId: string;
serviceId?: string;
stackTrace?: string;
errorMessage?: string;
}
export default class FixExceptionTaskHandler extends BaseTaskHandler<FixExceptionMetadata> {
public readonly taskType: AIAgentTaskType = AIAgentTaskType.FixException;
public readonly name: string = "Fix Exception Handler";
// Default timeout for code agent execution (30 minutes)
private static readonly CODE_AGENT_TIMEOUT_MS: number = 30 * 60 * 1000;
public async execute(
context: TaskContext<FixExceptionMetadata>,
): Promise<TaskResult> {
const metadata: FixExceptionMetadata = context.metadata;
await this.log(
context,
`Starting Fix Exception task for exception: ${metadata.exceptionId} (taskId: ${context.taskId.toString()})`,
);
let workspace: WorkspaceInfo | null = null;
try {
// Step 1: Get LLM configuration for the project
await this.log(context, "Fetching LLM provider configuration...");
const llmConfig: LLMConfig = await context.backendAPI.getLLMConfig(
context.projectId.toString(),
);
await this.log(
context,
`Using LLM provider: ${llmConfig.llmType}${llmConfig.modelName ? ` (${llmConfig.modelName})` : ""}`,
);
// Step 2: Get exception details
await this.log(context, "Fetching exception details...");
const exceptionDetails: ExceptionDetails =
await context.backendAPI.getExceptionDetails(metadata.exceptionId);
if (!exceptionDetails.service) {
await this.log(context, "No service linked to this exception", "error");
return this.createFailureResult("No service linked to this exception", {
isError: true,
});
}
await this.log(
context,
`Exception: ${exceptionDetails.exception.message.substring(0, 100)}...`,
);
await this.log(context, `Service: ${exceptionDetails.service.name}`);
// Step 3: Get linked code repositories
await this.log(context, "Finding linked code repositories...");
const repositories: Array<CodeRepositoryInfo> =
await context.backendAPI.getCodeRepositories(
exceptionDetails.service.id,
);
if (repositories.length === 0) {
await this.log(
context,
"No code repositories linked to this service",
"error",
);
return this.createFailureResult(
"No code repositories linked to this service via Service Catalog",
{ isError: true },
);
}
await this.log(
context,
`Found ${repositories.length} linked code repository(ies)`,
);
// Step 4: Create workspace for the task
workspace = await WorkspaceManager.createWorkspace(
context.taskId.toString(),
);
await this.log(context, `Created workspace: ${workspace.workspacePath}`);
// Step 5: Process each repository
const pullRequestUrls: Array<string> = [];
const errors: Array<string> = [];
for (const repo of repositories) {
try {
await this.log(
context,
`Processing repository: ${repo.organizationName}/${repo.repositoryName}`,
);
const prUrl: string | null = await this.processRepository(
context,
repo,
exceptionDetails,
llmConfig,
workspace,
);
if (prUrl) {
pullRequestUrls.push(prUrl);
}
} catch (error) {
const errorMessage: string =
error instanceof Error ? error.message : String(error);
errors.push(
`${repo.organizationName}/${repo.repositoryName}: ${errorMessage}`,
);
await this.log(
context,
`Failed to process repository ${repo.organizationName}/${repo.repositoryName}: ${errorMessage}`,
"error",
);
// Continue with next repository
}
}
// Step 6: Return result
if (pullRequestUrls.length > 0) {
await this.log(
context,
`Successfully created ${pullRequestUrls.length} pull request(s)`,
);
const resultData: TaskResultData = {
pullRequests: pullRequestUrls,
};
if (errors.length > 0) {
resultData.errors = errors;
}
return {
success: true,
message: `Created ${pullRequestUrls.length} pull request(s)`,
pullRequestsCreated: pullRequestUrls.length,
pullRequestUrls,
data: resultData,
};
}
// No PRs created - mark as error
await this.log(
context,
"No fixes could be applied to any repository",
"error",
);
return this.createFailureResult(
errors.length > 0
? `No fixes could be applied. Errors: ${errors.join("; ")}`
: "No fixes could be applied to any repository",
{ isError: true },
);
} catch (error) {
const errorMessage: string =
error instanceof Error ? error.message : String(error);
await this.log(context, `Task failed: ${errorMessage}`, "error");
// Mark as an actual error (not just "no action taken") so task gets Error status
return this.createFailureResult(errorMessage, { isError: true });
} finally {
// Cleanup workspace
if (workspace) {
await this.log(context, "Cleaning up workspace...");
await WorkspaceManager.deleteWorkspace(workspace.workspacePath);
}
// Flush logs
await context.logger.flush();
}
}
// Process a single repository
private async processRepository(
context: TaskContext<FixExceptionMetadata>,
repo: CodeRepositoryInfo,
exceptionDetails: ExceptionDetails,
llmConfig: LLMConfig,
workspace: WorkspaceInfo,
): Promise<string | null> {
// Get access token for the repository
await this.log(
context,
`Getting access token for ${repo.organizationName}/${repo.repositoryName}...`,
);
const tokenData: RepositoryToken =
await context.backendAPI.getRepositoryToken(repo.id);
// Clone the repository
await this.log(
context,
`Cloning repository ${repo.organizationName}/${repo.repositoryName}...`,
);
const repoConfig: RepositoryConfig = {
organizationName: tokenData.organizationName,
repositoryName: tokenData.repositoryName,
token: tokenData.token,
repositoryUrl: tokenData.repositoryUrl,
};
const repoManager: RepositoryManager = new RepositoryManager(
context.logger,
);
const cloneResult: CloneResult = await repoManager.cloneRepository(
repoConfig,
workspace.workspacePath,
);
// Create a fix branch
const branchName: string = `oneuptime-fix-exception-${context.taskId.toString().substring(0, 8)}`;
await this.log(context, `Creating branch: ${branchName}`);
await repoManager.createBranch(cloneResult.repositoryPath, branchName);
// Build the prompt for the code agent
const prompt: string = this.buildFixPrompt(
exceptionDetails,
repo.servicePathInRepository,
);
// Initialize code agent
await this.log(context, "Initializing code agent...");
const agent: CodeAgent = CodeAgentFactory.createAgent(
CodeAgentType.OpenCode,
);
const agentConfig: CodeAgentLLMConfig = {
llmType: llmConfig.llmType,
};
if (llmConfig.apiKey) {
agentConfig.apiKey = llmConfig.apiKey;
}
if (llmConfig.baseUrl) {
agentConfig.baseUrl = llmConfig.baseUrl;
}
if (llmConfig.modelName) {
agentConfig.modelName = llmConfig.modelName;
}
await agent.initialize(agentConfig, context.logger);
// Set up progress callback to log agent output
agent.onProgress((event: CodeAgentProgressEvent) => {
context.logger.logProcessOutput("CodeAgent", event.message);
});
// Execute the code agent
await this.log(context, "Running code agent to fix exception...");
const codeAgentTask: CodeAgentTask = {
workingDirectory: cloneResult.repositoryPath,
prompt,
timeoutMs: FixExceptionTaskHandler.CODE_AGENT_TIMEOUT_MS,
};
if (repo.servicePathInRepository) {
codeAgentTask.servicePath = repo.servicePathInRepository;
}
const agentResult: CodeAgentResult = await agent.executeTask(codeAgentTask);
// Check if any changes were made
if (!agentResult.success || agentResult.filesModified.length === 0) {
await this.log(
context,
`Code agent did not make any changes: ${agentResult.error || agentResult.summary}`,
"warning",
);
await agent.cleanup();
return null;
}
await this.log(
context,
`Code agent modified ${agentResult.filesModified.length} file(s)`,
);
// Add all changes and commit
await this.log(context, "Committing changes...");
await repoManager.addAllChanges(cloneResult.repositoryPath);
const commitMessage: string = this.buildCommitMessage(exceptionDetails);
await repoManager.commitChanges(cloneResult.repositoryPath, commitMessage);
// Push the branch
await this.log(context, `Pushing branch ${branchName}...`);
await repoManager.pushBranch(
cloneResult.repositoryPath,
branchName,
repoConfig,
);
// Create pull request
await this.log(context, "Creating pull request...");
const prCreator: PullRequestCreator = new PullRequestCreator(
context.logger,
);
const prTitle: string = PullRequestCreator.generatePRTitle(
exceptionDetails.exception.message,
);
const prBody: string = PullRequestCreator.generatePRBody({
exceptionMessage: exceptionDetails.exception.message,
exceptionType: exceptionDetails.exception.exceptionType,
stackTrace: exceptionDetails.exception.stackTrace,
serviceName: exceptionDetails.service?.name || "Unknown Service",
summary: agentResult.summary,
});
const prResult: PullRequestResult = await prCreator.createPullRequest({
token: tokenData.token,
organizationName: tokenData.organizationName,
repositoryName: tokenData.repositoryName,
baseBranch: repo.mainBranchName || "main",
headBranch: branchName,
title: prTitle,
body: prBody,
});
await this.log(context, `Pull request created: ${prResult.htmlUrl}`);
// Record the PR in the backend
await context.backendAPI.recordPullRequest({
taskId: context.taskId.toString(),
codeRepositoryId: repo.id,
pullRequestUrl: prResult.htmlUrl,
pullRequestNumber: prResult.number,
pullRequestId: prResult.id,
title: prResult.title,
description: prBody.substring(0, 1000),
headRefName: branchName,
baseRefName: repo.mainBranchName || "main",
});
// Cleanup agent
await agent.cleanup();
return prResult.htmlUrl;
}
// Build the prompt for the code agent
private buildFixPrompt(
exceptionDetails: ExceptionDetails,
servicePathInRepository: string | null,
): string {
let prompt: string = `You are a software engineer fixing a bug in a codebase.
## Exception Information
**Exception Type:** ${exceptionDetails.exception.exceptionType}
**Error Message:**
${exceptionDetails.exception.message}
**Stack Trace:**
\`\`\`
${exceptionDetails.exception.stackTrace}
\`\`\`
## Task
Please analyze the stack trace and fix the exception. Here are the steps to follow:
1. Identify the root cause of the exception from the stack trace
2. Find the relevant source files in the codebase
3. Implement a fix for the issue
4. Make sure your fix handles edge cases appropriately
5. The fix should be minimal and focused - only change what's necessary
## Guidelines
- Do NOT add excessive error handling or logging unless necessary
- Do NOT refactor unrelated code
- Keep the fix simple and targeted
- Preserve existing code style and patterns
- If you cannot determine how to fix the issue, explain why
Please proceed with analyzing and fixing this exception.`;
if (servicePathInRepository) {
prompt = `The service code is located in the \`${servicePathInRepository}\` directory.\n\n${prompt}`;
}
return prompt;
}
// Build commit message for the fix
private buildCommitMessage(exceptionDetails: ExceptionDetails): string {
const shortMessage: string = exceptionDetails.exception.message
.replace(/\n/g, " ")
.replace(/\s+/g, " ")
.trim()
.substring(0, 50);
return `fix: ${shortMessage}
This commit fixes an exception detected by OneUptime.
Exception Type: ${exceptionDetails.exception.exceptionType}
Exception ID: ${exceptionDetails.exception.id}
Automatically generated by OneUptime AI Agent.`;
}
// Validate metadata
public validateMetadata(metadata: FixExceptionMetadata): boolean {
return Boolean(metadata.exceptionId);
}
// Get handler description
public getDescription(): string {
return "Analyzes exceptions detected by OneUptime and attempts to fix them by modifying the source code and creating a pull request.";
}
}

View File

@@ -0,0 +1,16 @@
// Export all task handler related types and classes
export {
TaskHandler,
TaskContext,
TaskResult,
TaskMetadata,
TaskResultData,
BaseTaskHandler,
} from "./TaskHandlerInterface";
export {
default as TaskHandlerRegistry,
getTaskHandlerRegistry,
} from "./TaskHandlerRegistry";
export { default as FixExceptionTaskHandler } from "./FixExceptionTaskHandler";

View File

@@ -0,0 +1,161 @@
import AIAgentTaskType from "Common/Types/AI/AIAgentTaskType";
import ObjectID from "Common/Types/ObjectID";
import TaskLogger from "../Utils/TaskLogger";
import BackendAPI from "../Utils/BackendAPI";
// Base interface for task metadata - handlers should define their own specific metadata types
export interface TaskMetadata {
// All metadata must have at least these optional fields for extensibility
[key: string]: unknown;
}
// Base interface for task result data
export interface TaskResultData {
// Pull requests created (for Fix Exception tasks)
pullRequests?: Array<string>;
// Errors encountered during processing
errors?: Array<string>;
// Flag to indicate if this is an error result (not just "no action taken")
isError?: boolean;
// Additional data fields
[key: string]: unknown;
}
// Context provided to task handlers
export interface TaskContext<TMetadata extends TaskMetadata = TaskMetadata> {
// Task identification
taskId: ObjectID;
projectId: ObjectID;
taskType: AIAgentTaskType;
// Task metadata (varies by task type)
metadata: TMetadata;
// Utilities
logger: TaskLogger;
backendAPI: BackendAPI;
// Task timestamps
createdAt: Date;
startedAt: Date;
}
// Result returned by task handlers
export interface TaskResult {
// Whether the task completed successfully
success: boolean;
// Human-readable message describing the result
message: string;
// Additional data about the result (optional)
data?: TaskResultData;
// Number of PRs created (for Fix Exception tasks)
pullRequestsCreated?: number;
// List of PR URLs created
pullRequestUrls?: Array<string>;
}
// Interface that all task handlers must implement
export interface TaskHandler<TMetadata extends TaskMetadata = TaskMetadata> {
// The type of task this handler processes
readonly taskType: AIAgentTaskType;
// Human-readable name for the handler
readonly name: string;
// Execute the task and return a result
execute(context: TaskContext<TMetadata>): Promise<TaskResult>;
// Check if this handler can process a given task
canHandle(taskType: AIAgentTaskType): boolean;
// Optional: Validate task metadata before execution
validateMetadata?(metadata: TMetadata): boolean;
// Optional: Get a description of what this handler does
getDescription?(): string;
}
// Abstract base class that provides common functionality for task handlers
export abstract class BaseTaskHandler<
TMetadata extends TaskMetadata = TaskMetadata,
> implements TaskHandler<TMetadata>
{
public abstract readonly taskType: AIAgentTaskType;
public abstract readonly name: string;
public abstract execute(context: TaskContext<TMetadata>): Promise<TaskResult>;
public canHandle(taskType: AIAgentTaskType): boolean {
return taskType === this.taskType;
}
// Create a success result
protected createSuccessResult(
message: string,
data?: TaskResultData,
): TaskResult {
const result: TaskResult = {
success: true,
message,
};
if (data) {
result.data = data;
}
return result;
}
// Create a failure result
protected createFailureResult(
message: string,
data?: TaskResultData,
): TaskResult {
const result: TaskResult = {
success: false,
message,
};
if (data) {
result.data = data;
}
return result;
}
// Create a result for when no action was taken
protected createNoActionResult(message: string): TaskResult {
return {
success: true,
message,
pullRequestsCreated: 0,
};
}
// Log to the task logger
protected async log(
context: TaskContext<TMetadata>,
message: string,
level: "info" | "debug" | "warning" | "error" = "info",
): Promise<void> {
switch (level) {
case "debug":
await context.logger.debug(message);
break;
case "warning":
await context.logger.warning(message);
break;
case "error":
await context.logger.error(message);
break;
case "info":
default:
await context.logger.info(message);
break;
}
}
}

View File

@@ -0,0 +1,93 @@
import { TaskHandler } from "./TaskHandlerInterface";
import AIAgentTaskType from "Common/Types/AI/AIAgentTaskType";
import logger from "Common/Server/Utils/Logger";
/*
* Registry for task handlers
* Allows dynamic registration and lookup of handlers by task type
*/
export default class TaskHandlerRegistry {
private static instance: TaskHandlerRegistry | null = null;
private handlers: Map<AIAgentTaskType, TaskHandler> = new Map();
// Private constructor for singleton pattern
private constructor() {}
// Get the singleton instance
public static getInstance(): TaskHandlerRegistry {
if (!TaskHandlerRegistry.instance) {
TaskHandlerRegistry.instance = new TaskHandlerRegistry();
}
return TaskHandlerRegistry.instance;
}
// Reset the singleton (useful for testing)
public static resetInstance(): void {
TaskHandlerRegistry.instance = null;
}
// Register a task handler
public register(handler: TaskHandler): void {
if (this.handlers.has(handler.taskType)) {
logger.warn(
`Overwriting existing handler for task type: ${handler.taskType}`,
);
}
this.handlers.set(handler.taskType, handler);
logger.debug(
`Registered handler "${handler.name}" for task type: ${handler.taskType}`,
);
}
// Register multiple handlers at once
public registerAll(handlers: Array<TaskHandler>): void {
for (const handler of handlers) {
this.register(handler);
}
}
// Unregister a handler
public unregister(taskType: AIAgentTaskType): void {
if (this.handlers.has(taskType)) {
this.handlers.delete(taskType);
logger.debug(`Unregistered handler for task type: ${taskType}`);
}
}
// Get a handler for a specific task type
public getHandler(taskType: AIAgentTaskType): TaskHandler | undefined {
return this.handlers.get(taskType);
}
// Check if a handler exists for a task type
public hasHandler(taskType: AIAgentTaskType): boolean {
return this.handlers.has(taskType);
}
// Get all registered task types
public getRegisteredTaskTypes(): Array<AIAgentTaskType> {
return Array.from(this.handlers.keys());
}
// Get all registered handlers
public getAllHandlers(): Array<TaskHandler> {
return Array.from(this.handlers.values());
}
// Get the number of registered handlers
public getHandlerCount(): number {
return this.handlers.size;
}
// Clear all handlers
public clear(): void {
this.handlers.clear();
logger.debug("Cleared all task handlers");
}
}
// Export a convenience function to get the registry instance
export function getTaskHandlerRegistry(): TaskHandlerRegistry {
return TaskHandlerRegistry.getInstance();
}

17
AIAgent/Utils/AIAgent.ts Normal file
View File

@@ -0,0 +1,17 @@
import BadDataException from "Common/Types/Exception/BadDataException";
import ObjectID from "Common/Types/ObjectID";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
export default class AIAgentUtil {
public static getAIAgentId(): ObjectID {
const id: string | undefined =
LocalCache.getString("AI_AGENT", "AI_AGENT_ID") ||
process.env["AI_AGENT_ID"];
if (!id) {
throw new BadDataException("AI Agent ID not found");
}
return new ObjectID(id);
}
}

View File

@@ -0,0 +1,12 @@
import { AI_AGENT_KEY } from "../Config";
import AIAgentUtil from "./AIAgent";
import { JSONObject } from "Common/Types/JSON";
export default class AIAgentAPIRequest {
public static getDefaultRequestBody(): JSONObject {
return {
aiAgentKey: AI_AGENT_KEY,
aiAgentId: AIAgentUtil.getAIAgentId().toString(),
};
}
}

View File

@@ -0,0 +1,79 @@
import { ONEUPTIME_URL } from "../Config";
import AIAgentAPIRequest from "./AIAgentAPIRequest";
import URL from "Common/Types/API/URL";
import API from "Common/Utils/API";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import { JSONObject } from "Common/Types/JSON";
import LogSeverity from "Common/Types/Log/LogSeverity";
import logger from "Common/Server/Utils/Logger";
export interface SendLogOptions {
taskId: string;
severity: LogSeverity;
message: string;
}
export default class AIAgentTaskLog {
private static createLogUrl: URL | null = null;
private static getCreateLogUrl(): URL {
if (!this.createLogUrl) {
this.createLogUrl = URL.fromString(ONEUPTIME_URL.toString()).addRoute(
"/api/ai-agent-task-log/create-log",
);
}
return this.createLogUrl;
}
public static async sendLog(options: SendLogOptions): Promise<boolean> {
try {
const result: HTTPResponse<JSONObject> = await API.post({
url: this.getCreateLogUrl(),
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: options.taskId,
severity: options.severity,
message: options.message,
},
});
if (!result.isSuccess()) {
logger.error(`Failed to send log for task ${options.taskId}`);
return false;
}
return true;
} catch (error) {
logger.error(`Error sending log for task ${options.taskId}:`);
logger.error(error);
return false;
}
}
public static async sendTaskStartedLog(taskId: string): Promise<boolean> {
return this.sendLog({
taskId,
severity: LogSeverity.Information,
message: "Task execution started",
});
}
public static async sendTaskCompletedLog(taskId: string): Promise<boolean> {
return this.sendLog({
taskId,
severity: LogSeverity.Information,
message: "Task execution completed successfully",
});
}
public static async sendTaskErrorLog(
taskId: string,
errorMessage: string,
): Promise<boolean> {
return this.sendLog({
taskId,
severity: LogSeverity.Error,
message: `Task execution failed: ${errorMessage}`,
});
}
}

394
AIAgent/Utils/BackendAPI.ts Normal file
View File

@@ -0,0 +1,394 @@
import { ONEUPTIME_URL } from "../Config";
import AIAgentAPIRequest from "./AIAgentAPIRequest";
import URL from "Common/Types/API/URL";
import API from "Common/Utils/API";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import { JSONObject } from "Common/Types/JSON";
import LlmType from "Common/Types/LLM/LlmType";
import AIAgentTaskStatus from "Common/Types/AI/AIAgentTaskStatus";
import logger from "Common/Server/Utils/Logger";
// API Response types
interface LLMConfigResponse {
llmType: LlmType;
apiKey?: string;
baseUrl?: string;
modelName?: string;
message?: string;
}
interface ExceptionResponse {
id: string;
message: string;
stackTrace: string;
exceptionType: string;
fingerprint: string;
}
interface ServiceResponse {
id: string;
name: string;
description: string;
}
interface ExceptionDetailsResponse {
exception: ExceptionResponse;
service: ServiceResponse | null;
message?: string;
}
interface CodeRepositoryResponse {
id: string;
name: string;
repositoryHostedAt: string;
organizationName: string;
repositoryName: string;
mainBranchName: string;
servicePathInRepository: string | null;
gitHubAppInstallationId: string | null;
}
interface CodeRepositoriesResponse {
repositories: Array<CodeRepositoryResponse>;
message?: string;
}
interface RepositoryTokenResponse {
token: string;
expiresAt: string;
repositoryUrl: string;
organizationName: string;
repositoryName: string;
message?: string;
}
interface RecordPullRequestResponse {
success: boolean;
pullRequestId: string;
message?: string;
}
interface UpdateTaskStatusResponse {
success?: boolean;
message?: string;
}
// Exported types
export interface LLMConfig {
llmType: LlmType;
apiKey?: string;
baseUrl?: string;
modelName?: string;
}
export interface ExceptionDetails {
exception: {
id: string;
message: string;
stackTrace: string;
exceptionType: string;
fingerprint: string;
};
service: {
id: string;
name: string;
description: string;
} | null;
}
export interface CodeRepositoryInfo {
id: string;
name: string;
repositoryHostedAt: string;
organizationName: string;
repositoryName: string;
mainBranchName: string;
servicePathInRepository: string | null;
gitHubAppInstallationId: string | null;
}
export interface RepositoryToken {
token: string;
expiresAt: Date;
repositoryUrl: string;
organizationName: string;
repositoryName: string;
}
export interface RecordPullRequestOptions {
taskId: string;
codeRepositoryId: string;
pullRequestUrl: string;
pullRequestNumber?: number;
pullRequestId?: number;
title: string;
description?: string;
headRefName?: string;
baseRefName?: string;
}
export interface RecordPullRequestResult {
success: boolean;
pullRequestId: string;
}
export default class BackendAPI {
private baseUrl: URL;
public constructor() {
this.baseUrl = URL.fromString(ONEUPTIME_URL.toString());
}
// Get LLM configuration for a project
public async getLLMConfig(projectId: string): Promise<LLMConfig> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-data/get-llm-config",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
projectId: projectId,
},
});
if (!response.isSuccess()) {
const data: LLMConfigResponse =
response.data as unknown as LLMConfigResponse;
const errorMessage: string = data?.message || "Failed to get LLM config";
throw new Error(errorMessage);
}
const data: LLMConfigResponse =
response.data as unknown as LLMConfigResponse;
logger.debug(`Got LLM config for project ${projectId}: ${data.llmType}`);
const llmConfig: LLMConfig = {
llmType: data.llmType,
};
if (data.apiKey) {
llmConfig.apiKey = data.apiKey;
}
if (data.baseUrl) {
llmConfig.baseUrl = data.baseUrl;
}
if (data.modelName) {
llmConfig.modelName = data.modelName;
}
return llmConfig;
}
// Get exception details with telemetry service info
public async getExceptionDetails(
exceptionId: string,
): Promise<ExceptionDetails> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-data/get-exception-details",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
exceptionId: exceptionId,
},
});
if (!response.isSuccess()) {
const data: ExceptionDetailsResponse =
response.data as unknown as ExceptionDetailsResponse;
const errorMessage: string =
data?.message || "Failed to get exception details";
throw new Error(errorMessage);
}
const data: ExceptionDetailsResponse =
response.data as unknown as ExceptionDetailsResponse;
logger.debug(
`Got exception details for ${exceptionId}: ${data.exception.message.substring(0, 100)}`,
);
return {
exception: {
id: data.exception.id,
message: data.exception.message,
stackTrace: data.exception.stackTrace,
exceptionType: data.exception.exceptionType,
fingerprint: data.exception.fingerprint,
},
service: data.service
? {
id: data.service.id,
name: data.service.name,
description: data.service.description,
}
: null,
};
}
// Get code repositories linked to a service
public async getCodeRepositories(
serviceId: string,
): Promise<Array<CodeRepositoryInfo>> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-data/get-code-repositories",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
serviceId: serviceId,
},
});
if (!response.isSuccess()) {
const data: CodeRepositoriesResponse =
response.data as unknown as CodeRepositoriesResponse;
const errorMessage: string =
data?.message || "Failed to get code repositories";
throw new Error(errorMessage);
}
const data: CodeRepositoriesResponse =
response.data as unknown as CodeRepositoriesResponse;
logger.debug(
`Got ${data.repositories.length} code repositories for service ${serviceId}`,
);
return data.repositories.map((repo: CodeRepositoryResponse) => {
return {
id: repo.id,
name: repo.name,
repositoryHostedAt: repo.repositoryHostedAt,
organizationName: repo.organizationName,
repositoryName: repo.repositoryName,
mainBranchName: repo.mainBranchName,
servicePathInRepository: repo.servicePathInRepository,
gitHubAppInstallationId: repo.gitHubAppInstallationId,
};
});
}
// Get access token for a code repository
public async getRepositoryToken(
codeRepositoryId: string,
): Promise<RepositoryToken> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-data/get-repository-token",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
codeRepositoryId: codeRepositoryId,
},
});
if (!response.isSuccess()) {
const data: RepositoryTokenResponse =
response.data as unknown as RepositoryTokenResponse;
const errorMessage: string =
data?.message || "Failed to get repository token";
throw new Error(errorMessage);
}
const data: RepositoryTokenResponse =
response.data as unknown as RepositoryTokenResponse;
logger.debug(
`Got access token for repository ${data.organizationName}/${data.repositoryName}`,
);
return {
token: data.token,
expiresAt: new Date(data.expiresAt),
repositoryUrl: data.repositoryUrl,
organizationName: data.organizationName,
repositoryName: data.repositoryName,
};
}
// Record a pull request created by the AI Agent
public async recordPullRequest(
options: RecordPullRequestOptions,
): Promise<RecordPullRequestResult> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-data/record-pull-request",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: options.taskId,
codeRepositoryId: options.codeRepositoryId,
pullRequestUrl: options.pullRequestUrl,
pullRequestNumber: options.pullRequestNumber,
pullRequestId: options.pullRequestId,
title: options.title,
description: options.description,
headRefName: options.headRefName,
baseRefName: options.baseRefName,
},
});
if (!response.isSuccess()) {
const data: RecordPullRequestResponse =
response.data as unknown as RecordPullRequestResponse;
const errorMessage: string =
data?.message || "Failed to record pull request";
throw new Error(errorMessage);
}
const data: RecordPullRequestResponse =
response.data as unknown as RecordPullRequestResponse;
logger.debug(`Recorded pull request: ${options.pullRequestUrl}`);
return {
success: data.success,
pullRequestId: data.pullRequestId,
};
}
// Update task status (wrapper around existing endpoint)
public async updateTaskStatus(
taskId: string,
status: AIAgentTaskStatus,
statusMessage?: string,
): Promise<void> {
const url: URL = URL.fromURL(this.baseUrl).addRoute(
"/api/ai-agent-task/update-task-status",
);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: taskId,
status: status,
statusMessage: statusMessage,
},
});
if (!response.isSuccess()) {
const data: UpdateTaskStatusResponse =
response.data as unknown as UpdateTaskStatusResponse;
const errorMessage: string =
data?.message || "Failed to update task status";
throw new Error(errorMessage);
}
logger.debug(`Updated task ${taskId} status to ${status}`);
}
}

View File

@@ -0,0 +1,369 @@
import API from "Common/Utils/API";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import HTTPErrorResponse from "Common/Types/API/HTTPErrorResponse";
import URL from "Common/Types/API/URL";
import { JSONObject, JSONArray } from "Common/Types/JSON";
import logger from "Common/Server/Utils/Logger";
import Headers from "Common/Types/API/Headers";
import TaskLogger from "./TaskLogger";
export interface PullRequestOptions {
token: string;
organizationName: string;
repositoryName: string;
baseBranch: string;
headBranch: string;
title: string;
body: string;
draft?: boolean;
}
export interface PullRequestResult {
id: number;
number: number;
url: string;
htmlUrl: string;
state: string;
title: string;
}
export default class PullRequestCreator {
private static readonly GITHUB_API_BASE: string = "https://api.github.com";
private static readonly GITHUB_API_VERSION: string = "2022-11-28";
private logger: TaskLogger | null = null;
public constructor(taskLogger?: TaskLogger) {
if (taskLogger) {
this.logger = taskLogger;
}
}
// Create a pull request on GitHub
public async createPullRequest(
options: PullRequestOptions,
): Promise<PullRequestResult> {
await this.log(
`Creating pull request: ${options.title} (${options.headBranch} -> ${options.baseBranch})`,
);
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${options.organizationName}/${options.repositoryName}/pulls`,
);
const headers: Headers = this.getHeaders(options.token);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: {
title: options.title,
body: options.body,
head: options.headBranch,
base: options.baseBranch,
draft: options.draft || false,
},
headers,
});
if (!response.isSuccess()) {
const errorData: JSONObject = response.data as JSONObject;
const errorMessage: string =
(errorData["message"] as string) || "Failed to create pull request";
logger.error(`GitHub API error: ${errorMessage}`);
throw new Error(`Failed to create pull request: ${errorMessage}`);
}
const data: JSONObject = response.data as JSONObject;
const result: PullRequestResult = {
id: data["id"] as number,
number: data["number"] as number,
url: data["url"] as string,
htmlUrl: data["html_url"] as string,
state: data["state"] as string,
title: data["title"] as string,
};
await this.log(`Pull request created: ${result.htmlUrl}`);
return result;
}
// Get an existing pull request by number
public async getPullRequest(
token: string,
organizationName: string,
repositoryName: string,
pullNumber: number,
): Promise<PullRequestResult | null> {
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/pulls/${pullNumber}`,
);
const headers: Headers = this.getHeaders(token);
const response: HTTPResponse<JSONObject> = await API.get({
url,
headers,
});
if (!response.isSuccess()) {
return null;
}
const data: JSONObject = response.data as JSONObject;
return {
id: data["id"] as number,
number: data["number"] as number,
url: data["url"] as string,
htmlUrl: data["html_url"] as string,
state: data["state"] as string,
title: data["title"] as string,
};
}
// Check if a pull request already exists for a branch
public async findExistingPullRequest(
token: string,
organizationName: string,
repositoryName: string,
headBranch: string,
baseBranch: string,
): Promise<PullRequestResult | null> {
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/pulls`,
);
const headers: Headers = this.getHeaders(token);
const response: HTTPResponse<JSONArray> | HTTPErrorResponse = await API.get(
{
url,
headers,
params: {
head: `${organizationName}:${headBranch}`,
base: baseBranch,
state: "open",
},
},
);
if (!response.isSuccess()) {
return null;
}
const pulls: JSONArray = response.data as JSONArray;
if (pulls.length > 0) {
const data: JSONObject = pulls[0] as JSONObject;
return {
id: data["id"] as number,
number: data["number"] as number,
url: data["url"] as string,
htmlUrl: data["html_url"] as string,
state: data["state"] as string,
title: data["title"] as string,
};
}
return null;
}
// Update an existing pull request
public async updatePullRequest(
token: string,
organizationName: string,
repositoryName: string,
pullNumber: number,
updates: { title?: string; body?: string; state?: "open" | "closed" },
): Promise<PullRequestResult> {
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/pulls/${pullNumber}`,
);
const headers: Headers = this.getHeaders(token);
const response: HTTPResponse<JSONObject> = await API.patch({
url,
data: updates,
headers,
});
if (!response.isSuccess()) {
const errorData: JSONObject = response.data as JSONObject;
const errorMessage: string =
(errorData["message"] as string) || "Failed to update pull request";
throw new Error(`Failed to update pull request: ${errorMessage}`);
}
const data: JSONObject = response.data as JSONObject;
return {
id: data["id"] as number,
number: data["number"] as number,
url: data["url"] as string,
htmlUrl: data["html_url"] as string,
state: data["state"] as string,
title: data["title"] as string,
};
}
// Add labels to a pull request
public async addLabels(
token: string,
organizationName: string,
repositoryName: string,
issueNumber: number,
labels: Array<string>,
): Promise<void> {
await this.log(`Adding labels to PR #${issueNumber}: ${labels.join(", ")}`);
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/issues/${issueNumber}/labels`,
);
const headers: Headers = this.getHeaders(token);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: { labels },
headers,
});
if (!response.isSuccess()) {
logger.warn(`Failed to add labels to PR #${issueNumber}`);
}
}
// Add reviewers to a pull request
public async requestReviewers(
token: string,
organizationName: string,
repositoryName: string,
pullNumber: number,
reviewers: Array<string>,
teamReviewers?: Array<string>,
): Promise<void> {
await this.log(`Requesting reviewers for PR #${pullNumber}`);
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/pulls/${pullNumber}/requested_reviewers`,
);
const headers: Headers = this.getHeaders(token);
const data: JSONObject = {
reviewers,
};
if (teamReviewers && teamReviewers.length > 0) {
data["team_reviewers"] = teamReviewers;
}
const response: HTTPResponse<JSONObject> = await API.post({
url,
data,
headers,
});
if (!response.isSuccess()) {
logger.warn(`Failed to request reviewers for PR #${pullNumber}`);
}
}
// Add a comment to a pull request
public async addComment(
token: string,
organizationName: string,
repositoryName: string,
issueNumber: number,
comment: string,
): Promise<void> {
await this.log(`Adding comment to PR #${issueNumber}`);
const url: URL = URL.fromString(
`${PullRequestCreator.GITHUB_API_BASE}/repos/${organizationName}/${repositoryName}/issues/${issueNumber}/comments`,
);
const headers: Headers = this.getHeaders(token);
const response: HTTPResponse<JSONObject> = await API.post({
url,
data: { body: comment },
headers,
});
if (!response.isSuccess()) {
logger.warn(`Failed to add comment to PR #${issueNumber}`);
}
}
// Generate PR body from exception details
public static generatePRBody(data: {
exceptionMessage: string;
exceptionType: string;
stackTrace: string;
serviceName: string;
summary: string;
}): string {
return `## Exception Fix
This pull request was automatically generated by OneUptime AI Agent to fix an exception.
### Exception Details
**Service:** ${data.serviceName}
**Type:** ${data.exceptionType}
**Message:** ${data.exceptionMessage}
### Stack Trace
\`\`\`
${data.stackTrace.substring(0, 2000)}${data.stackTrace.length > 2000 ? "\n...(truncated)" : ""}
\`\`\`
### Summary of Changes
${data.summary}
---
*This PR was automatically generated by [OneUptime AI Agent](https://oneuptime.com)*`;
}
// Generate PR title from exception
public static generatePRTitle(exceptionMessage: string): string {
// Truncate and clean the message for use as a title
const cleanMessage: string = exceptionMessage
.replace(/\n/g, " ")
.replace(/\s+/g, " ")
.trim();
const maxLength: number = 70;
if (cleanMessage.length <= maxLength) {
return `fix: ${cleanMessage}`;
}
return `fix: ${cleanMessage.substring(0, maxLength - 3)}...`;
}
// Helper method to get GitHub API headers
private getHeaders(token: string): Headers {
return {
Authorization: `Bearer ${token}`,
Accept: "application/vnd.github+json",
"X-GitHub-Api-Version": PullRequestCreator.GITHUB_API_VERSION,
"Content-Type": "application/json",
};
}
// Helper method for logging
private async log(message: string): Promise<void> {
if (this.logger) {
await this.logger.info(message);
} else {
logger.debug(message);
}
}
}

View File

@@ -0,0 +1,313 @@
import Execute from "Common/Server/Utils/Execute";
import LocalFile from "Common/Server/Utils/LocalFile";
import logger from "Common/Server/Utils/Logger";
import path from "path";
import TaskLogger from "./TaskLogger";
export interface CloneResult {
workingDirectory: string;
repositoryPath: string;
}
export interface RepositoryConfig {
organizationName: string;
repositoryName: string;
token: string;
repositoryUrl?: string;
}
export default class RepositoryManager {
private logger: TaskLogger | null = null;
public constructor(taskLogger?: TaskLogger) {
if (taskLogger) {
this.logger = taskLogger;
}
}
// Clone a repository with token-based authentication
public async cloneRepository(
config: RepositoryConfig,
workDir: string,
): Promise<CloneResult> {
await this.log(
`Cloning repository ${config.organizationName}/${config.repositoryName}...`,
);
// Build the authenticated URL
const authUrl: string = this.buildAuthenticatedUrl(config);
// Ensure the working directory exists
await LocalFile.makeDirectory(workDir);
// Clone the repository
await this.runGitCommand(workDir, ["clone", authUrl]);
const repositoryPath: string = path.join(workDir, config.repositoryName);
await this.log(`Repository cloned to ${repositoryPath}`);
// Set git config for the repository
await this.setGitConfig(repositoryPath);
return {
workingDirectory: workDir,
repositoryPath: repositoryPath,
};
}
// Build URL with embedded token for authentication
private buildAuthenticatedUrl(config: RepositoryConfig): string {
if (config.repositoryUrl) {
// If URL is provided, inject token
const url: URL = new URL(config.repositoryUrl);
url.username = "x-access-token";
url.password = config.token;
return url.toString();
}
// Default to GitHub
return `https://x-access-token:${config.token}@github.com/${config.organizationName}/${config.repositoryName}.git`;
}
// Set git user config for commits
private async setGitConfig(repoPath: string): Promise<void> {
await this.runGitCommand(repoPath, [
"config",
"user.name",
"OneUptime AI Agent",
]);
await this.runGitCommand(repoPath, [
"config",
"user.email",
"ai-agent@oneuptime.com",
]);
}
// Create a new branch
public async createBranch(
repoPath: string,
branchName: string,
): Promise<void> {
await this.log(`Creating branch: ${branchName}`);
await this.runGitCommand(repoPath, ["checkout", "-b", branchName]);
await this.log(`Branch ${branchName} created and checked out`);
}
// Checkout existing branch
public async checkoutBranch(
repoPath: string,
branchName: string,
): Promise<void> {
await this.log(`Checking out branch: ${branchName}`);
await this.runGitCommand(repoPath, ["checkout", branchName]);
}
// Create branch if doesn't exist, or checkout if it does
public async createOrCheckoutBranch(
repoPath: string,
branchName: string,
): Promise<void> {
try {
// Check if branch exists locally
await this.runGitCommand(repoPath, ["rev-parse", "--verify", branchName]);
await this.checkoutBranch(repoPath, branchName);
} catch {
// Branch doesn't exist, create it
await this.createBranch(repoPath, branchName);
}
}
// Add all changes to staging
public async addAllChanges(repoPath: string): Promise<void> {
await this.log("Adding all changes to git staging...");
await this.runGitCommand(repoPath, ["add", "-A"]);
}
// Check if there are any changes to commit
public async hasChanges(repoPath: string): Promise<boolean> {
try {
const status: string = await this.runGitCommand(repoPath, [
"status",
"--porcelain",
]);
return status.trim().length > 0;
} catch (error) {
logger.error("Error checking for changes:");
logger.error(error);
return false;
}
}
// Get list of changed files
public async getChangedFiles(repoPath: string): Promise<Array<string>> {
const status: string = await this.runGitCommand(repoPath, [
"status",
"--porcelain",
]);
if (!status.trim()) {
return [];
}
return status
.split("\n")
.filter((line: string) => {
return line.trim().length > 0;
})
.map((line: string) => {
// Status output format is "XY filename" where XY is the status
return line.substring(3).trim();
});
}
// Commit changes
public async commitChanges(repoPath: string, message: string): Promise<void> {
await this.log(`Committing changes: ${message.substring(0, 50)}...`);
await Execute.executeCommandFile({
command: "git",
args: ["commit", "-m", message],
cwd: repoPath,
});
await this.log("Changes committed successfully");
}
// Push branch to remote
public async pushBranch(
repoPath: string,
branchName: string,
config: RepositoryConfig,
): Promise<void> {
await this.log(`Pushing branch ${branchName} to remote...`);
// Set the remote URL with authentication
const authUrl: string = this.buildAuthenticatedUrl(config);
// Update the remote URL
await this.runGitCommand(repoPath, [
"remote",
"set-url",
"origin",
authUrl,
]);
// Push with tracking
await this.runGitCommand(repoPath, ["push", "-u", "origin", branchName]);
await this.log(`Branch ${branchName} pushed to remote`);
}
// Get the current branch name
public async getCurrentBranch(repoPath: string): Promise<string> {
const branch: string = await this.runGitCommand(repoPath, [
"rev-parse",
"--abbrev-ref",
"HEAD",
]);
return branch.trim();
}
// Get the current commit hash
public async getCurrentCommitHash(repoPath: string): Promise<string> {
const hash: string = await this.runGitCommand(repoPath, [
"rev-parse",
"HEAD",
]);
return hash.trim();
}
// Pull latest changes from remote
public async pullChanges(repoPath: string): Promise<void> {
await this.log("Pulling latest changes from remote...");
await this.runGitCommand(repoPath, ["pull"]);
}
// Discard all local changes
public async discardChanges(repoPath: string): Promise<void> {
await this.log("Discarding all local changes...");
await this.runGitCommand(repoPath, ["checkout", "."]);
await this.runGitCommand(repoPath, ["clean", "-fd"]);
}
// Clean up the repository directory
public async cleanup(workDir: string): Promise<void> {
await this.log(`Cleaning up workspace: ${workDir}`);
try {
await LocalFile.deleteDirectory(workDir);
await this.log("Workspace cleaned up successfully");
} catch (error) {
logger.error(`Error cleaning up workspace ${workDir}:`);
logger.error(error);
}
}
// Get diff of current changes
public async getDiff(repoPath: string): Promise<string> {
try {
const diff: string = await this.runGitCommand(repoPath, ["diff"]);
return diff;
} catch (error) {
logger.error("Error getting diff:");
logger.error(error);
return "";
}
}
// Get staged diff
public async getStagedDiff(repoPath: string): Promise<string> {
try {
const diff: string = await this.runGitCommand(repoPath, [
"diff",
"--staged",
]);
return diff;
} catch (error) {
logger.error("Error getting staged diff:");
logger.error(error);
return "";
}
}
// Helper method to run git commands
private async runGitCommand(
repoPath: string,
args: Array<string>,
): Promise<string> {
const cwd: string = path.resolve(repoPath);
const logArgs: Array<string> = args.map((arg: string) => {
// Mask tokens in URLs
if (arg.includes("x-access-token:")) {
return arg.replace(/x-access-token:[^@]+@/, "x-access-token:***@");
}
return arg.includes(" ") ? `"${arg}"` : arg;
});
logger.debug(`Executing git command in ${cwd}: git ${logArgs.join(" ")}`);
return Execute.executeCommandFile({
command: "git",
args,
cwd,
});
}
// Helper method for logging
private async log(message: string): Promise<void> {
if (this.logger) {
await this.logger.info(message);
} else {
logger.debug(message);
}
}
}

229
AIAgent/Utils/TaskLogger.ts Normal file
View File

@@ -0,0 +1,229 @@
import { ONEUPTIME_URL } from "../Config";
import AIAgentAPIRequest from "./AIAgentAPIRequest";
import URL from "Common/Types/API/URL";
import API from "Common/Utils/API";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import { JSONObject } from "Common/Types/JSON";
import LogSeverity from "Common/Types/Log/LogSeverity";
import logger from "Common/Server/Utils/Logger";
import OneUptimeDate from "Common/Types/Date";
export interface TaskLoggerOptions {
taskId: string;
context?: string;
batchSize?: number;
flushIntervalMs?: number;
}
interface LogEntry {
severity: LogSeverity;
message: string;
timestamp: Date;
}
export default class TaskLogger {
private taskId: string;
private context: string | undefined;
private logBuffer: Array<LogEntry> = [];
private batchSize: number;
private flushIntervalMs: number;
private flushTimer: ReturnType<typeof setInterval> | null = null;
private createLogUrl: URL | null = null;
public constructor(options: TaskLoggerOptions) {
this.taskId = options.taskId;
this.context = options.context;
this.batchSize = options.batchSize || 10;
this.flushIntervalMs = options.flushIntervalMs || 5000; // 5 seconds default
// Start periodic flush timer
this.startFlushTimer();
}
private getCreateLogUrl(): URL {
if (!this.createLogUrl) {
this.createLogUrl = URL.fromString(ONEUPTIME_URL.toString()).addRoute(
"/api/ai-agent-task-log/create-log",
);
}
return this.createLogUrl;
}
private startFlushTimer(): void {
this.flushTimer = setInterval(() => {
this.flush().catch((err: Error) => {
logger.error(`Error flushing logs: ${err.message}`);
});
}, this.flushIntervalMs);
}
private stopFlushTimer(): void {
if (this.flushTimer) {
clearInterval(this.flushTimer);
this.flushTimer = null;
}
}
private formatMessage(
severity: LogSeverity,
message: string,
timestamp: Date,
): string {
const timestampStr: string = OneUptimeDate.toDateTimeLocalString(timestamp);
const severityStr: string = severity.toUpperCase().padEnd(7);
const contextStr: string = this.context ? `[${this.context}] ` : "";
return `[${timestampStr}] [${severityStr}] ${contextStr}${message}`;
}
private addToBuffer(severity: LogSeverity, message: string): void {
const entry: LogEntry = {
severity,
message,
timestamp: OneUptimeDate.getCurrentDate(),
};
this.logBuffer.push(entry);
// Also log locally for debugging
logger.debug(
`[Task ${this.taskId}] ${this.formatMessage(entry.severity, entry.message, entry.timestamp)}`,
);
// Auto-flush if buffer is full
if (this.logBuffer.length >= this.batchSize) {
this.flush().catch((err: Error) => {
logger.error(`Error auto-flushing logs: ${err.message}`);
});
}
}
private async sendLogToServer(
severity: LogSeverity,
message: string,
): Promise<boolean> {
try {
const result: HTTPResponse<JSONObject> = await API.post({
url: this.getCreateLogUrl(),
data: {
...AIAgentAPIRequest.getDefaultRequestBody(),
taskId: this.taskId,
severity: severity,
message: message,
},
});
if (!result.isSuccess()) {
logger.error(`Failed to send log for task ${this.taskId}`);
return false;
}
return true;
} catch (error) {
logger.error(`Error sending log for task ${this.taskId}:`);
logger.error(error);
return false;
}
}
// Public logging methods
public async debug(message: string): Promise<void> {
this.addToBuffer(LogSeverity.Debug, message);
}
public async info(message: string): Promise<void> {
this.addToBuffer(LogSeverity.Information, message);
}
public async warning(message: string): Promise<void> {
this.addToBuffer(LogSeverity.Warning, message);
}
public async error(message: string): Promise<void> {
this.addToBuffer(LogSeverity.Error, message);
// Immediately flush on errors
await this.flush();
}
public async trace(message: string): Promise<void> {
this.addToBuffer(LogSeverity.Trace, message);
}
// Log output from external processes like OpenCode
public async logProcessOutput(
processName: string,
output: string,
): Promise<void> {
const lines: Array<string> = output.split("\n").filter((line: string) => {
return line.trim().length > 0;
});
for (const line of lines) {
this.addToBuffer(LogSeverity.Information, `[${processName}] ${line}`);
}
}
// Log a code block (useful for stack traces, code snippets, etc.)
public async logCodeBlock(
title: string,
code: string,
severity: LogSeverity = LogSeverity.Information,
): Promise<void> {
const formattedCode: string = `${title}:\n\`\`\`\n${code}\n\`\`\``;
this.addToBuffer(severity, formattedCode);
}
// Flush all buffered logs to the server
public async flush(): Promise<void> {
if (this.logBuffer.length === 0) {
return;
}
// Get all entries and clear buffer
const entries: Array<LogEntry> = [...this.logBuffer];
this.logBuffer = [];
// Send each log entry separately to preserve individual log lines
for (const entry of entries) {
const formattedMessage: string = this.formatMessage(
entry.severity,
entry.message,
entry.timestamp,
);
await this.sendLogToServer(entry.severity, formattedMessage);
}
}
// Cleanup method - call when task is done
public async dispose(): Promise<void> {
this.stopFlushTimer();
await this.flush();
}
// Helper methods for common log patterns
public async logStepStart(stepName: string): Promise<void> {
await this.info(`Starting: ${stepName}`);
}
public async logStepComplete(stepName: string): Promise<void> {
await this.info(`Completed: ${stepName}`);
}
public async logStepFailed(stepName: string, error: string): Promise<void> {
await this.error(`Failed: ${stepName} - ${error}`);
}
// Create a child logger with additional context
public createChildLogger(childContext: string): TaskLogger {
const fullContext: string = this.context
? `${this.context}:${childContext}`
: childContext;
return new TaskLogger({
taskId: this.taskId,
context: fullContext,
batchSize: this.batchSize,
flushIntervalMs: this.flushIntervalMs,
});
}
}

View File

@@ -0,0 +1,221 @@
import LocalFile from "Common/Server/Utils/LocalFile";
import logger from "Common/Server/Utils/Logger";
import ObjectID from "Common/Types/ObjectID";
import path from "path";
import os from "os";
export interface WorkspaceInfo {
workspacePath: string;
taskId: string;
createdAt: Date;
}
export default class WorkspaceManager {
private static readonly BASE_TEMP_DIR: string = path.join(
os.tmpdir(),
"oneuptime-ai-agent",
);
// Create a new workspace for a task
public static async createWorkspace(taskId: string): Promise<WorkspaceInfo> {
const timestamp: number = Date.now();
const uniqueId: string = ObjectID.generate().toString().substring(0, 8);
const workspaceName: string = `task-${taskId}-${timestamp}-${uniqueId}`;
const workspacePath: string = path.join(this.BASE_TEMP_DIR, workspaceName);
logger.debug(`Creating workspace: ${workspacePath}`);
// Create the workspace directory
await LocalFile.makeDirectory(workspacePath);
return {
workspacePath,
taskId,
createdAt: new Date(),
};
}
// Create a subdirectory within a workspace
public static async createSubdirectory(
workspacePath: string,
subdirectoryName: string,
): Promise<string> {
const subdirectoryPath: string = path.join(workspacePath, subdirectoryName);
await LocalFile.makeDirectory(subdirectoryPath);
return subdirectoryPath;
}
// Check if workspace exists
public static async workspaceExists(workspacePath: string): Promise<boolean> {
try {
await LocalFile.readDirectory(workspacePath);
return true;
} catch {
return false;
}
}
// Delete a workspace and all its contents
public static async deleteWorkspace(workspacePath: string): Promise<void> {
logger.debug(`Deleting workspace: ${workspacePath}`);
try {
// Verify the path is within our temp directory to prevent accidental deletion
const normalizedPath: string = path.normalize(workspacePath);
const normalizedBase: string = path.normalize(this.BASE_TEMP_DIR);
if (!normalizedPath.startsWith(normalizedBase)) {
throw new Error(
`Security error: Cannot delete path outside workspace base: ${workspacePath}`,
);
}
await LocalFile.deleteDirectory(workspacePath);
logger.debug(`Workspace deleted: ${workspacePath}`);
} catch (error) {
logger.error(`Error deleting workspace ${workspacePath}:`);
logger.error(error);
}
}
// Write a file to workspace
public static async writeFile(
workspacePath: string,
relativePath: string,
content: string,
): Promise<string> {
const filePath: string = path.join(workspacePath, relativePath);
// Ensure parent directory exists
const parentDir: string = path.dirname(filePath);
await LocalFile.makeDirectory(parentDir);
await LocalFile.write(filePath, content);
return filePath;
}
// Read a file from workspace
public static async readFile(
workspacePath: string,
relativePath: string,
): Promise<string> {
const filePath: string = path.join(workspacePath, relativePath);
return LocalFile.read(filePath);
}
// Check if a file exists in workspace
public static async fileExists(
workspacePath: string,
relativePath: string,
): Promise<boolean> {
try {
const filePath: string = path.join(workspacePath, relativePath);
await LocalFile.read(filePath);
return true;
} catch {
return false;
}
}
// Delete a file from workspace
public static async deleteFile(
workspacePath: string,
relativePath: string,
): Promise<void> {
const filePath: string = path.join(workspacePath, relativePath);
await LocalFile.deleteFile(filePath);
}
// List files in workspace directory
public static async listFiles(workspacePath: string): Promise<Array<string>> {
const entries: Array<{ name: string; isDirectory(): boolean }> =
await LocalFile.readDirectory(workspacePath);
return entries.map((entry: { name: string }) => {
return entry.name;
});
}
// Get the full path for a relative path in workspace
public static getFullPath(
workspacePath: string,
relativePath: string,
): string {
return path.join(workspacePath, relativePath);
}
// Clean up old workspaces (older than specified hours)
public static async cleanupOldWorkspaces(
maxAgeHours: number = 24,
): Promise<number> {
logger.debug(`Cleaning up workspaces older than ${maxAgeHours} hours`);
let cleanedCount: number = 0;
try {
// Ensure base directory exists
try {
await LocalFile.readDirectory(this.BASE_TEMP_DIR);
} catch {
// Base directory doesn't exist, nothing to clean
return 0;
}
const entries: Array<{ name: string; isDirectory(): boolean }> =
await LocalFile.readDirectory(this.BASE_TEMP_DIR);
const maxAge: number = maxAgeHours * 60 * 60 * 1000; // Convert to milliseconds
const now: number = Date.now();
for (const entry of entries) {
if (!entry.isDirectory()) {
continue;
}
const workspacePath: string = path.join(this.BASE_TEMP_DIR, entry.name);
/*
* Try to extract timestamp from directory name
* Format: task-{taskId}-{timestamp}-{uniqueId}
*/
const match: RegExpMatchArray | null = entry.name.match(
/task-[^-]+-(\d+)-[^-]+/,
);
if (match) {
const timestamp: number = parseInt(match[1] || "0", 10);
if (now - timestamp > maxAge) {
await this.deleteWorkspace(workspacePath);
cleanedCount++;
}
}
}
} catch (error) {
logger.error("Error during workspace cleanup:");
logger.error(error);
}
logger.debug(`Cleaned up ${cleanedCount} old workspaces`);
return cleanedCount;
}
// Initialize workspace manager (create base directory if needed)
public static async initialize(): Promise<void> {
try {
await LocalFile.makeDirectory(this.BASE_TEMP_DIR);
logger.debug(
`Workspace base directory initialized: ${this.BASE_TEMP_DIR}`,
);
} catch (error) {
logger.error("Error initializing workspace manager:");
logger.error(error);
}
}
// Get the base temp directory path
public static getBaseTempDir(): string {
return this.BASE_TEMP_DIR;
}
}

11
AIAgent/nodemon.json Normal file
View File

@@ -0,0 +1,11 @@
{
"watch": [
"./",
"../Common"
],
"ext": "ts,tsx",
"ignore": ["./node_modules/**", "./public/**", "./bin/**", "./build/**"],
"watchOptions": {"useFsEvents": false, "interval": 500},
"env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"},
"exec": "node -r ts-node/register/transpile-only Index.ts"
}

4754
AIAgent/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

34
AIAgent/package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "@oneuptime/ai-agent",
"version": "1.0.0",
"description": "OneUptime AI Agent",
"repository": {
"type": "git",
"url": "https://github.com/OneUptime/oneuptime"
},
"main": "index.js",
"scripts": {
"start": "export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register Index.ts",
"compile": "tsc",
"clear-modules": "rm -rf node_modules && rm package-lock.json && npm install",
"dev": "npx nodemon",
"audit": "npm audit --audit-level=low",
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true",
"test": "jest --detectOpenHandles --passWithNoTests",
"coverage": "jest --detectOpenHandles --coverage",
"debug:test": "node --inspect node_modules/.bin/jest --runInBand ./Tests --detectOpenHandles"
},
"author": "OneUptime <hello@oneuptime.com> (https://oneuptime.com/)",
"license": "Apache-2.0",
"dependencies": {
"Common": "file:../Common",
"ejs": "^3.1.10",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^17.0.31",
"jest": "^28.1.0",
"nodemon": "^2.0.20"
}
}

45
AIAgent/tsconfig.json Normal file
View File

@@ -0,0 +1,45 @@
{
"ts-node": {
"compilerOptions": {
"module": "commonjs",
"resolveJsonModule": true
}
},
"compilerOptions": {
"target": "es2017",
"jsx": "react",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"rootDir": "",
"moduleResolution": "node",
"typeRoots": [
"./node_modules/@types"
],
"types": ["node", "jest"],
"sourceMap": true,
"outDir": "build/dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"skipLibCheck": true,
"resolveJsonModule": true
},
"include": ["/**/*.ts"],
"exclude": ["node_modules"]
}

View File

@@ -3,20 +3,23 @@
#
# Pull base image nodejs image.
FROM public.ecr.aws/docker/library/node:23.8-alpine3.21
FROM public.ecr.aws/docker/library/node:24.9-alpine3.21
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
RUN npm config set fetch-retries 5
RUN npm config set fetch-retry-mintimeout 100000
RUN npm config set fetch-retry-maxtimeout 600000
RUN npm config set fetch-retry-mintimeout 20000
RUN npm config set fetch-retry-maxtimeout 60000
ARG GIT_SHA
ARG APP_VERSION
ARG IS_ENTERPRISE_EDITION=false
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
ENV IS_ENTERPRISE_EDITION=${IS_ENTERPRISE_EDITION}
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# IF APP_VERSION is not set, set it to 1.0.0

View File

@@ -1,5 +1,6 @@
import AuthenticationServiceHandler from "./Service/Authentication";
import DataTypeServiceHandler from "./Service/DataType";
import DataTypeDetailServiceHandler from "./Service/DataTypeDetail";
import ErrorServiceHandler from "./Service/Errors";
import OpenAPIServiceHandler from "./Service/OpenAPI";
import IntroductionServiceHandler from "./Service/Introduction";
@@ -10,6 +11,7 @@ import PermissionServiceHandler from "./Service/Permissions";
import StatusServiceHandler from "./Service/Status";
import { StaticPath } from "./Utils/Config";
import ResourceUtil, { ModelDocumentation } from "./Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "./Utils/DataTypes";
import Dictionary from "Common/Types/Dictionary";
import FeatureSet from "Common/Server/Types/FeatureSet";
import Express, {
@@ -24,6 +26,9 @@ const APIReferenceFeatureSet: FeatureSet = {
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getResourceDictionaryByPath();
const DataTypeDictionary: Dictionary<DataTypeDocumentation> =
DataTypeUtil.getDataTypeDictionaryByPath();
const app: ExpressApplication = Express.getExpressApp();
// Serve static files for the API reference with a cache max age of 30 days
@@ -72,6 +77,8 @@ const APIReferenceFeatureSet: FeatureSet = {
return StatusServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "data-types") {
return DataTypeServiceHandler.executeResponse(req, res);
} else if (DataTypeDictionary[page]) {
return DataTypeDetailServiceHandler.executeResponse(req, res);
} else if (currentResource) {
return ModelServiceHandler.executeResponse(req, res);
}

View File

@@ -1,10 +1,13 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import Dictionary from "Common/Types/Dictionary";
// Retrieve resources documentation
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
public static async executeResponse(
@@ -16,7 +19,7 @@ export default class ServiceHandler {
// Extract page parameter from request
const page: string | undefined = req.params["page"];
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
// Set default page title and description for the authentication page
pageTitle = "Authentication";
@@ -26,6 +29,7 @@ export default class ServiceHandler {
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -1,20 +1,23 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import LocalFile from "Common/Server/Utils/LocalFile";
import Dictionary from "Common/Types/Dictionary";
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
public static async executeResponse(
_req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
pageData.selectCode = await LocalCache.getOrSetString(
pageData["selectCode"] = await LocalCache.getOrSetString(
"data-type",
"select",
async () => {
@@ -22,7 +25,7 @@ export default class ServiceHandler {
},
);
pageData.sortCode = await LocalCache.getOrSetString(
pageData["sortCode"] = await LocalCache.getOrSetString(
"data-type",
"sort",
async () => {
@@ -30,7 +33,7 @@ export default class ServiceHandler {
},
);
pageData.equalToCode = await LocalCache.getOrSetString(
pageData["equalToCode"] = await LocalCache.getOrSetString(
"data-type",
"equal-to",
async () => {
@@ -38,7 +41,7 @@ export default class ServiceHandler {
},
);
pageData.equalToOrNullCode = await LocalCache.getOrSetString(
pageData["equalToOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"equal-to-or-null",
async () => {
@@ -48,7 +51,7 @@ export default class ServiceHandler {
},
);
pageData.greaterThanCode = await LocalCache.getOrSetString(
pageData["greaterThanCode"] = await LocalCache.getOrSetString(
"data-type",
"greater-than",
async () => {
@@ -58,7 +61,7 @@ export default class ServiceHandler {
},
);
pageData.greaterThanOrEqualCode = await LocalCache.getOrSetString(
pageData["greaterThanOrEqualCode"] = await LocalCache.getOrSetString(
"data-type",
"greater-than-or-equal",
async () => {
@@ -68,7 +71,7 @@ export default class ServiceHandler {
},
);
pageData.lessThanCode = await LocalCache.getOrSetString(
pageData["lessThanCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than",
async () => {
@@ -78,7 +81,7 @@ export default class ServiceHandler {
},
);
pageData.lessThanOrEqualCode = await LocalCache.getOrSetString(
pageData["lessThanOrEqualCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
@@ -88,7 +91,7 @@ export default class ServiceHandler {
},
);
pageData.includesCode = await LocalCache.getOrSetString(
pageData["includesCode"] = await LocalCache.getOrSetString(
"data-type",
"includes",
async () => {
@@ -98,7 +101,7 @@ export default class ServiceHandler {
},
);
pageData.lessThanOrNullCode = await LocalCache.getOrSetString(
pageData["lessThanOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
@@ -108,7 +111,7 @@ export default class ServiceHandler {
},
);
pageData.greaterThanOrNullCode = await LocalCache.getOrSetString(
pageData["greaterThanOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
@@ -118,7 +121,7 @@ export default class ServiceHandler {
},
);
pageData.isNullCode = await LocalCache.getOrSetString(
pageData["isNullCode"] = await LocalCache.getOrSetString(
"data-type",
"is-null",
async () => {
@@ -126,7 +129,7 @@ export default class ServiceHandler {
},
);
pageData.notNullCode = await LocalCache.getOrSetString(
pageData["notNullCode"] = await LocalCache.getOrSetString(
"data-type",
"not-null",
async () => {
@@ -134,7 +137,7 @@ export default class ServiceHandler {
},
);
pageData.notEqualToCode = await LocalCache.getOrSetString(
pageData["notEqualToCode"] = await LocalCache.getOrSetString(
"data-type",
"not-equals",
async () => {
@@ -152,6 +155,7 @@ export default class ServiceHandler {
pageDescription:
"Data Types that can be used to interact with OneUptime API",
resources: Resources,
dataTypes: DataTypes,
pageData: pageData,
});
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,13 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import Dictionary from "Common/Types/Dictionary";
// Fetch a list of resources used in the application
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
// Handles the HTTP response for a given request
@@ -17,7 +20,7 @@ export default class ServiceHandler {
// Get the 'page' parameter from the request
const page: string | undefined = req.params["page"];
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
// Set the default page title and description
pageTitle = "Errors";
@@ -27,6 +30,7 @@ export default class ServiceHandler {
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -1,10 +1,13 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import Dictionary from "Common/Types/Dictionary";
// Get all resources and featured resources from ResourceUtil
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
const FeaturedResources: Array<ModelDocumentation> =
ResourceUtil.getFeaturedResources();
@@ -20,10 +23,10 @@ export default class ServiceHandler {
// Get the requested page from the URL parameters
const page: string | undefined = req.params["page"];
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
// Set featured resources for the page
pageData.featuredResources = FeaturedResources;
pageData["featuredResources"] = FeaturedResources;
// Set page title and description
pageTitle = "Introduction";
@@ -33,6 +36,7 @@ export default class ServiceHandler {
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -1,10 +1,19 @@
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import CodeExampleGenerator, {
CodeExamples,
} from "../Utils/CodeExampleGenerator";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import PageNotFoundServiceHandler from "./PageNotFound";
import { AppApiRoute } from "Common/ServiceRoute";
import BaseModel from "Common/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
import { ColumnAccessControl } from "Common/Types/BaseDatabase/AccessControl";
import { getTableColumns } from "Common/Types/Database/TableColumn";
import {
getTableColumns,
TableColumnMetadata,
} from "Common/Types/Database/TableColumn";
import Dictionary from "Common/Types/Dictionary";
import { JSONObject, JSONValue } from "Common/Types/JSON";
import ObjectID from "Common/Types/ObjectID";
import Permission, {
PermissionHelper,
@@ -15,11 +24,305 @@ import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import LocalFile from "Common/Server/Utils/LocalFile";
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
interface ExampleObjects {
simpleSelectExample: JSONObject;
simpleQueryExample: JSONObject;
simpleSortExample: JSONObject;
simpleCreateExample: JSONObject;
simpleUpdateExample: JSONObject;
simpleResponseExample: JSONObject;
simpleListResponseExample: Array<JSONObject>;
}
interface ApiCodeExamples {
list: CodeExamples;
getItem: CodeExamples;
count: CodeExamples;
create: CodeExamples;
update: CodeExamples;
delete: CodeExamples;
}
// Helper function to get a default example value based on column type
function getDefaultExampleForType(
columnType: string | undefined,
columnTitle: string | undefined,
): JSONValue {
const typeStr: string = (columnType || "").toLowerCase();
const title: string = (columnTitle || "").toLowerCase();
if (typeStr.includes("objectid") || typeStr.includes("id")) {
return "550e8400-e29b-41d4-a716-446655440000";
}
if (typeStr.includes("boolean") || typeStr.includes("bool")) {
return true;
}
if (
typeStr.includes("number") ||
typeStr.includes("int") ||
typeStr.includes("decimal")
) {
return 100;
}
if (typeStr.includes("date") || typeStr.includes("time")) {
return "2024-01-15T10:30:00.000Z";
}
if (typeStr.includes("email")) {
return "user@example.com";
}
if (typeStr.includes("phone")) {
return "+1-555-123-4567";
}
if (typeStr.includes("url") || typeStr.includes("link")) {
return "https://example.com";
}
if (typeStr.includes("color")) {
return "#3498db";
}
if (
typeStr.includes("markdown") ||
typeStr.includes("longtext") ||
typeStr.includes("description")
) {
return `Example ${title || "text"} content`;
}
if (typeStr.includes("json") || typeStr.includes("object")) {
return { key: "value" };
}
if (typeStr.includes("array")) {
return [];
}
// Default for text fields
return `Example ${title || "value"}`;
}
// Helper function to generate example objects from column metadata
function generateExampleObjects(
tableColumns: Dictionary<TableColumnMetadata>,
exampleObjectID: string,
): ExampleObjects {
const simpleSelectExample: JSONObject = {};
const simpleQueryExample: JSONObject = {};
const simpleSortExample: JSONObject = {};
const simpleCreateExample: JSONObject = {};
const simpleUpdateExample: JSONObject = {};
const simpleResponseExample: JSONObject = {
_id: exampleObjectID,
};
// Sort columns: prioritize fields with examples, then required, then alphabetically
const sortedColumnKeys: Array<string> = Object.keys(tableColumns).sort(
(a: string, b: string) => {
const aHasExample: boolean = tableColumns[a]?.example !== undefined;
const bHasExample: boolean = tableColumns[b]?.example !== undefined;
const aRequired: boolean = tableColumns[a]?.required || false;
const bRequired: boolean = tableColumns[b]?.required || false;
// Prioritize fields with examples
if (aHasExample && !bHasExample) {
return -1;
}
if (!aHasExample && bHasExample) {
return 1;
}
// Then prioritize required fields
if (aRequired && !bRequired) {
return -1;
}
if (!aRequired && bRequired) {
return 1;
}
return a.localeCompare(b);
},
);
let selectCount: number = 0;
let createCount: number = 0;
let updateCount: number = 0;
for (const key of sortedColumnKeys) {
const column: TableColumnMetadata | undefined = tableColumns[key];
if (!column) {
continue;
}
const accessControl: ColumnAccessControl | undefined = (
column as unknown as JSONObject
)["permissions"] as ColumnAccessControl | undefined;
// Get the example value - use defined example or generate a default
const exampleValue: JSONValue =
column.example !== undefined
? (column.example as JSONValue)
: getDefaultExampleForType(column.type?.toString(), column.title);
/*
* Add to select example (limit to 5 fields for readability)
* Also add the field to response example so response matches select
*/
if (
selectCount < 5 &&
accessControl?.read &&
accessControl.read.length > 0
) {
simpleSelectExample[key] = true;
simpleResponseExample[key] = exampleValue;
selectCount++;
}
// Add to create example (only fields with create permission)
if (
createCount < 5 &&
accessControl?.create &&
accessControl.create.length > 0 &&
!column.computed
) {
simpleCreateExample[key] = exampleValue;
createCount++;
}
// Add to update example (only fields with update permission)
if (
updateCount < 3 &&
accessControl?.update &&
accessControl.update.length > 0 &&
!column.computed
) {
simpleUpdateExample[key] = exampleValue;
updateCount++;
}
}
// Add a query example using the first string/text field with an example
for (const key of sortedColumnKeys) {
const column: TableColumnMetadata | undefined = tableColumns[key];
if (column) {
const exampleValue: JSONValue =
column.example !== undefined
? (column.example as JSONValue)
: getDefaultExampleForType(column.type?.toString(), column.title);
if (
typeof exampleValue === "string" &&
column.type?.toString().toLowerCase().includes("text")
) {
simpleQueryExample[key] = exampleValue;
break;
}
}
}
// Add sort example - sort by createdAt descending if available
simpleSortExample["createdAt"] = -1;
// Generate list response with 3 sample items
const simpleListResponseExample: Array<JSONObject> = [
{ ...simpleResponseExample, _id: exampleObjectID },
{
...simpleResponseExample,
_id: ObjectID.generate().toString(),
},
{
...simpleResponseExample,
_id: ObjectID.generate().toString(),
},
];
return {
simpleSelectExample,
simpleQueryExample,
simpleSortExample,
simpleCreateExample,
simpleUpdateExample,
simpleResponseExample,
simpleListResponseExample,
};
}
// Helper function to generate code examples for all API operations
function generateApiCodeExamples(
apiPath: string,
exampleObjects: ExampleObjects,
exampleObjectID: string,
): ApiCodeExamples {
// List endpoint
const listExamples: CodeExamples = CodeExampleGenerator.generate({
method: "POST",
endpoint: `${apiPath}/get-list?skip=0&limit=10`,
body: {
select: exampleObjects.simpleSelectExample,
query: exampleObjects.simpleQueryExample,
sort: exampleObjects.simpleSortExample,
},
description: "List items with pagination",
});
// Get item endpoint
const getItemExamples: CodeExamples = CodeExampleGenerator.generate({
method: "POST",
endpoint: `${apiPath}/${exampleObjectID}/get-item`,
body: {
select: exampleObjects.simpleSelectExample,
},
description: "Get a single item by ID",
});
// Count endpoint
const countExamples: CodeExamples = CodeExampleGenerator.generate({
method: "POST",
endpoint: `${apiPath}/count`,
body: {
query: exampleObjects.simpleQueryExample,
},
description: "Count items matching a query",
});
// Create endpoint
const createExamples: CodeExamples = CodeExampleGenerator.generate({
method: "POST",
endpoint: apiPath,
body: {
data: exampleObjects.simpleCreateExample,
},
description: "Create a new item",
});
// Update endpoint
const updateExamples: CodeExamples = CodeExampleGenerator.generate({
method: "PUT",
endpoint: `${apiPath}/${exampleObjectID}`,
body: {
data: exampleObjects.simpleUpdateExample,
},
description: "Update an existing item",
});
// Delete endpoint
const deleteExamples: CodeExamples = CodeExampleGenerator.generate({
method: "DELETE",
endpoint: `${apiPath}/${exampleObjectID}`,
description: "Delete an item by ID",
});
return {
list: listExamples,
getItem: getItemExamples,
count: countExamples,
create: createExamples,
update: updateExamples,
delete: deleteExamples,
};
}
// Get all resources and resource dictionary
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getResourceDictionaryByPath();
// Dynamically built from DataTypes registry — no manual updates needed when new types are added
const TypeToDocPath: Dictionary<string> = DataTypeUtil.getTypeToDocPathMap();
// Get all permission props
const PermissionDictionary: Dictionary<PermissionProps> =
PermissionHelper.getAllPermissionPropsAsDictionary();
@@ -33,7 +336,7 @@ export default class ServiceHandler {
let pageTitle: string = "";
let pageDescription: string = "";
let page: string | undefined = req.params["page"];
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
// Check if page is provided
if (!page) {
@@ -56,7 +359,9 @@ export default class ServiceHandler {
page = "model";
// Get table columns for current resource
const tableColumns: any = getTableColumns(currentResource.model);
const tableColumns: Dictionary<TableColumnMetadata> = getTableColumns(
currentResource.model,
);
// Filter out columns with no access
for (const key in tableColumns) {
@@ -77,12 +382,14 @@ export default class ServiceHandler {
continue;
}
if (tableColumns[key].hideColumnInDocumentation) {
if (tableColumns[key] && tableColumns[key]!.hideColumnInDocumentation) {
delete tableColumns[key];
continue;
}
tableColumns[key].permissions = accessControl;
if (tableColumns[key]) {
(tableColumns[key] as any).permissions = accessControl;
}
}
// Remove unnecessary columns
@@ -91,12 +398,38 @@ export default class ServiceHandler {
delete tableColumns["deletedByUser"];
delete tableColumns["version"];
// Set page data
pageData.title = currentResource.model.singularName;
pageData.description = currentResource.model.tableDescription;
pageData.columns = tableColumns;
// For columns with a modelType (Entity/EntityArray), resolve the related model's documentation path
for (const key in tableColumns) {
const column: TableColumnMetadata | undefined = tableColumns[key];
if (column?.modelType) {
try {
const relatedModelInstance: BaseModel = new column.modelType();
if (relatedModelInstance.enableDocumentation) {
(column as any).modelDocumentationPath =
relatedModelInstance.getAPIDocumentationPath();
(column as any).modelName = relatedModelInstance.singularName;
}
} catch {
// If model instantiation fails, skip linking
}
}
pageData.tablePermissions = {
// Resolve non-entity complex types to their documentation paths
if (column?.type && !(column as any).modelDocumentationPath) {
const typeStr: string = column.type.toString();
const docPath: string | undefined = TypeToDocPath[typeStr];
if (docPath) {
(column as any).typeDocumentationPath = docPath;
}
}
}
// Set page data
pageData["title"] = currentResource.model.singularName;
pageData["description"] = currentResource.model.tableDescription;
pageData["columns"] = tableColumns;
pageData["tablePermissions"] = {
read: currentResource.model.readRecordPermissions.map(
(permission: Permission) => {
return PermissionDictionary[permission];
@@ -120,7 +453,7 @@ export default class ServiceHandler {
};
// Cache the list request data
pageData.listRequest = await LocalCache.getOrSetString(
pageData["listRequest"] = await LocalCache.getOrSetString(
"model",
"list-request",
async () => {
@@ -130,7 +463,7 @@ export default class ServiceHandler {
);
// Cache the item request data
pageData.itemRequest = await LocalCache.getOrSetString(
pageData["itemRequest"] = await LocalCache.getOrSetString(
"model",
"item-request",
async () => {
@@ -140,7 +473,7 @@ export default class ServiceHandler {
);
// Cache the item response data
pageData.itemResponse = await LocalCache.getOrSetString(
pageData["itemResponse"] = await LocalCache.getOrSetString(
"model",
"item-response",
async () => {
@@ -152,7 +485,7 @@ export default class ServiceHandler {
);
// Cache the count request data
pageData.countRequest = await LocalCache.getOrSetString(
pageData["countRequest"] = await LocalCache.getOrSetString(
"model",
"count-request",
async () => {
@@ -164,7 +497,7 @@ export default class ServiceHandler {
);
// Cache the count response data
pageData.countResponse = await LocalCache.getOrSetString(
pageData["countResponse"] = await LocalCache.getOrSetString(
"model",
"count-response",
async () => {
@@ -175,7 +508,7 @@ export default class ServiceHandler {
},
);
pageData.updateRequest = await LocalCache.getOrSetString(
pageData["updateRequest"] = await LocalCache.getOrSetString(
"model",
"update-request",
async () => {
@@ -186,7 +519,7 @@ export default class ServiceHandler {
},
);
pageData.updateResponse = await LocalCache.getOrSetString(
pageData["updateResponse"] = await LocalCache.getOrSetString(
"model",
"update-response",
async () => {
@@ -197,7 +530,7 @@ export default class ServiceHandler {
},
);
pageData.createRequest = await LocalCache.getOrSetString(
pageData["createRequest"] = await LocalCache.getOrSetString(
"model",
"create-request",
async () => {
@@ -208,7 +541,7 @@ export default class ServiceHandler {
},
);
pageData.createResponse = await LocalCache.getOrSetString(
pageData["createResponse"] = await LocalCache.getOrSetString(
"model",
"create-response",
async () => {
@@ -219,7 +552,7 @@ export default class ServiceHandler {
},
);
pageData.deleteRequest = await LocalCache.getOrSetString(
pageData["deleteRequest"] = await LocalCache.getOrSetString(
"model",
"delete-request",
async () => {
@@ -230,7 +563,7 @@ export default class ServiceHandler {
},
);
pageData.deleteResponse = await LocalCache.getOrSetString(
pageData["deleteResponse"] = await LocalCache.getOrSetString(
"model",
"delete-response",
async () => {
@@ -242,7 +575,7 @@ export default class ServiceHandler {
);
// Get list response from cache or set it if it's not available
pageData.listResponse = await LocalCache.getOrSetString(
pageData["listResponse"] = await LocalCache.getOrSetString(
"model",
"list-response",
async () => {
@@ -254,19 +587,38 @@ export default class ServiceHandler {
);
// Generate a unique ID for the example object
pageData.exampleObjectID = ObjectID.generate();
const exampleObjectID: string = ObjectID.generate().toString();
pageData["exampleObjectID"] = exampleObjectID;
// Generate dynamic example objects from column metadata
const exampleObjects: ExampleObjects = generateExampleObjects(
tableColumns,
exampleObjectID,
);
pageData["exampleObjects"] = exampleObjects;
// Construct the API path for the current resource
pageData.apiPath =
const apiPath: string =
AppApiRoute.toString() + currentResource.model.crudApiPath?.toString();
pageData["apiPath"] = apiPath;
// Generate code examples for all languages
const codeExamples: ApiCodeExamples = generateApiCodeExamples(
apiPath,
exampleObjects,
exampleObjectID,
);
pageData["codeExamples"] = codeExamples;
// Check if the current resource is a master admin API
pageData.isMasterAdminApiDocs = currentResource.model.isMasterAdminApiDocs;
pageData["isMasterAdminApiDocs"] =
currentResource.model.isMasterAdminApiDocs;
// Render the index page with the required data
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -5,11 +5,14 @@ import {
} from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import URL from "Common/Types/API/URL";
import Dictionary from "Common/Types/Dictionary";
// Fetch a list of resources used in the application
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
// Handles the HTTP response for a given request
@@ -22,7 +25,7 @@ export default class ServiceHandler {
// Get the 'page' parameter from the request
const page: string | undefined = req.params["page"];
const pageData: any = {
const pageData: Dictionary<unknown> = {
hostUrl: new URL(HttpProtocol, Host).toString(),
};
@@ -35,6 +38,7 @@ export default class ServiceHandler {
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -1,9 +1,11 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources(); // Get an array of model documentation resources
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
// This is a static method that handles the response
@@ -21,6 +23,7 @@ export default class ServiceHandler {
enableGoogleTagManager: IsBillingEnabled,
pageDescription: "Page you're looking for is not found.", // The page description
resources: Resources, // The array of model documentation resources
dataTypes: DataTypes,
pageData: {}, // An empty object to hold any additional page data
});
}

View File

@@ -1,11 +1,14 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import LocalFile from "Common/Server/Utils/LocalFile";
import Dictionary from "Common/Types/Dictionary";
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources(); // Get all resources from ResourceUtil
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
public static async executeResponse(
@@ -15,14 +18,14 @@ export default class ServiceHandler {
let pageTitle: string = ""; // Initialize page title
let pageDescription: string = ""; // Initialize page description
const page: string | undefined = req.params["page"]; // Get the page parameter from the request
const pageData: any = {}; // Initialize page data object
const pageData: Dictionary<unknown> = {}; // Initialize page data object
// Set page title and description
pageTitle = "Pagination";
pageDescription = "Learn how to paginate requests with OneUptime API";
// Get response and request code from LocalCache or LocalFile
pageData.responseCode = await LocalCache.getOrSetString(
pageData["responseCode"] = await LocalCache.getOrSetString(
"pagination",
"response",
async () => {
@@ -33,7 +36,7 @@ export default class ServiceHandler {
},
);
pageData.requestCode = await LocalCache.getOrSetString(
pageData["requestCode"] = await LocalCache.getOrSetString(
"pagination",
"request",
async () => {
@@ -48,6 +51,7 @@ export default class ServiceHandler {
return res.render(`${ViewsPath}/pages/index`, {
page: page, // Pass the page parameter
resources: Resources, // Pass all resources
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled, // Pass the page title
pageDescription: pageDescription, // Pass the page description

View File

@@ -1,10 +1,17 @@
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import { PermissionHelper, PermissionProps } from "Common/Types/Permission";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import {
PermissionGroup,
PermissionHelper,
PermissionProps,
} from "Common/Types/Permission";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import Dictionary from "Common/Types/Dictionary";
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const DataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
public static async executeResponse(
@@ -17,23 +24,46 @@ export default class ServiceHandler {
// Get the requested page
const page: string | undefined = req.params["page"];
const pageData: any = {};
const pageData: Dictionary<unknown> = {};
// Set page title and description
pageTitle = "Permissions";
pageDescription = "Learn how permissions work with OneUptime";
// Filter permissions to only include those assignable to tenants
pageData.permissions = PermissionHelper.getAllPermissionProps().filter(
(i: PermissionProps) => {
const tenantPermissions: Array<PermissionProps> =
PermissionHelper.getAllPermissionProps().filter((i: PermissionProps) => {
return i.isAssignableToTenant;
},
);
});
// Group permissions by PermissionGroup
const permissionGroups: Array<{
group: string;
permissions: Array<PermissionProps>;
}> = [];
for (const group of Object.values(PermissionGroup)) {
const groupPermissions: Array<PermissionProps> = tenantPermissions.filter(
(p: PermissionProps) => {
return p.group === group;
},
);
if (groupPermissions.length > 0) {
permissionGroups.push({
group: group,
permissions: groupPermissions,
});
}
}
pageData["permissionGroups"] = permissionGroups;
// Render the page
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
dataTypes: DataTypes,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,

View File

@@ -1,10 +1,12 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import DataTypeUtil, { DataTypeDocumentation } from "../Utils/DataTypes";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
// Retrieve resources from ResourceUtil
const resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const dataTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
export default class ServiceHandler {
public static async executeResponse(
@@ -21,6 +23,7 @@ export default class ServiceHandler {
enableGoogleTagManager: IsBillingEnabled,
pageDescription: "200 - Success",
resources: resources, // Pass resources to the template
dataTypes: dataTypes,
pageData: {}, // Pass empty data to the template
});
}

View File

@@ -0,0 +1,771 @@
import { JSONObject } from "Common/Types/JSON";
export interface RequestPreview {
headers: string;
body: string;
}
export interface CodeExamples {
requestPreview: RequestPreview;
curl: string;
javascript: string;
typescript: string;
python: string;
go: string;
java: string;
csharp: string;
php: string;
ruby: string;
rust: string;
powershell: string;
}
export interface ApiRequestParams {
method: "GET" | "POST" | "PUT" | "DELETE";
endpoint: string;
body?: JSONObject;
description?: string;
}
export default class CodeExampleGenerator {
private static readonly API_KEY_PLACEHOLDER: string = "YOUR_API_KEY";
private static readonly BASE_URL: string = "https://oneuptime.com";
public static generate(params: ApiRequestParams): CodeExamples {
return {
requestPreview: this.generateRequestPreview(params),
curl: this.generateCurl(params),
javascript: this.generateJavaScript(params),
typescript: this.generateTypeScript(params),
python: this.generatePython(params),
go: this.generateGo(params),
java: this.generateJava(params),
csharp: this.generateCSharp(params),
php: this.generatePHP(params),
ruby: this.generateRuby(params),
rust: this.generateRust(params),
powershell: this.generatePowerShell(params),
};
}
private static generateRequestPreview(
params: ApiRequestParams,
): RequestPreview {
const { body } = params;
const headers: string = `Content-Type: application/json
ApiKey: ${this.API_KEY_PLACEHOLDER}`;
const bodyStr: string =
body && Object.keys(body).length > 0 ? JSON.stringify(body, null, 2) : "";
return {
headers,
body: bodyStr,
};
}
private static generateCurl(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let curlCmd: string = `curl -X ${method} "${url}"`;
curlCmd += ` \\\n -H "Content-Type: application/json"`;
curlCmd += ` \\\n -H "ApiKey: ${this.API_KEY_PLACEHOLDER}"`;
if (body && Object.keys(body).length > 0) {
const jsonBody: string = JSON.stringify(body, null, 2)
.split("\n")
.map((line: string, index: number) => {
return index === 0 ? line : ` ${line}`;
})
.join("\n");
curlCmd += ` \\\n -d '${jsonBody}'`;
}
return curlCmd;
}
private static generateJavaScript(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `const axios = require('axios');
const response = await axios({
method: '${method.toLowerCase()}',
url: '${url}',
headers: {
'Content-Type': 'application/json',
'ApiKey': '${this.API_KEY_PLACEHOLDER}'
}`;
if (body && Object.keys(body).length > 0) {
const jsonBody: string = JSON.stringify(body, null, 2)
.split("\n")
.map((line: string, index: number) => {
return index === 0 ? line : ` ${line}`;
})
.join("\n");
code += `,\n data: ${jsonBody}`;
}
code += `
});
console.log(response.data);`;
return code;
}
private static generateTypeScript(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `import axios, { AxiosResponse } from 'axios';
interface ApiResponse {
// Define your response type here
[key: string]: unknown;
}
const response: AxiosResponse<ApiResponse> = await axios({
method: '${method.toLowerCase()}',
url: '${url}',
headers: {
'Content-Type': 'application/json',
'ApiKey': '${this.API_KEY_PLACEHOLDER}'
}`;
if (body && Object.keys(body).length > 0) {
const jsonBody: string = JSON.stringify(body, null, 2)
.split("\n")
.map((line: string, index: number) => {
return index === 0 ? line : ` ${line}`;
})
.join("\n");
code += `,\n data: ${jsonBody}`;
}
code += `
});
console.log(response.data);`;
return code;
}
private static generatePython(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `import requests
url = "${url}"
headers = {
"Content-Type": "application/json",
"ApiKey": "${this.API_KEY_PLACEHOLDER}"
}`;
if (body && Object.keys(body).length > 0) {
const pythonBody: string = this.jsonToPython(body);
code += `
payload = ${pythonBody}
response = requests.${method.toLowerCase()}(url, json=payload, headers=headers)`;
} else {
code += `
response = requests.${method.toLowerCase()}(url, headers=headers)`;
}
code += `
print(response.json())`;
return code;
}
private static generateGo(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `package main
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
)
func main() {`;
if (body && Object.keys(body).length > 0) {
code += `
payload := map[string]interface{}{`;
const entries: Array<string> = Object.entries(body).map(
([key, value]: [string, unknown]) => {
return ` "${key}": ${this.goValue(value)}`;
},
);
code += `\n${entries.join(",\n")},
}
jsonData, _ := json.Marshal(payload)
req, _ := http.NewRequest("${method}", "${url}", bytes.NewBuffer(jsonData))`;
} else {
code += `
req, _ := http.NewRequest("${method}", "${url}", nil)`;
}
code += `
req.Header.Set("Content-Type", "application/json")
req.Header.Set("ApiKey", "${this.API_KEY_PLACEHOLDER}")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}`;
return code;
}
private static generateJava(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ApiRequest {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
`;
if (body && Object.keys(body).length > 0) {
const jsonBody: string = JSON.stringify(body, null, 12).replace(
/"/g,
'\\"',
);
code += `
String jsonBody = "${jsonBody.replace(/\n/g, "\\n")}";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("${url}"))
.header("Content-Type", "application/json")
.header("ApiKey", "${this.API_KEY_PLACEHOLDER}")
.method("${method}", HttpRequest.BodyPublishers.ofString(jsonBody))
.build();`;
} else {
code += `
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("${url}"))
.header("Content-Type", "application/json")
.header("ApiKey", "${this.API_KEY_PLACEHOLDER}")
.method("${method}", HttpRequest.BodyPublishers.noBody())
.build();`;
}
code += `
HttpResponse<String> response = client.send(request,
HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}`;
return code;
}
private static generateCSharp(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("ApiKey", "${this.API_KEY_PLACEHOLDER}");
`;
if (body && Object.keys(body).length > 0) {
const jsonBody: string = JSON.stringify(body, null, 8);
code += `
var json = @"${jsonBody.replace(/"/g, '""')}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.${this.csharpMethod(method)}Async(
"${url}"${method !== "GET" && method !== "DELETE" ? ", content" : ""});`;
} else {
code += `
var response = await client.${this.csharpMethod(method)}Async("${url}");`;
}
code += `
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}`;
return code;
}
private static generatePHP(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `<?php
$url = "${url}";
$headers = [
"Content-Type: application/json",
"ApiKey: ${this.API_KEY_PLACEHOLDER}"
];
`;
if (body && Object.keys(body).length > 0) {
code += `
$data = ${this.jsonToPhp(body)};
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "${method}");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));`;
} else {
code += `
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "${method}");`;
}
code += `
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>`;
return code;
}
private static generateRuby(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("${url}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::${this.rubyMethodClass(method)}.new(uri.request_uri)
request["Content-Type"] = "application/json"
request["ApiKey"] = "${this.API_KEY_PLACEHOLDER}"`;
if (body && Object.keys(body).length > 0) {
const rubyBody: string = this.jsonToRuby(body);
code += `
request.body = ${rubyBody}.to_json`;
}
code += `
response = http.request(request)
puts JSON.parse(response.body)`;
return code;
}
private static generateRust(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `use reqwest::header::{HeaderMap, HeaderValue, CONTENT_TYPE};
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = reqwest::Client::new();
let mut headers = HeaderMap::new();
headers.insert(CONTENT_TYPE, HeaderValue::from_static("application/json"));
headers.insert("ApiKey", HeaderValue::from_static("${this.API_KEY_PLACEHOLDER}"));`;
if (body && Object.keys(body).length > 0) {
const rustBody: string = this.jsonToRust(body);
code += `
let body = ${rustBody};
let response = client
.${method.toLowerCase()}("${url}")
.headers(headers)
.json(&body)
.send()
.await?;`;
} else {
code += `
let response = client
.${method.toLowerCase()}("${url}")
.headers(headers)
.send()
.await?;`;
}
code += `
let result: serde_json::Value = response.json().await?;
println!("{:#?}", result);
Ok(())
}`;
return code;
}
private static generatePowerShell(params: ApiRequestParams): string {
const { method, endpoint, body } = params;
const url: string = `${this.BASE_URL}${endpoint}`;
let code: string = `$headers = @{
"Content-Type" = "application/json"
"ApiKey" = "${this.API_KEY_PLACEHOLDER}"
}`;
if (body && Object.keys(body).length > 0) {
const psBody: string = this.jsonToPowerShell(body);
code += `
$body = ${psBody} | ConvertTo-Json -Depth 10
$response = Invoke-RestMethod -Uri "${url}" -Method ${method} -Headers $headers -Body $body`;
} else {
code += `
$response = Invoke-RestMethod -Uri "${url}" -Method ${method} -Headers $headers`;
}
code += `
$response | ConvertTo-Json -Depth 10`;
return code;
}
// Helper methods for language-specific formatting
private static jsonToPython(obj: JSONObject, indent: number = 0): string {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
if (Array.isArray(obj)) {
if (obj.length === 0) {
return "[]";
}
const items: Array<string> = obj.map((item: unknown) => {
return this.jsonToPython(item as JSONObject, indent + 1);
});
return `[\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces}]`;
}
if (typeof obj === "object" && obj !== null) {
const entries: Array<string> = Object.entries(obj).map(
([key, value]: [string, unknown]) => {
return `${innerSpaces}"${key}": ${this.pythonValue(value, indent + 1)}`;
},
);
return `{\n${entries.join(",\n")}\n${spaces}}`;
}
return this.pythonValue(obj, indent);
}
private static pythonValue(value: unknown, indent: number = 0): string {
if (value === null) {
return "None";
}
if (typeof value === "boolean") {
return value ? "True" : "False";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (typeof value === "object") {
return this.jsonToPython(value as JSONObject, indent);
}
return String(value);
}
private static goValue(value: unknown): string {
if (value === null) {
return "nil";
}
if (typeof value === "boolean") {
return value ? "true" : "false";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (Array.isArray(value)) {
return `[]interface{}{${value
.map((v: unknown) => {
return this.goValue(v);
})
.join(", ")}}`;
}
if (typeof value === "object") {
const entries: Array<string> = Object.entries(
value as Record<string, unknown>,
).map(([k, v]: [string, unknown]) => {
return `"${k}": ${this.goValue(v)}`;
});
return `map[string]interface{}{${entries.join(", ")}}`;
}
return String(value);
}
private static jsonToRuby(obj: JSONObject, indent: number = 0): string {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
if (Array.isArray(obj)) {
if (obj.length === 0) {
return "[]";
}
const items: Array<string> = obj.map((item: unknown) => {
return this.jsonToRuby(item as JSONObject, indent + 1);
});
return `[\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces}]`;
}
if (typeof obj === "object" && obj !== null) {
const entries: Array<string> = Object.entries(obj).map(
([key, value]: [string, unknown]) => {
return `${innerSpaces}"${key}" => ${this.rubyValue(value, indent + 1)}`;
},
);
return `{\n${entries.join(",\n")}\n${spaces}}`;
}
return this.rubyValue(obj, indent);
}
private static rubyValue(value: unknown, indent: number = 0): string {
if (value === null) {
return "nil";
}
if (typeof value === "boolean") {
return value ? "true" : "false";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (typeof value === "object") {
return this.jsonToRuby(value as JSONObject, indent);
}
return String(value);
}
private static rubyMethodClass(method: string): string {
const methodMap: Record<string, string> = {
GET: "Get",
POST: "Post",
PUT: "Put",
DELETE: "Delete",
};
return methodMap[method] || "Get";
}
private static csharpMethod(method: string): string {
const methodMap: Record<string, string> = {
GET: "Get",
POST: "Post",
PUT: "Put",
DELETE: "Delete",
};
return methodMap[method] || "Get";
}
private static jsonToRust(obj: JSONObject, indent: number = 0): string {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
if (Array.isArray(obj)) {
if (obj.length === 0) {
return "json!([])";
}
const items: Array<string> = obj.map((item: unknown) => {
return this.rustInnerValue(item, indent + 1);
});
return `json!([\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces}])`;
}
if (typeof obj === "object" && obj !== null) {
const entries: Array<string> = Object.entries(obj).map(
([key, value]: [string, unknown]) => {
return `${innerSpaces}"${key}": ${this.rustInnerValue(value, indent + 1)}`;
},
);
return `json!({\n${entries.join(",\n")}\n${spaces}})`;
}
return `json!(${this.rustInnerValue(obj, indent)})`;
}
private static rustInnerValue(value: unknown, indent: number = 0): string {
if (value === null) {
return "null";
}
if (typeof value === "boolean") {
return value ? "true" : "false";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (Array.isArray(value)) {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
const items: Array<string> = value.map((v: unknown) => {
return this.rustInnerValue(v, indent + 1);
});
return `[\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces}]`;
}
if (typeof value === "object") {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
const entries: Array<string> = Object.entries(
value as Record<string, unknown>,
).map(([k, v]: [string, unknown]) => {
return `${innerSpaces}"${k}": ${this.rustInnerValue(v, indent + 1)}`;
});
return `{\n${entries.join(",\n")}\n${spaces}}`;
}
return String(value);
}
private static jsonToPowerShell(obj: JSONObject, indent: number = 0): string {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
if (Array.isArray(obj)) {
if (obj.length === 0) {
return "@()";
}
const items: Array<string> = obj.map((item: unknown) => {
return this.jsonToPowerShell(item as JSONObject, indent + 1);
});
return `@(\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces})`;
}
if (typeof obj === "object" && obj !== null) {
const entries: Array<string> = Object.entries(obj).map(
([key, value]: [string, unknown]) => {
return `${innerSpaces}${key} = ${this.psValue(value, indent + 1)}`;
},
);
return `@{\n${entries.join("\n")}\n${spaces}}`;
}
return this.psValue(obj, indent);
}
private static psValue(value: unknown, indent: number = 0): string {
if (value === null) {
return "$null";
}
if (typeof value === "boolean") {
return value ? "$true" : "$false";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (typeof value === "object") {
return this.jsonToPowerShell(value as JSONObject, indent);
}
return String(value);
}
private static jsonToPhp(obj: JSONObject, indent: number = 0): string {
const spaces: string = " ".repeat(indent);
const innerSpaces: string = " ".repeat(indent + 1);
if (Array.isArray(obj)) {
if (obj.length === 0) {
return "[]";
}
const items: Array<string> = obj.map((item: unknown) => {
return this.jsonToPhp(item as JSONObject, indent + 1);
});
return `[\n${innerSpaces}${items.join(`,\n${innerSpaces}`)}\n${spaces}]`;
}
if (typeof obj === "object" && obj !== null) {
const entries: Array<string> = Object.entries(obj).map(
([key, value]: [string, unknown]) => {
return `${innerSpaces}"${key}" => ${this.phpValue(value, indent + 1)}`;
},
);
return `[\n${entries.join(",\n")}\n${spaces}]`;
}
return this.phpValue(obj, indent);
}
private static phpValue(value: unknown, indent: number = 0): string {
if (value === null) {
return "null";
}
if (typeof value === "boolean") {
return value ? "true" : "false";
}
if (typeof value === "string") {
return `"${value}"`;
}
if (typeof value === "number") {
return String(value);
}
if (typeof value === "object") {
return this.jsonToPhp(value as JSONObject, indent);
}
return String(value);
}
}

View File

@@ -0,0 +1,422 @@
import Dictionary from "Common/Types/Dictionary";
export interface DataTypeDocumentation {
name: string;
path: string;
description: string;
/*
* Additional column type display strings that should link to this data type page.
* Used for cases where the TableColumnType enum value doesn't match the PascalCase name
* (e.g., enum "Date" should link to the "DateTime" data type page).
*/
columnTypeAliases?: Array<string>;
/*
* Category for grouping in sidebar navigation.
* Types with the same category are grouped under a collapsible heading.
*/
category?: string;
}
export interface DataTypeCategory {
name: string;
types: Array<DataTypeDocumentation>;
}
export default class DataTypeUtil {
public static getDataTypes(): Array<DataTypeDocumentation> {
return [
{
name: "ObjectID",
path: "object-id",
description:
"A unique identifier for objects, typically a UUID string.",
},
{
name: "Decimal",
path: "decimal",
description: "A decimal number type for precise numeric values.",
},
{
name: "Name",
path: "name",
description: "A structured name type representing a text name value.",
},
{
name: "EqualTo",
path: "equal-to",
description:
"A query filter that matches objects where a field is equal to the specified value.",
},
{
name: "EqualToOrNull",
path: "equal-to-or-null",
description:
"A query filter that matches objects where a field is equal to the specified value or is null.",
},
{
name: "MonitorSteps",
path: "monitor-steps",
description:
"Complex nested object describing monitor check configuration including steps and default status.",
category: "Monitor",
},
{
name: "MonitorStep",
path: "monitor-step",
description:
"A single monitor step defining a check target, request configuration, and criteria for determining status.",
category: "Monitor",
},
{
name: "Recurring",
path: "recurring",
description:
"Object describing a recurring interval schedule (e.g., every 5 minutes, daily).",
},
{
name: "RestrictionTimes",
path: "restriction-times",
description:
"Object describing on-call duty time restrictions (daily or weekly windows).",
},
{
name: "MonitorCriteria",
path: "monitor-criteria",
description:
"A collection of monitor criteria instances used to evaluate monitor check results.",
category: "Monitor",
},
{
name: "PositiveNumber",
path: "positive-number",
description: "A number type that must be greater than zero.",
columnTypeAliases: ["Small Positive Number", "Big Positive Number"],
},
{
name: "MonitorCriteriaInstance",
path: "monitor-criteria-instance",
description:
"A single criteria rule defining conditions and the resulting monitor status when conditions are met.",
category: "Monitor",
},
{
name: "NotEqual",
path: "not-equal",
description:
"A query filter that matches objects where a field is not equal to the specified value.",
},
{
name: "Email",
path: "email",
description: "An email address type with built-in format validation.",
},
{
name: "Phone",
path: "phone",
description: "A phone number type with built-in format validation.",
},
{
name: "Color",
path: "color",
description:
"A color value represented as a hex string (e.g., #3498db).",
},
{
name: "Domain",
path: "domain",
description: "A domain name type (e.g., example.com).",
},
{
name: "Version",
path: "version",
description: "A semantic version type (e.g., 1.0.0).",
},
{
name: "IP",
path: "ip",
description:
"An IP address type supporting both IPv4 and IPv6 formats.",
},
{
name: "Route",
path: "route",
description: "A URL route/path segment type.",
},
{
name: "URL",
path: "url",
description: "A full URL type with protocol, host, and path.",
},
{
name: "Permission",
path: "permission",
description:
"A string identifier representing an access control permission in OneUptime.",
},
{
name: "Search",
path: "search",
description:
"A query filter for text search that matches objects containing the specified string.",
},
{
name: "GreaterThan",
path: "greater-than",
description:
"A query filter that matches objects where a field is greater than the specified value.",
},
{
name: "GreaterThanOrEqual",
path: "greater-than-or-equal",
description:
"A query filter that matches objects where a field is greater than or equal to the specified value.",
},
{
name: "GreaterThanOrNull",
path: "greater-than-or-null",
description:
"A query filter that matches objects where a field is greater than the specified value or is null.",
},
{
name: "LessThanOrNull",
path: "less-than-or-null",
description:
"A query filter that matches objects where a field is less than the specified value or is null.",
},
{
name: "LessThan",
path: "less-than",
description:
"A query filter that matches objects where a field is less than the specified value.",
},
{
name: "LessThanOrEqual",
path: "less-than-or-equal",
description:
"A query filter that matches objects where a field is less than or equal to the specified value.",
},
{
name: "Port",
path: "port",
description: "A network port number type (1-65535).",
},
{
name: "Hostname",
path: "hostname",
description: "A hostname type (e.g., api.example.com).",
},
{
name: "HashedString",
path: "hashed-string",
description:
"A string that is stored in hashed form. Used for sensitive data like passwords and API keys.",
},
{
name: "DateTime",
path: "date-time",
description:
"An ISO 8601 date-time string (e.g., 2024-01-15T10:30:00.000Z).",
columnTypeAliases: ["Date"],
},
{
name: "Buffer",
path: "buffer",
description:
"A binary data buffer, typically base64-encoded when serialized to JSON.",
},
{
name: "InBetween",
path: "in-between",
description:
"A query filter that matches objects where a field value is between two specified values (inclusive).",
},
{
name: "NotNull",
path: "not-null",
description:
"A query filter that matches objects where a field is not null.",
},
{
name: "IsNull",
path: "is-null",
description:
"A query filter that matches objects where a field is null.",
},
{
name: "Includes",
path: "includes",
description:
"A query filter that matches objects where a field value is included in the specified array of values.",
},
{
name: "DashboardComponent",
path: "dashboard-component",
description:
"A configuration object for a dashboard component including its type, layout, and settings.",
},
{
name: "DashboardViewConfig",
path: "dashboard-view-config",
description:
"A configuration object for a dashboard view including its components and layout.",
},
{
name: "CriteriaFilter",
path: "criteria-filter",
description:
"A single filter condition within a MonitorCriteriaInstance that defines what to check and how to compare it.",
category: "Monitor",
},
{
name: "CriteriaIncident",
path: "criteria-incident",
description:
"Configuration for an incident that is automatically created when a MonitorCriteriaInstance's conditions are met.",
category: "Monitor",
},
{
name: "CriteriaAlert",
path: "criteria-alert",
description:
"Configuration for an alert that is automatically created when a MonitorCriteriaInstance's conditions are met.",
category: "Monitor",
},
{
name: "CheckOn",
path: "check-on",
description:
"Enum specifying what aspect of a monitor response to evaluate (e.g., response code, response time, body content).",
category: "Monitor",
},
{
name: "FilterType",
path: "filter-type",
description:
"Enum specifying the comparison operator used in a CriteriaFilter (e.g., Equal To, Greater Than, Contains).",
category: "Monitor",
},
{
name: "FilterCondition",
path: "filter-condition",
description:
"Enum specifying how multiple filters are combined: 'All' (AND) or 'Any' (OR).",
category: "Monitor",
},
{
name: "MonitorStepLogMonitor",
path: "monitor-step-log-monitor",
description:
"Configuration for a Log monitor step, defining which logs to query and evaluate.",
category: "Monitor",
},
{
name: "MonitorStepTraceMonitor",
path: "monitor-step-trace-monitor",
description:
"Configuration for a Trace monitor step, defining which spans to query and evaluate.",
category: "Monitor",
},
{
name: "MonitorStepMetricMonitor",
path: "monitor-step-metric-monitor",
description:
"Configuration for a Metric monitor step, defining which metrics to query and evaluate.",
category: "Monitor",
},
{
name: "MonitorStepSnmpMonitor",
path: "monitor-step-snmp-monitor",
description:
"Configuration for an SNMP monitor step, defining the SNMP device connection and OIDs to query.",
category: "Monitor",
},
];
}
public static getDataTypesByCategory(): Array<DataTypeCategory> {
const allTypes: Array<DataTypeDocumentation> = DataTypeUtil.getDataTypes();
const uncategorized: Array<DataTypeDocumentation> = [];
const categoryMap: Dictionary<Array<DataTypeDocumentation>> = {};
const categoryOrder: Array<string> = [];
for (const dt of allTypes) {
if (dt.category) {
if (!categoryMap[dt.category]) {
categoryMap[dt.category] = [];
categoryOrder.push(dt.category);
}
categoryMap[dt.category]!.push(dt);
} else {
uncategorized.push(dt);
}
}
const result: Array<DataTypeCategory> = [];
// Add uncategorized types first under "General"
if (uncategorized.length > 0) {
result.push({ name: "General", types: uncategorized });
}
// Add categorized groups
for (const cat of categoryOrder) {
if (categoryMap[cat]) {
result.push({ name: cat, types: categoryMap[cat]! });
}
}
return result;
}
public static getDataTypeDictionaryByPath(): Dictionary<DataTypeDocumentation> {
const dict: Dictionary<DataTypeDocumentation> = {};
for (const dataType of DataTypeUtil.getDataTypes()) {
dict[dataType.path] = dataType;
}
return dict;
}
/*
* Convert PascalCase name to space-separated display string.
* e.g., "ObjectID" → "Object ID", "MonitorSteps" → "Monitor Steps",
* "HashedString" → "Hashed String", "IP" → "IP"
*/
private static pascalCaseToDisplayString(name: string): string {
return name
.replace(/([a-z])([A-Z])/g, "$1 $2")
.replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2");
}
/*
* Build a mapping from column type display strings to data type page paths.
* Automatically derives both PascalCase and display-string variants from each
* data type's name, so adding a new entry to getDataTypes() is all that's needed.
*/
public static getTypeToDocPathMap(): Dictionary<string> {
const map: Dictionary<string> = {};
for (const dt of DataTypeUtil.getDataTypes()) {
// Map PascalCase name: "ObjectID" → "object-id"
map[dt.name] = dt.path;
// Map display string: "Object ID" → "object-id"
const displayName: string = DataTypeUtil.pascalCaseToDisplayString(
dt.name,
);
if (displayName !== dt.name) {
map[displayName] = dt.path;
}
// Map any explicit aliases (for edge cases like enum "Date" → "date-time")
if (dt.columnTypeAliases) {
for (const alias of dt.columnTypeAliases) {
map[alias] = dt.path;
}
}
}
return map;
}
}

View File

@@ -1,8 +1,14 @@
{
"watch": ["./","../Common/Server", "../Common/Types", "../Common/Utils", "../Common/Models"],
"ext": "ts,json,tsx,env,js,jsx,hbs",
"ext": "ts,tsx",
"ignore": [
"./node_modules/**",
"./public/**",
"./bin/**",
"./build/**",
"greenlock.d/*"
],
"exec": "node --inspect=0.0.0.0:9229 --require ts-node/register Index.ts"
"watchOptions": {"useFsEvents": false, "interval": 500},
"env": {"TS_NODE_TRANSPILE_ONLY": "1", "TS_NODE_FILES": "false"},
"exec": "node -r ts-node/register/transpile-only Index.ts"
}

View File

@@ -29,28 +29,31 @@
"@bull-board/express": "^5.21.4",
"@clickhouse/client": "^1.10.1",
"@elastic/elasticsearch": "^8.12.1",
"@hcaptcha/react-hcaptcha": "^1.14.0",
"@monaco-editor/react": "^4.4.6",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/api-logs": "^0.52.1",
"@opentelemetry/api-logs": "^0.206.0",
"@opentelemetry/context-zone": "^1.25.1",
"@opentelemetry/exporter-logs-otlp-http": "^0.52.1",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.52.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.52.1",
"@opentelemetry/exporter-trace-otlp-proto": "^0.52.1",
"@opentelemetry/exporter-logs-otlp-http": "^0.207.0",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.207.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.207.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.207.0",
"@opentelemetry/id-generator-aws-xray": "^1.2.2",
"@opentelemetry/instrumentation": "^0.52.1",
"@opentelemetry/instrumentation-fetch": "^0.52.1",
"@opentelemetry/instrumentation-xml-http-request": "^0.52.1",
"@opentelemetry/instrumentation": "^0.207.0",
"@opentelemetry/instrumentation-fetch": "^0.207.0",
"@opentelemetry/instrumentation-xml-http-request": "^0.207.0",
"@opentelemetry/resources": "^1.25.1",
"@opentelemetry/sdk-logs": "^0.52.1",
"@opentelemetry/sdk-logs": "^0.207.0",
"@opentelemetry/sdk-metrics": "^1.25.1",
"@opentelemetry/sdk-node": "^0.52.1",
"@opentelemetry/sdk-trace-node": "^1.25.1",
"@opentelemetry/sdk-node": "^0.207.0",
"@opentelemetry/sdk-trace-web": "^1.25.1",
"@opentelemetry/semantic-conventions": "^1.26.0",
"@opentelemetry/semantic-conventions": "^1.37.0",
"@remixicon/react": "^4.2.0",
"@simplewebauthn/server": "^13.2.2",
"@tippyjs/react": "^4.2.6",
"@types/archiver": "^6.0.3",
"@types/crypto-js": "^4.2.2",
"@types/multer": "^2.0.0",
"@types/qrcode": "^1.5.5",
"@types/react-highlight": "^0.12.8",
"@types/react-syntax-highlighter": "^15.5.13",
@@ -58,15 +61,19 @@
"@types/web-push": "^3.6.4",
"acme-client": "^5.3.0",
"airtable": "^0.12.2",
"axios": "^1.7.2",
"bullmq": "^5.3.3",
"archiver": "^7.0.1",
"axios": "^1.12.0",
"botbuilder": "^4.23.3",
"bullmq": "^5.61.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"cron-parser": "^4.8.1",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.4",
"ejs": "^3.1.10",
"elkjs": "^0.10.0",
"esbuild": "^0.25.5",
"expo-server-sdk": "^3.15.0",
"express": "^4.21.1",
"formik": "^2.4.6",
"history": "^5.3.0",
@@ -76,50 +83,52 @@
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^4.0.0",
"marked": "^12.0.2",
"mermaid": "^11.12.2",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"multer": "^2.0.2",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.10",
"nodemailer": "^7.0.7",
"otpauth": "^9.3.1",
"pg": "^8.7.3",
"playwright": "^1.50.0",
"posthog-js": "^1.139.6",
"pg": "^8.16.3",
"playwright": "^1.56.0",
"posthog-js": "^1.275.3",
"prop-types": "^15.8.1",
"qrcode": "^1.5.3",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-big-calendar": "^1.13.0",
"react-big-calendar": "^1.19.4",
"react-color": "^2.19.3",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.2",
"react-error-boundary": "^4.0.13",
"react-highlight": "^0.15.0",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.24.1",
"react-markdown": "^9.0.0",
"react-router-dom": "^6.30.1",
"react-select": "^5.4.0",
"react-spinners": "^0.14.1",
"react-syntax-highlighter": "^15.5.0",
"react-syntax-highlighter": "^16.0.0",
"react-toggle": "^4.1.3",
"reactflow": "^11.11.4",
"recharts": "^2.12.7",
"redis-semaphore": "^5.5.1",
"reflect-metadata": "^0.2.2",
"remark-gfm": "^3.0.1",
"remark-gfm": "^4.0.0",
"slackify-markdown": "^4.4.0",
"slugify": "^1.6.5",
"socket.io": "^4.7.4",
"socket.io-client": "^4.7.5",
"stripe": "^10.17.0",
"tailwind-merge": "^2.5.2",
"tailwind-merge": "^2.6.0",
"tippy.js": "^6.3.7",
"twilio": "^4.22.0",
"typeorm": "^0.3.20",
"typeorm": "^0.3.26",
"typeorm-extension": "^2.2.13",
"universal-cookie": "^7.2.1",
"use-async-effect": "^2.2.6",
"uuid": "^8.3.2",
"web-push": "^3.6.7",
"zod": "^3.25.30"
"zod": "^3.25.76"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
@@ -242,89 +251,20 @@
}
},
"node_modules/@babel/code-frame": {
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
"integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
"integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/highlight": "^7.23.4",
"chalk": "^2.4.2"
"@babel/helper-validator-identifier": "^7.27.1",
"js-tokens": "^4.0.0",
"picocolors": "^1.1.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/code-frame/node_modules/ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"dev": true,
"dependencies": {
"color-convert": "^1.9.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/code-frame/node_modules/chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/code-frame/node_modules/color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"dev": true,
"dependencies": {
"color-name": "1.1.3"
}
},
"node_modules/@babel/code-frame/node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"engines": {
"node": ">=0.8.0"
}
},
"node_modules/@babel/code-frame/node_modules/has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/code-frame/node_modules/supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
"dependencies": {
"has-flag": "^3.0.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/compat-data": {
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz",
@@ -339,6 +279,7 @@
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz",
"integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==",
"dev": true,
"peer": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.23.5",
@@ -500,19 +441,21 @@
}
},
"node_modules/@babel/helper-string-parser": {
"version": "7.23.4",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
"integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
"integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.20",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
"integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"version": "7.28.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
"integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
@@ -527,109 +470,28 @@
}
},
"node_modules/@babel/helpers": {
"version": "7.23.6",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz",
"integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==",
"version": "7.28.4",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
"integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/template": "^7.22.15",
"@babel/traverse": "^7.23.6",
"@babel/types": "^7.23.6"
"@babel/template": "^7.27.2",
"@babel/types": "^7.28.4"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/highlight": {
"version": "7.23.4",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
"integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
"chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/highlight/node_modules/ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"dev": true,
"dependencies": {
"color-convert": "^1.9.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/highlight/node_modules/chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/highlight/node_modules/color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"dev": true,
"dependencies": {
"color-name": "1.1.3"
}
},
"node_modules/@babel/highlight/node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"node_modules/@babel/highlight/node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"engines": {
"node": ">=0.8.0"
}
},
"node_modules/@babel/highlight/node_modules/has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/highlight/node_modules/supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
"dependencies": {
"has-flag": "^3.0.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/@babel/parser": {
"version": "7.23.6",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz",
"integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==",
"version": "7.28.5",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
"integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.5"
},
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -800,14 +662,15 @@
}
},
"node_modules/@babel/template": {
"version": "7.22.15",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
"integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"version": "7.27.2",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
"integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.22.13",
"@babel/parser": "^7.22.15",
"@babel/types": "^7.22.15"
"@babel/code-frame": "^7.27.1",
"@babel/parser": "^7.27.2",
"@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -835,14 +698,14 @@
}
},
"node_modules/@babel/types": {
"version": "7.23.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz",
"integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==",
"version": "7.28.5",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
"integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.23.4",
"@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
"@babel/helper-string-parser": "^7.27.1",
"@babel/helper-validator-identifier": "^7.28.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1529,7 +1392,8 @@
"node_modules/@types/node": {
"version": "17.0.45",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz",
"integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw=="
"integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==",
"peer": true
},
"node_modules/@types/prettier": {
"version": "2.7.3",
@@ -1759,21 +1623,23 @@
}
},
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"license": "MIT",
"dependencies": {
"fill-range": "^7.0.1"
"fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
@@ -1798,6 +1664,7 @@
"url": "https://github.com/sponsors/ai"
}
],
"peer": true,
"dependencies": {
"caniuse-lite": "^1.0.30001565",
"electron-to-chromium": "^1.4.601",
@@ -2003,10 +1870,11 @@
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -2058,9 +1926,10 @@
}
},
"node_modules/diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz",
"integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==",
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.3.1"
}
@@ -2075,9 +1944,10 @@
}
},
"node_modules/ejs": {
"version": "3.1.9",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz",
"integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==",
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz",
"integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==",
"license": "Apache-2.0",
"dependencies": {
"jake": "^10.8.5"
},
@@ -2224,9 +2094,10 @@
}
},
"node_modules/filelist/node_modules/brace-expansion": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0"
}
@@ -2243,10 +2114,11 @@
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"license": "MIT",
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -2541,6 +2413,7 @@
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12.0"
}
@@ -3238,13 +3111,15 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/js-yaml": {
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"version": "3.14.2",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
"integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
"dev": true,
"license": "MIT",
"dependencies": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
@@ -3397,12 +3272,13 @@
"dev": true
},
"node_modules/micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true,
"license": "MIT",
"dependencies": {
"braces": "^3.0.2",
"braces": "^3.0.3",
"picomatch": "^2.3.1"
},
"engines": {
@@ -3683,10 +3559,11 @@
"dev": true
},
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"dev": true
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
"dev": true,
"license": "ISC"
},
"node_modules/picomatch": {
"version": "2.3.1",
@@ -4106,20 +3983,12 @@
"integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
"dev": true
},
"node_modules/to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
"integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
"dev": true,
"engines": {
"node": ">=4"
}
},
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^7.0.0"
},
@@ -4143,6 +4012,7 @@
"version": "10.9.2",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz",
"integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==",
"peer": true,
"dependencies": {
"@cspotcode/source-map-support": "^0.8.0",
"@tsconfig/node10": "^1.0.7",

View File

@@ -2,6 +2,10 @@
"name": "@oneuptime/api-reference",
"version": "1.0.0",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/OneUptime/oneuptime"
},
"main": "Index.ts",
"scripts": {
"start": "export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register Index.ts",

View File

@@ -1,15 +1,19 @@
<main class="py-16">
<article class="prose">
<div>
<div>
<h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1>
<div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle">
<h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">
This page could not be found<!-- -->.
</h2>
</div>
</div>
</div>
</article>
</main>
<main class="py-12">
<article class="prose">
<div class="text-center py-20">
<div class="flex items-center justify-center w-16 h-16 rounded-2xl bg-indigo-100 mx-auto mb-6">
<svg class="w-8 h-8 text-indigo-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h1 class="text-7xl font-bold text-slate-900 tracking-tight mb-4">404</h1>
<p class="text-xl text-slate-600 mb-8">This page could not be found.</p>
<a href="/reference" class="inline-flex items-center gap-2 rounded-lg bg-indigo-600 px-5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 transition-colors">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"></path>
</svg>
Back to API Reference
</a>
</div>
</article>
</main>

View File

@@ -1,39 +1,51 @@
<main class="py-16">
<main class="py-12">
<article class="prose">
<h1>Authentication</h1>
<p class="lead">You'll need to authenticate your requests to access any of the endpoints in the OneUptime API. In
this guide, we'll look at how authentication works. OneUptime offers one way to authenticate your API requests
- by using an API Key.</p>
<!-- Hero Section -->
<div class="mb-10">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"></path>
</svg>
</div>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">Guide</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3">Authentication</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">You'll need to authenticate your requests to access any of the endpoints in the OneUptime API. In this guide, we'll look at how authentication works. OneUptime offers one way to authenticate your API requests - by using an API Key.</p>
</div>
<h2 id="basic-authentication" class="mb-5 scroll-mt-24 mt-24 font-bold text-lg">
<h2 id="generate-api-key" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12">
Generate an API Key
</h2>
<p> Please head over to <b>Project Settings</b> > <b>API Keys</b>. Create a new API Key. Please note: New API Keys
have no permissions assigned to them, so you will have to assign a permission before you can use it.</p>
<a class="mt-5 inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/permissions">
<p class="text-slate-600 leading-relaxed">Please head over to <strong class="text-slate-800">Project Settings</strong> > <strong class="text-slate-800">API Keys</strong>. Create a new API Key. Please note: New API Keys have no permissions assigned to them, so you will have to assign a permission before you can use it.</p>
<a class="mt-4 inline-flex gap-1 items-center font-medium text-indigo-600 hover:text-indigo-700 transition-colors" href="/reference/permissions">
Read more about permissions
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true" class="mt-0.5 h-5 w-5 relative top-px -mr-1">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true" class="h-5 w-5">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
</svg>
</a>
<h2 id="basic-authentication" class="mb-5 scroll-mt-24 mt-24 font-bold text-lg">
<h2 id="project-id" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12">
Project ID
</h2>
<p> Please head over to <b>Project Settings</b> > <b>Project</b>. You should see your Project ID there.</p>
<p class="text-slate-600 leading-relaxed">Please head over to <strong class="text-slate-800">Project Settings</strong> > <strong class="text-slate-800">Project</strong>. You should see your Project ID there.</p>
<h2 id="basic-authentication">
<h2 id="auth-with-api-key" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12">
Authentication with API Key
</h2>
<p>You can use OneUptime API Key on Request Header when you're making a request. You can use <code
class="rounded p-0.5 px-1 text-sm text-gray-500 bg-gray-100 border-2 border-gray-200">Authorization</code>
header with your API Key when you make a request.</p>
<p class="text-slate-600 leading-relaxed mb-6">You can use OneUptime API Key on Request Header when you're making a request. You can use <code class="inline-code">ApiKey</code> header with your API Key when you make a request.</p>
<%- include('../partials/code', {title: "Example request with API Key" , requestUrl: "" , requestType: "" , code: "curl --header \"ApiKey: {secret-api-key}\" https://oneuptime.com/api/\<path\>" }) -%>
<p class="text-sm">Please don't commit your OneUptime API Key to GitHub, or on any other source control
project. Please regenerate a new API Key, if your API Key is committed by mistake.</p>
<div class="mt-6 rounded-xl border border-amber-200 bg-amber-50 p-4">
<div class="flex gap-3">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-amber-500" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd" />
</svg>
</div>
<p class="text-sm text-amber-800">Please don't commit your OneUptime API Key to GitHub, or on any other source control project. Please regenerate a new API Key if your API Key is committed by mistake.</p>
</div>
</div>
</article>
</main>
</main>

View File

@@ -0,0 +1,179 @@
<main class="py-12">
<article class="prose">
<!-- Type Hierarchy Breadcrumb -->
<% if (pageData.typeHierarchy && pageData.typeHierarchy.length > 0) { %>
<nav class="mb-6">
<ol class="flex items-center flex-wrap gap-1 text-sm">
<% for (var h = 0; h < pageData.typeHierarchy.length; h++) { %>
<% if (h > 0) { %>
<li class="text-slate-400">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>
</li>
<% } %>
<% if (pageData.typeHierarchy[h].path && pageData.typeHierarchy[h].name !== pageData.title) { %>
<li><a href="/reference/<%= pageData.typeHierarchy[h].path %>" class="text-indigo-600 hover:text-indigo-700 hover:underline font-medium"><%= pageData.typeHierarchy[h].name %></a></li>
<% } else { %>
<li class="text-slate-900 font-semibold"><%= pageData.typeHierarchy[h].name %></li>
<% } %>
<% } %>
</ol>
</nav>
<% } %>
<!-- Hero Section -->
<div class="mb-8">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-emerald-600 shadow-lg shadow-emerald-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path>
</svg>
</div>
<span class="text-xs font-semibold text-emerald-600 uppercase tracking-wider"><%= pageData.isEnum ? 'Enum' : 'Data Type' %></span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3"><%= pageData.title %></h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl"><%- pageData.description %></p>
</div>
<!-- At a Glance Summary Box -->
<div class="mb-10 rounded-xl border border-slate-200 bg-slate-50 p-5">
<h4 class="text-xs font-semibold text-slate-500 uppercase tracking-wider mb-3">At a Glance</h4>
<div class="flex flex-wrap gap-x-8 gap-y-3 text-sm">
<div>
<span class="text-slate-500">Kind</span>
<span class="ml-2 font-medium text-slate-900"><%= pageData.isEnum ? 'Enum' : 'Data Type' %></span>
</div>
<% if (pageData.isEnum && pageData.valueCount > 0) { %>
<div>
<span class="text-slate-500">Values</span>
<span class="ml-2 font-medium text-slate-900"><%= pageData.valueCount %></span>
</div>
<% } else if (pageData.propertyCount > 0) { %>
<div>
<span class="text-slate-500">Properties</span>
<span class="ml-2 font-medium text-slate-900"><%= pageData.propertyCount %></span>
</div>
<% } %>
<div>
<span class="text-slate-500">JSON Format</span>
<code class="ml-2 text-xs font-mono bg-white px-2 py-0.5 rounded border border-slate-200 text-slate-700">{"_type": "<%= pageData.jsonWrapperType %>", "value": ...}</code>
</div>
</div>
</div>
<% if (pageData.isEnum) { %>
<!-- Quick Navigation for Enum Values -->
<% if (pageData.values.length >= 4) { %>
<div class="mb-6">
<div class="flex flex-wrap gap-1.5">
<% for (var qv = 0; qv < pageData.values.length; qv++) { %>
<a href="#value-<%= pageData.values[qv].value.toLowerCase().replace(/\s+/g, '-') %>" class="rounded-md bg-white px-2.5 py-1 text-xs font-medium text-slate-600 ring-1 ring-inset ring-slate-200 hover:bg-slate-50 hover:text-slate-900 transition-colors no-underline"><%= pageData.values[qv].value %></a>
<% } %>
</div>
</div>
<% } %>
<h3 id="values" class="text-base font-semibold text-slate-800 mb-4 scroll-mt-24">Possible Values</h3>
<div class="my-6 rounded-xl border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 w-full list-none divide-y divide-slate-100 p-0">
<% for (var v = 0; v < pageData.values.length; v++) { %>
<li id="value-<%= pageData.values[v].value.toLowerCase().replace(/\s+/g, '-') %>" class="m-0 px-5 py-5 hover:bg-slate-50/50 transition-colors scroll-mt-24">
<dl class="m-0 flex flex-wrap items-start gap-x-3 gap-y-2">
<dt class="sr-only">Index</dt>
<dd class="text-xs font-mono text-slate-300 w-6 pt-0.5 flex-shrink-0"><%= v + 1 %>.</dd>
<dt class="sr-only">Value</dt>
<dd><code class="model-inline-code"><%= pageData.values[v].value %></code></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none pl-9 text-sm text-slate-600"><%- pageData.values[v].description %></dd>
</dl>
</li>
<% } %>
</ul>
</div>
<% } else if (pageData.properties && pageData.properties.length > 0) { %>
<!-- Quick Navigation for Properties -->
<% if (pageData.properties.length >= 4) { %>
<div class="mb-6">
<div class="flex flex-wrap gap-1.5">
<% for (var qp = 0; qp < pageData.properties.length; qp++) { %>
<a href="#prop-<%= pageData.properties[qp].name %>" class="rounded-md bg-white px-2.5 py-1 text-xs font-medium text-slate-600 ring-1 ring-inset ring-slate-200 hover:bg-slate-50 hover:text-slate-900 transition-colors no-underline"><%= pageData.properties[qp].name %></a>
<% } %>
</div>
</div>
<% } %>
<h3 id="properties" class="text-base font-semibold text-slate-800 mb-4 scroll-mt-24">Properties</h3>
<div class="my-6 rounded-xl border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 w-full list-none divide-y divide-slate-100 p-0">
<% for (var p = 0; p < pageData.properties.length; p++) { %>
<li id="prop-<%= pageData.properties[p].name %>" class="m-0 px-5 py-5 hover:bg-slate-50/50 transition-colors scroll-mt-24">
<div class="mb-1.5">
<code class="text-sm font-semibold text-slate-900"><%= pageData.properties[p].name %></code>
<% if (pageData.properties[p].required) { %>
<span class="ml-2 inline-flex items-center rounded-full bg-amber-50 px-2 py-0.5 text-xs font-medium text-amber-700 ring-1 ring-inset ring-amber-600/20">Required</span>
<% } %>
</div>
<div class="mb-2">
<span class="inline-flex items-center rounded-md bg-slate-100 px-2 py-0.5 text-xs font-mono text-slate-600">
<% if (pageData.properties[p].typeLinks && pageData.properties[p].typeLinks.length > 0) { %>
<% var typeLinks = pageData.properties[p].typeLinks; %>
<% for (var tl = 0; tl < typeLinks.length; tl++) { %>
<% if (typeLinks[tl].path) { %>
<a href="/reference/<%= typeLinks[tl].path %>" class="text-indigo-600 hover:text-indigo-700 hover:underline font-medium"><%= typeLinks[tl].label %></a>
<% } else { %>
<%= typeLinks[tl].label %>
<% } %>
<% } %>
<% } else { %>
<%= pageData.properties[p].type %>
<% } %>
</span>
</div>
<p class="m-0 text-sm text-slate-600 leading-relaxed"><%- pageData.properties[p].description %></p>
</li>
<% } %>
</ul>
</div>
<% } %>
<!-- JSON Example Section -->
<div class="border-t border-slate-200 pt-8 mt-10">
<h3 id="example" class="text-base font-semibold text-slate-800 mb-4 scroll-mt-24">JSON Example</h3>
<%- include('../partials/code', { title: "JSON", code: pageData.jsonExample, requestType: "", requestUrl: "" }) %>
</div>
<% if (pageData.title === "Permission") { %>
<div class="mt-6 rounded-lg border border-indigo-100 bg-indigo-50 p-4">
<p class="text-sm text-indigo-800 m-0">
For a complete list of all available permissions and their descriptions, see the
<a href="/reference/permissions" class="font-medium text-indigo-600 hover:text-indigo-700 hover:underline">Permissions guide</a>.
</p>
</div>
<% } %>
<!-- Related Types Section -->
<% if (pageData.relatedTypes && pageData.relatedTypes.length > 0) { %>
<div class="border-t border-slate-200 pt-8 mt-10">
<h3 id="related-types" class="text-base font-semibold text-slate-800 mb-4 scroll-mt-24">Related Types</h3>
<div class="my-6 grid grid-cols-1 sm:grid-cols-2 gap-3">
<% for (var r = 0; r < pageData.relatedTypes.length; r++) { %>
<a href="/reference/<%= pageData.relatedTypes[r].path %>" class="group flex items-start gap-3 rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-sm transition-all no-underline">
<div class="flex-shrink-0 mt-0.5">
<div class="flex items-center justify-center w-8 h-8 rounded-lg bg-indigo-50 group-hover:bg-indigo-100 transition-colors">
<svg class="w-4 h-4 text-indigo-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"></path></svg>
</div>
</div>
<div>
<div class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors"><%= pageData.relatedTypes[r].name %></div>
<div class="text-xs text-slate-500 mt-0.5"><%= pageData.relatedTypes[r].relationship %></div>
<% if (pageData.relatedTypes[r].description) { %>
<div class="text-xs text-slate-400 mt-1 line-clamp-2"><%= pageData.relatedTypes[r].description %></div>
<% } %>
</div>
</a>
<% } %>
</div>
</div>
<% } %>
</article>
</main>

View File

@@ -1,14 +1,22 @@
<main class="py-16">
<article class="prose ">
<h1>Data Types</h1>
<p class="lead">In this guide, we will look at how to work with OneUptime Data Types when querying the OneUptime
API. </p>
<main class="py-12">
<article class="prose">
<!-- Hero Section -->
<div class="mb-10">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path>
</svg>
</div>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">Guide</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3">Data Types</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">In this guide, we will look at how to work with OneUptime Data Types when querying the OneUptime API.</p>
</div>
<a href="#select" class="cursor-default">
<h2 id="example-using-cursors" class="scroll-mt-24">
Select
</h2>
</a>
<h2 id="select" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12">
Select
</h2>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Select can be used to select fields from an Object in List or Get Item API. By default only ID's
@@ -16,13 +24,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Select</dt>
<dd><code class="inline-code">select</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Select</dd>
<dd class="font-mono text-xs text-slate-500 ">Select</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Dictionary of fieldName - boolean as JSON Object. Here's an example. If the
@@ -46,11 +54,9 @@
<a href="#sort" class="cursor-default">
<h2 id="example-using-cursors" class="scroll-mt-24">
Sort
</h2>
</a>
<h2 id="sort" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12 pt-8 border-t border-slate-200">
Sort
</h2>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Sort can be used to sort list by fields in List API. By default objects are sorted by their createdAt
@@ -59,13 +65,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Sort</dt>
<dd><code class="inline-code">sort</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Sort</dd>
<dd class="font-mono text-xs text-slate-500 ">Sort</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Dictionary of fieldName - 'DESC' / 'ASC' as JSON Object. Here's an example. If
@@ -87,11 +93,9 @@
</div>
<a href="#queries" class="cursor-default">
<h2 id="example-using-cursors" class="scroll-mt-24">
Query
</h2>
</a>
<h2 id="queries" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12 pt-8 border-t border-slate-200">
Query
</h2>
<h3 id="example-using-cursors" class="scroll-mt-24">
@@ -106,13 +110,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of an Equal To Query</p>
@@ -144,13 +148,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a Not Equal To Query</p>
@@ -182,13 +186,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of an is null query</p>
@@ -220,13 +224,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of an is not null query</p>
@@ -257,13 +261,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a greater than query</p>
@@ -295,13 +299,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a greater than or equal query</p>
@@ -333,13 +337,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a less than query</p>
@@ -371,13 +375,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a less than or equal query</p>
@@ -410,13 +414,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-slate-100 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dd class="font-mono text-xs text-slate-500 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of a less than or equal query</p>

View File

@@ -1,90 +1,77 @@
<main class="py-16">
<article class="prose ">
<h1 class="font-bold text-xl mb-5">Errors</h1>
<p class="lead">In this guide, we will talk about what happens when something goes wrong while you work with the API. Mistakes happen, and mostly they will be yours, not ours. Let's look at some status codes and error types you might encounter.</p>
<p>You can tell if your request was successful by checking the status code when receiving an API response. If a response comes back unsuccessful, you can use the status code and error message to figure out what has gone wrong and do some rudimentary debugging (before contacting support).</p>
<div class="my-6 flex gap-2.5 rounded-2xl border border-emerald-500/20 bg-emerald-50/50 p-4 leading-6 text-emerald-900 ">
<svg viewBox="0 0 16 16" aria-hidden="true" class="mt-1 h-4 w-4 flex-none fill-emerald-500 stroke-white ">
<circle cx="8" cy="8" r="8" stroke-width="0"></circle>
<path fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.75 7.75h1.5v3.5"></path>
<circle cx="8" cy="4" r=".5" fill="none"></circle>
</svg>
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Before reaching out to support with an error, please be aware that 99% of all
reported errors are, in fact, user errors. Therefore, please carefully check
your code before contacting OneUptime support.
</p>
</div>
</div>
<hr>
<h2 id="status-codes" class="mb-5 scroll-mt-24 mt-24 font-bold text-lg">
<main class="py-12">
<article class="prose">
<!-- Hero Section -->
<div class="mb-10">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">Guide</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3">Errors</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">In this guide, we will talk about what happens when something goes wrong while you work with the API. Mistakes happen, and mostly they will be yours, not ours. Let's look at some status codes and error types you might encounter.</p>
</div>
<p class="text-slate-600 leading-relaxed">You can tell if your request was successful by checking the status code when receiving an API response. If a response comes back unsuccessful, you can use the status code and error message to figure out what has gone wrong and do some rudimentary debugging (before contacting support).</p>
<div class="my-6 flex gap-3 rounded-xl border border-indigo-500/20 bg-indigo-50/50 p-4">
<div class="flex-shrink-0">
<svg viewBox="0 0 16 16" aria-hidden="true" class="h-5 w-5 fill-indigo-500 stroke-white">
<circle cx="8" cy="8" r="8" stroke-width="0"></circle>
<path fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.75 7.75h1.5v3.5"></path>
<circle cx="8" cy="4" r=".5" fill="none"></circle>
</svg>
</div>
<p class="text-sm text-indigo-900">Before reaching out to support with an error, please be aware that 99% of all reported errors are, in fact, user errors. Therefore, please carefully check your code before contacting OneUptime support.</p>
</div>
<h2 id="status-codes" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12 pt-8 border-t border-slate-200">
Status codes
</h2>
<p>Here is a list of the different categories of status codes returned by the OneUptime API. Use these to understand if a request was successful.</p>
<div class="my-6">
<ul role="list" class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">2xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 2xx status code indicates a successful response.</p>
</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">4xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 4xx status code indicates a client error — this means it's a <em>you</em>
problem.
</p>
</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
</h2>
<p class="text-slate-600 leading-relaxed mb-6">Here is a list of the different categories of status codes returned by the OneUptime API. Use these to understand if a request was successful.</p>
<div class="rounded-xl border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 list-none divide-y divide-slate-100 p-0">
<li class="m-0 px-5 py-4">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">429</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p> Request limit exceeded. Request limits are 100 operations per second per project (this includes all the API keys in the project).
</p>
</dd>
<dd><code class="inline-flex items-center rounded-md bg-emerald-50 px-2 py-1 text-xs font-medium text-emerald-700 ring-1 ring-inset ring-emerald-600/20">2xx</code></dd>
<dd class="w-full flex-none text-sm text-slate-600 mt-1">A 2xx status code indicates a successful response.</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">5xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 5xx status code indicates a server error — you won't be seeing a lot of these.</p>
</dd>
</dl>
</li>
</ul>
</div>
<hr>
<h2 id="error-types" class="mb-5 scroll-mt-24 mt-24 font-bold text-lg">Error Messages</h2>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Whenever a request is unsuccessful, the OneUptime API will return an error response with an error message. You can use this information to understand better what has gone wrong and how to fix it. Most of the error messages are pretty helpful and actionable.</p>
<p>Here is an example of an error message: </p>
</div>
<%- include('../partials/code', {title: "Example error response", requestUrl: "", requestType: "", code: "{ \"message\": \"Name is required\" }" }) -%>
</div>
</article>
</main>
<li class="m-0 px-5 py-4">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-flex items-center rounded-md bg-amber-50 px-2 py-1 text-xs font-medium text-amber-700 ring-1 ring-inset ring-amber-600/20">4xx</code></dd>
<dd class="w-full flex-none text-sm text-slate-600 mt-1">A 4xx status code indicates a client error - this means it's a <em>you</em> problem.</dd>
</dl>
</li>
<li class="m-0 px-5 py-4">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-flex items-center rounded-md bg-orange-50 px-2 py-1 text-xs font-medium text-orange-700 ring-1 ring-inset ring-orange-600/20">429</code></dd>
<dd class="w-full flex-none text-sm text-slate-600 mt-1">Request limit exceeded. Request limits are 100 operations per second per project (this includes all the API keys in the project).</dd>
</dl>
</li>
<li class="m-0 px-5 py-4">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-flex items-center rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/20">5xx</code></dd>
<dd class="w-full flex-none text-sm text-slate-600 mt-1">A 5xx status code indicates a server error - you won't be seeing a lot of these.</dd>
</dl>
</li>
</ul>
</div>
<h2 id="error-types" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12 pt-8 border-t border-slate-200">
Error Messages
</h2>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p class="text-slate-600 leading-relaxed">Whenever a request is unsuccessful, the OneUptime API will return an error response with an error message. You can use this information to understand better what has gone wrong and how to fix it. Most of the error messages are pretty helpful and actionable.</p>
<p class="text-slate-600 leading-relaxed">Here is an example of an error message:</p>
</div>
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0 xl:sticky xl:top-24">
<%- include('../partials/code', {title: "Example error response", requestUrl: "", requestType: "", code: "{ \"message\": \"Name is required\" }" }) -%>
</div>
</div>
</article>
</main>

View File

@@ -1,198 +1,87 @@
<main class="py-16">
<article class="prose ">
<div class="absolute inset-0 -z-10 mx-0 max-w-none overflow-hidden">
<div
class="absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem]">
<div
class="absolute inset-0 bg-gradient-to-r from-[#36b49f] to-[#DBFF75] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,white,transparent)]">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay /5">
<defs>
<pattern id=":r6s:" width="72" height="56" patternUnits="userSpaceOnUse" x="-12"
y="4">
<path d="M.5 56V.5H72" fill="none"></path>
</pattern>
</defs>
<rect width="100%" height="100%" stroke-width="0" fill="url(#:r6s:)"></rect>
<svg x="-12" y="4" class="overflow-visible">
<rect stroke-width="0" width="73" height="57" x="288" y="168"></rect>
<rect stroke-width="0" width="73" height="57" x="144" y="56"></rect>
<rect stroke-width="0" width="73" height="57" x="504" y="168"></rect>
<rect stroke-width="0" width="73" height="57" x="720" y="336"></rect>
</svg>
<main class="py-12">
<article class="prose">
<!-- Hero Section -->
<div class="relative mb-12">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
</svg>
</div>
<svg viewBox="0 0 1113 440" aria-hidden="true"
class="absolute top-0 left-1/2 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] ">
<path d="M.016 439.5s-9.5-300 434-300S882.516 20 882.516 20V0h230.004v439.5H.016Z">
</path>
</svg>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">REST API</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-4">API Reference</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">
Use the OneUptime API to access any resource in your projects, create automated workflows,
and seamlessly integrate with the tools and services your organization uses.
</p>
</div>
<h1 class="font-bold text-xl">API Reference</h1>
<p class="lead">Use the OneUptime API to access any resource in your projects, create automated
workflows, and more
and
seamlessly integrate your project into the other tools and services you use in your
organization.</p>
<div class="my-16 xl:max-w-none">
<h2 id="guides" class="scroll-mt-24 font-bold">
<span class="group text-inherit no-underline hover:text-inherit">
<div
class="absolute mt-1 ml-[calc(-1*var(--width))] hidden w-[var(--width)] opacity-0 transition [--width:calc(2.625rem+0.5px+50%-min(50%,calc(theme(maxWidth.lg)+theme(spacing.8))))] group-hover:opacity-100 group-focus:opacity-100 md:block lg:z-50 2xl:[--width:theme(spacing.10)]">
<div
class="group/anchor block h-5 w-5 rounded-lg bg-zinc-50 ring-1 ring-inset ring-zinc-300 transition hover:ring-zinc-500 ">
<svg viewBox="0 0 20 20" fill="none" stroke-linecap="round" aria-hidden="true"
class="h-5 w-5 stroke-zinc-500 transition ">
<path
d="m6.5 11.5-.964-.964a3.535 3.535 0 1 1 5-5l.964.964m2 2 .964.964a3.536 3.536 0 0 1-5 5L8.5 13.5m0-5 3 3">
</path>
</svg>
</div>
</div>
Guides
</span>
<!-- Guides Section -->
<div class="my-12 xl:max-w-none">
<h2 id="guides" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-6">
Getting Started
</h2>
<div
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 sm:grid-cols-2 xl:grid-cols-4">
<div>
<h3 class="text-sm font-semibold text-zinc-900 ">Authentication</h3>
<p class="mt-1 text-sm text-zinc-600 ">Learn how to authenticate your
API
requests.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/authentication">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="mt-0.5 h-5 w-5 relative top-px -mr-1">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
</svg>
</a>
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 ">Pagination</h3>
<p class="mt-1 text-sm text-zinc-600 ">Understand how to work with
paginated responses.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/pagination">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="mt-0.5 h-5 w-5 relative top-px -mr-1">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
</svg>
</a>
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 ">Errors</h3>
<p class="mt-1 text-sm text-zinc-600 ">Read about the different types
of
errors returned by the API.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/errors">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="mt-0.5 h-5 w-5 relative top-px -mr-1">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
</svg>
</a>
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 ">Permissions</h3>
<p class="mt-1 text-sm text-zinc-600 ">Learn how API Key Permissions
work.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/permissions">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="mt-0.5 h-5 w-5 relative top-px -mr-1">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
d="m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"></path>
</svg>
</a>
</p>
</div>
<div class="not-prose grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4">
<a href="/reference/authentication" class="group relative rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-md hover:shadow-indigo-100/50 transition-all">
<div class="flex items-center justify-center w-10 h-10 rounded-lg bg-indigo-50 text-indigo-600 mb-4 group-hover:bg-indigo-100 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"></path>
</svg>
</div>
<h3 class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors">Authentication</h3>
<p class="mt-1.5 text-sm text-slate-500 leading-relaxed">Learn how to authenticate your API requests.</p>
</a>
<a href="/reference/pagination" class="group relative rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-md hover:shadow-indigo-100/50 transition-all">
<div class="flex items-center justify-center w-10 h-10 rounded-lg bg-indigo-50 text-indigo-600 mb-4 group-hover:bg-indigo-100 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
</svg>
</div>
<h3 class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors">Pagination</h3>
<p class="mt-1.5 text-sm text-slate-500 leading-relaxed">Understand how to work with paginated responses.</p>
</a>
<a href="/reference/errors" class="group relative rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-md hover:shadow-indigo-100/50 transition-all">
<div class="flex items-center justify-center w-10 h-10 rounded-lg bg-indigo-50 text-indigo-600 mb-4 group-hover:bg-indigo-100 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h3 class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors">Errors</h3>
<p class="mt-1.5 text-sm text-slate-500 leading-relaxed">Read about the different types of errors returned.</p>
</a>
<a href="/reference/permissions" class="group relative rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-md hover:shadow-indigo-100/50 transition-all">
<div class="flex items-center justify-center w-10 h-10 rounded-lg bg-indigo-50 text-indigo-600 mb-4 group-hover:bg-indigo-100 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
</svg>
</div>
<h3 class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors">Permissions</h3>
<p class="mt-1.5 text-sm text-slate-500 leading-relaxed">Learn how API Key Permissions work.</p>
</a>
</div>
</div>
<div class="my-16 xl:max-w-none">
<h2 id="resources" class="scroll-mt-24 font-bold"><span
class="group text-inherit no-underline hover:text-inherit">Featured Resources</span>
</h2>
<div
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 sm:grid-cols-2 xl:grid-cols-4">
<% for(var i=0; i<pageData.featuredResources.length; i++) {%>
<div
class="cursor-pointer group relative flex rounded-2xl bg-zinc-50 transition-shadow hover:shadow-md hover:shadow-zinc-900/5 ">
<div class="pointer-events-none">
<div
class="absolute inset-0 rounded-2xl transition duration-300 [mask-image:linear-gradient(white,transparent)] group-hover:opacity-50">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/[0.02] stroke-black/5 /2.5">
<defs>
<pattern id=":r6t:" width="72" height="56" patternUnits="userSpaceOnUse"
x="50%" y="16">
<path d="M.5 56V.5H72" fill="none"></path>
</pattern>
</defs>
<rect width="100%" height="100%" stroke-width="0" fill="url(#:r6t:)"></rect>
<svg x="50%" y="16" class="overflow-visible">
<rect stroke-width="0" width="73" height="57" x="0" y="56"></rect>
<rect stroke-width="0" width="73" height="57" x="72" y="168"></rect>
</svg>
</svg>
</div>
<div
class="absolute inset-0 rounded-2xl bg-gradient-to-r from-[#D7EDEA] to-[#F4FBDF] opacity-0 transition duration-300 group-hover:opacity-100"
data-projection-id="35"
style="-webkit-mask-image: radial-gradient(180px at 0px 0px, white, transparent);">
</div>
<div
class="absolute inset-0 rounded-2xl opacity-0 mix-blend-overlay transition duration-300 group-hover:opacity-100"
data-projection-id="36"
style="-webkit-mask-image: radial-gradient(180px at 0px 0px, white, transparent);">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/50 stroke-black/70 /10">
<defs>
<pattern id=":r6u:" width="72" height="56" patternUnits="userSpaceOnUse"
x="50%" y="16">
<path d="M.5 56V.5H72" fill="none"></path>
</pattern>
</defs>
<rect width="100%" height="100%" stroke-width="0" fill="url(#:r6u:)"></rect>
<svg x="50%" y="16" class="overflow-visible">
<rect stroke-width="0" width="73" height="57" x="0" y="56"></rect>
<rect stroke-width="0" width="73" height="57" x="72" y="168"></rect>
</svg>
</svg>
</div>
</div>
<div
class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-zinc-900/7.5 group-hover:ring-zinc-900/10 ">
</div>
<div class="relative rounded-2xl px-4 pt-16 pb-4">
<h3 class="mt-4 text-sm font-semibold leading-7 text-zinc-900 "><a
href="/reference/<%= pageData.featuredResources[i].path -%>"><span
class="absolute inset-0 rounded-2xl"></span> <%= pageData.featuredResources[i].name -%></a>
</h3>
<p class="mt-1 text-sm text-zinc-600 "><%= pageData.featuredResources[i].description -%></p>
</div>
</div>
<% } %>
<!-- Featured Resources Section -->
<div class="my-12 xl:max-w-none">
<h2 id="resources" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-6">
Featured Resources
</h2>
<div class="not-prose grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4">
<% for(var i=0; i<pageData.featuredResources.length; i++) {%>
<a href="/reference/<%= pageData.featuredResources[i].path -%>"
class="group relative rounded-xl border border-slate-200 bg-white p-5 hover:border-indigo-300 hover:shadow-md hover:shadow-indigo-100/50 transition-all">
<div class="flex items-center justify-center w-10 h-10 rounded-lg bg-slate-100 text-slate-600 mb-4 group-hover:bg-indigo-100 group-hover:text-indigo-600 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path>
</svg>
</div>
<h3 class="text-sm font-semibold text-slate-900 group-hover:text-indigo-600 transition-colors"><%= pageData.featuredResources[i].name -%></h3>
<p class="mt-1.5 text-sm text-slate-500 leading-relaxed"><%= pageData.featuredResources[i].description -%></p>
</a>
<% } %>
</div>
</div>
</article>
</main>
</main>

File diff suppressed because it is too large Load Diff

View File

@@ -1,114 +1,84 @@
<main class="py-16">
<article class="prose ">
<h1>Pagination</h1>
<p class="lead">In this guide, we will look at how to work with paginated responses when querying the OneUptime
API. By default, all responses limit results to ten. </p>
<p>When an API response returns a list of objects, no matter the amount, pagination is supported. In paginated
responses, objects are nested in a <code class="inline-code">data</code> attribute. The API response also has
<code class="inline-code">count</code> attribute that indicates total count in the list with that query. You
can use the <code class="inline-code">limit</code> and <code class="inline-code">skip</code> query parameters
to query pages.</p>
<h2 id="example-using-cursors" class="scroll-mt-24">
<main class="py-12">
<article class="prose">
<!-- Hero Section -->
<div class="mb-10">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
</svg>
</div>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">Guide</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3">Pagination</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">In this guide, we will look at how to work with paginated responses when querying the OneUptime API. By default, all responses limit results to ten.</p>
</div>
<p class="text-slate-600 leading-relaxed">When an API response returns a list of objects, no matter the amount, pagination is supported. In paginated responses, objects are nested in a <code class="inline-code">data</code> attribute. The API response also has <code class="inline-code">count</code> attribute that indicates total count in the list with that query. You can use the <code class="inline-code">limit</code> and <code class="inline-code">skip</code> query parameters to query pages.</p>
<h2 id="example-using-cursors" class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-6 mt-12">
Pagination Example
</h2>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>In this example, we request the list of monitors. As a result, we get a list of three monitors and can
tell by the <code class="inline-code">count</code> attribute that we have reached the end of the
result set</p>
<h2 id="example-using-cursors" class="scroll-mt-24">
Query Parameters
</h2>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<p class="text-slate-600 leading-relaxed">In this example, we request the list of monitors. As a result, we get a list of three monitors and can tell by the <code class="inline-code">count</code> attribute that we have reached the end of the result set</p>
<h3 class="text-base font-semibold text-slate-800 mt-8 mb-3">Query Parameters</h3>
<div class="rounded-lg border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 list-none divide-y divide-slate-100 p-0">
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">limit</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items you need to fetch. More items will lead to slower responses. Max limit is
100.</p>
</dd>
<dd class="font-mono text-xs text-slate-500">Number</dd>
<dd class="w-full flex-none text-sm text-slate-600">Number of items you need to fetch. More items will lead to slower responses. Max limit is 100.</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">skip</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items to skip. This can be useful when you are paginating items.</p>
</dd>
<dd class="font-mono text-xs text-slate-500">Number</dd>
<dd class="w-full flex-none text-sm text-slate-600">Number of items to skip. This can be useful when you are paginating items.</dd>
</dl>
</li>
</ul>
</div>
<h3 class="text-base font-semibold text-slate-800 mt-8 mb-3">Response Body</h3>
<div class="rounded-lg border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 list-none divide-y divide-slate-100 p-0">
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-code">data</code></dd>
<dd class="font-mono text-xs text-slate-500">JSON Array</dd>
<dd class="w-full flex-none text-sm text-slate-600">List of items fetched.</dd>
</dl>
</li>
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-code">count</code></dd>
<dd class="font-mono text-xs text-slate-500">Number</dd>
<dd class="w-full flex-none text-sm text-slate-600">Total number of items in the database</dd>
</dl>
</li>
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-code">limit</code></dd>
<dd class="font-mono text-xs text-slate-500">Number</dd>
<dd class="w-full flex-none text-sm text-slate-600">Number of items you need to fetch. More items will lead to slower responses. Max limit is 100.</dd>
</dl>
</li>
<li class="m-0 px-4 py-3">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-code">skip</code></dd>
<dd class="font-mono text-xs text-slate-500">Number</dd>
<dd class="w-full flex-none text-sm text-slate-600">Number of items to skip. This can be useful when you are paginating items.</dd>
</dl>
</li>
</ul>
</div>
<h2 id="example-using-cursors" class="scroll-mt-24">
Response Body
</h2>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">data</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">JSON Array</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>List of items fetched.</p>
</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">count</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Total number of items in the database</p>
</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">limit</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items you need to fetch. More items will lead to slower responses. Max limit is
100.</p>
</dd>
</dl>
</li>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">skip</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items to skip. This can be useful when you are paginating items.</p>
</dd>
</dl>
</li>
</ul>
</div>
</div>
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<%- include('../partials/code', {title: "Example Pagination Request", requestUrl: "/api/monitors/get-list?skip=0&limit=3", requestType: "GET", code: pageData.requestCode }) -%>
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0 xl:sticky xl:top-24">
<%- include('../partials/code', {title: "Example Pagination Request", requestUrl: "/api/monitors/get-list?skip=0&limit=3", requestType: "POST", code: pageData.requestCode }) -%>
<%- include('../partials/code', {title: "Example Pagination Response" , requestUrl: "", requestType: "", code: pageData.responseCode }) -%>
</div>
</div>

View File

@@ -1,38 +1,62 @@
<main class="py-16">
<article class="prose ">
<h1>Permissions</h1>
<p class="lead"> Your API Token needs permissions to create, update, read or delete any resource. If you do not have permissions to make a request a <code class="inline-code">4xx</code> status will be sent as response. You can manage permissions for your API Key in Project Settings > API Keys. </p>
<h2 id="consuming-webhooks" >
Permissions List
</h2>
<p>Here is a list of all the permissions:</p>
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<div class="my-6">
<ul role="list" class="m-0 w-full">
<% for(var i=0; i<pageData.permissions.length; i++) {%>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.permissions[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.permissions[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.permissions[i].description -%></p>
</dd>
</dl>
</li>
<% } %>
<main class="py-12">
<article class="prose">
<!-- Hero Section -->
<div class="mb-10">
<div class="flex items-center gap-3 mb-4">
<div class="flex items-center justify-center w-10 h-10 rounded-xl bg-indigo-600 shadow-lg shadow-indigo-500/30">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
</svg>
</div>
<span class="text-xs font-semibold text-indigo-600 uppercase tracking-wider">Guide</span>
</div>
<h1 class="font-bold text-3xl text-slate-900 tracking-tight mb-3">Permissions</h1>
<p class="text-lg text-slate-600 leading-relaxed max-w-2xl">Your API Token needs permissions to create, update, read or delete any resource. If you do not have permissions to make a request a <code class="inline-code">4xx</code> status will be sent as response. You can manage permissions for your API Key in Project Settings > API Keys.</p>
</div>
</ul>
</div>
</div>
</div>
</article>
</main>
<!-- Quick Navigation -->
<div class="my-6 flex gap-3 rounded-xl border border-indigo-500/20 bg-indigo-50/50 p-4">
<div class="flex-shrink-0">
<svg viewBox="0 0 16 16" aria-hidden="true" class="h-5 w-5 fill-indigo-500 stroke-white">
<circle cx="8" cy="8" r="8" stroke-width="0"></circle>
<path fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.75 7.75h1.5v3.5"></path>
<circle cx="8" cy="4" r=".5" fill="none"></circle>
</svg>
</div>
<div>
<p class="text-sm font-medium text-indigo-900 mb-2">Jump to a category</p>
<div class="flex flex-wrap gap-2">
<% for(var g=0; g<pageData.permissionGroups.length; g++) { %>
<a href="#<%= pageData.permissionGroups[g].group.toLowerCase().replace(/ /g, '-') -%>"
class="inline-flex items-center gap-1.5 rounded-md bg-white px-2.5 py-1 text-xs font-medium text-slate-700 ring-1 ring-inset ring-slate-200 hover:bg-indigo-50 hover:text-indigo-700 hover:ring-indigo-200 transition-colors">
<%= pageData.permissionGroups[g].group %>
<span class="text-slate-400">(<%= pageData.permissionGroups[g].permissions.length %>)</span>
</a>
<% } %>
</div>
</div>
</div>
<% for(var g=0; g<pageData.permissionGroups.length; g++) { %>
<h2 id="<%= pageData.permissionGroups[g].group.toLowerCase().replace(/ /g, '-') -%>"
class="scroll-mt-24 text-xl font-semibold text-slate-900 mb-4 mt-12 <%= g > 0 ? 'pt-8 border-t border-slate-200' : '' %>">
<%= pageData.permissionGroups[g].group %>
<span class="ml-2 align-middle inline-flex items-center rounded-full bg-slate-100 px-2.5 py-0.5 text-xs font-medium text-slate-600"><%= pageData.permissionGroups[g].permissions.length %></span>
</h2>
<div class="rounded-xl border border-slate-200 bg-white overflow-hidden">
<ul role="list" class="m-0 list-none divide-y divide-slate-100 p-0">
<% for(var i=0; i<pageData.permissionGroups[g].permissions.length; i++) { %>
<li class="m-0 px-5 py-4 hover:bg-slate-50/50 transition-colors">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dd><code class="inline-code"><%= pageData.permissionGroups[g].permissions[i].permission -%></code></dd>
<dd class="font-mono text-xs text-slate-500"><%= pageData.permissionGroups[g].permissions[i].title -%></dd>
<dd class="w-full flex-none text-sm text-slate-600 mt-1"><%= pageData.permissionGroups[g].permissions[i].description -%></dd>
</dl>
</li>
<% } %>
</ul>
</div>
<% } %>
</article>
</main>

View File

@@ -1,16 +1,14 @@
<html lang="en" class="js-focus-visible ctshmsrlsm idc0_345">
<html lang="en" class="h-full antialiased scroll-smooth" style="color-scheme: light;">
<%- include('../partials/head', {
enableGoogleTagManager: typeof enableGoogleTagManager !== 'undefined' ? enableGoogleTagManager : false,
}) -%>
<body onload="applyStyles()" class="bg-white antialiased " data-new-gr-c-s-check-loaded="14.1095.0"
data-gr-ext-installed="">
<div id="__next">
<body onload="applyStyles()" class="flex min-h-full bg-white">
<div id="__next" class="w-full">
<div class="lg:ml-72 xl:ml-80">
<%- include('../partials/nav') -%>
<div class="flex justify-center">
<div class="relative px-4 pt-14 sm:px-6 lg:px-8 max-w-5xl ">
<div>
<div class="relative px-4 pt-14 sm:px-6 lg:px-8 max-w-5xl w-full">
<div class="flex justify-center">
<%- include('../main/'+page) -%>
</div>
@@ -18,7 +16,6 @@
<%- include('../partials/footer') -%>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,276 @@
<%
const uniqueId = 'code-tabs-' + Math.random().toString(36).substr(2, 9);
const tabs = [
{ id: 'preview', name: 'Request', icon: 'preview', isPreview: true },
{ id: 'curl', name: 'cURL', icon: 'terminal' },
{ id: 'javascript', name: 'JavaScript', icon: 'js' },
{ id: 'typescript', name: 'TypeScript', icon: 'ts' },
{ id: 'python', name: 'Python', icon: 'python' },
{ id: 'go', name: 'Go', icon: 'go' },
{ id: 'java', name: 'Java', icon: 'java' },
{ id: 'csharp', name: 'C#', icon: 'csharp' },
{ id: 'php', name: 'PHP', icon: 'php' },
{ id: 'ruby', name: 'Ruby', icon: 'ruby' },
{ id: 'rust', name: 'Rust', icon: 'rust' },
{ id: 'powershell', name: 'PowerShell', icon: 'powershell' }
];
%>
<div class="code-tabs-container my-6 w-full max-w-full overflow-hidden" id="<%= uniqueId %>">
<!-- Header with title and endpoint -->
<div class="rounded-t-xl bg-slate-900 border border-slate-700/50 border-b-0">
<div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 px-4 py-3 border-b border-slate-700/50">
<h4 class="text-sm font-semibold text-slate-200 tracking-wide"><%= title %></h4>
<div class="flex items-center gap-2">
<% if(requestType === "GET"){ %>
<span class="inline-flex items-center rounded-md bg-emerald-500/15 px-2.5 py-1 text-xs font-bold text-emerald-400 ring-1 ring-inset ring-emerald-500/30 uppercase tracking-wide">GET</span>
<% } else if(requestType === "POST"){ %>
<span class="inline-flex items-center rounded-md bg-indigo-500/15 px-2.5 py-1 text-xs font-bold text-indigo-400 ring-1 ring-inset ring-indigo-500/30 uppercase tracking-wide">POST</span>
<% } else if(requestType === "DELETE"){ %>
<span class="inline-flex items-center rounded-md bg-red-500/15 px-2.5 py-1 text-xs font-bold text-red-400 ring-1 ring-inset ring-red-500/30 uppercase tracking-wide">DELETE</span>
<% } else if(requestType === "PUT"){ %>
<span class="inline-flex items-center rounded-md bg-amber-500/15 px-2.5 py-1 text-xs font-bold text-amber-400 ring-1 ring-inset ring-amber-500/30 uppercase tracking-wide">PUT</span>
<% } %>
</div>
</div>
<% if(requestUrl){ %>
<div class="px-4 py-2.5 bg-slate-800/40 border-b border-slate-700/30">
<code class="font-mono text-sm text-slate-300 break-all"><%= requestUrl %></code>
</div>
<% } %>
<!-- Language Tabs -->
<div class="relative">
<div class="flex overflow-x-auto scrollbar-hide border-b border-slate-700/50" role="tablist">
<% tabs.forEach((tab, index) => { %>
<button
type="button"
role="tab"
aria-selected="<%= index === 0 ? 'true' : 'false' %>"
aria-controls="<%= uniqueId %>-panel-<%= tab.id %>"
id="<%= uniqueId %>-tab-<%= tab.id %>"
data-tab-id="<%= tab.id %>"
onclick="switchCodeTab('<%= uniqueId %>', '<%= tab.id %>')"
class="code-tab relative flex items-center gap-2 px-4 py-3 text-sm font-medium whitespace-nowrap transition-all duration-200 <%= index === 0 ? 'text-indigo-400 bg-slate-800/50' : 'text-slate-400 hover:text-slate-300 hover:bg-slate-800/30' %>"
>
<span class="lang-icon w-4 h-4 flex items-center justify-center">
<% if(tab.icon === 'preview'){ %>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path></svg>
<% } else if(tab.icon === 'terminal'){ %>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg>
<% } else if(tab.icon === 'js'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.405-.585-.585-.765-.63-.63-1.47-.93-2.835-.885l-.705.09c-.676.165-1.32.525-1.71 1.005-1.14 1.29-.81 3.54.57 4.47 1.365 1.035 3.369 1.26 3.629 2.235.225 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.63-1.755-1.455l-1.83 1.05c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.665 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z"/></svg>
<% } else if(tab.icon === 'ts'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"/></svg>
<% } else if(tab.icon === 'python'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"/></svg>
<% } else if(tab.icon === 'go'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514c-.176.046-.187.058-.34-.117c-.174-.199-.303-.327-.548-.444c-.737-.362-1.45-.257-2.115.175c-.795.514-1.204 1.274-1.192 2.22c.011.935.654 1.706 1.577 1.835c.795.105 1.46-.175 1.987-.77c.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35c.152-.362.432-.97.596-1.274a.32.32 0 0 1 .292-.187h4.253c-.023.316-.023.631-.07.947a5 5 0 0 1-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986c-1.145.152-2.209-.07-3.143-.77c-.865-.655-1.356-1.52-1.484-2.595c-.152-1.274.222-2.419.993-3.424c.83-1.086 1.928-1.776 3.272-2.02c1.098-.2 2.15-.07 3.096.571c.62.41 1.063.97 1.356 1.648c.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.67 3.67 0 0 1-1.262-2.255c-.21-1.32.152-2.489.947-3.529c.853-1.122 1.881-1.706 3.272-1.95c1.192-.21 2.314-.095 3.33.595c.923.63 1.496 1.484 1.648 2.605c.198 1.578-.257 2.863-1.344 3.962c-.771.783-1.718 1.273-2.805 1.495c-.315.06-.63.07-.934.106m2.78-4.72c-.011-.153-.011-.27-.034-.387c-.21-1.157-1.274-1.81-2.384-1.554c-1.087.245-1.788.935-2.045 2.033c-.21.912.234 1.835 1.075 2.21c.643.28 1.285.244 1.905-.07c.923-.48 1.425-1.228 1.484-2.233z"/></svg>
<% } else if(tab.icon === 'java'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M8.851 18.56s-.917.534.653.714c1.902.218 2.874.187 4.969-.211 0 0 .552.346 1.321.646-4.699 2.013-10.633-.118-6.943-1.149M8.276 15.933s-1.028.761.542.924c2.032.209 3.636.227 6.413-.308 0 0 .384.389.987.602-5.679 1.661-12.007.13-7.942-1.218M13.116 11.475c1.158 1.333-.304 2.533-.304 2.533s2.939-1.518 1.589-3.418c-1.261-1.772-2.228-2.652 3.007-5.688 0-.001-8.216 2.051-4.292 6.573M19.33 20.504s.679.559-.747.991c-2.712.822-11.288 1.069-13.669.033-.856-.373.75-.89 1.254-.998.527-.114.828-.093.828-.093-.953-.671-6.156 1.317-2.643 1.887 9.58 1.553 17.462-.7 14.977-1.82M9.292 13.21s-4.362 1.036-1.544 1.412c1.189.159 3.561.123 5.77-.062 1.806-.152 3.618-.477 3.618-.477s-.637.272-1.098.587c-4.429 1.165-12.986.623-10.522-.568 2.082-1.006 3.776-.892 3.776-.892M17.116 17.584c4.503-2.34 2.421-4.589.968-4.285-.355.074-.515.138-.515.138s.132-.207.385-.297c2.875-1.011 5.086 2.981-.928 4.562 0-.001.07-.062.09-.118M14.401 0s2.494 2.494-2.365 6.33c-3.896 3.077-.888 4.832-.001 6.836-2.274-2.053-3.943-3.858-2.824-5.539 1.644-2.469 6.197-3.665 5.19-7.627M9.734 23.924c4.322.277 10.959-.153 11.116-2.198 0 0-.302.775-3.572 1.391-3.688.694-8.239.613-10.937.168 0-.001.553.457 3.393.639"/></svg>
<% } else if(tab.icon === 'csharp'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M11.5 15.97l.41 2.44c-.26.14-.68.27-1.24.39-.57.13-1.24.2-2.01.2-2.21-.04-3.87-.7-4.98-1.96C2.56 15.77 2 14.16 2 12.21c.05-2.31.72-4.08 2-5.32C5.32 5.64 6.96 5 8.94 5c.75 0 1.4.07 1.94.19s.94.25 1.2.4l-.58 2.49-1.06-.34c-.4-.1-.86-.15-1.39-.15-1.16-.01-2.12.36-2.87 1.1-.76.73-1.15 1.85-1.18 3.34 0 1.36.37 2.42 1.08 3.2.71.77 1.71 1.17 2.99 1.18l1.33-.12c.43-.08.79-.19 1.1-.32zm5.5-5.48h3.5v1.33H17v3.45l2 .1v1.27l-3.5-.1v-4.72H14v-1.33h3zm-1 0v1.33h-2v-1.33h2zm0 2.66v1.34h-2v-1.34h2zm0 2.67V17h-2v-1.18h2z"/></svg>
<% } else if(tab.icon === 'php'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 01-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.465a2.782 2.782 0 01-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 01-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zm-2.595-1.382h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z"/></svg>
<% } else if(tab.icon === 'ruby'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089v.026-.029.003zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z"/></svg>
<% } else if(tab.icon === 'rust'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M23.687 11.709l-.995-.616a13.559 13.559 0 00-.028-.29l.855-.797a.344.344 0 00-.114-.571l-1.093-.409a8.392 8.392 0 00-.086-.282l.682-.947a.344.344 0 00-.199-.54l-1.135-.228a8.344 8.344 0 00-.14-.261l.48-1.066a.344.344 0 00-.276-.477l-1.149-.044a7.373 7.373 0 00-.192-.227l.258-1.151a.344.344 0 00-.348-.389l-1.136.14a6.4 6.4 0 00-.238-.18l.024-1.186a.344.344 0 00-.41-.281l-1.097.32a5.7 5.7 0 00-.275-.12l-.212-1.178a.344.344 0 00-.46-.157l-1.028.494a4.87 4.87 0 00-.3-.054l-.441-1.129a.344.344 0 00-.494-.023l-.935.657a3.787 3.787 0 00-.315.015l-.66-1.038a.344.344 0 00-.512.114l-.817.802a3.453 3.453 0 00-.318.084l-.86-.911a.344.344 0 00-.512.234l-.68.932a3.29 3.29 0 00-.304.152l-1.033-.744a.344.344 0 00-.493.342l-.524 1.04a3.29 3.29 0 00-.275.216l-1.168-.54a.344.344 0 00-.457.43l-.353 1.124a3.453 3.453 0 00-.233.275l-1.262-.3a.344.344 0 00-.404.498l-.168 1.178a3.787 3.787 0 00-.178.322l-1.315-.032a.344.344 0 00-.333.547l.025 1.2a4.87 4.87 0 00-.113.354l-1.325.241a.344.344 0 00-.248.576l.227 1.19a5.7 5.7 0 00-.04.373l-1.29.513a.344.344 0 00-.151.583l.422 1.147a6.4 6.4 0 00.038.38l-1.212.77a.344.344 0 00-.046.57l.605 1.072a7.373 7.373 0 00.116.371l-1.094 1.008a.344.344 0 00.06.538l.771.967a8.344 8.344 0 00.19.348l-.94 1.218a.344.344 0 00.163.486l.915.836a8.392 8.392 0 00.259.31l-.756 1.393a.344.344 0 00.258.415l1.03.68c.1.09.202.178.307.264l-.544 1.53a.344.344 0 00.342.327l1.115.504a13.559 13.559 0 00.173.12l-.312 1.63a.344.344 0 00.413.223l1.17.307a14.195 14.195 0 00.22.085l-.067 1.688a.344.344 0 00.469.106l1.193.094a14.718 14.718 0 00.253.044l.184 1.7a.344.344 0 00.508-.016l1.184-.128a14.94 14.94 0 00.273-.003l.432 1.667a.344.344 0 00.528-.136l1.142-.347a14.862 14.862 0 00.282-.053l.67 1.588a.344.344 0 00.53-.246l1.072-.56a14.49 14.49 0 00.278-.105l.893 1.465a.344.344 0 00.512-.343l.972-.76a13.844 13.844 0 00.262-.156l1.095 1.3a.344.344 0 00.475-.425l.85-.943c.08-.063.157-.127.234-.192l1.27 1.094a.344.344 0 00.422-.49l.706-1.105a12.656 12.656 0 00.197-.225l1.412.853a.344.344 0 00.354-.538l.544-1.24c.058-.084.115-.17.17-.255l1.521.583a.344.344 0 00.27-.567l.367-1.346c.047-.092.092-.185.136-.279l1.59.293a.344.344 0 00.176-.575l.18-1.418a9.903 9.903 0 00.094-.3l1.62-.008a.344.344 0 00.076-.56l-.013-1.455a9.245 9.245 0 00.045-.315l1.607-.307a.344.344 0 00-.028-.522l-.206-1.457c.005-.109.007-.218.007-.328l1.553-.595a.344.344 0 00-.13-.461zM12 16.874a4.874 4.874 0 110-9.748 4.874 4.874 0 010 9.748z"/></svg>
<% } else if(tab.icon === 'powershell'){ %>
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor"><path d="M23.181 2.974c.568 0 .923.463.792 1.035l-3.659 15.982c-.13.572-.697 1.035-1.265 1.035H.819c-.568 0-.923-.463-.792-1.035L3.686 4.009c.13-.572.697-1.035 1.265-1.035h18.23zm-8.375 12.15c0-.292-.123-.559-.322-.744l.004.004-5.444-4.678c-.162-.144-.373-.232-.605-.232-.506 0-.916.41-.916.916 0 .272.119.516.307.684l-.002-.002 4.453 3.832-4.453 3.832c-.188.166-.307.41-.307.684 0 .506.41.916.916.916.232 0 .443-.088.605-.232l5.444-4.678c.2-.186.323-.453.323-.746v-.556h-.003zm.62 2.406c0-.355.288-.644.644-.644h4.023c.355 0 .644.288.644.644 0 .355-.288.644-.644.644h-4.023a.644.644 0 01-.644-.644z"/></svg>
<% } %>
</span>
<span><%= tab.name %></span>
</button>
<% }); %>
</div>
</div>
</div>
<!-- Code Panels -->
<div class="rounded-b-xl bg-slate-900 border border-slate-700/50 border-t-0 overflow-hidden min-w-0">
<% tabs.forEach((tab, index) => { %>
<div
role="tabpanel"
id="<%= uniqueId %>-panel-<%= tab.id %>"
aria-labelledby="<%= uniqueId %>-tab-<%= tab.id %>"
class="code-panel relative min-w-0 w-full <%= index === 0 ? '' : 'hidden' %>"
data-panel-id="<%= tab.id %>"
>
<% if(tab.isPreview) { %>
<!-- Request Preview Panel -->
<button
class="copy-btn-tabs"
onclick="copyPreviewFromPanel(this)"
aria-label="Copy request"
>
<svg class="copy-icon w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path>
</svg>
<svg class="check-icon w-4 h-4 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>
<span class="copy-text">Copy</span>
</button>
<div class="code-content p-4 w-full max-w-full overflow-hidden" style="min-height: 200px;">
<!-- Headers Section -->
<div class="mb-4">
<div class="text-xs font-semibold text-slate-400 uppercase tracking-wider mb-2">Headers</div>
<div class="bg-slate-800/50 rounded-lg p-3 border border-slate-700/50 overflow-hidden">
<pre class="text-sm text-slate-300 font-mono whitespace-pre-wrap m-0 preview-headers overflow-x-auto"><%= codeExamples.requestPreview.headers %></pre>
</div>
</div>
<% if(codeExamples.requestPreview.body) { %>
<!-- Body Section -->
<div>
<div class="text-xs font-semibold text-slate-400 uppercase tracking-wider mb-2">Body</div>
<div class="bg-slate-800/50 rounded-lg p-3 border border-slate-700/50 overflow-hidden">
<pre class="text-sm leading-relaxed m-0 overflow-x-auto"><code class="language-json preview-body"><%= codeExamples.requestPreview.body %></code></pre>
</div>
</div>
<% } %>
</div>
<% } else { %>
<!-- Code Panel -->
<button
class="copy-btn-tabs"
onclick="copyCodeFromPanel(this)"
aria-label="Copy code"
>
<svg class="copy-icon w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path>
</svg>
<svg class="check-icon w-4 h-4 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>
<span class="copy-text">Copy</span>
</button>
<div class="code-content w-full max-w-full overflow-hidden" style="min-height: 200px;">
<pre class="overflow-x-auto p-4 text-sm leading-relaxed m-0 w-full max-w-full"><code class="language-<%= tab.id === 'javascript' || tab.id === 'typescript' ? 'javascript' : (tab.id === 'python' ? 'python' : (tab.id === 'go' ? 'go' : (tab.id === 'ruby' ? 'ruby' : (tab.id === 'rust' ? 'rust' : (tab.id === 'powershell' ? 'powershell' : (tab.id === 'java' ? 'java' : (tab.id === 'csharp' ? 'csharp' : (tab.id === 'php' ? 'php' : 'bash')))))))) %>"><%= codeExamples[tab.id] %></code></pre>
</div>
<% } %>
</div>
<% }); %>
</div>
</div>
<script>
function switchCodeTab(containerId, tabId) {
// Update all code-tabs-containers on the page
document.querySelectorAll('.code-tabs-container').forEach(container => {
// Update tabs
container.querySelectorAll('.code-tab').forEach(tab => {
const isActive = tab.dataset.tabId === tabId;
tab.setAttribute('aria-selected', isActive ? 'true' : 'false');
// Update tab styling
if (isActive) {
tab.classList.remove('text-slate-400', 'hover:text-slate-300', 'hover:bg-slate-800/30');
tab.classList.add('text-indigo-400', 'bg-slate-800/50');
} else {
tab.classList.add('text-slate-400', 'hover:text-slate-300', 'hover:bg-slate-800/30');
tab.classList.remove('text-indigo-400', 'bg-slate-800/50');
}
});
// Update panels
container.querySelectorAll('.code-panel').forEach(panel => {
if (panel.dataset.panelId === tabId) {
panel.classList.remove('hidden');
// Apply syntax highlighting to code blocks
panel.querySelectorAll('pre code').forEach((block) => {
if (window.hljs && !block.dataset.highlighted) {
hljs.highlightElement(block);
block.dataset.highlighted = 'true';
}
});
} else {
panel.classList.add('hidden');
}
});
});
// Store preference in localStorage (only for non-preview tabs)
if (tabId !== 'preview') {
try {
localStorage.setItem('preferred-code-lang', tabId);
} catch (e) {}
}
}
function copyCodeFromPanel(btn) {
const panel = btn.closest('.code-panel');
const code = panel.querySelector('code');
if (code) {
navigator.clipboard.writeText(code.textContent).then(() => {
showCopySuccess(btn);
});
}
}
function copyPreviewFromPanel(btn) {
const panel = btn.closest('.code-panel');
const headers = panel.querySelector('.preview-headers');
const body = panel.querySelector('.preview-body');
let textToCopy = '';
if (headers) {
textToCopy += headers.textContent;
}
if (body) {
textToCopy += '\n\n' + body.textContent;
}
navigator.clipboard.writeText(textToCopy).then(() => {
showCopySuccess(btn);
});
}
function showCopySuccess(btn) {
const copyIcon = btn.querySelector('.copy-icon');
const checkIcon = btn.querySelector('.check-icon');
const copyText = btn.querySelector('.copy-text');
copyIcon.classList.add('hidden');
checkIcon.classList.remove('hidden');
copyText.textContent = 'Copied!';
btn.classList.add('copied');
setTimeout(() => {
copyIcon.classList.remove('hidden');
checkIcon.classList.add('hidden');
copyText.textContent = 'Copy';
btn.classList.remove('copied');
}, 2000);
}
// Apply syntax highlighting and stored language preference on page load
document.addEventListener('DOMContentLoaded', function() {
// Wait a bit for all scripts to load, then highlight all code blocks
setTimeout(function() {
if (window.hljs) {
// Highlight ALL code blocks (including hidden ones)
document.querySelectorAll('pre code').forEach((block) => {
if (!block.classList.contains('hljs')) {
hljs.highlightElement(block);
}
});
}
// Apply stored preference if exists
try {
const preferred = localStorage.getItem('preferred-code-lang');
if (preferred && preferred !== 'preview') {
// Switch all containers to the preferred language
document.querySelectorAll('.code-tabs-container').forEach(container => {
const tab = container.querySelector(`[data-tab-id="${preferred}"]`);
if (tab) {
switchCodeTab(container.id, preferred);
}
});
}
} catch (e) {}
}, 100);
});
</script>

View File

@@ -1,33 +1,63 @@
<div class="not-prose my-6 overflow-hidden rounded-2xl bg-zinc-900 shadow-md ">
<div class="flex min-h-[calc(theme(spacing.12)+1px)] flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 ">
<h4 class="mr-auto text-xs font-semibold text-white mt-5"><%= title -%></h4>
<div class="not-prose my-6 overflow-hidden rounded-xl bg-slate-900 shadow-lg ring-1 ring-slate-800/50 code-block-wrapper">
<div class="flex min-h-[calc(theme(spacing.11)+1px)] flex-wrap items-center gap-x-4 border-b border-slate-700/50 bg-slate-800/50 px-3 sm:px-4">
<h4 class="mr-auto text-xs font-semibold text-slate-300 tracking-wide"><%= title -%></h4>
<button class="copy-btn-response" onclick="copyCodeBlock(this)" aria-label="Copy code">
<svg class="copy-icon w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path>
</svg>
<svg class="check-icon w-4 h-4 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>
<span class="copy-text">Copy</span>
</button>
</div>
<div class="group ">
<div class="group">
<% if(requestType && requestUrl){ %>
<div class="flex h-9 items-center gap-2 border-b-white/7.5 bg-zinc-900 bg-white/2.5 px-4 ">
<div class="flex flex-wrap sm:flex-nowrap items-center gap-2 sm:gap-3 py-2 sm:py-0 sm:h-10 border-b border-slate-700/30 bg-slate-800/30 px-3 sm:px-4">
<% if( requestType === "GET"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-emerald-500 ">GET</span></div>
<% } %>
<span class="inline-flex items-center rounded-md bg-emerald-500/10 px-2 py-1 text-xs font-semibold text-emerald-400 ring-1 ring-inset ring-emerald-500/20 flex-shrink-0">GET</span>
<% } %>
<% if( requestType === "POST"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-sky-500 ">POST</span></div>
<% } %>
<span class="inline-flex items-center rounded-md bg-indigo-500/10 px-2 py-1 text-xs font-semibold text-indigo-400 ring-1 ring-inset ring-indigo-500/20 flex-shrink-0">POST</span>
<% } %>
<% if( requestType === "DELETE"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-red-500 ">DELETE</span></div>
<% } %>
<span class="inline-flex items-center rounded-md bg-red-500/10 px-2 py-1 text-xs font-semibold text-red-400 ring-1 ring-inset ring-red-500/20 flex-shrink-0">DELETE</span>
<% } %>
<% if( requestType === "PUT"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-amber-500 ">PUT</span></div>
<% } %>
<span class="h-0.5 w-0.5 rounded-full bg-zinc-500"></span><span class="font-mono text-sm text-zinc-300"><%= requestUrl -%></span>
<span class="inline-flex items-center rounded-md bg-amber-500/10 px-2 py-1 text-xs font-semibold text-amber-400 ring-1 ring-inset ring-amber-500/20 flex-shrink-0">PUT</span>
<% } %>
<span class="font-mono text-xs sm:text-sm text-slate-400 break-all"><%= requestUrl -%></span>
</div>
<% } %>
<% } %>
<% if(code){ %>
<div class="relative">
<pre class="overflow-x-auto p-4 text-xs text-white"><code class="text-sm"><%= code -%></code></pre>
<pre class="overflow-x-auto p-4 text-sm text-slate-300 leading-relaxed"><code class="language-json text-sm"><%= code -%></code></pre>
</div>
<% } %>
<% } %>
</div>
</div>
</div>
<script>
function copyCodeBlock(btn) {
const codeBlock = btn.closest('.code-block-wrapper');
const code = codeBlock.querySelector('code');
if (code) {
navigator.clipboard.writeText(code.textContent).then(() => {
const copyIcon = btn.querySelector('.copy-icon');
const checkIcon = btn.querySelector('.check-icon');
const copyText = btn.querySelector('.copy-text');
copyIcon.classList.add('hidden');
checkIcon.classList.remove('hidden');
copyText.textContent = 'Copied!';
btn.classList.add('copied');
setTimeout(() => {
copyIcon.classList.remove('hidden');
checkIcon.classList.add('hidden');
copyText.textContent = 'Copy';
btn.classList.remove('copied');
}, 2000);
});
}
}
</script>

View File

@@ -1,31 +1,41 @@
<footer class="mx-auto max-w-2xl space-y-10 pb-16 lg:max-w-5xl">
<div
class="flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 sm:flex-row">
<p class="text-xs text-zinc-600 ">
OneUptime documentation is under MIT license. Please feel free to contribute and improve it on GitHub.
</p>
<div class="flex gap-4">
<a class="group" href="https://twitter.com/OneUptimeHQ" target="_blank">
<span class="sr-only">Follow us on Twitter</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 :fill-zinc-500">
<path
d="M16.712 6.652c.01.146.01.29.01.436 0 4.449-3.267 9.579-9.242 9.579v-.003a8.963 8.963 0 0 1-4.98-1.509 6.379 6.379 0 0 0 4.807-1.396c-1.39-.027-2.608-.966-3.035-2.337.487.097.99.077 1.467-.059-1.514-.316-2.606-1.696-2.606-3.3v-.041c.45.26.956.404 1.475.42C3.18 7.454 2.74 5.486 3.602 3.947c1.65 2.104 4.083 3.382 6.695 3.517a3.446 3.446 0 0 1 .94-3.217 3.172 3.172 0 0 1 4.596.148 6.38 6.38 0 0 0 2.063-.817 3.357 3.357 0 0 1-1.428 1.861 6.283 6.283 0 0 0 1.865-.53 6.735 6.735 0 0 1-1.62 1.744Z">
</path>
</svg>
</a>
<a class="group" href="https://github.com/oneuptime/oneuptime" target="_blank">
<span class="sr-only">Follow us on GitHub</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 :fill-zinc-500">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z">
</path>
</svg>
</a>
<footer class="mx-auto w-full space-y-10 pb-16">
<div class="mt-12 sm:mt-16 pt-8 border-t border-slate-200">
<div class="rounded-xl bg-gradient-to-r from-slate-50 to-slate-100/50 p-4 sm:p-6 ring-1 ring-slate-200/50">
<div class="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4">
<div class="flex items-center gap-4">
<div class="flex-shrink-0 rounded-lg bg-indigo-100 p-2.5">
<svg class="h-5 w-5 text-indigo-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
</svg>
</div>
<div>
<h3 class="text-sm font-semibold text-slate-900 mb-1">Open Source</h3>
<p class="text-sm text-slate-600 leading-relaxed">
OneUptime API documentation is under Apache 2.0 license. Contribute on GitHub.
</p>
</div>
</div>
<div class="flex gap-3">
<a class="group flex items-center justify-center w-9 h-9 rounded-lg bg-white ring-1 ring-slate-200 hover:ring-indigo-300 hover:bg-indigo-50 transition-all" href="https://twitter.com/OneUptimeHQ" target="_blank">
<span class="sr-only">Follow us on Twitter</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-4 w-4 fill-slate-500 transition group-hover:fill-indigo-600">
<path
d="M16.712 6.652c.01.146.01.29.01.436 0 4.449-3.267 9.579-9.242 9.579v-.003a8.963 8.963 0 0 1-4.98-1.509 6.379 6.379 0 0 0 4.807-1.396c-1.39-.027-2.608-.966-3.035-2.337.487.097.99.077 1.467-.059-1.514-.316-2.606-1.696-2.606-3.3v-.041c.45.26.956.404 1.475.42C3.18 7.454 2.74 5.486 3.602 3.947c1.65 2.104 4.083 3.382 6.695 3.517a3.446 3.446 0 0 1 .94-3.217 3.172 3.172 0 0 1 4.596.148 6.38 6.38 0 0 0 2.063-.817 3.357 3.357 0 0 1-1.428 1.861 6.283 6.283 0 0 0 1.865-.53 6.735 6.735 0 0 1-1.62 1.744Z">
</path>
</svg>
</a>
<a class="group flex items-center justify-center w-9 h-9 rounded-lg bg-white ring-1 ring-slate-200 hover:ring-indigo-300 hover:bg-indigo-50 transition-all" href="https://github.com/oneuptime/oneuptime" target="_blank">
<span class="sr-only">Follow us on GitHub</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-4 w-4 fill-slate-500 transition group-hover:fill-indigo-600">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z">
</path>
</svg>
</a>
</div>
</div>
</div>
</div>
</footer>
</footer>

View File

@@ -4,90 +4,377 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<!-- Load additional language support -->
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/python.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/go.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/java.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/csharp.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/php.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/ruby.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/rust.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/powershell.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/json.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/typescript.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<script>
function applyStyles() {
applyStylesTo("h1", "font-bold text-2xl mb-5")
applyStylesTo("h2", "mb-5 scroll-mt-24 mt-24 font-bold text-xl")
applyStylesTo("h3", "mb-5 scroll-mt-24 mt-10 font-bold text-base")
applyStylesTo("p", "mb-5")
applyStylesTo("link", "text-emerald-500 hover:text-emerald-600")
applyStylesTo("model-inline-code", "rounded p-0.5 px-1 text-sm text-gray-50 bg-gray-600 border-2 border-gray-600 shadow")
applyStylesTo("inline-code", "rounded p-0.5 px-1 text-sm text-gray-500 bg-gray-100 border-2 border-gray-200")
applyStylesTo("h1", "font-bold text-2xl mb-6 text-slate-900 tracking-tight")
applyStylesTo("h2", "mb-5 scroll-mt-24 mt-16 font-semibold text-xl text-slate-900 tracking-tight")
applyStylesTo("h3", "mb-4 scroll-mt-24 mt-10 font-semibold text-base text-slate-800")
applyStylesTo("p", "mb-5 text-slate-600 leading-7")
applyStylesTo("link", "text-indigo-600 hover:text-indigo-700 font-medium transition-colors")
applyStylesTo("model-inline-code", "rounded-md py-0.5 px-1.5 text-sm font-medium text-slate-700 bg-slate-100 border border-slate-200")
applyStylesTo("inline-code", "rounded-md py-0.5 px-1.5 text-sm font-medium text-slate-700 bg-slate-100 border border-slate-200")
}
function applyStylesTo(tagOrClassName, classList) {
let elements = document.getElementsByClassName(tagOrClassName);
if(elements.length === 0){
elements = document.getElementsByTagName(tagOrClassName);
}
for (var i = 0, all = elements.length; i < all; i++) {
classList.split(" ").map((classItem)=> {
elements[i].classList.add(classItem);
})
}
}
</script>
<style>
.hljs {
color: unset;
background-color: unset;
}
.hljs-string {
color: #6ee7b7
}
.hljs-number {
color: #7dd3fc
}
.hljs-punctuation {
color: #e5e7eb
}
.hljs-comment {
color: #9ca3af
}
.hljs-keyword{
color: #7dd3fc;
font-weight: unset;
}
.hljs-attr{
color: #fda4af;
}
* {
font-family: Inter;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
/* Better prose styling */
.prose p {
color: #475569;
line-height: 1.75;
}
.prose .lead {
font-size: 1.125rem;
color: #64748b;
line-height: 1.75;
}
.prose hr {
border-color: #e2e8f0;
margin-top: 2.5rem;
margin-bottom: 2.5rem;
}
.prose ul {
list-style: none;
padding: 0;
}
/* Syntax highlighting - comprehensive token styles */
.hljs {
background: transparent !important;
}
/* Keywords: import, from, def, class, if, else, for, while, return, etc. */
.hljs-keyword,
.hljs-built_in,
.hljs-type,
.hljs-literal,
.hljs-symbol {
color: #c792ea !important;
}
/* Strings */
.hljs-string,
.hljs-doctag,
.hljs-regexp {
color: #c3e88d !important;
}
/* Numbers */
.hljs-number {
color: #f78c6c !important;
}
/* Comments */
.hljs-comment {
color: #676e95 !important;
font-style: italic;
}
/* Function/method names */
.hljs-title,
.hljs-title.function_,
.hljs-title.class_ {
color: #82aaff !important;
}
/* Variables and parameters */
.hljs-variable,
.hljs-params,
.hljs-attr {
color: #f07178 !important;
}
/* Properties and attributes */
.hljs-property,
.hljs-attribute {
color: #ffcb6b !important;
}
/* Punctuation */
.hljs-punctuation {
color: #89ddff !important;
}
/* Operators */
.hljs-operator {
color: #89ddff !important;
}
/* Meta/preprocessor */
.hljs-meta {
color: #ffcb6b !important;
}
/* Section headers */
.hljs-section {
color: #82aaff !important;
}
/* Names (function calls, etc) */
.hljs-name {
color: #f07178 !important;
}
/* Selector tags in CSS */
.hljs-selector-tag,
.hljs-selector-class,
.hljs-selector-id {
color: #c792ea !important;
}
/* Template variables */
.hljs-template-variable {
color: #f07178 !important;
}
/* Deletion/addition in diffs */
.hljs-deletion {
color: #f07178 !important;
}
.hljs-addition {
color: #c3e88d !important;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}
::-webkit-scrollbar-thumb {
background: #e2e8f0;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #cbd5e1;
}
/* Code block copy button */
.code-block-wrapper {
position: relative;
}
/* Response block copy button */
.copy-btn-response {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
font-size: 12px;
font-weight: 500;
color: #94a3b8;
background: rgba(30, 41, 59, 0.6);
border: 1px solid #334155;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
}
.copy-btn-response:hover {
color: #f1f5f9;
background: #334155;
border-color: #475569;
}
.copy-btn-response.copied {
color: #22c55e;
border-color: #22c55e;
background: rgba(34, 197, 94, 0.1);
}
/* Code tabs styling */
.code-tabs-container {
--tab-hover-bg: rgba(30, 41, 59, 0.5);
}
.code-tab {
position: relative;
border-bottom: 2px solid transparent;
}
.code-tab[aria-selected="true"] {
border-bottom-color: #6366f1;
}
.code-panel {
position: relative;
}
.copy-btn-tabs {
position: absolute;
top: 12px;
right: 12px;
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
font-size: 12px;
font-weight: 500;
color: #94a3b8;
background: rgba(30, 41, 59, 0.9);
border: 1px solid #334155;
border-radius: 6px;
cursor: pointer;
opacity: 0;
transition: all 0.15s ease;
z-index: 10;
backdrop-filter: blur(4px);
}
.code-panel:hover .copy-btn-tabs {
opacity: 1;
}
.copy-btn-tabs:hover {
color: #f1f5f9;
background: #334155;
border-color: #475569;
}
.copy-btn-tabs.copied {
color: #22c55e;
border-color: #22c55e;
background: rgba(34, 197, 94, 0.1);
}
/* Code content min-height for consistent sizing */
.code-content {
min-height: 200px;
}
/* Fix code tabs width - prevent content from expanding container */
.code-tabs-container {
width: 100%;
max-width: 100%;
overflow: hidden;
}
.code-tabs-container pre {
width: 0;
min-width: 100%;
overflow-x: auto;
}
.code-panel {
width: 100%;
max-width: 100%;
overflow: hidden;
}
.code-content {
width: 100%;
max-width: 100%;
overflow: hidden;
}
.code-content pre code {
display: block;
white-space: pre;
word-wrap: normal;
}
/* Hide scrollbar for tabs but keep functionality */
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* Tab indicator animation */
.tab-indicator {
transition: all 0.2s ease;
}
/* Code panel base styles */
.code-panel pre {
margin: 0;
background: transparent;
}
.code-panel code {
font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', Consolas, monospace;
font-size: 13px;
line-height: 1.6;
color: #e2e8f0;
}
/* Better focus states */
a:focus-visible, button:focus-visible {
outline: 2px solid #6366f1;
outline-offset: 2px;
border-radius: 4px;
}
/* Smooth transitions */
a, button {
transition: all 0.15s ease;
}
/* Property list styling */
.property-item {
padding: 1rem 0;
border-bottom: 1px solid #f1f5f9;
}
.property-item:last-child {
border-bottom: none;
}
/* Endpoint card styling */
.endpoint-card {
background: linear-gradient(to right, #fafafa, white);
border-radius: 0.75rem;
padding: 1.5rem;
border: 1px solid #e2e8f0;
margin-bottom: 1.5rem;
}
/* Calendar picker */
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
background: transparent;
bottom: 0;
@@ -101,7 +388,6 @@
width: auto;
}
</style>
<script src="https://cdn.tailwindcss.com"></script>
<% if(typeof enableGoogleTagManager !== 'undefined' ? enableGoogleTagManager : false){ %>
@@ -135,7 +421,6 @@
<link rel="apple-touch-icon-precomposed" href="/img/ou-wb.svg">
<link rel="icon" href="/img/ou-wb.svg">
<link rel="image_src" type="image/png" href="/img/hou-wb.svg">
<link rel="canonical" href="/">
<link rel="manifest" href="/manifest.json">
<meta property="og:title" content="OneUptime - One Complete Observability platform.">
<meta property="og:url" content="https://oneuptime.com">
@@ -145,7 +430,7 @@
<meta property="og:image" content="https://oneuptime.com/img/hou-wb.svg">
<meta name="twitter:card" content="summary">
<meta name="theme-color" content="#000000">
<meta name="theme-color" content="#6366f1">
<meta name="twitter:image" content="/img/ou-wb.svg">
<meta name="twitter:site" content="@oneuptimeinc">
<meta name="twitter:title" content="OneUptime - One Complete Observability platform.">

View File

@@ -1,9 +1,92 @@
<header class="contents lg:pointer-events-none lg:fixed lg:inset-0 lg:z-40 lg:flex">
<div
class="contents lg:pointer-events-auto lg:block lg:w-72 lg:overflow-y-auto lg:border-r lg:border-zinc-900/10 lg:px-6 lg:pt-4 lg:pb-8 xl:w-80">
<div class="hidden lg:flex">
class="contents lg:pointer-events-auto lg:block lg:w-72 lg:overflow-y-auto lg:border-r lg:border-slate-200/80 lg:px-6 lg:pt-6 lg:pb-8 xl:w-80 lg:bg-gradient-to-b lg:from-slate-50 lg:to-white">
<div class="hidden lg:flex lg:items-center lg:mb-8">
<a aria-label="Home" href="/">
<svg class="h-6 -ml-48" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
<svg class="h-7" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375 75" preserveAspectRatio="xMidYMid meet">
<defs>
<g></g>
<clipPath id="1d83d73318">
<path d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " clip-rule="nonzero"></path>
</clipPath>
<clipPath id="32c1ad7ad2">
<path d="M 366.480469 51.03125 L 352.816406 51.03125 C 352.253906 51.03125 351.792969 50.574219 351.792969 50.007812 L 351.792969 36.347656 C 351.792969 35.785156 352.253906 35.324219 352.816406 35.324219 L 366.480469 35.324219 C 367.042969 35.324219 367.5 35.785156 367.5 36.347656 L 367.5 50.007812 C 367.5 50.574219 367.042969 51.03125 366.480469 51.03125 " clip-rule="nonzero"></path>
</clipPath>
</defs>
<g clip-path="url(#1d83d73318)">
<g clip-path="url(#32c1ad7ad2)">
<path fill="#7ed957" d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " fill-opacity="1" fill-rule="nonzero"></path>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(11.173064, 55.95717)">
<g>
<path d="M 1.5625 -21.828125 C 1.5625 -25.191406 2.054688 -28.320312 3.046875 -31.21875 C 4.046875 -34.164062 5.5 -36.71875 7.40625 -38.875 C 9.3125 -41.070312 11.632812 -42.773438 14.375 -43.984375 C 15.738281 -44.597656 17.195312 -45.0625 18.75 -45.375 C 20.3125 -45.6875 21.941406 -45.84375 23.640625 -45.84375 C 25.335938 -45.84375 26.960938 -45.6875 28.515625 -45.375 C 30.078125 -45.0625 31.539062 -44.578125 32.90625 -43.921875 C 34.269531 -43.296875 35.53125 -42.546875 36.6875 -41.671875 C 37.851562 -40.804688 38.914062 -39.8125 39.875 -38.6875 C 41.78125 -36.53125 43.25 -34.003906 44.28125 -31.109375 C 45.28125 -28.203125 45.78125 -25.109375 45.78125 -21.828125 C 45.78125 -18.554688 45.28125 -15.46875 44.28125 -12.5625 C 43.957031 -11.613281 43.578125 -10.679688 43.140625 -9.765625 C 42.703125 -8.847656 42.210938 -7.984375 41.671875 -7.171875 C 41.140625 -6.367188 40.5625 -5.597656 39.9375 -4.859375 C 38.976562 -3.734375 37.90625 -2.734375 36.71875 -1.859375 C 35.539062 -0.992188 34.289062 -0.25 32.96875 0.375 C 30.226562 1.65625 27.113281 2.296875 23.625 2.296875 C 20.144531 2.296875 17.039062 1.65625 14.3125 0.375 C 13.644531 0.0390625 13 -0.3125 12.375 -0.6875 C 11.757812 -1.0625 11.160156 -1.460938 10.578125 -1.890625 C 9.992188 -2.328125 9.429688 -2.796875 8.890625 -3.296875 C 8.359375 -3.796875 7.863281 -4.316406 7.40625 -4.859375 C 5.5 -7.054688 4.046875 -9.625 3.046875 -12.5625 C 2.054688 -15.46875 1.5625 -18.554688 1.5625 -21.828125 Z M 10.703125 -21.828125 C 10.703125 -20.796875 10.773438 -19.769531 10.921875 -18.75 C 11.066406 -17.738281 11.28125 -16.734375 11.5625 -15.734375 C 11.894531 -14.785156 12.269531 -13.882812 12.6875 -13.03125 C 13.101562 -12.175781 13.601562 -11.378906 14.1875 -10.640625 C 14.351562 -10.390625 14.535156 -10.160156 14.734375 -9.953125 C 14.941406 -9.742188 15.148438 -9.535156 15.359375 -9.328125 C 15.566406 -9.117188 15.785156 -8.910156 16.015625 -8.703125 C 16.242188 -8.492188 16.484375 -8.304688 16.734375 -8.140625 C 16.984375 -7.984375 17.234375 -7.820312 17.484375 -7.65625 C 17.734375 -7.488281 17.976562 -7.320312 18.21875 -7.15625 C 19.800781 -6.320312 21.609375 -5.90625 23.640625 -5.90625 C 24.378906 -5.90625 25.082031 -5.945312 25.75 -6.03125 C 26.414062 -6.113281 27.035156 -6.25 27.609375 -6.4375 C 28.191406 -6.625 28.734375 -6.84375 29.234375 -7.09375 C 30.847656 -7.875 32.195312 -8.953125 33.28125 -10.328125 C 33.65625 -10.785156 33.984375 -11.269531 34.265625 -11.78125 C 34.554688 -12.300781 34.828125 -12.863281 35.078125 -13.46875 C 35.328125 -14.070312 35.554688 -14.679688 35.765625 -15.296875 C 36.347656 -17.328125 36.640625 -19.503906 36.640625 -21.828125 C 36.640625 -23.898438 36.328125 -25.894531 35.703125 -27.8125 C 35.117188 -29.71875 34.25 -31.414062 33.09375 -32.90625 C 31.96875 -34.351562 30.617188 -35.515625 29.046875 -36.390625 C 27.472656 -37.222656 25.671875 -37.640625 23.640625 -37.640625 C 23.140625 -37.640625 22.640625 -37.617188 22.140625 -37.578125 C 21.640625 -37.535156 21.160156 -37.460938 20.703125 -37.359375 C 20.253906 -37.253906 19.820312 -37.128906 19.40625 -36.984375 C 18.988281 -36.835938 18.59375 -36.660156 18.21875 -36.453125 C 17.394531 -36.078125 16.648438 -35.617188 15.984375 -35.078125 C 15.316406 -34.546875 14.71875 -33.925781 14.1875 -33.21875 C 13.0625 -31.8125 12.1875 -30.148438 11.5625 -28.234375 C 10.988281 -26.242188 10.703125 -24.109375 10.703125 -21.828125 Z M 10.703125 -21.828125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(58.505968, 55.95717)">
<g>
<path d="M 11.9375 -31.046875 C 12.269531 -31.367188 12.601562 -31.65625 12.9375 -31.90625 C 13.269531 -32.15625 13.625 -32.382812 14 -32.59375 C 16.070312 -33.957031 18.5 -34.640625 21.28125 -34.640625 C 23.3125 -34.640625 25.113281 -34.316406 26.6875 -33.671875 C 28.257812 -33.035156 29.585938 -32.078125 30.671875 -30.796875 C 32.703125 -28.304688 33.71875 -25.070312 33.71875 -21.09375 L 33.71875 1.5625 L 25 1.5625 L 25 -20.46875 C 25 -21.164062 24.945312 -21.804688 24.84375 -22.390625 C 24.738281 -22.972656 24.59375 -23.488281 24.40625 -23.9375 C 24.226562 -24.394531 23.992188 -24.789062 23.703125 -25.125 C 23.453125 -25.457031 23.171875 -25.738281 22.859375 -25.96875 C 22.546875 -26.195312 22.179688 -26.363281 21.765625 -26.46875 C 21.359375 -26.570312 20.882812 -26.625 20.34375 -26.625 C 19.59375 -26.625 18.84375 -26.476562 18.09375 -26.1875 C 17.3125 -25.894531 16.546875 -25.476562 15.796875 -24.9375 C 15.054688 -24.363281 14.351562 -23.722656 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.046875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(95.327364, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(129.163241, 55.95717)">
<g>
<path d="M 31.28125 -45.09375 L 38.5625 -45.09375 L 38.5625 -16.796875 C 38.5625 -13.890625 38.148438 -11.253906 37.328125 -8.890625 C 36.492188 -6.523438 35.289062 -4.492188 33.71875 -2.796875 C 33.382812 -2.460938 33.039062 -2.148438 32.6875 -1.859375 C 32.332031 -1.578125 31.976562 -1.289062 31.625 -1 C 31.28125 -0.707031 30.910156 -0.445312 30.515625 -0.21875 C 30.117188 0.0078125 29.710938 0.226562 29.296875 0.4375 C 28.878906 0.644531 28.441406 0.832031 27.984375 1 C 25.828125 1.863281 23.425781 2.296875 20.78125 2.296875 C 15.257812 2.296875 10.925781 0.660156 7.78125 -2.609375 C 4.664062 -5.890625 3.109375 -10.535156 3.109375 -16.546875 L 3.109375 -45.09375 L 12.125 -45.09375 L 12.125 -17.484375 C 12.125 -13.617188 12.875 -10.691406 14.375 -8.703125 C 15.03125 -7.796875 15.875 -7.113281 16.90625 -6.65625 C 17.945312 -6.195312 19.238281 -5.96875 20.78125 -5.96875 C 23.800781 -5.96875 26.019531 -6.878906 27.4375 -8.703125 C 28.96875 -10.648438 29.734375 -13.578125 29.734375 -17.484375 L 29.734375 -45.09375 Z M 31.28125 -45.09375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(170.836098, 55.95717)">
<g>
<path d="M 3.671875 -33.90625 C 4.492188 -33.90625 5.257812 -33.84375 5.96875 -33.71875 C 6.675781 -33.59375 7.347656 -33.394531 7.984375 -33.125 C 8.628906 -32.851562 9.222656 -32.507812 9.765625 -32.09375 C 10.304688 -31.675781 10.765625 -31.179688 11.140625 -30.609375 C 11.835938 -31.304688 12.644531 -31.925781 13.5625 -32.46875 C 13.8125 -32.632812 14.0625 -32.789062 14.3125 -32.9375 C 14.5625 -33.082031 14.828125 -33.21875 15.109375 -33.34375 C 15.398438 -33.46875 15.691406 -33.582031 15.984375 -33.6875 C 16.273438 -33.789062 16.566406 -33.90625 16.859375 -34.03125 C 17.523438 -34.238281 18.207031 -34.390625 18.90625 -34.484375 C 19.613281 -34.585938 20.34375 -34.640625 21.09375 -34.640625 C 23.164062 -34.640625 25.164062 -34.222656 27.09375 -33.390625 C 29.019531 -32.566406 30.707031 -31.367188 32.15625 -29.796875 C 33.613281 -28.222656 34.753906 -26.316406 35.578125 -24.078125 C 35.867188 -23.328125 36.109375 -22.535156 36.296875 -21.703125 C 36.484375 -20.878906 36.628906 -20.03125 36.734375 -19.15625 C 36.835938 -18.289062 36.890625 -17.398438 36.890625 -16.484375 C 36.890625 -13.742188 36.472656 -11.210938 35.640625 -8.890625 C 35.222656 -7.773438 34.734375 -6.71875 34.171875 -5.71875 C 33.617188 -4.726562 32.96875 -3.816406 32.21875 -2.984375 C 31.96875 -2.648438 31.6875 -2.335938 31.375 -2.046875 C 31.070312 -1.765625 30.753906 -1.476562 30.421875 -1.1875 C 30.085938 -0.894531 29.753906 -0.625 29.421875 -0.375 C 29.085938 -0.125 28.734375 0.101562 28.359375 0.3125 C 27.992188 0.519531 27.625 0.707031 27.25 0.875 C 26.289062 1.375 25.300781 1.734375 24.28125 1.953125 C 23.269531 2.179688 22.25 2.296875 21.21875 2.296875 C 19.019531 2.296875 17.003906 1.863281 15.171875 1 C 14.515625 0.707031 13.894531 0.375 13.3125 0 L 13.3125 15.234375 L 4.609375 15.234375 L 4.609375 -24.078125 C 4.609375 -25.023438 4.441406 -25.644531 4.109375 -25.9375 C 3.734375 -26.269531 3.191406 -26.4375 2.484375 -26.4375 L 0.4375 -26.4375 L 1 -28.421875 L 2.171875 -32.78125 L 2.484375 -33.90625 Z M 28.046875 -16.296875 C 28.046875 -17.171875 27.984375 -17.976562 27.859375 -18.71875 C 27.742188 -19.46875 27.570312 -20.160156 27.34375 -20.796875 C 27.113281 -21.441406 26.851562 -22.035156 26.5625 -22.578125 C 26.269531 -23.117188 25.9375 -23.617188 25.5625 -24.078125 C 24.820312 -24.941406 23.960938 -25.59375 22.984375 -26.03125 C 22.003906 -26.46875 20.957031 -26.6875 19.84375 -26.6875 C 19.09375 -26.6875 18.382812 -26.59375 17.71875 -26.40625 C 17.0625 -26.21875 16.441406 -25.9375 15.859375 -25.5625 C 14.785156 -24.894531 13.9375 -24.191406 13.3125 -23.453125 L 13.3125 -8.703125 C 14.1875 -7.921875 15.140625 -7.257812 16.171875 -6.71875 C 17.335938 -6.09375 18.644531 -5.78125 20.09375 -5.78125 C 21.25 -5.78125 22.304688 -6.007812 23.265625 -6.46875 C 24.210938 -6.96875 25.039062 -7.648438 25.75 -8.515625 C 26.125 -8.972656 26.445312 -9.472656 26.71875 -10.015625 C 26.988281 -10.554688 27.226562 -11.15625 27.4375 -11.8125 C 27.644531 -12.476562 27.796875 -13.179688 27.890625 -13.921875 C 27.992188 -14.671875 28.046875 -15.460938 28.046875 -16.296875 Z M 28.046875 -16.296875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(208.963656, 55.95717)">
<g>
<path d="M 7.53125 -42.921875 L 13.375 -42.921875 L 13.375 -32.71875 L 22.328125 -32.71875 L 22.328125 -24.75 L 13.375 -24.75 L 13.375 -10.703125 C 13.375 -9.660156 13.476562 -8.8125 13.6875 -8.15625 C 13.894531 -7.53125 14.144531 -7.050781 14.4375 -6.71875 C 14.71875 -6.382812 15.066406 -6.15625 15.484375 -6.03125 C 15.734375 -5.945312 15.984375 -5.882812 16.234375 -5.84375 C 16.484375 -5.800781 16.734375 -5.78125 16.984375 -5.78125 C 17.847656 -5.78125 18.632812 -5.90625 19.34375 -6.15625 C 20.21875 -6.488281 21.023438 -6.863281 21.765625 -7.28125 L 23.390625 -8.15625 L 24.015625 -6.40625 L 25.5625 -1.921875 L 25.9375 -0.75 L 24.875 -0.125 C 23.96875 0.457031 22.75 1 21.21875 1.5 C 20.425781 1.78125 19.613281 1.984375 18.78125 2.109375 C 17.957031 2.234375 17.128906 2.296875 16.296875 2.296875 C 12.734375 2.296875 9.894531 1.113281 7.78125 -1.25 C 6.695312 -2.445312 5.90625 -3.875 5.40625 -5.53125 C 4.914062 -7.195312 4.671875 -9.066406 4.671875 -11.140625 L 4.671875 -24.75 L -0.9375 -24.75 L -0.9375 -32.71875 L 4.96875 -32.71875 L 5.96875 -41.546875 L 6.15625 -42.921875 Z M 7.53125 -42.921875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(233.656391, 55.95717)">
<g>
<path d="M 10.578125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 12.125 -33.90625 L 12.125 1.5625 Z M 7.78125 -36.328125 C 6.28125 -36.328125 4.988281 -36.863281 3.90625 -37.9375 C 2.832031 -39.019531 2.296875 -40.304688 2.296875 -41.796875 C 2.296875 -43.410156 2.800781 -44.726562 3.8125 -45.75 C 4.832031 -46.769531 6.15625 -47.28125 7.78125 -47.28125 C 8.519531 -47.28125 9.222656 -47.144531 9.890625 -46.875 C 10.554688 -46.601562 11.144531 -46.207031 11.65625 -45.6875 C 12.175781 -45.164062 12.570312 -44.570312 12.84375 -43.90625 C 13.113281 -43.25 13.25 -42.546875 13.25 -41.796875 C 13.25 -40.179688 12.738281 -38.863281 11.71875 -37.84375 C 10.707031 -36.832031 9.394531 -36.328125 7.78125 -36.328125 Z M 7.78125 -36.328125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(249.205965, 55.95717)">
<g>
<path d="M 11.9375 -31.109375 C 12.269531 -31.390625 12.59375 -31.65625 12.90625 -31.90625 C 13.21875 -32.15625 13.5625 -32.382812 13.9375 -32.59375 C 14.4375 -32.925781 14.953125 -33.226562 15.484375 -33.5 C 16.023438 -33.769531 16.59375 -33.984375 17.1875 -34.140625 C 17.789062 -34.304688 18.394531 -34.429688 19 -34.515625 C 19.601562 -34.597656 20.238281 -34.640625 20.90625 -34.640625 C 23.800781 -34.640625 26.203125 -33.914062 28.109375 -32.46875 C 29.273438 -31.59375 30.234375 -30.515625 30.984375 -29.234375 C 32.015625 -30.398438 33.113281 -31.4375 34.28125 -32.34375 C 34.6875 -32.632812 35.117188 -32.90625 35.578125 -33.15625 C 36.035156 -33.40625 36.507812 -33.625 37 -33.8125 C 37.5 -34 38.007812 -34.148438 38.53125 -34.265625 C 39.050781 -34.390625 39.578125 -34.484375 40.109375 -34.546875 C 40.648438 -34.609375 41.210938 -34.640625 41.796875 -34.640625 C 42.046875 -34.640625 42.285156 -34.640625 42.515625 -34.640625 C 42.742188 -34.640625 42.972656 -34.628906 43.203125 -34.609375 C 43.429688 -34.585938 43.65625 -34.554688 43.875 -34.515625 C 44.101562 -34.472656 44.320312 -34.429688 44.53125 -34.390625 C 44.738281 -34.359375 44.945312 -34.320312 45.15625 -34.28125 C 45.363281 -34.238281 45.570312 -34.1875 45.78125 -34.125 C 45.988281 -34.0625 46.195312 -33.988281 46.40625 -33.90625 C 46.613281 -33.820312 46.820312 -33.738281 47.03125 -33.65625 C 47.394531 -33.488281 47.753906 -33.300781 48.109375 -33.09375 C 48.460938 -32.882812 48.796875 -32.65625 49.109375 -32.40625 C 49.421875 -32.15625 49.722656 -31.894531 50.015625 -31.625 C 50.304688 -31.351562 50.570312 -31.054688 50.8125 -30.734375 C 51.851562 -29.523438 52.601562 -28.09375 53.0625 -26.4375 C 53.5625 -24.820312 53.8125 -23.039062 53.8125 -21.09375 L 53.8125 1.5625 L 45.09375 1.5625 L 45.09375 -20.65625 C 45.09375 -22.5625 44.679688 -24.070312 43.859375 -25.1875 C 43.109375 -26.144531 42.09375 -26.625 40.8125 -26.625 C 40.0625 -26.625 39.351562 -26.476562 38.6875 -26.1875 C 37.945312 -25.851562 37.242188 -25.414062 36.578125 -24.875 C 35.867188 -24.300781 35.179688 -23.640625 34.515625 -22.890625 C 34.273438 -22.554688 34.007812 -22.203125 33.71875 -21.828125 C 33.425781 -21.460938 33.175781 -21.113281 32.96875 -20.78125 L 32.96875 1.5625 L 24.265625 1.5625 L 24.265625 -20.65625 C 24.265625 -22.5625 23.847656 -24.070312 23.015625 -25.1875 C 22.265625 -26.144531 21.25 -26.625 19.96875 -26.625 C 19.257812 -26.625 18.554688 -26.476562 17.859375 -26.1875 C 17.523438 -26.0625 17.171875 -25.894531 16.796875 -25.6875 C 16.421875 -25.476562 16.066406 -25.226562 15.734375 -24.9375 C 15.609375 -24.851562 15.484375 -24.757812 15.359375 -24.65625 C 15.234375 -24.5625 15.117188 -24.460938 15.015625 -24.359375 C 14.910156 -24.253906 14.796875 -24.148438 14.671875 -24.046875 C 14.554688 -23.941406 14.445312 -23.835938 14.34375 -23.734375 C 14.238281 -23.628906 14.132812 -23.515625 14.03125 -23.390625 C 13.925781 -23.265625 13.8125 -23.140625 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.109375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(306.117405, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
</svg>
</a>
</div>
<div class="hidden">
<a aria-label="Home" href="/">
<svg class="h-6" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="500" zoomAndPan="magnify" viewBox="0 0 375 74.999997" height="100"
preserveAspectRatio="xMidYMid meet" version="1.0">
<defs>
@@ -101,9 +184,9 @@
</svg>
</a>
</div>
<div class="fixed inset-x-0 top-0 z-50 flex h-14 border-b-2 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80 backdrop-blur-sm lg:left-72 xl:left-80 bg-white/[var(--bg-opacity-light)] /[var(--bg-opacity-dark)]"
<div class="fixed inset-x-0 top-0 z-50 flex h-14 border-b border-slate-200 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80 backdrop-blur-sm lg:left-72 xl:left-80 bg-white/95 supports-[backdrop-filter]:bg-white/80"
style="--bg-opacity-light:0.5; ">
<div class="absolute inset-x-0 top-full h-px transition bg-zinc-900/7.5 "></div>
<div class="absolute inset-x-0 top-full h-px transition bg-slate-900/5"></div>
<div class="hidden lg:block lg:max-w-md lg:flex-auto">
<!-- <button type="button"
class="hidden h-8 w-full items-center gap-2 rounded-full bg-white pl-2 pr-3 text-sm text-zinc-500 ring-1 ring-zinc-900/10 transition hover:ring-zinc-900/20 lg:flex focus:[&amp;:not(:focus-visible)]:outline-none">
@@ -116,44 +199,117 @@
</button> -->
</div>
<div class="flex items-center gap-5 lg:hidden">
<button type="button"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 "
<button type="button" id="mobile-menu-toggle"
class="flex h-8 w-8 items-center justify-center rounded-lg transition hover:bg-slate-100"
aria-label="Toggle navigation">
<svg viewBox="0 0 10 9" fill="none" stroke-linecap="round" aria-hidden="true"
class="w-2.5 stroke-zinc-900 ">
<path d="M.5 1h9M.5 8h9M.5 4.5h9"></path>
<svg id="menu-open-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" aria-hidden="true"
class="w-5 h-5 stroke-slate-700">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
<svg id="menu-close-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" aria-hidden="true"
class="w-5 h-5 stroke-slate-700 hidden">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
<a aria-label="Home" href="/">
<svg viewBox="0 0 99 24" aria-hidden="true" class="h-6">
<path class="fill-emerald-400"
d="M16 8a5 5 0 0 0-5-5H5a5 5 0 0 0-5 5v13.927a1 1 0 0 0 1.623.782l3.684-2.93a4 4 0 0 1 2.49-.87H11a5 5 0 0 0 5-5V8Z">
</path>
<path class="fill-zinc-900 "
d="M26.538 18h2.654v-3.999h2.576c2.672 0 4.456-1.723 4.456-4.333V9.65c0-2.61-1.784-4.333-4.456-4.333h-5.23V18Zm4.58-10.582c1.52 0 2.416.8 2.416 2.241v.018c0 1.441-.896 2.25-2.417 2.25h-1.925V7.418h1.925ZM38.051 18h2.566v-5.414c0-1.371.923-2.206 2.382-2.206.396 0 .791.061 1.178.15V8.287a3.843 3.843 0 0 0-.958-.123c-1.257 0-2.136.615-2.443 1.661h-.159V8.323h-2.566V18Zm11.55.202c2.979 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.773-5.036-2.953 0-4.772 1.916-4.772 5.036v.018c0 3.146 1.793 5.036 4.772 5.036Zm0-2.013c-1.372 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.144-3.023 1.354 0 2.145 1.134 2.145 3.023v.018c0 1.907-.782 3.023-2.145 3.023Zm10.52 1.846c.492 0 .967-.053 1.283-.114v-1.907a6.057 6.057 0 0 1-.755.044c-.87 0-1.24-.387-1.24-1.257v-4.544h1.995V8.323H59.41V6.012h-2.592v2.311h-1.495v1.934h1.495v5.133c0 1.88.949 2.645 3.304 2.645Zm7.287.167c2.98 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.772-5.036-2.954 0-4.773 1.916-4.773 5.036v.018c0 3.146 1.793 5.036 4.773 5.036Zm0-2.013c-1.372 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.145-3.023 1.353 0 2.144 1.134 2.144 3.023v.018c0 1.907-.782 3.023-2.144 3.023Zm10.767 2.013c2.522 0 4.034-1.353 4.297-3.463l.01-.053h-2.374l-.017.036c-.229.966-.853 1.467-1.908 1.467-1.37 0-2.135-1.08-2.135-3.04v-.018c0-1.934.755-3.006 2.135-3.006 1.099 0 1.74.615 1.908 1.556l.008.017h2.391v-.026c-.228-2.162-1.749-3.56-4.315-3.56-3.033 0-4.738 1.837-4.738 5.019v.017c0 3.217 1.714 5.054 4.738 5.054Zm10.257 0c2.98 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.772-5.036-2.953 0-4.773 1.916-4.773 5.036v.018c0 3.146 1.793 5.036 4.773 5.036Zm0-2.013c-1.371 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.145-3.023 1.353 0 2.144 1.134 2.144 3.023v.018c0 1.907-.782 3.023-2.144 3.023ZM95.025 18h2.566V4.623h-2.566V18Z">
</path>
<svg class="h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375 75" preserveAspectRatio="xMidYMid meet">
<defs>
<g></g>
<clipPath id="mobile-header-1d83d73318">
<path d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " clip-rule="nonzero"></path>
</clipPath>
<clipPath id="mobile-header-32c1ad7ad2">
<path d="M 366.480469 51.03125 L 352.816406 51.03125 C 352.253906 51.03125 351.792969 50.574219 351.792969 50.007812 L 351.792969 36.347656 C 351.792969 35.785156 352.253906 35.324219 352.816406 35.324219 L 366.480469 35.324219 C 367.042969 35.324219 367.5 35.785156 367.5 36.347656 L 367.5 50.007812 C 367.5 50.574219 367.042969 51.03125 366.480469 51.03125 " clip-rule="nonzero"></path>
</clipPath>
</defs>
<g clip-path="url(#mobile-header-1d83d73318)">
<g clip-path="url(#mobile-header-32c1ad7ad2)">
<path fill="#7ed957" d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " fill-opacity="1" fill-rule="nonzero"></path>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(11.173064, 55.95717)">
<g>
<path d="M 1.5625 -21.828125 C 1.5625 -25.191406 2.054688 -28.320312 3.046875 -31.21875 C 4.046875 -34.164062 5.5 -36.71875 7.40625 -38.875 C 9.3125 -41.070312 11.632812 -42.773438 14.375 -43.984375 C 15.738281 -44.597656 17.195312 -45.0625 18.75 -45.375 C 20.3125 -45.6875 21.941406 -45.84375 23.640625 -45.84375 C 25.335938 -45.84375 26.960938 -45.6875 28.515625 -45.375 C 30.078125 -45.0625 31.539062 -44.578125 32.90625 -43.921875 C 34.269531 -43.296875 35.53125 -42.546875 36.6875 -41.671875 C 37.851562 -40.804688 38.914062 -39.8125 39.875 -38.6875 C 41.78125 -36.53125 43.25 -34.003906 44.28125 -31.109375 C 45.28125 -28.203125 45.78125 -25.109375 45.78125 -21.828125 C 45.78125 -18.554688 45.28125 -15.46875 44.28125 -12.5625 C 43.957031 -11.613281 43.578125 -10.679688 43.140625 -9.765625 C 42.703125 -8.847656 42.210938 -7.984375 41.671875 -7.171875 C 41.140625 -6.367188 40.5625 -5.597656 39.9375 -4.859375 C 38.976562 -3.734375 37.90625 -2.734375 36.71875 -1.859375 C 35.539062 -0.992188 34.289062 -0.25 32.96875 0.375 C 30.226562 1.65625 27.113281 2.296875 23.625 2.296875 C 20.144531 2.296875 17.039062 1.65625 14.3125 0.375 C 13.644531 0.0390625 13 -0.3125 12.375 -0.6875 C 11.757812 -1.0625 11.160156 -1.460938 10.578125 -1.890625 C 9.992188 -2.328125 9.429688 -2.796875 8.890625 -3.296875 C 8.359375 -3.796875 7.863281 -4.316406 7.40625 -4.859375 C 5.5 -7.054688 4.046875 -9.625 3.046875 -12.5625 C 2.054688 -15.46875 1.5625 -18.554688 1.5625 -21.828125 Z M 10.703125 -21.828125 C 10.703125 -20.796875 10.773438 -19.769531 10.921875 -18.75 C 11.066406 -17.738281 11.28125 -16.734375 11.5625 -15.734375 C 11.894531 -14.785156 12.269531 -13.882812 12.6875 -13.03125 C 13.101562 -12.175781 13.601562 -11.378906 14.1875 -10.640625 C 14.351562 -10.390625 14.535156 -10.160156 14.734375 -9.953125 C 14.941406 -9.742188 15.148438 -9.535156 15.359375 -9.328125 C 15.566406 -9.117188 15.785156 -8.910156 16.015625 -8.703125 C 16.242188 -8.492188 16.484375 -8.304688 16.734375 -8.140625 C 16.984375 -7.984375 17.234375 -7.820312 17.484375 -7.65625 C 17.734375 -7.488281 17.976562 -7.320312 18.21875 -7.15625 C 19.800781 -6.320312 21.609375 -5.90625 23.640625 -5.90625 C 24.378906 -5.90625 25.082031 -5.945312 25.75 -6.03125 C 26.414062 -6.113281 27.035156 -6.25 27.609375 -6.4375 C 28.191406 -6.625 28.734375 -6.84375 29.234375 -7.09375 C 30.847656 -7.875 32.195312 -8.953125 33.28125 -10.328125 C 33.65625 -10.785156 33.984375 -11.269531 34.265625 -11.78125 C 34.554688 -12.300781 34.828125 -12.863281 35.078125 -13.46875 C 35.328125 -14.070312 35.554688 -14.679688 35.765625 -15.296875 C 36.347656 -17.328125 36.640625 -19.503906 36.640625 -21.828125 C 36.640625 -23.898438 36.328125 -25.894531 35.703125 -27.8125 C 35.117188 -29.71875 34.25 -31.414062 33.09375 -32.90625 C 31.96875 -34.351562 30.617188 -35.515625 29.046875 -36.390625 C 27.472656 -37.222656 25.671875 -37.640625 23.640625 -37.640625 C 23.140625 -37.640625 22.640625 -37.617188 22.140625 -37.578125 C 21.640625 -37.535156 21.160156 -37.460938 20.703125 -37.359375 C 20.253906 -37.253906 19.820312 -37.128906 19.40625 -36.984375 C 18.988281 -36.835938 18.59375 -36.660156 18.21875 -36.453125 C 17.394531 -36.078125 16.648438 -35.617188 15.984375 -35.078125 C 15.316406 -34.546875 14.71875 -33.925781 14.1875 -33.21875 C 13.0625 -31.8125 12.1875 -30.148438 11.5625 -28.234375 C 10.988281 -26.242188 10.703125 -24.109375 10.703125 -21.828125 Z M 10.703125 -21.828125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(58.505968, 55.95717)">
<g>
<path d="M 11.9375 -31.046875 C 12.269531 -31.367188 12.601562 -31.65625 12.9375 -31.90625 C 13.269531 -32.15625 13.625 -32.382812 14 -32.59375 C 16.070312 -33.957031 18.5 -34.640625 21.28125 -34.640625 C 23.3125 -34.640625 25.113281 -34.316406 26.6875 -33.671875 C 28.257812 -33.035156 29.585938 -32.078125 30.671875 -30.796875 C 32.703125 -28.304688 33.71875 -25.070312 33.71875 -21.09375 L 33.71875 1.5625 L 25 1.5625 L 25 -20.46875 C 25 -21.164062 24.945312 -21.804688 24.84375 -22.390625 C 24.738281 -22.972656 24.59375 -23.488281 24.40625 -23.9375 C 24.226562 -24.394531 23.992188 -24.789062 23.703125 -25.125 C 23.453125 -25.457031 23.171875 -25.738281 22.859375 -25.96875 C 22.546875 -26.195312 22.179688 -26.363281 21.765625 -26.46875 C 21.359375 -26.570312 20.882812 -26.625 20.34375 -26.625 C 19.59375 -26.625 18.84375 -26.476562 18.09375 -26.1875 C 17.3125 -25.894531 16.546875 -25.476562 15.796875 -24.9375 C 15.054688 -24.363281 14.351562 -23.722656 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.046875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(95.327364, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(129.163241, 55.95717)">
<g>
<path d="M 31.28125 -45.09375 L 38.5625 -45.09375 L 38.5625 -16.796875 C 38.5625 -13.890625 38.148438 -11.253906 37.328125 -8.890625 C 36.492188 -6.523438 35.289062 -4.492188 33.71875 -2.796875 C 33.382812 -2.460938 33.039062 -2.148438 32.6875 -1.859375 C 32.332031 -1.578125 31.976562 -1.289062 31.625 -1 C 31.28125 -0.707031 30.910156 -0.445312 30.515625 -0.21875 C 30.117188 0.0078125 29.710938 0.226562 29.296875 0.4375 C 28.878906 0.644531 28.441406 0.832031 27.984375 1 C 25.828125 1.863281 23.425781 2.296875 20.78125 2.296875 C 15.257812 2.296875 10.925781 0.660156 7.78125 -2.609375 C 4.664062 -5.890625 3.109375 -10.535156 3.109375 -16.546875 L 3.109375 -45.09375 L 12.125 -45.09375 L 12.125 -17.484375 C 12.125 -13.617188 12.875 -10.691406 14.375 -8.703125 C 15.03125 -7.796875 15.875 -7.113281 16.90625 -6.65625 C 17.945312 -6.195312 19.238281 -5.96875 20.78125 -5.96875 C 23.800781 -5.96875 26.019531 -6.878906 27.4375 -8.703125 C 28.96875 -10.648438 29.734375 -13.578125 29.734375 -17.484375 L 29.734375 -45.09375 Z M 31.28125 -45.09375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(170.836098, 55.95717)">
<g>
<path d="M 3.671875 -33.90625 C 4.492188 -33.90625 5.257812 -33.84375 5.96875 -33.71875 C 6.675781 -33.59375 7.347656 -33.394531 7.984375 -33.125 C 8.628906 -32.851562 9.222656 -32.507812 9.765625 -32.09375 C 10.304688 -31.675781 10.765625 -31.179688 11.140625 -30.609375 C 11.835938 -31.304688 12.644531 -31.925781 13.5625 -32.46875 C 13.8125 -32.632812 14.0625 -32.789062 14.3125 -32.9375 C 14.5625 -33.082031 14.828125 -33.21875 15.109375 -33.34375 C 15.398438 -33.46875 15.691406 -33.582031 15.984375 -33.6875 C 16.273438 -33.789062 16.566406 -33.90625 16.859375 -34.03125 C 17.523438 -34.238281 18.207031 -34.390625 18.90625 -34.484375 C 19.613281 -34.585938 20.34375 -34.640625 21.09375 -34.640625 C 23.164062 -34.640625 25.164062 -34.222656 27.09375 -33.390625 C 29.019531 -32.566406 30.707031 -31.367188 32.15625 -29.796875 C 33.613281 -28.222656 34.753906 -26.316406 35.578125 -24.078125 C 35.867188 -23.328125 36.109375 -22.535156 36.296875 -21.703125 C 36.484375 -20.878906 36.628906 -20.03125 36.734375 -19.15625 C 36.835938 -18.289062 36.890625 -17.398438 36.890625 -16.484375 C 36.890625 -13.742188 36.472656 -11.210938 35.640625 -8.890625 C 35.222656 -7.773438 34.734375 -6.71875 34.171875 -5.71875 C 33.617188 -4.726562 32.96875 -3.816406 32.21875 -2.984375 C 31.96875 -2.648438 31.6875 -2.335938 31.375 -2.046875 C 31.070312 -1.765625 30.753906 -1.476562 30.421875 -1.1875 C 30.085938 -0.894531 29.753906 -0.625 29.421875 -0.375 C 29.085938 -0.125 28.734375 0.101562 28.359375 0.3125 C 27.992188 0.519531 27.625 0.707031 27.25 0.875 C 26.289062 1.375 25.300781 1.734375 24.28125 1.953125 C 23.269531 2.179688 22.25 2.296875 21.21875 2.296875 C 19.019531 2.296875 17.003906 1.863281 15.171875 1 C 14.515625 0.707031 13.894531 0.375 13.3125 0 L 13.3125 15.234375 L 4.609375 15.234375 L 4.609375 -24.078125 C 4.609375 -25.023438 4.441406 -25.644531 4.109375 -25.9375 C 3.734375 -26.269531 3.191406 -26.4375 2.484375 -26.4375 L 0.4375 -26.4375 L 1 -28.421875 L 2.171875 -32.78125 L 2.484375 -33.90625 Z M 28.046875 -16.296875 C 28.046875 -17.171875 27.984375 -17.976562 27.859375 -18.71875 C 27.742188 -19.46875 27.570312 -20.160156 27.34375 -20.796875 C 27.113281 -21.441406 26.851562 -22.035156 26.5625 -22.578125 C 26.269531 -23.117188 25.9375 -23.617188 25.5625 -24.078125 C 24.820312 -24.941406 23.960938 -25.59375 22.984375 -26.03125 C 22.003906 -26.46875 20.957031 -26.6875 19.84375 -26.6875 C 19.09375 -26.6875 18.382812 -26.59375 17.71875 -26.40625 C 17.0625 -26.21875 16.441406 -25.9375 15.859375 -25.5625 C 14.785156 -24.894531 13.9375 -24.191406 13.3125 -23.453125 L 13.3125 -8.703125 C 14.1875 -7.921875 15.140625 -7.257812 16.171875 -6.71875 C 17.335938 -6.09375 18.644531 -5.78125 20.09375 -5.78125 C 21.25 -5.78125 22.304688 -6.007812 23.265625 -6.46875 C 24.210938 -6.96875 25.039062 -7.648438 25.75 -8.515625 C 26.125 -8.972656 26.445312 -9.472656 26.71875 -10.015625 C 26.988281 -10.554688 27.226562 -11.15625 27.4375 -11.8125 C 27.644531 -12.476562 27.796875 -13.179688 27.890625 -13.921875 C 27.992188 -14.671875 28.046875 -15.460938 28.046875 -16.296875 Z M 28.046875 -16.296875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(208.963656, 55.95717)">
<g>
<path d="M 7.53125 -42.921875 L 13.375 -42.921875 L 13.375 -32.71875 L 22.328125 -32.71875 L 22.328125 -24.75 L 13.375 -24.75 L 13.375 -10.703125 C 13.375 -9.660156 13.476562 -8.8125 13.6875 -8.15625 C 13.894531 -7.53125 14.144531 -7.050781 14.4375 -6.71875 C 14.71875 -6.382812 15.066406 -6.15625 15.484375 -6.03125 C 15.734375 -5.945312 15.984375 -5.882812 16.234375 -5.84375 C 16.484375 -5.800781 16.734375 -5.78125 16.984375 -5.78125 C 17.847656 -5.78125 18.632812 -5.90625 19.34375 -6.15625 C 20.21875 -6.488281 21.023438 -6.863281 21.765625 -7.28125 L 23.390625 -8.15625 L 24.015625 -6.40625 L 25.5625 -1.921875 L 25.9375 -0.75 L 24.875 -0.125 C 23.96875 0.457031 22.75 1 21.21875 1.5 C 20.425781 1.78125 19.613281 1.984375 18.78125 2.109375 C 17.957031 2.234375 17.128906 2.296875 16.296875 2.296875 C 12.734375 2.296875 9.894531 1.113281 7.78125 -1.25 C 6.695312 -2.445312 5.90625 -3.875 5.40625 -5.53125 C 4.914062 -7.195312 4.671875 -9.066406 4.671875 -11.140625 L 4.671875 -24.75 L -0.9375 -24.75 L -0.9375 -32.71875 L 4.96875 -32.71875 L 5.96875 -41.546875 L 6.15625 -42.921875 Z M 7.53125 -42.921875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(233.656391, 55.95717)">
<g>
<path d="M 10.578125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 12.125 -33.90625 L 12.125 1.5625 Z M 7.78125 -36.328125 C 6.28125 -36.328125 4.988281 -36.863281 3.90625 -37.9375 C 2.832031 -39.019531 2.296875 -40.304688 2.296875 -41.796875 C 2.296875 -43.410156 2.800781 -44.726562 3.8125 -45.75 C 4.832031 -46.769531 6.15625 -47.28125 7.78125 -47.28125 C 8.519531 -47.28125 9.222656 -47.144531 9.890625 -46.875 C 10.554688 -46.601562 11.144531 -46.207031 11.65625 -45.6875 C 12.175781 -45.164062 12.570312 -44.570312 12.84375 -43.90625 C 13.113281 -43.25 13.25 -42.546875 13.25 -41.796875 C 13.25 -40.179688 12.738281 -38.863281 11.71875 -37.84375 C 10.707031 -36.832031 9.394531 -36.328125 7.78125 -36.328125 Z M 7.78125 -36.328125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(249.205965, 55.95717)">
<g>
<path d="M 11.9375 -31.109375 C 12.269531 -31.390625 12.59375 -31.65625 12.90625 -31.90625 C 13.21875 -32.15625 13.5625 -32.382812 13.9375 -32.59375 C 14.4375 -32.925781 14.953125 -33.226562 15.484375 -33.5 C 16.023438 -33.769531 16.59375 -33.984375 17.1875 -34.140625 C 17.789062 -34.304688 18.394531 -34.429688 19 -34.515625 C 19.601562 -34.597656 20.238281 -34.640625 20.90625 -34.640625 C 23.800781 -34.640625 26.203125 -33.914062 28.109375 -32.46875 C 29.273438 -31.59375 30.234375 -30.515625 30.984375 -29.234375 C 32.015625 -30.398438 33.113281 -31.4375 34.28125 -32.34375 C 34.6875 -32.632812 35.117188 -32.90625 35.578125 -33.15625 C 36.035156 -33.40625 36.507812 -33.625 37 -33.8125 C 37.5 -34 38.007812 -34.148438 38.53125 -34.265625 C 39.050781 -34.390625 39.578125 -34.484375 40.109375 -34.546875 C 40.648438 -34.609375 41.210938 -34.640625 41.796875 -34.640625 C 42.046875 -34.640625 42.285156 -34.640625 42.515625 -34.640625 C 42.742188 -34.640625 42.972656 -34.628906 43.203125 -34.609375 C 43.429688 -34.585938 43.65625 -34.554688 43.875 -34.515625 C 44.101562 -34.472656 44.320312 -34.429688 44.53125 -34.390625 C 44.738281 -34.359375 44.945312 -34.320312 45.15625 -34.28125 C 45.363281 -34.238281 45.570312 -34.1875 45.78125 -34.125 C 45.988281 -34.0625 46.195312 -33.988281 46.40625 -33.90625 C 46.613281 -33.820312 46.820312 -33.738281 47.03125 -33.65625 C 47.394531 -33.488281 47.753906 -33.300781 48.109375 -33.09375 C 48.460938 -32.882812 48.796875 -32.65625 49.109375 -32.40625 C 49.421875 -32.15625 49.722656 -31.894531 50.015625 -31.625 C 50.304688 -31.351562 50.570312 -31.054688 50.8125 -30.734375 C 51.851562 -29.523438 52.601562 -28.09375 53.0625 -26.4375 C 53.5625 -24.820312 53.8125 -23.039062 53.8125 -21.09375 L 53.8125 1.5625 L 45.09375 1.5625 L 45.09375 -20.65625 C 45.09375 -22.5625 44.679688 -24.070312 43.859375 -25.1875 C 43.109375 -26.144531 42.09375 -26.625 40.8125 -26.625 C 40.0625 -26.625 39.351562 -26.476562 38.6875 -26.1875 C 37.945312 -25.851562 37.242188 -25.414062 36.578125 -24.875 C 35.867188 -24.300781 35.179688 -23.640625 34.515625 -22.890625 C 34.273438 -22.554688 34.007812 -22.203125 33.71875 -21.828125 C 33.425781 -21.460938 33.175781 -21.113281 32.96875 -20.78125 L 32.96875 1.5625 L 24.265625 1.5625 L 24.265625 -20.65625 C 24.265625 -22.5625 23.847656 -24.070312 23.015625 -25.1875 C 22.265625 -26.144531 21.25 -26.625 19.96875 -26.625 C 19.257812 -26.625 18.554688 -26.476562 17.859375 -26.1875 C 17.523438 -26.0625 17.171875 -25.894531 16.796875 -25.6875 C 16.421875 -25.476562 16.066406 -25.226562 15.734375 -24.9375 C 15.609375 -24.851562 15.484375 -24.757812 15.359375 -24.65625 C 15.234375 -24.5625 15.117188 -24.460938 15.015625 -24.359375 C 14.910156 -24.253906 14.796875 -24.148438 14.671875 -24.046875 C 14.554688 -23.941406 14.445312 -23.835938 14.34375 -23.734375 C 14.238281 -23.628906 14.132812 -23.515625 14.03125 -23.390625 C 13.925781 -23.265625 13.8125 -23.140625 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.109375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(306.117405, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
</svg>
</a>
</div>
<div class="flex items-center gap-5">
<nav class="hidden md:block">
<ul role="list" class="flex items-center gap-8">
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
<ul role="list" class="flex items-center gap-6">
<li><a class="text-sm font-medium text-slate-600 transition hover:text-slate-900"
href="/">Home</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
<li><a class="text-sm font-medium text-slate-600 transition hover:text-slate-900"
target="_blank"
href="https://join.slack.com/t/oneuptimesupport/shared_invite/zt-2pz5p1uhe-Fpmc7bv5ZE5xRMe7qJnwmA">Chat
with us on Slack</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
href="https://join.slack.com/t/oneuptimesupport/shared_invite/zt-2pz5p1uhe-Fpmc7bv5ZE5xRMe7qJnwmA">Slack</a></li>
<li><a class="text-sm font-medium text-slate-600 transition hover:text-slate-900"
href="/support">Support</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
href="/reference/openapi" type="_blank">OpenAPI Spec</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
<li><a class="text-sm font-medium text-slate-600 transition hover:text-slate-900"
href="/reference/openapi" type="_blank">OpenAPI</a></li>
<li><a class="text-sm font-medium text-slate-600 transition hover:text-slate-900"
href="https://github.com/oneuptime/oneuptime">GitHub</a></li>
</ul>
</nav>
<div class="hidden md:block md:h-5 md:w-px md:bg-zinc-900/10 md:"></div>
<div class="hidden md:block md:h-5 md:w-px md:bg-slate-200"></div>
<div class="flex gap-4">
<div class="contents lg:hidden">
<button type="button"
@@ -184,87 +340,372 @@
</button> -->
</div>
<div class="hidden min-[416px]:contents"><a
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 "
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-indigo-600 py-1.5 px-4 text-white hover:bg-indigo-700 shadow-sm"
href="/dashboard">Sign in</a></div>
</div>
</div>
<nav class="hidden lg:mt-10 lg:block">
<ul role="list">
<nav class="hidden lg:block">
<div class="mb-6">
<span class="inline-flex items-center rounded-full bg-indigo-50 px-3 py-1 text-xs font-semibold text-indigo-700 ring-1 ring-inset ring-indigo-600/20">
API Reference
</span>
</div>
<ul role="list" class="space-y-6">
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
class="block py-1 text-sm text-slate-600 transition hover:text-slate-900"
href="/">API</a></li>
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
class="block py-1 text-sm text-slate-600 transition hover:text-slate-900"
href="/#">Documentation</a></li>
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
class="block py-1 text-sm text-slate-600 transition hover:text-slate-900"
href="/#">Support</a></li>
<li class="relative mt-6 md:mt-0">
<h6 class="text-sm font-semibold text-zinc-900 ">Guides</h6>
<li class="relative md:mt-0">
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide">Guides</h6>
<div class="relative mt-3 pl-2">
<div class="absolute inset-x-0 top-0 bg-zinc-800/2.5 will-change-transform "
data-projection-id="32"
style="height: 64px; top: 0px; border-radius: 8px; opacity: 1; transform: none; transform-origin: 50% 50% 0px;">
</div>
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 "
style="transform: none; transform-origin: 50% 50% 0px;"></div>
<div class="absolute left-2 h-6 w-px bg-emerald-500" data-projection-id="33"
style="top: 4px; opacity: 1;"></div>
<ul role="list" class="border-l border-transparent">
<div class="absolute inset-y-0 left-2 w-px bg-slate-200"></div>
<ul role="list" class="border-l border-transparent space-y-1">
<li class="relative">
<a class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-900 "
href="/reference/introduction" aria-current="page"><span
<a class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/introduction"><span
class="truncate">Introduction</span></a>
</li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/authentication"><span class="truncate">Authentication</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/pagination"><span class="truncate">Pagination</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/permissions"><span class="truncate">Permissions</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/data-types"><span class="truncate">Data Types</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/errors"><span class="truncate">Errors</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/openapi"><span class="truncate">OpenAPI Spec</span></a></li>
</ul>
</div>
</li>
<li class="relative mt-6">
<h6 class="text-sm font-semibold text-zinc-900 "
style="transform: none; transform-origin: 50% 50% 0px;">Resources</h6>
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide">Resources</h6>
<div class="relative mt-3 pl-2">
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 "
style="transform: none; transform-origin: 50% 50% 0px;"></div>
<ul role="list" class="border-l border-transparent">
<div class="absolute inset-y-0 left-2 w-px bg-slate-200"></div>
<ul role="list" class="border-l border-transparent space-y-1">
<% for(var i=0; i<resources.length; i++) {%>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/<%= resources[i].path -%>"><span class="truncate">
<%= resources[i].name -%>
</span></a></li>
<% } %>
<% } %>
</ul>
</div>
</li>
<% if (typeof dataTypes !== 'undefined' && dataTypes && dataTypes.length > 0) { %>
<%
// Group data types by category
var _dtGeneral = [];
var _dtCategories = {};
var _dtCatOrder = [];
for (var _di = 0; _di < dataTypes.length; _di++) {
var _dt = dataTypes[_di];
if (_dt.category) {
if (!_dtCategories[_dt.category]) {
_dtCategories[_dt.category] = [];
_dtCatOrder.push(_dt.category);
}
_dtCategories[_dt.category].push(_dt);
} else {
_dtGeneral.push(_dt);
}
}
%>
<li class="relative mt-6">
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide">Data Types</h6>
<div class="relative mt-3 pl-2">
<div class="absolute inset-y-0 left-2 w-px bg-slate-200"></div>
<ul role="list" class="border-l border-transparent space-y-1">
<% for(var i=0; i<_dtGeneral.length; i++) {%>
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/<%= _dtGeneral[i].path -%>"><span class="truncate"><%= _dtGeneral[i].name -%></span></a></li>
<% } %>
</ul>
<% for (var _ci = 0; _ci < _dtCatOrder.length; _ci++) { %>
<% var _catName = _dtCatOrder[_ci]; var _catTypes = _dtCategories[_catName]; %>
<div class="mt-3 mb-1 pl-4">
<span class="text-[10px] font-semibold text-slate-400 uppercase tracking-wider"><%= _catName %></span>
</div>
<ul role="list" class="border-l border-transparent space-y-1">
<% for(var _ti=0; _ti<_catTypes.length; _ti++) {%>
<li class="relative"><a
class="nav-link flex justify-between gap-2 py-1.5 pr-3 text-sm transition pl-4 text-slate-600 hover:text-slate-900 -ml-px border-l-2 border-transparent hover:border-slate-300"
href="/reference/<%= _catTypes[_ti].path -%>"><span class="truncate"><%= _catTypes[_ti].name -%></span></a></li>
<% } %>
</ul>
<% } %>
</div>
</li>
<% } %>
<li class="sticky bottom-0 z-10 mt-6 min-[416px]:hidden"><a
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 :bg-emerald-400 w-full"
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-indigo-600 py-1.5 px-4 text-white hover:bg-indigo-700 shadow-sm w-full"
href="/#">Sign in</a></li>
</ul>
</nav>
</div>
</header>
</header>
<!-- Mobile Navigation Overlay -->
<div id="mobile-menu-overlay" class="fixed inset-0 z-50 bg-slate-900/50 backdrop-blur-sm hidden lg:hidden" aria-hidden="true"></div>
<!-- Mobile Navigation Panel -->
<div id="mobile-menu-panel" class="fixed inset-y-0 left-0 z-50 w-80 max-w-[calc(100%-3rem)] bg-white shadow-2xl transform -translate-x-full transition-transform duration-300 ease-in-out lg:hidden overflow-y-auto">
<div class="p-6">
<div class="flex items-center justify-between mb-8">
<a aria-label="Home" href="/">
<svg class="h-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375 75" preserveAspectRatio="xMidYMid meet">
<defs>
<g></g>
<clipPath id="mobile-menu-1d83d73318">
<path d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " clip-rule="nonzero"></path>
</clipPath>
<clipPath id="mobile-menu-32c1ad7ad2">
<path d="M 366.480469 51.03125 L 352.816406 51.03125 C 352.253906 51.03125 351.792969 50.574219 351.792969 50.007812 L 351.792969 36.347656 C 351.792969 35.785156 352.253906 35.324219 352.816406 35.324219 L 366.480469 35.324219 C 367.042969 35.324219 367.5 35.785156 367.5 36.347656 L 367.5 50.007812 C 367.5 50.574219 367.042969 51.03125 366.480469 51.03125 " clip-rule="nonzero"></path>
</clipPath>
</defs>
<g clip-path="url(#mobile-menu-1d83d73318)">
<g clip-path="url(#mobile-menu-32c1ad7ad2)">
<path fill="#7ed957" d="M 351.792969 35.324219 L 367.53125 35.324219 L 367.53125 51.0625 L 351.792969 51.0625 Z M 351.792969 35.324219 " fill-opacity="1" fill-rule="nonzero"></path>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(11.173064, 55.95717)">
<g>
<path d="M 1.5625 -21.828125 C 1.5625 -25.191406 2.054688 -28.320312 3.046875 -31.21875 C 4.046875 -34.164062 5.5 -36.71875 7.40625 -38.875 C 9.3125 -41.070312 11.632812 -42.773438 14.375 -43.984375 C 15.738281 -44.597656 17.195312 -45.0625 18.75 -45.375 C 20.3125 -45.6875 21.941406 -45.84375 23.640625 -45.84375 C 25.335938 -45.84375 26.960938 -45.6875 28.515625 -45.375 C 30.078125 -45.0625 31.539062 -44.578125 32.90625 -43.921875 C 34.269531 -43.296875 35.53125 -42.546875 36.6875 -41.671875 C 37.851562 -40.804688 38.914062 -39.8125 39.875 -38.6875 C 41.78125 -36.53125 43.25 -34.003906 44.28125 -31.109375 C 45.28125 -28.203125 45.78125 -25.109375 45.78125 -21.828125 C 45.78125 -18.554688 45.28125 -15.46875 44.28125 -12.5625 C 43.957031 -11.613281 43.578125 -10.679688 43.140625 -9.765625 C 42.703125 -8.847656 42.210938 -7.984375 41.671875 -7.171875 C 41.140625 -6.367188 40.5625 -5.597656 39.9375 -4.859375 C 38.976562 -3.734375 37.90625 -2.734375 36.71875 -1.859375 C 35.539062 -0.992188 34.289062 -0.25 32.96875 0.375 C 30.226562 1.65625 27.113281 2.296875 23.625 2.296875 C 20.144531 2.296875 17.039062 1.65625 14.3125 0.375 C 13.644531 0.0390625 13 -0.3125 12.375 -0.6875 C 11.757812 -1.0625 11.160156 -1.460938 10.578125 -1.890625 C 9.992188 -2.328125 9.429688 -2.796875 8.890625 -3.296875 C 8.359375 -3.796875 7.863281 -4.316406 7.40625 -4.859375 C 5.5 -7.054688 4.046875 -9.625 3.046875 -12.5625 C 2.054688 -15.46875 1.5625 -18.554688 1.5625 -21.828125 Z M 10.703125 -21.828125 C 10.703125 -20.796875 10.773438 -19.769531 10.921875 -18.75 C 11.066406 -17.738281 11.28125 -16.734375 11.5625 -15.734375 C 11.894531 -14.785156 12.269531 -13.882812 12.6875 -13.03125 C 13.101562 -12.175781 13.601562 -11.378906 14.1875 -10.640625 C 14.351562 -10.390625 14.535156 -10.160156 14.734375 -9.953125 C 14.941406 -9.742188 15.148438 -9.535156 15.359375 -9.328125 C 15.566406 -9.117188 15.785156 -8.910156 16.015625 -8.703125 C 16.242188 -8.492188 16.484375 -8.304688 16.734375 -8.140625 C 16.984375 -7.984375 17.234375 -7.820312 17.484375 -7.65625 C 17.734375 -7.488281 17.976562 -7.320312 18.21875 -7.15625 C 19.800781 -6.320312 21.609375 -5.90625 23.640625 -5.90625 C 24.378906 -5.90625 25.082031 -5.945312 25.75 -6.03125 C 26.414062 -6.113281 27.035156 -6.25 27.609375 -6.4375 C 28.191406 -6.625 28.734375 -6.84375 29.234375 -7.09375 C 30.847656 -7.875 32.195312 -8.953125 33.28125 -10.328125 C 33.65625 -10.785156 33.984375 -11.269531 34.265625 -11.78125 C 34.554688 -12.300781 34.828125 -12.863281 35.078125 -13.46875 C 35.328125 -14.070312 35.554688 -14.679688 35.765625 -15.296875 C 36.347656 -17.328125 36.640625 -19.503906 36.640625 -21.828125 C 36.640625 -23.898438 36.328125 -25.894531 35.703125 -27.8125 C 35.117188 -29.71875 34.25 -31.414062 33.09375 -32.90625 C 31.96875 -34.351562 30.617188 -35.515625 29.046875 -36.390625 C 27.472656 -37.222656 25.671875 -37.640625 23.640625 -37.640625 C 23.140625 -37.640625 22.640625 -37.617188 22.140625 -37.578125 C 21.640625 -37.535156 21.160156 -37.460938 20.703125 -37.359375 C 20.253906 -37.253906 19.820312 -37.128906 19.40625 -36.984375 C 18.988281 -36.835938 18.59375 -36.660156 18.21875 -36.453125 C 17.394531 -36.078125 16.648438 -35.617188 15.984375 -35.078125 C 15.316406 -34.546875 14.71875 -33.925781 14.1875 -33.21875 C 13.0625 -31.8125 12.1875 -30.148438 11.5625 -28.234375 C 10.988281 -26.242188 10.703125 -24.109375 10.703125 -21.828125 Z M 10.703125 -21.828125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(58.505968, 55.95717)">
<g>
<path d="M 11.9375 -31.046875 C 12.269531 -31.367188 12.601562 -31.65625 12.9375 -31.90625 C 13.269531 -32.15625 13.625 -32.382812 14 -32.59375 C 16.070312 -33.957031 18.5 -34.640625 21.28125 -34.640625 C 23.3125 -34.640625 25.113281 -34.316406 26.6875 -33.671875 C 28.257812 -33.035156 29.585938 -32.078125 30.671875 -30.796875 C 32.703125 -28.304688 33.71875 -25.070312 33.71875 -21.09375 L 33.71875 1.5625 L 25 1.5625 L 25 -20.46875 C 25 -21.164062 24.945312 -21.804688 24.84375 -22.390625 C 24.738281 -22.972656 24.59375 -23.488281 24.40625 -23.9375 C 24.226562 -24.394531 23.992188 -24.789062 23.703125 -25.125 C 23.453125 -25.457031 23.171875 -25.738281 22.859375 -25.96875 C 22.546875 -26.195312 22.179688 -26.363281 21.765625 -26.46875 C 21.359375 -26.570312 20.882812 -26.625 20.34375 -26.625 C 19.59375 -26.625 18.84375 -26.476562 18.09375 -26.1875 C 17.3125 -25.894531 16.546875 -25.476562 15.796875 -24.9375 C 15.054688 -24.363281 14.351562 -23.722656 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.046875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(95.327364, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(129.163241, 55.95717)">
<g>
<path d="M 31.28125 -45.09375 L 38.5625 -45.09375 L 38.5625 -16.796875 C 38.5625 -13.890625 38.148438 -11.253906 37.328125 -8.890625 C 36.492188 -6.523438 35.289062 -4.492188 33.71875 -2.796875 C 33.382812 -2.460938 33.039062 -2.148438 32.6875 -1.859375 C 32.332031 -1.578125 31.976562 -1.289062 31.625 -1 C 31.28125 -0.707031 30.910156 -0.445312 30.515625 -0.21875 C 30.117188 0.0078125 29.710938 0.226562 29.296875 0.4375 C 28.878906 0.644531 28.441406 0.832031 27.984375 1 C 25.828125 1.863281 23.425781 2.296875 20.78125 2.296875 C 15.257812 2.296875 10.925781 0.660156 7.78125 -2.609375 C 4.664062 -5.890625 3.109375 -10.535156 3.109375 -16.546875 L 3.109375 -45.09375 L 12.125 -45.09375 L 12.125 -17.484375 C 12.125 -13.617188 12.875 -10.691406 14.375 -8.703125 C 15.03125 -7.796875 15.875 -7.113281 16.90625 -6.65625 C 17.945312 -6.195312 19.238281 -5.96875 20.78125 -5.96875 C 23.800781 -5.96875 26.019531 -6.878906 27.4375 -8.703125 C 28.96875 -10.648438 29.734375 -13.578125 29.734375 -17.484375 L 29.734375 -45.09375 Z M 31.28125 -45.09375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(170.836098, 55.95717)">
<g>
<path d="M 3.671875 -33.90625 C 4.492188 -33.90625 5.257812 -33.84375 5.96875 -33.71875 C 6.675781 -33.59375 7.347656 -33.394531 7.984375 -33.125 C 8.628906 -32.851562 9.222656 -32.507812 9.765625 -32.09375 C 10.304688 -31.675781 10.765625 -31.179688 11.140625 -30.609375 C 11.835938 -31.304688 12.644531 -31.925781 13.5625 -32.46875 C 13.8125 -32.632812 14.0625 -32.789062 14.3125 -32.9375 C 14.5625 -33.082031 14.828125 -33.21875 15.109375 -33.34375 C 15.398438 -33.46875 15.691406 -33.582031 15.984375 -33.6875 C 16.273438 -33.789062 16.566406 -33.90625 16.859375 -34.03125 C 17.523438 -34.238281 18.207031 -34.390625 18.90625 -34.484375 C 19.613281 -34.585938 20.34375 -34.640625 21.09375 -34.640625 C 23.164062 -34.640625 25.164062 -34.222656 27.09375 -33.390625 C 29.019531 -32.566406 30.707031 -31.367188 32.15625 -29.796875 C 33.613281 -28.222656 34.753906 -26.316406 35.578125 -24.078125 C 35.867188 -23.328125 36.109375 -22.535156 36.296875 -21.703125 C 36.484375 -20.878906 36.628906 -20.03125 36.734375 -19.15625 C 36.835938 -18.289062 36.890625 -17.398438 36.890625 -16.484375 C 36.890625 -13.742188 36.472656 -11.210938 35.640625 -8.890625 C 35.222656 -7.773438 34.734375 -6.71875 34.171875 -5.71875 C 33.617188 -4.726562 32.96875 -3.816406 32.21875 -2.984375 C 31.96875 -2.648438 31.6875 -2.335938 31.375 -2.046875 C 31.070312 -1.765625 30.753906 -1.476562 30.421875 -1.1875 C 30.085938 -0.894531 29.753906 -0.625 29.421875 -0.375 C 29.085938 -0.125 28.734375 0.101562 28.359375 0.3125 C 27.992188 0.519531 27.625 0.707031 27.25 0.875 C 26.289062 1.375 25.300781 1.734375 24.28125 1.953125 C 23.269531 2.179688 22.25 2.296875 21.21875 2.296875 C 19.019531 2.296875 17.003906 1.863281 15.171875 1 C 14.515625 0.707031 13.894531 0.375 13.3125 0 L 13.3125 15.234375 L 4.609375 15.234375 L 4.609375 -24.078125 C 4.609375 -25.023438 4.441406 -25.644531 4.109375 -25.9375 C 3.734375 -26.269531 3.191406 -26.4375 2.484375 -26.4375 L 0.4375 -26.4375 L 1 -28.421875 L 2.171875 -32.78125 L 2.484375 -33.90625 Z M 28.046875 -16.296875 C 28.046875 -17.171875 27.984375 -17.976562 27.859375 -18.71875 C 27.742188 -19.46875 27.570312 -20.160156 27.34375 -20.796875 C 27.113281 -21.441406 26.851562 -22.035156 26.5625 -22.578125 C 26.269531 -23.117188 25.9375 -23.617188 25.5625 -24.078125 C 24.820312 -24.941406 23.960938 -25.59375 22.984375 -26.03125 C 22.003906 -26.46875 20.957031 -26.6875 19.84375 -26.6875 C 19.09375 -26.6875 18.382812 -26.59375 17.71875 -26.40625 C 17.0625 -26.21875 16.441406 -25.9375 15.859375 -25.5625 C 14.785156 -24.894531 13.9375 -24.191406 13.3125 -23.453125 L 13.3125 -8.703125 C 14.1875 -7.921875 15.140625 -7.257812 16.171875 -6.71875 C 17.335938 -6.09375 18.644531 -5.78125 20.09375 -5.78125 C 21.25 -5.78125 22.304688 -6.007812 23.265625 -6.46875 C 24.210938 -6.96875 25.039062 -7.648438 25.75 -8.515625 C 26.125 -8.972656 26.445312 -9.472656 26.71875 -10.015625 C 26.988281 -10.554688 27.226562 -11.15625 27.4375 -11.8125 C 27.644531 -12.476562 27.796875 -13.179688 27.890625 -13.921875 C 27.992188 -14.671875 28.046875 -15.460938 28.046875 -16.296875 Z M 28.046875 -16.296875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(208.963656, 55.95717)">
<g>
<path d="M 7.53125 -42.921875 L 13.375 -42.921875 L 13.375 -32.71875 L 22.328125 -32.71875 L 22.328125 -24.75 L 13.375 -24.75 L 13.375 -10.703125 C 13.375 -9.660156 13.476562 -8.8125 13.6875 -8.15625 C 13.894531 -7.53125 14.144531 -7.050781 14.4375 -6.71875 C 14.71875 -6.382812 15.066406 -6.15625 15.484375 -6.03125 C 15.734375 -5.945312 15.984375 -5.882812 16.234375 -5.84375 C 16.484375 -5.800781 16.734375 -5.78125 16.984375 -5.78125 C 17.847656 -5.78125 18.632812 -5.90625 19.34375 -6.15625 C 20.21875 -6.488281 21.023438 -6.863281 21.765625 -7.28125 L 23.390625 -8.15625 L 24.015625 -6.40625 L 25.5625 -1.921875 L 25.9375 -0.75 L 24.875 -0.125 C 23.96875 0.457031 22.75 1 21.21875 1.5 C 20.425781 1.78125 19.613281 1.984375 18.78125 2.109375 C 17.957031 2.234375 17.128906 2.296875 16.296875 2.296875 C 12.734375 2.296875 9.894531 1.113281 7.78125 -1.25 C 6.695312 -2.445312 5.90625 -3.875 5.40625 -5.53125 C 4.914062 -7.195312 4.671875 -9.066406 4.671875 -11.140625 L 4.671875 -24.75 L -0.9375 -24.75 L -0.9375 -32.71875 L 4.96875 -32.71875 L 5.96875 -41.546875 L 6.15625 -42.921875 Z M 7.53125 -42.921875 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(233.656391, 55.95717)">
<g>
<path d="M 10.578125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 12.125 -33.90625 L 12.125 1.5625 Z M 7.78125 -36.328125 C 6.28125 -36.328125 4.988281 -36.863281 3.90625 -37.9375 C 2.832031 -39.019531 2.296875 -40.304688 2.296875 -41.796875 C 2.296875 -43.410156 2.800781 -44.726562 3.8125 -45.75 C 4.832031 -46.769531 6.15625 -47.28125 7.78125 -47.28125 C 8.519531 -47.28125 9.222656 -47.144531 9.890625 -46.875 C 10.554688 -46.601562 11.144531 -46.207031 11.65625 -45.6875 C 12.175781 -45.164062 12.570312 -44.570312 12.84375 -43.90625 C 13.113281 -43.25 13.25 -42.546875 13.25 -41.796875 C 13.25 -40.179688 12.738281 -38.863281 11.71875 -37.84375 C 10.707031 -36.832031 9.394531 -36.328125 7.78125 -36.328125 Z M 7.78125 -36.328125 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(249.205965, 55.95717)">
<g>
<path d="M 11.9375 -31.109375 C 12.269531 -31.390625 12.59375 -31.65625 12.90625 -31.90625 C 13.21875 -32.15625 13.5625 -32.382812 13.9375 -32.59375 C 14.4375 -32.925781 14.953125 -33.226562 15.484375 -33.5 C 16.023438 -33.769531 16.59375 -33.984375 17.1875 -34.140625 C 17.789062 -34.304688 18.394531 -34.429688 19 -34.515625 C 19.601562 -34.597656 20.238281 -34.640625 20.90625 -34.640625 C 23.800781 -34.640625 26.203125 -33.914062 28.109375 -32.46875 C 29.273438 -31.59375 30.234375 -30.515625 30.984375 -29.234375 C 32.015625 -30.398438 33.113281 -31.4375 34.28125 -32.34375 C 34.6875 -32.632812 35.117188 -32.90625 35.578125 -33.15625 C 36.035156 -33.40625 36.507812 -33.625 37 -33.8125 C 37.5 -34 38.007812 -34.148438 38.53125 -34.265625 C 39.050781 -34.390625 39.578125 -34.484375 40.109375 -34.546875 C 40.648438 -34.609375 41.210938 -34.640625 41.796875 -34.640625 C 42.046875 -34.640625 42.285156 -34.640625 42.515625 -34.640625 C 42.742188 -34.640625 42.972656 -34.628906 43.203125 -34.609375 C 43.429688 -34.585938 43.65625 -34.554688 43.875 -34.515625 C 44.101562 -34.472656 44.320312 -34.429688 44.53125 -34.390625 C 44.738281 -34.359375 44.945312 -34.320312 45.15625 -34.28125 C 45.363281 -34.238281 45.570312 -34.1875 45.78125 -34.125 C 45.988281 -34.0625 46.195312 -33.988281 46.40625 -33.90625 C 46.613281 -33.820312 46.820312 -33.738281 47.03125 -33.65625 C 47.394531 -33.488281 47.753906 -33.300781 48.109375 -33.09375 C 48.460938 -32.882812 48.796875 -32.65625 49.109375 -32.40625 C 49.421875 -32.15625 49.722656 -31.894531 50.015625 -31.625 C 50.304688 -31.351562 50.570312 -31.054688 50.8125 -30.734375 C 51.851562 -29.523438 52.601562 -28.09375 53.0625 -26.4375 C 53.5625 -24.820312 53.8125 -23.039062 53.8125 -21.09375 L 53.8125 1.5625 L 45.09375 1.5625 L 45.09375 -20.65625 C 45.09375 -22.5625 44.679688 -24.070312 43.859375 -25.1875 C 43.109375 -26.144531 42.09375 -26.625 40.8125 -26.625 C 40.0625 -26.625 39.351562 -26.476562 38.6875 -26.1875 C 37.945312 -25.851562 37.242188 -25.414062 36.578125 -24.875 C 35.867188 -24.300781 35.179688 -23.640625 34.515625 -22.890625 C 34.273438 -22.554688 34.007812 -22.203125 33.71875 -21.828125 C 33.425781 -21.460938 33.175781 -21.113281 32.96875 -20.78125 L 32.96875 1.5625 L 24.265625 1.5625 L 24.265625 -20.65625 C 24.265625 -22.5625 23.847656 -24.070312 23.015625 -25.1875 C 22.265625 -26.144531 21.25 -26.625 19.96875 -26.625 C 19.257812 -26.625 18.554688 -26.476562 17.859375 -26.1875 C 17.523438 -26.0625 17.171875 -25.894531 16.796875 -25.6875 C 16.421875 -25.476562 16.066406 -25.226562 15.734375 -24.9375 C 15.609375 -24.851562 15.484375 -24.757812 15.359375 -24.65625 C 15.234375 -24.5625 15.117188 -24.460938 15.015625 -24.359375 C 14.910156 -24.253906 14.796875 -24.148438 14.671875 -24.046875 C 14.554688 -23.941406 14.445312 -23.835938 14.34375 -23.734375 C 14.238281 -23.628906 14.132812 -23.515625 14.03125 -23.390625 C 13.925781 -23.265625 13.8125 -23.140625 13.6875 -23.015625 C 13.4375 -22.679688 13.164062 -22.335938 12.875 -21.984375 C 12.582031 -21.628906 12.332031 -21.289062 12.125 -20.96875 L 12.125 1.5625 L 3.421875 1.5625 L 3.421875 -33.90625 L 11.9375 -33.90625 Z M 11.9375 -31.109375 "></path>
</g>
</g>
</g>
<g fill="#121212" fill-opacity="1">
<g transform="translate(306.117405, 55.95717)">
<g>
<path d="M 10.390625 -12.3125 C 10.847656 -10.488281 11.632812 -9.019531 12.75 -7.90625 C 14.195312 -6.488281 16.144531 -5.78125 18.59375 -5.78125 C 19.175781 -5.78125 19.738281 -5.800781 20.28125 -5.84375 C 20.820312 -5.882812 21.335938 -5.945312 21.828125 -6.03125 C 22.328125 -6.113281 22.804688 -6.21875 23.265625 -6.34375 C 23.722656 -6.46875 24.175781 -6.601562 24.625 -6.75 C 25.082031 -6.894531 25.53125 -7.050781 25.96875 -7.21875 C 26.40625 -7.382812 26.851562 -7.570312 27.3125 -7.78125 L 28.921875 -8.515625 L 29.421875 -6.78125 L 30.734375 -1.984375 L 31.109375 -0.6875 L 29.921875 -0.125 C 28.304688 0.625 26.503906 1.207031 24.515625 1.625 C 23.515625 1.863281 22.460938 2.035156 21.359375 2.140625 C 20.265625 2.242188 19.117188 2.296875 17.921875 2.296875 C 15.390625 2.296875 13.085938 1.882812 11.015625 1.0625 C 8.941406 0.1875 7.175781 -1.054688 5.71875 -2.671875 C 4.269531 -4.242188 3.148438 -6.191406 2.359375 -8.515625 C 1.617188 -10.753906 1.25 -13.304688 1.25 -16.171875 C 1.25 -18.742188 1.617188 -21.148438 2.359375 -23.390625 C 2.773438 -24.503906 3.253906 -25.554688 3.796875 -26.546875 C 4.335938 -27.546875 4.957031 -28.460938 5.65625 -29.296875 C 7.070312 -30.953125 8.773438 -32.257812 10.765625 -33.21875 C 12.753906 -34.164062 14.972656 -34.640625 17.421875 -34.640625 C 18.242188 -34.640625 19.039062 -34.585938 19.8125 -34.484375 C 20.582031 -34.390625 21.328125 -34.25 22.046875 -34.0625 C 22.773438 -33.875 23.472656 -33.632812 24.140625 -33.34375 C 25.128906 -32.882812 26.023438 -32.351562 26.828125 -31.75 C 27.640625 -31.15625 28.378906 -30.460938 29.046875 -29.671875 C 30.335938 -28.140625 31.3125 -26.378906 31.96875 -24.390625 C 32.257812 -23.390625 32.488281 -22.359375 32.65625 -21.296875 C 32.820312 -20.242188 32.90625 -19.175781 32.90625 -18.09375 C 32.90625 -17.8125 32.90625 -17.523438 32.90625 -17.234375 C 32.90625 -16.941406 32.894531 -16.640625 32.875 -16.328125 C 32.851562 -16.015625 32.84375 -15.710938 32.84375 -15.421875 C 32.84375 -15.128906 32.832031 -14.847656 32.8125 -14.578125 C 32.789062 -14.316406 32.757812 -14.039062 32.71875 -13.75 L 32.59375 -12.3125 Z M 17.296875 -26.6875 C 15.304688 -26.6875 13.6875 -26.019531 12.4375 -24.6875 C 11.9375 -24.15625 11.5 -23.492188 11.125 -22.703125 C 10.757812 -21.910156 10.472656 -21 10.265625 -19.96875 L 24.5625 -19.96875 C 24.363281 -21.957031 23.742188 -23.507812 22.703125 -24.625 C 21.421875 -26 19.617188 -26.6875 17.296875 -26.6875 Z M 17.296875 -26.6875 "></path>
</g>
</g>
</g>
</svg>
</a>
<button type="button" id="mobile-menu-close" class="flex h-8 w-8 items-center justify-center rounded-lg hover:bg-slate-100 transition">
<svg class="w-5 h-5 text-slate-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>
<div class="mb-6">
<span class="inline-flex items-center rounded-full bg-indigo-50 px-3 py-1 text-xs font-semibold text-indigo-700 ring-1 ring-inset ring-indigo-600/20">
API Reference
</span>
</div>
<nav>
<ul role="list" class="space-y-6">
<li class="relative">
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide mb-3">Guides</h6>
<ul role="list" class="space-y-1 border-l border-slate-200 ml-2">
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/introduction">Introduction</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/authentication">Authentication</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/pagination">Pagination</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/permissions">Permissions</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/data-types">Data Types</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/errors">Errors</a></li>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition" href="/reference/openapi">OpenAPI Spec</a></li>
</ul>
</li>
<li class="relative">
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide mb-3">Resources</h6>
<ul role="list" class="space-y-1 border-l border-slate-200 ml-2">
<% for(var i=0; i<resources.length; i++) {%>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition truncate" href="/reference/<%= resources[i].path -%>"><%= resources[i].name -%></a></li>
<% } %>
</ul>
</li>
<% if (typeof dataTypes !== 'undefined' && dataTypes && dataTypes.length > 0) { %>
<%
// Group data types by category for mobile nav
var _mGeneral = [];
var _mCategories = {};
var _mCatOrder = [];
for (var _mi = 0; _mi < dataTypes.length; _mi++) {
var _mdt = dataTypes[_mi];
if (_mdt.category) {
if (!_mCategories[_mdt.category]) {
_mCategories[_mdt.category] = [];
_mCatOrder.push(_mdt.category);
}
_mCategories[_mdt.category].push(_mdt);
} else {
_mGeneral.push(_mdt);
}
}
%>
<li class="relative">
<h6 class="text-xs font-semibold text-slate-900 uppercase tracking-wide mb-3">Data Types</h6>
<ul role="list" class="space-y-1 border-l border-slate-200 ml-2">
<% for(var i=0; i<_mGeneral.length; i++) {%>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition truncate" href="/reference/<%= _mGeneral[i].path -%>"><%= _mGeneral[i].name -%></a></li>
<% } %>
</ul>
<% for (var _mci = 0; _mci < _mCatOrder.length; _mci++) { %>
<% var _mCatName = _mCatOrder[_mci]; var _mCatTypes = _mCategories[_mCatName]; %>
<div class="mt-3 mb-1 ml-4">
<span class="text-[10px] font-semibold text-slate-400 uppercase tracking-wider"><%= _mCatName %></span>
</div>
<ul role="list" class="space-y-1 border-l border-slate-200 ml-2">
<% for(var _mti=0; _mti<_mCatTypes.length; _mti++) {%>
<li><a class="mobile-nav-link block py-2 pl-4 text-sm text-slate-600 hover:text-slate-900 border-l-2 border-transparent hover:border-slate-300 -ml-px transition truncate" href="/reference/<%= _mCatTypes[_mti].path -%>"><%= _mCatTypes[_mti].name -%></a></li>
<% } %>
</ul>
<% } %>
</li>
<% } %>
</ul>
</nav>
<div class="mt-8 pt-6 border-t border-slate-200">
<a href="/dashboard" class="flex items-center justify-center w-full rounded-lg bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white hover:bg-indigo-700 transition shadow-sm">
Sign in
</a>
</div>
</div>
</div>
<script>
// Highlight active navigation link
document.addEventListener('DOMContentLoaded', function() {
const currentPath = window.location.pathname;
const navLinks = document.querySelectorAll('.nav-link');
const mobileNavLinks = document.querySelectorAll('.mobile-nav-link');
navLinks.forEach(function(link) {
const href = link.getAttribute('href');
if (href === currentPath) {
link.classList.remove('text-slate-600', 'border-transparent', 'hover:border-slate-300');
link.classList.add('text-slate-900', 'font-medium', 'border-indigo-500');
link.setAttribute('aria-current', 'page');
}
});
mobileNavLinks.forEach(function(link) {
const href = link.getAttribute('href');
if (href === currentPath) {
link.classList.remove('text-slate-600', 'border-transparent', 'hover:border-slate-300');
link.classList.add('text-slate-900', 'font-medium', 'border-indigo-500');
link.setAttribute('aria-current', 'page');
}
});
// Mobile menu toggle functionality
const menuToggle = document.getElementById('mobile-menu-toggle');
const menuClose = document.getElementById('mobile-menu-close');
const menuOverlay = document.getElementById('mobile-menu-overlay');
const menuPanel = document.getElementById('mobile-menu-panel');
const menuOpenIcon = document.getElementById('menu-open-icon');
const menuCloseIcon = document.getElementById('menu-close-icon');
function openMenu() {
menuOverlay.classList.remove('hidden');
menuPanel.classList.remove('-translate-x-full');
menuOpenIcon.classList.add('hidden');
menuCloseIcon.classList.remove('hidden');
document.body.style.overflow = 'hidden';
}
function closeMenu() {
menuOverlay.classList.add('hidden');
menuPanel.classList.add('-translate-x-full');
menuOpenIcon.classList.remove('hidden');
menuCloseIcon.classList.add('hidden');
document.body.style.overflow = '';
}
if (menuToggle) {
menuToggle.addEventListener('click', function() {
const isOpen = !menuPanel.classList.contains('-translate-x-full');
if (isOpen) {
closeMenu();
} else {
openMenu();
}
});
}
if (menuClose) {
menuClose.addEventListener('click', closeMenu);
}
if (menuOverlay) {
menuOverlay.addEventListener('click', closeMenu);
}
// Close menu on escape key
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape' && !menuPanel.classList.contains('-translate-x-full')) {
closeMenu();
}
});
});
</script>

View File

@@ -3,20 +3,23 @@
#
# Pull base image nodejs image.
FROM public.ecr.aws/docker/library/node:23.8-alpine3.21
FROM public.ecr.aws/docker/library/node:24.9-alpine3.21
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
RUN npm config set fetch-retries 5
RUN npm config set fetch-retry-mintimeout 100000
RUN npm config set fetch-retry-maxtimeout 600000
RUN npm config set fetch-retry-mintimeout 20000
RUN npm config set fetch-retry-maxtimeout 60000
ARG GIT_SHA
ARG APP_VERSION
ARG IS_ENTERPRISE_EDITION=false
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
ENV IS_ENTERPRISE_EDITION=${IS_ENTERPRISE_EDITION}
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# IF APP_VERSION is not set, set it to 1.0.0

26
Accounts/index.d.ts vendored
View File

@@ -2,3 +2,29 @@ declare module "*.png";
declare module "*.svg";
declare module "*.jpg";
declare module "*.gif";
declare module "react-syntax-highlighter/dist/esm/prism-light";
declare module "react-syntax-highlighter/dist/esm/styles/prism";
declare module "react-syntax-highlighter/dist/esm/languages/prism/javascript";
declare module "react-syntax-highlighter/dist/esm/languages/prism/typescript";
declare module "react-syntax-highlighter/dist/esm/languages/prism/jsx";
declare module "react-syntax-highlighter/dist/esm/languages/prism/tsx";
declare module "react-syntax-highlighter/dist/esm/languages/prism/python";
declare module "react-syntax-highlighter/dist/esm/languages/prism/bash";
declare module "react-syntax-highlighter/dist/esm/languages/prism/json";
declare module "react-syntax-highlighter/dist/esm/languages/prism/yaml";
declare module "react-syntax-highlighter/dist/esm/languages/prism/sql";
declare module "react-syntax-highlighter/dist/esm/languages/prism/go";
declare module "react-syntax-highlighter/dist/esm/languages/prism/java";
declare module "react-syntax-highlighter/dist/esm/languages/prism/css";
declare module "react-syntax-highlighter/dist/esm/languages/prism/markup";
declare module "react-syntax-highlighter/dist/esm/languages/prism/markdown";
declare module "react-syntax-highlighter/dist/esm/languages/prism/docker";
declare module "react-syntax-highlighter/dist/esm/languages/prism/rust";
declare module "react-syntax-highlighter/dist/esm/languages/prism/c";
declare module "react-syntax-highlighter/dist/esm/languages/prism/cpp";
declare module "react-syntax-highlighter/dist/esm/languages/prism/csharp";
declare module "react-syntax-highlighter/dist/esm/languages/prism/ruby";
declare module "react-syntax-highlighter/dist/esm/languages/prism/php";
declare module "react-syntax-highlighter/dist/esm/languages/prism/graphql";
declare module "react-syntax-highlighter/dist/esm/languages/prism/http";

View File

@@ -1,7 +1,10 @@
{
"watch": ["./","../Common/UI", "../Common/Types", "../Common/Utils", "../Common/Models"],
"ext": "ts,json,tsx,env,js,jsx,hbs",
"ext": "ts,tsx",
"ignore": [
"./node_modules/**",
"./public/**",
"./bin/**",
"./public/**",
"./public/dist/**",
"./build/*",

View File

@@ -12,7 +12,7 @@
"ejs": "^3.1.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.30.2",
"use-async-effect": "^2.2.7"
},
"devDependencies": {
@@ -33,28 +33,31 @@
"@bull-board/express": "^5.21.4",
"@clickhouse/client": "^1.10.1",
"@elastic/elasticsearch": "^8.12.1",
"@hcaptcha/react-hcaptcha": "^1.14.0",
"@monaco-editor/react": "^4.4.6",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/api-logs": "^0.52.1",
"@opentelemetry/api-logs": "^0.206.0",
"@opentelemetry/context-zone": "^1.25.1",
"@opentelemetry/exporter-logs-otlp-http": "^0.52.1",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.52.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.52.1",
"@opentelemetry/exporter-trace-otlp-proto": "^0.52.1",
"@opentelemetry/exporter-logs-otlp-http": "^0.207.0",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.207.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.207.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.207.0",
"@opentelemetry/id-generator-aws-xray": "^1.2.2",
"@opentelemetry/instrumentation": "^0.52.1",
"@opentelemetry/instrumentation-fetch": "^0.52.1",
"@opentelemetry/instrumentation-xml-http-request": "^0.52.1",
"@opentelemetry/instrumentation": "^0.207.0",
"@opentelemetry/instrumentation-fetch": "^0.207.0",
"@opentelemetry/instrumentation-xml-http-request": "^0.207.0",
"@opentelemetry/resources": "^1.25.1",
"@opentelemetry/sdk-logs": "^0.52.1",
"@opentelemetry/sdk-logs": "^0.207.0",
"@opentelemetry/sdk-metrics": "^1.25.1",
"@opentelemetry/sdk-node": "^0.52.1",
"@opentelemetry/sdk-trace-node": "^1.25.1",
"@opentelemetry/sdk-node": "^0.207.0",
"@opentelemetry/sdk-trace-web": "^1.25.1",
"@opentelemetry/semantic-conventions": "^1.26.0",
"@opentelemetry/semantic-conventions": "^1.37.0",
"@remixicon/react": "^4.2.0",
"@simplewebauthn/server": "^13.2.2",
"@tippyjs/react": "^4.2.6",
"@types/archiver": "^6.0.3",
"@types/crypto-js": "^4.2.2",
"@types/multer": "^2.0.0",
"@types/qrcode": "^1.5.5",
"@types/react-highlight": "^0.12.8",
"@types/react-syntax-highlighter": "^15.5.13",
@@ -62,15 +65,19 @@
"@types/web-push": "^3.6.4",
"acme-client": "^5.3.0",
"airtable": "^0.12.2",
"axios": "^1.7.2",
"bullmq": "^5.3.3",
"archiver": "^7.0.1",
"axios": "^1.12.0",
"botbuilder": "^4.23.3",
"bullmq": "^5.61.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"cron-parser": "^4.8.1",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.4",
"ejs": "^3.1.10",
"elkjs": "^0.10.0",
"esbuild": "^0.25.5",
"expo-server-sdk": "^3.15.0",
"express": "^4.21.1",
"formik": "^2.4.6",
"history": "^5.3.0",
@@ -80,50 +87,52 @@
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^4.0.0",
"marked": "^12.0.2",
"mermaid": "^11.12.2",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"multer": "^2.0.2",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.10",
"nodemailer": "^7.0.7",
"otpauth": "^9.3.1",
"pg": "^8.7.3",
"playwright": "^1.50.0",
"posthog-js": "^1.139.6",
"pg": "^8.16.3",
"playwright": "^1.56.0",
"posthog-js": "^1.275.3",
"prop-types": "^15.8.1",
"qrcode": "^1.5.3",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-big-calendar": "^1.13.0",
"react-big-calendar": "^1.19.4",
"react-color": "^2.19.3",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.2",
"react-error-boundary": "^4.0.13",
"react-highlight": "^0.15.0",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.24.1",
"react-markdown": "^9.0.0",
"react-router-dom": "^6.30.1",
"react-select": "^5.4.0",
"react-spinners": "^0.14.1",
"react-syntax-highlighter": "^15.5.0",
"react-syntax-highlighter": "^16.0.0",
"react-toggle": "^4.1.3",
"reactflow": "^11.11.4",
"recharts": "^2.12.7",
"redis-semaphore": "^5.5.1",
"reflect-metadata": "^0.2.2",
"remark-gfm": "^3.0.1",
"remark-gfm": "^4.0.0",
"slackify-markdown": "^4.4.0",
"slugify": "^1.6.5",
"socket.io": "^4.7.4",
"socket.io-client": "^4.7.5",
"stripe": "^10.17.0",
"tailwind-merge": "^2.5.2",
"tailwind-merge": "^2.6.0",
"tippy.js": "^6.3.7",
"twilio": "^4.22.0",
"typeorm": "^0.3.20",
"typeorm": "^0.3.26",
"typeorm-extension": "^2.2.13",
"universal-cookie": "^7.2.1",
"use-async-effect": "^2.2.6",
"uuid": "^8.3.2",
"web-push": "^3.6.7",
"zod": "^3.25.30"
"zod": "^3.25.76"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
@@ -343,9 +352,9 @@
}
},
"node_modules/@remix-run/router": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.16.1.tgz",
"integrity": "sha512-es2g3dq6Nb07iFxGk5GuHN20RwBZOsuDQN7izWIisUcv9r+d2C5jQxqmgkdebXgReWfiyUabcki6Fg77mSNrig==",
"version": "1.23.2",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.2.tgz",
"integrity": "sha512-Ic6m2U/rMjTkhERIa/0ZtXJP17QUi2CbWE7cqx4J58M8aA3QTfW+2UlQ4psvTX9IO1RfNVhK3pcpdjej7L+t2w==",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
@@ -521,21 +530,23 @@
}
},
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"license": "MIT",
"dependencies": {
"fill-range": "^7.0.1"
"fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
@@ -649,10 +660,11 @@
}
},
"node_modules/diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz",
"integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.3.1"
}
@@ -682,9 +694,9 @@
}
},
"node_modules/filelist/node_modules/brace-expansion": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0"
@@ -703,10 +715,11 @@
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"license": "MIT",
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -793,6 +806,7 @@
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12.0"
}
@@ -957,12 +971,12 @@
}
},
"node_modules/react-router": {
"version": "6.23.1",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.23.1.tgz",
"integrity": "sha512-fzcOaRF69uvqbbM7OhvQyBTFDVrrGlsFdS3AL+1KfIBtGETibHzi3FkoTRyiDJnWNc2VxrfvR+657ROHjaNjqQ==",
"version": "6.30.3",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz",
"integrity": "sha512-XRnlbKMTmktBkjCLE8/XcZFlnHvr2Ltdr1eJX4idL55/9BbORzyZEaIkBFDhFGCEWBBItsVrDxwx3gnisMitdw==",
"license": "MIT",
"dependencies": {
"@remix-run/router": "1.16.1"
"@remix-run/router": "1.23.2"
},
"engines": {
"node": ">=14.0.0"
@@ -972,13 +986,13 @@
}
},
"node_modules/react-router-dom": {
"version": "6.23.1",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.23.1.tgz",
"integrity": "sha512-utP+K+aSTtEdbWpC+4gxhdlPFwuEfDKq8ZrPFU65bbRJY+l706qjR7yaidBpo3MSeA/fzwbXWbKBI6ftOnP3OQ==",
"version": "6.30.3",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.3.tgz",
"integrity": "sha512-pxPcv1AczD4vso7G4Z3TKcvlxK7g7TNt3/FNGMhfqyntocvYKj+GCatfigGDjbLozC4baguJ0ReCigoDJXb0ag==",
"license": "MIT",
"dependencies": {
"@remix-run/router": "1.16.1",
"react-router": "6.23.1"
"@remix-run/router": "1.23.2",
"react-router": "6.30.3"
},
"engines": {
"node": ">=14.0.0"
@@ -1008,6 +1022,16 @@
"loose-envify": "^1.1.0"
}
},
"node_modules/semver": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
"integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
"dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
}
},
"node_modules/simple-update-notifier": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz",
@@ -1020,15 +1044,6 @@
"node": ">=8.10.0"
}
},
"node_modules/simple-update-notifier/node_modules/semver": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
"integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
"dev": true,
"bin": {
"semver": "bin/semver.js"
}
},
"node_modules/supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
@@ -1046,6 +1061,7 @@
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^7.0.0"
},

View File

@@ -2,6 +2,10 @@
"name": "@oneuptime/accounts",
"version": "0.1.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/OneUptime/oneuptime"
},
"scripts": {
"dev-build": "NODE_ENV=development node esbuild.config.js",
"dev": "npx nodemon",
@@ -33,7 +37,7 @@
"ejs": "^3.1.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.30.2",
"use-async-effect": "^2.2.7"
},
"devDependencies": {

View File

@@ -1,3 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
Disallow: /api/*

View File

@@ -2,12 +2,13 @@ import React from "react";
const ForbiddenPage: () => JSX.Element = () => {
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto text-center">
<div className="text-6xl sm:text-7xl mb-4">🚫</div>
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Forbidden
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
You do not have permission to access this page.
</p>
</div>

View File

@@ -14,35 +14,35 @@ const ForgotPassword: () => JSX.Element = () => {
const [isSuccess, setIsSuccess] = useState<boolean>(false);
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="Your Company"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Forgot your password
</h2>
{!isSuccess && (
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Please enter your email and the password reset link will be sent to
you.
</p>
)}
{isSuccess && (
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
We have emailed you the password reset link. Please do not forget to
check spam.
</p>
)}
</div>
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="mt-6 sm:mt-8 w-full max-w-md mx-auto">
{!isSuccess && (
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<div className="bg-white py-6 px-4 shadow-sm sm:shadow rounded-lg sm:py-8 sm:px-10">
<ModelForm<User>
modelType={User}
name="Forgot Password"
@@ -81,8 +81,8 @@ const ForgotPassword: () => JSX.Element = () => {
</div>
)}
<div className="mt-5 text-center">
<p className="text-muted mb-0 text-gray-500">
<div className="mt-4 sm:mt-5 text-center">
<p className="text-muted mb-0 text-gray-500 text-sm sm:text-base">
Remember your password?{" "}
<Link
to={new Route("/accounts/login")}

View File

@@ -1,28 +1,44 @@
import {
LOGIN_API_URL,
VERIFY_TWO_FACTOR_AUTH_API_URL,
VERIFY_TOTP_AUTH_API_URL,
GENERATE_WEBAUTHN_AUTH_OPTIONS_API_URL,
VERIFY_WEBAUTHN_AUTH_API_URL,
} from "../Utils/ApiPaths";
import Route from "Common/Types/API/Route";
import URL from "Common/Types/API/URL";
import { JSONArray, JSONObject } from "Common/Types/JSON";
import ModelForm, { FormType } from "Common/UI/Components/Forms/ModelForm";
import ModelForm, {
FormType,
ModelField,
} from "Common/UI/Components/Forms/ModelForm";
import { CustomElementProps } from "Common/UI/Components/Forms/Types/Field";
import FormValues from "Common/UI/Components/Forms/Types/FormValues";
import FormFieldSchemaType from "Common/UI/Components/Forms/Types/FormFieldSchemaType";
import Link from "Common/UI/Components/Link/Link";
import { DASHBOARD_URL } from "Common/UI/Config";
import Captcha from "Common/UI/Components/Captcha/Captcha";
import {
DASHBOARD_URL,
CAPTCHA_ENABLED,
CAPTCHA_SITE_KEY,
} from "Common/UI/Config";
import OneUptimeLogo from "Common/UI/Images/logos/OneUptimeSVG/3-transparent.svg";
import EditionLabel from "Common/UI/Components/EditionLabel/EditionLabel";
import UiAnalytics from "Common/UI/Utils/Analytics";
import LoginUtil from "Common/UI/Utils/Login";
import UserTwoFactorAuth from "Common/Models/DatabaseModels/UserTwoFactorAuth";
import UserTotpAuth from "Common/Models/DatabaseModels/UserTotpAuth";
import UserWebAuthn from "Common/Models/DatabaseModels/UserWebAuthn";
import Navigation from "Common/UI/Utils/Navigation";
import UserUtil from "Common/UI/Utils/User";
import User from "Common/Models/DatabaseModels/User";
import React from "react";
import useAsyncEffect from "use-async-effect";
import StaticModelList from "Common/UI/Components/ModelList/StaticModelList";
import BasicForm from "Common/UI/Components/Forms/BasicForm";
import API from "Common/UI/Utils/API/API";
import HTTPErrorResponse from "Common/Types/API/HTTPErrorResponse";
import HTTPResponse from "Common/Types/API/HTTPResponse";
import Base64 from "Common/Utils/Base64";
import ErrorMessage from "Common/UI/Components/ErrorMessage/ErrorMessage";
import ComponentLoader from "Common/UI/Components/ComponentLoader/ComponentLoader";
const LoginPage: () => JSX.Element = () => {
const apiUrl: URL = LOGIN_API_URL;
@@ -36,19 +52,115 @@ const LoginPage: () => JSX.Element = () => {
const [showTwoFactorAuth, setShowTwoFactorAuth] =
React.useState<boolean>(false);
const [twoFactorAuthList, setTwoFactorAuthList] = React.useState<
UserTwoFactorAuth[]
>([]);
const [totpAuthList, setTotpAuthList] = React.useState<UserTotpAuth[]>([]);
const [selectedTwoFactorAuth, setSelectedTwoFactorAuth] = React.useState<
UserTwoFactorAuth | undefined
const [webAuthnList, setWebAuthnList] = React.useState<UserWebAuthn[]>([]);
const [selectedTotpAuth, setSelectedTotpAuth] = React.useState<
UserTotpAuth | undefined
>(undefined);
const [selectedWebAuthn, setSelectedWebAuthn] = React.useState<
UserWebAuthn | undefined
>(undefined);
type TwoFactorMethod = {
type: "totp" | "webauthn";
item: UserTotpAuth | UserWebAuthn;
};
const twoFactorMethods: TwoFactorMethod[] = [
...totpAuthList.map((item: UserTotpAuth) => {
return { type: "totp" as const, item };
}),
...webAuthnList.map((item: UserWebAuthn) => {
return { type: "webauthn" as const, item };
}),
];
const [isTwoFactorAuthLoading, setIsTwoFactorAuthLoading] =
React.useState<boolean>(false);
const [twofactorAuthError, setTwoFactorAuthError] =
React.useState<string>("");
const isCaptchaEnabled: boolean =
CAPTCHA_ENABLED && Boolean(CAPTCHA_SITE_KEY);
const [shouldResetCaptcha, setShouldResetCaptcha] =
React.useState<boolean>(false);
const [captchaResetSignal, setCaptchaResetSignal] = React.useState<number>(0);
const handleCaptchaReset: () => void = React.useCallback(() => {
setCaptchaResetSignal((current: number) => {
return current + 1;
});
}, []);
let loginFields: Array<ModelField<User>> = [
{
field: {
email: true,
},
fieldType: FormFieldSchemaType.Email,
placeholder: "jeff@example.com",
required: true,
disabled: Boolean(initialValues && initialValues["email"]),
title: "Email",
dataTestId: "email",
disableSpellCheck: true,
},
{
field: {
password: true,
},
title: "Password",
required: true,
validation: {
minLength: 6,
},
fieldType: FormFieldSchemaType.Password,
sideLink: {
text: "Forgot password?",
url: new Route("/accounts/forgot-password"),
openLinkInNewTab: false,
},
dataTestId: "password",
disableSpellCheck: true,
},
];
if (isCaptchaEnabled) {
loginFields = loginFields.concat([
{
overrideField: {
captchaToken: true,
},
overrideFieldKey: "captchaToken",
fieldType: FormFieldSchemaType.CustomComponent,
title: "Human Verification",
description:
"Complete the captcha challenge so we know you're not a bot.",
required: true,
showEvenIfPermissionDoesNotExist: true,
getCustomElement: (
_values: FormValues<User>,
customProps: CustomElementProps,
) => {
return (
<Captcha
siteKey={CAPTCHA_SITE_KEY}
resetSignal={captchaResetSignal}
error={customProps.error}
onTokenChange={(token: string) => {
customProps.onChange?.(token);
}}
onBlur={customProps.onBlur}
/>
);
},
},
]);
}
useAsyncEffect(async () => {
if (Navigation.getQueryStringByName("email")) {
setInitialValues({
@@ -57,6 +169,96 @@ const LoginPage: () => JSX.Element = () => {
}
}, []);
useAsyncEffect(async () => {
if (selectedWebAuthn) {
setIsTwoFactorAuthLoading(true);
try {
const result: HTTPResponse<JSONObject> = await API.post({
url: GENERATE_WEBAUTHN_AUTH_OPTIONS_API_URL,
data: {
data: {
email: initialValues["email"],
},
},
});
if (result instanceof HTTPErrorResponse) {
throw result;
}
const data: any = result.data as any;
// Convert base64url strings back to Uint8Array
data.options.challenge = Base64.base64UrlToUint8Array(
data.options.challenge,
);
if (data.options.allowCredentials) {
data.options.allowCredentials.forEach((cred: any) => {
cred.id = Base64.base64UrlToUint8Array(cred.id);
});
}
// Use WebAuthn API
const credential: PublicKeyCredential =
(await navigator.credentials.get({
publicKey: data.options,
})) as PublicKeyCredential;
const assertionResponse: AuthenticatorAssertionResponse =
credential.response as AuthenticatorAssertionResponse;
// Verify
const verifyResult: HTTPResponse<JSONObject> = await API.post({
url: VERIFY_WEBAUTHN_AUTH_API_URL,
data: {
data: {
...initialValues,
challenge: data.challenge,
credential: {
id: credential.id,
rawId: Base64.uint8ArrayToBase64Url(
new Uint8Array(credential.rawId),
),
response: {
authenticatorData: Base64.uint8ArrayToBase64Url(
new Uint8Array(assertionResponse.authenticatorData),
),
clientDataJSON: Base64.uint8ArrayToBase64Url(
new Uint8Array(assertionResponse.clientDataJSON),
),
signature: Base64.uint8ArrayToBase64Url(
new Uint8Array(assertionResponse.signature),
),
userHandle: assertionResponse.userHandle
? Base64.uint8ArrayToBase64Url(
new Uint8Array(assertionResponse.userHandle),
)
: null,
},
type: credential.type,
},
},
},
});
if (verifyResult instanceof HTTPErrorResponse) {
throw verifyResult;
}
const user: User = User.fromJSON(
verifyResult.data as JSONObject,
User,
) as User;
const miscData: JSONObject = {};
login(user as User, miscData);
} catch (error) {
setTwoFactorAuthError(API.getFriendlyErrorMessage(error as Error));
}
setIsTwoFactorAuthLoading(false);
}
}, [selectedWebAuthn]);
type LoginFunction = (user: User, miscData: JSONObject) => void;
const login: LoginFunction = (user: User, miscData: JSONObject): void => {
@@ -72,19 +274,22 @@ const LoginPage: () => JSX.Element = () => {
};
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="OneUptime"
/>
<div className="mt-4 flex justify-center">
<EditionLabel />
</div>
{!showTwoFactorAuth && (
<>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Sign in to your account
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Join thousands of business that use OneUptime to help them stay
online all the time.
</p>
@@ -93,10 +298,10 @@ const LoginPage: () => JSX.Element = () => {
{showTwoFactorAuth && (
<>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Two Factor Authentication
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Select two factor authentication method. You will be asked to
enter a code from the selected method.
</p>
@@ -104,68 +309,71 @@ const LoginPage: () => JSX.Element = () => {
)}
</div>
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<div className="mt-6 sm:mt-8 w-full max-w-md mx-auto">
<div className="bg-white py-6 px-4 shadow-sm sm:shadow sm:rounded-lg sm:py-8 sm:px-10 rounded-lg">
{!showTwoFactorAuth && (
<ModelForm<User>
modelType={User}
id="login-form"
name="Login"
fields={[
{
field: {
email: true,
},
fieldType: FormFieldSchemaType.Email,
placeholder: "jeff@example.com",
required: true,
disabled: Boolean(initialValues && initialValues["email"]),
title: "Email",
dataTestId: "email",
disableSpellCheck: true,
},
{
field: {
password: true,
},
title: "Password",
required: true,
validation: {
minLength: 6,
},
fieldType: FormFieldSchemaType.Password,
sideLink: {
text: "Forgot password?",
url: new Route("/accounts/forgot-password"),
openLinkInNewTab: false,
},
dataTestId: "password",
disableSpellCheck: true,
},
]}
fields={loginFields}
createOrUpdateApiUrl={apiUrl}
formType={FormType.Create}
submitButtonText={"Login"}
onBeforeCreate={(data: User) => {
onBeforeCreate={(data: User, miscDataProps: JSONObject) => {
if (isCaptchaEnabled) {
const captchaToken: string | undefined = (
miscDataProps["captchaToken"] as string | undefined
)
?.toString()
.trim();
if (!captchaToken) {
throw new Error(
"Please complete the captcha challenge before signing in.",
);
}
miscDataProps["captchaToken"] = captchaToken;
setShouldResetCaptcha(true);
}
setInitialValues(User.toJSON(data, User));
return Promise.resolve(data);
}}
onLoadingChange={(loading: boolean) => {
if (!isCaptchaEnabled) {
return;
}
if (!loading && shouldResetCaptcha) {
setShouldResetCaptcha(false);
handleCaptchaReset();
}
}}
onSuccess={(
value: User | JSONObject,
miscData: JSONObject | undefined,
) => {
if (
miscData &&
(miscData as JSONObject)["twoFactorAuth"] === true
((((miscData as JSONObject)["totpAuthList"] as JSONArray)
?.length || 0) > 0 ||
(((miscData as JSONObject)["webAuthnList"] as JSONArray)
?.length || 0) > 0)
) {
const twoFactorAuthList: Array<UserTwoFactorAuth> =
UserTwoFactorAuth.fromJSONArray(
(miscData as JSONObject)[
"twoFactorAuthList"
] as JSONArray,
UserTwoFactorAuth,
const totpAuthList: Array<UserTotpAuth> =
UserTotpAuth.fromJSONArray(
(miscData as JSONObject)["totpAuthList"] as JSONArray,
UserTotpAuth,
);
setTwoFactorAuthList(twoFactorAuthList);
const webAuthnList: Array<UserWebAuthn> =
UserWebAuthn.fromJSONArray(
(miscData as JSONObject)["webAuthnList"] as JSONArray,
UserWebAuthn,
);
setTotpAuthList(totpAuthList);
setWebAuthnList(webAuthnList);
setShowTwoFactorAuth(true);
return;
}
@@ -187,19 +395,53 @@ const LoginPage: () => JSX.Element = () => {
/>
)}
{showTwoFactorAuth && !selectedTwoFactorAuth && (
<StaticModelList<UserTwoFactorAuth>
titleField="name"
descriptionField=""
selectedItems={[]}
list={twoFactorAuthList}
onClick={(item: UserTwoFactorAuth) => {
setSelectedTwoFactorAuth(item);
}}
/>
{showTwoFactorAuth && !selectedTotpAuth && !selectedWebAuthn && (
<div className="space-y-4">
{twoFactorMethods.map(
(method: TwoFactorMethod, index: number) => {
return (
<div
key={index}
className="cursor-pointer p-4 border border-gray-300 rounded-lg hover:bg-gray-50"
onClick={() => {
if (method.type === "totp") {
setSelectedTotpAuth(method.item as UserTotpAuth);
} else {
setSelectedWebAuthn(method.item as UserWebAuthn);
}
}}
>
<div className="font-medium">
{(method.item as any).name}
</div>
<div className="text-sm text-gray-500">
{method.type === "totp"
? "Authenticator App"
: "Security Key"}
</div>
</div>
);
},
)}
</div>
)}
{showTwoFactorAuth && selectedTwoFactorAuth && (
{showTwoFactorAuth && selectedWebAuthn && (
<div className="text-center">
<div className="text-lg font-medium mb-4">
Authenticating with Security Key
</div>
<div className="text-sm text-gray-500 mb-4">
Please follow the instructions on your security key device.
</div>
{isTwoFactorAuthLoading && <ComponentLoader />}
{twofactorAuthError && (
<ErrorMessage message={twofactorAuthError} />
)}
</div>
)}
{showTwoFactorAuth && selectedTotpAuth && (
<BasicForm
id="two-factor-auth-form"
name="Two Factor Auth"
@@ -225,14 +467,17 @@ const LoginPage: () => JSX.Element = () => {
try {
const code: string = data["code"] as string;
const twoFactorAuthId: string =
selectedTwoFactorAuth.id?.toString() as string;
selectedTotpAuth!.id?.toString() as string;
const result: HTTPErrorResponse | HTTPResponse<JSONObject> =
await API.post(VERIFY_TWO_FACTOR_AUTH_API_URL, {
await API.post({
url: VERIFY_TOTP_AUTH_API_URL,
data: {
...initialValues,
code: code,
twoFactorAuthId: twoFactorAuthId,
data: {
...initialValues,
code: code,
twoFactorAuthId: twoFactorAuthId,
},
},
});
@@ -260,9 +505,9 @@ const LoginPage: () => JSX.Element = () => {
/>
)}
</div>
<div className="mt-10 text-center">
{!selectedTwoFactorAuth && (
<div className="text-muted mb-0 text-gray-500">
<div className="mt-6 sm:mt-10 text-center">
{!selectedTotpAuth && !selectedWebAuthn && (
<div className="text-muted mb-0 text-gray-500 text-sm sm:text-base">
Don&apos;t have an account?{" "}
<Link
to={new Route("/accounts/register")}
@@ -272,11 +517,12 @@ const LoginPage: () => JSX.Element = () => {
</Link>
</div>
)}
{selectedTwoFactorAuth ? (
{selectedTotpAuth || selectedWebAuthn ? (
<div className="text-muted mb-0 text-gray-500">
<Link
onClick={() => {
setSelectedTwoFactorAuth(undefined);
setSelectedTotpAuth(undefined);
setSelectedWebAuthn(undefined);
}}
className="text-indigo-500 hover:text-indigo-900 cursor-pointer"
>

View File

@@ -42,12 +42,12 @@ const LoginPage: () => JSX.Element = () => {
try {
// get sso config by email.
const listResult: HTTPErrorResponse | HTTPResponse<JSONArray> =
await API.get(
URL.fromString(apiUrl.toString()).addQueryParam(
await API.get({
url: URL.fromString(apiUrl.toString()).addQueryParam(
"email",
email.toString(),
),
);
});
if (listResult instanceof HTTPErrorResponse) {
throw listResult;
@@ -126,18 +126,18 @@ const LoginPage: () => JSX.Element = () => {
);
return (
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="">
<div className="w-full max-w-md mx-auto px-4 sm:px-0">
<div className="flex min-h-full flex-col justify-center py-8 sm:py-12">
<div className="w-full">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="OneUptime"
/>
<h2 className="mt-10 text-center text-xl tracking-tight text-gray-900">
<h2 className="mt-6 sm:mt-10 text-center text-lg sm:text-xl tracking-tight text-gray-900">
Select Project
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Select the project you want to login to.
</p>
</div>
@@ -164,23 +164,23 @@ const LoginPage: () => JSX.Element = () => {
}
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="OneUptime"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Login with SSO
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Login with your SSO provider to access your account.
</p>
</div>
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<div className="mt-6 sm:mt-8 w-full max-w-md mx-auto">
<div className="bg-white py-6 px-4 shadow-sm sm:shadow rounded-lg sm:py-8 sm:px-10">
<BasicForm
modelType={User}
id="login-form"
@@ -217,8 +217,8 @@ const LoginPage: () => JSX.Element = () => {
}
/>
</div>
<div className="mt-10 text-center">
<div className="text-muted mb-0 text-gray-500">
<div className="mt-6 sm:mt-10 text-center">
<div className="text-muted mb-0 text-gray-500 text-sm sm:text-base">
Don&apos;t have an account?{" "}
<Link
to={new Route("/accounts/register")}

View File

@@ -2,12 +2,13 @@ import React from "react";
const LoginPage: () => JSX.Element = () => {
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto text-center">
<div className="text-6xl sm:text-7xl mb-4">🔍</div>
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Page not found
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Page you are looking for does not exist.
</p>
</div>

View File

@@ -4,12 +4,22 @@ import URL from "Common/Types/API/URL";
import Dictionary from "Common/Types/Dictionary";
import { JSONObject } from "Common/Types/JSON";
import ErrorMessage from "Common/UI/Components/ErrorMessage/ErrorMessage";
import ModelForm, { FormType } from "Common/UI/Components/Forms/ModelForm";
import Fields from "Common/UI/Components/Forms/Types/Fields";
import ModelForm, {
FormType,
ModelField,
} from "Common/UI/Components/Forms/ModelForm";
import { CustomElementProps } from "Common/UI/Components/Forms/Types/Field";
import FormFieldSchemaType from "Common/UI/Components/Forms/Types/FormFieldSchemaType";
import FormValues from "Common/UI/Components/Forms/Types/FormValues";
import Link from "Common/UI/Components/Link/Link";
import PageLoader from "Common/UI/Components/Loader/PageLoader";
import { BILLING_ENABLED, DASHBOARD_URL } from "Common/UI/Config";
import Captcha from "Common/UI/Components/Captcha/Captcha";
import {
BILLING_ENABLED,
DASHBOARD_URL,
CAPTCHA_ENABLED,
CAPTCHA_SITE_KEY,
} from "Common/UI/Config";
import OneUptimeLogo from "Common/UI/Images/logos/OneUptimeSVG/3-transparent.svg";
import BaseAPI from "Common/UI/Utils/API/API";
import UiAnalytics from "Common/UI/Utils/Analytics";
@@ -22,6 +32,7 @@ import Reseller from "Common/Models/DatabaseModels/Reseller";
import User from "Common/Models/DatabaseModels/User";
import React, { useState } from "react";
import useAsyncEffect from "use-async-effect";
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
const RegisterPage: () => JSX.Element = () => {
const apiUrl: URL = SIGNUP_API_URL;
@@ -36,6 +47,19 @@ const RegisterPage: () => JSX.Element = () => {
undefined,
);
const isCaptchaEnabled: boolean =
CAPTCHA_ENABLED && Boolean(CAPTCHA_SITE_KEY);
const [shouldResetCaptcha, setShouldResetCaptcha] =
React.useState<boolean>(false);
const [captchaResetSignal, setCaptchaResetSignal] = React.useState<number>(0);
const handleCaptchaReset: () => void = React.useCallback(() => {
setCaptchaResetSignal((current: number) => {
return current + 1;
});
}, []);
if (UserUtil.isLoggedIn()) {
Navigation.navigate(DASHBOARD_URL);
}
@@ -93,7 +117,7 @@ const RegisterPage: () => JSX.Element = () => {
}
}, []);
let formFields: Fields<User> = [
let formFields: Array<ModelField<User>> = [
{
field: {
email: true,
@@ -149,6 +173,36 @@ const RegisterPage: () => JSX.Element = () => {
}
}
if (!BILLING_ENABLED) {
formFields = formFields.concat([
{
overrideField: {
selfHostedCompanyName: true,
},
overrideFieldKey: "selfHostedCompanyName",
fieldType: FormFieldSchemaType.Text,
placeholder: "Acme, Inc.",
required: false,
title: "Company Name",
dataTestId: "selfHostedCompanyName",
showEvenIfPermissionDoesNotExist: true,
disableSpellCheck: true,
},
{
overrideField: {
selfHostedPhoneNumber: true,
},
overrideFieldKey: "selfHostedPhoneNumber",
fieldType: FormFieldSchemaType.Phone,
required: false,
placeholder: "+11234567890",
title: "Phone Number",
dataTestId: "selfHostedPhoneNumber",
showEvenIfPermissionDoesNotExist: true,
},
]);
}
formFields = formFields.concat([
{
field: {
@@ -183,6 +237,58 @@ const RegisterPage: () => JSX.Element = () => {
},
]);
if (!IsBillingEnabled) {
formFields = formFields.concat([
{
overrideField: {
notifySelfHosted: true,
},
overrideFieldKey: "notifySelfHosted",
fieldType: FormFieldSchemaType.Checkbox,
required: false,
defaultValue: true,
title: "Notify me about security patches and new releases",
dataTestId: "notifySelfHosted",
showEvenIfPermissionDoesNotExist: true,
spanFullRow: true,
},
]);
}
if (isCaptchaEnabled) {
formFields = formFields.concat([
{
overrideField: {
captchaToken: true,
},
overrideFieldKey: "captchaToken",
fieldType: FormFieldSchemaType.CustomComponent,
title: "Human Verification",
description:
"Complete the captcha challenge so we know you're not a bot.",
required: true,
showEvenIfPermissionDoesNotExist: true,
getCustomElement: (
_values: FormValues<User>,
customProps: CustomElementProps,
) => {
return (
<Captcha
siteKey={CAPTCHA_SITE_KEY}
resetSignal={captchaResetSignal}
error={customProps.error}
onTokenChange={(token: string) => {
customProps.onChange?.(token);
}}
onBlur={customProps.onBlur}
/>
);
},
},
]);
}
if (error) {
return <ErrorMessage message={error} />;
}
@@ -192,17 +298,17 @@ const RegisterPage: () => JSX.Element = () => {
}
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<div className="flex min-h-full flex-col justify-center py-6 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto lg:max-w-2xl">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="OneUptime"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Create your OneUptime account
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Join thousands of business that use OneUptime to help them stay online
all the time.
</p>
@@ -211,8 +317,8 @@ const RegisterPage: () => JSX.Element = () => {
</p>
</div>
<div className="mt-8 lg:mx-auto lg:w-full lg:max-w-2xl">
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<div className="mt-6 sm:mt-8 w-full max-w-md mx-auto lg:max-w-2xl">
<div className="bg-white py-6 px-4 shadow-sm sm:shadow rounded-lg sm:py-8 sm:px-10">
<ModelForm<User>
modelType={User}
id="register-form"
@@ -222,7 +328,27 @@ const RegisterPage: () => JSX.Element = () => {
maxPrimaryButtonWidth={true}
fields={formFields}
createOrUpdateApiUrl={apiUrl}
onBeforeCreate={(item: User): Promise<User> => {
onBeforeCreate={(
item: User,
miscDataProps: JSONObject,
): Promise<User> => {
if (isCaptchaEnabled) {
const captchaToken: string | undefined = (
miscDataProps["captchaToken"] as string | undefined
)
?.toString()
.trim();
if (!captchaToken) {
throw new Error(
"Please complete the captcha challenge before signing up.",
);
}
miscDataProps["captchaToken"] = captchaToken;
setShouldResetCaptcha(true);
}
const utmParams: Dictionary<string> = UserUtil.getUtmParams();
if (utmParams && Object.keys(utmParams).length > 0) {
@@ -240,10 +366,21 @@ const RegisterPage: () => JSX.Element = () => {
}}
formType={FormType.Create}
submitButtonText={"Sign Up"}
onLoadingChange={(loading: boolean) => {
if (!isCaptchaEnabled) {
return;
}
if (!loading && shouldResetCaptcha) {
setShouldResetCaptcha(false);
handleCaptchaReset();
}
}}
onSuccess={(value: User, miscData: JSONObject | undefined) => {
if (value && value.email) {
UiAnalytics.userAuth(value.email);
UiAnalytics.capture("accounts/register");
UiAnalytics.capture("sign_up");
}
LoginUtil.login({
@@ -253,8 +390,8 @@ const RegisterPage: () => JSX.Element = () => {
}}
/>
</div>
<div className="mt-5 text-center text-gray-500">
<p className="text-muted mb-0">
<div className="mt-4 sm:mt-5 text-center text-gray-500">
<p className="text-muted mb-0 text-sm sm:text-base">
Already have an account?{" "}
<Link
to={new Route("/accounts/login")}

View File

@@ -14,33 +14,33 @@ const RegisterPage: () => JSX.Element = () => {
const [isSuccess, setIsSuccess] = useState<boolean>(false);
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto">
<img
className="mx-auto h-12 w-auto"
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="Your Company"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
<h2 className="mt-4 sm:mt-6 text-center text-xl sm:text-2xl tracking-tight text-gray-900">
Reset your password
</h2>
{!isSuccess && (
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Please enter your new password and we will have it updated.{" "}
</p>
)}
{isSuccess && (
<p className="mt-2 text-center text-sm text-gray-600">
<p className="mt-2 text-center text-sm text-gray-600 px-2 sm:px-0">
Your password has been updated. Please log in.
</p>
)}
</div>
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="mt-6 sm:mt-8 w-full max-w-md mx-auto">
{!isSuccess && (
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<div className="bg-white py-6 px-4 shadow-sm sm:shadow rounded-lg sm:py-8 sm:px-10">
<ModelForm<User>
modelType={User}
id="register-form"
@@ -97,8 +97,8 @@ const RegisterPage: () => JSX.Element = () => {
</div>
)}
<div className="mt-5 text-center">
<p className="text-muted mb-0 text-gray-500">
<div className="mt-4 sm:mt-5 text-center">
<p className="text-muted mb-0 text-gray-500 text-sm sm:text-base">
Know your password?{" "}
<Link
to={new Route("/accounts/login")}

View File

@@ -58,60 +58,53 @@ const VerifyEmail: () => JSX.Element = () => {
}
return (
<div className="auth-page">
<div className="container-fluid p-0">
<div className="row g-0">
<div className="col-xxl-4 col-lg-4 col-md-3"></div>
<div className="flex min-h-full flex-col justify-center py-8 px-4 sm:py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md mx-auto">
<div className="text-center mb-8 sm:mb-10">
<img
className="mx-auto h-10 w-auto sm:h-12"
src={OneUptimeLogo}
alt="OneUptime"
/>
</div>
<div className="col-xxl-4 col-lg-4 col-md-6">
<div className="auth-full-page-content d-flex p-sm-5 p-4">
<div className="w-100">
<div className="d-flex flex-column h-100">
<div className="auth-content my-auto">
<div
className="mt-4 text-center flex justify-center"
style={{ marginBottom: "40px" }}
>
<img
style={{ height: "50px" }}
src={`${OneUptimeLogo}`}
/>
</div>
{!error && (
<div className="text-center">
<h5 className="mb-0">Your email is verified.</h5>
<p className="text-muted mt-2 mb-0">
Thank you for verifying your email. You can now log in
to OneUptime.{" "}
</p>
</div>
)}
{error && (
<div className="text-center">
<h5 className="mb-0">Sorry, something went wrong!</h5>
<p className="text-muted mt-2 mb-0">{error}</p>
</div>
)}
<div className="mt-5 text-center">
<p className="text-muted mb-0">
Return to sign in?{" "}
<Link
to={new Route("/accounts/login")}
className="hover:underline text-primary fw-semibold"
>
Login.
</Link>
</p>
</div>
</div>
</div>
</div>
<div className="bg-white py-6 px-4 shadow-sm sm:shadow rounded-lg sm:py-8 sm:px-10">
{!error && (
<div className="text-center">
<div className="text-5xl sm:text-6xl mb-4"></div>
<h2 className="text-xl sm:text-2xl tracking-tight text-gray-900">
Your email is verified.
</h2>
<p className="text-gray-600 mt-3 text-sm sm:text-base px-2 sm:px-0">
Thank you for verifying your email. You can now log in to
OneUptime.
</p>
</div>
</div>
)}
<div className="col-xxl-4 col-lg-4 col-md-3"></div>
{error && (
<div className="text-center">
<div className="text-5xl sm:text-6xl mb-4"></div>
<h2 className="text-xl sm:text-2xl tracking-tight text-gray-900">
Sorry, something went wrong!
</h2>
<p className="text-gray-600 mt-3 text-sm sm:text-base px-2 sm:px-0">
{error}
</p>
</div>
)}
</div>
<div className="mt-6 sm:mt-8 text-center">
<p className="text-gray-500 text-sm sm:text-base">
Return to sign in?{" "}
<Link
to={new Route("/accounts/login")}
className="text-indigo-500 hover:text-indigo-900 cursor-pointer"
>
Login.
</Link>
</p>
</div>
</div>
</div>

View File

@@ -1,6 +1,6 @@
import Route from "Common/Types/API/Route";
import URL from "Common/Types/API/URL";
import { IDENTITY_URL } from "Common/UI/Config";
import { IDENTITY_URL, APP_API_URL } from "Common/UI/Config";
export const SIGNUP_API_URL: URL = URL.fromURL(IDENTITY_URL).addRoute(
new Route("/signup"),
@@ -9,9 +9,17 @@ export const LOGIN_API_URL: URL = URL.fromURL(IDENTITY_URL).addRoute(
new Route("/login"),
);
export const VERIFY_TWO_FACTOR_AUTH_API_URL: URL = URL.fromURL(
export const VERIFY_TOTP_AUTH_API_URL: URL = URL.fromURL(IDENTITY_URL).addRoute(
new Route("/verify-totp-auth"),
);
export const GENERATE_WEBAUTHN_AUTH_OPTIONS_API_URL: URL = URL.fromURL(
APP_API_URL,
).addRoute(new Route("/user-webauthn/generate-authentication-options"));
export const VERIFY_WEBAUTHN_AUTH_API_URL: URL = URL.fromURL(
IDENTITY_URL,
).addRoute(new Route("/verify-two-factor-auth"));
).addRoute(new Route("/verify-webauthn-auth"));
export const SERVICE_PROVIDER_LOGIN_URL: URL = URL.fromURL(
IDENTITY_URL,

View File

@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<meta name="slack-app-id" content="ACVBMTPJQ">
<meta name="description" content="OneUptime the complete open-source observability platform.">
<meta name="description" content="OneUptime - the complete open-source observability platform.">
<% if(typeof enableGoogleTagManager !== 'undefined' ? enableGoogleTagManager : false){ %>
<!-- Google Tag Manager -->

View File

@@ -3,20 +3,23 @@
#
# Pull base image nodejs image.
FROM public.ecr.aws/docker/library/node:23.8-alpine3.21
FROM public.ecr.aws/docker/library/node:24.9-alpine3.21
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
RUN npm config set fetch-retries 5
RUN npm config set fetch-retry-mintimeout 100000
RUN npm config set fetch-retry-maxtimeout 600000
RUN npm config set fetch-retry-mintimeout 20000
RUN npm config set fetch-retry-maxtimeout 60000
ARG GIT_SHA
ARG APP_VERSION
ARG IS_ENTERPRISE_EDITION=false
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
ENV IS_ENTERPRISE_EDITION=${IS_ENTERPRISE_EDITION}
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# IF APP_VERSION is not set, set it to 1.0.0

Some files were not shown because too many files have changed in this diff Show More