Skip to content

Release/2.0 - #67

Merged
Aidaho12 merged 35 commits into
mainfrom
release/2.0
Aug 12, 2026
Merged

Release/2.0#67
Aidaho12 merged 35 commits into
mainfrom
release/2.0

Conversation

@Aidaho12

Copy link
Copy Markdown
Member

No description provided.

Aidaho12 and others added 30 commits July 19, 2026 17:44
grouping, disposition actions and nested rule processing.

Part of #16
Closes #19
…entication (401 response) instead of forbidden (403).
- Implements Uptime Kuma normalizer for state mapping, severity, and tag handling.
- Adds comprehensive test coverage for normalizer, route behavior, lifecycle, and payload validation.
- Includes full integration guide and troubleshooting in the documentation.
- Registers UI updates and API paths for the new integration.
* Document the Kubernetes/Helm installation

The chart in helm/incidentrelay had no documentation page: the only
mention was a short section in the README, and getting-started listed
Docker, RPM and systemd as the available methods.

Add getting-started/kubernetes.md covering what the chart deploys, how
values map onto incidentrelay.conf, the SQLite and PostgreSQL setups,
migrations and web scaling, probes, ingress, workers and uninstall
caveats. Mirror it into docs/ru and link it from the installation
dispatchers, the mkdocs nav and the README.

* Document the Slack Socket Mode worker in the Kubernetes guide
* Add Slack Socket Mode worker deployment to the Helm chart

The entrypoint has supported INCIDENTRELAY_SERVICE=slack since the
worker was introduced and docker-compose runs it, but the chart never
shipped a Deployment for it. As a result Slack interactive buttons
(Acknowledge and friends) were dead on Kubernetes: the web pod posted
messages, and nothing consumed the Socket Mode WebSocket.

Add deployment-slack.yaml mirroring the telegram worker, along with the
matching `slack` values block and a line in NOTES.txt.

Verified on a kind cluster: the pod reconciles channel config from the
database without a restart ("Slack Socket Mode connection started",
channel_count 1), and an alert delivered through a webhook route can be
acknowledged from Slack.

* Bump chart version to 1.2.0 for the Slack worker deployment
…lement notification handling refinements for heartbeat recovery scenarios.

#34
- Introduced `apply_to_existing` field for silences to retroactively suppress unresolved alerts.
- Updated database schema, migration scripts, and models for retroactive silence behavior.
- Expanded API endpoints to support retroactive silence application and reconciliation.
- Enhanced UI to expose retroactive silence functionality in forms and details.
- Added comprehensive test coverage for retroactive silences across lifecycle workflows.
- Updated localization files for new retroactive silence messages.
- Adjusted incident management documentation to detail retroactive silence handling.

Part 2 of #37
…tests, enhance integrations and documentation

- Introduced robust handling of `suppress_notifications` maintenance behavior across notification, reminder, and escalation workflows.
- Added `pause_notification_lifecycle` and `resume_notification_lifecycle` utilities to manage maintenance states.
- Enhanced repository models, schedulers, and APIs to respect maintenance lifecycle suppression.
- Developed comprehensive test cases for reminder suppression, notification lifecycle pausing, and escalation timing adjustments.
- Updated documentation for maintenance behaviors, escalation policies, and integrations.
- Added Datadog and Uptime Kuma entries in integrations and README.

#40
- Implemented locale and theme fields in the user model and database schema with default values.
- Added migration scripts for updating the database to include new fields.
- Updated profile endpoints and serializers to manage locale and theme preferences.
- Enhanced UI to allow users to select and save their preferred language and theme.
- Updated front-end logic to apply selected preferences dynamically.
- Included localization updates and dark theme styles for the user interface.
- Added test coverage for preference validation, API behavior, and UI rendering.

#43
…maintenance windows and silences

- Updated database schema, migrations, and models to include new fields for lifecycle control.
- Enhanced APIs, serializers, and UI to support `reactivate_on_end` and `apply_to_existing`.
- Implemented comprehensive lifecycle reconciliation for maintenance windows and silences.
- Improved test coverage for lifecycle reconciliation, retention, and reactivation scenarios.
- Updated documentation to detail the new lifecycle options, behaviors, and API changes.

#41
- Introduced unit tests for SSO mapping edit form behavior and OIDC mapping rule updates.
- Refactored JavaScript logic to simplify role assignment using `.val()` and `??` for default values.
- Improved test coverage for mapping role, team, and priority updates.
- Ensured consistency and validity of mapping updates in API and UI workflows.

#42
`openExistingSsoMappingModal()` called `.valssoRoleLabel(...)` on the two
role selects — a mashed-together `.val(` and `ssoRoleLabel(`. The call
threw `TypeError: $(...).valssoRoleLabel is not a function` before
`openAppModal()` was reached, so clicking Edit on a mapping did nothing
and rules could only be re-created.

Set the select values directly. `ssoRoleLabel()` returns a translated
display label, not an option value, so it was the wrong helper here
regardless of the syntax error.

Also add tests for `PUT /api/admin/sso/mappings/<id>`, which had no
coverage: full update with team attach, team detach clearing team_role,
and rejecting a team that belongs to another group.

Fixes #42
…h handling, splitting, and variable manipulation

- Expanded action types to include `extract_regex`, `json_path`, `split`, `set_variable`, and transformations like `lowercase`, `uppercase`, and `trim`.
- Enhanced UI to dynamically render configuration inputs based on action type.
- Added field, pattern, delimiter, and value handling for new actions in orchestration workflows.
- Incorporated logic to map inputs into properly structured action objects during orchestration.
- Introduced screenshots for updated orchestration configuration UI.
…grity

- Added unit tests for dependency graph service separation and status helpers.
- Introduced tests for escalation policy rule handling, delay normalization, and user resolution.
- Implemented release integrity tests to guard against Python symbol and JavaScript function shadowing.
- Updated OpenAPI alert comment schema tests to validate constraints.
add shared as_utc_naive, as_utc_naive_seconds, and utc_now_seconds helpers
replace duplicated UTC normalization logic across heartbeats, on-call, calendar, silences, business services, and orchestrations
normalize heartbeat timestamps to whole-second precision to avoid microsecond comparison inconsistencies
support naive datetimes, timezone-aware datetimes, and ISO timestamps through the same normalization path
preserve the existing naive UTC storage convention
add regression tests for UTC conversion, ISO timestamps, precision handling, and duplicated datetime helpers
Aidaho12 and others added 4 commits August 10, 2026 18:04
…s and standardize UTC handling

- Added `rotation_schedule.py` module to centralize scheduling functions, including slot indexing, boundary calculation, layer value retrieval, and timezone handling.
- Replaced duplicated logic for datetime and timezone processing with shared helpers.
- Updated serializers to use `serialize_utc_datetime` for consistent UTC formatting.
- Enhanced unit tests for datetime conversions, including edge cases for timezones, DST, and ISO string support.
- Simplified on-call, calendar, and heartbeats services with reusable rotation scheduling utilities.
- Added `api_token_scopes.py` to consolidate scope definitions, request-scoping rules, and utility functions.
- Introduced granular read/write scopes for finer access control per resource domain.
- Migrated legacy aggregate scopes (`resources:read/write`) for backward compatibility.
- Updated APIs, middleware, and token workflows to utilize centralized scope logic.
- Enhanced profile UI and API to surface selectable token scopes based on privileges.
- Added test coverage for scope mapping, token delegation, and access validation.

#62
Comment thread app/static/js/pages/audit_log.js Outdated
…caping or encoding'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@Aidaho12
Aidaho12 merged commit a69250c into main Aug 12, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants