Commit Graph

39 Commits

Author SHA1 Message Date
Simon Larsen
86e5a33bd9
refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 16:14:31 -06:00
Simon Larsen
dea6c55365
refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 15:50:32 -06:00
Simon Larsen
36a0dad41c
refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:35:45 -06:00
Simon Larsen
52630b16d1
refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 10:06:53 -06:00
Simon Larsen
0b10880f58
refactor: Update TelemetryIngestor and Probe to initialize telemetry with the correct service name
This refactor updates the TelemetryIngestor and Probe components to initialize telemetry with the correct service name. Previously, the service name was hardcoded or set to a default value, which could lead to inconsistencies and confusion. By using the APP_NAME constant defined in each component, the service name is now dynamically set, ensuring accurate telemetry tracking.

Files modified:
- TelemetryIngestor/Index.ts
- Probe/Index.ts
2024-08-02 16:35:09 -06:00
Simon Larsen
8ef66650fb
chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
Simon Larsen
07973e85a3
chore: Update package.json dependencies for CommonProject 2024-07-24 19:10:40 -06:00
Simon Larsen
09883b1129
chore: Update Dockerfile templates to include CommonProject dependencies 2024-07-24 19:04:25 -06:00
Simon Larsen
70a2a3993b
refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
Simon Larsen
dfb7f2320c
refactor: Update jest.config.json files with testPathIgnorePatterns
The jest.config.json files in the Model, Probe, Common, Copilot, CommonUI, Ingestor, IsolatedVM, TestServer, and CommonServer directories have been updated. The "testPathIgnorePatterns" property has been added to each file, excluding the "node_modules" and "dist" directories from test path matching. This change improves test performance and ensures that unnecessary files are not included in the test coverage.
2024-06-11 14:52:55 +01:00
Simon Larsen
faf0641503
refactor: Update package.json and Encryption.ts to use latest version of crypto-js 2024-05-29 15:25:09 +01:00
Simon Larsen
5f7dcf7433
refactor: Update timeout handling in monitor scripts
This commit updates the timeout handling in the monitor scripts to use the `WorkflowScriptTimeoutInMS` and `PROBE_CUSTOM_CODE_MONITOR_SCRIPT_TIMEOUT_IN_MS` values from the environment configuration. This ensures that the monitor scripts have consistent and configurable timeout values, improving the reliability and performance of the monitoring system.
2024-05-22 20:06:32 +01:00
Simon Larsen
e25d38ee74
refactor: Update axios dependency to version 1.6.8 2024-05-22 12:34:57 +01:00
Simon Larsen
f592e852f2
refactor: Update logger.error statements for exiting node process 2024-05-22 10:09:16 +01:00
Simon Larsen
a5f05376b0
refactor: Update logger.debug statements for exiting node process
This commit updates the logger.debug statements in multiple files to log the message 'Exiting node process' instead of 'Exiting node process'. This change improves the logging consistency and ensures that the appropriate log level is used for this message.
2024-05-22 10:04:41 +01:00
Simon Larsen
4017e7ce0e
feat: Update import paths for VMUtil in JavaScript and IfElse components
This commit updates the import paths for the VMUtil module in the JavaScript and IfElse components. The new import path is '../../../Utils/VM/VMAPI'. This change ensures that the correct module is imported and used in the components, improving the reliability and maintainability of the code.
2024-05-21 12:07:26 +01:00
Simon Larsen
4bb5a29963
refactor: Update axios and posthog-js dependencies
This code change updates the axios and posthog-js dependencies to their latest versions. The axios dependency is updated from 1.6.7 to 1.6.8, and the posthog-js dependency is updated from 1.115.0 to 1.129.0. This update ensures that we have the latest bug fixes and improvements for these libraries, improving the overall stability and performance of our application.
2024-05-17 15:19:16 +01:00
Simon Larsen
0647f7d22a
Refactor initialization code and add default routes in multiple files 2024-04-24 17:44:29 +01:00
Simon Larsen
cc80f6fa54
Refactor initialization code in multiple files 2024-04-24 14:02:17 +01:00
Simon Larsen
382c71be93
Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set 2024-04-09 13:03:32 +01:00
Simon Larsen
445a8d3f35
Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set 2024-04-09 12:53:42 +01:00
Simon Larsen
356bacf9a0
Update Dockerfile.tpl files to set APP_VERSION to 2.0.0 if not set 2024-04-09 12:53:13 +01:00
Simon Larsen
1401daab06
Update tsconfig.json files with resolveJsonModule option 2024-04-08 14:03:07 +01:00
Simon Larsen
f57596391d
Refactor JSONFunctions and JavaScriptCode classes 2024-04-06 21:10:29 +01:00
Simon Larsen
8282669fbd
Fix async/await issue in VM.ts 2024-04-06 20:49:23 +01:00
Simon Larsen
f38d8ae452
Fix async bug in VM.ts 2024-04-06 20:48:17 +01:00
Simon Larsen
7726bad4e2
Fix code formatting and remove unnecessary lines 2024-04-06 17:38:15 +01:00
Simon Larsen
a50510819b
Add Isolated VM debugging configuration and handle exceptions in code execution 2024-04-06 16:34:42 +01:00
Simon Larsen
0c73bd8292
Add logging statements to VM.ts 2024-04-06 15:48:03 +01:00
Simon Larsen
0334117a40
Add VM API endpoint for running code in sandbox 2024-04-06 14:47:00 +01:00
Simon Larsen
5d3d19d210
Update OneUptime app deployment and add isolated-vm upstream in Nginx configuration 2024-04-06 13:30:01 +01:00
Simon Larsen
73be1fa956
Add VMUtil class for running code in a sandbox 2024-04-05 21:23:40 +01:00
Simon Larsen
07b10cfdf7
Add logger.info statement to App initialization 2024-04-05 21:14:15 +01:00
Simon Larsen
4d1c007d68
Update package name to @oneuptime/isolated-vm 2024-04-05 20:22:50 +01:00
Simon Larsen
f11f1c23c5
Remove unused import and variable declaration in Index.ts 2024-04-05 20:07:22 +01:00
Simon Larsen
1991977af1
Fix dependencies in IsolatedVM package.json and package-lock.json 2024-04-05 18:59:43 +01:00
Simon Larsen
acf35e1c4c
Update IsolatedVM dependencies and add docker build for IsolatedVM 2024-04-05 18:38:57 +01:00
Simon Larsen
36f290edf0
Add isolatedVMP port and update Dockerfile for IsolatedVM 2024-04-05 18:33:52 +01:00
Simon Larsen
1ad1aebc1b
Refactor code for improved performance 2024-04-05 18:22:29 +01:00