# What this PR does ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
28 KiB
28 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Fixed
- Helm chart: Fix helm hook for db migration job
- Performance improvements to
GET /api/internal/v1/alertgroupsendpoint by @joeyorlando and @iskhakov (#1805)
Added
- Add helm chart support for twilio existing secrets by @atownsend247 (#1435)
- Add web_title, web_message and web_image_url attributes to templates (1786)
Changed
- Update shift API to use a default interval value (
1) when afrequencyis set and nointervalis given - Limit number of alertmanager alerts in alert group to autoresolve by 500 (1779)
v1.2.14 (2023-04-19)
Fixed
- Fix broken documentation links by @shantanualsi (#1766)
- Fix bug when updating team access settings by @vadimkerr (#1794)
v1.2.13 (2023-04-18)
Changed
- Rework ical schedule export to include final events; also improve changing shifts sync
Fixed
- Fix issue when creating web overrides for TF schedules using a non-UTC timezone
v1.2.12 (2023-04-18)
Changed
- Move
alerts_alertgroup.is_restrictedcolumn toalerts_alertreceivechannel.restricted_atby @joeyorlando (#1770)
Added
- Add new field description_short to private api (#1698)
- Added preview and migration API endpoints for route migration from regex into jinja2 (1715)
- Helm chart: add the option to use a helm hook for the migration job (1386)
- Add endpoints to start and stop maintenance in alert receive channel private api (1755)
- Send demo alert with dynamic payload and get demo payload example on private api (1700)
- Add is_default fields to templates, remove WritableSerialiserMethodField (1759)
- Allow use of dynamic payloads in alert receive channels preview template in private api (1756)
v1.2.11 (2023-04-14)
Added
- add new columns
gcom_org_contract_type,gcom_org_irm_sku_subscription_start_date, andgcom_org_oldest_admin_with_billing_privileges_user_idtouser_management_organizationtable, plusis_restrictedcolumn toalerts_alertgrouptable by @joeyorlando and @teodosii (1522) - emit two new Django signals by @joeyorlando and @teodosii (1522)
org_sync_signalat the end of theengine/apps/user_management/sync.py::sync_organizationmethodalert_group_created_signalwhen a new Alert Group is created
v1.2.10 (2023-04-13)
Added
- Added mine filter to schedules listing
Fixed
- Fixed a bug in GForm's RemoteSelect where the value for Dropdown could not change
- Fixed the URL attached to an Incident created via the 'Declare Incident' button of a Slack alert by @sd2k (#1738)
v1.2.9 (2023-04-11)
Fixed
- Catch the new Slack error - "message_limit_exceeded"
v1.2.8 (2023-04-06)
Changed
- Allow editing assigned team via public api (1619)
- Disable mentions when resolution note is created by @iskhakov (1696)
- Display warnings on users page in a clean and consistent way by @iskhakov (#1681)
v1.2.7 (2023-04-03)
Added
- Save selected teams filter in local storage (#1611)
Changed
- Renamed routes from /incidents to /alert-groups (#1678)
Fixed
- Fix team search when filtering resources by @vadimkerr (#1680)
- Fix issue when trying to scroll in Safari (#415)
v1.2.6 (2023-03-30)
Fixed
- Fixed bug when web schedules/shifts use non-UTC timezone and shift is deleted by @matiasb (#1661)
v1.2.5 (2023-03-30)
Fixed
- Fixed a bug with Slack links not working in the plugin UI (#1671)
v1.2.4 (2023-03-30)
Added
- Added the ability to change the team for escalation chains by @maskin25, @iskhakov and @vadimkerr (#1658)
Fixed
- Addressed bug with iOS mobile push notifications always being set to critical by @imtoori and @joeyorlando (#1646)
- Fixed issue where Viewer was not able to view which people were oncall in a schedule (#999)
- Fixed a bug with syncing teams from Grafana API by @vadimkerr (#1652)
v1.2.3 (2023-03-28)
Only some minor performance/developer setup changes to report in this version.
v1.2.2 (2023-03-27)
Changed
- Drawers with Forms are not closing by clicking outside of the drawer. Only by clicking Cancel or X (by @Ukochka in #1608)
- When the
DANGEROUS_WEBHOOKS_ENABLEDenvironment variable is set to true, it's possible now to create Outgoing Webhooks using URLs without a top-level domain (by @hoptical in #1398) - Updated wording when creating an integration (by @callmehyde in #1572)
- Set FCM iOS/Android "message priority" to "high priority" for mobile app push notifications (by @joeyorlando in #1612)
- Improve schedule quality feature (by @vadimkerr in #1602)
Fixed
- Update override deletion changes to set its final duration (by @matiasb in #1599)
v1.2.1 (2023-03-23)
Changed
- Mobile app settings backend by @vadimkerr in (1571)
- Fix integrations and escalations autoselect, improve GList by @maskin25 in (1601)
- Add filters to outgoing webhooks 2 by @iskhakov in (1598)
v1.2.0 (2023-03-21)
Changed
- Add team-based filtering for resources, so that users can see multiple resources at once and link them together (1528)
v1.1.41 (2023-03-21)
Added
- Modified
check_escalation_finished_taskcelery task to use read-only databases for its query, if one is defined + make the validation logic stricter + ping a configurable heartbeat on successful completion of this task (1266)
Changed
- Updated wording throughout plugin to use 'Alert Group' instead of 'Incident' (1565, 1576)
- Check for enabled Telegram feature was added to ChatOps and to User pages (319)
- Filtering for Editors/Admins was added to rotation form. It is not allowed to assign Viewer to rotation (1124)
- Modified search behaviour on the Escalation Chains page to allow for "partial searching" (1578)
Fixed
- Fixed a few permission issues on the UI (1448)
- Fix resolution note rendering in Slack message threads where the Slack username was not being properly rendered (1561)
v1.1.40 (2023-03-16)
Fixed
- Check for duplicated positions in terraform escalation policies create/update
Added
- Add
regex_matchJinja filter (1556)
Changed
- Allow passing
nullas a value forescalation_chainwhen creating routes via the public API (1557)
v1.1.39 (2023-03-16)
Added
- Inbound email integration (837)
v1.1.38 (2023-03-14)
Added
- Add filtering by escalation chain to alert groups page (1535)
Fixed
- Improve tasks checking/triggering webhooks in new backend
v1.1.37 (2023-03-14)
Fixed
- Fixed redirection issue on integrations screen
Added
- Enable web overrides for Terraform-based schedules
- Direct user paging improvements (1358)
- Added Schedule Score quality within the schedule view (118)
v1.1.36 (2023-03-09)
Fixed
- Fix bug with override creation (1515)
v1.1.35 (2023-03-09)
Added
- Insight logs
Fixed
- Fixed issue with Alert group involved users filter
- Fixed email sending failure due to newline in title
v1.1.34 (2023-03-08)
Added
- Jinja2 based routes (1319)
Changed
- Remove mobile app feature flag (1484)
Fixed
- Prohibit creating & updating past overrides (1474)
v1.1.33 (2023-03-07)
Fixed
- Show permission error for accessing Telegram as Viewer (1273)
Changed
- Pass email and phone limits as environment variables (1219)
v1.1.32 (2023-03-01)
Fixed
v1.1.31 (2023-03-01)
Added
- Add acknowledge_signal and source link to public api
v1.1.30 (2023-03-01)
Fixed
- Fixed importing of global grafana styles (672)
- Fixed UI permission related bug where Editors could not export their user iCal link
- Fixed error when a shift is created using Etc/UTC as timezone
- Fixed issue with refresh ical file task not considering empty string values
- Schedules: Long popup does not fit screen & buttons unreachable & objects outside of the popup (1002)
- Can't scroll on integration settings page (415)
- Team change in the Integration page always causes 403 (1292)
- Schedules: Permalink doesn't work with multi-teams (940)
- Schedules list -> expanded schedule blows page width (1293)
Changed
- Moved reCAPTCHA to backend environment variable for more flexible configuration between different environments.
- Add pagination to schedule listing
- Show 100 latest alerts on alert group page (1417)
v1.1.29 (2023-02-23)
Changed
- Allow creating schedules with type "web" using public API
Fixed
- Fixed minor issue during the sync process where an HTTP 302 (redirect) status code from the Grafana instance would cause the sync to not properly finish
v1.1.28 (2023-02-23)
Fixed
- Fixed maintenance mode for Telegram and MSTeams
v1.1.27 (2023-02-22)
Added
- Added reCAPTCHA validation for requesting a mobile verification code
Changed
- Added ratelimits for phone verification
- Link to source was added
- Header of Incident page was reworked: clickable labels instead of just names, users section was deleted
- "Go to Integration" button was deleted, because the functionality was moved to clickable labels
Fixed
- Fixed HTTP request to Google where when fetching an iCal, the response would sometimes contain HTML instead of the expected iCal data
v1.1.26 (2023-02-20)
Fixed
- Make alert group filters persistent (482)
Changed
- Update phone verification error message
v1.1.25 (2023-02-20)
Fixed
- Fixed too long declare incident link in Slack
v1.1.24 (2023-02-16)
Added
Fixed
- Cleaning of the name "Incident" (704)
- Alert Group/Alert Groups naming polishing. All the names should be with capital letters
- Design polishing (1290)
- Not showing contact details in User tooltip if User does not have edit/admin access
- Updated slack link account to redirect back to user profile instead of chatops
Changed
- Incidents - Removed buttons column and replaced status with toggler (#1237)
- Responsiveness changes across multiple pages (Incidents, Integrations, Schedules) (#1237)
- Add pagination to schedule listing
v1.1.23 (2023-02-06)
Fixed
- Fix bug with email case sensitivity for ICal on-call schedules (1297)
v1.1.22 (2023-02-03)
Fixed
- Fix bug with root/dependant alert groups list api endpoint (1284)
- Fixed NPE on teams switch
Added
- Optimize alert and alert group public api endpoints and add filter by id (1274)
- Enable mobile app backend by default on OSS
v1.1.21 (2023-02-02)
Added
- Add
django-dbconn-retrylibrary toINSTALLED_APPSto attempt to alleviate occasionaldjango.db.utils.OperationalErrorerrors - Improve alerts and alert group endpoint response time in internal API with caching (1261)
- Optimize alert and alert group public api endpoints and add filter by id (1274
- Added Coming Soon for iOS on Mobile App screen
Fixed
- Fix issue on Integrations where you were redirected back once escalation chain was loaded (#1083) (#1257)
v1.1.20 (2023-01-30)
Added
- Add involved users filter to alert groups listing page (+ mine shortcut)
Changed
- Improve logging for creating contact point for Grafana Alerting integration
Fixed
- Fix bugs related to creating contact point for Grafana Alerting integration
- Fix minor UI bug on OnCall users page where it would idefinitely show a "Loading..." message
- Only show OnCall user's table to users that are authorized
- Fixed NPE in ScheduleUserDetails component (#1229)
v1.1.19 (2023-01-25)
Added
- Add Server URL below QR code for OSS for debugging purposes
- Add Slack slash command allowing to trigger a direct page via a manually created alert group
- Remove resolved and acknowledged filters as we switched to status (#1201)
- Add sync with grafana on /users and /teams api calls from terraform plugin
Changed
- Allow users with
viewerrole to fetch cloud connection status using the internal API (#1181) - When removing the Slack ChatOps integration, make it more explicit to the user what the implications of doing so are
- Improve performance of
GET /api/internal/v1/schedulesendpoint (#1169)
Fixed
- Removed duplicate API call, in the UI on plugin initial load, to
GET /api/internal/v1/alert_receive_channels - Increased plugin startup speed (#1200)
v1.1.18 (2023-01-18)
Added
- Allow messaging backends to be enabled/disabled per organization (#1151)
Changed
- Send a Slack DM when user is not in channel (#1144)
v1.1.17 (2023-01-18)
Changed
- Modified how the
Organization.is_rbac_permissions_enabledflag is set, based on whether we are dealing with an open-source, or cloud installation - Backend implementation to support direct user/schedule paging
- Changed documentation links to open in new window
- Remove helm chart signing
- Changed the user's profile modal to be wide for all tabs
Added
- Added state filter for alert_group public API endpoint.
- Enrich user tooltip on Schedule page
- Added redirects for old-style links
Fixed
- Updated typo in Helm chart values when specifying a custom Slack command name
- Fix for web schedules ical export to give overrides the right priority
- Fix for topnavbar to show initial loading inside PluginPage
v1.1.16 (2023-01-12)
Fixed
-
Minor bug fix in how the value of
Organization.is_rbac_permissions_enabledis determined -
Helm chart: default values file and documentation now reflect the correct key to set for the Slack slash command name,
oncall.slack.commandName.
v1.1.15 (2023-01-10)
Changed
- Simplify and speed up slack rendering (#1105)
- Faro - Point to 3 separate apps instead of just 1 for all environments (#1110)
- Schedules - (#1114, #1109)
Fixed
- Bugfix for topnavbar to place alerts inside PageNav (#1040)
v1.1.14 (2023-01-05)
Changed
- Change wording from "incident" to "alert group" for the Telegram integration (#1052)
- Soft-delete of organizations on stack deletion.
v1.1.13 (2023-01-04)
Added
- Integration with Grafana Faro for Cloud Instances
v1.1.12 (2023-01-03)
Fixed
- Handle jinja exceptions during alert creation
- Handle exception for slack rate limit message
v1.1.11 (2023-01-03)
Fixed
- Fix error when schedule was not able to load
- Minor fixes
v1.1.10 (2023-01-03)
Fixed
- Minor fixes
v1.1.9 (2023-01-03)
Fixed
- Alert group query optimization
- Update RBAC scopes
- Fix error when schedule was not able to load
- Minor bug fixes
v1.1.8 (2022-12-13)
Added
- Added a
makecommand,enable-mobile-app-feature-flags, which sets the backend feature flag in./dev/.env.dev, and updates a record in thebase_dynamicsettingdatabase table, which are needed to enable the mobile app backend features.
Changed
- Added ability to change engine deployment update strategy via values in helm chart.
- removed APNS support
- changed the
django-push-notificationlibrary from theiskhakovfork to thegrafanafork. This new fork basically patches an issue which affected the database migrations of this django app (previously the library would not respect theUSER_MODELsetting when creating its tables and would instead reference theauth_usertable.. which we don't want) - add
--no-cacheflag to themake buildcommand
Fixed
- fix schedule UI types and permissions
v1.1.7 (2022-12-09)
Fixed
- Update fallback role for schedule write RBAC permission
- Mobile App Verification tab in the user settings modal is now hidden for users that do not have proper permissions to use it
v1.1.6 (2022-12-09)
Added
- RBAC permission support
- Add
time_zoneserializer validation for OnCall shifts and calendar/web schedules. In addition, add database migration to update values that may be invalid - Add a
permalinks.webfield, which is a permalink to the alert group web app page, to the alert group internal/public API responses - Added the ability to customize job-migrate
ttlSecondsAfterFinishedfield in the helm chart
Fixed
- Got 500 error when saving Outgoing Webhook (#890)
- v1.0.13 helm chart - update the OnCall backend pods image pull policy to "Always" (and explicitly set tag to
latest). This should resolve some recent issues experienced where the frontend/backend versions are not aligned.
Changed
- When editing templates for alert group presentation or outgoing webhooks, errors and warnings are now displayed in the UI as notification popups or displayed in the preview.
- Errors and warnings that occur when rendering templates during notification or webhooks will now render and display the error/warning as the result.
v1.1.5 (2022-11-24)
Added
- Added a QR code in the "Mobile App Verification" tab on the user settings modal to connect the mobile application to your OnCall instance
Fixed
v1.1.4 (2022-11-23)
Fixed
- Bug fix for #882 which was causing the OnCall web calendars to not load
- Bug fix which, when installing the plugin, or after removing a Grafana API token, caused the plugin to not load properly
v1.1.3 (2022-11-22)
- Bug Fixes
Changed
- For OSS installations of OnCall, initial configuration is now simplified. When running for local development, you no
longer need to configure the plugin via the UI. This is achieved through passing one environment variable to both the
backend & frontend containers, both of which have been preconfigured for you in
docker-compose-developer.yml.- The Grafana API URL must be passed as an environment variable,
GRAFANA_API_URL, to the OnCall backend (and can be configured by updating this env var in your./dev/.env.devfile) - The OnCall API URL can optionally be passed as an environment variable,
ONCALL_API_URL, to the OnCall UI. If the environment variable is found, the plugin will "auto-configure", otherwise you will be shown a simple configuration form to provide this info.
- The Grafana API URL must be passed as an environment variable,
- For Helm installations, if you are running Grafana externally (eg.
grafana.enabledis set tofalsein yourvalues.yaml), you will now be required to specifyexternalGrafana.urlinvalues.yaml. make startwill now idempotently check to see if a "127.0.0.1 grafana" record exists in/etc/hosts(using a tool calledhostess). This is to support usinghttp://grafana:3000as theOrganization.grafana_urlin two scenarios:oncall_engine/oncall_celery->grafanaDocker container communication- public URL generation. There are some instances where
Organization.grafana_urlis referenced to generate public URLs to a Grafana plugin page. Without the/etc/hostsrecord, navigating tohttp://grafana:3000/some_pagein your browser, you would obviously get an error from your browser.
v1.1.2 (2022-11-18)
- Bug Fixes
v1.1.1 (2022-11-16)
- Compatibility with Grafana 9.3.0
- Bug Fixes
v1.0.52 (2022-11-09)
- Allow use of API keys as alternative to account auth token for Twilio
- Remove
grafana_plugin_managementDjango app - Enable new schedules UI
- Bug fixes
v1.0.51 (2022-11-05)
- Bug Fixes
v1.0.50 (2022-11-03)
- Updates to documentation
- Improvements to web schedules
- Bug fixes
v1.0.49 (2022-11-01)
- Enable SMTP email backend by default
- Fix Grafana sidebar frontend bug
v1.0.48 (2022-11-01)
- verify_number management command
- chatops page redesign
v1.0.47 (2022-11-01)
- Bug fixes
v1.0.46 (2022-10-28)
- Bug fixes
- remove
POST /api/internal/v1/custom_buttons/{id}/actionendpoint
v1.0.45 (2022-10-27)
- Bug fix to revert commit which removed unused engine code
v1.0.44 (2022-10-26)
- Bug fix for an issue that was affecting phone verification
v1.0.43 (2022-10-25)
- Bug fixes
v1.0.42 (2022-10-24)
- Fix posting resolution notes to Slack
v1.0.41 (2022-10-24)
- Add personal email notifications
- Bug fixes
v1.0.40 (2022-10-05)
- Improved database and celery backends support
- Added script to import PagerDuty users to Grafana
- Bug fixes
v1.0.39 (2022-10-03)
- Fix issue in v1.0.38 blocking the creation of schedules and webhooks in the UI
v1.0.38 (2022-09-30)
- Fix exception handling for adding resolution notes when slack and oncall users are out of sync.
- Fix all day events showing as having gaps in slack notifications
- Improve plugin configuration error message readability
- Add
telegramkey topermalinksproperty inAlertGrouppublic API response schema
v1.0.37 (2022-09-21)
- Improve API token creation form
- Fix alert group bulk action bugs
- Add
permalinksproperty toAlertGrouppublic API response schema - Scheduling system bug fixes
- Public API bug fixes
v1.0.36 (2022-09-12)
- Alpha web schedules frontend/backend updates
- Bug fixes
v1.0.35 (2022-09-07)
- Bug fixes
v1.0.34 (2022-09-06)
- Fix schedule notification spam
v1.0.33 (2022-09-06)
- Add raw alert view
- Add GitHub star button for OSS installations
- Restore alert group search functionality
- Bug fixes
v1.0.32 (2022-09-01)
- Bug fixes
v1.0.31 (2022-09-01)
- Bump celery version
- Fix oss to cloud connection
v1.0.30 (2022-08-31)
- Bug fix: check user notification policy before access
v1.0.29 (2022-08-31)
- Add arm64 docker image
v1.0.28 (2022-08-31)
- Bug fixes
v1.0.27 (2022-08-30)
- Bug fixes
v1.0.26 (2022-08-26)
- Insight log's format fixes
- Remove UserNotificationPolicy auto-recreating
v1.0.25 (2022-08-24)
- Bug fixes
v1.0.24 (2022-08-24)
- Insight logs
- Default DATA_UPLOAD_MAX_MEMORY_SIZE to 1mb
v1.0.23 (2022-08-23)
- Bug fixes
v1.0.22 (2022-08-16)
- Make STATIC_URL configurable from environment variable
v1.0.21 (2022-08-12)
- Bug fixes
v1.0.19 (2022-08-10)
- Bug fixes
v1.0.15 (2022-08-03)
- Bug fixes
v1.0.13 (2022-07-27)
- Optimize alert group list view
- Fix a bug related to Twilio setup
v1.0.12 (2022-07-26)
- Update push-notifications dependency
- Rework how absolute URLs are built
- Fix to show maintenance windows per team
- Logging improvements
- Internal api to get a schedule final events
v1.0.10 (2022-07-22)
- Speed-up of alert group web caching
- Internal api for OnCall shifts
v1.0.9 (2022-07-21)
- Frontend bug fixes & improvements
- Support regex_replace() in templates
- Bring back alert group caching and list view
v1.0.7 (2022-07-18)
- Backend & frontend bug fixes
- Deployment improvements
- Reshape webhook payload for outgoing webhooks
- Add escalation chain usage info on escalation chains page
- Improve alert group list load speeds and simplify caching system
v1.0.6 (2022-07-12)
- Manual Incidents enabled for teams
- Fix phone notifications for OSS
- Public API improvements
v1.0.5 (2022-07-06)
- Bump Django to 3.2.14
- Fix PagerDuty iCal parsing
1.0.4 (2022-06-28)
- Allow Telegram DMs without channel connection.
1.0.3 (2022-06-27)
- Fix users public api endpoint. Now it returns users with all roles.
- Fix redundant notifications about gaps in schedules.
- Frontend fixes.
1.0.2 (2022-06-17)
- Fix Grafana Alerting integration to handle API changes in Grafana 9
- Improve public api endpoint for outgoing webhooks (/actions) by adding ability to create, update and delete outgoing webhook instance
1.0.0 (2022-06-14)
- First Public Release
0.0.71 (2022-06-06)
- Initial Commit Release