Commit Graph

53 Commits

Author SHA1 Message Date
Simon Larsen
c9a69db7f2
refactor: Update import paths for ObjectID and OneUptimeDate in various service files 2024-08-14 22:51:29 +01:00
Simon Larsen
69dd24128a
feat: Add PATCH method support to API components 2024-08-14 16:42:07 +01:00
Simon Larsen
b29fb6e833
refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 13:00:31 -06:00
Simon Larsen
2e2ade0b16
refactor: Update import statements for BaseModel in JSONFunctions and BaseModel in UserModel 2024-08-05 12:08:45 -06:00
Simon Larsen
c968156fa7
refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:43:45 -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
5251b93fc9
refactor: Improve logging in Llama class 2024-07-09 12:54:49 +01:00
Simon Larsen
646c0f37d6
refactor: Improve logging in Llama class 2024-07-08 19:59:58 +01:00
Simon Larsen
1fdc36fea2
refactor: Update logging in Llama class for better debugging 2024-07-08 19:56:27 +01:00
Simon Larsen
95f87567e8
refactor: Improve logging in Llama class
This commit improves the logging in the Llama class by adding more detailed log messages. It modifies the log statements in the execute method to include the current file path and the type of Copilot action being executed. This change enhances the readability and debugging capabilities of the Llama service.
2024-07-08 18:15:27 +01:00
Simon Larsen
9ad97b1fe0
refactor: Add timeout handling to Llama prompt execution
This commit adds timeout handling to the Llama prompt execution in the Llama class. It introduces a timeoutInMinutes property in the CopilotActionPrompt interface and uses it to set a timeout for the prompt execution. If the prompt execution exceeds the specified timeout, a LLMTimeoutException is thrown, indicating that the prompt has timed out. This change enhances the reliability and responsiveness of the Llama service by preventing long-running prompts from blocking the execution flow.
2024-07-08 18:06:06 +01:00
Simon Larsen
de7d06e5d7
refactor: Improve error handling in FetchListAndProbe
This commit refactors the FetchListAndProbe class to improve error handling. It adds try-catch blocks around the main logic and logs any errors that occur using the logger. Additionally, it includes a catch block to handle any errors thrown during the fetchListAndProbe function. This change ensures that errors are properly handled and logged, preventing potential issues with the monitoring process.
2024-07-05 10:18:03 +01:00
Simon Larsen
cc3f003be5
refactor: Improve error handling in FetchListAndProbe
This commit refactors the FetchListAndProbe class to improve error handling. It adds try-catch blocks around the main logic and logs any errors that occur using the logger. Additionally, it includes a catch block to handle any errors thrown during the fetchListAndProbe function. This change ensures that errors are properly handled and logged, preventing potential issues with the monitoring process.
2024-07-04 22:22:37 +01: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
affa492ce3
refactor: Improve SSL certificate error handling
This commit refactors the API class in API.ts to improve the handling of SSL certificate errors. The `getFriendlyErrorMessage` method now includes specific error messages for different SSL certificate issues, such as expired certificates, certificates signed by unknown authorities, and self-signed certificates. This enhancement enhances the user experience by providing clearer and more informative error messages for SSL certificate errors.
2024-06-13 21:50:59 +01:00
Simon Larsen
5ae3a5b5ee
refactor: Improve error handling in API class
The API class in API.ts has been updated to improve error handling. The getFriendlyErrorMessage method now includes additional error cases and returns more specific error messages for network errors, timeouts, request aborts, cancellations, connection issues, and SSL certificate expiration. This change enhances the user experience by providing clearer and more informative error messages.
2024-06-13 21:50:10 +01:00
Simon Larsen
5716ab2445
refactor: Update API error handling and display
The API class in API.ts has been updated to improve error handling and display. The getFriendlyErrorMessage method now includes additional error cases and returns more specific error messages for network errors, timeouts, request aborts, cancellations, connection issues, and SSL certificate expiration. This change enhances the user experience by providing clearer and more informative error messages.
2024-06-13 21:45:56 +01:00
Simon Larsen
a66a04456b
refactor: Update endpoint URLs for status check script 2024-06-13 21:44:49 +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
643f4acddd
refactor: Improve error handling in API class and include URL in exception message 2024-05-08 12:17:14 +01:00
Simon Larsen
cb82bd7c6f
Merge branch 'master' into telemetry 2023-11-17 16:36:54 +00:00
Simon Larsen
57c13add9c
support form-urlencoded 2023-11-17 13:58:46 +00:00
Simon Larsen
0d8f174675
Refactor code for better readability and
maintainability
2023-11-14 17:42:26 +00:00
Simon Larsen
b4e56b18ce
Refactor AnalyticsDataModel to AnalyticsBaseModel
and update CommonModel.fromJSON method
2023-11-14 16:37:41 +00:00
Simon Larsen
f57047c778
fix sttaus page api 2023-10-16 19:01:45 +01:00
Simon Larsen
89183a77eb
fix criteria page 2023-08-10 18:39:45 +01:00
Simon Larsen
894eafec43
add logs to probe 2023-08-07 08:57:36 +01:00
Simon Larsen
7f81ae4009
fix common server tests 2023-07-26 12:48:54 +01:00
Simon Larsen
61e590e161
fix settings 2023-05-14 21:13:51 +01:00
Simon Larsen
a2f083bd12
fix probe responses 2023-05-14 14:30:26 +01:00
Simon Larsen
33de10c4cf
fix api error 2023-03-07 12:40:46 +00:00
Simon Larsen
d876ca39fc
fix headers 2023-01-27 11:45:11 +00:00
Simon Larsen
a164a0056e
fix bug with file upload 2022-10-21 20:56:14 +01:00
Simon Larsen
87050575b7
fix lint 2022-07-29 20:22:59 +01:00
Simon Larsen
ecae952fa1
build permissions engine 2022-07-26 20:47:36 +01:00
Simon Larsen
7546d1e6c5
make props consistent 2022-07-23 09:51:18 +01:00
Simon Larsen
8ab8a0c763
add model api. 2022-07-13 19:41:47 +01:00
Simon Larsen
8f3b8edbed
make model api. 2022-07-12 21:44:17 +01:00
Simon Larsen
a95201e803
fix lint. 2022-06-30 00:13:28 +01:00
Simon Larsen
d58147de6d
implement alerts 2022-06-29 22:17:30 +01:00
Simon Larsen
173c03730a
fix form issues 2022-06-29 21:51:49 +01:00
Simon Larsen
caf6788c59
fix lint. 2022-05-25 19:24:43 +01:00
Simon Larsen
cae6be1a14
fix env. 2022-05-23 22:06:12 +01:00
Simon Larsen
0dfa3d4b81
fix compile error 2022-05-23 13:46:00 +01:00
Simon Larsen
e6e1407a87
add nodemon 2022-05-23 12:45:32 +01:00
Nawaz Dhandala
0c0a5af895
fix 2022-04-17 15:01:39 +01:00
Nawaz Dhandala
262a9a0c12
fix common 2022-04-17 14:29:14 +01:00
Nawaz Dhandala
78bd51ad3a
fix 2022-04-15 23:14:01 +01:00
Nawaz Dhandala
dd009cf193
fix 2022-04-15 12:57:47 +01:00
Nawaz Dhandala
053507acd2
fix 2022-04-14 14:59:38 +01:00