Simon Larsen
e1f4cc22ac
chore: Add git and Kubernetes aliases
2024-07-10 12:12:46 +01:00
Simon Larsen
6911cf59f4
pin otel collector version
2024-07-10 11:56:26 +01:00
Simon Larsen
5172d7f349
chore: Add CORS headers to Telemetry and OTelCollector
...
This commit adds CORS headers to the Telemetry and OTelCollector components to allow cross-origin resource sharing. This enables the client to make requests to these components from different origins. The headers include "Access-Control-Allow-Credentials", "Access-Control-Allow-Origin", "Access-Control-Allow-Methods", and "Access-Control-Allow-Headers".
2024-07-10 11:48:22 +01:00
Simon Larsen
55e043f3bd
Merge branch 'master' of github.com:OneUptime/oneuptime
2024-07-10 11:15:04 +01:00
Simon Larsen
bdee2f0585
Merge branch 'master' of github.com:OneUptime/oneuptime
2024-07-10 10:14:05 +00:00
Simon Larsen
833ca82cb7
Merge branch 'master' of github.com:OneUptime/oneuptime
2024-07-10 11:13:15 +01:00
Simon Larsen
6751972d7f
Merge pull request #1564 from OneUptime/snyk-upgrade-3232471f850f8871f36776389f11aae2
...
[Snyk] Upgrade @opentelemetry/instrumentation-xml-http-request from 0.51.1 to 0.52.0
2024-07-10 11:11:18 +01:00
Simon Larsen
44ed919f95
Merge pull request #1565 from OneUptime/snyk-upgrade-7d66d03180c77c4ca697278c523089b6
...
[Snyk] Upgrade react-big-calendar from 1.12.2 to 1.13.0
2024-07-10 11:10:45 +01:00
Simon Larsen
c8ad2a1ac8
Merge pull request #1566 from OneUptime/snyk-upgrade-95f152c7f03c4ab700ab8a5a552aa96c
...
[Snyk] Upgrade posthog-js from 1.138.0 to 1.139.3
2024-07-10 11:10:36 +01:00
Simon Larsen
232b537969
Merge pull request #1567 from OneUptime/snyk-upgrade-7c8fb9ccde1fd7e55540a2005ae62b07
...
[Snyk] Upgrade globals from 15.4.0 to 15.6.0
2024-07-10 11:10:30 +01:00
Simon Larsen
d5c8e7836f
Refactor MigrationName1720532068612 to delete all records from CopilotAction and drop a foreign key constraint
2024-07-10 11:09:44 +01:00
snyk-bot
e897955466
fix: upgrade globals from 15.4.0 to 15.6.0
...
Snyk has created this PR to upgrade globals from 15.4.0 to 15.6.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
2024-07-10 06:13:29 +00:00
snyk-bot
4f3ae06e59
fix: upgrade posthog-js from 1.138.0 to 1.139.3
...
Snyk has created this PR to upgrade posthog-js from 1.138.0 to 1.139.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
2024-07-10 06:12:11 +00:00
snyk-bot
e971bdaee9
fix: upgrade react-big-calendar from 1.12.2 to 1.13.0
...
Snyk has created this PR to upgrade react-big-calendar from 1.12.2 to 1.13.0.
See this package in npm:
react-big-calendar
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-07-10 06:06:23 +00:00
snyk-bot
d165ce86df
fix: upgrade @opentelemetry/instrumentation-xml-http-request from 0.51.1 to 0.52.0
...
Snyk has created this PR to upgrade @opentelemetry/instrumentation-xml-http-request from 0.51.1 to 0.52.0.
See this package in npm:
@opentelemetry/instrumentation-xml-http-request
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-07-10 06:06:18 +00:00
Simon Larsen
ec704cbe34
Refactor executeScript function to execute multiple commands sequentially
2024-07-09 21:06:40 +01:00
Simon Larsen
658cb9fee3
refactor: Update URL for validating secret key in app.py
...
The code changes in `app.py` update the URL for validating the secret key. The previous URL was using the endpoint `/api/code-repository/is-valid/{secretKey}`, and it has been changed to `/api/copilot-code-repository/is-valid/{secretKey}`. This change ensures that the correct endpoint is used for validating the secret key in the OneUptime service.
2024-07-09 19:38:29 +00:00
Simon Larsen
3234112644
Refactor CORS headers to allow all origins and additional headers
2024-07-09 20:08:45 +01:00
Simon Larsen
0c7db14e99
Refactor Telemetry and TelemetryIngest classes to use URL class from Common/Types/API/URL
2024-07-09 20:02:12 +01:00
Simon Larsen
34118d5892
chore: Fix typo in npm run command
2024-07-09 18:52:26 +01:00
Simon Larsen
2ee80ee2f9
chore: Refactor CopilotCodeRepositoryAPI to remove unnecessary onBeforeCommitScript, onBeforeRepositoryCloneScript, onAfterCommitScript, and onAfterRepositoryCloneScript properties
2024-07-09 18:12:08 +01:00
Simon Larsen
aaacaa654b
chore: Refactor executeAction function to use typescript interfaces and types
2024-07-09 17:51:36 +01:00
Simon Larsen
d8c38a3564
chore: Add necessary configuration files for OneUptime service
2024-07-09 17:40:26 +01:00
Simon Larsen
add77694c3
chore: Add necessary configuration files for OneUptime service
2024-07-09 16:34:58 +01:00
Simon Larsen
66171e8035
chore: Remove unnecessary columns from CopilotCodeRepository table
2024-07-09 16:33:06 +01:00
Simon Larsen
932d218455
chore: Update import paths for CodeRepository to CopilotCodeRepository
2024-07-09 14:42:19 +01:00
Simon Larsen
33a295c191
chore: Update import paths for CodeRepository to CopilotCodeRepository
2024-07-09 14:17:05 +01:00
Simon Larsen
4c0f1b08c8
chore: Add onBeforeCommitScript, onBeforeRepositoryCloneScript, onAfterCommitScript, and onAfterRepositoryCloneScript properties to CopilotCodeRepository model
2024-07-09 14:14:04 +01:00
Simon Larsen
f58e935cb9
chore: Update import paths for CodeRepository to CopilotCodeRepository
2024-07-09 14:07:42 +01:00
Simon Larsen
ad48ea5a3f
chore: Update import paths for CodeRepository to CopilotCodeRepository
2024-07-09 13:55:59 +01:00
Simon Larsen
3a4ae31872
chore: Update import paths for CodeRepository to CopilotCodeRepository
2024-07-09 13:53:50 +01:00
Simon Larsen
48996b0810
Merge remote-tracking branch 'origin/snyk-upgrade-cd470ff382f3ed998304bb88ef9afe7f'
2024-07-09 13:03:57 +01:00
Simon Larsen
d450c99560
Merge remote-tracking branch 'origin/snyk-upgrade-65126f8b570e3a8824e5969f0e718753'
2024-07-09 13:01:33 +01:00
Simon Larsen
51884a31cd
Merge branch 'master' of github.com:OneUptime/oneuptime
2024-07-09 12:55:04 +01:00
Simon Larsen
5251b93fc9
refactor: Improve logging in Llama class
2024-07-09 12:54:49 +01:00
Simon Larsen
ac3635511c
Merge pull request #1535 from OneUptime/snyk-upgrade-a5008561a01273d3fcf7af71de29b60d
...
[Snyk] Upgrade @opentelemetry/instrumentation from 0.51.1 to 0.52.0
2024-07-09 12:53:36 +01:00
Simon Larsen
0990ef0846
Merge pull request #1556 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-csMvV
...
[OneUptime Copilot] Improve Comments on /App/FeatureSet/Docs/Utils/Render.ts
2024-07-09 12:52:44 +01:00
simlarsen
294b245d88
OneUptime Copilot: Improve Comments on /App/FeatureSet/Docs/Utils/Render.ts
2024-07-09 11:44:50 +00:00
Simon Larsen
3eb3564c57
Merge pull request #1548 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-BFXsW
...
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Pagination.ts
2024-07-09 12:37:05 +01:00
Simon Larsen
851f061018
Merge pull request #1547 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-eTbgL
...
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/PageNotFound.ts
2024-07-09 12:36:18 +01:00
Simon Larsen
e9a2c64d67
Merge pull request #1555 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-OeXvG
...
[OneUptime Copilot] Improve Comments on /App/FeatureSet/Docs/Utils/Nav.ts
2024-07-09 12:34:24 +01:00
simlarsen
f9b72e0155
OneUptime Copilot: Improve Comments on /App/FeatureSet/Docs/Utils/Nav.ts
2024-07-09 11:31:45 +00:00
simlarsen
834fd23542
OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Pagination.ts
2024-07-09 11:09:53 +00:00
simlarsen
14b45b95a4
OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/PageNotFound.ts
2024-07-09 11:09:36 +00:00
Simon Larsen
74d4a6545e
Merge branch 'master' of github.com:OneUptime/oneuptime
2024-07-08 20:00:01 +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
a34a6657f0
feat: Add max_new_tokens parameter to job function
...
The code changes in `app.py` add a new parameter `max_new_tokens` to the `job` function. This parameter allows the maximum number of new tokens to be specified when calling the function. This change enhances the flexibility and control of the `job` function by allowing the maximum number of new tokens to be adjusted as needed.
2024-07-08 18:46:22 +00: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