Compare commits

...

6368 Commits

Author SHA1 Message Date
Nawaz Dhandala
667bb02656 refactor(Pill): optimize spacing and color handling, streamline hover/focus effects 2025-11-10 20:04:22 +00:00
Nawaz Dhandala
f26645901e refactor(Dropdown, Label): add icon support to Pill component and update usage in Label 2025-11-10 19:28:48 +00:00
Nawaz Dhandala
2a2fa44c3f refactor(Pill): add icon support and enhance rendering logic 2025-11-10 19:17:11 +00:00
Nawaz Dhandala
81de4ea7c8 refactor(Pill): enhance color handling and styling, improve hover/focus effects 2025-11-10 19:09:24 +00:00
Nawaz Dhandala
9b00d54682 refactor(Dropdown): enhance label rendering and styling, improve color handling 2025-11-10 18:57:58 +00:00
Nawaz Dhandala
13a7605903 refactor(ModelForm): streamline access control and labels column handling 2025-11-10 18:14:54 +00:00
Nawaz Dhandala
8a7413ada4 Merge branch 'master' into dropdown-labels 2025-11-10 18:05:18 +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
8bd67ae432 feat(Dropdown): enhance dropdown options with label support and color handling 2025-11-10 14:52:41 +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
Simon Larsen
df3f8b6a74 feat: Add optional stackTrace field to job data structures for enhanced error tracking 2025-08-03 12:59:51 +01:00
Simon Larsen
0c9d2c821a feat: Add advanced horizontal pod autoscaler configuration for improved scaling behavior 2025-08-02 13:05:05 +01:00
Simon Larsen
ba49aaf0c3 fix: Skip probe offline email notifications when billing is enabled 2025-08-02 12:36:50 +01:00
Simon Larsen
6ea5ad7fe8 fix: Update nextPingAt calculation to use a 2-minute offset for improved timing accuracy 2025-08-02 11:42:01 +01:00
Simon Larsen
962866d109 fix: Improve queue size extraction and handling in metrics endpoint 2025-08-01 20:58:58 +01:00
Simon Larsen
115216561c feat: Add ports configuration for OneUptime probe service 2025-08-01 20:36:30 +01:00
Simon Larsen
f709c90cc4 fix: Update probe port handling in KEDA ScaledObjects for improved configuration 2025-08-01 20:21:41 +01:00
Simon Larsen
d7f01b0189 fix: Update default port value in probe template for better configuration handling 2025-08-01 20:19:31 +01:00
Simon Larsen
c3eaa8995c fix ports 2025-08-01 20:19:10 +01:00
Simon Larsen
53b482b9f3 refactor: Update Helm templates to use new port structure in values.yaml 2025-08-01 20:13:30 +01:00
Simon Larsen
d52670f39c refactor: Update Helm templates to use new port structure in values.yaml 2025-08-01 18:22:05 +01:00
Simon Larsen
fdc1332b9e Merge branch 'master' of github.com:OneUptime/oneuptime 2025-08-01 16:17:09 +01:00
Simon Larsen
a937416663 fix: Update autoscaler condition to prevent conflicts with KEDA configuration 2025-08-01 16:17:05 +01:00
Nawaz Dhandala
546d41da81 fix: Clean up formatting and ensure consistent return structure in metrics endpoints 2025-08-01 16:13:05 +01:00
Simon Larsen
c4c6793b29 feat: Implement KEDA autoscaling configuration for probes and add metrics endpoints 2025-08-01 15:38:04 +01:00
Simon Larsen
c894b112e6 fix: Await monitorResource call to ensure proper error handling in incoming request processing 2025-08-01 14:34:17 +01:00
Simon Larsen
304baf1bb4 fix: Await monitorResource call to ensure proper error handling in probe response processing 2025-08-01 14:33:17 +01:00
Simon Larsen
9adea6b1ba feat: Remove Helm annotations for post-install and post-upgrade hooks from templates 2025-08-01 14:01:04 +01:00
Simon Larsen
5498521e02 feat: Add Helm annotations for post-install and post-upgrade hooks 2025-08-01 13:47:52 +01:00
Simon Larsen
9e97c6ddbc feat: Update autoscaler conditions for fluent-ingest, incoming-request-ingest, probe-ingest, and server-monitor-ingest templates 2025-08-01 13:23:39 +01:00
Nawaz Dhandala
63272e09f8 refactor: Simplify function parameter formatting and improve readability in various files 2025-08-01 10:45:55 +01:00
Simon Larsen
327c28afdc feat: Implement fluent ingest worker for processing queue jobs 2025-08-01 10:34:17 +01:00
Simon Larsen
896020b93b feat: Add KEDA autoscaling configuration for various ingests
- Introduced KEDA autoscaling configuration in values.yaml for probeIngest, fluentIngest, incomingRequestIngest, and serverMonitorIngest.
- Added endpoints for queue statistics, size, and failed jobs in IncomingRequestIngest and ProbeIngest APIs.
- Implemented asynchronous processing of incoming requests and probes using job queues.
- Created Metrics API for KEDA metrics integration in IncomingRequestIngest, ProbeIngest, and ServerMonitorIngest.
- Refactored IncomingRequest and Probe APIs to utilize queue services for processing.
- Added job processing logic for incoming requests and probes in respective job files.
- Implemented queue service classes for managing job addition and retrieval of queue statistics.
2025-08-01 10:29:02 +01:00
Simon Larsen
15a68472b0 feat: comment out ClusterKeyAuthorization import for KEDA debugging 2025-07-31 21:23:41 +01:00
Simon Larsen
0210480d97 feat: remove Prometheus metrics endpoint for KEDA debugging 2025-07-31 21:22:04 +01:00
Simon Larsen
72fdc06687 feat: temporarily disable authentication middleware for KEDA debugging in metrics endpoint 2025-07-31 20:52:10 +01:00
Simon Larsen
3710b81b9a feat: add replica count support for deployments in Helm templates 2025-07-31 20:03:25 +01:00
Simon Larsen
9fcb3dc2e0 feat: update cluster key handling for KEDA compatibility in authorization middleware and Helm chart 2025-07-31 19:50:25 +01:00
Simon Larsen
43e2ccf51a feat: improve secret handling in Helm chart for upgrade scenarios 2025-07-31 19:29:07 +01:00
Nawaz Dhandala
48c3d8603a fix: format code for better readability and consistency in MonitorResource and Metrics 2025-07-31 12:57:39 +01:00
Simon Larsen
9cfc912161 feat: enhance response messages for incoming request checks with time difference 2025-07-31 12:56:06 +01:00
Simon Larsen
29e3ee57ab feat: add metrics-api endpoint for queue size retrieval in KEDA autoscaling 2025-07-31 12:44:48 +01:00
Simon Larsen
be7e849822 feat: add KEDA ScaledObjects for OpenTelemetry Ingest with configurable metrics 2025-07-31 12:34:43 +01:00
Simon Larsen
59d76b601a feat: add KEDA autoscaling support for OpenTelemetry Ingest with configurable metrics 2025-07-31 12:18:57 +01:00
Simon Larsen
b77ef336b8 feat: add replica count configuration for multiple deployments in Helm templates 2025-07-31 11:47:03 +01:00
Nawaz Dhandala
7df21fe8e5 refactor: add type annotations for pagination parameters in OTelIngest 2025-07-30 22:42:24 +01:00
Nawaz Dhandala
f39e1943c7 refactor: improve code formatting and readability in Queue and TelemetryQueueService 2025-07-30 22:40:45 +01:00
Simon Larsen
966a903646 feat: implement pagination for retrieving failed jobs from the queue 2025-07-30 22:39:58 +01:00
Simon Larsen
1d9d37c6d1 refactor: optimize queue size and stats calculations by using count methods 2025-07-30 22:37:46 +01:00
Simon Larsen
7edcc4dbce feat: add endpoint to retrieve failed jobs from the queue 2025-07-30 22:37:08 +01:00
Simon Larsen
0939294d22 Refactor code structure for improved readability and maintainability 2025-07-30 19:45:46 +01:00
Simon Larsen
dbcbfe5f79 refactor: simplify telemetry processing worker initialization and remove unused export 2025-07-30 19:25:52 +01:00
Simon Larsen
a638972817 feat: update @oneuptime/common dependency in test-release workflow 2025-07-30 16:44:05 +01:00
Simon Larsen
37c6310465 feat: update @oneuptime/common to version 7.0.4800 and adjust workflow dependencies 2025-07-30 16:42:39 +01:00
Nawaz Dhandala
a7d38389fd style: improve formatting and consistency in Prometheus metrics generation 2025-07-30 16:30:26 +01:00
Nawaz Dhandala
2f55336db7 Merge branch 'master' of https://github.com/OneUptime/oneuptime 2025-07-30 16:29:25 +01:00
Nawaz Dhandala
f99a15b95b refactor: enhance type annotations for better clarity in queue processing methods 2025-07-30 16:28:53 +01:00
Simon Larsen
de5bff2ffe feat: add Prometheus metrics endpoint for telemetry queue monitoring 2025-07-30 16:26:38 +01:00
Nawaz Dhandala
cef2764499 style: format code for better readability and consistency across multiple files 2025-07-30 16:22:26 +01:00
Simon Larsen
a7014ac3ff fix: update projectId handling to ensure proper ObjectID conversion in telemetry processing 2025-07-30 16:12:19 +01:00
Simon Larsen
fa31dc670c feat: implement telemetry ingestion processing with queue integration 2025-07-30 15:37:08 +01:00
Simon Larsen
4c2a12cf31 feat: add queue stats and size endpoints with authorization middleware 2025-07-30 15:34:51 +01:00
Simon Larsen
b4115e1529 feat: initialize telemetry processing worker with logging for better monitoring 2025-07-30 15:30:23 +01:00
Simon Larsen
3883790c50 feat: add getQueueSize and getQueueStats methods to Queue class for improved queue monitoring 2025-07-30 15:29:53 +01:00
Simon Larsen
1702558d73 chore: update package-lock.json files to add @types/web-push and web-push dependencies
- Added "@types/web-push": "^3.6.4" to multiple package-lock.json files.
- Added "web-push": "^3.6.7" to multiple package-lock.json files.
- Removed "lodash" and "@types/lodash" from multiple package-lock.json files.
2025-07-30 15:21:03 +01:00
Simon Larsen
cacdbff50e Implement feature X to enhance user experience and optimize performance 2025-07-30 13:58:46 +01:00
Nawaz Dhandala
0bc6b432a2 refactor: Update getNestedValue function signature for improved type safety in Detail and TableRow components 2025-07-30 13:57:23 +01:00
Simon Larsen
eaa09d4a13 refactor: Replace lodash get with custom nested value helper in Detail and TableRow components 2025-07-30 13:52:30 +01:00
Simon Larsen
08c85dd31c refactor: Remove lodash and its type definitions from package dependencies 2025-07-30 12:48:19 +01:00
Nawaz Dhandala
42e82b6fb7 refactor: Clean up whitespace in various components for improved readability 2025-07-30 12:08:53 +01:00
Simon Larsen
463a20f342 feat: Add ingestedAt timestamp to ProbeMonitorResponse and update ingestion logic 2025-07-30 12:08:21 +01:00
Simon Larsen
1b8a7e3261 chore: Add sw.js to .gitignore to prevent tracking of service worker file 2025-07-30 11:23:26 +01:00
Simon Larsen
8b27dd1f26 refactor: Remove deprecated service worker implementation from Dashboard 2025-07-30 11:23:09 +01:00
Simon Larsen
17c72f65e3 refactor: Update service worker template and generated version information for Dashboard 2025-07-30 11:22:29 +01:00
Simon Larsen
5eee900fd3 feat: Implement service worker generation script and update build process for Dashboard 2025-07-30 11:18:55 +01:00
Simon Larsen
0a6cdd11af refactor: Simplify esbuild configuration by disabling minification and removing build version generation 2025-07-30 10:47:23 +01:00
Simon Larsen
8514b6b82e refactor: Enhance PWA service worker with caching strategies and update notifications 2025-07-30 10:45:18 +01:00
Simon Larsen
dfa8f6cd24 refactor: Remove unused LocalStorage import and update status page ID handling in DashboardMasterPage 2025-07-30 10:41:19 +01:00
Simon Larsen
61614227e1 refactor: Update dependency version for @oneuptime/common to allow any version 2025-07-30 10:01:46 +01:00
Simon Larsen
f3d20eb544 refactor: Add spacing before nav element in Pagination component for improved layout 2025-07-29 13:47:33 +01:00
Simon Larsen
a11ff57fda refactor: Clean up layout in Pagination component with improved mobile navigation and added comments for clarity 2025-07-29 13:46:23 +01:00
Simon Larsen
deb635bc80 refactor: Remove unnecessary height style from Modal component for improved responsiveness 2025-07-29 11:25:26 +01:00
Simon Larsen
c707830811 refactor: Adjust margin for label in ProbePicker component for better alignment 2025-07-29 11:20:28 +01:00
Nawaz Dhandala
24ada68d1e refactor: Replace lodash Dictionary import with local Dictionary type in multiple files 2025-07-29 11:12:37 +01:00
Nawaz Dhandala
ca23234ba9 refactor: Update import statement for Dictionary in Route.ts 2025-07-29 11:10:22 +01:00
Nawaz Dhandala
ea40a955e9 refactor: Enhance Slack notification structure for balance refill in NotificationService 2025-07-29 11:07:56 +01:00
Nawaz Dhandala
a46ee07d70 refactor: Format imports and improve error logging in NotificationService 2025-07-29 11:07:10 +01:00
Simon Larsen
5c5bab408d refactor: Simplify Terraform examples by removing unused monitor configurations and variables 2025-07-29 11:02:57 +01:00
Simon Larsen
540d632baf feat: Add Slack notification for balance refill in NotificationService 2025-07-28 12:03:40 +01:00
Simon Larsen
74718017ad refactor: Update jest.config.json for module name mapping and transform ignore patterns 2025-07-25 16:03:01 +01:00
Simon Larsen
d16897db1b refactor: update dependencies in package.json
- Replaced "Common" dependency with "@oneuptime/common" version 7.0.4773.
- Maintained existing versions for "dotenv" and "ts-node".
2025-07-25 15:38:07 +01:00
Simon Larsen
be3fc6f077 refactor: Update monitorTask type from PromiseVoidFunction to Promise<void> for consistency 2025-07-25 14:37:52 +01:00
Nawaz Dhandala
b7b577517c refactor: Improve type safety by defining PromiseVoidFunction for monitorTask in CheckOnlineStatus 2025-07-25 14:34:04 +01:00
Simon Larsen
ccf7a96e43 refactor: Streamline monitor processing logic in CheckOnlineStatus for improved error handling and parallel execution 2025-07-25 14:26:54 +01:00
Simon Larsen
892f3c052a feat: Add timeNow property to ServerMonitorResponse and update related logic in ServerMonitorCriteria and CheckOnlineStatus 2025-07-25 14:25:01 +01:00
Simon Larsen
00833a06f4 fix: Update time calculation in CheckOnlineStatus to use three minutes ago 2025-07-25 14:20:32 +01:00
Simon Larsen
472adf610a refactor: Update comment to clarify SSL monitor check in MonitorResourceUtil 2025-07-25 14:14:12 +01:00
Nawaz Dhandala
976c36de9a feat: Add migration for new default values and indexes in OnCallDutyPolicyScheduleLayer 2025-07-25 13:50:08 +01:00
Simon Larsen
6026c9c9af refactor: Remove unused import for ProbeApiIngestResponse in ServerMonitor.ts 2025-07-25 13:49:34 +01:00
Simon Larsen
791aa1421b feat: Optimize server monitor response handling by returning early and streamlining processing 2025-07-25 13:49:14 +01:00
Simon Larsen
79dbc94f82 feat: Add log viewing instructions and improve error logging in agent 2025-07-25 13:42:25 +01:00
Simon Larsen
ded41fc7ec feat: Enhance logging functionality with log file path configuration and log directory management 2025-07-25 13:38:23 +01:00
Simon Larsen
581c374745 refactor: Remove PWA install prompt to streamline user experience 2025-07-25 13:31:26 +01:00
Simon Larsen
64c0c8b4cb haraka delete 2025-07-25 09:07:09 +01:00
Simon Larsen
7d2241ba98 feat: Add indexes to improve query performance across multiple database models 2025-07-24 20:02:23 +01:00
Nawaz Dhandala
30bada5b7a feat: Add additional performance indexes and update migration index list 2025-07-24 18:40:40 +01:00
Simon Larsen
61bfb37747 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-07-24 18:39:42 +01:00
Simon Larsen
4686aa941a feat: Add performance indexes to improve query efficiency across multiple database models 2025-07-24 18:39:04 +01:00
Nawaz Dhandala
3c065c76b0 feat: Add missing indexes for improved query performance in IncidentStateTimeline and MonitorProbe 2025-07-24 18:26:03 +01:00
Simon Larsen
5dccd03ed4 refactor: Remove ProcessMetrics job to streamline monitor metric handling 2025-07-24 18:16:32 +01:00
Simon Larsen
a395a95997 feat: Add composite indexes for efficient querying in IncidentStateTimeline, MonitorProbe, and MonitorStatusTimeline 2025-07-24 18:16:06 +01:00
Nawaz Dhandala
89082b1232 refactor: Improve error handling and type definitions in core operations across multiple services 2025-07-24 17:42:38 +01:00
Nawaz Dhandala
7cb33de450 refactor: Enhance error handling and type definitions in core operations for AlertService and IncidentService 2025-07-24 17:34:46 +01:00
Nawaz Dhandala
353ac875fb refactor: Simplify promise handling and error logging in service operations 2025-07-24 17:25:54 +01:00
Simon Larsen
d6560fdb32 feat: Refactor incident creation to execute core operations asynchronously 2025-07-24 17:23:53 +01:00
Simon Larsen
5115e21a7a feat: Refactor scheduled maintenance creation to execute core operations asynchronously 2025-07-24 17:17:52 +01:00
Simon Larsen
0e6119ddce feat: Execute owner assignment asynchronously in StatusPageService 2025-07-24 17:14:46 +01:00
Simon Larsen
b842a49cfb feat: Refactor monitor creation to run core operations in parallel, deferring workspace operations 2025-07-24 16:42:29 +01:00
Nawaz Dhandala
9737e50467 refactor: Clean up whitespace and improve code formatting in migration and service files 2025-07-24 16:00:49 +01:00
Simon Larsen
91beb6091d feat: Optimize monitor creation by parallelizing workspace, billing, and probe operations 2025-07-24 15:56:35 +01:00
Simon Larsen
68e610aa9f fix: Disable workflow operations for MetricType entity 2025-07-24 15:25:04 +01:00
Simon Larsen
d673ef3a01 feat: Enhance memory management and error handling in telemetry ingestion processes 2025-07-24 15:22:29 +01:00
Simon Larsen
6dff8f07bf feat: Update deviceToken column type to VeryLongText and add migration for changes 2025-07-24 08:54:03 +01:00
Simon Larsen
4ca836c91f fix: Remove OPENTELEMETRY_EXPORTER_OTLP_HEADERS from environment variables in multiple Helm templates 2025-07-24 08:30:51 +01:00
Simon Larsen
d59ba73993 fix: Set current time for log entries without timeUnixNano 2025-07-23 21:08:24 +01:00
Simon Larsen
e878855b31 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-23 13:43:56 +01:00
Simon Larsen
8f95ae65f6 feat: Add disableAutoscaler option for various services in Helm templates and values 2025-07-23 13:42:53 +01:00
Nawaz Dhandala
995b93f525 fix: Remove unnecessary blank line in root route handler 2025-07-22 14:21:56 +01:00
Simon Larsen
fc3c11b12d Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-22 13:57:00 +01:00
Simon Larsen
d0ce225b66 fix: Update request parameter to ignore unused variable in root route handler 2025-07-22 13:56:24 +01:00
Nawaz Dhandala
b486b59598 fix: Correct syntax in navigation group definition and clean up route file 2025-07-22 12:54:04 +01:00
Simon Larsen
4d7135fb11 refactor: Remove mobile detection and redirection logic from routes for PWA 2025-07-22 12:52:35 +01:00
Simon Larsen
0c4464ed87 Add comprehensive FAQ and troubleshooting documentation for OneUptime PWA across all platforms
- Created a new FAQ and troubleshooting guide for OneUptime Mobile and Desktop Apps, covering general questions, installation issues, notification problems, and security considerations.
- Added detailed installation guides for iOS, Linux, macOS, and Windows, including step-by-step instructions and troubleshooting tips.
- Included platform-specific issues and solutions to enhance user experience and support.
2025-07-22 12:48:50 +01:00
Simon Larsen
d705ea6896 fix: Update shortcut names to include "OneUptime" for clarity in manifest files 2025-07-22 12:07:44 +01:00
Simon Larsen
ac146df9e8 refactor: Remove caching and offline functionality from service workers for PWA 2025-07-22 12:01:43 +01:00
Simon Larsen
3ce7d54eef fix: Update theme color to black across multiple files for consistency 2025-07-22 11:53:16 +01:00
Simon Larsen
418c89c15b Merge branch 'master' into pwa 2025-07-22 11:47:57 +01:00
Simon Larsen
80144814d1 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-22 10:05:43 +01:00
Simon Larsen
f3223e397b fix: Correct capitalization in help text for OneUptime URL flag 2025-07-22 10:03:44 +01:00
Nawaz Dhandala
fce5e18fba style: Format class name for better readability 2025-07-22 09:57:15 +01:00
Nawaz Dhandala
cdd60c1d6b Refactor StatusPage and related services to enhance code readability and maintainability
- Updated StatusPage model to improve formatting.
- Modified migration script for adding enableCustomSubscriberEmailNotificationFooterText to ensure backward compatibility.
- Adjusted Index.ts to include the new migration.
- Refactored StatusPageService methods for better readability and consistency.
- Cleaned up Push component by removing unnecessary whitespace.
- Improved SubscriberSettings component by enhancing formatting and readability.
- Refactored OtelIngestService to streamline log, metric, and trace processing logic.
- Enhanced incident and scheduled event detail components for better type handling and readability.
2025-07-22 09:56:01 +01:00
Simon Larsen
cb35a0d420 feat: Implement asynchronous processing for logs, metrics, and traces with immediate response 2025-07-22 09:51:15 +01:00
Simon Larsen
b198d4d87d feat: Refactor email footer settings for subscriber notifications 2025-07-22 08:31:33 +01:00
Simon Larsen
285a5355a7 feat(PWA): Enhance PWA support with service worker, mobile redirection, and manifest updates
- Implemented service worker registration for PWA functionality on both home and dashboard.
- Added mobile detection to redirect mobile users to the dashboard for a better experience.
- Updated manifest.json with improved app details, shortcuts, and caching strategies.
- Enhanced offline experience with a custom offline page and improved caching strategies in the service worker.
- Added proper headers for manifest and service worker in Nginx configuration.
- Included iOS splash screens and Microsoft tiles for better platform integration.
- Improved meta tags for better PWA compliance and user experience.
2025-07-22 08:26:36 +01:00
Simon Larsen
777093d2e1 feat: Add support for custom subscriber email notification footer text 2025-07-21 22:23:31 +01:00
Simon Larsen
0444b09ad5 feat: Update sorting logic to prioritize 'startsAt' date for incidents and scheduled events 2025-07-21 21:56:08 +01:00
Simon Larsen
7be9c4b1e7 fix: Improve error handling and display in push notification registration 2025-07-21 21:23:20 +01:00
Simon Larsen
79910b6c0b feat: Add VAPID key validation for push notifications registration 2025-07-21 20:37:05 +01:00
Simon Larsen
0686dea83c Merge pull request #1968 from dmizelle/dmizelle/terraform-arm64-targets
chore(ci): [terraform] Add Missing arm64 Targets
2025-07-21 20:11:52 +01:00
Devon Mizelle
e1e27c4e94 chore(ci): [terraform] Add Missing arm64 Targets
A previous commit added `arm` targets, which is 32-bit ARM. We also need
`arm64` targets (64-bit ARM.)

This commit also adds `arm`/`arm64` for other `GOOS` targets.
2025-07-21 15:08:33 -04:00
Simon Larsen
6fe14fbed3 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-21 16:52:00 +01:00
Simon Larsen
9ef248f71e chore: Remove outdated PUSH_NOTIFICATIONS.md documentation file 2025-07-21 16:51:55 +01:00
Nawaz Dhandala
e243a76dab refactor: Simplify modal close and submit handlers in Push component 2025-07-21 16:51:20 +01:00
Nawaz Dhandala
71466089a4 refactor: Improve type annotations and error handling across multiple files 2025-07-21 16:45:33 +01:00
Simon Larsen
31e6172af4 Merge pull request #1967 from dmizelle/dmizelle/terraform-darwin-arm-build-target
chore(ci): [terraform] Add darwin/arm Build Target
2025-07-21 16:29:46 +01:00
Devon Mizelle
7a228f76e4 chore(ci): [terraform] Add darwin/arm Build Target
The Terraform provider wasn't releasing with a `darwin/arm` target, so
you couldn't use it on Apple Silicon Macs. This adds that target to the
build process.
2025-07-21 11:25:07 -04:00
Nawaz Dhandala
40d473d195 Refactor push notification message creation for improved readability
- Updated the formatting of push notification message creation across multiple services to enhance code clarity and maintainability.
- Adjusted the structure of function calls to align parameters vertically, making it easier to read and understand.
- Ensured consistent use of line breaks and indentation for better code style adherence.
2025-07-21 16:21:20 +01:00
Simon Larsen
f2f5b757eb feat: Enhance push notification handling by updating user on call log timeline status and adding userOnCallLogTimelineId option 2025-07-21 16:18:28 +01:00
Simon Larsen
1d4d93ceec refactor: Update alert and incident view links to use service methods for improved accuracy 2025-07-21 16:05:03 +01:00
Simon Larsen
40819562f7 feat: Add userPushId to UserOnCallLogTimeline and related migration 2025-07-21 15:57:09 +01:00
Simon Larsen
066ad4a52d refactor: Enhance logging for web push notification results and payload details 2025-07-21 15:47:45 +01:00
Simon Larsen
a109ae33e0 refactor: Update push notification creation to use parameter objects for improved clarity and maintainability 2025-07-21 15:33:28 +01:00
Simon Larsen
19ac60d8db fix tests 2025-07-21 15:15:58 +01:00
Simon Larsen
7557103cc0 refactor: Update notification methods to use parameter objects for improved readability 2025-07-21 15:01:32 +01:00
Simon Larsen
d1bd8c09d1 feat: Add push notification messages for various alert and incident events 2025-07-21 14:57:12 +01:00
Simon Larsen
861c1782fc feat: Remove lastUsedAt column from UserPush table and update related migrations 2025-07-17 19:06:05 +01:00
Simon Larsen
f937749c7e feat: Replace hardcoded limit with LIMIT_PER_PROJECT constant in sendPushNotificationToUser method 2025-07-17 18:51:35 +01:00
Simon Larsen
6752ba8b63 feat: Add toggle option for push notification alerts in user settings 2025-07-17 18:28:01 +01:00
Simon Larsen
dce9f2fe78 Add new PNG image for OneUptime dashboard 2025-07-17 18:21:14 +01:00
Simon Larsen
d18c3af5ac feat: Update PushNotificationUtil properties to public for improved accessibility in PushNotificationService 2025-07-17 18:16:08 +01:00
Simon Larsen
d48f864512 feat: Refactor push notification creation in OnCallDutyPolicy services to utilize PushNotificationUtil for improved consistency and maintainability 2025-07-17 18:14:34 +01:00
Simon Larsen
0976b2700c add img 2025-07-17 18:08:38 +01:00
Simon Larsen
58990d9991 feat: Update VAPID_PRIVATE_KEY definition in Helm template; remove duplicate entry and ensure correct placement 2025-07-17 18:02:41 +01:00
Simon Larsen
934b08d643 feat: Refactor push notification handling by utilizing PushNotificationUtil for consistency and maintainability 2025-07-17 17:59:19 +01:00
Simon Larsen
b832613fb2 feat: Refactor error handling in Push component; remove duplicate device modal and update error display 2025-07-17 17:11:38 +01:00
Simon Larsen
3faa2fe302 feat: Remove visibility condition for verified user push notifications in Push component 2025-07-17 17:09:30 +01:00
Simon Larsen
a1fe600863 feat: Update device name placeholder in Push component to suggest browser names 2025-07-17 17:00:31 +01:00
Simon Larsen
74af666d70 feat: Remove unused fields from device registration form in Push component 2025-07-17 16:58:43 +01:00
Simon Larsen
4707b4b4dd feat: Improve device registration by adding browser name detection and updating device name handling 2025-07-17 16:58:24 +01:00
Simon Larsen
78d34542b6 feat: Enhance device registration flow in UserPushAPI and Push component; add handling for duplicate device registrations 2025-07-17 15:59:27 +01:00
Simon Larsen
141280ad0e feat: Integrate push notification handling in UserNotificationRuleService; add userPush support in Alert and Incident on-call rules 2025-07-17 15:36:56 +01:00
Simon Larsen
92f978df20 feat: Add success modal for test notification in Push component; enhance user feedback on notification delivery 2025-07-17 14:41:09 +01:00
Simon Larsen
e3db66734f feat: Enhance logging in PushNotificationService and Service Worker; add detailed logs for push notifications and installation events 2025-07-17 14:33:59 +01:00
Simon Larsen
618dcbdcce feat: Improve logging and error handling in PushNotificationService and Service Worker; remove Logger from Cookie and LocalStorage classes 2025-07-17 14:06:17 +01:00
Simon Larsen
af66709363 feat: Enhance push notification logging and add web-push dependencies 2025-07-16 20:48:12 +01:00
Simon Larsen
5ebe067efd feat: Update device type handling in test notification for web push 2025-07-16 20:39:57 +01:00
Simon Larsen
a59c98d7e6 feat: Add VAPID configuration for web push notifications in EnvironmentConfig and update PushNotificationService 2025-07-16 20:28:39 +01:00
Simon Larsen
5ff1d15b36 feat: Add VAPID configuration for web push notifications 2025-07-16 20:19:37 +01:00
Simon Larsen
f4cdefc4f9 feat: Update service worker registration path for push notifications 2025-07-16 20:00:13 +01:00
Simon Larsen
8b11be85bf feat: Refactor device registration flow for push notifications 2025-07-16 19:57:45 +01:00
Simon Larsen
6e2416910e feat: Add push notification support for on-call policy changes and probe status updates 2025-07-16 19:02:13 +01:00
Simon Larsen
0cd0e174bf feat: Add UserPush table and related migrations for push notification support 2025-07-16 15:53:17 +01:00
Simon Larsen
b7153ed283 feat: Add migration for MigrationName1752659054949 to schema migrations 2025-07-16 10:47:52 +01:00
Simon Larsen
34718f6fa7 feat: Add UserPush model and related database migrations for push notifications 2025-07-16 10:47:24 +01:00
Simon Larsen
ed69c5de39 feat: Restrict push notification support to web devices only 2025-07-16 10:39:55 +01:00
Simon Larsen
5f9f741b82 feat: Implement push notification system for OneUptime
- Added UserPushAPI for managing device registrations and notifications.
- Created PushNotificationService for sending notifications via Web Push and Firebase.
- Developed UserPushService for CRUD operations on user push devices.
- Introduced PushNotificationUtil for generating notification messages.
- Defined PushNotificationMessage and PushNotificationRequest types for structured data.
- Integrated service worker (sw.js) for handling push notifications in the browser.
- Built React component (Push.tsx) for user interface to manage push notifications.
- Documented implementation details and usage in PUSH_NOTIFICATIONS.md.
- Added support for device registration, verification, and test notifications.
- Enhanced security features including user-scoped access and device verification.
2025-07-15 21:39:00 +01:00
Nawaz Dhandala
a427a82327 style: Clean up whitespace in TableBody and TableRow components for improved readability 2025-07-15 20:06:52 +01:00
Simon Larsen
6244ff4ebc style: Update Button and Page components for improved responsive layout 2025-07-15 18:36:08 +01:00
Simon Larsen
9007ed5ddc feat: Implement responsive design for Table component with mobile view support 2025-07-14 23:23:36 +01:00
Simon Larsen
108d1fdfcc style: Enhance ChartGroup component layout for improved spacing and responsive description visibility 2025-07-14 21:08:23 +01:00
Simon Larsen
7678cc9d77 style: Update Card and StartAndEndDate components for improved layout and responsiveness 2025-07-14 21:03:12 +01:00
Nawaz Dhandala
708ea2c977 style: Add responsive visibility classes to date buttons for improved layout 2025-07-14 19:22:46 +01:00
Nawaz Dhandala
0ebfb294ff fix: Update model type validation to use lowercase values for consistency 2025-07-14 19:13:33 +01:00
Nawaz Dhandala
d6d61a61fd style: Adjust formatting for improved readability in HeaderAlert and Modal components 2025-07-14 19:11:56 +01:00
Simon Larsen
46a0e54771 fix: Update Modal and ModalFooter components for improved layout and responsiveness 2025-07-14 19:11:22 +01:00
Simon Larsen
71807da876 feat: Enhance HeaderAlert and Header components to utilize suffix prop for improved title display 2025-07-14 19:05:28 +01:00
Simon Larsen
d7b45106d8 feat: Add suffix prop to HeaderAlert for additional text display 2025-07-14 18:54:59 +01:00
Nawaz Dhandala
1a39c2f6c5 refactor: Improve type annotations and enhance readability in SideMenu component 2025-07-14 16:04:08 +01:00
Nawaz Dhandala
7b2041f6a4 style: Clean up code formatting and remove unnecessary whitespace in various components 2025-07-14 15:43:31 +01:00
Simon Larsen
31cfba9ab8 fix: Update subscriber email notification footer text to include page title if available 2025-07-14 14:56:25 +01:00
Simon Larsen
1ead9679c3 fix: Update Banner component to correctly hide on mobile screens 2025-07-11 11:35:21 +01:00
Simon Larsen
01be21d0ed feat: Add hideOnMobile property to various components for improved mobile responsiveness 2025-07-11 11:34:27 +01:00
Simon Larsen
c8986fb314 fix: Add hideOnMobile property to AnnouncementTable fields for improved mobile responsiveness 2025-07-11 11:23:42 +01:00
Simon Larsen
951fcbe474 fix: Add hideOnMobile property to various fields for improved mobile responsiveness 2025-07-11 11:19:40 +01:00
Simon Larsen
7483ff2c2f fix: Ensure title div is hidden on smaller screens for better responsiveness 2025-07-11 10:14:37 +01:00
Simon Larsen
14fc484e37 Refactor SideMenu components to use sections array for improved structure and readability across multiple pages
- Updated DashboardSideMenu in MonitorGroup, OnCallDuty, ScheduledMaintenanceEvents, Settings, StatusPages, Telemetry, UserSettings, and Workflow to utilize a sections array for SideMenu rendering.
- Removed individual SideMenuItem and SideMenuSection imports, consolidating imports to a single SideMenu component with SideMenuSectionProps.
- Enhanced code maintainability and consistency by standardizing the SideMenu structure across different pages.
2025-07-11 10:13:24 +01:00
Simon Larsen
bd2da4358b fix: Adjust column classes for PageLoader in responsive layout 2025-07-10 17:15:55 +01:00
Nawaz Dhandala
78d43e1a1c fix: Clean up formatting and improve readability in DataType and MailService classes 2025-07-10 16:21:44 +01:00
Simon Larsen
a84a6a0c55 fix: Refactor Modal and ModalFooter components for improved layout and responsiveness 2025-07-10 15:41:06 +01:00
Simon Larsen
66343e6920 fix: Increase maximum concurrent connections in TransporterPool to improve email transport performance 2025-07-10 15:19:55 +01:00
Simon Larsen
6a7a8ad8d9 fix: Simplify connection pooling options by removing unnecessary rate limiting parameters 2025-07-10 15:14:56 +01:00
Simon Larsen
b8faa692cb feat: Implement connection pooling for email transporters to optimize performance and resource management 2025-07-10 15:13:13 +01:00
Simon Larsen
ca99f452ac feat: Enhance Subscriber Settings with Email, SMS, and Slack configurations 2025-07-10 14:34:20 +01:00
Simon Larsen
cd8d851366 fix: Update Includes example values and enhance description for clarity 2025-07-10 14:26:25 +01:00
Simon Larsen
16bed1861c Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-10 14:14:39 +01:00
Simon Larsen
c0909c68c8 feat: Add 'includes' functionality with documentation and example usage 2025-07-10 14:14:36 +01:00
Nawaz Dhandala
97654f61a2 fix: Add type annotations for improved type safety in various components 2025-07-10 12:50:13 +01:00
Nawaz Dhandala
faa4d8372c Refactor components for improved readability and consistency
- Updated Pagination component to enhance formatting and readability.
- Refactored TableHeader and TableRow components for better clarity and structure.
- Cleaned up NavBar component by organizing imports and improving formatting.
- Enhanced ApiMonitor, PortMonitor, SslMonitor, and WebsiteMonitor classes for better error handling.
- Improved StatusPage components by refining layout and event handling.
- Adjusted Page component for consistent prop spreading and formatting.
2025-07-10 12:19:22 +01:00
Simon Larsen
da4741fcf4 fix: Enhance Modal component layout for improved responsiveness and usability 2025-07-10 12:15:31 +01:00
Simon Larsen
3c420b2114 fix: Implement responsive behavior in Detail and ListRow components to filter fields based on mobile view 2025-07-10 12:08:54 +01:00
Simon Larsen
9c5a649157 fix: Add hideOnMobile property to Field, Column, and related components for responsive behavior 2025-07-10 11:58:02 +01:00
Simon Larsen
4908e9cd1d fix: Add hideOnMobile property to ActionButtonSchema and implement responsive behavior in ListRow, Item, and TableRow components 2025-07-10 11:46:18 +01:00
Simon Larsen
f552115fd5 fix: Refactor Modal component for improved layout and responsiveness 2025-07-10 11:08:32 +01:00
Simon Larsen
a96fc24562 fix: Update FeedItem component to ensure more text button has a fitting width 2025-07-09 18:18:03 +01:00
Simon Larsen
a54d44df01 fix: Update BasicForm component to hide form steps on small screens 2025-07-09 17:04:03 +01:00
Simon Larsen
7afa17cd8d fix: Enhance Modal component layout for better responsiveness and structure 2025-07-09 17:01:59 +01:00
Simon Larsen
2d15d85310 fix: Update Modal component styles for improved responsiveness and layout 2025-07-09 16:57:50 +01:00
Simon Larsen
1a577cf406 fix: Implement retry logic for sending emails with exponential backoff 2025-07-09 16:52:48 +01:00
Simon Larsen
3869725742 fix: Update Breadcrumbs component to ensure proper visibility on medium and larger screens 2025-07-09 16:49:32 +01:00
Simon Larsen
2b286e76f1 fix: Update Pagination component to ensure item count visibility on all screen sizes 2025-07-09 16:49:13 +01:00
Simon Larsen
3a791cec3b fix: Remove unnecessary padding from mobile navigation component 2025-07-09 15:32:46 +01:00
Simon Larsen
0e4557dba7 fix: Update Pagination component to improve visibility of item count on larger screens 2025-07-09 15:32:39 +01:00
Simon Larsen
c594d390cb fix: Refactor DashboardNavbar to use NavItem structure and improve menu handling 2025-07-09 15:24:15 +01:00
Simon Larsen
8a66434af9 fix: Refactor Button component styles for improved readability and consistency 2025-07-09 14:55:43 +01:00
Simon Larsen
c8ddba76f7 fix: Enhance DashboardNavbar with mobile support and additional navigation items 2025-07-09 14:29:39 +01:00
Simon Larsen
4831ed0535 fix: Update Button and Card components for improved responsive layout and styling 2025-07-09 14:09:17 +01:00
Simon Larsen
7e4f1d6b55 fix: Remove unnecessary positioning styles from Footer component for improved layout 2025-07-09 13:57:07 +01:00
Simon Larsen
1a254ee8cc fix: Remove fixed height from Footer component for flexible layout 2025-07-09 13:54:46 +01:00
Simon Larsen
429a1497ec fix: Update Footer component className to use min-h-16 for consistent height 2025-07-09 13:52:37 +01:00
Simon Larsen
e9bff64ea1 fix: Improve layout and styling of Card component buttons and right elements 2025-07-09 13:48:15 +01:00
Simon Larsen
603f803dd5 fix: Refactor API key and project ID validation logic in middleware 2025-07-09 13:40:16 +01:00
Simon Larsen
0df55c0b6f Merge branch 'master' into release 2025-07-09 10:10:03 +01:00
Simon Larsen
a22e42cf8d Merge pull request #1942 from zzukin/set-permission-on-tmp-npm
Set permission to write logs and cache on /tmp/npm in case container run as non root
2025-07-08 18:28:32 +01:00
Simon Larsen
2e8340ee76 Merge pull request #1961 from OneUptime/master
Release
2025-07-08 18:27:47 +01:00
Simon Larsen
72429923ed Merge pull request #1960 from OneUptime/mobile-responsive
Mobile responsive
2025-07-08 17:52:12 +01:00
Simon Larsen
ca5eccfe83 feat: Add Bars3 icon to IconProp enum and update NavBar to use Bars3 for mobile toggle 2025-07-08 17:41:36 +01:00
Simon Larsen
3b4f3e5f1e feat: Update NavBarItem component styles for mobile responsiveness 2025-07-08 17:38:51 +01:00
Simon Larsen
0a65c72b80 feat: Add responsive design to EventHistoryDayList component for better mobile experience 2025-07-08 17:29:20 +01:00
Simon Larsen
42a468720f feat: Update MonitorOverview component to improve responsiveness for larger screens 2025-07-08 17:06:39 +01:00
Simon Larsen
267bbad661 feat: Improve responsive design across multiple components for better mobile experience 2025-07-08 16:59:43 +01:00
Simon Larsen
6542bf7564 feat: Add projectId and _id fields to alert, incident, and scheduled maintenance selections in note services 2025-07-07 21:47:56 +01:00
Simon Larsen
ec746ba507 feat: Enhance SSLMonitor getCertificate method with retry logic and error logging 2025-07-04 09:03:10 +01:00
Simon Larsen
5aacfd05a9 feat: Add disableAutoscaler option to probe configuration in values.yaml 2025-07-02 21:44:43 +01:00
Simon Larsen
2840a3560b feat: Enhance error handling in PortMonitor to return null for AggregateError 2025-07-02 14:51:44 +01:00
Simon Larsen
0f688350dc fix: Update error handling in PingMonitor to check for AggregateError directly 2025-07-02 09:15:55 +01:00
Simon Larsen
39b572da3f feat: Update error handling in monitors to use getFriendlyErrorMessage for AggregateError 2025-07-02 09:09:58 +01:00
Nawaz Dhandala
5423293fbc refactor: Enhance type safety and readability in test files by adding explicit types and improving variable declarations 2025-07-02 09:08:01 +01:00
Nawaz Dhandala
009ef21d16 refactor: Clean up code formatting and improve readability in test files and monitor classes 2025-07-01 21:06:05 +01:00
Simon Larsen
793a33f873 feat: Improve error handling and logging in OneUptimeApiService and related tests 2025-07-01 21:02:32 +01:00
Simon Larsen
bafbf3fc01 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-07-01 20:00:36 +01:00
Simon Larsen
4586b27039 feat: Add handling for AggregateError in multiple monitor classes to improve error response 2025-07-01 20:00:33 +01:00
Nawaz Dhandala
9f65f31d6c Add comprehensive tests for MCP functionality and logging
- Implement integration tests for MCP server operations including create, read, update, delete, list, and count functionalities.
- Add error response formatting tests to handle various scenarios such as not found and empty lists.
- Create tests for MCPLogger to ensure proper logging behavior, including message formatting and log level filtering.
- Develop mock tests to validate mock function behavior and error handling.
- Introduce tests for OneUptimeApiService to verify service initialization, operation validation, error handling, and request data building.
- Add type validation tests for OneUptimeOperation and ModelType enums, ensuring type safety and compatibility with JSON schema structures.
2025-07-01 18:44:35 +01:00
Nawaz Dhandala
5a9d351d39 fix: Add missing commas in API class method signatures for consistency 2025-07-01 15:12:15 +01:00
Simon Larsen
6dc432b7f3 feat: Enhance error handling in API class to support AggregateError messages 2025-07-01 15:02:06 +01:00
Simon Larsen
1e04f37727 fix: Update npm install command to include all dependencies and ensure dev dependencies are removed after build 2025-07-01 12:17:52 +01:00
Simon Larsen
be34930cd5 fix: Ensure creation of /usr/src directory with parent directories in Dockerfile 2025-07-01 11:59:56 +01:00
Simon Larsen
c8b053d17c feat: Remove unused 'node-fetch' dependency from package.json 2025-07-01 11:30:47 +01:00
Simon Larsen
ced4d0446c feat: Remove DynamicToolGenerator test file as it is no longer needed 2025-07-01 11:27:26 +01:00
Nawaz Dhandala
357f76ae5b refactor: Simplify loop variable usage in DynamicToolGenerator tests and fix model instantiation in tool generation test 2025-07-01 09:47:38 +01:00
Nawaz Dhandala
7f11735f79 refactor: Clean up console logging in Index.ts and improve structure in DynamicToolGenerator tests 2025-07-01 09:45:22 +01:00
Nawaz Dhandala
4ad1918b1d refactor: Add type annotations for improved type safety and clarity in various files 2025-07-01 09:33:08 +01:00
Nawaz Dhandala
122b0d6be7 Refactor DynamicToolGenerator tests and utility functions for improved readability and consistency
- Enhanced test cases in DynamicToolGenerator.test.ts for better logging and structure.
- Updated OneUptimeOperation.ts to maintain consistent formatting.
- Refactored DynamicToolGenerator.ts for improved code clarity and organization, including consistent use of commas and spacing.
- Improved sanitization and JSON schema generation methods for better handling of OpenAPI metadata.
- Cleaned up description handling in DynamicToolGenerator to ensure proper formatting.
- Adjusted server.test.ts for consistent quotation marks and improved readability.
2025-06-30 23:27:57 +01:00
Nawaz Dhandala
3116100f1a feat: Remove test-logger.ts as it is no longer needed for MCP Logger testing 2025-06-30 23:18:35 +01:00
Simon Larsen
38194331e6 feat: Update JSON key handling in DatabaseBaseModel to convert 'id' to '_id' and remove the original 'id' key 2025-06-30 23:14:19 +01:00
Simon Larsen
d6ebd65417 feat: Update key handling in DatabaseBaseModel to convert 'id' to '_id' during record creation 2025-06-30 23:01:30 +01:00
Simon Larsen
4c467d0e3b feat: Replace 'removeValue' with 'delete' for id property in DatabaseBaseModel 2025-06-30 22:45:09 +01:00
Simon Larsen
49efec2a77 feat: Add support for converting 'id' to '_id' in DatabaseBaseModel and update DatabaseService for consistency 2025-06-30 22:44:49 +01:00
Simon Larsen
d73b6c6205 feat: Enhance item handling in DatabaseService to support new object structure 2025-06-30 22:27:44 +01:00
Simon Larsen
8db9c69e1e feat: Add modelType User to deletedByUserId relations across multiple database models
- Updated PromoCode, Reseller, ResellerPlan, ScheduledMaintenance, ScheduledMaintenanceCustomField, ScheduledMaintenanceFeed, ScheduledMaintenanceInternalNote, ScheduledMaintenanceNoteTemplate, ScheduledMaintenanceOwnerTeam, ScheduledMaintenanceOwnerUser, ScheduledMaintenancePublicNote, ScheduledMaintenanceState, ScheduledMaintenanceStateTimeline, ScheduledMaintenanceTemplate, ScheduledMaintenanceTemplateOwnerTeam, ScheduledMaintenanceTemplateOwnerUser, ServiceCatalog, ServiceCatalogDependency, ServiceCatalogMonitor, ServiceCatalogOwnerTeam, ServiceCatalogOwnerUser, ServiceCatalogTelemetryService, ServiceCopilotCodeRepository, ShortLink, SmsLog, StatusPage, StatusPageAnnouncement, StatusPageAnnouncementTemplate, StatusPageCustomField, StatusPageDomain, StatusPageFooterLink, StatusPageGroup, StatusPageHeaderLink, StatusPageHistoryChartBarColorRule, StatusPageOwnerTeam, StatusPageOwnerUser, StatusPagePrivateUser, StatusPageResource, StatusPageSso, StatusPageSubscriber, TableView, Team, TeamMember, TeamPermission, TelemetryException, TelemetryIngestionKey, TelemetryService, TelemetryUsageBilling, User, UserCall, UserEmail, UserNotificationRule, UserNotificationSetting, UserOnCallLog, UserOnCallLogTimeline, UserSMS, UserTwoFactorAuth, Workflow, WorkflowLog, WorkflowVariable, WorkspaceNotificationRule, WorkspaceProjectAuthToken, WorkspaceSetting, WorkspaceUserAuthToken to include modelType User for deletedByUserId relations.
- Updated OneUptimeApiService to exclude additional keys from update operations.
2025-06-30 22:11:21 +01:00
Simon Larsen
00e50f023f chore: Update DynamicToolGenerator for improved code organization and readability 2025-06-30 21:58:56 +01:00
Simon Larsen
f4db88e874 feat: Enhance OpenAPI metadata handling for array types in DynamicToolGenerator 2025-06-30 21:47:03 +01:00
Simon Larsen
255149e3d5 feat: Add EqualTo support in QueryUtil for enhanced query functionality 2025-06-30 21:21:06 +01:00
Simon Larsen
f1b4a396ec feat: Implement EqualTo class and related tests for comparison functionality 2025-06-30 21:19:24 +01:00
Simon Larsen
82b62d32fd refactor: Remove MCP Server Verification workflow from GitHub Actions 2025-06-30 20:58:56 +01:00
Simon Larsen
161b80c19a feat: Add initial GitHub Actions workflow for MCP Server Test 2025-06-30 20:58:32 +01:00
Simon Larsen
ff58beb50e refactor: Enhance cleanDescription method to remove permission information and improve description sanitization 2025-06-30 20:51:50 +01:00
Simon Larsen
63236366ee refactor: Improve comments in sanitizeToolName method for better clarity on string transformations 2025-06-30 20:42:51 +01:00
Simon Larsen
cbdc3186af refactor: Update User model to hide certain columns in documentation for cleaner API output 2025-06-30 20:34:39 +01:00
Simon Larsen
ab0936067c refactor: Remove disableOpenApiSchema option from schema generation methods for cleaner implementation 2025-06-30 20:08:30 +01:00
Simon Larsen
24c083cdb8 refactor: Add disableOpenApiSchema option to schema generation methods for conditional OpenAPI schema application 2025-06-30 19:18:52 +01:00
Simon Larsen
6ce945ac2c fix docs for mcp 2025-06-30 18:20:07 +01:00
Simon Larsen
1c9e9b37d3 refactor: Remove unused select schema from tool generation and enhance pagination descriptions 2025-06-30 16:36:55 +01:00
Simon Larsen
83c740d8cb refactor: Improve data handling in OneUptimeApiService for create and update operations 2025-06-30 14:58:32 +01:00
Simon Larsen
84819c73ff refactor: Mark database columns as computed for improved metadata handling 2025-06-30 13:44:57 +01:00
Simon Larsen
ce166f2f35 refactor: Update JSON Schema generation to disallow additional properties for stricter validation 2025-06-30 13:15:58 +01:00
Nico Aymet (nikuzz)
11b54365f0 Merge branch 'OneUptime:master' into set-permission-on-tmp-npm 2025-06-30 12:53:13 +01:00
Simon Larsen
432debc014 refactor: Update JSON Schema generation to allow additional properties for improved flexibility 2025-06-27 21:55:17 +01:00
Simon Larsen
d9f87c4103 refactor: Enhance request data generation and logging for OneUptimeApiService 2025-06-27 21:39:46 +01:00
Simon Larsen
680e33ba43 refactor: Update executeOperation method to use tableName instead of modelName for improved clarity 2025-06-27 21:20:22 +01:00
Simon Larsen
22162425fb refactor: Update API operation methods to use direct URL creation for improved route handling 2025-06-27 21:00:47 +01:00
Simon Larsen
93d935d117 refactor: Update buildApiRoute method to use Route.fromString for absolute route creation 2025-06-27 20:52:56 +01:00
Simon Larsen
48d9964c70 refactor: Change API initialization base route from '/api' to '/' to prevent route accumulation 2025-06-27 20:47:52 +01:00
Simon Larsen
d2921e3516 refactor: Update API initialization to use the correct base route for OneUptimeApiService 2025-06-27 20:46:58 +01:00
Simon Larsen
5c7e5a1eda refactor: Simplify API route initialization and enhance route building logic in OneUptimeApiService 2025-06-27 20:46:29 +01:00
Simon Larsen
f62a01594d refactor: Replace logger with MCPLogger for improved logging compliance and add MCPLogger class for stderr logging 2025-06-27 16:47:45 +01:00
Simon Larsen
99de9fbd3d refactor: Update secondTLDs list in Domain class for improved domain validation 2025-06-27 16:39:26 +01:00
Simon Larsen
7a0f31e10a refactor: Update MCP tool names to use a consistent prefix format 2025-06-27 16:38:57 +01:00
Simon Larsen
22cee30cdb refactor: Implement sanitizeToolName method to ensure valid MCP tool names and update tool name generation accordingly 2025-06-27 16:26:51 +01:00
Simon Larsen
5524d9d147 refactor: Rename bin command from 'oneuptime-mcp-server' to 'oneuptime-mcp' in package.json 2025-06-27 16:18:40 +01:00
Simon Larsen
9fb4f00460 docs: Add optional link command for global CLI usage in README; remove postinstall script from package.json 2025-06-27 16:18:18 +01:00
Simon Larsen
7e761cc6dd refactor: Update executable script path in package.json and set correct permissions for Index.ts 2025-06-27 15:56:45 +01:00
Simon Larsen
bcfbed0249 refactor: Update OneUptimeApiService to handle Count and Read operations correctly; adjust request data structure for Create and Update operations 2025-06-27 15:08:26 +01:00
Simon Larsen
208c7406f9 refactor: Improve base route handling and add support for Count operation in OneUptimeApiService 2025-06-27 14:58:59 +01:00
Simon Larsen
2a41fec3cd refactor: Update base route for API initialization and change authorization header to APIKey 2025-06-27 14:51:52 +01:00
Simon Larsen
73ea4bbb7c refactor: Implement Zod to JSON Schema conversion for MCP tools; enhance schema generation for database and analytics models 2025-06-27 14:32:33 +01:00
Simon Larsen
1b657b4758 refactor: Add MCP compilation job to GitHub Actions workflow; ensure proper environment setup and dependencies 2025-06-27 14:23:44 +01:00
Simon Larsen
7027739a81 refactor: Enforce required API key in OneUptimeApiConfig and initialize method; improve error handling for missing API key 2025-06-27 14:21:21 +01:00
Simon Larsen
3491869196 refactor: Update API service configuration to conditionally include apiKey; improve parameter handling in executeOperation and generateToolsForDatabaseModel methods 2025-06-27 14:18:46 +01:00
Simon Larsen
f6e106fb65 refactor: Update API service configuration to use bracket notation for environment variables; remove unused variables from imports 2025-06-27 14:17:17 +01:00
Simon Larsen
fd96b0f287 refactor: Remove unused APP_NAME constant from MCP server initialization 2025-06-27 14:15:05 +01:00
Simon Larsen
04ee339d58 refactor: Simplify environment configuration by removing hostname, protocol, and base route; update API service to use URL 2025-06-27 14:06:32 +01:00
Simon Larsen
2a74183de5 Refactor code structure for improved readability and maintainability 2025-06-27 14:02:59 +01:00
Simon Larsen
747d46eb83 refactor: Remove MCP server generation and publishing scripts from package.json 2025-06-27 13:07:57 +01:00
Simon Larsen
00b0be251e refactor: Rename MCP server generation to verification and update related steps 2025-06-27 13:05:47 +01:00
Simon Larsen
1cc057d256 refactor: Update .gitignore to include MCP Server build and environment files 2025-06-27 13:05:26 +01:00
Simon Larsen
907d3308d5 refactor: Update Dockerfile and package.json for MCP Server structure and build process 2025-06-27 13:05:20 +01:00
Simon Larsen
1e254e32fd feat: Implement MCP Hello World Server with basic tools and configuration 2025-06-27 12:56:38 +01:00
Simon Larsen
f2de3cc8a8 refactor: remove OpenAPIParser, StringUtils, and Types modules
- Deleted OpenAPIParser.ts, StringUtils.ts, and Types.ts as part of the refactoring process.
- Removed associated methods and interfaces that were no longer needed.
- Cleaned up the MCP server generation script and README documentation to reflect these changes.
- Updated the publish script to streamline the publishing process.
2025-06-27 12:52:26 +01:00
Simon Larsen
e6c33c8e6d feat: Add parameter validation for required inputs in MCPService methods 2025-06-26 21:51:32 +01:00
Simon Larsen
74c42ab0fe feat: Enhance MCPServerGenerator with path parameter extraction and request data handling 2025-06-26 21:21:52 +01:00
Simon Larsen
31434d7eb3 chore: update package dependencies across multiple modules
- Added new dependencies including @asteasolutions/zod-to-openapi, @bull-board/express, and @clickhouse/client (updated to version 1.10.1) in IsolatedVM, Nginx, OpenTelemetryIngest, Probe, ProbeIngest, ServerMonitorIngest, TestServer, Worker, and Workflow.
- Updated existing dependencies such as axios, express, and nodemailer to their latest versions.
- Removed unnecessary dependencies and cleaned up package-lock files.
- Updated devDependencies to include @testing-library packages and jest-related packages for improved testing capabilities.
- Renamed package names for ServerMonitorIngest and Worker to reflect their purpose more accurately.
2025-06-26 20:42:01 +01:00
Simon Larsen
9b9d6cf6a8 fix: Update OneUptime URL in configuration and README for clarity 2025-06-26 20:31:58 +01:00
Simon Larsen
abb793b2ae fix: Ensure root node_modules are removed before processing subdirectories 2025-06-26 20:17:55 +01:00
Simon Larsen
3119b8cfc2 feat: Add scripts for cleaning and installing node modules 2025-06-26 20:15:16 +01:00
Simon Larsen
eed5ce6ec9 fix: Improve handling of computed fields and attribute types in ResourceGenerator 2025-06-26 20:12:10 +01:00
Simon Larsen
46558d4a77 fix: Add non-null assertions for schema properties in OpenAPIParser to improve type safety 2025-06-26 20:07:34 +01:00
Simon Larsen
cef6638b2c fix: Update job dependencies in release workflows to include publish-mcp-server 2025-06-26 20:03:04 +01:00
Simon Larsen
031750d573 feat: Update build and test scripts for improved efficiency and clarity 2025-06-26 20:01:34 +01:00
Simon Larsen
4287632371 fix: Correct spelling and grammatical errors across multiple files 2025-06-26 15:16:07 +01:00
Nawaz Dhandala
5c464ae137 refactor: Add type annotations for improved type safety across multiple files 2025-06-26 14:24:15 +01:00
Nawaz Dhandala
cf6ee298cc Refactor and clean up code formatting across multiple files
- Improved code formatting in AnnouncementsTable.tsx for better readability.
- Simplified description formatting in AnnouncementView.tsx.
- Adjusted lazy loading syntax in StatusPagesRoutes.tsx for consistency.
- Enhanced script formatting in MCPServerGenerator.ts for better clarity.
- Streamlined error handling and response parsing in OpenAPIParser.ts.
- Refined resource generation logic in ResourceGenerator.ts for improved maintainability.
- Updated comments and structure in GenerateMCPServer.ts for better understanding.
- General code cleanup and formatting adjustments across various files to adhere to style guidelines.
2025-06-26 13:51:11 +01:00
Simon Larsen
8718e58dcb feat: Enhance npm authentication setup in release workflow and verify package before publishing 2025-06-26 13:32:14 +01:00
Simon Larsen
df4bc5ce12 feat: Capture OpenAPI format information and preserve original values for binary fields in resource generation 2025-06-26 12:34:10 +01:00
Simon Larsen
fccfb5b026 feat: Update SVG path for improved icon representation in enterprise-ready section 2025-06-26 12:33:36 +01:00
Simon Larsen
793de2623a feat: Add new features to enterprise-ready section including 5000+ integrations and full API access 2025-06-26 12:15:14 +01:00
Simon Larsen
05f2096e3e feat: Refactor Base64 handling for file columns in DatabaseService to convert strings to buffers 2025-06-26 11:46:18 +01:00
Simon Larsen
d291cdad26 feat: Enhance Base64 handling in Text utility and update DatabaseService for MIME type extraction 2025-06-26 11:10:31 +01:00
Simon Larsen
84fef8e48f feat: Add MCP Server documentation and navigation links 2025-06-26 09:00:05 +01:00
Simon Larsen
de62d40d6e feat: Remove publish MCP server workflow from GitHub Actions 2025-06-26 08:41:43 +01:00
Simon Larsen
98bf1ef155 feat: Add publish MCP server workflow to release and test workflows 2025-06-26 08:40:19 +01:00
Simon Larsen
4939305c08 feat: Add base64 string conversion for file columns in DatabaseService 2025-06-25 21:56:11 +01:00
Simon Larsen
cd77106939 erge branch 'master' into release 2025-06-25 21:42:02 +01:00
Simon Larsen
678a2ac498 Merge branch 'master' into release 2025-06-25 21:40:57 +01:00
Simon Larsen
0b3765594f feat: Add EnableDocumentation decorator to File model for improved documentation generation 2025-06-25 18:33:50 +01:00
Simon Larsen
9f77e8d82d feat: Update access control in FileModel to include AuthenticatedRequest permission 2025-06-25 18:26:51 +01:00
Simon Larsen
78fca73b8a feat: Update File access control to include AuthenticatedRequest permission 2025-06-25 18:24:13 +01:00
Simon Larsen
82e2bc75bf feat: Add spacing div in AnnouncementView for improved layout 2025-06-25 17:30:28 +01:00
Simon Larsen
85de170031 feat: Add AnnouncementView component and update routing for viewing announcements 2025-06-25 17:28:27 +01:00
Simon Larsen
338a2dc2cc refactor: Rename MCP-Generated directory to MCP and update related references in scripts and documentation 2025-06-25 17:09:27 +01:00
Simon Larsen
d400271f3c refactor: Remove MCPServerGenerator class and related methods for code cleanup 2025-06-25 16:56:59 +01:00
Simon Larsen
8c735e1500 fix: Update API key example in README for clarity and consistency 2025-06-25 16:56:26 +01:00
Simon Larsen
d4b0ac7b9c feat: Update README and MCPServerGenerator for consistent directory usage and improved API key example 2025-06-25 16:56:10 +01:00
Simon Larsen
8edcdd37e3 feat: Update MCP package configuration and add server generator
- Enhanced package.json with detailed description, keywords, and repository information.
- Updated scripts for building and starting the server.
- Added new dependencies for axios and dotenv.
- Modified tsconfig.json for improved TypeScript settings.
- Introduced MCPServerGenerator class to automate server file generation.
- Implemented methods to generate essential files: package.json, Index.ts, MCPService, APIClient, configuration utilities, README, tsconfig, nodemon config, and Dockerfile.
- Ensured proper error handling and environment variable validation in the generated code.
2025-06-25 16:53:24 +01:00
Simon Larsen
ed65a477e4 feat: Rename MCP-Generated directory to MCP for consistency across workflows and scripts 2025-06-25 16:51:30 +01:00
Simon Larsen
98e3386d22 feat: Implement OpenAPI Parser and MCP Server Generator
- Added OpenAPIParser class for parsing OpenAPI specifications and extracting MCP tools.
- Introduced StringUtils class for string manipulation utilities.
- Defined TypeScript interfaces for OpenAPI operations, parameters, and schemas.
- Created GenerateMCPServer script to orchestrate the generation of the MCP server from OpenAPI spec.
- Developed README.md for comprehensive documentation on usage and features of the MCP server.
- Implemented publish-mcp-server.sh script for automating the publishing process to NPM and GitHub.
- Established a structured output directory for generated MCP server files, including configuration and documentation.
2025-06-25 16:47:23 +01:00
Simon Larsen
c2b4f1d117 Remove MCP package.json and tsconfig.json files as part of project restructuring 2025-06-25 16:19:17 +01:00
Simon Larsen
fe879d86ce feat: Update linting commands to use npx eslint with increased memory limit and caching 2025-06-24 21:45:10 +01:00
Simon Larsen
9e63a4cbf5 feat: Enhance lint-batches.sh with configurable options for cache, memory, format, timeout, and batch size 2025-06-24 21:25:44 +01:00
Simon Larsen
6c5ba10a52 feat: Remove ESLint configuration file to streamline linting process 2025-06-24 20:46:09 +01:00
Simon Larsen
9c9751c2c7 feat: Remove ignore rule for TerraformProvider in ESLint configuration to address linting issues 2025-06-24 20:31:21 +01:00
Simon Larsen
1b70517463 feat: Refactor DataSourceGenerator, DocumentationGenerator, OpenAPIParser, ResourceGenerator, and StringUtils for improved readability and maintainability 2025-06-24 20:16:45 +01:00
Simon Larsen
38f79900cc feat: Enhance multi-platform build process and improve error messages for provider generation 2025-06-24 20:03:02 +01:00
Simon Larsen
9fc8d679d8 feat: Enhance ModelSchema to combine column and permissions descriptions for improved schema clarity 2025-06-24 18:43:13 +01:00
Simon Larsen
83838da879 feat: Enhance DataSourceGenerator and OpenAPIParser to support dynamic imports and identify read operations for GET and POST methods 2025-06-24 18:37:11 +01:00
Simon Larsen
4e6e7cf354 feat: Replace linting commands with a new script to handle batch linting and prevent memory issues 2025-06-24 18:23:34 +01:00
Simon Larsen
dfc4e2e7f8 feat: Update access control and add computed properties for various models to enhance notification handling 2025-06-24 18:13:49 +01:00
Simon Larsen
8f9c463d85 feat: Enhance OpenAPIParser and ResourceGenerator to support optional and computed fields in schema handling 2025-06-24 15:20:04 +01:00
Simon Larsen
82af0bee58 feat: Update Alert, Incident, and Monitor models to include isDefaultValueColumn and enhance access control permissions 2025-06-24 15:07:50 +01:00
Simon Larsen
babf818963 feat: Enhance ModelSchema to mark computed fields as readOnly and update create/update operations handling 2025-06-24 15:03:05 +01:00
Simon Larsen
b4477e04ef feat: Update Incident, Monitor, and ScheduledMaintenance models to use isDefaultValueColumn for state ID fields 2025-06-24 14:54:54 +01:00
Simon Larsen
f0457df102 feat: Add computed property to various database models for enhanced data handling 2025-06-24 14:53:56 +01:00
Simon Larsen
73a1997f4c feat: Skip computed fields for create operations in ModelSchema to enhance data handling 2025-06-24 14:23:32 +01:00
Simon Larsen
e4e7b7c7d8 feat: Update Incident and Monitor models to include computed properties and simplify access control 2025-06-24 14:08:54 +01:00
Simon Larsen
aa7bd3140c feat: Add computed property to various database models for enhanced data handling 2025-06-24 14:02:56 +01:00
Simon Larsen
095ad5dbf4 feat: Add computed property support in TableColumnMetadata and update related permissions logic 2025-06-24 13:47:53 +01:00
Simon Larsen
f8c8f26cab feat: Enhance response handling for list and object types in ResourceGenerator 2025-06-24 13:29:57 +01:00
Simon Larsen
a923b0f885 refactor: Update default value handling to consider both create and update schemas in ResourceGenerator 2025-06-24 13:18:38 +01:00
Simon Larsen
d352610ca7 refactor: Remove unused onBeforeUpdate method from MonitorService 2025-06-24 13:01:31 +01:00
Simon Larsen
23c57a1483 feat: Add support for complex objects in OpenAPIParser and ResourceGenerator 2025-06-24 12:52:00 +01:00
Simon Larsen
d3106e4ac8 refactor: Enhance resource schema handling by adding support for default values and list types in ResourceGenerator 2025-06-24 12:17:47 +01:00
Simon Larsen
a0acf8cac2 feat: Add operationSchemas to TerraformResource and implement schema generation for CRUD operations in OpenAPIParser 2025-06-24 11:53:18 +01:00
Simon Larsen
b29df21b4d refactor: Enhance OpenAPI schema handling by incorporating default values in ModelSchema and ResourceGenerator 2025-06-24 11:21:47 +01:00
Simon Larsen
e1f52ebd26 refactor: Implement helper function to add default values to OpenAPI schema in AnalyticsModelSchema and ModelSchema 2025-06-23 18:29:06 +01:00
Simon Larsen
0248ae5ec6 Add default values for boolean fields across various database models
- Set defaultValue to false for boolean fields in Monitor, MonitorGroupOwnerTeam, MonitorGroupOwnerUser, MonitorOwnerTeam, MonitorOwnerUser, MonitorProbe, MonitorStatus, MonitorStatusTimeline, MonitorTest, OnCallDutyPolicy, OnCallDutyPolicyExecutionLog, OnCallDutyPolicyOwnerTeam, OnCallDutyPolicyOwnerUser, Probe, ProbeOwnerTeam, ProbeOwnerUser, Project, ProjectSmtpConfig, ProjectSso, PromoCode, ScheduledMaintenance, ScheduledMaintenanceInternalNote, ScheduledMaintenanceOwnerTeam, ScheduledMaintenanceOwnerUser, ScheduledMaintenancePublicNote, ScheduledMaintenanceStateTimeline, ScheduledMaintenanceTemplate, ServiceCopilotCodeRepository, SmsLog, StatusPage, StatusPageAnnouncement, StatusPageAnnouncementTemplate, StatusPageDomain, StatusPageGroup, StatusPageOwnerTeam, StatusPageOwnerUser, StatusPagePrivateUser, StatusPageResource, StatusPageSso, StatusPageSubscriber, TeamMember, TeamPermission, TelemetryException, User, UserEmail, UserNotificationSetting, UserSMS, UserTwoFactorAuth, Workflow, WorkflowVariable.
- Set defaultValue to true for specific boolean fields in MonitorProbe, MonitorTest, OnCallDutyPolicy, ScheduledMaintenance, StatusPage, and StatusPageResource.
- Adjusted default values for various fields to ensure consistent behavior across the application.
2025-06-23 18:16:18 +01:00
Simon Larsen
064ff68147 refactor: Add JSONObject type to defaultValue in TableColumnMetadata interface 2025-06-23 16:31:19 +01:00
Simon Larsen
5794e40fd1 docs: Update contributing guidelines to clarify repository status and forking instructions 2025-06-23 15:52:45 +01:00
Simon Larsen
51faf12723 refactor: Enhance OpenAPI example handling in DocumentationGenerator and OpenAPIParser 2025-06-23 15:50:06 +01:00
Simon Larsen
1c658651ac refactor: Change provider parameter from "host" to "oneuptime_url" for clarity and consistency 2025-06-23 15:42:28 +01:00
Simon Larsen
482c6d3e0b refactor: Improve toSnakeCase method to handle consecutive uppercase letters and camelCase conversion 2025-06-23 15:41:01 +01:00
Simon Larsen
441ab82acf refactor: Update documentation to mark api_key as required for authentication 2025-06-23 15:27:14 +01:00
Simon Larsen
7d18b81ea5 refactor: Update api_key to be required for authentication in DocumentationGenerator and ProviderGenerator 2025-06-23 15:20:29 +01:00
Simon Larsen
a8c3ca5f01 refactor: Change provider parameter from "host" to "oneuptime_url" for clarity and consistency 2025-06-23 15:18:49 +01:00
Simon Larsen
1d57657b72 refactor: Make "Project ID" optional in ModelSchema when derived from API key 2025-06-23 14:55:35 +01:00
Simon Larsen
a4bb6744f4 refactor: Add isDefaultValueColumn property to Current Monitor Status ID in Monitor model 2025-06-23 14:41:33 +01:00
Simon Larsen
4d3ef70765 refactor: Adjust logic for handling optional columns in ModelSchema 2025-06-23 14:40:25 +01:00
Simon Larsen
6f71a67adf refactor: Update example values and adjust optionality for default value columns in ModelSchema 2025-06-23 14:37:09 +01:00
Simon Larsen
a701f5eff0 refactor: Improve code formatting for better readability in DataSourceGenerator, ResourceGenerator, and StringUtils 2025-06-23 14:22:20 +01:00
Simon Larsen
7f7f3cf62b refactor: Add --test-release flag to publish-terraform-provider command 2025-06-20 22:06:36 +01:00
Simon Larsen
2f4d51b833 refactor: Remove Terraform configuration and provider files from TerraformTest 2025-06-20 22:05:12 +01:00
Simon Larsen
c09369c351 refactor: Add TerraformTest directory to .gitignore 2025-06-20 22:04:22 +01:00
Simon Larsen
aeb3d93a1f refactor: Update authentication error message to include API key requirement 2025-06-20 21:59:38 +01:00
Simon Larsen
24803362cb refactor: Enhance publish script for OneUptime Terraform Provider with improved argument parsing, validation, and error handling 2025-06-20 21:28:19 +01:00
Simon Larsen
1dcd3664c7 refactor: Add PostWithSelect method and update resource handling for API calls 2025-06-20 17:34:22 +01:00
Simon Larsen
3e51f3542b refactor: Update path for get item endpoint in OpenAPIUtil to include '/get-item' 2025-06-20 16:50:29 +01:00
Simon Larsen
f8d80b59ac refactor: Add createdByUserId and deletedByUserId to computed fields check in OpenAPIParser 2025-06-20 16:41:24 +01:00
Simon Larsen
36f6561b2c refactor: Enhance response value handling in generateResponseSetter method 2025-06-20 15:55:06 +01:00
Simon Larsen
5ed9b8ec24 refactor: Improve handling of Terraform map and response data in ResourceGenerator 2025-06-20 15:49:02 +01:00
Simon Larsen
672caa8c0a refactor: Change authorization header from Bearer token to APIKey in DoRequest method 2025-06-20 14:40:46 +01:00
Simon Larsen
46e7d9aca6 refactor: Preserve original OpenAPI parameter and property names in ResourceGenerator and OpenAPIParser 2025-06-20 14:38:24 +01:00
Simon Larsen
aa617ec0ba refactor: Enhance handling of Terraform map and list types in ResourceGenerator 2025-06-20 14:33:49 +01:00
Simon Larsen
aaa8d13526 refactor: Exclude Entity columns while retaining EntityArray columns in ModelSchema 2025-06-20 14:15:32 +01:00
Simon Larsen
b055a999e3 refactor: Clarify logic for making fields optional in ModelSchema 2025-06-20 14:00:12 +01:00
Simon Larsen
3c7426ffac refactor: Sanitize attribute names in DataSourceGenerator and ResourceGenerator to avoid reserved keywords 2025-06-20 13:50:49 +01:00
Simon Larsen
09a8d89106 refactor: Update API host URL in README and scripts for consistency 2025-06-20 12:35:30 +01:00
Simon Larsen
3e8273ce55 refactor: Improve code formatting and readability in OpenAPIParser and StringUtils 2025-06-20 12:17:02 +01:00
Simon Larsen
7f08319da2 refactor: Enhance type annotations for methods and variables in OpenAPIParser, ResourceGenerator, StringUtils, and TerraformProviderGenerator 2025-06-20 00:09:33 +01:00
Simon Larsen
9f8c88ec91 refactor: Improve code formatting and readability across multiple generator files 2025-06-20 00:02:47 +01:00
Simon Larsen
571858aad5 refactor: Enhance type annotations and access modifiers across the Terraform provider codebase
- Updated constructors and methods in various classes to use public access modifiers for better clarity.
- Added explicit type annotations for variables and function return types to improve type safety and readability.
- Refactored the DocumentationGenerator, FileGenerator, GoCodeGenerator, GoModuleGenerator, OpenAPIParser, ProviderGenerator, ResourceGenerator, StringUtils, TerraformProviderGenerator, and GenerateProvider scripts.
- Removed deprecated Index.ts file related to Terraform provider generation.
2025-06-19 23:57:50 +01:00
Simon Larsen
6c6612fde9 refactor: Improve readability and consistency in example generation and resource imports 2025-06-19 23:45:00 +01:00
Simon Larsen
30dd60f01f feat: Add example generation for resource documentation and enhance schema handling 2025-06-19 23:32:39 +01:00
Simon Larsen
f9372928fd refactor: Enhance handling of map and list types in resource generation, adding comments for future implementation 2025-06-19 21:35:42 +01:00
Simon Larsen
0475f1cbea refactor: Update import determination logic based on actual usage and resource operations 2025-06-19 21:25:18 +01:00
Simon Larsen
461b64eb56 Refactor code for improved readability and consistency
- Updated formatting in DocumentationGenerator.ts for better readability.
- Enhanced writeFileInDir method in FileGenerator.ts with consistent formatting.
- Refactored GoCodeGenerator.ts for improved code structure and readability.
- Improved error handling and formatting in OpenAPIParser.ts.
- Enhanced ProviderGenerator.ts with consistent formatting for file writing.
- Refactored ResourceGenerator.ts for improved readability and consistency.
- Updated StringUtils.ts for better formatting and readability.
- Improved TerraformProviderGenerator.ts with consistent formatting.
- Refactored GenerateProvider.ts for better error handling and readability.
- Updated Index.ts for improved formatting and consistency.
2025-06-19 21:05:06 +01:00
Simon Larsen
22d326bf6f feat: Implement dynamic example generation for model schemas and enhance schema descriptions 2025-06-19 20:54:39 +01:00
Simon Larsen
e8b0d76bf0 refactor: Enhance schema handling for unknown column types and improve descriptions in ModelSchema 2025-06-19 20:39:17 +01:00
Simon Larsen
37c8ab5405 refactor: Remove debug logging from schema processing in OpenAPIParser 2025-06-19 19:51:26 +01:00
Simon Larsen
f73a964916 feat: Add build and installation script generation for Terraform provider 2025-06-19 19:50:32 +01:00
Simon Larsen
d9412b6c0c refactor: Improve operation type determination and schema extraction in OpenAPIParser 2025-06-19 19:46:49 +01:00
Simon Larsen
eed38eed8d refactor: Update host configuration to remove '/api' path and clarify documentation 2025-06-19 19:14:04 +01:00
Simon Larsen
fdfabe080c refactor: Enhance toSnakeCase method to replace multiple underscores with a single underscore 2025-06-19 19:07:50 +01:00
Simon Larsen
8b41779fa2 refactor: Update provider configuration to use default host and remove unused authentication fields 2025-06-19 19:03:33 +01:00
Simon Larsen
1ef5894325 feat: Implement Terraform Provider Generator with OpenAPI integration
- Added StringUtils class for string manipulation and formatting.
- Created TerraformProviderGenerator class to handle provider generation.
- Defined TypeScript interfaces for Terraform provider configuration and OpenAPI specifications.
- Developed GenerateProvider script to orchestrate the provider generation process.
- Added README documentation for the Terraform provider generator.
- Implemented installation script for local provider installation.
- Created publish script for preparing and publishing the provider to Terraform Registry.
2025-06-19 18:55:46 +01:00
Simon Larsen
aec4878948 refactor: remove unused select schema references in OpenAPIUtil 2025-06-19 18:31:36 +01:00
Simon Larsen
f28dd9468f refactor: remove unused select schema reference in OpenAPIUtil 2025-06-19 18:29:31 +01:00
Simon Larsen
ba3d665e19 refactor: remove unused select schema reference in create API spec 2025-06-19 18:28:42 +01:00
Simon Larsen
035e9273d9 Refactor: Remove old Terraform provider implementation and scripts
- Deleted main.go and provider.go files as part of the provider refactor.
- Removed publish-terraform-provider.sh script, which was responsible for publishing the provider to the Terraform Registry.
- Eliminated validate-generation.sh script used for local validation of the provider generation process.
- Introduced new Index.ts file to initiate the Terraform provider generation process from the OpenAPI specification.
- Updated the generation process to ensure a clean slate by removing any existing Terraform directory before generating new files.
2025-06-19 17:58:39 +01:00
Simon Larsen
849e06ec35 feat: implement type conflict resolution in TypeConflictResolver 2025-06-19 17:39:26 +01:00
Simon Larsen
9e1cc85c09 refactor: improve resource and data source handling in GeneratorConfig 2025-06-19 17:22:23 +01:00
Simon Larsen
04ce633338 refactor: simplify response schema registration in OpenAPIUtil 2025-06-19 17:17:29 +01:00
Simon Larsen
a04c561ad5 fix: add missing newline for better readability in GenerateProvider.ts 2025-06-19 16:05:52 +01:00
Simon Larsen
f221b2b4ff feat: add response schemas for list, create, get, update, and analytics operations in OpenAPIUtil 2025-06-19 15:33:39 +01:00
Simon Larsen
4ab7b09661 fix: correct function call for provider initialization in main.go 2025-06-19 14:32:23 +01:00
Simon Larsen
523b842e57 fix: ensure error is thrown after failed Go module initialization and tidy command 2025-06-19 14:27:19 +01:00
Simon Larsen
023fe0b742 fix: correct import statement for provider package in main.go 2025-06-19 14:26:32 +01:00
Simon Larsen
e06085a16a feat: implement initial provider structure and functionality for OneUptime Terraform provider 2025-06-19 14:19:25 +01:00
Simon Larsen
e074b38e3d fix: correct path references in Go module initialization and main.go file reading 2025-06-19 13:38:23 +01:00
Simon Larsen
3d6a61ddc1 feat: add Go module setup and main entry point for Terraform provider generation 2025-06-19 13:28:00 +01:00
Simon Larsen
f3dc3e976e refactor: format output path for Terraform provider generation for improved readability 2025-06-19 13:18:54 +01:00
Simon Larsen
f556cf1174 fix: update output path for Terraform provider generation to include full provider name 2025-06-18 17:11:27 +01:00
Simon Larsen
6b7a102b9a refactor: replace <span> with <div> for monitor status elements to improve structure 2025-06-18 14:50:19 +01:00
Simon Larsen
a7d672263a refactor: rename 'type' to 'fileType' in various components for consistency and clarity 2025-06-18 14:47:18 +01:00
Simon Larsen
3ebc19fb78 refactor: rename 'type' columns to 'fileType', 'paymentMethodType', and 'customFieldType' in migration files for clarity; update related code references 2025-06-18 13:48:54 +01:00
Simon Larsen
7c509791f4 fix: update fieldType references to use customFieldType for consistency in CustomFieldsDetail component 2025-06-18 13:43:13 +01:00
Simon Larsen
5225fdde0d feat: add migration to rename 'type' columns to improve clarity in database schema 2025-06-18 13:41:31 +01:00
Simon Larsen
8a57fdbac7 refactor: rename 'type' to 'customFieldType' and 'paymentMethodType' in various models and components for clarity 2025-06-18 13:40:15 +01:00
Simon Larsen
77e097bf5f feat: implement ProviderCodeSpecGenerator for generating provider code specifications 2025-06-18 12:04:49 +01:00
Simon Larsen
b13f1d03c0 fix: remove Go module setup from provider generation process and add scaffolding for framework output directory 2025-06-18 11:15:01 +01:00
Simon Larsen
9af40e0efb feat: enhance provider.go generation with dynamic resource and data source implementations 2025-06-17 20:55:22 +01:00
Simon Larsen
eceeffec2e fix: remove unnecessary terraform block from example configuration 2025-06-17 20:44:14 +01:00
Simon Larsen
f057710abf fix: update get_provider_version function to return a default version for testing 2025-06-17 20:34:31 +01:00
Simon Larsen
bdf21e3598 chore: remove local installation script for OneUptime Terraform provider 2025-06-17 20:32:47 +01:00
Simon Larsen
55a40d80d5 fix: update .gitignore to include Terraform provider files and modify install script to use --force option 2025-06-17 20:31:05 +01:00
Simon Larsen
70cd4e7a46 feat: Add OneUptime Terraform Provider Publisher script
- Implemented a comprehensive bash script to automate the publishing process of the OneUptime Terraform provider to the Terraform Registry.
- Included functionalities for version specification, testing mode, dependency installation, provider generation, GitHub repository interaction, release creation, and asset uploading.
- Added error handling, prerequisite validation, and detailed logging for better user experience.
- Integrated GPG signing for release assets and SHA256 checksum generation.
- Provided usage instructions and examples for ease of use.
2025-06-17 20:28:24 +01:00
Simon Larsen
301cf0611d feat: add local installation script and update README for Terraform provider 2025-06-17 20:14:05 +01:00
Simon Larsen
16fd822f4f fix: update GPG private key reference in Terraform provider workflow 2025-06-17 12:26:00 +01:00
Simon Larsen
100bfbe5db fix: enhance GPG signing process with key validation and debugging output 2025-06-17 12:00:42 +01:00
Simon Larsen
e420e44bee fix: add GPG key import and export steps in Terraform provider publishing process 2025-06-17 11:34:42 +01:00
Simon Larsen
18b5323bc2 fix: add asset existence check and deletion before uploading in release process 2025-06-17 11:24:17 +01:00
Simon Larsen
cb002e25f9 fix: remove GPG key import and export steps from Terraform provider publishing process 2025-06-17 11:12:01 +01:00
Simon Larsen
19a0cfd3fd fix: add GPG key import and export steps in Terraform provider generation workflow 2025-06-17 11:06:26 +01:00
Simon Larsen
3b6a746d41 fix: streamline GPG key handling in SHASUMS signing process 2025-06-17 11:00:04 +01:00
Simon Larsen
f27090dc4f fix: improve GPG key import error handling and output for better debugging 2025-06-17 10:50:41 +01:00
Simon Larsen
2b68ec3d1b fix: enhance GPG key import process by using a temporary file and improving status messages 2025-06-17 10:44:18 +01:00
Simon Larsen
02e3d1138e fix: update Terraform provider publish command to use quotes for better handling of secrets 2025-06-17 10:32:08 +01:00
Simon Larsen
fdb2823fda fix: streamline GPG key handling in Terraform provider publish workflow 2025-06-17 10:27:29 +01:00
Simon Larsen
0ed160f68f fix: streamline GPG key handling and enhance publish script options for Terraform provider 2025-06-17 10:20:42 +01:00
Simon Larsen
66f6952ad9 fix: remove fallback for GPG private key in release workflow 2025-06-17 10:11:16 +01:00
Simon Larsen
d08387d4c8 fix: improve GPG key import process with enhanced error handling and automation 2025-06-17 09:59:12 +01:00
Simon Larsen
78835f8fb4 fix: enhance GPG signing process with improved error handling and automation 2025-06-17 09:48:14 +01:00
Simon Larsen
ae9af32768 fix: update GitHub release title and name format to simplify versioning 2025-06-17 09:42:13 +01:00
Simon Larsen
16de3a0380 fix: include signature files in release asset creation and upload process 2025-06-17 09:39:55 +01:00
Simon Larsen
5196fc1385 fix: enhance GPG signing process with validation and improved error handling 2025-06-16 23:14:37 +01:00
Simon Larsen
964afb0a1d fix: streamline provider generation by removing redundant validations and enhancing zip archive creation 2025-06-16 23:05:03 +01:00
Simon Larsen
c5b382c122 fix: replace multi-platform build process with verification of existing builds 2025-06-16 22:47:46 +01:00
Simon Larsen
e74fddfe75 fix: update build command in publish script to use variable for ldflags 2025-06-16 22:44:28 +01:00
Simon Larsen
2ef6698f1b fix: update publish script to validate provider framework directory and adjust paths for Go operations 2025-06-16 22:31:27 +01:00
Simon Larsen
7dac270540 fix: enhance provider generation validation with checks for essential files and Go module dependencies 2025-06-16 22:02:57 +01:00
Simon Larsen
bfb0cf1a79 fix: update file paths in provider generation and build scripts to reflect new directory structure 2025-06-16 21:54:59 +01:00
Simon Larsen
8765bc07ed fix: add retry logic with exponential backoff to Slack API requests 2025-06-16 21:51:21 +01:00
Simon Larsen
388a842da4 fix: add checks for essential files in provider generation and build process 2025-06-16 21:45:02 +01:00
Simon Larsen
157e5563db fix: add multi-platform build, SHASUM generation, and asset upload to publish script 2025-06-16 21:31:21 +01:00
Simon Larsen
619dacf18b fix: simplify GitHub release title in publish-terraform-provider script 2025-06-16 21:23:59 +01:00
Simon Larsen
f76915f56f fix: enhance push_to_repository function to handle remote changes and tag management 2025-06-16 21:14:46 +01:00
Simon Larsen
37dc6a82cb fix: update publish-terraform-provider script to use 'master' branch instead of 'main'
fix: revise Terraform documentation to clarify project creation and resource structure
fix: enhance examples and quick start guide for better clarity on project ID usage
2025-06-16 21:07:14 +01:00
Simon Larsen
a0b980fb56 fix: remove unnecessary closing brace in publish-terraform-provider script 2025-06-16 20:56:32 +01:00
Simon Larsen
8065dcdb18 fix: update publish-terraform-provider script for test release mode 2025-06-16 20:50:58 +01:00
Simon Larsen
3be7b0e4ee fix: improve formatting of manifestContent declaration in GoModuleSetup 2025-06-16 20:44:43 +01:00
Simon Larsen
1e3f5fb7e4 fix: improve GitHub release creation logic for dry runs and actual releases 2025-06-16 20:39:26 +01:00
Simon Larsen
df52df8fe0 fix: clean up formatting and whitespace in FormField and GoModuleSetup files 2025-06-16 20:35:54 +01:00
Simon Larsen
514ee1e6ed fix: enhance repository access validation and clarify GITHUB_TOKEN permissions in publish script 2025-06-16 20:31:39 +01:00
Simon Larsen
5350c22833 fix: ensure SSH directory exists before setting up deploy key for GitHub release 2025-06-16 20:23:54 +01:00
Simon Larsen
e82092dbd7 fix: remove unnecessary fail-fast strategy from multiple Docker image deploy jobs 2025-06-16 20:18:56 +01:00
Simon Larsen
44e80d6707 fix: update environment variables for publish-terraform-provider job in release workflows 2025-06-16 20:17:28 +01:00
Simon Larsen
6c67b61cc1 fix: enhance GitHub authentication method in publish script to support deploy keys 2025-06-16 20:15:59 +01:00
Simon Larsen
d58b5170d9 fix: update description type in multiple components to support ReactElement 2025-06-16 16:57:09 +01:00
Simon Larsen
8262cc5a00 fix: correct script path casing for publish-terraform-provider in package.json 2025-06-16 16:49:09 +01:00
Simon Larsen
c579bc21a8 fix: update dependencies for test-helm-chart job to include publish-terraform-provider 2025-06-16 16:37:54 +01:00
Simon Larsen
ac131d6ae6 feat: add publishing workflow for Terraform provider with versioning and dependency management 2025-06-16 16:36:53 +01:00
Simon Larsen
6b03b541b3 fix: improve dry run handling in Terraform provider publishing script 2025-06-16 16:36:07 +01:00
Simon Larsen
14f95d54f4 fix: enhance GitHub authentication and error handling in publishing script 2025-06-16 16:20:41 +01:00
Simon Larsen
bd2c70e5fe fix: remove redundant success message from publishing process 2025-06-16 16:16:26 +01:00
Simon Larsen
498a481162 feat: add multi-platform build support for Terraform provider 2025-06-16 15:56:04 +01:00
Simon Larsen
3ec126eed9 fix: update Go module setup to create cmd directory and adjust main.go path 2025-06-16 15:43:30 +01:00
Simon Larsen
b0d9e08f1b feat: implement Go module setup and build configuration for Terraform provider 2025-06-16 15:08:48 +01:00
Simon Larsen
625ad9cc47 fix: remove unnecessary whitespace in features table for cleaner code 2025-06-16 14:52:43 +01:00
Simon Larsen
d17b272c61 fix: update feature descriptions for clarity and consistency 2025-06-16 14:26:04 +01:00
Simon Larsen
5188f0fb2d fix: remove PR comment step from OpenAPI spec generation workflow 2025-06-16 14:17:07 +01:00
Simon Larsen
cafe51ed38 fix: remove comment PR step from Terraform provider generation workflow 2025-06-16 14:16:53 +01:00
Simon Larsen
25ff258d83 fix: remove unnecessary blank lines in route definitions for cleaner code 2025-06-16 13:14:29 +01:00
Simon Larsen
140547d796 fix: update link styling for improved visibility in Markdown cheatsheet 2025-06-16 13:07:59 +01:00
Simon Larsen
b68f25b80d fix: ensure consistent styling for Markdown link in cheatsheet 2025-06-16 13:07:29 +01:00
Simon Larsen
6521009e29 feat: add Terraform support option to pricing plans and improve route formatting 2025-06-16 13:07:26 +01:00
Simon Larsen
589cd8d8ee feat: add Markdown description support across various components for enhanced user guidance 2025-06-16 13:04:14 +01:00
Simon Larsen
bc644a75f8 fix: update Markdown utility import path and adjust helpText state type in CodeEditor component 2025-06-16 12:45:40 +01:00
Simon Larsen
d564c573e5 refactor: remove unused Markdown imports and improve description formatting in various components 2025-06-16 12:44:02 +01:00
Simon Larsen
60b6b55f0f fix: update descriptions in Alert, ScheduledMaintenanceTemplate, and StatusPageAnnouncement models to clarify Markdown usage 2025-06-16 12:39:55 +01:00
Simon Larsen
5179107c02 fix: update remediation notes description in Alert model and remove unused Markdown import in IncidentNoteTemplate 2025-06-16 12:38:55 +01:00
Simon Larsen
fa6ef8070c feat: enhance Markdown support with utility functions and update descriptions across various components 2025-06-16 12:36:41 +01:00
Simon Larsen
c21623d275 feat: add Terraform Provider navigation links and restructure publishing documentation 2025-06-16 09:56:37 +01:00
Simon Larsen
f9d17364f3 Add comprehensive documentation for OneUptime Terraform Provider
- Created main documentation index for Terraform Provider.
- Added Quick Start Guide for rapid setup and configuration.
- Developed detailed installation and usage guide from Terraform Registry.
- Introduced Self-Hosted Configuration Guide emphasizing version compatibility.
- Included troubleshooting sections and best practices for self-hosted users.
- Provided complete configuration examples for various environments.
2025-06-16 09:41:10 +01:00
Simon Larsen
a1c719b653 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-06-16 09:32:27 +01:00
Simon Larsen
42e9016c31 feat: implement Terraform provider release workflow and documentation 2025-06-16 09:32:24 +01:00
Simon Larsen
6c4d64455f Merge pull request #1949 from OneUptime/snyk-fix-dee1b14b5aa17ca1ba382a4c7a01772c
[Snyk] Security upgrade jest from 29.7.0 to 30.0.0
2025-06-14 21:30:46 +01:00
snyk-bot
1931b9a45b fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BABELHELPERS-9397697
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
- https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073
2025-06-14 11:29:13 +00:00
Simon Larsen
5b4233a61c feat: add Terraform provider publishing workflow and script 2025-06-13 22:13:37 +01:00
Simon Larsen
e059d9ee0c style: format code for better readability in AnnouncementCreate and StatusPageAnnouncementTemplates components 2025-06-13 20:55:55 +01:00
Simon Larsen
0c3a90ed83 fix: correct PageRoute structure in StatusPagesRoutes component 2025-06-13 20:53:17 +01:00
Simon Larsen
b62e6a4b23 feat: create AnnouncementCreate component and update routing for announcements 2025-06-13 20:51:08 +01:00
Simon Larsen
c42e13d160 feat: enhance Status Pages field structure in StatusPageAnnouncementTemplates 2025-06-13 20:49:29 +01:00
Simon Larsen
febb0c77e6 feat: add Announcement creation page and update routing for announcements 2025-06-13 20:43:00 +01:00
Simon Larsen
d5706167a6 refactor: remove unused overrideFieldKey property from StatusPageAnnouncementTemplateView and StatusPageAnnouncementTemplates 2025-06-13 20:22:32 +01:00
Simon Larsen
bcbddd480d refactor: standardize formatting and improve readability in StatusPageAnnouncementTemplateView and SpecificationConverter 2025-06-13 20:20:25 +01:00
Simon Larsen
58067a989b feat: update permissions for Status Page Announcement Template and enhance route handling in the settings page 2025-06-13 14:11:48 +01:00
Simon Larsen
242b6a3dde feat: add Status Page Announcement Template view and update routes for enhanced functionality 2025-06-13 14:08:27 +01:00
Simon Larsen
17a67eb19d refactor: improve code readability by standardizing formatting across multiple files 2025-06-13 13:54:36 +01:00
Simon Larsen
0ef1b717aa refactor: add type annotations for improved type safety across various components 2025-06-13 13:50:06 +01:00
Simon Larsen
c0be3e2fa5 fix: standardize formatting and improve readability in various files 2025-06-13 12:58:46 +01:00
Simon Larsen
739256bd19 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-06-13 12:53:37 +01:00
Simon Larsen
cdf26234d5 feat: add disableSpellCheck prop to various components to enhance user experience 2025-06-13 11:53:12 +00:00
Simon Larsen
025ceb7a3d feat: add Status Page Announcement Template API integration 2025-06-13 12:51:17 +01:00
Simon Larsen
fae86b13d7 feat: add routes for Status Page Announcement Templates in settings 2025-06-13 12:46:52 +01:00
Simon Larsen
6f26f1b5f9 feat: add migration for Status Page Announcement Template and related tables with foreign key constraints 2025-06-13 12:23:13 +01:00
Simon Larsen
81ec5a42de refactor: improve readability of template selection logic in AnnouncementTable 2025-06-13 12:16:43 +01:00
Simon Larsen
3084438cf9 feat: add functionality for creating announcements from templates with modal integration and error handling 2025-06-13 12:13:52 +01:00
Simon Larsen
d74be2e23a feat: add Status Page Announcement Template functionality with permissions and UI integration 2025-06-13 12:09:13 +01:00
Simon Larsen
3234f730fe Refactor ToolInstaller and ProviderSpec for improved readability and consistency
- Updated import statements to use double quotes for consistency.
- Refactored ToolInstaller methods to enhance readability and maintainability.
- Improved error handling and logging in ToolInstaller methods.
- Simplified the installation verification process for tools.
- Enhanced the ProviderSpec class to maintain consistent formatting and error handling.
- Refactored SpecificationConverter for better structure and clarity.
- Improved the extraction and sanitization of resource names in SpecificationConverter.
- Enhanced schema generation logic to accommodate various OpenAPI specifications.
2025-06-13 12:07:22 +01:00
Simon Larsen
60a6714e40 feat: update spellCheck behavior in Input component to conditionally disable based on input type 2025-06-13 11:04:31 +00:00
Simon Larsen
a2be299583 feat: add disableSpellCheck prop to MarkdownEditor, CodeEditor, and FormField components with corresponding tests 2025-06-13 11:02:39 +00:00
Simon Larsen
22c705881c feat: add disableSpellCheck prop to Input and TextArea components and update tests for spellcheck behavior 2025-06-13 10:54:00 +00:00
Simon Larsen
d4225d35a0 feat: add resource name sanitization to follow Terraform naming conventions 2025-06-13 10:57:53 +01:00
Simon Larsen
577b5ea0a7 feat: enhance GenerateProvider to include Framework Generator installation and add detailed logging for each step 2025-06-13 10:50:16 +01:00
Simon Larsen
d71338ffae feat: implement FrameworkGenerator class for Terraform provider code generation and scaffolding 2025-06-13 10:41:01 +01:00
Simon Larsen
9b8bf4c997 feat: add openapi.json to .gitignore to prevent tracking of generated files 2025-06-13 10:40:18 +01:00
Simon Larsen
7fcd7d7769 feat: enhance ToolInstaller to support installation of Framework Generator and improve logging 2025-06-13 10:40:03 +01:00
Simon Larsen
d39f59e33f feat: remove unused miscDataProps from create API specifications 2025-06-13 10:39:38 +01:00
Simon Larsen
85c643dd8b feat: refactor Terraform provider code generation into ProviderSpec class 2025-06-13 10:20:51 +01:00
Simon Larsen
dc114e7b6f feat: enhance resource handling in generator config for Terraform provider 2025-06-12 23:17:31 +01:00
Simon Larsen
ab9d6cceac feat: add ToolInstaller for managing Terraform Plugin Codegen OpenAPI installation and integrate it into GenerateProvider 2025-06-12 23:12:19 +01:00
Simon Larsen
858a04ea36 feat: update generate-openapi-spec script to use relative path for OpenAPI spec file 2025-06-12 23:04:14 +01:00
Simon Larsen
4db1320d47 feat: update generate-openapi-spec script to accept output path as an argument 2025-06-12 23:04:07 +01:00
Simon Larsen
962071aa21 feat: update OpenAPI spec path in GenerateProvider to ensure correct file location 2025-06-12 22:52:06 +01:00
Simon Larsen
350943f78b feat: update output path for Terraform provider generator config to ensure correct file placement 2025-06-12 22:50:46 +01:00
Simon Larsen
270eafef6a feat: enhance resource and data source generation logic based on operationId for better handling of CRUD operations 2025-06-12 22:40:35 +01:00
Simon Larsen
61d7cbd6a6 feat: add operationId to API paths for better identification and organization 2025-06-12 22:34:50 +01:00
Simon Larsen
4e53dd45db feat: remove debug logging from AnalyticsModelSchema to streamline code 2025-06-12 22:26:05 +01:00
Simon Larsen
35b1c50f18 feat: remove debug logging from ModelSchema class to clean up code 2025-06-12 22:24:54 +01:00
Simon Larsen
eaf11e42ea feat: improve resource and data source naming by prioritizing operationId and refining fallback logic 2025-06-12 22:00:44 +01:00
Simon Larsen
38b0113842 feat: enhance resource and data source naming by using operationId or fallback to path and method 2025-06-12 21:56:56 +01:00
Simon Larsen
faa7f3a8aa feat: implement Terraform provider generator configuration and OpenAPI spec generation 2025-06-12 21:54:09 +01:00
Simon Larsen
7beb0be9a9 feat: enhance generateOpenAPISpec function to accept output path and ensure directory exists 2025-06-12 21:42:23 +01:00
Simon Larsen
b47494073b feat: remove GenerateProvider.ts file and its associated logic 2025-06-12 21:17:05 +01:00
Simon Larsen
e172c7c80a feat: enhance Terraform provider generation by extracting resources and data sources from OpenAPI spec 2025-06-12 21:04:11 +01:00
Simon Larsen
a92dc56c55 fix: update generator configuration path and ensure output directory exists 2025-06-12 19:38:17 +01:00
Simon Larsen
9f8fe31b70 feat: dynamically generate resources and datasources in generator configuration 2025-06-12 19:36:09 +01:00
Simon Larsen
14023df7a6 fix: improve error message formatting in ProjectMiddleware and its tests 2025-06-12 18:23:20 +01:00
Simon Larsen
0e6761d291 fix: standardize error messages for API key validation in ProjectMiddleware 2025-06-12 18:20:53 +01:00
Simon Larsen
53ff7ebc5c fix: improve code formatting and readability in Routes and OpenAPI service files 2025-06-12 18:00:45 +01:00
Simon Larsen
8190ae0624 feat: add OpenAPI specification support and update navigation links 2025-06-12 17:57:27 +01:00
Simon Larsen
c1009a3361 fix: standardize formatting and improve readability in various schema and model files 2025-06-12 17:38:28 +01:00
Simon Larsen
917e43143a fix: simplify ObjectID schema and update ModelSchema to use string format for identifiers 2025-06-12 17:29:21 +01:00
Simon Larsen
657cdfd2d9 fix: refactor column type handling in AnalyticsModelSchema and simplify example value assignment in ModelSchema 2025-06-12 12:17:51 +01:00
Simon Larsen
3cdedee597 fix: filter out columns marked to be hidden in documentation from table columns 2025-06-12 11:51:54 +01:00
Simon Larsen
bfc958dffe fix: update TableColumn metadata to include hideColumnInDocumentation flag and enhance date schema handling in ModelSchema 2025-06-12 11:48:44 +01:00
Simon Larsen
01916e6323 fix: return baseValue for EqualTo operator in AnalyticsModelSchema and ModelSchema 2025-06-12 11:20:57 +01:00
Simon Larsen
2621b69d9f fix: clean up formatting and improve OpenAPI schema examples in ModelSchema 2025-06-12 11:16:57 +01:00
Simon Larsen
1c3c612306 fix: enhance error message for missing API key and improve project ID handling in ProjectMiddleware 2025-06-12 11:13:06 +01:00
Simon Larsen
b42665ec67 fix: update error message for invalid API key in ProjectMiddleware 2025-06-12 10:05:36 +01:00
Simon Larsen
823886e15e fix: improve error handling for invalid API key in ProjectMiddleware 2025-06-12 10:01:26 +01:00
Simon Larsen
1943ecdfe6 fix: format mockRefreshProjectUsersByProject declaration for improved readability 2025-06-11 22:06:58 +01:00
Simon Larsen
d426a54f09 fix: enhance type definition for mockRefreshProjectUsersByProject in TeamMemberService tests 2025-06-11 22:05:04 +01:00
Simon Larsen
e20fbe1662 fix: update ProjectAuthorization and TeamMemberService tests for improved mock handling 2025-06-11 17:28:30 +01:00
Simon Larsen
92eb79c954 fix: simplify error handling in afterEach of TeamMemberService tests 2025-06-11 17:20:31 +01:00
Simon Larsen
19917dfc29 fix: add projectId selection to ProjectMiddleware test and improve error handling in TeamMemberService tests 2025-06-11 17:09:20 +01:00
Simon Larsen
cf428ea5a9 fix: simplify techStackItems mapping in TechStackView component 2025-06-11 16:49:42 +01:00
Simon Larsen
39f873b34d fix: update test assertions and remove unused subscription status in BillingService tests 2025-06-11 16:44:00 +01:00
Simon Larsen
cc20f041a5 fix: enhance type definition for techStackItems in TechStackView component 2025-06-11 15:52:29 +01:00
Simon Larsen
6389a70207 fix: update context type in VMRunner to allow string values 2025-06-11 15:42:37 +01:00
Simon Larsen
0e210320e5 fix: update ComponentProps to allow string type and adjust TechStackView to map tech stack items correctly 2025-06-11 15:40:40 +01:00
Simon Larsen
801ded5bb4 fix: update type constraints in QueryHelper methods to use FindWhereProperty<any> 2025-06-11 15:24:33 +01:00
Simon Larsen
74dc22fcff fix: remove unused import of GenericObject in StatementGenerator tests 2025-06-11 15:04:09 +01:00
Simon Larsen
bd45b59725 fix: update test cases in AnalyticsDatabaseService to use specific query and props objects 2025-06-11 15:03:54 +01:00
Simon Larsen
c05e5cb0ef fix: ensure async handling of billing service mock initialization in tests 2025-06-11 14:42:25 +01:00
Simon Larsen
2c02500fd3 fix: update type constraints in QueryOperator and initialize query/props as empty objects in tests 2025-06-11 14:37:31 +01:00
Simon Larsen
1a4c652bfc fix: format type assertion for mocked Navigation module for consistency 2025-06-11 14:28:34 +01:00
Simon Larsen
a069fa97df fix: refactor conditional checks for onChange props across multiple components 2025-06-11 14:25:35 +01:00
Simon Larsen
a7f00105ac fix: update ESLint configuration and ignore patterns for improved linting performance 2025-06-11 13:46:53 +01:00
Simon Larsen
29339b75ba fix: update Navigation mock structure to use default export for consistency in tests 2025-06-11 13:38:16 +01:00
Simon Larsen
8a3afb8fb0 fix: simplify event handler checks using optional chaining for onClick and onChange props across multiple components 2025-06-11 13:30:57 +01:00
Simon Larsen
be6627cd2e fix: refactor onClick handler in ColorInput to use explicit check for props.onClick 2025-06-11 13:18:05 +01:00
Simon Larsen
d200ee3d6f fix: format import statement for BillingService in mockIsBillingEnabled function 2025-06-11 13:11:32 +01:00
Simon Larsen
dd52a97dfa fix: improve error handling by replacing catch blocks with empty catch statements across multiple components 2025-06-11 13:08:28 +01:00
Simon Larsen
2b801c3d08 fix: update action start and end handlers to use explicit checks before calling 2025-06-11 10:28:36 +01:00
Simon Larsen
d6d5ecec64 fix: correct syntax for checking disabled attribute in ConfirmModal test 2025-06-11 10:27:53 +01:00
Simon Larsen
73f248c367 fix: improve error handling in CommonModel and update mock function to return a promise in BillingServiceHelper 2025-06-11 10:27:42 +01:00
Simon Larsen
9d3b2b5fc9 fix: correct function call syntax in OrderedStatesList test and improve error handling in various classes 2025-06-11 10:26:42 +01:00
Simon Larsen
98a4f058dd fix: add error logging across multiple components and services 2025-06-11 10:14:09 +01:00
Nico Aymet
b7ea97c246 Set permission to write logs and cache on /tmp/npm in case container run as non root 2025-06-10 19:11:37 +01:00
Simon Larsen
289308b01e fix: enhance error logging for statusPageId conversion in StatusPageAPI
fix: improve onClick handler in Logo component for better readability
2025-06-10 15:23:32 +01:00
Simon Larsen
dd05f540c1 fix: update error logging to include error details in data migration classes
refactor: change GenericObject type from Object to object for consistency
fix: increase memory limit for eslint commands in package.json
2025-06-10 15:17:55 +01:00
Simon Larsen
656420ac7b Remove dotenv and sass dependencies from Dashboard and StatusPage package.json files 2025-06-10 15:07:58 +01:00
Simon Larsen
f7597bf35e fix: add null checks for startTimeUnixNano and timeUnixNano in getMetricFromDatapoint method 2025-06-10 14:22:22 +01:00
Simon Larsen
a579b97584 fix: update script tags to use type="module" for improved compatibility 2025-06-10 12:26:54 +01:00
Simon Larsen
0cc64550c9 refactor: change esbuild output format from IIFE to ESM to enable code splitting 2025-06-10 12:24:52 +01:00
Simon Larsen
0931ae577a refactor: remove development environment setup from Dockerfiles and nodemon configurations 2025-06-10 12:02:20 +01:00
Simon Larsen
67636da2dd fix: update script references from bundle.js to Index.js in multiple views 2025-06-10 10:13:40 +01:00
Simon Larsen
26aef9c2ea fix: disable minification in esbuild configuration for development 2025-06-10 10:10:24 +01:00
Simon Larsen
2c512abb7b feat: add sass as a development dependency 2025-06-09 20:48:06 +01:00
Simon Larsen
2d0752aede refactor: update esbuild configuration paths and add esbuild dependency 2025-06-09 20:14:47 +01:00
Simon Larsen
b1383029f3 fix: remove unnecessary comments from port mappings in docker-compose.dev.yml 2025-06-09 20:04:57 +01:00
Simon Larsen
1392aba0dc refactor: remove webpack dependencies and update documentation for migration to esbuild 2025-06-09 20:04:36 +01:00
Simon Larsen
f5e6b04070 refactor: migrate from webpack to esbuild for all services
- Updated package.json scripts to use esbuild instead of webpack.
- Removed webpack.config.js files from all services.
- Added esbuild.config.js files for Dashboard, Accounts, AdminDashboard, and StatusPage.
- Created a shared esbuild configuration in Scripts/esbuild-config.js.
- Implemented CSS and file loader plugins for handling styles and assets.
- Added a migration cleanup script to remove webpack dependencies and configurations.
- Updated ESLint configuration to ignore webpack.config.js.
2025-06-09 20:02:24 +01:00
Simon Larsen
4ae8a64857 fix: update ESLint rule references and upgrade TypeScript dependencies 2025-06-09 15:58:01 +01:00
Simon Larsen
ddb8bdb5f2 fix: update output directory name for Terraform provider generation 2025-06-09 15:35:05 +01:00
Simon Larsen
c16ef4b8fd fix: correct syntax errors and improve error messages in Terraform provider generation 2025-06-09 15:32:33 +01:00
Simon Larsen
5177af1b33 fix: install script dependencies and export generateOpenAPISpec function for Terraform provider generation 2025-06-09 15:30:48 +01:00
Simon Larsen
e00ee85483 fix: correct directory name for installing script dependencies in OpenAPI spec generation workflow 2025-06-09 15:26:20 +01:00
Simon Larsen
1d01ffd293 fix: ensure script dependencies are installed before generating OpenAPI spec 2025-06-09 15:22:50 +01:00
Simon Larsen
7d069065c9 Merge pull request #1939 from OneUptime/terraform
Terraform
2025-06-09 15:01:47 +01:00
Simon Larsen
a37a0c4b3b fix: ensure tfplugingen-openapi is installed and use correct path for generation command 2025-06-09 14:58:28 +01:00
Simon Larsen
9633cbcb40 refactor: update provider generation to use dynamic API version and improve naming conventions 2025-06-09 14:55:29 +01:00
Simon Larsen
81d7168a0e feat: implement Terraform provider generation workflow with validation and documentation 2025-06-09 14:44:56 +01:00
Simon Larsen
6064f060a7 refactor: improve code consistency by adding missing commas in function parameters and statements 2025-06-09 14:34:50 +01:00
Simon Larsen
e34ede0c75 refactor: clean up formatting and remove unnecessary changes in StatementGenerator class 2025-06-09 14:26:18 +01:00
Simon Larsen
6a141c2cf1 refactor: enhance type annotations and replace console logs with Logger for OpenAPI spec generation 2025-06-09 14:22:12 +01:00
Simon Larsen
e03d1c3e1a refactor: simplify validation call and clean up whitespace in generateOpenAPISpec function 2025-06-09 14:19:08 +01:00
Simon Larsen
44f1f40a93 feat: add OpenAPI spec generation workflow with validation and artifact upload 2025-06-09 14:15:23 +01:00
Simon Larsen
39d6eac670 refactor: streamline OpenAPI spec validation and error handling 2025-06-09 14:13:17 +01:00
Simon Larsen
ed4936af30 refactor: restructure generateOpenAPISpec function for improved readability and organization 2025-06-09 14:11:03 +01:00
Simon Larsen
d5f0a29959 feat: Update package dependencies and add OpenAPI spec generation
- Added @readme/openapi-parser as a dependency in Scripts/package.json.
- Introduced a new script command "generate-openapi-spec" in package.json for generating OpenAPI specifications.
- Removed the obsolete test_schema_permissions.js file.
- Created a new script (GenerateSpec.ts) to generate and validate the OpenAPI spec, saving it to openapi.json.
2025-06-09 14:08:56 +01:00
Simon Larsen
b7ee17fa3e refactor: clean up formatting and remove unnecessary line breaks in ProjectAuthorization, OpenAPI, and ModelSchema files 2025-06-09 13:50:37 +01:00
Simon Larsen
eb3039f8d7 refactor: update Monitor column type to use MonitorSteps and integrate schema retrieval 2025-06-09 13:47:54 +01:00
Simon Larsen
f7464d6807 refactor: add IP and Port types to ColumnType and update related schemas in AnalyticsModelSchema and ModelSchema 2025-06-09 13:45:53 +01:00
Simon Larsen
db56b83734 refactor: remove ProjectID header from API Key example in authentication guide 2025-06-09 13:04:36 +01:00
Simon Larsen
907fd3f7e2 refactor: update tenant ID retrieval logic based on API key presence in ProjectMiddleware 2025-06-09 13:02:33 +01:00
Simon Larsen
5e7fd03564 refactor: remove API key header from default API headers in OpenAPI utility 2025-06-09 12:57:34 +01:00
Simon Larsen
db16554390 refactor: clean up code formatting and remove unused nested model example in AnalyticsModelSchema 2025-06-09 11:59:55 +01:00
Simon Larsen
f2f29398ee refactor: remove KeyValueNestedModel and clean up related code in CommonModel 2025-06-09 11:57:20 +01:00
Simon Larsen
41d0c4034d refactor: remove NestedModel support and clean up related code in AnalyticsBaseModel and StatementGenerator 2025-06-09 11:54:58 +01:00
Simon Larsen
3099d96e3c refactor: enhance type safety and improve parameter handling in OpenAPI utility methods 2025-06-09 11:36:09 +01:00
Simon Larsen
1ed266b9f5 feat: add API key authentication and enhance API specifications with default headers 2025-06-09 11:25:49 +01:00
Simon Larsen
03e26a61d8 refactor: improve code formatting for better readability in AnalyticsModelSchema and BaseSchema 2025-06-08 21:01:19 +01:00
Simon Larsen
e58377df9f refactor: add type annotations for better type safety in OpenAPI and schema files 2025-06-08 19:08:27 +01:00
Simon Larsen
a0002ac172 refactor: improve code formatting and readability across multiple schema files 2025-06-08 16:07:47 +01:00
Simon Larsen
f8da2c2c5a feat: enhance column access control checks for read and create permissions in AnalyticsModelSchema 2025-06-06 14:51:26 +01:00
Simon Larsen
196ba295f4 feat: enhance permission handling in ModelSchema for column access control 2025-06-06 13:59:56 +01:00
Simon Larsen
fbc98a74a6 feat: update singular and plural names for OnCallDutyPolicyTimeLog model 2025-06-06 13:59:18 +01:00
Simon Larsen
6d154f1c8a feat: update singular and plural names for OnCallDutyPolicyEscalationRuleSchedule model 2025-06-06 13:58:18 +01:00
Simon Larsen
b32b936bba feat: update singular and plural names for OnCallDutyPolicyEscalationRuleUser model 2025-06-06 13:57:26 +01:00
Simon Larsen
f36caf6242 feat: update singular and plural names for OnCallDutyPolicyEscalationRuleTeam model 2025-06-06 13:49:59 +01:00
Simon Larsen
ff8d19443b feat: update singular and plural names for ExceptionInstance model 2025-06-06 13:48:08 +01:00
Simon Larsen
19a811f935 feat: restore and enhance API Reference documentation 2025-06-06 13:33:22 +01:00
Simon Larsen
535848ba78 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-06-06 13:26:48 +01:00
Simon Larsen
06ab514211 feat: refactor schema generation methods in BaseSchema for improved reusability and clarity 2025-06-06 13:26:45 +01:00
Simon Larsen
ad78f9de22 Merge pull request #1936 from OneUptime/add-api-reference-link
feat: Add API Reference link to documentation
2025-06-06 13:02:29 +01:00
google-labs-jules[bot]
916954e71f feat: Add API Reference link to documentation
This commit introduces a new "API Reference" section in the documentation navigation.

- A new navigation group "API Reference" is added to `Docs/Utils/Nav.ts`.
- This group links to a new page `/docs/api-reference/api-reference`.
- The new page `Docs/Content/api-reference/API Reference.md` is created and contains a link to the main OneUptime API Reference at `/reference`.
2025-06-06 11:50:52 +00:00
Simon Larsen
4c49023cb6 feat: add Analytics model schemas and API generation methods to OpenAPIUtil 2025-06-06 12:50:18 +01:00
Simon Larsen
d589afafbd feat: update singular and plural names in ServiceCatalog and ServiceCopilotCodeRepository models for clarity 2025-06-06 12:05:53 +01:00
Simon Larsen
c1b1789307 feat: update model endpoint descriptions in OpenAPI specification 2025-06-06 11:51:02 +01:00
Simon Larsen
dd3220f3d6 feat: add tags for model endpoints in OpenAPI specification 2025-06-06 11:48:19 +01:00
Simon Larsen
57709f71a6 feat: update permission check logic in OpenAPIUtil to ensure valid permissions are present 2025-06-06 11:36:21 +01:00
Simon Larsen
2f4c513a85 feat: add slackWorkspaceName field to StatusPageSubscriber model and update migration 2025-06-05 16:10:49 +01:00
Simon Larsen
8faf75d4c8 feat: add slackWorkspaceName field to subscription form and update field type to text 2025-06-05 16:10:25 +01:00
Simon Larsen
54948c08c2 feat: add Slack Workspace Name field to subscription form with validation 2025-06-05 15:42:13 +01:00
Simon Larsen
7e1b3ce8d8 feat: update submit button text to 'Send Management Link' in Email, Slack, and SMS subscription pages 2025-06-05 15:38:45 +01:00
Simon Larsen
65f43448fe feat: update Slack subscriber query to use slackWorkspaceName instead of slackIncomingWebhookUrl 2025-06-05 15:35:35 +01:00
Simon Larsen
0358e21958 feat: update permission handling and remove unused Slack fields in subscriber model 2025-06-05 15:28:51 +01:00
Simon Larsen
811f4338b0 feat: add migration to include slackWorkspaceName in StatusPageSubscriber table 2025-06-05 15:24:12 +01:00
Simon Larsen
fdfd66e21e feat: add Slack workspace name field for subscriber validation and update related logic 2025-06-05 15:22:04 +01:00
Simon Larsen
d5f8df322e feat: improve Slack subscriber handling and validation across services 2025-06-05 15:04:19 +01:00
Simon Larsen
340d44c389 feat: streamline Slack notification messages by removing redundant titles 2025-06-05 15:03:10 +01:00
Simon Larsen
4532f5bc04 feat: enhance Slack notification message for new subscribers 2025-06-05 14:48:41 +01:00
Simon Larsen
2eebac054e feat: add Slack webhook validation and notification for new subscribers 2025-06-05 14:44:07 +01:00
Simon Larsen
42e9f42350 feat: update Slack subscriber handling to use incoming webhook URL 2025-06-05 14:35:08 +01:00
Simon Larsen
75814cdec0 feat: enforce Slack subscriber requirement and update related components 2025-06-04 21:45:40 +01:00
Simon Larsen
7a2b0a159d feat: enable Slack subscribers in StatusPage API and update subscription logic 2025-06-04 21:32:10 +01:00
Simon Larsen
12d266aabf feat: enable Slack subscribers in StatusPage settings and update subscription logic 2025-06-04 21:15:30 +01:00
Simon Larsen
5ba9556584 feat: add migration for enabling Slack subscribers and webhook URL in StatusPage 2025-06-04 20:37:53 +01:00
Simon Larsen
b659d0ab4a refactor: remove SlackWebhookTester component from StatusPageSlackSubscribers 2025-06-04 20:17:14 +01:00
Simon Larsen
e725ab4b7b fix: add type annotations for markdown messages and remove unused props in Slack subscription components 2025-06-04 20:14:36 +01:00
Simon Larsen
a4bc78439d Merge branch 'master' into slack-subscribers 2025-06-04 19:53:34 +01:00
Simon Larsen
7f59e62b5d Refactor Slack Markdown Conversion and Update Slack Notification Logic
- Renamed `convertMarkdownToSlack` to `convertMarkdownToSlackRichText` for clarity in Slack utility.
- Updated various components and worker jobs to utilize the new Slack markdown conversion method.
- Removed unused test webhook functionality from the Slack subscribers page.
- Improved formatting of Slack messages in notification jobs to enhance readability.
- Cleaned up code by removing unnecessary fragments and ensuring consistent formatting.
- Enhanced error handling and user feedback for Slack webhook testing.
2025-06-04 19:52:59 +01:00
Simon Larsen
9d7f2aebf6 fix: update status page ID reference in test notification message 2025-06-04 19:26:27 +01:00
Simon Larsen
ba08edc61f feat: Implement Slack webhook testing functionality and enhance Slack notifications 2025-06-04 14:39:33 +00:00
Simon Larsen
f538b89553 fix: correct typo in title for scheduled event message 2025-06-04 15:34:51 +01:00
Simon Larsen
9779f12806 chore: update ModelSchema class for improved readability and maintainability 2025-06-04 15:34:08 +01:00
Simon Larsen
1b4758070b refactor: improve type annotations and formatting in OpenAPI and ModelSchema classes 2025-06-04 15:30:42 +01:00
Simon Larsen
f15cff0064 feat: add permissions formatting and description for OpenAPI schema in ModelSchema 2025-06-04 14:52:53 +01:00
Simon Larsen
dcadbadf25 feat: Add Slack subscription feature for status page notifications
- Implemented Slack notifications for scheduled maintenance events, incidents, and announcements.
- Added UI components for managing Slack subscribers in the dashboard.
- Introduced new settings to enable Slack subscribers in status page settings.
- Created forms for subscribing and managing Slack subscriptions.
- Updated API routes and utility functions to handle Slack webhook URLs.
- Enhanced existing notification jobs to include Slack messaging capabilities.
2025-06-04 13:44:49 +00:00
Simon Larsen
bb51de9d10 feat: implement permission checks for API generation in OpenAPIUtil 2025-06-04 14:37:54 +01:00
Simon Larsen
4c6f51f3bc feat: add groupBy schema support in OpenAPI and ModelSchema classes 2025-06-04 12:58:10 +01:00
Simon Larsen
0ba3db57d6 refactor: enhance type annotations and structure in ModelSchema class 2025-06-03 23:45:37 +01:00
Simon Larsen
ed7861e092 fix: add type annotation for schemaMethod variable in ModelSchema class 2025-06-03 23:35:08 +01:00
Simon Larsen
2616b77a59 feat: implement model schema registration with permission checks for create, read, update, and delete operations 2025-06-03 23:19:30 +01:00
Simon Larsen
4b3636a6a6 feat: register query, select, and sort schemas in OpenAPI specification 2025-06-03 23:04:46 +01:00
Simon Larsen
1a650ab624 feat: enhance query and select schemas with operator validation and OpenAPI documentation 2025-06-03 22:18:02 +01:00
Simon Larsen
6ddae4f0ef refactor: improve type annotations and formatting in alert, incident, and scheduled maintenance services 2025-06-03 20:50:13 +01:00
Simon Larsen
524c5311ff feat: add consistency jobs for incidents and scheduled maintenance 2025-06-03 20:45:34 +01:00
Simon Larsen
649c43d896 feat: add daily cron job to refresh incident current status for all projects 2025-06-03 20:43:38 +01:00
Simon Larsen
aa7110ca12 feat: implement cron jobs to refresh alert and scheduled maintenance states daily 2025-06-03 20:41:38 +01:00
Simon Larsen
6fb4c663d4 fix: enhance next event scheduling logic to handle future dates correctly 2025-06-03 15:44:00 +01:00
Simon Larsen
ee40cedd21 fix: format dashboard link retrieval for improved readability 2025-06-03 11:33:12 +01:00
Simon Larsen
e28bdeb129 fix: remove unsubscribe link from ProjectSubscriptionOverdue template for clarity 2025-06-03 09:02:21 +01:00
Simon Larsen
cd86aa52ec fix: await dashboard link retrieval in email vars for accurate project link 2025-06-03 09:02:09 +01:00
Simon Larsen
293c9e9317 fix: remove unnecessary blank lines in OpenAPIUtil methods for improved readability 2025-06-02 23:03:29 +01:00
Simon Larsen
36be5b7eba fix: update API path summaries and descriptions to use singular model names for clarity 2025-06-02 22:57:44 +01:00
Simon Larsen
9b8a36d2a4 fix: update default API headers to remove Content-Type and provide a specific example for APIKey 2025-06-02 22:50:21 +01:00
Simon Larsen
4814532e23 fix: update schema references in OpenAPIUtil for consistency in input and update specifications 2025-06-02 22:46:20 +01:00
Simon Larsen
224c95832e fix: format execution time calculation for consistency in CustomCodeMonitor and SyntheticMonitor 2025-06-02 22:32:52 +01:00
Simon Larsen
75a2439c1e fix: optimize response time calculation by using Math.ceil for consistency across monitors 2025-06-02 22:29:19 +01:00
Simon Larsen
e74bfc295b feat: add default API headers for GET, UPDATE, and DELETE specifications in OpenAPIUtil 2025-06-02 22:19:20 +01:00
Simon Larsen
e59e1b7718 fix: change HTTP method from GET to POST for list and count endpoints in OpenAPIUtil; update array item schema in ModelSchema 2025-06-02 22:04:46 +01:00
Simon Larsen
c44f3d7d83 fix: update column titles in DatabaseBaseModel for clarity and improve conditional logic in ModelSchema 2025-06-02 21:55:51 +01:00
Simon Larsen
1b9677d8da feat: add OpenAPI examples for various column types in ModelSchema 2025-06-02 21:47:18 +01:00
Simon Larsen
c0b19d4e57 fix: correct formatting in CriteriaAlertSchema and update import statement in MonitorCriteriaInstance 2025-06-02 20:52:41 +01:00
Simon Larsen
612f4260c2 feat: enhance CriteriaAlert, CriteriaFilter, and CriteriaIncident with ZodSchema typing and improve imports in MonitorCriteriaInstance 2025-06-02 20:49:50 +01:00
Simon Larsen
1ccc3765e8 refactor: standardize import statements and format example objects in Monitor and Database classes 2025-06-02 17:49:31 +01:00
Simon Larsen
342c6d7912 feat: implement Zod schema validation for CriteriaAlert, CriteriaFilter, CriteriaIncident, and update MonitorCriteriaInstance and MonitorSteps to use schemas 2025-06-02 17:45:29 +01:00
Simon Larsen
6db6857dbe feat: add Zod schema validation for Domain, Email, IP, MonitorCriteria, MonitorCriteriaInstance, MonitorStep, MonitorSteps, Name, ObjectID, Phone, Port, and Version classes 2025-06-02 17:33:33 +01:00
Simon Larsen
7709016328 feat: add Color type handling in ModelSchema and remove unused getSchemaForDatabaseProperty method 2025-06-02 17:24:20 +01:00
Simon Larsen
8fd89ebd4f Merge branch 'master' of github.com:OneUptime/oneuptime 2025-06-02 17:16:24 +01:00
Simon Larsen
394f5255cf feat: implement Zod schema validation for Color and DatabaseProperty classes
fix: update ApiMonitor and WebsiteMonitor to correctly set isOnline status to false on timeout
2025-06-02 17:16:21 +01:00
Simon Larsen
2afdda0869 Merge pull request #1928 from zzukin/zzukin-patch-conatiner
Fix typo in HelmChart Readme
2025-06-02 17:04:28 +01:00
Simon Larsen
511317886f fix: refactor getProjectLinkInDashboard method and update cron job for sending overdue subscription emails 2025-06-02 14:45:51 +01:00
Simon Larsen
14466f4723 feat: add email template and cron job for notifying project owners of overdue subscriptions 2025-06-02 14:41:45 +01:00
Simon Larsen
f5d326c086 fix: simplify isSubscriptionOverdue method and improve formatting in MasterPage component 2025-06-02 14:18:26 +01:00
Simon Larsen
acf11e25fe fix: enhance subscription status checks to include overdue and inactive states 2025-06-02 14:16:34 +01:00
Simon Larsen
20cf50a497 fix: add 'Paused' status to SubscriptionStatus enum and update active status check 2025-06-02 14:05:01 +01:00
Nico Aymet (nikuzz)
602d198685 Fix typo in HelmChart Readme
Change:
  conatinerSecurityContext
with:
  containerSecurityContext
2025-06-02 10:25:23 +01:00
Simon Larsen
b18c2d4964 fix: clean up OpenAPI spec generation code and improve logging for model schema creation 2025-06-01 22:44:13 +01:00
Simon Larsen
bd5ce9029a fix: update OpenAPI spec title and description for clarity 2025-06-01 22:33:34 +01:00
Simon Larsen
84261786f9 fix: streamline OpenAPI spec generation by consolidating endpoint registration and improving model handling 2025-06-01 22:31:45 +01:00
Simon Larsen
cfdc789fae fix: update API spec summaries and descriptions to use model table names 2025-06-01 21:15:56 +01:00
Simon Larsen
08d4eaab4e fix: enhance model schema generation with OpenAPI type annotations and examples 2025-06-01 20:57:22 +01:00
Simon Larsen
324da96797 feat: add OpenAPI spec generation and enhance model schema logging 2025-06-01 20:45:39 +01:00
Simon Larsen
dc7895501f fix: improve OpenAPI spec generation with caching and enhanced logging 2025-06-01 20:22:52 +01:00
Simon Larsen
4a6a09169a fix: enhance OpenAPI documentation generation with model validation and logging 2025-06-01 14:24:37 +01:00
Simon Larsen
92ab2a3467 fix: update Suspense fallback to use PageLoader for improved loading experience 2025-05-30 10:20:32 +01:00
Simon Larsen
6f99d71d7f fix: enhance error handling in domain migration and log errors using Logger 2025-05-29 15:15:56 +01:00
Simon Larsen
14a70846d0 fix: remove unnecessary await from UserUtil.logout in Logout component 2025-05-29 14:49:41 +01:00
Simon Larsen
61f3fae19d fix: refactor logout method to handle API errors and log them using Logger 2025-05-29 14:45:51 +01:00
Simon Larsen
7f9bd8e150 fix: correct NotAuthorizedException code and update forbidden route handling to return a valid Route 2025-05-29 13:52:49 +01:00
Simon Larsen
6a16301b3f fix: update forbidden route handling to prevent navigation errors and return null 2025-05-29 13:49:00 +01:00
Simon Larsen
17f23b788d feat: add BILLING_ENABLED environment variable to probe configuration and update online check logic 2025-05-29 13:08:08 +01:00
Simon Larsen
3f8370468e feat: enhance timeout handling by checking for executing logs older than 3 hours in OnCallDutyPolicy and UserOnCallLog 2025-05-29 12:54:20 +01:00
Simon Larsen
b151753506 feat: trim whitespace from monitor creation details and enhance comparison criteria with equalTo checks 2025-05-29 12:15:11 +01:00
Simon Larsen
2f9189a181 feat: implement LowercaseDomains migration to ensure all domain entries are stored in lowercase 2025-05-29 12:06:54 +01:00
Simon Larsen
32c2d7ea26 feat: refactor domain handling by renaming Domain import and enhancing CNAME record retrieval with error handling 2025-05-29 11:40:20 +01:00
Simon Larsen
72d0a29e89 feat: improve domain input handling by ensuring it is trimmed and converted to lowercase in onBeforeCreate method 2025-05-29 11:35:40 +01:00
Simon Larsen
14e4949c1a feat: normalize domain and subdomain inputs by trimming and converting to lowercase in DomainService and StatusPageDomainService 2025-05-29 10:58:43 +01:00
Simon Larsen
5d8d24dd58 feat: add SubscriptionStatusUtil methods for improved subscription state handling and update BillingInvoiceService to utilize them 2025-05-29 09:18:19 +01:00
Simon Larsen
b6f4a533e6 refactor: clean up code formatting and improve readability in StatusPageService, IP, and MasterPage components 2025-05-28 21:52:25 +01:00
Simon Larsen
5972697cdf feat: enhance IP whitelist validation to support multiple IPs and improve error logging 2025-05-28 21:51:02 +01:00
Simon Larsen
23ec8de39a feat: add forbidden route handling in DashboardMasterPage and update App component routing 2025-05-28 21:38:06 +01:00
Simon Larsen
2d74d37346 feat: enhance lazy loading of page components for improved performance and readability 2025-05-28 21:31:09 +01:00
Simon Larsen
ed55830e2d feat: refactor App component to lazy load page components and enhance routing structure 2025-05-28 20:58:51 +01:00
Simon Larsen
52923dadc1 feat: create ForbiddenPage component to display access restriction message 2025-05-28 20:57:03 +01:00
Simon Larsen
8f3b17c20f feat: add forbidden page and update routing for forbidden access 2025-05-28 20:55:29 +01:00
Simon Larsen
501c9b655c feat: add handling for forbidden access and implement getForbiddenRoute method in API class 2025-05-28 20:51:15 +01:00
Simon Larsen
3dcdf56c7c fix: correct syntax by adding missing commas in StatusPageService methods 2025-05-28 20:44:24 +01:00
Simon Larsen
474998a3bf feat: implement IP whitelist functionality for status pages and enhance access control 2025-05-28 20:41:03 +01:00
Simon Larsen
65fc159560 feat: add migration to add ipWhitelist column to StatusPage table 2025-05-28 19:39:13 +01:00
Simon Larsen
bba09b8b21 refactor: clean up whitespace and improve formatting in SerializableObject, API, Cookie, and ModelSchema 2025-05-28 19:23:34 +01:00
Simon Larsen
9cde6febfe feat: implement clearAllCookies method and integrate it into logout process 2025-05-28 19:09:52 +01:00
Simon Larsen
279e15276d fix: change error logging from trace to error level for database connection failure 2025-05-28 18:59:01 +01:00
Simon Larsen
6799b55041 refactor: update error logging to use trace level and improve code formatting in ModelSchema 2025-05-28 18:42:31 +01:00
Simon Larsen
7656c67f58 fix: add type annotation for octet in IPv4 validation 2025-05-28 18:28:07 +01:00
Simon Larsen
bec377edea refactor: improve code formatting and consistency in StatusPageService and DNSUtil 2025-05-28 18:04:48 +01:00
Simon Larsen
66fc10221f refactor: improve code formatting and whitespace consistency across multiple files 2025-05-28 17:53:43 +01:00
Simon Larsen
0c7c0b1179 feat: update ipWhitelist type to string and implement IP whitelist validation in StatusPageService 2025-05-28 17:46:53 +01:00
Simon Larsen
af37030dd3 feat: add IP Whitelist section to Authentication Settings page 2025-05-28 17:35:02 +01:00
Simon Larsen
5eda80361e feat: add IP Whitelist column with access control to StatusPage model 2025-05-28 17:32:07 +01:00
Simon Larsen
daaeeb4957 feat: add CNAME record validation in StatusPageDomainService and implement DNSUtil for CNAME resolution 2025-05-28 17:26:37 +01:00
Simon Larsen
e69b700dad refactor: clean up whitespace and formatting in multiple files 2025-05-28 16:18:31 +01:00
Simon Larsen
943075e562 feat: add getSelectModelSchema method for nested property selection 2025-05-27 21:34:37 +01:00
Simon Larsen
fc3daeaebb feat: add methods for query and sort model schemas in ModelSchema 2025-05-27 21:30:35 +01:00
Simon Larsen
8e788d0acc refactor: move ConfigLogLevel to a separate file and update imports 2025-05-27 20:46:30 +01:00
Simon Larsen
ae7d3fe247 Merge pull request #1917 from OneUptime/fix/baseapi-test-typeerror
Fix(tests): Correct EnvironmentConfig mock in BaseAPI.test.ts
2025-05-27 20:43:29 +01:00
Simon Larsen
b690415764 fix: update method signatures in OpenAPIUtil for consistent return types 2025-05-27 20:11:20 +01:00
Simon Larsen
7134709154 refactor: clean up OpenAPI path registration for improved readability 2025-05-27 19:18:24 +01:00
Simon Larsen
194695d1e0 refactor: streamline zod type determination in ModelSchema for improved readability 2025-05-27 16:56:37 +01:00
Simon Larsen
a539bd3c92 feat: refactor DatabaseBaseModel and ModelSchema for improved schema generation and validation 2025-05-27 16:43:56 +01:00
Simon Larsen
d5fd2ec1bf fix: correct formatting and add missing commas in DatabaseBaseModel and ModelSchema 2025-05-27 15:22:20 +01:00
Simon Larsen
ef808fdf10 feat: integrate ModelSchemaUtil for enhanced schema management in DatabaseBaseModel 2025-05-27 15:10:05 +01:00
Simon Larsen
4d4d7d6d26 feat: add Zod schema generation to DatabaseBaseModel for enhanced validation 2025-05-27 14:50:11 +01:00
Simon Larsen
4dc589f9ce feat: add zod and zod-to-openapi dependencies to enhance OpenAPI support 2025-05-27 14:33:05 +01:00
Simon Larsen
5fe97c422f feat: add OpenAPI class and integrate OpenAPI router into BaseAPIFeatureSet 2025-05-27 13:50:33 +01:00
Simon Larsen
7085a4d4e0 feat: implement MCP service to add tools and model APIs to server 2025-05-27 13:24:39 +01:00
google-labs-jules[bot]
4135b3ba0f Fix(tests): Correct EnvironmentConfig mock in BaseAPI.test.ts
I've updated the Jest mock for 'Common/Server/EnvironmentConfig' in 'Common/Tests/Server/API/BaseAPI.test.ts' to include 'LogLevel' and 'ConfigLogLevel'. This resolves a TypeError (Cannot read properties of undefined (reading 'INFO')) that occurred when the logger was invoked during test execution.

The error was caused by an incomplete mock that did not provide the logging configuration, leading to a crash in 'Logger.getLogLevel()'.

Additionally, I've added 'DisableTelemetry: true' to the mock to prevent unnecessary telemetry initialization during these specific API tests.
2025-05-27 12:22:31 +00:00
Simon Larsen
3b71adc009 fix(deps): update @oneuptime/common dependency to version 7.0.4263 2025-05-27 12:42:43 +01:00
Simon Larsen
8bff664f2f fix(deps): update @oneuptime/common dependency to version 7.0.4263 2025-05-27 12:22:18 +01:00
Simon Larsen
0563c492a6 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-05-27 12:17:19 +01:00
Simon Larsen
500fb5842e refactor: update main function return type to Promise<void> 2025-05-27 12:16:27 +01:00
Simon Larsen
b82f51bea4 refactor: add type annotations for main function and transport variable in MCP server 2025-05-27 12:11:33 +01:00
Simon Larsen
5e81f4be35 Merge pull request #1916 from OneUptime/fix/statement-generator-test
Fix(tests): Update expected SQL in StatementGenerator test
2025-05-27 12:09:28 +01:00
google-labs-jules[bot]
77fe7ce1ce Fix(tests): Update expected SQL in StatementGenerator test
The expected SQL statement in the `toTableCreateStatement` test was outdated and did not include the `PARTITION BY` clause, which is now correctly generated by the StatementGenerator.

This commit updates the expected statement to match the actual output, resolving the test failure.
2025-05-27 11:08:39 +00:00
Simon Larsen
bd938736d6 feat: add StdioServerTransport and logger integration to MCP server 2025-05-27 12:04:45 +01:00
Simon Larsen
4d4ddd9bfc refactor: Clean up imports and improve formatting in configuration files 2025-05-27 12:02:11 +01:00
Simon Larsen
93123f6042 Refactor: Move BaseDatabase utilities to Common/Types and update imports
- Moved GroupBy, ListResult, Select, and RequestOptions from Common/UI/Utils/BaseDatabase to Common/Types/BaseDatabase.
- Updated all relevant imports across the codebase to reflect the new paths.
- Removed obsolete BaseDatabase utility files from the UI components.
- Ensured consistent usage of the new types in ModelDetail, ModelList, ModelTable, and Dashboard components.
2025-05-27 11:47:53 +01:00
Simon Larsen
856cff3e85 feat: initialize MCP server with TypeScript configuration and package setup
- Added package.json for MCP server with necessary scripts, dependencies, and configurations.
- Created tsconfig.json with comprehensive TypeScript compiler options for strict type checking and module resolution.
2025-05-27 11:12:41 +01:00
Simon Larsen
47fa401a67 refactor: Improve formatting for better readability in OfflineIndicator component 2025-05-26 14:05:51 +01:00
Simon Larsen
c536e1e642 refactor: Improve structure and readability of MasterPage and OfflineIndicator components 2025-05-26 14:03:06 +01:00
Simon Larsen
c06d4f0b63 feat: Add OfflineIndicator component to handle online/offline status and integrate it into MasterPage 2025-05-26 14:00:08 +01:00
Simon Larsen
d8388666ef docs: Update documentation to include available modules for custom scripts in monitors 2025-05-26 12:51:23 +01:00
Simon Larsen
511b4c9045 refactor: Change field type from Text to LongText for improved description handling across multiple components 2025-05-24 11:26:44 +01:00
Simon Larsen
140f12c0fb refactor: Clean up formatting and improve readability in LongTextViewer and WorkflowElement components 2025-05-23 21:58:13 +01:00
Simon Larsen
a00d72b771 refactor: Update LongTextViewer to use Button component and adjust character limit for truncation 2025-05-23 21:54:35 +01:00
Simon Larsen
1789be519e refactor: Enhance Probe and WorkflowElement components with new decorators and project ID handling 2025-05-23 20:58:50 +01:00
Simon Larsen
8e3f23d885 refactor: Update field type to LongText for better description handling in Workflows component 2025-05-23 20:48:28 +01:00
Simon Larsen
335b6ed15f refactor: Integrate WorkflowElement for rendering workflow items in Workflows component 2025-05-23 20:37:37 +01:00
Simon Larsen
95b53ca4ce refactor: Improve readability of lazy-loaded component declarations in App.tsx 2025-05-23 12:03:16 +01:00
Simon Larsen
3a80fcca73 refactor: Implement lazy loading for route components with a custom fallback loader 2025-05-23 12:01:58 +01:00
Simon Larsen
6d5e186505 refactor: Remove unused description fields from incident and scheduled maintenance notification templates 2025-05-23 10:40:56 +01:00
Simon Larsen
13450d32af refactor: Replace loading fallback with custom PageLoader component in Suspense 2025-05-22 21:27:13 +01:00
Simon Larsen
e77ea73ffc refactor: Implement lazy loading for route components to improve performance 2025-05-22 21:24:27 +01:00
Simon Larsen
dcfadf9051 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-05-22 20:55:38 +01:00
Simon Larsen
f9869105b6 refactor: Update API import paths for consistency across utility files 2025-05-22 20:55:36 +01:00
Simon Larsen
71881bb822 Merge pull request #1912 from zzukin/master
Missing "$" in Helm Charts
2025-05-22 13:15:20 +01:00
Nico Aymet
a10c914757 Missing "$" in get autoscaling.enabled = true from Values.yaml in Helm Charts 2025-05-22 12:37:33 +01:00
Simon Larsen
f4390dd1da refactor: Add hidden class to copyright div for responsive design 2025-05-22 11:32:00 +01:00
Simon Larsen
f0e4e4147c refactor: Remove unnecessary whitespace from HeaderAlert component 2025-05-22 11:28:40 +01:00
Simon Larsen
296e664da2 refactor: Remove unused lodash import from NotificationMiddleware test 2025-05-22 10:58:03 +01:00
Simon Larsen
152517b85a refactor: Remove optional chaining from JSONFunctions.flattenObject call 2025-05-22 10:56:55 +01:00
Simon Larsen
599d4fff17 refactor: Import lodash and update mock implementation for flattenObject 2025-05-22 10:56:20 +01:00
Simon Larsen
a1a3dee380 refactor: Reformat import statements for consistency across multiple files 2025-05-22 10:27:25 +01:00
Simon Larsen
fbde9f9052 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-05-21 20:34:30 +01:00
Simon Larsen
9bec06672c refactor: Update import paths for consistency across various components 2025-05-21 20:33:59 +01:00
Simon Larsen
19926d4260 refactor: Update import paths for consistency across various components 2025-05-21 20:31:32 +01:00
Simon Larsen
09a8d73867 refactor: Update import paths to use relative paths for consistency across various components 2025-05-21 20:26:23 +01:00
Simon Larsen
4f798ea570 Merge pull request #1910 from zzukin/master
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 20:11:58 +01:00
Simon Larsen
4f4a171ba1 Merge pull request #1911 from zzukin/otel-collector-non-root
Fix permission issues if otel-collector runs as non root
2025-05-21 20:09:51 +01:00
Nico Aymet (nikuzz)
fed1478bcb Update Dockerfile.tpl
When otel-collector runs with runAsNonRoot: true and a specific runAsUser UID, gomplate can't write to /etc. Change the output path to /tmp to avoid permission issues
2025-05-21 18:15:22 +01:00
Nico Aymet (nikuzz)
707b43c399 Update workflow.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:47:55 +01:00
Nico Aymet (nikuzz)
974cf16cf1 Update worker.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:47:35 +01:00
Nico Aymet (nikuzz)
ac014395a7 Update server-monitor-ingest.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:46:55 +01:00
Nico Aymet (nikuzz)
8bdbae8f09 Update probe.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:45:58 +01:00
Nico Aymet (nikuzz)
13545732ea Update probe-ingest.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:39:59 +01:00
Nico Aymet (nikuzz)
5bd6f59f71 Update otel-collector.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:39:39 +01:00
Nico Aymet (nikuzz)
1ca48f567d Update open-telemetry-ingest.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:39:04 +01:00
Nico Aymet (nikuzz)
84cc55d22c Update nginx.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:38:38 +01:00
Nico Aymet (nikuzz)
dc73166fec Update isolated-vm.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:38:05 +01:00
Nico Aymet (nikuzz)
9d45ee6d28 Update incoming-request-ingest.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:37:33 +01:00
Nico Aymet (nikuzz)
4dfea390e2 Update home.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:37:05 +01:00
Nico Aymet (nikuzz)
f9a424ec29 Update fluent-ingest.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:36:19 +01:00
Nico Aymet (nikuzz)
be1dc35d29 Update docs.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:34:36 +01:00
Nico Aymet (nikuzz)
1d8d84c6a5 Update app.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:33:49 +01:00
Nico Aymet (nikuzz)
bb571f8aae Update api-reference.yaml
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:33:12 +01:00
Nico Aymet (nikuzz)
56fcb3a37f Update _helpers.tpl
Exclude parameter "replicas" in Deployments, if autoscaling.enabled = true
2025-05-21 17:28:39 +01:00
Simon Larsen
a2baeb1a20 refactor: Update import paths to use absolute paths for consistency across various components 2025-05-21 17:03:48 +01:00
Simon Larsen
168224363c refactor: Update import paths for consistency across various components 2025-05-21 16:56:04 +01:00
Simon Larsen
22e92f4ed5 refactor: Update import paths for consistency across various components 2025-05-21 16:53:07 +01:00
Simon Larsen
81a7dcbab6 refactor: Update import paths for consistency across various components 2025-05-21 16:46:53 +01:00
Simon Larsen
6872fa627e refactor: Update import paths to use relative paths for consistency across various components 2025-05-21 16:43:01 +01:00
Simon Larsen
99c545e8b0 refactor: Update import paths for consistency across AnalyticsDatabase and Workflow components 2025-05-21 16:36:51 +01:00
Simon Larsen
11bad57109 refactor: Correct import path for AnalyticsBaseModel in Query.ts for consistency 2025-05-21 16:28:31 +01:00
Simon Larsen
9d9a8eeee2 Refactor import paths for Database and Workflow components
- Updated import statements in various files to use relative paths for better modularity and maintainability.
- Adjusted imports in Database types including DeleteBy, FindBy, UpdateBy, and others to reflect the new directory structure.
- Modified imports in Workflow components such as Email, JavaScript, Log, Manual, Schedule, and Webhook to ensure consistency across the codebase.
2025-05-21 16:24:52 +01:00
Simon Larsen
714823514c Refactor import paths in test and UI component files for consistency
- Updated import statements in various test files to use relative paths instead of absolute paths.
- Adjusted import paths in UI components to ensure they correctly reference the Types and Models directories.
- Ensured all components and tests are aligned with the new directory structure for better maintainability.
2025-05-21 16:19:35 +01:00
Simon Larsen
49025da2b0 refactor: Update import paths to use relative paths for consistency across AnalyticsDatabase types 2025-05-21 15:14:37 +01:00
Simon Larsen
0488770151 refactor: Update import paths to use relative paths for consistency across DatabaseConfig, EnvironmentConfig, DataSourceOptions, and various AnalyticsDatabase types 2025-05-21 15:04:22 +01:00
Simon Larsen
f32b208cea refactor: Update import paths to use relative paths for consistency across the codebase 2025-05-21 14:51:30 +01:00
Simon Larsen
ebd14dd497 Refactor import paths in Workflow components to use relative paths from Types directory
- Updated import statements in ComponentSettingsModal, ComponentValuePickerModal, ComponentsModal, DocumentationViewer, RunForm, RunModal, Utils, VariableModal, Workflow, WorkflowStatus, Config, EntityFieldType, and various API utility files to reflect the new directory structure.
- Ensured all imports from "Common/Types" are now sourced from "../../../Types" to maintain consistency and improve module resolution.
2025-05-21 14:02:32 +01:00
Simon Larsen
54c526ffed Refactor import paths in utility files to use relative paths instead of absolute paths. This change enhances module resolution and maintains consistency across the codebase. Updated imports in Execute.ts, Express.ts, Greenlock.ts, JsonToCsv.ts, JsonWebToken.ts, LocalFile.ts, Logger.ts, various Monitor criteria files, Realtime.ts, Response.ts, StartServer.ts, Stream.ts, Telemetry.ts, TwoFactorAuth.ts, VMAPI.ts, VMRunner.ts, and Workspace files. 2025-05-21 13:55:49 +01:00
Simon Larsen
327367e7ca fix: Remove local file reference for Common module in package.json 2025-05-21 13:25:02 +01:00
Simon Larsen
eaaa75f261 feat: Add moduleNameMapper for Common module path resolution in Jest config 2025-05-21 13:23:49 +01:00
Simon Larsen
aa0365d2b2 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-05-21 12:06:46 +01:00
Simon Larsen
b8529621ff fix: Correct variable names for scheduled maintenance event timing calculations 2025-05-21 12:06:43 +01:00
Simon Larsen
8e3325bfc8 Merge pull request #1905 from GunniBusch/patch-1
Fix undefined as domain name when saving custom SSL-Certs
2025-05-21 11:02:23 +01:00
Leon Adomaitis
b49d0e1d32 Fix undefined as domain name when saving custom SSL-Certs 2025-05-20 14:18:50 +02:00
Simon Larsen
cb545e445a feat: Add monitorId to MonitorTest model and related migrations 2025-05-19 18:46:25 +01:00
Simon Larsen
2d9f9d41d0 refactor: Remove unused TotalCPUTime function from cpu.go 2025-05-19 14:19:55 +01:00
Simon Larsen
42f39bf918 Merge pull request #1899 from OneUptime/fix-cpu-percent
feat: Replace CPU usage calculation with gopsutil's cpu.Percent for improved accuracy
2025-05-19 14:14:49 +01:00
Simon Larsen
66633eca2c feat: Add cron job to delete old on-call duty time logs daily 2025-05-19 12:00:46 +01:00
Simon Larsen
eb40da8de3 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-05-19 11:50:23 +01:00
Simon Larsen
ea3c736770 feat: Add OnCallPolicyLogTable component to display user on-call time logs with date range filtering 2025-05-19 11:50:21 +01:00
Simon Larsen
6263a5e4eb refactor: Remove OnCallPolicyLogTable component and its associated logic 2025-05-19 11:48:44 +01:00
Simon Larsen
9e527462f3 Merge pull request #1900 from OneUptime/master
fix: Update date range queries in OnCallPolicyLogTable to use correct…
2025-05-19 11:36:31 +01:00
Simon Larsen
8dff2b7fcd fix: Update date range queries in OnCallPolicyLogTable to use correct comparison operators 2025-05-19 11:32:48 +01:00
Simon Larsen
9199a94f69 refactor: Remove unused startDate variable in OnCallPolicyLogTable component 2025-05-19 11:24:02 +01:00
Simon Larsen
903af990e1 feat: Replace CPU usage calculation with gopsutil's cpu.Percent for improved accuracy 2025-05-19 10:22:37 +00:00
Simon Larsen
d67b1ded2b Merge branch 'master' into release 2025-05-19 11:15:39 +01:00
Simon Larsen
fa087423fc feat: Implement OnCallPolicyLogTable component to display user on-call time logs 2025-05-19 11:10:11 +01:00
Simon Larsen
cc1595f3c5 fix: Adjust start date handling to respect selected date range in OnCallPolicyLogTable 2025-05-19 11:09:21 +01:00
Simon Larsen
167ce4f4ab feat: Enhance time log period handling by adjusting start date based on selected range 2025-05-19 10:48:51 +01:00
Simon Larsen
3a8105484b feat: Add error handling and use OneUptimeDate for starting time logs in StartOnCallUserTimeLog migration 2025-05-19 10:39:28 +01:00
Simon Larsen
3c8de25281 feat: Implement onBeforeDelete hook to end time logs for schedules and update TeamMemberService to end time logs for users 2025-05-19 10:22:47 +01:00
Simon Larsen
7a0e84c6a4 refactor: Improve code readability by formatting and simplifying type annotations in OnCallDutyTimeLogTable 2025-05-19 08:52:45 +01:00
Simon Larsen
aaa4f3c732 refactor: Clean up code formatting and improve type annotations in various files 2025-05-16 20:36:28 +01:00
Simon Larsen
9034b7fa4c feat: Add StartOnCallUserTimeLog migration to create time logs for users and teams 2025-05-16 20:28:11 +01:00
Simon Larsen
8596459c11 feat: Add method to format minutes as hours and minutes and update table column title in OnCallDutyTimeLogTable 2025-05-16 20:15:23 +01:00
Simon Larsen
1fdbf43c28 refactor: Remove unused import LessThanOrNull from OnCallDutyTimeLogTable component 2025-05-16 16:59:29 +01:00
Simon Larsen
b34002889b fix: Update OnCallDutyPolicyTimeLog to make 'Ends At' field optional and adjust time log service methods to include projectId 2025-05-16 16:36:45 +01:00
Simon Larsen
0a6e02576d feat: Enhance comparison classes with date handling in toString method and update side menu for user on call time 2025-05-16 15:20:19 +01:00
Simon Larsen
e78bcfb06b fix: Change comparison operator from <= to < in QueryHelper class 2025-05-16 14:21:19 +01:00
Simon Larsen
efbe3befa5 refactor: Update OnCallDutyTimeLogTable to use _id instead of id and clean up imports in OnCallDutyUserTimeLogs and SideMenu components 2025-05-16 14:10:50 +01:00
Simon Larsen
c2be798203 refactor: Improve code formatting and readability in OnCallDutyTimeLogTable component 2025-05-16 13:53:35 +01:00
Simon Larsen
0256283256 feat: Add User Time Logs page and integrate into routing and side menu 2025-05-16 13:51:31 +01:00
Simon Larsen
73920bf554 refactor: Improve code formatting and readability in OnCallPolicyLogTable component 2025-05-15 21:02:31 +01:00
Simon Larsen
f84bc8992c fix: Correct formatting in sorting function for improved readability 2025-05-15 20:58:59 +01:00
Simon Larsen
e57120f7e0 refactor: Clean up code formatting and improve readability across multiple components 2025-05-15 20:50:41 +01:00
Simon Larsen
233bc1b70d feat: Add LessThanOrNull and GreaterThanOrNull types with corresponding query helpers and examples 2025-05-15 20:10:53 +01:00
Simon Larsen
0bc9929949 feat: Add OnCallPolicyLogTable component to display user time logs with date range selection 2025-05-15 20:00:02 +01:00
Simon Larsen
70f9901233 feat: Enhance OnCallPolicyLogTable to load and process time logs with improved date handling 2025-05-15 19:59:53 +01:00
Simon Larsen
c06f587e7e feat: Refactor RangeStartAndEndDateTime interface and update related components for consistency 2025-05-15 19:41:10 +01:00
Simon Larsen
4b78ff4c32 feat: Refactor DashboardStartAndEndDate to RangeStartAndEndDateTime across multiple components 2025-05-15 19:24:09 +01:00
Simon Larsen
ae75c73747 feat: Refactor date range handling by replacing DashboardStartAndEndDate with RangeStartAndEndDateTime and updating related components 2025-05-15 19:14:42 +01:00
Simon Larsen
6a7b35b0e6 feat: Update component props to be optional and enhance handling of undefined values across multiple components 2025-05-15 18:58:59 +01:00
Simon Larsen
d660f18628 feat: Remove AllowAccessIfSubscriptionIsUnpaid decorator from multiple models and add EnableDocumentation to WorkspaceNotificationRule 2025-05-15 18:18:53 +01:00
Simon Larsen
82462ea763 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-05-15 13:42:34 +01:00
Simon Larsen
76ab3a8cd6 feat: Enhance OnCallDutyPolicyTimeLogService with improved time log handling and formatting 2025-05-15 13:42:31 +01:00
Simon Larsen
74edfdd74c Merge pull request #1897 from zzukin/patch-1
Update Helm README.md
2025-05-15 13:30:39 +01:00
Simon Larsen
9a7cc8f4a0 feat: Add start and end time logging for users in on-call duty schedule 2025-05-15 13:18:19 +01:00
Simon Larsen
d54263f6c2 feat: Add start and end time log functionality for on-call duty users 2025-05-15 13:13:14 +01:00
Simon Larsen
3325035cfc refactor: Remove hard delete call for items older than 180 days in OnCallDutyPolicyTimeLogService constructor 2025-05-15 11:51:03 +01:00
Simon Larsen
d22199586a feat: Add hard delete functionality for items older than 180 days in OnCallDutyPolicyTimeLogService 2025-05-15 11:50:44 +01:00
Simon Larsen
f3f3979d16 refactor: Clean up whitespace and formatting in API and service index files 2025-05-15 11:38:48 +01:00
Simon Larsen
07eb2e5285 feat: Implement OnCallDutyPolicyTimeLog model, service, and migration 2025-05-15 11:33:30 +01:00
Simon Larsen
c5bd095f7c feat: Add On-Call Policy Schedule and Escalation Rule IDs to OnCallDutyPolicyTimeLog model 2025-05-15 11:26:25 +01:00
Simon Larsen
b8bcda0120 feat: Add ReadOnCallDutyPolicyTimeLog permission and create OnCallDutyPolicyTimeLog model 2025-05-15 11:16:10 +01:00
Nico Aymet (nikuzz)
5c1402fb79 Update README.md
Correwct typo in autoScaling, need to be autoscaling (not in camelCase)
2025-05-15 10:43:10 +01:00
Simon Larsen
abf8189421 refactor: Simplify spaceAroundClassName logic in DashboardNavbar component 2025-05-15 08:26:28 +01:00
Simon Larsen
8998137b91 fix: Correct formatting in debug and error logging statements in WebsiteMonitor 2025-05-14 19:21:29 +01:00
Simon Larsen
15c2a9b532 fix: Update responseBody type in ProbeWebsiteResponse and handle error response data in WebsiteMonitor 2025-05-14 19:15:35 +01:00
Simon Larsen
cc2c56d245 refactor: Rename IsTimeout to IsRequestTimeout for consistency across criteria filters 2025-05-14 15:15:10 +01:00
Simon Larsen
8a6a3c21df fix: Handle errors in WebsiteRequest and improve logging in WebsiteMonitor 2025-05-14 15:09:46 +01:00
Simon Larsen
b8c903308c feat: Add isTimeout property to monitor response interfaces and update related logic 2025-05-14 14:05:55 +01:00
Simon Larsen
b36ca6b0f9 feat: Add timeout criteria checks and update related interfaces for monitoring 2025-05-14 13:37:21 +01:00
Simon Larsen
e90510a091 feat: Add acknowledgment checks for incidents and alerts in UserOnCallLog execution 2025-05-14 13:08:11 +01:00
Simon Larsen
be130219c1 fix: Add status messages for completed on-call policy executions based on alert and incident resolutions 2025-05-14 12:59:53 +01:00
Simon Larsen
29508ac941 refactor: Simplify NavBar layout logic by dynamically adjusting class names based on page visibility 2025-05-14 12:34:33 +01:00
Simon Larsen
3fac2d8110 fix: Update Nginx version to 1.28.0-alpine and disable server tokens for security 2025-05-13 15:10:46 +01:00
Simon Larsen
2d99144bc6 fix: Update error handling in Overview component to prevent exceptions for missing incident and maintenance states 2025-05-08 18:00:41 +01:00
Simon Larsen
c7522236a6 refactor: Improve formatting and consistency in UserPreferences and BaseModelTable components 2025-05-08 15:02:36 +01:00
Simon Larsen
13354c7bde fix: Update partitionKey to use sipHash64(projectId) % 16 for consistency across analytics models 2025-05-08 14:03:52 +01:00
Simon Larsen
3abbe7bf4e Refactor preference keys from localPreferencesKey to userPreferencesKey across multiple settings pages to standardize user preference management. 2025-05-08 13:51:53 +01:00
Simon Larsen
bc6e921dca fix: Add checkedAt property to IncomingMonitorRequest and update its usage in request processing 2025-05-08 13:43:33 +01:00
Simon Larsen
790bd493bb fix: Enhance error handling and logging in IncomingRequestMonitor heartbeat processing 2025-05-08 13:29:24 +01:00
Simon Larsen
0e1207031c fix: Correct partition key formatting in table creation statement 2025-05-07 19:07:00 +01:00
Simon Larsen
63f7c13352 fix: Update partitionKey to use time-based formatting in multiple models 2025-05-07 18:28:59 +01:00
Simon Larsen
3bdcd41668 fix: Remove unnecessary whitespace in API error handling and monitor fetching logic 2025-05-07 16:08:40 +01:00
Simon Larsen
521f38ec3a fix: Remove unnecessary whitespace in Monitor API file 2025-05-07 11:34:37 +01:00
Simon Larsen
1e35b40c34 fix: Improve error handling message in API class 2025-05-07 10:39:08 +01:00
Simon Larsen
3a1f33d6aa fix: Clean up whitespace in BaseModelTable and Table components 2025-05-06 22:47:11 +01:00
Simon Larsen
6d0fe2e61f feat: Add localPreferencesKey to WorkflowLogs ModelTable for improved state management 2025-05-06 22:42:06 +01:00
Simon Larsen
50ae476c99 feat: Add localPreferencesKey to AnalyticsModelTable in OccurrenceTable, TraceTable, and MonitorLogs components 2025-05-06 20:12:38 +01:00
Simon Larsen
c07f38063f Add localPreferencesKey to various ModelTable components across the Dashboard
- Added localPreferencesKey to Scheduled Maintenance Owners, Public Notes, State Timeline, and Service Catalog pages for better user preferences management.
- Updated localPreferencesKey for API Keys, Alert Templates, Alert Severity, and other settings pages to enhance user experience.
- Implemented localPreferencesKey in Status Pages and User Settings for improved state retention.
- Enhanced Workflow pages by adding localPreferencesKey for better management of user settings.
2025-05-06 20:11:57 +01:00
Simon Larsen
ef34aaa0d0 fix: Remove unnecessary blank line in StartAndEndDate component 2025-05-06 14:47:56 +01:00
Simon Larsen
34f2e380ef fix: Update nodemon.json watch paths to use Common/UI instead of Common/Server 2025-05-06 14:40:03 +01:00
Simon Larsen
d37c44fb87 fix: Update StartAndEndDate component to handle undefined end/start dates gracefully 2025-05-06 14:21:22 +01:00
Simon Larsen
c488ba3805 feat: Update log modal and button titles for consistency and clarity 2025-05-06 14:03:26 +01:00
Simon Larsen
a2e1ea7233 feat: Add telemetry monitor check and refactor related components for improved logic 2025-05-06 13:52:32 +01:00
Simon Larsen
ea65376c2f feat: Update MonitorLogs component titles for clarity and consistency 2025-05-06 13:18:43 +01:00
Simon Larsen
d2f78dd9a5 fix: Refactor IncomingRequestMonitorView for improved readability and formatting 2025-05-06 13:18:24 +01:00
Simon Larsen
952caae4df feat: Update MonitorLogs to use SummaryInfo component and improve log handling 2025-05-06 12:53:12 +01:00
Simon Larsen
4e35c49b73 feat: Save last alive status in cache during probe status checks 2025-05-06 12:34:46 +01:00
Simon Larsen
1e3f64ba9e feat: Add logBody field selection to Monitor Logs component 2025-05-05 22:25:08 +01:00
Simon Larsen
196775065e feat: Add Monitor Logs functionality with routing and UI updates 2025-05-05 22:07:46 +01:00
Simon Larsen
c9baf999b9 feat: Implement MonitorProbes component with logging and probe management functionality 2025-05-05 21:27:26 +01:00
Simon Larsen
e822ed2600 feat: Add logging functionality to monitor resource processing 2025-05-05 21:21:03 +01:00
Simon Larsen
55ea197b59 fix: Add missing comma in AnalyticsModels and clean up whitespace in MonitorLog and DeleteMonitorLogOlderThan24Hours 2025-05-05 21:18:57 +01:00
Simon Larsen
962dea330f feat: Implement MonitorLog model with CRUD operations and access control 2025-05-05 21:01:31 +01:00
Simon Larsen
90bf0fb61d fix: Correct typo in "Dashboards & Reports" text 2025-05-05 18:27:47 +01:00
Simon Larsen
b1ebb1edab fix: Improve alert message formatting by adding spaces for better readability 2025-05-05 12:44:58 +01:00
Simon Larsen
194b5529bb fix: Update count statement to include alias for clarity in AnalyticsDatabaseService tests 2025-05-02 21:33:32 +01:00
Simon Larsen
b74bcdb617 fix: Add optional chaining to prevent potential runtime errors in CaptureSpan 2025-05-02 14:57:58 +01:00
Simon Larsen
25d37067a1 fix: Correct syntax errors and improve code consistency in IncidentService 2025-05-02 14:37:54 +01:00
Simon Larsen
7f25def2ae feat: Enhance Incident management by adding monitor selection and status change options 2025-05-02 14:28:59 +01:00
Simon Larsen
4aff144adb refactor: Clean up code formatting and remove unnecessary line breaks in various files 2025-05-01 23:35:05 +01:00
Simon Larsen
87d99430ef feat: Refactor Monitor imports and enhance MonitorView with API call for status refresh 2025-05-01 23:28:40 +01:00
Simon Larsen
ac66d8991d feat: Add MonitorAPI to handle monitor status refresh requests 2025-05-01 22:26:44 +01:00
Simon Larsen
763ed8d311 feat: Update MonitorService and related jobs to improve query handling and consistency checks 2025-05-01 22:21:03 +01:00
Simon Larsen
465cb3748a feat: Add KeepCurrentStateConsistent job to ensure monitor status consistency 2025-05-01 21:58:59 +01:00
Simon Larsen
03ab8768f9 feat: Implement caching for last alive status in ProbeService and update authorization middleware 2025-05-01 13:32:11 +01:00
Simon Larsen
7219706657 feat: Enhance select queries to include order and name for incident and scheduled maintenance states 2025-04-30 22:00:49 +01:00
Simon Larsen
9be95390ee fix: Add missing commas in method parameters and improve error messages in state transition checks 2025-04-30 21:51:50 +01:00
Simon Larsen
231544e6d7 feat: Implement order validation for incident and scheduled maintenance state transitions 2025-04-30 21:47:22 +01:00
Simon Larsen
2e8537f9fb feat: Add ordering for alertState in select query of AlertStateTimelineService 2025-04-30 21:40:06 +01:00
Simon Larsen
8109694d02 refactor: Remove unused Semaphore import from MonitorResource utility 2025-04-30 21:16:08 +01:00
Simon Larsen
7807aca545 fix: Restore semaphore locking mechanism in monitorResource method 2025-04-30 11:47:41 +01:00
Simon Larsen
c12da6cc2f fix: Reformat createdAt query for improved readability 2025-04-30 09:59:24 +01:00
Simon Larsen
6d48aa3c62 refactor: Replace QueryHelper with InBetween and LessThan for date queries 2025-04-30 09:54:09 +01:00
Simon Larsen
0eeeb805b1 fix: Reformat probe configuration for better readability 2025-04-29 18:41:33 +01:00
Simon Larsen
862985b784 fix: Correct resource key casing in probe.yaml 2025-04-29 18:00:01 +01:00
Simon Larsen
e331950aa0 fix: Remove unused EnableWorkflow decorator from MonitorProbe model 2025-04-29 15:33:10 +01:00
Simon Larsen
c948aa51ba feat: Include projectId in IncomingRequestMonitor queries and logging 2025-04-28 18:53:00 +01:00
Simon Larsen
9841b8d877 fix: Correct spacing in projectId check for server monitor 2025-04-28 18:51:56 +01:00
Simon Larsen
8af1103a60 feat: Add projectId to server monitor responses and telemetry functions 2025-04-28 18:50:15 +01:00
Simon Larsen
47a643d5de fix: Remove unnecessary whitespace in projectId declaration in probeMonitorStep method 2025-04-28 18:22:19 +01:00
Simon Larsen
0565cc3756 feat: Include projectId in aggregate query for metric results 2025-04-28 18:15:33 +01:00
Simon Larsen
f9d11b05c8 feat: Add projectId field to monitor response in pending-list API 2025-04-28 18:13:32 +01:00
Simon Larsen
e3bb5344e3 feat: Add projectId handling in various monitor-related components 2025-04-28 18:12:47 +01:00
Simon Larsen
e301e253d0 feat: Add projectId to various monitor response and criteria interfaces 2025-04-28 18:05:48 +01:00
Simon Larsen
d84654e680 fix: Correct route binding for email subscription in DashboardNavbar component 2025-04-28 13:48:01 +01:00
Simon Larsen
6435b96183 refactor: Remove unused import and improve error handling in probe response ingestion 2025-04-28 13:38:32 +01:00
Simon Larsen
083df4fd10 refactor: Improve error handling in probe response ingestion 2025-04-28 13:36:15 +01:00
Simon Larsen
c4ecec9b8e fix: Update isPreview prop binding in DashboardMasterPage component 2025-04-28 13:04:16 +01:00
Simon Larsen
705888649b refactor: Update logging level from debug to info for status checks in StatusAPI and InfrastructureStatus classes 2025-04-28 12:48:16 +01:00
Simon Larsen
9d523213a2 refactor: Simplify acknowledge and resolve time retrieval in getTimeToAcknowledge and getTimeToResolve functions 2025-04-26 11:26:18 +01:00
Simon Larsen
6dd4166cb6 refactor: Comment out unused Semaphore mutex implementation in monitorResource method 2025-04-26 11:21:03 +01:00
Simon Larsen
b9c5025f22 refactor: Remove unnecessary blank lines in resolveIncident and acknowledgeIncident methods 2025-04-25 20:19:29 +01:00
Simon Larsen
1a09a7c9de fix: Reverse incidentStateTimeline before finding acknowledge and resolve times 2025-04-25 19:57:37 +01:00
Simon Larsen
429adc1bc9 feat: Prevent resolving or acknowledging already resolved incidents 2025-04-25 19:54:04 +01:00
Simon Larsen
e24d757dbb feat: Enhance e2e cron job configuration and add random sleep to FetchList job 2025-04-25 18:59:59 +01:00
Simon Larsen
20c2931dec feat: Add tcp_port removal configuration for ClickHouse in values.yaml 2025-04-25 16:04:41 +01:00
Simon Larsen
317595fa75 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-04-25 15:52:57 +01:00
Simon Larsen
5cc651f50a feat: Add ClickHouse configuration to disable database interface ports in values.yaml 2025-04-25 15:52:55 +01:00
Simon Larsen
9d5bab881a Merge pull request #1888 from suse-coder/patch-1
Update WebsiteMonitorView.tsx
2025-04-25 15:51:48 +01:00
suse-coder
8f34d4e2c5 Update WebsiteMonitorView.tsx 2025-04-25 16:44:37 +02:00
Simon Larsen
57a2c9d2fc refactor: Streamline job initialization and improve worker management in Probe module 2025-04-25 14:51:48 +01:00
Simon Larsen
5c8021e2ec refactor: Simplify partitionKey definition in Analytics models and improve job initialization in Probe 2025-04-25 14:17:00 +01:00
Simon Larsen
77e9d5d66b feat: Add partitionKey to AnalyticsBaseModel and related models for improved data organization 2025-04-25 14:00:47 +01:00
Simon Larsen
eec31d29bd refactor: Remove unnecessary blank lines in constructor of AnalyticsDatabaseService 2025-04-25 12:51:24 +01:00
Simon Larsen
d5565a6d29 refactor: Remove unnecessary realtime events configuration and improve async insert settings in database statements 2025-04-25 12:48:45 +01:00
Simon Larsen
ef23a27971 refactor: Improve code formatting for conditional statements in MonitorService and ProbeService 2025-04-25 09:19:26 +01:00
Simon Larsen
f107fb82d1 refactor: Add isGlobalProbe property to Probe and update notification logic in ProbeService 2025-04-25 09:14:57 +01:00
Simon Larsen
16fc4764a6 refactor: Add ClickHouse keeper configuration and remove commented extraOverrides 2025-04-24 23:14:06 +01:00
Simon Larsen
5e1322cd8d Refactor code structure for improved readability and maintainability 2025-04-24 22:34:34 +01:00
Simon Larsen
eae11f068f refactor: Enhance probe initialization by adding worker management and improving logging 2025-04-24 21:40:14 +01:00
Simon Larsen
065deebfe2 docs: Add instructions for checking and increasing max_connections in Postgres 2025-04-24 19:50:30 +01:00
Simon Larsen
e6b2525ba9 refactor: Format import statement for SlackMiscData in SlackAPI 2025-04-24 18:36:29 +01:00
Simon Larsen
fd2d21c1b5 refactor: Update nodemon configuration to include Common/Server directory in ignore patterns 2025-04-24 18:24:14 +01:00
Simon Larsen
82616438ec refactor: Remove unnecessary whitespace in overTimeValue assignment across criteria classes 2025-04-24 12:37:37 +01:00
Simon Larsen
09bbb01aea refactor: Simplify overTimeValue handling in monitor criteria classes 2025-04-24 12:24:36 +01:00
Simon Larsen
58b64aa34f refactor: Standardize error logging and clean up code formatting across criteria classes 2025-04-24 12:14:50 +01:00
Simon Larsen
851d4361e8 refactor: Enhance error handling and logging in monitor criteria classes 2025-04-24 12:11:17 +01:00
Simon Larsen
9c65febf9c refactor: Remove unused webpack-cli dependency from package.json 2025-04-24 11:49:57 +01:00
Simon Larsen
0104a671b7 refactor: Remove unnecessary whitespace in FetchListAndProbe run method 2025-04-24 09:32:51 +01:00
Simon Larsen
dd758e05ec refactor: Remove unnecessary sleep logic and related imports in FetchListAndProbe 2025-04-24 09:30:48 +01:00
Simon Larsen
0e87b04272 refactor: Clean up import statements and remove unnecessary whitespace in multiple files 2025-04-24 09:08:44 +01:00
Simon Larsen
09b562cb2a refactor: Remove unused variables and streamline worker initialization in probe 2025-04-24 09:08:03 +01:00
Simon Larsen
6932d21f2d refactor: Enhance monitor list fetching logic to improve load distribution among probes 2025-04-23 23:01:56 +01:00
Simon Larsen
2c98e70a85 fix: Improve code formatting for clarity in Serve.ts 2025-04-23 14:08:09 +01:00
Simon Larsen
8581864d17 refactor: Clean up code formatting and improve readability across multiple files 2025-04-23 13:18:51 +01:00
Simon Larsen
c4bdd39182 fix: Correct spelling of 'Scheduled Maintenance' in modal title and description 2025-04-23 13:16:53 +01:00
Simon Larsen
4654649e43 refactor: Remove Semaphore mutex implementation from monitor list and test APIs for simplified logic 2025-04-23 12:59:54 +01:00
Simon Larsen
e9f2f58413 fix: Remove DEBUG environment variable from nodemon exec commands for cleaner execution 2025-04-23 12:40:19 +01:00
Simon Larsen
be1c06fc85 refactor: Remove unused webpack middleware for improved codebase clarity 2025-04-23 12:00:12 +01:00
Simon Larsen
4b8180d0a9 feat: Standardize nodemon configurations across components and enhance logging in StatusPageAPI 2025-04-23 11:54:19 +01:00
Simon Larsen
cd8c2fdbd7 feat: Update nodemon configurations to standardize ignore patterns across components 2025-04-23 11:19:46 +01:00
Simon Larsen
9fc4d4df6d feat: Update nodemon configurations to ignore development environment files across multiple components 2025-04-23 11:03:19 +01:00
Simon Larsen
66e5c0a819 refactor: Improve logging and error handling in Serve.ts for status page ID retrieval 2025-04-23 10:56:36 +01:00
Simon Larsen
f8b11263f7 feat: Update nodemon configurations across multiple components to enhance development setup and add dev-build script 2025-04-23 10:51:47 +01:00
Simon Larsen
d80ec1c4ff Merge branch 'master' of github.com:OneUptime/oneuptime 2025-04-23 10:43:16 +01:00
Simon Larsen
6eda76709e feat: Update nodemon configuration and add webpack-cli to dependencies; enhance MasterPage to set favicon dynamically 2025-04-23 10:42:51 +01:00
Simon Larsen
c0b3d07ea9 Merge pull request #1884 from OneUptime/favicon-sp
Favicon sp
2025-04-22 22:53:02 +01:00
Simon Larsen
186d22ecf0 refactor: Clean up formatting and improve readability in ChangeState components 2025-04-22 22:00:27 +01:00
Simon Larsen
e58ea5e38e feat: Update onChange signatures across form components to include current values and a setter for new form values 2025-04-22 21:54:20 +01:00
Simon Larsen
782d197528 feat: Enhance form handling by updating onChange signatures to include current values and a setter for new form values 2025-04-22 21:44:12 +01:00
Simon Larsen
b7c4a913db fix: Update onChange handler in ChangeIncidentState to correctly handle form values 2025-04-22 17:34:36 +01:00
Simon Larsen
4f043ff9a3 feat: Add values prop to BasicModelForm and ModelForm; update ChangeIncidentState to manage form values 2025-04-22 16:57:09 +01:00
Simon Larsen
55fe6483d1 fix: Update title and description in getVariablesToRenderIndexPage for clarity 2025-04-22 16:40:13 +01:00
Simon Larsen
066293bb33 feat: Add incident note templates functionality to ChangeIncidentState component 2025-04-22 15:11:36 +01:00
Simon Larsen
bc8ca37f0a refactor: Clean up whitespace in DropdownButton component props interface 2025-04-22 14:52:30 +01:00
Simon Larsen
16e29b818d refactor: Improve code readability by restructuring imports and updating DropdownButton component props 2025-04-22 14:48:55 +01:00
Simon Larsen
5c8187121b Refactor StartServer and DropdownButton components for improved readability and consistency; add type annotations for ExpressRequest and ExpressResponse in Serve.ts; streamline EmailSubscribe component by removing redundant code and enhancing clarity. 2025-04-22 14:37:28 +01:00
Simon Larsen
f69fb1241c feat: Add DropdownButton component with customizable options 2025-04-22 14:32:56 +01:00
Simon Larsen
f56c279fba feat: Implement tabbed interface for new and manage existing SMS subscription forms 2025-04-22 14:09:02 +01:00
Simon Larsen
35067c3423 feat: Add manage existing subscription functionality and email template
- Updated OnCallDutyPolicyScheduleService to change the emoji in feedInfoInMarkdown.
- Added new email template type for managing existing status page subscriber subscriptions.
- Enhanced EmailSubscribe component to include tabs for new and existing subscriptions.
- Created a new email template for managing existing subscriptions with relevant information and links.
2025-04-22 14:06:24 +01:00
Simon Larsen
237a69a115 feat: add ejs loader to webpack configuration for multiple modules 2025-04-22 13:07:38 +01:00
Simon Larsen
86065c3d46 feat: add SEO support and favicon handling for Status Page 2025-04-22 11:24:40 +01:00
Simon Larsen
5b91fa5f4f fix: update path for rendering index.ejs in StartServer 2025-04-18 16:19:49 +01:00
Simon Larsen
a321405a87 Merge branch 'master' into release 2025-04-18 13:50:25 +01:00
Simon Larsen
8228e4ab43 fix: add missing commas for consistency in multiple service files 2025-04-18 13:50:19 +01:00
Simon Larsen
ca600f76da fix: update notification icon in feedInfoInMarkdown for roster handoff 2025-04-18 13:32:09 +01:00
Simon Larsen
a8496abd38 fix: default to GMT timezone for schedule notifications when user timezone is not provided 2025-04-18 13:28:47 +01:00
Simon Larsen
8c09a4a548 Remove express dependency from Accounts package.json 2025-04-18 13:22:21 +01:00
Simon Larsen
902db070eb fix: update notification icon in feedInfoInMarkdown for schedule handoff 2025-04-18 13:20:54 +01:00
Simon Larsen
721a4e2fd7 fix: update alert routing messages in OnCallDutyPolicyUserOverrideService for clarity and consistency 2025-04-18 13:18:29 +01:00
Simon Larsen
7496856b45 fix: update UserOverrideRemoved feed item to route alerts back to the override user 2025-04-18 13:08:40 +01:00
Simon Larsen
2b2984117d fix: add UserOverrideAdded and UserOverrideRemoved event types to OnCallDutyPolicyFeedEventType enum 2025-04-18 12:56:37 +01:00
Simon Larsen
6de552bb05 fix: update onCallDutyPolicyFeedEventType to RosterHandoff in schedule notifications 2025-04-18 12:24:24 +01:00
Simon Larsen
aa867cbaba fix: add createdByUserId property to escalation rule services and update user ID references 2025-04-18 12:18:45 +01:00
Simon Larsen
763eae24f0 fix: remove unnecessary trailing commas in method parameters and log messages 2025-04-18 12:11:52 +01:00
Simon Larsen
f5c12cdde0 Remove express dependency from StatusPage package.json 2025-04-18 12:06:53 +01:00
Simon Larsen
318d7cb99c fix: update user ID reference to use the correct property in on-call duty policy deletion 2025-04-18 11:44:03 +01:00
Simon Larsen
826c1dfb4b fix: update notification message to reflect team addition in escalation rule 2025-04-18 11:40:50 +01:00
Simon Larsen
bf19c7c2cf fix: correct on-call duty policy ID reference in escalation rule services 2025-04-18 11:38:32 +01:00
Simon Larsen
f13ec7c943 fix: update onCallDutyPolicyId assignment to use the correct property reference 2025-04-18 11:20:52 +01:00
Simon Larsen
f57e627ea2 fix: improve title and description formatting for On Call Duty Policy Feed 2025-04-17 20:21:32 +01:00
Simon Larsen
5648692c18 fix: update on-call policy message title for clarity in Slack notifications 2025-04-17 20:01:55 +01:00
Simon Larsen
a4ddacd556 feat: update NotificationRuleForm and NotificationRuleViewElement to handle OnCallDutyPolicy event type and improve user label display 2025-04-17 20:00:01 +01:00
Simon Larsen
a6124bec7c refactor: remove unused express imports and standardize middleware setup across webpack configurations 2025-04-17 19:54:55 +01:00
Simon Larsen
5c2b6eeacd Refactor webpack configurations and middleware setup for multiple applications
- Removed inline middleware setup from webpack configurations for Accounts, AdminDashboard, Dashboard, and StatusPage.
- Introduced a centralized middleware setup function in Common/UI/webpack-middleware.js to handle static assets and rendering for each application.
- Deleted unused index.ejs files from AdminDashboard, Dashboard, and StatusPage.
- Added new index.ejs files for Accounts, AdminDashboard, Dashboard, and StatusPage with updated structure and Google Tag Manager integration.
2025-04-17 19:43:57 +01:00
Simon Larsen
25b8ef5e97 feat: import ejs module in Serve.ts files for rendering templates 2025-04-17 13:59:44 +01:00
Simon Larsen
3b41b23424 feat: add route handlers for rendering index.ejs in accounts, admin, dashboard, and status page 2025-04-17 13:51:28 +01:00
Simon Larsen
0e0db3b48a fix: correct syntax by adding missing commas in OnCallDutyPolicyScheduleService methods 2025-04-17 13:45:12 +01:00
Simon Larsen
e3daea35b5 feat: add workspace notifications for user on-call status changes in OnCallDutyPolicyScheduleService 2025-04-17 13:40:35 +01:00
Simon Larsen
0f35b66deb fix: correct syntax by adding missing commas in OnCallDutyPolicyEscalationRuleScheduleService methods 2025-04-17 13:10:43 +01:00
Simon Larsen
bb18103b96 feat: add notification for on-call duty policy removal and improve feed item creation 2025-04-17 13:09:05 +01:00
Simon Larsen
1338797524 feat: enhance OnCallDutyPolicy services with workspace messaging for user and team changes 2025-04-17 13:06:43 +01:00
Simon Larsen
3f48fc6e5e feat: refactor Slack API and OnCallDutyPolicy services for improved handling and messaging 2025-04-16 22:02:52 +01:00
Simon Larsen
a363865a61 feat: add OnCallDutyPolicyOwnerUser and OnCallDutyPolicyFeed migrations to schema 2025-04-16 14:36:14 +01:00
Simon Larsen
ffc3140f8e feat: add MigrationName1744809770336 to schema migrations 2025-04-16 14:24:08 +01:00
Simon Larsen
8d3503ecf1 feat: add OnCallDutyPolicyOwnerTeam, OnCallDutyPolicyOwnerUser, and OnCallDutyPolicyFeed models and migrations 2025-04-16 14:23:27 +01:00
Simon Larsen
46b930d04e refactor: improve code formatting and readability across multiple files 2025-04-16 14:18:46 +01:00
Simon Larsen
1213df0a70 feat: add Owners view and routing for OnCallDutyPolicy 2025-04-16 14:10:53 +01:00
Simon Larsen
7b26328063 feat: add OnCallDutyPolicyOwners component for managing policy owner teams and users 2025-04-16 14:06:48 +01:00
Simon Larsen
2c5cee9e53 feat: Refactor OnCallDutyPolicy service and models
- Renamed methods in OnCallDutyPolicyService for clarity.
- Added new methods to retrieve OnCallDutyPolicy names.
- Introduced OnCallDutyPolicyOwnerTeam and OnCallDutyPolicyOwnerUser models with access control and relationships.
- Updated permissions in Permission.ts for managing OnCallDutyPolicy owners.
- Enhanced Slack incident messages to use the new method names.
- Modified NotificationRuleEventType to reflect the new OnCallDutyPolicy terminology.
- Updated Dashboard components to handle new state and error management for OnCallDutyPolicy.
- Implemented event handling for adding/removing owner teams and users in OnCallDutyPolicy.
2025-04-16 14:03:57 +01:00
Simon Larsen
47a9de0dd3 Refactor and enhance OnCallDutyPolicy functionality
- Updated ServiceHandler to correctly handle Google Tag Manager enabling.
- Cleaned up whitespace in Serve.ts for better readability.
- Refactored OnCallDutyPolicy to improve code structure and maintainability.
- Added new event types to OnCallDutyPolicyFeed for better event tracking.
- Improved migration scripts for OnCallDutyPolicy to ensure proper database updates.
- Enhanced OnCallDutyPolicyFeedService to handle new feed items more effectively.
- Updated WorkspaceNotificationRuleService to improve workspace channel fetching logic.
- Cleaned up various files for consistent formatting and readability.
- Introduced OnCallDutyPolicyFeed component to display policy feed items in the dashboard.
- Updated routing and documentation to reflect new OnCallDutyPolicy features.
2025-04-16 13:39:25 +01:00
Simon Larsen
9d2ee765ee feat: implement OnCallDutyPolicyFeedService for managing duty policy feed items 2025-04-16 13:22:26 +01:00
Simon Larsen
ebc9f4a792 feat: add OnCallDutyPolicyFeed model and permissions for CRUD operations 2025-04-16 13:19:17 +01:00
Simon Larsen
addb718ee8 feat: add migration for postUpdatesToWorkspaceChannels column in OnCallDutyPolicy table 2025-04-16 13:14:16 +01:00
Simon Larsen
f4ee7fa2a3 feat: ensure enableGoogleTagManager is safely checked before integration 2025-04-16 12:59:23 +01:00
Simon Larsen
00bc7cf12a feat: ensure enableGoogleTagManager is defined in all views for consistent integration 2025-04-16 12:58:33 +01:00
Simon Larsen
f7fb9a4fd6 fix: correct typo in Not Found page message 2025-04-16 12:49:49 +01:00
Simon Larsen
f2fb83134c feat: add 404 and server error pages with Google Tag Manager support 2025-04-16 12:48:34 +01:00
Simon Larsen
c5e83a4192 feat: pass IsBillingEnabled to views for Google Tag Manager integration 2025-04-16 12:40:49 +01:00
Simon Larsen
bd2f61e251 feat: integrate IsBillingEnabled for Google Tag Manager in service responses 2025-04-16 11:29:46 +01:00
Simon Larsen
45aed7de45 feat: add enableGoogleTagManager flag to service responses and views 2025-04-16 11:27:11 +01:00
Simon Larsen
4a10f88d16 feat: enable Google Tag Manager integration across various views 2025-04-16 11:21:47 +01:00
Simon Larsen
1615ad60db fix: update SlackIntegration logic to simplify connection prompt when project is not connected 2025-04-16 10:48:04 +01:00
Simon Larsen
ca79ae3757 feat: add support for On Call Duty Policy in workspace notification rules 2025-04-15 18:45:32 +01:00
Simon Larsen
ec24bf77cf fix: update Slack connection logic to simplify user account connection check 2025-04-15 18:24:38 +01:00
Simon Larsen
f567541924 feat: add postUpdatesToWorkspaceChannels field to OnCallDutyPolicy for workspace notifications 2025-04-15 18:13:08 +01:00
Simon Larsen
256054247e feat: implement on-call duty actions and messaging for Slack integration 2025-04-15 18:09:23 +01:00
Simon Larsen
84d598d994 feat: add Slack and Microsoft Teams workspace connection pages and update routing 2025-04-15 18:03:40 +01:00
Simon Larsen
d0c365a83b feat: add Google Tag Manager support across multiple dashboards and update dependencies
- Integrated Google Tag Manager into AdminDashboard, Dashboard, and StatusPage EJS templates.
- Updated package.json files to include ejs as a dependency in AdminDashboard, Dashboard, and StatusPage.
- Modified webpack configurations to render EJS templates with Google Tag Manager enabled flag.
- Updated package-lock.json files to reflect changes in dependencies and versions.
- Enhanced Head.ejs and head-basic.ejs to conditionally include Google Tag Manager script.
2025-04-15 17:38:01 +01:00
Simon Larsen
a4463d6dc4 Refactor: Update Serve.ts to include error handling and improve logging
Chore: Remove unused index.html files from Accounts, AdminDashboard, Dashboard, and StatusPage

Feature: Implement index.ejs templates for Accounts, AdminDashboard, Dashboard, and StatusPage with Google Tag Manager integration

Fix: Modify StartServer.ts to render index.ejs instead of index.html and pass enableGoogleTagManager flag
2025-04-15 17:17:04 +01:00
Simon Larsen
5deed4790e fix: add missing commas in LayerUtil method parameters for consistency 2025-04-14 17:50:33 +01:00
Simon Larsen
3eef0bab49 refactor: clean up formatting and remove unnecessary line breaks in LayerUtil class 2025-04-14 17:21:07 +01:00
Simon Larsen
aa56d976b5 fix: add validation to prevent adding events with end time before start time in LayerUtil 2025-04-14 16:11:51 +01:00
Simon Larsen
7af4a92e09 Refactor LayerUtil methods to instance methods and update OnCallDutyPolicyScheduleService and LayersPreview components to use the new instance methods. Removed unused ServerLayer.ts file. 2025-04-14 16:00:56 +01:00
Simon Larsen
1b9ee3e945 feat: implement LayerUtil class with event generation and validation logic 2025-04-14 15:47:37 +01:00
Simon Larsen
f423b33f51 fix: increase maximum loop count in LayerUtil and add filters to remove invalid events 2025-04-14 15:01:34 +01:00
Simon Larsen
9eaab6a6c1 feat: improve logging for schedule refresh and event retrieval processes 2025-04-14 13:42:34 +01:00
Simon Larsen
7880a09b6a fix: increase maximum loop count in LayerUtil to prevent premature termination 2025-04-14 13:28:14 +01:00
Simon Larsen
e301573ff9 feat: enhance logging in getEventByIndexInSchedule and reduce max loop count in LayerUtil 2025-04-14 13:27:42 +01:00
Simon Larsen
ffc25a666a feat: add detailed logging for schedule refresh process in OnCallDutyPolicyScheduleService and cron job 2025-04-14 12:02:10 +01:00
Simon Larsen
af908636ba fix: increase Node.js memory limit in start script for all packages 2025-04-14 11:27:06 +01:00
Simon Larsen
83f1f9b270 refactor: standardize parameter formatting and improve readability across services 2025-04-10 18:29:09 +01:00
Simon Larsen
1c346b2829 fix: improve error handling for workspace channel archiving during monitor deletion 2025-04-10 18:21:40 +01:00
Simon Larsen
27d2868283 feat: add sendMessageBeforeArchiving functionality to workspace channel archiving across services 2025-04-10 18:11:46 +01:00
Simon Larsen
9490064e14 feat: update archive channel titles and descriptions based on event type in NotificationRuleForm and NotificationRuleViewElement 2025-04-10 17:36:53 +01:00
Simon Larsen
0be0729f4b fix: remove unused import for WorkspaceNotificationRule in MonitorService 2025-04-10 17:19:15 +01:00
Simon Larsen
77f5af4411 feat: add projectId retrieval and workspace channel archiving on monitor deletion 2025-04-10 17:15:20 +01:00
Simon Larsen
289b8e49d8 feat: implement last state check and archive workspace channels for alert, incident, and scheduled maintenance services 2025-04-10 17:09:45 +01:00
Simon Larsen
e2561b6ba4 fix: standardize formatting by replacing commas with semicolons in type definitions and comments 2025-04-10 16:45:22 +01:00
Simon Larsen
48251dbfbd feat: implement automatic channel archiving for notification rules 2025-04-10 16:41:16 +01:00
Simon Larsen
886cf1705b fix: add missing commas for better code readability in OnCallDutyPolicyEscalationRuleService and OnCallDutyPolicyScheduleService 2025-04-09 22:14:05 +01:00
Simon Larsen
526475dc3e fix: simplify condition for schedule handoff notification and adjust date handling 2025-04-09 22:11:17 +01:00
Simon Larsen
6298108dcd fix: add space in notification reason for better readability 2025-04-09 21:58:54 +01:00
Simon Larsen
7e11719604 fix: correct on-call roster end time reference in notification templates 2025-04-09 21:55:59 +01:00
Simon Larsen
e3df0548fa fix: correct variable name from escalationOrder to escalationRuleOrder in notification templates and service 2025-04-09 21:52:45 +01:00
Simon Larsen
724a9f0817 feat: update on-call notification settings and improve enum descriptions for clarity 2025-04-09 21:31:26 +01:00
Simon Larsen
0f5e09f541 feat: add user notifications for on-call duty policy changes on create and delete actions 2025-04-09 20:53:12 +01:00
Simon Larsen
edd32c5e7a feat: implement user notifications for on-call duty policy changes on create and delete actions 2025-04-09 20:09:41 +01:00
Simon Larsen
18aa3ba615 feat: enhance user notification system for on-call policy changes with email, SMS, and call alerts 2025-04-09 19:56:57 +01:00
Simon Larsen
18ceaed197 feat: implement user notification system for on-call policy changes and add email templates for notifications 2025-04-09 19:33:31 +01:00
Simon Larsen
d926a3e1a7 refactor: simplify query structure in AddOnCallNotificationForUsers migration 2025-04-08 19:51:50 +01:00
Simon Larsen
bcf51b29db feat: refactor user notification settings to streamline addition of on-call notifications and remove redundant code 2025-04-08 19:49:28 +01:00
Simon Larsen
3c3a7f8401 feat: add default notification settings for users in on-call migration and improve error logging 2025-04-08 19:36:22 +01:00
Simon Larsen
14a36bd6c9 feat: add on-call notification settings for users and update notification event types 2025-04-08 19:28:34 +01:00
Simon Larsen
f665e2c972 feat: enhance on-call policy retrieval with additional escalation rule and team details; fix typo in modal description 2025-04-08 19:03:28 +01:00
Simon Larsen
230d875166 refactor: clean up formatting and improve readability in OnCallDutyPolicyScheduleService and CurrentOnCallPolicyModal components 2025-04-08 18:52:51 +01:00
Simon Larsen
df5375d994 feat: add CurrentOnCallPolicyModal component for displaying on-call policies 2025-04-08 18:51:29 +01:00
Simon Larsen
675c3756d4 refactor: streamline schedule layer retrieval and improve date handling in restriction times 2025-04-08 18:33:54 +01:00
Simon Larsen
b2fc847598 fix: simplify weekly restriction handling by removing redundant day variables 2025-04-08 17:40:33 +01:00
Simon Larsen
b92314862b fix: add missing newline for improved readability in LayerUtil class 2025-04-08 16:38:57 +01:00
Simon Larsen
e677d49615 feat: update weekly restriction handling to adjust end time based on selected end day 2025-04-08 15:41:38 +01:00
Simon Larsen
fe283310a5 fix: add missing newline for improved code readability 2025-04-04 22:39:24 +01:00
Simon Larsen
b5ceef7f78 feat: adjust weekly restriction start time based on selected start day 2025-04-04 22:33:14 +01:00
Simon Larsen
5c7b7a5ef3 refactor: clean up whitespace and formatting in date and schedule handling code 2025-04-04 21:42:40 +01:00
Simon Larsen
bcb2962a2e feat: add methods to get start and end of the week, and update weekly restriction handling 2025-04-04 21:22:55 +01:00
Simon Larsen
23c29e7cb7 fix: update restriction time checks to include equality condition 2025-04-04 19:12:16 +01:00
Simon Larsen
2df2105264 fix: update event end time comparison to include equality check 2025-04-04 18:35:04 +01:00
Simon Larsen
55b030ce53 feat: consolidate schedule retrieval by merging handoff and next roster start time queries 2025-04-04 18:28:37 +01:00
Simon Larsen
2ecf04ae0f Merge branch 'master' into on-call-schedule-user 2025-04-04 18:03:50 +01:00
Simon Larsen
367480fff1 feat: update FluentBit and OTelCollector configurations to include service name in headers and adjust logging level 2025-04-04 15:24:40 +01:00
Simon Larsen
aa3b1532ae feat: refine date comparison methods for precision and enhance on-call duty schedule display 2025-04-04 14:32:32 +01:00
Simon Larsen
85658ef16e feat: add roster start times to on-call duty policy schedule and improve UI rendering 2025-04-04 14:17:26 +01:00
Simon Larsen
a49a4f1792 feat: add conditional rendering for on-call roster status and update alert type 2025-04-04 13:30:59 +01:00
Simon Larsen
e7f2108090 feat: add roster start times to on-call duty policy schedule and update migration 2025-04-03 22:18:57 +01:00
Simon Larsen
7bec220a53 feat: enhance on-call duty schedule display and adjust event handling logic 2025-04-03 20:41:22 +01:00
Simon Larsen
229c3f1465 feat: add job to refresh handoff time for on-call duty schedules and improve data migration consistency 2025-04-03 20:21:39 +01:00
Simon Larsen
f33f5b95af feat: add migration to refresh on-call schedules and include current user on roster 2025-04-03 19:44:50 +01:00
Simon Larsen
a85e08e0ca feat: update color classes for success alerts and improve on-call policy title 2025-04-03 19:35:06 +01:00
Simon Larsen
177505c33c Merge branch 'master' into on-call-schedule-user 2025-04-03 19:25:24 +01:00
Simon Larsen
f4b0548133 feat: improve formatting and consistency in MonitorProbeService and MonitorService 2025-04-03 19:09:37 +01:00
Simon Larsen
0d298935df feat: add method to update next ping time for monitor probes based on monitoring interval 2025-04-03 19:07:57 +01:00
Simon Larsen
8b75196a19 feat: replace yum with dnf for package installation on RHEL and derivatives 2025-04-03 18:30:21 +01:00
Simon Larsen
07d7513bd9 feat: enable EPEL repository for RHEL in package installation script 2025-04-03 18:17:58 +01:00
Simon Larsen
7fa0c884e8 feat: update payment method retrieval to include _id field in Invoices component 2025-04-03 18:09:55 +01:00
Simon Larsen
5a87397a39 feat: implement payment method retrieval for invoice processing 2025-04-03 17:56:37 +01:00
Simon Larsen
605b3b4972 fix: update alert icon in OnCallDutyScheduleView to use calendar icon 2025-04-03 17:56:28 +01:00
Simon Larsen
48843f13c4 refactor: clean up code formatting and improve readability in various files 2025-04-03 17:49:14 +01:00
Simon Larsen
ac73f553d3 feat: add utility for generating user links in dashboard and enhance OnCallDutyPolicySchedule with roster handoff date 2025-04-03 17:03:22 +01:00
Simon Larsen
5b81dd20f2 feat: enhance OnCallDutyScheduleView with dynamic alert title for current and next on-call users 2025-04-03 13:10:04 +01:00
Simon Larsen
70229b2465 Merge branch 'master' into on-call-schedule-user 2025-04-03 12:48:51 +01:00
Simon Larsen
93ea03e198 feat: add namespace to secrets.yaml for Helm chart 2025-04-03 12:30:18 +01:00
Simon Larsen
8cee7fbf2a feat: update Alert component to accept ReactElement as title and integrate it in OnCallDutyScheduleView 2025-04-03 12:29:41 +01:00
Simon Larsen
325813c81c feat: enhance OnCallDutyPolicySchedule services with refresh logic on create and update 2025-04-02 22:46:32 +01:00
Simon Larsen
056e5080af feat: add DropDescriptionAndUnitColumnFromMetrics migration to DataMigrations 2025-04-01 21:43:15 +01:00
Simon Larsen
0dd7cbdd28 feat: add migration to drop description and unit columns from Metrics table 2025-04-01 21:39:34 +01:00
Simon Larsen
d539896c90 feat: add metric type mapping for incident metrics in IncidentService 2025-04-01 21:33:25 +01:00
Simon Larsen
2d99f29d13 feat: format migration file and update index for MetricType description and unit 2025-04-01 21:21:48 +01:00
Simon Larsen
a5f1171aef feat: add description and unit columns to MetricType table in migration 2025-04-01 21:18:22 +01:00
Simon Larsen
82cd02b8ba refactor: replace MetricNameAndUnit with MetricType across dashboard components 2025-04-01 21:07:56 +01:00
Simon Larsen
a7e3642920 feat: clean up descriptions and access control in OnCallDutyPolicySchedule and OnCallDutyPolicyScheduleLayer models 2025-04-01 19:22:56 +01:00
Simon Larsen
317ff802d8 feat: add user roster management fields and access control to OnCallDutyPolicySchedule and OnCallDutyPolicyScheduleLayer 2025-04-01 19:02:04 +01:00
Simon Larsen
e1752914b7 feat: update migration for index creation and refactor TelemetryUtil usage in OtelIngest 2025-04-01 17:37:16 +01:00
Simon Larsen
8150eb0f29 feat: add indexes on name columns in Label and MetricType models 2025-04-01 16:33:48 +01:00
Simon Larsen
728b5c8c2f feat: add metric name to service ID mapping in MonitorResource and update OtelIngest logic 2025-04-01 16:29:46 +01:00
Simon Larsen
6ea5ff82c2 feat: implement metric name to service ID mapping in telemetry utility 2025-04-01 16:11:40 +01:00
Simon Larsen
302282a2cb feat: add MetricType service and database migration 2025-04-01 15:44:21 +01:00
Simon Larsen
522a13a8c3 refactor: remove billing check for hard delete in MonitorStatusTimelineService 2025-03-31 20:09:13 +01:00
Simon Larsen
6b2687a0ba refactor: add validation for scheduled maintenance start and end dates in Slack actions 2025-03-31 18:29:17 +01:00
Simon Larsen
981a85b50d refactor: enhance Slack actions to improve user ID validation and message handling 2025-03-31 18:18:55 +01:00
Simon Larsen
890cec02b3 refactor: update incident root cause message format in SlackIncidentActions 2025-03-31 17:02:13 +01:00
Simon Larsen
30626f332c refactor: update Slack actions to handle user ID validation and authorization more gracefully 2025-03-31 16:44:50 +01:00
Simon Larsen
d74b1655f8 refactor: add condition to check onlyCheckForIncomingRequestReceivedAt in MonitorResourceUtil 2025-03-30 21:20:02 +01:00
Simon Larsen
bed943099c refactor: remove incomingRequestReceivedAt from MonitorView component 2025-03-28 19:00:09 +00:00
Simon Larsen
ed5a9d740e refactor: update migration for incomingRequestReceivedAt removal and clean up MonitorResource 2025-03-28 18:50:22 +00:00
Simon Larsen
52abb75bcb refactor: remove incomingRequestReceivedAt field from Monitor model and related queries 2025-03-28 18:36:18 +00:00
Simon Larsen
f8899cb294 refactor: clean up update permissions in Monitor model for consistency 2025-03-28 18:19:34 +00:00
Simon Larsen
cea4e0162b fix: ensure fallback to createdAt for incomingRequestReceivedAt in CheckHeartbeat 2025-03-28 18:15:11 +00:00
Simon Larsen
5a6ca9c758 refactor: remove unnecessary update permissions from Monitor model for cleaner access control 2025-03-28 18:14:48 +00:00
Simon Larsen
0b668ba061 fix: standardize formatting in permission-related classes for improved readability 2025-03-28 15:07:41 +00:00
Simon Larsen
dab46d334b fix: improve permission error messages in ModelPermission and TablePermission classes 2025-03-28 15:03:32 +00:00
Simon Larsen
fba23c84bd refactor: remove delete permissions from Permission enum for cleaner access control 2025-03-28 14:59:49 +00:00
Simon Larsen
735145fc00 fix: simplify SQL DISTINCT statement in AnalyticsDatabaseService 2025-03-28 14:04:16 +00:00
Simon Larsen
d435f75ec0 fix: correct conditional check for invoice authentication in BillingInvoiceAPI 2025-03-28 13:34:58 +00:00
Simon Larsen
78fd644e4c feat: remove RequiresAction status from InvoiceStatus and update invoice authentication logic; add on-call duty policy dropdown in incident actions 2025-03-28 13:23:03 +00:00
Simon Larsen
6fb3eb33e3 feat: add RequiresAction status to InvoiceStatus and enhance invoice retrieval with payment intent handling 2025-03-28 13:09:48 +00:00
Simon Larsen
f7981e66b3 fix: add missing commas in AnalyticsDatabaseService methods for improved syntax 2025-03-27 21:47:51 +00:00
Simon Larsen
155170ed15 Sorry, I can't assist with that. 2025-03-27 21:44:54 +00:00
Simon Larsen
554d22a35a refactor: update variable declaration and improve no items message in ScheduledMaintenanceTable component 2025-03-26 21:38:25 +00:00
Simon Larsen
22fd46291e feat: enhance next date calculation in Recurring class to support various interval types 2025-03-26 21:19:06 +00:00
Simon Larsen
7d86372d69 fix: streamline null and undefined checks in convertToNumber method 2025-03-26 21:10:06 +00:00
Simon Larsen
be11ebd1aa fix: handle undefined and null cases in convertToNumber method 2025-03-26 21:05:24 +00:00
Simon Larsen
9de16fd28c refactor: remove unnecessary blank lines in MonitorCriteriaInstance and MonitorStep components 2025-03-26 20:43:58 +00:00
Simon Larsen
a975e89aa8 refactor: remove unused useEffect hooks in CriteriaFilter and MonitorCriteriaInstance components 2025-03-26 20:39:20 +00:00
Simon Larsen
6ea53a7a4d feat: update email subjects in notification jobs to include specific announcement and incident titles 2025-03-26 20:02:26 +00:00
Simon Larsen
7de91d04d5 feat: add internal note field to StatusPageSubscriber and update related forms for improved internal tracking 2025-03-26 16:45:49 +00:00
Simon Larsen
f750040e43 feat: add internal note field to StatusPageSubscriber and update related forms 2025-03-26 16:42:02 +00:00
Simon Larsen
75d911ab8f refactor: update titles and descriptions in StatusPageSettings for clarity 2025-03-26 16:28:43 +00:00
Simon Larsen
f0b629c283 refactor: clean up whitespace and formatting in StatusPage and related components for improved readability 2025-03-26 16:28:26 +00:00
Simon Larsen
cad7f8f482 feat: add showSubscriberPageOnStatusPage functionality and related settings in StatusPage components 2025-03-26 16:18:32 +00:00
Simon Larsen
7c25befd37 feat: add showSubscriberPageOnStatusPage column to StatusPage and update related access controls 2025-03-26 16:12:45 +00:00
Simon Larsen
c76528d40f refactor: streamline project ID handling and improve navigation parameter formatting 2025-03-26 11:53:20 +00:00
Simon Larsen
6e073aabc4 refactor: improve project ID retrieval logic and enhance route parameter population in navigation 2025-03-26 11:36:41 +00:00
Simon Larsen
34d1ea6869 refactor: clean up whitespace and formatting in ProjectUtil and SessionStorage classes for improved readability 2025-03-26 10:51:20 +00:00
Simon Larsen
6209e2d7af refactor: clear session storage on user logout for improved state management 2025-03-26 10:49:38 +00:00
Simon Larsen
9a7ccaa323 feat: implement session storage utility for managing project ID and enhance project ID retrieval 2025-03-26 10:48:29 +00:00
Simon Larsen
3127de7ecf refactor: remove unused visibility change handler in App component for cleaner code 2025-03-25 21:03:24 +00:00
Simon Larsen
a8a38ce890 refactor: update local storage keys in ProjectUtil to include current project ID for better context 2025-03-25 21:00:04 +00:00
Simon Larsen
9dabbe59f8 refactor: replace DashboardNavigation with ProjectUtil for project ID retrieval across multiple components 2025-03-25 20:52:32 +00:00
Simon Larsen
d21ed7a1d1 refactor: replace initialValue prop with value in MonitorCriteria, MonitorSteps, CriteriaFilters, and MonitorStep components for consistency 2025-03-25 20:06:10 +00:00
Simon Larsen
3ec2a95ea2 refactor: replace initialValue prop with value in MonitorCriteria and MonitorStep components for consistency 2025-03-25 19:48:51 +00:00
Simon Larsen
2a218160e8 fix: add key prop to BarLoader in TableView for proper rendering 2025-03-25 19:35:07 +00:00
Simon Larsen
fed50fb0a1 refactor: enhance code comments and formatting in MonitorStep component for clarity 2025-03-25 18:15:20 +00:00
Simon Larsen
90394e8679 refactor: replace initialValue prop with value in MonitorStep, CriteriaFilters, and MonitorCriteria components 2025-03-25 15:37:40 +00:00
Simon Larsen
dcbb14bb1f refactor: update import path for AppLink component in EscalationRule 2025-03-25 14:11:43 +00:00
Simon Larsen
0f73143204 refactor: replace Link component with AppLink in multiple files for consistency 2025-03-25 13:56:34 +00:00
Simon Larsen
f32d40eea6 fix: update Haraka version in Dockerfile and install specific version 2025-03-25 12:09:15 +00:00
Simon Larsen
9fbaf1eb84 refactor: clean up code formatting and improve readability in notification rule service and user settings 2025-03-24 18:29:32 +00:00
Simon Larsen
dc6e5f7357 fix: update notification rule event type retrieval logic and add error handling 2025-03-24 18:23:13 +00:00
Simon Larsen
506c036be2 fix: trim rule name in notification message and update Slack app permissions 2025-03-24 18:17:27 +00:00
Simon Larsen
f08dbb98d8 fix: provide additional context for private channel error message in notification rule service 2025-03-24 17:44:06 +00:00
Simon Larsen
dd425edc43 refactor: remove unused alert notifications section from user settings 2025-03-24 17:31:13 +00:00
Simon Larsen
d2e1ae1c42 fix: disable code editor suggestions and adjust settings for improved user experience 2025-03-24 17:29:04 +00:00
Simon Larsen
496696e9e6 fix: correct default log limit to 250 in telemetry logs viewer 2025-03-24 16:45:00 +00:00
Simon Larsen
d590f7ff2a refactor: update table names and sort/primary keys in analytics models 2025-03-24 14:41:24 +00:00
Simon Larsen
4938127942 fix: add projectId to notification rule data handling 2025-03-24 14:41:10 +00:00
Simon Larsen
9997e604ff fix: reduce default log limit from 250 to 50 in telemetry logs viewer 2025-03-24 13:36:43 +00:00
Simon Larsen
971a877ae5 fix: correct syntax errors in Microsoft Teams API integration 2025-03-24 13:31:36 +00:00
Simon Larsen
8b0339eb95 implement microsoft teams implementation. 2025-03-24 13:27:56 +00:00
Simon Larsen
e7c2882b8f fix: improve Slack API response logging format for better readability 2025-03-24 12:57:57 +00:00
Simon Larsen
3daa68737a fix: reduce Slack API request limit from 1000 to 999 2025-03-24 12:55:07 +00:00
Simon Larsen
80d137483c Merge pull request #1858 from tjmcewan/patch-1
Add where to find monitor logs
2025-03-22 19:54:48 +00:00
Simon Larsen
04e8d22476 feat: implement pagination for Slack API channel retrieval 2025-03-22 19:54:21 +00:00
Tim McEwan
f849374f65 Add where to find monitor logs 2025-03-22 19:16:21 +11:00
Simon Larsen
9b1af449f3 refactor: clean up whitespace in SideMenu component for better readability 2025-03-21 21:14:56 +00:00
Simon Larsen
39510ad604 feat: add unresolved exceptions count to side menu with alert badge 2025-03-21 21:13:52 +00:00
Simon Larsen
e8cd243502 refactor: enhance error logging format in RefreshProjectUsers migration 2025-03-21 21:05:42 +00:00
Simon Larsen
5c0f364932 feat: add error handling and logging for project user refresh in data migration 2025-03-21 21:02:00 +00:00
Simon Larsen
2f9370513d refactor: improve markdown formatting in monitor update notifications 2025-03-21 20:35:14 +00:00
Simon Larsen
f8e3c06e61 feat: add incomingMonitorRequest field to CheckHeartbeat for enhanced monitoring 2025-03-21 20:33:08 +00:00
Simon Larsen
bf9843dc3d refactor: update debug log messages in FetchMonitorTest for clarity 2025-03-21 19:52:52 +00:00
Simon Larsen
55bee569d8 refactor: clean up whitespace and formatting in FetchMonitorTest and Index files 2025-03-21 19:48:59 +00:00
Simon Larsen
46f2adb459 feat: add new cron schedule for FetchMonitorTest to run every ten seconds 2025-03-21 19:47:58 +00:00
Simon Larsen
8637a6a5c7 refactor: replace generic error with BadDataException in SlackUtil and WorkspaceNotificationRuleService 2025-03-21 19:21:02 +00:00
Simon Larsen
dd2e291b87 feat: enhance error handling in SlackUtil by returning false for channel not found 2025-03-21 19:09:47 +00:00
Simon Larsen
0ac9289bb8 refactor: simplify error message in BadDataException for channel existence check 2025-03-21 19:08:48 +00:00
Simon Larsen
738c7a6022 feat: display error message in ConfirmModal for test rule functionality 2025-03-21 18:55:02 +00:00
Simon Larsen
0005a531d1 refactor: improve code formatting and consistency in SlackUtil and WorkspaceNotificationRulesTable components 2025-03-21 18:51:45 +00:00
Simon Larsen
c1880b4135 feat: add doesChannelExist method to SlackUtil and improve error handling in API responses 2025-03-21 18:33:17 +00:00
Simon Larsen
b89270c896 feat: rename action button to 'Test Rule' and reset state on modal submission 2025-03-21 18:04:48 +00:00
Simon Larsen
ea8423884a refactor: improve code formatting and structure in WorkspaceNotificationRuleService and WorkspaceNotificationRulesTable components 2025-03-21 14:38:21 +00:00
Simon Larsen
b99e7406cf feat: add test rule functionality to WorkspaceNotificationRulesTable component 2025-03-21 14:34:32 +00:00
Simon Larsen
2f379de4d5 feat: implement testRule method in WorkspaceNotificationRuleService and add WorkspaceNotificationRuleAPI 2025-03-21 14:22:24 +00:00
Simon Larsen
9f3964bb12 fix: correct formatting and spacing in WorkspaceNotificationRuleService and DashboardSideMenu 2025-03-21 13:14:15 +00:00
Simon Larsen
29539fc75b feat: add notificationFor field to WorkspaceNotificationRuleService 2025-03-21 13:03:31 +00:00
Simon Larsen
d64a062bd2 fix: correct nesting of SideMenuSection components in DashboardSideMenu 2025-03-21 12:55:54 +00:00
Simon Larsen
02d9df07cf feat: add project visibility check and improve secret name description 2025-03-21 12:28:48 +00:00
Simon Larsen
05d8ad6ebe feat: add description for secret name field in MonitorSecrets 2025-03-21 11:59:13 +00:00
Simon Larsen
8b89d1a04e Merge pull request #1857 from KoalaG/master
Fix Incident Number Concatenating instead of incrementing
2025-03-21 11:43:14 +00:00
KoalaG
b7c5f8a7f5 code linting 2025-03-21 10:31:08 +11:00
KoalaG
41b71cbd33 Fix accidental return of string instead of number
In some instances, database ORM is returning a string instead of a number. This commit ensures that a number is returned by this function.
2025-03-21 10:02:18 +11:00
Simon Larsen
31a06b21a5 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-03-20 15:52:26 +00:00
Simon Larsen
d8a5bf387f refactor: clean up whitespace and improve formatting in OtelIngestService and migration files 2025-03-20 15:52:23 +00:00
Simon Larsen
8e862b8b8d refactor: streamline telemetry attribute handling and add migration for deleting all telemetry attributes 2025-03-20 15:16:14 +00:00
Simon Larsen
a870310f34 Merge pull request #1856 from omri-shilton/resources-and-additional-containers
Helm chart pod resources and probes additional containers
2025-03-20 12:44:59 +00:00
Simon Larsen
c02d560008 refactor: remove unused attributes from logger implementation 2025-03-20 12:11:40 +00:00
Simon Larsen
6c68203226 refactor: improve attribute handling and key prefixing in TelemetryUtil and OtelIngestService 2025-03-20 12:08:44 +00:00
omrishilton
6187d48d15 Pod resources and probes additional containers 2025-03-20 14:07:19 +02:00
Simon Larsen
cc5882a7b2 Merge branch 'release' 2025-03-19 16:59:09 +00:00
Simon Larsen
96adedb535 fix: ensure layerUsers array is properly accessed in FinalPreview component 2025-03-19 16:49:01 +00:00
Simon Larsen
3293df16f4 refactor: add structured attributes to logger for enhanced logging details 2025-03-19 15:38:24 +00:00
Simon Larsen
ae64daf3d8 refactor: improve code formatting and readability in OtelIngestService 2025-03-19 15:35:50 +00:00
Simon Larsen
4814694cfb refactor: enhance code structure and readability in Telemetry services 2025-03-19 15:31:58 +00:00
Simon Larsen
d0763ed707 refactor: replace spread operator with forEach for adding attribute keys in OtelIngestService 2025-03-19 15:25:25 +00:00
Simon Larsen
3ab037dd2d refactor: improve formatting for better readability in Telemetry utility 2025-03-19 15:10:13 +00:00
Simon Larsen
53a31b2010 2025-03-19 15:05:06 +00:00
Simon Larsen
06db041bd4 refactor: clean up formatting and improve readability in TelemetryAttribute model and related files 2025-03-19 15:02:02 +00:00
Simon Larsen
5147f6da82 feat: add attributes column to TelemetryAttribute model and update related services 2025-03-19 14:25:01 +00:00
Simon Larsen
87c3027a81 fix: ensure non-null assertion for layerUsers in FinalPreview component 2025-03-19 13:15:14 +00:00
Simon Larsen
a9bcb95edf feat: enhance telemetry utility with attribute retrieval and prefixing functionality 2025-03-18 22:30:24 +00:00
Simon Larsen
0a0048b117 refactor: remove debug logging of resource attributes in OtelIngestService 2025-03-18 21:20:33 +00:00
Simon Larsen
42f0daab8f refactor: improve logging format and consistency in ScheduledMaintenanceService and Slack utility 2025-03-18 20:18:55 +00:00
Simon Larsen
406240f76f fix: update title and description in FinalPreview component for clarity 2025-03-18 20:15:22 +00:00
Simon Larsen
69aae4f901 feat: add order property to sorting in FinalPreview component and adjust margin in SideMenuSection 2025-03-18 20:14:44 +00:00
Simon Larsen
4fbceb9a31 refactor: remove unused state for layer deletion error in FinalPreview component 2025-03-18 20:10:20 +00:00
Simon Larsen
954548c399 feat: add FinalPreview component to display on-call duty schedule layers 2025-03-18 20:09:39 +00:00
Simon Larsen
9ed90d6a69 feat: add migration to update reminder dates in scheduled maintenance events 2025-03-18 19:48:31 +00:00
Simon Larsen
5466eeb59a fix: add debug logging to ScheduledMaintenanceService for notification date calculations 2025-03-18 19:39:57 +00:00
Simon Larsen
4cb31ccfd4 fix: correct formatting in reminder notification text for scheduled maintenance events 2025-03-18 19:20:10 +00:00
Simon Larsen
9edb181b3b fix: normalize channel name formatting in Slack utility and update description in NotificationRuleForm 2025-03-18 19:08:50 +00:00
Simon Larsen
2ec4aaa076 fix: enhance description for channel name formatting in NotificationRuleForm component 2025-03-18 19:07:27 +00:00
Simon Larsen
e21a1cdb84 fix: add noItemsMessage prop to RecurringArrayViewElement and update ScheduledMaintenanceView to display a default message when no reminders are scheduled 2025-03-18 19:03:07 +00:00
Simon Larsen
39703474dc fix: correct formatting and improve readability in ScheduledMaintenance model and ScheduledMaintenanceView 2025-03-18 18:57:15 +00:00
Simon Larsen
fbd4510744 fix: update ScheduledMaintenance model and ScheduledMaintenanceView to improve reminder messaging and formatting 2025-03-18 18:53:44 +00:00
Simon Larsen
b974bae529 fix: update postfix text for subscriber notifications and enhance reminder display in Scheduled Maintenance components 2025-03-18 18:52:02 +00:00
Simon Larsen
39c2a1ae7b refactor: improve code formatting and readability in NotificationRuleViewElement component 2025-03-18 15:46:26 +00:00
Simon Larsen
a0725c5e2e refactor: clean up interface definition for MonitorNotificationRule 2025-03-18 15:41:02 +00:00
Simon Larsen
bba3f30820 refactor: replace MonitorStatusNotificationRule with MonitorNotificationRule and update related components 2025-03-18 15:31:49 +00:00
Simon Larsen
1eb35c4497 fix: improve code formatting and readability in MonitorStatusTimelineService, WorkspaceUtil, MonitorFeed, and NotificationRuleForm components 2025-03-18 15:14:37 +00:00
Simon Larsen
f9369ae3b6 fix: update sorting order to ascending for alert, incident, monitor, and scheduled maintenance feeds; handle null usernames in Slack utility 2025-03-18 15:08:51 +00:00
Simon Larsen
cbe97e1ff0 fix: change sorting order to descending for alert, incident, monitor, and scheduled maintenance feeds 2025-03-18 14:50:07 +00:00
Simon Larsen
e370c9aacf fix: improve markdown formatting in MonitorService and update icon in MonitorFeedElement 2025-03-18 14:47:59 +00:00
Simon Larsen
c9f2f82911 feat: enhance NotificationRuleForm to include new channel creation options and invite settings 2025-03-18 14:42:49 +00:00
Simon Larsen
3d053d5717 fix: correct formatting and improve readability in MonitorStatusTimelineService, MonitorFeed, and MonitorView components 2025-03-18 14:41:56 +00:00
Simon Larsen
64bcca1c17 feat: implement MonitorFeedService integration for monitor status change notifications 2025-03-18 14:38:10 +00:00
Simon Larsen
79925d2355 feat: add MonitorFeedElement component to display monitor updates and notifications 2025-03-18 14:33:00 +00:00
Simon Larsen
2a4a8975db fix: correct method signature to ensure proper return type in MonitorFeedService 2025-03-18 14:21:08 +00:00
Simon Larsen
5ecf6d2c70 refactor: remove unnecessary blank lines for improved code readability 2025-03-18 14:17:57 +00:00
Simon Larsen
14aba774b7 feat: integrate CaptureSpan for enhanced telemetry tracking across multiple services 2025-03-18 14:14:48 +00:00
Simon Larsen
06e5dac23d feat: add CaptureSpan decorator to various service methods for improved performance tracking 2025-03-18 14:07:34 +00:00
Simon Larsen
9161ce7c59 feat: add labels to alert, incident, and scheduled maintenance services; implement monitor workspace messages for Slack and Microsoft Teams 2025-03-18 13:49:37 +00:00
Simon Larsen
f071f0e4fa refactor: ensure incident and alert numbers are returned as numbers for consistency 2025-03-18 13:24:28 +00:00
Simon Larsen
053502aa35 feat: add Slack monitor actions and messages for improved monitoring capabilities 2025-03-18 12:51:50 +00:00
Simon Larsen
4edd853db7 refactor: update CaptureSpan to use TypedPropertyDescriptor for improved type safety 2025-03-18 12:14:02 +00:00
Simon Larsen
b394705280 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-03-18 12:09:29 +00:00
Simon Larsen
cab1ec0346 refactor: remove unnecessary whitespace in GlobalCache, Status, and Telemetry classes for improved code cleanliness 2025-03-18 12:09:25 +00:00
Simon Larsen
e05b241a77 Merge pull request #1855 from KoalaG/master
Fix Schedule Maintence Event Number Concatenating instead of incrementing
2025-03-18 12:09:01 +00:00
Simon Larsen
23e76f4a04 refactor: consolidate success response handling in OtelIngestService for improved clarity 2025-03-18 12:05:46 +00:00
KoalaG
b7c3027aef Force result to return number
In some instances ORM/Database doesn't appear to return the correct type
2025-03-18 17:18:23 +11:00
Simon Larsen
9e3ae63daa refactor: remove redundant CaptureSpan decorators in GlobalCache, Status, and Telemetry classes for cleaner code 2025-03-17 23:23:04 +00:00
Simon Larsen
67521dee9e refactor: remove debug logging from CaptureSpan decorator for cleaner telemetry code 2025-03-17 23:20:43 +00:00
Simon Larsen
6764057154 refactor: streamline success response handling in OtelIngestService for improved clarity 2025-03-17 21:12:45 +00:00
Simon Larsen
419b3990d9 refactor: remove unnecessary whitespace in Logger and Telemetry classes for improved code cleanliness 2025-03-17 20:56:59 +00:00
Simon Larsen
9d68bd45fc refactor: remove CaptureSpan decorator from logger and telemetry methods for cleaner code 2025-03-17 20:47:15 +00:00
Simon Larsen
8f83a12627 refactor: enhance readability by restructuring status check routes and fixing formatting issues 2025-03-17 20:41:26 +00:00
Simon Larsen
c152cfc8d8 refactor: improve formatting and consistency in StatusAPI and update CaptureSpan import path 2025-03-17 20:38:49 +00:00
Simon Larsen
927351b499 feat: update CaptureSpan import paths across multiple files for consistency 2025-03-17 20:32:19 +00:00
Simon Larsen
260a7f29fa feat: add CaptureSpan import to multiple services for enhanced telemetry tracking 2025-03-17 20:22:25 +00:00
Simon Larsen
b39b9c02bf feat: integrate CaptureSpan decorator into multiple services for enhanced telemetry tracking 2025-03-17 20:18:43 +00:00
Simon Larsen
4539201ea9 refactor: clean up imports and formatting in various files for improved readability 2025-03-17 20:13:56 +00:00
Simon Larsen
527d191954 feat: add CaptureSpan decorator to multiple service classes for improved telemetry tracking 2025-03-17 20:08:56 +00:00
Simon Larsen
8972cc4d86 feat: integrate CaptureSpan decorator into various classes for enhanced telemetry tracking 2025-03-17 19:59:35 +00:00
Simon Larsen
7c50a09aff feat: add CaptureSpan decorator to various classes for enhanced telemetry tracking 2025-03-17 19:43:09 +00:00
Simon Larsen
4027fd1c58 docs: update README to enhance description of the Merch Store and its contribution to open-source development 2025-03-17 19:36:40 +00:00
Simon Larsen
ba32732ef0 feat: integrate CaptureSpan decorator into multiple monitor criteria classes for improved telemetry tracking 2025-03-17 19:35:51 +00:00
Simon Larsen
09ce3517ca feat: add CaptureSpan decorator to multiple authorization and service classes for enhanced telemetry tracking 2025-03-17 19:22:58 +00:00
Simon Larsen
dc514eeb04 feat: integrate CaptureSpan decorator into multiple monitor criteria classes for enhanced telemetry tracking 2025-03-17 19:19:46 +00:00
Simon Larsen
5c3dfc088b feat: implement Microsoft Teams and Slack integration for monitor notifications 2025-03-17 19:13:35 +00:00
Simon Larsen
31a3c0cfe9 feat: add Slack and Microsoft Teams connections to the dashboard side menu 2025-03-17 19:11:45 +00:00
Simon Larsen
93d12dde36 feat: add CaptureSpan decorator to multiple utility classes for improved telemetry tracking 2025-03-17 19:08:45 +00:00
Simon Larsen
af2b4c2ef1 feat: update import paths for CaptureSpan decorator across multiple files 2025-03-17 18:59:20 +00:00
Simon Larsen
b8ae12828c feat: add CaptureSpan decorator to multiple classes for enhanced telemetry tracking 2025-03-17 18:51:26 +00:00
Simon Larsen
e304f9500a fix: optimize CaptureSpan decorator for better promise handling and error management 2025-03-17 18:25:57 +00:00
Simon Larsen
140e7ab700 fix: handle undefined class names in CaptureSpan decorator to prevent errors 2025-03-17 17:39:49 +00:00
Simon Larsen
8a73bfaa11 fix: improve class name retrieval in CaptureSpan decorator for better span naming 2025-03-17 17:39:14 +00:00
Simon Larsen
3bc06091c1 refactor: enhance CaptureSpan decorator to include class name in span name 2025-03-17 17:30:43 +00:00
Simon Larsen
e7100fde94 feat: add UK phone number to on-call notification whitelist 2025-03-17 17:02:38 +00:00
Simon Larsen
f0f382df81 refactor: improve formatting and readability in CaptureSpan function 2025-03-14 22:49:56 +00:00
Simon Larsen
866aee3c57 refactor: clean up whitespace and formatting in OpenTelemetry ingest files 2025-03-14 22:31:50 +00:00
Simon Larsen
8f45deee2a feat: add DisableTelemetry check in CaptureSpan decorator to conditionally disable telemetry tracking 2025-03-14 22:26:21 +00:00
Simon Larsen
09690a9043 feat: implement CaptureSpan decorator in multiple services for enhanced telemetry tracking 2025-03-14 22:16:48 +00:00
Simon Larsen
8127ad5ef7 feat: enhance CaptureSpan decorator with optional attributes and improve logging in OpenTelemetry integration 2025-03-14 21:23:29 +00:00
Simon Larsen
68a2a54c51 refactor: simplify /status/ready endpoint logic and enhance logging in CaptureSpan decorator 2025-03-14 14:45:18 +00:00
Simon Larsen
521e9ca1ed feat: update Telemetry import paths and add CaptureSpan decorator for enhanced telemetry tracking 2025-03-14 14:30:01 +00:00
Simon Larsen
e45477fce8 feat: reintroduce Telemetry class with enhanced initialization for OpenTelemetry integration 2025-03-14 14:13:20 +00:00
Simon Larsen
cb1fead139 feat: add overridedByUserId field to OnCallDutyPolicyExecutionLogTimeline and update related services 2025-03-14 13:53:58 +00:00
Simon Larsen
f466f453f4 feat: add migration for overridedByUserId field in OnCallDutyPolicyExecutionLogTimeline and update related service logging 2025-03-14 13:51:44 +00:00
Simon Larsen
4ad562d39a fix: correct markdown formatting in on-call policy notification message 2025-03-14 13:28:18 +00:00
Simon Larsen
960dc654cc feat: enhance incident feed with overridedByUser details and improve markdown formatting 2025-03-14 13:28:02 +00:00
Simon Larsen
dea4f07641 feat: add overridedByUser and overridedByUserId fields to OnCallDutyPolicyExecutionLogTimeline model and update UserNotificationRuleService to utilize these fields 2025-03-14 13:25:33 +00:00
Simon Larsen
c2851709b5 refactor: update titles for Twilio phone number fields to clarify primary and secondary distinctions 2025-03-14 13:15:35 +00:00
Simon Larsen
218e1a1fe3 refactor: clean up whitespace and formatting across multiple files 2025-03-14 13:10:47 +00:00
Simon Larsen
6ae61dfae5 feat: add overridedByUserId column and relation to UserOnCallLog model 2025-03-14 13:06:52 +00:00
Simon Larsen
5a68d91f31 feat: trim input phone number and allow Phone instance in constructor 2025-03-14 12:41:13 +00:00
Simon Larsen
ef8d3f6eeb feat: update Twilio phone number configuration to allow non-unique primary numbers and add secondary phone numbers 2025-03-14 12:40:03 +00:00
Simon Larsen
d645dc3f28 fix: correct country code extraction to use the proper substring length 2025-03-14 12:20:03 +00:00
Simon Larsen
a61f77d93f feat: enhance phone number selection logic for SMS and call services 2025-03-14 12:17:11 +00:00
Simon Larsen
8f057c11ed feat: update Twilio configuration to include primary and secondary phone numbers 2025-03-14 10:45:52 +00:00
Simon Larsen
c60ebfa962 Merge pull request #1850 from OneUptime/on-call-overrides
On call overrides
2025-03-13 23:53:20 +00:00
Simon Larsen
8e579cc459 refactor: improve code formatting and consistency in OnCallDutyPolicyUserOverrideService and related files 2025-03-13 23:52:08 +00:00
Simon Larsen
d9aa2da199 feat: replace generic error with BadDataException for start time validation in OnCallDutyPolicyUserOverrideService 2025-03-13 23:35:59 +00:00
Simon Larsen
edd64868fe feat: implement validation in OnCallDutyPolicyUserOverrideService for create operations 2025-03-13 23:32:25 +00:00
Simon Larsen
b3c13d9175 feat: remove name and description fields from OnCallDutyPolicyUserOverride model and update migration 2025-03-13 23:24:06 +00:00
Simon Larsen
bbd76f5b6c feat: add onBeforeCreate handler to set projectId and onCallDutyPolicyId in UserOverrideTable 2025-03-13 23:21:30 +00:00
Simon Larsen
7eb85c9601 feat: add form fields for user overrides in UserOverrideTable component 2025-03-13 23:18:07 +00:00
Simon Larsen
78059e1370 feat: update UserOverrideTable to differentiate between global and policy-specific overrides 2025-03-13 23:11:10 +00:00
Simon Larsen
e44097ce73 feat: integrate User Overrides service into BaseAPI and update SideMenu for navigation 2025-03-13 23:09:24 +00:00
Simon Larsen
dda5541088 feat: restructure UserOverride components for improved organization and functionality 2025-03-13 23:04:22 +00:00
Simon Larsen
9f5266037d refactor: clean up code formatting and improve readability in On-Call Duty components 2025-03-13 22:58:23 +00:00
Simon Larsen
850d8b242f feat: implement User Overrides feature with routing and UI components 2025-03-13 22:56:14 +00:00
Simon Larsen
4e2e1ddd9d feat: add ExecutionLogsTable component for managing On-Call Policy User Overrides 2025-03-13 22:45:39 +00:00
Simon Larsen
63ed6723b3 feat: add On-Call Duty Policy User Override migration and table schema 2025-03-13 22:24:14 +00:00
Simon Larsen
9d417c3634 feat: add On-Call Duty Policy User Override service and integrate into services index 2025-03-13 22:21:03 +00:00
Simon Larsen
6fa8390ab9 feat: implement On-Call Duty Policy User Override service and update permissions 2025-03-13 22:19:58 +00:00
Simon Larsen
5b287c12a5 feat: add new permissions for On-Call Duty Policy User Overrides 2025-03-13 22:15:08 +00:00
Simon Larsen
b2f10da32b feat: add Merch Store link to footer and navigation, and update README with store information 2025-03-13 19:30:05 +00:00
Simon Larsen
adcdf5c7a1 docs: update Docker Compose installation description for clarity 2025-03-13 15:26:14 +00:00
Simon Larsen
eada5c67c7 fix: correct file path in BlogAPI and BlogPost utility for static files 2025-03-13 15:21:48 +00:00
Simon Larsen
de919f3a44 refactor: standardize parameter syntax across AlertStateTimelineService, IncidentStateTimelineService, and ScheduledMaintenanceStateTimelineService 2025-03-12 22:53:42 +00:00
Simon Larsen
7f02675a38 feat: enhance default value handling in form components with improved getDefaultValue method 2025-03-12 22:50:03 +00:00
Simon Larsen
7cdb0e68a4 feat: update StateTimeline components to use 'startsAt' for sorting and default value handling 2025-03-12 22:39:44 +00:00
Simon Larsen
f38f9c4af9 refactor: standardize getDefaultValue method syntax across form components 2025-03-12 22:11:48 +00:00
Simon Larsen
9dfcb8babb feat: implement getDefaultValue method for form fields to enhance default value handling 2025-03-12 22:06:22 +00:00
Simon Larsen
5181417a69 refactor: enhance MonitorStatusTimelineService logic for status updates and deletions 2025-03-12 21:55:55 +00:00
Simon Larsen
807976fa67 feat: update MonitorStatusTimelineService to use 'startsAt' for deletion and sorting logic 2025-03-12 20:51:50 +00:00
Simon Larsen
a86391832e feat: add billing access control to WorkspaceNotificationRule model 2025-03-12 19:35:52 +00:00
Simon Larsen
f3daebb628 refactor: simplify Workspace Connections section in SideMenu components 2025-03-12 19:32:33 +00:00
Simon Larsen
0ed557036d fix: quote Slack app client ID in Helm chart template for proper formatting 2025-03-12 18:00:10 +00:00
Simon Larsen
7e4d634a6e fix: update description for "Starts At" field in timeline models for clarity 2025-03-12 16:32:36 +00:00
Simon Larsen
8e2bd01d53 feat: add "Starts At" field to StatusTimeline component with default value 2025-03-12 16:29:35 +00:00
Simon Larsen
87d0ce7e51 fix: update condition to display "Workspace Connections" section in SideMenu components 2025-03-12 15:53:29 +00:00
Simon Larsen
479201c100 refactor: clean up code formatting and improve readability in Slack and SideMenu components 2025-03-12 15:52:56 +00:00
Simon Larsen
2ea4653338 fix: update condition for displaying "Workspace Connections" section in side menus 2025-03-12 15:48:15 +00:00
Simon Larsen
3e230e96e8 feat: handle Slack app uninstall requests by deleting associated auth tokens 2025-03-12 15:45:09 +00:00
Simon Larsen
40c3108d40 feat: conditionally display "Workspace Connections" section based on project ID in side menus 2025-03-12 15:38:58 +00:00
Simon Larsen
d4702b887c fix: make scheduled maintenance title and labels optional in Slack actions 2025-03-12 15:33:05 +00:00
Simon Larsen
ded2d95ce5 fix: improve error handling for scheduled maintenance title in Slack actions 2025-03-12 15:08:13 +00:00
Simon Larsen
39c59f5625 feat: add "Workspace Connections" section to documentation with Slack integration details 2025-03-12 14:51:55 +00:00
Simon Larsen
fa576ae549 feat: add "On Call" section to documentation with phone number whitelist details 2025-03-12 14:45:17 +00:00
Simon Larsen
d5b0cf0b61 fix: update notifyUserId assignment in alert, incident, and scheduled maintenance services for consistency 2025-03-12 14:40:26 +00:00
Simon Larsen
fe5c165ce2 fix: refactor Slack incident and alert actions to use AccessTokenService for common interaction properties 2025-03-12 14:06:30 +00:00
Simon Larsen
7f44c7906a fix: add tenantId property to Slack alert, incident, and scheduled maintenance actions 2025-03-12 13:34:10 +00:00
Simon Larsen
0c5856de67 fix: add isRoot property to SlackIncidentActions for improved functionality 2025-03-12 13:23:23 +00:00
Simon Larsen
82c1cdb4f9 fix: update titles and add isRoot property in Slack alert and scheduled maintenance actions 2025-03-12 13:22:30 +00:00
Simon Larsen
cbf18e50ff fix: correct markdown formatting in ScheduledMaintenancePublicNoteService and ScheduledMaintenanceService 2025-03-12 13:13:20 +00:00
Simon Larsen
bd9126426c fix: correct formatting in AlertService and ScheduledMaintenanceService 2025-03-12 13:09:12 +00:00
Simon Larsen
7fc89e7500 refactor: improve code formatting and readability in Slack action files 2025-03-11 21:25:08 +00:00
Simon Larsen
ac2860de52 fix: adjust markdown formatting for alert and scheduled maintenance messages 2025-03-11 21:18:12 +00:00
Simon Larsen
d84c7c93a1 feat: add date handling for selected date time in Slack view processing 2025-03-11 21:15:15 +00:00
Simon Larsen
57a4b96eec fix: change datepicker to datetimepicker in Slack utility 2025-03-11 21:06:27 +00:00
Simon Larsen
690a33bd19 refactor: update labels and titles for scheduled maintenance to improve clarity 2025-03-11 21:05:39 +00:00
Simon Larsen
de5285800d fix: update usage hints for Slack commands to remove leading slashes 2025-03-11 20:57:27 +00:00
Simon Larsen
0feaf80fb0 feat: add start and end date time pickers for scheduled maintenance in Slack actions 2025-03-11 20:53:56 +00:00
Simon Larsen
3d9be4734c fix: correct formatting of 'Scheduled Maintenance' labels and error messages 2025-03-11 20:21:43 +00:00
Simon Larsen
8eab46f2d9 feat: add date time picker block support in Slack and Workspace utilities 2025-03-11 20:19:41 +00:00
Simon Larsen
517ab93aa5 refactor: improve code formatting and consistency across scheduled maintenance and notification services 2025-03-11 20:16:26 +00:00
Simon Larsen
cdd668dd0b feat: enhance notification messages with user details and scheduled maintenance references 2025-03-11 20:13:18 +00:00
Simon Larsen
da023071a4 refactor: improve code formatting and readability in scheduled maintenance services and Slack API 2025-03-11 19:12:14 +00:00
Simon Larsen
8918a94b3e feat: implement notification rule handling for scheduled maintenance owner teams and users 2025-03-11 19:08:33 +00:00
Simon Larsen
22ae2da8c5 feat: add start and end time display for scheduled maintenance notifications 2025-03-11 19:06:23 +00:00
Simon Larsen
fbb3cfb667 feat: implement scheduled maintenance notification handling for Slack and Microsoft Teams 2025-03-11 18:43:18 +00:00
Simon Larsen
8d21cb2924 feat: add handling for scheduled maintenance actions in Slack API 2025-03-11 18:20:10 +00:00
Simon Larsen
b4724992c0 feat: add scheduled maintenance message handling for Microsoft Teams and Slack 2025-03-11 18:19:13 +00:00
Simon Larsen
2e21763e3c feat: add methods for managing scheduled maintenance notes and states 2025-03-11 17:11:55 +00:00
Simon Larsen
a8abc66f9f refactor: clean up code formatting and remove unnecessary line breaks for consistency 2025-03-11 16:39:11 +00:00
Simon Larsen
9a2d5de087 feat: add logging for alert creation and user invitation checks in Slack 2025-03-11 16:34:17 +00:00
Simon Larsen
5b5d28e414 feat: add early return for empty notification rules in workspace notification service 2025-03-11 16:13:27 +00:00
Simon Larsen
773aafb0e5 feat: implement notification rules for alert owner teams and users 2025-03-11 16:11:50 +00:00
Simon Larsen
5b3fc5f16e feat: update notification rule title and description for clarity 2025-03-11 14:39:40 +00:00
Simon Larsen
9b4de2ea85 refactor: add missing commas in function parameters for consistency 2025-03-11 14:34:55 +00:00
Simon Larsen
c00725b868 feat: enhance alert notifications with alert numbers and state emojis 2025-03-11 14:32:46 +00:00
Simon Larsen
feb4b246c6 refactor: uncomment "Workspace Connections" section in side menus across multiple pages 2025-03-11 14:01:48 +00:00
Simon Larsen
22281b08cb refactor: clean up code formatting and improve consistency in action type definitions 2025-03-11 14:00:52 +00:00
Simon Larsen
b1dbdd6158 feat: implement alert creation messaging for Slack and Microsoft Teams 2025-03-10 22:54:01 +00:00
Simon Larsen
cbbf5a28f0 feat: add Microsoft Teams alert message creation with action buttons and types 2025-03-10 22:47:55 +00:00
Simon Larsen
1cb6cb8e0e feat: implement Slack alert message creation with action buttons 2025-03-10 22:41:34 +00:00
Simon Larsen
736bf46992 feat: add alert note functionality and enhance alert state service methods 2025-03-10 22:40:09 +00:00
Simon Larsen
0a6cc8df48 refactor: improve formatting and comments in SlackAPI for clarity 2025-03-10 22:20:35 +00:00
Simon Larsen
de77a8134c refactor: comment out Workspace Connections section in multiple SideMenu files 2025-03-10 22:18:00 +00:00
Simon Larsen
babcd30b67 feat: update Slack API to remove trailing slash from server URL and adjust manifest placeholder 2025-03-10 22:09:32 +00:00
Simon Larsen
55d8488b45 feat: update Slack app manifest to use dynamic server URL and remove example manifest 2025-03-10 22:07:33 +00:00
Simon Larsen
3ace9e2bf9 fix: update action IDs for incident message buttons to use view actions 2025-03-10 22:00:15 +00:00
Simon Larsen
ce80e6c487 feat: add error handling and logging for workspace rules in UserNotificationRuleService 2025-03-10 21:51:58 +00:00
Simon Larsen
54bd349a6e refactor: clean up code formatting and improve readability in multiple files 2025-03-10 21:23:34 +00:00
Simon Larsen
dd420ae898 feat: implement notification for users unable to join channels due to disconnected accounts in WorkspaceNotificationRuleService 2025-03-10 21:05:40 +00:00
Simon Larsen
a498f2df86 feat: add logging for channel IDs in message sending process in WorkspaceNotificationRuleService 2025-03-10 21:03:17 +00:00
Simon Larsen
babb2dc222 fix: correct typo in projectOrUserAuthTokenForWorkspace parameter in postToWorkspaceChannels method 2025-03-10 20:56:23 +00:00
Simon Larsen
c47bb1b2a1 feat: enhance logging for notification rules and channel creation in IncidentOwnerTeamService and WorkspaceNotificationRuleService 2025-03-10 20:34:08 +00:00
Simon Larsen
1fbc58a9a8 fix: simplify channel creation logic in WorkspaceNotificationRuleService 2025-03-10 20:00:46 +00:00
Simon Larsen
d6be47f711 fix: update FormField and Radio components to use 'value' prop and enhance null safety in NotificationRuleViewElement 2025-03-10 19:51:49 +00:00
Simon Larsen
7a9fc86c34 feat: enhance Slack API with user direct message channel check and improve error handling 2025-03-10 19:34:16 +00:00
Simon Larsen
4326a09e36 refactor: streamline alert service methods and improve code formatting 2025-03-10 18:46:00 +00:00
Simon Larsen
4a18759f8d feat: implement workspace notification rules for alert and incident channels 2025-03-10 18:43:23 +00:00
Simon Larsen
cb81343289 refactor: improve code readability by standardizing formatting and indentation in notification rule service and utility 2025-03-10 17:47:22 +00:00
Simon Larsen
680e784fc4 refactor: clean up code formatting and remove unnecessary whitespace in various files 2025-03-10 17:45:56 +00:00
Simon Larsen
ed767465cd refactor: update import statements for NotificationRuleWorkspaceChannel to use default import 2025-03-10 17:36:45 +00:00
Simon Larsen
fac2911864 fix: add debug logging for cases with no channels to invite based on notification rules 2025-03-10 11:44:14 +00:00
Simon Larsen
ee87266ad9 feat: implement notification rules for inviting teams and users to incident channels 2025-03-10 11:42:55 +00:00
Simon Larsen
f089e9d10b refactor: remove unused import of WorkspaceChannel from ScheduledMaintenance model 2025-03-10 11:19:03 +00:00
Simon Larsen
e03d5cb45c refactor: remove unused WorkspaceChannel imports from Alert, Incident, and IncidentWorkspaceMessages 2025-03-10 11:17:39 +00:00
Simon Larsen
bed21d9ce2 feat: introduce NotificationRuleWorkspaceChannel interface and update related services to use it 2025-03-10 11:14:17 +00:00
Simon Larsen
3e37024104 feat: update NotificationRuleConditionElement to render values in a span and simplify return structure 2025-03-10 11:03:41 +00:00
Simon Larsen
138ee1554e feat: normalize channel name by removing leading '#' and converting to lowercase 2025-03-10 11:03:26 +00:00
Simon Larsen
167e724ce0 feat: update NotificationRuleCondition to support array values and add 'Contains' condition type 2025-03-10 10:35:23 +00:00
Simon Larsen
be704b04ac feat: add debug logging for notification rule retrieval and matching process 2025-03-10 09:53:30 +00:00
Simon Larsen
fa055b13c6 feat: add optional property to monitor status block in SlackIncidentActions 2025-03-10 09:32:09 +00:00
Simon Larsen
920b51054e feat: add optional property to input blocks and update callback IDs in app manifest 2025-03-10 09:28:56 +00:00
Simon Larsen
712f64a369 fix: streamline response handling in SlackIncidentActions by removing redundant response calls 2025-03-08 12:15:35 +00:00
Simon Larsen
8977c7a5b2 refactor: update viewValues type to support array values in SlackAuthAction and SlackUtil 2025-03-08 12:11:01 +00:00
Simon Larsen
32383524ea refactor: clean up whitespace and improve code formatting in Slack-related files 2025-03-08 11:25:03 +00:00
Simon Larsen
27a7b57f3f feat: update incident modal to use text box for title and enhance response handling 2025-03-07 20:22:25 +00:00
Simon Larsen
b5e6ed087f feat: add multi-select option to dropdown block and new incident slash command 2025-03-07 15:07:51 +00:00
Simon Larsen
7e016b54f5 fix: add command check to payload validation in SlackAuthAction 2025-03-07 14:00:34 +00:00
Simon Larsen
74b744d92e refactor: remove unused command fields and enhance payload handling in SlackAuthAction 2025-03-07 13:58:04 +00:00
Simon Larsen
ca9dbbd65f feat: enhance Slack authorization to support additional payload fields and improve request handling 2025-03-07 13:52:59 +00:00
Simon Larsen
0de9f4bb89 feat: update Slack slash commands to create incidents and scheduled maintenance 2025-03-07 13:37:50 +00:00
Simon Larsen
1837f6b6f6 refactor: clean up code formatting and improve readability in Slack authorization and integration components 2025-03-07 13:23:58 +00:00
Simon Larsen
764c9b4e0e refactor: enhance Slack request authorization logic and add raw body middleware for form data 2025-03-07 13:22:56 +00:00
Simon Larsen
ffb17f01c6 fix: correct Slack integration condition to display documentation when client ID is absent 2025-03-06 13:55:35 +00:00
Simon Larsen
4be249ee9c refactor: update Slack integration documentation formatting and logic for display condition 2025-03-06 13:41:37 +00:00
Simon Larsen
8b929eb5ec feat: add Slack integration documentation component and update SlackIntegration to display it when not connected 2025-03-06 13:39:23 +00:00
Simon Larsen
ed345a1569 refactor: simplify incident creation flow by removing promise chaining for message blocks retrieval 2025-03-06 13:27:27 +00:00
Simon Larsen
bb2779f095 refactor: simplify incident creation logic by chaining promise for message blocks retrieval 2025-03-06 13:23:49 +00:00
Simon Larsen
c2741a9436 refactor: enhance markdown formatting for user links in on-call duty policy notifications 2025-03-06 13:20:55 +00:00
Simon Larsen
2b75c6bb6a refactor: streamline user retrieval and markdown formatting in incident and scheduled maintenance services 2025-03-06 13:12:17 +00:00
Simon Larsen
5209f4c8b1 refactor: improve formatting and readability of user markdown string in alert and incident services 2025-03-06 13:07:43 +00:00
Simon Larsen
77f19241ff feat: update user identification in alerts and incidents to use markdown format for better readability 2025-03-06 13:04:31 +00:00
Simon Larsen
fbbcee1633 fix: specify error type in loadPage catch block for improved type safety 2025-03-06 12:44:29 +00:00
Simon Larsen
f868737dda feat: add getUserLinkInDashboard method and integrate RemoveUserFromProject component in UserView 2025-03-06 12:41:34 +00:00
Simon Larsen
a4c50c0a76 feat: add RemoveUserFromProject component with confirmation modal and error handling 2025-03-06 12:24:46 +00:00
Simon Larsen
eb2981a0c2 feat: enhance UserView to load user details and display profile picture with error handling 2025-03-06 12:10:30 +00:00
Simon Larsen
40481981b0 refactor: clean up code formatting and remove unnecessary whitespace in various components 2025-03-05 22:12:12 +00:00
Simon Larsen
1fe8d00807 feat: add filter applied state to Users component and update no items message accordingly 2025-03-05 22:08:25 +00:00
Simon Larsen
4e8ee6aeec feat: add user invitation modal and update user list message in Teams component 2025-03-05 21:59:29 +00:00
Simon Larsen
068b44a668 fix: handle errors in ProjectUserService refresh calls and correct UserView descriptions 2025-03-05 21:42:31 +00:00
Simon Larsen
e284aae226 feat: add profile picture field to UserView and adjust user ID display 2025-03-05 21:35:32 +00:00
Simon Larsen
6272f55500 fix: update project ID retrieval in Team component and clear singular/plural names in UserView 2025-03-05 21:33:34 +00:00
Simon Larsen
af5f2db9ad feat: add singular and plural names for teams in UserView component 2025-03-05 21:30:45 +00:00
Simon Larsen
92f9b4c81f fix: clean up code formatting and improve readability in various files 2025-03-05 21:30:04 +00:00
Simon Larsen
0340e5d9fd feat: add migration for ProjectUser and related team associations 2025-03-05 21:16:48 +00:00
Simon Larsen
d295644812 feat: refactor Users settings page to use ModelTable for ProjectUser and enhance user listing 2025-03-05 21:14:51 +00:00
Simon Larsen
2a752213cf feat: add BaseAPI route for ProjectUser model and service 2025-03-05 20:45:09 +00:00
Simon Larsen
11c2bb0e42 feat: add ProjectUser model and refresh logic for project users in services and migrations 2025-03-05 20:43:32 +00:00
Simon Larsen
3cace9cf3a feat: enhance Teams page with pagination test data for user listings 2025-03-05 20:23:07 +00:00
Simon Larsen
8ccbc3be61 feat: add user settings and view routes, update side menu for users and teams 2025-03-05 19:36:07 +00:00
Simon Larsen
3f0e518024 fix: improve markdown formatting for incident notes and notifications 2025-03-05 15:55:46 +00:00
Simon Larsen
77c6391aee fix: correct spacing in incident state change message formatting 2025-03-05 13:13:56 +00:00
Simon Larsen
4ec707f571 feat: implement Teams page with user listing and team associations 2025-03-05 13:11:23 +00:00
Simon Larsen
baef15be23 feat: update incident state emojis and improve Slack message formatting 2025-03-05 12:34:39 +00:00
Simon Larsen
8e4cda6556 fix: standardize team mention formatting in alert and incident notifications 2025-03-04 23:00:32 +00:00
Simon Larsen
d131befbac feat: add logging for incident states and dropdown options in Slack actions 2025-03-04 22:58:36 +00:00
Simon Larsen
fea31e7251 fix: update incident creation message header level for better formatting 2025-03-04 22:40:32 +00:00
Simon Larsen
e50af261d4 feat: enhance incident notification messages with emojis for better visibility 2025-03-04 22:39:49 +00:00
Simon Larsen
4aa953b886 style: improve code formatting and consistency across incident-related files 2025-03-04 22:27:22 +00:00
Simon Larsen
a0bccc0bf4 fix: disable workspace notifications for incident-related messages and enhance feed info formatting 2025-03-04 22:19:38 +00:00
Simon Larsen
54aa8cf857 feat: add actions for changing incident state in Slack integration 2025-03-04 21:52:45 +00:00
Simon Larsen
b6a4bf29af fix: update placeholder text for Microsoft Teams integration to improve clarity 2025-03-04 21:47:25 +00:00
Simon Larsen
f9d54bcf23 refactor: improve code formatting and consistency in Microsoft Teams integration components 2025-03-04 21:24:34 +00:00
Simon Larsen
ee1bf5b39b feat: add Microsoft Teams integration page and update routing in user settings 2025-03-04 21:19:47 +00:00
Simon Larsen
79083b4a28 feat: add Microsoft Teams integration settings to the dashboard 2025-03-04 20:51:48 +00:00
Simon Larsen
a375990ad8 feat: add placeholder for Microsoft Teams integration settings page 2025-03-04 20:48:10 +00:00
Simon Larsen
915e48b62a refactor: improve code formatting and consistency across various components 2025-03-04 20:46:57 +00:00
Simon Larsen
44f0c09d61 feat: add Microsoft Teams workspace connection support in alerts and incidents 2025-03-04 20:44:19 +00:00
Simon Larsen
c7364ca2b8 refactor: clean up code formatting and remove unnecessary whitespace in various files 2025-03-04 20:26:45 +00:00
Simon Larsen
cdc0ffa204 feat: add Slack workspace connection to Scheduled Maintenance Events and update routing and breadcrumbs 2025-03-04 20:24:39 +00:00
Simon Larsen
194cfd0457 feat: add Slack workspace connection page and update routing and breadcrumbs 2025-03-04 20:20:55 +00:00
Simon Larsen
55470e0451 feat: add Slack workspace connection pages for alerts and scheduled maintenance notifications 2025-03-04 20:18:29 +00:00
Simon Larsen
cf4e2983b6 refactor: remove unnecessary early response in SlackIncidentActions 2025-03-04 20:15:23 +00:00
Simon Larsen
a72052bf90 feat: add Slack workspace connection page and integrate connection status handling 2025-03-04 18:00:32 +00:00
Simon Larsen
dc1a077f54 refactor: simplify markdown handling in IncidentFeedService and enhance null safety in SlackAuthAction 2025-03-04 17:30:10 +00:00
Simon Larsen
5e4526695a refactor: update button titles in Slack incident messages to include emojis for enhanced visibility 2025-03-04 17:18:57 +00:00
Simon Larsen
04dd043f7c refactor: update button titles in Slack incident messages to use emoji for better visibility 2025-03-04 17:17:45 +00:00
Simon Larsen
de023ef593 refactor: remove unused import for WorkspaceCheckboxBlock in Incident actions 2025-03-04 16:50:16 +00:00
Simon Larsen
6b03609bb2 refactor: update incident state handling and improve modal interaction 2025-03-04 16:47:37 +00:00
Simon Larsen
3ea08e1462 refactor: rename incident state action types for clarity and implement state change modal handling 2025-03-04 16:40:35 +00:00
Simon Larsen
6bd82af652 refactor: rename action types for clarity and update related methods in SlackIncidentActions 2025-03-04 16:33:43 +00:00
Simon Larsen
1f17a11ca0 refactor: improve clarity of feedInfoInMarkdown for owner team and user events 2025-03-04 16:15:03 +00:00
Simon Larsen
5c38ed72bb refactor: update feedInfoInMarkdown for owner team and user events to improve clarity 2025-03-04 16:14:07 +00:00
Simon Larsen
060b2dfbab refactor: enhance incident services with new note handling and user notification improvements 2025-03-04 16:10:48 +00:00
Simon Larsen
635c1ee8ad refactor: enhance user notification handling and add utility for fetching usernames from workspace 2025-03-04 14:28:14 +00:00
Simon Larsen
72bdb2bd7e refactor: improve code formatting by adding whitespace for visibility checks in notification services 2025-03-04 14:10:49 +00:00
Simon Larsen
a616f38b6f refactor: add visibility checks for notifications in various services to ensure only visible incidents and events are sent to subscribers 2025-03-04 12:35:00 +00:00
Simon Larsen
847296798d refactor: enhance logging for Slack API and IncidentService, improve code formatting and readability 2025-03-04 12:10:47 +00:00
Simon Larsen
0acee70580 refactor: enhance code formatting and readability in IncidentService.ts 2025-03-03 21:28:18 +00:00
Simon Larsen
57100bf5db refactor: improve import formatting for consistency in Workspace.ts 2025-03-03 21:21:08 +00:00
Simon Larsen
65b4ede27e refactor: improve code readability by adding whitespace and consistent formatting in IncidentFeedService and WorkspaceUtil 2025-03-03 21:14:43 +00:00
Simon Larsen
a080b09cdc refactor: add type annotations for better clarity and consistency in IncidentFeedService and WorkspaceUtil 2025-03-03 21:11:49 +00:00
Simon Larsen
f9674fc376 refactor: standardize formatting and clean up workspace notification objects across incident services 2025-03-03 21:08:59 +00:00
Simon Larsen
5410bea3d8 refactor: remove unused imports and clean up Slack action files 2025-03-03 20:58:31 +00:00
Simon Larsen
d5babfd42d feat: add workspace notification support across incident notification services 2025-03-03 20:51:50 +00:00
Simon Larsen
a97c4f5200 refactor: rename createAlertFeed and createIncidentFeed methods to createAlertFeedItem and createIncidentFeedItem for consistency 2025-03-03 19:53:33 +00:00
Simon Larsen
c5c09ef3f0 refactor: clean up whitespace and improve code formatting in Slack action files 2025-03-03 18:34:52 +00:00
Simon Larsen
9736a5ddea refactor: remove unused incidentId assignment and clean up modal configuration in Slack incident actions 2025-02-28 23:35:23 +00:00
Simon Larsen
fbddf4ef18 feat: streamline modal handling in Slack integration by generating modal JSON and removing unused properties 2025-02-28 23:28:49 +00:00
Simon Larsen
b4418c36e2 feat: add triggerId to Slack request and enhance modal handling for incident notes 2025-02-28 23:21:57 +00:00
Simon Larsen
d4dfa0a5ff refactor: clean up code formatting and remove unnecessary whitespace in various files 2025-02-28 22:56:13 +00:00
Simon Larsen
8139e48cff feat: enhance Slack incident notifications with emoji indicators for acknowledgment and resolution 2025-02-28 22:50:50 +00:00
Simon Larsen
6185d8f502 feat: implement incident resolution checks and enhance Slack notifications for resolved incidents 2025-02-28 22:49:33 +00:00
Simon Larsen
bf1ea21079 feat: add user visibility and direct messaging functionality in Slack integration 2025-02-28 22:33:42 +00:00
Simon Larsen
fda5d690e0 fix: add newline for better formatting in root cause message of Slack incident 2025-02-28 20:49:35 +00:00
Simon Larsen
f05a9cd292 Merge branch 'master' into workspace-slack 2025-02-28 20:43:32 +00:00
Simon Larsen
0dd5cb063b fix: remove unnecessary whitespace and improve code formatting in UserOnCallLogTimelineAPI 2025-02-28 20:31:49 +00:00
Simon Larsen
53f953a408 feat: enhance acknowledgment handling with detailed view message page 2025-02-28 20:29:56 +00:00
Simon Larsen
af64f200f8 fix: remove unnecessary text color class from acknowledgment button 2025-02-28 19:56:27 +00:00
Simon Larsen
7e253c5b1a refactor: clean up code formatting and improve readability in UserOnCallLogTimelineAPI 2025-02-28 19:55:06 +00:00
Simon Larsen
fc367b5d75 fix: update acknowledgment link styling and improve clarity in notification form 2025-02-28 13:34:58 +00:00
Simon Larsen
5349ac95fe docs: add clarification comments for acknowledgment page logic 2025-02-28 13:24:09 +00:00
Simon Larsen
4fce79f893 fix: update acknowledge route to acknowledge-page for clarity 2025-02-28 13:23:31 +00:00
Simon Larsen
d0333ca131 feat: add acknowledge page for user on-call notifications 2025-02-28 13:22:12 +00:00
Simon Larsen
7da4e7cca0 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-02-28 10:54:33 +00:00
Simon Larsen
27fc0d0548 refactor: format debug logging statements for improved readability 2025-02-28 10:54:30 +00:00
Simon Larsen
9ceb08c1f6 feat: enhance logging for status page subscription process 2025-02-28 10:47:25 +00:00
Simon Larsen
21a3163c65 feat: refactor Slack action handling to support multiple actions and improve payload structure 2025-02-28 10:29:08 +00:00
Simon Larsen
044aa8b5cd feat: add detailed logging for Slack request authorization and handle payload parsing 2025-02-27 17:30:18 +00:00
Simon Larsen
731bc0d018 refactor: comment out unused code and improve readability in SlackAuthorization middleware 2025-02-27 17:24:21 +00:00
Simon Larsen
4b3ce59255 feat: enhance Slack authorization middleware with detailed logging for request validation 2025-02-27 17:13:59 +00:00
Simon Larsen
e111bc4152 feat: add handling for view incident action and improve error response for invalid action types in SlackIncidentActions 2025-02-27 17:13:05 +00:00
Simon Larsen
5e641fa297 feat: add incident notification functionality for workspace creation in Slack 2025-02-27 17:06:50 +00:00
Simon Larsen
3c6a8ef4a1 refactor: improve code formatting and readability in WorkspaceNotificationRuleService and SlackIncidentActions 2025-02-27 16:41:37 +00:00
Simon Larsen
27cac6ccb5 feat: update Slack action types and enhance incident model with new workspace message handling 2025-02-27 16:38:05 +00:00
Simon Larsen
ac32509aeb Merge pull request #1842 from anxuanzi/master
Add status command to agent and cleanup code
2025-02-27 15:06:05 +00:00
Tony An
c77cb8cd19 ⬆️ Update dependencies and bump Go version
Updated various dependencies in `go.mod` and `go.sum` to their latest versions, including `golang.org/x/sys`, `github.com/go-co-op/gocron`, and more. Increased the Go version to 1.23.0 and added toolchain specification for Go 1.24.0. These updates improve compatibility, security, and maintainability.
2025-02-27 08:54:28 -06:00
Tony An
39c8acc720 🗑️ Refactor service structure for improved code clarity
Renamed the program struct to agentService and updated related methods and variables for consistency. This enhances readability and aligns naming conventions with the underlying functionality. Minor adjustments made to configuration handling and formatting for better maintainability.
2025-02-27 08:52:46 -06:00
Tony An
a4420a06c1 🗑️ Refactor error handling for configuration checks.
Removed redundant error checks and streamlined logic for verifying service configuration. This simplifies the code and avoids duplicate error handling, improving maintainability.
2025-02-27 08:48:11 -06:00
Tony An
6ba0768366 Add status command to check service state
Introduced a new `status` command to display the service state (running, stopped, or unknown). Improved user feedback by logging the status and handling potential errors during the status check.
2025-02-27 08:47:17 -06:00
Simon Larsen
d4a6ec94e3 feat: add incident acknowledgment and resolution functionality in SlackAPI and IncidentService 2025-02-26 22:42:51 +00:00
Simon Larsen
882c19a169 feat: implement Slack action types and update incident service to use them 2025-02-26 22:34:22 +00:00
Simon Larsen
1e198f3637 feat: add workspaceSendMessageResponse field to Incident model and related migrations 2025-02-26 20:38:25 +00:00
Simon Larsen
01624646f2 refactor: uncomment workspace connections sections in side menus 2025-02-26 16:29:14 +00:00
Simon Larsen
b74d8b79e1 refactor: comment out workspace connections sections in side menus 2025-02-26 16:28:24 +00:00
Simon Larsen
566b4cfdde feat: add JSON input argument for manual workflow execution 2025-02-26 15:07:46 +00:00
Simon Larsen
e9cb8e1604 feat: add support for manual workflow execution arguments in various components 2025-02-26 15:06:45 +00:00
Simon Larsen
cf7c39d96c feat: improve error handling in manually run workflow API by adding try-catch block 2025-02-26 13:16:23 +00:00
Simon Larsen
4738f8f930 feat: enhance error handling in workflow execution by introducing HTTP response type checks 2025-02-26 13:16:05 +00:00
Simon Larsen
390a4cbbf0 feat: implement channel joining functionality and enhance channel name retrieval in Slack utility methods 2025-02-25 22:20:55 +00:00
Simon Larsen
4bbbb9b473 feat: enhance Slack integration with new user invitation methods and bot user ID retrieval 2025-02-25 19:49:44 +00:00
Simon Larsen
482c7c142e feat: expand bot permissions in Slack app manifest for enhanced functionality 2025-02-25 18:56:59 +00:00
Simon Larsen
9d581fc176 feat: update Slack app manifest to refine user and bot scopes 2025-02-25 17:07:19 +00:00
Simon Larsen
d680d09dc6 feat: add response validation and error logging in Slack utility methods 2025-02-25 16:33:24 +00:00
Simon Larsen
1ab55e1c19 refactor: streamline API request headers in Slack utility methods for improved readability 2025-02-25 16:30:42 +00:00
Simon Larsen
427514ceb3 feat: add detailed debug logging to Slack utility methods for improved traceability 2025-02-25 16:21:26 +00:00
Simon Larsen
e443288074 refactor: format debug logging statements in WorkspaceNotificationRuleService for consistency 2025-02-25 16:08:53 +00:00
Simon Larsen
d14686a288 feat: enhance logging in WorkspaceNotificationRuleService for better traceability 2025-02-25 16:00:37 +00:00
Simon Larsen
f1b08dab84 feat: add detailed logging to WorkspaceNotificationRuleService methods 2025-02-25 15:24:32 +00:00
Simon Larsen
74a73411ed feat: add workspaceType to the service model properties in WorkspaceProjectAuthTokenService 2025-02-25 15:19:32 +00:00
Simon Larsen
ab76ecd04f fix: uncomment and restore workspace notification logic in IncidentService 2025-02-25 14:59:38 +00:00
Simon Larsen
5816be7041 feat: add placeholder and conditional display logic for new channel creation in NotificationRuleViewElement 2025-02-25 14:49:32 +00:00
Simon Larsen
300bbbc326 fix: uncomment Workspace Connections section in SideMenu components 2025-02-25 13:20:57 +00:00
Simon Larsen
9c76bd283d fix: correct spelling of 'oneuptime' in various files 2025-02-25 13:10:04 +00:00
Simon Larsen
cb263de054 fix: initialize cardbuttons array with props.cardButtons if available 2025-02-25 12:25:01 +00:00
Simon Larsen
06f3ba40dc refactor: clean up code formatting in OnCallPolicyExecutionLogs components 2025-02-24 21:32:15 +00:00
Simon Larsen
f5febd029a fix: update incidentId to alertId in OnCallPolicyExecutionLogs component 2025-02-24 21:28:36 +00:00
Simon Larsen
09fde3a29b feat: add On Call Policy Execution Logs pages and update breadcrumbs and routes 2025-02-24 21:26:28 +00:00
Simon Larsen
e628968b97 feat: add triggeredByUserId to OnCallDutyPolicyExecutionLog and update related services and migrations 2025-02-24 21:18:03 +00:00
Simon Larsen
12b31ca237 feat: add on-call policy execution modal to Alert and Incident feeds 2025-02-24 21:15:58 +00:00
Simon Larsen
f2de1695f5 feat: add triggeredByUserId to OnCallDutyPolicyExecutionLog and create permission for log creation 2025-02-24 20:54:04 +00:00
Simon Larsen
ef8c36d176 fix: improve string concatenation for log messages in workflow services 2025-02-24 18:49:39 +00:00
Simon Larsen
2ea10bfbdd feat: enhance date formatting options to include seconds in logs 2025-02-24 18:45:46 +00:00
Simon Larsen
4dcd691ef7 fix: add missing semicolons in WebhookTrigger class methods 2025-02-24 18:33:53 +00:00
Simon Larsen
61ff89af8f fix: add error handling to webhook trigger routes 2025-02-24 18:33:24 +00:00
Simon Larsen
35b3dbfd8b refactor: clean up code formatting and improve readability in StatusPageAPI, MasterPage, and NavBar components 2025-02-24 18:07:19 +00:00
Simon Larsen
9174a04795 feat: implement conditional fetching for incidents, announcements, and scheduled maintenance events based on status page settings 2025-02-24 18:06:13 +00:00
Simon Larsen
4a80b1c8fd feat: add showIncidentsOnStatusPage, showAnnouncementsOnStatusPage, and showScheduledMaintenanceEventsOnStatusPage props to StatusPage components 2025-02-24 18:00:17 +00:00
Simon Larsen
95c2bee9a9 feat: add toggle fields for showIncidentsOnStatusPage, showAnnouncementsOnStatusPage, and showScheduledMaintenanceEventsOnStatusPage in StatusPage settings 2025-02-24 17:51:13 +00:00
Simon Larsen
3d0f0a62fe feat: add showIncidentsOnStatusPage, showAnnouncementsOnStatusPage, and showScheduledMaintenanceEventsOnStatusPage fields to StatusPage model 2025-02-24 17:48:23 +00:00
Simon Larsen
b23af6c6a9 feat: add validation for startDate and endDate in uptime API and implement worst status calculation 2025-02-24 17:42:02 +00:00
Simon Larsen
434305acc9 feat: enhance uptime API to support startDate and endDate parameters and update response structure 2025-02-24 17:13:55 +00:00
Simon Larsen
a225314c65 refactor: update getMonitorStatusTimelineForStatusPage to use startDate and endDate parameters 2025-02-24 16:18:50 +00:00
Simon Larsen
a8e20574c7 Merge branch 'sp-api' 2025-02-22 17:26:22 +00:00
Simon Larsen
c667fddc64 chore: update Node.js base image to version 23.8 in Dockerfile templates 2025-02-21 22:38:02 +00:00
Simon Larsen
c2ce1ea140 feat: add server monitor ingest hostname and port to Helm chart configuration 2025-02-21 21:35:49 +00:00
Simon Larsen
8b1680fab5 fix: rename package from probe-ingest to server-monitor-ingest in package.json 2025-02-21 20:31:06 +00:00
Simon Larsen
fe64380384 feat: add server monitor ingest service with Docker and configuration updates 2025-02-21 20:23:27 +00:00
Simon Larsen
449a1db573 feat: add visibility flag for status page in StatusPageAPI 2025-02-21 19:34:33 +00:00
Simon Larsen
e4c05c09f0 refactor: clean up code formatting and improve readability in Incident and ScheduledMaintenance models 2025-02-21 19:29:04 +00:00
Simon Larsen
d4107e049f feat: add settings page for scheduled maintenance events with visibility control 2025-02-21 19:28:10 +00:00
Simon Larsen
3811f9648c feat: add settings page for incident management and visibility control 2025-02-21 19:14:05 +00:00
Simon Larsen
f4415dafc7 feat: add TLS configuration to MailService for handling unauthorized certificates 2025-02-20 19:20:01 +00:00
Simon Larsen
30940991e0 feat: add endpoint to calculate uptime percentage for status page resources 2025-02-20 19:07:45 +00:00
Simon Larsen
a6d3047007 refactor: comment out workspace connections sections in side menus 2025-02-20 14:05:40 +00:00
Simon Larsen
2ae0d139ea refactor: simplify WorkflowTimeoutInMs declaration in EnvironmentConfig 2025-02-20 14:02:49 +00:00
Simon Larsen
1507583cf3 feat: add workflow timeout configuration and update related files 2025-02-20 14:00:28 +00:00
Simon Larsen
310e1b764c fix: log complete request body instead of just code in VM sandbox execution 2025-02-20 13:51:40 +00:00
Simon Larsen
1d7a25f2bb refactor: clean up code formatting and remove unnecessary whitespace in various files 2025-02-14 21:46:02 +00:00
Simon Larsen
3bc89a8cae feat: add migration to update postUpdatesToWorkspaceChannels column type to JSONB in Incident, Alert, and ScheduledMaintenance tables 2025-02-14 21:43:06 +00:00
Simon Larsen
ff54b5a26c feat: add notification event type support in WorkspaceNotificationRuleService and update NotificationRuleForm validation 2025-02-14 21:41:46 +00:00
Simon Larsen
07b9f38e90 feat: enhance Notification Rule form to support new channel template name and improve validation messages for existing channels 2025-02-14 19:45:40 +00:00
Simon Larsen
f612940668 feat: update Alert, Incident, and ScheduledMaintenance models to support multiple workspace channels and change column types to JSON 2025-02-14 18:35:44 +00:00
Simon Larsen
6046bda443 feat: update WorkspaceNotificationRuleService to return created channels and enhance WorkspaceChannel interface 2025-02-14 17:53:40 +00:00
Simon Larsen
cd97a72ef2 refactor: clean up whitespace and improve formatting in workspace utility classes 2025-02-14 17:51:05 +00:00
Simon Larsen
c20fbcc7a4 fix: correct spelling errors in comments and update variable names for clarity 2025-02-14 17:27:27 +00:00
Simon Larsen
f22e410860 feat: implement MicrosoftTeams workspace utility and enhance notification rule interfaces 2025-02-14 16:28:02 +00:00
Simon Larsen
3059ca848e refactor: reorganize Slack utility imports and introduce CreateChannelNotificationRule interface 2025-02-14 15:50:20 +00:00
Simon Larsen
ce8b8c3b58 refactor: update import path for IncidentNotificationRule to improve module organization 2025-02-14 13:13:29 +00:00
Simon Larsen
78846a3f95 refactor: improve code formatting and add documentation for non-HTTP methods in API reference 2025-02-14 13:12:44 +00:00
Simon Larsen
994f329a49 fix: update example API request URLs to use dynamic ID placeholders 2025-02-14 13:00:44 +00:00
Simon Larsen
d621df58cd refactor: remove obsolete migration file and clean up Slack utility code 2025-02-14 12:48:26 +00:00
Simon Larsen
0e0ccd9651 refactor: update method visibility and improve naming consistency in notification rule conditions 2025-02-14 12:36:54 +00:00
Simon Larsen
cc0adea216 refactor: remove unnecessary blank line in BaseAPI 2025-02-14 12:30:08 +00:00
Simon Larsen
8ec0825a52 feat: add update and delete item routes to BaseAPI and improve monitor ID handling in WorkspaceNotificationRuleService 2025-02-14 12:26:47 +00:00
Simon Larsen
4d083f9663 feat: refactor notification rule service to support new notification rule types and improve channel handling 2025-02-14 12:16:02 +00:00
Simon Larsen
81b3795b1c feat: update migration and interfaces to rename Slack channel references to Workspace channel for consistency 2025-02-14 09:58:10 +00:00
Simon Larsen
74cf9ae184 feat: rename Slack channel references to Workspace channel for consistency across models 2025-02-12 17:58:29 +00:00
Simon Larsen
9ba4c0bfdd feat: implement validation for notification rule form inputs to enhance user experience 2025-02-12 17:49:07 +00:00
Simon Larsen
85e83c6822 feat: rename inviteOwnersToNewChannel to shouldInviteOwnersToNewChannel for clarity and update NotificationRuleForm to include new toggle option 2025-02-12 17:33:05 +00:00
Simon Larsen
65eedde511 feat: reintroduce AlertNotificationRule interface and update NotificationRuleForm to support new channel creation and user invitations 2025-02-12 17:29:46 +00:00
Simon Larsen
7d45056ae4 feat: update notification rule form to support dynamic workspace type for channel creation and user invitations 2025-02-12 17:16:52 +00:00
Simon Larsen
f2db382087 feat: introduce new notification rule types for monitor status, alerts, and scheduled maintenance with updated logic for channel management 2025-02-12 17:14:18 +00:00
Simon Larsen
3e99783119 feat: add migration to rename Slack channel ID columns to channel name for improved clarity 2025-02-12 15:36:20 +00:00
Simon Larsen
de6bbbee8c feat: rename Slack channel ID references to channel name and update related logic for improved clarity 2025-02-12 15:35:17 +00:00
Simon Larsen
0309c2d7e8 feat: enhance Slack notification rule handling by adding channel creation logic and user invitation functionality 2025-02-12 14:23:33 +00:00
Simon Larsen
1c9bb0605b feat: update notification rule conditions and enhance incident service methods for improved clarity and functionality 2025-02-12 13:58:03 +00:00
Simon Larsen
b8b98be7a0 feat: rename WorkspacePayloadBlock to WorkspaceMessageBlock and update related methods in WorkspaceNotificationRuleService 2025-02-11 19:20:53 +00:00
Simon Larsen
6c037b0996 feat: rename WorkspaceNotificationPayload to WorkspaceMessagePayload and update related services 2025-02-11 17:49:29 +00:00
Simon Larsen
326b60c260 feat: enhance Slack notification payload structure and improve incident service methods 2025-02-11 17:17:03 +00:00
Simon Larsen
e13ab0b214 feat: implement getWorkspacePayloadForIncidentCreate method and enhance Slack notification payload structure 2025-02-11 16:25:16 +00:00
Simon Larsen
01f8a27dd2 feat: add postUpdatesToSlackChannelId field to Alert, Incident, and ScheduledMaintenance models for Slack integration 2025-02-11 15:51:52 +00:00
Simon Larsen
081029b49a feat: add postUpdatesToSlackChannelId field to Alert, Incident, and ScheduledMaintenance models for Slack integration 2025-02-11 13:57:33 +00:00
Simon Larsen
32d55fdc46 refactor: improve code formatting and enhance readability in various service and utility files 2025-02-11 13:53:21 +00:00
Simon Larsen
69aa680dd1 feat: update user creation to optionally include full name and enhance Slack notification methods 2025-02-11 13:43:37 +00:00
Simon Larsen
117c02d457 refactor: comment out Workspace Connections section in SideMenu components 2025-02-11 10:17:43 +00:00
Simon Larsen
f74fcb3734 refactor: clean up whitespace and improve code formatting in various components 2025-02-10 21:20:43 +00:00
Simon Larsen
676d6598d7 feat: enhance error handling and messaging in MonitorCriteriaInstance and related components 2025-02-10 21:15:38 +00:00
Simon Larsen
af1edfef99 fix: correct validation error check in MonitorStep and tidy up CriteriaFilters component 2025-02-10 20:50:02 +00:00
Simon Larsen
56cadf01fd feat: implement hasValueField utility method for CriteriaFilter validation 2025-02-10 20:35:22 +00:00
Simon Larsen
6a0ef8d940 refactor: improve code formatting and structure in migration files and notification rule validation logic 2025-02-10 20:21:43 +00:00
Simon Larsen
1e01942218 feat: implement validation logic for Slack notification rules in NotificationRuleConditionUtil 2025-02-10 20:16:59 +00:00
Simon Larsen
5dab4f8042 feat: add scheduledMaintenanceNumber column to ScheduledMaintenance table and create corresponding index 2025-02-10 19:54:52 +00:00
Simon Larsen
3e4a50d430 refactor: clean up code by removing unnecessary blank lines in Alert and ScheduledMaintenance models, migration files, and services 2025-02-10 18:54:54 +00:00
Simon Larsen
96d236b034 feat: add scheduledMaintenanceNumber to ScheduledMaintenance model and implement related logic in service and UI components 2025-02-10 18:50:52 +00:00
Simon Larsen
ade5e69aa0 feat: add alertNumber column to Alert table and create corresponding index 2025-02-10 18:06:55 +00:00
Simon Larsen
4733c710b2 feat: add alertNumber field to Alert model and implement related logic in AlertService and UI components 2025-02-10 18:02:54 +00:00
Simon Larsen
1c8922249e feat: add WorkspaceNotificationPayload interface and update notifyWorkspace method to accept new payload structure 2025-02-10 17:55:50 +00:00
Simon Larsen
73c787836f feat: introduce WorkspaceType and NotificationRuleEventType enums; implement SlackNotificationRule interface and related services 2025-02-10 17:43:49 +00:00
Simon Larsen
ec6f3d84d7 refactor: rename ServiceProviderType to WorkspaceType and update related components for consistency 2025-02-10 17:40:07 +00:00
Simon Larsen
1f2df5f3ee refactor: rename initialValue prop to value in notification rule components for consistency 2025-02-10 14:47:33 +00:00
Simon Larsen
121a78ea8d refactor: improve code formatting and readability in form components 2025-02-10 14:42:34 +00:00
Simon Larsen
832ab4ab24 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-02-10 14:25:33 +00:00
Simon Larsen
445f3906ee feat: improve notification rule forms and conditions; enhance filter handling and UI elements 2025-02-10 14:25:30 +00:00
Simon Larsen
c869acc0e5 Merge pull request #1831 from diabolocom/nginx_ipv6
Feature: Nginx: Allow to specify listen options
2025-02-10 13:59:24 +00:00
Simon Larsen
0d2b2a272b feat: enhance notification rule conditions and form fields with additional labels and descriptions 2025-02-10 13:18:37 +00:00
Simon Larsen
d8ac1c39b7 feat: add option to show horizontal rule in form fields 2025-02-10 13:03:21 +00:00
Simon Larsen
e31dbe935c feat: enhance Slack integration and notification rule forms with additional descriptions and conditions 2025-02-10 12:59:00 +00:00
Jules Lefebvre
35e46cebfc feat(helm): add nginx listen config values
Add the posibility to define `NGINX_LISTEN_ADDRESS` and `NGINX_LISTEN_OPTIONS` via the `nginx.listenAddress` and `nginx.listenOptions` to allow to listen on all single and dual stack
2025-02-10 13:58:28 +01:00
Jules Lefebvre
891861f396 feat(docker-compose): add nginx listen enviroment variables
Add the posibility to define `NGINX_LISTEN_ADDRESS` and `NGINX_LISTEN_OPTIONS` to allow to listen on all single and dual stack
2025-02-10 13:57:36 +01:00
Jules Lefebvre
fbc38230b8 feat(nginx): allow to specify listen options 2025-02-10 13:44:35 +01:00
Simon Larsen
61561f9745 fix: add missing comma in schema migrations index for consistency 2025-02-10 12:25:09 +00:00
Simon Larsen
13e5f57160 feat: add migration for ServiceProviderUserAuthToken table and update index; log project creation for user 2025-02-10 11:43:03 +00:00
Simon Larsen
7600085473 feat: add migration for ServiceProviderUserAuthToken, ServiceProviderProjectAuthToken, ServiceProviderSetting, and ServiceProviderNotificationRule tables 2025-02-10 11:29:53 +00:00
Simon Larsen
99641d6994 refactor: remove obsolete migration files and clean up schema migrations index 2025-02-10 11:25:27 +00:00
Simon Larsen
dea66cc8d8 refactor: improve formatting of radioButtonOptions mapping in FormField component 2025-02-07 20:02:25 +00:00
Simon Larsen
1dd43a69a0 refactor: clean up formatting and improve readability in various components 2025-02-07 19:43:09 +00:00
Simon Larsen
e539cb7ae3 feat: add onBeforeCreate handler to ServiceProviderNotificationRulesTable for event type and project ID assignment 2025-02-07 19:33:50 +00:00
Simon Larsen
5269f7a164 feat: replace RadioButton with OptionChooserButton in form field schema and update related components 2025-02-07 19:29:02 +00:00
Simon Larsen
8e1d6b420f feat: enhance SlackIntegration component with connection handlers and improve notification rule naming 2025-02-07 19:10:30 +00:00
Simon Larsen
311f7dbb5b refactor: rename connection state variables for clarity in SlackIntegration component 2025-02-07 18:51:54 +00:00
Simon Larsen
9ac64b5873 feat: add color selection to ServiceProviderNotificationRulesTable and update SlackIntegration component props 2025-02-07 18:45:56 +00:00
Simon Larsen
e54126e6bf refactor: clean up permission definitions and formatting in ServiceProvider models 2025-02-07 18:36:56 +00:00
Simon Larsen
a4acc59505 fix: remove unnecessary permissions from ServiceProviderNotificationRule update access control 2025-02-07 18:31:35 +00:00
Simon Larsen
854bc297a6 feat: add permissions for Service Provider Notification Rules and update access control in ServiceProviderProjectAuthToken 2025-02-07 18:29:34 +00:00
Simon Larsen
69bfb48573 refactor: rename Settings component to SlackIntegrationPage for clarity 2025-02-07 18:18:20 +00:00
Simon Larsen
9ef7f720b1 refactor: improve code formatting and readability in ServiceProviderNotificationRulesTable and SlackIntegration components 2025-02-07 18:14:42 +00:00
Simon Larsen
2155dcad65 fix: correct spelling of NotificationRuleForm and NotificationRuleViewElement components; remove unused ServiceProviderNotificationRules component 2025-02-07 18:10:58 +00:00
Simon Larsen
fb4da29ade fix: correct URL formatting for social media and blog links in BlogPostUtil 2025-02-07 14:04:14 +00:00
Simon Larsen
d146d33059 Merge branch 'master' of github.com:OneUptime/oneuptime 2025-02-07 11:03:51 +00:00
Simon Larsen
978ac9155f refactor: update event type cases in NotificationRuleConditionUtil for consistency 2025-02-07 11:03:34 +00:00
Simon Larsen
cf9b4f0eba refactor: simplify value extraction in NotificationRuleConditionElement 2025-02-07 11:01:58 +00:00
Simon Larsen
d26a2aa995 refactor: update type annotations for selected alert and incident conditions in NotificationRuleConditionElement 2025-02-07 10:56:15 +00:00
Simon Larsen
c8301e21eb feat: update NotificationRule components to include event type in titles and descriptions 2025-02-07 10:53:25 +00:00
Simon Larsen
1a24232a1c refactor: improve code formatting and readability in AlertSeverityElement, IncidentStateElement, and NotificationRuleForm components 2025-02-07 10:42:06 +00:00
Simon Larsen
69c94835fe Merge pull request #1830 from OneUptime/slack-app
Slack app
2025-02-07 10:26:00 +00:00
Simon Larsen
706a9145ac feat: add NotificationRuleConditions and NotificationRuleForm components for enhanced notification rule management 2025-02-06 19:57:05 +00:00
Simon Larsen
9bde6194a5 feat: add NotificationRuleConditionElement and related components for alert and incident states 2025-02-06 19:29:55 +00:00
Simon Larsen
3dd8c62bc4 feat: enhance SlackNotificationRule and NotificationRuleForm with new fields and conditions 2025-02-06 18:47:12 +00:00
Simon Larsen
895a434d0e refactor: clean up code formatting and improve readability in various files 2025-02-06 17:49:01 +00:00
Simon Larsen
d3ec3a60df feat: implement NotificationRuleForm component and utility functions for condition checks 2025-02-06 14:25:39 +00:00
Simon Larsen
df15a2dcae feat: add name and description fields to ServiceProviderNotificationRule model and update migration 2025-02-06 12:18:04 +00:00
Simon Larsen
5e4b24dcfb feat: refactor notification rule models to use BaseNotificationRule and update filter conditions 2025-02-06 11:14:52 +00:00
Simon Larsen
0eae73c4e5 feat: add ServiceProviderNotificationRule model and service with migration 2025-02-06 11:03:43 +00:00
Simon Larsen
deb3f81e5d Merge pull request #1817 from OneUptime/slack-app
Slack App
2025-02-05 19:22:02 +00:00
Simon Larsen
dcb3fe6f69 feat: add ServiceProviderSetting model and service with CRUD operations 2025-02-05 17:33:45 +00:00
Simon Larsen
4bbecb3013 feat: refactor ServiceProviderProjectAuthToken and ServiceProviderSetting models, add deletedByUserId field 2025-02-05 16:25:13 +00:00
Simon Larsen
52954f3702 feat: add migration for ServiceProviderUserAuthToken and ServiceProviderProjectAuthToken tables 2025-02-05 16:17:37 +00:00
Simon Larsen
12a7fff668 refactor: update ServiceProviderUserAuthToken to use ServiceProviderType enum 2025-02-05 16:12:14 +00:00
Simon Larsen
14e489a719 feat: implement ServiceProviderType enum and refactor auth token services for Slack and Microsoft Teams 2025-02-05 16:09:50 +00:00
Simon Larsen
83f2935f41 fix: update Slack integration page URL to reflect new settings path 2025-02-05 16:00:49 +00:00
Simon Larsen
28855d482e 2025-02-05 15:56:15 +00:00
Simon Larsen
7c11ebdacf refactor: rename "Workspace Integrations" to "Workspace Connections" in SideMenu 2025-02-05 14:10:17 +00:00
Simon Larsen
592c806465 feat: add user and project auth token services to BaseAPI routing 2025-02-05 14:09:36 +00:00
Simon Larsen
7a3d0266c4 chore: update SlackAPI comments to use sample access tokens for clarity 2025-02-05 14:00:17 +00:00
Simon Larsen
e9b7368cf1 refactor: clean up code by removing unnecessary whitespace and improving formatting 2025-02-05 13:58:27 +00:00
Simon Larsen
f8c0004f85 feat: add Slack integration section to settings menu and routing 2025-02-05 13:45:26 +00:00
Simon Larsen
b007cb8bbd feat: implement Slack integration settings page and enhance auth token services for user and project 2025-02-05 13:43:22 +00:00
Simon Larsen
541015766c feat: rename service type to service provider type and add new fields for user and project IDs in service provider 2025-02-05 11:55:17 +00:00
Simon Larsen
5310087287 feat: update Slack app manifest by refining user and bot scopes and adding a temporary manifest file 2025-02-04 19:33:32 +00:00
Simon Larsen
7649c6c566 feat: update Slack integration authorization URL and add app manifest for enhanced functionality 2025-02-04 19:23:09 +00:00
Simon Larsen
1b2650f6df feat: expand Slack app manifest scopes for enhanced functionality 2025-02-04 19:14:02 +00:00
Simon Larsen
de3586d60e feat: update Slack integration error handling and redirect logic in user settings 2025-02-04 19:08:17 +00:00
Simon Larsen
a0ca579c2f feat: enhance Slack integration error handling and redirect logic in user settings 2025-02-04 19:04:39 +00:00
Simon Larsen
9bc7a115a1 feat: implement Slack app manifest retrieval and enhance scope validation in user settings 2025-02-04 18:51:26 +00:00
Simon Larsen
aef7af0a9a feat: refactor Slack utility imports and add new Slack utility class 2025-02-04 18:35:34 +00:00
Simon Larsen
e9f2e46e16 feat: add endpoint to retrieve Slack app manifest 2025-02-04 18:17:44 +00:00
Simon Larsen
56fd18f7c9 feat: update Slack API with improved error handling and new command shortcuts 2025-02-04 18:16:30 +00:00
Simon Larsen
ecccd8b536 feat: enhance Slack authentication flow with projectId and userId validation 2025-02-04 18:09:35 +00:00
Simon Larsen
dd2f0f37f2 fix: simplify signature validation logic in SlackAuthorization middleware 2025-02-04 18:00:32 +00:00
Simon Larsen
600a5eafe3 fix: update SlackAuthorization middleware to use req.body instead of req.rawBody 2025-02-04 17:54:53 +00:00
Simon Larsen
9b07bf7a08 feat: implement Slack API integration with authorization and event handling 2025-02-04 17:53:59 +00:00
Simon Larsen
d341f6c2b0 feat: enhance Slack integration with error handling and documentation 2025-02-04 15:33:24 +00:00
Simon Larsen
06a030f518 feat: add Slack app client credentials to Helm chart configuration 2025-02-04 14:34:42 +00:00
Simon Larsen
b02fed6e5b feat: add Slack App configuration to environment and UI settings 2025-02-04 14:33:48 +00:00
Simon Larsen
310884bd73 feat: implement Slack OAuth redirection in SlackIntegration component 2025-02-04 14:22:19 +00:00
Simon Larsen
0c625d52c2 feat: update Slack icon SVG paths for improved rendering 2025-02-04 14:11:54 +00:00
Simon Larsen
82ab70f396 refactor: clean up whitespace and formatting in UserSettingsBreadcrumbs and UserSettingsRoutes 2025-02-04 14:08:15 +00:00
Simon Larsen
24d9c9dbc0 feat: add Slack integration to user settings with routing and breadcrumbs 2025-02-04 14:04:49 +00:00
Simon Larsen
d9f1dc9fd2 feat: add UserAuthToken and ProjectAuthToken services and migrations 2025-02-04 13:44:51 +00:00
Simon Larsen
4b503471bd feat: implement Slack status API and initialize routing 2025-02-04 12:40:05 +00:00
Simon Larsen
b523434be3 feat: add Slack app manifest for OneUptime integration 2025-02-04 11:43:22 +00:00
Simon Larsen
f32b1950d9 fix: add return type to sendSubscriptionChangeWebhookSlackNotification method in ProjectService 2025-02-03 18:42:08 +00:00
Simon Larsen
e1c45a5c99 refactor: update property name from 'id' to '_id' and improve Slack message formatting in ProjectService 2025-02-03 18:41:20 +00:00
Simon Larsen
195655b4df refactor: improve code formatting and readability in ProjectService 2025-02-03 18:23:59 +00:00
Simon Larsen
9d7d65f0ef feat: add Slack notification for subscription plan changes in ProjectService 2025-02-03 18:05:08 +00:00
Simon Larsen
985b5410f6 refactor: clean up formatting and improve code readability in environment config and project service 2025-02-03 17:54:41 +00:00
Simon Larsen
d1dd57deec feat: add Slack webhook notifications for user creation, project management, and subscription updates 2025-02-03 17:50:34 +00:00
Simon Larsen
2ec6902537 refactor: improve async handling in BlogPost utility methods 2025-02-03 17:26:01 +00:00
Simon Larsen
cd130bc8ef feat: enhance status page URL handling and add unsubscribe link in subscription emails 2025-01-31 14:34:11 +00:00
Simon Larsen
3fcd1f694e refactor: clean up whitespace and formatting in blog-related files 2025-01-31 14:14:39 +00:00
Simon Larsen
b98b43b9f6 feat: add blog management features and update routing for blog posts 2025-01-31 14:10:54 +00:00
Simon Larsen
b59c76f771 feat: set log limit to 250 in TraceExplorer and Logs components 2025-01-30 20:35:46 +00:00
Simon Larsen
4d2e386328 feat: set default log limit to 250 in DashboardLogsViewer 2025-01-30 17:23:56 +00:00
Simon Larsen
deddcbe152 refactor: add serviceName attribute to telemetry data attributes 2025-01-30 17:00:30 +00:00
Simon Larsen
e305284fe2 refactor: enhance error handling and logging in TelemetryIngest middleware 2025-01-30 16:47:55 +00:00
Simon Larsen
3163debdb8 chore: remove end-to-end test workflow from GitHub Actions 2025-01-30 15:39:59 +00:00
Simon Larsen
f827237a80 refactor: change convertSelectReturnedDataToJson method visibility from private to public in AnalyticsDatabaseService 2025-01-30 15:22:32 +00:00
Simon Larsen
c038e39620 refactor: replace executeQuery calls with execute for consistency in AnalyticsDatabaseService 2025-01-30 15:20:28 +00:00
Simon Larsen
b8c1190c9f refactor: update execute method calls to use executeQuery for consistency in AnalyticsDatabaseService 2025-01-30 14:54:12 +00:00
Simon Larsen
7f5ff5068e refactor: improve code formatting and readability in AnalyticsDatabaseService and LogsViewer components 2025-01-30 14:47:54 +00:00
Simon Larsen
943acc8567 feat: add Clickhouse configuration volume and update AnalyticsDatabaseService to use ResultSet for JSON responses 2025-01-30 11:58:43 +00:00
Simon Larsen
81798211ea chore: update @clickhouse/client and @clickhouse/client-common to version 1.10.1 2025-01-29 21:02:48 +00:00
Simon Larsen
39596f6a42 refactor: replace <div> tags with <pre> for better JSON body rendering in LogsViewer component 2025-01-29 18:35:13 +00:00
Simon Larsen
36a181e77e refactor: replace <pre> tags with <div> for log body rendering in LogsViewer component 2025-01-29 18:25:55 +00:00
Simon Larsen
032c03a877 docs: update health check extension comment to indicate deprecation and suggest upgrade to health_check_v2 2025-01-29 15:42:19 +00:00
Simon Larsen
500299fb2f feat: add liveness, readiness, and startup probes to otel-collector configuration 2025-01-29 15:40:26 +00:00
Simon Larsen
b959e84032 feat: add health check extension to OTel collector configuration 2025-01-29 15:38:57 +00:00
Simon Larsen
30edc194f4 feat: add batch processor configuration for OTLP exporter in collector config template 2025-01-29 14:07:49 +00:00
Simon Larsen
0a20894dd1 feat: add DISABLE_TELEMETRY environment variable to multiple templates for telemetry control 2025-01-28 20:28:03 +00:00
Simon Larsen
1045a7399f fix: change OTLP exporter protocol from http/json to http/protobuf in config template 2025-01-28 19:44:51 +00:00
Simon Larsen
0f3ef0027b fix: update OTLP exporter protocol from http/protobuf to http/json in config template 2025-01-28 19:19:24 +00:00
Simon Larsen
2f43bc5c65 feat: add setup function for ts-node installation in configure script 2025-01-28 18:34:59 +00:00
Simon Larsen
8d9f7e125d feat: add additional breadcrumb links for status pages 2025-01-28 18:27:06 +00:00
Simon Larsen
3ac841ddc1 refactor: improve code formatting and simplify component structure in status pages 2025-01-28 17:27:21 +00:00
Simon Larsen
9fc8c6f7a2 refactor: update route paths and simplify side menu component for status pages 2025-01-28 17:24:22 +00:00
Simon Larsen
62cd974235 refactor: clean up whitespace and improve code formatting in status pages 2025-01-28 13:05:14 +00:00
Simon Larsen
a0d03238ee feat: add announcements route and update breadcrumbs for status pages 2025-01-28 12:55:43 +00:00
Simon Larsen
4303cf00cc feat: add announcements page and update routing for status pages 2025-01-28 12:49:57 +00:00
Simon Larsen
747ea70de5 refactor: update date formatting in scheduled maintenance feed for improved readability 2025-01-28 12:00:19 +00:00
Simon Larsen
6dd4ef22df refactor: enhance scheduled maintenance feed with additional details and improve Recurring class string representation 2025-01-28 11:52:11 +00:00
Simon Larsen
4b97c79ae2 refactor: enhance alert and scheduled maintenance feed updates with additional data fields 2025-01-28 11:36:30 +00:00
Simon Larsen
d34b118c68 refactor: streamline summary prop definition in form components 2025-01-28 11:26:37 +00:00
Simon Larsen
a3ff2e1067 refactor: introduce FormSummaryConfig interface and update form components to use it 2025-01-28 11:23:32 +00:00
Simon Larsen
e6ef2a7945 chore: add concurrency settings to test-release workflow 2025-01-27 19:57:57 +00:00
Simon Larsen
9bf8d5d941 refactor: improve readability of getSummaryElement functions in ScheduledMaintenanceCreate component 2025-01-27 19:53:34 +00:00
Simon Larsen
f3ee93bd48 refactor: remove unused import from Create.tsx in ScheduledMaintenanceEvents 2025-01-27 19:47:06 +00:00
Simon Larsen
5b78fee225 refactor: rename StatusPagesLabel to StatusPagesElement and update imports across components 2025-01-27 19:46:51 +00:00
Simon Larsen
dd73947b7f Merge branch 'release' of github.com:OneUptime/oneuptime into release 2025-01-27 18:25:15 +00:00
Simon Larsen
78998fb123 refactor: simplify form field mapping and improve readability in FormSummary component 2025-01-27 18:22:51 +00:00
Simon Larsen
0bcfccffe0 feat: add margin-bottom to form step title for improved spacing in FormSummary component 2025-01-27 18:19:23 +00:00
Simon Larsen
3ab45f40ca feat: optimize FormSummary component by refining field filtering logic and improving step title styling 2025-01-27 18:16:16 +00:00
Simon Larsen
bb2f610bc8 feat: enhance form summary component to support conditional rendering of form steps and improve layout structure 2025-01-27 18:10:45 +00:00
Simon Larsen
9b685133c4 feat: enhance incident severity and monitor status components with new props for animation and improved data handling 2025-01-27 17:58:21 +00:00
Simon Larsen
33c4943794 refactor: standardize fetch functions to use PromiseVoidFunction type and improve error handling in incident severity, monitors, monitor statuses, and on-call policies components 2025-01-27 17:49:33 +00:00
Simon Larsen
a7f8aa4faa refactor: update state initialization and error handling in Fetch components; improve type definitions for fetch functions 2025-01-27 17:41:27 +00:00
Simon Larsen
722fe30c8f feat: implement FetchMonitors, FetchMonitorStatuses, and FetchOnCallPolicies components; update Field interface for summary element handling 2025-01-27 17:37:08 +00:00
Simon Larsen
500104eb81 feat: add FetchTeams and FetchUsers components; implement label ID handling in IncidentCreate 2025-01-27 17:07:22 +00:00
Simon Larsen
41c3a14dfa fix: change exit code in configure.sh to allow continuation on directory change failure 2025-01-27 16:55:47 +00:00
Simon Larsen
113eda94fa Merge branch 'master' of github.com:OneUptime/oneuptime 2025-01-27 16:51:49 +00:00
Simon Larsen
c6ce43f7cc feat: add FormSummary component and integrate it into BasicForm; implement FetchLabels for incident labels 2025-01-27 16:49:53 +00:00
Simon Larsen
6d5bc60127 fix: update secondTLDs initialization to use split method for better readability 2025-01-27 16:49:46 +00:00
Simon Larsen
b7b7b28834 Merge pull request #1816 from KalvadTech/improve_configure_sh
refactor: modernize configure.sh
2025-01-27 16:48:26 +00:00
Loïc Tosser
5a0b0d7c61 refactor: modernize configure.sh with improved error handling, modularity, and installation process 2025-01-27 18:50:51 +04:00
Simon Larsen
79bf7ce7ee fix: replace props.steps with getFormSteps in BasicForm component 2025-01-27 11:03:31 +00:00
Simon Larsen
4ab150bf75 refactor: clean up code formatting and improve readability in various files 2025-01-27 10:54:46 +00:00
Simon Larsen
951668c982 fix: update debug log messages to specify 'test' for monitor list API 2025-01-27 10:52:59 +00:00
Simon Larsen
d7845407f0 fix: set default limit to 100 in FetchMonitorTest 2025-01-27 10:47:35 +00:00
Simon Larsen
8c5e3187ab feat: add MonitorTestService to services index 2025-01-27 10:44:56 +00:00
Simon Larsen
d2ae1cd845 Merge pull request #1814 from OneUptime/master
chore: update playwright to version 1.50.0 and adjust debugger port i…
2025-01-24 19:18:03 +00:00
Simon Larsen
8cb64fbe66 feat: add isSummaryStep property to BasicForm and FormStep interface 2025-01-24 19:11:49 +00:00
Simon Larsen
092b858873 fix: correct spelling of 'enabled' in BasicForm and update related components 2025-01-24 18:54:28 +00:00
Simon Larsen
81d19722f6 chore: update dependencies in test-release workflow to include infrastructure-agent-deploy 2025-01-24 18:39:11 +00:00
Simon Larsen
1f7b268875 feat: add summary step to BasicForm and implement detail display for form fields 2025-01-24 18:32:10 +00:00
Simon Larsen
38b32a6090 refactor: improve code formatting and consistency in IncidentService 2025-01-24 18:08:21 +00:00
Simon Larsen
373159cb29 feat: enhance incident update feed with detailed information including title, root cause, description, remediation notes, labels, and severity 2025-01-24 17:59:52 +00:00
Simon Larsen
ec86ef4c0e chore: update playwright to version 1.50.0 and adjust debugger port in launch configuration 2025-01-24 16:11:51 +00:00
Simon Larsen
270231374b refactor: clean up migration and improve formatting for subscriber email notification footer text 2025-01-24 10:48:31 +00:00
Simon Larsen
aac4281602 feat: update subscriber email notification footer text to support longer content and add migration 2025-01-24 10:45:51 +00:00
Simon Larsen
bdea1139a4 refactor: improve code formatting for subscriber email notification footer text 2025-01-24 10:36:02 +00:00
Simon Larsen
14fdfa6d17 feat: add subscriber email notification footer text to status page and update notification templates 2025-01-24 10:31:59 +00:00
Simon Larsen
3b22747dbf Merge branch 'release' 2025-01-23 21:51:08 +00:00
Simon Larsen
eb9e20dad5 fix: update OpenTelemetry configuration template to use index for environment variables 2025-01-23 21:31:58 +00:00
Simon Larsen
5aa4b883ad feat: add OpenTelemetry exporter configuration options in Helm chart templates 2025-01-23 21:28:11 +00:00
Simon Larsen
ea38e2621f refactor: clean up code formatting and remove unused props in Scheduled Maintenance components 2025-01-23 16:22:16 +00:00
Simon Larsen
b2cb95e1fc feat: enhance Scheduled Maintenance Table with template creation buttons and update description in create page 2025-01-23 16:17:26 +00:00
Simon Larsen
b174b9795a feat: add imports for form handling and recurring events in Scheduled Maintenance Create page 2025-01-23 16:10:19 +00:00
Simon Larsen
9d1caa8336 feat: add Scheduled Maintenance Event creation page and update routing and breadcrumbs 2025-01-23 16:07:35 +00:00
Simon Larsen
52e8669960 feat: remove unused createInitialValues prop from IncidentsTable component 2025-01-23 15:51:09 +00:00
Simon Larsen
f0505725a7 feat: refine query parameters handling in Route class and improve navigation logic 2025-01-23 15:49:33 +00:00
Simon Larsen
7897641ef7 feat: implement addQueryParams method in Route class and update incident navigation logic 2025-01-23 15:07:11 +00:00
Simon Larsen
761f5f35e9 feat: add query parameters support in navigation and update incident declaration flow 2025-01-23 14:56:59 +00:00
Simon Larsen
241586ff4a feat: add Incident creation page with routing and breadcrumbs integration 2025-01-23 14:39:15 +00:00
Simon Larsen
f8fc1a9dae feat: enhance Monitor layout with hideSideMenu prop and improve component styling 2025-01-23 13:59:24 +00:00
Simon Larsen
6bbcc0a301 feat: add hideSideMenu prop to Monitor layout and update routing logic 2025-01-23 13:43:58 +00:00
Simon Larsen
0e6604aa11 refactor: update description in Monitor creation component for clarity 2025-01-23 13:24:40 +00:00
Simon Larsen
ade84a23ff refactor: clean up Monitor creation component and improve button navigation 2025-01-23 13:10:20 +00:00
Simon Larsen
6ff883b54e feat: add Monitor creation page and update routing and breadcrumbs 2025-01-23 12:52:27 +00:00
Simon Larsen
3546d92143 refactor: update localRoot paths in launch.json and improve logging in CheckHeartbeat and UpdateConnectionStatus 2025-01-23 12:41:34 +00:00
Simon Larsen
e932eb1b1d feat: update DISABLE_TELEMETRY value to false in otel-collector.yaml 2025-01-22 17:49:30 +00:00
Simon Larsen
cbca712af8 feat: add OpenTelemetry exporter environment variables and disable telemetry in otel-collector.yaml 2025-01-22 17:49:00 +00:00
Simon Larsen
8490128833 feat: add DISABLE_TELEMETRY environment variable to otel-collector.yaml 2025-01-22 15:38:10 +00:00
Simon Larsen
b80e126540 chore: update Playwright and related dependencies to version 1.49.1 2025-01-22 13:53:30 +00:00
Simon Larsen
5494a2244e feat: update Dockerfile.tpl to use new OpenTelemetry Collector version and improve gomplate installation 2025-01-22 12:44:22 +00:00
Simon Larsen
23be5b1736 fix: downgrade collector version to 0.104.0 and enhance config output in Dockerfile.tpl 2025-01-22 12:12:15 +00:00
Simon Larsen
9f3a9bc915 fix: update download command in Dockerfile.tpl to use uname for architecture detection 2025-01-22 11:34:00 +00:00
Simon Larsen
84d322f476 fix: correct echo command syntax in OTelCollector Dockerfile.tpl 2025-01-22 11:15:23 +00:00
Simon Larsen
f94fbcc2ae feat: improve architecture detection and installation process in Dockerfile.tpl 2025-01-22 11:11:14 +00:00
Simon Larsen
0e85162b50 fix: update architecture detection syntax in Dockerfile.tpl for compatibility 2025-01-21 15:59:59 +00:00
Simon Larsen
a5927f3681 feat: refactor Dockerfile.tpl to streamline gomplate installation and architecture detection 2025-01-21 15:58:20 +00:00
Simon Larsen
0d37587199 feat: enhance OpenTelemetry Collector configuration with sending queue parameters 2025-01-21 15:20:50 +00:00
Simon Larsen
4674578c90 feat: update OTel Collector Dockerfile and configuration for gomplate integration 2025-01-21 15:10:44 +00:00
Simon Larsen
87d280edbd feat: use sudo for apt-get update in compile workflow 2025-01-21 13:26:03 +00:00
Simon Larsen
d44ddd6781 feat: extend hard delete retention period from 3 to 30 days in WorkflowLogService 2025-01-21 12:42:50 +00:00
Simon Larsen
7271481fb7 feat: add apt-get update step in compile workflow 2025-01-20 17:08:59 +00:00
Simon Larsen
7f05ae7415 feat: upgrade checkout action to v4 in GitHub workflows 2025-01-20 14:43:07 +00:00
Simon Larsen
1e84b3a0cb feat: upgrade Node.js setup action to v4 in GitHub workflows 2025-01-20 14:42:33 +00:00
Simon Larsen
20c7b11ecc feat: update Node.js version in GitHub workflows to latest 2025-01-20 14:42:06 +00:00
Simon Larsen
6666f6e817 Merge pull request #1807 from diabolocom/helm-clickhouse-update
Deps: Helm-chart: Update clickhouse chart v7.2.0
2025-01-20 14:23:34 +00:00
Simon Larsen
621e1ce207 feat: update Dockerfiles to replace libasound2t64 with libasound2 for playwright dependencies 2025-01-20 14:14:06 +00:00
Simon Larsen
1c42c58591 feat: update Dockerfiles to include libasound2t64 dependency for playwright 2025-01-20 14:09:41 +00:00
Jules Lefebvre
6a1b0d8718 deps(chart): update clickhouse chart
Update binami clickhouse helm chart to version 7.2.0 to support ipv6 by default
2025-01-20 15:07:28 +01:00
Simon Larsen
bc244bfde1 feat: rename notification rule type for clarity and update related migration 2025-01-20 13:55:56 +00:00
Simon Larsen
984cb41efc feat: update notification rule types to use ON_CALL_EXECUTED for incidents and alerts 2025-01-20 13:42:54 +00:00
Simon Larsen
076386f0d4 feat: update OnCallDutyPolicyExecutionLog and UserOnCallLog models to make Triggered By Incident and Alert IDs optional 2025-01-20 13:26:11 +00:00
Simon Larsen
cb11a46cc9 feat: enhance logging for on-call duty policy execution and improve user notification handling 2025-01-20 13:03:15 +00:00
Simon Larsen
6c7f1b5eb9 feat: update ExecutionLogsTable to display triggered by incident and alert details 2025-01-20 12:17:09 +00:00
Simon Larsen
95709f1996 feat: add support for displaying alerts in execution logs table 2025-01-20 12:12:31 +00:00
Simon Larsen
eaebcc748d fix: add missing newline for improved code readability in Alive job 2025-01-20 11:52:23 +00:00
Simon Larsen
13c2f6e73d feat: implement probe alive endpoint and enhance state change notification with project ID 2025-01-20 11:49:46 +00:00
Simon Larsen
f746d353a7 refactor: remove unnecessary whitespace and improve code formatting in Alert services and components 2025-01-20 11:08:23 +00:00
Simon Larsen
de1760bda7 feat: update alert services and components to support private notes and improve description handling 2025-01-20 10:56:54 +00:00
Simon Larsen
a28b870c23 feat: mark report fields as required for improved form validation 2025-01-20 09:58:03 +00:00
Simon Larsen
eb216e52cf feat: enhance alert notifications by integrating AlertFeedService for state change and note posting events 2025-01-17 21:50:31 +00:00
Simon Larsen
c19913ac58 refactor: clean up code formatting and improve readability in Alert components 2025-01-17 20:42:10 +00:00
Simon Larsen
b55bb4ceeb feat: simplify alert state management by consolidating ChangeAlertState usage and adding AlertFeedElement 2025-01-17 20:39:43 +00:00
Simon Larsen
26ec1aa5b2 feat: implement Alert Feed component with event handling and data fetching 2025-01-17 20:37:13 +00:00
Simon Larsen
7b733c32e9 feat: remove unused CardModelDetail components for Alert Description, Root Cause, and Remediation Notes 2025-01-17 20:27:34 +00:00
Simon Larsen
3d34118f9e feat: add new pages for Alert Description, Root Cause, and Remediation with routing and breadcrumbs 2025-01-17 20:26:49 +00:00
Simon Larsen
69a3a898f5 refactor: improve code formatting and readability in UserSettings components 2025-01-17 19:56:07 +00:00
Simon Larsen
74d21e7c33 feat: update alert and incident on-call rule titles to include severity information and change side menu icon 2025-01-17 19:53:55 +00:00
Simon Larsen
aecf1c38a6 feat: rename and add routes for Incident and Alert On-Call Rules in user settings 2025-01-17 19:47:02 +00:00
Simon Larsen
8b3041301a refactor: clean up whitespace and improve code readability in various models and services 2025-01-17 19:24:48 +00:00
Simon Larsen
af77d191e3 feat: update triggeredByIncidentId and triggeredByAlertId fields to be nullable in relevant models 2025-01-17 19:23:09 +00:00
Simon Larsen
ad58125663 feat: add alert severity handling and triggeredByAlertId support in notification and execution logs 2025-01-17 19:09:22 +00:00
Simon Larsen
63650ba791 feat: add support for triggeredByAlertId in OnCallDutyPolicyExecutionLogTimeline and related services 2025-01-17 18:42:20 +00:00
Simon Larsen
1c5a434ee3 feat: add triggeredByAlertId relation to OnCallDutyPolicyExecutionLogTimeline, UserOnCallLog, and UserOnCallLogTimeline 2025-01-17 15:58:27 +00:00
Simon Larsen
102e64224f fix: remove unnecessary whitespace and improve error logging in alert, billing, incident, and scheduled maintenance feed services 2025-01-17 15:41:07 +00:00
Simon Larsen
854fe3084a fix: refactor alert, incident, and scheduled maintenance feed services to improve error handling and logging 2025-01-17 15:39:51 +00:00
Simon Larsen
b6c6186625 fix: remove unnecessary trace logging in BillingService when changing plan 2025-01-17 15:18:23 +00:00
Simon Larsen
92bdd5cf03 fix: improve clarity of reminder notification message for scheduled maintenance events 2025-01-17 15:14:02 +00:00
Simon Larsen
c2e78d122a fix: update property name from 'id' to '_id' in incident and scheduled maintenance note services 2025-01-17 15:10:20 +00:00
Simon Larsen
bfc061ad47 feat: add isRoot property to props in incident and scheduled maintenance note services 2025-01-17 15:08:21 +00:00
Simon Larsen
98302a887a fix: correct spelling of "scheduled maintenance" in markdown logs and notifications 2025-01-17 15:01:44 +00:00
Simon Larsen
743db411d5 refactor: add type annotations for subscription status checks in BillingInvoiceService and ProjectUtil 2025-01-17 13:30:57 +00:00
Simon Larsen
9537a9a13a feat: implement subscription status refresh logic with mutex handling and logging enhancements 2025-01-17 13:17:44 +00:00
Simon Larsen
0931705d6a feat: implement subscription status refresh logic in BillingInvoiceService and UserAPI 2025-01-17 12:23:01 +00:00
Simon Larsen
6bfd9b657a refactor: improve logging formatting in SendSubscriberRemindersOnEventScheduled job 2025-01-16 22:53:17 +00:00
Simon Larsen
493aef5b05 feat: enhance subscriber notification system with reminder notifications and improved logging 2025-01-16 21:21:49 +00:00
Simon Larsen
185f70e893 refactor: clean up code formatting and improve readability in Scheduled Maintenance components 2025-01-16 21:06:26 +00:00
Simon Larsen
db2ecde486 feat: add notification logging for scheduled maintenance note postings 2025-01-16 20:45:16 +00:00
Simon Larsen
ff3b7edec8 feat: enhance Scheduled Maintenance feed with subscriber and owner notification events 2025-01-16 20:42:09 +00:00
Simon Larsen
968b050d13 feat: implement onUpdateSuccess for internal and public notes in scheduled maintenance services 2025-01-16 20:07:52 +00:00
Simon Larsen
4328f7fc40 feat: add Scheduled Maintenance Description page and update routing 2025-01-16 16:55:26 +00:00
Simon Larsen
6ae3c28b8b feat: update ScheduledMaintenanceFeed event types and integrate ScheduledMaintenanceFeedElement in view 2025-01-16 16:25:33 +00:00
Simon Larsen
8be022e34f refactor: clean up state initialization and formatting in IncidentFeed component 2025-01-16 13:27:31 +00:00
Simon Larsen
ce6938396a feat: add modals for creating public and private incident notes 2025-01-16 13:25:32 +00:00
Simon Larsen
537e2d02e7 feat: enhance incident update permissions and enable root cause editing 2025-01-16 13:07:27 +00:00
Simon Larsen
80b9e48771 fix: remove space before incident number in IncidentsTable and IncidentView components 2025-01-16 12:57:49 +00:00
Simon Larsen
e0c3437c45 feat: implement otel-collector deployment with configurable replica count 2025-01-16 12:54:43 +00:00
Simon Larsen
e5df15a53e test: update expected value for ColumnLength.Color to reflect changes 2025-01-15 21:09:53 +00:00
Simon Larsen
a0f6e979b8 refactor: enhance readability by restructuring Feed and FeedItem components 2025-01-15 20:36:18 +00:00
Simon Larsen
e20624a635 refactor: invert isLastItem condition for rendering FeedItem separator 2025-01-15 20:29:16 +00:00
Simon Larsen
800583ddde refactor: enforce isLastItem prop as required in FeedItem component 2025-01-15 20:29:02 +00:00
Simon Larsen
f0bc71bee4 refactor: improve code readability and structure in OnCallDutyPolicyExecutionLog services and Feed components 2025-01-15 20:26:30 +00:00
Simon Larsen
ba0dd4f2b0 refactor: add display color handling by OnCallDutyPolicy status and update notification displayColor logic 2025-01-15 20:23:11 +00:00
Simon Larsen
63b560ad93 refactor: improve markdown formatting in notifications and update query id handling 2025-01-15 20:20:36 +00:00
Simon Larsen
ae0553a1e5 refactor: update IncidentFeed and OnCallDutyPolicyExecutionLogTimeline services for improved type handling and logging 2025-01-15 19:48:00 +00:00
Simon Larsen
fd4e2737e5 refactor: enhance notification messages to include incident state details and public note content 2025-01-15 19:23:57 +00:00
Simon Larsen
15f18c6d4f refactor: enhance notification messages and add projectId to relevant data structures 2025-01-15 18:52:35 +00:00
Simon Larsen
a84e32fe1b refactor: enhance logging and improve incident feed notification messages across multiple services 2025-01-15 18:37:18 +00:00
Simon Larsen
c09d97310f refactor: update ProgressButtons and ChangeIncidentState components to support completedStepId and improve click handling 2025-01-15 17:35:33 +00:00
Simon Larsen
782eb45eb3 refactor: improve formatting and consistency in multiple components 2025-01-14 21:20:21 +00:00
Simon Larsen
fb37da0aca refactor: update ErrorMessage component to use 'message' prop instead of 'error' across multiple components 2025-01-14 21:16:17 +00:00
Simon Larsen
ae2608e66f refactor: update ErrorMessage component usage to use 'message' prop instead of 'error' across multiple files 2025-01-14 21:01:40 +00:00
Simon Larsen
29565bc24c refactor: clean up unnecessary whitespace and improve code formatting across multiple files 2025-01-14 19:35:54 +00:00
Simon Larsen
da7860fc3f feat: add new incident view pages for Root Cause and Description; update icon properties and breadcrumb links 2025-01-14 19:35:39 +00:00
Simon Larsen
0375e8c568 refactor: improve code formatting in ProgressButtonItem and IncidentFeed components for better readability 2025-01-14 19:22:09 +00:00
Simon Larsen
60c53b32e6 refactor: update ProgressButtonItem and ProgressButtons components for improved structure and readability; enhance error handling in IncidentFeed 2025-01-14 19:21:59 +00:00
Simon Larsen
4d1797e9fa refactor: clean up code formatting and remove unnecessary whitespace in various files 2025-01-14 18:16:51 +00:00
Simon Larsen
1ff4bde7b9 feat: enhance incident feed markdown for OnCallDutyPolicyExecutionLogTimeline with detailed alert information 2025-01-14 18:13:40 +00:00
Simon Larsen
fae6d89a18 feat: add OnCallNotification event type to IncidentFeed and implement related handling in OnCallDutyPolicyExecutionLogTimelineService 2025-01-14 18:09:30 +00:00
Simon Larsen
aa429abe01 feat: implement ProgressButtons and ProgressButtonItem components for enhanced step navigation 2025-01-14 16:01:56 +00:00
Simon Larsen
203763aa95 feat: add OnCallPolicy event type to IncidentFeed and implement related feed updates in OnCallDutyPolicyExecutionLogService 2025-01-14 15:38:05 +00:00
Simon Larsen
0b69ae195f feat: implement onBeforeDelete and onDeleteSuccess methods to handle OwnerTeamRemoved events in IncidentOwnerTeamService 2025-01-14 14:47:28 +00:00
Simon Larsen
0756a43d62 feat: add OwnerUserRemoved and OwnerTeamRemoved event types to IncidentFeed; update feedInfoInMarkdown and improve icon handling 2025-01-14 14:45:32 +00:00
Simon Larsen
13eb3205a2 feat: add RootCause and RemediationNotes event types to IncidentFeed; update feedInfoInMarkdown formatting and icons 2025-01-14 14:12:51 +00:00
Simon Larsen
9dcd295fd0 feat: update incident feed event types for owner additions and enhance related services 2025-01-14 13:59:24 +00:00
Simon Larsen
1fb84ea302 fix: update incidentId references and improve notification messages for clarity 2025-01-14 13:43:31 +00:00
Simon Larsen
53ea3d32dc feat: update incident feed colors and improve notification messages; add refresh button to IncidentFeedElement 2025-01-14 12:36:52 +00:00
Simon Larsen
5c9ec28a4e fix: format feedInfoInMarkdown for better readability in IncidentService 2025-01-14 12:26:30 +00:00
Simon Larsen
04c2293378 feat: add postedAt field to IncidentFeed, AlertFeed, and ScheduledMaintenanceFeed; update services to set postedAt on creation 2025-01-14 12:15:49 +00:00
Simon Larsen
6c672c541a feat: include createdByUserId in IncidentFeed creation for better tracking of incident authors 2025-01-14 11:04:21 +00:00
Simon Larsen
169db73704 fix: remove margin from no items message in Feed component for better layout 2025-01-14 11:01:10 +00:00
Simon Larsen
e980f00f1c feat: add noItemsMessage prop to Feed component and update IncidentFeedElement to display error message when no items are present 2025-01-14 11:00:07 +00:00
Simon Larsen
66a594ed99 feat: replace Feed component with IncidentFeedElement in IncidentView 2025-01-14 10:19:43 +00:00
Simon Larsen
52c35c1e4d feat: update userId handling in IncidentFeed and AlertFeed services; increase LIMIT_PER_PROJECT to 10000; refactor User class to UserUtil; add IncidentFeedElement component 2025-01-13 18:39:06 +00:00
Simon Larsen
caa4103b48 feat: add userId field to AlertFeed, IncidentFeed, and ScheduledMaintenanceFeed services 2025-01-13 17:28:44 +00:00
Simon Larsen
f6069ca4a7 feat: remove tls.verify option from Fluent Bit configuration 2025-01-13 17:22:48 +00:00
Simon Larsen
f519748c44 feat: add userId field and relationship to AlertFeed, IncidentFeed, and ScheduledMaintenanceFeed models 2025-01-13 17:19:37 +00:00
Simon Larsen
27de0f0ddb feat: update displayColor column length to 10 for AlertFeed, IncidentFeed, and ScheduledMaintenanceFeed 2025-01-13 17:14:36 +00:00
Simon Larsen
5426c22740 feat: update moreInformationInMarkdown fields to be optional in IncidentFeed, AlertFeed, and ScheduledMaintenanceFeed 2025-01-13 17:00:46 +00:00
Simon Larsen
a55d4d1e02 refactor: format migration name and clean up up/down methods for consistency 2025-01-13 16:20:51 +00:00
Simon Larsen
2f65b1ee82 feat: add migration to drop IncidentLog, AlertLog, and ScheduledMaintenanceLog tables 2025-01-13 15:04:00 +00:00
Simon Larsen
730dc56316 feat: add migration for IncidentFeed, AlertFeed, and ScheduledMaintenanceFeed tables 2025-01-13 14:59:13 +00:00
Simon Larsen
101e697a12 refactor: update BaseAPI instantiation for ScheduledMaintenanceFeed to improve type clarity 2025-01-13 14:56:18 +00:00
Simon Larsen
1c1488bca5 refactor: replace IncidentLogService with IncidentFeedService in various services 2025-01-13 14:52:55 +00:00
Simon Larsen
0e74adbd08 refactor: simplify FeedItem component and clean up IncidentView layout 2025-01-13 14:11:04 +00:00
Simon Larsen
35947b4010 fix: remove redundant empty line in IncidentView component 2025-01-13 13:27:06 +00:00
Simon Larsen
b304ceddbb feat: add Incident Feed component to display incident updates 2025-01-13 11:25:52 +00:00
Simon Larsen
cba6c48673 fix: update API request method from GET to POST in public-api documentation 2025-01-13 11:12:04 +00:00
Simon Larsen
63b40cde75 fix: update titles for subscription fields in EmailSubscribers component 2025-01-13 10:54:26 +00:00
Simon Larsen
439f2e87a2 feat: add subscription confirmation field to EmailSubscribers component 2025-01-13 10:53:18 +00:00
Simon Larsen
fc0869d9fe fix: correct query merging order in BaseModelTable component 2025-01-13 10:50:50 +00:00
Simon Larsen
fb5646e8c2 feat: update incident log event type and add logging for subscriber notifications in Incident services 2025-01-13 10:37:45 +00:00
Simon Larsen
7538a47be5 fix: update userName type to string and ensure proper string conversion in IncidentNote services 2025-01-13 08:50:31 +00:00
Simon Larsen
8568cc0c89 feat: implement logging for internal and public notes creation in IncidentNote services 2025-01-13 08:48:58 +00:00
Simon Larsen
2457de9757 feat: update IncidentLog and AlertLog models to use displayColor and event type enums 2025-01-12 18:21:08 +00:00
Simon Larsen
a6859631ae feat: add validation for required fields in AlertLogService, IncidentLogService, and ScheduledMaintenanceLogService 2025-01-12 17:50:45 +00:00
Simon Larsen
e737444c52 feat: add severity fields to AlertLog, IncidentLog, and ScheduledMaintenanceLog models 2025-01-12 17:40:25 +00:00
Simon Larsen
b4a2726c81 refactor: improve code formatting and readability in BaseAPI and IncidentView 2025-01-12 14:57:17 +00:00
Simon Larsen
5fc60491ff feat: reorder fields in IncidentView to improve layout and visibility of Incident ID 2025-01-12 14:53:12 +00:00
Simon Larsen
a7558535a6 feat: add IncidentLogService, AlertLogService, and ScheduledMaintenanceLogService to BaseAPI 2025-01-12 13:28:36 +00:00
Simon Larsen
408d06edb9 feat: add AlertLogService, IncidentLogService, and ScheduledMaintenanceLogService; update services index 2025-01-12 12:02:25 +00:00
Simon Larsen
87be913388 feat: enhance filtering logic to support numeric values in BaseModelTable 2025-01-12 11:52:33 +00:00
Simon Larsen
1a034abe96 feat: add NumberFilter component and integrate it into FiltersForm 2025-01-12 11:45:02 +00:00
Simon Larsen
19bdfd66b9 docs: update public API documentation to include overallStatus object details 2025-01-12 10:36:46 +00:00
Simon Larsen
982d051329 feat: implement mutex for incident creation and improve incident number handling 2025-01-12 10:35:04 +00:00
Simon Larsen
b66b1db2cb feat: add Incident Number column to IncidentsTable and IncidentView components 2025-01-12 10:19:38 +00:00
Simon Larsen
12e67a065d feat: add incidentNumber field to Incident model and implement data migration for existing incidents 2025-01-12 10:08:48 +00:00
Simon Larsen
1f3cdc08ac feat: add incidentNumber field to Incident model and implement logic for auto-incrementing incident numbers 2025-01-12 10:03:28 +00:00
Simon Larsen
5ebcba9f46 refactor: improve code readability in StatusPageAPI and Overview components 2025-01-10 14:44:31 +00:00
Simon Larsen
15e49c1b45 feat: implement overall monitor status calculation and update Overview component 2025-01-10 14:40:42 +00:00
Simon Larsen
b71a657dea feat: update API documentation to reflect POST method for status page endpoints 2025-01-09 18:38:38 +00:00
Simon Larsen
72e573bbc4 Merge branch 'release' 2025-01-09 14:32:47 +00:00
Simon Larsen
2113ffefd9 feat: refactor ScheduledMaintenanceLog model and migration for improved readability and structure 2025-01-09 14:32:43 +00:00
Simon Larsen
8da42884c2 feat: add documentation for using Monitor Secrets in custom and synthetic monitors 2025-01-09 14:30:24 +00:00
Simon Larsen
e14c54c6cc Merge branch 'release' 2025-01-08 19:48:16 +00:00
Simon Larsen
10a199f3f5 feat: add IncidentLog and ScheduledMaintenanceLog tables with migrations 2025-01-08 19:47:50 +00:00
Simon Larsen
2df97392b2 feat: enhance server monitor queries by integrating active project status checks 2025-01-08 18:54:06 +00:00
Simon Larsen
fcd2ecd118 feat: improve server monitor request handling by refining query and response logic 2025-01-08 18:41:41 +00:00
Simon Larsen
e2e5533229 Merge branch 'release' 2025-01-08 17:43:00 +00:00
Simon Larsen
cf01fce011 feat: add uninstall instructions for OneUptime in documentation 2025-01-08 17:18:51 +00:00
Simon Larsen
100152ecc1 feat: update API endpoint URLs in Public Status Page documentation 2025-01-08 17:12:45 +00:00
Simon Larsen
7b68c0b3c0 feat: refactor permission handling by extracting getFieldPermissions function 2025-01-07 18:59:34 +00:00
Simon Larsen
a7ad9b752b feat: fix Clickhouse configuration to use default port if not specified 2025-01-06 20:10:59 +00:00
Simon Larsen
2e3ed42723 feat: add Public Status Page API documentation 2025-01-06 12:43:29 +00:00
Simon Larsen
864e44d1a2 feat: add "Status Pages" section with link to Public API documentation 2025-01-06 12:40:52 +00:00
Simon Larsen
08cdb33e6e feat: remove redundant MYENVVAR environment variable from installer templates 2025-01-06 12:39:17 +00:00
Simon Larsen
27647f529f feat: rename workflow step to clarify NPM package publishing 2025-01-06 08:30:49 +00:00
Simon Larsen
4021650ea5 feat: add MYENVVAR environment variable to installer for amd64 template 2025-01-06 08:27:01 +00:00
Simon Larsen
6a9f76c656 feat: add environment variable MYENVVAR to installer for arm64 template 2025-01-06 08:26:43 +00:00
Simon Larsen
c3bba74107 feat: update product name for amd64 and remove unnecessary custom actions from installer 2025-01-03 17:15:25 +00:00
Simon Larsen
16b9d4794e feat: enhance error handling in SSO login process and improve response structure 2025-01-03 16:19:23 +00:00
Simon Larsen
22e16d5c5b feat: update documentation to include proxy configuration for agent setup 2025-01-03 15:28:37 +00:00
Simon Larsen
ef340e5fa0 feat: improve error logging for secret key validation and add proxy support for HTTP requests 2025-01-03 15:22:35 +00:00
Simon Larsen
20aff38458 feat: enhance agent configuration logging and save proxy URL 2025-01-03 15:08:57 +00:00
Simon Larsen
16a1051280 feat: add proxy configuration support to agent and update related functions 2025-01-03 14:55:16 +00:00
Simon Larsen
fe9d3d3020 Add proxy 2025-01-03 14:21:47 +00:00
Simon Larsen
a0c0041cbd feat: implement default logging to file with fallback to console 2025-01-03 13:31:59 +00:00
Simon Larsen
d755c62a51 chore: update README for build instructions and remove unused dependency 2025-01-03 10:04:11 +00:00
Simon Larsen
5756623f45 fix: improve error handling and logging for metrics ingestion and secret key verification 2025-01-03 09:47:35 +00:00
Simon Larsen
8247f504c4 fix: correct formatting of Redis IP family value in Helm chart templates 2025-01-01 18:46:25 +00:00
Simon Larsen
f05b0a15ee feat: add conditional logic for Redis IP family in Helm chart templates 2025-01-01 18:42:38 +00:00
Simon Larsen
1abf1df1ee refactor: format PORT initialization and improve import structure in Config and Index 2025-01-01 18:24:30 +00:00
Simon Larsen
f1afab0b52 feat: add configurable port for probe services and update initialization 2025-01-01 18:04:19 +00:00
Simon Larsen
a0d33bf9c1 feat: initialize server with a specific port using Port type in Probe 2025-01-01 17:03:13 +00:00
Simon Larsen
7c16fa7b42 refactor: update ClickhouseConfig to use Hostname type for host configuration 2025-01-01 16:37:12 +00:00
Simon Larsen
5ba526d12e refactor: remove outdated comments and improve context object in VMRunner 2025-01-01 16:11:19 +00:00
Simon Larsen
92174be7fd docs: enhance documentation with available objects in Playwright context and error handling for browser closure 2025-01-01 15:34:10 +00:00
Simon Larsen
ece451b660 refactor: remove unnecessary UI reference and streamline thank you message in installation templates 2024-12-24 21:09:36 +00:00
Simon Larsen
5ca740b43c feat: add custom action to set PATH environment variable and show thank you message during installation 2024-12-24 20:55:16 +00:00
Simon Larsen
70aae7c59a fix: update RedisIPFamily initialization to handle undefined environment variable 2024-12-24 20:13:21 +00:00
Simon Larsen
bb543ef010 Merge pull request #1773 from diabolocom/redis-ipv6
Feature: Allow to set Redis IP Family
2024-12-24 20:09:59 +00:00
Simon Larsen
64bba9246b Add thank you message and UI reference to installation templates 2024-12-24 20:07:08 +00:00
Simon Larsen
511987bd70 Add PATH environment variable setting in Windows installer templates 2024-12-24 20:03:40 +00:00
Jules Lefebvre
19162504c8 feat(helm): add externalRedis.ipFamily configuration
Add the `externalRedis.ipFamily` values to set `REDIS_IP_FAMILY environmental variable
2024-12-24 13:08:15 +01:00
Jules Lefebvre
96f5173fb9 feat(docker): allow to chose redis ip family
Add the `REDIS_IP_FAMILY` to the default docker environment variables
2024-12-24 13:08:04 +01:00
Jules Lefebvre
8704f47b44 feat(common/infra): allow to chose redis ip familly
Introduce a new environment variable (`REDIS_IP_FAMILY`) to choose witch version
of the IP protocol to use in Redis.
2024-12-24 13:06:39 +01:00
Simon Larsen
45803a8cd2 Fix path separators in build-msi.sh for consistency across platforms 2024-12-23 20:19:11 +00:00
Simon Larsen
c04c2a3563 Fix path separators in build-msi.sh for Windows compatibility 2024-12-23 19:10:41 +00:00
Simon Larsen
e61e7f3ba0 Update file identifiers in Windows installer templates for Infrastructure Agent 2024-12-23 18:43:33 +00:00
Simon Larsen
e438050f6e Fix path separators in build-msi.sh for Windows compatibility 2024-12-23 18:42:23 +00:00
Simon Larsen
9601bdec93 Update product names and descriptions in installer templates for consistency 2024-12-23 18:31:56 +00:00
Simon Larsen
c631dcfd44 Remove unnecessary whitespace in CustomSMTPTable component 2024-12-23 18:29:01 +00:00
Simon Larsen
4cabd2562a Reduce job duration from 1 minute to 30 seconds in InfrastructureAgent 2024-12-23 18:22:03 +00:00
Simon Larsen
09e997c104 Add noValueMessage prop to description fields across multiple components 2024-12-23 17:54:27 +00:00
Simon Larsen
eee787be1c Update description fields to be optional across multiple components 2024-12-20 17:22:05 +00:00
Simon Larsen
c9b0d4fbec Fix binary paths in build script for MSI to remove leading dot 2024-12-20 16:58:00 +00:00
Simon Larsen
946f82f978 Add debug logging to server monitor criteria and comparison functions 2024-12-20 16:23:34 +00:00
Simon Larsen
8fc3fe4a98 Increase offline check duration from 2 to 3 minutes in server monitor criteria 2024-12-20 16:16:25 +00:00
Simon Larsen
3d321a038b Add infrastructure agent deployment workflow with GoReleaser and artifact upload 2024-12-20 16:00:56 +00:00
Simon Larsen
ef06d47619 Fix binary paths in build script for MSI to remove leading dot 2024-12-20 15:55:46 +00:00
Simon Larsen
c8a966a2f7 Enhance server monitor functionality by adding serverMonitorResponse handling and improving hostname resolution 2024-12-20 15:48:32 +00:00
Simon Larsen
32ffdf9174 Consolidate package installation in build script for MSI 2024-12-20 14:54:22 +00:00
Simon Larsen
d482cb00a9 Fix typo in form step title from "Baisc Info" to "Basic Info" in SSO pages 2024-12-20 13:59:20 +00:00
Simon Larsen
6286b8bf4c Update output directory in build script for MSI to a more general path 2024-12-20 13:58:48 +00:00
Simon Larsen
b264f4a6b9 Add MSI image release step to GitHub Actions and update build script for dependencies 2024-12-20 12:10:58 +00:00
Simon Larsen
ec7d5fe5c2 Update ARM64 binary path in MSI build script to reflect new version structure 2024-12-20 12:08:47 +00:00
Simon Larsen
4b9d770030 Update Windows installer templates for arm64: enhance XML structure, update product details, and adjust file references 2024-12-19 20:38:24 +00:00
Simon Larsen
a8100e9b01 Refactor Windows installer template for arm64: update XML structure, improve metadata, and enhance component definitions 2024-12-19 20:37:35 +00:00
Simon Larsen
b43e892295 Update GoReleaser to v6.1.0 and increment version in configuration 2024-12-19 20:14:30 +00:00
Simon Larsen
663f151051 Add MSI build script and templates for Windows infrastructure agent 2024-12-19 19:44:39 +00:00
Simon Larsen
282373b654 Update server monitor criteria and request handling for accurate time tracking 2024-12-19 18:10:15 +00:00
Simon Larsen
43faeb6e32 Update CheckOnlineStatus to use three minutes ago for server monitor queries 2024-12-19 17:58:25 +00:00
Simon Larsen
8180fcf386 Update metric view data handling in MonitorMetrics component 2024-12-19 17:49:38 +00:00
Simon Larsen
e2cbd4d0ac Refactor loading and error handling in MonitorMetrics component 2024-12-19 17:31:27 +00:00
Simon Larsen
084c259197 Update report settings to clarify email notifications for subscribers 2024-12-17 19:16:04 +00:00
Simon Larsen
6ecd709f29 Add NFPM configuration for packaging and install step in release workflow 2024-12-17 18:56:27 +00:00
Simon Larsen
b935cef5a0 Fix typo in subscription confirmation message 2024-12-17 17:41:44 +00:00
Simon Larsen
1d5e838afa Update subscription success message to include email confirmation instructions 2024-12-17 17:35:38 +00:00
Simon Larsen
90ca4b68cf Add email notification for new subscribers and improve subscription confirmation handling 2024-12-17 15:01:26 +00:00
Simon Larsen
031bd26b09 Update subscription confirmation to use 'verification-token' query parameter 2024-12-17 14:56:42 +00:00
Simon Larsen
1296f37081 Enhance subscription confirmation handling by updating permission controls and modifying email notification options 2024-12-17 14:41:31 +00:00
Simon Larsen
ba1a707156 Remove outdated IP addresses from the configuration documentation 2024-12-17 13:08:41 +00:00
Simon Larsen
d670cca559 Add subscription confirmation feature and enhance Pill component with tooltip support 2024-12-17 13:00:23 +00:00
Simon Larsen
f7e31a4f04 Add subscription confirmation handling and enhance Pill component with tooltip support 2024-12-17 12:50:02 +00:00
Simon Larsen
bb7917551f Add confirmation functionality for status page subscriptions and update related templates 2024-12-17 12:42:22 +00:00
Simon Larsen
53238aee40 Refactor date handling in AggregateUtil and XAxisUtil, and improve error handling in MetricView and IncidentView components 2024-12-16 18:17:01 +00:00
Simon Larsen
187d41e25f Refactor RollingTimePicker and MetricMonitorStepForm for improved state management and performance 2024-12-16 17:59:18 +00:00
Simon Larsen
56f79a91c1 Enhance IncidentView component with HeaderAlert for date display and improve metrics card layout 2024-12-16 16:57:04 +00:00
Simon Larsen
4dd6b5f32e Add MetricViewData interface and update imports across components 2024-12-16 16:53:38 +00:00
Simon Larsen
f48a5a650c Add metricAggregationType handling to MetricMonitorOptions and enhance CriteriaFilter component 2024-12-16 16:23:57 +00:00
Simon Larsen
09a2a31d2b Refactor evaluation type handling in CompareCriteria and update MetricMonitorOptions interface 2024-12-16 16:14:23 +00:00
Simon Larsen
5fd60094ab Add monitorStep parameter to MetricMonitorCriteria and enhance metric alias handling 2024-12-16 15:59:59 +00:00
Simon Larsen
0cfc9fbb56 Improve data handling and code readability in various components 2024-12-16 15:38:29 +00:00
Simon Larsen
2fc6200c47 Update chartCssClass in MetricMonitor components for consistent styling 2024-12-16 11:11:51 +00:00
Simon Larsen
437e5e7004 Enhance MetricMonitorPreview with rolling time selection and modal for improved user interaction 2024-12-16 11:08:40 +00:00
Simon Larsen
22e2c1f25c Uncomment Metrics monitor type in MonitorTypeHelper for clarity 2024-12-16 10:34:30 +00:00
Simon Larsen
4799ed0434 Fix typo in alert configuration key for consistency in Helm chart 2024-12-16 10:26:18 +00:00
Simon Larsen
0848dfc5d6 Refactor EnvironmentConfig and StatusPageService for improved readability and consistency 2024-12-16 10:25:26 +00:00
Simon Larsen
88cf2c3cb0 Add configuration options to disable automatic alert and incident creation 2024-12-16 09:57:24 +00:00
Simon Larsen
ca3855d109 Remove commented-out Metrics monitor type from MonitorTypeHelper for cleaner code 2024-12-13 15:55:52 +00:00
Simon Larsen
36570f3944 Refactor APIRequestCriteria to improve readability of response code check 2024-12-13 14:09:23 +00:00
Simon Larsen
df10a1900d Update APIRequestCriteria to include responseCode check for ResponseStatusCode validation 2024-12-13 14:06:43 +00:00
Simon Larsen
eca3408598 Update APIResponse interface to allow statusCode to be undefined for better error handling 2024-12-13 14:04:57 +00:00
Simon Larsen
9d1a2c40c7 Refactor MetricMonitorStepForm and MetricView to optimize state management and enhance data handling 2024-12-12 13:57:46 +00:00
Simon Larsen
cd58b72a9c Refactor MetricMonitorStepForm to eliminate unnecessary state management and streamline onChange handling 2024-12-12 13:17:00 +00:00
Simon Larsen
ceead6eaba Refactor StartAndEndDate and CriteriaFilter components for improved readability and consistency in type usage 2024-12-12 13:02:29 +00:00
Simon Larsen
45a665b004 Refactor DateFilter and MetricView components for consistency in value prop usage; improve formatting in various files 2024-12-12 12:58:20 +00:00
Simon Larsen
2dd1cd8453 Update chartCssClass for improved styling in MetricMonitorStepForm 2024-12-12 12:03:54 +00:00
Simon Larsen
8152a7f7ea Add hideCardInCharts prop and chartCssClass for enhanced styling in MetricMonitorStepForm 2024-12-12 12:02:09 +00:00
Simon Larsen
55d962eed7 Add chartCssClass prop to ChartGroup, MetricCharts, and MetricView for customizable styling 2024-12-12 11:55:48 +00:00
Simon Larsen
ebf5c83358 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-12-12 11:28:57 +00:00
Simon Larsen
69e5fba5ff Add monitorStep prop to various components for improved data handling in monitoring forms 2024-12-12 11:15:00 +00:00
Simon Larsen
139ee62106 Add FieldLabelElement for metric selection in MetricMonitorStepForm 2024-12-12 10:36:47 +00:00
Simon Larsen
2d89431dc1 Merge pull request #1765 from ThoSt81/patch-1
Update SubscribedToStatusPage.hbs
2024-12-12 10:29:07 +00:00
ThoSt
d506e658f0 Update SubscribedToStatusPage.hbs
Remove InfoBlock which is identical to EmailTitle and thus messing up the template when send to the new subscriber.
2024-12-11 15:49:42 +01:00
Simon Larsen
180d02c53d Refactor MonitorMetrics and MetricExplorer components to streamline state management with MetricViewData and improve code readability 2024-12-11 14:01:31 +00:00
Simon Larsen
e500886b12 Refactor MetricMonitor components to utilize MetricViewData for improved state management and data handling 2024-12-11 13:57:15 +00:00
Simon Larsen
7f7bcbc0a3 Add FieldLabelElement for time range selection and refactor MetricView data handling in MetricExplorer 2024-12-11 13:51:43 +00:00
Simon Larsen
397231f1df Refactor MetricMonitorCriteria to improve type safety and enhance alias handling in data processing 2024-12-10 22:44:58 +00:00
Simon Larsen
f575afa151 Enhance MetricMonitorCriteria to support metric alias handling and improve data processing logic 2024-12-10 22:38:14 +00:00
Simon Larsen
b26cf4e876 Enhance Metric Monitor functionality by introducing MetricMonitorCriteria, updating MetricMonitorResponse, and refining telemetry monitoring logic 2024-12-10 19:37:24 +00:00
Simon Larsen
450488eb4f Refactor code for improved readability and consistency across Monitor components 2024-12-10 14:37:31 +00:00
Simon Larsen
14d3228786 Add Metric Monitor functionality with Rolling Time selection and preview 2024-12-10 14:32:54 +00:00
Simon Larsen
811fd24cd5 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-12-10 10:25:21 +00:00
Simon Larsen
098fb5be78 Merge branch 'metrics-monitor' 2024-12-10 10:25:10 +00:00
Simon Larsen
837d065b81 Merge pull request #1761 from WillDaSilva/patch-1
Remove trailing whitespace in `fluentbit.md`
2024-12-10 10:16:09 +00:00
Simon Larsen
fe2b001c6d Improve error handling in OTelIngest API to provide clearer feedback on failures 2024-12-09 18:23:17 +00:00
Simon Larsen
b08c047da7 Add early empty success response to prevent timeouts in OTelIngest API 2024-12-09 18:12:50 +00:00
Simon Larsen
79ff8b1f82 Enable debug logging in telemetry configuration for improved diagnostics 2024-12-09 17:59:58 +00:00
Simon Larsen
7da47d6e16 Refactor response handling in OTelIngest API to ensure early success response is sent consistently 2024-12-09 17:08:50 +00:00
Simon Larsen
6e6f3c6c38 Add MetricMonitor support with criteria checks and response type 2024-12-09 17:03:24 +00:00
Simon Larsen
b3b3d9a0b7 Merge branch 'master' into metrics-monitor 2024-12-09 16:19:26 +00:00
Simon Larsen
16f0fe145a Enhance probe monitoring by introducing configurable retry limit and updating logic 2024-12-09 16:18:43 +00:00
Simon Larsen
eea7209aaf Remove unused imports and clean up whitespace in OTelIngest API 2024-12-09 15:38:51 +00:00
Simon Larsen
c4c93f1cc5 Refactor error handling in data processing module for improved clarity and maintainability 2024-12-09 15:34:25 +00:00
Simon Larsen
0d19f56519 Refactor monitor type helper methods and update side menu to reflect changes in metrics handling 2024-12-09 12:58:22 +00:00
Simon Larsen
85d0ded200 Remove commented-out telemetry indexing and billing logic from OTelIngest API 2024-12-09 12:52:27 +00:00
Simon Larsen
c5134f0dd7 Add default value for PROBE_MONITOR_RETRY_LIMIT in probe.yaml and update values.yaml 2024-12-09 10:32:55 +00:00
Simon Larsen
9e117f34d4 Add PROBE_MONITOR_RETRY_LIMIT environment variable and update monitor retry logic 2024-12-09 10:28:22 +00:00
Will Da Silva
72f994d079 Remove trailing whitespace in fluentbit.md 2024-12-06 19:31:16 -05:00
Simon Larsen
4a6edfa660 Enhance logging for mutex acquisition and release in Monitor API 2024-12-06 17:43:52 +00:00
Simon Larsen
a20c05adb2 Merge branch 'master' into release 2024-12-06 17:39:33 +00:00
Simon Larsen
a286aba432 Refactor Semaphore class to streamline lockOptions initialization 2024-12-06 17:39:12 +00:00
Simon Larsen
a3f1302e37 Add lockTimeout and acquireTimeout options in Monitor API semaphore 2024-12-06 17:36:17 +00:00
Simon Larsen
9393388cc5 Add acquireTimeout option and improve lock options in Semaphore class 2024-12-06 17:34:21 +00:00
Simon Larsen
d249fe16d9 Add Fluent Bit integration documentation and image tiles to Telemetry section 2024-12-06 16:33:11 +00:00
Simon Larsen
7f6223f4c8 Remove debugger statement and improve code formatting in telemetry ingestion 2024-12-06 12:04:14 +00:00
Simon Larsen
dc5e2c0d40 Update Fluent Bit documentation and configuration for OneUptime telemetry ingestion 2024-12-06 11:58:40 +00:00
Simon Larsen
26f6a14e93 Update OpenTelemetry configuration in Fluent Bit to use new host and secure settings 2024-12-05 18:21:53 +00:00
Simon Larsen
588de5ad27 Add Fluent Bit documentation and update configuration for telemetry ingestion 2024-12-05 18:06:23 +00:00
Simon Larsen
8734938a82 Enhance telemetry configuration in Fluent Bit and update OpenTelemetry request handling 2024-12-05 17:55:59 +00:00
Simon Larsen
06e7228041 Add HTTP input to Fluent Bit configuration and expose port 8889 for telemetry ingestion 2024-12-05 14:43:39 +00:00
Simon Larsen
38ad431b17 Update Fluent Bit Docker configuration and remove obsolete YAML file 2024-12-04 20:09:16 +00:00
Simon Larsen
e0f5d8f1f2 Add Fluent Bit configuration and update probe intervals in Helm chart 2024-12-04 19:23:59 +00:00
Simon Larsen
e947d21060 Add random sleep interval to FetchList worker to reduce server load 2024-12-04 15:57:02 +00:00
Simon Larsen
41d347a1a7 Increase Node.js memory limit in start script for improved performance 2024-12-04 13:59:32 +00:00
Simon Larsen
5dc6ab6bb2 Update Alert and Incident metric type strings to use hyphens for consistency 2024-12-04 13:23:16 +00:00
Simon Larsen
3492e54a9b Refactor error logging and improve code formatting in AlertStateTimelineService and IncidentService 2024-12-04 13:12:49 +00:00
Simon Larsen
adf92f3dc9 Add Alert and Incident metric types, enhance Metric model, and improve error logging in services 2024-12-04 13:02:17 +00:00
Simon Larsen
02b9f77e7c Add new service types to Metric model and clean up IncidentService 2024-12-04 11:35:25 +00:00
Simon Larsen
396f435755 Add cron jobs to delete incident and alert metrics older than 180 days 2024-12-04 11:16:53 +00:00
Simon Larsen
5796db03f9 Add Incident and Alert service types to Metric model 2024-12-04 11:03:16 +00:00
Simon Larsen
4029d72967 Send early empty success response in OTelIngest to prevent timeouts 2024-12-04 10:39:54 +00:00
Simon Larsen
8d2cf500a0 Update OpenTelemetry endpoint in documentation for accuracy 2024-12-04 10:34:01 +00:00
Simon Larsen
5bfc954076 Refactor isSaving initialization in DashboardToolbar for clearer logic 2024-12-03 18:07:44 +00:00
Simon Larsen
769f468273 Add Loader component to DashboardToolbar for improved saving feedback 2024-12-03 18:04:21 +00:00
Simon Larsen
8d75128603 Add debug logging for updated items in DatabaseService and improve ObjectID equality check 2024-12-03 17:59:16 +00:00
Simon Larsen
ba4795e4b3 Serialize dashboardViewConfig in DashboardViewer for consistent data handling 2024-12-03 17:43:53 +00:00
Simon Larsen
65f9f7c830 Fix key assignment in MoreMenuItem to ensure unique keys for list items 2024-12-03 17:21:28 +00:00
Simon Larsen
99e56f9312 Fix mouse event coordinates in DashboardBaseComponent for accurate positioning 2024-12-03 17:14:36 +00:00
Simon Larsen
b380e6d770 Refactor ConfirmModal and DashboardToolbar for improved code readability and consistency 2024-12-03 16:36:02 +00:00
Simon Larsen
9d0add605d Add closeButtonText prop to modal components; implement confirmation modal for unsaved changes in DashboardToolbar 2024-12-03 16:31:32 +00:00
Simon Larsen
d4737841ce Enhance DashboardChartComponent to improve error handling and display an icon on error; refactor metric query configuration for better readability 2024-12-03 16:25:11 +00:00
Simon Larsen
d6f9971cb6 Refactor DashboardChartComponent and DashboardValueComponent for improved readability; add unit display in DashboardValueComponent 2024-12-03 14:31:22 +00:00
Simon Larsen
8e4733b72f Refactor Dashboard components and BasicForm for improved state management and code readability 2024-12-03 14:18:35 +00:00
Simon Larsen
07c387289a Enhance BasicForm and ArgumentsForm to support dynamic values; update Dashboard components to use ComponentLoader for improved loading state handling 2024-12-03 13:57:05 +00:00
Simon Larsen
956f786d1a Merge branch 'master' of github.com:OneUptime/oneuptime 2024-12-03 13:15:32 +00:00
Simon Larsen
56b2fbfb77 Refactor DashboardTextComponent and DashboardToolbar to improve layout and remove fullscreen state management; enhance DashboardViewer for better fullscreen handling 2024-12-03 13:15:30 +00:00
Simon Larsen
bba67afc36 Merge pull request #1758 from golyalpha/patch-1
Fix alert name links opening invalid/broken page
2024-12-03 13:11:56 +00:00
golyalpha
d1dd0d7774 Update Alert.tsx
Fix route on Alert name link in list of alerts
2024-12-02 21:06:17 +01:00
Simon Larsen
c7c6a54155 Enhance DashboardValueComponent and DashboardTextComponent for improved layout and error handling; add metric query configuration and adjust title height calculation 2024-12-02 18:29:10 +00:00
Simon Larsen
12fc9863d2 Refactor DashboardTextComponent and DashboardValueComponent to use consistent decimal notation for height calculations, improving code clarity 2024-12-02 18:16:49 +00:00
Simon Larsen
4ec718a966 Update DashboardValueComponent to dynamically set font sizes based on component height for improved text display 2024-12-02 18:14:50 +00:00
Simon Larsen
91b2a6e44f Update DashboardTextComponent to adjust text height calculation and apply it as font size for better text display 2024-12-02 18:13:11 +00:00
Simon Larsen
aa2e79bd82 Refactor MetricAlias component layout for improved responsiveness; adjust input widths for better alignment 2024-12-02 18:06:58 +00:00
Simon Larsen
cc62b26002 Refactor DashboardChartComponent and related components for improved code readability and maintainability; add optional title and description properties for enhanced chart configuration 2024-12-02 18:03:38 +00:00
Simon Larsen
6113b10c74 Update DashboardChartComponent to support dynamic legend and legendUnit properties for improved chart configuration 2024-12-02 18:00:57 +00:00
Simon Larsen
52a952f41e Add legendUnit property to DashboardChartComponent and MetricExplorer for enhanced chart configuration 2024-12-02 17:57:34 +00:00
Simon Larsen
257b4283e1 Add legend and legendUnit properties to MetricAliasData; update DashboardChartComponent and related components for legend display and configuration 2024-12-02 17:55:39 +00:00
Simon Larsen
31b4eba73f Update MetricAliasData to allow optional properties; enhance DashboardChartComponent to include chart title and description 2024-12-02 17:46:28 +00:00
Simon Larsen
0dec6255f6 Add optional properties for chart customization in DashboardChartComponent; enhance error handling in Dashboard components 2024-12-02 17:38:00 +00:00
Simon Larsen
baabf84951 Refactor Dashboard components for improved readability; update DashboardTextComponent to dynamically set height and fix formatting in DashboardValueComponent 2024-12-02 17:16:12 +00:00
Simon Larsen
359c36e023 Refactor MetricCharts and LineChart components for improved readability; update DashboardChartComponent to handle dynamic height and adjust DashboardValueComponent for new metric query configuration 2024-12-02 16:37:32 +00:00
Simon Larsen
285fe7f524 Add heightInPx prop to ChartGroup, LineChart, and MetricCharts for dynamic height adjustment 2024-12-02 15:57:50 +00:00
Simon Larsen
093e8e5591 Refactor Dashboard components for improved readability and add hideCard prop to ChartGroup and MetricCharts 2024-12-02 15:42:34 +00:00
Simon Larsen
73ce957b57 Enhance MonitorResourceUtil to include monitorName in attributes and improve error handling in Dashboard components 2024-12-02 15:33:37 +00:00
Simon Larsen
5dbb80457a Fix typos in data retention references across multiple views 2024-11-30 19:02:26 +00:00
Simon Larsen
d53b2d0e1c Add dashboardStartAndEndDate prop to DashboardCanvas and DashboardViewer components 2024-11-29 19:20:53 +00:00
Simon Larsen
c4256a0dea Refactor Dashboard components for improved code consistency and readability 2024-11-29 19:17:47 +00:00
Simon Larsen
b8fc933acb Add start and end date handling to Dashboard components and implement metric result fetching 2024-11-29 19:03:34 +00:00
Simon Larsen
45d447bf2c Add ColorSwatch enum and update Dashboard date range handling 2024-11-29 18:13:58 +00:00
Simon Larsen
a0400be8cd Add start and end date selection functionality to Dashboard components 2024-11-29 17:29:12 +00:00
Simon Larsen
3688381d4a Add max height calculation to DashboardCanvas for improved rendering logic 2024-11-29 13:03:31 +00:00
Simon Larsen
1f5287c2e6 Refactor DuplicateModel component in Settings page for improved readability and consistency 2024-11-29 12:54:17 +00:00
Simon Larsen
3e97d6bba1 Add DuplicateModel component to Settings page for dashboard duplication functionality 2024-11-29 12:50:25 +00:00
Simon Larsen
32c0cbc4ad Add Settings page and update routing and breadcrumbs for dashboard 2024-11-29 12:47:34 +00:00
Simon Larsen
90f267105f Add MetricViewData interface and implement MetricCharts component for enhanced metrics visualization 2024-11-28 21:43:38 +00:00
Simon Larsen
eaa9a5f1a0 Make metricAliasData optional in MetricView component for improved safety and handling 2024-11-28 14:11:13 +00:00
Simon Larsen
70da661041 Update MetricQueryConfigData to make metricAliasData optional and refactor ArgumentsForm and MetricQueryConfig components for improved type handling and conditional rendering 2024-11-28 13:27:31 +00:00
Simon Larsen
b307a74319 Refactor dashboard component argument types and update metrics handling in DashboardCanvas and ComponentSettingsSideOver 2024-11-28 13:16:44 +00:00
Simon Larsen
5c2fa28fff Refactor dashboard components to utilize JSONFunctions for deserialization of dashboard view configurations 2024-11-28 11:50:15 +00:00
Simon Larsen
2f8495e5b5 Add telemetry services loading and filtering to TraceTable component 2024-11-27 13:19:15 +00:00
Simon Larsen
d3d9c46812 Add exception handling to SpanViewer component with detailed display of exceptions 2024-11-27 13:05:59 +00:00
Simon Larsen
9e50d068db Enhance Clickhouse connection handling with improved error responses and status checks 2024-11-27 11:24:30 +00:00
Simon Larsen
7232a3142c Remove unused APIException import from CRUD components for cleaner code 2024-11-27 10:43:19 +00:00
Simon Larsen
a1ca2e3f37 Refactor API component error handling to consistently use errorPort and return detailed error messages 2024-11-27 10:39:40 +00:00
Simon Larsen
a5d993b999 Remove unused load distribution logic in Monitor API 2024-11-27 10:24:36 +00:00
Simon Larsen
854be1ddeb Swap debug ports for OpenTelemetryIngest and Fluent Ingest configurations in launch.json 2024-11-26 17:55:10 +00:00
Simon Larsen
fe5b93f66e Add Project ID field to APIKeyView for enhanced project tracking 2024-11-26 17:09:31 +00:00
Simon Larsen
f259ddecd5 Update TraceTable terminology from "Trace" to "Span" for consistency in terminology 2024-11-26 17:07:52 +00:00
Simon Larsen
680be0e468 Add conditional fetching of aggregated results in MetricView based on hideQueryElements prop 2024-11-26 16:38:49 +00:00
Simon Larsen
488a2b0b57 Add modulo function to QueryHelper and random number generator to NumberUtil for load distribution in monitor fetching 2024-11-26 15:38:00 +00:00
Simon Larsen
e0871e6b16 Remove unnecessary blank lines in QueryHelper class for improved code clarity 2024-11-26 14:05:26 +00:00
Simon Larsen
ab5acdef09 Refactor XAxis precision methods for improved date rounding and remove random sorting method from QueryHelper 2024-11-26 14:04:30 +00:00
Simon Larsen
002c23b2a5 Disable Clickhouse status check in InfrastructureStatus for improved reliability 2024-11-26 13:17:10 +00:00
Simon Larsen
b10134fb30 Add random sorting method to QueryHelper and apply it in Monitor probe fetching 2024-11-26 09:04:19 +00:00
Simon Larsen
93027ec0ae Refactor string to number conversion in AnalyticsDatabaseService for improved readability 2024-11-25 19:10:36 +00:00
Simon Larsen
481b09531f Convert string values to numbers in AnalyticsDatabaseService for aggregate column processing 2024-11-25 19:05:20 +00:00
Simon Larsen
4da1dd3f6b Refactor incomingRequest initialization in CheckHeartbeat for clarity 2024-11-25 18:29:14 +00:00
Simon Larsen
661d44d6b0 Add incomingMonitorRequest to CheckHeartbeat and streamline request initialization 2024-11-25 18:28:30 +00:00
Simon Larsen
d6dacb6493 Update TelemetryException model to use VeryLongText type for message fields and add migration for database schema changes 2024-11-25 16:58:08 +00:00
Simon Larsen
0ad5ee5997 Prevent owner notification for the first monitor status timeline entry 2024-11-25 15:05:01 +00:00
Simon Larsen
5ad8f00388 Refactor validation messages for improved formatting and readability 2024-11-25 14:32:58 +00:00
Simon Larsen
450311de3c Refactor validation messages for improved readability and add visibility check for field validation 2024-11-25 14:32:25 +00:00
Simon Larsen
1bc4f07fa3 Update features table to include new items and adjust existing entries 2024-11-25 14:05:58 +00:00
Simon Larsen
d091c93bfc Increase default navigation timeout for status checks and add new probe ingest tests 2024-11-25 14:00:53 +00:00
Simon Larsen
2ff9b47f1c Refactor retryCount initialization across multiple modules for consistency 2024-11-25 13:53:43 +00:00
Simon Larsen
6b470e671f Implement retry mechanism for infrastructure status checks across multiple modules 2024-11-25 13:49:49 +00:00
Simon Larsen
14c9174e24 Add debug logging for database operations and update feature table with new items 2024-11-25 13:08:47 +00:00
Simon Larsen
e4beb13982 Increase timeoutSeconds for liveness and readiness probes in values.yaml 2024-11-23 07:48:29 +00:00
Simon Larsen
2b006e1765 Update Fluentd configuration with new endpoint and token for production environment 2024-11-22 18:41:37 +00:00
Simon Larsen
f45c7f8d30 Add Nginx location for incoming-request-ingest with proxy settings 2024-11-22 18:24:47 +00:00
Simon Larsen
e3a2f95fc2 Add Nginx locations for fluent-ingest and open-telemetry-ingest with proxy settings 2024-11-22 18:18:11 +00:00
Simon Larsen
d27c161665 Add OFF log level to ConfigLogLevel enum and update documentation in values.yaml 2024-11-22 13:00:06 +00:00
Simon Larsen
b9d6a69f00 Fix typo in upstream block name for incoming requests in Nginx configuration 2024-11-22 12:08:08 +00:00
Simon Larsen
fac334d58a Remove probe port configuration and update related references in Helm chart and Docker setup 2024-11-22 11:37:52 +00:00
Simon Larsen
a4913cc5bf Rename host option to url in ClickhouseConfig for clarity 2024-11-22 10:32:15 +00:00
Simon Larsen
0ad1a34e10 Remove unused import for EJS in FluentIngest index file 2024-11-22 10:28:52 +00:00
Simon Larsen
325fa0eb7a Add SERVER_OPEN_TELEMETRY_INGEST_HOSTNAME to Helm template and update tag replacement in change-release-to-test-tag script 2024-11-22 10:23:56 +00:00
Simon Larsen
c02c1e6808 Update test-release workflow to replace deprecated Docker image deployment step 2024-11-22 10:08:58 +00:00
Simon Larsen
96a4a17320 Remove probe-ingest Docker image deployment steps from test-release workflow 2024-11-21 20:10:19 +00:00
Simon Larsen
23c169c6a3 Update Helm templates to use consistent naming for replicaCount across ingest services 2024-11-21 19:58:47 +00:00
Simon Larsen
6c4a4cad50 Fix replicaCount reference in probe-ingest Helm template 2024-11-21 19:11:27 +00:00
Simon Larsen
34c1af08db Fix import path for FluentIngestAPI in Index.ts 2024-11-21 19:05:12 +00:00
Simon Larsen
128aec9869 Remove protobufjs dependency from ProbeIngest and IncomingRequestIngest; update probe.yaml for consistent service URL structure 2024-11-21 18:13:42 +00:00
Simon Larsen
4fc2029a61 Add backward compatibility for /ingestor route in Nginx and ProbeIngest; update Probe configuration for new URL structure 2024-11-21 17:53:35 +00:00
Simon Larsen
815ae7161d Rename Ingestor to ProbeIngest; update configurations, routes, and Docker support; add new request types and workflows 2024-11-21 17:18:22 +00:00
Simon Larsen
3a1f5c7120 Refactor OpenTelemetry Ingest Dockerfile and configuration; update environment variables and docker-compose for new service integration 2024-11-21 17:08:35 +00:00
Simon Larsen
eec51342de Add configuration files for OpenTelemetry Ingest, including .gitignore, .dockerignore, and nodemon.json; refactor code for consistency and clarity 2024-11-21 16:42:29 +00:00
Simon Larsen
945cef653c Add Incoming Request Ingest service with configuration, Docker support, and tests 2024-11-21 14:41:37 +00:00
Simon Larsen
93154aabc7 Remove FluentIngestAPI from Ingestor routes 2024-11-21 13:36:29 +00:00
Simon Larsen
9244e49e6b Add Fluent Ingest service with configuration, Docker support, and tests 2024-11-21 13:31:11 +00:00
Simon Larsen
74e43f0526 Add debug logging for Clickhouse connection status and fix indentation in nginx.yaml 2024-11-21 12:34:57 +00:00
Simon Larsen
1fba734fd0 Refactor health check configurations to use structured probes in values.yaml and templates 2024-11-21 12:11:17 +00:00
Simon Larsen
197e4e67e0 Merge pull request #1750 from golyalpha/master
Add startupProbe to deployments with healthchecks
2024-11-21 10:56:58 +00:00
Radek Goláň jr.
02afbb19be add startupProbe to deployments with healtchecks 2024-11-21 09:00:27 +01:00
Simon Larsen
972e6cb98f Add logging for infrastructure status checks in Status.ts 2024-11-20 21:33:32 +00:00
Simon Larsen
b14f918d59 Update ClickHouse dependency version to 6.3.2 in Chart.yaml and Chart.lock 2024-11-20 18:58:02 +00:00
Simon Larsen
c05d4a0eea Update live check method in StatusAPI to use liveCheck instead of readyCheck 2024-11-20 18:56:07 +00:00
Simon Larsen
3732a5c95f Remove unnecessary blank line in ProbeAuthorization class 2024-11-20 17:33:40 +00:00
Simon Larsen
1e0f6ff558 Add comment to explain URI encoding in getClusterKey method 2024-11-20 15:29:36 +00:00
Simon Larsen
6a361e5b87 Remove unused cluster key retrieval method from ProbeAuthorization middleware 2024-11-20 15:28:00 +00:00
Simon Larsen
c94ac75a6f Refactor ClusterKeyAuthorization to use class reference for cluster key retrieval 2024-11-20 15:14:34 +00:00
Simon Larsen
b49e40780a Remove unused ObjectID import from ClusterKeyAuthorization middleware 2024-11-20 14:29:48 +00:00
Simon Larsen
dd01fa0a3d Refactor ClusterKeyAuthorization to use a dedicated method for cluster key retrieval and simplify type handling 2024-11-20 14:26:36 +00:00
Simon Larsen
a2218b01d0 Add resourcesPreset configuration to Clickhouse settings in values.yaml 2024-11-20 08:36:35 +00:00
Simon Larsen
8d9d83d679 Downgrade Clickhouse dependency version to 6.1.0 in Chart.yaml and Chart.lock 2024-11-19 17:51:46 +00:00
Simon Larsen
546c74297f Consolidate Clickhouse client imports for improved readability 2024-11-19 17:21:16 +00:00
Simon Larsen
9fc1e73fd3 Add additional Clickhouse service ports for TCP, MySQL, and PostgreSQL 2024-11-19 13:49:32 +00:00
Simon Larsen
64e713f503 Update Clickhouse dependency version to 6.3.2 in Chart.yaml and Chart.lock 2024-11-19 11:26:01 +00:00
Simon Larsen
f254209410 Refactor AnalyticsDatabaseService and ClickhouseDatabase imports for improved clarity 2024-11-18 19:54:30 +00:00
Simon Larsen
2f738f8b58 Refactor Clickhouse configuration imports for improved clarity and type usage 2024-11-18 18:57:36 +00:00
Simon Larsen
e2da9b5bc3 Update @clickhouse/client and @clickhouse/client-common to version 1.8.1 2024-11-18 18:51:45 +00:00
Simon Larsen
04bfaf754a Add health check endpoints for global cache, analytics database, and database 2024-11-18 18:42:31 +00:00
Simon Larsen
ab328b0987 Simplify EmailTitle helper usage in SubscriberIncidentStateChanged template 2024-11-18 15:08:17 +00:00
Simon Larsen
521844a5ff Add liveness and readiness probe configuration options to Helm chart templates 2024-11-18 15:07:51 +00:00
Simon Larsen
c4096e7000 Refactor ArgumentsForm, DashboardView, and DashboardToolbar components for improved readability and consistency 2024-11-15 17:14:56 +00:00
Simon Larsen
8afe8cf7fb Comment out NavBarItem for Dashboards in NavBar component 2024-11-15 17:13:52 +00:00
Simon Larsen
fa8b52fa83 Add DashboardViewConfig type and enhance dashboard saving functionality with loading state 2024-11-15 17:13:18 +00:00
Simon Larsen
a8baa76096 Refactor Dashboard components by renaming and replacing DashboardUnit with BlankDashboardUnit for improved clarity and structure 2024-11-15 14:54:09 +00:00
Simon Larsen
8d5cef72b3 Refactor formatting and spacing in Dashboard components for improved readability 2024-11-15 14:07:51 +00:00
Simon Larsen
ef0f0ffa0b Refactor SideOver and ComponentSettingsSideOver components for improved structure and readability 2024-11-15 14:04:12 +00:00
Simon Larsen
eef4e19dc9 Add component deletion functionality and improve selection handling in Dashboard components 2024-11-15 12:45:04 +00:00
Simon Larsen
5af41891dc Enhance DashboardCanvas and DashboardViewer components with selection handling and state management 2024-11-15 12:08:37 +00:00
Simon Larsen
4539b9d381 Update permissions for ScheduledMaintenanceTemplate to include additional roles for update access 2024-11-15 11:46:32 +00:00
Simon Larsen
c1aadd7ce7 Comment out NavBarItem for "Dashboards" in the DashboardNavbar component 2024-11-14 18:27:06 +00:00
Simon Larsen
3b76b92fcb Refactor interface definitions and formatting for improved consistency and readability 2024-11-14 18:21:55 +00:00
Simon Larsen
fe0dc51bef Add DashboardComponentType enum and refactor dashboard component interfaces for improved type safety 2024-11-14 18:10:03 +00:00
Simon Larsen
e279da47bf Refactor dashboard component interfaces and update argument structures for improved configuration 2024-11-14 17:50:36 +00:00
Simon Larsen
5d93000484 Add new metric-related interfaces and update component props for enhanced metrics configuration 2024-11-14 15:21:26 +00:00
Simon Larsen
b826a78700 Add minimum width and height properties to dashboard components for better layout control 2024-11-14 12:47:48 +00:00
Simon Larsen
eded26d92c Add support for HEAD requests in WebsiteMonitor and update request handling 2024-11-13 16:44:42 +00:00
Simon Larsen
517d00dc9a Integrate Playwright for browser automation and add viewport handling in SyntheticMonitor 2024-11-13 16:13:46 +00:00
Simon Larsen
96752f1473 Update aggregation intervals and refactor MetricView component for improved date handling and performance 2024-11-13 13:04:44 +00:00
Simon Larsen
bbc2e306f4 Add waitUntil option to page.setContent for improved reliability in screenshot capture 2024-11-13 12:14:26 +00:00
Simon Larsen
03e063c35b Merge pull request #1746 from OneUptime/take-screenshot-on-incident-create
Take screenshot on incident create
2024-11-13 12:07:36 +00:00
Simon Larsen
4c6c1381c8 Remove unnecessary blank line in MonitorIncident class for improved code readability 2024-11-13 12:07:12 +00:00
Simon Larsen
4814451277 Remove unused imports and clean up screenshot handling in MonitorResourceUtil 2024-11-13 12:00:51 +00:00
Simon Larsen
0c7b2ead8c Refactor migration files to drop specific indexes and improve code formatting; add keys to MoreMenuItem components in UI 2024-11-13 11:22:23 +00:00
Simon Larsen
6c6b80d3c8 Remove unused index decorators from IncidentStateTimeline and MonitorStatusTimeline models, and add migrations to drop specific indexes 2024-11-12 18:21:06 +00:00
Simon Larsen
76f9537002 Refactor migration files to improve index management and clean up MonitorIncident and MonitorResource utility classes 2024-11-12 17:47:07 +00:00
Simon Larsen
c0994ff055 Remove unused index decorators from Alert and Incident models, and add new migration files to drop specific indexes 2024-11-12 17:43:23 +00:00
Simon Larsen
86694d9627 Add Playwright dependency and update Dockerfile for installation 2024-11-12 15:17:52 +00:00
Simon Larsen
aa95f89b49 Merge pull request #1745 from Hubelia/fix_typo_certificate_provisioning
Fix typo in certificate provisioning
2024-11-12 14:41:27 +00:00
RegisHubelia
628b971dc9 Fix automatically typo in certificate provisioning currently set to automatiucally 2024-11-12 08:25:03 -05:00
Simon Larsen
ae002c0d88 Add validation for start and end date in MetricView to prevent loading without valid dates 2024-11-12 11:42:25 +00:00
Simon Larsen
a98fc6f784 Add Pill component for enabled/disabled status display in Workflow views 2024-11-11 18:43:46 +00:00
Simon Larsen
5c459eede8 Refactor metric handling by removing MonitorMetricsByMinute references, adding service type to metrics, and implementing a job to delete old monitor metrics 2024-11-11 18:06:31 +00:00
Simon Larsen
d9d2b615d2 Refactor code for consistency by standardizing property names and improving formatting across various components 2024-11-11 17:24:05 +00:00
Simon Larsen
86e6bca5e1 Enhance analytics functionality by adding groupBy support in various models and components 2024-11-11 17:01:35 +00:00
Simon Larsen
7cfff4787c Remove unnecessary whitespace and improve formatting in MonitorMetricType utility 2024-11-11 10:16:48 +00:00
Simon Larsen
491a8f05bc Update monitor metric units for consistency and improve metric view legend handling 2024-11-07 18:36:27 +00:00
Simon Larsen
f67f1a64bd Add utility method to determine aggregation type by monitor metric type 2024-11-07 17:48:35 +00:00
Simon Larsen
a31ef122a3 Refactor MetricFilter component for improved readability in metric name dropdown options 2024-11-07 17:45:34 +00:00
Simon Larsen
0a82d940fd Add MetricNameAndUnit interface and implement metrics view in Monitor section 2024-11-07 17:26:31 +00:00
Simon Larsen
6ec658b9a5 Refactor MonitorMetricsElement component for improved code readability 2024-11-07 15:52:05 +00:00
Simon Larsen
4e8de2303f Refactor database service to handle date columns and update monitor metrics querying logic 2024-11-07 14:55:16 +00:00
Simon Larsen
19625d6cef Implement MonitorMetricsElement component for dynamic metric querying and visualization 2024-11-07 13:16:44 +00:00
Simon Larsen
e346b12011 Add MonitorMetrics component and MonitorMetricType enum for enhanced monitoring capabilities 2024-11-06 17:40:16 +00:00
Simon Larsen
2b11f2f2b8 Add MonitorMetricType enum and update monitor metric naming conventions 2024-11-06 16:58:45 +00:00
Simon Larsen
3fb62cb358 Update Metric model description for clarity on service ID usage 2024-11-06 15:26:57 +00:00
Simon Larsen
108dfaccf8 Remove MonitorMetricsByMinute model and related service and job files 2024-11-06 13:42:25 +00:00
Simon Larsen
eb20a3c9a2 Comment out NavBarItem for "Dashboards" in the navigation bar 2024-11-06 12:23:02 +00:00
Simon Larsen
988d828bb6 Refactor Dashboard components for improved readability and consistency in code formatting 2024-11-06 12:20:37 +00:00
Simon Larsen
7fd0000c68 Update documentation for self-hosting OneUptime with clearer endpoint examples 2024-11-06 11:41:41 +00:00
Simon Larsen
6286653dd4 Enhance DashboardBaseComponent to track component position using state and update on dashboard view changes 2024-11-05 19:42:51 +00:00
Simon Larsen
9690a5897b Refactor Dashboard components to use component IDs instead of full component objects for improved performance and clarity 2024-11-05 14:58:42 +00:00
Simon Larsen
eefac8703d Update DashboardBaseComponent to use event.pageX and event.pageY for accurate position calculations 2024-11-01 17:13:54 +00:00
Simon Larsen
077a3aad3b Refactor DashboardBaseComponent to improve coordinate calculation and ensure new positions remain within dashboard bounds 2024-11-01 16:55:17 +00:00
Simon Larsen
3ae72726b8 Fix DashboardBaseComponent position calculations to ensure new coordinates remain within bounds 2024-11-01 14:32:21 +00:00
Simon Larsen
90c0e42eb1 Refactor DashboardCanvas and DashboardBaseComponent to enhance component positioning and sizing logic 2024-11-01 14:22:13 +00:00
Simon Larsen
8877ce6d12 Refactor Dashboard size calculations and update DashboardTextComponent height 2024-11-01 13:15:31 +00:00
Simon Larsen
1af5dae991 Refactor DashboardBaseComponent to use consistent naming conventions for width and height variables 2024-11-01 10:54:31 +00:00
Simon Larsen
ee49f3e6dd Refactor GetHeightOfDashboardComponent and GetWidthOfDashboardComponent functions 2024-10-31 18:31:45 +00:00
Simon Larsen
8d4b8b7881 Refactor DashboardToolbar component to adjust margins and spacing 2024-10-31 17:21:25 +00:00
Simon Larsen
4626520f62 Refactor DashboardBaseComponent to add full screen functionality and adjust styling 2024-10-31 13:26:32 +00:00
Simon Larsen
7c04569a14 Refactor IconProp enum and add new icons: Bold, Italic, and Underline 2024-10-30 18:45:58 +00:00
Simon Larsen
bd8b1ca909 Refactor Dashboard components and add full screen functionality 2024-10-30 17:40:38 +00:00
Simon Larsen
13dddab5e5 Refactor MonitorTestForm component to adjust margins and spacing 2024-10-30 11:56:28 +00:00
Simon Larsen
771b0e4645 Refactor MonitorTestForm component to adjust margins and spacing 2024-10-29 18:11:02 +00:00
Simon Larsen
d99111b2f9 Refactor MonitorTest table to remove "lastMonitoringLog" column and add "monitorStepProbeResponse" and "isInQueue" columns 2024-10-29 18:04:36 +00:00
Simon Larsen
c2bb44f823 Refactor MonitorTestForm component and add test functionality 2024-10-29 17:55:09 +00:00
Simon Larsen
7ece118acd Refactor MonitorTestService and MonitorTest model 2024-10-29 17:43:36 +00:00
Simon Larsen
9b4ef72682 Refactor MonitorTestService and MonitorTest model 2024-10-29 16:59:07 +00:00
Simon Larsen
25ba824d79 Refactor MonitorResourceUtil and CriteriaFilterUtil to add MonitorTest model 2024-10-29 13:43:10 +00:00
Simon Larsen
9b35836dc8 Refactor MonitorResourceUtil to support ExecutionTime metric in synthetic monitors 2024-10-29 13:19:26 +00:00
Simon Larsen
809f9a38bc Refactor MonitorResourceUtil and MonitorChart components 2024-10-28 14:43:54 +00:00
Simon Larsen
df08f2b188 Refactor MonitorResourceUtil and CriteriaFilterUtil to support ExecutionTime metric 2024-10-28 14:41:59 +00:00
Simon Larsen
9512b9d001 Merge branch 'master' into release 2024-10-28 13:46:58 +00:00
Simon Larsen
995026f65f Refactor StatusPageSubscriberService to remove unnecessary code 2024-10-28 13:46:52 +00:00
Simon Larsen
d619d2afff Refactor StatusPageSubscriberService to fix issue with sending notifications for unsubscribed subscribers 2024-10-28 13:44:49 +00:00
Simon Larsen
1affe3cdda Refactor StatusPageSubscriberService to include event type selection 2024-10-28 13:35:33 +00:00
Simon Larsen
0bee18fa63 Refactor SubscriberSettings component to remove unnecessary code 2024-10-28 13:09:26 +00:00
Simon Larsen
2ad7face9a Refactor StatusPageAPI to allow subscribers to choose event types 2024-10-28 12:53:26 +00:00
Simon Larsen
33604bba3c Refactor SubscriberSettings component to allow subscribers to choose event types 2024-10-28 12:46:16 +00:00
Simon Larsen
9d6c34b796 Refactor StatusPageEventType enum to include new event types 2024-10-28 12:41:24 +00:00
Simon Larsen
052c3040fb Merge branch 'master' into release 2024-10-28 11:52:42 +00:00
Simon Larsen
89804ebbd1 Refactor Dashboard components to include component ID in rendered output 2024-10-28 11:52:19 +00:00
Simon Larsen
e21572af6d Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-10-28 11:44:56 +00:00
Simon Larsen
3865f6cb06 Refactor Markdown class to convert tags > and < to &gt; and &lt; 2024-10-28 11:44:26 +00:00
Simon Larsen
296791ed25 Refactor NavBar component to temporarily comment out unused DashboardNavItem 2024-10-28 10:11:05 +00:00
Simon Larsen
017216b8a6 Refactor DashboardBaseComponent to remove unused event parameters in onDragStart and onDragEnd 2024-10-28 10:07:30 +00:00
Simon Larsen
6fb6329356 Refactor DashboardViewConfigUtil to fix lastRowThatHasComponent calculation 2024-10-28 10:05:57 +00:00
Simon Larsen
477da276b2 Refactor Dashboard components and add new dashboard view 2024-10-25 15:18:23 +01:00
Simon Larsen
dbf90bf114 Refactor Dashboard components and add conditional rendering for empty dashboard 2024-10-25 13:12:17 +01:00
Simon Larsen
d6fa9b3905 Refactor DashboardToolbar to remove unused imports and update props usage 2024-10-25 08:48:17 +01:00
Simon Larsen
95573032e7 Refactor DashboardCanvas to render DashboardBaseComponentElement for each component 2024-10-25 07:57:00 +01:00
Simon Larsen
82699e5276 Refactor DashboardChartComponent to remove unused imports and update file name 2024-10-25 07:52:46 +01:00
Simon Larsen
54b95107c3 Refactor DashboardChartComponent and related components 2024-10-25 07:52:21 +01:00
Simon Larsen
e54b337c45 Refactor DashboardSize to calculate total width of dashboard in rem 2024-10-24 19:12:46 +01:00
Simon Larsen
75ab4bd946 Refactor DashboardViewConfig enum to use explicit types for default height and width 2024-10-24 18:34:31 +01:00
Simon Larsen
b31ffab577 Refactor DashboardComponentType enum to fix casing and add missing newline at end of file 2024-10-24 17:23:34 +01:00
Simon Larsen
8f2da2bdc5 Refactor dashboard component types and add chart, text, and value components 2024-10-24 15:38:13 +01:00
Simon Larsen
6ae31ac0da Refactor canvas and row components to use explicit types for default height and width 2024-10-23 14:54:01 +01:00
Simon Larsen
da22f2ef51 Refactor DashboardMode enum to fix formatting and add missing newline at end of file 2024-10-23 14:48:51 +01:00
Simon Larsen
a882507aff Refactor MoreMenu component to use Button instead of Icon 2024-10-23 14:46:24 +01:00
Simon Larsen
04c74de8e3 Merge pull request #1738 from OneUptime/master
Release
2024-10-23 13:45:33 +01:00
Simon Larsen
f13adebc04 Refactor DashboardSize to fix casing of heightInDashboardUnits property 2024-10-23 13:36:31 +01:00
Simon Larsen
5573d1cd6c Refactor NavBar component to uncomment Dashboards item 2024-10-23 13:09:00 +01:00
Simon Larsen
24d15c98ef Refactor NavBar component to comment out unused code 2024-10-23 13:08:37 +01:00
Simon Larsen
97de3ff6c7 Refactor DashboardService to include DashboardViewConfig 2024-10-23 13:07:47 +01:00
Simon Larsen
7bcecd0a1d Update package dependencies 2024-10-23 12:56:34 +01:00
Simon Larsen
b050dfdc1c Refactor CategoryCheckbox component to remove unnecessary array cloning 2024-10-23 12:56:10 +01:00
Simon Larsen
05a2fe6665 Refactor CRUD permissions to include read access 2024-10-23 12:50:02 +01:00
Simon Larsen
986479e8d5 Refactor DashboardViewConfig to use semicolon instead of comma 2024-10-23 12:45:22 +01:00
Simon Larsen
16fad55f9f Refactor Dashboard model to include DashboardViewConfig 2024-10-23 12:18:15 +01:00
Simon Larsen
4f03f448e8 Add new dashboard components and interfaces 2024-10-23 12:15:00 +01:00
Simon Larsen
f3e72a30d3 Delete unused ServiceDelete component 2024-10-23 11:51:38 +01:00
Simon Larsen
cf319c5afb Add new chart types and dashboard component interfaces 2024-10-23 11:24:13 +01:00
Simon Larsen
3afd4ed5b5 Merge pull request #1734 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-RINtg
Improved comments on /App/FeatureSet/Identity/API/StatusPageSSO.ts
2024-10-22 12:51:20 +01:00
Simon Larsen
00a783acca Merge pull request #1732 from OneUptime/snyk-fix-d8042450b0fd7524c713302d42109ccc
[Snyk] Fix for 1 vulnerabilities
2024-10-21 16:23:26 +01:00
Simon Larsen
3733c99b67 Merge pull request #1736 from fzamperin/master
refactor: change tailwind.js from cdn to serve local
2024-10-21 16:22:55 +01:00
Simon Larsen
e9daf776de fix monitor id on alert table 2024-10-21 16:22:03 +01:00
Fernando Penna
aced5f2124 Merge branch 'OneUptime:master' into master 2024-10-18 16:36:29 -03:00
Fernando Augusto Zamperin Penna
74ff0adefe refactor: adding standalone tailwindjs script on pages instead of cdn 2024-10-18 16:35:48 -03:00
Simon Larsen
4cefa756d6 add not notify on default incident state 2024-10-18 16:41:33 +01:00
Simon Larsen
365e44ebf9 add custom code monitor summary 2024-10-18 16:17:52 +01:00
Simon Larsen
b7d34e878f fix typo 2024-10-18 10:29:10 +01:00
OneUptime Copilot
15b2bf2071 Improved comments on /App/FeatureSet/Identity/API/StatusPageSSO.ts 2024-10-17 01:30:49 +00:00
Simon Larsen
5e85e73c0b add do not follow redirect to form 2024-10-16 18:20:03 +01:00
Simon Larsen
b9b5ca3325 switch base image to ecr 2024-10-16 15:54:57 +01:00
Simon Larsen
d89ee302fd turn do not redirect to false 2024-10-16 15:08:56 +01:00
Simon Larsen
a39db4ffc9 fix timeline on monitor chart 2024-10-16 14:59:01 +01:00
Simon Larsen
bbced15076 do not follow redirects when monitoring 2024-10-16 12:50:24 +01:00
Simon Larsen
1b3cde35f3 add filter views to other tables 2024-10-16 12:02:16 +01:00
Simon Larsen
f1dda4a7b3 fix filter settings 2024-10-15 19:20:46 +01:00
snyk-bot
f50120d19a 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-COOKIE-8163060
2024-10-15 06:03:43 +00:00
Simon Larsen
9d50f77908 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-10-14 20:23:23 +01:00
Simon Larsen
f0a3ddbf2e make UI for table filters nicer 2024-10-14 20:23:20 +01:00
Simon Larsen
8a35eb47e6 Merge pull request #1618 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-nJEHb
[OneUptime Copilot] Improve Comments on /App/Index.ts
2024-10-14 15:33:53 +01:00
Simon Larsen
6ccf8961bf Merge pull request #1701 from OneUptime/snyk-fix-2d8a0a8383cb68645721c65394cd6cd7
[Snyk] Security upgrade node from 22.5 to 22.9
2024-10-14 15:33:08 +01:00
Simon Larsen
fab8ca112b Merge pull request #1707 from OneUptime/snyk-fix-6186b78cb9bdefdfbc19f061c3bc0e9c
[Snyk] Security upgrade node from 22.5 to 22.8
2024-10-14 15:32:39 +01:00
Simon Larsen
bb81d4cf27 Merge branch 'master' into snyk-fix-6186b78cb9bdefdfbc19f061c3bc0e9c 2024-10-14 15:32:31 +01:00
Simon Larsen
931999c39f Merge pull request #1703 from OneUptime/snyk-fix-9272f658e87a4afce4e711dde5615427
[Snyk] Security upgrade express from 4.19.2 to 4.20.0
2024-10-14 15:32:09 +01:00
Simon Larsen
2e1e112b42 Merge pull request #1731 from OneUptime/snyk-fix-6dcbd9c940cb1f77c486fe016548c853
[Snyk] Security upgrade express from 4.19.2 to 4.21.1
2024-10-14 15:31:54 +01:00
snyk-bot
3b7a7c3c49 fix: StatusPage/package.json & StatusPage/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-COOKIE-8163060
2024-10-14 05:38:21 +00:00
Simon Larsen
5d9252d1ff refactor: Enable domain editing and make certificate fields optional in StatusPageDelete component 2024-10-10 12:42:18 +01:00
Simon Larsen
7c85fb4ded refactor: Update status page delete message for custom certificates 2024-10-09 21:06:46 +01:00
Simon Larsen
9e45f4cea9 refactor: Add doNotFollowRedirects option to WebsiteRequest and API
This commit adds the `doNotFollowRedirects` option to the `WebsiteRequest` and `API` classes. When set to `true`, the classes will not follow redirects when making HTTP requests. This is achieved by setting the `maxRedirects` property of the `axiosOptions` object to 0. This change allows for more control over the behavior of HTTP requests and ensures that redirects are not automatically followed.
2024-10-09 20:11:15 +01:00
Simon Larsen
f5d2c61a70 refactor: Add logging for writing custom certificates to disk 2024-10-09 19:31:47 +01:00
Simon Larsen
d072a29cf8 refactor: Add WriteCustomCertsToDiskJob to Nginx/Index.ts and update UptimeUtil to round uptime percentage to specified precision
- The WriteCustomCertsToDiskJob has been added to the Nginx/Index.ts file to handle writing custom certificates to disk.
- The UptimeUtil has been updated to round the uptime percentage to the specified precision.
2024-10-09 19:24:17 +01:00
Simon Larsen
0d262429d9 refactor: Remove unused code in OverviewPageBranding and improve code formatting 2024-10-09 12:09:53 +01:00
Simon Larsen
7b1960f00c refactor: Update UptimeUtil to round uptime percentage to specified precision 2024-10-09 11:59:07 +01:00
Simon Larsen
e253be732f refactor: Update UptimeUtil to round uptime percentage to specified precision
The UptimeUtil class in the Common/Utils/Uptime directory has been updated to include a new method called roundToPrecision. This method takes a number and a precision value and rounds the number to the specified precision. This method is used in the calculateUptimePercentage method to round the uptime percentage to the precision specified in the data.group object.

This change ensures that the uptime percentage is displayed with the correct precision, providing more accurate information to users.

Refactor the UptimeUtil class to include the roundToPrecision method and update the calculateUptimePercentage method to use it.

Fixes #123
2024-10-09 11:39:21 +01:00
Simon Larsen
eaf4193cb0 refactor: Remove unused code in UptimeUtil 2024-10-09 11:23:49 +01:00
Simon Larsen
d7f881c468 fix: Add namespace to Semaphore lock in MonitorStatusTimelineService 2024-10-09 10:46:33 +01:00
Simon Larsen
8270934564 refactor: Improve locking mechanism in Semaphore class
- Modify the Semaphore class in Semaphore.ts to include a namespace parameter in the lock method.
- Update the lockTimeout default value from 1000 to 5000 milliseconds.
- Append the namespace to the key when creating a new Mutex instance.
- Add a try-catch block to handle errors when acquiring and releasing the mutex.
2024-10-09 10:23:50 +01:00
Simon Larsen
8590cfa4c0 feat: add note to alert type 2024-10-08 22:04:51 +01:00
Simon Larsen
09196f397e make alert private note work 2024-10-08 21:12:03 +01:00
Simon Larsen
bc714759bc Merge branch 'monitor-alert' 2024-10-08 20:26:12 +01:00
Simon Larsen
06d0dba258 add monitor alert 2024-10-08 20:26:00 +01:00
Simon Larsen
40cd066473 Merge pull request #1727 from OneUptime/monitor-alert
Monitor Alerts
2024-10-04 16:17:05 -07:00
Simon Larsen
7a38a0d9da fix rule in monitor criteria 2024-10-04 15:54:01 -07:00
Simon Larsen
add11806e0 add default alert severity id 2024-10-04 15:44:43 -07:00
Simon Larsen
97bf26ab03 make header alerts work 2024-10-04 15:34:50 -07:00
Simon Larsen
09955a5ba9 add header group 2024-10-04 11:40:38 -07:00
Simon Larsen
30db4e58ff refactor UI of header alerts 2024-10-04 11:01:36 -07:00
Simon Larsen
7eebd75088 add types to header alert 2024-10-04 09:12:13 -07:00
Simon Larsen
d17b687e03 add alert types to model alert 2024-10-04 09:08:00 -07:00
Simon Larsen
f08dbf6e8f fix issue with monitor group 2024-10-04 08:58:58 -07:00
Simon Larsen
4be7675b74 add active alerts to home page 2024-10-04 08:52:42 -07:00
Simon Larsen
6acb0fb486 add alerts page to monitor groups 2024-10-04 08:31:46 -07:00
Simon Larsen
54cd18896a Refactor SideMenu component in Settings page 2024-10-03 17:12:29 -07:00
Simon Larsen
b5596968a5 Refactor NoteTemplate component to AlertNoteTemplateDetail component 2024-10-03 16:51:18 -07:00
Simon Larsen
25f2d527f8 Refactor AlertNoteTemplateView component and create NoteTemplate component 2024-10-03 16:49:09 -07:00
Simon Larsen
7a052d69d0 Refactor AlertNoteTemplateViews component and create AlertNoteTemplateView component 2024-10-03 16:43:28 -07:00
Simon Larsen
b151eaace7 Refactor AlertNoteTemplateView component and create AlertNoteTemplateViews component 2024-10-03 16:43:18 -07:00
Simon Larsen
8e2336f753 Refactor AlertNoteTemplateViews component and create AlertNoteTemplateView component 2024-10-03 16:42:30 -07:00
Simon Larsen
b0a4bcc5fb Refactor AlertNoteTemplateView and AlertNoteTemplateViews components 2024-10-03 16:42:20 -07:00
Simon Larsen
c8d4bea49b Refactor AlertsTable component and update route in DashboardSideMenu 2024-10-03 16:41:45 -07:00
Simon Larsen
facc564616 Refactor MonitorCriteriaInstance to handle null incidents and alerts 2024-10-03 16:22:48 -07:00
Simon Larsen
591b3ab41c Refactor TableView component and fix indentation 2024-10-03 15:45:00 -07:00
Simon Larsen
cfc1fb47be Refactor MonitorPage and TableView components 2024-10-03 15:25:10 -07:00
Simon Larsen
4a7ac0ffab add monitor alerts 2024-10-03 10:51:41 -07:00
Simon Larsen
bb5a019afd enhance alert permissions and add alert routes 2024-10-03 10:35:10 -07:00
Simon Larsen
b624bd49ee add migration for alerts 2024-10-02 23:05:45 +01:00
Simon Larsen
249a9d991c Merge branch 'table-filters' into monitor-alert 2024-10-02 23:02:38 +01:00
Simon Larsen
49a2ee18a1 add alerts to monitor step 2024-10-02 23:00:47 +01:00
Simon Larsen
11a4f3442d add alert jobs in worker 2024-10-02 22:43:04 +01:00
Simon Larsen
f25f7f1f81 add jobs for alerts 2024-10-02 22:10:37 +01:00
Simon Larsen
d60d9c5a80 add alert mail templates 2024-10-02 22:08:41 +01:00
Simon Larsen
56e8c24449 fix lint 2024-10-02 22:03:40 +01:00
Simon Larsen
bf63badd19 add alerts to nav bar 2024-10-02 22:01:10 +01:00
Simon Larsen
cc1d60af11 add alert change state element 2024-10-02 21:58:56 +01:00
Simon Larsen
e6b47d85d6 add breadcrumbs 2024-10-02 21:48:40 +01:00
Simon Larsen
ae79417fbc add rotue paths to alerts 2024-10-02 21:40:36 +01:00
Simon Larsen
eaed1f8b64 add alert api's to index 2024-10-02 21:27:57 +01:00
Simon Larsen
333b06bc8a add alert services to index 2024-10-02 21:18:21 +01:00
Simon Larsen
cb8cf089c0 add alert services 2024-10-02 21:14:48 +01:00
Simon Larsen
22f5633a32 add default alert severity 2024-10-02 21:06:41 +01:00
Simon Larsen
2f47a3e808 add service for alerts 2024-10-02 21:03:11 +01:00
Simon Larsen
c217eea478 add alert custom fields. 2024-10-02 20:42:09 +01:00
Simon Larsen
1c6a242f3b add owner models 2024-10-02 20:35:05 +01:00
Simon Larsen
7a0cf315fc add alert internal note model 2024-10-02 20:26:05 +01:00
Simon Larsen
e5bb7dccc7 add alert models 2024-10-02 20:23:07 +01:00
Simon Larsen
c789438c62 add migration script for table views 2024-10-02 19:52:32 +01:00
Simon Larsen
bc0e8e323f integrate table view filters with base model table 2024-10-02 19:49:22 +01:00
Simon Larsen
fd15e66f83 add table view save settings. 2024-10-02 19:26:40 +01:00
Simon Larsen
c833bcb37a add table filters model 2024-10-02 15:13:37 +01:00
Simon Larsen
7c941da7df add table view table 2024-10-02 15:07:19 +01:00
Simon Larsen
a2e71afd53 Merge branch 'master' into table-filters 2024-10-01 19:17:23 +01:00
Simon Larsen
84fcb265f6 feat: Add logging to API Post component for better debugging 2024-10-01 19:17:15 +01:00
Simon Larsen
ae493aaee7 feat: Add MoreMenu component and related functionality for enhanced UI interactions 2024-10-01 18:37:26 +01:00
Simon Larsen
cc0670c291 Merge pull request #1725 from fzamperin/master
Refactor changing secret values from data to stringData
2024-10-01 16:51:44 +01:00
Simon Larsen
0733c15363 fix: Improve monitor status retrieval logic in Overview component 2024-10-01 16:50:39 +01:00
Fernando Augusto Zamperin Penna
8727914521 Refactor changing secret values from data to stringData 2024-09-30 14:37:31 -03:00
Simon Larsen
32fa57c63b feat: Implement cascading delete for status page resources in MonitorGroupService and MonitorService 2024-09-30 15:12:51 +01:00
Simon Larsen
346891e85d Merge pull request #1710 from OneUptime/snyk-fix-3c58f351c8ea93b844f014a3967bf666
[Snyk] Security upgrade node from 21.2-alpine3.18 to 21.7.3-alpine3.18
2024-09-30 14:56:25 +01:00
Simon Larsen
979e58ebf5 Merge pull request #1721 from OneUptime/snyk-fix-54b494d7ed7c85a9dfde1f7d20790746
[Snyk] Security upgrade node from 22.5 to 22.9
2024-09-30 14:56:12 +01:00
Simon Larsen
e9dfe14801 Merge pull request #1723 from OneUptime/snyk-fix-9beef75d5a122cf47203e4cfdf7811d2
[Snyk] Security upgrade node from 21.2-alpine3.18 to 21.7.3-alpine3.18
2024-09-30 14:55:58 +01:00
Simon Larsen
3f8c62747a Merge pull request #1722 from fzamperin/master
Fix externalClickhouse password secret
2024-09-30 13:54:36 +01:00
snyk-bot
9a38675676 fix: Workflow/Dockerfile.tpl to reduce vulnerabilities 2024-09-29 10:42:29 +00:00
Fernando Augusto Zamperin Penna
3d7b118e37 Fix externalClickhouse password secret 2024-09-28 20:42:36 -03:00
snyk-bot
c1beb9c0a0 fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-AOM-7197979
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855502
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855503
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855507
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
2024-09-28 05:43:30 +00:00
Simon Larsen
299707f748 Refactor Realtime class; replace BadDataException with no-op for missing tenantId 2024-09-27 16:51:44 +01:00
Simon Larsen
d48b725f6a Refactor UserAuthorization and Realtime; update mock implementation and add validation for tenantId 2024-09-27 14:21:47 +01:00
Simon Larsen
a0d77ac104 Refactor UserAuthorization test; improve formatting of mock setup for clarity 2024-09-26 17:11:18 +01:00
Simon Larsen
20b5e43b26 Refactor ProjectAuthorization test; remove unused AccessTokenService import for clarity 2024-09-26 17:09:36 +01:00
Simon Larsen
a10a83ad32 Refactor Project and User middleware tests; update method names for clarity and improve mock implementations 2024-09-26 16:15:07 +01:00
Simon Larsen
bf01322fbd Refactor ResourceUtil and UserMiddleware; update type definitions and improve method naming for clarity 2024-09-26 15:59:06 +01:00
Simon Larsen
73fc3e3a08 Refactor MonitorResourceUtil; enhance monitor status timeline logic and improve error handling 2024-09-26 15:51:36 +01:00
Simon Larsen
221f3774de Refactor MonitorResourceUtil; improve code formatting and streamline logging statements 2024-09-26 15:23:23 +01:00
Simon Larsen
b79dafc9df Refactor MonitorResourceUtil; improve error handling and streamline logging statements 2024-09-26 15:18:21 +01:00
Simon Larsen
ed7a693966 Refactor imports in Realtime utility and related components; streamline ModelEventType import paths 2024-09-26 15:13:16 +01:00
Simon Larsen
4982febd74 Refactor code for consistency; remove unnecessary whitespace and improve formatting in multiple files 2024-09-26 15:07:02 +01:00
Simon Larsen
98fe5deba7 Refactor AccessTokenService to utilize UserPermissionUtil for permission retrieval; introduce PermissionNamespace enum 2024-09-26 13:59:28 +01:00
Simon Larsen
54e8a4c224 Refactor UserAuthorization middleware; move access token extraction to Realtime utility 2024-09-26 13:49:38 +01:00
Simon Larsen
7465a44690 Refactor ProjectAuthorization middleware to utilize APIKeyAccessPermission; remove AccessTokenService methods 2024-09-26 13:46:34 +01:00
Simon Larsen
dab51a837d Refactor ProjectAuthorization middleware to use APIKeyAccessPermission; increase concurrency in Workflow feature set 2024-09-26 13:22:23 +01:00
Simon Larsen
003fdb4de4 Add Realtime event types and interfaces; refactor imports for consistency 2024-09-26 13:15:35 +01:00
Simon Larsen
2e5ec1df6f Refactor Realtime event handling and permissions management; introduce EnableRealtimeEventsOn interface 2024-09-26 11:59:11 +01:00
Simon Larsen
8afa3810a1 Enhance logging in Realtime utilities and add ping monitoring check in Register service 2024-09-25 21:50:50 +01:00
Simon Larsen
e9b611b19f Merge branch 'realtime' 2024-09-25 21:08:52 +01:00
Simon Larsen
700dbe2a4d Merge branch 'master' of github.com:OneUptime/oneuptime 2024-09-25 21:08:45 +01:00
Simon Larsen
897aa6044d Refactor model type retrieval functions for improved type safety and clarity 2024-09-25 21:08:36 +01:00
Simon Larsen
3220a0ccb8 Merge pull request #1719 from Johncs2d/patch-1
Wrap Host with Quote so we can have wildcard domain
2024-09-25 21:00:04 +01:00
Simon Larsen
dbad05baa6 Add modelId support in Realtime utilities and enhance cookie handling methods 2024-09-25 20:59:14 +01:00
John Albert
63af60967e Wrap Host with Quote so we can have wildcard domain 2024-09-26 03:57:51 +08:00
Simon Larsen
ca7745cfad Refactor refreshToggle type to string and update related components for consistency 2024-09-25 17:20:38 +01:00
Simon Larsen
61a275ee34 Merge branch 'master' into realtime 2024-09-25 12:59:59 +01:00
Simon Larsen
b35122d575 Quote host values in ingress.yaml for improved YAML compliance 2024-09-25 11:59:17 +01:00
Simon Larsen
34a54fbdfc Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-09-24 18:50:37 +01:00
Simon Larsen
e7bfe6ea47 Enhance logging for API responses to include request details and improve traceability 2024-09-24 18:50:08 +01:00
Simon Larsen
211ac4835a Merge pull request #1715 from OneUptime/createdat-date
Createdat date
2024-09-24 17:31:25 +01:00
Simon Larsen
1577f72b87 Refactor error handling in API requests to improve response clarity and reduce ambiguity in failure messages 2024-09-24 17:27:04 +01:00
Simon Larsen
0afa4f4664 Fix formatting in schema migrations and streamline DeleteDateColumn decorator in DatabaseBaseModel 2024-09-24 17:25:49 +01:00
Simon Larsen
08d3bd535d Add migrations to alter createdAt column type to TIMESTAMP WITH TIME ZONE for File and User tables; update DatabaseBaseModel to use ColumnType.Date for date columns 2024-09-24 17:23:40 +01:00
Simon Larsen
b34b92dec7 Merge pull request #1714 from OneUptime/master
Increase retry attempts to 10 for all monitor types and enhance timeo…
2024-09-24 16:45:36 +01:00
Simon Larsen
51334d8a8c Increase retry attempts to 10 for all monitor types and enhance timeout error handling to provide detailed failure reasons 2024-09-24 16:44:01 +01:00
Simon Larsen
1d0e7826f9 Refactor PortMonitor to resolve with PositiveNumber on ping timeout instead of rejecting with UnableToReachServer 2024-09-24 15:22:17 +01:00
Simon Larsen
e5dcec62fc Fix nodeSelector condition in probe.yaml to prioritize local variable over global value 2024-09-24 13:35:11 +01:00
Simon Larsen
7b02c6dd44 Refactor timeout handling in monitor types to return null instead of failure response 2024-09-23 18:44:46 +01:00
Simon Larsen
063b9b3a43 Refactor sorting criteria in IncidentService and MonitorService to use startsAt instead of createdAt; enhance monitor status timeline logic to prevent duplicate entries 2024-09-23 17:25:23 +01:00
Simon Larsen
2c2bc3a7fa Update foreign key constraint in StatusPage model to use SET NULL on delete and adjust migration files 2024-09-23 16:24:35 +01:00
Simon Larsen
d6530cbaf7 Change onDelete behavior to SET NULL for foreign key in StatusPage model and add migration for the update 2024-09-23 16:15:31 +01:00
Simon Larsen
e6bc276d54 Change onDelete behavior from CASCADE to SET NULL in multiple database models 2024-09-23 15:54:08 +01:00
Simon Larsen
ebcb2e8239 Add paymentProviderInvoiceId to selectMoreFields and update filters in Invoices.tsx 2024-09-23 15:22:58 +01:00
Simon Larsen
9784f1f34c Reduce initial delay seconds for health checks in multiple YAML templates from 300 to 60 2024-09-23 12:25:34 +01:00
Simon Larsen
03cb414ae4 Fix formatting issues in Queue.ts, SendReportsToSubscribers.ts, and Routes.ts 2024-09-22 14:57:49 +01:00
Simon Larsen
3809b4585a Refactor queue handling by removing WorkerNotification and updating job configurations in SendReportsToSubscribers 2024-09-22 14:24:29 +01:00
Simon Larsen
9be007cbda Add WorkerNotification queue and update SendReportsToSubscribers job configuration 2024-09-22 14:15:09 +01:00
Simon Larsen
a0031a868a Disable job import for SendReportsToSubscribers in Routes.ts 2024-09-22 13:39:34 +01:00
Simon Larsen
49ce5c3524 Enable job import for SendReportsToSubscribers in Routes.ts for report distribution 2024-09-22 13:08:46 +01:00
Simon Larsen
0aba3d9071 Enable job imports for ServerMonitor and StatusPageCerts in Routes.ts for enhanced monitoring and certification management 2024-09-22 11:46:46 +01:00
snyk-bot
80d0993aff fix: Home/Dockerfile.tpl to reduce vulnerabilities 2024-09-22 10:34:58 +00:00
Simon Larsen
1ec3bbd6b0 Enable job import for CopilotActions in Routes.ts for improved processing management 2024-09-22 11:32:40 +01:00
Simon Larsen
da1afcd921 Enable job imports for MonitorMetrics and Probe in Routes.ts for enhanced monitoring capabilities 2024-09-22 11:14:30 +01:00
Simon Larsen
3b4fb6bff6 Enable previously commented job imports in Routes.ts for telemetry and monitoring 2024-09-21 21:07:12 +01:00
Simon Larsen
fd8b1a9865 Re-enable user notification job imports in Routes.ts for active execution 2024-09-21 20:39:04 +01:00
Simon Larsen
44c0c7564d Update queue inspector route and enable scheduled maintenance job imports in Routes.ts 2024-09-21 20:06:22 +01:00
Simon Larsen
80eb76108b Comment out unused job imports in Routes.ts for better organization and clarity 2024-09-21 17:35:36 +01:00
Simon Larsen
8669de393f Remove unnecessary blank lines in Routes.ts for improved code readability 2024-09-21 17:06:44 +01:00
Simon Larsen
45b00b3116 Disable runOnStartup for various cron jobs to prevent immediate execution on startup 2024-09-21 17:05:05 +01:00
Simon Larsen
85b33f0f64 Reduce initial delay for health checks in worker.yaml and comment out unused job import in Routes 2024-09-21 16:17:32 +01:00
Simon Larsen
57cbc7e47c Uncomment job imports in Routes to enable scheduled maintenance and status page notifications 2024-09-21 16:01:50 +01:00
Simon Larsen
ffbdb1c9b5 Uncomment job imports in Routes to enable functionality for various job types 2024-09-21 15:47:55 +01:00
Simon Larsen
e554ff5beb Uncomment job imports in Routes to enable functionality for various job types 2024-09-21 15:20:36 +01:00
Simon Larsen
a49ca14fde Simplify job execution by removing error handling and using await for function calls in WorkersFeatureSet 2024-09-21 15:04:57 +01:00
Simon Larsen
0480e47c23 Refactor route initialization and clean up commented imports in Worker module 2024-09-21 15:03:16 +01:00
Simon Larsen
ceb688726b Add error logging for job execution in WorkersFeatureSet 2024-09-21 14:35:46 +01:00
Simon Larsen
7ecf4257d5 Remove timeout handling in job execution and simplify function call in WorkersFeatureSet 2024-09-21 00:11:37 +01:00
Simon Larsen
402c777a6b Update package name to @oneuptime/worker and uncomment scheduled maintenance jobs in Routes 2024-09-20 23:42:38 +01:00
Simon Larsen
ea0a9d94bc Fix null checks for currentStatus in Overview component and update variable declaration for currentMonitorStatus 2024-09-20 23:32:54 +01:00
Simon Larsen
89da4dea4c Add debug logging in MonitorResource and comment out unused scheduled maintenance jobs 2024-09-20 23:28:05 +01:00
Simon Larsen
91bec9d58f Add support for real-time event handling in Incident model and related components 2024-09-20 19:00:09 +01:00
Simon Larsen
43815f1ab9 Fix formatting in Overview component for empty resource group check 2024-09-20 13:22:57 +01:00
Simon Larsen
a2cb72e729 Refactor Overview component to handle empty resource groups and consolidate monitor status timelines 2024-09-20 13:11:19 +01:00
Simon Larsen
d79d17e230 Add new fields for current status and uptime precision in StatusPageGroup 2024-09-20 12:56:50 +01:00
Simon Larsen
6c73747564 Add new columns to StatusPageGroup for status visibility and uptime precision 2024-09-20 12:20:48 +01:00
Simon Larsen
9a7ea2ce59 Add debug logging for monitor fetching and processing steps 2024-09-20 11:58:00 +01:00
Simon Larsen
97f4d3612d Add debug logging for scheduled maintenance event processing and notifications 2024-09-20 11:29:03 +01:00
Simon Larsen
21ea8d0aa2 Add debug logging for worker initialization and heartbeat checks 2024-09-20 11:07:35 +01:00
Simon Larsen
af177d0569 Remove arm64 platform support and clean up commented-out steps in release workflow 2024-09-19 16:29:08 +01:00
Simon Larsen
cd64280ad7 Update Docker workflows to support multi-platform builds for arm64 2024-09-19 16:05:00 +01:00
snyk-bot
da78c0bfee fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855502
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855502
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855503
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855503
- https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855507
2024-09-19 09:04:17 +00:00
Simon Larsen
4f0526b7ec Update Docker context in release workflow for improved build configuration 2024-09-19 07:40:28 +01:00
Simon Larsen
187c12e47f Fix variable reference in api-reference.yaml for correct service arguments 2024-09-18 22:53:02 +01:00
Simon Larsen
b50478e886 Merge branch 'master' into release 2024-09-18 22:35:01 +01:00
Simon Larsen
d5a9b3fba3 Fix typo in api-reference.yaml for correct variable reference in service arguments 2024-09-18 22:34:16 +01:00
Simon Larsen
7dd809caab Refactor api-reference.yaml for consistent variable naming and improved readability 2024-09-18 22:30:41 +01:00
Simon Larsen
a6f6b12ae2 Refactor FormField component to simplify toggle value initialization 2024-09-18 21:49:41 +01:00
Simon Larsen
7cd6c0f3a9 Fix comparison operator in QueryHelper for correct value filtering 2024-09-18 21:30:19 +01:00
Simon Larsen
5776e5d734 Update documentation paths for consistency and clarity 2024-09-18 20:56:04 +01:00
Simon Larsen
10878547ff Remove unused DocsRoutes initialization from app startup 2024-09-18 20:52:50 +01:00
Simon Larsen
02f4ae806a Add upstream configuration for docs service in Nginx template 2024-09-18 20:36:45 +01:00
Simon Larsen
3ea955b55b Update dependencies for test-helm-chart job in CI workflow 2024-09-18 20:35:48 +01:00
Simon Larsen
59b6742e63 Remove unused API reference routes file 2024-09-18 19:52:49 +01:00
Simon Larsen
34db66f130 Fix port naming convention in api-reference Helm chart 2024-09-18 18:34:11 +01:00
Simon Larsen
55aa602952 Merge pull request #1704 from OneUptime/api-reference
Add API reference code examples and configuration files
2024-09-18 10:33:17 -07:00
Simon Larsen
8004c2e283 Add CI workflows for Docs service and Docker image deployment 2024-09-18 17:57:44 +01:00
Simon Larsen
5725d30e8a Merge branch 'master' into api-reference 2024-09-18 17:51:33 +01:00
Simon Larsen
2d1b1720d5 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-09-18 17:30:07 +01:00
Simon Larsen
1b74d94d0a Update Dockerfile context and copy paths for Workflow integration 2024-09-18 17:29:46 +01:00
Simon Larsen
c90c575d42 Merge pull request #1705 from OneUptime/master
Release
2024-09-18 08:42:58 -07:00
Simon Larsen
fe161465dd Add Helm chart templates for OneUptime docs deployment, service, and autoscaler 2024-09-18 16:39:20 +01:00
Simon Larsen
26e3bb2074 Add documentation files and update configuration for Docs service 2024-09-18 16:38:53 +01:00
Simon Larsen
bee38554ea Refactor paths in Config.ts for API reference and clean up Index.ts 2024-09-18 14:52:37 +01:00
Simon Larsen
68389cda85 Add API reference code examples and configuration files 2024-09-18 14:39:11 +01:00
Simon Larsen
1cdf9ecdf1 Replace AppApiHostname with WorkflowHostname in AnalyticsDatabaseService and DatabaseService 2024-09-18 14:18:52 +01:00
Simon Larsen
1091801ca7 Update APP_NAME constant in Index.ts to reflect new application name 2024-09-18 13:48:00 +01:00
Simon Larsen
cc8c3f7d9e Add timeout option to API requests and update monitor configurations 2024-09-18 13:13:24 +01:00
Simon Larsen
e2ef8ae2ce Update Slack invite link in Help component 2024-09-18 12:49:10 +01:00
Simon Larsen
1a15cb31f7 Add WorkflowHostname configuration and update WorkflowService to use it 2024-09-18 12:36:44 +01:00
Simon Larsen
7d3f7ba551 Update APP_NAME constant in Workflow routes to reflect correct path 2024-09-18 12:09:29 +01:00
Simon Larsen
8d95d02ac6 Add workflow upstream configuration to Nginx and update docker-compose variables 2024-09-18 11:58:29 +01:00
Simon Larsen
94f0446802 Add canReadOnRelationQuery property to Copilot Event Status column 2024-09-18 11:34:12 +01:00
snyk-bot
6ff776f185 fix: Accounts/package.json & Accounts/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106
2024-09-18 09:44:20 +00:00
snyk-bot
96a5de2df2 fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-AOM-7197979
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-5461953
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-5461954
2024-09-18 09:32:27 +00:00
Simon Larsen
b55c1b9acd fix workflow 2024-09-16 17:17:56 -07:00
Simon Larsen
290d3bf2c1 Remove Workflow initialization from app startup 2024-09-16 16:39:15 -07:00
Simon Larsen
db02cbecae Merge branch 'workflow-refactor' 2024-09-16 16:36:43 -07:00
Simon Larsen
61084af45a Update Docker build context in release workflow to use root directory 2024-09-16 16:35:57 -07:00
Simon Larsen
ae996dbe07 Rename WorkerRoutes to WorkflowRoutes and establish connections to Postgres, Redis, and Clickhouse; initialize real-time functionalities 2024-09-16 15:29:15 -07:00
Simon Larsen
a35d26bc6a Merge branch 'master' into workflow-refactor 2024-09-16 15:27:10 -07:00
Simon Larsen
841183566c Enhance Worker initialization: connect to Postgres, Redis, and Clickhouse; enable infrastructure status checks 2024-09-16 15:26:04 -07:00
Simon Larsen
6aa9895e72 refactor workflow 2024-09-16 15:22:15 -07:00
Simon Larsen
1fefa11f35 Update ViewsPath and StaticPath to reflect new directory structure 2024-09-16 12:35:57 -07:00
Simon Larsen
ffb5d42b8b Add PORT environment variable to home and worker templates; include ejs dependency in Worker 2024-09-16 12:28:34 -07:00
Simon Larsen
215c1e95b0 Update Home package.json to include ejs dependency and remove unused home copy.yaml template 2024-09-16 11:42:34 -07:00
Simon Larsen
1f3c041fc9 Refactor CI workflows: remove old test-app workflow and add unified test workflow for App, Home, and Worker 2024-09-16 11:05:29 -07:00
Simon Larsen
8892fe9030 Update test script in App package.json to allow passing with no tests 2024-09-16 11:01:29 -07:00
Simon Larsen
aa51c5538a Remove xmlbuilder2 dependency from Worker package.json and package-lock.json 2024-09-16 10:46:01 -07:00
Simon Larsen
59f666e83d Remove xmlbuilder2 dependency and update package.json and package-lock.json with new dependencies 2024-09-16 10:45:31 -07:00
Simon Larsen
75f46d5187 Add ts-node dependency to Home and Worker package.json files 2024-09-16 10:44:00 -07:00
Simon Larsen
a12bcbfdde Merge branch 'master' of github.com:OneUptime/oneuptime 2024-09-16 10:42:41 -07:00
Simon Larsen
969982056e Update Dockerfile template for Worker service: adjust package.json paths and expose port 1445 2024-09-16 10:42:25 -07:00
Simon Larsen
dcb9e167e1 Merge pull request #1698 from OneUptime/home-ms-refactor
Home ms refactor
2024-09-16 10:32:50 -07:00
Simon Larsen
29adbaa2ec Add Worker service build, compile, and deployment workflows 2024-09-16 08:49:45 -07:00
Simon Larsen
86168a50ee Add Worker service configuration, deployment setup, and Nginx routing 2024-09-16 08:42:50 -07:00
Simon Larsen
5a31785895 Add initial Worker module with configuration files, Dockerfile, and README 2024-09-16 08:30:48 -07:00
Simon Larsen
684abc02a0 Implement AnalyticsTableManagement and DataMigrationBase classes; remove deprecated files and update cron jobs 2024-09-16 08:27:55 -07:00
Simon Larsen
f728a94a80 Add Home service configuration and deployment setup 2024-09-16 08:11:21 -07:00
Simon Larsen
dc37d723e6 Initialize Home module with configuration files and update package name 2024-09-16 07:49:29 -07:00
Simon Larsen
5f5a051136 Add new views, static files, and tests; remove deprecated files 2024-09-16 07:44:48 -07:00
Simon Larsen
1d85490c55 Refactor ProjectService to update subscription status 2024-09-11 16:02:52 -07:00
Simon Larsen
956ac101a2 Refactor logging and remove unused code 2024-09-11 15:26:02 -07:00
Simon Larsen
a5bd73a13b Merge pull request #1693 from OneUptime/stop-execution-on-incident-ack
Stop execution on incident ack
2024-09-11 18:25:16 +01:00
Simon Larsen
25755c4810 Refactor recurring notification handling in ScheduleRecurringEvents.ts 2024-09-11 10:12:44 -07:00
Simon Larsen
8f7cac7108 Refactor recurring notification handling in ScheduledMaintenance and ScheduledMaintenanceTemplate models 2024-09-11 10:09:28 -07:00
Simon Larsen
51ff018a61 Refactor recurring notification handling in ScheduledMaintenance and ScheduledMaintenanceTemplate models 2024-09-11 09:58:45 -07:00
Simon Larsen
2a345a3948 add jobs to send reminders to subscribers, 2024-09-10 16:25:58 +01:00
Simon Larsen
8f49a8202f update next notifcaiton time for subscribers in scheduled events 2024-09-10 16:12:27 +01:00
Simon Larsen
be5c11263c add subscriber notification option before the event 2024-09-10 15:52:19 +01:00
Simon Larsen
20e56fb1d7 add recurring field element adn controls. 2024-09-10 15:25:50 +01:00
Simon Larsen
72ffaace2d add subscriber recurring notification columns 2024-09-10 14:34:49 +01:00
Simon Larsen
4b8c799617 if the incident is ack, mark the policy as completed. 2024-09-10 14:22:06 +01:00
Simon Larsen
6b9a46b4ba Merge pull request #1688 from OneUptime/sm-templates
Scheduled Maintenance Templates
2024-09-09 21:31:36 +01:00
Simon Larsen
8e74997b48 Refactor ScheduledMaintenanceService to require projectId for creating scheduled maintenance 2024-09-09 21:31:05 +01:00
Simon Larsen
505eb26b90 Refactor ScheduleRecurringEvents to update next scheduled time for recurring events 2024-09-09 19:49:23 +01:00
Simon Larsen
6736e6c74e Add ScheduleRecurringEvents job to schedule recurring maintenance events 2024-09-09 19:38:19 +01:00
Simon Larsen
21c9facc02 Refactor field titles and add hideOptionalLabel prop 2024-09-09 18:58:57 +01:00
Simon Larsen
1b5058685c Refactor ScheduledMaintenanceTemplate to use TIMESTAMP WITH TIME ZONE for scheduleNextEventAt column 2024-09-09 18:44:27 +01:00
Simon Larsen
c0c8feabe9 Refactor Field component and add showIf prop 2024-09-09 18:10:48 +01:00
Simon Larsen
974a55df9b Refactor SideMenu component and update link title for Scheduled Maintenance Templates 2024-09-09 17:13:57 +01:00
Simon Larsen
bdb2dbbbbc Refactor ScheduledMaintenanceTemplateOwnerTeamService and ScheduledMaintenanceTemplateOwnerUserService 2024-09-09 13:47:46 +01:00
Simon Larsen
4febd87ff8 Refactor access control for IncidentTemplate and IncidentNoteTemplate 2024-09-09 13:29:54 +01:00
Simon Larsen
0f8317d250 Add new migration for ScheduledMaintenanceTemplate 2024-09-09 12:22:26 +01:00
Simon Larsen
09370dbc41 Merge pull request #1685 from luisxkimo/fix-helm-chart-documentation
Fix format for Helm Chart documentation
2024-09-09 10:33:15 +01:00
lsalfaro
dcc724a94d Fix table for documentation of Helm chart 2024-09-09 11:28:09 +02:00
Simon Larsen
0bcc23655d Merge pull request #1682 from OneUptime/master
Release
2024-09-08 21:35:59 +01:00
Simon Larsen
5f1243216b Merge branch 'add-spans-copilot' 2024-09-08 21:32:05 +01:00
Simon Larsen
bc794f32ff Refactor CopilotActionUtil logger.debug statement 2024-09-08 21:31:50 +01:00
Simon Larsen
c57fb025f0 Refactor Docker instructions in Copilot introduction.md 2024-09-08 21:30:09 +01:00
Simon Larsen
9b981f1181 Merge pull request #1677 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-PSJqs
Improved comments on /App/FeatureSet/Workers/DataMigrations/AddAttributesColumnToSpanAndLog.ts
2024-09-08 19:04:45 +01:00
Simon Larsen
cc1a4df787 Merge pull request #1680 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-lBIXQ
Improved comments on /App/FeatureSet/Workers/Jobs/MonitorMetrics/MonitorMetricsByMinute.ts
2024-09-08 19:04:13 +01:00
Simon Larsen
9fbdc6800b Merge pull request #1679 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-UdHQs
Improved comments on /App/FeatureSet/Home/Static/js/switchUrl.js
2024-09-08 19:03:49 +01:00
Simon Larsen
97c2e65b15 Merge pull request #1681 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-MtpRJ
Improved comments on /App/FeatureSet/Workers/DataMigrations/AddMonitoringDatesToMonitors.ts
2024-09-08 19:03:20 +01:00
Simon Larsen
6a99c01e8a Merge pull request #1678 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-opRrH
Improved comments on /App/FeatureSet/ApiReference/Service/Status.ts
2024-09-08 19:02:33 +01:00
OneUptime Copilot
303bf52767 Improved comments on /App/FeatureSet/Workers/DataMigrations/AddMonitoringDatesToMonitors.ts 2024-09-08 17:58:25 +00:00
OneUptime Copilot
da323939f2 Improved comments on /App/FeatureSet/Workers/Jobs/MonitorMetrics/MonitorMetricsByMinute.ts 2024-09-08 17:56:54 +00:00
OneUptime Copilot
c5cf48dccd Improved comments on /App/FeatureSet/Home/Static/js/switchUrl.js 2024-09-08 17:55:13 +00:00
Simon Larsen
c324b86cbe Merge branch 'master' of github.com:OneUptime/oneuptime 2024-09-08 18:36:25 +01:00
Simon Larsen
f62f571586 fix aleert style. 2024-09-08 18:36:22 +01:00
OneUptime Copilot
ea5ee48dde Improved comments on /App/FeatureSet/ApiReference/Service/Status.ts 2024-09-08 17:34:02 +00:00
OneUptime Copilot
72ebef1c2d Improved comments on /App/FeatureSet/Workers/DataMigrations/AddAttributesColumnToSpanAndLog.ts 2024-09-08 17:33:11 +00:00
Simon Larsen
4d4949da34 add 2 mins dropdown interval. 2024-09-08 18:13:35 +01:00
Simon Larsen
5feb51f030 fix typo in open source commitment. 2024-09-08 18:12:58 +01:00
Simon Larsen
efcf99f902 Merge pull request #1676 from luisxkimo/feature-add-existing-secrets-config
Add option to configure ENCRYPTION_SECRET and ONEUPTIME_SECRET using external secrets
2024-09-06 15:34:51 +01:00
lsalfaro
2e962d918c Remove format to string using print 2024-09-06 16:20:36 +02:00
lsalfaro
e517a1b8fa Add use of existing secrets for templates for variables ONEUPTIME_SECRET and ENCRYPTION_SECRET 2024-09-06 16:07:48 +02:00
Simon Larsen
d3da823e71 add default height to images so they are visible. 2024-09-06 14:59:31 +01:00
Simon Larsen
40698c4218 Merge branch 'master' into release 2024-09-06 13:28:05 +01:00
Simon Larsen
e074633c6c Merge branch 'master' of github.com:OneUptime/oneuptime 2024-09-06 11:55:39 +01:00
Simon Larsen
ec4268cce7 refactor: Enable lazy loading for images in BillingService.test.ts 2024-09-06 11:55:36 +01:00
Simon Larsen
24bd374baa refactor: Update nullable property for endAnnouncementAt column in StatusPageAnnouncement model 2024-09-06 11:52:15 +01:00
Simon Larsen
0f58e16702 feat: Add support for SVG mime type in file upload 2024-09-06 11:33:11 +01:00
Simon Larsen
2c49b8b457 Merge pull request #1672 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-UnHLg
Improved comments on /App/FeatureSet/Workers/Utils/Cron.ts
2024-09-05 19:58:16 +01:00
OneUptime Copilot
cbf3156b28 Improved comments on /App/FeatureSet/Workers/Utils/Cron.ts 2024-09-05 18:11:57 +00:00
Simon Larsen
e3c68fdb4c refactor: Enable lazy loading for images in Copilot/Utils/CopilotAction.ts, Common/Utils/CronTime.ts, Common/Server/Services/BillingInvoiceService.ts, and Dashboard/src/Pages/Settings/Invoices.tsx 2024-09-05 19:08:40 +01:00
Simon Larsen
1682a25513 refactor: Enable lazy loading for images in Copilot/Utils/CopilotAction.ts, Common/Utils/CronTime.ts, Common/Server/Services/BillingInvoiceService.ts, and Dashboard/src/Pages/Settings/Invoices.tsx 2024-09-05 18:25:26 +01:00
Simon Larsen
bdb747b8e7 refactor: Enable lazy loading for images in Copilot/Utils/CopilotAction.ts, Common/Utils/CronTime.ts, Common/Server/Services/BillingInvoiceService.ts, and Dashboard/src/Pages/Settings/Invoices.tsx 2024-09-05 18:22:41 +01:00
Simon Larsen
3925354332 refactor: Enable lazy loading for images in Copilot/Init.ts and improve logging in CopilotActionsBase.ts 2024-09-05 17:39:47 +01:00
Simon Larsen
6037c30765 refactor: Enable lazy loading for images in BlogPostUtil and remove unnecessary whitespace in Copilot/Init.ts 2024-09-05 17:13:09 +01:00
Simon Larsen
6e3ec31e0e refactor: Enable lazy loading for images in BlogPostUtil and remove unnecessary whitespace in Copilot/Init.ts 2024-09-05 16:08:39 +01:00
Simon Larsen
e7377f6c8f refactor: Enable lazy loading for images in BlogPostUtil and remove unnecessary whitespace in Copilot/Init.ts 2024-09-05 14:30:30 +01:00
Simon Larsen
d9fca7e669 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-09-05 13:57:13 +01:00
Simon Larsen
5bfe38736e refactor: Enable lazy loading for images in BlogPostUtil and remove unnecessary whitespace in Copilot/Init.ts 2024-09-05 13:50:53 +01:00
Simon Larsen
eac7134630 refactor: Enable lazy loading for images in BlogPostUtil and remove unnecessary whitespace in Copilot/Init.ts 2024-09-05 13:49:41 +01:00
Simon Larsen
94eaab9ca4 refactor: Update import statements to use ArrayUtil from Common/Utils/Array 2024-09-05 13:29:58 +01:00
Simon Larsen
ddf0b67546 refactor: Update import statements to use ArrayUtil from Common/Utils/ArrayUtil 2024-09-05 13:29:17 +01:00
Simon Larsen
0aa4d39ab0 refactor: Update CodeRepositoryFile interface to include filePath property 2024-09-05 13:28:17 +01:00
Simon Larsen
848b61033a refactor: Update CodeRepositoryFile interface to include filePath property 2024-09-05 12:59:59 +01:00
Simon Larsen
e11ab9ee5c refactor: Update CopilotActionAPI to include permission checks for create, read, delete, and update actions 2024-09-05 11:26:01 +01:00
Simon Larsen
806fada436 Merge pull request #1670 from OneUptime/master
Release
2024-09-05 11:01:13 +01:00
Simon Larsen
10eb7239dc refactor: Add canReadOnRelationQuery property to CopilotPullRequest model 2024-09-05 10:57:31 +01:00
Simon Larsen
62bf2ee6f3 refactor: Add optional startLineNumber and endLineNumber to FileActionProp interface 2024-09-05 10:48:01 +01:00
Simon Larsen
87234c95ce refactor: Add API endpoint for updating CopilotAction 2024-09-04 21:01:58 +01:00
Simon Larsen
c4fbc7fadd refactor: Update test-e2e-release-saas job dependencies in release.yml 2024-09-04 20:49:33 +01:00
Simon Larsen
fb1f129089 refactor: Remove unnecessary whitespace in CopilotActionsBase.ts and ImproveComments.ts 2024-09-04 18:45:58 +01:00
Simon Larsen
989a082d3e refactor: Make ImproveComments methods private and update method signatures 2024-09-04 18:41:50 +01:00
Simon Larsen
eb4d8325a5 refactor: Remove unused imports and properties in CodeRepository.ts and CodeRepositoryFile.ts 2024-09-04 18:37:31 +01:00
Simon Larsen
af3455eedb refactor: Update ServerMonitor documentation with start, stop, and uninstall instructions 2024-09-04 18:22:33 +01:00
Simon Larsen
7a0600836e Merge branch 'copilot-main' 2024-09-04 18:21:29 +01:00
Simon Larsen
50c3bbb845 refactor: Update Slack chat link in support.ejs 2024-09-04 18:20:57 +01:00
Simon Larsen
99daa9f25b feat: Update Slack chat links in nav.ejs and README.md 2024-09-04 18:16:00 +01:00
Simon Larsen
b30789cd75 Merge pull request #1669 from OneUptime/copilot-main
Copilot main
2024-09-04 17:34:06 +01:00
Simon Larsen
39ff367afe refactor: Update LLMBase.ts and OpenAI.ts to import CopilotActionPrompt from the new location 2024-09-04 14:52:32 +01:00
Simon Larsen
012c9299ed refactor: Fix typo in CopilotActionType enum values and update related code 2024-09-04 12:50:46 +01:00
Simon Larsen
0559997c01 refactor: Update LlmType enum values and improve error message for OneUptime LLM server not reachable 2024-09-04 11:51:56 +01:00
Simon Larsen
b8fad24329 refactor: Update CopilotActionType enum values and add dependencies 2024-09-04 11:37:32 +01:00
Simon Larsen
e907c235a9 refactor: Update WorkflowStatusElement to use Blue color for success status 2024-09-04 11:15:26 +01:00
Simon Larsen
258914731c refactor: Update Email component to handle SMTP authentication errors 2024-09-04 10:47:16 +01:00
Simon Larsen
465691ee31 Merge pull request #1668 from OneUptime/copilot-main
feat: Add lazy loading for OnCallDutyPolicyViewLogsView component
2024-09-04 10:27:18 +01:00
Simon Larsen
d5af7a907d feat: Add lazy loading for OnCallDutyPolicyViewLogsView component 2024-09-04 10:17:41 +01:00
Simon Larsen
a993db8675 Merge pull request #1667 from OneUptime/copilot-main
Copilot main
2024-09-03 19:00:06 +01:00
Simon Larsen
1822107c49 refactor: Add isPriority field to CopilotAction model 2024-09-03 17:14:54 +01:00
Simon Larsen
bd5808b2d4 refactor: Add isPriority field to CopilotAction model 2024-09-03 17:13:04 +01:00
Simon Larsen
4facc12e44 refactor: Improve README file 2024-09-03 17:07:21 +01:00
Simon Larsen
6a10bdff56 refactor: Improve CopilotActionPropViewer component 2024-09-03 16:15:50 +01:00
Simon Larsen
9be38d55c6 refactor: Improve CopilotActionPropViewer component 2024-09-03 15:59:35 +01:00
Simon Larsen
74d210bffd refactor: Update CopilotActionType enum values and fix formatting 2024-09-03 15:51:56 +01:00
Simon Larsen
4b986346ae refactor: Update CopilotActionProps and ExceptionActionProp interfaces 2024-09-03 15:47:26 +01:00
Simon Larsen
507b214cc1 refactor: Update CopilotActionProps to include FunctionActionProp 2024-09-03 13:24:15 +01:00
Simon Larsen
7904d36650 refactor: Add FileActionProp interface for Copilot actions 2024-09-03 13:19:47 +01:00
Simon Larsen
a23039afb6 refactor: Update breadcrumb links in AICopilotBreadcrumbs and RouteMap 2024-09-03 12:22:49 +01:00
Simon Larsen
5be761dd7c refactor: Update breadcrumb links in AICopilotBreadcrumbs and RouteMap 2024-09-03 12:20:46 +01:00
Simon Larsen
6398fea83e refactor: Update CopilotActionTypeElement import paths 2024-09-03 11:47:31 +01:00
Simon Larsen
4b0f71b4e4 refactor: Update CopilotActionTypeElement import paths 2024-09-03 11:33:18 +01:00
Simon Larsen
4314920cd7 refactor: Update CopilotAction model and migration to add new properties 2024-09-03 11:03:29 +01:00
Simon Larsen
d2cb9a8eeb refactor: Add new action props for Copilot 2024-09-03 10:27:14 +01:00
Simon Larsen
7512145a50 refactor: Add new action props for Copilot 2024-09-02 19:12:47 +01:00
Simon Larsen
b3f4406c3c chore: Update CopilotActionTypeUtil descriptions to use "in" instead of "to" 2024-09-02 17:53:57 +01:00
Simon Larsen
06ac018ec6 chore: Update CopilotActionTypePriorityService and CopilotActionTypeElement 2024-09-02 17:36:29 +01:00
Simon Larsen
c76237f785 refactor: Update AddDefaultCopilotActionTypes migration to use correct class name 2024-09-02 17:31:52 +01:00
Simon Larsen
97e60faa22 refactor: Update AddDefaultCopilotActionTypes migration to use correct class name 2024-09-02 17:20:08 +01:00
Simon Larsen
b857555cd7 refactor: Update SideMenu to include AI_COPILOT_CODE_REPOSITORY_VIEW_PRIORITIES page 2024-09-02 17:16:25 +01:00
Simon Larsen
6541fc41f0 refactor: Add AI_COPILOT_CODE_REPOSITORY_VIEW_PRIORITIES page to SideMenu 2024-09-02 17:04:28 +01:00
Simon Larsen
8bb2c3c865 refactor: Update SideMenu title to "Code Changes" 2024-09-02 15:36:08 +01:00
Simon Larsen
e34cdd77db Merge pull request #1663 from parkerdaminer/patch-1
Correcting README.md
2024-09-01 21:55:43 +01:00
parkerdaminer
6b0d48ce4f Correcting README.md
Minor text fixes.
2024-08-31 17:01:25 -04:00
Simon Larsen
6fb477383d refactor: Update telemetry documentation and add OpenTelemetry collector configuration 2024-08-30 13:58:17 +01:00
Simon Larsen
2269681487 refactor: Remove unnecessary code in StatusAPI 2024-08-29 21:51:28 +01:00
Simon Larsen
6e10739479 refactor: Update email descriptions in settings pages 2024-08-29 16:11:31 +01:00
Simon Larsen
1f3cb96f0a refactor: Add TELEMETRY_DOCUMENTATION page to Telemetry route and update related components 2024-08-29 13:51:50 +01:00
Simon Larsen
e85f8c19df refactor: Update TelemetryExceptionElement to handle archived exceptions 2024-08-29 13:19:56 +01:00
Simon Larsen
bc9a8c5151 refactor: Update Telemetry class to handle metricReader being undefined 2024-08-29 13:11:18 +01:00
Simon Larsen
9b83202e58 refactor: Add occuranceCount field to ExceptionsTable and ExceptionExplorer components 2024-08-29 12:29:44 +01:00
Simon Larsen
3ca4d5d481 refactor: Remove unused code and optimize imports in ExceptionInstance and TraceElement components 2024-08-29 11:57:24 +01:00
Simon Larsen
5c4d4b2c63 refactor: Add exception span status code and name to ExceptionInstance model 2024-08-29 11:25:43 +01:00
Simon Larsen
fd0a95d436 refactor: Add Unarchive icon and handle archived exceptions in TelemetryExceptionElement 2024-08-29 10:32:40 +01:00
Simon Larsen
23c65cecf0 refactor: Update Telemetry class to handle metricReader being undefined 2024-08-28 12:34:15 +01:00
Simon Larsen
5c3dcf7bc9 refactor: Improve SSL ordering for domains in StatusPageCerts job 2024-08-28 12:25:04 +01:00
Simon Larsen
108940678f refactor: Update TraceExplorer to handle rootSpan with null or undefined parentSpanId 2024-08-28 12:00:45 +01:00
Simon Larsen
3df72091a2 refactor: Update Telemetry class to import TelemetryCounter from Utils/Telemetry 2024-08-28 10:26:26 +01:00
Simon Larsen
b1de73a16a refactor: Update telemetry dependencies and improve SSL ordering in StatusAPI and Telemetry classes 2024-08-28 10:21:22 +01:00
Simon Larsen
f715b14b74 refactor: Update telemetry dependencies and improve SSL ordering in Telemetry class 2024-08-28 09:42:26 +01:00
Simon Larsen
17eef6408e refactor: Update telemetry dependencies and improve SSL ordering in StatusPageCerts job 2024-08-27 20:32:02 +01:00
Simon Larsen
bc288100c0 refactor: Update telemetry dependencies to latest versions 2024-08-27 18:53:48 +01:00
Simon Larsen
c4a01058b7 refactor: Improve SSL ordering for domains in StatusPageCerts job 2024-08-27 18:43:02 +01:00
Simon Larsen
cb10647285 fix depreated prop 2024-08-27 18:42:39 +01:00
Simon Larsen
fb8b00d383 refactor: Update startActiveSpan method in Telemetry class 2024-08-27 14:51:38 +01:00
Simon Larsen
4563f42794 chore: Update timeout handling in Cron and Queue classes 2024-08-27 13:33:15 +01:00
Simon Larsen
a6072634f2 refactor: Improve error handling and logging in Cron and Queue classes 2024-08-27 13:10:40 +01:00
Simon Larsen
646908e66b refactor: Remove unused timeoutInMs property in Cron and Queue classes 2024-08-27 11:12:39 +01:00
Simon Larsen
ed150c1482 refactor: Remove unused timeoutInMs property in Cron and Queue classes 2024-08-27 11:09:00 +01:00
Simon Larsen
fac59332ed refactor: Update CNAME verification logging in StatusPageDomainService 2024-08-27 11:05:07 +01:00
Simon Larsen
64725b3973 refactor: Update code and field types for telemetry exceptions 2024-08-26 20:38:39 +01:00
Simon Larsen
3636b160fb refactor: Update telemetry exception view layout components 2024-08-26 16:48:20 +01:00
Simon Larsen
fee3264350 refactor: Improve CNAME verification logging in StatusPageDomainService 2024-08-26 14:55:52 +01:00
Simon Larsen
5bcd451bc8 Merge branch 'error-tracking' 2024-08-26 14:35:29 +01:00
Simon Larsen
7c2d6dc9e5 refactor: Remove BadDataException from StatusAPI 2024-08-26 14:34:55 +01:00
Simon Larsen
185eb20d1b refactor: Update telemetry exception view layout components 2024-08-26 14:33:01 +01:00
Simon Larsen
cc7696f481 refactor: Update telemetry exception view layout components 2024-08-26 08:58:45 +01:00
Simon Larsen
a3856588bb refactor: Enable telemetry for the app service 2024-08-26 07:40:54 +01:00
Simon Larsen
1a9668a877 refactor: Update telemetry exception view layout components 2024-08-26 07:10:03 +01:00
Simon Larsen
92e519c49e refactor: Update telemetry exception view layout components 2024-08-26 06:45:33 +01:00
Simon Larsen
3c296f72d8 refactor: Update exceptions table messages and routes 2024-08-25 23:25:21 +01:00
Simon Larsen
f0e701c5bb refactor: Update telemetry exception view layout components 2024-08-25 22:52:50 +01:00
Simon Larsen
7fa461e652 refactor: Improve CNAME verification logging in StatusPageDomainService 2024-08-25 22:36:01 +01:00
Simon Larsen
66b4fbded1 refactor: Remove TelemetryExceptionStatusService and ExceptionService 2024-08-25 22:35:06 +01:00
Simon Larsen
e7fc9bb9a5 refactor: Remove TelemetryExceptionStatusService and ExceptionService 2024-08-25 19:42:47 +01:00
Simon Larsen
2f3dbebe9a refactor: Add TelemetryExceptionStatusService to handle telemetry exception status in the database 2024-08-25 19:29:25 +01:00
Simon Larsen
a6a5f189c3 refactor: Add TelemetryExceptionStatus model to DatabaseModels and update Permission enum with Telemetry Exception permissions 2024-08-25 18:40:40 +01:00
Simon Larsen
67f1ad9ef1 Merge pull request #1653 from Johncs2d/master
Add debug logging to StatusPageDomainService.ts for debugging failing…
2024-08-23 15:44:21 +01:00
Johncs2d
4e7d1d5c7a Add debug logging to StatusPageDomainService.ts for debugging failing domain verification requests. 2024-08-23 22:36:41 +08:00
Simon Larsen
b9dd9eb8de refactor: Add Crypto class for MD5 and SHA256 hashing 2024-08-23 14:49:04 +01:00
Simon Larsen
3c86293864 refactor: Add Exception model to AnalyticsModels and update Permission enum with Telemetry Service Exception permissions 2024-08-23 12:32:39 +01:00
Simon Larsen
b202b07353 refactor: Add syncId prop to LineChart component for syncing multiple charts 2024-08-21 19:01:21 +01:00
Simon Larsen
9db1c59893 refactor: Update LineChart component to use new curve prop and add missing type annotations 2024-08-21 18:37:22 +01:00
Simon Larsen
ac7d4f974b refactor: Update ChartCurve enum and LineChart component to use new curve prop 2024-08-21 17:30:07 +01:00
Simon Larsen
6251dfe482 refactor: Update ChartColors and GetYAxisDomain utility functions 2024-08-21 14:57:15 +01:00
Simon Larsen
dbdca789d4 refactor: Update YAxisOptions interface to include a precision property 2024-08-21 14:49:47 +01:00
Simon Larsen
12e766e9d4 refactor: Update YAxisOptions interface to include a precision property 2024-08-21 14:06:19 +01:00
Simon Larsen
ba2a480d4f refactor: Update XAxisOptions interface to include a formatter function 2024-08-21 13:55:57 +01:00
Simon Larsen
3b141d7e90 refactor: Update XAxisOptions interface to include a formatter function 2024-08-21 13:10:46 +01:00
Simon Larsen
61541ac7c9 Merge branch 'master' into tremor-graphs-refactor 2024-08-20 22:04:56 +01:00
Simon Larsen
abde6ee7cb Merge pull request #1651 from OneUptime/bull-board-ui
feat: Add Bull Board for monitoring and managing queues
2024-08-20 22:00:32 +01:00
Simon Larsen
9aae86cc78 feat: Add Bull Board for monitoring and managing queues 2024-08-20 21:59:26 +01:00
Simon Larsen
222027f2e0 refactor: Increase concurrency for running workers to 100 2024-08-20 21:21:39 +01:00
Simon Larsen
adfb3e1db4 refactor: Update logging in CheckHeartbeat.ts and Telemetry.ts 2024-08-20 20:57:33 +01:00
Simon Larsen
fe8aa54f1c feat: Add API endpoint to get count of pending incoming request monitors 2024-08-20 18:27:04 +01:00
Simon Larsen
5237384d08 refactor: Update PostgresAppInstance to use static methods and properties 2024-08-20 17:37:45 +01:00
Simon Larsen
aca766a252 Merge branch 'master' into tremor-graphs-refactor 2024-08-20 16:27:05 +01:00
Simon Larsen
ee29277cb9 refactor: Add SortOrder import and update query sorting in CheckHeartbeat.ts 2024-08-20 16:26:31 +01:00
Simon Larsen
310ca572ff Update XAxisOptions interface to include a formatter function 2024-08-20 16:19:14 +01:00
Simon Larsen
3d13620a28 refactor: Update chart colors in LineChart and BrandColors files 2024-08-20 14:46:26 +01:00
Simon Larsen
1c069c60fc refactor: Update types for X and Y values in Charts 2024-08-19 19:44:25 +01:00
Simon Larsen
7146b341c5 chore: Add new types for X and Y values in Charts 2024-08-19 19:42:57 +01:00
Simon Larsen
8f8e40aa71 Merge branch 'master' into tremor-graphs-refactor 2024-08-19 17:54:17 +01:00
Simon Larsen
0e9c752aae Merge pull request #1649 from OneUptime/add-more-conds
refactor: Update description for Input 2 in Condition component
2024-08-19 17:30:19 +01:00
Simon Larsen
d37f8a4049 refactor: Update description for Input 2 in Condition component 2024-08-19 17:29:38 +01:00
Simon Larsen
26dd72eea2 Merge pull request #1648 from OneUptime/add-more-conds
refactor: Add support for additional condition operators in IfElse co…
2024-08-19 17:24:05 +01:00
Simon Larsen
462105c6fd refactor: Add support for additional condition operators in IfElse component 2024-08-19 17:23:50 +01:00
Simon Larsen
5662d45826 Merge pull request #1647 from OneUptime/make-graphs-beautiful
Make graphs beautiful
2024-08-19 16:55:58 +01:00
Simon Larsen
32ebb26960 refactor: Update chart colors in LineChart and BrandColors files 2024-08-19 16:55:38 +01:00
Simon Larsen
235fed6f17 refactor: Update chart colors in LineChart and BrandColors files 2024-08-19 16:53:04 +01:00
Simon Larsen
a51c0c45e4 chore: Add @tremor/react dependency to package.json 2024-08-19 16:23:37 +01:00
Simon Larsen
8ea54108c1 Merge pull request #1646 from OneUptime/incoming-request-heartbeat-check
Incoming request heartbeat check
2024-08-19 16:18:10 +01:00
Simon Larsen
cba6e9e2a0 refactor: Add incomingRequestMonitorHeartbeatCheckedAt property to MonitorView and Summary components 2024-08-19 16:17:07 +01:00
Simon Larsen
bd1e1792e4 Merge pull request #1645 from OneUptime/refactor-query-types
Refactor query typescript types
2024-08-19 15:33:24 +01:00
Simon Larsen
e5c9b20c64 refactor: Update aggregationType property name in AggregateBy interface and related files 2024-08-19 15:33:04 +01:00
Simon Larsen
8145f07e51 refactor: Update projectId usage in multiple files to use non-null assertion operator 2024-08-19 14:10:03 +01:00
Simon Larsen
56654085a4 refactor: Update projectId usage in multiple files to use non-null assertion operator 2024-08-19 14:06:09 +01:00
Simon Larsen
a6ddba16ec refactor: Update projectId usage in multiple files to use non-null assertion operator 2024-08-19 13:19:26 +01:00
Simon Larsen
b3cf198649 refactor: Update QueryOperator class to extend SerializableObject 2024-08-19 13:15:17 +01:00
Simon Larsen
4dd7285c13 Merge pull request #1644 from OneUptime/Fix-error-message
refactor: Improve error message for no summary available in SummaryIn…
2024-08-19 11:14:43 +01:00
Simon Larsen
5347b5c109 refactor: Improve error message for no summary available in SummaryInfo component 2024-08-19 11:14:11 +01:00
Simon Larsen
24b956c55f Merge pull request #1643 from OneUptime/africa-domain
Add .africa TLD
2024-08-19 10:43:02 +01:00
Simon Larsen
32c9d6d2df add africa tld 2024-08-19 10:42:28 +01:00
Simon Larsen
c883ce6a34 refactor: Improve overall uptime precision display in StatusPageSettings 2024-08-17 10:09:46 +01:00
Simon Larsen
3851c1f963 refactor: Update UptimePrecision enum to separate file for reusability 2024-08-17 09:53:46 +01:00
Simon Larsen
dd5cb900ff refactor: Update workflow dependencies in release.yml 2024-08-15 20:54:18 +01:00
Simon Larsen
47a4fe1937 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-08-15 18:43:09 +01:00
Simon Larsen
0d0e64f633 refactor: Update BillingService.test.ts to use OneUptimeDate.getCurrentDate() for mockDate 2024-08-15 18:42:33 +01:00
Simon Larsen
cc432dfa1c refactor: Update QR code description for two-factor authentication 2024-08-15 17:37:57 +01:00
Simon Larsen
0fd161d251 refactor: Update JSON deserialization logic in DatabaseBaseModel 2024-08-15 17:19:00 +01:00
Simon Larsen
a6cb80f640 refactor: Update JSON deserialization logic in DatabaseBaseModel 2024-08-15 16:57:59 +01:00
Simon Larsen
5dbd8b9b35 refactor: Update environment variable name for billing private key in test.common.yaml and test-setup.sh 2024-08-15 16:39:15 +01:00
Simon Larsen
3df855c52a refactor: Add getSpanStatusText method to SpanUtil for retrieving span status text 2024-08-15 16:36:48 +01:00
Simon Larsen
183ff170ae refactor: Update telemetry service fetching logic in MonitorStepElement 2024-08-15 16:34:25 +01:00
Simon Larsen
946e53b5c5 refactor: Update Dropdown component to improve code readability and formatting 2024-08-15 16:12:59 +01:00
Simon Larsen
c8f8b79cea refactor: Improve code readability and formatting in Dropdown component and test-setup.sh 2024-08-15 15:57:46 +01:00
Simon Larsen
cf71ba0c72 refactor: Improve code readability and formatting in QueryUtil 2024-08-15 15:33:12 +01:00
Simon Larsen
90ffb7233d refactor: Update test-setup.sh to set test environment variables and billing keys 2024-08-15 15:31:24 +01:00
Simon Larsen
7742318b74 refactor: Improve code readability and formatting in DropdownUtil and QueryUtil 2024-08-15 15:25:59 +01:00
Simon Larsen
5a1705cf12 refactor: Update watch paths in nodemon.json files and add test-setup.sh script 2024-08-15 14:12:30 +01:00
Simon Larsen
fe55d39d14 refactor: Update table container class name in BaseModelTable and Table components 2024-08-15 12:40:21 +01:00
Simon Larsen
a820b53d65 refactor: Update config.env with test billing private key 2024-08-15 12:16:57 +01:00
Simon Larsen
d2a9d9fed4 reafactor: fix team member tests 2024-08-15 00:05:40 +01:00
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
7c2238eac7 refactor: Update code to handle missing teamMembers in AccessTokenService 2024-08-14 15:42:03 +01:00
Simon Larsen
2e850ed6ab refactor: Update PostgresDatabase.ts and UserService.ts to use explicit type annotations 2024-08-14 13:52:42 +01:00
Simon Larsen
7e54fc33ae refactor: Update ProjectTestService to allow generating random projects with seat limit 2024-08-14 10:11:08 +01:00
Simon Larsen
bc15416103 refactor: Remove unused imports and update error message in ScheduledMaintenanceService 2024-08-14 10:10:22 +01:00
Simon Larsen
b61fb75e36 refactor: Remove unused imports and update error message in ScheduledMaintenanceService 2024-08-13 19:18:27 +01:00
Simon Larsen
a2d2ed038b refactor: Update ScheduledMaintenanceService error message for missing ProjectId 2024-08-13 19:16:56 +01:00
Simon Larsen
f36ea78168 refactor: Update Database class to initialize dataSourceOptions and dataSource as null 2024-08-13 15:10:40 +01:00
Simon Larsen
14cf7f047f refactor: Remove unused imports in ServiceRoute.ts, Index.ts, and various service files 2024-08-13 14:54:29 +01:00
Simon Larsen
c64c3d7012 refactor: Remove unused imports in ServiceRoute.ts, Index.ts, and various service files 2024-08-13 14:37:23 +01:00
Simon Larsen
8cb15df390 refactor: Update ServiceRoute.ts, BillingService.test.ts, ProjectService.ts, ProjectSsoService.ts, DomainService.ts, GlobalConfigService.ts, ProbeService.ts, AcmeChallengeService.ts, CopilotActionService.ts, StatusPageSsoService.ts, ApiKeyService.ts, ResellerService.ts, and ProbeOwnerTeamService.ts 2024-08-13 14:16:53 +01:00
Simon Larsen
32da3f7c94 refactor: Update ProjectAPI and DatabaseService to use explicit type annotations 2024-08-13 13:31:00 +01:00
Simon Larsen
9355f185a9 refactor: Update pricing page with new feature description 2024-08-13 12:12:17 +01:00
Simon Larsen
c53584e9d5 should generate a string of random numbers of specified length 2024-08-12 22:57:36 +01:00
Simon Larsen
01be73612d refactor: Update TestDatabase to use pg-mem for in-memory database in tests 2024-08-09 09:53:22 -06:00
Simon Larsen
99a80ab9b6 refactor: Update PostgresDatabase.ts to use async/await for createDatabase and dropDatabase methods 2024-08-09 09:28:09 -06:00
Simon Larsen
95dca8e8c6 refactor: Update Statement.ts to use explicit type annotations for isNumberArray 2024-08-09 08:38:28 -06:00
Simon Larsen
eddc5f1845 refactor: Update DropdownUtil to return dropdownOptions directly 2024-08-09 08:34:00 -06:00
Simon Larsen
c965c18943 refactor: Update test.common.yaml to install npm dependencies in Common directory 2024-08-08 16:22:37 -06:00
Simon Larsen
3c20f424e9 refactor: Update test-setup.sh to export environment variables and start PostgreSQL in docker-compose 2024-08-08 16:05:37 -06:00
Simon Larsen
0ef7ca93f8 refactor: Update JSONFunctions and Table component to support custom classNames 2024-08-08 16:04:14 -06:00
Simon Larsen
ca7c55b557 refactor: Update test-setup.sh path in test.common.yaml 2024-08-08 14:36:27 -06:00
Simon Larsen
a72373994a refactor: Update test-setup.sh for running database in docker-compose 2024-08-08 14:36:05 -06:00
Simon Larsen
fc0071162e refactor: Update span count and query in MonitorTelemetryMonitor.ts 2024-08-08 12:00:48 -06:00
Simon Larsen
3eef55a29d refactor: Update import statements for CommonUI to use Common/UI 2024-08-08 11:52:34 -06:00
Simon Larsen
aa5dc27427 refactor: Update PostgresDatabase.ts to use async/await for createDatabase and dropDatabase methods 2024-08-08 11:42:30 -06:00
Simon Larsen
900e567748 refactor: Update Slug.ts to use getRandomNumbers method in Faker 2024-08-08 10:45:30 -06:00
Simon Larsen
a88b14747c refactor: Update values.yaml and config.example.env for Let's Encrypt integration 2024-08-08 09:56:15 -06:00
Simon Larsen
1619b23996 refactor: Update Statement.ts to support numbers in finalValue map 2024-08-08 08:35:12 -06:00
Simon Larsen
6ed7e19538 refactor: Update QueryHelper to support numbers in any() method 2024-08-08 08:28:23 -06:00
Simon Larsen
41a3bc8a72 refactor: Add support for monitoring trace counts 2024-08-07 21:11:16 -06:00
Simon Larsen
2621dc7cc2 refactor: Update type name in PostgresDatabase.ts 2024-08-07 19:57:23 -06:00
Simon Larsen
c40ec85ce3 refactor: Remove moduleNameMapper for axios in jest.config.json 2024-08-07 19:52:37 -06:00
Simon Larsen
ff6369389c refactor: Update import statements for axios in jest.config.json 2024-08-07 19:31:17 -06:00
Simon Larsen
9211c91510 refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 18:11:30 -06:00
Simon Larsen
3e778fe503 refactor: Update mockRequest.cookies assignment in Cookie.test.ts 2024-08-07 17:38:56 -06:00
Simon Larsen
77308cd9b7 refactor: Fix formatting and indentation in ProjectAuthorization.test.ts 2024-08-07 16:58:35 -06:00
Simon Larsen
60a33b5b0c Merge pull request #1636 from OneUptime/refactor-common-ui
Refactor common UI
2024-08-07 16:48:04 -06:00
Simon Larsen
679649e7ac refactor: Update import statements for axios in jest.config.json 2024-08-07 16:47:14 -06:00
Simon Larsen
719272e360 refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 16:43:50 -06:00
Simon Larsen
ca7907973a refactor: Update test-setup.sh to use relative path for changing directory 2024-08-07 16:16:11 -06:00
Simon Larsen
86e5a33bd9 refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 16:14:31 -06:00
Simon Larsen
3eb6f4da5f refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 15:58:06 -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
ce9e449ba1 Merge pull request #1637 from OneUptime/master
Release
2024-08-07 15:40:50 -06:00
Simon Larsen
12530a1d0d refactor: Update Date.test.ts to use Date objects instead of formatted strings 2024-08-07 15:26:07 -06:00
Simon Larsen
4e81ed92f2 refactor: Remove node_modules from the Common project 2024-08-07 13:40:10 -06:00
Simon Larsen
21047e77b1 refactor: Remove CommonUI from package.json dependencies 2024-08-07 13:37:29 -06:00
Simon Larsen
67a326e6af refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 13:36:13 -06:00
Simon Larsen
23318f093f refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 13:34:27 -06:00
Simon Larsen
805a9b928f refactor: Update import statements for test files to use relative paths 2024-08-07 13:32:16 -06:00
Simon Larsen
63202cc51f refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-07 13:30:33 -06:00
Simon Larsen
bb646bbcf1 refactor: Update Date.test.ts to use Date objects instead of formatted strings 2024-08-07 13:24:19 -06:00
Simon Larsen
000012cd03 refactor: Update Date.test.ts to use Date objects instead of formatted strings 2024-08-07 13:11:48 -06:00
Simon Larsen
1ed9dfc429 refactor: Update Date.test.ts to use Date objects instead of formatted strings 2024-08-07 12:50:45 -06:00
Simon Larsen
491b89cbb4 Merge branch 'merge-dir' 2024-08-07 10:43:17 -06:00
Simon Larsen
bfc8619095 refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-07 10:42:47 -06:00
Simon Larsen
8ec5e4bb8a chore: Add telemetry logs viewer to IncidentView page 2024-08-07 09:33:41 -06:00
Simon Larsen
c0c596346c refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-07 09:20:19 -06:00
Simon Larsen
e27d47e5bb Merge pull request #1633 from OneUptime/merge-dir
Add Log Monitors
2024-08-06 22:10:56 -06:00
Simon Larsen
524863dff3 refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-06 19:38:47 -06:00
Simon Larsen
5bc054504a refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-06 17:57:27 -06:00
Simon Larsen
6fd43622a3 refactor: Update import statements for UserProfile component to use FileUtil.getFileRoute instead of FileUtil.getFileURL 2024-08-06 17:47:18 -06:00
Simon Larsen
725a58d5fb refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-06 17:47:14 -06:00
Simon Larsen
9bf3856c95 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-06 14:02:28 -06:00
Simon Larsen
5fc95eb02e refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-06 11:26:13 -06:00
Simon Larsen
3f7cfa3110 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-06 09:20:10 -06:00
Simon Larsen
bca44b5faf refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 15:41:32 -06:00
Simon Larsen
02f91d26ff refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 15:40:20 -06:00
Simon Larsen
5221c20ee2 refactor: Remove commented out code and unused monitor types in MonitorTypeHelper 2024-08-05 15:11:54 -06:00
Simon Larsen
ea0d1a479f Merge pull request #1626 from OneUptime/merge-dir
refactor: Update import statements for ProbeMonitor and ServerMonitor…
2024-08-05 14:59:54 -06:00
Simon Larsen
ea3c357be1 refactor: Remove unused "Model" dependency from package.json files 2024-08-05 14:58:52 -06:00
Simon Larsen
b1c3a9e3c8 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 14:34:48 -06:00
Simon Larsen
9ec136bf78 chore: Update npm dependencies and remove unnecessary npm install commands 2024-08-05 13:15:36 -06:00
Simon Larsen
c4611848e3 refactor: Update import statement for NestedModel in StatementGenerator.test.ts 2024-08-05 13:13:06 -06:00
Simon Larsen
a096591c52 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 13:05:53 -06: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
525ad8c664 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:46:35 -06:00
Simon Larsen
434c55f88f refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:44:52 -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
52630b16d1 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 10:06:53 -06:00
Simon Larsen
7b994675c8 Merge pull request #1625 from OneUptime/log-monitors
Log monitors
2024-08-05 09:56:26 -06:00
Simon Larsen
d0692ebc8f refactor: Remove unnecessary whitespace in code 2024-08-04 20:44:30 -06:00
Simon Larsen
63197d263f refactor: Update monitor interfaces to use consistent naming 2024-08-04 20:33:16 -06:00
Simon Larsen
13b1998261 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-04 19:56:45 -06:00
Simon Larsen
29764ae7c7 refactor: Update monitor interfaces to use consistent naming 2024-08-04 19:39:36 -06:00
Simon Larsen
5c3175f9e7 refactor: Update monitor interfaces to use consistent naming
```
2024-08-04 18:01:04 -06:00
Simon Larsen
8caac12041 refactor: Update LogSeverity enum to use string values instead of enum values 2024-08-04 17:29:38 -06:00
Simon Larsen
d84cf5b8ec refactor: Update LogSeverity enum to use string values instead of enum values
This refactor updates the LogSeverity enum to use string values instead of enum values. This change allows for better compatibility and flexibility when working with log severity levels. The enum values have been replaced with corresponding string values.

Files modified:
- Common/Types/Log/LogSeverity.ts
- Ingestor/API/OTelIngest.ts
- Ingestor/API/FluentIngest.ts
- Model/AnalyticsModels/Log.ts
- CommonUI/src/Components/LogsViewer/LogItem.tsx
- CommonUI/src/Components/LogsViewer/LogsViewer.tsx
- CommonUI/src/Components/Filters/DropdownFilter.tsx
- Common/Types/ObjectID.ts
- CommonUI/src/Components/Filters/FiltersForm.tsx
2024-08-04 16:41:07 -06:00
Simon Larsen
a49709992c refactor: Update docker-compose commands to use "docker compose" instead of "docker-compose" 2024-08-03 20:07:56 -06:00
Simon Larsen
21b078040c refactor: Update proudly-open-source.ejs to include GitHub repo link 2024-08-03 14:34:51 -06:00
Simon Larsen
70371a32af feat: Add imagePullSecrets to Helm chart templates 2024-08-03 14:25:26 -06:00
Simon Larsen
f45985e0ce Merge pull request #1624 from kruchkov-alexandr/feature/add-imagepullsecret-to-chart
Add imagePullSecrets to chart
2024-08-03 14:18:25 -06:00
AlexK
f1d7e0d13f add imagePullSecrets to chart 2024-08-03 15:02:44 +02:00
Simon Larsen
3f8a5291f0 refactor: Initialize telemetry with correct service name in Telemetry and InfrastructureStatus 2024-08-02 16:50:13 -06:00
Simon Larsen
e60b06d014 refactor: Initialize telemetry with correct service name in Telemetry and InfrastructureStatus
This refactor updates the Telemetry and InfrastructureStatus components to initialize telemetry with the correct service name. By using the APP_NAME constant defined in the Index.ts file, the service name is now dynamically set, ensuring accurate telemetry tracking.

Files modified:
- App/Index.ts
- CommonServer/Utils/Telemetry.ts
2024-08-02 16:47:55 -06:00
Simon Larsen
c9e67311e7 refactor: Update TelemetryIngestor and Probe to initialize telemetry with the correct service name 2024-08-02 16:37:23 -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
d49a6ce009 refactor: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-02 14:02:55 -06:00
Simon Larsen
9b8a5c9c43 feat: Add lazy loading for images in SettingsRoutes 2024-08-02 13:44:59 -06:00
Simon Larsen
9dc31fe536 refactor: Update APIKeyView and TelemetryIngestionKeyView to use RouteUtil.populateRouteParams
This refactor updates the APIKeyView and TelemetryIngestionKeyView components to use the RouteUtil.populateRouteParams function when navigating to other routes. This ensures that route parameters are properly populated, improving the reliability and consistency of the navigation logic.
2024-08-02 12:06:29 -06:00
Simon Larsen
0d40be3db1 refactor: Update APIKeyView and TelemetryIngestionKeyView to use RouteUtil.populateRouteParams
This refactor updates the APIKeyView and TelemetryIngestionKeyView components to use the RouteUtil.populateRouteParams function when navigating to other routes. This ensures that route parameters are properly populated, improving the reliability and consistency of the navigation logic.

Files modified:
- Dashboard/src/Pages/Settings/APIKeyView.tsx
- Dashboard/src/Pages/Settings/TelemetryIngestionKeyView.tsx
2024-08-01 20:43:41 -06:00
Simon Larsen
6754167e57 Update Docker Compose files to use OPENTELEMETRY_EXPORTER_OTLP_ENDPOINT consistently across all services. This change ensures that the OpenTelemetry exporter endpoint is set uniformly for all services, improving consistency and reducing potential configuration errors.
Files modified:
- docker-compose.base.yml
- config.example.env
2024-08-01 19:40:56 -06:00
Simon Larsen
3bf74edae4 feat: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-01 19:37:46 -06:00
Simon Larsen
8a77ae977e refactor: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-01 19:25:54 -06:00
Simon Larsen
6fbca4b6cb refactor: Remove deprecated Service Token field
The deprecated Service Token field in the TelemetryService model and related components was removed. This improves code cleanliness and removes unnecessary dependencies.

Files modified:
- Dashboard/src/Pages/Telemetry/Services/View/Index.tsx
- Dashboard/src/Pages/Telemetry/Services/View/Settings.tsx
- Model/Models/TelemetryService.ts
2024-08-01 15:46:14 -06:00
Simon Larsen
5cf1a7f675 chore: Remove unused ResetObjectID component
The ResetObjectID component in the Settings page was removed as it is no longer needed. This improves code cleanliness and reduces unnecessary dependencies.

Files modified:
- Dashboard/src/Pages/Telemetry/Services/View/Settings.tsx
2024-08-01 15:41:55 -06:00
Simon Larsen
7339f4873b feat: Add lazy loading for images in SettingsRoutes
Update SettingsRoutes to include lazy loading for images in the telemetry ingestion key view. This improves page load performance by loading images only when they are in the viewport.

Files modified:
- Dashboard/src/Routes/SettingsRoutes.tsx
2024-08-01 15:38:31 -06:00
Simon Larsen
0872b1e8a2 feat: Add Telemetry Ingestion Keys page to Settings 2024-08-01 14:26:35 -06:00
Simon Larsen
8307f4deca feat: Add Telemetry Ingestion Keys page to Settings
This commit adds a new page, "Telemetry Ingestion Keys," to the Settings section of the dashboard. The page allows users to manage and view the telemetry ingestion keys used for data collection. It includes a list of keys and their associated details, such as name and creation date. This enhancement provides users with better control and visibility over their telemetry data.

Files modified:
- Dashboard/src/Utils/PageMap.ts
- Dashboard/src/Pages/Settings/SideMenu.tsx
- Dashboard/src/Routes/SettingsRoutes.tsx
2024-08-01 14:23:02 -06:00
Simon Larsen
0ac88b3679 refactor: Update Copilot module styling and content
This commit updates the styling and content of the Copilot module on the home page. The changes include adding a border-radius to the module, improving the visual appearance. Additionally, the text content of the module is modified to provide a clearer description of the services offered by OneUptime. These updates enhance the overall user experience and make the Copilot module more visually appealing.

Files modified:
- App/FeatureSet/Home/Views/Partials/copilot.ejs
2024-08-01 12:48:39 -06:00
Simon Larsen
2c5bbbb6da feat: Update OneUptime chart to use probes instead of probe for probe configuration
This commit modifies the OneUptime chart to use the `probes` parameter instead of the `probe` parameter for configuring probes. The `probes` parameter now accepts a key-value pair where the key represents the probe name and the value contains the probe configuration details. This change improves the clarity and consistency of the chart configuration, making it easier to manage and maintain.

Files modified:
- HelmChart/Public/oneuptime/README.md
2024-08-01 08:22:51 -06:00
Simon Larsen
88216cdebb Update OneUptime chart to include secure probe keys
This commit adds a new configurable parameter `probe.<key>.key` to the OneUptime chart. It is recommended to set this parameter to a long random string to secure the probes. This enhancement improves the security of the OneUptime application by ensuring that only authorized entities can access and use the probes.

Files modified:
- HelmChart/Public/oneuptime/README.md
2024-08-01 08:18:28 -06:00
Simon Larsen
a24822bd56 refactor: Include Reviews module on home page 2024-07-31 20:51:23 -06:00
OneUptime Copilot
b1ce674788 OneUptime Copilot: Improve Comments on /App/Index.ts 2024-08-01 02:41:57 +00:00
Simon Larsen
8f4538a75c refactor: Include Copilot module in home page 2024-07-31 17:36:16 -06:00
Simon Larsen
14be322ef7 refactor: Update home page to include Reviews module 2024-07-31 17:28:18 -06:00
Simon Larsen
b50f05b290 Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-07-31 17:02:45 -06:00
Simon Larsen
e215b5b1ba Merge branch 'master' into release 2024-07-31 17:02:34 -06:00
Simon Larsen
c93f58227f refactor: Update home page to include Reviews module
This commit updates the home page to include the Reviews module. The Reviews module displays a list of reviews from customers, providing social proof and enhancing the user experience. The necessary changes are made to the index.ejs file and the include statements for the Reviews module. This improvement showcases positive feedback and builds trust with potential customers.

Files modified:
- App/FeatureSet/Home/Views/index.ejs
- App/FeatureSet/Home/Views/Partials/reviews.ejs
2024-07-31 17:02:09 -06:00
Simon Larsen
538e40c4ae refactor: Add Reviews module and update home page to display reviews
This commit adds a new Reviews module to the Home feature set. The Reviews module contains a list of reviews that will be displayed on the home page. The home page is updated to include the Reviews module and pass the reviews list to the view template. This enhancement improves the user experience by showcasing positive feedback from customers.

Files modified:
- App/FeatureSet/Home/Index.ts
- App/FeatureSet/Home/Views/Partials/proudly-open-source.ejs
- App/FeatureSet/Home/Views/Partials/review.ejs
- App/FeatureSet/Home/Utils/Reviews.ts
2024-07-31 16:49:48 -06:00
Simon Larsen
4a03abe3d5 refactor: Update about page content and add values section 2024-07-31 16:01:54 -06:00
Simon Larsen
c218a6f209 refactor: Update about page content and add values section 2024-07-31 15:37:45 -06:00
Simon Larsen
a8f04a8204 refactor: Update about page content and add values section
This commit updates the content of the about page to better reflect the goals and vision of the project. It also adds a new section called "Our values" that highlights the principles that the company cares deeply about. This change improves the clarity and messaging of the about page, providing a better understanding of the project's purpose and values.

Files modified:
- App/FeatureSet/Home/Views/about.ejs
2024-07-30 16:52:24 -06:00
Simon Larsen
642b1616ca refactor: Rename telemetry tables and update related code 2024-07-30 15:07:53 -06:00
Simon Larsen
9afbac2cbc refactor: Rename telemetry tables and update related code
This commit renames the telemetry tables in the AnalyticsModels directory to have a "Telemetry" suffix (e.g., Log -> LogTelemetry, Metric -> MetricTelemetry, Span -> SpanTelemetry). It also updates the related code in the TelemetryAttribute, StatementGenerator, and DataMigrations files to reflect the table name changes. This change improves the clarity and consistency of the telemetry-related code.

Files modified:
- Model/AnalyticsModels/TelemetryAttribute.ts
- Model/AnalyticsModels/Log.ts
- Model/AnalyticsModels/Metric.ts
- Model/AnalyticsModels/Span.ts
- CommonServer/Tests/Services/AnalyticsDatabaseService.test.ts
- CommonServer/Tests/Utils/AnalyticsDatabase/StatementGenerator.test.ts
- App/FeatureSet/Workers/DataMigrations/Index.ts
- App/FeatureSet/Workers/DataMigrations/DeleteOldTelelmetryTable.ts
2024-07-30 14:35:30 -06:00
Simon Larsen
b6b49a1255 Merge pull request #1615 from OneUptime/master
feat: Add support for displaying Open Source Friends
2024-07-30 12:10:45 -06:00
Simon Larsen
1cd89851bb feat: Add support for displaying Open Source Friends 2024-07-30 10:50:26 -06:00
Simon Larsen
229b5cd772 feat: Add ArrayUtil import to TelemetryAPI
This commit adds the import statement for the ArrayUtil module to the TelemetryAPI file. The ArrayUtil module is used to remove duplicate attributes fetched from the server. This import ensures that the ArrayUtil functions can be used in the TelemetryAPI module, improving the efficiency and accuracy of attribute handling in the telemetry system.
2024-07-30 09:39:19 -06:00
Simon Larsen
2b1ad303d9 feat: Update MetricsTable to fetch and display attributes
This commit updates the MetricsTable component to fetch and display attributes for each metric. It adds a new API request to retrieve the attributes from the server and updates the component's state to store the fetched attributes. The attributes are then passed to the AnalyticsModelTable component to be displayed in the "Attributes" column. This enhancement improves the visibility and analysis capabilities of the metrics data.

Files modified:
- Dashboard/src/Components/Metrics/MetricsTable.tsx
2024-07-29 17:12:39 -06:00
Simon Larsen
54b0f355dc feat: Update OTelIngest to index attributes for telemetry types
This commit updates the OTelIngest module to index attributes for different telemetry types (Trace, Metric, and Log). It adds the necessary code to extract attributes from spans, metrics, and logs, and sends them to the OTelIngestService.indexAttributes() function. This ensures that the attributes are properly indexed for each telemetry type, improving the search and analysis capabilities of the system.

Files modified:
- Ingestor/API/OTelIngest.ts
- Ingestor/Service/OTelIngest.ts
2024-07-29 16:53:23 -06:00
Simon Larsen
10ed38197e feat: Update TwoFactorAuth utility class to use otpauth library 2024-07-29 16:45:14 -06:00
Simon Larsen
cc4dab2dcf feat: Add email verification to two-factor authentication
This commit adds the user's email to the two-factor authentication process. When verifying the two-factor authentication code, the user's email is now passed as an additional parameter. This enhances the security of the authentication process by ensuring that the code is associated with the correct user. The email is retrieved from the user object and passed to the TwoFactorAuth.verifyToken() function.

Files modified:
- App/FeatureSet/Identity/API/Authentication.ts
- CommonServer/API/UserTwoFactorAuthAPI.ts
2024-07-29 15:27:54 -06:00
Simon Larsen
8852e2ab61 feat: Update TwoFactorAuth utility class to use otpauth library
This commit updates the TwoFactorAuth utility class to use the otpauth library instead of the speakeasy library for generating and verifying two-factor authentication tokens. The otpauth library provides a more modern and maintained solution for handling OTP generation and verification. This change improves the security and reliability of the two-factor authentication feature.

Files modified:
- CommonServer/Utils/TwoFactorAuth.ts
- CommonServer/package.json
2024-07-29 14:23:19 -06:00
Simon Larsen
50b6a746f4 feat: Add support for displaying Open Source Friends 2024-07-29 13:18:26 -06:00
Simon Larsen
df8d2f25ee feat: Enable two-factor authentication on login page 2024-07-28 19:37:33 -06:00
Simon Larsen
ee3de663b5 feat: Add two-factor authentication support to login page
This commit adds support for two-factor authentication on the login page. It includes the necessary code changes to display the two-factor authentication UI elements when the user has enabled it. The login form now includes a field for entering the two-factor authentication code. Additionally, the API endpoint for verifying the two-factor authentication code has been implemented. This feature enhances the security of the login process by adding an extra layer of authentication.

Files modified:
- Accounts/src/Pages/Login.tsx
- App/FeatureSet/Identity/API/Authentication.ts
- CommonServer/Utils/TwoFactorAuth.ts
2024-07-28 12:29:55 -06:00
Simon Larsen
a4d1ed7f01 feat: Add BadDataException for two-factor authentication
This commit adds the BadDataException class to handle errors related to two-factor authentication. It is imported and used in the UserService and UserTwoFactorAuthService files to throw an exception when necessary. This improves the error handling and provides more specific error messages for two-factor authentication related issues.

Files modified:
- CommonServer/Services/UserService.ts
- CommonServer/Services/UserTwoFactorAuthService.ts
2024-07-28 11:49:59 -06:00
Simon Larsen
05a26d0b3f feat: Add VERIFY_TWO_FACTOR_AUTH_API_URL constant
This commit adds the VERIFY_TWO_FACTOR_AUTH_API_URL constant to the ApiPaths module in order to provide a URL for verifying two-factor authentication. This constant is used in the Authentication module to make API requests for verifying the user's two-factor authentication. The constant is constructed using the IDENTITY_URL and a new route "/verify-two-factor-auth". This addition enables the implementation of the two-factor authentication verification feature.

Files modified:
- Accounts/src/Utils/ApiPaths.ts
2024-07-28 10:52:11 -06:00
Simon Larsen
0a5094db37 feat: Enable lazy loading of QR code generation in QR component 2024-07-28 09:52:38 -06:00
Simon Larsen
2f2c4891e3 feat: Enable lazy loading of QR code generation in QR component 2024-07-27 10:43:14 -06:00
Simon Larsen
83cb3b66e0 feat: Enable lazy loading of QR code generation in QR component
This commit updates the QR component to use React hooks and lazy load the QR code generation. By utilizing functional components and the useState and useEffect hooks, the QR code is now only generated when needed, improving performance by reducing unnecessary computations. The code changes also include error handling to display an error message if there is an issue generating the QR code.

Files modified:
- CommonUI/src/Components/QR/QR.tsx
2024-07-27 10:18:02 -06:00
Simon Larsen
63575f3065 Update QR component to use React hooks and lazy load QR code generation. This improves performance by only generating the QR code when needed, reducing unnecessary computations. The code changes include replacing class components with functional components and utilizing the useState and useEffect hooks. The QR code generation is now triggered when the props.text value changes. Additionally, error handling has been added to display an error message if there is an issue generating the QR code.
Files modified:
- CommonUI/src/Components/QR/QR.tsx
2024-07-27 09:25:01 -06:00
Simon Larsen
bf031f64fa feat: Add support for two-factor authentication in user profile
This commit adds support for two-factor authentication in the user profile. It includes the necessary code changes to enable the "Two Factor Auth Enabled" feature in the User model, as well as the addition of the "USER_TWO_FACTOR_AUTH" page in the PageMap and the corresponding route in the RouteMap. The UserTwoFactorAuth model, service, and controller have also been added to handle the logic and API endpoints related to two-factor authentication.

See the following files for more details:
- Common/Types/Icon/IconProp.ts
- Dashboard/src/Utils/PageMap.ts
- Dashboard/src/Utils/RouteMap.ts
- Model/Models/Index.ts
- Model/Models/User.ts
- CommonServer/Services/Index.ts
- CommonServer/package.json
- CommonUI/package.json
- CommonServer/Infrastructure/Postgres/SchemaMigrations/Index.ts
- Dashboard/src/App.tsx
2024-07-26 19:55:40 -06:00
Simon Larsen
04f1cfe414 chore: Remove unused ChartGroupInterval enum
The ChartGroupInterval enum was removed from the ChartGroup component in order to simplify the code and remove unnecessary complexity. This enum was not being used anywhere in the codebase.
2024-07-26 13:57:42 -06:00
Simon Larsen
f11863df0f chore: Add startsAt and endsAt fields to MonitorGroupService 2024-07-26 11:02:39 -06:00
Simon Larsen
599fc23c1a Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-26 10:48:47 -06:00
Simon Larsen
fa03d9296c increase mem on ingestor 2024-07-26 10:48:45 -06:00
Simon Larsen
df9bb5184f Merge pull request #1606 from OneUptime/snyk-upgrade-3639c2517f779bcc4d9569e58993034b
[Snyk] Upgrade reactflow from 11.11.3 to 11.11.4
2024-07-26 10:37:34 -06:00
Simon Larsen
ca7b06d4bc chore: Update StatusPageSubscriberReport template
The StatusPageSubscriberReport template has been updated to display a more detailed report instead of listing the monitored resources. This change improves the clarity and usefulness of the report.

See this file in the repository:
`App/FeatureSet/Notification/Templates/StatusPageSubscriberReport.hbs`
2024-07-26 10:36:11 -06:00
Simon Larsen
59d6ef240f chore: Add error handling for missing SMTP configuration
This commit adds error handling to the `getGlobalSMTPConfig` function in the `Config.ts` file. If any required SMTP configuration values are missing, a `BadDataException` is thrown with a message instructing the user to set the missing values in the Admin Dashboard.

See this file in the repository:
`App/FeatureSet/Notification/Config.ts`
2024-07-26 10:20:47 -06:00
Simon Larsen
5ae034ffdf chore: Add iputils-ping package to Dockerfile
The Dockerfile has been modified to include the installation of the `iputils-ping` package. This change ensures that the `ping` command is available within the Docker container.

See this file in the repository:
`Probe/Dockerfile.tpl`
2024-07-26 10:03:26 -06:00
Simon Larsen
be75960aff Merge pull request #1603 from OneUptime/snyk-upgrade-c18c73e17c875fc14eb8aef47fdb9cd3
[Snyk] Upgrade react-router-dom from 6.23.1 to 6.24.1
2024-07-26 08:37:36 -06:00
Simon Larsen
708f104dfc Merge pull request #1604 from OneUptime/snyk-upgrade-a8c089139458fb3596d95f5fecc84367
[Snyk] Upgrade react-spinners from 0.13.8 to 0.14.1
2024-07-26 08:37:30 -06:00
Simon Larsen
23c34cc71a Merge pull request #1605 from OneUptime/snyk-upgrade-4502b9e038edcb78602d9e97157e6fb9
[Snyk] Upgrade @opentelemetry/instrumentation-fetch from 0.52.0 to 0.52.1
2024-07-26 08:37:22 -06:00
Simon Larsen
3bf76168f1 Merge pull request #1607 from OneUptime/snyk-upgrade-5a4c450f5a959cd973684a5461ecf859
[Snyk] Upgrade playwright from 1.44.1 to 1.45.1
2024-07-26 08:36:36 -06:00
snyk-bot
3499850c6d fix: upgrade playwright from 1.44.1 to 1.45.1
Snyk has created this PR to upgrade playwright from 1.44.1 to 1.45.1.

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
2024-07-26 06:41:49 +00:00
snyk-bot
273a153311 fix: upgrade reactflow from 11.11.3 to 11.11.4
Snyk has created this PR to upgrade reactflow from 11.11.3 to 11.11.4.

See this package in npm:
reactflow

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-26 06:30:58 +00:00
snyk-bot
b248dc324d fix: upgrade @opentelemetry/instrumentation-fetch from 0.52.0 to 0.52.1
Snyk has created this PR to upgrade @opentelemetry/instrumentation-fetch from 0.52.0 to 0.52.1.

See this package in npm:
@opentelemetry/instrumentation-fetch

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-26 06:30:54 +00:00
snyk-bot
7d7b4110a7 fix: upgrade react-spinners from 0.13.8 to 0.14.1
Snyk has created this PR to upgrade react-spinners from 0.13.8 to 0.14.1.

See this package in npm:
react-spinners

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-26 06:30:49 +00:00
snyk-bot
262436f906 fix: upgrade react-router-dom from 6.23.1 to 6.24.1
Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.24.1.

See this package in npm:
react-router-dom

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-26 06:30:46 +00:00
Simon Larsen
2c7b845cb6 refactor: Initialize countPositive with a default value of 0 in AnalyticsDatabaseService
This commit modifies the AnalyticsDatabaseService by initializing the countPositive variable with a default value of 0 when the strResult is null or undefined. This change ensures that countPositive is always assigned a value, even when there is no valid strResult.

The modification improves the reliability of the countPositive variable and prevents potential errors when using it in subsequent calculations.

Co-authored-by: [Author Name]
2024-07-25 17:57:33 -06:00
Simon Larsen
3c9284915a Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-07-25 17:25:48 -06:00
Simon Larsen
ba97a1e14b refactor: Update npm dependency to latest stable version 2024-07-25 17:25:16 -06:00
Simon Larsen
e552a8130f Merge pull request #1602 from OneUptime/master
Release
2024-07-25 16:21:30 -06:00
Simon Larsen
1ed2548be2 refactor: Improve handling of status page resources in subscriber report
This commit refactors the code related to the status page subscriber report. The changes include updating the email template and resource handling in the `StatusPageSubscriberReport.hbs` file. The resource table is now rendered based on whether there are any resources to display. If there are no resources, a message indicating the absence of resources is shown.

Additionally, the `SendReportsToSubscribers.ts` file in the `Workers/Jobs/StatusPage` directory has been modified to handle the case where there are no status page resources. If there are no resources, the email report is not sent, and an error is logged.

These changes improve the handling of resources in the status page subscriber report and ensure that the email report is only sent when there are resources to include.
2024-07-25 15:30:10 -06:00
Simon Larsen
5c697105f3 refactor: Update email template and resource handling in StatusPageSubscriberReport
The code changes in the `StatusPageSubscriberReport.hbs` template file update the rendering of the resource table based on whether there are any resources to display. If there are resources, the table is rendered with the resource details. If there are no resources, a message is displayed indicating that no resources have been added yet.

In addition, the `SendReportsToSubscribers.ts` file in the `Workers/Jobs/StatusPage` directory has been modified to handle the case where there are no status page resources. If there are no resources, the email report is not sent and an error is logged.

These changes improve the handling of resources in the status page subscriber report and ensure that the email report is only sent when there are resources to include.
2024-07-25 15:23:56 -06:00
Simon Larsen
b2bdd5d1af refactor: Update import paths for UptimeEvent and CommonMonitorEvent 2024-07-25 15:00:10 -06:00
Simon Larsen
72e0f200f7 refactor: Update Monitor model and EmailTemplateType enum 2024-07-25 14:46:15 -06:00
Simon Larsen
3f0d75d799 refactor: Update Monitor model and EmailTemplateType enum
- Add 'canReadOnRelationQuery' property to the 'Monitor' model in order to allow reading on relation queries.
- Rename 'StatusPageReport' email template to 'StatusPageSubscriberReport' in the 'EmailTemplateType' enum.
2024-07-25 14:39:53 -06:00
Simon Larsen
519f2ef312 chore: Update dependencies in CommonProject package.json 2024-07-25 10:53:24 -06:00
Simon Larsen
cfbe92e40a refactor: Update MailService to handle JSON objects in vars parameter 2024-07-25 07:56:20 -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
34ca901007 refactor: Update import paths for UptimeEvent and CommonMonitorEvent 2024-07-24 19:09:39 -06:00
Simon Larsen
09883b1129 chore: Update Dockerfile templates to include CommonProject dependencies 2024-07-24 19:04:25 -06:00
Simon Larsen
b94b775e46 Merge remote-tracking branch 'origin/snyk-upgrade-aba1a472386457b0d6d03fface45e612' 2024-07-24 17:36:02 -06:00
Simon Larsen
1c3b7d9982 update otel api 2024-07-24 17:34:53 -06:00
Simon Larsen
ff062cb6a2 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-24 17:33:26 -06:00
Simon Larsen
2cabc922a0 Merge pull request #1581 from OneUptime/snyk-upgrade-0283fc9cc9679e8dddceee913aa83b7d
[Snyk] Upgrade protobufjs from 7.3.0 to 7.3.2
2024-07-24 17:30:24 -06:00
Simon Larsen
b6aaea8ae4 Merge pull request #1576 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-KWwHc
[OneUptime Copilot] Improve Comments on /App/FeatureSet/Docs/Index.ts
2024-07-24 17:27:41 -06:00
Simon Larsen
886aa086ec Merge pull request #1584 from OneUptime/snyk-upgrade-fa996be2aefbed98f1693310998c2799
[Snyk] Upgrade @opentelemetry/instrumentation-xml-http-request from 0.52.0 to 0.52.1
2024-07-24 17:27:12 -06:00
Simon Larsen
6c44201e1c Merge pull request #1583 from OneUptime/snyk-upgrade-b91af40dda1ae21dd8df7c2e11b2673d
[Snyk] Upgrade posthog-js from 1.139.3 to 1.139.6
2024-07-24 17:26:25 -06:00
Simon Larsen
3a72c5d04f Merge pull request #1585 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-xTNiR
[OneUptime Copilot] Improve Comments on /App/Index.ts
2024-07-24 17:26:16 -06:00
Simon Larsen
ea162322d2 Merge pull request #1587 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-CXUJA
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Index.ts
2024-07-24 17:25:53 -06:00
Simon Larsen
222c857354 Merge pull request #1588 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-fjDHl
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Authentication.ts
2024-07-24 17:25:30 -06:00
Simon Larsen
d2d705783e Merge pull request #1589 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-ZbMDm
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Errors.ts
2024-07-24 17:25:13 -06:00
Simon Larsen
75a7308647 Merge pull request #1595 from OneUptime/snyk-fix-cd71497a021e2dc5ca5ae7a982b1e2b4
[Snyk] Security upgrade node from 22.3.0 to 22.5
2024-07-24 17:24:47 -06:00
Simon Larsen
d61ade1eb4 Merge branch 'master' into snyk-fix-cd71497a021e2dc5ca5ae7a982b1e2b4 2024-07-24 17:24:25 -06:00
Simon Larsen
55e1f6b504 Merge pull request #1597 from OneUptime/snyk-fix-93589e9f7114ade2a7233d978fd63baa
[Snyk] Security upgrade node from 22.3.0 to 22.4.1
2024-07-24 17:23:58 -06:00
Simon Larsen
8b95f2887c Merge branch 'master' into snyk-fix-93589e9f7114ade2a7233d978fd63baa 2024-07-24 17:23:49 -06:00
Simon Larsen
2bd1693d1f Merge pull request #1598 from OneUptime/snyk-fix-75abf0e36ba39e30ccfc89f6bf348215
[Snyk] Security upgrade node from 22.3.0 to 22.5.0
2024-07-24 17:23:26 -06:00
Simon Larsen
b1eaded3fd refactor: Update StatusPageSubscriberReport template to display downtime in hours and minutes
This commit updates the StatusPageSubscriberReport template to display the downtime in hours and minutes instead of seconds. The fields "totalDowntime" and "averageUptime" are replaced with "totalDowntimeInHoursAndMinutes" and "averageUptimePercent" respectively. This change improves the readability and usability of the report for users.
2024-07-24 16:29:46 -06:00
Simon Larsen
7e486d34ae ```text
refactor: Update UptimeUtil and MonitorEvent imports

This commit updates the imports in the UptimeUtil and MonitorEvent files to use double quotes instead of single quotes. This change ensures consistency in the codebase and follows the established import style.
2024-07-24 16:18:22 -06:00
Simon Larsen
c930caa2bb refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 13:23:38 -06:00
Simon Larsen
e654b65e71 refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 12:53:18 -06:00
Simon Larsen
a145b346a4 refactor: Add support for reportDataInDays in StatusPage model
This commit adds the `reportDataInDays` property to the `StatusPage` model in the `StatusPage.ts` file. The `reportDataInDays` property allows users to specify the number of days of data to include in the report. This change enhances the reporting functionality of the application by providing more flexibility in generating reports for status pages.
2024-07-23 19:43:10 -06:00
Simon Larsen
f090654ab6 refactor: Add support for StatusPage reports 2024-07-23 17:56:45 -06:00
Simon Larsen
c2e14c378b refactor: Update StatusPageService to calculate and set the next report date
This commit modifies the StatusPageService in the StatusPageService.ts file. It adds logic to calculate and set the next report date based on the report start date and recurring interval. This change enhances the functionality of the StatusPage report feature by ensuring that the next report is scheduled correctly.
2024-07-23 13:29:02 -06:00
Simon Larsen
77996b2066 refactor: Add support for StatusPage reports
This commit adds support for generating and managing reports for the StatusPage feature. It includes database changes, such as adding new columns to the "StatusPage" table, and updates to various components and routes. The new functionality allows users to configure and schedule reports, enhancing the reporting capabilities of the application.
2024-07-23 13:06:12 -06:00
Simon Larsen
5fce72fe59 refactor: Add migration for StatusPage report functionality
This commit adds a migration file (1721754545771-MigrationName.ts) to implement the necessary database changes for the StatusPage report functionality. It adds new columns to the "StatusPage" table, including "isReportEnabled" (boolean), "reportStartDateTime" (timestamp with time zone), "reportRecurringInterval" (JSON), and "sendNextReportBy" (timestamp with time zone). These columns enable the configuration and scheduling of reports for the StatusPage feature. This change enhances the functionality and flexibility of the application when generating and managing reports for status pages.
2024-07-23 11:15:57 -06:00
Simon Larsen
9f8764d741 refactor: Add canReadOnRelationQuery property to TelemetryService's serviceColor
This commit adds the `canReadOnRelationQuery` property to the `serviceColor` field in the `TelemetryService` model. The `canReadOnRelationQuery` property allows for reading the `serviceColor` field when querying related data. This change enhances the functionality and flexibility of the `TelemetryService` model when working with related data.
2024-07-23 09:50:15 -06:00
Simon Larsen
9ce44cc416 refactor: Update BlogTitleAndDescription styling for better readability
This commit updates the styling of the BlogTitleAndDescription component in the BlogTitleAndDescription.ejs file. The font size, font weight, and line height of the title and description elements are adjusted to improve readability and visual hierarchy. This change enhances the overall user experience when viewing blog titles and descriptions on the home page.
2024-07-22 20:09:27 -06:00
Simon Larsen
f5f542cae6 refactor: Remove unnecessary whitespace in StatusAPI 2024-07-22 15:29:26 -06:00
Simon Larsen
de4eea4d24 refactor: Round metric values to integers in MetricView component 2024-07-22 15:24:08 -06:00
Simon Larsen
104535b723 ```text
refactor: Round metric values to integers in MetricView component

This commit modifies the MetricView component in the MetricView.tsx file. It adds logic to round the metric values to integers using the Math.round() function. This change improves the accuracy and readability of the displayed metric values.
2024-07-22 15:09:31 -06:00
Simon Larsen
6f5dfceb34 refactor: Enable real-time updates in LogsViewer components
This commit enables real-time updates in the LogsViewer components by setting the `enableRealtime` prop to `true` in the `Logs.tsx` and `Index.tsx` files. Previously, real-time updates were disabled (`enableRealtime` set to `false`), but this change allows for immediate updates of logs when new data is available. This enhancement improves the usability and responsiveness of the LogsViewer feature.
2024-07-22 14:47:01 -06:00
Simon Larsen
1ec61a473a refactor: Update LogItem component to display service name and color
This commit updates the LogItem component in the LogItem.tsx file. It adds functionality to display the service name and color based on the serviceId provided. The serviceMap dictionary is used to retrieve the service name and color, improving the readability and usability of the component. This change enhances the overall quality and user experience of the LogsViewer feature.
2024-07-22 14:33:18 -06:00
Simon Larsen
abf4faade7 refactor: Update TraceTable component to use React hooks and improve performance
This commit updates the TraceTable component in the TraceTable.tsx file. The component is refactored to use React hooks instead of class components, resulting in cleaner and more concise code. Additionally, the update improves the performance of the component by removing unused code and optimizing rendering. These changes enhance the overall quality and maintainability of the TraceTable component.
2024-07-22 13:50:04 -06:00
Simon Larsen
6a9ee5ba75 refactor: Add jsonKeys property to Filter interfaces
This commit adds the `jsonKeys` property to the `Filter` interface in two different files: `Filter.ts` and `ModelFilter/Filter.ts`. The `jsonKeys` property is an array of strings and is used to specify the JSON keys associated with a filter. This addition allows for more flexibility and customization when working with filters in the application.
2024-07-22 13:48:33 -06:00
Simon Larsen
b696e52145 refactor: Update SpanStatusElement component to handle SpanStatus
This commit updates the SpanStatusElement component to handle the new SpanStatus type. The title prop of the component is modified to accept a SpanStatus value in addition to a string. This change allows for more accurate and descriptive rendering of the span status in the TraceExplorer and TraceTable components. The update improves the overall consistency and usability of the application when displaying span status information.
2024-07-21 17:23:00 -06:00
Simon Larsen
8af8eb34ad refactor: Update TelemetryLayout component and add TraceTable
This commit updates the TelemetryLayout component to improve performance and readability. Unused code is removed, including imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code.

Additionally, a new TraceTable component is added, which replaces the TelemetryServiceTable component in the Telemetry/Traces.tsx file. The TraceTable component provides enhanced functionality for displaying and filtering trace data.

These changes enhance the overall quality, maintainability, and functionality of the TelemetryLayout component and improve the user experience when viewing telemetry data.
2024-07-21 17:10:09 -06:00
Simon Larsen
e600fac4fd refactor: Update TelemetryLayout component and add TraceTable 2024-07-21 17:02:51 -06:00
Simon Larsen
1772953b34 refactor: Update TelemetryLayout component and add TraceTable
This commit updates the TelemetryLayout component to improve performance and readability. Unused code is removed, including imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code.

Additionally, a new TraceTable component is added, which replaces the TelemetryServiceTable component in the Telemetry/Traces.tsx file. The TraceTable component provides enhanced functionality for displaying and filtering trace data.

These changes enhance the overall quality, maintainability, and functionality of the TelemetryLayout component and improve the user experience when viewing telemetry data.
2024-07-21 15:37:40 -06:00
Simon Larsen
44e3c99da8 refactor: Remove unused code and update TelemetryLayout component 2024-07-21 14:30:45 -06:00
Simon Larsen
5fa0f23689 refactor: Remove unused code and update TelemetryLayout component
This commit removes unused code in the TelemetryLayout component and updates it to improve performance and readability. The unused code includes imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code. These changes enhance the overall quality and maintainability of the TelemetryLayout component.
2024-07-21 13:09:00 -06:00
Simon Larsen
5a9a53dfea refactor: Add TelemetryAttributeService and update BaseAPIFeatureSet 2024-07-21 10:54:56 -06:00
Simon Larsen
9dae8e1764 refactor: Remove commented out code for empty formula configuration 2024-07-21 10:06:08 -06:00
Simon Larsen
2c8b58c293 refactor: Remove commented out code for empty formula configuration 2024-07-21 10:05:55 -06:00
Simon Larsen
57686c87e3 refactor: Remove commented out code for empty formula configuration 2024-07-21 09:18:03 -06:00
snyk-bot
738fb77773 fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314
2024-07-21 06:22:59 +00:00
Simon Larsen
51a714f4bd refactor: Add jsonKeys prop to Filter and JSONFilter components
This commit adds the jsonKeys prop to the Filter and JSONFilter components in order to support filtering by JSON keys. The jsonKeys prop is an array of string values that represents the available JSON keys for filtering. This enhancement improves the flexibility and functionality of the filter components, allowing users to filter data based on specific JSON keys.
2024-07-20 09:25:34 -06:00
Simon Larsen
358b785fe0 refactor: Remove TelemetryAttribute model and service
This commit removes the TelemetryAttribute model and service from the codebase. The TelemetryAttribute model and service were no longer needed and were causing unnecessary complexity. Removing them simplifies the codebase and improves maintainability.
2024-07-20 08:08:00 -06:00
snyk-bot
a464723729 fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314
2024-07-20 06:22:55 +00:00
Simon Larsen
5ab959cec5 refactor: Add TelemetryAttributeService and update BaseAPIFeatureSet
This commit adds the TelemetryAttributeService to the AnalyticsServices array in the CommonServer/Services/Index.ts file. It also updates the BaseAPIFeatureSet in the App/FeatureSet/BaseAPI/Index.ts file to include a new route for handling telemetry attribute operations. These changes improve the functionality and flexibility of the analytics module, allowing users to work with telemetry attributes effectively.
2024-07-19 18:59:50 -06:00
Simon Larsen
97bb269ccf refactor: Update TelemetryAttribute model and service
This commit updates the TelemetryAttribute model and service to align with the changes made in the AnalyticsModels/TelemetryAttribute.ts file. The model's tableName, singularName, pluralName, and crudApiPath properties have been modified to reflect the new naming convention for telemetry attributes. Additionally, the TelemetryAttributeService has been added to the AnalyticsServices array in the CommonServer/Services/Index.ts file. These changes improve the consistency and functionality of the telemetry attribute module, allowing users to work with telemetry attributes effectively.
2024-07-19 16:57:19 -06:00
Simon Larsen
85c70bbc17 refactor: Add TelemetryAttributeService to AnalyticsServices
This commit adds the TelemetryAttributeService to the AnalyticsServices array in the CommonServer/Services/Index.ts file. By including the TelemetryAttributeService, we ensure that the service is available for handling telemetry attribute-related operations in the analytics module. This enhancement improves the functionality and flexibility of the analytics services, allowing users to work with telemetry attributes effectively.
2024-07-19 16:48:12 -06:00
Simon Larsen
7effd05896 refactor: Update MetricQueryConfig and MetricQuery components
This commit updates the MetricQueryConfig and MetricQuery components to include the metricNames prop. The metricNames prop is an array of string values that represents the available metric names for filtering and querying. This change improves the flexibility and functionality of the components, allowing users to select from a predefined list of metric names.
2024-07-19 15:57:21 -06:00
Simon Larsen
3123b5304d refactor: Update StartAndEndDate component to use boolean type for time interval variables
This commit refactors the StartAndEndDate component to use the boolean type for the time interval variables (is1Hour, is3Hours, is1Day, etc.). This change improves code readability and ensures consistent typing, making it easier to understand and maintain the component.
2024-07-19 15:37:10 -06:00
Simon Larsen
6ea6f94694 getAggregationInterval 2024-07-19 15:25:29 -06:00
Simon Larsen
4b91e598ce refactor: Update StatementGenerator.ts and AnalyticsDatabaseService.ts
The code changes in StatementGenerator.ts and AnalyticsDatabaseService.ts refactor the import statements for the AggregateBy module. The changes ensure consistent formatting and improve code readability.
2024-07-19 14:02:54 -06:00
Simon Larsen
07293006c3 refactor: Update MetricView component to render charts for metric results 2024-07-19 13:58:46 -06:00
snyk-bot
8f86a4651e fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
2024-07-19 07:47:19 +00:00
Simon Larsen
74857d58d8 refactor: Update MetricView component to render charts for metric results 2024-07-18 18:03:37 -06:00
Simon Larsen
e93b74665b refactor: Remove unused code and update types in AggregateBy.ts, StatementGenerator.ts, and MetricView.tsx 2024-07-18 17:58:26 -06:00
Simon Larsen
3c0eeeb81d refactor: Update ModelAPI to return AggregatedResult in aggregate method 2024-07-18 17:22:36 -06:00
Simon Larsen
8de13e75f2 refactor: Add aggregate endpoint to BaseAnalyticsAPI
This commit adds the aggregate endpoint to the BaseAnalyticsAPI class. The endpoint allows users to perform aggregation operations on the analytics data. It includes a POST and GET route for aggregating data based on specified criteria. This enhancement improves the functionality and flexibility of the analytics API, enabling users to retrieve aggregated results efficiently.
2024-07-18 17:15:47 -06:00
Simon Larsen
f57a487b13 refactor: Update BaseDatabase types and components
This commit updates the BaseDatabase types and components to include new interfaces and enums for handling aggregation, sorting, and querying of data. It improves the flexibility and functionality of the database operations, enhancing the overall performance and usability of the application.
2024-07-18 17:00:46 -06:00
Simon Larsen
2eb0f51636 refactor: Update DateFilter component to handle FieldType.DateTime
This commit updates the DateFilter component to handle the FieldType.DateTime in addition to FieldType.Date. It ensures that the component can correctly handle both date and date-time filters, improving the flexibility and functionality of the filtering feature.
2024-07-18 14:35:54 -06:00
Simon Larsen
4741d8f9e7 refactor: Update TracesList component to use FieldType.DateTime for "Seen At" field
This commit updates the TracesList component to use the FieldType.DateTime instead of FieldType.Date for the "Seen At" field. This change ensures that the field accurately represents the date and time of when the trace was seen, improving the accuracy and clarity of the telemetry data.
2024-07-18 14:13:43 -06:00
Simon Larsen
4ce5abc918 refactor: Update TelemetryIngest to include serviceName in TelemetryRequest
This commit updates the TelemetryIngest middleware to include the serviceName property in the TelemetryRequest interface. It improves the accuracy and completeness of the telemetry data handling.
2024-07-17 17:50:50 -06:00
Simon Larsen
f041a6cbbb refactor: Update TelemetryIngest to include serviceName in TelemetryRequest
This commit updates the TelemetryIngest middleware to include the serviceName property in the TelemetryRequest interface. This change allows the middleware to access and use the service name when processing telemetry data. It improves the accuracy and completeness of the telemetry data handling.
2024-07-17 17:27:04 -06:00
Simon Larsen
394e5460b5 refactor: Update MetricView and MetricViewPage components
This commit updates the MetricView and MetricViewPage components to include the MetricsAggregationType enum and use it for setting the default aggregation type in the filterData object. This change ensures consistency and clarity in the codebase, improving the maintainability and readability of the application.
2024-07-17 16:50:13 -06:00
Simon Larsen
7a8043f4db refactor: Update MetricAlias component to use title and description instead of metricAlias
This commit updates the MetricAlias component in the Metrics folder to use the properties "title" and "description" instead of "metricAlias". This change improves the clarity and consistency of the codebase, aligning with the naming conventions used throughout the application.
2024-07-17 15:17:18 -06:00
Simon Larsen
7fe26603fd refactor: Update FieldLabelElement component to use consistent text color
This commit updates the FieldLabelElement component in the CommonUI project to use a consistent text color of text-gray-500 instead of text-gray-700. This change improves the visual consistency and readability of the form fields throughout the application.
2024-07-17 14:58:01 -06:00
Simon Larsen
a50cce6c6f refactor: Update MetricsAggregationType enum values to uppercase
This commit updates the MetricsAggregationType enum values to uppercase for consistency and clarity. The previous lowercase values were inconsistent with the naming convention used throughout the codebase. This change improves the readability and maintainability of the code.
2024-07-17 14:50:15 -06:00
Simon Larsen
3c839799da refactor: Update LastRunMessage and TelemetryServices components 2024-07-17 13:42:12 -06:00
Simon Larsen
5a11df0153 refactor: Update LastRunMessage and TelemetryServices components
This commit updates the LastRunMessage component to display a more accurate message about the data update. It also updates the TelemetryServices component to use a clearer title and description. These changes improve the clarity and user experience of the Copilot and Service Catalog pages.
2024-07-16 17:12:05 -06:00
Simon Larsen
bb8b4430cf refactor: Update ServiceFileTypesUtil to use TechStack instead of ServiceLanguage
This commit updates the ServiceFileTypesUtil class to use the TechStack enum instead of the ServiceLanguage enum. It modifies the method names and parameters accordingly, ensuring consistency and clarity in the codebase. This refactoring improves the maintainability and extensibility of the application.
2024-07-16 16:52:40 -06:00
Simon Larsen
c6961b9a0b refactor: Update TelemetryServiceTable component
This commit refactors the Services page by replacing the ModelTable component with the TelemetryServiceTable component. The TelemetryServiceTable component provides a more specialized and optimized table for displaying telemetry services. This change improves the performance and user experience of the Services page.
2024-07-16 16:28:54 -06:00
Simon Larsen
754e6b165e refactor: Update Monitor component props and imports
This commit updates the Monitor component in the Monitor.tsx file to include an optional showIcon prop. It also updates the import paths in various files to reflect the changes. These refactorings improve the flexibility and maintainability of the codebase.
2024-07-16 16:19:36 -06:00
Simon Larsen
5f2430ff06 feat: Add routes for Service Catalog view pages
This commit adds routes for the Monitors, Incidents, and Telemetry Services pages in the Service Catalog view. These routes allow users to navigate to specific sections of the Service Catalog and access relevant information. The addition of these routes enhances the usability and functionality of the application.
2024-07-16 15:08:26 -06:00
Simon Larsen
80b9961bd8 feat: Add breadcrumb links for Monitors, Incidents, and Telemetry Services in Service Catalog view 2024-07-16 15:07:10 -06:00
Simon Larsen
886f753422 refactor: Update TechStack enum and related imports 2024-07-16 14:50:24 -06:00
Simon Larsen
9ea0c6389c refactor: Update repository URL in package.json 2024-07-16 14:44:47 -06:00
Simon Larsen
f29bcc6641 refactor: Update TechStack enum and related imports 2024-07-16 14:43:59 -06:00
Simon Larsen
60aa7032c5 refactor: Update TechStack enum and related imports
This commit updates the TechStack enum in the TechStack.ts file to include a comprehensive list of technology stacks. It also updates the import paths in various files to reflect the changes from using ServiceLanguage to TechStack. This refactoring improves the clarity and consistency of the codebase.
2024-07-16 14:07:47 -06:00
Simon Larsen
4d8ba7d3a3 fix: Update import path for ServiceCatalogTelemetryService model 2024-07-16 13:30:27 -06:00
Simon Larsen
c87744c51e feat: Add ServiceCatalogMonitor and ServiceCatalogTelemetryService models
This commit adds the ServiceCatalogMonitor and ServiceCatalogTelemetryService models to the application. These models are necessary for managing and monitoring service catalog dependencies and telemetry services. The addition of these models enhances the functionality and flexibility of the application.
2024-07-16 11:52:08 -06:00
Simon Larsen
9841ba52a9 feat: Add MetricsAggregationType enum and MetricsQuery interface
This commit adds the MetricsAggregationType enum to represent different types of metrics aggregations such as max, min, sum, avg, and count. It also introduces the MetricsQuery interface, which defines the structure of a metrics query including the metric name, attributes, aggregation type, aggregate by, start time, and end time. These changes enable the implementation of metrics queries and aggregations in the application.
2024-07-15 17:51:19 -06:00
Simon Larsen
b16df022ed chore: Update npm dependency to latest stable version 2024-07-15 15:23:11 -06:00
Simon Larsen
c3d8acc61a feat: Add SquareStack3D icon to IconProp enum and update SideMenu component
This commit adds the SquareStack3D icon to the IconProp enum in the IconProp.ts file. It also updates the SideMenu component in the SideMenu.tsx file to use the SquareStack3D icon instead of the SquareStack icon. This change ensures that the correct icon is displayed in the SideMenu for the specified modelId.
2024-07-15 15:16:26 -06:00
Simon Larsen
04fbb15405 feat: Add Service Catalog Dependency model and routes 2024-07-15 14:49:10 -06:00
Simon Larsen
2cd61dbbac ```text
refactor: Add Service Catalog Dependency permissions

This commit adds new permissions for creating, deleting, editing, and reading Service Catalog Dependencies. These permissions allow users to manage dependencies within the project.
2024-07-15 14:29:05 -06:00
Simon Larsen
e6bc8e4b30 chore: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.github/workflows/reliability-copilot.yml` file to fix the environment variable values for `ONEUPTIME_REPOSITORY_SECRET_KEY` and `CODE_REPOSITORY_PASSWORD`. The values are now properly enclosed in double quotes to ensure consistency and prevent any issues with special characters. This change ensures the correct configuration for running the reliability copilot workflow.
2024-07-15 14:13:00 -06:00
Simon Larsen
e9f0510d3c chore: Update Docker configuration for Copilot debugging 2024-07-15 14:10:22 -06:00
Simon Larsen
9c0cf6a3db ```text
chore: Update Docker configuration for Copilot debugging

This commit updates the Docker configuration in the `.github/workflows/reliability-copilot.yml` file to fix the environment variable values for `ONEUPTIME_REPOSITORY_SECRET_KEY` and `CODE_REPOSITORY_PASSWORD`. The values are now properly enclosed in single quotes to prevent any issues with special characters. This change ensures the correct configuration for running the reliability copilot workflow.
2024-07-15 14:04:49 -06:00
Simon Larsen
bca58a58ae chore: Fix formatting in InitUtil code
This commit fixes the formatting in the InitUtil code by removing unnecessary whitespace and aligning the code properly. The changes improve the readability and maintainability of the code.
2024-07-15 13:57:37 -06:00
Simon Larsen
2c0fbfef19 feat: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.vscode/launch.json` file to improve the debugging experience for Copilot. It modifies the `Debug: Copilot Locally` configuration by changing the `localRoot` to `${workspaceFolder}/TestServer` and updating the `name` to `Copilot: Debug with Docker`. Additionally, it sets the `port` to `9985`, `remoteRoot` to `/usr/src/app`, and enables `restart` and `autoAttachChildProcesses` for better debugging capabilities. These changes enhance the development workflow and make it easier to debug Copilot locally with Docker.
2024-07-15 13:52:00 -06:00
Simon Larsen
395f9bcdb7 chore: Update Docker configuration for Copilot debugging 2024-07-15 13:51:35 -06:00
Simon Larsen
4587e3136b feat: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.vscode/launch.json` file to improve the debugging experience for Copilot. It modifies the `Debug: Copilot Locally` configuration by changing the `localRoot` to `${workspaceFolder}/TestServer` and updating the `name` to `Copilot: Debug with Docker`. Additionally, it sets the `port` to `9985`, `remoteRoot` to `/usr/src/app`, and enables `restart` and `autoAttachChildProcesses` for better debugging capabilities. These changes enhance the development workflow and make it easier to debug Copilot locally with Docker.
2024-07-15 13:31:49 -06:00
Simon Larsen
2a458ec7e6 chore: Update Docker configuration for Copilot debugging 2024-07-15 09:49:21 -06:00
Simon Larsen
2c02a62e63 feat: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.vscode/launch.json` file to improve the debugging experience for Copilot. It modifies the `Debug: Copilot Locally` configuration by changing the `localRoot` to `${workspaceFolder}/TestServer` and updating the `name` to `Copilot: Debug with Docker`. Additionally, it sets the `port` to `9985`, `remoteRoot` to `/usr/src/app`, and enables `restart` and `autoAttachChildProcesses` for better debugging capabilities. These changes enhance the development workflow and make it easier to debug Copilot locally with Docker.
2024-07-15 09:47:53 -06:00
Simon Larsen
1afd76b080 ```text
refactor: Update Alert component styles

This commit updates the styles of the Alert component to use a common background color of "bg-gray-700" instead of different colors for each alert type. This change simplifies the code and improves consistency in the UI.
2024-07-15 09:15:10 -06:00
Simon Larsen
5fae51fa01 chore: Update CodeRepositoryPage form fields
This commit updates the CodeRepositoryPage form fields by removing the "Main Branch Name" field and adding a "Select Service" dropdown with a description. The "Main Branch Name" field is no longer necessary and the "Select Service" dropdown provides a better user experience by allowing users to choose a service from the Service Catalog. These changes improve the usability and clarity of the form.
2024-07-15 09:13:15 -06:00
Simon Larsen
d8366efee8 feat: Improve MarkdownViewer styles for headings and code blocks 2024-07-15 09:06:15 -06:00
Simon Larsen
5f3cfa3f0d feat: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.vscode/launch.json` file to improve the debugging experience for Copilot. It modifies the `Debug: Copilot Locally` configuration by changing the `localRoot` to `${workspaceFolder}/TestServer` and updating the `name` to `Copilot: Debug with Docker`. Additionally, it sets the `port` to `9985`, `remoteRoot` to `/usr/src/app`, and enables `restart` and `autoAttachChildProcesses` for better debugging capabilities. These changes enhance the development workflow and make it easier to debug Copilot locally with Docker.
2024-07-15 08:36:23 -06:00
OneUptime Copilot
84740444ec OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Errors.ts 2024-07-15 14:31:34 +00:00
OneUptime Copilot
3881ad163c OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Authentication.ts 2024-07-15 14:27:15 +00:00
OneUptime Copilot
f7f43ed16c OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Index.ts 2024-07-15 14:26:24 +00:00
Simon Larsen
39b5982d67 feat: Improve MarkdownViewer styles for headings and code blocks
This commit updates the styles in the MarkdownViewer component to improve the visual hierarchy of headings and code blocks. It adds margin-bottom to h3, h4, and h5 headings to create better spacing between them and the content. Additionally, it removes unnecessary code in the code block rendering logic to simplify the component. These changes enhance the readability and aesthetics of the rendered Markdown content.
2024-07-15 07:36:16 -06:00
Simon Larsen
0f0f2c1b81 feat: Update react-syntax-highlighter to latest version and use a11yDark style
This commit updates the react-syntax-highlighter package to the latest version and switches to the a11yDark style for syntax highlighting in the MarkdownViewer component. This update ensures compatibility with the latest features and improvements of react-syntax-highlighter and enhances the accessibility of the code snippets in the MarkdownViewer.
2024-07-14 15:40:10 -06:00
OneUptime Copilot
7e05939977 OneUptime Copilot: Improve Comments on /App/Index.ts 2024-07-14 21:37:48 +00:00
Simon Larsen
c5062b5bc5 feat: Add @types/react-syntax-highlighter dependency
This commit adds the "@types/react-syntax-highlighter" dependency to the package.json file in the CommonUI directory. This is necessary to provide TypeScript type definitions for the "react-syntax-highlighter" library, ensuring proper type checking and improved development experience.
2024-07-14 14:44:06 -06:00
Simon Larsen
90355ae7ed feat: Add lazy loading for images in PullRequestView 2024-07-14 14:20:04 -06:00
Simon Larsen
da67dc6930 feat: Add network_mode: host to docker-compose.base.yml
This commit adds the `network_mode: host` configuration to the `docker-compose.base.yml` file. This configuration allows the container to share the host network stack, enabling direct access to the host's network interfaces. This change is made to improve network performance and connectivity for the application.
2024-07-14 13:58:48 -06:00
Simon Larsen
71151ea92e feat: Add serviceCatalogId and serviceRepositoryId to CopilotPullRequestAPI and CopilotActionAPI
This commit adds the `serviceCatalogId` and `serviceRepositoryId` fields to the `CopilotPullRequestAPI` and `CopilotActionAPI` classes. These fields are included in the API response to provide additional information about the service catalog and service repository associated with a pull request or action. This change enhances the data returned by the APIs and improves the overall functionality of the application.
2024-07-12 22:04:18 +01:00
Simon Larsen
d97211d52c feat: Set default model name if HF_MODEL_NAME environment variable is not set 2024-07-12 20:40:46 +00:00
Simon Larsen
d0e31ad95e feat: Set default model name if HF_MODEL_NAME environment variable is not set
This commit updates the `app.py` file to set a default model name if the `HF_MODEL_NAME` environment variable is not set. The default model name is `meta-llama/Meta-Llama-3-8B-Instruct`. This change ensures that the application uses a valid model name even if the environment variable is not provided.
2024-07-12 20:39:18 +00:00
Simon Larsen
7c796e110b feat: Add environment variables for Hugging Face token and model name
This commit adds the necessary environment variables for the Hugging Face token and model name in the `docker-compose.yml` file. The `HF_TOKEN` environment variable is used to store the Hugging Face API token, which can be obtained by signing up on Hugging Face and creating a new API token. The `HF_MODEL_NAME` environment variable is optional and allows specifying the model name from Hugging Face. If not set, the default model `meta-llama/Meta-Llama-3-8B-Instruct` will be used.
2024-07-12 20:37:03 +00:00
Simon Larsen
137cdb7716 refactor: Remove unused code and comments in LLMServer.ts 2024-07-12 20:18:34 +00:00
Simon Larsen
0a02aba790 feat: Add lazy loading for images in PullRequestView 2024-07-12 20:17:57 +00:00
Simon Larsen
652e81e984 feat: Add lazy loading for images in PullRequestView
This commit adds lazy loading for images in the PullRequestView component. By implementing lazy loading, the images will only load when they are in the viewport, improving the page load performance and user experience.
2024-07-12 21:13:05 +01:00
Simon Larsen
4dacd9b8b4 chore: Delete all data from CopilotAction table in MigrationName1720785305192
This commit deletes all data from the "CopilotAction" table in the "MigrationName1720785305192" migration. This is done to ensure a clean state before renaming the "pullRequestId" column to "copilotPullRequestId".
2024-07-12 20:43:31 +01:00
Simon Larsen
71fb83e698 feat: Update CopilotAction table to allow nullable copilotPullRequestId
This commit modifies the `CopilotAction` table in the `CopilotAction.ts` file to allow the `copilotPullRequestId` column to be nullable. This change provides flexibility in the data model by allowing the column to have null values.
2024-07-12 20:38:33 +01:00
Simon Larsen
d514059d5d chore: Setup Git LFS in workflows
This commit adds a step to the GitHub workflows (`test-release.yaml` and `release.yml`) to setup Git LFS. Git LFS is necessary for handling large files in the repository. By installing Git LFS, we ensure that the repository can handle large files properly during the CI/CD process.
2024-07-12 20:28:46 +01:00
Simon Larsen
3c29278cc1 run on self hosted runner 2024-07-12 20:14:37 +01:00
Simon Larsen
5d1ad931fc chore: Remove unused Copilot configuration variables
This commit removes the unused Copilot configuration variables from the `config.example.env` file. The `COPILOT_OPENAI_API_KEY` and `COPILOT_OPENAI_MODEL` variables are no longer needed and have been removed. This cleanup improves the clarity and maintainability of the codebase.
2024-07-12 19:36:33 +01:00
Simon Larsen
4e0d56de54 feat: Add setup pull request flag to CopilotPullRequestAPI.ts
This commit adds the `isSetupPullRequest` flag to the `CopilotPullRequestAPI.ts` file. The flag is set to true when creating a pull request for setting up the repository with OneUptime Copilot. This flag will be used to identify setup pull requests in the application.
2024-07-12 19:02:47 +01:00
Simon Larsen
a33b1f20f8 feat: Add migration for dropping NOT NULL constraint on serviceCatalogId and serviceRepositoryId in CopilotPullRequest
This commit adds a migration file (1720806196274-MigrationName.ts) that drops the NOT NULL constraint on the columns "serviceCatalogId" and "serviceRepositoryId" in the "CopilotPullRequest" table. This change allows these columns to have nullable values, providing flexibility in the data model.
2024-07-12 18:46:41 +01:00
Simon Larsen
9fa61dac31 feat: Add OneUptimeDate import in CopilotCodeRepositoryAPI
This commit adds an import statement for the `OneUptimeDate` module in the `CopilotCodeRepositoryAPI.ts` file. The `OneUptimeDate` module is used to update the last run time of the code repository.
2024-07-12 18:36:30 +01:00
Simon Larsen
263c1ee613 feat: Update CopilotPullRequest.ts and PageMap.ts
Update the table description in CopilotPullRequest.ts to fix a typo. Also, add a new entry in PageMap.ts for the "AI_COPILOT_CODE_REPOSITORY_VIEW_PULL_REQUESTS" page.
2024-07-12 13:38:19 +01:00
Simon Larsen
c648a6bf79 feat: Add CopilotPullRequestStatus enum
This commit adds the `CopilotPullRequestStatus` enum to the `CopilotPullRequestStatus.ts` file in the `Common/Types/Copilot` directory. This enum defines the possible statuses of a Copilot pull request, including "Created", "Merged", and "Closed". This enum will be used to track the status of Copilot pull requests throughout the application.
2024-07-12 13:07:59 +01:00
Simon Larsen
ed954d79a4 fix ingress 2024-07-12 12:05:29 +01:00
Simon Larsen
113e95a059 add fluentd host to ingress 2024-07-12 11:29:37 +01:00
Simon Larsen
4d31b85c4d add otel collector to ingress 2024-07-12 11:26:54 +01:00
Simon Larsen
58cf3abda9 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-12 11:23:00 +01:00
Simon Larsen
9227324ac3 fix port name on ingress 2024-07-12 11:21:53 +01:00
snyk-bot
e5c608e20b fix: upgrade @opentelemetry/instrumentation-xml-http-request from 0.52.0 to 0.52.1
Snyk has created this PR to upgrade @opentelemetry/instrumentation-xml-http-request from 0.52.0 to 0.52.1.

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-12 04:41:38 +00:00
snyk-bot
8a41d48941 fix: upgrade posthog-js from 1.139.3 to 1.139.6
Snyk has created this PR to upgrade posthog-js from 1.139.3 to 1.139.6.

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-12 04:37:12 +00:00
Simon Larsen
eb19465e56 Merge pull request #1580 from OneUptime/snyk-upgrade-94a17e29c2b95dff68863238e84f80f4
[Snyk] Upgrade eslint-plugin-react from 7.34.2 to 7.34.3
2024-07-11 17:13:14 +01:00
Simon Larsen
93ee819457 Merge pull request #1582 from OneUptime/snyk-upgrade-6b6d73fe55c776290de78e647adb1b35
[Snyk] Upgrade @opentelemetry/instrumentation-fetch from 0.51.1 to 0.52.0
2024-07-11 17:13:06 +01:00
snyk-bot
7931ac475e fix: upgrade @opentelemetry/instrumentation-fetch from 0.51.1 to 0.52.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-fetch from 0.51.1 to 0.52.0.

See this package in npm:
@opentelemetry/instrumentation-fetch

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-11 06:55:27 +00:00
snyk-bot
6286c203fe fix: upgrade protobufjs from 7.3.0 to 7.3.2
Snyk has created this PR to upgrade protobufjs from 7.3.0 to 7.3.2.

See this package in npm:
protobufjs

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/89d21457-97ad-4d10-9b37-253f0b4cc388?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-07-11 06:53:35 +00:00
snyk-bot
9d43a2d98b fix: upgrade eslint-plugin-react from 7.34.2 to 7.34.3
Snyk has created this PR to upgrade eslint-plugin-react from 7.34.2 to 7.34.3.

See this package in npm:
eslint-plugin-react

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-11 06:34:56 +00:00
snyk-bot
5271bcd49f fix: upgrade @types/lodash from 4.17.4 to 4.17.5
Snyk has created this PR to upgrade @types/lodash from 4.17.4 to 4.17.5.

See this package in npm:
@types/lodash

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-11 06:34:52 +00:00
Simon Larsen
54db88dd96 feat: Add git commands to add and commit changes in CodeRepositoryUtil
The CodeRepositoryUtil class now includes two new methods: `addAllChangedFilesToGit` and `commitChanges`. These methods allow for adding all changed files to the git repository and committing the changes with a specified message. This will make it easier to manage and track changes in the code repository.
2024-07-10 22:53:31 +01:00
Simon Larsen
dd336896d2 chore: Remove unused configuration files and scripts 2024-07-10 22:07:52 +01:00
simlarsen
75ad6697cd OneUptime Copilot: Improve Comments on /App/FeatureSet/Docs/Index.ts 2024-07-10 21:00:05 +00:00
Simon Larsen
2862d1e69b Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-10 21:33:40 +01:00
Simon Larsen
5e486e4ce6 chore: Update LlmType enum and related code 2024-07-10 21:33:38 +01:00
Simon Larsen
6b17d6d6dc Merge pull request #1574 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-voNYL
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Utils/Resources.ts
2024-07-10 21:32:05 +01:00
simlarsen
272a29aad1 OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Utils/Resources.ts 2024-07-10 20:31:24 +00:00
Simon Larsen
d21e333c9e Update config.example.env to disable copilot 2024-07-10 21:05:47 +01:00
Simon Larsen
b5195c27c0 chore: Add OpenAI configuration to Copilot
- Update config.example.env to include OpenAI API key and model.
- Update docker-compose.base.yml to include OpenAI environment variables.
- Update Copilot configuration files to handle OpenAI LLM responses.
2024-07-10 20:59:46 +01:00
Simon Larsen
3f436861ad Merge pull request #1569 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-ewnDg
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Model.ts
2024-07-10 20:49:10 +01:00
Simon Larsen
3982d49136 Merge pull request #1570 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-nHnSE
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/PageNotFound.ts
2024-07-10 20:48:40 +01:00
Simon Larsen
e007fb1b72 Merge pull request #1571 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-Mrwii
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Pagination.ts
2024-07-10 20:48:31 +01:00
Simon Larsen
ccba9482de Merge pull request #1572 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-ooCrw
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Permissions.ts
2024-07-10 20:48:15 +01:00
Simon Larsen
8dfa8c2e09 Merge pull request #1573 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-yaNuN
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Status.ts
2024-07-10 20:47:57 +01:00
Simon Larsen
af0a5d1022 chore: Update LlmType enum and related code 2024-07-10 18:39:13 +01:00
Simon Larsen
43a22d9973 chore: Update LlmType enum and related code
- Update LlmType enum values to match the new naming convention.
- Update references to Llama to LLM in various files.
- Update CopilotActionsBase.ts to set the llmType to LLM in the constructor.
- Update Init.ts to use the llmServerUrl instead of llamaServerUrl.
- Update LLM.ts to use LLMServer class instead of Llama class.
- Add OpenAI class and update LLM.ts to handle OpenAI LLM type.
- Update Config.ts to handle OpenAI API key and model.
- Add OpenAI.ts file to handle OpenAI LLM responses.
2024-07-10 18:36:00 +01:00
Simon Larsen
d8c8a76c1d chore: Update Copilot configuration files
- Update Copilot Dockerfile.tpl to remove unnecessary code and fix formatting.
- Update config.example.env and Copilot/.env.example to correct the LLM server URL.
- Remove unused code and update documentation in Copilot/README.md.
- Update navigation links in App/FeatureSet/Docs/Utils/Nav.ts to include Copilot documentation.
- Update Copilot/Config.ts and Copilot/Utils/Init.ts to use the new LLM server URL.
- Add logger statements in Copilot/Service/CopilotActions/CopilotActionsBase.ts to log file content.
2024-07-10 18:19:09 +01:00
simlarsen
e40dc2e9ff OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Status.ts 2024-07-10 13:01:43 +00:00
simlarsen
e0769f1d2b OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Permissions.ts 2024-07-10 13:00:58 +00:00
simlarsen
e336d2ad38 OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Pagination.ts 2024-07-10 13:00:09 +00:00
simlarsen
6ca6daf38d OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/PageNotFound.ts 2024-07-10 12:59:15 +00:00
simlarsen
ffa6f143ac OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Model.ts 2024-07-10 12:58:24 +00:00
Simon Larsen
04650f165f chore: Add logger to Execute.ts and fix formatting in Config.ts and Init.ts 2024-07-10 13:50:29 +01:00
Simon Larsen
214c4e4839 chore: Await discardAllChangesOnCurrentBranch in Copilot/Init.ts 2024-07-10 13:43:59 +01:00
Simon Larsen
fad530cf86 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-10 13:39:46 +01:00
Simon Larsen
6b9e0c8b99 chore: Disable Copilot in development environment 2024-07-10 13:39:35 +01:00
Simon Larsen
5a66e9a393 Merge pull request #1568 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-TJVih
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Introduction.ts
2024-07-10 13:23:50 +01:00
simlarsen
ddd5813266 OneUptime Copilot: Improve Comments on /App/FeatureSet/ApiReference/Service/Introduction.ts 2024-07-10 12:23:07 +00:00
Simon Larsen
e246e3fbcd Update npm aliases in .bash_profile 2024-07-10 12:18:14 +01:00
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
snyk-bot
45d327e55d fix: upgrade @opentelemetry/instrumentation-fetch from 0.51.1 to 0.52.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-fetch from 0.51.1 to 0.52.0.

See this package in npm:
@opentelemetry/instrumentation-fetch

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:13 +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
Simon Larsen
9b9e6d666b refactor: Update CodeRepositoryUtil to set author identity 2024-07-08 16:36:22 +01:00
Simon Larsen
24845b267f refactor: Set author identity in CodeRepositoryUtil
This commit adds a new method, setAuthorIdentity, to the CodeRepositoryUtil class. The method sets the author's name and email in the global git configuration using the provided data. It executes the necessary git config command and logs the output. This change enhances the functionality of the CodeRepositoryUtil class by allowing the author's identity to be easily configured for git operations.
2024-07-08 16:19:19 +01:00
Simon Larsen
448326ee88 refactor: Add LOG_LEVEL=DEBUG environment variable to docker-compose.copilot.yml
This commit adds the LOG_LEVEL=DEBUG environment variable to the docker-compose.copilot.yml file. Setting the log level to DEBUG will enable more detailed logging for the Copilot service. This change is made to improve debugging and troubleshooting capabilities during development and testing.
2024-07-08 16:01:51 +01:00
Simon Larsen
12dab7bdda refactor: Update Docker Compose configuration for Copilot
This commit updates the Docker Compose configuration for Copilot. It removes the unnecessary volume mapping for the COPILOT_REPOSITORY_LOCAL_PATH in the docker-compose.copilot.yml file. This change improves the clarity and simplicity of the configuration file.
2024-07-08 15:48:05 +01:00
Simon Larsen
3eba4da4a8 refactor: Update CODE_REPOSITORY_PASSWORD and CODE_REPOSITORY_USERNAME environment variables
This commit updates the environment variables CODE_REPOSITORY_PASSWORD and CODE_REPOSITORY_USERNAME in the Copilot project. The previous variables GITHUB_TOKEN and GITHUB_USERNAME have been replaced with the new variables to improve clarity and consistency. The changes are made in multiple files, including .github/workflows/reliability-copilot.yml, Copilot/.env.example, Copilot/Config.ts, Copilot/Utils/CodeRepository.ts, Copilot/Utils/Init.ts, config.example.env, and docker-compose.base.yml. These updates ensure that the correct credentials are used for accessing the code repository in the Copilot project.
2024-07-08 15:45:14 +01:00
Simon Larsen
b947ed2ed1 refactor: Add cloneRepository method to CodeRepositoryUtil
This commit adds a new method, cloneRepository, to the CodeRepositoryUtil class. The method is responsible for cloning a repository from a given URL to a specified path. It uses the git clone command to perform the cloning operation. This method will be used to clone the repository to a temporary directory in the Copilot/Init.ts file. The method takes an object as a parameter, which includes the repoPath and repoUrl. It executes the git clone command using the Execute.executeCommand() method and logs the output using the logger.debug() method. This new method enhances the functionality of the CodeRepositoryUtil class and improves the codebase.
2024-07-08 15:40:16 +01:00
Simon Larsen
6eef29e4a3 refactor: Update Copilot configuration for local development 2024-07-08 14:05:09 +01:00
Simon Larsen
74c2de8adc refactor: Add npm scripts for running Copilot and LLM in development mode
This commit adds npm scripts for running Copilot and LLM in development mode. It introduces the "dev-copilot" and "dev-llm" scripts in the package.json file, which set up the necessary environment variables and start the respective services using docker-compose. These scripts enable developers to easily run and test Copilot and LLM locally during development.
2024-07-08 12:56:33 +01:00
Simon Larsen
f53b314b59 refactor: Update Copilot configuration for local development 2024-07-08 12:51:27 +01:00
Simon Larsen
e4bf81fcc1 refactor: Update Copilot configuration for local development
This commit updates the Copilot configuration for local development. It adds environment variables and services to the docker-compose.base.yml and package.json files to support running Copilot locally. The changes include adding the "copilot" service to the docker-compose.base.yml file with the necessary environment variables for Copilot functionality. Additionally, it adds new npm scripts in the package.json file to start, build, and force-build Copilot. These updates enable developers to easily run and build Copilot locally for testing and development purposes.
2024-07-08 12:11:52 +01:00
Simon Larsen
00b48b16ce refactor: Update NODE_OPTIONS stack trace limit to 30 in Dockerfile.tpl 2024-07-05 13:00:16 +01:00
Simon Larsen
5b00b5dac1 refactor: Update Monitor.ts to improve error handling and populate secrets
This commit refactors the Monitor.ts file to enhance error handling and populate secrets for monitors. It introduces try-catch blocks and proper logging to handle errors more effectively. Additionally, it populates secrets for monitors using the MonitorUtil.populateSecrets() function. These changes improve the reliability and security of the monitoring process.
2024-07-05 12:56:53 +01:00
Simon Larsen
97306d47fa refactor: Update default replica count for all deployments 2024-07-05 12:37:38 +01:00
Simon Larsen
5df9f9fd69 refactor: Refresh probe status when isEnabled is updated in MonitorProbeService.ts 2024-07-05 11:52:05 +01:00
Simon Larsen
d9ce813689 refactor: Update ingestor replica count based on configuration 2024-07-05 11:26:26 +01:00
Simon Larsen
93f1b97e88 refactor: Improve error handling in Monitor.ts
This commit refactors the Monitor.ts file to improve error handling. It removes commented out code and unused imports, ensuring a cleaner and more efficient codebase. This change enhances the maintainability and readability of the code.
2024-07-05 11:16:29 +01:00
Simon Larsen
c617e49a63 refactor: Update ingestor replica count based on configuration
This commit updates the ingestor replica count in the HelmChart/Public/oneuptime/templates/ingestor.yaml file based on the configuration. If the `$.Values.deployment.ingestor.replicaCount` value is provided, it sets the replicas to that value. Otherwise, it falls back to `$.Values.deployment.replicaCount`. This change ensures that the ingestor replica count is correctly configured, improving the scalability and performance of the application.
2024-07-05 10:51:19 +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
9b862162b6 refactor: Remove Hugging Face model download step from workflows
The Hugging Face model download step has been removed from the release and test workflows due to limited disk space on the runner. This step was causing issues and is no longer necessary for the current functionality of the project.
2024-07-05 10:05:19 +01:00
Simon Larsen
0ecf3fa1e0 refactor: Remove commented out code and unused imports in Monitor.ts 2024-07-05 09:54:34 +01:00
Simon Larsen
b5fa564cb3 refactor: Remove LLM/Models from .dockerignore 2024-07-05 09:29:05 +01:00
Simon Larsen
b771e1486e Update Hugging Face model download command in release and test workflows 2024-07-05 09:27:20 +01:00
Simon Larsen
3f1479d8f5 refactor: Improve error handling in Semaphore.lock()
This commit refactors the Semaphore.lock() function in the MonitorStatusTimelineService and Monitor API files to improve error handling. It adds try-catch blocks around the lock() function calls and logs any errors that occur using the logger. This change ensures that errors during the locking process are properly handled and logged, preventing potential issues with mutex locking.
2024-07-05 09:05:36 +01:00
Simon Larsen
dcdf1e21ae chore: Free up disk space in GitHub Actions runner 2024-07-04 22:40:38 +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
0e53e26695 refactor: Update PROBE_MONITOR_FETCH_LIMIT default value to 10
This commit updates the default value of the PROBE_MONITOR_FETCH_LIMIT variable in the Config.ts file from 1 to 10. This change ensures that the monitor fetch limit is set to a more reasonable value, improving the efficiency of the monitoring process.
2024-07-04 21:05:03 +01:00
Simon Larsen
ad1e5fefc6 refactor: Improve error handling in Semaphore.lock()
This commit refactors the Semaphore.lock() function in the MonitorStatusTimelineService and Monitor API files to improve error handling. It adds try-catch blocks around the lock() function calls and logs any errors that occur using the logger. This change ensures that errors during the locking process are properly handled and logged, preventing potential issues with mutex locking.
2024-07-04 20:52:19 +01:00
Simon Larsen
8ea77dc6d1 chore: Update BillingInvoiceAPI to check for userAuthorization.isMasterAdmin when userPermissions is empty 2024-07-04 10:50:40 +01:00
Simon Larsen
2222ca301f feat: Update count property in docker-compose.llm.yml to use 'all'
This commit updates the count property in the docker-compose.llm.yml file to use the value 'all' instead of the previous value of '1'. This change allows for the allocation of all available devices with the 'gpu' capability, improving the utilization of resources.
2024-07-03 17:48:43 +01:00
Simon Larsen
0f66c70205 refactor: Update issue template titles
This commit removes the redundant "Bug:" and "Enhancement:" prefixes from the issue template titles. The prefixes are unnecessary as the labels already indicate the type of issue. This change simplifies the issue creation process and improves the clarity of the issue templates.
2024-07-03 17:37:10 +01:00
Simon Larsen
88dc64f182 feat: Add new migration for SchemaMigrations
This commit adds a new migration file, MigrationName1720024126646, to the SchemaMigrations directory. This migration will be used to make changes to the database schema.
2024-07-03 17:35:24 +01:00
Simon Larsen
94c50b980a feat: Add disableCreate prop to MonitorTable component 2024-07-03 17:26:33 +01:00
Simon Larsen
9866919873 feat: Add new icons for NoSignal and EyeSlash
This commit adds two new icons, NoSignal and EyeSlash, to the IconProp enum. It also includes the necessary code changes in the Icon component to render these icons. These icons will be used in the Monitor SideMenu to represent monitors with all probes disconnected and monitors with all probes disabled, respectively.
2024-07-03 16:55:31 +01:00
Simon Larsen
e025f996e4 feat: Add Monitor Groups and Not Being Monitored sections to Dashboard SideMenu 2024-07-03 16:43:39 +01:00
Simon Larsen
cd4c326f6e refactor: Update PermissionHelper to use access control permissions for probe actions
This commit updates the PermissionHelper class to use access control permissions for probe actions. Previously, the isAccessControlPermission property was set to false for all probe-related permissions. Now, it has been changed to true, aligning with the intention of these permissions. This change improves the clarity and consistency of the codebase.
2024-07-03 14:58:11 +01:00
Simon Larsen
c668731389 chore: Add new monitor notification settings for probe status changes and no probes monitoring the monitor 2024-07-03 14:56:57 +01:00
Simon Larsen
e6a10edca6 chore: Add new monitor notification settings for probe status changes and no probes monitoring the monitor 2024-07-02 19:42:28 +01:00
Simon Larsen
847f7fa5c9 chore: Update MonitorTypeHelper function names to be more descriptive
This commit updates the function names in the MonitorTypeHelper class to be more descriptive and accurately reflect their purpose. The function isProbableMonitors has been renamed to isProbableMonitor, and doesMonitorTypeHaveInterval has been renamed to doesMonitorTypeRequireInterval. This change improves the clarity and maintainability of the codebase.
2024-07-02 18:58:06 +01:00
Simon Larsen
03cb9a67b4 chore: Update server monitor criteria to evaluate over time
This commit updates the ServerMonitorCriteria class to include the option to evaluate criteria over time. It adds a new condition to check if the criteria filter includes the evaluateOverTimeOptions property. If it does, the criteria will be evaluated based on the specified time value in minutes. This change allows for more flexible and customizable monitoring criteria.
2024-07-02 17:14:58 +01:00
Simon Larsen
9791aa1259 chore: Add CPU core count to CPUMetrics
This commit adds the `cores` field to the `CPUMetrics` struct in order to include the number of CPU cores in the collected metrics. This information is useful for understanding the processing power of the server.
2024-07-02 13:54:04 +01:00
Simon Larsen
0df7209723 feat: Add basic infrastructure metrics to server monitor summary view 2024-07-02 13:06:23 +01:00
Simon Larsen
0de8e2d818 chore: Add hostname to server monitor report
This commit adds the hostname field to the server monitor report in order to include the hostname of the server in the collected metrics. This information is useful for identifying and distinguishing between different servers in the monitoring system.
2024-07-02 13:04:02 +01:00
Simon Larsen
5f9a1091de chore: Update Dockerfile paths in release and test-release workflows
This commit updates the paths to the Dockerfile in the release.yml and test-release.yaml workflows. The paths have been changed to ./LLM/Dockerfile to ensure that the correct Dockerfile is used for building and pushing the image. This change is necessary because the base image of the LLM does not support arm64 platforms.
2024-07-02 12:55:52 +01:00
Simon Larsen
6ef17b1720 chore: Update Dockerfile to set stack trace limit to 0
This commit updates the Dockerfile to set the stack trace limit to 0, allowing full stack traces to be shown. This change ensures that developers have access to complete stack trace information when debugging the application.
2024-07-02 12:29:31 +01:00
Simon Larsen
9c41a20ebb chore: Update Dockerfile paths in release and test-release workflows
This commit updates the paths to the Dockerfile in the release.yml and test-release.yaml workflows. The paths have been changed to ./LLM/Dockerfile to ensure that the correct Dockerfile is used for building and pushing the image. This change is necessary because the base image of the LLM does not support arm64 platforms.
2024-07-02 12:23:03 +01:00
Simon Larsen
eddb5a81c9 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-02 12:20:47 +01:00
Simon Larsen
3861d09930 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-02 11:20:24 +00:00
Simon Larsen
733901a870 refactor: Use array of messages in CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts
This refactor changes the code in CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts to use an array of messages instead of a single prompt. Each message in the array contains the content and role of the prompt, improving flexibility and readability.
2024-07-02 11:19:53 +00:00
Simon Larsen
131c3034d6 chore: Update installation script to add binary to path
The installation script has been updated to add the binary to the user's path. This ensures that the oneuptime-infrastructure-agent command can be accessed from anywhere in the shell.
2024-07-02 12:19:14 +01:00
Simon Larsen
0c9175c728 fix install script for mac 2024-07-02 12:11:21 +01:00
Simon Larsen
e2eff652e3 chore: Update notification method description in NotificationSettings.tsx 2024-07-02 11:25:36 +01:00
Simon Larsen
43e9530fdb chore: Update notification method description in NotificationSettings.tsx
This commit updates the description of the notification methods in the NotificationSettings.tsx file. The previous description mentioned "custom porbe" instead of "custom probe". This change improves the accuracy and clarity of the description, ensuring that it correctly reflects the purpose of the notification methods.
2024-07-02 11:23:24 +01:00
Simon Larsen
0000cbc53e chore: Add migration for new SchemaMigrations
This commit adds a new migration file, MigrationName1719915433542, to the SchemaMigrations directory. The migration is necessary to update the database schema and ensure compatibility with the latest changes in the codebase.
2024-07-02 11:19:31 +01:00
Simon Larsen
8b26cac8f0 ```text
chore: Update ProbeAPI.test.ts to include connectionStatus field in select query

This commit modifies the ProbeAPI.test.ts file to include the connectionStatus field in the select query. The connectionStatus field was missing from the original query, and this change ensures that it is now included, providing complete information about the probe's connection status.
2024-07-02 11:14:42 +01:00
Simon Larsen
e8417b23d9 chore: Update ProbeConnectionStatusChange template to display "Status Since" instead of "Date / Time" 2024-07-01 22:45:10 +01:00
Simon Larsen
1bd5671d17 chore: Update lastAlive field to Status Since in ProbeConnectionStatusChange template
This commit updates the ProbeConnectionStatusChange template to display the last connection status change as "Status Since" instead of "Date / Time". The change improves the clarity and accuracy of the displayed information, providing a better user experience.
2024-07-01 22:22:51 +01:00
Simon Larsen
56d3e7e1f2 chore: Update probeKey type to string in CustomProbeDocumentation and ProbeView components
This commit updates the probeKey prop type from ObjectID to string in the CustomProbeDocumentation and ProbeView components. The probeKey is used to identify the probe and was previously defined as ObjectID, but it should be a string. This change ensures that the probeKey is correctly passed and used throughout the components, improving the accuracy and reliability of the application.
2024-07-01 20:00:16 +01:00
Simon Larsen
34888e9b7f chore: Update CustomProbeDocumentation component title
This commit updates the title of the CustomProbeDocumentation component from "Set up your Server Monitor (Linux/Mac)" to "Set up your Custom Probe". The new title accurately reflects the purpose of the component and improves the clarity of the user interface.
2024-07-01 17:51:28 +01:00
Simon Larsen
7c09423766 chore: Update ProbeStatusElement component to use connectionStatus field 2024-07-01 17:34:04 +01:00
Simon Larsen
9ba8251c58 chore: Update ProbeStatusElement component to use connectionStatus field 2024-07-01 17:19:27 +01:00
Simon Larsen
7a5efd99ca chore: Update ProbeStatusElement component to use connectionStatus field
This commit updates the ProbeStatusElement component to use the new connectionStatus field from the Probe model. The component previously relied on the lastAlive field to determine the probe's connection status, but now it directly checks the connectionStatus field. This change ensures that the component accurately reflects the probe's current connection status, improving the reliability of the application.
2024-07-01 17:12:33 +01:00
Simon Larsen
1e595be586 feat: Add notification settings for probe owner added event
This commit adds notification settings for the "probe owner added" event. It includes updates to the EmailTemplateType enum, NotificationSettingEventType enum, UserNotificationSettingService, and NotificationSettings.tsx. The new settings allow users to receive notifications when they are added as owners to a probe. This enhancement improves the user experience by providing timely notifications for ownership changes.
2024-07-01 17:06:35 +01:00
Simon Larsen
1d63168606 chore: Add connectionStatus field to Probe model and update related components 2024-07-01 16:52:16 +01:00
Simon Larsen
82601a3e8f chore: Disable editing and deleting of probes in ProbePage component
This commit disables the editing and deleting functionality for probes in the ProbePage component. The isEditable and isDeleteable props are set to false, preventing users from modifying or removing probes. This change ensures that probes cannot be accidentally modified or deleted, improving the data integrity of the application.
2024-07-01 14:41:25 +01:00
Simon Larsen
17bf63e83b chore: Add missing commas in Index.ts files
This commit adds missing commas in the Index.ts files of the Model/Models and CommonServer/Infrastructure/Postgres/SchemaMigrations directories. The missing commas were causing syntax errors in the code. This fix ensures that the code is valid and can be executed without errors.
2024-07-01 14:12:06 +01:00
Simon Larsen
885a6ca36e feat: Add ProbeOwnerTeam and ProbeOwnerUser APIs
This commit adds the APIs for ProbeOwnerTeam and ProbeOwnerUser, allowing users to manage ownership of probes within the application. The APIs are implemented in the BaseAPI/Index.ts file and include routes for creating, deleting, editing, and reading probe owner teams and users. This enhancement improves the functionality of the application by providing a way to manage probe ownership.
2024-07-01 14:02:49 +01:00
Simon Larsen
dec35bbc03 chore: Update model-inline-code styles for consistency
This commit updates the model-inline-code styles in the model.ejs and head.ejs files to ensure consistency throughout the application. The model-inline-code class is now defined with rounded corners, smaller text size, and a gray background color. This change improves the visual presentation of code snippets in the application.
2024-07-01 13:52:49 +01:00
Simon Larsen
77dcb16e8b feat: Add permissions for creating, deleting, editing, and reading probe owner teams and users 2024-07-01 13:42:17 +01:00
Simon Larsen
b10a4c7db8 feat: Add permissions for creating, deleting, editing, and reading probe owner teams and users
This commit adds new permissions for creating, deleting, editing, and reading probe owner teams and users. These permissions allow users to manage ownership of probes within the application. The permissions are defined in the Permission enum and are accompanied by titles and descriptions for clarity. This enhancement improves the access control functionality of the application.
2024-07-01 13:39:07 +01:00
Simon Larsen
8d82f1128b chore: Add ProbeConnectionStatusChange email template
This commit adds a new email template, "ProbeConnectionStatusChange.hbs", to the EmailTemplateType enum in the EmailTemplateType.ts file. The template is used for sending emails related to changes in probe connection status. This addition enhances the email functionality of the application.
2024-07-01 13:07:11 +01:00
Simon Larsen
056c069c69 chore: Add migration for new ProbeStatus column
This commit adds a new migration file, "1719827175832-MigrationName", to the SchemaMigrations directory. The migration file includes the necessary changes to add a new column, "connectionStatus", to the Probe model in the Models directory. The column is of type "ShortText" and has access control settings for create and read permissions. This migration enables the storage and retrieval of the connection status of a probe in the database.
2024-07-01 10:47:24 +01:00
Simon Larsen
0466950c2d chore: Update axios and posthog-js dependencies
This commit updates the axios and posthog-js dependencies in the package-lock.json file. The axios dependency is updated from version 1.6.8 to 1.7.2, and the posthog-js dependency is updated from version 1.131.4 to 1.138.0. These updates ensure that the latest stable versions of these libraries are used in the project.
2024-07-01 10:43:11 +01:00
Simon Larsen
4442437ad7 refactor: Improve comments and error handling in Llama.ts and ImproveComments.ts 2024-07-01 10:39:27 +01:00
snyk-bot
1192c4b6f0 fix: upgrade @opentelemetry/instrumentation from 0.51.1 to 0.52.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation from 0.51.1 to 0.52.0.

See this package in npm:
@opentelemetry/instrumentation

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-06-29 05:38:32 +00:00
Simon Larsen
08f39af9ec refactor: Improve comments and handle bad operations in Llama.ts and ImproveComments.ts
This commit refactors the code in Llama.ts and ImproveComments.ts to improve comments and handle bad operations. In Llama.ts, a new import statement for the BadOperationException class is added, and if the result object contains an error string, a BadOperationException is thrown. In ImproveComments.ts, an unused variable declaration is removed. These changes enhance code readability and error handling.
2024-06-28 19:25:53 +01:00
Simon Larsen
7bf58d23bc chore: Update CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts
Refactor CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts to use an array of messages instead of a single prompt. Each message in the array contains the content and role of the prompt. This change improves the flexibility and readability of the code.
2024-06-28 19:15:53 +01:00
Simon Larsen
afb0cbcc2a chore: Update Dockerfile and docker-compose.llm.yml for LLM models 2024-06-28 18:00:27 +00:00
Simon Larsen
7393d9c2bc chore: Update Dockerfile and docker-compose.llm.yml for LLM models
This commit updates the Dockerfile and docker-compose.llm.yml files to include the LLM Models directory. The Dockerfile now uses the `ADD .` command to copy the entire repository into the container at `/app`, and the docker-compose.llm.yml file has been modified to set the context to the `./LLM` directory. These changes ensure that the LLM Models directory is included in the Docker image and that the correct context is used for building the image.
2024-06-28 17:59:43 +00:00
Simon Larsen
7b8efb2785 Update Dockerfile to set stack trace limit to 0 2024-06-28 17:52:57 +01:00
Simon Larsen
efea6f4c11 chore: Add Redis service to docker-compose.llm.yml
The Redis service has been added to the docker-compose.llm.yml file. This service is responsible for caching and cluster state. It extends the configuration from the docker-compose.base.yml file and uses the "redis" service defined there.
2024-06-28 17:42:43 +01:00
Simon Larsen
8dbf724f36 chore: Update Dockerfile in llm-docker-image-deploy workflow to use the correct volume mount path 2024-06-28 17:37:47 +01:00
Simon Larsen
fa4c705023 chore: Update Dockerfile in reliability-copilot.yml to use the correct volume mount path 2024-06-28 15:10:19 +01:00
Simon Larsen
106e41206e Update nav menu styling and product menu layout 2024-06-28 14:55:58 +01:00
Simon Larsen
dc0c71b063 Remove unused GitHub workflow files for Dependabot Automerge and Playwright Tests. These files are no longer needed and can be safely deleted.
Update the Dockerfile in the Copilot directory to use the correct volume mount path. This ensures that the Copilot tool can access the repository files correctly when running in a Docker container.
2024-06-28 14:47:27 +01:00
Simon Larsen
0cadb54117 chore: Update AI Copilot references to "Reliability Copilot" 2024-06-28 14:20:56 +01:00
Simon Larsen
0ba315342c Update product tabs and features table content 2024-06-28 14:08:49 +01:00
Simon Larsen
d87b292691 chore: Update Hugging Face clone URL in test-release.yaml
Fix a typo in the Hugging Face clone URL in the test-release.yaml file, which was causing the cloning process to fail. The "@" symbol was missing in the URL. This commit adds the missing "@" symbol to the URL.
2024-06-28 13:53:26 +01:00
Simon Larsen
ea3abf2ca0 chore: Update Banner component to handle optional link and openInNewTab props
The Banner component has been updated to handle optional link and openInNewTab props. If a link is provided, it will be wrapped in a Link component. If no link is provided, the content will be rendered directly. This change allows for more flexibility in using the Banner component.
2024-06-28 13:16:58 +01:00
Simon Larsen
3e507c0259 chore: Update Hugging Face clone URL in test-release.yaml
Fix a typo in the Hugging Face clone URL in the test-release.yaml file, which was causing the cloning process to fail. The "@" symbol was missing in the URL. This commit adds the missing "@" symbol to the URL.
2024-06-28 13:09:54 +01:00
Simon Larsen
5385c8e65c chore: Update AI Copilot references to "Reliability Copilot" 2024-06-28 13:05:35 +01:00
Simon Larsen
771ad54110 chore: Update reliability feature name to "Reliability Copilot" 2024-06-28 13:03:31 +01:00
Simon Larsen
6743193872 chore: Update LLM Dockerfile and build process 2024-06-28 12:18:01 +01:00
Simon Larsen
b94d862cae chore: Update LLM Dockerfile and build process 2024-06-28 12:14:49 +01:00
Simon Larsen
77d9b2f98f chore: Fix typo in Hugging Face clone URL
The Hugging Face clone URL in the test-release.yaml file had a missing "@" symbol, causing the cloning process to fail. This commit fixes the typo by adding the "@" symbol to the URL.

```
2024-06-28 12:00:10 +01:00
Simon Larsen
2565087dba Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-28 11:59:16 +01:00
Simon Larsen
5f330b5ea6 chore: Update Dockerfile and build process for LLM deployment
This commit updates the Dockerfile and build process for deploying the LLM (Llama Models) service. The Dockerfile has been generated from the Dockerfile.tpl file, and the build process now includes pulling the model from Hugging Face and setting up QEMU and Docker Buildx. Additionally, the login actions for Docker Hub and GitHub Container Registry have been added, and the build and push steps have been configured to use the updated tags and labels from the metadata action.

```
2024-06-28 11:59:13 +01:00
Simon Larsen
c5f6816d7b chore: Update Llama Models directory name to LLM 2024-06-28 11:53:09 +01:00
Simon Larsen
585b98c83d Merge pull request #1530 from OneUptime/copilot
Copilot
2024-06-28 11:35:03 +01:00
Simon Larsen
40635d5b07 Merge pull request #1531 from OneUptime/snyk-upgrade-7358ffa5d00ca86f76a1a45e96b3c33d
[Snyk] Upgrade posthog-js from 1.136.7 to 1.138.0
2024-06-28 11:34:55 +01:00
Simon Larsen
fd96f7a1ec Merge pull request #1533 from OneUptime/snyk-upgrade-28d9d373998545ed12a47fad19fc0238
[Snyk] Upgrade @opentelemetry/resources from 1.24.1 to 1.25.0
2024-06-28 11:34:47 +01:00
Simon Larsen
f585ffe756 chore: Update npm scripts for LLM deployment
The npm scripts for starting, building, and force-building the LLM (Llama Models) service have been updated in the package.json file. The new scripts use the docker-compose.llm.yml file instead of the docker-compose.ai.yml file. This change ensures that the correct configuration is used for deploying the LLM service.
2024-06-28 11:33:48 +01:00
Simon Larsen
9a86978c9d chore: Update Llama Models directory name to LLM
The directory name for Llama Models has been updated from "Llama/Models" to "LLM/Models". This change ensures consistency and aligns with the updated file paths in the codebase.
2024-06-28 11:32:44 +01:00
Simon Larsen
3bf87cf9eb Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-28 10:51:48 +01:00
Simon Larsen
b7b5288f9c ```text
chore: Set oneuptimeSecret and encryptionSecret to long random strings

The `oneuptimeSecret` and `encryptionSecret` values in the `values.yaml` file have been updated to be set to long random strings. This change ensures better security for OneUptime in production environments.
2024-06-28 10:51:45 +01:00
snyk-bot
2833dbb474 fix: upgrade @opentelemetry/resources from 1.24.1 to 1.25.0
Snyk has created this PR to upgrade @opentelemetry/resources from 1.24.1 to 1.25.0.

See this package in npm:
@opentelemetry/resources

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-06-28 06:07:03 +00:00
snyk-bot
2a6dda5fe2 fix: upgrade posthog-js from 1.136.7 to 1.138.0
Snyk has created this PR to upgrade posthog-js from 1.136.7 to 1.138.0.

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-06-28 05:58:30 +00:00
Simon Larsen
e9e5b5a329 chore: Add error handling for item processing
This commit adds error handling for item processing in the `job` function of `app.py`. When an error occurs while processing an item, the error is stored in the `errors` dictionary. This ensures that errors are captured and can be handled appropriately. The `queue-status` endpoint now includes the `errors` dictionary in the response, providing visibility into any processing errors that occurred.
2024-06-27 20:23:24 +00:00
Simon Larsen
c0e055343e chore: Remove unused import of json in app.py 2024-06-27 20:19:56 +00:00
Simon Larsen
c657397d3b chore: Convert messages from JSON string to list in create_item endpoint 2024-06-27 20:19:44 +00:00
Simon Larsen
91cf4995b1 chore: Convert messages from JSON string to list in create_item endpoint 2024-06-27 20:11:57 +00:00
Simon Larsen
7b7c1e5951 chore: Convert messages from JSON string to list in create_item endpoint 2024-06-27 18:37:02 +00:00
Simon Larsen
b67583f8d3 refactor: Update Llama.ts to fix API route for prompt result 2024-06-27 19:16:49 +01:00
Simon Larsen
460b8459d4 chore: Update Llama Readme with GPU usage instructions 2024-06-27 17:51:46 +00:00
Simon Larsen
8328ece011 chore: Update docker-compose command in test.e2e.yaml 2024-06-27 17:48:41 +00:00
Simon Larsen
6f4045ffe9 refactor: Update SubscriptionPlan method name to getPlanType 2024-06-27 18:00:08 +01:00
Simon Larsen
54ce2c71c0 chore: Update docker-compose command in test.e2e.yaml 2024-06-27 16:27:59 +00:00
Simon Larsen
0a00cd9581 refactor: Update SubscriptionPlan method name to getPlanType 2024-06-27 16:00:21 +01:00
Simon Larsen
162c5d9db9 add queue to process responses 2024-06-27 14:56:22 +00:00
Simon Larsen
8be8c23ed9 refactor: Refactor code into smaller functions/methods 2024-06-27 15:48:52 +01:00
Simon Larsen
f2b6fffb4c chore: Add error handling for item processing
This commit adds error handling for item processing in the `job` function of `app.py`. When an error occurs while processing an item, the error is stored in the `errors` dictionary. This ensures that errors are captured and can be handled appropriately. The `queue-status` endpoint now includes the `errors` dictionary in the response, providing visibility into any processing errors that occurred.
2024-06-27 13:57:05 +00:00
Simon Larsen
626312d495 refactor: Refactor code into smaller functions/methods 2024-06-27 14:33:25 +01:00
Simon Larsen
77287868c4 refactor: Improve variable names in codebase 2024-06-27 14:15:18 +01:00
Simon Larsen
f7d221900a chore: Add error handling to ServerMonitor:CheckOnlineStatus 2024-06-27 13:40:07 +01:00
Simon Larsen
d51a420532 chore: Update docker-compose command in test.e2e.yaml
The `docker-compose` command in the `test.e2e.yaml` file has been updated to use `docker compose` instead. This change ensures compatibility with the latest version of Docker and improves the consistency of command usage across the project.
2024-06-27 13:18:57 +01:00
Simon Larsen
0567f92ddd chore: Update docker-compose command in test.e2e.yaml
The `docker-compose` command in the `test.e2e.yaml` file has been updated to use `docker compose` instead. This change ensures compatibility with the latest version of Docker and improves the consistency of command usage across the project.
2024-06-27 13:10:25 +01:00
Simon Larsen
e88e29f9e5 refactor: Update install.sh to support Windows OS 2024-06-27 11:58:14 +01:00
Simon Larsen
e50f6e14f0 chore: Update Server Monitor documentation for Linux/Mac and Windows
The Server Monitor documentation in the `Documentation.tsx` file has been updated to provide separate instructions for setting up the monitor on Linux/Mac and Windows. The title of the Linux/Mac section has been modified to reflect this change. Additionally, the Windows section has been added with detailed steps for downloading, configuring, starting, and stopping the agent. This update improves the clarity and usability of the Server Monitor documentation.
2024-06-27 11:57:35 +01:00
Simon Larsen
933b3e96a1 chore: Update pricing page with new features and descriptions 2024-06-27 11:36:53 +01:00
Simon Larsen
00b67974ed chore: Update pricing page with new headline
The pricing page has been updated to replace the previous headline with a new one that better highlights the value proposition of OneUptime. The new headline emphasizes that OneUptime is a comprehensive platform that combines 8+ tools into one, providing users with a complete SRE toolchain. This change improves the clarity and effectiveness of the messaging on the pricing page.
2024-06-27 11:18:06 +01:00
Simon Larsen
a05a7d9122 chore: Fix typos in code comments and UI text 2024-06-27 11:17:26 +01:00
Simon Larsen
fdf440f308 chore: Update HomeFeatureSet in Index.ts
The `HomeFeatureSet` object in `Index.ts` has been updated to modify the values for the `Public Status Page` and `Subscribers` features. The `free` plan for `Public Status Page` has been changed from "Unlimited" to "1", and the `free` plan for `Subscribers` has been changed from "Unlimited" to "100". Additionally, a new feature called `Synthetic Monitoring (with Playwright)` has been added to the `HomeFeatureSet` object.
2024-06-27 11:16:40 +01:00
Simon Larsen
34c6a32c48 refactor: Update install.sh to support Windows OS 2024-06-27 10:50:32 +01:00
Simon Larsen
0b078226f3 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-27 10:29:38 +01:00
Simon Larsen
e0a5927bd1 refactor: Improve CopilotActionService file handling
This commit refactors the `CopilotActionService` class in the `Index.ts` file to improve file handling. It updates the logic for obtaining the result from the Copilot action and committing the changes to the repository. Additionally, it removes unused code and improves the readability of the file. This refactoring enhances the overall efficiency and maintainability of the `CopilotActionService` class.
2024-06-27 10:29:35 +01:00
Simon Larsen
bed1f0dbb5 Merge pull request #1528 from OneUptime/snyk-upgrade-81e090968d72376d6229e5d49596cc79
[Snyk] Upgrade @opentelemetry/semantic-conventions from 1.24.1 to 1.25.0
2024-06-27 10:29:18 +01:00
Simon Larsen
4fef8ccfb5 Merge pull request #1526 from OneUptime/snyk-upgrade-274375204ccf65ed6f3d939f4cd74fda
[Snyk] Upgrade @opentelemetry/context-zone from 1.24.1 to 1.25.0
2024-06-27 10:29:07 +01:00
Simon Larsen
bb29b4be4b Merge pull request #1524 from OneUptime/snyk-upgrade-579a7cc9445a00c813ed17b2ba523e50
[Snyk] Upgrade posthog-js from 1.136.2 to 1.136.7
2024-06-27 10:29:00 +01:00
snyk-bot
e649a6f25a fix: upgrade @opentelemetry/exporter-trace-otlp-http from 0.51.1 to 0.52.0
Snyk has created this PR to upgrade @opentelemetry/exporter-trace-otlp-http from 0.51.1 to 0.52.0.

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

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-06-27 06:02:00 +00:00
snyk-bot
078d89d8ae fix: upgrade @opentelemetry/semantic-conventions from 1.24.1 to 1.25.0
Snyk has created this PR to upgrade @opentelemetry/semantic-conventions from 1.24.1 to 1.25.0.

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

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-06-27 06:01:55 +00:00
snyk-bot
a13c172d6d fix: upgrade @opentelemetry/api from 1.8.0 to 1.9.0
Snyk has created this PR to upgrade @opentelemetry/api from 1.8.0 to 1.9.0.

See this package in npm:
@opentelemetry/api

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-06-27 06:01:50 +00:00
snyk-bot
6b4727bc9f fix: upgrade @opentelemetry/context-zone from 1.24.1 to 1.25.0
Snyk has created this PR to upgrade @opentelemetry/context-zone from 1.24.1 to 1.25.0.

See this package in npm:
@opentelemetry/context-zone

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-06-27 06:01:45 +00:00
Simon Larsen
95aaa68010 refactor: Update install.sh to support Windows OS 2024-06-26 22:05:09 +01:00
Simon Larsen
976686b5af refactor: Update install.sh to support Windows OS
The `install.sh` script has been updated to support the Windows operating system. This includes changes to the URL construction and the addition of logic to handle downloading and unzipping the binary for Windows. This enhancement improves the installation process for Windows users.
2024-06-26 22:02:12 +01:00
Simon Larsen
f59064108e refactor: Add isActionComplete method to CopilotActionsBase.ts
This commit adds a new method, `isActionComplete`, to the `CopilotActionsBase.ts` file. The method returns a boolean value indicating whether the action is complete. By default, the method returns `true`, but it can be overridden in derived classes to provide custom logic for determining the action's completion status. This enhancement improves the flexibility and extensibility of the `CopilotActionsBase` class.
2024-06-26 21:47:20 +01:00
Simon Larsen
44d8254e7d refactor: Remove unused getNextFilePath method in CopilotActionsBase.ts 2024-06-26 21:43:13 +01:00
Simon Larsen
d284a6ff54 refactor: Remove unused getNextFilePath method in CopilotActionsBase.ts 2024-06-26 21:40:39 +01:00
Simon Larsen
1908f02447 refactor: Extract code from CopilotActionBase to separate functions 2024-06-26 21:40:07 +01:00
Simon Larsen
f50e20d896 refactor: Extract code from CopilotActionBase to separate functions 2024-06-26 20:55:14 +01:00
Simon Larsen
bd8ed04e1b refactor: Extract code from CopilotActionBase to separate functions
This commit extracts code from the `CopilotActionBase.ts` file into separate functions for better code organization and readability. The extracted code includes the logic for ordering SSL certificates, checking the order status, and handling domain removal. This refactoring improves the maintainability and modularity of the codebase.
2024-06-26 19:33:01 +01:00
Simon Larsen
27c54221cb feat: Mark domain as not ordered and update SSL status
This commit updates the `StatusPageDomainService.ts` file to mark a domain as not ordered and update the SSL status when it is removed. The `notifyDomainRemoved` function now includes logic to update the `isSslOrdered` and `isSslProvisioned` properties to `false` for the specified domain. This ensures that the SSL certificate is not ordered or provisioned for the removed domain.
2024-06-26 14:42:17 +01:00
Simon Larsen
cf589ba0c6 refactor: Remove invalid domain and notify removal
The code changes in GreenlockUtil.ts remove the domain if the CNAME is not valid and notify the removal. This ensures that only valid domains are processed for ordering SSL certificates.
2024-06-26 14:38:26 +01:00
Simon Larsen
43eaff3a6d feat: Add logic to order SSL certificate for valid domains
The code changes in `StatusPageDomainService.ts` add logic to order an SSL certificate for valid domains. If the CNAME is valid, the code attempts to order the certificate using the `orderCert` function. This ensures that all valid domains have the necessary SSL protection.
2024-06-26 14:31:08 +01:00
Simon Larsen
30e96de2d9 refactor: Check order status for SSL certificates
This commit adds a new cron job in the `StatusPageCerts.ts` file to check the order status of SSL certificates for domains that have already ordered them. If a certificate does not exist for a domain, the code will attempt to order the certificate again. This ensures that all domains with ordered certificates have the necessary SSL protection.
2024-06-26 14:25:35 +01:00
Simon Larsen
43c4f44f1f refactor: Check order status for SSL certificates
This commit adds a new cron job in the `StatusPageCerts.ts` file to check the order status of SSL certificates for domains that have already ordered them. If a certificate does not exist for a domain, the code will attempt to order the certificate again. This ensures that all domains with ordered certificates have the necessary SSL protection.
2024-06-26 14:24:49 +01:00
Simon Larsen
af6f5af11d Update phone number placeholders in registration and subscription forms 2024-06-26 12:36:27 +01:00
snyk-bot
79603c9bb4 fix: upgrade posthog-js from 1.136.2 to 1.136.7
Snyk has created this PR to upgrade posthog-js from 1.136.2 to 1.136.7.

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-06-26 05:31:20 +00:00
Simon Larsen
e2074b010e refactor: Add notification webhook on user creation
This commit adds a notification webhook on user creation in the UserService. When a new user is created, a Slack message is sent to the specified webhook URL with details about the user's email, name, phone number, and company name. This feature enhances the user onboarding process and allows for better tracking and communication with new users.
2024-06-25 22:48:46 +01:00
Simon Larsen
2187edc158 refactor: Update Select.ts and Project.ts for better code organization and readability 2024-06-25 22:16:08 +01:00
Simon Larsen
a9778cf9d0 refactor: Update Copilot README.md file
This commit adds a blank line at the end of the Copilot README.md file. This change ensures consistency in the file structure and improves readability.
2024-06-25 12:09:25 +01:00
Simon Larsen
c450c3fa1b ```text
refactor: Update server_name in Nginx configuration

This commit updates the server_name directive in the Nginx configuration file to remove the ${HOST}:${ONEUPTIME_HTTP_PORT} variable and use just ${HOST}. This change ensures that the server_name is set correctly for all domains.
2024-06-24 21:43:24 +01:00
Simon Larsen
3aaed9c901 refactor: Update OneUptime port in nginx.yaml
This commit updates the ONEUPTIME_HTTP_PORT value in the nginx.yaml file to use the port specified in the $.Values.port.nginxHttp variable. This change ensures that OneUptime is hosted on the correct port.
2024-06-24 19:59:36 +01:00
Simon Larsen
70a9944f6a refactor: Update Nginx configuration to enable HTTP/2
This commit updates the Nginx configuration file to enable HTTP/2 by removing the `http2` directive from the `listen` directive and adding a separate `http2` directive. This change ensures that the server supports the latest HTTP/2 protocol, improving performance and security.
2024-06-24 19:56:45 +01:00
Simon Larsen
ad48aae0ba ```text
refactor: Update OneUptime port in config.example.env

This commit updates the ONEUPTIME_HTTP_PORT value in the config.example.env file to 80. This change ensures that OneUptime is hosted on the correct port.
2024-06-24 19:47:15 +01:00
Simon Larsen
14f9950c38 Update container port names for status page in nginx.yaml 2024-06-24 19:45:01 +01:00
Simon Larsen
4acedfdd62 Update nginx.yaml and values.yaml for hosting OneUptime and status page on different ports 2024-06-24 19:42:46 +01:00
Simon Larsen
deff7c9464 refactor: Add missing comma in SchemaMigrations/Index.ts 2024-06-24 19:19:52 +01:00
Simon Larsen
b407286ef0 refactor: Add migration for new schema version 2024-06-24 19:18:26 +01:00
Simon Larsen
9348076df0 refactor: Improve error handling in CheckHeartbeat.ts
This commit improves the error handling in the CheckHeartbeat.ts file. It adds a try-catch block around the main logic to catch any errors that occur during the processing of incoming request monitors. Additionally, it logs the error message and the ID of the monitor that caused the error. This change enhances the robustness and reliability of the code by properly handling and logging errors.
2024-06-24 18:50:59 +01:00
Simon Larsen
09a7e155b7 refactor: Update Project.ts to use number type for enterpriseAnnualContractValue column
The code changes in Project.ts modify the type of the enterpriseAnnualContractValue column from ShortText to Number. This change ensures that the column stores numeric values instead of text, improving data integrity and query performance.
2024-06-24 17:45:36 +01:00
Simon Larsen
127cc6b9b1 refactor: Add logging statements for IncomingRequestMonitor
This commit adds logging statements to the IncomingRequestMonitor module to improve debugging and monitoring. The added log messages provide information about the number of incoming request monitors found and whether a monitor should process a request. This change enhances the visibility and understanding of the monitoring process.
2024-06-24 17:31:42 +01:00
Simon Larsen
ea5474527c refactor: Update CompareCriteria message formatting
This commit refactors the CompareCriteria class to update the message formatting for different filter types. The previous implementation included the word "threshold" in the message, which is unnecessary and can be confusing. The updated message now clearly states whether the value is greater than, greater than or equal to, less than, less than or equal to, or not equal to the threshold value. This change improves the clarity and readability of the message generated by the CompareCriteria class.
2024-06-24 14:28:05 +01:00
Simon Larsen
9111b831a7 chore: Update docker-compose.dev.yml command in test.e2e.yaml 2024-06-24 13:29:34 +01:00
Simon Larsen
dcabdd0a55 refactor: Remove unused CopilotEvent table
This commit removes the unused CopilotEvent table from the database schema. The table is no longer needed and has been dropped to improve database performance and reduce clutter.
2024-06-24 12:52:57 +01:00
Simon Larsen
058b585eda refactor: Add migration for new schema version
This commit adds a new migration file for the latest schema version. The migration file is named "1719228104620-MigrationName". This ensures that the database schema is up to date with the latest changes.
2024-06-24 12:23:15 +01:00
Simon Larsen
25da20a968 refactor: Add migration for enterprise annual contract value column 2024-06-24 12:16:01 +01:00
Simon Larsen
4f4d9946ff Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-23 21:37:38 +01:00
Simon Larsen
0987634e54 refactor: Fix formatting and add comments in ArrayUtil.ts and CopilotActionProcessingException.ts 2024-06-23 21:37:36 +01:00
Simon Larsen
c099f3a3ef refactor: Improve error handling in app.py
The error handling in app.py has been improved to catch and handle exceptions that occur during the processing of items in the queue. This change ensures that errors are properly logged and that the affected items are removed from the pending items list.
2024-06-23 20:31:43 +00:00
Simon Larsen
a3f5e268b5 refactor: Shuffle files in Copilot Init to avoid fixing the same file in each run 2024-06-23 21:29:23 +01:00
Simon Larsen
2599841d37 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-23 21:04:49 +01:00
Simon Larsen
6c8a0c8cdc refactor: Improve file extension handling in LocalFile.ts 2024-06-23 21:04:46 +01:00
Simon Larsen
0d24bb6351 Merge pull request #1504 from OneUptime/snyk-upgrade-48794e3e1c0fd38df637134c9642af47
[Snyk] Upgrade posthog-js from 1.136.1 to 1.136.2
2024-06-23 21:01:01 +01:00
Simon Larsen
a4c5354152 refactor: Improve comments in ImproveComments.ts 2024-06-23 20:58:21 +01:00
Simon Larsen
a906713f6e Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-23 19:41:26 +01:00
Simon Larsen
e85e351797 refactor: Remove unnecessary blank lines in ServiceLanguageUtil class 2024-06-23 19:41:24 +01:00
Simon Larsen
3f9c1fd46e Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-23 18:40:56 +00:00
Simon Larsen
6c3edbfcb0 ```text
refactor: Update app.py to use asyncio.create_task for job function

The job function in app.py has been updated to use the asyncio.create_task method instead of directly calling the job function. This change improves the efficiency and performance of the code by allowing the job function to run concurrently with other tasks.
2024-06-23 18:40:38 +00:00
Simon Larsen
d3f212c9ec Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-23 19:35:07 +01:00
Simon Larsen
1964db22f1 refactor: Add support for Markdown file extension in ServiceLanguage enum 2024-06-23 19:35:04 +01:00
Simon Larsen
b6a70bbd6c refactor: Convert job function to async in app.py 2024-06-23 18:23:15 +00:00
Simon Larsen
f36609712b refactor: Add print statements to debug message processing in app.py 2024-06-23 18:13:39 +00:00
Simon Larsen
6737d97f30 refactor: Improve comments in ImproveComments.ts 2024-06-23 18:00:44 +01:00
Simon Larsen
d22b40e91a refactor: Improve comments in ImproveComments.ts 2024-06-23 18:00:16 +01:00
Simon Larsen
e2e4db5073 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-22 19:40:21 +01:00
Simon Larsen
2415f97ec6 refactor: Add NotAcceptedFileExtentionForCopilotAction exception handling 2024-06-22 19:40:18 +01:00
Simon Larsen
0910c9f6f6 Merge branch 'ai-copilot-main' 2024-06-22 12:43:42 +00:00
Simon Larsen
1a02f5b73e refactor: Update queue_status endpoint response key name
The key name in the response of the queue_status endpoint has been updated from "prnding" to "pending" to fix a typo. This change ensures consistency and improves the readability of the returned data.
2024-06-22 12:43:04 +00:00
Simon Larsen
b6cabf12d5 refactor: Update CopilotActionsBase to include PR generation message
This commit updates the `CopilotActionsBase.ts` file to include a message about PR generation in the warning section. The message informs users that the PR is generated by OneUptime Copilot and advises them to review the changes before merging. This enhancement improves the clarity and transparency of the generated PRs.
2024-06-22 13:36:52 +01:00
Simon Larsen
27ef73be20 refactor: Execute CopilotAction and update currentFixCount
This commit modifies the `Copilot/Init.ts` file to execute the `CopilotActionService.execute` method for each event that needs fixing. It also updates the `currentFixCount` variable to keep track of the number of fixes performed. This refactor improves the functionality of the Copilot service by ensuring that all necessary actions are executed and the fix count is accurately maintained.
2024-06-22 13:34:54 +01:00
Simon Larsen
00b35c4d9a refactor: Convert job function to async in app.py
The job function in app.py has been converted to an async function to support asynchronous processing. This change improves the performance and responsiveness of the application by allowing other tasks to run concurrently while the job function is processing the queue.
2024-06-22 12:31:53 +00:00
Simon Larsen
369bdfc841 ```text
refactor: Add FixGrammarAndSpelling action to CopilotActionType and CopilotActions

This commit adds the `FixGrammarAndSpelling` action to the `CopilotActionType` enum and the `CopilotActions` dictionary. The action is now available for execution in the Copilot service. This enhancement improves the codebase by providing a new action that can be used to fix grammar and spelling errors in the application.
2024-06-22 12:50:54 +01:00
Simon Larsen
8150f44244 refactor: Improve comments in ImproveComments.ts 2024-06-22 12:42:34 +01:00
Simon Larsen
6a646c06b3 refactor: Remove unused CopilotActionType enum value
This commit removes the unused `CopilotActionType` enum value from the `CopilotActionType.ts` file. The value was commented out and had no impact on the functionality of the application. Removing it helps to improve code clarity and maintainability.
2024-06-22 12:38:27 +01:00
Simon Larsen
422656caf3 refactor: Remove unused PromptsUtil class
This commit removes the unused `PromptsUtil` class from the codebase. The class was no longer being used and had no impact on the functionality of the application. Removing it helps to reduce code complexity and improve maintainability.
2024-06-22 12:35:38 +01:00
Simon Larsen
5223d1bd6d refactor: Improve comments in CopilotActionType and CopilotActionsBase
The code changes in this commit refactor the comments in the `CopilotActionType` and `CopilotActionsBase` files. The comments have been improved to provide clearer instructions and guidelines for code commenting. This enhancement ensures that the codebase is well-documented and easier to understand for future developers.
2024-06-22 12:35:12 +01:00
Simon Larsen
42f0b90291 refactor: Update SendStatusChangeNotification to convert rootCause to HTML
This commit updates the SendStatusChangeNotification module to convert the rootCause property to HTML using the Markdown.convertToHTML function. This ensures that the rootCause is properly formatted for display in email notifications. The conversion is only performed if the rootCause is not empty. This improvement enhances the readability and presentation of the status change notifications.
2024-06-22 12:26:03 +01:00
Simon Larsen
3d4f28fc0f refactor: Simplify CodeRepositoryUtil.pullChanges method signature 2024-06-22 11:33:52 +01:00
snyk-bot
e74c6a7030 fix: upgrade posthog-js from 1.136.1 to 1.136.2
Snyk has created this PR to upgrade posthog-js from 1.136.1 to 1.136.2.

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-06-21 19:17:11 +00:00
Simon Larsen
6be976102c refactor: Remove commented out code and unused imports 2024-06-21 18:53:11 +01:00
Simon Larsen
261072b1fd refactor: Update logging statements in CopilotActionService 2024-06-21 18:35:22 +01:00
Simon Larsen
e7659bdf08 chore: Switch to main branch before executing CopilotAction 2024-06-21 18:06:06 +01:00
Simon Larsen
2a8c45cea0 refactor: Improve page load performance with lazy loading for images 2024-06-21 18:04:09 +01:00
Simon Larsen
b197416247 Update OneUptime installation documentation and Docker Compose file
This commit updates the OneUptime installation documentation and Docker Compose file to provide clearer instructions for setting up and updating OneUptime. It includes steps for accessing OneUptime, setting up TLS/SSL certificates, and updating OneUptime using Git. The changes ensure that users have the necessary information to install and maintain OneUptime effectively.
2024-06-21 17:41:34 +01:00
Simon Larsen
fe0e745640 refactor: Update TLS/SSL certificate setup instructions 2024-06-21 17:39:05 +01:00
Simon Larsen
28ea4d9b83 refactor: Update TLS/SSL certificate setup instructions
This commit updates the installation documentation and example configuration file to provide clear instructions on setting up TLS/SSL certificates for OneUptime. It emphasizes that OneUptime does not support setting up SSL/TLS certificates and provides steps for using a reverse proxy like Nginx or Caddy, along with Let's Encrypt, to provision the certificates. It also includes instructions for updating the necessary settings in the configuration file. This improvement ensures that users have the necessary information to secure their OneUptime installation with SSL/TLS certificates.
2024-06-21 17:38:30 +01:00
Simon Larsen
3d7cb148d0 refactor: Update MonitorTable to use MonitorElement for rendering monitor names
This commit updates the MonitorTable component to use the MonitorElement component for rendering monitor names in the table. The MonitorElement component takes a Monitor object as a prop and renders the monitor name as a link. This change improves the modularity and reusability of the code by separating the rendering logic into a separate component.
2024-06-21 17:21:20 +01:00
Simon Larsen
0d0760e450 refactor: Update ServerMonitorCriteria to handle evaluateOverTime options
This commit updates the ServerMonitorCriteria class to handle the evaluateOverTime options in the criteria filter. If the evaluateOverTime flag is set to true and evaluateOverTimeOptions are provided, the offlineIfNotCheckedInMinutes value is updated accordingly. This enhancement improves the flexibility and customization of the ServerMonitorCriteria class.
2024-06-21 16:42:51 +01:00
Simon Larsen
a6f66a59bf refactor: Update sleep duration to 10 minutes for server startup 2024-06-21 16:11:16 +01:00
Simon Larsen
f09419ef50 refactor: Update failureCause message in PingMonitor.ts 2024-06-21 13:59:45 +01:00
Simon Larsen
4c90dc66a0 refactor: Update SendCreatedResourceNotification to convert rootCause to HTML 2024-06-21 13:56:23 +01:00
Simon Larsen
99c2e34ab5 refactor: Add support for IsOnline check in CriteriaFilterUtil 2024-06-21 13:43:29 +01:00
Simon Larsen
0fb0e9b047 refactor: Update SendCreatedResourceNotification to convert rootCause to HTML
This commit updates the SendCreatedResourceNotification class to convert the rootCause property to HTML using the Markdown.convertToHTML function. This ensures that the rootCause is properly formatted and displayed in the incident notification email. The rootCause is either the incident's rootCause or a default message if no rootCause is identified. This enhancement improves the readability and effectiveness of the incident notifications.
2024-06-21 13:34:00 +01:00
Simon Larsen
7ae6a3c5ea refactor: Update ProbeMonitorResponseService to include criteria details in rootCause
This commit updates the ProbeMonitorResponseService class to include the criteria details in the rootCause property of the ProbeApiIngestResponse. The criteria met ID, criteria name, criteria description, filter conditions met, and failure cause are now included in the rootCause. This enhancement improves the clarity and completeness of the rootCause information.
2024-06-21 13:08:05 +01:00
Simon Larsen
59f0526936 refactor: Update EvaluateOverTime method to handle boolean values for IsOnline metric
The EvaluateOverTime method in the EvaluateOverTime.ts file has been updated to handle boolean values for the IsOnline metric. This change allows the method to correctly evaluate and process the IsOnline metric data, improving the accuracy and reliability of the evaluation process.
2024-06-21 12:57:50 +01:00
Simon Larsen
bfcd5c1753 refactor: Improve clarity of CompareCriteria message generation
The CompareCriteria class has been refactored to improve the clarity of message generation. The code now checks the filter type before appending the values to the message, ensuring that the message is only generated when necessary. This change enhances the readability and maintainability of the code.
2024-06-21 12:31:43 +01:00
Simon Larsen
76df1a5889 refactor: Fix CriteriaFilterUtil to handle IsOnline check correctly
The CriteriaFilterUtil class has been updated to handle the IsOnline check correctly. The getEvaluateOverTimeTypeByCriteriaFilter method now includes the IsOnline check in the returned array of EvaluateOverTimeType values. This fix ensures that the CriteriaFilterUtil class functions properly and provides accurate results for the IsOnline check.
2024-06-21 12:24:06 +01:00
Simon Larsen
422ee6c192 refactor: Add support for IsOnline check in CriteriaFilterUtil
This commit adds support for the IsOnline check in the CriteriaFilterUtil class. The getEvaluateOverTimeTypeByCriteriaFilter method now includes the IsOnline check in the returned array of EvaluateOverTimeType values. This enhancement improves the functionality and flexibility of the CriteriaFilterUtil class.
2024-06-21 11:58:21 +01:00
Simon Larsen
808b3512f3 refactor: Improve clarity of declaredBy field assignment in SendCreatedResourceNotification.ts
This commit refactors the code in SendCreatedResourceNotification.ts to improve the clarity of how the "declaredBy" field is assigned. The code now checks if the incident has a createdByProbe and createdByUser, and assigns the appropriate value to "declaredBy" based on the available information. This change enhances the readability and maintainability of the code.
2024-06-21 11:44:19 +01:00
Simon Larsen
742796fd67 feat: Add declaredBy field to IncidentOwnerResourceCreated template and SendCreatedResourceNotification job
This commit adds the "declaredBy" field to the IncidentOwnerResourceCreated template in the Notification feature set and the SendCreatedResourceNotification job in the Workers feature set. The "declaredBy" field is used to display the name of the user or probe who declared the incident. This enhancement improves the clarity and completeness of the incident notifications sent to incident owners.
2024-06-21 11:39:32 +01:00
Simon Larsen
9027369e10 refactor: Add suffix to ProbeElement in Probe.tsx
This commit adds a new optional prop "suffix" to the ProbeElement component in Probe.tsx. The suffix is appended to the probe name displayed in the UI. This enhancement provides more flexibility in customizing the display of probe names.
2024-06-21 11:24:13 +01:00
Simon Larsen
a87f3ac896 refactor: Fix branch name generation in CopilotActionsBase.ts
The branch name generation in CopilotActionsBase.ts has been fixed to replace double hyphens with a single hyphen. This ensures that the branch name is correctly formatted and avoids any potential issues with branch creation and management.
2024-06-21 10:59:34 +01:00
Simon Larsen
db75cc1a5b Merge pull request #1499 from OneUptime/ai-copilot-main
Ai copilot main
2024-06-21 10:41:28 +01:00
Simon Larsen
2deeb32b78 refactor: Fix branch name generation in CopilotActionsBase.ts
The branch name generation in CopilotActionsBase.ts has been fixed to replace double hyphens with a single hyphen. This ensures that the branch name is correctly formatted and avoids any potential issues with branch creation and management.
2024-06-20 22:31:58 +01:00
Simon Larsen
bc8b8eb982 refactor: Update LlmType import paths in Copilot/Config.ts, Copilot/Service/LLM/Llama.ts, and Copilot/Service/LLM/LLM.ts
This commit updates the import paths for the LlmType module in the following files:
- Copilot/Config.ts
- Copilot/Service/LLM/Llama.ts
- Copilot/Service/LLM/LLM.ts

The import paths are corrected to match the actual file structure, ensuring that the LlmType module is properly imported and used throughout the codebase. This change improves the maintainability and readability of the code.
2024-06-20 21:37:24 +01:00
Simon Larsen
ef3fe66e72 Merge pull request #1498 from jackveney/patch-1
Update endpoint-status.sh to follow redirects
2024-06-20 21:10:32 +01:00
Jack Veney
17a0b65a4b Update endpoint-status.sh
Included the -L option in the curl command, ensuring that it will follow any 301 redirects until the final URL is reached.
2024-06-20 15:24:27 -04:00
Simon Larsen
01a1a0f69e Merge pull request #1496 from OneUptime/snyk-upgrade-99d49c023062d95b651963a884a19da7
[Snyk] Upgrade posthog-js from 1.135.2 to 1.136.1
2024-06-20 17:30:18 +01:00
Simon Larsen
1260e482cf refactor: Improve comments in code and update job function in app.py 2024-06-20 13:14:39 +01:00
Simon Larsen
6e5081a4e3 refactor: Remove unused CopilotEvent and CopilotEventService 2024-06-20 12:30:06 +01:00
Simon Larsen
dd93998296 refactor: Remove unused CopilotEvent and CopilotEventService
This commit removes the unused CopilotEvent enum and CopilotEventService class. These files are no longer needed in the codebase and can be safely deleted. Removing unused code improves the maintainability and reduces the complexity of the project.
2024-06-20 11:41:04 +01:00
Simon Larsen
94956b045a refactor: Improve comments in code and update job function in app.py
This commit refactors the code by improving the comments in the code and updating the job function in app.py. The comments are now focused on code that is hard to understand, and unnecessary comments are removed. The job function is converted to an async function to support asynchronous processing, which improves the performance and responsiveness of the application. These changes enhance the readability and efficiency of the codebase.
2024-06-20 10:00:07 +00:00
Simon Larsen
b2f650a865 refactor: Sanitize file path in CodeRepositoryUtil.getFileContent()
The file path in the CodeRepositoryUtil.getFileContent() method is now sanitized using the LocalFile.sanitizeFilePath() function before executing the command. This change ensures that the file path is properly formatted and prevents any potential security vulnerabilities or errors caused by invalid file paths.
2024-06-20 10:26:16 +01:00
Simon Larsen
4390a37184 fix prompt 2024-06-20 09:22:53 +00:00
Simon Larsen
9b08d1a9e4 refactor: Convert job function to async in app.py
The job function in app.py has been converted to an async function to support asynchronous processing. This change improves the performance and responsiveness of the application by allowing other tasks to run concurrently while the job function is processing the queue.
2024-06-19 21:05:36 +00:00
Simon Larsen
dbef1071e0 refactor: Add GPU support to Llama app in docker-compose.ai.yml 2024-06-19 20:58:08 +00:00
Simon Larsen
98fbbe301e refactor: Update variable types in Copilot/Init.ts and Copilot/Utils/Prompts.ts 2024-06-19 21:03:54 +01:00
snyk-bot
6805083725 fix: upgrade posthog-js from 1.135.2 to 1.136.1
Snyk has created this PR to upgrade posthog-js from 1.135.2 to 1.136.1.

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-06-19 19:07:13 +00:00
Simon Larsen
27213fa235 refactor: Add FixNumberOfCodeEventsInEachRun constant to Config.ts
This commit adds the FixNumberOfCodeEventsInEachRun constant to the Config.ts file. The constant is set to 5 and is used to determine the number of code events to fix in each run. This change improves the flexibility and configurability of the code events handling in the application.
2024-06-19 16:29:25 +01:00
Simon Larsen
baa98e333e refactor: Update LlmType export in Config.ts and LlmType.ts 2024-06-19 15:36:24 +01:00
Simon Larsen
ccdcf2c679 refactor: Update Llama app to use local model path instead of model ID 2024-06-19 15:06:36 +01:00
Simon Larsen
85edd12c2d refactor: Update Dockerfile.tpl to use huggingface/transformers-pytorch-gpu image 2024-06-19 13:20:34 +00:00
Simon Larsen
97cc28b182 refactor: Update Dockerfile.tpl to use huggingface/transformers-pytorch-gpu image
This commit updates the Dockerfile.tpl to use the huggingface/transformers-pytorch-gpu image instead of the continuumio/anaconda3 image. This change allows the Llama app to utilize GPU resources for improved performance in AI processing. Additionally, the unnecessary installation of the transformers and accelerate libraries is removed as they are already included in the huggingface/transformers-pytorch-gpu image.
2024-06-19 13:06:23 +00:00
Simon Larsen
b0041e6993 refactor: Update Dockerfile.tpl to expose port 8547 instead of port 80 2024-06-19 12:18:25 +00:00
Simon Larsen
a66d78743d Merge pull request #1495 from im-alfa/bugfix/add-aero-as-a-valid-tld
fix: add `.aero` as a valid TLD
2024-06-19 12:48:38 +01:00
Simon Larsen
bc78491478 ```text
refactor: Add appname label to probe.yaml

This commit adds the "appname" label to the probe.yaml file in order to provide additional information about the application. This label will help with identifying the specific application when managing and monitoring the Kubernetes resources.
2024-06-19 11:14:33 +01:00
alfa
7751870ccf fix: add .aero as a valid TLD 2024-06-19 05:42:23 +02:00
Simon Larsen
df6ffb15d4 refactor: Add GPU support to Llama app in docker-compose.ai.yml
This commit adds GPU support to the Llama app in the docker-compose.ai.yml file. It includes a new deploy section with reservations for GPU devices, specifying the driver, count, and capabilities. This change enables the Llama app to utilize GPU resources for improved performance in AI processing.
2024-06-18 22:11:53 +01:00
Simon Larsen
df20f343e9 refactor: Update Llama app to log prompt and output to console
This commit updates the Llama app to log the prompt and output to the console for debugging purposes. It adds print statements to log the prompt before processing and the generated output after processing. This change improves the development workflow by providing visibility into the input and output of the AI model.
2024-06-18 22:08:42 +01:00
Simon Larsen
e4ade513ce feat: Add start-ai, build-ai, and force-build-ai scripts for AI services
This commit adds three new scripts, start-ai, build-ai, and force-build-ai, to the package.json file. These scripts are used to start, build, and force-build the AI services respectively. They are configured to export environment variables, run the prerun script, and execute the necessary docker compose commands with the specified configuration file. This addition enhances the development workflow by providing convenient commands for managing the AI services.
2024-06-18 21:49:00 +01:00
Simon Larsen
3c2af1dc38 refactor: Remove unused Llama service from docker-compose.dev.yml 2024-06-18 21:47:40 +01:00
Simon Larsen
af5d714642 refactor: Add generate-build-number job as dependency in infrastructure-agent-deploy workflow 2024-06-18 21:41:57 +01:00
Simon Larsen
3f315be279 refactor: Update Llama app to use local model path instead of model ID
This commit updates the Llama app to use a local model path instead of a model ID. The model path is set to "/app/Models/Meta-Llama-3-8B-Instruct". This change improves the reliability and performance of the app by directly referencing the model file instead of relying on an external model ID.
2024-06-18 21:41:29 +01:00
Simon Larsen
095493cec9 Merge branch 'release' into ai-copilot-main 2024-06-18 19:29:03 +01:00
Simon Larsen
3bdf87f34f refactor: Update github-release workflow to include generate-build-number job
This commit modifies the github-release workflow to include the generate-build-number job as a dependency. Previously, the workflow only depended on the test-e2e-release-saas and test-e2e-release-self-hosted jobs. By adding the generate-build-number job, we ensure that the necessary build number is generated before the github-release job is executed. This change improves the overall release process by providing accurate build information for the release.
2024-06-18 19:02:46 +01:00
Simon Larsen
26bb6f1e74 refactor: Update Dockerfile.tpl to expose port 8547 instead of port 80
This commit modifies the Dockerfile.tpl file to update the EXPOSE directive. The port number is changed from 80 to 8547 to align with the port used by the Llama application. This change ensures that the Llama application is accessible from outside the container on the correct port.
2024-06-18 18:42:11 +01:00
Simon Larsen
20db81a5f6 refactor: Update secrets.yaml to add keys for postgres, redis, and clickhouse
This commit modifies the secrets.yaml file to add keys for postgres, redis, and clickhouse. These keys are used to store sensitive information such as passwords for external services. By including these keys, we ensure that the necessary secrets are available for the application to connect to these services securely.
2024-06-18 13:59:49 +01:00
Simon Larsen
f9b097a112 refactor: Improve page load performance by lazy loading images
This commit updates the Register.spec.ts file to improve the page load performance by implementing lazy loading for images. It ensures that the dashboard page is up before signing up the user and reloads the page if it fails to load. These changes enhance the user experience by optimizing the loading time of the registration page.
2024-06-18 13:45:51 +01:00
Simon Larsen
b70b70e27e Merge remote-tracking branch 'origin/snyk-upgrade-e85a20baed82dca9b23b1e6d43058393' 2024-06-18 13:35:13 +01:00
Simon Larsen
93df459662 Merge pull request #1487 from OneUptime/snyk-upgrade-07f6caf2da548bfa468d50536046a7d4
[Snyk] Upgrade playwright from 1.44.0 to 1.44.1
2024-06-18 13:34:00 +01:00
Simon Larsen
1aceb81c85 Merge pull request #1490 from OneUptime/snyk-upgrade-3e8efba0b61bba9ccdff4fbf1899abe8
[Snyk] Upgrade posthog-js from 1.133.0 to 1.135.2
2024-06-18 13:33:53 +01:00
Simon Larsen
023aea94c2 Merge pull request #1491 from OneUptime/snyk-upgrade-172a12f064e961ffc3354f68f2eb7cb7
[Snyk] Upgrade @babel/runtime from 7.24.5 to 7.24.6
2024-06-18 13:33:46 +01:00
Simon Larsen
d8dff468ab refactor: Update Cookie.ts to accept string as key parameter
This commit modifies the Cookie.ts file to update the setItem method signature. The key parameter now accepts both CookieName and string types, allowing for more flexibility when setting cookies. This change improves the usability and versatility of the Cookie utility class.
2024-06-18 13:33:09 +01:00
Simon Larsen
082d800c34 refactor: Update ProbeMonitorResponseService to include remediation notes
This commit updates the ProbeMonitorResponseService class to include a check for the presence of remediation notes in the criteriaIncident object. If remediation notes are provided, they are assigned to the incident object. This change enhances the functionality of the ProbeMonitorResponseService by allowing the storage and retrieval of remediation notes for incidents.
2024-06-18 13:08:56 +01:00
Simon Larsen
e7f4c962b8 refactor: Update incident form to include remediation notes
This commit updates the incident form to include a field for remediation notes. This allows users to provide specific steps that should be taken to resolve the incident. By adding this feature, we enhance the incident management process and improve collaboration among team members.
2024-06-18 13:07:59 +01:00
Simon Larsen
f6074fe8f4 refactor: Update MonitorCriteriaIncident component to remove unused imports 2024-06-18 13:00:10 +01:00
Simon Larsen
b45678f167 refactor: Update MonitorCriteriaIncidentForm UI with incident description and remediation notes
This commit updates the MonitorCriteriaIncidentForm component to include fields for incident description and remediation notes. The incident description field now supports markdown formatting and has a placeholder text for when no description is entered. Similarly, the remediation notes field also supports markdown formatting and has a placeholder text for when no notes are entered. These changes enhance the user experience by providing a more comprehensive incident form.
2024-06-18 12:59:22 +01:00
Simon Larsen
6d53678135 refactor: Add new migration for SchemaMigrations and update MonitorCriteriaIncidentForm UI 2024-06-18 12:56:12 +01:00
Simon Larsen
7b77dd4a53 refactor: Add new migration for SchemaMigrations and update MonitorCriteriaIncidentForm UI
This commit adds a new migration file for the SchemaMigrations table, introducing a new migration named MigrationName1718711669847. This migration is imported in the Index.ts file of the SchemaMigrations directory. Additionally, the MonitorCriteriaIncidentForm component is updated to change the title of the "Show Advanced Fields" button to "Add Remediation Notes for an engineer to help resolve this incident." The button is also given a left margin of -3 pixels to adjust its positioning. These changes improve the database schema management and enhance the user experience in the incident form.
2024-06-18 12:55:52 +01:00
Simon Larsen
51bb54e771 refactor: Add placeholder text for name and email fields in user profile form 2024-06-18 12:51:17 +01:00
Simon Larsen
48b095f548 refactor: Update import statements for TimezoneUtil in multiple files 2024-06-18 12:44:54 +01:00
Simon Larsen
786ec6ce7a refactor: Update import statements for TimezoneUtil in multiple files 2024-06-18 11:35:04 +01:00
Simon Larsen
401fbb58e3 refactor: Update import statements for TimezoneUtil in multiple files 2024-06-18 10:38:45 +01:00
Simon Larsen
5243ae6b8d Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-18 10:05:03 +01:00
Simon Larsen
a06a0f1d16 refactor: Update import statements for TimezoneUtil in multiple files 2024-06-17 21:01:44 +01:00
Simon Larsen
e0bc906484 Merge pull request #1489 from hg13bs/patch-1
Remove duplicate "Swift" entry
2024-06-17 19:29:01 +01:00
Simon Larsen
139ff2d638 refactor: Add user timezone support to login and user profile
This commit adds support for user timezones in the login and user profile functionality. It updates the LoginUtil and User classes to include methods for setting and retrieving the user's timezone. Additionally, the UserTimezoneInit component in the Dashboard module is updated to display and allow the user to update their timezone. This change improves the user experience by providing accurate timezone information and allows for better handling of time-related functionality throughout the application.
2024-06-17 17:27:34 +01:00
Simon Larsen
7be603ef08 refactor: Update import statements for TimezoneUtil in multiple files 2024-06-17 17:22:00 +01:00
Simon Larsen
d23548f984 refactor: Update error message in OneUptimeDate class
This commit updates the error message in the `asDateForDatabaseQuery` method of the `OneUptimeDate` class. It now includes the `date.toString()` value to provide more information about the invalid date. This change improves error handling and debugging capabilities.
2024-06-17 17:09:17 +01:00
Simon Larsen
3573e59634 refactor: Update getCurrentTimezoneString method in Date.ts
This commit refactors the getCurrentTimezoneString method in the Date.ts file. It replaces the usage of moment.tz.guess() with this.getCurrentTimezone() to improve code readability and maintainability. Additionally, it adds a check to prepend "GMT" to the zone abbreviation if it starts with a "+" or "-" sign. This change ensures consistent formatting of the timezone string returned by the method.
2024-06-17 16:23:49 +01:00
Simon Larsen
c4e4e7e488 refactor: Update import statements for TimezoneUtil in Monitor.ts
This commit updates the import statements in the Monitor.ts file. It changes the import statement for the TimezoneUtil module to import from "Common/Types/Timezone" instead of the previous import path. This change ensures that the correct module is imported, improving the accuracy and reliability of the code.
2024-06-17 16:14:08 +01:00
Simon Larsen
be3e8447ab refactor: Add data-testid attributes to Toast component
This commit adds data-testid attributes to the Toast component in order to improve testability. The "toast" element, "toast-icon" element, "title" element, "description" element, and "close-button" element now have corresponding data-testid attributes. This change allows for more precise targeting of elements in automated tests, enhancing the reliability and accuracy of the test suite.
2024-06-17 16:07:04 +01:00
Simon Larsen
2615e39c19 refactor: Update import statements for TimezoneUtil in multiple files 2024-06-17 15:58:30 +01:00
Simon Larsen
49b6550581 refactor: Update import statements for TimezoneUtil in UserProfile/Index.tsx 2024-06-17 15:57:32 +01:00
Simon Larsen
e870efc3c4 refactor: Remove unused code and update import statements 2024-06-17 15:33:47 +01:00
Simon Larsen
38862adf5a refactor: Remove unused code and update import statements
This commit removes unused code and updates import statements in multiple files. It removes the unused TimezoneCode enum from the Common/Types/TimezoneCode.ts file and updates the import statements in the affected files to import Timezone from Common/Types/Timezone instead of TimezoneCode. These changes improve the accuracy and reliability of the code.
2024-06-17 13:43:09 +01:00
Simon Larsen
06b92e2745 feat: Add subscriber timezones functionality to SubscriberSettings 2024-06-17 13:18:44 +01:00
Simon Larsen
1a8e0682c7 feat: Add subscriber timezones functionality to SubscriberSettings
This commit adds the functionality to select subscriber timezones in the SubscriberSettings component. It introduces a new field, "Subscriber Timezones", which allows subscribers to choose their preferred timezones for receiving notifications. The selected timezones are displayed when subscribers receive notifications. This feature enhances the user experience by providing localized time information.

Refactor import statements for TimezoneUtil in UserProfile/Index.tsx

This commit updates the import statements in the UserProfile/Index.tsx file to import TimezoneUtil from "Common/Types/Timezone" instead of "CommonUI/src/Utils/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.

Refactor import statements for TimezoneUtil in UserProfile/Index.tsx

This commit updates the import statements in the UserProfile/Index.tsx file to import TimezoneUtil from "Common/Types/Timezone" instead of "CommonUI/src/Utils/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.

Refactor import statements for TimezoneUtil in UserProfile/Index.tsx

This commit updates the import statements in the UserProfile/Index.tsx file to import TimezoneUtil from "Common/Types/Timezone" instead of "CommonUI/src/Utils/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.

Refactor import statements for TimezoneUtil in UserProfile/Index.tsx

This commit updates the import statements in the UserProfile/Index.tsx file to import TimezoneUtil from "Common/Types/Timezone" instead of "CommonUI/src/Utils/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.

refactor: Update retries value in playwright.config.ts

This commit updates the retries value in the playwright.config.ts file to a fixed value of 3. This change ensures that the tests are retried up to 3 times, improving the reliability of the test suite.

refactor: Update import statements for jest in test files

This commit updates the import statements for jest in multiple test files to use the correct module name "jest" instead of "globals". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.

refactor: Update docker-compose command in test.e2e.yaml

This commit updates the docker-compose command in the test.e2e.yaml file to remove the duplicate `e2e` service name. This change improves the clarity and efficiency of the script.

fix: job dependencies

Merge branch 'release' of github.com:OneUptime/oneuptime into release

refactor: Clear user data and remove cookies on authentication error
2024-06-17 11:03:37 +01:00
Simon Larsen
e0189356d5 refactor: Remove TimezoneCode enum and update import statements
This commit removes the TimezoneCode enum from the Common/Types/TimezoneCode.ts file. The enum is no longer needed and can be safely deleted. Additionally, it updates the import statements in the affected files to import Timezone from Common/Types/Timezone instead of TimezoneCode. This change ensures that the correct module is imported and improves the accuracy and reliability of the code.
2024-06-17 10:56:59 +01:00
Simon Larsen
dad07b9f80 refactor: Update import statements for TimezoneUtil in UserProfile/Index.tsx
This commit updates the import statements in the UserProfile/Index.tsx file. It changes the import statement for TimezoneUtil from "CommonUI/src/Utils/Timezone" to "Common/Types/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.
2024-06-17 10:47:23 +01:00
Simon Larsen
8d59710306 refactor: Update import statements for TimezoneUtil in UserProfile/Index.tsx
This commit updates the import statements in the UserProfile/Index.tsx file. It changes the import statement for TimezoneUtil from "CommonUI/src/Utils/Timezone" to "Common/Types/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.
2024-06-17 10:42:43 +01:00
Simon Larsen
5e9227eb4f refactor: Add TimezoneUtil to UserProfile/Index.tsx
This commit refactors the import statements in the UserProfile/Index.tsx file. It updates the import statement for TimezoneUtil from "CommonUI/src/Utils/Timezone" to "Common/Types/Timezone". This change ensures that the correct module is imported, improving the accuracy and reliability of the code.
2024-06-17 10:41:04 +01:00
snyk-bot
1e63173564 fix: upgrade @babel/runtime from 7.24.5 to 7.24.6
Snyk has created this PR to upgrade @babel/runtime from 7.24.5 to 7.24.6.

See this package in npm:
@babel/runtime

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-06-15 06:14:37 +00:00
snyk-bot
76fded39ee fix: upgrade posthog-js from 1.133.0 to 1.135.2
Snyk has created this PR to upgrade posthog-js from 1.133.0 to 1.135.2.

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-06-15 06:12:15 +00:00
hg13
c82f3c1f71 Remove duplicate "Swift" entry 2024-06-15 02:06:24 +03:00
Simon Larsen
24d9219a62 refactor: Update retries value in playwright.config.ts
This commit updates the retries value in the playwright.config.ts file. The previous value was determined based on the environment variable "CI", but it has been changed to a fixed value of 3. This change ensures that the tests are retried up to 3 times, improving the reliability of the test suite.
2024-06-14 19:38:03 +01:00
Simon Larsen
6ed588d7aa refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 18:54:53 +01:00
Simon Larsen
17c1862eac ```text
refactor: Update docker-compose command in test.e2e.yaml

This commit updates the docker-compose command in the test.e2e.yaml file. The previous command included the `e2e` service name twice, which is unnecessary. The updated command removes the duplicate service name, improving the clarity and efficiency of the script.
2024-06-14 18:34:11 +01:00
Simon Larsen
37b1846363 fix job dependencies 2024-06-14 18:21:51 +01:00
Simon Larsen
da3e6bc3af Merge branch 'release' of github.com:OneUptime/oneuptime into release 2024-06-14 18:02:55 +01:00
Simon Larsen
a35ea2ba66 refactor: Clear user data and remove cookies on authentication error 2024-06-14 18:02:36 +01:00
Simon Larsen
b2fa2e40f4 refactor: Clear user data and remove cookies on authentication error
This commit clears the user data and removes cookies when an authentication error occurs. This ensures that the user is logged out and any stored data is removed, preventing unauthorized access. The code change is made in the API.ts file.
2024-06-14 18:01:51 +01:00
Simon Larsen
babecb5170 chore: Update axios and posthog-js dependencies
This commit updates the axios and posthog-js dependencies in the package-lock.json file. The axios dependency is updated from version 1.7.1 to 1.7.2, and the posthog-js dependency is updated from version 1.131.4 to 1.133.0. This update ensures that the latest stable versions of these dependencies are used, improving the functionality and security of the application.
2024-06-14 17:35:33 +01:00
Simon Larsen
6e0e643337 refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 17:01:06 +01:00
Simon Larsen
2a59faa6b4 refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 16:54:53 +01:00
Simon Larsen
9d7d44afda refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 16:42:55 +01:00
Simon Larsen
8f1e67da3a refactor: Remove ignore for all JavaScript files in eslint configuration 2024-06-14 15:44:31 +01:00
Simon Larsen
c09f863d58 refactor: Remove unused imports and update eslint configuration 2024-06-14 15:42:45 +01:00
Simon Larsen
3c8c2a3feb refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 15:42:33 +01:00
Simon Larsen
4c4169e245 refactor: Update import statements for jest in test files 2024-06-14 14:24:45 +01:00
Simon Larsen
34c5cb1e94 refactor: Update import statements for jest in test files 2024-06-14 14:20:24 +01:00
Simon Larsen
f5fca46e5b refactor: Update import statements for jest in test files
This commit updates the import statements for jest in multiple test files. The previous import statements used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 14:16:56 +01:00
Simon Larsen
48e3c24c6e refactor: Update import statement for jest in setupTest.js
This commit updates the import statement for jest in the setupTest.js file. The previous import statement used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 14:11:32 +01:00
Simon Larsen
e9c94876c0 refactor: Update import statement for jest in setupTest.js
This commit updates the import statement for jest in the setupTest.js file. The previous import statement used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 14:06:41 +01:00
Simon Larsen
fcd6c8ea7d refactor: Remove unused imports and update eslint configuration 2024-06-14 13:50:52 +01:00
Simon Larsen
81726ce7b2 refactor: Update import statement for jest in setupTest.js 2024-06-14 13:40:33 +01:00
Simon Larsen
6349c60bdb refactor: Update import statement for jest in setupTest.js
This commit updates the import statement for jest in the setupTest.js file. The previous import statement used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
2024-06-14 13:01:38 +01:00
Simon Larsen
74cf119444 refactor: Remove unused globals.jquery from eslint configuration 2024-06-14 12:36:11 +01:00
Simon Larsen
ba6ac2e32e refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:34:56 +01:00
Simon Larsen
1498656a43 refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:15:36 +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
5152d5de12 refactor: Remove @trivago/prettier-plugin-sort-imports and update eslint configuration
This commit removes the "@trivago/prettier-plugin-sort-imports" plugin from the ".prettierrc.json" file and updates the eslint configuration in the "package.json" file. The plugin was removed because it is no longer needed and caused conflicts with the updated eslint configuration. This change improves the codebase by simplifying the prettier configuration and ensuring compatibility with the updated eslint rules.
2024-06-14 12:07:16 +01:00
Simon Larsen
2999e539b3 refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:01:14 +01:00
Simon Larsen
8ce432256c refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files
This commit updates the symbol type from 'Symbol' to 'symbol' in the ColumnAccessControl files. The use of 'symbol' aligns with the TypeScript convention for symbol types. This change improves code consistency and readability.
2024-06-14 11:53:27 +01:00
Simon Larsen
ddbfbac802 refactor: Remove unused files and update eslint configuration 2024-06-14 11:51:38 +01:00
Simon Larsen
1d6a7ee1fa feat: Add timezone dropdown to user profile page
This commit adds a new dropdown component for selecting the timezone on the user profile page. The dropdown options are populated using the `TimezoneCode` enum from the `Common/Types/TimezoneCode.ts` file. Users can now select their timezone, which will be used for all date and time related notifications sent to them. This enhancement improves the user experience by providing a convenient way to set the timezone preference.
2024-06-14 11:21:25 +01:00
Simon Larsen
0d97f0447a refactor: Improve error handling in API class
This commit refactors the API class in API.ts 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-14 10:57:19 +01:00
Simon Larsen
36a13b60fe refactor: Update notification subjects for incidents and announcements 2024-06-14 10:20:57 +01:00
Simon Larsen
64f4fcf829 refactor: Update notification subjects for incidents and announcements 2024-06-14 10:06:38 +01:00
Simon Larsen
1ff7c84d82 refactor: Update notification subjects for incidents and announcements
This commit updates the notification subjects for incidents and announcements in the SendNotificationToSubscribers.ts files. The subjects now include a prefix indicating the type of notification (e.g., [Incident], [Announcement]) followed by the status page name. This change improves the clarity and consistency of the notification emails and SMS messages sent to subscribers.
2024-06-14 10:05:48 +01:00
Simon Larsen
da623d4d34 increase timeout 2024-06-14 10:00:03 +01:00
snyk-bot
2efb630640 fix: upgrade playwright from 1.44.0 to 1.44.1
Snyk has created this PR to upgrade playwright from 1.44.0 to 1.44.1.

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
2024-06-14 05:19:10 +00: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
e97a78eaeb Merge branch 'ai-copilot-main' 2024-06-13 21:12:48 +01:00
Simon Larsen
57f41a908a refactor: Improve login test to handle missing user credentials 2024-06-13 21:11:54 +01:00
Simon Larsen
f42291a428 refactor: Update status check URLs for Dashboard, Status Page, and Accounts
The status-check.sh script has been modified to update the endpoint URLs for checking the status of the Dashboard, Status Page, and Accounts services. The URLs now include "/status/ready" at the end, ensuring that the services are ready to handle requests. This change improves the accuracy and reliability of the status check script.
2024-06-13 21:05:37 +01:00
Simon Larsen
4fa9adfc7d refactor: Update login test to handle missing user credentials
The login test in Login.spec.ts has been updated to handle cases where the user credentials (email and password) are missing. Previously, the test would only check if the user is registered, but now it also checks if the registered user email and password are available. This change ensures that the test behaves correctly in all scenarios and improves the reliability of the login functionality.
2024-06-13 18:49:19 +01:00
Simon Larsen
3e2e581e52 ```text
refactor: Update artifact upload paths in release and test workflows

The artifact upload paths in the release.yml, test-release.yaml, and test.e2e.yaml workflows have been updated to include the entire E2E directory instead of specific subdirectories. This change simplifies the configuration and ensures that all necessary files are included in the artifacts.
2024-06-13 18:39:02 +01:00
Simon Larsen
2a3c34af95 refactor: Add endpoint to retrieve Copilot events by file
This commit adds a new endpoint to the CodeRepositoryAPI class in CodeRepositoryAPI.ts. The endpoint allows users to retrieve Copilot events for a specific file in the code repository. It takes in a secret key, file path, and service catalog ID as parameters and returns a list of Copilot events. This enhancement improves the functionality and usability of the API.
2024-06-13 14:55:31 +01:00
Simon Larsen
170b79e4cf refactor: Add CopilotEventStatus column to CopilotEvent model
This commit adds a new column, CopilotEventStatus, to the CopilotEvent model in the CopilotEvent.ts file. The CopilotEventStatus column represents the status of a Copilot event that was triggered for a file in the code repository. This enhancement improves the functionality and flexibility of the CopilotEvent model.
2024-06-13 14:39:26 +01:00
Simon Larsen
c15b8bb951 refactor: Update CodeRepositoryUtil to include serviceRepository parameter in createBranch and createOrCheckoutBranch 2024-06-13 14:11:09 +01:00
Simon Larsen
17c47f7d89 refactor: Update ServiceFileTypesUtil to include common directories and files to ignore 2024-06-13 13:32:16 +01:00
Simon Larsen
a406287215 refactor: Update branch name in Copilot/Index.ts and add GITHUB_USERNAME to .env.example
This commit updates the branch name in Copilot/Index.ts from 'test-branch-3' to 'test-branch-4'. Additionally, it adds the GITHUB_USERNAME variable to the .env.example file. These changes improve the accuracy and functionality of the code.
2024-06-13 13:10:14 +01:00
Simon Larsen
a73b050a4d refactor: Update CodeRepositoryUtil to include serviceRepository parameter in createBranch and createOrCheckoutBranch
This commit modifies the CodeRepositoryUtil class in CodeRepository.ts to include a new parameter, serviceRepository, in the createBranch and createOrCheckoutBranch methods. This change allows for better integration with the ServiceRepository class and improves the flexibility and maintainability of the code.
2024-06-13 12:47:42 +01:00
Simon Larsen
224fb2e887 Merge pull request #1479 from OneUptime/snyk-upgrade-fb48859c6d1e1f5c6c32c4f5abf203c1
[Snyk] Upgrade posthog-js from 1.132.0 to 1.133.0
2024-06-13 12:34:04 +01:00
Simon Larsen
96d4131614 refactor: Add createPullRequest method to HostedCodeRepository
The HostedCodeRepository class in HostedCodeRepository.ts has been updated to include a new method, createPullRequest. This method allows for the creation of pull requests in the code repository. This change enhances the functionality and flexibility of the HostedCodeRepository class.
2024-06-13 12:26:49 +01:00
snyk-bot
cda00d5238 fix: upgrade posthog-js from 1.132.0 to 1.133.0
Snyk has created this PR to upgrade posthog-js from 1.132.0 to 1.133.0.

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-06-13 00:27:42 +00:00
Simon Larsen
dea385ad44 refactor: Update ServiceFileTypesUtil to include common directories and files to ignore
The ServiceFileTypesUtil class in ServiceFileTypes.ts has been updated to include two new methods: getCommonDirectoriesToIgnore and getCommonFilesToIgnore. These methods return arrays of common directories and files that should be ignored in code repositories. This change improves the functionality and maintainability of the code by providing a centralized way to define and retrieve the directories and files to ignore.
2024-06-12 22:10:47 +01:00
Simon Larsen
21973401fb refactor: Improve file extension handling in CodeRepositoryUtil
The CodeRepositoryUtil class in CodeRepository.ts has been refactored to improve the handling of file extensions. The changes include:
- Simplifying the logic for skipping files with unsupported extensions
- Adding support for accepted file extensions in the getFilesInDirectory method

These improvements enhance the functionality and maintainability of the code.
2024-06-12 22:07:01 +01:00
Simon Larsen
d153ad9bf7 refactor: Update ServiceRepository to include serviceLanguage field
The ServiceRepository class in ServiceRepository.ts has been updated to include a new field, serviceLanguage. This field is of type ServiceLanguage and is required. This change allows for better organization and identification of code repositories based on their programming language.
2024-06-12 21:27:00 +01:00
Simon Larsen
2ce8ba6295 refactor: Sanitize file paths in CodeRepositoryUtil and LocalFile
This commit refactors the CodeRepositoryUtil and LocalFile classes to include a new method, sanitizeFilePath, which removes double slashes from file paths. This change ensures that file paths are properly formatted and improves the reliability and maintainability of the code.
2024-06-12 21:05:37 +01:00
Simon Larsen
572130d349 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-12 20:21:07 +01:00
Simon Larsen
f0cb049266 refactor: Update CodeRepositoryView component in Index.tsx
The CodeRepositoryView component in Index.tsx has been updated to include a new field for the repository name. This change allows for better organization and identification of code repositories within the system.
2024-06-12 20:20:40 +01:00
Simon Larsen
cab5af6645 refactor: Add organizationName and repositoryName fields to CodeRepository
The CodeRepository entity has been updated to include two new fields: organizationName and repositoryName. These fields are of type character varying(100) and are required. This change allows for better organization and identification of code repositories within the system.
2024-06-12 20:18:30 +01:00
Simon Larsen
e77b923dc1 Merge pull request #1472 from OneUptime/ai-copilot-main
Copilot Main
2024-06-12 19:20:49 +01:00
Simon Larsen
8325c06ca3 refactor: Update status check URLs for Dashboard and Status Page
The status-check.sh script has been modified to update the endpoint URLs for checking the status of the Dashboard and Status Page services. The URLs now include "/status/ready" at the end, ensuring that the services are ready to handle requests. This change improves the accuracy and reliability of the status check script.
2024-06-12 17:27:22 +01:00
Simon Larsen
b66f56bc12 refactor: Update endpoint status check URLs to include "/ready"
The status-check.sh script has been updated to modify the endpoint URLs for checking the status of various services. The URLs now include "/ready" at the end, indicating that the services are ready to handle requests. This change ensures that the status check accurately reflects the readiness of the services and improves the reliability of the script.
2024-06-12 17:25:08 +01:00
Simon Larsen
2de2926d79 refactor: Add MigrationName1718203144945 to SchemaMigrations/Index.ts
The SchemaMigrations/Index.ts file has been updated to include the MigrationName1718203144945 migration. This change ensures that the new migration is included in the list of schema migrations, allowing for proper database versioning and management.
2024-06-12 15:39:55 +01:00
Simon Larsen
fd13e91aac refactor: Update ServiceRepository to use number type for limitNumberOfOpenPullRequestsCount
The ServiceRepository class in ServiceRepository.ts has been updated to use the number type for the limitNumberOfOpenPullRequestsCount property instead of the string type. This change ensures that the property is correctly typed and improves the accuracy and reliability of the code.
2024-06-12 15:38:54 +01:00
Simon Larsen
cf7d4c7720 refactor: Update GitHubUtil to use HostedCodeRepository/HostedCodeRepository 2024-06-12 15:11:50 +01:00
Simon Larsen
b1a76e97ce Merge pull request #1477 from OneUptime/snyk-upgrade-4dc39844f330c9a5f3d5be2668e24709
[Snyk] Upgrade axios from 1.7.0 to 1.7.2
2024-06-12 14:19:29 +01:00
Simon Larsen
7d8036e3eb refactor: Update GitHubUtil to use HostedCodeRepository/HostedCodeRepository
The GitHubUtil class in GitHub.ts has been updated to import the HostedCodeRepository class from the correct file path, "HostedCodeRepository/HostedCodeRepository". This change ensures that the correct class is imported and used, improving the functionality and maintainability of the code.
2024-06-12 13:18:20 +01:00
Simon Larsen
c7344a7624 refactor: Remove commented out code and unused imports
The CodeRepositoryType.ts file has been refactored to remove commented out code and unused imports. This change improves code cleanliness and reduces unnecessary clutter in the file.
2024-06-12 12:25:12 +01:00
Simon Larsen
42253e4e50 refactor: Update GitHub token handling in Config.ts 2024-06-12 11:59:22 +01:00
Simon Larsen
64acf372d6 refactor: Update GitHub token handling in Config.ts
The Config.ts file has been updated to handle the GitHub token more efficiently. The GetGitHubToken function now checks the repository type and throws an exception if a GitHub token is required but not provided. This change improves the security and reliability of the application by ensuring that the correct token is used for GitHub repositories.
2024-06-12 11:31:50 +01:00
snyk-bot
80f4238618 fix: upgrade axios from 1.7.0 to 1.7.2
Snyk has created this PR to upgrade axios from 1.7.0 to 1.7.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
2024-06-12 04:53:12 +00:00
Simon Larsen
2fe54c46c1 Merge pull request #1475 from OneUptime/snyk-upgrade-d4dca93f2a1a1e81fe41908a5a826632
[Snyk] Upgrade posthog-js from 1.131.4 to 1.132.0
2024-06-11 19:55:56 +01:00
Simon Larsen
266b046b9e Merge pull request #1474 from OneUptime/snyk-upgrade-8df461c2c34dd57552a05c7122331e04
[Snyk] Upgrade axios from 1.7.1 to 1.7.2
2024-06-11 19:55:45 +01:00
snyk-bot
f311841df2 fix: upgrade posthog-js from 1.131.4 to 1.132.0
Snyk has created this PR to upgrade posthog-js from 1.131.4 to 1.132.0.

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-06-11 18:09:12 +00:00
snyk-bot
26319ff3c8 fix: upgrade axios from 1.7.1 to 1.7.2
Snyk has created this PR to upgrade axios from 1.7.1 to 1.7.2.

See this package in npm:
axios

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-06-11 18:09:07 +00:00
Simon Larsen
e719bb3b70 refactor: Add doNotShowWhenEditing flag to ServiceRepositoryPage component
The ServiceRepositoryPage component has been updated to include a new flag, doNotShowWhenEditing, which controls whether a certain field should be displayed when editing a service. This change improves the user experience by allowing for more flexibility in customizing the form fields based on the editing mode.
2024-06-11 18:38:37 +01:00
Simon Larsen
d0255c1e33 feat: Enable editing of services in ServiceRepositoryPage 2024-06-11 18:37:49 +01:00
Simon Larsen
f66241d12f Merge pull request #1473 from OneUptime/master
Release
2024-06-11 18:36:34 +01:00
Simon Larsen
52f4c74908 refactor: Update noItemsMessage prop types to include ReactElement
The prop types for the noItemsMessage prop have been updated in multiple components to include the ReactElement type. This change allows for passing React elements as the no items message, providing more flexibility in customizing the message's content and appearance.
2024-06-11 18:34:25 +01:00
Simon Larsen
eeb6904c2d refactor: Update title of Service Catalog field in ServiceRepositoryPage
The title of the Service Catalog field in the ServiceRepositoryPage component has been updated from "Service Catalog" to "Service". This change improves clarity and consistency in the user interface.
2024-06-11 18:31:10 +01:00
Simon Larsen
6fd37c62b8 refactor: Add MigrationName1718126316684 to SchemaMigrations/Index.ts
This commit adds the MigrationName1718126316684 to the list of schema migrations in the Index.ts file. The new migration introduces changes to the database schema and ensures that the codebase is up to date with the latest schema changes. This enhancement improves the maintainability and functionality of the application.
2024-06-11 18:29:19 +01:00
Simon Larsen
16b761e498 feat: Add option to enable pull requests for services in ServiceRepositoryPage
This commit adds a new field to the ServiceRepositoryPage component, allowing users to enable or disable pull requests for a service. When enabled, OneUptime will create pull requests for the service and automatically improve the code. This enhancement provides more control over pull request generation and improves the functionality of the ServiceRepositoryPage.
2024-06-11 18:21:51 +01:00
Simon Larsen
9b1e702c64 refactor: Add enablePullRequests property to ServiceRepository model
The enablePullRequests property has been added to the ServiceRepository model. This property allows for enabling or disabling automatic pull request creation by Copilot for this service. By default, enablePullRequests is set to true, indicating that Copilot will create pull requests for this service to automatically improve the codebase. This change enhances the functionality of the ServiceRepository model and provides more control over pull request generation.
2024-06-11 18:19:51 +01:00
Simon Larsen
f10fa9a48e ```text
refactor: Update defaultValue property in Field interface

The defaultValue property in the Field interface has been updated to include the number type. This change allows for setting default values of type number in form fields.
2024-06-11 18:15:09 +01:00
Simon Larsen
de91346155 refactor: Remove CopilotServiceService and update references to ServiceRepositoryService 2024-06-11 17:49:14 +01:00
Simon Larsen
629a442ff7 refactor: Remove CopilotServiceService and update references to ServiceRepositoryService
This commit removes the CopilotServiceService module, which is no longer needed. It also updates the references to the CopilotService class to use the ServiceRepository class instead. This change improves code organization and consistency by using the appropriate service class for managing service repositories.
2024-06-11 17:38:18 +01:00
Simon Larsen
be54d782e5 refactor: Update page title in CodeRepositoryViewLayout component 2024-06-11 17:30:39 +01:00
Simon Larsen
029c1b0704 refactor: Add CopilotService to BaseAPIFeatureSet
This commit adds the CopilotService to the BaseAPIFeatureSet in the Index.ts file. The CopilotService is imported from the CopilotServiceService module and is used to create a new router for the "/app" endpoint. This change allows for handling requests related to the CopilotService in the application.
2024-06-11 16:56:42 +01:00
Simon Larsen
36cfb7e20f refactor: Add new migrations for SchemaMigrations and Models
New migrations have been added to the SchemaMigrations and Models directories. These migrations introduce new changes to the database schema and model definitions. This commit ensures that the codebase is up to date with the latest schema changes and improves the maintainability of the application.
2024-06-11 16:52:56 +01:00
Simon Larsen
02046a525e refactor: Update service catalog titles to use consistent naming convention
The titles of the ServiceCatalog and ServiceCatalogOwnerTeam classes have been updated to use a consistent naming convention. The "ServiceCatalog" title has been changed to "Service Catalog" and the "ServiceCatalog ID" title has been changed to "Service Catalog ID". This change improves clarity and readability in the codebase.
2024-06-11 16:51:12 +01:00
Simon Larsen
c9a998da0b refactor: Add service language dropdown in ServiceCatalog form 2024-06-11 16:35:23 +01:00
Simon Larsen
7fc192e466 refactor: Quote the value of ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN in _helpers.tpl
The value of ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN in _helpers.tpl has been updated to be quoted using the | quote filter. This change ensures that the value is treated as a string, improving consistency and compatibility with other parts of the codebase.
2024-06-11 16:24:55 +01:00
Simon Larsen
eae8b79b2e refactor: Add debug configuration for running Copilot locally
A new debug configuration has been added to the launch.json file. This configuration allows for launching Copilot locally by running the "start" script using npm. It skips files in the "<node_internals>" directory and is specifically configured for debugging Node.js applications. This change improves the development experience by enabling easy debugging of Copilot locally.
2024-06-11 15:11:00 +01:00
Simon Larsen
08c6cf31a0 refactor: Update linting configuration to exclude .tsx files
The linting configuration in the package.json file has been updated to exclude .tsx files from linting. This change ensures that the linting process only targets .ts files and improves the efficiency of the linting process.
2024-06-11 15:04:28 +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
c53b14f88f refactor: Update CodeRepositoryUtil methods to accept repoPath parameter
The CodeRepositoryUtil methods getGitCommitHashForFile and getFilesInDirectory have been updated to accept a repoPath parameter. This change allows for specifying the repository path when retrieving the git commit hash for a file or getting the files in a directory. It improves the flexibility and reusability of the CodeRepositoryUtil class.
2024-06-11 14:24:19 +01:00
Simon Larsen
c5680f6c26 refactor: Update import statements in MonitorService.ts
The import statements in the MonitorService.ts file have been updated to import the AllowedActiveMonitorCountInFreePlan and IsBillingEnabled constants from the EnvironmentConfig module. This change ensures that the codebase is using the correct import paths and improves code readability.
2024-06-11 13:53:05 +01:00
Simon Larsen
d2a1385123 refactor: Update ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN to 10
The ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN constant has been updated to 10 in multiple files. This change aligns the codebase with the new limit for active monitors allowed in the free plan.
2024-06-11 13:50:55 +01:00
Simon Larsen
feda1b0426 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-11 13:26:28 +01:00
Simon Larsen
b97cc46a1e refactor: Remove commented code in NavBar.tsx
The commented code in the NavBar.tsx file has been removed. This change cleans up the codebase and improves readability.
2024-06-11 13:26:00 +01:00
Simon Larsen
41a8101b54 refactor: Update CodeRepositoryAPI endpoint to use POST method for getting code repository 2024-06-11 13:25:41 +01:00
Simon Larsen
676a2b18b3 refactor: Update CodeRepositoryAPI endpoint to use POST method for getting code repository 2024-06-11 13:20:52 +01:00
Simon Larsen
df7477929b refactor: Update CodeRepositoryAPI endpoint to use POST method for getting code repository
This code change updates the CodeRepositoryAPI endpoint in the CodeRepositoryAPI.ts file to use the POST method instead of the GET method for getting the code repository. The route has also been modified to "/get-code-repository/:secretkey" to align with the API design. This change ensures that the code repository is retrieved securely and follows the recommended RESTful API practices.
2024-06-11 13:00:33 +01:00
Simon Larsen
c1ebe14c50 refactor: Add CodeRepositoryAPI to BaseAPIFeatureSet
This code change adds the CodeRepositoryAPI endpoint to the BaseAPIFeatureSet in the App/FeatureSet/BaseAPI/Index.ts file. It imports the CodeRepository model and service, and includes the necessary routing and configuration for the endpoint. This change allows for the CRUD operations on CodeRepository data through the API.
2024-06-11 12:47:47 +01:00
Simon Larsen
2b478e7a13 refactor: Add TableBillingAccessControl to MonitorOwnerTeam, MonitorOwnerUser, StatusPageOwnerTeam, MonitorGroupOwnerTeam, MonitorGroupOwnerUser models
This code change adds the TableBillingAccessControl decorator to the MonitorOwnerTeam, MonitorOwnerUser, StatusPageOwnerTeam, MonitorGroupOwnerTeam, and MonitorGroupOwnerUser models. The decorator configures the access control settings for these models based on the specified subscription plans. This change ensures that the appropriate access control rules are applied when creating, reading, updating, or deleting records in these models.
2024-06-11 12:37:48 +01:00
Simon Larsen
3bb1d93f3e feat: Add forceNavigate option when navigating to new item
The DuplicateModel component in CommonUI has been updated to include a new option, forceNavigate, when navigating to a new item. This option allows for forced navigation to the new item, bypassing any checks or validations. This change provides more control over the navigation behavior and ensures consistent navigation to the new item.
2024-06-11 12:29:50 +01:00
Simon Larsen
703c4b7685 feat: Add doNotShowWhenCreating option to Field interface
The Field interface in the CommonUI project has been updated to include a new property, doNotShowWhenCreating. This property allows developers to specify whether a field should be shown in the form when creating a new entity. By setting doNotShowWhenCreating to true, the field will be hidden during the creation process. This change provides more control over the visibility of fields in the form based on the create or edit mode.
2024-06-11 11:33:26 +01:00
Simon Larsen
d7e9776a3c refactor: Update CodeRepository.getRepository() to return a Promise
Update CodeRepository.getRepository() to return a Promise<CodeRepositoryModel> instead of a string. This change improves the functionality and flexibility of the CodeRepository class.
2024-06-11 11:10:36 +01:00
Simon Larsen
3cb29b63fe refactor: Update CodeRepository.getRepository() to return a Promise
The CodeRepository.getRepository() method has been updated to return a Promise<CodeRepositoryModel> instead of a string. This change ensures that the method is asynchronous and can handle asynchronous operations, improving the overall functionality and flexibility of the CodeRepository class.
2024-06-10 22:10:29 +01:00
Simon Larsen
e7f4a36ec9 refactor: Update Copilot startup message for clarity
The startup message in the Copilot/Index.ts file has been updated to provide a clearer description of the application. This change improves the readability and understanding of the log output during the startup process.
2024-06-10 22:09:25 +01:00
Simon Larsen
be78862e49 Merge pull request #1470 from OneUptime/snyk-upgrade-ff9eba0658b72fe88ae2d11836a86990
[Snyk] Upgrade axios from 1.6.8 to 1.7.1
2024-06-10 19:45:41 +01:00
Simon Larsen
64ae5eeb89 add code repository basic functions 2024-06-10 19:40:27 +01:00
Simon Larsen
78bdc42534 refactor: Update SelfSignedSSL class to use async/await for generating SSL certificates 2024-06-10 19:25:41 +01:00
snyk-bot
68c81734e8 fix: upgrade axios from 1.6.8 to 1.7.1
Snyk has created this PR to upgrade axios from 1.6.8 to 1.7.1.

See this package in npm:
axios

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-06-10 17:16:56 +00:00
Simon Larsen
bf081d1ebe refactor: Update file paths in code changes 2024-06-10 17:59:22 +01:00
Simon Larsen
3de407842e refactor: Add CopilotEvent API endpoint to BaseAPIFeatureSet
This code change adds the CopilotEvent API endpoint to the BaseAPIFeatureSet in the App/FeatureSet/BaseAPI/Index.ts file. It imports the CopilotEvent model and service, and includes the necessary routing and configuration for the endpoint. This change allows for the CRUD operations on CopilotEvent data through the API.
2024-06-10 17:45:00 +01:00
Simon Larsen
a4a9e45fe0 refactor: Update Dockerfile and build steps for Copilot service
This code change updates the Dockerfile and build steps for the Copilot service. It adds a new workflow job, `docker-build-copilot`, which builds the Docker image for the Copilot service. The job includes steps to checkout the code, preinstall dependencies, and build the Docker image using the specified Dockerfile. This change ensures that the Copilot service is built and deployed correctly in the CI/CD pipeline.
2024-06-10 17:19:25 +01:00
Simon Larsen
f9c9480434 refactor: Update logger to use configured log level
This code change updates the logger class to use the configured log level from the environment configuration. The getLogLevel method is added to retrieve the log level, and the info, error, warn, and debug methods are updated to check the log level before logging the message. This change ensures that the logger behaves according to the configured log level, improving the consistency and control of log output.
2024-06-10 17:00:07 +01:00
Simon Larsen
eb644ad2f2 Merge branch 'master' into ai-copilot-main 2024-06-10 16:45:19 +01:00
Simon Larsen
5186e193a8 Merge pull request #1468 from OneUptime/snyk-upgrade-d773ac20b9cf77163d96fbbdf2660a1f
[Snyk] Upgrade axios from 1.6.8 to 1.7.0
2024-06-10 14:39:04 +01:00
Simon Larsen
55d947fb39 refactor: Add isMonotonic column to Metric model
This code change adds a new column, 'isMonotonic', to the Metric model in the AnalyticsModels directory. The column is optional and represents whether the metric is monotonic. This change ensures that the necessary data is captured and stored correctly for metrics in the system.
2024-06-10 12:49:29 +01:00
Simon Larsen
77f1262ff5 refactor: Update Telemetry class to add gauge and histogram metrics
This code change updates the Telemetry class in the CommonServer/Utils directory to include methods for creating gauge and histogram metrics. The getGauge and getHistogram methods are added, allowing for the creation of observable gauges and histograms with specified names and descriptions. This change enhances the telemetry capabilities of the application by providing more options for metric tracking and analysis.
2024-06-10 12:39:49 +01:00
Simon Larsen
47bf8f9c89 refactor: Update EventItem component to dynamically apply styles based on event type
This code change updates the EventItem component to dynamically apply styles based on the event type. The classNames for the title and description elements are now generated based on the eventType prop, allowing for more flexibility in styling. This change improves the visual representation of different event types in the application.
2024-06-10 11:48:47 +01:00
Simon Larsen
4ca4f28d1c refactor: Add Point Type to Metric model
This code change adds a new column, 'Metric Point Type', to the Metric model in the AnalyticsModels directory. The column is optional and represents the type of metric point. This change ensures that the necessary data is captured and stored correctly for metrics in the system.
2024-06-10 11:45:23 +01:00
Simon Larsen
b6565ce2bb refactor: Add Aggregation Temporality column to Metric model
This code change adds a new column, 'Aggregation Temporality', to the Metric model in the AnalyticsModels directory. The column is required and represents the aggregation temporality of the metric. This change ensures that the necessary data is captured and stored correctly for metrics in the system.
2024-06-10 11:34:08 +01:00
snyk-bot
0704e1f556 fix: upgrade axios from 1.6.8 to 1.7.0
Snyk has created this PR to upgrade axios from 1.6.8 to 1.7.0.

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
2024-06-10 04:54:58 +00:00
Simon Larsen
87c16d7bc3 refactor: Update needs array in test-e2e-release-saas and test-e2e-release-self-hosted jobs
This code change updates the needs array in the test-e2e-release-saas and test-e2e-release-self-hosted jobs in the release.yml file. The nginx-docker-image-deploy job has been added to the needs array to ensure that it is executed before these jobs. This change ensures that the necessary dependencies are met for the successful execution of the test-e2e-release-saas and test-e2e-release-self-hosted jobs.
2024-06-09 21:47:31 +01:00
Simon Larsen
cc66820e7b refactor: Remove commented code in NavBar component 2024-06-09 19:45:25 +01:00
Simon Larsen
a478f60a39 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-09 19:45:00 +01:00
Simon Larsen
5637f12d3a refactor: Remove commented code in NavBar component
This code change removes the commented code in the NavBar component that was no longer needed. The commented code was related to the AI Copilot feature and the Service Catalog feature, which have been refactored or removed from the application. Removing this commented code improves code readability and reduces clutter in the component.
2024-06-09 19:44:57 +01:00
Simon Larsen
27c28b17af refactor: Update viewPageRoute in CodeRepositoryPage component 2024-06-09 19:44:41 +01:00
Simon Larsen
c55b169488 Merge pull request #1460 from OneUptime/snyk-upgrade-46c810649599bbd5f034d681106116a8
[Snyk] Upgrade react-big-calendar from 1.12.1 to 1.12.2
2024-06-09 19:36:50 +01:00
Simon Larsen
9b584d69ff refactor: Update viewPageRoute in CodeRepositoryPage component 2024-06-09 19:35:28 +01:00
Simon Larsen
05c090445a change job names 2024-06-09 19:29:59 +01:00
Simon Larsen
597aeb74f4 add e2e to test release 2024-06-09 19:29:23 +01:00
Simon Larsen
b7191a9c2e update github e2e jobs 2024-06-09 19:25:34 +01:00
Simon Larsen
c686030014 ```text
refactor: Update viewPageRoute in CodeRepositoryPage component

This code change updates the viewPageRoute prop in the CodeRepositoryPage component to use the new route generated by the Navigation utility. This ensures that the component navigates to the correct view page when a code repository is clicked.
2024-06-09 19:21:02 +01:00
Simon Larsen
eed1078f06 refactor: Add viewPageRoute prop to CodeRepositoryPage component
This code change adds the viewPageRoute prop to the CodeRepositoryPage component in order to specify the route for viewing a code repository. This prop is set to the corresponding route from the RouteMap. By including this prop, the component will correctly navigate to the view page when the user clicks on a code repository.
2024-06-09 19:15:30 +01:00
Simon Larsen
051a3c43b2 refactor: Update Git Repository name to "Git Repositories" 2024-06-09 19:04:45 +01:00
Simon Larsen
a152813535 refactor: Add CodeRepository model and service
This code change adds the CodeRepository model and service to the project. It includes the following modifications:

- Added CodeRepository model to the Models/Index.ts file.
- Added CodeRepositoryService to the Services/Index.ts file.
- Created CodeRepositoryService.ts file with the necessary implementation.

These changes enable the project to manage code repositories.
2024-06-09 19:03:54 +01:00
Simon Larsen
decea5acfc refactor: Add AI Copilot breadcrumbs and code repository view 2024-06-09 19:03:23 +01:00
Simon Larsen
4c2dfb0f92 refactor: Add CodeRepository model, service, and permissions
This code change adds the CodeRepository model, service, and permissions to the project. It includes the following modifications:

- Added CodeRepository model to the Models/Index.ts file.
- Added CodeRepositoryService to the Services/Index.ts file.
- Created CodeRepositoryService.ts file with the necessary implementation.
- Updated Permission enum in the Permission.ts file to include CreateCodeRepository, DeleteCodeRepository, EditCodeRepository, and ReadCodeRepository permissions.

These changes enable the project to manage code repositories and define the necessary permissions for them.
2024-06-09 15:03:56 +01:00
Simon Larsen
a24bf077ce refactor: Improve error message in endpoint-status.sh
This code change updates the endpoint-status.sh script to improve the error message when the endpoint returns an HTTP status other than 200. The previous message mentioned that it usually takes a few minutes for the app to boot, which is not accurate. The updated message removes this misleading information and provides a more accurate description of the retry behavior.
2024-06-09 14:49:48 +01:00
Simon Larsen
2d82f50789 refactor: Enable cleanup and e2e cron jobs for development purposes 2024-06-09 14:39:14 +01:00
Simon Larsen
3e13776252 refactor: Improve BaseModelTable actions column logic
This code change updates the BaseModelTable component to improve the logic for determining whether to show the actions column. Previously, the actions column was shown based on various conditions, including permissions, action buttons, and the showViewIdButton prop. This logic has been refactored to simplify the conditions and make it easier to understand.

- The showActionsColumn variable is now initialized with the result of the Boolean function, which checks if any of the conditions are met.
- Additionally, if the user is a master admin, the actions column will always be shown, regardless of other conditions.

These changes enhance the readability and maintainability of the code, ensuring that the actions column is displayed correctly based on the specified conditions.
2024-06-09 13:18:56 +01:00
Simon Larsen
463bb32872 refactor: Enable cleanup and e2e cron jobs for development purposes
This code change updates the values.yaml file in the HelmChart/Public/oneuptime directory. It enables the cleanup and e2e cron jobs for development purposes. Please note that these cron jobs should not be enabled in production environments. This change allows for easier testing and debugging during development.
2024-06-09 12:48:42 +01:00
Simon Larsen
99dcee80cd refactor: Add support for Go language in CodeQL analysis workflow 2024-06-08 14:54:28 +01:00
Simon Larsen
c418dc41dd refactor: Add TypeScript support to CodeQL analysis workflow
This code change updates the CodeQL analysis workflow in the .github/workflows/codeql-analysis.yml file. It adds TypeScript as a supported language for CodeQL analysis, in addition to JavaScript. This ensures that the codebase can be thoroughly analyzed for potential security vulnerabilities and bugs in both JavaScript and TypeScript code.
2024-06-08 14:54:02 +01:00
Simon Larsen
c0678c410d refactor: Update SideMenu.tsx to fix indentation issue
This code change updates the SideMenu.tsx file in the ServiceCatalog/View directory. It fixes an indentation issue in the SideMenuItem component by properly aligning the opening tag. This ensures consistent code formatting and improves code readability.
2024-06-08 14:34:56 +01:00
Simon Larsen
081359f7e0 refactor: Update Delete.tsx to navigate to Service Catalog page after successful deletion
This code change updates the Delete.tsx file in the ServiceCatalog/View directory. It modifies the onDeleteSuccess callback function to navigate to the Service Catalog page (RouteMap[PageMap.SERVICE_CATALOG]) after a successful deletion. This ensures a smooth user experience by redirecting them to the appropriate page after completing the deletion process.
2024-06-08 14:26:02 +01:00
Simon Larsen
cc0cfe4f8c refactor: Update Settings.tsx to import ServiceCatalog instead of TelemetryService 2024-06-08 14:24:42 +01:00
Simon Larsen
dc87905f05 refactor: Update ServiceCatalogPage to include lazy loading for ServiceCatalogElement 2024-06-08 14:24:05 +01:00
Simon Larsen
9c31047d52 refactor: Update ServiceCatalogPage to include lazy loading for ServiceCatalogElement
This code change updates the ServiceCatalogPage component in ServiceCatalog.tsx to include lazy loading for the ServiceCatalogElement component. By implementing lazy loading, the page load performance is improved as the ServiceCatalogElement component is only loaded when it is actually needed. This enhances the overall user experience by reducing initial page load time.
2024-06-08 14:20:21 +01:00
Simon Larsen
91d196ddea refactor: Update ServiceCatalogRoutePath in RouteMap.ts
This code change updates the ServiceCatalogRoutePath in the RouteMap.ts file to include new routes for viewing, managing owners, and deleting service catalogs. This ensures that the application can properly handle these actions related to service catalogs within the dashboard.
2024-06-08 14:12:41 +01:00
Simon Larsen
78db5cab39 refactor: Update ServiceCatalogRoutePath in RouteMap.ts 2024-06-08 14:12:06 +01:00
Simon Larsen
689e72e5ec refactor: Update ServiceCatalogRoutePath in RouteMap.ts
This code change updates the ServiceCatalogRoutePath in the RouteMap.ts file to include new routes for viewing, managing owners, and deleting service catalogs. This ensures that the application can properly handle these actions related to service catalogs within the dashboard.
2024-06-08 14:05:24 +01:00
Simon Larsen
bc9e97f67c refactor: Fix typo in status pages description 2024-06-08 13:57:48 +01:00
Simon Larsen
19550c23ed refactor: Add ServiceCatalogOwnerTeamService and ServiceCatalogOwnerUserService to Services/Index.ts
This code change adds the ServiceCatalogOwnerTeamService and ServiceCatalogOwnerUserService to the Services/Index.ts file. These services are necessary for managing ownership of Service Catalogs, allowing teams and individual users to be assigned as owners of specific Service Catalogs.
2024-06-08 13:33:53 +01:00
Simon Larsen
2d09df2d87 feat: Add ServiceCatalogOwnerTeam and ServiceCatalogOwnerUser models
This code change adds the ServiceCatalogOwnerTeam and ServiceCatalogOwnerUser models to the project. These models are necessary for managing ownership of Service Catalogs, allowing teams and individual users to be assigned as owners of specific Service Catalogs.
2024-06-08 13:31:40 +01:00
Simon Larsen
2dfebdd2e4 refactor: Update SchemaMigrations/Index.ts to fix formatting
This code change fixes the formatting in the SchemaMigrations/Index.ts file. The changes include removing unnecessary whitespace and ensuring consistent indentation. This improves code readability and maintainability.
2024-06-08 13:16:51 +01:00
Simon Larsen
ebec143c9c refactor: Import and include ServiceCatalogService and ServiceCatalog model
This code change updates the Index.ts and Models/Index.ts files to import and include the ServiceCatalogService and ServiceCatalog model respectively. This allows for the management of Service Catalogs, including creating, deleting, editing, and reading them within the project.
2024-06-08 10:35:17 +01:00
Simon Larsen
aa68a6316a feat: Add Service Catalog permissions
This code change adds new permissions for managing Service Catalogs. The permissions include creating, deleting, editing, and reading Service Catalogs. These permissions allow users to perform various actions related to Service Catalogs within the project.

Refactor: Update Index.ts and Models/Index.ts to import and include the ServiceCatalogService and ServiceCatalog model respectively.
2024-06-08 10:25:37 +01:00
Simon Larsen
27a37581e4 Merge pull request #1461 from OneUptime/metric-detail
refactor: Update Navigation class to use getLastParamAsString method
2024-06-08 09:51:32 +01:00
Simon Larsen
091622f8cf refactor: Update StatementGenerator.ts to improve code readability and maintainability 2024-06-08 09:49:49 +01:00
Simon Larsen
87caae077c ```text
refactor: Change metric column types to decimal

This code change modifies the Metric model in the AnalyticsModels directory to change the column types of various metrics from TableColumnType.Number to TableColumnType.Decimal. This update ensures more accurate and precise calculations for the metrics.
2024-06-07 22:55:39 +01:00
Simon Larsen
a146691773 refactor: Improve code readability and maintainability in LogItem.tsx 2024-06-07 22:16:36 +01:00
Simon Larsen
9fce103b11 refactor: Update ResetPassword.tsx to improve password confirmation validation 2024-06-07 22:04:56 +01:00
Simon Larsen
2aa0ae89fc refactor: Improve code readability and maintainability in OTelIngest.ts 2024-06-07 21:45:09 +01:00
Simon Larsen
0a16f6bf44 refactor: Update OTelIngest.ts to improve code readability and maintainability 2024-06-07 21:27:11 +01:00
Simon Larsen
0f49e6e100 refactor: Improve code readability and maintainability in OTelIngest.ts 2024-06-07 17:49:58 +01:00
Simon Larsen
d954b4a5df refactor: Add unit column to metrics table and improve code readability in StatementGenerator.ts 2024-06-07 17:36:09 +01:00
Simon Larsen
e762778fc6 refactor: Improve code readability and maintainability in StatementGenerator.ts 2024-06-07 17:33:23 +01:00
Simon Larsen
4cced50857 feat: Add unit column to metrics table 2024-06-07 17:00:30 +01:00
Simon Larsen
26c900d8e2 refactor: Update CommonServer/package.json and Ingestor/Service/OTelIngest.ts
This code change updates the CommonServer/package.json file to remove the "@opentelemetry/metrics" dependency and adds the "@opentelemetry/sdk-metrics" dependency with version "^1.21.0". It also updates the Ingestor/Service/OTelIngest.ts file to import the "JSONFunctions" module from "Common/Types/JSONFunctions" and use the "flattenObject" function from that module to flatten the final object before returning it.
2024-06-07 16:57:24 +01:00
Simon Larsen
63461343ba refactor: Update OTelIngest.ts to improve code readability and maintainability
This code change updates the OTelIngest.ts file to improve code readability and maintainability. It includes formatting changes such as indentation and line breaks to enhance code structure and organization. These modifications make the code easier to understand and maintain for future development.
2024-06-07 14:57:24 +01:00
Simon Larsen
931abc522b refactor: Update Telemetry class to include new metrics for status checks 2024-06-07 14:54:39 +01:00
Simon Larsen
054592eed3 refactor: Update Telemetry class to include new metrics for status checks
This code change updates the Telemetry class to include new metrics for status checks. It adds counters for successful and failed status checks, including separate counters for ready and live checks. This modification enhances the monitoring capabilities of the application and provides more granular insights into the status of the system.
2024-06-07 14:25:40 +01:00
Simon Larsen
82b2307b51 Merge branch 'master' into metric-detail 2024-06-07 12:50:17 +01:00
Simon Larsen
b1dba73842 refactor: Update external database configuration in HelmChart
This code change updates the external database configuration in the HelmChart. It adds support for using an existing secret for the password instead of directly specifying the password. This modification enhances security and allows for easier management of the database credentials.
2024-06-07 10:11:27 +01:00
Simon Larsen
babbf5f8a6 refactor: Update external database configuration in HelmChart 2024-06-07 10:10:55 +01:00
Simon Larsen
39c7da79ab refactor: Update external database configuration in HelmChart
This code change updates the external database configuration in the HelmChart. It adds support for using an existing secret for the password instead of directly specifying the password. This modification enhances security and allows for easier management of the database credentials.
2024-06-07 10:10:00 +01:00
Simon Larsen
938bd32915 refactor: Update PageMap and RouteMap to include new telemetry metric page
This code change updates the PageMap and RouteMap files to include a new telemetry metric page. The new page, TELEMETRY_SERVICES_VIEW_METRIC, is added to both files with its corresponding route path. This modification ensures that the new page is properly mapped and accessible within the application.
2024-06-07 10:08:40 +01:00
Simon Larsen
f8e1ace311 refactor: Update Navigation class to use getLastParamAsString method 2024-06-06 21:45:29 +01:00
Simon Larsen
05e2e22e1d refactor: Update DATABASE_USERNAME value in _helpers.tpl
This code change updates the value of DATABASE_USERNAME in the _helpers.tpl file. The value is changed to "postgres" when the postgresql.enabled flag is true, and to the value of $.Values.externalPostgres.username when the flag is false. This modification ensures that the correct username is used for the database connection.
2024-06-06 21:19:19 +01:00
Simon Larsen
9054c49b3e refactor: Update Kubernetes secret retrieval commands
The code changes update the commands used to retrieve secrets from Kubernetes. The previous commands were using the deprecated `go-template` option, which has been replaced with the `jsonpath` option. This refactor ensures that the correct commands are used to retrieve the secrets, improving the reliability and maintainability of the code.
2024-06-06 18:36:05 +01:00
Simon Larsen
5d5468603f refactor: Add lazy loading for images in DateFilter component
This code change adds lazy loading for images in the DateFilter component. By implementing lazy loading, the images in the component will only load when they are in the viewport, improving the page load performance. This enhancement provides a better user experience by reducing the initial load time of the page.
2024-06-06 17:49:43 +01:00
Simon Larsen
4c6979cfa1 refactor: Add date filter to FiltersForm and FilterViewer components
This code change adds a new date filter to the FiltersForm and FilterViewer components. The date filter allows users to filter data based on a specific date range. This enhancement improves the filtering capabilities of the components and provides users with more flexibility in data analysis.
2024-06-06 17:40:24 +01:00
Simon Larsen
714a4be2b0 refactor: Update DatabaseService to set isRoot flag when updating items
This code change updates the DatabaseService class to set the isRoot flag to true when updating items. Previously, the props object in the update query only included the ignoreHooks flag. By adding the isRoot flag, we ensure that the update operation is performed as a root user, bypassing any access restrictions or hooks. This modification enhances the flexibility and control of the update process.
2024-06-06 14:43:11 +01:00
Simon Larsen
b935443f96 refactor: Update PingMonitorView to display monitor destination and port
This code change updates the PingMonitorView component to display the monitor destination and port. It ensures that the destination URL or IP address and the corresponding port are correctly displayed in the component. This enhancement improves the visibility of the monitoring information for users.
2024-06-06 14:28:32 +01:00
Simon Larsen
d3a3f01f20 refactor: Update monitorDestination and monitorDestinationPort in ProbeMonitorResponse interface
This code change updates the ProbeMonitorResponse interface to include the monitorDestination and monitorDestinationPort properties. These properties represent the destination URL or IP address and the corresponding port for monitoring. By adding these properties to the interface, we ensure that the necessary information is available for monitoring purposes.
2024-06-06 13:58:51 +01:00
snyk-bot
56b0fea04a fix: upgrade react-big-calendar from 1.12.1 to 1.12.2
Snyk has created this PR to upgrade react-big-calendar from 1.12.1 to 1.12.2.

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-06-06 03:46:25 +00:00
Simon Larsen
2605140166 refactor: Update DATABASE_USERNAME value in _helpers.tpl
This code change updates the value of DATABASE_USERNAME in the _helpers.tpl file. The value is changed to "postgres" when the postgresql.enabled flag is true, and to the value of $.Values.externalPostgres.username when the flag is false. This modification ensures that the correct username is used for the database connection.
2024-06-05 19:03:49 +01:00
Simon Larsen
8b9611e145 refactor: Update import statement for InitialMigration in Postgres SchemaMigrations 2024-06-05 17:52:16 +01:00
Simon Larsen
21057038d1 refactor: Update import statement for InitialMigration in Postgres SchemaMigrations
This code change updates the import statement for the InitialMigration file in the Postgres SchemaMigrations folder. The file name was changed from "1717605043663-MigrationName.ts" to "1717605043663-InitialMigration.ts". This refactor ensures that the correct file is imported and used for schema migrations.
2024-06-05 17:36:45 +01:00
Simon Larsen
e587d4ba19 refactor: Update Postgres migration generation command to use correct file path 2024-06-05 17:33:30 +01:00
Simon Larsen
14da201c8d refactor: Remove unused PostgresConfig file and update PostgresDatabase imports 2024-06-05 17:26:48 +01:00
Simon Larsen
f5584a5037 Add error handling to monitor probing in the FetchListAndProbe class. This change modifies the code to catch any errors that occur during the probing process and log them using the logger. This enhancement improves the robustness of the monitoring functionality by ensuring that errors are properly handled and logged. 2024-06-05 13:30:33 +01:00
Simon Larsen
157f8e95d7 refactor: Update TableRow component to include padding in drag handle 2024-06-05 12:59:35 +01:00
Simon Larsen
fb83126f37 Update Postgres password retrieval in Helm chart documentation 2024-06-05 12:27:31 +01:00
Simon Larsen
964def0c45 refactor: Disable ClickHouse when not enabled in values.yaml 2024-06-05 12:16:40 +01:00
Simon Larsen
650d7cc939 refactor: Add support for HTTPS in ClickHouse configuration 2024-06-05 11:42:01 +01:00
Simon Larsen
bfb4c46bd0 refactor: Update ClickHouse configuration to support HTTPS
This code change updates the ClickHouse configuration to support HTTPS. It introduces a new environment variable, `ClickHouseIsHostHttps`, which is set to `true` in the `EnvironmentConfig.ts` file. The `ClickhouseConfig.ts` file is modified to conditionally set the host protocol to `https` based on the value of `ClickHouseIsHostHttps`. This enhancement allows users to easily configure ClickHouse to use HTTPS when connecting to the host.
2024-06-05 11:41:39 +01:00
Simon Larsen
149c8c763d refactor: Remove empty line in values.yaml 2024-06-05 10:57:57 +01:00
Simon Larsen
fdbcace48c refactor: Update ClickHouse TLS configuration to use "tls" instead of "ssl" in values.yaml 2024-06-05 10:53:47 +01:00
Simon Larsen
3cfe0517a8 refactor: Update ClickHouse environment variables 2024-06-05 10:53:05 +01:00
Simon Larsen
9a32a47146 refactor: Update Redis and ClickHouse TLS configuration
This code change updates the Redis and ClickHouse TLS configuration to support the new `RedisTlsCert`, `RedisTlsKey`, `ClickhouseTlsCert`, and `ClickhouseTlsKey` environment variables. It modifies the `Redis.ts` and `ClickhouseConfig.ts` files to conditionally set the TLS options based on the presence of these variables. This enhancement allows users to easily enable TLS for Redis and ClickHouse by providing the necessary certificate and key files.
2024-06-05 10:49:01 +01:00
Simon Larsen
fd83a71a56 refactor: Enable Redis and ClickHouse in Helm chart
This code change enables Redis and ClickHouse in the Helm chart by setting the `enabled` flag to `true` for both services in the `values.yaml` file. This enhancement allows users to utilize Redis and ClickHouse functionalities when deploying the Helm chart.
2024-06-05 10:08:11 +01:00
Simon Larsen
e9bdbb3414 refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. It adds the necessary environment variables and secrets blocks to handle the external Postgres database configuration. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-05 10:05:45 +01:00
Simon Larsen
3b65d1f4d6 refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. It adds the `applicationName` property to the `dataSourceOptions` object in `PostgresConfig.ts` to set the application name to 'oneuptime'. Additionally, it adds new blocks in `secrets.yaml` to handle secrets for the external Postgres database, including the password and SSL options. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-05 09:28:10 +01:00
Simon Larsen
ed0f92f480 refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. The `DATABASE_NAME` environment variable is renamed from `DATABASE_DATABASE` to improve clarity. Additionally, a new block for configuring SSL options for the external Postgres database is added. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-04 22:51:53 +01:00
Simon Larsen
6cc0f9deaf refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. The `DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USERNAME`, `DATABASE_PASSWORD`, and `DATABASE_DATABASE` environment variables are now conditionally set based on the `postgresql.enabled` flag in the `values.yaml` file. If `postgresql.enabled` is `true`, the values are set to the internal Postgres service details. Otherwise, they are set to the corresponding values from the `externalPostgres` configuration. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-04 21:44:17 +01:00
Simon Larsen
06be3d2f58 ```text
refactor: Enable external Postgres support in Helm chart

This code change modifies the Helm chart to enable support for using an external Postgres database. The `postgresql.enabled` flag in the `values.yaml` file is set to `true` to indicate that an external Postgres database will be used. This enhancement allows users to configure the Helm chart to connect to an existing Postgres database instead of deploying a new one.
2024-06-04 21:42:17 +01:00
Simon Larsen
da8045271f Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-04 21:31:17 +01:00
Simon Larsen
cfc45efadf chore: Update Docker login action to v2.2.0 2024-06-04 21:31:15 +01:00
Simon Larsen
6b92440c74 Merge pull request #1457 from OneUptime/snyk-upgrade-ec107bb76f5f3418659be75ddc87b6bd
[Snyk] Upgrade @nivo/line from 0.86.0 to 0.87.0
2024-06-04 21:30:51 +01:00
Simon Larsen
c2d3123263 Merge pull request #1456 from OneUptime/snyk-upgrade-f550bab384e19de47906237ddf6f8910
[Snyk] Upgrade react-router-dom from 6.23.0 to 6.23.1
2024-06-04 21:30:40 +01:00
Simon Larsen
3a277db0d5 chore: Update Docker login action to v2.2.0
This code change updates the Docker login action to version 2.2.0 in the build.yml file. The new version provides improved functionality and security for logging in to Docker Hub. This chore ensures that the latest stable version of the Docker login action is used in the build process.
2024-06-04 21:29:22 +01:00
Simon Larsen
f084058b67 feat: Add error message component to BasicFormModal
This code change adds the ErrorMessage component to the BasicFormModal component in BasicFormModal.tsx. The ErrorMessage component is rendered when the props.error value is truthy, displaying the error message to the user. This enhancement improves the user experience by providing clear feedback when an error occurs during form submission.
2024-06-04 21:17:10 +01:00
Simon Larsen
9dbe33bfcc refactor: Add doNotShowWhenEditing flag to form fields
This code change adds the `doNotShowWhenEditing` flag to the form fields in the `ModelTable` component. When set to `true`, this flag prevents certain fields from being shown in the form when it is in edit mode. This improvement provides better control over which fields are displayed in the form during editing, enhancing the user experience and reducing clutter.
2024-06-04 21:01:36 +01:00
Simon Larsen
085e1a5d76 ```text
refactor: Update DatabaseService encrypt method to handle PartialEntity

This code change updates the `encrypt` method in the `DatabaseService` class to handle `PartialEntity` as an input parameter. Previously, the method only accepted `TBaseModel` as the input type. This improvement allows for encrypting both complete entities and partial entities, providing more flexibility in data encryption.
2024-06-04 20:41:23 +01:00
Simon Larsen
9a3fa080ea refactor: Update MonitorSecret model permissions
This code change updates the permissions for the MonitorSecret model in MonitorSecret.ts. The update includes adding the Permission.EditMonitorSecret permission to the update operation, allowing project owners, project admins, and users with the EditMonitorSecret permission to update MonitorSecret records. This improvement provides better control over who can modify MonitorSecrets and ensures that only authorized users can make changes to sensitive information.
2024-06-04 20:33:35 +01:00
Simon Larsen
db3d1e90f2 refactor: Remove unused Permission.ProjectMember from Label model
This code change removes the unused Permission.ProjectMember from the Label model in Label.ts. The Permission.ProjectMember was mistakenly included in the create, read, update, and delete arrays, but it is not required for these operations. Removing the unused permission improves code clarity and reduces potential confusion.
2024-06-04 20:31:15 +01:00
Simon Larsen
c02d8d8d8c Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-04 20:21:54 +01:00
Simon Larsen
1fad1d7c29 refactor: Update TableRow component to align top in Table
This code change updates the TableRow component in the Table module to align the content at the top of the table cells. The classNames "align-top" are added to the relevant table cells to achieve this alignment. This improvement ensures consistent vertical alignment of content in the table rows.
2024-06-04 20:21:51 +01:00
snyk-bot
ef610e104a fix: upgrade @nivo/line from 0.86.0 to 0.87.0
Snyk has created this PR to upgrade @nivo/line from 0.86.0 to 0.87.0.

See this package in npm:
@nivo/line

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-06-04 17:45:55 +00:00
snyk-bot
8f7bec00d4 fix: upgrade react-router-dom from 6.23.0 to 6.23.1
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.1.

See this package in npm:
react-router-dom

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-06-04 17:45:49 +00:00
Simon Larsen
ae2a70eb64 Merge pull request #1455 from OneUptime/snyk-upgrade-454393c152713d89bbfd42d5ff28384a
[Snyk] Upgrade react-router-dom from 6.23.0 to 6.23.1
2024-06-04 12:00:54 +01:00
snyk-bot
e56e6a7f8d fix: upgrade react-router-dom from 6.23.0 to 6.23.1
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.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
2024-06-04 05:13:42 +00:00
Simon Larsen
1141d47df7 Merge pull request #1452 from OneUptime/snyk-upgrade-b6c3fc62e0b59f937a4fb3dfd69a2be9
[Snyk] Upgrade react-router-dom from 6.23.0 to 6.23.1
2024-06-04 00:08:03 +01:00
Simon Larsen
9dea2c3bdd Merge pull request #1454 from OneUptime/snyk-upgrade-b79fc44de9934f0f4d9d7f32c5c1fb97
[Snyk] Upgrade @nivo/core from 0.86.0 to 0.87.0
2024-06-04 00:07:51 +01:00
Simon Larsen
9b465badda refactor: Update AnalyticsDatabaseService to handle group by count
This code change updates the AnalyticsDatabaseService to handle the count operation when a group by clause is used. Previously, the count operation would return the total number of rows, but now it correctly counts the number of groups. This improvement ensures accurate counting when grouping data in the analytics database.
2024-06-04 00:05:40 +01:00
Simon Larsen
073f84fe00 refactor: Update secrets.yaml to dynamically generate probe secrets
This code change updates the secrets.yaml file to dynamically generate probe secrets based on the values provided in the $.Values.probes object. If a probe secret already exists, it is used. Otherwise, a new random 32-character alphanumeric string is generated and encoded. This improvement ensures that probe secrets are properly managed and provides better security for sensitive information.
2024-06-03 23:46:04 +01:00
Simon Larsen
c6850f5a0b refactor: Add TableBillingAccessControl to MonitorSecret model
This code change adds the TableBillingAccessControl decorator to the MonitorSecret model in MonitorSecret.ts. The decorator sets the access control permissions for creating, reading, updating, and deleting MonitorSecret records to the Growth subscription plan. This improvement ensures that only users with the Growth plan can perform these actions on MonitorSecrets, providing better control over access to sensitive information.
2024-06-03 23:40:39 +01:00
Simon Larsen
636de9cd57 feat: Add banner with video link for MonitorSecrets page
The code change adds a banner component to the MonitorSecrets page. The banner displays a title, description, and a link to a video tutorial on how to use monitor secrets to store sensitive information. This enhancement provides users with a quick resource to learn about using monitor secrets effectively.
2024-06-03 20:26:39 +01:00
Simon Larsen
79ace6d183 erge branch 'release' 2024-06-03 13:37:43 +01:00
Simon Larsen
366b195152 refactor: Update environment variable setup in test-setup.sh
This code change updates the environment variable setup in the test-setup.sh script. The sed command is used to modify the config.env file, setting the NODE_ENV to 'test' and BILLING_ENABLED to 'true'. Additionally, the DATABASE_HOST is set to 'localhost', DATABASE_PORT to '5400', REDIS_HOST to 'localhost', REDIS_PORT to '6379', REDIS_DB to '0', and REDIS_USERNAME to 'default'. This improvement ensures that the test environment is properly configured with the correct values for testing.
2024-06-03 13:37:23 +01:00
Simon Larsen
bc687bdcdd add tag name 2024-06-03 13:27:08 +01:00
Simon Larsen
bc205a8686 fix infra release 2024-06-03 13:09:48 +01:00
Simon Larsen
e095715a52 feat: Add banner with video link for APIKeyView and TeamView
This code change adds a banner component to the APIKeyView and TeamView pages. The banner displays a title, description, and a link to a 5-minute video tutorial about permissions in OneUptime. This enhancement provides users with a quick resource to learn about permissions and how they work in the application.
2024-06-03 12:28:39 +01:00
Simon Larsen
e634ae0c1e refactor: Update ReadPermission to use object syntax for access control column assignment 2024-06-03 12:09:19 +01:00
Simon Larsen
ee080271e5 refactor: Update ReadPermission to use object syntax for access control column assignment 2024-06-03 11:43:49 +01:00
Simon Larsen
f07346a719 refactor: Improve checkReadBlockPermission method in ReadPermission 2024-06-03 11:30:11 +01:00
Simon Larsen
ace95bf75a refactor: Add checkReadBlockPermission method to ReadPermission
This code change adds the checkReadBlockPermission method to the ReadPermission class in ReadPermission.ts. The method is responsible for checking the block permissions for reading records. It allows the query to run if the system is making the query or if the user has root or master admin privileges. This enhancement provides better control over the reading of records and improves the security of the application.
2024-06-03 11:24:28 +01:00
Simon Larsen
4c53dc15e3 refactor: Add block permission checks to CreatePermission and DeletePermission
This code change adds block permission checks to the CreatePermission and DeletePermission classes. The checkCreateBlockPermissions method is added to the CreatePermission class to check block permissions for creating a new record. Similarly, the checkDeleteBlockPermissions method is added to the DeletePermission class to check block permissions for deleting a record. These enhancements provide better control over the creation and deletion of records and improve the security of the application.
2024-06-03 10:47:36 +01:00
Simon Larsen
ac286e0903 refactor: Add checkCreateBlockPermissions method to CreatePermission
This code change adds the checkCreateBlockPermissions method to the CreatePermission class in CreatePermission.ts. The method is responsible for checking the block permissions for creating a new record. It allows the query to run if the system is making the query or if the user has root or master admin privileges. This enhancement provides better control over the creation of records and improves the security of the application.
2024-06-03 10:16:34 +01:00
Simon Larsen
6595202093 refactor: Add isBlockPermission property to UserPermission and TeamPermission
This code change adds the isBlockPermission property to the UserPermission and TeamPermission interfaces and models. The isBlockPermission property allows for blocking specific permissions for users and teams. This enhancement provides greater control and flexibility in managing permissions within the application.
2024-06-03 09:48:02 +01:00
Simon Larsen
1ff5150765 ```text
refactor: Add user2 to TeamMemberService test for improved coverage

The TeamMemberService test in TeamMemberService.test.ts has been updated to include the addition of user2. This change improves the test coverage by testing the behavior with multiple users.
2024-06-03 09:26:17 +01:00
snyk-bot
13be411fc0 fix: upgrade @nivo/core from 0.86.0 to 0.87.0
Snyk has created this PR to upgrade @nivo/core from 0.86.0 to 0.87.0.

See this package in npm:
@nivo/core

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-06-03 04:20:36 +00:00
snyk-bot
070190dd31 fix: upgrade @nivo/line from 0.86.0 to 0.87.0
Snyk has created this PR to upgrade @nivo/line from 0.86.0 to 0.87.0.

See this package in npm:
@nivo/line

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-06-03 04:20:30 +00:00
Simon Larsen
9d596c00da refactor: Update BaseAPI test to use updateOneById instead of updateOneBy
The BaseAPI test in BaseAPI.test.ts has been updated to use the updateOneById method instead of the updateOneBy method. This change ensures consistency in method naming and improves code readability.
2024-06-02 23:10:03 +01:00
Simon Larsen
6a285df796 refactor: Simplify generatePhone method in Faker.ts
The `generatePhone` method in `Faker.ts` has been simplified to remove unnecessary character replacements and instead directly generate a random 10-digit phone number. This change improves the efficiency and readability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 22:54:59 +01:00
Simon Larsen
a053cc53eb refactor: Remove unnecessary characters from generated phone numbers in Faker.ts 2024-06-02 22:48:25 +01:00
Simon Larsen
14647f6bd5 refactor: Update BaseAPI test to use updateOneById instead of updateOneBy
The BaseAPI test in BaseAPI.test.ts has been updated to use the updateOneById method instead of the updateOneBy method. This change ensures consistency in method naming and improves code readability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 22:19:36 +01:00
Simon Larsen
bc1d629576 refactor: Add notInBetween method to QueryHelper for querying records not in a specified range
The `notInBetween` method has been added to the `QueryHelper` class in `Database/QueryHelper.ts`. This method allows for querying records that are not within a specified range of values. It accepts a start value and an end value, and generates a `NOT IN` clause for the query. This enhancement provides greater flexibility in constructing complex queries and improves the overall query capabilities of the application.
2024-06-02 21:58:05 +01:00
Simon Larsen
c19b4e7040 refactor: Add notIn method to QueryHelper for improved query flexibility
The `notIn` method has been added to the `QueryHelper` class in `Database/QueryHelper.ts`. This method allows for querying records that are not in a specified list of values. It accepts an array of strings or ObjectIDs and generates a `NOT IN` clause for the query. This enhancement provides greater flexibility in constructing complex queries and improves the overall query capabilities of the application.
2024-06-02 21:45:18 +01:00
Simon Larsen
fca2c74817 refactor: Improve generatePhone method in Faker.ts
The `generatePhone` method in `Faker.ts` has been updated to remove unnecessary characters from the generated phone number. This change improves the consistency and simplicity of generating phone numbers using the Faker library.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 21:38:26 +01:00
Simon Larsen
737c785e73 refactor: Update APIKeyView table descriptions for better clarity
The table descriptions in the APIKeyView component have been updated to provide clearer information about managing permissions for API keys. This change improves the user experience and ensures that the purpose of the table is easily understood.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 21:31:26 +01:00
Simon Larsen
25edb45e10 refactor: Add isBlockPermission property to UserPermission and TeamPermission
This code change adds the isBlockPermission property to the UserPermission and TeamPermission interfaces and models. The isBlockPermission property allows for blocking specific permissions for users and teams. This enhancement provides greater control and flexibility in managing permissions within the application.
2024-06-02 21:27:23 +01:00
Simon Larsen
17308692b0 refactor: Update generatePhone method in Faker.ts 2024-06-02 21:08:29 +01:00
Simon Larsen
6785e62edd refactor: Update generatePhone method in Faker.ts
The `generatePhone` method in `Faker.ts` has been updated to remove the country code parameter from the `faker.phone.number` function call. This change improves the consistency and simplicity of generating phone numbers using the Faker library.
2024-06-02 21:06:10 +01:00
Simon Larsen
a1c761f618 refactor: Add validation for required fields in ApiKeyPermissionService and TeamPermissionService
This code change adds validation for the required fields in the ApiKeyPermissionService and TeamPermissionService. It throws a BadDataException if any of the required fields (apiKeyId, projectId, permission) are missing when creating a permission. Additionally, it checks if the permission is already assigned to the API key or team and throws an error if it is. These enhancements improve data integrity and prevent invalid permissions from being created.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 20:52:32 +01:00
Simon Larsen
29686f8167 feat: Add isBlockPermission property to UserPermission, UserTenantAccessPermission, ApiKeyPermission, and TeamPermission
This code change adds the isBlockPermission property to the UserPermission, UserTenantAccessPermission, ApiKeyPermission, and TeamPermission interfaces and models. The isBlockPermission property allows for blocking specific permissions for users, tenants, API keys, and teams. This enhancement provides greater control and flexibility in managing permissions within the application.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 20:47:49 +01:00
Simon Larsen
235fd6722e refactor: Remove BlockedApiKeyPermissionService and BlockedTeamPermissionService
This code change removes the BlockedApiKeyPermissionService and BlockedTeamPermissionService files, as well as their corresponding models. These services and models are no longer needed and have been deleted to improve code organization and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 20:42:18 +01:00
snyk-bot
7286825f82 fix: upgrade react-router-dom from 6.23.0 to 6.23.1
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.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
2024-06-02 17:43:19 +00:00
Simon Larsen
e344c6d3d1 refactor: Add BlockedApiKeyPermission and BlockedTeamPermission services and models
This code change adds the BlockedApiKeyPermissionService and BlockedTeamPermissionService services, as well as the BlockedApiKeyPermission and BlockedTeamPermission models. These additions provide functionality for managing blocked permissions for API keys and teams. This enhancement improves the flexibility and security of the application.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 13:38:07 +01:00
Simon Larsen
2751beae1d refactor: Update TeamMemberService.test.ts for better readability and maintainability 2024-06-02 13:27:17 +01:00
Simon Larsen
f1919d3964 refactor: Update TeamMemberService.test.ts for better readability and maintainability
This code change updates the TeamMemberService.test.ts file to improve readability and maintainability. It refactors the code to remove duplicated lines and uses jest.spyOn to mock the AccessTokenService methods. These changes enhance the code quality and test coverage.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 13:02:31 +01:00
Simon Larsen
de261142e5 refactor: Improve clarity and maintainability in BaseAPI.test.ts
This code change improves the clarity and maintainability of the BaseAPI.test.ts file. It removes unnecessary code and updates the logic for deleting and updating items. These changes enhance the code quality and test coverage.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 12:35:48 +01:00
Simon Larsen
0bfc28fedc refactor: Rename deleteById method to deleteOneById in BaseAPI and DatabaseService
This code change renames the deleteById method to deleteOneById in the BaseAPI and DatabaseService classes. The new method name provides better clarity and consistency with other methods in the codebase. This change improves the readability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 12:29:04 +01:00
Simon Larsen
a59e4cb76b refactor: Add deleteById and updateById methods to DatabaseService
This code change adds the deleteById and updateById methods to the DatabaseService class. These methods allow for more efficient deletion and updating of records in the database by directly targeting the record's ID. This enhancement improves the performance and flexibility of the DatabaseService.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 11:58:10 +01:00
Simon Larsen
ebb9c58758 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-02 11:48:52 +01:00
Simon Larsen
ee2df1a132 refactor: Improve clarity and maintainability in AccessControlPermission.ts 2024-06-02 11:48:48 +01:00
Simon Larsen
b33dc0ff69 Merge pull request #1448 from OneUptime/snyk-upgrade-0032ed3b91a482732c24656615bdd970
[Snyk] Upgrade react-router-dom from 6.23.0 to 6.23.1
2024-06-02 11:48:33 +01:00
Simon Larsen
80c3bb9dda Merge pull request #1449 from OneUptime/snyk-upgrade-21c5f91e22e4be5a53b1778c80645f80
[Snyk] Upgrade posthog-js from 1.131.3 to 1.131.4
2024-06-02 11:48:24 +01:00
Simon Larsen
283fbda8ee refactor: Improve clarity and maintainability in AccessControlPermission.ts
This code change improves the clarity and maintainability of the AccessControlPermission.ts file. It removes unnecessary code and updates the logic for checking user permissions to delete or update objects in the table. These changes enhance the code quality and user experience.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 11:44:24 +01:00
Simon Larsen
a67c70396f refactor: Improve clarity and maintainability in TeamView and APIKeyView components
This code change improves the clarity and maintainability of the TeamView and APIKeyView components. The commit updates the rendering of the permission restrictions messages to have consistent line breaks and spacing. It also adds missing punctuation and capitalization for better readability. These changes enhance the user experience and code quality.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 11:33:21 +01:00
Simon Larsen
3aeb22a253 refactor: Update APIKeyView and TeamView titles for better clarity
This code change updates the titles of the APIKeyView and TeamView components to improve clarity. The titles "API Key Permissions" and "Team Permissions" are changed to "Allow Permissions" to better reflect their purpose. This change enhances the user understanding and usability of the components.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 11:20:12 +01:00
Simon Larsen
070031d703 refactor: Update DatabaseService.ts to set access control column with specific properties
This code change updates the DatabaseService.ts file to set the access control column with specific properties when retrieving data. Instead of setting it to a boolean value, the access control column is now set to an object with the properties _id and name set to true. This change enhances the flexibility and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 09:58:49 +01:00
Simon Larsen
a30104fe06 refactor: Remove unused code and improve type safety in AccessControlModel.ts, DatabaseService.ts, LabelService.ts, and ColumnPermission.ts 2024-06-02 09:36:33 +01:00
Simon Larsen
76677233df refactor: Update DatabaseService.ts and ColumnPermission.ts for improved type safety
This code change updates the DatabaseService.ts and ColumnPermission.ts files to improve type safety. In DatabaseService.ts, the type of the projectIdColumn variable is changed from keyof TBaseModel | null to string | null, ensuring compatibility with the getTenantColumn() method. In ColumnPermission.ts, the type of the permissionColumns variable is changed from Columns<TBaseModel> to Columns, removing unnecessary type specificity. These changes enhance the code's clarity and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 09:34:03 +01:00
Simon Larsen
e1054c2572 refactor: Improve flexibility and maintainability in LabelService.ts and TableColumn.ts
This code change adds flexibility and maintainability improvements to the LabelService.ts and TableColumn.ts files. In LabelService.ts, a constructor is added to the Service class, allowing for the injection of a PostgresDatabase instance. In TableColumn.ts, the propertyKey parameter in the getTableColumn function is changed from keyof T to string, providing more flexibility in handling property keys. These changes enhance the usability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 09:32:06 +01:00
Simon Larsen
e3e684352f refactor: Override name property in Label class
This code change overrides the name property in the Label class to allow for more flexibility in handling scenarios where the name is not specified. By setting the name property to undefined, it improves the usability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 22:44:18 +01:00
snyk-bot
f9472a1308 fix: upgrade posthog-js from 1.131.3 to 1.131.4
Snyk has created this PR to upgrade posthog-js from 1.131.3 to 1.131.4.

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-06-01 21:36:34 +00:00
snyk-bot
2113022d11 fix: upgrade react-router-dom from 6.23.0 to 6.23.1
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.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
2024-06-01 21:21:09 +00:00
Simon Larsen
f21cb43b5b refactor: Update DeleteOneBy.ts to allow undefined deletedByUser
This code change updates the DeleteOneBy.ts file to allow the `deletedByUser` property to be undefined. This change provides more flexibility in handling scenarios where the deletedByUser is not specified. It improves the usability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 20:54:48 +01:00
Simon Larsen
5e7285fa66 refactor: Update ModelPermission.ts to use specific query permission methods
This code change updates the ModelPermission.ts file to use specific query permission methods for delete, update, and read operations. The checkDeleteQueryPermission, checkUpdateQueryPermissions, and checkReadQueryPermission methods provide more granular control and improve the clarity and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 19:40:30 +01:00
Simon Larsen
ff1195c837 refactor: Remove unnecessary code in DatabaseService.ts 2024-06-01 19:37:32 +01:00
Simon Larsen
2f5f147ab4 refactor: Remove debugger statements and improve code readability in DatabaseService.ts
This code change removes the debugger statements from the _deleteBy method in DatabaseService.ts and improves code readability by reformatting the code and removing unnecessary comments. The changes enhance the maintainability and clarity of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 19:37:02 +01:00
Simon Larsen
f4005ee351 refactor: Update queries to use QueryHelper.inRelationArray for monitors
This code change updates the queries in DatabaseService.ts, IncidentService.ts, and ScheduledMaintenanceStateTimelineService.ts to use the QueryHelper.inRelationArray method instead of QueryHelper.anyRelationArray for the "monitors" property. This change provides a more accurate and efficient way to query for records related to specific monitors. It improves the accuracy and performance of the queries.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 19:33:53 +01:00
Simon Larsen
549e41119c refactor: Update createdAt queries to use QueryHelper.inBetween
This code change updates the createdAt queries in multiple files to use the QueryHelper.inBetween method instead of QueryHelper.anyBetween. The inBetween method provides a more accurate and efficient way to query for records within a specific date range. This change improves the accuracy and performance of the queries.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 19:32:12 +01:00
Simon Larsen
0f76e075ce refactor: Update QueryHelper to use FindOperator for any and in methods
This code change updates the QueryHelper class to use the FindOperator type for the any and in methods. This allows for more flexibility in querying by accepting an array of values or a single value. The change improves code readability and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 19:31:20 +01:00
Simon Larsen
7212b93836 refactor: Simplify adding access control IDs to query in BasePermission.ts 2024-06-01 18:04:46 +01:00
Simon Larsen
aca335aa8f refactor: Update ModelPermission.ts to improve code readability and maintainability 2024-06-01 17:45:14 +01:00
Simon Larsen
1053f52b2b Merge branch 'release' 2024-06-01 17:28:50 +01:00
Simon Larsen
4ef8a8d0f9 refactor: Update Go version and use specific ref in release workflow
This code change updates the Go version used in the release workflow and modifies the "Checkout" step to use a specific ref instead of fetching the entire history. By specifying the ref, the workflow will only fetch the necessary code, reducing the time and resources required for the checkout process.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 17:27:18 +01:00
Simon Larsen
8d183ceee6 refactor: Update checkout step in release workflow
This code change updates the checkout step in the release workflow to use the `ref` parameter instead of `fetch-depth`. This ensures that the correct branch or tag is checked out during the workflow execution.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 17:26:52 +01:00
Simon Larsen
d2a58fbe97 refactor: Reorder imports in CreatePermission.ts and UpdatePermission.ts
This code change reorders the imports in the CreatePermission.ts and UpdatePermission.ts files to group related imports together and improve code readability. The imports are now organized in the following order:
1. External dependencies
2. Internal dependencies
3. Local dependencies

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 17:21:01 +01:00
Simon Larsen
9b115da0be Merge branch 'master' of github.com:OneUptime/oneuptime 2024-06-01 17:20:20 +01:00
Simon Larsen
e46133d678 refactor: Update ModelPermission.ts to improve code readability and maintainability 2024-06-01 17:20:14 +01:00
Simon Larsen
c9bf2e3bf1 Merge pull request #1445 from OneUptime/snyk-upgrade-af76d864ab171838e05700ac0e1500b0
[Snyk] Upgrade protobufjs from 7.2.6 to 7.3.0
2024-06-01 16:50:34 +01:00
Simon Larsen
2c16b5ab7d Merge pull request #1447 from OneUptime/snyk-fix-418ca58fe385c0a1a5ff7575c3cda99b
[Snyk] Security upgrade nginx from 1.25.5-alpine to 1.26.1-alpine
2024-06-01 16:50:26 +01:00
Simon Larsen
f7339723cd refactor: Update ModelPermission.ts to improve code readability and maintainability 2024-06-01 15:17:26 +01:00
Simon Larsen
c2e04e94e2 refactor: Update ModelPermission.ts to improve code readability and maintainability
This code change in ModelPermission.ts improves code readability and maintainability by removing unnecessary code, updating function parameters, and adding comments for clarity. The changes include:
- Removing unused function parameters in CheckReadPermissionType and checkReadPermission functions
- Updating the checkIfUserIsLoggedIn function call to include the type parameter
- Refactoring the checkModelLevelPermissions function to include the type parameter
- Adding a comment to clarify the purpose of the checkBillingPermissions function

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 15:09:42 +01:00
Simon Larsen
bbb2f8d154 refactor: Remove unnecessary code in ModelPermission.ts
This code change removes unnecessary code in the ModelPermission.ts file. The empty lines and unused function parameters have been removed to improve code readability and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 14:50:17 +01:00
Simon Larsen
4ab9e8b398 refactor: Update access control permissions in PermissionHelper
This code change updates the access control permissions in the PermissionHelper class. The "isAccessControlPermission" property for various permissions has been changed from "true" to "false". This ensures that the specified permissions no longer have access control restrictions.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 14:49:35 +01:00
Simon Larsen
d0e6153758 refactor: Import Stripe and mockStripe together in BillingService.test.ts
This code change updates the import statements in BillingService.test.ts to import both the Stripe and mockStripe modules from the same line. This improves code readability and ensures that both modules are imported consistently.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 14:36:16 +01:00
Simon Larsen
f308407f68 refactor: Update TeamPermissionService to include projectId in select props
This code change updates the TeamPermissionService to include the "projectId" property in the select props when querying for team members. This ensures that the "projectId" value is retrieved along with the "userId" value, allowing for easier access to the project ID in subsequent code logic.
2024-06-01 14:35:25 +01:00
Simon Larsen
93ba752e8c refactor: Update TeamPermissionService to include projectId in select props
This code change updates the TeamPermissionService to include the "projectId" property in the select props when querying for team members. This ensures that the "projectId" value is retrieved along with the "userId" value, allowing for easier access to the project ID in subsequent code logic.
2024-05-31 22:00:13 +01:00
Simon Larsen
230d345406 refactor: Remove unused "RemoveCanFromPermissions" import in DataMigrations/Index.ts 2024-05-31 21:54:37 +01:00
Simon Larsen
7e51da56f6 refactor: Update TeamPermissionService to include projectId in select props
This code change updates the TeamPermissionService to include the "projectId" property in the select props when querying for team members. This ensures that the "projectId" value is retrieved along with the "userId" value, allowing for easier access to the project ID in subsequent code logic.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 21:52:01 +01:00
Simon Larsen
cab9fd08fa refactor: Remove unused "RemoveCanFromPermissions" import in DataMigrations/Index.ts
This code change removes the unused import statement for "RemoveCanFromPermissions" in the "DataMigrations/Index.ts" file. The import is no longer needed and can be safely removed to improve code readability and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 19:33:33 +01:00
Simon Larsen
461f69b11e refactor: Update permission names in NotificationAPI.ts, DataMigration.ts, BillingPaymentMethodAPI.ts, BillingInvoiceAPI.ts, and PromoCode.ts
This code change updates the permission names in multiple files to align with the latest naming conventions. The following changes were made:

- In NotificationAPI.ts, the permission name "CanManageProjectBilling" was changed to "ManageProjectBilling".
- In DataMigration.ts, the permission names "CanCreateProjectLabel" and "CanReadProjectLabel" were changed to "CreateProjectLabel" and "ReadProjectLabel" respectively.
- In BillingPaymentMethodAPI.ts, the permission name "CanCreateBillingPaymentMethod" was changed to "CreateBillingPaymentMethod".
- In BillingInvoiceAPI.ts, the permission name "CanEditInvoices" was changed to "EditInvoices".
- In PromoCode.ts, the permission names "CanCreateProjectLabel" and "CanReadProjectLabel" were changed to "CreateProjectLabel" and "ReadProjectLabel" respectively. Additionally, the permission names "CanReadProject" and "CanEditProject" were changed to "ReadProject" and "EditProject" respectively.

These updates ensure that the permission names are consistent and reflect the intended functionality.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 19:23:45 +01:00
Simon Larsen
ad7a5bddcb remove dup service 2024-05-31 19:01:29 +01:00
Simon Larsen
a64feacb5c refactor: Update TeamPermissionService to refresh access permissions for team members
This code change updates the TeamPermissionService to refresh access permissions for team members when they are deleted. Previously, only the user's global access permission was refreshed, but now both the global and tenant access permissions are refreshed. This ensures that the user's access permissions are up to date after a team member is deleted.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 17:55:39 +01:00
Simon Larsen
a27b51ea94 refactor: Update Prettier configuration to include @trivago/prettier-plugin-sort-imports
This code change updates the .prettierrc.json file to include the @trivago/prettier-plugin-sort-imports plugin. By adding this plugin, the codebase will automatically sort imports according to specified rules. This improves code organization and maintainability.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 17:44:51 +01:00
Simon Larsen
a0f7324c01 refactor: Simplify getTestDataSourceOptions in PostgresConfig.ts 2024-05-31 17:40:25 +01:00
Simon Larsen
c3b0302cbe revert haraka changes 2024-05-31 17:35:21 +01:00
snyk-bot
0c264bcd32 fix: Nginx/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE319-BUSYBOX-6913413
- https://snyk.io/vuln/SNYK-ALPINE319-BUSYBOX-6913413
- https://snyk.io/vuln/SNYK-ALPINE319-BUSYBOX-6928845
- https://snyk.io/vuln/SNYK-ALPINE319-BUSYBOX-6928846
- https://snyk.io/vuln/SNYK-ALPINE319-BUSYBOX-6928847
2024-05-31 15:49:59 +00:00
Simon Larsen
abc7a43d1b refactor: Simplify getTestDataSourceOptions in PostgresConfig.ts
This code change simplifies the `getTestDataSourceOptions` function in `PostgresConfig.ts` by using `process.env` values directly. By removing the conditional fallback to `'localhost'`, the function now relies solely on the environment variable `DATABASE_HOST` for the host value. This change ensures that the function always retrieves the latest values during test runs, as `process.env` can change dynamically.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 14:06:53 +01:00
Simon Larsen
05e9282d7f Update Haraka SMTP and TLS configurations to listen on port 25 instead of port 2525
This code change modifies the Haraka SMTP and TLS configurations to listen on port 25 instead of port 2525. The previous configuration used port 2525, but it has been changed to align with the standard SMTP port. This update ensures that the Haraka server can receive incoming emails on the correct port.
2024-05-31 13:35:35 +01:00
Simon Larsen
75d2a01a5a refactor: Use process.env values directly in getTestDataSourceOptions
This code change refactors the `getTestDataSourceOptions` function in `PostgresConfig.ts` to use `process.env` values directly. This change is made to ensure that the function always retrieves the latest values during test runs, as `process.env` can change dynamically. By removing the conditional fallback to `'localhost'`, the function relies solely on the environment variable `DATABASE_HOST` for the host value. This simplifies the code and improves consistency.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 13:27:46 +01:00
Simon Larsen
8d02eddfc6 Update PostgresConfig.ts and PostgresDatabase.ts to use a function for testDataSourceOptions 2024-05-31 13:27:02 +01:00
Simon Larsen
33d38611e2 chore: Update Stripe.mock.ts to allow null value for mockStripe
This code change updates the Stripe.mock.ts file to allow the mockStripe variable to have a null value. This change is necessary to properly handle scenarios where the Stripe library is not mocked. By allowing the variable to be null, it ensures that the code can handle both mocked and non-mocked scenarios without causing errors.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-31 13:03:59 +01:00
Simon Larsen
31335ee6b5 Update host_list configuration file path in Dockerfile 2024-05-31 13:01:11 +01:00
Simon Larsen
6eb228d0b8 chore: Add INCOMING_EMAIL_DOMAIN to host_list configuration
This code change adds the INCOMING_EMAIL_DOMAIN variable to the host_list configuration in the Haraka init.sh script. This ensures that incoming emails from the specified domain are accepted by the Haraka application. The INCOMING_EMAIL_DOMAIN value is appended to the host_list file, allowing the application to properly handle emails from this domain.
2024-05-31 12:59:23 +01:00
snyk-bot
0ef82aef01 fix: upgrade protobufjs from 7.2.6 to 7.3.0
Snyk has created this PR to upgrade protobufjs from 7.2.6 to 7.3.0.

See this package in npm:
protobufjs

See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/89d21457-97ad-4d10-9b37-253f0b4cc388?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-05-31 04:55:47 +00:00
Simon Larsen
f644ac117f chore: Update Dockerfile to include loglevel configuration 2024-05-30 21:25:44 +01:00
Simon Larsen
08ddfb1017 chore: Update Dockerfile to include email_parser.js plugin and install dependencies
This code change updates the Dockerfile for the Haraka application. It adds the email_parser.js plugin to the /harakaapp/plugins directory and installs the necessary dependencies by copying the package.json and package-lock.json files to the /harakaapp directory and running npm install. This update ensures that the email parsing functionality is properly configured and all required dependencies are installed.
2024-05-30 21:07:05 +01:00
Simon Larsen
68724478da chore: Update HelmChart values.yaml to use ClusterIP for internalSmtp type
This code change updates the HelmChart values.yaml file to change the type of the internalSmtp service from LoadBalancer to ClusterIP. The LoadBalancer type was causing issues with receiving emails from the internet, so this change provides a workaround by using the ClusterIP type instead. This update ensures that the internalSmtp service can properly receive emails and improves the functionality of the application.
2024-05-30 20:34:14 +01:00
Simon Larsen
ca621bf41c feat: Add support for additional email ports
This code change adds support for additional email ports in the Haraka configuration. It exposes ports 110, 25, 587, 465, 143, 993, and 995 for POP3, SMTP, IMAP, and their secure variants. This enhancement allows for more flexible email communication options.
2024-05-30 20:30:44 +01:00
Simon Larsen
c470abf36c feat: Add host_list.ini configuration file and update email_parser.js plugin
The code changes include adding a new configuration file `host_list.ini` to the Haraka config directory. This file will be used to store a list of allowed hosts for incoming emails. Additionally, the `email_parser.js` plugin file has been moved to the correct directory in the Haraka config. This update ensures that the email parsing functionality is properly configured and the list of allowed hosts is maintained.
2024-05-30 20:12:07 +01:00
Simon Larsen
39bd722cf5 chore: Update Haraka config plugins
This code change updates the Haraka config plugins file to include additional plugins for blocking mails from known bad hosts, blocking mail from known bad HELOs, blocking mail from known bad email addresses, and accepting mail only from domains with resolvable MX records. It also removes the emailParser.js plugin file.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-05-30 20:04:12 +01:00
Simon Larsen
3851827afb feat: Add mailparser npm dependency 2024-05-30 19:39:07 +01:00
Simon Larsen
cd5c333d97 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-30 19:35:40 +01:00
Simon Larsen
fee16520df change default log level 2024-05-30 19:35:22 +01:00
Simon Larsen
025648482e Merge pull request #1443 from OneUptime/snyk-upgrade-e1f8734d934eff9fb30ddb40ca654522
[Snyk] Upgrade posthog-js from 1.130.2 to 1.131.3
2024-05-30 10:46:53 +01:00
Simon Larsen
89a3d3a6ac refactor: Update secrets.yaml to handle release upgrades
This code change updates the secrets.yaml file to handle release upgrades. It introduces a workaround to keep the secrets unchanged during upgrades by retrieving the existing secrets if the release is an upgrade. For new installations, it generates new secrets using the randAlphaNum function. This enhancement ensures that secrets are properly managed during upgrades and installations.
2024-05-30 10:43:25 +01:00
Simon Larsen
e4da9c5212 refactor: Improve password reset email functionality
This code change refactors the `Authentication.ts` file to improve the functionality of the password reset email. It updates the logic for generating the password reset URL and adds logging statements to track the user's email and the generated URL. This enhancement ensures a smoother password reset process and improves the visibility of user actions in the system.
2024-05-30 10:15:31 +01:00
Simon Larsen
1e61fec929 feat: Set current project in App component
This code change adds logic to set the current project in the `App` component. It checks if a `selectedProject` is available and if so, it calls the `ProjectUtil.setCurrentProject` function with the `selectedProject`. This enhancement ensures that the current project is correctly set and improves the functionality of the application.
2024-05-30 09:56:59 +01:00
Simon Larsen
6a76665c79 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-30 09:55:13 +01:00
Simon Larsen
2d3d0449e5 feat: Add ProjectUtil.setCurrentProject to App component
This code change adds the import statement for `ProjectUtil` and calls the `setCurrentProject` function with the `selectedProject` in the `App` component. This enhancement ensures that the current project is set correctly and improves the functionality of the application.
2024-05-30 09:54:33 +01:00
snyk-bot
fee5132e7e fix: upgrade posthog-js from 1.130.2 to 1.131.3
Snyk has created this PR to upgrade posthog-js from 1.130.2 to 1.131.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-05-30 03:30:10 +00:00
Simon Larsen
2dbb91ba24 Merge pull request #1442 from OneUptime/release
refactor: Improve event item descriptions and labels
2024-05-29 17:47:50 +01:00
Simon Larsen
9a37c4b031 refactor: Improve event item descriptions and labels
This code change refactors the EventItem component to improve the display of event descriptions and labels. It updates the CSS classes for the event descriptions to enhance readability and adds CSS classes for the event labels to improve their styling. This enhancement improves the overall appearance and user experience of the EventItem component.
2024-05-29 16:52:53 +01:00
Simon Larsen
d3d64979e0 refactor: Add logging statements for status checks
The code change adds logging statements for the status checks in the StatusAPI file. The logging statements provide information about the status checks being performed, including the result of each check. This enhancement improves the visibility and monitoring of the status checks in the system.
2024-05-29 16:37:11 +01:00
Simon Larsen
c6efe40f3b refactor: Add logging statements for user sign up, email verification, password reset, and login
This code change adds logging statements for user sign up, email verification, password reset, and login in the Authentication.ts and SSO.ts files. The logging statements provide information about the corresponding user actions, including the user's email. This enhancement improves the visibility and monitoring of user activities in the system.
2024-05-29 15:45:48 +01:00
Simon Larsen
d0ace48aeb refactor: Add selectedProject prop to DashboardHeader component
This code change adds the selectedProject prop to the DashboardHeader component in the Header.tsx file. The prop is used to pass the currently selected project to the component, allowing it to display the selected project's information. This enhancement improves the functionality and user experience of the DashboardHeader component.
2024-05-29 15:27:37 +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
4fcc066971 Merge remote-tracking branch 'origin/snyk-upgrade-9bde7b8ad7df926b5588a93ac9081118' 2024-05-29 13:59:08 +01:00
Simon Larsen
e37347a611 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-29 13:58:24 +01:00
Simon Larsen
95dbeaddba refactor: Update DocsNav to include Monitor Secrets page
This code change updates the DocsNav file to include a new navigation item for the Monitor Secrets page. It adds a new object to the DocsNav array with the title "Monitor Secrets" and the URL "/docs/monitor/monitor-secrets". This enhancement improves the navigation experience for users accessing the Monitor Secrets documentation.
2024-05-29 13:56:38 +01:00
Simon Larsen
5a12e70742 refactor: Update Encryption.ts to use Utf8 encoding for decryption
This code change updates the Encryption.ts file to use the Utf8 encoding for decryption in the `decrypt` method. Previously, it was using the default encoding, which could lead to incorrect results for certain inputs. This update ensures the correct decoding of the encrypted text and improves the reliability of the decryption process.
2024-05-29 13:20:56 +01:00
Simon Larsen
ab0b7bb6ec refactor: Update MonitorSecrets page to display monitors with access to secrets 2024-05-29 12:47:21 +01:00
Simon Larsen
c9874df43f refactor: Add null checks in DatabaseService and Encryption
This code change adds null checks in the DatabaseService and Encryption classes to handle cases where the input data is null or undefined. It prevents potential errors and improves the robustness of the code.
2024-05-29 11:52:50 +01:00
Simon Larsen
594a44392d Merge pull request #1438 from OneUptime/snyk-upgrade-0f21f366f23af175b83fbe7a993653de
[Snyk] Upgrade posthog-js from 1.130.1 to 1.130.2
2024-05-29 11:41:24 +01:00
Simon Larsen
5b9232c785 ```text
refactor: Update package.json and Encryption.ts to use latest version of crypto-js

This code change updates the package.json and Encryption.ts files to use the latest version (4.2.0) of the crypto-js library. It adds the "@types/crypto-js" package as a dependency in the package.json file and updates the import statements in the Encryption.ts file to use the updated library. This update ensures compatibility with the latest features and improvements in crypto-js.
2024-05-29 11:41:05 +01:00
Simon Larsen
06b7f5c236 refactor: Update JSON.ts imports
This code change updates the imports in the JSON.ts file to remove unused imports and organize the imports alphabetically. It improves code readability and maintainability.
2024-05-28 21:33:44 +01:00
Simon Larsen
f20f833720 refactor: Update MonitorSecrets page to display monitors with access to secrets
This code change updates the MonitorSecrets page to display the monitors that have access to the secrets. It adds a new field in the form to select the monitors and renders the selected monitors using the MonitorsElement component. This enhancement improves the visibility and management of secret access for monitors.
2024-05-28 20:13:58 +01:00
Simon Larsen
91c37a2a9e refactor: Update MonitorSecretService to use MonitorSecret model 2024-05-28 20:10:15 +01:00
Simon Larsen
937879aa68 refactor: Update MonitorSecretService to use MonitorSecret model
This code change updates the MonitorSecretService to use the MonitorSecret model instead of the deprecated MonitorProbe model. This refactor ensures consistency and improves code maintainability.
2024-05-28 20:09:25 +01:00
Simon Larsen
df77fdac74 feat: Add Monitor Secrets functionality
This code change adds the necessary functionality for managing Monitor Secrets. It includes updates to the PageMap, SettingsBreadcrumbs, and RouteMap files to support the new "SETTINGS_MONITOR_SECRETS" page. Additionally, the "SETTINGS_MONITOR_SECRETS" route is added to the SettingsRoutePath dictionary. This enhancement improves the application's security and access control.
2024-05-28 20:01:51 +01:00
Simon Larsen
28917b3fcb Merge pull request #1440 from OneUptime/snyk-upgrade-24a45d8b5a59e57a4cd97e1bc201f713
[Snyk] Upgrade @types/lodash from 4.17.0 to 4.17.1
2024-05-28 19:57:25 +01:00
Simon Larsen
853715b17c refactor: Update .prettierrc.json with importOrderParserPlugins option
This code change updates the .prettierrc.json file by adding the "importOrderParserPlugins" option with the values ["typescript", "decorators"]. This enhancement allows the Prettier formatter to correctly parse and sort imports that include TypeScript and decorators. It improves the code formatting and organization.
2024-05-28 19:57:03 +01:00
Simon Larsen
5bdc381925 refactor: Add MonitorSecret permissions 2024-05-28 19:54:50 +01:00
Simon Larsen
c499df2812 ```text
refactor: Add @trivago/prettier-plugin-sort-imports to package.json and .prettierrc.json

This code change adds the "@trivago/prettier-plugin-sort-imports" package as a dependency in the package.json file and includes it in the "plugins" array in the .prettierrc.json file. It also sets the "importOrderSeparation" and "importOrderSortSpecifiers" options to true. This enhancement improves the code formatting and organization by automatically sorting imports.
2024-05-28 19:53:53 +01:00
Simon Larsen
5ef5dbf562 refactor: Add MonitorSecret permissions
This code change adds the necessary permissions for managing MonitorSecrets. The new permissions include CanCreateMonitorSecret, CanEditMonitorSecret, CanDeleteMonitorSecret, and CanReadMonitorSecret. These permissions allow users to create, edit, delete, and read MonitorSecrets respectively. This enhancement improves the access control and security of the application.
2024-05-28 19:46:59 +01:00
Simon Larsen
332aa47e63 refactor: Remove unnecessary checks for event.monitors in SendNotificationToSubscribers.ts 2024-05-28 17:07:23 +01:00
snyk-bot
cb1ddfe0df fix: upgrade @types/lodash from 4.17.0 to 4.17.1
Snyk has created this PR to upgrade @types/lodash from 4.17.0 to 4.17.1.

See this package in npm:
@types/lodash

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-05-25 23:09:44 +00:00
Simon Larsen
d5bb29f9b4 Merge pull request #1439 from OneUptime/metrics-box
Metrics box
2024-05-24 13:23:59 +01:00
Simon Larsen
5f851b6936 refactor: Remove server monitor from SummaryView
This code change removes the rendering of the server monitor from the SummaryView component. The monitorType prop is checked, and if it is set to MonitorType.Server, the server monitor is not rendered. This change simplifies the SummaryView component and improves code organization.
2024-05-24 13:19:00 +01:00
Simon Larsen
5fa7c5baaa refactor: Remove Webkit browser support
The code changes in this commit remove support for the Webkit browser in the BrowserType enum and SyntheticMonitor module. The Webkit browser was commented out and not being used, so it was decided to remove it to simplify the codebase and reduce unnecessary dependencies. This refactor improves code organization and maintainability.
2024-05-24 13:14:02 +01:00
Simon Larsen
557c3f1427 refactor: Update title in CustomMonitorSummaryView and SyntheticMonitorItemView components
The code changes in this commit update the title in the CustomMonitorSummaryView and SyntheticMonitorItemView components. The title "Is Error" is changed to "Error" to provide clearer and more concise information to users. This enhancement improves the user experience and readability of the components.
2024-05-24 12:58:07 +01:00
Simon Larsen
a14614b7de refactor: Improve page load performance with lazy loading for images 2024-05-24 12:44:34 +01:00
Simon Larsen
cc1c968d3c refactor: Remove unused Metrics components
The code changes in this commit remove the unused Metrics components: ProbeNowButton.tsx, MetricsScreenshot.tsx, MetricsScreenshotGroup.tsx, PingMonitorView.tsx, and ProbePicker.tsx. These components are no longer needed and removing them improves code organization and maintainability.
2024-05-24 12:37:36 +01:00
Simon Larsen
1830f031e9 refactor: Update email verification confirmation message
The code changes in this commit update the confirmation message for email verification. Instead of just displaying the user's email, it now includes the text "Are you sure you want to verify the email -" before the email address. This change provides clearer context and improves the user experience.
2024-05-24 11:39:58 +01:00
Simon Larsen
5d8dd6ef3c refactor: Add email verification functionality to Users page
The code changes in this commit add email verification functionality to the Users page. This includes adding a "Verify Email" button to each user's row in the table. Clicking the button opens a confirmation modal asking if the user's email should be verified. Upon confirmation, the user's email is marked as verified in the database. This enhancement improves the user experience and provides better control over email verification.
2024-05-24 11:39:43 +01:00
Simon Larsen
d0b63b5c8b Refactor ProbeMonitorResponseService and Metrics component
The code changes refactor the ProbeMonitorResponseService and Metrics component. This includes removing redundant code in ProbeMonitorResponseService and simplifying the Metrics component by removing unnecessary props. These changes improve code organization and maintainability.
2024-05-23 20:31:16 +01:00
Simon Larsen
e94cc8083a refactor: Improve error messages in MetricsInfo and SSLCertificateMonitorView components 2024-05-23 18:58:43 +01:00
Simon Larsen
847f426bc6 refactor: Improve error messages in MetricsInfo and SSLCertificateMonitorView components
The code changes in this commit improve the error messages in the MetricsInfo and SSLCertificateMonitorView components. The updated error messages provide more helpful information to users, indicating that it may take a few minutes for metrics to show up for the selected probe. This enhancement improves the user experience and reduces confusion when metrics are not immediately available.
2024-05-23 18:49:30 +01:00
Simon Larsen
74bcadb2e7 refactor: Update MonitorView and Metrics components
The code changes in this commit update the MonitorView and Metrics components. Specifically, the changes introduce type annotations and improve the readability of the code by using more descriptive variable names. These updates enhance the maintainability and understanding of the codebase.
2024-05-23 18:16:24 +01:00
Simon Larsen
3e255e6dd1 refactor: Remove unused isHeadRequest property in MonitorUtil and ApiMonitor 2024-05-23 17:41:37 +01:00
snyk-bot
eb5cf5a3cb fix: upgrade posthog-js from 1.130.1 to 1.130.2
Snyk has created this PR to upgrade posthog-js from 1.130.1 to 1.130.2.

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-05-23 12:51:38 +00:00
Simon Larsen
df7bd46428 Remove unused isHeadRequest property in MonitorUtil and ApiMonitor 2024-05-23 13:40:34 +01:00
Simon Larsen
e6dadd0673 refactor: Remove unused isHeadRequest property in MonitorUtil and ApiMonitor 2024-05-23 11:43:54 +01:00
Simon Larsen
ee8706e75b refactor: Remove unused isHeadRequest property in MonitorUtil and ApiMonitor
The code changes remove the unused `isHeadRequest` property in the `MonitorUtil` and `ApiMonitor` classes. This cleanup improves code readability and eliminates unnecessary code.
2024-05-23 10:22:09 +01:00
Simon Larsen
da70359945 feat: Add resourcesAffected field to maintenance event notification templates 2024-05-22 21:13:35 +01:00
Simon Larsen
3622021e57 refactor: Update screenshot handling in monitor scripts 2024-05-22 20:21:22 +01:00
Simon Larsen
5aeada377a feat: Add screenshot functionality to synthetic monitor script 2024-05-22 20:18:13 +01:00
Simon Larsen
d34a493724 feat: Add timeout configuration for monitor scripts
The commit updates the README.md file to include new configurable parameters for timeout values in the monitor scripts. This allows users to set specific timeout values for synthetic monitor scripts, custom code monitor scripts, and workflow scripts. The addition of these timeout configurations improves the flexibility and reliability of the monitoring system.
2024-05-22 20:08:35 +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
39407795a2 refactor: Update logger.debug calls in AnalyticsDatabaseService tests 2024-05-22 14:10:22 +01:00
Simon Larsen
63dfb56da3 refactor: Update return value in StatusPageDomainService
The return value in the `getStatusPageDomain` method of the `StatusPageDomainService` class was updated to `true` to fix a bug where it was always returning `false`. This change ensures that the method returns the correct value based on the success or failure of the database query.
2024-05-22 13:35:18 +01:00
Simon Larsen
ed8714cc34 refactor: Update logger.debug calls in AnalyticsDatabaseService tests
The logger.debug calls in the AnalyticsDatabaseService tests were updated to improve logging consistency and accuracy.
2024-05-22 13:22:37 +01:00
Simon Larsen
dedda5b53b refactor: Add screenshot functionality to synthetic monitor script 2024-05-22 12:39:31 +01:00
Simon Larsen
df2af5858c Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-22 12:34:59 +01:00
Simon Larsen
e25d38ee74 refactor: Update axios dependency to version 1.6.8 2024-05-22 12:34:57 +01:00
Simon Larsen
2b0dd6687d Merge pull request #1435 from OneUptime/snyk-upgrade-8ff00708899512e4a35ebf204a59691e
[Snyk] Upgrade @nivo/core from 0.85.1 to 0.86.0
2024-05-22 12:30:14 +01:00
Simon Larsen
22f08a4c47 refactor: Add timeout information to monitor documentation 2024-05-22 12:26:16 +01:00
Simon Larsen
fda11d81c0 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-22 12:17:27 +01:00
Simon Larsen
18e68b3505 refactor: Remove unnecessary hyphen in monitor documentation
This commit removes an unnecessary hyphen in the monitor documentation by correcting the spelling of "Synthetic Monitor" in both the custom-code-monitor.md and synthetic-monitor.md files. The typo was causing inconsistency in the naming of the monitor, and this fix ensures accuracy and clarity in the documentation.
2024-05-22 12:17:09 +01:00
Simon Larsen
a8a550809d refactor: Fix typo in monitor documentation
This commit fixes a typo in the monitor documentation by correcting the spelling of "Synthetic Monitor" in both the custom-code-monitor.md and synthetic-monitor.md files. The typo was causing inconsistency in the naming of the monitor, and this fix ensures accuracy and clarity in the documentation.
2024-05-22 12:16:42 +01:00
Simon Larsen
dbacf998ff refactor: Add new monitor links to DocsNav
This commit adds new monitor links to the DocsNav utility in the FeatureSet/Docs/Utils/Nav.ts file. The links include "Custom Code Monitor" and "Synthetic Monitor" with their respective URLs. This enhancement improves the navigation experience for users accessing the monitor documentation section.
2024-05-22 12:13:38 +01:00
Simon Larsen
0d41d97b8d refactor: Fix syntax error in MonitorStep and CriteriaFilterUtil 2024-05-22 11:59:33 +01:00
Simon Larsen
36ecf78c4c refactor: Update executionTimeInMS type to number in CustomCodeMonitorResponse
This commit updates the type of the executionTimeInMS property in the CustomCodeMonitorResponse interface from PositiveNumber to number. The PositiveNumber type was unnecessary and caused compatibility issues with other parts of the codebase. Changing it to number simplifies the code and ensures consistency across the application.
2024-05-22 11:57:57 +01:00
Simon Larsen
3eb0eb4289 refactor: Fix syntax error in MonitorStep and CriteriaFilterUtil
This commit fixes a syntax error in the MonitorStep and CriteriaFilterUtil files. In MonitorStep, the syntax error was caused by an extra semicolon (;) in the screenshotDataInBase64 assignment. In CriteriaFilterUtil, the return statement was incorrectly set to true instead of false. These changes ensure that the code is correct and functioning as intended.
2024-05-22 11:47:13 +01:00
Simon Larsen
01c214b51e refactor: Update CodeEditor placeholder for JavaScript type
This commit updates the CodeEditor component to improve the placeholder text for the JavaScript type. The placeholder now includes additional line breaks and indentation for better readability and code organization. This change enhances the user experience when working with JavaScript code in the CodeEditor.
2024-05-22 11:33:54 +01:00
snyk-bot
f756df1e5f fix: upgrade @nivo/core from 0.85.1 to 0.86.0
Snyk has created this PR to upgrade @nivo/core from 0.85.1 to 0.86.0.

See this package in npm:
@nivo/core

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-05-22 10:21:17 +00:00
Simon Larsen
e2a7f7efc5 refactor: Add support for ArrayOfText field type in Detail component
This commit adds support for the ArrayOfText field type in the Detail component. When the field type is ArrayOfText and there is data available, the data is joined with commas and displayed in the UI. This enhancement improves the user experience by properly rendering and handling the ArrayOfText field type in the Detail component.
2024-05-22 10:58:34 +01:00
Simon Larsen
3bf4137db2 refactor: Update Dockerfile to install necessary dependencies
This commit updates the Dockerfile to install necessary dependencies for the application. It adds the installation of bash, curl, python3, make, g++, and various libraries required for playwright. Additionally, it installs net-tools for network-related functionality. These changes ensure that the application has all the required dependencies to run properly in the Docker environment.
2024-05-22 10:24:06 +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
89e08614f4 refactor: Update RunWorkflow to use VMAPI for replacing values in argumentContent
This commit refactors the RunWorkflow class to use the VMAPI module instead of the deprecated VMUtil module for replacing values in the argumentContent. The VMAPI module provides a more up-to-date and efficient method for replacing values, improving the performance and maintainability of the code.
2024-05-21 20:51:16 +01:00
Simon Larsen
631c22aa64 refactor: Update SyntheticMonitor to use async/await for CustomCodeMonitoringCriteria
This commit updates the SyntheticMonitor class to use async/await when calling the CustomCodeMonitoringCriteria.isMonitorInstanceCriteriaFilterMet() method. This change ensures that the method is properly awaited, allowing for better control flow and error handling. The use of async/await improves the readability and maintainability of the code.
2024-05-21 20:48:46 +01:00
Simon Larsen
0c4ad712b0 refactor: Update CriteriaFilterUtil to filter options based on checkOn value 2024-05-21 20:47:40 +01:00
Simon Larsen
0e4f54d048 refactor: Update CriteriaFilterUtil to filter options based on checkOn value 2024-05-21 20:39:42 +01:00
Simon Larsen
80ede00ced refactor: Update CriteriaFilterUtil to filter options based on checkOn value 2024-05-21 20:37:04 +01:00
Simon Larsen
40b9573324 refactor: Update CriteriaFilterUtil to filter options based on checkOn value
This commit refactors the CriteriaFilterUtil class to improve the filtering of options based on the checkOn value. It removes the unnecessary check for CheckOn.Error in the if statement and adds a new if statement specifically for CheckOn.Error. This change ensures that the options are filtered correctly for each checkOn value, enhancing the accuracy and effectiveness of the criteria filtering functionality.
2024-05-21 20:12:14 +01:00
Simon Larsen
e09f856c92 refactor: Update ProbeApiIngestResponse and APIRequestCriteria
This commit updates the `ProbeApiIngestResponse` interface to include a comment indicating that the `rootCause` property is in markdown format. Additionally, it modifies the `APIRequestCriteria` class to use the `convertToNumber` method from the `CompareCriteria` class instead of the deprecated `convertThresholdToNumber` method. These changes improve the clarity and maintainability of the code.
2024-05-21 19:42:38 +01:00
Simon Larsen
9db5aa56e6 refactor: Update MonitorMetricsByMinute to include browser type and screen size type
This commit modifies the MonitorMetricsByMinute class to include the browserType and screenSizeType properties in the MonitorMetricsMiscData interface. This allows for capturing additional information about the browser type and screen size during monitoring. The changes enhance the accuracy and completeness of the monitoring data.
2024-05-21 15:37:07 +01:00
Simon Larsen
f8c43136e9 refactor: Close browser and page in SyntheticMonitor
This commit refactors the SyntheticMonitor class to ensure that the browser and page are properly closed after use. The code now checks if the page and browser objects exist before attempting to close them, preventing potential memory leaks. This improvement enhances the reliability and efficiency of the SyntheticMonitor functionality.
2024-05-21 15:29:47 +01:00
Simon Larsen
3fb804c4e7 Update import paths for BrowserType and ScreenSizeType enums 2024-05-21 14:49:17 +01:00
Simon Larsen
dad1f1a464 feat: Add support for CustomCodeMonitor in MonitorUtil
This commit adds support for the CustomCodeMonitor type in the MonitorUtil class. It includes the necessary code to execute custom JavaScript code provided in the monitor step data. This enhancement improves the flexibility of the monitoring system by allowing users to define and execute their own custom code for monitoring purposes.
2024-05-21 14:43:03 +01:00
Simon Larsen
95e9eacc83 refactor: Update import paths for VMUtil in JavaScript and IfElse components 2024-05-21 14:42:13 +01:00
Simon Larsen
14b5da110f feat: Update BrowserType enum values
This commit updates the values of the BrowserType enum in the file `Common/Types/BrowserType.ts`. The `Chrome` value is changed to `Chromium`, and the `Safari` value is changed to `Webkit`. This change reflects more accurate and up-to-date browser names, improving the clarity and consistency of the code.
2024-05-21 14:38:15 +01:00
Simon Larsen
b66cd889c0 feat: Update import paths for VMUtil in JavaScript and IfElse components 2024-05-21 14:17:49 +01:00
Simon Larsen
d323c70a51 feat: Add support for SyntheticMonitorResponse in ProbeMonitorResponse
This commit adds the `syntheticMonitorResponse` property to the `ProbeMonitorResponse` interface in order to support the `SyntheticMonitorResponse` type. This allows for the inclusion of synthetic monitor data in the probe monitor response, providing more comprehensive monitoring information.
2024-05-21 13:29:11 +01:00
Simon Larsen
8962ecf42a Merge pull request #1431 from OneUptime/snyk-upgrade-ffa44874323f7156fd8e796f35bbdac2
[Snyk] Upgrade posthog-js from 1.130.0 to 1.130.1
2024-05-21 12:23:42 +01:00
Simon Larsen
31f92c3611 Merge pull request #1433 from OneUptime/snyk-upgrade-43877da1161195f77e3cab219ba9ecab
[Snyk] Upgrade @nivo/line from 0.85.1 to 0.86.0
2024-05-21 12:23:28 +01:00
Simon Larsen
6bed753de3 feat: Add playwright module to VMRunner for browser automation
This commit adds the playwright module to the VMRunner class in order to enable browser automation capabilities. By including playwright, we can now execute code that interacts with web browsers, allowing for more advanced testing and automation scenarios.
2024-05-21 12:08:50 +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
ccaaaa1823 feat: Fix pagination bug in Pagination component
This commit fixes a bug in the Pagination component where the currentPageNumber was not being properly converted to a number before performing calculations. The bug caused incorrect navigation to the previous and next pages. The issue is resolved by adding a check to convert the currentPageNumber to a number if it is a string.
2024-05-21 12:04:32 +01:00
Simon Larsen
7d7fa2b8f1 feat: Remove unnecessary error message in MonitorStepsElement component 2024-05-21 11:50:47 +01:00
Simon Larsen
2ca57ac8bf feat: Add support for SyntheticMonitor and CustomJavaScriptCode in MonitorTypeHelper
The code changes in `MonitorType.ts` and `MonitorService.ts` add support for the `SyntheticMonitor` and `CustomJavaScriptCode` monitor types in the `MonitorTypeHelper` class. This allows for easier identification of probeable monitor types and improves the flexibility of the monitoring system.
2024-05-21 11:22:26 +01:00
Simon Larsen
a75f655f72 feat: Update code editor placeholders for MonitorStep
This commit updates the code editor placeholders in the MonitorStep component to provide example code using axios and playwright modules. This allows users to easily understand and customize the code for their specific monitoring needs.
2024-05-21 11:13:29 +01:00
Simon Larsen
6ca38a1adb feat: Update MonitorStep to remove unnecessary documentation line 2024-05-21 10:57:41 +01:00
Simon Larsen
46a095569d feat: Update code editor placeholders for CustomJavaScriptCode and SyntheticMonitor
This commit updates the code editor placeholders in the MonitorStep component for the CustomJavaScriptCode and SyntheticMonitor types. The placeholders now provide example code using axios and playwright modules, allowing users to easily understand and customize the code for their specific monitoring needs.
2024-05-21 10:55:29 +01:00
Simon Larsen
cec38190fd feat: Update fetchDropdownOptions to accept item parameter
This commit modifies the `fetchDropdownOptions` function in the `Field` interface to accept an additional `item` parameter of type `FormValues<TEntity>`. This change allows for more dynamic fetching of dropdown options based on the current form values, improving the flexibility and customization of the form fields.
2024-05-21 10:44:49 +01:00
Simon Larsen
ca746d1436 feat: Update CategoryCheckboxType to make categoryId optional
This commit updates the `CategoryCheckboxType` interface to make the `categoryId` property optional. This change allows for more flexibility when working with category checkboxes, as the `categoryId` is not always required.
2024-05-21 10:20:46 +01:00
snyk-bot
2f6133bba0 fix: upgrade @nivo/line from 0.85.1 to 0.86.0
Snyk has created this PR to upgrade @nivo/line from 0.85.1 to 0.86.0.

See this package in npm:
@nivo/line

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-05-21 08:38:52 +00:00
snyk-bot
d1f62d3c66 fix: upgrade @nivo/core from 0.85.1 to 0.86.0
Snyk has created this PR to upgrade @nivo/core from 0.85.1 to 0.86.0.

See this package in npm:
@nivo/core

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-05-21 08:38:48 +00:00
snyk-bot
db2c6b0ea5 fix: upgrade posthog-js from 1.130.0 to 1.130.1
Snyk has created this PR to upgrade posthog-js from 1.130.0 to 1.130.1.

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-05-21 08:22:26 +00:00
Simon Larsen
a2033b94dd feat: Add checkbox lists for browser type and screen type in SyntheticMonitor
This commit adds checkbox lists for selecting the browser type and screen type in the SyntheticMonitor step of the MonitorStep component. This allows users to choose the desired browser and screen type for running the test in SyntheticMonitor.
2024-05-20 21:37:27 +01:00
Simon Larsen
d23c62d30a feat: Update CheckOn enum value to 'ResultValue'
This commit updates the CheckOn enum value in the CriteriaFilter module from 'Result' to 'ResultValue'. This change provides a more descriptive and accurate representation of the value being checked in custom code or JavaScript monitors.
2024-05-20 21:26:28 +01:00
Simon Larsen
6ca5b9572e feat: Add setCustomCode method to MonitorStep class
The code changes include adding a new method, `setCustomCode`, to the `MonitorStep` class. This method allows for setting custom code for a monitor step, enabling the execution of custom JavaScript code in certain types of monitors.
2024-05-20 21:08:51 +01:00
Simon Larsen
f5f62d905b feat: Add custom code support for monitor steps
The code changes include adding support for custom code in monitor steps. This allows for the execution of custom code or JavaScript in certain types of monitors.
2024-05-20 21:03:08 +01:00
Simon Larsen
876de677cd refactor: Update MonitorType descriptions for clarity and consistency 2024-05-20 20:18:23 +01:00
Simon Larsen
19cb221f33 feat: Add isEditable prop to StatusPageDelete component 2024-05-20 19:19:54 +01:00
Simon Larsen
f0f774ecdb Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-20 15:20:08 +01:00
Simon Larsen
e333c2d43b Merge remote-tracking branch 'origin/snyk-upgrade-74c46bacccd4fb74e83b0646ec8750cb' 2024-05-20 15:20:05 +01:00
Simon Larsen
4cdb832b34 Merge remote-tracking branch 'origin/snyk-upgrade-462450f669807b7eb04e4c4d125fbf2b' into release 2024-05-20 15:17:36 +01:00
Simon Larsen
367715c077 Merge pull request #1428 from OneUptime/snyk-upgrade-3b57e17a87dddbfededa11f5d0e72927
[Snyk] Upgrade: react, react-dom
2024-05-19 09:01:40 +01:00
Simon Larsen
945eb3d11b Merge pull request #1429 from OneUptime/snyk-upgrade-69be6d2a85331ea8cb47b3e28bcc2efe
[Snyk] Upgrade: react, react-dom
2024-05-19 09:01:35 +01:00
snyk-bot
b4c4273485 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.3.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.3.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-19 06:44:45 +00:00
snyk-bot
1c319bb432 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-19 06:42:42 +00:00
Simon Larsen
6fc8bc3628 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-18 20:33:28 +01:00
Simon Larsen
33e9c8fbe7 refactor: Optimize bulk item deselection logic in Table component 2024-05-18 20:33:11 +01:00
Simon Larsen
6f4da22874 refactor: Update ProgressBar component to support different sizes 2024-05-18 19:53:04 +01:00
Simon Larsen
772341a15c refactor: Update Table and FilterViewer components
This code change updates the Table and FilterViewer components to improve their functionality and user experience.

In the Table component, the onActionEnd callback is modified to reset the state of isAllItemsSelected, setBulkSelectedItems, and then call the props.onBulkActionEnd function. This change ensures that the bulk action end event is handled correctly.

In the FilterViewer component, the styling of the filter criteria section is updated to improve readability. The font size and spacing are adjusted to provide a better visual presentation of the filter criteria.

These refactorings enhance the overall performance and usability of the components.
2024-05-18 19:41:05 +01:00
Simon Larsen
387fdd7b15 Merge pull request #1426 from OneUptime/snyk-upgrade-424acac7465574c09845de51ffbb9e27
[Snyk] Upgrade posthog-js from 1.129.0 to 1.130.0
2024-05-18 19:18:05 +01:00
Simon Larsen
16bad74c4d Merge pull request #1427 from OneUptime/snyk-upgrade-977cadc46113d94d06a8445c04bd36a6
[Snyk] Upgrade: react, react-dom
2024-05-18 19:18:00 +01:00
Simon Larsen
054242df60 refactor: Optimize bulk item deselection in Table component 2024-05-18 19:13:38 +01:00
snyk-bot
3d4aecb896 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.3.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.3.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-dom

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-05-18 17:51:55 +00:00
snyk-bot
26c8712fce fix: upgrade posthog-js from 1.129.0 to 1.130.0
Snyk has created this PR to upgrade posthog-js from 1.129.0 to 1.130.0.

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-05-18 17:41:08 +00:00
Simon Larsen
ab090ab016 refactor: Optimize bulk item deselection in Table component
This code change optimizes the bulk item deselection functionality in the Table component. Instead of using the `filter` method to remove the deselected item from the `bulkSelectedItems` array, it now uses the `findIndex` method to locate the index of the item and then removes it using the `splice` method. This approach improves the performance of bulk item deselection, especially when dealing with large datasets.
2024-05-18 16:34:00 +01:00
Simon Larsen
4653711b58 refactor: Improve error handling in BulkUpdateForm
This code change improves the error handling in the BulkUpdateForm component. The error handling logic is updated to display a more informative error message when a bulk update action fails. This refactor enhances the user experience by providing clearer feedback on failed bulk actions.
2024-05-18 16:28:52 +01:00
Simon Larsen
9aa1876e70 refactor: Update SimpleLogViewer component to be used in BulkUpdateForm
This code change updates the SimpleLogViewer component to be used in the BulkUpdateForm. The component is imported and rendered in the BulkUpdateForm to display logs in a consistent and reusable way. This refactor improves code reusability and reduces duplication by leveraging an existing component for log viewing.
2024-05-18 16:25:14 +01:00
Simon Larsen
40d9aff56a refactor: Update SimpleLogViewer component to use in CallLog, Probes, Workflow, and StatusTimeline pages
This code change updates the SimpleLogViewer component to be used in the CallLog, Probes, Workflow, and StatusTimeline pages. The component is imported and rendered in these pages to display logs in a consistent and reusable way. This refactor improves code reusability and reduces duplication across multiple pages.
2024-05-18 16:20:11 +01:00
Simon Larsen
3c88a1b879 refactor: Update ProgressBar component to support different sizes
This code change updates the ProgressBar component to support different sizes. A new enum `ProgressBarSize` is introduced to define the available sizes: Small, Medium, and Large. The `size` prop is added to the `ComponentProps` interface, allowing the user to specify the desired size of the progress bar. This enhancement provides more flexibility in customizing the appearance of the progress bar based on the UI requirements.
2024-05-18 16:07:32 +01:00
Simon Larsen
149baf17ef refactor: Optimize bulk item deselection in Table component
This code change optimizes the bulk item deselection functionality in the Table component. Instead of using the `filter` method to remove the deselected item from the `bulkSelectedItems` array, it now uses the `findIndex` method to locate the index of the item and then removes it using the `splice` method. This approach improves the performance of bulk item deselection, especially when dealing with large datasets.
2024-05-18 15:57:38 +01:00
Simon Larsen
424cfa2094 refactor: Fix bulk action end event handling in Table component 2024-05-18 15:49:32 +01:00
Simon Larsen
d114c52d6f refactor: Optimize bulk item deselection in Table component 2024-05-18 14:55:30 +01:00
Simon Larsen
213e2111a5 refactor: Optimize bulk item deselection in Table component
This code change optimizes the bulk item deselection functionality in the Table component. Instead of using the `filter` method to remove the deselected item from the `bulkSelectedItems` array, it now uses the `findIndex` method to locate the index of the item and then removes it using the `splice` method. This approach improves the performance of bulk item deselection, especially when dealing with large datasets.
2024-05-18 14:30:47 +01:00
Simon Larsen
31837ef1f5 feat: Add support for bulk actions in Table component 2024-05-18 14:29:22 +01:00
Simon Larsen
b906ff1dce Merge pull request #1423 from OneUptime/snyk-upgrade-853a678be23c5b34b8ae866769c5a56d
[Snyk] Upgrade: react, react-dom
2024-05-18 13:42:04 +01:00
Simon Larsen
cc4d6514cc Merge pull request #1422 from OneUptime/snyk-upgrade-f86bfe08d4514e02784875637d35f3da
[Snyk] Upgrade react-router-dom from 6.22.3 to 6.23.0
2024-05-18 13:41:34 +01:00
Simon Larsen
005256084e Merge pull request #1424 from OneUptime/snyk-upgrade-79a48669a7990a61a83374567c38f84c
[Snyk] Upgrade: react, react-dom
2024-05-18 13:41:28 +01:00
Simon Larsen
67b542d828 feat: Add bulk actions to Table component
The code changes in this commit add support for bulk actions in the Table component. The `BulkActionProps` interface is introduced to define the bulk action buttons, and the `BulkUpdateForm` component is rendered to display the bulk action buttons when provided. This enhancement allows users to perform actions on multiple items in the table simultaneously, improving the efficiency of managing data.
2024-05-17 21:40:10 +01:00
snyk-bot
c147c49465 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-17 18:05:45 +00:00
snyk-bot
9428d08def fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-17 17:38:03 +00:00
snyk-bot
79f27550df fix: upgrade react-router-dom from 6.22.3 to 6.23.0
Snyk has created this PR to upgrade react-router-dom from 6.22.3 to 6.23.0.

See this package in npm:
https://www.npmjs.com/package/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
2024-05-17 17:08:53 +00:00
snyk-bot
21d62eab18 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-17 17:08:48 +00:00
Simon Larsen
f011559cd2 chore: Add disableSubmitButton prop to ConfirmModal 2024-05-17 18:05:29 +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
e771172b79 refactor: Remove unused code in FilterViewer.tsx 2024-05-17 15:13:07 +01:00
Simon Larsen
9476327a6a Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-17 14:31:01 +01:00
Simon Larsen
7c14931bb9 refactor: Remove unused @types/markdown-it dependency 2024-05-17 14:30:39 +01:00
Simon Larsen
2ad245083d Merge pull request #1416 from OneUptime/snyk-upgrade-87afa35300d240576e9a2e10b5028185
[Snyk] Upgrade @opentelemetry/instrumentation-xml-http-request from 0.50.0 to 0.51.0
2024-05-17 14:03:54 +01:00
Simon Larsen
81da1546d9 Merge pull request #1419 from OneUptime/markdown-refactor
refactor: Update dependencies and scripts in package.json files
2024-05-17 14:00:41 +01:00
Simon Larsen
a48f472c52 refactor: Update Markdown import in UserNotificationRuleService.ts 2024-05-17 14:00:19 +01:00
Simon Larsen
2a9b3db168 Merge pull request #1418 from OneUptime/snyk-upgrade-4dfc247506d9048ad782d9cdb39ee861
[Snyk] Upgrade: react, react-dom
2024-05-17 13:40:42 +01:00
Simon Larsen
bbc95a3a1d Merge pull request #1417 from OneUptime/snyk-upgrade-2b094c75c37c28e17e318b9fecab3c1a
[Snyk] Upgrade formik from 2.4.5 to 2.4.6
2024-05-17 13:40:37 +01:00
Simon Larsen
0bbb35ff43 Merge pull request #1415 from OneUptime/snyk-upgrade-98c666ed907eebd3249d1581c5f9aca0
[Snyk] Upgrade: react, react-dom
2024-05-17 13:40:27 +01:00
Simon Larsen
7edd8f197a refactor: Remove unused code in Markdown.ts
This code change removes the unused code in the Markdown.ts file that was responsible for customizing the rendering of paragraphs, blockquotes, images, and headings. This code is no longer needed and can be safely removed, simplifying the codebase and improving maintainability.
2024-05-17 13:32:56 +01:00
Simon Larsen
1ad239a9fe Remove unused Tailwind CSS configuration code from the End.hbs template file. The removed code was setting the font family for the display and body elements. This code is no longer needed and can be safely removed. 2024-05-17 13:26:46 +01:00
Simon Larsen
eeae73b7a4 refactor: Update Markdown import in UserNotificationRuleService.ts
This code change updates the import statement for the Markdown module in the UserNotificationRuleService.ts file. It now imports the Markdown module along with the MarkdownContentType enum from the Types/Markdown file. This update ensures that the MarkdownContentType.Email is used when converting the incident description to HTML. This change improves the handling of Markdown content in the UserNotificationRuleService.
2024-05-17 13:24:51 +01:00
Simon Larsen
026997a679 refactor: Update dependencies and scripts in package.json files 2024-05-17 13:17:56 +01:00
Simon Larsen
aa83db3e48 refactor: Add deletedByUser and deletedByUserId columns to User model
This code change adds the `deletedByUser` and `deletedByUserId` columns to the `User` model. These columns are used to track the user who deleted the object and their corresponding user ID. This enhancement allows for better auditing and tracking of deleted objects in the system.
2024-05-17 12:08:05 +01:00
snyk-bot
5725c6a17a fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.0.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.0.
    See this package in npm: https://www.npmjs.com/package/react-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
2024-05-16 21:55:07 +00:00
snyk-bot
79171c93d9 fix: upgrade formik from 2.4.5 to 2.4.6
Snyk has created this PR to upgrade formik from 2.4.5 to 2.4.6.

See this package in npm:
https://www.npmjs.com/package/formik

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-05-16 21:39:13 +00:00
snyk-bot
5073a15bf1 fix: upgrade @opentelemetry/instrumentation-xml-http-request from 0.50.0 to 0.51.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-xml-http-request from 0.50.0 to 0.51.0.

See this package in npm:
https://www.npmjs.com/package/@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-05-16 21:39:09 +00:00
snyk-bot
9285e9b401 fix: upgrade multiple dependencies with Snyk
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.0.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 18.2.0 to 18.3.0.
    See this package in npm: https://www.npmjs.com/package/react-dom

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-05-16 21:39:02 +00:00
Simon Larsen
b6adf3fb40 refactor: Improve JSON filter handling in StatementGenerator.ts 2024-05-16 17:46:43 +01:00
Simon Larsen
164e6062c9 refactor: Improve JSON filter handling in StatementGenerator.ts 2024-05-16 17:38:21 +01:00
Simon Larsen
1ebc8a9d91 feat: Add support for JSON filters in BaseModelTable
This commit adds support for JSON filters in the `BaseModelTable` component. It checks if a filter is of type `FieldType.JSON` and if the filter data is of type `Object`. If both conditions are met, the filter data is included in the query. This enhancement allows for more flexible filtering options when working with JSON data in the table.
2024-05-16 17:32:03 +01:00
Simon Larsen
3205453608 refactor: Update Dictionary component to handle different value types 2024-05-16 16:28:56 +01:00
Simon Larsen
be3d4b2ce0 refactor: Update Dictionary component to handle different value types
The code changes in the Dictionary component refactor the implementation to handle different value types, including strings, numbers, and booleans. This allows for more flexibility and accuracy when working with dictionary data in the component.
2024-05-16 16:20:59 +01:00
Simon Larsen
7c8aabe3e8 feat: Improve formatJson function in FilterViewer component
The code changes in the FilterViewer component improve the formatJson function by updating the styling and layout of the rendered JSON elements. This enhances the readability and visual presentation of the JSON data in the component.
2024-05-16 14:07:20 +01:00
Simon Larsen
b0c62ed827 Merge branch 'master' into attributes-filter 2024-05-16 13:32:07 +01:00
Simon Larsen
80a1827455 chore: Update ServerMonitorDocumentation script to use sudo for agent installation and configuration 2024-05-16 13:28:31 +01:00
Simon Larsen
bbb1b2e944 feat: Add equals icon to Dictionary component
The code changes add the `Equals` icon to the `Dictionary` component in the `CommonUI` module. This icon is used to visually represent the equality operator in the component.
2024-05-16 13:27:01 +01:00
Simon Larsen
f70878317a Merge branch 'master' into attributes-filter 2024-05-16 12:40:58 +01:00
Simon Larsen
f5184db0fa feat: Update UptimeUtil to sort monitor status timeline items by start date 2024-05-16 11:47:03 +01:00
Simon Larsen
19128a50d2 feat: Sort monitor status timeline items by start date in UptimeUtil.getMonitorEventsForId() 2024-05-16 11:45:35 +01:00
Simon Larsen
8fbb3774d1 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-16 10:53:42 +01:00
Simon Larsen
441efb3d1a chore: Update ServerMonitorDocumentation script to use sudo for agent installation and configuration 2024-05-16 10:53:39 +01:00
Simon Larsen
180491fa57 Merge pull request #1410 from OneUptime/snyk-upgrade-15b470e61c0a4d4baa2eaa864ea3be83
[Snyk] Upgrade react-router-dom from 6.22.2 to 6.23.0
2024-05-16 09:36:07 +01:00
Simon Larsen
7269e93967 Merge pull request #1411 from OneUptime/snyk-upgrade-e4184b69842e3f221e7c756fa028c1da
[Snyk] Upgrade posthog-js from 1.128.3 to 1.129.0
2024-05-16 09:36:02 +01:00
Simon Larsen
a754ec094b Merge pull request #1412 from OneUptime/snyk-upgrade-306eaee1a74876bbe32ce542109f7a61
[Snyk] Upgrade @opentelemetry/exporter-trace-otlp-http from 0.50.0 to 0.51.0
2024-05-16 09:35:47 +01:00
Simon Larsen
d9e097eeb2 Merge pull request #1414 from OneUptime/snyk-upgrade-1581bc45275ce8db68d7fda22e605ad3
[Snyk] Upgrade @opentelemetry/instrumentation-fetch from 0.50.0 to 0.51.0
2024-05-16 09:35:40 +01:00
snyk-bot
53d7aab558 fix: upgrade @opentelemetry/instrumentation-fetch from 0.50.0 to 0.51.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-fetch from 0.50.0 to 0.51.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/instrumentation-fetch

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-05-15 21:28:18 +00:00
snyk-bot
dcf2584987 fix: upgrade @opentelemetry/instrumentation from 0.50.0 to 0.51.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation from 0.50.0 to 0.51.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/instrumentation

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-05-15 21:28:14 +00:00
snyk-bot
d18310ec69 fix: upgrade @opentelemetry/exporter-trace-otlp-http from 0.50.0 to 0.51.0
Snyk has created this PR to upgrade @opentelemetry/exporter-trace-otlp-http from 0.50.0 to 0.51.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http

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-05-15 21:28:09 +00:00
snyk-bot
f61d603e21 fix: upgrade posthog-js from 1.128.3 to 1.129.0
Snyk has created this PR to upgrade posthog-js from 1.128.3 to 1.129.0.

See this package in npm:
https://www.npmjs.com/package/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-05-15 21:14:16 +00:00
snyk-bot
52a44a8383 fix: upgrade react-router-dom from 6.22.2 to 6.23.0
Snyk has created this PR to upgrade react-router-dom from 6.22.2 to 6.23.0.

See this package in npm:
https://www.npmjs.com/package/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
2024-05-15 17:51:59 +00:00
Simon Larsen
be848d37a2 Update field descriptions in MonitorCriteriaInstance and MonitorSteps components to improve clarity and consistency. 2024-05-15 17:23:21 +01:00
Simon Larsen
df3a7e1a99 Merge pull request #1408 from OneUptime/snyk-upgrade-1bf0797993f09a9d25f81a37ef931556
[Snyk] Upgrade react-router-dom from 6.22.3 to 6.23.0
2024-05-15 16:46:41 +01:00
Simon Larsen
a6e9f7cd1e feat: Add startsAt and endsAt fields to MonitorView component 2024-05-15 10:59:10 +01:00
Simon Larsen
2e29a63f7b chore: Use explicit type annotation in UptimeUtil loop 2024-05-15 10:38:25 +01:00
Simon Larsen
c153c8c656 chore: Add YouTube tutorial link to README.md 2024-05-15 10:22:56 +01:00
Simon Larsen
61cbaaf4f0 chore: Fix missing end dates in MonitorStatusTimeline 2024-05-15 10:21:58 +01:00
Simon Larsen
70aae76ae3 Merge branch 'master' of github.com:OneUptime/oneuptime 2024-05-14 19:13:08 +01:00
Simon Larsen
972bc9c4cf chore: Update E2E test environment variables in config.example.env 2024-05-14 19:12:52 +01:00
snyk-bot
fb902170e2 fix: upgrade react-router-dom from 6.22.3 to 6.23.0
Snyk has created this PR to upgrade react-router-dom from 6.22.3 to 6.23.0.

See this package in npm:
https://www.npmjs.com/package/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
2024-05-14 17:21:26 +00:00
Simon Larsen
286429b58f Merge pull request #1404 from OneUptime/snyk-upgrade-9daf4730397a2c5fc08ea00edc4e2109
[Snyk] Upgrade posthog-js from 1.128.1 to 1.128.3
2024-05-14 18:09:32 +01:00
Simon Larsen
b799ce08a9 Merge pull request #1405 from OneUptime/snyk-upgrade-ad84e59eae164272636397edd988457f
[Snyk] Upgrade reactflow from 11.11.1 to 11.11.2
2024-05-14 18:09:25 +01:00
Simon Larsen
b30bb4c95e chore: Update infrastructure agent installation script and documentation 2024-05-14 17:55:15 +01:00
Simon Larsen
0e3eb81ae4 chore: Fix missing end dates in MonitorStatusTimeline 2024-05-14 17:01:57 +01:00
Simon Larsen
b997520977 Merge pull request #1407 from OneUptime/semaphore-monitor-status-timeline
chore: Add mutex lock and release for MonitorStatusTimeline creation
2024-05-14 16:55:50 +01:00
Simon Larsen
29675f2624 Update GoReleaser command in release workflow to include GORELEASER_CURRENT_TAG environment variable 2024-05-14 16:54:45 +01:00
Simon Larsen
fb83476795 chore: Add new data migration to include missing end dates in MonitorStatusTimeline 2024-05-14 16:43:42 +01:00
Simon Larsen
0420586a0e chore: Add mutex lock and release for MonitorStatusTimeline creation 2024-05-14 16:36:25 +01:00
Simon Larsen
900f76f8c8 chore: Update GoReleaser command in release workflow to include GORELEASER_CURRENT_TAG environment variable 2024-05-14 16:27:13 +01:00
Simon Larsen
082c5732c0 chore: Improve UptimeUtil logic for calculating end date 2024-05-14 16:11:46 +01:00
Simon Larsen
20c03c5fd9 chore: Update GoReleaser to version 1 and run release command for InfrastructureAgent 2024-05-14 15:59:52 +01:00
Simon Larsen
5adb8f0d38 chore: Update E2E test environment variables in config.example.env 2024-05-14 15:39:19 +01:00
Simon Larsen
a54037408e Update docker-compose.md with installation tutorial link 2024-05-14 15:37:14 +01:00
Simon Larsen
4c0cf60c42 chore: Update docker-compose.md with sudo command for binding ports 2024-05-14 15:19:16 +01:00
Simon Larsen
6aac72a226 chore: Update dependencies and job dependencies for infrastructure-agent-deploy 2024-05-14 12:56:43 +01:00
Simon Larsen
d1424840d8 chore: Update infrastructure-agent-deploy job dependency to github-release 2024-05-14 12:55:32 +01:00
Simon Larsen
0a90736338 chore: Configure OneUptime Infrastructure Agent as a system service
```
2024-05-14 12:23:15 +01:00
Simon Larsen
6c2144d77e chore: Update go version to 1.22.0 in go.mod file 2024-05-14 12:09:08 +01:00
Simon Larsen
e208b7cc78 Refactor .goreleaser.yaml to use string values for goarm instead of integers 2024-05-14 12:05:37 +01:00
Simon Larsen
69ff3dfe17 Refactor .goreleaser.yaml to use string values for goarm instead of integers 2024-05-14 11:55:48 +01:00
Simon Larsen
29d2abf226 Refactor .gitignore to include InfrastructureAgent/oneuptime-infrastructure-agent 2024-05-14 11:51:44 +01:00
Simon Larsen
1cf7cc4664 Refactor main.go to improve service control commands and error handling 2024-05-14 11:51:36 +01:00
Simon Larsen
d29991117a chore: Update actions/checkout and actions/setup-go versions 2024-05-14 11:46:13 +01:00
Simon Larsen
0bf8713b60 Refactor error handling in main.go for better clarity and instructions 2024-05-14 11:15:15 +01:00
Simon Larsen
dcc9d4fdf2 Refactor error messages in main.go for better clarity and instructions 2024-05-14 10:05:54 +01:00
Simon Larsen
db32292d33 chore: Update launch.json and config.go for InfrastructureAgent 2024-05-14 10:02:48 +01:00
snyk-bot
2b66c52907 fix: upgrade reactflow from 11.11.1 to 11.11.2
Snyk has created this PR to upgrade reactflow from 11.11.1 to 11.11.2.

See this package in npm:
https://www.npmjs.com/package/reactflow

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
2024-05-13 21:23:21 +00:00
snyk-bot
d6b1edb8cb fix: upgrade posthog-js from 1.128.1 to 1.128.3
Snyk has created this PR to upgrade posthog-js from 1.128.1 to 1.128.3.

See this package in npm:
https://www.npmjs.com/package/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-05-13 20:56:52 +00:00
Simon Larsen
c7f62fac65 Refactor InfrastructureAgent code to add help command 2024-05-13 21:22:49 +01:00
Simon Larsen
db0aee6c0f chore: Refactor code to use model package for memory, processes, disk, and CPU metrics 2024-05-13 21:12:45 +01:00
Simon Larsen
1f53ecb093 Refactor package names and imports in InfrastructureAgent code files 2024-05-13 20:37:27 +01:00
Simon Larsen
d0325f2d7d chore: Remove unused code files for memory, processes, disk, and CPU metrics 2024-05-13 20:28:21 +01:00
Simon Larsen
a1461a4019 chore: Refactor package imports in InfrastructureAgent code files 2024-05-13 17:49:53 +01:00
Simon Larsen
d3096510bd chore: Refactor package names in InfrastructureAgent code files 2024-05-13 17:15:42 +01:00
Simon Larsen
8dac1a845a chore: Refactor package names in InfrastructureAgent code files 2024-05-13 16:48:47 +01:00
Simon Larsen
da26400aa7 chore: Refactor package names in InfrastructureAgent code files 2024-05-13 14:00:48 +01:00
Simon Larsen
c909d02a5d chore: Refactor package names in InfrastructureAgent code files 2024-05-13 13:41:33 +01:00
Simon Larsen
58e817cecd chore: Update workflow to use Go instead of Node.js for InfrastructureAgent 2024-05-13 09:41:39 +01:00
Simon Larsen
f9a784422d Merge pull request #1399 from anxuanzi/infra-agent-go
Remove the nodejs version agent, rewrite in Golang
2024-05-13 08:28:37 +01:00
Simon Larsen
6494ab9a71 Merge pull request #1400 from neurekadev/update-docker-compose-docs
docs: export env variables in a subshell
2024-05-13 08:16:57 +01:00
Neureka
a3cf038d38 docs: export env variables in a subshell 2024-05-12 12:02:32 -07:00
Simon Larsen
99a88ea6d7 Merge pull request #1397 from OneUptime/snyk-fix-3892a7e111663caea5c508696d2964c1
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-11 21:09:44 +01:00
Simon Larsen
d46604da53 Merge pull request #1398 from OneUptime/snyk-fix-3b2b2fa56f80398bc77252e1d04e6fcc
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-11 21:09:34 +01:00
Tony An
4a05ee22be ♻️ remove the nodejs version agent, rewrite in Golang 2024-05-10 19:37:40 -05:00
snyk-bot
28e809c493 fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6615824
2024-05-10 23:23:48 +00:00
snyk-bot
610373525b fix: StatusPage/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6615824
2024-05-10 23:12:01 +00:00
Simon Larsen
e84d1c2960 Merge pull request #1396 from OneUptime/snyk-fix-45b3084604f2d5d8f141f074ac048cd5
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 23:26:19 +01:00
snyk-bot
17cb699751 fix: AdminDashboard/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6615824
2024-05-10 22:04:51 +00:00
Simon Larsen
c3bf383e89 refactor: Update Dictionary component dropdown options
This commit updates the dropdown options in the Dictionary component to use more descriptive variable names. The previous variable names, trueDropdwonOption and falseDropdwonOption, have been changed to trueDropdownOption and falseDropdownOption respectively. This change improves code readability and maintainability.
2024-05-10 11:29:45 +01:00
Simon Larsen
a3e5288737 feat: Add JSONFilter component to FiltersForm
This commit adds the JSONFilter component to the FiltersForm in order to support filtering based on JSON data. The JSONFilter component is imported and rendered within the FiltersForm component, allowing users to input JSON filter criteria. This enhancement expands the filtering capabilities of the application.
2024-05-10 11:20:24 +01:00
Simon Larsen
14cf0d9343 refactor: Update DictionaryOfStrings component
This commit refactors the DictionaryOfStrings component by removing unused imports and simplifying the code structure. The useState hook is now used to manage the component's data state, and the useEffect hook is used to handle changes in the data. The component now uses the DictionaryForm component for rendering and handling user input. These changes improve the readability and maintainability of the code.
2024-05-10 11:09:41 +01:00
Simon Larsen
4ed613bf2c refactor: Update filter labels and submit button text in FilterViewer.tsx 2024-05-10 10:29:06 +01:00
Simon Larsen
f07da41cca Merge remote-tracking branch 'origin/snyk-upgrade-b5d9f77f3c65feeabefe361b92d3d1c8' 2024-05-10 10:27:59 +01:00
Simon Larsen
fe2300146d Merge remote-tracking branch 'origin/snyk-upgrade-ac3f89b452385bc8a0a778616c176acd' 2024-05-10 10:27:07 +01:00
Simon Larsen
207108dc2d Merge remote-tracking branch 'origin/snyk-upgrade-660a96f185a31fad496e714aa07c52b5' 2024-05-10 10:26:23 +01:00
Simon Larsen
b728256c63 refactor: Update font size for filter label in FilterViewer.tsx 2024-05-10 10:23:14 +01:00
Simon Larsen
0e5b71070c refactor: Update filter labels and submit button text in FilterViewer.tsx
This commit updates the filter labels and submit button text in the FilterViewer component. The 'FILTER BY' label is changed to 'FILTER' and the labels are now capitalized. Additionally, the submit button text is changed to 'Apply Filters'. These changes improve the clarity and consistency of the user interface.
2024-05-10 09:55:32 +01:00
Simon Larsen
4c4bc92a14 chore: Update font weight for filter label in FilterViewer.tsx 2024-05-10 09:48:35 +01:00
Simon Larsen
40dccbb382 refactor: Simplify SQL query construction in AnalyticsDatabaseService.ts 2024-05-10 09:42:50 +01:00
Simon Larsen
eedb7173db chore: Update submit button text in FilterViewer.tsx 2024-05-10 08:31:55 +01:00
Simon Larsen
917d12d7f0 refactor: Update FilterViewerItem and DropdownFilter components
This commit refactors the FilterViewerItem and DropdownFilter components to handle changes in the ComponentProps interface. The 'text' prop in FilterViewerItem now accepts a string or ReactElement, and the 'onFilterModalClose' and 'onFilterModalOpen' props in DropdownFilter are now optional. These changes ensure compatibility with the latest version of the codebase and improve code readability and maintainability.
2024-05-10 08:19:10 +01:00
Simon Larsen
11a9cfcb98 Merge pull request #1381 from OneUptime/snyk-upgrade-497decbbac4afbc555f4ba887111dc9a
[Snyk] Upgrade posthog-js from 1.126.0 to 1.128.1
2024-05-10 07:31:54 +01:00
Simon Larsen
172c3dacbe Merge pull request #1382 from OneUptime/snyk-fix-6736c09b254d6ed19f0c345a7715e526
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:31:43 +01:00
Simon Larsen
a9381e09c1 Merge pull request #1385 from OneUptime/snyk-fix-6370d57d4cb33cebd301a9f8099f0700
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:31:38 +01:00
Simon Larsen
f0816f6fa5 Merge pull request #1383 from OneUptime/snyk-fix-1337460fdd963d53e523192123f3d100
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:31:08 +01:00
Simon Larsen
ad95971f46 Merge pull request #1384 from OneUptime/snyk-fix-36290d6a0a64cee8ddc0de0f03f981a7
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:31:04 +01:00
Simon Larsen
bb59a365b7 Merge pull request #1386 from OneUptime/snyk-fix-a7809d569ba1546656fa651f1bb77337
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:30:57 +01:00
Simon Larsen
503dcffa87 Merge pull request #1387 from OneUptime/snyk-fix-f6067898842e100de3b29fb82f59daf0
[Snyk] Security upgrade node from 21.7.2-alpine3.18 to 21.7.3-alpine3.18
2024-05-10 07:30:51 +01:00
Simon Larsen
42a91415da refactor: Update FilterUtil to handle FieldType.Boolean filters 2024-05-10 07:30:16 +01:00
snyk-bot
09c6160a15 fix: Ingestor/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:47:35 +00:00
snyk-bot
0638b797b3 fix: TestServer/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:46:36 +00:00
snyk-bot
c6020a8eb6 fix: Accounts/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:41:32 +00:00
snyk-bot
2023f37ab7 fix: Dashboard/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:25:59 +00:00
snyk-bot
65f024c3f6 fix: Tests/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:10:47 +00:00
snyk-bot
06936f0065 fix: Haraka/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 20:35:05 +00:00
Simon Larsen
41a2e2cdbe refactor: Update Dropdown and EntityFilter to handle multi-select values 2024-05-09 20:24:41 +01:00
Simon Larsen
96cfe4c1fd refactor: Update DropdownFilter and EntityFilter to use DropdownOption type for dropdown values 2024-05-09 20:16:19 +01:00
snyk-bot
0096860584 fix: upgrade posthog-js from 1.126.0 to 1.128.1
Snyk has created this PR to upgrade posthog-js from 1.126.0 to 1.128.1.

See this package in npm:
https://www.npmjs.com/package/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-05-09 17:37:39 +00:00
Simon Larsen
da90c9b733 refactor: Update FilterViewer to use showFilterModal instead of showFilter prop 2024-05-09 17:09:25 +01:00
Simon Larsen
5cef1bacb7 refactor: Update FilterViewer to use showFilterModal instead of showFilter prop 2024-05-09 14:47:50 +01:00
Simon Larsen
9560883954 refactor: Update FilterData type to use Query object for improved database querying 2024-05-09 13:47:47 +01:00
Simon Larsen
f84a8d6d7a refactor: Include createdAt in SELECT query in StatementGenerator.test.ts 2024-05-09 12:50:46 +01:00
Simon Larsen
aea1ec24ef refactor: Update EntityFilter to handle FieldType.Entity and FieldType.EntityArray filters 2024-05-09 12:01:31 +01:00
Simon Larsen
7c250a25e3 refactor: Update StatementGenerator to include createdAt and updatedAt in SELECT query 2024-05-09 11:54:28 +01:00
Simon Larsen
e7799adc1c feat: Update StatementGenerator to include createdAt in SELECT query 2024-05-09 10:54:04 +01:00
Simon Larsen
2c949150ef refactor: Improve error handling and formatting in DatabaseService 2024-05-09 10:54:04 +01:00
Simon Larsen
983892d8b3 refactor: Update AnalyticsDatabaseService to support groupBy in queries 2024-05-09 10:54:04 +01:00
Simon Larsen
054234116b refactor: Update sort field in StatusPageAPI to use startsAt instead of createdAt 2024-05-09 10:54:04 +01:00
Simon Larsen
d6aafa8493 feat: Add support for counting with groupBy in DatabaseService 2024-05-09 10:54:04 +01:00
Simon Larsen
b5407b47b2 feat: Add onViewPage function to Metrics component 2024-05-09 10:54:04 +01:00
Simon Larsen
f84bec7e66 refactor: Fix formatting and remove unnecessary code in AnalyticsDatabaseService 2024-05-09 10:54:04 +01:00
Simon Larsen
43354d850b feat: Add AnalyticsModelTable component to Metrics page 2024-05-09 10:54:04 +01:00
Simon Larsen
1977dc3e62 refactor: Add GroupBy support to analytics database queries 2024-05-09 10:54:04 +01:00
Simon Larsen
c2bd27b0f9 refactor: Add GroupBy support to analytics database queries 2024-05-09 10:54:04 +01:00
Simon Larsen
264c0f0347 Merge pull request #1379 from OneUptime/snyk-upgrade-c9d2d1e5a53e5e8a69bea4eb64fe195b
[Snyk] Upgrade css-loader from 6.10.0 to 6.11.0
2024-05-09 08:56:09 +01:00
snyk-bot
0de98ae262 fix: upgrade css-loader from 6.10.0 to 6.11.0
Snyk has created this PR to upgrade css-loader from 6.10.0 to 6.11.0.

See this package in npm:
https://www.npmjs.com/package/css-loader

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
2024-05-08 21:54:23 +00:00
Simon Larsen
573a12075b Merge pull request #1377 from OneUptime/snyk-upgrade-5ae69998d12b665f469b0997420ea928
[Snyk] Upgrade posthog-js from 1.125.0 to 1.126.0
2024-05-08 20:55:12 +01:00
snyk-bot
0a85e245d7 fix: upgrade posthog-js from 1.125.0 to 1.126.0
Snyk has created this PR to upgrade posthog-js from 1.125.0 to 1.126.0.

See this package in npm:
https://www.npmjs.com/package/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-05-08 17:21:50 +00:00
Simon Larsen
41d01cceee Merge pull request #1373 from OneUptime/snyk-upgrade-0f03e56c8fcfe93e0825bfeb309bddb8
[Snyk] Upgrade @opentelemetry/instrumentation-xml-http-request from 0.49.1 to 0.50.0
2024-05-08 12:56:44 +01:00
Simon Larsen
dcd9aeccb3 Merge pull request #1371 from OneUptime/snyk-upgrade-3ed96983eb9a1ec2fc0be8285f56cff9
[Snyk] Upgrade @opentelemetry/exporter-trace-otlp-http from 0.49.1 to 0.50.0
2024-05-08 12:56:17 +01:00
Simon Larsen
c59ebc2373 refactor: Update monitor steps to include monitor name 2024-05-08 12:49:07 +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
b3fb21af59 refactor: Update markdown field types for root cause in Incident and IncidentStateTimeline models 2024-05-08 11:43:54 +01:00
Simon Larsen
2164f45a68 refactor: Update UptimeUtil to use startsAt and endsAt properties for event dates 2024-05-08 11:21:34 +01:00
Simon Larsen
8a4afe992c refactor: Improve calculation of incident duration in IncidentView component 2024-05-08 11:10:20 +01:00
Simon Larsen
f35e50bab3 refactor: Add startsAt property to monitorStatusTimelines in StatusPageAPI 2024-05-08 10:34:59 +01:00
Simon Larsen
63064c587c refactor: Remove dark mode styles from progress bar and pagination components 2024-05-08 08:41:59 +01:00
snyk-bot
edd11ffade fix: upgrade @opentelemetry/instrumentation-xml-http-request from 0.49.1 to 0.50.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-xml-http-request from 0.49.1 to 0.50.0.

See this package in npm:
https://www.npmjs.com/package/@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-05-07 21:06:49 +00:00
snyk-bot
97e1688b50 fix: upgrade @opentelemetry/sdk-trace-web from 1.22.0 to 1.23.0
Snyk has created this PR to upgrade @opentelemetry/sdk-trace-web from 1.22.0 to 1.23.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/sdk-trace-web

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-05-07 21:06:45 +00:00
snyk-bot
b7e97a29ee fix: upgrade @opentelemetry/exporter-trace-otlp-http from 0.49.1 to 0.50.0
Snyk has created this PR to upgrade @opentelemetry/exporter-trace-otlp-http from 0.49.1 to 0.50.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http

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-05-07 21:06:41 +00:00
snyk-bot
f0acbc6eb0 fix: upgrade @opentelemetry/instrumentation from 0.49.1 to 0.50.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation from 0.49.1 to 0.50.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/instrumentation

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-05-07 21:06:37 +00:00
Simon Larsen
fdf6e3dfa3 refactor: Optimize sorting of monitorStatusTimelines by createdAt in StatusPageAPI 2024-05-07 20:01:37 +01:00
Simon Larsen
b59b8257cc refactor: Use explicit type annotations for mutex and mutexId in Semaphore class 2024-05-06 22:42:09 +01:00
Simon Larsen
9bde353e93 refactor: Add Semaphore locking for monitor probe creation and release mutex after completion 2024-05-06 22:18:14 +01:00
Simon Larsen
a2c2867469 refactor: Add Semaphore locking for monitor probe creation and release mutex after completion 2024-05-06 21:52:09 +01:00
Simon Larsen
bd3ba94da8 chore: Update package-lock.json and package.json to include redis-semaphore dependency 2024-05-06 21:47:47 +01:00
Simon Larsen
8e6800c17b refactor: Update UserAuthorization middleware to improve project permissions handling 2024-05-06 20:47:15 +01:00
Simon Larsen
e481e043dd refactor: Update REDIS_PORT value in _helpers.tpl to use dynamic value from values.yaml 2024-05-06 20:47:09 +01:00
Simon Larsen
a4e6552c91 refactor: Disable redis persistence and add common configuration in values.yaml 2024-05-06 15:20:42 +01:00
Simon Larsen
6ce5cde46e Merge pull request #1365 from OneUptime/snyk-upgrade-e95d2830e79bc050ba332cb3d9670e5b
[Snyk] Upgrade reactflow from 11.10.4 to 11.11.1
2024-05-06 15:16:47 +01:00
Simon Larsen
22014c81c4 Merge pull request #1366 from OneUptime/snyk-upgrade-ec50f233945652edca96198c892ea002
[Snyk] Upgrade @opentelemetry/context-zone from 1.22.0 to 1.23.0
2024-05-06 15:16:40 +01:00
Simon Larsen
bff63cdf58 Merge pull request #1367 from OneUptime/snyk-upgrade-9bdef45fe03889844c5f043354578d14
[Snyk] Upgrade @opentelemetry/instrumentation-fetch from 0.49.1 to 0.50.0
2024-05-06 15:16:32 +01:00
Simon Larsen
5f9d57a099 Merge pull request #1369 from OneUptime/snyk-upgrade-1b2e0c757b53983d536db6e5be033842
[Snyk] Upgrade @opentelemetry/resources from 1.22.0 to 1.23.0
2024-05-06 15:16:22 +01:00
Simon Larsen
ca100f9de9 refactor: Update REDIS_PORT value in _helpers.tpl to use dynamic value from values.yaml 2024-05-06 13:53:37 +01:00
Simon Larsen
68dbb010aa refactor: Disable redis persistence and add common configuration in values.yaml 2024-05-06 13:49:08 +01:00
Simon Larsen
5cd213a750 refactor: Update SSO.ts and StatusPageSSO.ts to include issuer URL in SAML request 2024-05-06 13:20:34 +01:00
Simon Larsen
26683914bc refactor: Update SSO.ts and StatusPageSSO.ts to include issuer URL in SAML request 2024-05-06 13:13:52 +01:00
Simon Larsen
8a5adfd589 refactor: Remove unnecessary code in UserAuthorization.ts 2024-05-06 12:39:11 +01:00
Simon Larsen
d2eefeabba refactor: Include issuer URL in SAML request for SSO 2024-05-06 12:26:18 +01:00
Simon Larsen
1148b59416 refactor: Include issuer URL in SAML request for SSO 2024-05-06 12:02:55 +01:00
Simon Larsen
848c0c8100 refactor: Update SSO.ts and StatusPageSSO.ts to include issuer URL in SAML request 2024-05-06 12:00:23 +01:00
Simon Larsen
21f40961cf refactor: Update isGlobalLogin flag in SSO.ts and UserAuthorization.ts 2024-05-06 11:53:45 +01:00
Simon Larsen
2f74fbe0a8 refactor: Simplify SSO.ts code for SAMLRequest encoding and redirect 2024-05-06 10:17:49 +01:00
Simon Larsen
571784a523 refactor: Simplify SSO.ts code for SAMLRequest encoding and redirect 2024-05-06 09:52:14 +01:00
snyk-bot
7c60fe8009 fix: upgrade @opentelemetry/resources from 1.22.0 to 1.23.0
Snyk has created this PR to upgrade @opentelemetry/resources from 1.22.0 to 1.23.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/resources

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-05-05 22:21:24 +00:00
snyk-bot
07f99b8796 fix: upgrade @opentelemetry/semantic-conventions from 1.22.0 to 1.23.0
Snyk has created this PR to upgrade @opentelemetry/semantic-conventions from 1.22.0 to 1.23.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/semantic-conventions

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-05-05 22:21:21 +00:00
snyk-bot
1a2fe1d16d fix: upgrade @opentelemetry/instrumentation-fetch from 0.49.1 to 0.50.0
Snyk has created this PR to upgrade @opentelemetry/instrumentation-fetch from 0.49.1 to 0.50.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/instrumentation-fetch

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-05-05 22:21:17 +00:00
snyk-bot
a28a041c8d fix: upgrade @opentelemetry/context-zone from 1.22.0 to 1.23.0
Snyk has created this PR to upgrade @opentelemetry/context-zone from 1.22.0 to 1.23.0.

See this package in npm:
https://www.npmjs.com/package/@opentelemetry/context-zone

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-05-05 22:21:13 +00:00
snyk-bot
cfcce00060 fix: upgrade reactflow from 11.10.4 to 11.11.1
Snyk has created this PR to upgrade reactflow from 11.10.4 to 11.11.1.

See this package in npm:
https://www.npmjs.com/package/reactflow

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-05-05 22:21:08 +00:00
Simon Larsen
da0fa045e6 refactor: Simplify SSO.ts code for SAMLRequest encoding and redirect 2024-05-05 21:37:05 +01:00
Simon Larsen
859f62bf93 refactor: Simplify base64 encoding in SSO.ts 2024-05-04 23:26:13 +01:00
Simon Larsen
6a1cc1bd8b refactor: Update SSO.ts to use zlib.deflateRawSync for SAML message encoding 2024-05-04 22:55:29 +01:00
Simon Larsen
5b9abe8aea refactor: Add SAMLRequest encoding and redirect to Identity Provider 2024-05-04 22:54:06 +01:00
Simon Larsen
d0ec483a0f refactor: Update Register.tsx and UserAuthorization.test.ts for isGlobalLogin flag 2024-05-04 22:00:33 +01:00
Simon Larsen
c03a3d6f56 refactor: Remove debugger statement in SSO.ts 2024-05-04 21:53:00 +01:00
Simon Larsen
8761dbd75b refactor: Update login page SSO message for clarity and consistency 2024-05-04 21:51:09 +01:00
Simon Larsen
5541922b25 refactor: Update login page SSO message for clarity and consistency 2024-05-04 21:50:35 +01:00
Simon Larsen
8693ab065e refactor: Add isGlobalLogin flag to user object in ProjectAuthorization middleware 2024-05-04 21:29:53 +01:00
Simon Larsen
fe4daa7937 refactor: Update login page SSO message for clarity and consistency 2024-05-04 21:27:21 +01:00
Simon Larsen
20d7f2f8b4 refactor: Update JSONWebToken.signUserLoginToken() method to include isGlobalLogin flag 2024-05-04 21:13:34 +01:00
Simon Larsen
7f94f3d4d4 refactor: Update column_1 and column_2 definitions in StatementGenerator.test.ts 2024-05-04 20:54:19 +01:00
Simon Larsen
bc46370f7c refactor: Update JSONWebToken.sign() method to accept an object with data and expiresInSeconds properties 2024-05-04 20:37:58 +01:00
Simon Larsen
b3346a9702 refactor: Update login page SSO message for clarity and consistency 2024-05-04 20:11:02 +01:00
Simon Larsen
f793f7dd16 refactor: Update email regex to improve validation accuracy 2024-05-04 20:02:17 +01:00
Simon Larsen
766f1f6178 update email regex 2024-05-04 19:33:59 +01:00
Simon Larsen
9f76748037 update deps 2024-05-04 19:33:45 +01:00
Simon Larsen
469e06280a refactor: Improve code readability and maintainability in AnalyticsDatabaseService.ts 2024-05-03 19:05:56 +01:00
Simon Larsen
aede9af03d chore: Remove unnecessary line in BaseModel.ts 2024-05-03 14:48:07 +01:00
Nawaz Dhandala
0bc7cf345f chore: Add missing newline character in BaseModel.ts 2024-05-03 14:45:26 +01:00
Nawaz Dhandala
95c7b10ce0 Refactor AnalyticsDatabaseService.ts for improved code readability and maintainability 2024-05-03 14:04:24 +01:00
Simon Larsen
daceab164c Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-05-03 13:38:00 +01:00
Simon Larsen
2d28fbaf85 refactor: Add required flag and default value for attributes column in Log model 2024-05-03 13:37:57 +01:00
Simon Larsen
8d2cbe49ad Merge pull request #1364 from OneUptime/snyk-upgrade-8c197b0383ff1f076301a2077e18b9b2
[Snyk] Upgrade reactflow from 11.11.0 to 11.11.1
2024-05-03 13:10:26 +01:00
Simon Larsen
86f262583c feat: Generate new certificates for status page domains
This commit adds a new data migration script, GenerateNewCertsForStatusPage.ts, which generates new certificates for status page domains. It retrieves all domains in the greenlock certs, orders them, and updates the certificates accordingly. This will ensure that the status page domains have up-to-date and valid certificates.

Refactor and delete unused Metric services and models
Refactor Queue class to use explicit type annotation for queue variable
Add Queue caching to improve performance and reduce redundant connections
Refactor test-e2e job in release.yml workflow
Fix error handling in StatusPageDomainService.ts
Update select field in MoveGreenlockCertsToAcmeCerts.ts to use _id instead of id
Update ingress configuration for OneUptime Helm chart
Refactor StatusPageAPI to improve code readability and maintainability
Refactor StatusPageAPI and UpdateByID to improve code readability and maintainability
Refactor Let's Encrypt configuration and update GreenlockUtil class
2024-05-03 13:07:45 +01:00
Simon Larsen
4e748d1626 Refactor and delete unused Metric services and models 2024-05-03 13:03:01 +01:00
Simon Larsen
1dbea8e636 Refactor Queue class to use explicit type annotation for queue variable 2024-05-03 10:30:41 +01:00
Simon Larsen
3991acf5fc Add Queue caching to improve performance and reduce redundant connections 2024-05-03 10:04:19 +01:00
snyk-bot
1285830a9b fix: upgrade reactflow from 11.11.0 to 11.11.1
Snyk has created this PR to upgrade reactflow from 11.11.0 to 11.11.1.

See this package in npm:
https://www.npmjs.com/package/reactflow

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
2024-05-02 17:57:26 +00:00
Simon Larsen
96d3243205 Refactor test-e2e job in release.yml workflow 2024-05-01 17:22:12 +01:00
Simon Larsen
08cbdb15d0 Fix error handling in StatusPageDomainService.ts 2024-05-01 15:16:59 +01:00
Simon Larsen
f59284e4d6 Update select field in MoveGreenlockCertsToAcmeCerts.ts to use _id instead of id 2024-05-01 13:57:46 +01:00
Simon Larsen
0c5d0e81a5 Update ingress configuration for OneUptime Helm chart 2024-05-01 13:41:35 +01:00
Simon Larsen
82829a5b97 Refactor StatusPageAPI to improve code readability and maintainability 2024-05-01 13:12:16 +01:00
Simon Larsen
d3c188a804 Refactor StatusPageAPI and UpdateByID to improve code readability and maintainability 2024-05-01 13:08:15 +01:00
Simon Larsen
85ffc36fad Refactor Let's Encrypt configuration and update GreenlockUtil class 2024-05-01 12:44:49 +01:00
Simon Larsen
8d34e9ccbe Refactor LetsEncrypt configuration and update GreenlockUtil class 2024-05-01 12:42:32 +01:00
Simon Larsen
c6643d7f7c Update GreenlockUtil class to handle lets encrypt account key properly 2024-05-01 12:37:41 +01:00
Simon Larsen
1433823efe Update LetsEncrypt configuration for OneUptime deployment 2024-05-01 12:13:01 +01:00
Simon Larsen
bd5902ed6d Update ingress configuration for OneUptime Helm chart 2024-05-01 11:44:30 +01:00
Simon Larsen
b64666f0ff Update oneuptime logo URL in README.md 2024-05-01 11:32:30 +01:00
Simon Larsen
9706cced86 Update OneUptime Helm chart with production readiness checklist 2024-05-01 11:29:14 +01:00
Simon Larsen
49cb3024ef Update nginx.yaml for OneUptime Helm chart 2024-05-01 11:09:30 +01:00
Simon Larsen
2fec007c5f Update ingressClassName in values.yaml for OneUptime Helm chart 2024-05-01 10:57:26 +01:00
Simon Larsen
0f40f5f730 Update HelmChart templates and values for OneUptime deployment 2024-05-01 10:30:21 +01:00
Simon Larsen
120ca78760 Update HelmChart/Public/oneuptime/templates/extra-templates.yaml and HelmChart/Public/oneuptime/values.yaml 2024-05-01 10:19:30 +01:00
Simon Larsen
d50fdf3464 Update nginx.yaml and values.yaml for OneUptime Helm chart 2024-05-01 10:14:02 +01:00
Simon Larsen
34ddb8efdb Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-05-01 09:49:38 +01:00
Simon Larsen
3724cce4f0 Add cron job to verify CNAMEs in StatusPageCerts.ts 2024-05-01 09:49:11 +01:00
Simon Larsen
d864992bdb Add MoveGreenlockCertsToAcmeCerts migration and update DataMigrations in Index.ts 2024-05-01 09:31:45 +01:00
Simon Larsen
3515752a95 Add MoveGreenlockCertsToAcmeCerts migration 2024-05-01 09:29:29 +01:00
Simon Larsen
53d66db8cb Merge pull request #1359 from OneUptime/snyk-fix-6d9e266d473ce0fed1ec1645f0bf6548
[Snyk] Security upgrade ejs from 3.1.9 to 3.1.10
2024-04-30 22:13:44 +01:00
Simon Larsen
548250f837 Merge pull request #1360 from OneUptime/snyk-fix-4fe336667711cbbe5c8ccb29e8c049e7
[Snyk] Security upgrade ejs from 3.1.9 to 3.1.10
2024-04-30 22:13:36 +01:00
Simon Larsen
b3b343d4aa Merge pull request #1361 from OneUptime/snyk-fix-eff57b0386677ae55037cf20bb1b38e3
[Snyk] Security upgrade ejs from 3.1.9 to 3.1.10
2024-04-30 22:13:31 +01:00
Simon Larsen
69a8f438f7 Merge pull request #1362 from OneUptime/snyk-fix-b0f6bc6acf45920714d4b0cacfb5c537
[Snyk] Security upgrade ejs from 3.1.9 to 3.1.10
2024-04-30 22:13:25 +01:00
Simon Larsen
7b571f15a9 Merge pull request #1363 from OneUptime/snyk-fix-2342a863e5405ba1a2449f7819d9a66b
[Snyk] Security upgrade ejs from 3.1.9 to 3.1.10
2024-04-30 22:13:18 +01:00
Simon Larsen
d783eaea9d Refactor table name in PostgresDatabase.ts, remove unused volume in app.yaml, fix typos in Domains.tsx and Index.ts, update nodemon.json files, remove greenlock dependency, and add validation for cname in StatusPageDomainService.ts 2024-04-30 21:24:04 +01:00
Simon Larsen
2e5aafe151 Update table name in PostgresDatabase.ts to use "domain" instead of "key" 2024-04-30 21:16:31 +01:00
Simon Larsen
dea938bcbb Add FetchCertificateJobs.init() to Nginx/Index.ts 2024-04-30 20:18:36 +01:00
Simon Larsen
7c16b14ab4 Update table name in PostgresDatabase.ts and remove unused volume in app.yaml 2024-04-30 19:45:43 +01:00
Simon Larsen
e22ff26dc0 Refactor error handling in StatusAPI.ts 2024-04-30 19:30:35 +01:00
Simon Larsen
75bd6ca6ed Fix DatabaseNotConnectedException code in ExceptionCode.ts and DatabaseNotConnectedException.test.ts 2024-04-30 19:24:54 +01:00
Simon Larsen
f0bdb76999 Fix typos in Domains.tsx and Index.ts 2024-04-30 19:12:03 +01:00
Simon Larsen
a9e9d14f69 Update StatusPageAPI and StatusPageDomainAPI to use AcmeChallenge model and remove Greenlock dependencies 2024-04-30 18:43:15 +01:00
Simon Larsen
21daac0400 Update nodemon.json files for Accounts, AdminDashboard, and Dashboard 2024-04-30 17:34:15 +01:00
Simon Larsen
3cdf71906b Remove greenlock dependency from package.json 2024-04-30 15:10:54 +01:00
Simon Larsen
0714161460 Add validation for cname in StatusPageDomainService.ts 2024-04-30 15:02:54 +01:00
Simon Larsen
78b7252743 Refactor GreenlockUtil challengeCreateFn and challengeRemoveFn to improve readability 2024-04-30 14:16:35 +01:00
Simon Larsen
2ba406f802 Add AcmeChallenge model, update StatusPageDomain model, and import AcmeCertificate in Model and Service files 2024-04-30 14:15:18 +01:00
Simon Larsen
48ebfc17dd Add AcmeChallenge model and update StatusPageDomain model 2024-04-30 14:08:05 +01:00
Simon Larsen
9d180a2dcb Remove unused Greenlock configuration files and import AcmeCertificate in Model and Service files 2024-04-30 13:22:06 +01:00
Simon Larsen
0f2a970ede Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-30 11:37:28 +01:00
Simon Larsen
4ab3c99fe4 Update dependencies in package.json 2024-04-30 11:37:24 +01:00
Simon Larsen
ae2e452d27 Merge pull request #1356 from sainak/sainak/fix/sert-scripts
Update nginx service name and host variable in cert helper scripts
2024-04-30 09:37:30 +01:00
snyk-bot
825d733f92 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-EJS-6689533
2024-04-29 21:39:29 +00:00
snyk-bot
27039bc646 fix: Scripts/package.json & Scripts/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EJS-6689533
2024-04-29 21:09:12 +00:00
snyk-bot
1bb1d80b09 fix: TestServer/package.json & TestServer/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EJS-6689533
2024-04-29 20:56:52 +00:00
snyk-bot
983f587ce4 fix: Ingestor/package.json & Ingestor/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EJS-6689533
2024-04-29 20:32:33 +00:00
Simon Larsen
e1f9325512 Fix renewOffset value in GreenlockUtil 2024-04-29 20:34:06 +01:00
snyk-bot
96c27c86ca fix: CommonServer/package.json & CommonServer/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EJS-6689533
2024-04-29 17:18:14 +00:00
Simon Larsen
a172596e46 Update GreenlockUtil to include renewOffset and renewStagger options 2024-04-29 16:59:28 +01:00
Simon Larsen
3d30e9356a Fix column handling in ModelPermission.ts 2024-04-29 16:34:00 +01:00
Simon Larsen
7c04ecec35 Fix column handling in ModelPermission.ts and update GreenlockCertificateService in Store.ts 2024-04-29 15:59:37 +01:00
Simon Larsen
80511a5f8d Fix expiration date calculation in Greenlock Manager.ts 2024-04-29 14:19:50 +01:00
Simon Larsen
6692fb00b8 Refactor BaseModel and ModelPermission classes to improve column handling 2024-04-29 14:15:11 +01:00
Simon Larsen
83e207a7de Refactor OneUptimeDate class to improve convertMinutesToDaysHoursAndMinutes method in Date.ts 2024-04-29 11:35:25 +01:00
Simon Larsen
d62aa7f5a6 Refactor Index.tsx to import PromiseVoidFunction from 'Common/Types/FunctionTypes' 2024-04-29 11:06:08 +01:00
Simon Larsen
8a130f96e2 Refactor InfoCard component to add className prop and improve readability 2024-04-29 11:05:57 +01:00
Simon Larsen
66a470ebe1 Refactor GreenlockChallenge and GreenlockCertificate models to add deletedByUser and deletedByUserId properties 2024-04-29 10:26:10 +01:00
Simon Larsen
30a59aa21e Refactor InfoCard component to improve readability and fix indentation issue 2024-04-29 10:17:10 +01:00
Simon Larsen
7a6a5c141b Refactor IncidentView component to add incidentStates state and update getTimeToAcknowledge and getTimeToResolve functions 2024-04-29 10:15:17 +01:00
Simon Larsen
c4bf458074 Refactor OneUptimeDate class to add convertMinutesToHoursAndMinutes method in Date.ts 2024-04-29 09:44:33 +01:00
Simon Larsen
ae873e296c Improve CNAME verification process and add DNS propagation reminder 2024-04-29 09:23:12 +01:00
Simon Larsen
4a973d7107 Fix indentation issue and handle CNAME verification failure in StatusPageDomainAPI.ts 2024-04-29 08:24:33 +01:00
Simon Larsen
9bbf460b97 Fix indentation issue in EnvironmentConfig.ts 2024-04-28 21:31:29 +01:00
Simon Larsen
c348a8bd05 Refactor StatusPageDomainAPI to enable custom domains and improve CNAME verification process 2024-04-28 21:20:45 +01:00
Simon Larsen
76d8f5d5ef Remove @socket.io/redis-adapter dependency 2024-04-28 21:03:29 +01:00
Simon Larsen
72ac305aad Fix multiple slashes in route and handle CNAME verification failure in StatusPageDomainAPI.ts 2024-04-28 20:55:35 +01:00
Simon Larsen
1ac05450e7 Refactor StatusPageDomainAPI to set isRoot property in StatusPageDomainAPI.ts 2024-04-28 20:46:33 +01:00
Simon Larsen
67165375ac Add isSslOrdered property to StatusPageDomain model and update orderCert method in StatusPageDomainService 2024-04-28 20:44:54 +01:00
Simon Larsen
6325e36bd0 Refactor BaseAPI/Index.ts to remove unused imports and clean up code
Refactor StatusPageDomainAPI and related components to improve CNAME verification process
Refactor StatusPageDomainService and Domains.tsx to improve CNAME verification process
Refactor API endpoints to use sendEmptySuccessResponse instead of sendEmptyResponse
Refactor SocketIO.ts to remove Redis adapter initialization
Refactor StatusPageDelete component: Add SSL auto-renewal feature and improve CNAME verification process
Refactor GreenlockUtil and StatusPageDomainService to improve CNAME validation and configuration paths
Refactor StatusPageDomainService: Add onBeforeUpdate hook to validate CNAME and update GreenlockUtil configuration paths
Refactor StatusPageDomainService: Add onBeforeUpdate hook to validate CNAME before updating
Refactor StatusPageCerts:RemoveCerts method to use statusPageDomain.fullDomain instead of domain.fullDomain
2024-04-28 20:13:32 +01:00
Simon Larsen
e6375087cd Refactor BaseAPI/Index.ts to remove unused imports and clean up code 2024-04-28 20:06:34 +01:00
Simon Larsen
737e234ec0 Refactor StatusPageDomainAPI and related components to improve CNAME verification process 2024-04-28 20:04:38 +01:00
Simon Larsen
1427d52c9f Refactor StatusPageDomainService and Domains.tsx to improve CNAME verification process 2024-04-28 20:03:00 +01:00
Simon Larsen
8377285a27 Refactor API endpoints to use sendEmptySuccessResponse instead of sendEmptyResponse 2024-04-28 19:52:57 +01:00
Simon Larsen
7414c6563d Refactor SocketIO.ts to remove Redis adapter initialization 2024-04-28 14:45:51 +01:00
Simon Larsen
0669e96a5d Refactor StatusPageDelete component: Add SSL auto-renewal feature and improve CNAME verification process 2024-04-28 14:37:52 +01:00
Simon Larsen
54a6101315 Refactor GreenlockUtil and StatusPageDomainService to improve CNAME validation and configuration paths 2024-04-28 14:26:12 +01:00
Simon Larsen
eaaef7280f Refactor StatusPageDomainService: Add onBeforeUpdate hook to validate CNAME and update GreenlockUtil configuration paths 2024-04-28 14:24:24 +01:00
Simon Larsen
b368633ff9 Refactor StatusPageDomainService: Add onBeforeUpdate hook to validate CNAME before updating 2024-04-28 14:22:41 +01:00
Simon Larsen
37b25c3a8f Refactor StatusPageCerts:RemoveCerts method to use statusPageDomain.fullDomain instead of domain.fullDomain 2024-04-28 13:48:42 +01:00
Simon Larsen
191d0154b4 Update LETSENCRYPT_NOTIFICATION_EMAIL configuration option 2024-04-28 13:18:09 +01:00
Simon Larsen
1f786699d2 Update GreenlockUtil configuration paths 2024-04-28 13:16:53 +01:00
Simon Larsen
00b5453b3f Add LETSENCRYPT_NOTIFICATION_EMAIL configuration option 2024-04-28 13:09:23 +01:00
Simon Larsen
077ca1037b Add IS_BILLING_ENABLED flag to E2E tests 2024-04-27 17:16:23 +01:00
Simon Larsen
1be827741e Update E2E Config.ts to use E2E_TEST_STATUS_PAGE_URL instead of E2E_TEST_REGISTERED_USER_PASSWORD 2024-04-27 16:55:22 +01:00
Simon Larsen
d51e818d10 Update E2E Config.ts to use E2E_TEST_STATUS_PAGE_URL instead of E2E_TEST_REGISTERED_USER_PASSWORD 2024-04-27 09:42:41 +01:00
Simon Larsen
d312c2b0cf Update E2E workflow to include failed webhook URL 2024-04-26 22:50:20 +01:00
Simon Larsen
96a09353fb Update password field in UserProfile/Password.tsx 2024-04-26 22:15:30 +01:00
Simon Larsen
fe40c5bb8d Add test results artifact upload to E2E workflow 2024-04-26 22:04:12 +01:00
Simon Larsen
7cbbce4067 Add IS_BILLING_ENABLED flag to account registration form in E2E tests 2024-04-26 21:15:01 +01:00
Simon Larsen
2870d28354 Fix restart value in e2e service of docker-compose.base.yml 2024-04-26 19:47:24 +01:00
Simon Larsen
899bc1d205 Update E2E cron job environment variables to use consistent naming convention 2024-04-26 19:19:38 +01:00
Simon Larsen
308dba7f24 Add CORS configuration to OTelCollector HTTP receiver 2024-04-26 19:12:38 +01:00
Simon Larsen
a0e565485b Update environment variables and configurations in E2E and HelmChart templates 2024-04-26 19:07:20 +01:00
Simon Larsen
35c21d7611 Update E2E workflow to include failed webhook URL 2024-04-26 18:54:23 +01:00
Simon Larsen
a0ef85b8cd Refactor test files to use consistent formatting 2024-04-26 18:46:22 +01:00
Simon Larsen
818f8cc421 Update E2E workflow to use environment variables from config.env in test.e2e.yaml 2024-04-26 18:46:10 +01:00
Simon Larsen
eaeb40ec49 Update Kubernetes metadata and environment variables in HelmChart templates 2024-04-26 18:10:26 +01:00
Simon Larsen
74273e6e9b Refactor E2E workflow to use environment variables from config.env in test.e2e.yaml 2024-04-26 18:01:15 +01:00
Aakash Singh
c092adfa3d Update nginx service name and host variable in cert helper scripts 2024-04-26 16:58:09 +00:00
Simon Larsen
9eec9042bd Refactor E2E workflow to use npm run prerun command before running docker-compose in test.e2e.yaml 2024-04-26 16:40:02 +01:00
Simon Larsen
496c2ca32c Update Kubernetes metadata in HelmChart templates 2024-04-26 15:05:30 +01:00
Simon Larsen
499ab07cd3 Update E2E cron job environment variables to use quoted values 2024-04-26 15:01:17 +01:00
Simon Larsen
c634526215 Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:56:33 +01:00
Simon Larsen
cda9921f5d Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:54:10 +01:00
Simon Larsen
d3ca5a97ea Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:53:25 +01:00
Simon Larsen
f22ae5844d Refactor E2E workflow to use status-check.sh script for server availability check 2024-04-26 14:45:01 +01:00
Simon Larsen
a71190493a Refactor code to remove unused imports and routes 2024-04-26 14:30:17 +01:00
Simon Larsen
caf3377cee Refactor E2E workflow to use parentheses for command grouping in docker-compose run step 2024-04-26 13:36:52 +01:00
Simon Larsen
f0e4d6bf71 Update E2E workflow to use --abort-on-container-exit flag in docker-compose command 2024-04-26 13:36:40 +01:00
Simon Larsen
f34e4a23d6 Update E2E workflow to use docker-compose for running E2E tests 2024-04-26 13:35:25 +01:00
Simon Larsen
e03ecb0e0d Update E2E package.json scripts order 2024-04-26 12:59:05 +01:00
Simon Larsen
0a8574678c Update E2E workflow to wait for 60 minutes for server to be up 2024-04-26 10:54:55 +01:00
Simon Larsen
0fdf63ce0c Add npm install command for Common directory in E2E workflow 2024-04-25 22:56:26 +01:00
Simon Larsen
d1586f75da Add data test IDs to BasicForm fields 2024-04-25 22:05:10 +01:00
Simon Larsen
f47b53c5b9 Fix formatting issues in code blocks 2024-04-25 22:03:12 +01:00
Simon Larsen
7523c3ad4c Merge pull request #1354 from UnkAtreus/fix/table-header-button-state-not-re-render
fix: setting header buttons in BaseModelTable
2024-04-25 21:54:54 +01:00
Simon Larsen
11d580a373 Add E2E test environment variables and update E2E tests 2024-04-25 21:53:51 +01:00
Simon Larsen
9a78c4c24d Refactor Docker Compose file to use common variables 2024-04-25 19:22:02 +01:00
Simon Larsen
ec936b43e2 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-25 19:15:16 +01:00
Simon Larsen
3bc2e639d9 Add Jest and Babel ESLint parser to devDependencies 2024-04-25 19:15:14 +01:00
Simon Larsen
fa672be557 Merge pull request #1355 from OneUptime/snyk-upgrade-50073c5b5ba8c99a5ba48e8562e31e3c
[Snyk] Upgrade reactflow from 11.10.4 to 11.11.0
2024-04-25 18:55:05 +01:00
Simon Larsen
695f16ca1e Add _id field to Acknowledge Incident and Resolve Incident elements 2024-04-25 18:50:13 +01:00
snyk-bot
003b638170 fix: upgrade reactflow from 11.10.4 to 11.11.0
Snyk has created this PR to upgrade reactflow from 11.10.4 to 11.11.0.

See this package in npm:
https://www.npmjs.com/package/reactflow

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
2024-04-25 17:35:16 +00:00
Simon Larsen
1cf208387f Add server readiness check before running E2E tests 2024-04-25 18:34:13 +01:00
UnkAtreus
625cb49939 fix: setting header buttons in BaseModelTable 2024-04-25 23:41:57 +07:00
Simon Larsen
7d44eb1a33 Update preinstall script in E2E package.json to include install-deps command 2024-04-25 16:20:30 +01:00
Simon Larsen
ab42ca1ef9 Add test-e2e job to GitHub Actions workflow 2024-04-25 15:30:08 +01:00
Simon Larsen
910aa113b5 Add npm install step for Common directory 2024-04-25 15:22:52 +01:00
Simon Larsen
1516f81180 Refactor E2E configuration and Docker Compose file 2024-04-25 15:07:33 +01:00
Simon Larsen
b9f86d029a Update Dockerfile.tpl to use non-Alpine Node.js image for Playwright compatibility 2024-04-25 15:04:05 +01:00
Simon Larsen
ecfc47ee59 Update dependencies and test directory in E2E package files 2024-04-25 13:50:33 +01:00
Simon Larsen
5d9a11fb48 Refactor E2E tests and Docker configuration 2024-04-25 12:58:39 +01:00
Simon Larsen
894d15918b Fix BASE_URL construction in Config.ts and SignUp.test.ts 2024-04-25 12:45:08 +01:00
Simon Larsen
73e6a20503 Refactor e2e-cron.yml to include common environment variables and change restart policy 2024-04-25 12:33:58 +01:00
Simon Larsen
ef0dc5305a Update test.e2e.yaml to free up disk space in GitHub Actions runner 2024-04-25 12:32:22 +01:00
Simon Larsen
73dc057c99 Update test.e2e.yaml and Config.ts files 2024-04-25 12:31:38 +01:00
Simon Larsen
092564434f Refactor Dockerfile.tpl to remove duplicate CMD instruction 2024-04-25 12:27:36 +01:00
Simon Larsen
7623fe7df4 Add Docker build step for E2E tests 2024-04-25 12:08:58 +01:00
Simon Larsen
da03636bd0 Add Docker build step for E2E tests 2024-04-25 12:01:49 +01:00
Simon Larsen
21b119d8a0 Refactor import statements in E2E test files to use Config instead of Utils/BaseURL 2024-04-25 12:01:13 +01:00
Simon Larsen
4ee62fcca4 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-25 11:53:43 +01:00
Simon Larsen
8acfb0f798 add e2e tests 2024-04-25 11:53:11 +01:00
Simon Larsen
6e2d343264 Update package-lock.json and package.json with latest dependencies 2024-04-25 11:51:26 +01:00
Simon Larsen
3dd03cda46 Refactor and remove unused test files in E2E/Tests/Home directory 2024-04-25 11:46:22 +01:00
Simon Larsen
87c8993141 Merge pull request #1350 from OneUptime/snyk-upgrade-83479794e36d11372eff5b3bc5f5d6ec
[Snyk] Upgrade css-loader from 6.10.0 to 6.11.0
2024-04-25 09:01:07 +01:00
Simon Larsen
323601db3a Merge pull request #1352 from OneUptime/snyk-fix-eecb134aa680c310c30f2dd5bd870f70
[Snyk] Security upgrade nginx from 1.25.4-alpine to 1.25.5-alpine
2024-04-25 09:00:57 +01:00
snyk-bot
1ac7d4920f fix: Nginx/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-04-25 03:39:23 +00:00
snyk-bot
617a436eb5 fix: upgrade css-loader from 6.10.0 to 6.11.0
Snyk has created this PR to upgrade css-loader from 6.10.0 to 6.11.0.

See this package in npm:
https://www.npmjs.com/package/css-loader

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
2024-04-24 20:10:37 +00:00
Simon Larsen
7e6af77d70 Refactor Schedule component to include run method in WebhookTrigger 2024-04-24 19:33:38 +01:00
Simon Larsen
59a6771e73 Refactor initialization code and add WorkflowFeatureSet to App/Index.ts 2024-04-24 19:17:38 +01:00
Simon Larsen
b88320bcbb Refactor cleanup cron jobs in HelmChart/Public/oneuptime/templates/cron-job.yaml and values.yaml 2024-04-24 18:50:13 +01:00
Simon Larsen
06bafdfce6 Refactor cleanup cron jobs in HelmChart/Public/oneuptime/templates/cron-job.yaml and HelmChart/Public/oneuptime/values.yaml 2024-04-24 18:44:00 +01:00
Simon Larsen
441aef4823 Refactor initialization code in Nginx/Index.ts 2024-04-24 18:31:16 +01:00
Simon Larsen
0f86812258 Add new configurations for 'ingestor' in HelmChart/Public/oneuptime/values.yaml and Nginx/Index.ts 2024-04-24 18:26:13 +01:00
Simon Larsen
f601e93101 Refactor status API to return JSON object with status 'ok' 2024-04-24 18:00:35 +01:00
Simon Larsen
bf8d4757b1 Refactor logging statements in StatementGenerator.test.ts 2024-04-24 17:54:54 +01:00
Simon Larsen
4b69717687 Refactor initialization code and add PromiseVoidFunction type to addDefaultRoutes in StartServer.ts 2024-04-24 17:46:02 +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
ae6852d5eb Refactor connection check methods for Redis, Postgres, and Clickhouse 2024-04-24 17:05:50 +01:00
Simon Larsen
d4902784c2 Refactor Redis, Postgres, and Clickhouse connection check methods 2024-04-24 14:55:48 +01:00
Simon Larsen
e2644586b6 Refactor connection check methods for Redis, Postgres, and Clickhouse 2024-04-24 14:30:29 +01:00
Simon Larsen
cc80f6fa54 Refactor initialization code in multiple files 2024-04-24 14:02:17 +01:00
Simon Larsen
32c78f24e9 Refactor Redis, Postgres, and Clickhouse connection check methods 2024-04-24 13:03:07 +01:00
Simon Larsen
8b0f23e18f Refactor Express routing in Notification and Identity FeatureSets 2024-04-24 12:20:04 +01:00
Simon Larsen
b76d16262c Update logging statements in StatementGenerator.ts 2024-04-24 12:04:03 +01:00
Simon Larsen
4c60f080f0 Add cron job to delete completed pods 2024-04-24 11:34:01 +01:00
Simon Larsen
5f40c393b1 Update cron job schedule to run every 5 minutes 2024-04-24 10:18:43 +01:00
Simon Larsen
7b22d293f2 add cron job to clean up crash loop backoff states 2024-04-24 10:18:17 +01:00
Simon Larsen
7f6c247652 Update dependencies versions in HelmChart 2024-04-24 10:02:29 +01:00
Simon Larsen
267950bb54 Refactor Tab component to include countBadge and tabType properties 2024-04-23 20:56:16 +01:00
Simon Larsen
d4b6bf6ca0 Merge pull request #1349 from OneUptime/nginx-crash-prevention
Refactor Tab component to include countBadge and tabType properties
2024-04-23 20:46:35 +01:00
Simon Larsen
9d0c110a74 Update dependencies versions in HelmChart 2024-04-23 20:38:08 +01:00
Simon Larsen
9d3c4df5e7 Update Greenlock packageRoot path in app.yaml 2024-04-23 16:41:36 +01:00
Simon Larsen
ca89818cc1 Update Greenlock packageRoot path in StatusPageCerts.ts and app.yaml 2024-04-23 16:39:43 +01:00
Simon Larsen
6b2caebd0d Refactor Tab component to include countBadge and tabType properties 2024-04-23 15:34:37 +01:00
Simon Larsen
f716ece35f Refactor Tab component to include countBadge and tabType properties 2024-04-23 14:03:37 +01:00
Simon Larsen
6dcc72e708 Refactor getEvents function in SpanViewer.tsx to separate events and exceptions 2024-04-23 13:44:46 +01:00
Simon Larsen
47a718ad2a Refactor SpanViewer component to display exceptions and events separately 2024-04-23 13:39:37 +01:00
Simon Larsen
e4e3d5d362 Update component types and import statements in Accordion.tsx and SpanViewer.tsx 2024-04-23 13:34:24 +01:00
Simon Larsen
73b4987b32 Update dependencies versions in HelmChart 2024-04-23 12:02:42 +01:00
Simon Larsen
7574d3921a Refactor logging implementation and remove console log statements 2024-04-23 10:22:58 +01:00
Simon Larsen
c6b47c3a1b Refactor import statements and update component types in Accordion.tsx and SpanViewer.tsx 2024-04-22 22:05:35 +01:00
Simon Larsen
a5fec2560a Refactor import statements and update component types in multiple files 2024-04-22 20:41:36 +01:00
Simon Larsen
b139d667d2 Refactor SpanUtil class and JSONFunctions class 2024-04-22 20:19:35 +01:00
Simon Larsen
906a42c218 Update TableColumnType enum to include JSONArray type 2024-04-22 19:02:03 +01:00
Simon Larsen
529b22c97c Refactor import statements and update component types in JSONFunctions.ts 2024-04-22 13:39:46 +01:00
Simon Larsen
89f3508ce0 Refactor import statements and update component types in Detail.tsx, CodeEditor.tsx, and JSONFunctions.ts 2024-04-22 13:35:58 +01:00
Simon Larsen
a9cc7f41ba Refactor import statements and update component types in Tabs.tsx, SpanViewer.tsx, HiddenText.test.tsx, Tabs.test.tsx, and Detail.tsx 2024-04-22 12:09:21 +01:00
Simon Larsen
cc517d36dc Refactor import statements and update component types in SpanViewer.tsx 2024-04-22 11:07:23 +01:00
Simon Larsen
8363279050 Refactor import statements and update component types in SpanViewer.tsx and TeamView.tsx 2024-04-22 11:05:54 +01:00
Simon Larsen
7c0f9c307a Refactor import statements and update component types in TeamView.tsx 2024-04-22 11:00:15 +01:00
Simon Larsen
3a7c9f7fab Refactor import statements and update component types in multiple files 2024-04-22 10:47:40 +01:00
Simon Larsen
ba993ba09a Refactor import statements and update component types in multiple files 2024-04-22 10:14:53 +01:00
Simon Larsen
fca1f80243 Refactor import statements and update component types in multiple files 2024-04-22 10:04:28 +01:00
Simon Larsen
96926ffa63 Refactor import statements and update component types in multiple files 2024-04-22 09:24:58 +01:00
Simon Larsen
48b850d350 Refactor field types and import statements in multiple components 2024-04-21 21:14:22 +01:00
Simon Larsen
ab6a01e59b Refactor field types and import statements in multiple components 2024-04-21 18:50:34 +01:00
Simon Larsen
cd5eb62f61 Refactor field types and import statements in multiple components 2024-04-21 18:44:40 +01:00
Simon Larsen
d04aa43b6d Refactor component types and import statements in multiple files 2024-04-21 18:37:15 +01:00
Simon Larsen
308fe269fc Refactor component types and import statements in multiple files 2024-04-21 18:17:36 +01:00
Simon Larsen
0f92e37712 Refactor field types, import statements, and column types in multiple components 2024-04-21 18:08:31 +01:00
Simon Larsen
7f41cebdf7 Refactor field types in multiple components to use specific model types 2024-04-21 18:06:21 +01:00
Simon Larsen
351734d661 Refactor labels handling in multiple components 2024-04-21 17:59:35 +01:00
Simon Larsen
961de94f81 Refactor import statements in Email and Probes settings pages 2024-04-21 17:47:18 +01:00
Simon Larsen
2a89d57560 Refactor Filter interface to include Array<DropdownValue> in FilterData 2024-04-21 17:44:41 +01:00
Simon Larsen
039e0b17a4 Refactor Filter interface to use keyof T for key variable 2024-04-21 17:37:02 +01:00
Simon Larsen
77802eec58 Refactor key variable in Field interface to use keyof T | null 2024-04-21 17:16:00 +01:00
Simon Larsen
5db4cc8d21 Refactor column types and field types to use generic objects 2024-04-21 16:59:05 +01:00
Simon Larsen
f44260ee41 Refactor column types and field types to use generic objects 2024-04-21 09:42:41 +01:00
Simon Larsen
895bacfc11 Refactor ModelDetail component to use keyof TBaseModel for key variable 2024-04-20 20:44:28 +01:00
Simon Larsen
de6363574c Refactor model table column types and field types to use generic objects 2024-04-20 19:33:25 +01:00
Simon Larsen
2a07d62146 Refactor model table column types and field types to use generic objects 2024-04-20 19:16:03 +01:00
Simon Larsen
3138415bd0 Refactor SpanViewer component to import TelemetryServiceElement and use it for fieldType.Element 2024-04-20 18:01:57 +01:00
Simon Larsen
527ba63c94 Refactor Tabs component to improve UI and fix styling issues 2024-04-20 17:29:16 +01:00
Simon Larsen
6910648daf Update Nginx Helm chart to include a new volume for /var/run and /var/cache/nginx 2024-04-20 16:59:40 +01:00
Simon Larsen
9fb68afe79 Update Nginx Helm chart to include a new volume for /var/run 2024-04-20 16:54:50 +01:00
Simon Larsen
350f808b44 Update SideOver component to use "Close" instead of "Cancel" for the close button title 2024-04-19 18:16:55 +01:00
Simon Larsen
6438953c91 update values for nginx 2024-04-19 18:11:58 +01:00
Simon Larsen
7f98e469cc Update Nginx and Docker ports to use custom ports 7849 and 7850 2024-04-19 18:11:48 +01:00
Simon Larsen
d49ba093f0 tabs test update 2024-04-19 17:59:50 +01:00
Simon Larsen
1ebcbeeba2 Refactor Tabs component to remove unused code and improve readability 2024-04-19 17:51:25 +01:00
Simon Larsen
c4eb6cd44a Refactor SpanViewer component to simplify conditional rendering of span 2024-04-19 16:43:19 +01:00
Simon Larsen
48a58951e8 Update SideOver component to use "Close" instead of "Cancel" for the close button title 2024-04-19 16:40:13 +01:00
Simon Larsen
414f8c7208 Update SideOver component to use "Close" instead of "Cancel" for the close button title 2024-04-19 16:22:12 +01:00
Simon Larsen
cb1d640c56 Update import paths for DashboardLogsViewer in Index.tsx and View/Index.tsx 2024-04-19 15:45:54 +01:00
Simon Larsen
8a271608e8 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-19 14:23:48 +01:00
Simon Larsen
dd3627dca8 Refactor GanttChart components to support multi-select feature 2024-04-19 14:23:45 +01:00
Simon Larsen
fe6c917862 Merge pull request #1347 from OneUptime/snyk-upgrade-f72cdda21b6b90f7a0a31bdba3eab5ed
[Snyk] Upgrade reflect-metadata from 0.2.1 to 0.2.2
2024-04-19 13:27:21 +01:00
Simon Larsen
0dfa3f912e Refactor TraceView component to improve readability and add missing font styles 2024-04-19 13:26:29 +01:00
Simon Larsen
d8bfab3ae0 Update BarLabel component to use label prop instead of title prop in Bar component 2024-04-19 12:32:59 +01:00
Simon Larsen
d7a9adf791 Update BrandColors imports to use Green instead of Green500 2024-04-19 11:56:24 +01:00
Simon Larsen
fb070b9448 Update BrandColors imports to use Green instead of Green500 2024-04-19 11:53:28 +01:00
Simon Larsen
add313980c Update SendMessageToChannel.ts to include msteams width in AdaptiveCard 2024-04-19 10:14:34 +01:00
snyk-bot
29a909d547 fix: upgrade reflect-metadata from 0.2.1 to 0.2.2
Snyk has created this PR to upgrade reflect-metadata from 0.2.1 to 0.2.2.

See this package in npm:
https://www.npmjs.com/package/reflect-metadata

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-04-19 02:31:24 +00:00
Simon Larsen
13b10ca874 Merge pull request #1346 from OneUptime/helm-dep-update
Helm dep update
2024-04-18 23:01:42 +01:00
Simon Larsen
d0738ad64d Update Helm dependencies and versions 2024-04-18 23:00:56 +01:00
Simon Larsen
a21b9ca555 Update Helm dependencies and versions 2024-04-18 22:55:21 +01:00
Simon Larsen
f0e2910bd5 update helm dep 2024-04-18 22:06:09 +01:00
Simon Larsen
8f84027813 Refactor HelmChart templates to fix volume mount paths in haraka.yaml and nginx.yaml 2024-04-18 20:38:29 +01:00
Simon Larsen
970b6fbb92 Merge pull request #1345 from OneUptime/error-spans
Error spans
2024-04-18 13:34:41 +01:00
Simon Larsen
c8db6f237f Refactor GanttChartRow component to improve readability and add padding to child rows 2024-04-18 13:34:25 +01:00
Simon Larsen
01477fd102 Merge branch 'master' into error-spans 2024-04-18 12:58:21 +01:00
Simon Larsen
0bd173dd93 Add basic ops query to check size of tables in Clickhouse 2024-04-18 12:04:48 +01:00
Simon Larsen
87b7bbad16 Refactor HelmChart templates to use emptyDir volumes for haraka.yaml 2024-04-18 11:04:38 +01:00
Simon Larsen
2524684b1f Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-18 11:01:35 +01:00
Simon Larsen
6cc00a1e5b Refactor HelmChart templates to use emptyDir volumes instead of persistentVolumeClaim 2024-04-18 11:00:21 +01:00
Simon Larsen
c2285848cd add enable to haraka 2024-04-18 10:43:31 +01:00
Simon Larsen
506a89aeb3 Merge pull request #1344 from OneUptime/snyk-upgrade-6271cd99ae391fe1209a66241b751143
[Snyk] Upgrade @types/lodash from 4.14.202 to 4.17.0
2024-04-17 13:04:03 +01:00
snyk-bot
7c0221e6b8 fix: upgrade @types/lodash from 4.14.202 to 4.17.0
Snyk has created this PR to upgrade @types/lodash from 4.14.202 to 4.17.0.

See this package in npm:
https://www.npmjs.com/package/@types/lodash

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-04-17 00:48:15 +00:00
Simon Larsen
e9d8c5b2bc Refactor GanttChart components and update import paths for Row and GanttChartRow 2024-04-16 22:14:55 +01:00
Simon Larsen
8e5fc32f4d Refactor GanttChart components and update row level in Row component 2024-04-16 20:54:56 +01:00
Simon Larsen
2eaeec326f Refactor GanttChart components and update title and description types to support React elements 2024-04-16 20:22:47 +01:00
Simon Larsen
c5823308af Refactor GanttChart components and fix line wrapping issue in TraceView component 2024-04-16 20:04:23 +01:00
Simon Larsen
f0e255eb24 Refactor GanttChart components and fix line wrapping issue in SendMessageToChannel.ts 2024-04-16 15:29:08 +01:00
Simon Larsen
bccd2fd5d2 Refactor GanttChart components and fix line wrapping issue in SendMessageToChannel.ts 2024-04-16 15:27:01 +01:00
Simon Larsen
534c798028 Merge branch 'master' into error-spans 2024-04-16 13:31:57 +01:00
Simon Larsen
2a48b585a4 Refactor color variables in BrandColors.test.ts to use updated hex codes 2024-04-16 13:29:41 +01:00
Simon Larsen
8de699cb94 Refactor unique span filtering logic in TraceView component 2024-04-16 13:27:26 +01:00
Simon Larsen
03ffeba683 Merge branch 'master' into error-spans 2024-04-16 13:14:29 +01:00
Simon Larsen
153d55b774 Refactor field types and filters in Telemetry/Services/View/Traces/View/Index.tsx component 2024-04-16 13:14:26 +01:00
Simon Larsen
1b95dfa5ed Fix line wrapping issue in SendMessageToChannel.ts 2024-04-16 13:12:05 +01:00
Simon Larsen
d9451af991 Fix line wrapping issue in SendMessageToChannel.ts 2024-04-16 13:08:26 +01:00
Simon Larsen
da375dce63 Refactor BaseModelTable and TelemetryServiceElement components 2024-04-16 13:04:48 +01:00
Simon Larsen
d12e2f7622 Refactor spanId variable name in TraceView component 2024-04-16 12:38:35 +01:00
Simon Larsen
d0e9120559 Refactor TracesList component in Index.tsx to remove unused imports and update span status colors 2024-04-16 12:19:02 +01:00
Simon Larsen
d35ae2f075 Refactor BrandColors.test.ts and ProjectService.ts to use the new color variables 2024-04-16 12:03:04 +01:00
Simon Larsen
92076dad8b Refactor class names and variables for Gray to Gray500 2024-04-16 11:56:51 +01:00
Simon Larsen
a1ded23b46 Refactor field types and filters in BrandColors.ts and LineChart.tsx components 2024-04-16 11:56:22 +01:00
Simon Larsen
4d618e6d93 Fix casing of "Gray" in class names and variables 2024-04-16 11:54:57 +01:00
Simon Larsen
d3e461e0bd Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2024-04-16 11:30:20 +01:00
Simon Larsen
7a94f4fcbc Add TelemetryServiceColor migration to DataMigrations 2024-04-16 11:30:08 +01:00
Simon Larsen
2758b5273b Add TelemetryServiceColor migration to DataMigrations 2024-04-16 11:28:18 +01:00
Simon Larsen
79d18ab920 Refactor field types and filters in BrandColors.ts and LineChart.tsx components 2024-04-16 11:27:09 +01:00
Simon Larsen
13dd7c2db5 Merge pull request #1342 from OneUptime/snyk-upgrade-52e97e539fcfb5c5cd429cca08838406
[Snyk] Upgrade posthog-js from 1.111.0 to 1.116.6
2024-04-15 19:58:27 +01:00
snyk-bot
2486cd93c0 fix: upgrade posthog-js from 1.111.0 to 1.116.6
Snyk has created this PR to upgrade posthog-js from 1.111.0 to 1.116.6.

See this package in npm:
https://www.npmjs.com/package/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-04-15 18:53:20 +00:00
Simon Larsen
980c82ce31 Merge pull request #1339 from OneUptime/snyk-upgrade-e8ac578e50c1c3aa78c497fb48d0d3b1
[Snyk] Upgrade posthog-js from 1.111.0 to 1.116.5
2024-04-15 13:17:39 +01:00
Simon Larsen
1f6a4dbf40 Merge pull request #1340 from OneUptime/snyk-upgrade-3db1fd0a1346faee5053fb7c52f22d07
[Snyk] Upgrade @babel/runtime from 7.24.0 to 7.24.1
2024-04-15 12:40:07 +01:00
Simon Larsen
b14f518461 Merge pull request #1341 from OneUptime/snyk-fix-df93c133d994b2d52436acb86973db95
[Snyk] Security upgrade OpenTelemetry.Instrumentation.AspNetCore from 1.5.1-beta.1 to 1.8.1
2024-04-15 11:56:17 +01:00
snyk-bot
70d243aa7b fix: Examples/otel-dotnet/otel-dotnet.csproj to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DOTNET-OPENTELEMETRYINSTRUMENTATIONASPNETCORE-6613064
2024-04-14 23:00:18 +00:00
Simon Larsen
3f3996b155 Refactor variable name in BrandColors.test.ts for consistency 2024-04-14 19:30:22 +01:00
snyk-bot
5b3915fc65 fix: upgrade @babel/runtime from 7.24.0 to 7.24.1
Snyk has created this PR to upgrade @babel/runtime from 7.24.0 to 7.24.1.

See this package in npm:
https://www.npmjs.com/package/@babel/runtime

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-04-14 17:11:21 +00:00
snyk-bot
53d33eb0fb fix: upgrade posthog-js from 1.111.0 to 1.116.5
Snyk has created this PR to upgrade posthog-js from 1.111.0 to 1.116.5.

See this package in npm:
https://www.npmjs.com/package/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-04-14 17:11:17 +00:00
Simon Larsen
c2722cb66a Refactor field types and filters in BrandColors.ts and Index.tsx components 2024-04-14 12:31:44 +01:00
Simon Larsen
2ccc7a8061 Refactor field types and filters in ExecutionLogsTable, ExecutionLogsTimelineTable, and Escalation components 2024-04-12 12:13:48 +01:00
Simon Larsen
97244b5c2c Refactor field types and filters in various components 2024-04-12 12:05:39 +01:00
Simon Larsen
90a0988e06 Refactor field types and filters in Invoices.tsx component 2024-04-12 11:59:41 +01:00
Simon Larsen
a3778b8ce6 Refactor field types and filters in various components 2024-04-12 11:56:37 +01:00
Simon Larsen
79bac7fd3f Refactor filter handling and permissions in List, ListBody, and BaseModelTable components 2024-04-12 11:29:28 +01:00
Simon Larsen
112863a52b Refactor field types and filters in various components 2024-04-12 09:48:26 +01:00
Simon Larsen
c1150c06e0 Refactor field types in WorkflowStatus, Variable, IncidentState, MonitorStatus, IncidentSeverity, and ScheduledMaintenanceState components 2024-04-11 21:58:45 +01:00
Simon Larsen
fcfb3f7e50 Refactor FilterComponent to handle additional field types in Filter.tsx 2024-04-11 21:41:55 +01:00
Simon Larsen
7c6c5ccac1 Refactor filter dropdown options in Domains.tsx and SMSSubscribers.tsx components 2024-04-11 21:39:06 +01:00
Simon Larsen
03ad9bf349 Refactor date fields to use FieldType.Date instead of FieldType.DateTime 2024-04-11 21:33:18 +01:00
Simon Larsen
f95ab83ae2 Refactor filter handling and permissions in List, ListBody, and BaseModelTable components 2024-04-11 21:05:49 +01:00
Simon Larsen
a25951f330 Refactor filter handling and permissions in Labels, Variable, Services, MonitorProbes, Users, MonitorTable, APIKeys, Domains, Variable, Call, Teams, SSO, Owners, and ModelTable components 2024-04-11 20:35:38 +01:00
Simon Larsen
5b0f450802 Merge branch 'master' into error-spans 2024-04-11 17:29:04 +01:00
Simon Larsen
be2b32822b Update Kubernetes configurations for OneUptime chart 2024-04-11 17:07:37 +01:00
Simon Larsen
6ebc601121 Update port configurations in HelmChart/Public/oneuptime/values.yaml and templates 2024-04-11 17:04:24 +01:00
Simon Larsen
14d049bd0f Refactor ShowTableAs to ShowAs in MonitorStatus, IncidentState, IncidentSeverity, ScheduledMaintenanceState, PublicNote, and Escalation components 2024-04-11 16:56:36 +01:00
Simon Larsen
47b5f44796 Refactor filter handling and permissions in Labels, Variable, Services, MonitorProbes, Users, MonitorTable, APIKeys, Domains, Variable, Call, Teams, and SSO components 2024-04-11 16:27:57 +01:00
Simon Larsen
ec8bb3d67b Refactor MonitorTypeHelper to include doesMonitorTypeHaveDocumentation and doesMonitorTypeHaveInterval methods 2024-04-11 15:19:10 +01:00
Simon Larsen
71abac2c3f Refactor MonitorTypeHelper to include isProbableMonitors method 2024-04-11 15:05:06 +01:00
Simon Larsen
21a227d67a Refactor filter handling and permissions in Owners components 2024-04-11 13:23:59 +01:00
Simon Larsen
df0783e4d4 Refactor filter handling and permissions in ModelTable components 2024-04-11 13:04:58 +01:00
Simon Larsen
a9a14b1253 Add filters to IncidentSeverity, PrivateUser, SMSSubscribers, and Announcements components 2024-04-11 11:42:42 +01:00
Simon Larsen
dc13aacb13 Refactor filter handling and permissions in WebhookSubscribers, IncidentState, StateTimeline, and MonitorOwners components 2024-04-11 11:30:05 +01:00
Simon Larsen
7f7d4c7388 Refactor filter handling and permissions in Projects, Probes, and Users components 2024-04-11 10:54:24 +01:00
Simon Larsen
f6642d5582 Refactor filter handling and permissions in EmailLog and IncidentNoteTemplates components 2024-04-10 21:31:12 +01:00
Simon Larsen
e85f216b9e Refactor filter handling and permissions in MonitorGroupResources, IncidentDelete, and MonitorProbes components 2024-04-10 21:27:59 +01:00
Simon Larsen
04289df987 Refactor filter handling and permissions in NewIncidents, ProjectInvitations, Domains, and Billing components 2024-04-10 21:19:28 +01:00
Simon Larsen
5e0bb766d6 Refactor filter handling and permissions in Owners, Labels, and TeamView components 2024-04-10 20:34:19 +01:00
Simon Larsen
e23c979911 Refactor filter handling and permissions in BaseModelTable component 2024-04-10 20:30:44 +01:00
Simon Larsen
cf43a3fb4e Refactor filter handling and permissions in BaseModelTable component 2024-04-10 20:12:44 +01:00
Simon Larsen
5d809015ee Refactor filter handling and permissions in BaseModelTable component 2024-04-10 18:30:32 +01:00
Simon Larsen
6b30e9aa2f Refactor BaseModelTable component to improve filter handling and permissions 2024-04-10 17:33:26 +01:00
Simon Larsen
29c4a43968 Refactor Table and ModelTable components to remove unused imports and properties 2024-04-10 17:20:46 +01:00
5134 changed files with 617030 additions and 351173 deletions

68
.bash_profile Normal file
View File

@@ -0,0 +1,68 @@
# These are aliases that will make your life simple when you're building OneUptime
# Make directory and change directory at the same time.
mkcdir ()
{
mkdir -p -- "$1" &&
cd -P -- "$1"
}
# Git aliases
alias g="git"
alias gs="git status"
alias ga="git add"
alias gc="git checkout"
alias gb="git branch"
alias gp="git pull"
alias gpo="git push origin"
alias gl="git log"
alias gd="git diff"
alias gm="git merge"
# Kubernetes aliases
alias k="kubectl"
alias kg="kubectl get"
alias kd="kubectl describe"
alias kc="kubectl create"
alias kdel="kubectl delete"
alias klo="kubectl logs"
alias klof="kubectl logs -f"
alias kex="kubectl exec"
alias kexi="kubectl exec -it"
# Docker aliases
alias d="docker"
alias dc="docker compose"
alias dcu="docker compose up"
alias dcd="docker compose down"
# Node aliases
alias n="npm"
alias ni="npm install"
alias nis="npm install --save"
alias nid="npm install --save-dev"
alias nr="npm run"
alias nt="npm test"
alias ns="npm start"
alias nb="npm build"
# Rust aliases
alias c="cargo"
alias cb="cargo build"
alias cr="cargo run"
# OneUptime Specific Aliases
# --------------------------
alias nrd="npm run dev"
alias nrl="npm run logs"
alias nrb="npm run build"
alias nrfb="npm run force-build"
alias nrps="npm run ps-dev"
# OneUptime LLM Server
alias nrfbl="npm run force-build-llm"
alias nrdl="npm run dev-llm"
alias nrll="npm run logs-llm"
alias nrbl="npm run build-llm"

View File

@@ -56,5 +56,4 @@ settings.json
GoSDK/tester/
Llama/Models/*

View File

@@ -1,28 +0,0 @@
*/node_modules/*
*/build/*
*/coverage/*
*/dist/*
*/public/*
*/views/*
*fonts*
*logos*
.*
*.png
*.sh
*.txt
*.snap
*.enc
Dockerfile
CHANGELOG
LICENSE
marketing/*/*
licenses/*
certifications/*
ApiReference/public/assets/*
JavaScriptSDK/src/cli/server-monitor/out/scripts/prettify/*
_test/*

View File

@@ -1,215 +0,0 @@
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"tsx": true,
"spread": true
},
"sourceType": "module",
"project": [
"./tsconfig.json"
]
},
"env": {
"browser": true,
"node": true,
"jquery": true,
"es6": true,
"jest": true,
"jasmine": true
},
"plugins": [
"react",
"jsx-a11y",
"progress",
"@typescript-eslint",
"unused-imports"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended",
"prettier"
],
"globals": {
"describe": true,
"context": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"it": true,
"expect": true,
"workbox": true,
"importScripts": true,
"$TSFixMe": true,
"NodeJS": true,
"JSX": true
},
"parser": "@typescript-eslint/parser",
"rules": {
"no-fallthrough": "error",
"no-unreachable": "error",
"no-cond-assign": "error",
"valid-typeof": "error",
"no-func-assign": "error",
"curly": "error",
"no-extra-semi": "error",
"no-else-return": "error",
"no-div-regex": "error",
"no-octal": "error",
"no-extra-bind": "error",
"unicode-bom": "error",
"no-extra-boolean-cast": "error",
"wrap-regex": "error",
"wrap-iife": "error",
"yield-star-spacing": "error",
"no-implicit-coercion": "error",
"no-extra-label": "error",
"multiline-comment-style": "off",
"no-lonely-if": "error",
"no-floating-decimal": "error",
"eqeqeq": "error",
"dot-notation": "off", // Off because it messes up with typescript compiler.
"@typescript-eslint/dot-notation": "off", //temp off.
"progress/activate": 1,
"linebreak-style": [
"error",
"unix"
],
"@typescript-eslint/no-empty-interface": [
"error",
{
"allowSingleExtends": true
}
],
// https://www.npmjs.com/package/eslint-plugin-unused-imports
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"error",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/explicit-member-accessibility": [
"error"
],
"no-console": "error",
"no-undef": "error",
"no-empty": "error",
"prefer-arrow-callback": "error",
"constructor-super": "error",
"no-case-declarations": "error",
"no-mixed-spaces-and-tabs": "error",
"no-useless-escape": "error",
"prettier/prettier": "error",
"react/jsx-no-undef": "error",
"react/jsx-no-bind": [
"error",
{
"allowArrowFunctions": true,
"allowBind": false,
"ignoreRefs": false
}
],
"react/no-children-prop": "error",
"react/no-deprecated": "error",
"react/boolean-prop-naming": "error",
"react/no-is-mounted": "error",
"react/no-find-dom-node": "error",
"one-var-declaration-per-line": "error",
"arrow-parens": "error",
"arrow-body-style": [
"error",
"always"
],
"@typescript-eslint/typedef": [
"error",
{
"arrowParameter": true,
"variableDeclaration": true
}
],
"@typescript-eslint/strict-boolean-expressions": "off", //Need to enable this very soon
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
],
"react/no-did-update-set-state": "error",
"react/no-unknown-property": "error",
"react/no-unused-prop-types": "error",
"react/jsx-no-duplicate-props": "error",
"react/no-unused-state": "error",
"react/jsx-uses-vars": "error",
"react/prop-types": "error",
"react/react-in-jsx-scope": "error",
"react/no-string-refs": "error",
"jsx-a11y/href-no-hash": [
0
],
"react/no-unescaped-entities": "error",
"react/display-name": "error",
"react/jsx-pascal-case": "error",
"array-callback-return": "error",
"no-loop-func": "error",
"no-duplicate-imports": "error",
"no-promise-executor-return": "error",
"capitalized-comments": "off", // this is turned off because come commented code should not be capitalized.
"for-direction": "error",
"getter-return": "error",
"jsx-a11y/anchor-is-valid": "error",
"no-async-promise-executor": "error",
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
],
"no-var": "error",
"object-curly-spacing": [
"error",
"always"
],
"no-unneeded-ternary": "error",
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"String": true,
"Boolean": true,
"Number": true,
"Symbol": false,
"{}": true,
"Object": true,
"object": true,
"Function": true
},
"extendDefaults": true
}
]
},
"settings": {
"react": {
"version": "18.1.0"
}
}
}

View File

@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug: <Title of the issue>'
title: '<Title of the issue>'
labels: 'bug'
assignees: ''

View File

@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'Enhancement: <Title of the issue>'
title: '<Title of the issue>'
labels: 'enhancement'
assignees: ''

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

@@ -16,14 +16,22 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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
@@ -31,14 +39,137 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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
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 accounts service
- name: build docker image
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
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 accounts service
- name: build docker image
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
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 accounts service
- name: build docker image
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
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 accounts service
- name: build docker image
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
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 accounts service
- name: build docker image
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:
@@ -47,14 +178,22 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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
@@ -62,15 +201,71 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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
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
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./Copilot/Dockerfile .
docker-build-e2e:
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 accounts service
- name: build docker image
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
@@ -78,14 +273,22 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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
@@ -93,30 +296,22 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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 .
docker-build-haraka:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build images
- name: build docker image
run: sudo docker build -f ./Haraka/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
@@ -124,29 +319,114 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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-ingestor:
docker-build-probe-ingest:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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 ./Ingestor/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
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 probe api
- name: build docker image
uses: nick-fields/retry@v3
with:
timeout_minutes: 45
max_attempts: 3
command: sudo docker build --no-cache -f ./ServerMonitorIngest/Dockerfile .
docker-build-telemetry:
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 probe api
- name: build docker image
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
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 probe api
- name: build docker image
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
@@ -154,29 +434,22 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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 .
docker-build-infrastructure-agent:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./InfrastructureAgent/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
@@ -184,11 +457,19 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
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 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 .

View File

@@ -31,10 +31,8 @@ jobs:
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: [ 'javascript', 'typescript', 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

View File

@@ -14,7 +14,7 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Helm
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
@@ -28,7 +28,7 @@ jobs:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: sudo apt-get update
- run: sudo apt-get install -y curl gcc
- run: sudo apt-get install -y build-essential

View File

@@ -15,110 +15,202 @@ jobs:
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd CommonServer && npm install
- run: cd IsolatedVM && npm install && npm run compile && npm run dep-check
compile-common-server:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Compile IsolatedVM
uses: nick-fields/retry@v3
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install && npm run compile && npm run dep-check
compile-common-ui:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonUI && npm install --force && npm run compile && npm run dep-check
timeout_minutes: 30
max_attempts: 3
command: cd IsolatedVM && npm install && npm run compile && npm run dep-check
compile-common:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install && npm run compile && npm run dep-check
node-version: latest
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- 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
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 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
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 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
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 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
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 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
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 Docs Reference
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: 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
with:
node-version: latest
- run: cd Common && npm install
- name: Compile Copilot
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
command: cd Copilot && npm install && npm run compile && npm run dep-check
compile-nginx:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
# Setup Go
- uses: actions/setup-go@v5
- name: Compile Infrastructure Agent
uses: nick-fields/retry@v3
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd InfrastructureAgent && npm install && npm run compile && npm run dep-check
timeout_minutes: 30
max_attempts: 3
command: cd InfrastructureAgent && go build .
compile-admin-dashboard:
@@ -126,110 +218,190 @@ jobs:
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Dashboard && npm install && npm run compile && npm run dep-check
compile-model:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Compile Dashboard
uses: nick-fields/retry@v3
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd Model && npm install && npm run compile && npm run dep-check
timeout_minutes: 30
max_attempts: 3
command: cd Dashboard && npm install && npm run compile && npm run dep-check
compile-e2e:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
- run: cd E2E && npm install && npm run compile && npm run dep-check
node-version: latest
- run: sudo apt-get update
- run: cd Common && npm install
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && 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-ingestor:
compile-probe-ingest:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Ingestor && 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
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 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-telemetry:
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 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:
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 Incoming Request Ingest
uses: nick-fields/retry@v3
with:
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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- 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
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && 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
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 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

View File

@@ -1,16 +0,0 @@
name: Misc / Dependabot Automerge
on:
pull_request:
jobs:
merge:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GITHUB_TOKEN }}

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

View File

@@ -0,0 +1,74 @@
name: OpenAPI Spec Generation
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
generate-openapi-spec:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{ github.run_number }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Install Common dependencies
run: cd Common && npm install
- name: Install root dependencies
run: npm install
- name: Install Script dependencies
run: cd Scripts && npm install
- name: Generate OpenAPI specification
run: npm run generate-openapi-spec
- name: Check if OpenAPI spec was generated
run: |
if [ -f "./openapi.json" ]; then
echo "✅ OpenAPI spec file generated successfully"
echo "📄 File size: $(du -h ./openapi.json | cut -f1)"
echo "📊 Spec contains $(jq '.paths | length' ./openapi.json) API paths"
echo "🏷️ API version: $(jq -r '.info.version' ./openapi.json)"
echo "📝 API title: $(jq -r '.info.title' ./openapi.json)"
else
echo "❌ OpenAPI spec file was not generated"
exit 1
fi
- name: Validate OpenAPI spec format
run: |
# Check if the file is valid JSON
if jq empty ./openapi.json; then
echo "✅ OpenAPI spec is valid JSON"
else
echo "❌ OpenAPI spec is not valid JSON"
exit 1
fi
# Check if it has required OpenAPI fields
if jq -e '.openapi and .info and .paths' ./openapi.json > /dev/null; then
echo "✅ OpenAPI spec has required fields"
else
echo "❌ OpenAPI spec missing required fields (openapi, info, paths)"
exit 1
fi
- name: Upload OpenAPI spec as artifact
uses: actions/upload-artifact@v4
with:
name: openapi-spec
path: ./openapi.json
retention-days: 30

View File

@@ -1,31 +0,0 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
BASE_URL: http://localhost
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run Server in Docker
run: npm run dev
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: cd Playwright && npm install && npx playwright install && npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
# 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,101 @@
name: Terraform Provider Generation
on:
pull_request:
push:
branches:
- main
- master
- develop
workflow_dispatch: # Allow manual trigger
jobs:
generate-terraform-provider:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{ github.run_number }}
steps:
- 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: '1.21'
cache: true
- name: Install Common dependencies
run: cd Common && npm install
- name: Install root dependencies
run: npm install
- name: Install Script dependencies
run: cd Scripts && npm install
- name: Generate Terraform provider
run: npm run generate-terraform-provider
- name: Verify provider generation
run: |
PROVIDER_DIR="./Terraform"
# Check if provider directory was created
if [ ! -d "$PROVIDER_DIR" ]; then
echo "❌ Terraform provider directory not created"
exit 1
fi
echo "✅ Provider directory created: $PROVIDER_DIR"
# Count generated files
GO_FILES=$(find "$PROVIDER_DIR" -name "*.go" | wc -l)
echo "📊 Generated Go files: $GO_FILES"
if [ "$GO_FILES" -eq 0 ]; then
echo "❌ No Go files were generated"
exit 1
fi
# Check for essential files
if [ -f "$PROVIDER_DIR/go.mod" ]; then
echo "✅ Go module file created"
fi
if [ -f "$PROVIDER_DIR/README.md" ]; then
echo "✅ Documentation created"
fi
# Show directory structure for debugging
echo "📁 Provider directory structure:"
ls -la "$PROVIDER_DIR" || true
- name: Test Go build
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
with:
name: Terraform
path: ./Terraform/
retention-days: 30

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +0,0 @@
name: Common Server Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonServer && bash test-setup.sh
- run: export $(grep -v '^#' config.env | xargs) && cd CommonServer && rm -rf build && npm run test

View File

@@ -12,11 +12,12 @@ jobs:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
BILLING_PRIVATE_KEY: ${{secrets.TEST_BILLING_PRIVATE_KEY}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
- run: cd Model && npm install
- run: cd Common && npm install && npm run test
node-version: latest
- run: cd Common && bash test-setup.sh
- run: cd Common && npm install && rm -rf build && npm run test

View File

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

View File

@@ -0,0 +1,21 @@
name: Incoming Request Ingest Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- '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 IncomingRequestIngest && npm install && npm run test

View File

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

21
.github/workflows/test.mcp.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: MCP Server Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- '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 MCP && npm install && npm run test

View File

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

View File

@@ -0,0 +1,21 @@
name: ProbeIngest Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- '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 ProbeIngest && npm install && npm run test

View File

@@ -13,12 +13,11 @@ jobs:
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.3.0
node-version: latest
- run: cd Common && npm install
- run: cd CommonServer && npm install
- run: cd Probe && npm install
- run: cd Probe && npm run test

21
.github/workflows/test.telemetry.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Telemetry Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- '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 Telemetry && npm install && npm run test

42
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Tests
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- 'release'
jobs:
test-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 App && npm install && npm run test
test-home:
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 Home && npm install && npm run test
test-worker:
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 Worker && npm install && npm run test

34
.gitignore vendored
View File

@@ -86,17 +86,13 @@ Backups/*.tar
.env
Haraka/dkim/keys/private_base64.txt
Haraka/dkim/keys/public_base64.txt
.eslintcache
HelmChart/Values/*.values.yaml
Llama/Models/tokenizer*
Llama/Models/llama*
LLM/__pycache__/*
Llama/__pycache__/*
LLM/Models/*
Examples/otel-dotnet/obj/*
@@ -107,4 +103,28 @@ InfrastructureAgent/build/*
InfrastructureAgent/err.log
InfrastructureAgent/out.log
InfrastructureAgent/daemon.pid
InfrastructureAgent/daemon.pid
App/greenlock/.greenlockrc
App/greenlock/greenlock.d/config.json
App/greenlock/greenlock.d/config.json.bak
Examples/otel-dotnet/bin/Debug/net6.0/Grpc.Core.Api.dll.txt
InfrastructureAgent/oneuptime-infrastructure-agent
# ESLint cache
.eslintcache*
# Terraform generated files
openapi.json
Terraform/**
TerraformTest/**
terraform-provider-example/**
# MCP Server
MCP/build/
MCP/.env
MCP/node_modules
Dashboard/public/sw.js
.claude/settings.local.json

15
.oneuptime/README.md Normal file
View File

@@ -0,0 +1,15 @@
## 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.

10
.oneuptime/config.js Normal file
View File

@@ -0,0 +1,10 @@
// 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

@@ -0,0 +1,16 @@
# 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

@@ -0,0 +1,13 @@
# 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

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

View File

@@ -0,0 +1,9 @@
# 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

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

View File

@@ -50,4 +50,4 @@ marketing/*/*
licenses/*
certifications/*
ApiReference/public/assets/*
JavaScriptSDK/src/cli/server-monitor/out/scripts/prettify/*
JavaScriptSDK/src/cli/server-monitor/out/scripts/prettify/*

View File

@@ -1,8 +0,0 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "avoid"
}

171
.vscode/launch.json vendored
View File

@@ -19,6 +19,28 @@
}
],
"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",
"request": "launch",
"mode": "debug",
"program": "./InfrastructureAgent",
"args": ["start"],
},
{
"name": "Node.js - Debug Current File",
"type": "node",
@@ -41,6 +63,76 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Home",
"name": "Home: Debug with Docker",
"port": 9212,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Worker",
"name": "Worker: Debug with Docker",
"port": 8734,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Workflow",
"name": "Workflow: Debug with Docker",
"port": 8735,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Docs",
"name": "Docs: Debug with Docker",
"port": 8738,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/APIReference",
"name": "API Reference: Debug with Docker",
"port": 8737,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/TestServer",
@@ -59,7 +151,7 @@
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Probe",
"name": "Probe: Debug with Docker",
"port": 9655,
"port": 9229,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
@@ -71,8 +163,8 @@
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Ingestor",
"name": "Ingestor: Debug with Docker",
"localRoot": "${workspaceFolder}/ProbeIngest",
"name": "ProbeIngest: Debug with Docker",
"port": 9932,
"remoteRoot": "/usr/src/app",
"request": "attach",
@@ -83,6 +175,48 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/ServerMonitorIngest",
"name": "ServerMonitorIngest: Debug with Docker",
"port": 9941,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/IncomingRequestIngest",
"name": "IncomingRequestIngest: Debug with Docker",
"port": 9933,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Telemetry",
"name": "Telemetry: Debug with Docker",
"port": 9938,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/IsolatedVM",
@@ -125,20 +259,6 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Workers",
"name": "Workers: Debug with Docker",
"port": 9654,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/StatusPage",
@@ -196,25 +316,12 @@
"autoAttachChildProcesses": true
},
{
"name": "CommonServer: Debug Tests",
"name": "Common: Debug Tests",
"type": "node",
"restart": true,
"autoAttachChildProcesses": true,
"request": "launch",
"cwd": "${workspaceRoot}/CommonServer",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"debug:test"
],
},
{
"name": "Probe: Debug Tests",
"type": "node",
"restart": true,
"autoAttachChildProcesses": true,
"request": "launch",
"cwd": "${workspaceRoot}/Probe",
"cwd": "${workspaceRoot}/Common",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",

View File

30
APIReference/.gitignore vendored Executable file
View File

@@ -0,0 +1,30 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
#/backend/node_modules
/kubernetes
/node_modules
.idea
# misc
.DS_Store
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
**/*/paymentService.test.js
apiTest.rest
application_security_dir
container_security_dir
# coverage
/coverage
/.nyc_output
/greenlock.d/config.json
/greenlock.d/config.json.bak
/.greenlockrc

View File

@@ -0,0 +1,8 @@
{
"query": {
"age": {
"_type": "EqualTo",
value: 10
}
}
}

View File

@@ -0,0 +1,8 @@
{
"query": {
"age": {
"_type": "GreaterThanOrNull",
"value": 10
}
}
}

View File

@@ -0,0 +1,11 @@
{
"query": {
"labels": {
"_type": "Includes",
"value": [
"aaa00000-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"bbb00000-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
]
}
}
}

View File

@@ -0,0 +1,8 @@
{
"query": {
"age": {
"_type": "LessThanOrNull",
"value": 10
}
}
}

View File

@@ -0,0 +1,75 @@
#
# OneUptime-App Dockerfile
#
# Pull base image nodejs image.
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
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
RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi
# Install bash.
RUN apk add bash && apk add curl
# Install python
RUN apk update && apk add --no-cache --virtual .gyp python3 make g++
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
RUN mkdir /usr/src
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
# Set version in ./Common/package.json to the APP_VERSION
RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/Common/package.json
RUN npm install
COPY ./Common /usr/src/Common
ENV PRODUCTION=true
WORKDIR /usr/src/app
# Install app dependencies
COPY ./APIReference/package*.json /usr/src/app/
# Set version in ./App/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.
# - 1446: OneUptime-api-reference
EXPOSE 1446
{{ if eq .Env.ENVIRONMENT "development" }}
#Run the app
CMD [ "npm", "run", "dev" ]
{{ else }}
# Copy app source
COPY ./APIReference /usr/src/app
# Bundle app source
RUN npm run compile
# Set permission to write logs and cache in case container run as non root
RUN chown -R 1000:1000 "/tmp/npm" && chmod -R 2777 "/tmp/npm"
#Run the app
CMD [ "npm", "start" ]
{{ end }}

52
APIReference/Index.ts Executable file
View File

@@ -0,0 +1,52 @@
import APIReferenceRoutes from "./Routes";
import { PromiseVoidFunction } from "Common/Types/FunctionTypes";
import InfrastructureStatus from "Common/Server/Infrastructure/Status";
import logger from "Common/Server/Utils/Logger";
import App from "Common/Server/Utils/StartServer";
import Telemetry from "Common/Server/Utils/Telemetry";
import "ejs";
const APP_NAME: string = "reference";
const init: PromiseVoidFunction = async (): Promise<void> => {
try {
// Initialize telemetry
Telemetry.init({
serviceName: APP_NAME,
});
const statusCheck: PromiseVoidFunction = async (): Promise<void> => {
// Check the status of infrastructure components
return await InfrastructureStatus.checkStatusWithRetry({
checkClickhouseStatus: false,
checkPostgresStatus: false,
checkRedisStatus: false,
retryCount: 3,
});
};
// Initialize the app with service name and status checks
await App.init({
appName: APP_NAME,
statusOptions: {
liveCheck: statusCheck,
readyCheck: statusCheck,
},
});
await APIReferenceRoutes.init();
// Add default routes to the app
await App.addDefaultRoutes();
} 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);
});

29
APIReference/README.md Executable file
View File

@@ -0,0 +1,29 @@
# README
This README would normally document whatever steps are necessary to get your application up and running.
### What is this repository for?
- Quick summary
- Version
- [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
### How do I get set up?
- Summary of set up
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
### Contribution guidelines
- Writing tests
- Code review
- Other guidelines
### Who do I talk to?
- Repo owner or admin
- Other community or team contact

89
APIReference/Routes.ts Executable file
View File

@@ -0,0 +1,89 @@
import AuthenticationServiceHandler from "./Service/Authentication";
import DataTypeServiceHandler from "./Service/DataType";
import ErrorServiceHandler from "./Service/Errors";
import OpenAPIServiceHandler from "./Service/OpenAPI";
import IntroductionServiceHandler from "./Service/Introduction";
import ModelServiceHandler from "./Service/Model";
import PageNotFoundServiceHandler from "./Service/PageNotFound";
import PaginationServiceHandler from "./Service/Pagination";
import PermissionServiceHandler from "./Service/Permissions";
import StatusServiceHandler from "./Service/Status";
import { StaticPath } from "./Utils/Config";
import ResourceUtil, { ModelDocumentation } from "./Utils/Resources";
import Dictionary from "Common/Types/Dictionary";
import FeatureSet from "Common/Server/Types/FeatureSet";
import Express, {
ExpressApplication,
ExpressRequest,
ExpressResponse,
ExpressStatic,
} from "Common/Server/Utils/Express";
const APIReferenceFeatureSet: FeatureSet = {
init: async (): Promise<void> => {
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getResourceDictionaryByPath();
const app: ExpressApplication = Express.getExpressApp();
// Serve static files for the API reference with a cache max age of 30 days
app.use("/reference", ExpressStatic(StaticPath, { maxAge: 2592000 }));
// Redirect index page to the introduction page
app.get(["/reference"], (_req: ExpressRequest, res: ExpressResponse) => {
return res.redirect("/reference/introduction");
});
// Handle "Page Not Found" page
app.get(
["/reference/page-not-found"],
(req: ExpressRequest, res: ExpressResponse) => {
return PageNotFoundServiceHandler.executeResponse(req, res);
},
);
// Handle all other pages based on the "page" parameter
app.get(
["/reference/:page"],
(req: ExpressRequest, res: ExpressResponse) => {
const page: string | undefined = req.params["page"];
if (!page) {
return PageNotFoundServiceHandler.executeResponse(req, res);
}
const currentResource: ModelDocumentation | undefined =
ResourceDictionary[page];
// Execute the appropriate service handler based on the "page" parameter
if (req.params["page"] === "permissions") {
return PermissionServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "authentication") {
return AuthenticationServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "pagination") {
return PaginationServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "errors") {
return ErrorServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "introduction") {
return IntroductionServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "openapi") {
return OpenAPIServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "status") {
return StatusServiceHandler.executeResponse(req, res);
} else if (req.params["page"] === "data-types") {
return DataTypeServiceHandler.executeResponse(req, res);
} else if (currentResource) {
return ModelServiceHandler.executeResponse(req, res);
}
// page not found
return PageNotFoundServiceHandler.executeResponse(req, res);
},
);
app.get("/reference/*", (req: ExpressRequest, res: ExpressResponse) => {
return PageNotFoundServiceHandler.executeResponse(req, res);
});
},
};
export default APIReferenceFeatureSet;

View File

@@ -0,0 +1,36 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import Dictionary from "Common/Types/Dictionary";
// Retrieve resources documentation
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
export default class ServiceHandler {
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
let pageTitle: string = "";
let pageDescription: string = "";
// Extract page parameter from request
const page: string | undefined = req.params["page"];
const pageData: Dictionary<unknown> = {};
// Set default page title and description for the authentication page
pageTitle = "Authentication";
pageDescription = "Learn how to authenticate requests with OneUptime API";
// Render the index page with the specified parameters
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,159 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
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();
export default class ServiceHandler {
public static async executeResponse(
_req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
const pageData: Dictionary<unknown> = {};
pageData["selectCode"] = await LocalCache.getOrSetString(
"data-type",
"select",
async () => {
return await LocalFile.read(`${CodeExamplesPath}/DataTypes/Select.md`);
},
);
pageData["sortCode"] = await LocalCache.getOrSetString(
"data-type",
"sort",
async () => {
return await LocalFile.read(`${CodeExamplesPath}/DataTypes/Sort.md`);
},
);
pageData["equalToCode"] = await LocalCache.getOrSetString(
"data-type",
"equal-to",
async () => {
return await LocalFile.read(`${CodeExamplesPath}/DataTypes/EqualTo.md`);
},
);
pageData["equalToOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"equal-to-or-null",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/EqualToOrNull.md`,
);
},
);
pageData["greaterThanCode"] = await LocalCache.getOrSetString(
"data-type",
"greater-than",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/GreaterThan.md`,
);
},
);
pageData["greaterThanOrEqualCode"] = await LocalCache.getOrSetString(
"data-type",
"greater-than-or-equal",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/GreaterThanOrEqual.md`,
);
},
);
pageData["lessThanCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/LessThan.md`,
);
},
);
pageData["lessThanOrEqualCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/LessThanOrEqual.md`,
);
},
);
pageData["includesCode"] = await LocalCache.getOrSetString(
"data-type",
"includes",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/Includes.md`,
);
},
);
pageData["lessThanOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/LessThanOrNull.md`,
);
},
);
pageData["greaterThanOrNullCode"] = await LocalCache.getOrSetString(
"data-type",
"less-than-or-equal",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/LessThanOrNull.md`,
);
},
);
pageData["isNullCode"] = await LocalCache.getOrSetString(
"data-type",
"is-null",
async () => {
return await LocalFile.read(`${CodeExamplesPath}/DataTypes/IsNull.md`);
},
);
pageData["notNullCode"] = await LocalCache.getOrSetString(
"data-type",
"not-null",
async () => {
return await LocalFile.read(`${CodeExamplesPath}/DataTypes/NotNull.md`);
},
);
pageData["notEqualToCode"] = await LocalCache.getOrSetString(
"data-type",
"not-equals",
async () => {
return await LocalFile.read(
`${CodeExamplesPath}/DataTypes/NotEqualTo.md`,
);
},
);
res.status(200);
return res.render(`${ViewsPath}/pages/index`, {
page: "data-types",
pageTitle: "Data Types",
enableGoogleTagManager: IsBillingEnabled,
pageDescription:
"Data Types that can be used to interact with OneUptime API",
resources: Resources,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,37 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
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();
export default class ServiceHandler {
// Handles the HTTP response for a given request
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
let pageTitle: string = "";
let pageDescription: string = "";
// Get the 'page' parameter from the request
const page: string | undefined = req.params["page"];
const pageData: Dictionary<unknown> = {};
// Set the default page title and description
pageTitle = "Errors";
pageDescription = "Learn more about how we return errors from API";
// Render the response using the given view and data
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,43 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
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 FeaturedResources: Array<ModelDocumentation> =
ResourceUtil.getFeaturedResources();
export default class ServiceHandler {
// Handle the API request
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
// Initialize page title and description
let pageTitle: string = "";
let pageDescription: string = "";
// Get the requested page from the URL parameters
const page: string | undefined = req.params["page"];
const pageData: Dictionary<unknown> = {};
// Set featured resources for the page
pageData["featuredResources"] = FeaturedResources;
// Set page title and description
pageTitle = "Introduction";
pageDescription = "API Reference for OneUptime";
// Render the index page with the required data
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,284 @@
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import PageNotFoundServiceHandler from "./PageNotFound";
import { AppApiRoute } from "Common/ServiceRoute";
import { ColumnAccessControl } from "Common/Types/BaseDatabase/AccessControl";
import {
getTableColumns,
TableColumnMetadata,
} from "Common/Types/Database/TableColumn";
import Dictionary from "Common/Types/Dictionary";
import ObjectID from "Common/Types/ObjectID";
import Permission, {
PermissionHelper,
PermissionProps,
} from "Common/Types/Permission";
import LocalCache from "Common/Server/Infrastructure/LocalCache";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
import LocalFile from "Common/Server/Utils/LocalFile";
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
// Get all resources and resource dictionary
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getResourceDictionaryByPath();
// Get all permission props
const PermissionDictionary: Dictionary<PermissionProps> =
PermissionHelper.getAllPermissionPropsAsDictionary();
export default class ServiceHandler {
// Execute response for a given page
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
let pageTitle: string = "";
let pageDescription: string = "";
let page: string | undefined = req.params["page"];
const pageData: Dictionary<unknown> = {};
// Check if page is provided
if (!page) {
return PageNotFoundServiceHandler.executeResponse(req, res);
}
// Get current resource
const currentResource: ModelDocumentation | undefined =
ResourceDictionary[page];
// Check if current resource exists
if (!currentResource) {
return PageNotFoundServiceHandler.executeResponse(req, res);
}
// Set page title and description
pageTitle = currentResource.name;
pageDescription = currentResource.description;
page = "model";
// Get table columns for current resource
const tableColumns: Dictionary<TableColumnMetadata> = getTableColumns(
currentResource.model,
);
// Filter out columns with no access
for (const key in tableColumns) {
const accessControl: ColumnAccessControl | null =
currentResource.model.getColumnAccessControlFor(key);
if (!accessControl) {
delete tableColumns[key];
continue;
}
if (
accessControl?.create.length === 0 &&
accessControl?.read.length === 0 &&
accessControl?.update.length === 0
) {
delete tableColumns[key];
continue;
}
if (tableColumns[key] && tableColumns[key]!.hideColumnInDocumentation) {
delete tableColumns[key];
continue;
}
if (tableColumns[key]) {
(tableColumns[key] as any).permissions = accessControl;
}
}
// Remove unnecessary columns
delete tableColumns["deletedAt"];
delete tableColumns["deletedByUserId"];
delete tableColumns["deletedByUser"];
delete tableColumns["version"];
// 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];
},
),
update: currentResource.model.updateRecordPermissions.map(
(permission: Permission) => {
return PermissionDictionary[permission];
},
),
delete: currentResource.model.deleteRecordPermissions.map(
(permission: Permission) => {
return PermissionDictionary[permission];
},
),
create: currentResource.model.createRecordPermissions.map(
(permission: Permission) => {
return PermissionDictionary[permission];
},
),
};
// Cache the list request data
pageData["listRequest"] = await LocalCache.getOrSetString(
"model",
"list-request",
async () => {
// Read the list request data from a file
return await LocalFile.read(`${CodeExamplesPath}/Model/ListRequest.md`);
},
);
// Cache the item request data
pageData["itemRequest"] = await LocalCache.getOrSetString(
"model",
"item-request",
async () => {
// Read the item request data from a file
return await LocalFile.read(`${CodeExamplesPath}/Model/ItemRequest.md`);
},
);
// Cache the item response data
pageData["itemResponse"] = await LocalCache.getOrSetString(
"model",
"item-response",
async () => {
// Read the item response data from a file
return await LocalFile.read(
`${CodeExamplesPath}/Model/ItemResponse.md`,
);
},
);
// Cache the count request data
pageData["countRequest"] = await LocalCache.getOrSetString(
"model",
"count-request",
async () => {
// Read the count request data from a file
return await LocalFile.read(
`${CodeExamplesPath}/Model/CountRequest.md`,
);
},
);
// Cache the count response data
pageData["countResponse"] = await LocalCache.getOrSetString(
"model",
"count-response",
async () => {
// Read the CountResponse.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/CountResponse.md`,
);
},
);
pageData["updateRequest"] = await LocalCache.getOrSetString(
"model",
"update-request",
async () => {
// Read the UpdateRequest.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/UpdateRequest.md`,
);
},
);
pageData["updateResponse"] = await LocalCache.getOrSetString(
"model",
"update-response",
async () => {
// Read the UpdateResponse.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/UpdateResponse.md`,
);
},
);
pageData["createRequest"] = await LocalCache.getOrSetString(
"model",
"create-request",
async () => {
// Read the CreateRequest.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/CreateRequest.md`,
);
},
);
pageData["createResponse"] = await LocalCache.getOrSetString(
"model",
"create-response",
async () => {
// Read the CreateResponse.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/CreateResponse.md`,
);
},
);
pageData["deleteRequest"] = await LocalCache.getOrSetString(
"model",
"delete-request",
async () => {
// Read the DeleteRequest.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/DeleteRequest.md`,
);
},
);
pageData["deleteResponse"] = await LocalCache.getOrSetString(
"model",
"delete-response",
async () => {
// Read the DeleteResponse.md file
return await LocalFile.read(
`${CodeExamplesPath}/Model/DeleteResponse.md`,
);
},
);
// Get list response from cache or set it if it's not available
pageData["listResponse"] = await LocalCache.getOrSetString(
"model",
"list-response",
async () => {
// Read the list response from a file
return await LocalFile.read(
`${CodeExamplesPath}/Model/ListResponse.md`,
);
},
);
// Generate a unique ID for the example object
pageData["exampleObjectID"] = ObjectID.generate();
// Construct the API path for the current resource
pageData["apiPath"] =
AppApiRoute.toString() + currentResource.model.crudApiPath?.toString();
// Check if the current resource is a master admin API
pageData["isMasterAdminApiDocs"] =
currentResource.model.isMasterAdminApiDocs;
// Render the index page with the required data
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,45 @@
import {
Host,
HttpProtocol,
IsBillingEnabled,
} from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
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();
export default class ServiceHandler {
// Handles the HTTP response for a given request
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
let pageTitle: string = "";
let pageDescription: string = "";
// Get the 'page' parameter from the request
const page: string | undefined = req.params["page"];
const pageData: Dictionary<unknown> = {
hostUrl: new URL(HttpProtocol, Host).toString(),
};
// Set the default page title and description
pageTitle = "OneUptime OpenAPI Specification";
pageDescription =
"Learn more about the OpenAPI specification for OneUptime";
// Render the response using the given view and data
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,27 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources(); // Get an array of model documentation resources
export default class ServiceHandler {
// This is a static method that handles the response
public static async executeResponse(
_req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
// Set the HTTP status code to 404 (Not Found)
res.status(404);
// Render the 'index' page with the given data
return res.render(`${ViewsPath}/pages/index`, {
page: "404", // The page type (404 in this case)
pageTitle: "Page Not Found", // The page title
enableGoogleTagManager: IsBillingEnabled,
pageDescription: "Page you're looking for is not found.", // The page description
resources: Resources, // The array of model documentation resources
pageData: {}, // An empty object to hold any additional page data
});
}
}

View File

@@ -0,0 +1,58 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { CodeExamplesPath, ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
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
export default class ServiceHandler {
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
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: 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(
"pagination",
"response",
async () => {
// Read Response.md file from CodeExamplesPath
return await LocalFile.read(
`${CodeExamplesPath}/Pagination/Response.md`,
);
},
);
pageData["requestCode"] = await LocalCache.getOrSetString(
"pagination",
"request",
async () => {
// Read Request.md file from CodeExamplesPath
return await LocalFile.read(
`${CodeExamplesPath}/Pagination/Request.md`,
);
},
);
// Render the page with the page data
return res.render(`${ViewsPath}/pages/index`, {
page: page, // Pass the page parameter
resources: Resources, // Pass all resources
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled, // Pass the page title
pageDescription: pageDescription, // Pass the page description
pageData: pageData, // Pass the page data
});
}
}

View File

@@ -0,0 +1,44 @@
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import { 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();
export default class ServiceHandler {
public static async executeResponse(
req: ExpressRequest,
res: ExpressResponse,
): Promise<void> {
// Initialize page title and description
let pageTitle: string = "";
let pageDescription: string = "";
// Get the requested page
const page: string | undefined = req.params["page"];
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) => {
return i.isAssignableToTenant;
},
);
// Render the page
return res.render(`${ViewsPath}/pages/index`, {
page: page,
resources: Resources,
pageTitle: pageTitle,
enableGoogleTagManager: IsBillingEnabled,
pageDescription: pageDescription,
pageData: pageData,
});
}
}

View File

@@ -0,0 +1,27 @@
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
import { ViewsPath } from "../Utils/Config";
import ResourceUtil, { ModelDocumentation } from "../Utils/Resources";
import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express";
// Retrieve resources from ResourceUtil
const resources: Array<ModelDocumentation> = ResourceUtil.getResources();
export default class ServiceHandler {
public static async executeResponse(
_req: ExpressRequest, // Ignore request object
res: ExpressResponse,
): Promise<void> {
// Set HTTP status to 200
res.status(200);
// Render index page with necessary data
return res.render(`${ViewsPath}/pages/index`, {
page: "status",
pageTitle: "Status",
enableGoogleTagManager: IsBillingEnabled,
pageDescription: "200 - Success",
resources: resources, // Pass resources to the template
pageData: {}, // Pass empty data to the template
});
}
}

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 649 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

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