15 Commits

Author SHA1 Message Date
Nawaz Dhandala
a02018aeb2 refactor: adjust formatting in SelectFieldGenerator test and update roadmap documents for clarity and new features 2026-03-16 21:23:59 +00:00
Nawaz Dhandala
11e5c2778d refactor: update AnalyticsTableName declaration for improved type safety in tests 2026-03-16 21:06:37 +00:00
Nawaz Dhandala
92c00e4fc8 feat: add LogScrubRule migration and update OnCallDutyPolicyScheduleLayer defaults; refactor test imports and clean up code formatting 2026-03-16 20:00:52 +00:00
Nawaz Dhandala
5f660bae02 feat: refactor table names in analytics models to use AnalyticsTableName enum 2026-03-16 12:43:55 +00:00
Nawaz Dhandala
8b3912d369 feat: update NPM publish workflow to use NODE_AUTH_TOKEN and adjust CLI entry point 2026-02-18 16:03:32 +00:00
Nawaz Dhandala
7bf03074b2 fix: update shebang in Index.ts and correct paths in package.json for CLI execution 2026-02-18 15:55:03 +00:00
Nawaz Dhandala
b05db3486e feat: refactor tests to use environment variables for credentials and update jest command 2026-02-18 15:50:31 +00:00
Nawaz Dhandala
5e5fdb5402 feat: conditionally include title and body in push notification payload 2026-02-18 15:42:38 +00:00
simlarsen
9d5faca3ec chore: npm audit fix 2026-02-18 02:31:53 +00:00
simlarsen
895af10755 chore: npm audit fix 2026-02-17 02:28:09 +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
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