Commit Graph
18647 Commits
Author SHA1 Message Date
Kristian Bendiksen a879452563 #12199 Python: Add validation error messages for set_summary_values()
The set_summary_values() Python API method now provides clear error
messages when validation fails instead of failing silently.

Changes:
- Add keyword length validation (8-character SMSPEC format limit)
- Add value vector size validation with informative messages
- Add test cases for both validation scenarios
- Update existing test to expect exceptions for invalid inputs

Fixes #12199.
2026-01-05 08:20:30 +01:00
dependabot[bot] f070303dc7 Bump celinekurpershoek/link-checker from 1.0.2 to 1.0.3
Bumps [celinekurpershoek/link-checker](https://github.com/celinekurpershoek/link-checker) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/celinekurpershoek/link-checker/releases)
- [Commits](https://github.com/celinekurpershoek/link-checker/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: celinekurpershoek/link-checker
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 13:05:51 +01:00
magnesj 937d9e0050 Fixes by clang-tidy 2025-12-23 08:19:11 +01:00
Magne Sjaastad 96eebdf8ef Enhances crash reporting for Application Insights
Refactors crash reporting to include structured stack trace data formatted as JSON for better integration with Application Insights.
2025-12-22 16:41:29 +01:00
Magne Sjaastad 4a842fb32c Adds telemetry for octave commands 2025-12-22 16:41:29 +01:00
Magne Sjaastad d3bc3c554e Adds telemetry for application startup 2025-12-22 16:41:29 +01:00
Magne Sjaastad 7f0ef8dbc4 Simplifies OpenTelemetry integration
Removes conditional compilation for OpenTelemetry, ensuring it is always included.

Reinitializes OpenTelemetry based on user preferences, ensuring that changes to telemetry settings are applied immediately.

Configures cloud services, including OpenTelemetry, after the logger is initialized, ensuring that telemetry data is properly captured and transmitted.

Retrieves system username for telemetry tracking.
2025-12-22 16:41:29 +01:00
Kristian Bendiksen 43755feb42 #13376 Well Target Table: Fix menu visibility.
Introduced in ae8446073b.

Fixes #13376.
2025-12-22 14:08:57 +01:00
Magne Sjaastad 405a32e2da Removes QIntValidator and uses setRange
Replaces the usage of `QIntValidator` with the `setRange` function available in the PDM framework for limiting integer input in UI fields.
This approach provides a more direct and maintainable way to specify value ranges for UI elements.

This change simplifies the code and reduces dependencies.
2025-12-22 10:17:00 +01:00
Magne Sjaastad 4488a7215d Replaces stylesheet-based validation styling with icon indicator
Uses QWidget::addAction() to show a warning icon for validation errors, similar to the information icon for optional fields. The error message appears in the icon's tooltip, avoiding stylesheet manipulation that was causing tooltip rendering issues.

- Adds warning icon to widgets with validation errors
- Preserves field tooltips (e.g., "Valid range: ...")
- Uses QPointer for automatic null-safety
- Works with QLineEdit and other widgets
2025-12-22 10:17:00 +01:00
JJ 225d034327 Fault distance from point (#13367)
* Add python interface for distance to closest fault
* Split up some older code into multiple files.
* Add python test
2025-12-20 09:50:51 +01:00
Magne Sjaastad 4d312ecc82 #13358 Clamp values to valid range when reading project files 2025-12-19 13:06:13 +01:00
Kristian Bendiksen b8575e6b5e #13355 Use validation framework for RimCustomSegmentInterval 2025-12-19 12:36:10 +01:00
Magne Sjaastad 60081466a7 Improves stack trace readability.
Modifies the stack trace reporting to only include the path relative to the ResInsight root folder, enhancing readability and reducing verbosity in crash reports.
2025-12-18 08:40:30 +01:00
Magne Sjaastad 4274c9079d Enables OpenTelemetry integration
Initializes OpenTelemetry after the application configuration
is loaded, allowing for telemetry data collection.

Reports application crashes to OpenTelemetry when enabled,
providing stack trace information for debugging.
2025-12-18 08:40:30 +01:00
Magne Sjaastad 5d14d194f4 Adds test telemetry action to main window
Adds a new action to the test menu that allows users to manually
trigger the sending of test telemetry data (logging and stack trace)
to the OpenTelemetry endpoint.

This is useful for verifying that the OpenTelemetry integration is
working correctly and for testing different telemetry scenarios.
2025-12-18 08:40:30 +01:00
Magne Sjaastad a754b44e64 Loads OpenTelemetry configuration from file
Adds support for loading OpenTelemetry configuration from a JSON file.

Generalizes configuration file loading to handle OSDU, SUMO and OpenTelemetry configurations using a common function.

Improves JSON value parsing to support strings, doubles, and booleans.
2025-12-18 08:40:30 +01:00
Magne Sjaastad 6c11e53f21 Adds OpenTelemetry integration
Adds support for OpenTelemetry to enable telemetry and crash reporting.

This change introduces:
- New RiaPreferencesOpenTelemetry class for managing OpenTelemetry configuration.
- RiaOpenTelemetryManager class for handling the OpenTelemetry lifecycle,
  event processing, and error handling.
- Configuration options in preferences to enable, disable, and configure
  OpenTelemetry.
- Asynchronous event reporting.
- Crash reporting capabilities.
- Health monitoring features.
2025-12-18 08:40:30 +01:00
Jon Jenssen b8141fbbe5 Refresh after deleting a fishbone 2025-12-18 07:42:00 +01:00
Kristian Bendiksen 4650ac0820 MSW Export: fix WELSEGS off-by-one for "join segment". 2025-12-17 16:34:04 +01:00
Kristian Bendiksen da48c78b02 #13316 Custom MSW well segment definitions 2025-12-17 16:34:04 +01:00
Magne Sjaastad 7768e8c9c9 Do not change time step when reading project file 2025-12-17 15:55:32 +01:00
JJ 64b5dcd1b9 Add validation to sector model export wizard (#13348)
* Add validation to sector model export wizard
2025-12-17 13:16:10 +01:00
Magne Sjaastad 2adc96782e Adds validation test object to test application
Adds a new test object that demonstrates field validation features.
2025-12-16 13:01:31 +01:00
Magne Sjaastad e09baf3e80 Show red frame around editor widget, and show validation message in tooltip 2025-12-16 13:01:31 +01:00
Magne Sjaastad f342ca7757 Add validation to field and object
Add support for optional range checking in PdmDataValueField
2025-12-16 13:01:31 +01:00
Magne Sjaastad 9fa002abec Reduce number of objects to avoid long-running unit test in some cases 2025-12-16 13:01:31 +01:00
JJ 6eea1f023a Update to latest Qt Advanced Docking (#13344)
* Update to latest Qt Advanced Docking
2025-12-15 20:41:08 +01:00
Kristian Bendiksen 8f9b416563 #12876 Include RKB distance when importing RMSwell.
Fixes #12876.
2025-12-15 13:56:41 +01:00
Kristian Bendiksen 3d2449c361 #13296 Add file-based surface interface to enable polymorphic file path handling
Add virtual methods (isFileBased, filePath, setFilePath) to RimSurface base
class. Implement these in RimFileSurface and RimRegularFileSurface to provide
a common interface for all file-based surfaces.

Replace class-specific methods (setSurfaceFilePath/surfaceFilePath) with the
common interface methods (setFilePath/filePath) in both RimFileSurface and
RimRegularFileSurface. Update RimEnsembleSurface to use the common interface.

This enables polymorphic treatment of file-based surfaces without changing
the inheritance hierarchy or breaking backward compatibility.

Fixes #13296
2025-12-15 12:59:32 +01:00
dependabot[bot] 4f51687715 Bump peter-evans/create-pull-request from 7 to 8
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:48:47 +01:00
dependabot[bot] 7b30564f9a Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:43:58 +01:00
dependabot[bot] b6373b423f Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:43:16 +01:00
dependabot[bot] 9fa678ce20 Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:41:57 +01:00
Magne Sjaastad 04727c0807 Merge pull request #13328 from OPM/allow-preferences-regtest
Enables loading preferences in regression tests
2025-12-14 08:32:14 +01:00
Magne Sjaastad 7be96739c5 Enables loading preferences in regression tests
Allows loading of global and test-specific preferences during regression tests.
2025-12-14 07:45:18 +01:00
JJ 09b8602213 Well Target Mapping improvements (#13324)
* Add single case well target results into correct time step
* Speed up unique value calculations by providing unique values directly to statistics cache
* Switch to selected time step in view
2025-12-13 09:35:27 +01:00
jonjenssen e7ac0675db Handle IF keyword in any upper/lowercase variation 2025-12-13 08:53:47 +01:00
Kristian Bendiksen 36e93aff9a Bump to 2025.12.1-dev.02 2025-12-12 13:38:22 +01:00
Kristian Bendiksen fe609def88 Simulation Input: Add refinement support for border boundary conditions
Add refined grid border detection for BCCON_BCPROP boundary conditions.
The refined functions operate on the exported refined grid dimensions,
ensuring border cells are correctly identified when using grid refinement.
2025-12-12 13:38:22 +01:00
Kristian Bendiksen cfcdd67255 Simulation Input: Refactor border conditions to use in-memory results. 2025-12-12 13:38:22 +01:00
Magne Sjaastad 55a4863436 Prepare dev after release 2025-12-12 09:16:21 +01:00
Magne Sjaastad c5c45a20cf Set dev version to 2025.12.1-dev.01 2025-12-12 09:01:43 +01:00
Magne Sjaastad 57430b5c6b Set version to 2025.12.0 v2025.12.0 2025-12-12 07:45:23 +01:00
Magne Sjaastad f2b3c71d51 Merge remote-tracking branch 'origin/dev' into main-2025.12-rc_1 2025-12-12 07:36:42 +01:00
Magne Sjaastad 14d5707b14 Bump to 2025.12.0-RC_01 2025-12-12 07:36:02 +01:00
Magne Sjaastad 24fc279178 Object and field keywords 2025-12-12 07:36:02 +01:00
Magne Sjaastad bd332c264d Guards against null case data
Adds checks for null case data in several functions to prevent potential crashes when the case data is not properly initialized.
These checks ensure that operations are only performed if valid case data is available.
2025-12-12 07:36:02 +01:00
Magne Sjaastad 61b80ad6ac Apply local changes 2025-12-12 07:23:38 +01:00
Magne Sjaastad c74b6b96ce Merge dev branch with automatic conflict resolution
All conflicts resolved by accepting dev branch changes.
2025-12-12 07:04:59 +01:00