2022-11-21 16:26:00 +01:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2023-10-04 16:01:35 -03:00
## v1.3.42 (2023-10-04)
2023-10-04 13:47:27 -03:00
### Added
- Add additional shift info in schedule filter_events internal API ([#3110 ](https://github.com/grafana/oncall/pull/3110 ))
2023-10-04 07:57:18 -04:00
## v1.3.41 (2023-10-04)
2023-10-03 19:28:26 -04:00
### Added
- New RBAC action `grafana-oncall-app.alert-groups:direct-paging` and role "Alert Groups Direct Paging" by @joeyorlando
([#3107 ](https://github.com/grafana/oncall/pull/3107 ))
2023-10-02 09:56:07 -03:00
### Fixed
2023-10-03 19:28:26 -04:00
- Accept empty and null user when updating webhook via API @mderynck ([#3094 ](https://github.com/grafana/oncall/pull/3094 ))
2023-10-02 09:56:07 -03:00
- Fix slack notification for a shift which end is affected by a taken swap ([#3092 ](https://github.com/grafana/oncall/pull/3092 ))
2023-10-03 19:28:26 -04:00
## v1.3.40 (2023-09-28)
2023-09-28 14:41:15 +08:00
### Added
- Create Direct Paging integration by default for every team, create default E-Mail notification policy for every user ([#3064 ](https://github.com/grafana/oncall/pull/3064 ))
2023-09-27 12:43:15 -06:00
## v1.3.39 (2023-09-27)
2023-08-30 14:06:22 +03:00
2023-09-21 17:31:56 +03:00
### Added
2023-09-27 07:22:52 -06:00
- Presets for webhooks @mderynck ([#2996 ](https://github.com/grafana/oncall/pull/2996 ))
2023-09-26 14:04:53 -03:00
- Add `enable_web_overrides` option to schedules public API ([#3062 ](https://github.com/grafana/oncall/pull/3062 ))
2023-09-21 17:31:56 +03:00
2023-09-26 08:54:41 -06:00
### Fixed
- Fix regression in public actions endpoint handling user field by @mderynck ([#3053 ](https://github.com/grafana/oncall/pull/3053 ))
2023-09-27 09:35:52 -03:00
### Changed
- Rework how users are fetched from DB when getting users from schedules ical representation ([#3067 ](https://github.com/grafana/oncall/pull/3067 ))
2023-09-19 09:57:45 +01:00
## v1.3.38 (2023-09-19)
Fix Slack access token length issue (#3016)
# What this PR does
fix the following error caused by too short varchar length of database
fields `access_token` and `bot_access_token` in table
`slack_slackteamidentity`
```
2023-09-12 18:34:07.448 | django.db.utils.DataError: value too long for type character varying(100) |
-- | -- | --
| | 2023-09-12 18:34:07.448 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.448 | return self.cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.448 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute |
| | 2023-09-12 18:34:07.448 | raise dj_exc_value.with_traceback(traceback) from exc_value |
| | 2023-09-12 18:34:07.448 | File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 90, in __exit__ |
| | 2023-09-12 18:34:07.448 | with self.db.wrap_database_errors: |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in _execute |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return executor(sql, params, many, context) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 66, in execute |
| | 2023-09-12 18:34:07.447 | cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | cursor = super().execute_sql(result_type) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1559, in execute_sql |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return query.get_compiler(self.db).execute_sql(CURSOR) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 802, in _update |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return filtered._update(values) > 0 |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 912, in _do_update |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | updated = self._do_update(base_qs, using, pk_val, values, update_fields, |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 858, in _save_table |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | updated = self._save_table( |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 776, in save_base |
| | 2023-09-12 18:34:07.447 | self.save_base(using=using, force_insert=force_insert, |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 739, in save |
| | 2023-09-12 18:34:07.447 | self.save() |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/slack/models/slack_team_identity.py", line 72, in update_oauth_fields |
| | 2023-09-12 18:34:07.447 | slack_team_identity.update_oauth_fields(user, organization, response) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/pipeline.py", line 102, in populate_slack_identities |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | result = func(*args, **out) or {} |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 118, in run_pipeline |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 86, in pipeline |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.pipeline(pipeline, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 83, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | user = backend.authenticate(request, **credentials) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/contrib/auth/__init__.py", line 76, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*func_args, **func_kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/debug.py", line 42, in sensitive_variables_wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return authenticate(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_django/strategy.py", line 105, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.strategy.authenticate(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/backends.py", line 100, in do_auth |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/utils.py", line 253, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.do_auth(access_token, response=response, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/backends.py", line 88, in auth_complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/utils.py", line 253, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.auth_complete(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 39, in complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | user = backend.complete(user=user, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/actions.py", line 49, in do_complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | result = do_complete( |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/api/views/auth.py", line 52, in overridden_complete_slack_auth |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(request, backend, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_django/utils.py", line 46, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return view_func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = view_func(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/decorators.py", line 50, in handler |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = handler(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch |
| | 2023-09-12 18:34:07.447 | raise exc |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception |
| | 2023-09-12 18:34:07.447 | self.raise_uncaught_exception(exc) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = self.handle_exception(exc) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.dispatch(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 70, in view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return view_func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = wrapped_callback(request, *callback_args, **callback_kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 181, in _get_response |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = get_response(request) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 47, in inner |
| | 2023-09-12 18:34:07.447 | Traceback (most recent call last): |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | The above exception was the direct cause of the following exception: |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | psycopg2.errors.StringDataRightTruncation: value too long for type character varying(100) |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute |
| | 2023-09-12 18:34:07.447 | Traceback (most recent call last): |
| | 2023-09-12 18:34:07.447 | 2023-09-12 10:34:07 source=engine:app google_trace_id=50a15245db9b828e0ab33e8d115dd10a/3838538413005063100 logger=django.request Internal Server Error: /api/internal/v1/complete/slack-install-free/
```
---------
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2023-09-13 18:53:17 +08:00
### Fixed
- Fix Slack access token length issue by @toolchainX ([#3016 ](https://github.com/grafana/oncall/pull/3016 ))
2023-09-18 14:49:21 -03:00
- Fix shifts for current user internal endpoint to return the right shift PK ([#3036 ](https://github.com/grafana/oncall/pull/3036 ))
2023-09-19 09:41:47 +01:00
- Handle Slack ratelimit on alert group deletion by @vadimkerr ([#3038 ](https://github.com/grafana/oncall/pull/3038 ))
Fix Slack access token length issue (#3016)
# What this PR does
fix the following error caused by too short varchar length of database
fields `access_token` and `bot_access_token` in table
`slack_slackteamidentity`
```
2023-09-12 18:34:07.448 | django.db.utils.DataError: value too long for type character varying(100) |
-- | -- | --
| | 2023-09-12 18:34:07.448 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.448 | return self.cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.448 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute |
| | 2023-09-12 18:34:07.448 | raise dj_exc_value.with_traceback(traceback) from exc_value |
| | 2023-09-12 18:34:07.448 | File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 90, in __exit__ |
| | 2023-09-12 18:34:07.448 | with self.db.wrap_database_errors: |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in _execute |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return executor(sql, params, many, context) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 66, in execute |
| | 2023-09-12 18:34:07.447 | cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | cursor = super().execute_sql(result_type) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1559, in execute_sql |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return query.get_compiler(self.db).execute_sql(CURSOR) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 802, in _update |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return filtered._update(values) > 0 |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 912, in _do_update |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | updated = self._do_update(base_qs, using, pk_val, values, update_fields, |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 858, in _save_table |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | updated = self._save_table( |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 776, in save_base |
| | 2023-09-12 18:34:07.447 | self.save_base(using=using, force_insert=force_insert, |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 739, in save |
| | 2023-09-12 18:34:07.447 | self.save() |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/slack/models/slack_team_identity.py", line 72, in update_oauth_fields |
| | 2023-09-12 18:34:07.447 | slack_team_identity.update_oauth_fields(user, organization, response) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/pipeline.py", line 102, in populate_slack_identities |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | result = func(*args, **out) or {} |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 118, in run_pipeline |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 86, in pipeline |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.pipeline(pipeline, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 83, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | user = backend.authenticate(request, **credentials) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/contrib/auth/__init__.py", line 76, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*func_args, **func_kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/debug.py", line 42, in sensitive_variables_wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return authenticate(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_django/strategy.py", line 105, in authenticate |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.strategy.authenticate(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/backends.py", line 100, in do_auth |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/utils.py", line 253, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.do_auth(access_token, response=response, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/social_auth/backends.py", line 88, in auth_complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/utils.py", line 253, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.auth_complete(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/backends/base.py", line 39, in complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | user = backend.complete(user=user, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_core/actions.py", line 49, in do_complete |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | result = do_complete( |
| | 2023-09-12 18:34:07.447 | File "/etc/app/apps/api/views/auth.py", line 52, in overridden_complete_slack_auth |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(request, backend, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/social_django/utils.py", line 46, in wrapper |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return view_func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = view_func(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/decorators.py", line 50, in handler |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = handler(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch |
| | 2023-09-12 18:34:07.447 | raise exc |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception |
| | 2023-09-12 18:34:07.447 | self.raise_uncaught_exception(exc) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = self.handle_exception(exc) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.dispatch(request, *args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 70, in view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return view_func(*args, **kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = wrapped_callback(request, *callback_args, **callback_kwargs) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 181, in _get_response |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | response = get_response(request) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 47, in inner |
| | 2023-09-12 18:34:07.447 | Traceback (most recent call last): |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | The above exception was the direct cause of the following exception: |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | |
| | 2023-09-12 18:34:07.447 | psycopg2.errors.StringDataRightTruncation: value too long for type character varying(100) |
| | 2023-09-12 18:34:07.447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 2023-09-12 18:34:07.447 | return self.cursor.execute(sql, params) |
| | 2023-09-12 18:34:07.447 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute |
| | 2023-09-12 18:34:07.447 | Traceback (most recent call last): |
| | 2023-09-12 18:34:07.447 | 2023-09-12 10:34:07 source=engine:app google_trace_id=50a15245db9b828e0ab33e8d115dd10a/3838538413005063100 logger=django.request Internal Server Error: /api/internal/v1/complete/slack-install-free/
```
---------
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2023-09-13 18:53:17 +08:00
2023-09-12 11:18:28 +01:00
## v1.3.37 (2023-09-12)
2023-09-07 16:59:54 +02:00
### Added
- Notify user via Slack/mobile push-notification when their shift swap request is taken by @joeyorlando ([#2992 ](https://github.com/grafana/oncall/pull/2992 ))
2023-09-21 17:31:56 +03:00
- Unify breadcrumbs behaviour with other Grafana Apps and main core# ([1906 ](https://github.com/grafana/oncall/issues/1906 ))
2023-09-07 16:59:54 +02:00
2023-09-12 10:49:16 +01:00
### Changed
- Improve Slack error handling by @vadimkerr ([#3000 ](https://github.com/grafana/oncall/pull/3000 ))
2023-09-11 10:50:18 -03:00
### Fixed
2023-09-11 11:28:37 -03:00
- Avoid task retries because of missing AlertGroupLogRecord on send_alert_group_signal ([#3001 ](https://github.com/grafana/oncall/pull/3001 ))
2023-09-11 10:50:18 -03:00
- Update escalation policies public API to handle new webhooks ([#2999 ](https://github.com/grafana/oncall/pull/2999 ))
2023-09-07 14:07:05 +01:00
## v1.3.36 (2023-09-07)
2023-09-05 17:32:02 +03:00
### Added
- Add option to create new contact point for existing integrations ([#2909 ](https://github.com/grafana/oncall/issues/2909 ))
2023-09-06 09:15:28 -03:00
### Changed
2023-09-06 15:23:53 +01:00
- Enable email notification step by default on Helm by @vadimkerr ([#2975 ](https://github.com/grafana/oncall/pull/2975 ))
2023-09-06 09:15:28 -03:00
- Handle slack resolution note errors consistently ([#2976 ](https://github.com/grafana/oncall/pull/2976 ))
2023-09-06 17:02:01 +01:00
### Fixed
- Don't update Slack user groups for deleted organizations by @vadimkerr ([#2985 ](https://github.com/grafana/oncall/pull/2985 ))
2023-09-07 09:42:30 +01:00
- Fix Slack integration leftovers after disconnecting by @vadimkerr ([#2986 ](https://github.com/grafana/oncall/pull/2986 ))
2023-09-07 12:25:29 +01:00
- Fix handling Slack rate limits by @vadimkerr ([#2991 ](https://github.com/grafana/oncall/pull/2991 ))
2023-09-06 17:02:01 +01:00
2023-09-05 14:34:08 +02:00
## v1.3.35 (2023-09-05)
### Fixed
- Fix issue in `SlackClientWithErrorHandling` paginted API calls by @joeyorlando
2023-09-05 13:06:22 +02:00
## v1.3.34 (2023-09-05)
### Fixed
- Fix issue in `apps.slack.tasks.populate_slack_channels_for_team` task by @joeyorlando ([#2969 ](https://github.com/grafana/oncall/pull/2969 ))
2023-09-05 12:25:11 +02:00
## v1.3.33 (2023-09-05)
### Fixed
- Fix issue in `apps.slack.tasks.post_or_update_log_report_message_task` task related to passing tuple to `text` arg
for `SlackClient.chat_postMessage` method by @joeyorlando ([#2966 ](https://github.com/grafana/oncall/pull/2966 ))
2023-09-05 11:32:24 +02:00
## v1.3.32 (2023-09-05)
2023-09-05 09:22:08 +02:00
### Added
2023-09-05 12:25:11 +02:00
- Add internal API endpoint for getting schedules shifts for current user by @Ferril ([#2928 ](https://github.com/grafana/oncall/pull/2928 ))
2023-09-05 09:22:08 +02:00
2023-09-04 19:03:18 +01:00
### Changed
- Make Slack integration not post an alert group message if it's already deleted + refactor AlertGroup and
SlackMessage foreign key relationship by @vadimkerr ([#2957 ](https://github.com/grafana/oncall/pull/2957 ))
2023-09-05 05:01:50 -03:00
### Fixed
- Reject file uploads when POSTing to an integration endpoint ([#2958 ](https://github.com/grafana/oncall/pull/2958 ))
2023-09-04 14:07:38 +02:00
## v1.3.31 (2023-09-04)
2023-09-01 17:40:31 +03:00
### Fixed
- Fix for Cloud plugin install not refreshing page after completion ([2974 ](https://github.com/grafana/oncall/issues/2874 ))
2023-09-04 13:10:28 +02:00
- Fix escalation snapshot building if user was deleted @Ferril ([#2954 ](https://github.com/grafana/oncall/pull/2954 ))
2023-09-01 17:40:31 +03:00
2023-09-07 05:38:19 -06:00
### Added
- ([Use Tilt for local development ](https://github.com/grafana/oncall/pull/1396 ))
2023-09-07 10:00:12 -03:00
### Changed
- Update slack schedule shift-changed notification ([#2949 ](https://github.com/grafana/oncall/pull/2949 ))
2023-08-31 17:40:41 +02:00
## v1.3.30 (2023-08-31)
2023-08-31 11:46:45 -03:00
### Added
- Add optional param to expand user details in shift swaps internal endpoints ([#2923 ](https://github.com/grafana/oncall/pull/2923 ))
2023-08-30 14:06:22 +03:00
### Changed
2023-09-01 07:53:27 +02:00
- Update Shift Swap Request Slack message formatting by @joeyorlando ([#2918 ](https://github.com/grafana/oncall/pull/2918 ))
2023-08-30 14:06:22 +03:00
- Performance and UX tweaks to integrations page ([#2869 ](https://github.com/grafana/oncall/pull/2869 ))
2023-08-30 11:28:49 -03:00
- Expand users details in filter swaps internal endpoint ([#2921 ](https://github.com/grafana/oncall/pull/2921 ))
2023-08-31 12:40:31 -03:00
- Truncate exported final shifts to match the requested period ([#2924 ](https://github.com/grafana/oncall/pull/2924 ))
2023-08-30 14:06:22 +03:00
2023-08-31 09:24:14 +02:00
### Fixed
- Fix issue with helm chart when specifying `broker.type=rabbitmq` where Redis environment variables
2023-09-01 10:14:59 +02:00
were not longer being injected by @joeyorlando ([#2927 ](https://github.com/grafana/oncall/pull/2927 ))
2023-08-31 13:47:13 +02:00
- Fix silence for alert groups with empty escalation chain @Ferril ([#2929 ](https://github.com/grafana/oncall/pull/2929 ))
2023-09-01 17:40:31 +03:00
- Fixed NPE when migrating legacy Grafana Alerting integrations ([#2908 ](https://github.com/grafana/oncall/issues/2908 ))
2023-09-01 10:14:59 +02:00
- Fix `IntegrityError` exceptions that occasionally would occur when trying to create `ResolutionNoteSlackMessage`
objects by @joeyorlando ([#2933 ](https://github.com/grafana/oncall/pull/2933 ))
2023-08-31 09:24:14 +02:00
2023-08-29 13:07:33 -03:00
## v1.3.29 (2023-08-29)
2023-08-29 15:52:24 +02:00
### Fixed
- Fix metrics calculation and OnCall dashboard, rename dashboard @Ferril ([#2895 ](https://github.com/grafana/oncall/pull/2895 ))
2023-08-29 13:07:33 -03:00
- Fix slack schedule notification settings dialog ([#2902 ](https://github.com/grafana/oncall/pull/2902 ))
2023-08-29 15:52:24 +02:00
2023-08-29 15:48:04 +08:00
## v1.3.28 (2023-08-29)
2023-08-21 14:51:54 +03:00
2023-08-29 15:03:32 +08:00
### Changed
- Switch engine to alpine base image ([2872 ](https://github.com/grafana/oncall/pull/2872 ))
2023-09-01 13:18:16 +03:00
### Added
- Visualization of shift swap requests in Overrides and swaps section ([#2844 ](https://github.com/grafana/oncall/issues/2844 ))
2023-08-28 11:55:17 +02:00
### Fixed
- Address bug when a Shift Swap Request is accepted either via the web or mobile UI, and the Slack message is not
updated to reflect the latest state by @joeyorlando ([#2886 ](https://github.com/grafana/oncall/pull/2886 ))
2023-08-28 20:01:45 -06:00
- Fix issue where Grafana integration would fail to parse alerting config for routes without receivers @mderynck
([#2894 ](https://github.com/grafana/oncall/pull/2894 ))
2023-08-28 11:55:17 +02:00
2023-08-25 08:04:25 +02:00
## v1.3.27 (2023-08-25)
2023-08-22 14:05:52 -06:00
### Added
- Public API for webhooks @mderynck ([#2790 ](https://github.com/grafana/oncall/pull/2790 ))
2023-08-24 13:12:24 +06:00
- Use Telegram polling protocol instead of a webhook if `FEATURE_TELEGRAM_LONG_POLLING_ENABLED` set to `True` by @alexintech
([#2250 ](https://github.com/grafana/oncall/pull/2250 ))
2023-08-22 14:05:52 -06:00
2023-08-22 11:17:26 -06:00
### Changed
2023-08-22 14:05:52 -06:00
- Public API for actions now wraps webhooks @mderynck ([#2790 ](https://github.com/grafana/oncall/pull/2790 ))
2023-08-22 11:17:26 -06:00
- Allow mobile app to access status endpoint @mderynck ([#2791 ](https://github.com/grafana/oncall/pull/2791 ))
2023-08-23 11:07:06 -03:00
- Enable shifts export endpoint for all schedule types ([#2863 ](https://github.com/grafana/oncall/pull/2863 ))
2023-08-24 12:36:42 -03:00
- Use priority field to track primary/overrides calendar in schedule iCal export ([#2871 ](https://github.com/grafana/oncall/pull/2871 ))
2023-08-22 11:17:26 -06:00
2023-08-25 07:59:20 +02:00
### Fixed
- Fix public api docs for escalation policies by @Ferril ([#2830 ](https://github.com/grafana/oncall/pull/2830 ))
2023-08-22 17:17:10 +02:00
## v1.3.26 (2023-08-22)
2023-08-22 17:09:59 +02:00
### Changed
- Increase mobile app verification token TTL by @joeyorlando ([#2859 ](https://github.com/grafana/oncall/pull/2859 ))
2023-08-21 14:51:54 +03:00
### Fixed
- Changed HTTP Endpoint to Email for inbound email integrations
([#2816 ](https://github.com/grafana/oncall/issues/2816 ))
2023-08-21 15:23:58 +01:00
- Enable inbound email feature flag by default by @vadimkerr ([#2846 ](https://github.com/grafana/oncall/pull/2846 ))
2023-08-22 16:30:42 +03:00
- Fixed initial search on Users page ([#2842 ](https://github.com/grafana/oncall/issues/2842 ))
2023-08-21 14:51:54 +03:00
2023-08-18 14:09:30 -03:00
## v1.3.25 (2023-08-18)
2023-08-18 12:12:29 +02:00
### Changed
- Improve Grafana Alerting integration by @Ferril @teodosii ([#2742 ](https://github.com/grafana/oncall/pull/2742 ))
2023-08-18 13:40:36 +03:00
- Fixed UTC conversion for escalation chain step of timerange
([#2781 ](https://github.com/grafana/oncall/issues/2781 ))
2023-08-18 12:12:29 +02:00
2023-08-18 10:58:31 -03:00
### Fixed
- Check for possible split events in range when resolving schedule ([#2828 ](https://github.com/grafana/oncall/pull/2828 ))
2023-08-17 09:50:30 +01:00
## v1.3.24 (2023-08-17)
### Added
- Shift swap requests public API ([#2775 ](https://github.com/grafana/oncall/pull/2775 ))
- Shift swap request Slack follow-ups by @vadimkerr ([#2798 ](https://github.com/grafana/oncall/pull/2798 ))
- Shift swap request push notification follow-ups by @vadimkerr ([#2805 ](https://github.com/grafana/oncall/pull/2805 ))
### Changed
2023-08-11 10:41:56 +01:00
2023-08-17 15:52:05 +08:00
- Improve default AlertManager template ([#2794 ](https://github.com/grafana/oncall/pull/2794 ))
2023-08-11 10:41:56 +01:00
### Fixed
2023-08-11 12:14:15 -03:00
- Ignore ical cancelled events when calculating shifts ([#2776 ](https://github.com/grafana/oncall/pull/2776 ))
2023-08-11 10:41:56 +01:00
- Fix Slack acknowledgment reminders by @vadimkerr ([#2769 ](https://github.com/grafana/oncall/pull/2769 ))
2023-08-11 15:37:44 +02:00
- Fix issue with updating "Require resolution note" setting by @Ferril ([#2782 ](https://github.com/grafana/oncall/pull/2782 ))
2023-08-14 11:09:26 +01:00
- Don't send notifications about past SSRs when turning on info notifications by @vadimkerr ([#2783 ](https://github.com/grafana/oncall/pull/2783 ))
2023-08-15 11:24:11 -03:00
- Add schedule shift type validation on create/preview ([#2789 ](https://github.com/grafana/oncall/pull/2789 ))
2023-08-17 10:22:37 -03:00
- Add alertmanager integration for heartbeat support ([2807 ](https://github.com/grafana/oncall/pull/2807 ))
2023-08-11 10:41:56 +01:00
2023-08-10 10:13:23 +02:00
## v1.3.23 (2023-08-10)
2023-08-01 12:32:51 -03:00
2023-08-04 16:33:11 +03:00
### Added
- Shift Swap Requests Web UI ([#2593 ](https://github.com/grafana/oncall/issues/2593 ))
2023-08-07 10:55:17 +01:00
- Final schedule shifts should lay in one line ([#1665 ](https://github.com/grafana/oncall/issues/1665 ))
- Add backend support for push notification sounds with custom extensions by @vadimkerr ([#2759 ](https://github.com/grafana/oncall/pull/2759 ))
2023-08-04 16:33:11 +03:00
2023-08-03 14:36:07 +01:00
### Changed
- Add stack slug to organization options for direct paging Slash command by @vadimkerr ([#2743 ](https://github.com/grafana/oncall/pull/2743 ))
2023-08-04 14:43:54 -03:00
- Avoid creating (or notifying about) potential event splits resulting from untaken swap requests ([#2748 ](https://github.com/grafana/oncall/pull/2748 ))
2023-08-10 10:25:00 +08:00
- Refactor heartbeats into a periodic task ([2723 ](https://github.com/grafana/oncall/pull/2723 ))
2023-08-03 14:36:07 +01:00
2023-08-04 09:09:12 -03:00
### Fixed
- Do not show override shortcut when web overrides are disabled ([#2745 ](https://github.com/grafana/oncall/pull/2745 ))
2023-08-07 10:11:46 -03:00
- Handle ical schedule import with duplicated event UIDs ([#2760 ](https://github.com/grafana/oncall/pull/2760 ))
2023-08-10 09:35:32 +03:00
- Allow Editor to access Phone Verification ([#2772 ](https://github.com/grafana/oncall/pull/2772 ))
2023-08-04 09:09:12 -03:00
2023-08-03 06:33:39 -04:00
## v1.3.22 (2023-08-03)
2023-08-02 12:26:45 +01:00
### Added
- Add mobile app push notifications for shift swap requests by @vadimkerr ([#2717 ](https://github.com/grafana/oncall/pull/2717 ))
2023-08-01 16:27:44 -03:00
### Changed
- Skip past due swap requests when calculating events ([2718 ](https://github.com/grafana/oncall/pull/2718 ))
2023-08-03 14:38:01 +02:00
- Update schedule slack notifications to use schedule final events by @Ferril ([#2710 ](https://github.com/grafana/oncall/pull/2710 ))
2023-08-01 16:27:44 -03:00
2023-08-01 12:32:51 -03:00
### Fixed
- Fix schedule final_events datetime filtering when splitting override ([#2715 ](https://github.com/grafana/oncall/pull/2715 ))
2023-08-01 15:19:46 -03:00
- Fix swap requests event filter limits in schedule events ([#2716 ](https://github.com/grafana/oncall/pull/2716 ))
2023-08-02 20:13:47 +08:00
- Fix Alerting contact point auto-creation ([2721 ](https://github.com/grafana/oncall/pull/2721 ))
2023-08-01 12:32:51 -03:00
2023-08-01 12:20:12 +08:00
## v1.3.21 (2023-08-01)
2023-07-31 10:28:50 -04:00
### Added
- [Helm] Add `extraContainers` for engine, celery and migrate-job pods to define sidecars by @lu1as ([#2650 ](https://github.com/grafana/oncall/pull/2650 ))
2023-08-04 16:33:11 +03:00
– Rework of AlertManager integration ([#2643 ](https://github.com/grafana/oncall/pull/2643 ))
2023-07-31 10:28:50 -04:00
2023-07-31 14:29:00 +01:00
## v1.3.20 (2023-07-31)
2023-07-31 18:25:30 +10:00
2023-07-31 08:41:37 -03:00
### Added
- Add filter_shift_swaps endpoint to schedules API ([#2684 ](https://github.com/grafana/oncall/pull/2684 ))
Add list shifts for swap request endpoint (#2697)
Example request/response:
`GET /api/internal/v1/shift_swaps/SSR3FJC9H3HZCHT/shifts`
```
{
"events": [
{
"all_day": false,
"start": "2023-08-01T00:00:00Z",
"end": "2023-08-01T03:00:00Z",
"users": [
{
"display_name": "testing",
"email": "testing",
"pk": "UWJWIN8MQ1GYL",
"avatar_full": "http://localhost:3000/avatar/ae2b1fca515949e5d54fb22b8ed95575",
"swap_request": {
"pk": "SSR3FJC9H3HZCHT"
}
}
],
"missing_users": [],
"priority_level": 1,
"source": "web",
"calendar_type": 0,
"is_empty": false,
"is_gap": false,
"is_override": false,
"shift": {
"pk": "OK9SS5YP42XRG"
}
},
{
"all_day": false,
"start": "2023-08-01T03:00:00Z",
"end": "2023-08-02T00:00:00Z",
"users": [
{
"display_name": "testing",
"email": "testing",
"pk": "UWJWIN8MQ1GYL",
"avatar_full": "http://localhost:3000/avatar/ae2b1fca515949e5d54fb22b8ed95575",
"swap_request": {
"pk": "SSR3FJC9H3HZCHT"
}
}
],
"missing_users": [],
"priority_level": 1,
"source": "web",
"calendar_type": 0,
"is_empty": false,
"is_gap": false,
"is_override": false,
"shift": {
"pk": "OK9SS5YP42XRG"
}
}
]
}
```
2023-07-31 15:13:35 -03:00
- Add shifts endpoint to shift swap API ([#2697 ](https://github.com/grafana/oncall/pull/2697/ ))
2023-07-31 08:41:37 -03:00
2023-07-31 18:25:30 +10:00
### Fixed
- Fix helm env variable validation logic when specifying Twilio auth related values by @njohnstone2 ([#2674 ](https://github.com/grafana/oncall/pull/2674 ))
2023-07-31 15:48:18 +03:00
- Fixed mobile app verification not sending SMS to phone number ([#2687 ](https://github.com/grafana/oncall/issues/2687 ))
2023-07-31 18:25:30 +10:00
2023-07-28 18:34:21 +01:00
## v1.3.19 (2023-07-28)
2023-07-24 14:38:23 +02:00
2023-07-28 18:29:00 +01:00
### Fixed
- Fix one of the latest migrations failing on SQLite by @vadimkerr ([#2680 ](https://github.com/grafana/oncall/pull/2680 ))
2023-07-28 15:53:27 -03:00
### Added
- Apply swap requests details to schedule events ([#2677 ](https://github.com/grafana/oncall/pull/2677 ))
2023-07-28 14:00:56 +08:00
## v1.3.18 (2023-07-28)
2023-07-26 13:25:26 +01:00
### Changed
- Update the direct paging feature to page for acknowledged & silenced alert groups,
and show a warning for resolved alert groups by @vadimkerr ([#2639 ](https://github.com/grafana/oncall/pull/2639 ))
2023-07-28 15:19:27 -06:00
- Change calls to get instances from GCOM to paginate by @mderynck ([#2669 ](https://github.com/grafana/oncall/pull/2669 ))
2023-07-28 08:59:33 -03:00
- Update checking on-call users to use schedule final events ([#2651 ](https://github.com/grafana/oncall/pull/2651 ))
2023-07-26 13:25:26 +01:00
2023-07-26 18:57:57 +08:00
### Fixed
- Remove checks delaying plugin load and cause "Initializing plugin..." ([2624 ](https://github.com/grafana/oncall/pull/2624 ))
2023-07-26 13:33:24 +01:00
- Fix "Continue escalation if >X alerts per Y minutes" escalation step by @vadimkerr ([#2636 ](https://github.com/grafana/oncall/pull/2636 ))
2023-07-27 19:40:31 +06:00
- Post to Telegram ChatOps channel option is not showing in the integrations page
by @alexintech ([#2498 ](https://github.com/grafana/oncall/pull/2498 ))
2023-07-26 18:57:57 +08:00
2023-07-25 12:16:36 -04:00
## v1.3.17 (2023-07-25)
2023-07-25 08:39:39 +02:00
2023-07-24 14:38:23 +02:00
### Added
- Added banner on the ChatOps screen for OSS to let the user know if no chatops integration is enabled
([#1735 ](https://github.com/grafana/oncall/issues/1735 ))
2023-07-25 12:18:14 -04:00
- Add `rbac_enabled` to `GET /api/internal/v1/current_team` response schema + `rbac_permissions` to `GET /api/internal/v1/user`
response schema by @joeyorlando ([#2611 ](https://github.com/grafana/oncall/pull/2611 ))
2023-07-24 14:38:23 +02:00
2023-07-25 12:16:36 -04:00
### Fixed
- Bring heartbeats back to UI by @maskin25 ([#2550 ](https://github.com/grafana/oncall/pull/2550 ))
- Address issue when Grafana feature flags which were enabled via the `feature_flags.enabled` were only properly being
parsed, when they were space-delimited. This fix allows them to be _either_ space or comma-delimited.
by @joeyorlando ([#2623 ](https://github.com/grafana/oncall/pull/2623 ))
2023-07-21 09:16:49 -06:00
## v1.3.16 (2023-07-21)
2023-07-13 11:30:50 +02:00
2023-07-20 20:12:54 +02:00
### Added
- Allow persisting mobile app's timezone, to allow for more accurate datetime related notifications by @joeyorlando
([#2601 ](https://github.com/grafana/oncall/pull/2601 ))
2023-07-21 14:59:05 +08:00
- Add filter integrations by type ([2609 ](https://github.com/grafana/oncall/pull/2609 ))
2023-07-20 20:12:54 +02:00
2023-07-20 15:57:00 +01:00
### Changed
- Update direct paging docs by @vadimkerr ([#2600 ](https://github.com/grafana/oncall/pull/2600 ))
2023-07-21 11:01:58 +01:00
- Improve APIs for creating/updating direct paging integrations by @vadimkerr ([#2603 ](https://github.com/grafana/oncall/pull/2603 ))
2023-07-21 15:55:57 +01:00
- Remove unnecessary team checks in public API by @vadimkerr ([#2606 ](https://github.com/grafana/oncall/pull/2606 ))
2023-07-20 15:57:00 +01:00
2023-07-19 14:52:05 +01:00
### Fixed
- Fix Slack direct paging issue when there are more than 100 schedules by @vadimkerr ([#2594 ](https://github.com/grafana/oncall/pull/2594 ))
2023-07-20 15:23:33 -06:00
- Fix webhooks unable to be copied if they contain password or authorization header ([#2608 ](https://github.com/grafana/oncall/pull/2608 ))
2023-07-19 14:52:05 +01:00
2023-07-19 03:12:47 -04:00
## v1.3.15 (2023-07-19)
2023-07-19 03:12:31 -04:00
2023-07-18 09:36:11 +01:00
### Changed
2023-07-18 13:48:34 +02:00
- Deprecate `AlertGroup.is_archived` column. Column will be removed in a subsequent release. By @joeyorlando ([#2524 ](https://github.com/grafana/oncall/pull/2524 )).
2023-07-18 09:36:11 +01:00
- Update Slack "invite" feature to use direct paging by @vadimkerr ([#2562 ](https://github.com/grafana/oncall/pull/2562 ))
2023-07-18 12:33:47 +01:00
- Change "Current responders" to "Additional Responders" in web UI by @vadimkerr ([#2567 ](https://github.com/grafana/oncall/pull/2567 ))
2023-07-18 09:36:11 +01:00
2023-07-18 18:17:53 +01:00
### Fixed
- Fix duplicate orders on routes and escalation policies by @vadimkerr ([#2568 ](https://github.com/grafana/oncall/pull/2568 ))
2023-07-19 09:17:21 +02:00
- Fixed Slack channels sync by @Ferril ([#2571 ](https://github.com/grafana/oncall/pull/2571 ))
2023-07-19 03:12:31 -04:00
- Fixed rendering of slack connection errors ([#2526 ](https://github.com/grafana/oncall/pull/2526 ))
2023-07-18 18:17:53 +01:00
2023-07-17 10:41:19 -04:00
## v1.3.14 (2023-07-17)
2023-07-17 16:04:55 +03:00
### Changed
- Added `PHONE_PROVIDER` configuration check by @sreway ([#2523 ](https://github.com/grafana/oncall/pull/2523 ))
2023-07-17 14:21:56 +01:00
- Deprecate `/oncall` Slack command, update direct paging functionality by @vadimkerr ([#2537 ](https://github.com/grafana/oncall/pull/2537 ))
2023-07-17 10:59:16 -03:00
- Change plugin version to drop the `v` prefix. ([#2540 ](https://github.com/grafana/oncall/pull/2540 ))
2023-07-17 16:04:55 +03:00
2023-07-17 06:58:45 -04:00
## v1.3.13 (2023-07-17)
2023-07-17 07:38:04 +02:00
### Changed
- Remove deprecated `heartbeat.HeartBeat` model/table by @joeyorlando ([#2534 ](https://github.com/grafana/oncall/pull/2534 ))
2023-07-14 16:58:38 -06:00
## v1.3.12 (2023-07-14)
augment API response pagination attributes (#2471)
# What this PR does
This PR:
- adds a few attributes to paginated API responses
- removes channel filter "send demo alert" internal API endpoint + tests
(this endpoint was marked as deprecated + not consumed by the web UI)
With the new paginated API response schema, the web UI will no longer
need to:
- hardcode `ITEMS_PER_PAGE` for each table
- manually calculate total number of pages
(these two things ☝️ will be done in
https://github.com/grafana/oncall/issues/2476)
For `GET /api/internal/v1/alertgroups` the response will now look like
this:
```diff
{
"next": <url> | None,
"previous": <url> | None,
"results": [],
++ "page_size": <int>
}
```
For all other paginated API responses, the response will now look like:
```diff
{
"count": <int>,
"next": <url> | None,
"previous": <url> | None,
"results": [],
++ "page_size": <int>,
++ "current_page_number": <int>,
++ "total_pages": <int>
}
```
## TODO
- [x] update public API docs to include these new attributes
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-14 17:19:40 +02:00
### Added
- Add `page_size` , `current_page_number` , and `total_pages` attributes to paginated API responses by @joeyorlando ([#2471 ](https://github.com/grafana/oncall/pull/2471 ))
2023-07-14 16:52:41 -06:00
### Fixed
- New webhooks incorrectly masking authorization header by @mderynck ([#2541 ](https://github.com/grafana/oncall/pull/2541 ))
2023-07-13 14:38:36 -06:00
## v1.3.11 (2023-07-13)
2023-07-13 13:53:06 -06:00
### Added
- Release new webhooks functionality by @mderynck @matiasb @maskin25 @teodosii @raphael -batte ([#1830 ](https://github.com/grafana/oncall/pull/1830 ))
### Changed
- Custom button webhooks are deprecated, they will be automatically migrated to new webhooks. ([#1830 ](https://github.com/grafana/oncall/pull/1830 ))
2023-07-13 11:30:34 +02:00
## v1.3.10 (2023-07-13)
2023-07-12 12:11:42 +02:00
2023-07-12 17:30:20 +02:00
### Added
- [Helm] Added ability to specify `resources` definition within the `wait-for-db` init container by @Shelestov7
([#2501 ](https://github.com/grafana/oncall/pull/2501 ))
2023-07-13 11:22:59 +02:00
- Added index on `started_at` column in `alerts_alertgroup` table. This substantially speeds up query used by the `check_escalation_finished_task`
task. By @joeyorlando and @Konstantinov -Innokentii ([#2516 ](https://github.com/grafana/oncall/pull/2516 )).
2023-07-12 17:30:20 +02:00
2023-07-12 12:11:42 +02:00
### Changed
- Deprecated `/maintenance` web UI page. Maintenance is now handled at the integration level and can be performed
2023-07-12 22:41:44 +02:00
within a single integration's page. by @Ukochka ([#2497 ](https://github.com/grafana/oncall/issues/2497 ))
2023-07-12 17:00:16 +03:00
### Fixed
2023-07-12 22:41:44 +02:00
- Fixed a bug in the integration maintenance mode workflow where a user could not start/stop an integration's
maintenance mode by @joeyorlando ([#2511 ](https://github.com/grafana/oncall/issues/2511 ))
- Schedules: Long popup does not fit screen & buttons unreachable & objects outside of the popup [#1002 ](https://github.com/grafana/oncall/issues/1002 )
- New schedules white theme issues [#2356 ](https://github.com/grafana/oncall/issues/2356 )
2023-07-12 12:11:42 +02:00
2023-07-12 02:38:04 -04:00
## v1.3.9 (2023-07-12)
2023-07-11 16:51:22 +03:00
2023-07-11 21:03:34 +03:00
### Added
2023-07-12 22:41:44 +02:00
- Bring new Jinja editor to webhooks ([#2344 ](https://github.com/grafana/oncall/issues/2344 ))
2023-07-11 21:03:34 +03:00
2023-07-11 16:51:22 +03:00
### Fixed
- Add debounce on Select UI components to avoid making API search requests on each key-down event by
@maskin25 ([#2466 ](https://github.com/grafana/oncall/pull/2466 ))
2023-07-13 13:41:31 +08:00
- Make Direct paging integration configurable ([2483 ](https://github.com/grafana/oncall/pull/2483 ))
2023-07-11 16:51:22 +03:00
2023-07-11 10:22:23 +01:00
## v1.3.8 (2023-07-11)
2023-07-06 21:43:04 +02:00
### Added
- Add `event.users.avatar_full` field to `GET /api/internal/v1/schedules/{schedule_id}/filter_events`
payload by @joeyorlando ([#2459 ](https://github.com/grafana/oncall/pull/2459 ))
2023-07-11 16:20:28 +08:00
- Add `affinity` and `tolerations` for `celery` and `migrations` pods into helm chart + unit test for chart
2023-07-06 21:43:04 +02:00
2023-07-07 18:24:21 +02:00
### Changed
- Modified DRF pagination class used by `GET /api/internal/v1/alert_receive_channels` and `GET /api/internal/v1/schedules`
endpoints so that the `next` and `previous` pagination links are properly set when OnCall is run behind
2023-07-10 10:59:15 +02:00
a reverse proxy by @joeyorlando ([#2467 ](https://github.com/grafana/oncall/pull/2467 ))
2023-07-17 18:34:58 +08:00
- Polish user settings and warnings ([#2425 ](https://github.com/grafana/oncall/pull/2425 ))
2023-07-10 10:59:15 +02:00
### Fixed
- Address issue where we were improperly parsing Grafana feature flags that were enabled via the `feature_flags.enabled`
method by @joeyorlando ([#2477 ](https://github.com/grafana/oncall/pull/2477 ))
2023-07-11 10:14:52 +01:00
- Fix cuddled list Markdown issue by @vadimkerr ([#2488 ](https://github.com/grafana/oncall/pull/2488 ))
2023-07-12 02:45:06 -04:00
- Fixed schedules slack notifications for deleted organizations ([#2493 ](https://github.com/grafana/oncall/pull/2493 ))
2023-07-07 18:24:21 +02:00
2023-07-06 11:03:08 -06:00
## v1.3.7 (2023-07-06)
2023-07-05 16:32:54 +08:00
2023-07-06 12:38:04 +02:00
### Changed
- OnCall Metrics dashboard update ([#2400 ](https://github.com/grafana/oncall/pull/2400 ))
2023-07-05 17:14:46 +02:00
## v1.3.6 (2023-07-05)
### Fixed
- Address issue where having multiple registered mobile apps for a user could lead to issues in delivering push
notifications by @joeyorlando ([#2421 ](https://github.com/grafana/oncall/pull/2421 ))
2023-07-05 07:05:03 -04:00
## v1.3.5 (2023-07-05)
### Fixed
- Fix for phone provider initialization which can lead to an HTTP 500 on startup ([#2434 ](https://github.com/grafana/oncall/pull/2434 ))
2023-07-05 14:31:37 +08:00
## v1.3.4 (2023-07-05)
2023-06-30 14:45:40 +01:00
### Added
- Add full avatar URL for on-call users in schedule internal API by @vadimkerr ([#2414 ](https://github.com/grafana/oncall/pull/2414 ))
2023-07-05 08:55:53 +03:00
- Add phone call using the zvonok.com service by @sreway ([#2339 ](https://github.com/grafana/oncall/pull/2339 ))
2023-06-30 14:45:40 +01:00
2023-07-05 05:18:13 -04:00
### Changed
- UI drawer updates for webhooks2 ([#2419 ](https://github.com/grafana/oncall/pull/2419 ))
2023-07-12 22:41:44 +02:00
- Removed url from sms notification, changed format ([#2317 ](https://github.com/grafana/oncall/pull/2317 ))
2023-07-05 05:18:13 -04:00
2023-06-29 14:46:05 -06:00
## v1.3.3 (2023-06-29)
2023-06-29 13:01:59 +02:00
2023-06-29 16:08:21 +02:00
### Added
- Docs for `/resolution_notes` public api endpoint [#222 ](https://github.com/grafana/oncall/issues/222 )
2023-06-29 14:52:30 +02:00
### Fixed
- Change alerts order for `/alert` public api endpoint [#1031 ](https://github.com/grafana/oncall/issues/1031 )
2023-06-29 16:08:21 +02:00
- Change resolution notes order for `/resolution_notes` public api endpoint to show notes for the newest alert group
on top ([#2404 ](https://github.com/grafana/oncall/pull/2404 ))
2023-06-29 14:17:02 -06:00
- Remove attempt to check token when editor/viewers are accessing the plugin @mderynck ([#2410 ](https://github.com/grafana/oncall/pull/2410 ))
2023-06-29 14:52:30 +02:00
2023-06-29 07:42:36 -04:00
## v1.3.2 (2023-06-29)
2023-06-28 10:15:19 +02:00
### Added
- Add metric "how many alert groups user was notified of" to Prometheus exporter ([#2334 ](https://github.com/grafana/oncall/pull/2334/ ))
2023-06-26 16:22:13 -06:00
### Changed
- Change permissions used during setup to better represent actions being taken by @mderynck ([#2242 ](https://github.com/grafana/oncall/pull/2242 ))
2023-06-27 10:58:16 +08:00
- Display 100000+ in stats when there are more than 100000 alert groups in the result ([#1901 ](https://github.com/grafana/oncall/pull/1901 ))
2023-06-29 07:42:36 -04:00
- Change OnCall plugin to use service accounts and api tokens for communicating with backend, by @mderynck ([#2385 ](https://github.com/grafana/oncall/pull/2385 ))
2023-07-04 15:49:30 -04:00
- RabbitMQ Docker image upgraded from 3.7.19 to 3.12.0 in `docker-compose-developer.yml` and
`docker-compose-mysql-rabbitmq.yml` . **Note** : if you use one of these config files for your deployment
you _may_ need to follow the RabbitMQ "upgrade steps" listed [here ](https://rabbitmq.com/upgrade.html#rabbitmq-version-upgradability )
by @joeyorlando ([#2359 ](https://github.com/grafana/oncall/pull/2359 ))
2023-06-26 16:22:13 -06:00
2023-06-27 07:59:54 +02:00
### Fixed
- For "You're Going OnCall" push notifications, show shift times in the user's configured timezone, otherwise UTC
by @joeyorlando ([#2351 ](https://github.com/grafana/oncall/pull/2351 ))
2023-06-26 14:12:52 -03:00
## v1.3.1 (2023-06-26)
2023-06-26 17:09:21 +01:00
### Fixed
- Fix phone call & SMS relay by @vadimkerr ([#2345 ](https://github.com/grafana/oncall/pull/2345 ))
2023-06-26 09:18:41 -04:00
## v1.3.0 (2023-06-26)
2023-06-23 11:50:18 +03:00
2023-06-26 02:23:00 -07:00
### Added
- Secrets consistency for the chart. Bugfixing [#1016 ](https://github.com/grafana/oncall/pull/1016 )
2023-06-23 11:50:18 +03:00
### Changed
2023-06-26 02:23:00 -07:00
- `telegram.webhookUrl` now defaults to `https://<base_url>` if not set
2023-06-23 11:50:18 +03:00
- UI Updates for the integrations page ([#2310 ](https://github.com/grafana/oncall/pull/2310 ))
2023-06-23 13:29:36 -03:00
- Prefer shift start when displaying rotation start value for existing shifts ([#2316 ](https://github.com/grafana/oncall/pull/2316 ))
### Fixed
- Fixed minor schedule preview issue missing last day ([#2316 ](https://github.com/grafana/oncall/pull/2316 ))
2023-06-23 11:50:18 +03:00
2023-06-22 12:01:21 -03:00
## v1.2.46 (2023-06-22)
2023-06-20 12:49:13 +02:00
2023-06-20 16:18:56 +03:00
### Added
2023-06-22 12:19:56 -03:00
- Make it possible to completely delete a rotation oncall ([#1505 ](https://github.com/grafana/oncall/issues/1505 ))
- Polish rotation modal form oncall ([#1506 ](https://github.com/grafana/oncall/issues/1506 ))
- Quick actions when editing a schedule oncall ([#1507 ](https://github.com/grafana/oncall/issues/1507 ))
- Enable schedule related profile settings oncall ([#1508 ](https://github.com/grafana/oncall/issues/1508 ))
- Highlight user shifts oncall ([#1509 ](https://github.com/grafana/oncall/issues/1509 ))
- Rename or Description for Schedules Rotations ([#1460 ](https://github.com/grafana/oncall/issues/1406 ))
2023-06-21 13:00:13 +02:00
- Add documentation for OnCall metrics exporter ([#2149 ](https://github.com/grafana/oncall/pull/2149 ))
- Add dashboard for OnCall metrics ([#1973 ](https://github.com/grafana/oncall/pull/1973 ))
2023-06-20 16:18:56 +03:00
2023-06-20 12:49:13 +02:00
## Changed
- Change mobile shift notifications title and subtitle by @imtoori ([#2288 ](https://github.com/grafana/oncall/pull/2288 ))
2023-06-22 12:19:56 -03:00
- Make web schedule updates to trigger sync refresh of its ical representation ([#2279 ](https://github.com/grafana/oncall/pull/2279 ))
2023-06-20 12:49:13 +02:00
Fix duplicate orders for user notification policies (#2278)
# What this PR does
Fixes an issue when multiple user notification policies have duplicated
order values, leading to the following unexpected behaviours:
1. Not possible to rearrange notification policies that have duplicated
orders.
2. The notification system only executes the first policy from each
order group. For example, if there are policies with orders `[0, 0, 0,
0]`, only the first policy will be executed, and all others will be
skipped. So the user will see four policies in the UI, while only one of
them will be actually executed.
This PR fixes the issue by adding a unique index on `(user_id,
important, order)` for `UserNotificationPolicy` model. However, it's not
possible to add that unique index using the ordering library that we use
due to it's implementation details.
I added a new abstract Django model `OrderedModel` that's able to work
with such unique indices + under concurrent load.
Important info on this new `OrderedModel` abstract model:
- Orders are unique on the DB level
- Orders are allowed to be non-consecutive, for example order sequence
`[100, 150, 400]` is valid
- When deleting an instance, orders of other instances don't change.
This is a notable difference from the library we use. I think it's
better to only delete the instance without changing any other orders,
because it reduces the number of dependencies between instances (e.g.
Terraform drift will be much smaller this way if a policy is deleted via
the web UI).
## Which issue(s) this PR fixes
Related to https://github.com/grafana/oncall-private/issues/1680
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-21 12:13:56 +01:00
## Fixed
- Fix duplicate orders for user notification policies by @vadimkerr ([#2278 ](https://github.com/grafana/oncall/pull/2278 ))
2023-06-22 12:19:56 -03:00
- Fix broken markup on alert group page, declutter, make time format consistent ([#2296 ](https://github.com/grafana/oncall/pull/2295 ))
Fix duplicate orders for user notification policies (#2278)
# What this PR does
Fixes an issue when multiple user notification policies have duplicated
order values, leading to the following unexpected behaviours:
1. Not possible to rearrange notification policies that have duplicated
orders.
2. The notification system only executes the first policy from each
order group. For example, if there are policies with orders `[0, 0, 0,
0]`, only the first policy will be executed, and all others will be
skipped. So the user will see four policies in the UI, while only one of
them will be actually executed.
This PR fixes the issue by adding a unique index on `(user_id,
important, order)` for `UserNotificationPolicy` model. However, it's not
possible to add that unique index using the ordering library that we use
due to it's implementation details.
I added a new abstract Django model `OrderedModel` that's able to work
with such unique indices + under concurrent load.
Important info on this new `OrderedModel` abstract model:
- Orders are unique on the DB level
- Orders are allowed to be non-consecutive, for example order sequence
`[100, 150, 400]` is valid
- When deleting an instance, orders of other instances don't change.
This is a notable difference from the library we use. I think it's
better to only delete the instance without changing any other orders,
because it reduces the number of dependencies between instances (e.g.
Terraform drift will be much smaller this way if a policy is deleted via
the web UI).
## Which issue(s) this PR fixes
Related to https://github.com/grafana/oncall-private/issues/1680
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-21 12:13:56 +01:00
2023-06-19 13:39:40 +08:00
## v1.2.45 (2023-06-19)
2023-06-14 18:19:58 +02:00
2023-06-16 06:14:36 +03:00
### Changed
2023-06-16 12:00:14 +02:00
- Change .Values.externalRabbitmq.passwordKey from `password` to `""` (default value `rabbitmq-password` ) ([#864 ](https://github.com/grafana/oncall/pull/864 ))
- Remove deprecated `permissions` string array from the internal API user serializer by @joeyorlando ([#2269 ](https://github.com/grafana/oncall/pull/2269 ))
2023-06-16 06:14:36 +03:00
2023-06-14 18:19:58 +02:00
### Added
- Add `locale` column to mobile app user settings table by @joeyorlando [#2131 ](https://github.com/grafana/oncall/pull/2131 )
- Update notification text for "You're going on call" push notifications to include information about the shift start
and end times by @joeyorlando ([#2131 ](https://github.com/grafana/oncall/pull/2131 ))
2023-06-15 10:53:53 -03:00
### Fixed
- Handle non-UTC UNTIL datetime value when repeating ical events [#2241 ](https://github.com/grafana/oncall/pull/2241 )
2023-06-19 12:43:46 +08:00
- Optimize AlertManager auto-resolve mechanism
2023-06-15 10:53:53 -03:00
2023-06-14 10:16:55 -03:00
## v1.2.44 (2023-06-14)
2023-06-13 08:42:22 +03:00
### Added
2023-06-13 20:54:52 +02:00
- Users with the Viewer basic role can now connect and use the mobile app ([#1892 ](https://github.com/grafana/oncall/pull/1892 ))
2023-06-13 08:42:22 +03:00
- Add helm chart support for redis and mysql existing secrets [#2156 ](https://github.com/grafana/oncall/pull/2156 )
2023-06-13 12:56:06 +02:00
### Changed
- Removed `SlackActionRecord` model and database table by @joeyorlando [#2201 ](https://github.com/grafana/oncall/pull/2201 )
2023-06-13 13:50:37 -03:00
- Require users when creating a schedule rotation using the web UI [#2220 ](https://github.com/grafana/oncall/pull/2220 )
2023-06-13 12:56:06 +02:00
2023-06-13 12:27:01 -03:00
### Fixed
- Fix schedule shift preview to not breaking rotation shifts when there is overlap [#2218 ](https://github.com/grafana/oncall/pull/2218 )
- Fix schedule list filter by type to allow considering multiple values [#2218 ](https://github.com/grafana/oncall/pull/2218 )
2023-06-12 15:19:24 -06:00
## v1.2.43 (2023-06-12)
### Changed
- Propogate CI/CD changes
2023-06-12 14:56:53 +02:00
## v1.2.42 (2023-06-12)
2023-06-08 16:49:48 -03:00
2023-06-09 15:16:51 +08:00
### Changed
- Helm chart: Upgrade helm dependecies, improve local setup [#2144 ](https://github.com/grafana/oncall/pull/2144 )
2023-06-08 16:49:48 -03:00
### Fixed
2023-06-12 15:32:24 +03:00
- Fixed bug on Filters where team param from URL was discarded [#6237 ](https://github.com/grafana/support-escalations/issues/6237 )
2023-06-08 16:49:48 -03:00
- Fix receive channel filter in alert groups API [#2140 ](https://github.com/grafana/oncall/pull/2140 )
2023-06-12 09:34:36 +06:00
- Helm chart: Fix usage of `env` settings as map;
Fix usage of `mariadb.auth.database` and `mariadb.auth.username` for MYSQL env variables by @alexintech [#2146 ](https://github.com/grafana/oncall/pull/2146 )
2023-06-13 12:56:06 +02:00
2023-06-13 09:45:07 +08:00
### Added
- Helm chart: Add unittests for rabbitmq and redis [2165 ](https://github.com/grafana/oncall/pull/2165 )
2023-06-08 16:49:48 -03:00
2023-06-08 14:55:35 +08:00
## v1.2.41 (2023-06-08)
### Added
2023-06-08 13:12:00 +06:00
- Twilio Provider improvements by @Konstantinov -Innokentii, @mderynck and @joeyorlando
[#2074 ](https://github.com/grafana/oncall/pull/2074 ) [#2034 ](https://github.com/grafana/oncall/pull/2034 )
2023-06-08 15:37:53 +08:00
- Run containers as a non-root user by @alexintech [#2053 ](https://github.com/grafana/oncall/pull/2053 )
2023-06-07 14:27:35 +01:00
## v1.2.40 (2023-06-07)
2023-06-05 18:25:51 +06:00
2023-06-06 10:46:17 +02:00
### Added
- Allow mobile app to consume "internal" schedules API endpoints by @joeyorlando ([#2109 ](https://github.com/grafana/oncall/pull/2109 ))
2023-06-06 14:08:54 +01:00
- Add inbound email address in integration API by @vadimkerr ([#2113 ](https://github.com/grafana/oncall/pull/2113 ))
2023-06-06 10:46:17 +02:00
2023-06-07 13:10:53 +01:00
### Changed
- Make viewset actions more consistent by @vadimkerr ([#2120 ](https://github.com/grafana/oncall/pull/2120 ))
2023-06-06 14:53:45 +02:00
### Fixed
- Fix + revert [#2057 ](https://github.com/grafana/oncall/pull/2057 ) which reverted a change which properly handles
`Organization.DoesNotExist` exceptions for Slack events by @joeyorlando ([#TBD ](https://github.com/grafana/oncall/pull/TBD ))
2023-06-06 16:18:12 +01:00
- Fix Telegram ratelimit on live setting change by @vadimkerr and @alexintech ([#2100 ](https://github.com/grafana/oncall/pull/2100 ))
2023-06-06 14:53:45 +02:00
2023-06-06 10:11:11 +08:00
## v1.2.39 (2023-06-06)
2023-06-06 09:45:23 +08:00
2023-06-05 18:25:51 +06:00
### Changed
- Do not hide not secret settings in the web plugin UI by @alexintech ([#1964 ](https://github.com/grafana/oncall/pull/1964 ))
2023-06-02 14:33:50 -03:00
## v1.2.36 (2023-06-02)
2023-06-02 10:44:32 +01:00
2023-06-05 16:06:10 +02:00
### Added
- Add public API endpoint to export a schedule's final shifts by @joeyorlando ([2047 ](https://github.com/grafana/oncall/pull/2047 ))
2023-06-02 10:44:32 +01:00
### Fixed
- Fix demo alert for inbound email integration by @vadimkerr ([#2081 ](https://github.com/grafana/oncall/pull/2081 ))
2023-06-02 14:28:04 -03:00
- Fix calendar TZ used when comparing current shifts triggering slack shift notifications ([#2091 ](https://github.com/grafana/oncall/pull/2091 ))
2023-06-02 10:44:32 +01:00
2023-06-01 15:10:52 -03:00
## v1.2.35 (2023-06-01)
2023-06-01 16:08:39 +06:00
### Fixed
- Fix a bug with permissions for telegram user settings by @alexintech ([#2075 ](https://github.com/grafana/oncall/pull/2075 ))
Fix orphaned messages in Slack (#2023)
# What this PR does
Reworks Slack handlers for buttons and select menus for AG Slack
messages.
<img width="602" alt="Screenshot 2023-05-31 at 19 34 05"
src="https://github.com/grafana/oncall/assets/20116910/857bf096-7bdd-427b-94b6-15aad873a8ac">
## Current implementation
- It's possible to end up with orphaned Slack messages that are posted
to Slack but have no `SlackMessage` instance in the DB. For such
messages, clicking buttons will result in an exception and HTTP 500. See
private repo
[issue](https://github.com/grafana/oncall-private/issues/1841) for more
info.
- Bug in authorization system, which effectively bypasses any permission
checks. For example, it's possible to resolve an alert group while being
a Viewer.
- No tests covering most buttons.
## Changes in this PR
- Make the system more robust, don't use `SlackMessage` model to figure
out the alert group being interacted on, instead embed `alert_group_pk`
to every button and use it when receiving interaction requests from
Slack.
- Existing orphaned Slack messages will be repaired. Clicking buttons
under orphaned messages will work (and missing `SlackMessage` instance
will be created on interaction). This is possible because some buttons
already have `alert_group_pk` embedded, and it's possible to get this
data on button clicks (even if the clicked button itself doesn't have
`alert_group_pk` embedded).
- Fix authorization. Show warning window when unauthorized:
<img width="511" alt="Screenshot 2023-05-31 at 19 40 02"
src="https://github.com/grafana/oncall/assets/20116910/5abeeaa7-1b61-4a47-b3af-0e21d5cd1907">
- Added tests for all the buttons under AG message. Add tests checking
authorization, actual execution of scenario steps, orphan message
repairing, backward compatibility, etc. Also add tests on
`AlertGroupSlackRenderer` checking that correct data is embedded into
buttons.
- Cosmetic changes such as renaming `incident` to `Alert Group`.
## Which issue(s) this PR fixes
Related to https://github.com/grafana/oncall-private/issues/1841
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-01 11:21:30 +01:00
- Fix orphaned messages in Slack by @vadimkerr ([#2023 ](https://github.com/grafana/oncall/pull/2023 ))
2023-06-01 13:27:14 -03:00
- Fix duplicated slack shift-changed notifications ([#2080 ](https://github.com/grafana/oncall/pull/2080 ))
2023-06-01 16:08:39 +06:00
2023-05-31 14:26:44 -06:00
## v1.2.34 (2023-05-31)
### Added
- Add description to "Default channel for Slack notifications" UI dropdown by @joeyorlando ([2051 ](https://github.com/grafana/oncall/pull/2051 ))
2023-05-31 16:22:58 +08:00
### Fixed
- Fix templates when slack or telegram is disabled ([#2064 ](https://github.com/grafana/oncall/pull/2064 ))
2023-05-31 14:26:44 -06:00
- Reduce number of alert groups returned by `Attach To` in slack to avoid event trigger timeout @mderynck ([#2049 ](https://github.com/grafana/oncall/pull/2049 ))
2023-05-31 16:22:58 +08:00
2023-05-30 12:35:48 -03:00
## v1.2.33 (2023-05-30)
2023-05-30 12:13:48 -03:00
### Fixed
- Revert #2040 breaking `/escalate` Slack command
2023-05-30 09:53:20 -03:00
## v1.2.32 (2023-05-30)
2023-05-25 11:48:41 +01:00
2023-05-25 20:26:13 +02:00
### Added
2023-05-25 15:56:44 -06:00
- Add models and framework to use different services (Phone, SMS, Verify) in Twilio depending on
2023-05-29 13:06:19 -04:00
the destination country code by @mderynck ([#1976 ](https://github.com/grafana/oncall/pull/1976 ))
2023-05-25 20:26:13 +02:00
- Prometheus exporter backend for alert groups related metrics
2023-05-29 23:35:43 +06:00
- Helm chart: configuration of `uwsgi` using environment variables by @alexintech ([#2045 ](https://github.com/grafana/oncall/pull/2045 ))
2023-05-29 17:52:42 +03:00
- Much expanded/improved docs for mobile app ([2026 ](https://github.com/grafana/oncall/pull/2026> ))
2023-05-29 10:33:45 -03:00
- Enable by-day selection when defining monthly and hourly rotations ([2037 ](https://github.com/grafana/oncall/pull/2037 ))
2023-05-25 20:26:13 +02:00
2023-05-25 11:48:41 +01:00
### Fixed
- Fix error when updating closed modal window in Slack by @vadimkerr ([#2019 ](https://github.com/grafana/oncall/pull/2019 ))
2023-05-25 15:17:09 -03:00
- Fix final schedule export failing to update when ical imported events set start/end as date ([#2025 ](https://github.com/grafana/oncall/pull/2025 ))
2023-05-29 23:35:43 +06:00
- Helm chart: fix bugs in helm chart with external postgresql configuration by @alexintech ([#2036 ](https://github.com/grafana/oncall/pull/2036 ))
2023-05-29 13:06:19 -04:00
- Properly address `Organization.DoesNotExist` exceptions thrown which result in HTTP 500 for the Slack `interactive_api_endpoint`
endpoint by @joeyorlando ([#2040 ](https://github.com/grafana/oncall/pull/2040 ))
2023-05-29 15:52:24 -03:00
- Fix issue when trying to sync Grafana contact point and config receivers miss a key ([#2046 ](https://github.com/grafana/oncall/pull/2046 ))
2023-05-25 11:48:41 +01:00
2023-05-26 14:52:09 +02:00
### Changed
- Changed mobile notification title and subtitle. Removed the body. by @imtoori [#2027 ](https://github.com/grafana/oncall/pull/2027 )
2023-05-26 11:28:13 +01:00
## v1.2.31 (2023-05-26)
### Fixed
- Fix AmazonSNS ratelimit by @Konstantinov -Innokentii ([#2032 ](https://github.com/grafana/oncall/pull/2032 ))
2023-05-25 14:30:49 +08:00
## v1.2.30 (2023-05-25)
### Fixed
- Fix Phone provider status callbacks [#2014 ](https://github.com/grafana/oncall/pull/2014 )
2023-05-25 11:42:02 +08:00
## v1.2.29 (2023-05-25)
2023-05-24 17:00:29 +08:00
### Changed
- Phone provider refactoring [#1713 ](https://github.com/grafana/oncall/pull/1713 )
2023-05-25 09:01:52 -03:00
### Fixed
2023-05-25 10:42:59 -03:00
- Handle slack metadata limit when creating paging command payload ([#2007 ](https://github.com/grafana/oncall/pull/2007 ))
2023-05-25 09:01:52 -03:00
- Fix issue with sometimes cached final schedule not being refreshed after an update ([#2004 ](https://github.com/grafana/oncall/pull/2004 ))
2023-05-24 11:42:59 +01:00
## v1.2.28 (2023-05-24)
2023-05-24 17:00:29 +08:00
### Fixed
- Improve plugin authentication by @vadimkerr ([#1995 ](https://github.com/grafana/oncall/pull/1995 ))
- Fix MultipleObjectsReturned error on webhook endpoints by @vadimkerr ([#1996 ](https://github.com/grafana/oncall/pull/1996 ))
2023-05-24 11:42:59 +01:00
- Remove user defined time period from "you're going oncall" mobile push by @iskhakov ([#2001 ](https://github.com/grafana/oncall/pull/2001 ))
2023-05-24 17:00:29 +08:00
2023-05-23 10:25:43 +01:00
## v1.2.27 (2023-05-23)
2023-05-22 13:20:06 +01:00
### Added
- Allow passing Firebase credentials via environment variable by @vadimkerr ([#1969 ](https://github.com/grafana/oncall/pull/1969 ))
2023-05-23 16:55:06 +08:00
### Changed
2023-05-23 16:54:34 +08:00
- Update default Alertmanager templates by @iskhakov ([#1944 ](https://github.com/grafana/oncall/pull/1944 ))
2023-05-22 13:20:06 +01:00
2023-05-22 20:16:31 +01:00
### Fixed
- Fix SQLite permission issue by @vadimkerr ([#1984 ](https://github.com/grafana/oncall/pull/1984 ))
2023-05-24 17:00:29 +08:00
- Remove user defined time period from "you're going oncall" mobile push ([2001 ](https://github.com/grafana/oncall/pull/2001 ))
2023-05-22 20:16:31 +01:00
2023-05-18 15:39:03 -03:00
## v1.2.26 (2023-05-18)
2023-05-18 18:35:36 +01:00
### Fixed
- Fix inbound email bug when attaching files by @vadimkerr ([#1970 ](https://github.com/grafana/oncall/pull/1970 ))
2023-05-18 17:16:10 +08:00
## v1.2.25 (2023-05-18)
### Added
- Test mobile push backend
2023-05-17 13:39:43 -06:00
## v1.2.24 (2023-05-17)
2023-05-17 14:48:45 +03:00
### Fixed
- Fixed bug in Escalation Chains where reordering an item crashed the list
2023-05-15 13:29:23 -04:00
## v1.2.23 (2023-05-15)
2023-05-12 11:44:09 -04:00
### Added
- Add a way to set a maintenance mode message and display this in the web plugin UI by @joeyorlando ([#1917 ](https://github.com/grafana/oncall/pull/#1917 ))
2023-05-15 17:32:06 +01:00
### Changed
- Use `user_profile_changed` Slack event instead of `user_change` to update Slack user profile by @vadimkerr ([#1938 ](https://github.com/grafana/oncall/pull/1938 ))
2023-05-12 14:30:10 +02:00
## v1.2.22 (2023-05-12)
2023-05-11 11:48:05 -04:00
2023-05-12 12:23:42 +02:00
### Added
- Add mobile settings for info notifications by @imtoori ([#1926 ](https://github.com/grafana/oncall/pull/1926 ))
2023-05-11 11:48:05 -04:00
### Fixed
- Fix bug in the "You're Going Oncall" push notification copy by @joeyorlando ([#1922 ](https://github.com/grafana/oncall/pull/1922 ))
2023-05-12 11:26:08 +08:00
- Fix bug with newlines in markdown converter ([#1925 ](https://github.com/grafana/oncall/pull/1925 ))
2023-05-12 13:56:12 +02:00
- Disable "You're Going Oncall" push notification by default ([1927 ](https://github.com/grafana/oncall/pull/1927 ))
2023-05-11 11:48:05 -04:00
2023-05-09 11:18:17 -06:00
## v1.2.21 (2023-05-09)
2023-05-03 17:24:10 -03:00
2023-05-04 12:59:57 -04:00
### Added
- Add a new mobile app push notification which notifies users when they are going on call by @joeyorlando ([#1814 ](https://github.com/grafana/oncall/pull/1814 ))
2023-05-09 10:28:47 -04:00
- Add a new mobile app user setting field, `important_notification_volume_override` by @joeyorlando ([#1893 ](https://github.com/grafana/oncall/pull/1893 ))
2023-05-04 12:59:57 -04:00
2023-05-03 17:24:10 -03:00
### Changed
- Improve ical comparison when checking for imported ical updates ([1870 ](https://github.com/grafana/oncall/pull/1870 ))
2023-05-05 11:32:40 -04:00
- Upgrade to Python 3.11.3 by @joeyorlando ([#1849 ](https://github.com/grafana/oncall/pull/1849 ))
2023-05-03 17:24:10 -03:00
2023-05-04 12:38:26 -04:00
### Fixed
- Fix issue with how OnCall determines if a cloud Grafana Instance supports RBAC by @joeyorlando ([#1880 ](https://github.com/grafana/oncall/pull/1880 ))
2023-05-05 15:09:25 -03:00
- Fix issue trying to set maintenance mode for integrations belonging to non-current team
2023-05-04 12:38:26 -04:00
2023-05-09 11:17:27 -06:00
## v1.2.20 (2023-05-09)
### Fixed
- Hotfix perform notification task
2023-05-04 17:48:10 +01:00
## v1.2.19 (2023-05-04)
### Fixed
- Fix issue with parsing response when sending Slack message
2023-05-03 17:13:33 +01:00
## v1.2.18 (2023-05-03)
### Added
- Documentation updates
2023-05-02 15:20:05 -06:00
## v1.2.17 (2023-05-02)
2023-05-02 13:50:03 +08:00
### Added
- Add filter descriptions to web ui by @iskhakov ([1845 ](https://github.com/grafana/oncall/pull/1845 ))
2023-05-02 08:19:34 -04:00
- Add "Notifications Receiver" RBAC role by @joeyorlando ([#1853 ](https://github.com/grafana/oncall/pull/1853 ))
### Changed
- Remove template editor from Slack by @iskhakov ([1847 ](https://github.com/grafana/oncall/pull/1847 ))
2023-05-02 14:16:03 -03:00
- Remove schedule name uniqueness restriction ([1859 ](https://github.com/grafana/oncall/pull/1859 ))
2023-05-02 13:50:03 +08:00
2023-05-02 16:57:52 +08:00
### Fixed
- Fix bugs in web title and message templates rendering and visual representation ([1747 ](https://github.com/grafana/oncall/pull/1747 ))
2023-04-27 09:48:21 -06:00
## v1.2.16 (2023-04-27)
2023-04-26 14:22:18 +12:00
### Added
2023-04-27 10:52:35 -04:00
- Add 2, 3 and 6 hours Alert Group silence options by @tommysitehost ([#1822 ](https://github.com/grafana/oncall/pull/1822 ))
2023-04-26 17:46:51 -03:00
- Add schedule related users endpoint to plugin API
2023-04-26 14:22:18 +12:00
2023-04-27 10:52:35 -04:00
### Changed
- Update web UI, Slack, and Telegram to allow silencing an acknowledged alert group by @joeyorlando ([#1831 ](https://github.com/grafana/oncall/pull/1831 ))
### Fixed
2023-04-26 02:16:29 -04:00
- Optimize duplicate queries occurring in AlertGroupFilter by @joeyorlando ([1809 ](https://github.com/grafana/oncall/pull/1809 ))
2023-04-24 08:25:44 -04:00
## v1.2.15 (2023-04-24)
2023-04-20 07:39:53 +02:00
### Fixed
- Helm chart: Fix helm hook for db migration job
2023-04-20 18:30:49 +02:00
- Performance improvements to `GET /api/internal/v1/alertgroups` endpoint by @joeyorlando and @iskhakov ([#1805 ](https://github.com/grafana/oncall/pull/1805 ))
2023-04-20 07:39:53 +02:00
2023-04-21 17:23:58 +03:00
### Added
- Add helm chart support for twilio existing secrets by @atownsend247 ([#1435 ](https://github.com/grafana/oncall/pull/1435 ))
2023-04-24 15:44:39 +08:00
- Add web_title, web_message and web_image_url attributes to templates ([1786 ](https://github.com/grafana/oncall/pull/1786 ))
2023-04-21 17:23:58 +03:00
2023-04-21 16:13:09 -03:00
### Changed
- Update shift API to use a default interval value (`1` ) when a `frequency` is set and no `interval` is given
2023-04-24 13:38:21 +08:00
- Limit number of alertmanager alerts in alert group to autoresolve by 500 ([1779 ](https://github.com/grafana/oncall/pull/1779 ))
2023-04-25 12:40:27 -03:00
- Update schedule and personal ical exports to use final shift events
2023-04-21 16:13:09 -03:00
2023-04-19 16:32:40 +01:00
## v1.2.14 (2023-04-19)
2023-04-19 16:22:14 +01:00
### Fixed
2023-04-19 16:32:40 +01:00
- Fix broken documentation links by @shantanualsi ([#1766 ](https://github.com/grafana/oncall/pull/1766 ))
2023-04-19 16:22:14 +01:00
- Fix bug when updating team access settings by @vadimkerr ([#1794 ](https://github.com/grafana/oncall/pull/1794 ))
2023-04-18 20:16:50 -06:00
## v1.2.13 (2023-04-18)
2023-04-18 14:07:11 -03:00
### Changed
- Rework ical schedule export to include final events; also improve changing shifts sync
2023-04-18 22:11:07 -03:00
### Fixed
- Fix issue when creating web overrides for TF schedules using a non-UTC timezone
2023-04-18 12:02:56 +02:00
## v1.2.12 (2023-04-18)
### Changed
- Move `alerts_alertgroup.is_restricted` column to `alerts_alertreceivechannel.restricted_at` by @joeyorlando ([#1770 ](https://github.com/grafana/oncall/pull/1770 ))
2023-04-17 12:22:05 +02:00
### Added
2023-04-18 12:55:55 +08:00
- Add new field description_short to private api ([#1698 ](https://github.com/grafana/oncall/pull/1698 ))
2023-04-18 10:53:53 +08:00
- Added preview and migration API endpoints for route migration from regex into jinja2 ([1715 ](https://github.com/grafana/oncall/pull/1715 ))
2023-04-17 12:22:05 +02:00
- Helm chart: add the option to use a helm hook for the migration job ([1386 ](https://github.com/grafana/oncall/pull/1386 ))
2023-04-18 11:31:49 +08:00
- Add endpoints to start and stop maintenance in alert receive channel private api ([1755 ](https://github.com/grafana/oncall/pull/1755 ))
2023-04-18 10:48:11 +08:00
- Send demo alert with dynamic payload and get demo payload example on private api ([1700 ](https://github.com/grafana/oncall/pull/1700 ))
2023-04-18 12:44:51 +08:00
- Add is_default fields to templates, remove WritableSerialiserMethodField ([1759 ](https://github.com/grafana/oncall/pull/1759 ))
2023-04-18 11:57:40 +08:00
- Allow use of dynamic payloads in alert receive channels preview template in private api ([1756 ](https://github.com/grafana/oncall/pull/1756 ))
2023-04-17 12:22:05 +02:00
2023-04-14 12:08:00 +02:00
## v1.2.11 (2023-04-14)
2023-04-11 12:23:55 +03:00
2023-04-14 09:15:57 +02:00
### Added
- add new columns `gcom_org_contract_type` , `gcom_org_irm_sku_subscription_start_date` ,
and `gcom_org_oldest_admin_with_billing_privileges_user_id` to `user_management_organization` table,
plus `is_restricted` column to `alerts_alertgroup` table by @joeyorlando and @teodosii ([1522 ](https://github.com/grafana/oncall/pull/1522 ))
- emit two new Django signals by @joeyorlando and @teodosii ([1522 ](https://github.com/grafana/oncall/pull/1522 ))
- `org_sync_signal` at the end of the `engine/apps/user_management/sync.py::sync_organization` method
- `alert_group_created_signal` when a new Alert Group is created
2023-04-14 09:18:34 +02:00
## v1.2.10 (2023-04-13)
2023-04-18 10:16:36 -03:00
### Added
- Added mine filter to schedules listing
2023-04-11 12:23:55 +03:00
### Fixed
- Fixed a bug in GForm's RemoteSelect where the value for Dropdown could not change
2023-04-12 17:44:27 +01:00
- Fixed the URL attached to an Incident created via the 'Declare Incident' button of a Slack alert by @sd2k ([#1738 ](https://github.com/grafana/oncall/pull/1738 ))
2023-04-11 12:23:55 +03:00
2023-04-13 14:18:01 -06:00
## v1.2.9 (2023-04-11)
### Fixed
- Catch the new Slack error - "message_limit_exceeded"
2023-04-06 13:41:29 +08:00
## v1.2.8 (2023-04-06)
2023-04-04 11:57:38 +08:00
### Changed
2023-04-05 14:39:30 +08:00
- Allow editing assigned team via public api ([1619 ](https://github.com/grafana/oncall/pull/1619 ))
2023-04-04 11:57:38 +08:00
- Disable mentions when resolution note is created by @iskhakov ([1696 ](https://github.com/grafana/oncall/pull/1696 ))
2023-04-04 11:59:53 +08:00
- Display warnings on users page in a clean and consistent way by @iskhakov ([#1681 ](https://github.com/grafana/oncall/pull/1681 ))
2023-04-04 11:57:38 +08:00
2023-04-03 11:50:55 +02:00
## v1.2.7 (2023-04-03)
2023-03-30 16:34:55 +01:00
2023-04-03 11:50:00 +02:00
### Added
2023-04-18 12:55:55 +08:00
- Save selected teams filter in local storage ([#1611 ](https://github.com/grafana/oncall/issues/1611 ))
2023-04-03 11:50:00 +02:00
### Changed
2023-03-31 12:54:01 +03:00
- Renamed routes from /incidents to /alert-groups ([#1678 ](https://github.com/grafana/oncall/pull/1678 ))
2023-03-30 16:34:55 +01:00
### Fixed
- Fix team search when filtering resources by @vadimkerr ([#1680 ](https://github.com/grafana/oncall/pull/1680 ))
2023-03-30 21:17:58 +03:00
- Fix issue when trying to scroll in Safari ([#415 ](https://github.com/grafana/oncall/issues/415 ))
2023-03-30 16:34:55 +01:00
2023-03-30 14:05:30 +02:00
## v1.2.6 (2023-03-30)
### Fixed
- Fixed bug when web schedules/shifts use non-UTC timezone and shift is deleted by @matiasb ([#1661 ](https://github.com/grafana/oncall/pull/1661 ))
2023-03-30 12:44:41 +01:00
## v1.2.5 (2023-03-30)
### Fixed
- Fixed a bug with Slack links not working in the plugin UI ([#1671 ](https://github.com/grafana/oncall/pull/1671 ))
2023-03-30 10:47:53 +01:00
## v1.2.4 (2023-03-30)
2023-03-28 12:57:40 +02:00
2023-03-30 12:43:00 +03:00
### Added
2023-03-30 10:47:53 +01:00
- Added the ability to change the team for escalation chains by @maskin25 , @iskhakov and @vadimkerr ([#1658 ](https://github.com/grafana/oncall/pull/1658 ))
2023-03-30 12:43:00 +03:00
2023-03-28 12:57:40 +02:00
### Fixed
- Addressed bug with iOS mobile push notifications always being set to critical by @imtoori and @joeyorlando ([#1646 ](https://github.com/grafana/oncall/pull/1646 ))
2023-03-28 17:04:42 +03:00
- Fixed issue where Viewer was not able to view which people were oncall in a schedule ([#999 ](https://github.com/grafana/oncall/issues/999 ))
2023-03-28 19:26:24 +01:00
- Fixed a bug with syncing teams from Grafana API by @vadimkerr ([#1652 ](https://github.com/grafana/oncall/pull/1652 ))
2023-03-28 12:57:40 +02:00
2023-03-28 13:33:51 +02:00
## v1.2.3 (2023-03-28)
Only some minor performance/developer setup changes to report in this version.
2023-03-27 15:28:39 +01:00
## v1.2.2 (2023-03-27)
2023-03-23 06:30:52 -05:00
### Changed
2023-03-27 15:28:39 +01:00
- Drawers with Forms are not closing by clicking outside of the drawer. Only by clicking Cancel or X (by @Ukochka in [#1608 ](https://github.com/grafana/oncall/pull/1608 ))
2023-03-23 15:51:17 +03:30
- When the `DANGEROUS_WEBHOOKS_ENABLED` environment variable is set to true, it's possible now to create Outgoing Webhooks
2023-03-27 15:28:39 +01:00
using URLs without a top-level domain (by @hoptical in [#1398 ](https://github.com/grafana/oncall/pull/1398 ))
- Updated wording when creating an integration (by @callmehyde in [#1572 ](https://github.com/grafana/oncall/pull/1572 ))
- Set FCM iOS/Android "message priority" to "high priority" for mobile app push notifications (by @joeyorlando in [#1612 ](https://github.com/grafana/oncall/pull/1612 ))
2023-03-27 12:03:16 +01:00
- Improve schedule quality feature (by @vadimkerr in [#1602 ](https://github.com/grafana/oncall/pull/1602 ))
2023-03-23 06:30:52 -05:00
2023-03-23 12:45:27 -03:00
### Fixed
2023-03-27 15:28:39 +01:00
- Update override deletion changes to set its final duration (by @matiasb in [#1599 ](https://github.com/grafana/oncall/pull/1599 ))
2023-03-23 12:45:27 -03:00
2023-03-23 11:49:38 +08:00
## v1.2.1 (2023-03-23)
### Changed
- Mobile app settings backend by @vadimkerr in ([1571 ](https://github.com/grafana/oncall/pull/1571 ))
- Fix integrations and escalations autoselect, improve GList by @maskin25 in ([1601 ](https://github.com/grafana/oncall/pull/1601 ))
- Add filters to outgoing webhooks 2 by @iskhakov in ([1598 ](https://github.com/grafana/oncall/pull/1598 ))
2023-03-22 00:57:20 +08:00
## 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 ](https://github.com/grafana/oncall/pull/1528 ))
2023-03-21 12:44:29 -03:00
## v1.1.41 (2023-03-21)
2023-03-16 17:43:49 +01:00
2023-03-17 11:14:08 +01:00
### Added
- Modified `check_escalation_finished_task` celery 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 ](https://github.com/grafana/oncall/pull/1266 ))
2023-03-16 17:43:49 +01:00
### Changed
2023-03-20 13:15:39 +01:00
- Updated wording throughout plugin to use 'Alert Group' instead of 'Incident' ([1565 ](https://github.com/grafana/oncall/pull/1565 ),
[1576 ](https://github.com/grafana/oncall/pull/1576 ))
2023-03-20 15:53:12 +01:00
- Check for enabled Telegram feature was added to ChatOps and to User pages ([319 ](https://github.com/grafana/oncall/issues/319 ))
2023-03-20 14:52:58 +01:00
- Filtering for Editors/Admins was added to rotation form. It is not allowed to assign Viewer to rotation ([1124 ](https://github.com/grafana/oncall/issues/1124 ))
2023-03-20 15:51:39 +01:00
- Modified search behaviour on the Escalation Chains page to allow for "partial searching" ([1578 ](https://github.com/grafana/oncall/pull/1578 ))
2023-03-16 09:40:50 +00:00
2023-03-16 08:48:11 -03:00
### Fixed
2023-03-20 11:36:04 +02:00
- Fixed a few permission issues on the UI ([1448 ](https://github.com/grafana/oncall/pull/1448 ))
2023-03-16 16:36:29 +01:00
- Fix resolution note rendering in Slack message threads where the Slack username was not
being properly rendered ([1561 ](https://github.com/grafana/oncall/pull/1561 ))
2023-03-16 08:48:11 -03:00
2023-03-16 17:43:49 +01:00
## v1.1.40 (2023-03-16)
### Fixed
- Check for duplicated positions in terraform escalation policies create/update
2023-03-16 10:18:49 +00:00
### Added
- Add `regex_match` Jinja filter ([1556 ](https://github.com/grafana/oncall/pull/1556 ))
2023-03-16 09:40:50 +00:00
### Changed
- Allow passing `null` as a value for `escalation_chain` when creating routes via the public API ([1557 ](https://github.com/grafana/oncall/pull/1557 ))
2023-03-16 15:06:58 +08:00
## v1.1.39 (2023-03-16)
### Added
2023-03-16 05:59:21 +00:00
- Inbound email integration ([837 ](https://github.com/grafana/oncall/pull/837 ))
2023-03-14 15:03:46 -03:00
## v1.1.38 (2023-03-14)
2023-03-14 14:38:18 +00:00
### Added
- Add filtering by escalation chain to alert groups page ([1535 ](https://github.com/grafana/oncall/pull/1535 ))
2023-03-14 14:21:46 -03:00
### Fixed
- Improve tasks checking/triggering webhooks in new backend
2023-03-14 12:40:02 +01:00
## v1.1.37 (2023-03-14)
2023-03-10 13:21:50 -03:00
2023-03-14 13:09:36 +01:00
### Fixed
- Fixed redirection issue on integrations screen
2023-03-10 13:21:50 -03:00
### Added
- Enable web overrides for Terraform-based schedules
2023-03-13 17:36:05 +03:00
- Direct user paging improvements ([1358 ](https://github.com/grafana/oncall/issues/1358 ))
2023-03-14 13:09:36 +01:00
- Added Schedule Score quality within the schedule view ([118 ](https://github.com/grafana/oncall/issues/118 ))
2023-03-10 13:21:50 -03:00
2023-03-09 13:45:24 +00:00
## v1.1.36 (2023-03-09)
2023-03-09 13:23:13 +00:00
### Fixed
- Fix bug with override creation ([1515 ](https://github.com/grafana/oncall/pull/1515 ))
2023-03-09 16:28:21 +08:00
## v1.1.35 (2023-03-09)
### Added
- Insight logs
2023-03-08 12:27:03 -03:00
### Fixed
- Fixed issue with Alert group involved users filter
2023-03-08 18:08:19 +01:00
- Fixed email sending failure due to newline in title
2023-03-08 12:27:03 -03:00
2023-03-08 20:18:37 +08:00
## v1.1.34 (2023-03-08)
2023-03-07 15:54:20 +00:00
2023-03-08 16:42:18 +08:00
### Added
- Jinja2 based routes ([1319 ](https://github.com/grafana/oncall/pull/1319 ))
2023-03-08 11:22:44 +01:00
### Changed
- Remove mobile app feature flag ([1484 ](https://github.com/grafana/oncall/pull/1484 ))
2023-03-07 15:54:20 +00:00
### Fixed
- Prohibit creating & updating past overrides ([1474 ](https://github.com/grafana/oncall/pull/1474 ))
2023-03-07 13:43:14 +00:00
## v1.1.33 (2023-03-07)
2023-03-02 17:32:59 +02:00
### Fixed
- Show permission error for accessing Telegram as Viewer ([1273 ](https://github.com/grafana/oncall/issues/1273 ))
2023-03-07 14:48:05 +04:00
### Changed
- Pass email and phone limits as environment variables ([1219 ](https://github.com/grafana/oncall/pull/1219 ))
2023-03-01 17:00:33 +00:00
## v1.1.32 (2023-03-01)
2023-03-01 15:30:01 +02:00
### Fixed
- Schedule filters improvements ([941 ](https://github.com/grafana/oncall/issues/941 ))
2023-03-01 16:28:40 +00:00
- Fix pagination issue on schedules page ([1437 ](https://github.com/grafana/oncall/pull/1437 ))
2023-03-01 15:30:01 +02:00
2023-03-01 17:05:25 +08:00
## v1.1.31 (2023-03-01)
### Added
- Add acknowledge_signal and source link to public api
2023-03-01 14:56:20 +08:00
## v1.1.30 (2023-03-01)
2023-02-24 13:14:45 +02:00
### Fixed
- Fixed importing of global grafana styles ([672 ](https://github.com/grafana/oncall/issues/672 ))
2023-02-24 16:27:11 +01:00
- Fixed UI permission related bug where Editors could not export their user iCal link
2023-02-24 17:54:20 -03:00
- Fixed error when a shift is created using Etc/UTC as timezone
2023-02-24 18:16:09 -03:00
- Fixed issue with refresh ical file task not considering empty string values
2023-02-27 19:27:11 +03:00
- Schedules: Long popup does not fit screen & buttons unreachable & objects outside of the popup ([1002 ](https://github.com/grafana/oncall/issues/1002 ))
- Can't scroll on integration settings page ([415 ](https://github.com/grafana/oncall/issues/415 ))
- Team change in the Integration page always causes 403 ([1292 ](https://github.com/grafana/oncall/issues/1292 ))
- Schedules: Permalink doesn't work with multi-teams ([940 ](https://github.com/grafana/oncall/issues/940 ))
- Schedules list -> expanded schedule blows page width ([1293 ](https://github.com/grafana/oncall/issues/1293 ))
2023-02-24 13:14:45 +02:00
2023-02-24 11:59:03 -03:00
### Changed
2023-02-24 08:53:35 -07:00
- Moved reCAPTCHA to backend environment variable for more flexible configuration between different environments.
2023-02-24 11:59:03 -03:00
- Add pagination to schedule listing
2023-02-28 14:12:56 +00:00
- Show 100 latest alerts on alert group page ([1417 ](https://github.com/grafana/oncall/pull/1417 ))
2023-02-24 11:59:03 -03:00
2023-02-23 13:55:22 +00:00
## v1.1.29 (2023-02-23)
2023-02-23 11:34:03 +00:00
### Changed
- Allow creating schedules with type "web" using public API
2023-02-23 14:23:57 +01:00
### 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
2023-02-23 15:47:43 +08:00
## v1.1.28 (2023-02-23)
### Fixed
- Fixed maintenance mode for Telegram and MSTeams
2023-02-22 07:42:17 +01:00
## v1.1.27 (2023-02-22)
2023-02-21 09:47:52 +01:00
2023-02-21 20:17:06 +01:00
### Added
2023-02-22 07:42:17 +01:00
- Added reCAPTCHA validation for requesting a mobile verification code
2023-02-21 20:17:06 +01:00
2023-02-21 09:47:52 +01:00
### Changed
2023-02-22 07:42:17 +01:00
- Added ratelimits for phone verification
2023-03-14 13:13:02 +01:00
- 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
2023-02-22 07:42:17 +01:00
### Fixed
- Fixed HTTP request to Google where when fetching an iCal, the response would sometimes contain HTML instead
of the expected iCal data
2023-02-21 09:47:52 +01:00
2023-02-20 19:06:50 +00:00
## v1.1.26 (2023-02-20)
### Fixed
- Make alert group filters persistent ([482 ](https://github.com/grafana/oncall/issues/482 ))
### Changed
- Update phone verification error message
2023-02-20 19:24:07 +08:00
## v1.1.25 (2023-02-20)
2023-02-20 11:42:44 +01:00
### Fixed
- Fixed too long declare incident link in Slack
2023-02-16 13:11:05 +00:00
## v1.1.24 (2023-02-16)
2023-02-06 15:59:36 +01:00
2023-02-16 10:49:37 +00:00
### Added
- Add direct user paging ([823 ](https://github.com/grafana/oncall/issues/823 ))
- Add App Store link to web UI ([1328 ](https://github.com/grafana/oncall/pull/1328 ))
2023-02-10 12:10:09 +01:00
2023-02-06 15:59:36 +01:00
### Fixed
2023-02-08 17:07:51 +01:00
- Cleaning of the name "Incident" ([704 ](https://github.com/grafana/oncall/pull/704 ))
- Alert Group/Alert Groups naming polishing. All the names should be with capital letters
2023-02-06 15:59:36 +01:00
- Design polishing ([1290 ](https://github.com/grafana/oncall/pull/1290 ))
- Not showing contact details in User tooltip if User does not have edit/admin access
2023-02-08 09:08:18 -03:00
- Updated slack link account to redirect back to user profile instead of chatops
2023-02-06 15:59:36 +01:00
2023-02-16 10:49:37 +00:00
### Changed
2023-02-07 13:28:58 +02:00
- Incidents - Removed buttons column and replaced status with toggler ([#1237 ](https://github.com/grafana/oncall/issues/1237 ))
- Responsiveness changes across multiple pages (Incidents, Integrations, Schedules) ([#1237 ](https://github.com/grafana/oncall/issues/1237 ))
2023-02-24 11:59:03 -03:00
- Add pagination to schedule listing
2023-02-07 13:28:58 +02:00
2023-02-06 14:28:12 +00:00
## v1.1.23 (2023-02-06)
2023-02-06 12:11:13 +00:00
### Fixed
- Fix bug with email case sensitivity for ICal on-call schedules ([1297 ](https://github.com/grafana/oncall/pull/1297 ))
2023-02-03 12:49:55 +00:00
## v1.1.22 (2023-02-03)
2023-02-03 17:05:08 +08:00
2023-02-03 13:38:48 +02:00
### Fixed
2023-02-03 12:49:55 +00:00
- Fix bug with root/dependant alert groups list api endpoint ([1284 ](https://github.com/grafana/oncall/pull/1284 ))
2023-02-03 13:38:48 +02:00
- Fixed NPE on teams switch
2023-02-03 17:05:08 +08:00
### Added
2023-02-03 12:49:55 +00:00
- Optimize alert and alert group public api endpoints and add filter by id ([1274 ](https://github.com/grafana/oncall/pull/1274 ))
2023-02-03 12:44:22 +00:00
- Enable mobile app backend by default on OSS
2023-02-03 17:05:08 +08:00
2023-02-02 14:55:02 +00:00
## v1.1.21 (2023-02-02)
2023-01-31 20:17:54 +01:00
### Added
- Add [`django-dbconn-retry` library ](https://github.com/jdelic/django-dbconn-retry ) to `INSTALLED_APPS` to attempt
to alleviate occasional `django.db.utils.OperationalError` errors
2023-02-02 11:37:52 +08:00
- Improve alerts and alert group endpoint response time in internal API with caching ([1261 ](https://github.com/grafana/oncall/pull/1261 ))
2023-02-03 17:05:08 +08:00
- Optimize alert and alert group public api endpoints and add filter by id ([1274 ](https://github.com/grafana/oncall/pull/1274 )
2023-02-02 14:55:22 +02:00
- Added Coming Soon for iOS on Mobile App screen
2023-01-31 20:17:54 +01:00
### Fixed
2023-02-02 10:34:40 +02:00
- Fix issue on Integrations where you were redirected back once escalation chain was loaded ([#1083 ](https://github.com/grafana/oncall/issues/1083 ))
([#1257 ](https://github.com/grafana/oncall/issues/1257 ))
2023-01-30 14:11:42 +01:00
## v1.1.20 (2023-01-30)
2023-01-25 09:42:42 +01:00
2023-01-30 09:08:18 -03:00
### Added
- Add involved users filter to alert groups listing page (+ mine shortcut)
2023-01-25 09:42:42 +01:00
### Changed
- Improve logging for creating contact point for Grafana Alerting integration
### Fixed
- Fix bugs related to creating contact point for Grafana Alerting integration
2023-01-30 11:23:02 +01:00
- 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
2023-01-27 17:40:41 +03:00
- Fixed NPE in ScheduleUserDetails component ([#1229 ](https://github.com/grafana/oncall/issues/1229 ))
2023-01-25 09:42:42 +01:00
2023-01-25 18:34:25 +08:00
## v1.1.19 (2023-01-25)
2023-01-20 09:06:27 -03:00
### Added
2023-01-30 13:34:35 +03:00
- Add Server URL below QR code for OSS for debugging purposes
2023-01-20 09:06:27 -03:00
- Add Slack slash command allowing to trigger a direct page via a manually created alert group
2023-01-24 18:13:21 +08:00
- Remove resolved and acknowledged filters as we switched to status ([#1201 ](https://github.com/grafana/oncall/pull/1201 ))
2023-01-24 13:44:07 +08:00
- Add sync with grafana on /users and /teams api calls from terraform plugin
2023-01-20 09:06:27 -03:00
2023-01-23 11:17:57 +00:00
### Changed
- Allow users with `viewer` role to fetch cloud connection status using the internal API ([#1181 ](https://github.com/grafana/oncall/pull/1181 ))
2023-01-24 11:21:11 +01:00
- When removing the Slack ChatOps integration, make it more explicit to the user what the implications of doing so are
2023-01-25 11:08:09 +01:00
- Improve performance of `GET /api/internal/v1/schedules` endpoint ([#1169 ](https://github.com/grafana/oncall/pull/1169 ))
2023-01-23 11:17:57 +00:00
2023-01-20 15:23:17 +01:00
### Fixed
- Removed duplicate API call, in the UI on plugin initial load, to `GET /api/internal/v1/alert_receive_channels`
2023-01-25 09:12:08 +08:00
- Increased plugin startup speed ([#1200 ](https://github.com/grafana/oncall/pull/1200 ))
2023-01-20 15:23:17 +01:00
2023-01-18 17:37:33 +00:00
## v1.1.18 (2023-01-18)
2023-01-18 15:52:25 +00:00
### Added
- Allow messaging backends to be enabled/disabled per organization ([#1151 ](https://github.com/grafana/oncall/pull/1151 ))
2023-01-18 16:08:15 +00:00
### Changed
- Send a Slack DM when user is not in channel ([#1144 ](https://github.com/grafana/oncall/pull/1144 ))
2023-01-18 15:50:23 +01:00
## v1.1.17 (2023-01-18)
### Changed
- Modified how the `Organization.is_rbac_permissions_enabled` flag is set,
2023-01-20 15:23:17 +01:00
based on whether we are dealing with an open-source, or cloud installation
2023-01-18 15:50:23 +01:00
- 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
2023-01-17 23:28:29 +13:00
### Added
- Added state filter for alert_group public API endpoint.
2023-01-18 15:50:23 +01:00
- 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
2023-01-17 23:28:29 +13:00
2023-01-12 17:49:56 +08:00
## v1.1.16 (2023-01-12)
2023-01-11 12:48:30 +01:00
### Fixed
- Minor bug fix in how the value of `Organization.is_rbac_permissions_enabled` is determined
2023-01-12 02:03:33 -05:00
- Helm chart: default values file and documentation now reflect the correct key to set for the Slack
slash command name, `oncall.slack.commandName` .
2023-01-10 10:37:52 +02:00
## v1.1.15 (2023-01-10)
### Changed
2023-01-18 15:50:23 +01:00
- Simplify and speed up slack rendering ([#1105 ](https://github.com/grafana/oncall/pull/1105 ))
- Faro - Point to 3 separate apps instead of just 1 for all environments ([#1110 ](https://github.com/grafana/oncall/pull/1110 ))
- Schedules - ([#1114 ](https://github.com/grafana/oncall/pull/1114 ), [#1109 ](https://github.com/grafana/oncall/pull/1109 ))
2023-01-10 10:37:52 +02:00
### Fixed
2023-01-18 15:50:23 +01:00
- Bugfix for topnavbar to place alerts inside PageNav ([#1040 ](https://github.com/grafana/oncall/pull/1040 ))
2023-01-10 10:37:52 +02:00
2023-01-05 17:58:40 +01:00
## v1.1.14 (2023-01-05)
2023-01-04 17:44:01 +00:00
### Changed
- Change wording from "incident" to "alert group" for the Telegram integration ([#1052 ](https://github.com/grafana/oncall/pull/1052 ))
2023-01-05 13:39:23 +08:00
- Soft-delete of organizations on stack deletion.
2023-01-04 17:44:01 +00:00
2023-01-04 09:09:51 +08:00
## v1.1.13 (2023-01-04)
### Added
2023-01-04 10:11:33 +08:00
- Integration with [Grafana Faro ](https://grafana.com/docs/grafana-cloud/faro-web-sdk/ ) for Cloud Instances
2023-01-04 09:09:51 +08:00
2023-01-03 14:07:32 -07:00
## v1.1.12 (2023-01-03)
### Fixed
2023-01-04 10:11:33 +08:00
- Handle jinja exceptions during alert creation
- Handle exception for slack rate limit message
2023-01-03 14:07:32 -07:00
2023-01-03 21:50:53 +08:00
## v1.1.11 (2023-01-03)
2023-01-03 21:09:00 +08:00
### Fixed
- Fix error when schedule was not able to load
- Minor fixes
2023-01-03 21:50:53 +08:00
## v1.1.10 (2023-01-03)
### Fixed
- Minor fixes
2023-01-03 19:46:12 +08:00
## v1.1.9 (2023-01-03)
### Fixed
- Alert group query optimization
- Update RBAC scopes
2023-01-03 21:07:36 +08:00
- Fix error when schedule was not able to load
2023-01-03 19:46:12 +08:00
- Minor bug fixes
2022-12-13 10:18:18 -03:00
## v1.1.8 (2022-12-13)
2022-12-13 13:00:59 +01:00
2022-12-14 09:36:35 +01:00
### Added
- Added a `make` command, `enable-mobile-app-feature-flags` , which sets the backend feature flag in `./dev/.env.dev` ,
and updates a record in the `base_dynamicsetting` database table, which are needed to enable the mobile
app backend features.
2022-12-13 13:00:59 +01:00
### Changed
2022-12-20 12:59:19 +00:00
- Added ability to change engine deployment update strategy via values in helm chart.
2022-12-13 13:00:59 +01:00
- removed APNS support
- changed the `django-push-notification` library from the `iskhakov` fork to the [`grafana` fork ](https://github.com/grafana/django-push-notifications ).
This new fork basically patches an issue which affected the database migrations of this django app (previously the
library would not respect the `USER_MODEL` setting when creating its tables and would instead reference the
`auth_user` table.. which we don't want)
- add `--no-cache` flag to the `make build` command
2022-12-13 10:16:59 -03:00
### Fixed
- fix schedule UI types and permissions
2022-12-09 15:16:33 -03:00
## 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)
2022-11-29 09:41:56 +01:00
### Added
- RBAC permission support
2022-12-01 14:13:39 +01:00
- Add `time_zone` serializer validation for OnCall shifts and calendar/web schedules. In addition, add database migration
to update values that may be invalid
2022-12-06 11:06:05 +01:00
- Add a `permalinks.web` field, which is a permalink to the alert group web app page, to the alert group internal/public
API responses
2022-12-07 10:10:10 +02:00
- Added the ability to customize job-migrate `ttlSecondsAfterFinished` field in the helm chart
2022-11-28 16:46:51 +00:00
### Fixed
2022-11-29 09:41:56 +01:00
2022-11-28 16:46:51 +00:00
- Got 500 error when saving Outgoing Webhook ([#890 ](https://github.com/grafana/oncall/issues/890 ))
2022-12-02 13:27:37 +01:00
- 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.
2022-11-28 16:46:51 +00:00
### Changed
2022-11-29 09:41:56 +01:00
2022-12-01 14:26:54 +01:00
- 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.
2022-11-29 09:41:56 +01:00
2022-11-24 14:03:14 +00:00
## v1.1.5 (2022-11-24)
2022-11-22 16:57:15 +01:00
### Added
2022-12-01 14:26:54 +01:00
- Added a QR code in the "Mobile App Verification" tab on the user settings modal to connect the mobile
application to your OnCall instance
2022-11-22 16:57:15 +01:00
2022-11-24 14:03:14 +00:00
### Fixed
- UI bug fixes for Grafana 9.3 ([#860 ](https://github.com/grafana/oncall/pull/860 ))
- Bug fix for saving source link template ([#898 ](https://github.com/grafana/oncall/pull/898 ))
2022-11-23 13:29:58 +01:00
## v1.1.4 (2022-11-23)
### Fixed
- Bug fix for [#882 ](https://github.com/grafana/oncall/pull/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
2022-11-22 11:27:41 -07:00
## v1.1.3 (2022-11-22)
- Bug Fixes
2022-11-21 16:26:00 +01:00
### Changed
2022-12-01 14:26:54 +01:00
- 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.dev` file)
- 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.
- For Helm installations, if you are running Grafana externally (eg. `grafana.enabled` is set to `false`
in your `values.yaml` ), you will now be required to specify `externalGrafana.url` in `values.yaml` .
- `make start` will now idempotently check to see if a "127.0.0.1 grafana" record exists in `/etc/hosts`
(using a tool called [`hostess` ](https://github.com/cbednarski/hostess )). This is to support using `http://grafana:3000`
as the `Organization.grafana_url` in two scenarios:
2022-11-21 16:26:00 +01:00
- `oncall_engine` /`oncall_celery` -> `grafana` Docker container communication
2022-12-01 14:26:54 +01:00
- public URL generation. There are some instances where `Organization.grafana_url` is referenced to generate public
URLs to a Grafana plugin page. Without the `/etc/hosts` record, navigating to `http://grafana:3000/some_page` in
your browser, you would obviously get an error from your browser.
2022-07-21 10:46:44 +01:00
2022-11-22 11:27:41 -07:00
## v1.1.2 (2022-11-18)
2022-11-18 17:39:23 +08:00
- Bug Fixes
2022-11-22 11:27:41 -07:00
## v1.1.1 (2022-11-16)
2022-11-16 19:11:13 +08:00
- Compatibility with Grafana 9.3.0
- Bug Fixes
2022-11-09 15:05:55 -03:00
## v1.0.52 (2022-11-09)
2022-11-03 12:42:36 -06:00
2022-10-18 16:12:57 -06:00
- Allow use of API keys as alternative to account auth token for Twilio
2022-11-09 13:53:59 +01:00
- Remove `grafana_plugin_management` Django app
2022-11-09 15:05:55 -03:00
- Enable new schedules UI
- Bug fixes
2022-10-18 16:12:57 -06:00
2022-11-05 00:44:55 -06:00
## v1.0.51 (2022-11-05)
- Bug Fixes
2022-11-03 15:33:34 -03:00
## v1.0.50 (2022-11-03)
- Updates to documentation
- Improvements to web schedules
- Bug fixes
2022-11-01 14:34:31 +00:00
## v1.0.49 (2022-11-01)
- Enable SMTP email backend by default
- Fix Grafana sidebar frontend bug
2022-11-01 19:03:01 +08:00
## v1.0.48 (2022-11-01)
2022-11-01 19:02:10 +08:00
- verify_number management command
- chatops page redesign
2022-11-01 19:03:01 +08:00
## v1.0.47 (2022-11-01)
2022-11-01 19:02:10 +08:00
- Bug fixes
2022-10-28 10:44:37 +02:00
## v1.0.46 (2022-10-28)
2022-10-27 13:52:03 +02:00
- Bug fixes
2022-10-28 10:44:37 +02:00
- remove `POST /api/internal/v1/custom_buttons/{id}/action` endpoint
2022-10-27 13:52:03 +02:00
2022-10-27 15:23:17 +02:00
## v1.0.45 (2022-10-27)
- Bug fix to revert commit which removed unused engine code
2022-10-27 16:02:05 +08:00
## v1.0.44 (2022-10-26)
2022-10-27 09:51:19 +02:00
- Bug fix for an issue that was affecting phone verification
2022-10-25 13:42:32 -06:00
## v1.0.43 (2022-10-25)
2022-10-27 09:51:19 +02:00
2022-10-25 13:42:32 -06:00
- Bug fixes
2022-10-24 16:32:53 +01:00
## v1.0.42 (2022-10-24)
2022-10-27 09:51:19 +02:00
2022-10-24 16:32:53 +01:00
- Fix posting resolution notes to Slack
2022-10-24 19:22:56 +08:00
## v1.0.41 (2022-10-24)
2022-10-27 09:51:19 +02:00
2022-10-24 19:22:56 +08:00
- Add personal email notifications
- Bug fixes
2022-10-05 14:55:33 -03:00
## v1.0.40 (2022-10-05)
2022-10-27 09:51:19 +02:00
2022-10-05 14:55:33 -03:00
- Improved database and celery backends support
- Added script to import PagerDuty users to Grafana
- Bug fixes
2022-10-03 11:18:49 -06:00
## v1.0.39 (2022-10-03)
- Fix issue in v1.0.38 blocking the creation of schedules and webhooks in the UI
2022-09-30 12:40:22 -06:00
## v1.0.38 (2022-09-30)
2022-09-28 16:59:57 +02:00
2022-09-30 12:40:22 -06:00
- 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
2022-09-28 16:59:57 +02:00
- Add `telegram` key to `permalinks` property in `AlertGroup` public API response schema
## v1.0.37 (2022-09-21)
2022-09-22 15:17:17 +02:00
2022-09-23 12:10:01 +01:00
- Improve API token creation form
- Fix alert group bulk action bugs
2022-09-22 15:17:17 +02:00
- Add `permalinks` property to `AlertGroup` public API response schema
2022-09-23 12:10:01 +01:00
- Scheduling system bug fixes
- Public API bug fixes
2022-09-22 15:17:17 +02:00
2022-09-12 10:20:08 -03:00
## v1.0.36 (2022-09-12)
2022-09-22 15:17:17 +02:00
2022-09-12 10:20:08 -03:00
- Alpha web schedules frontend/backend updates
- Bug fixes
2022-09-07 11:35:41 +01:00
## v1.0.35 (2022-09-07)
2022-09-22 15:17:17 +02:00
2022-09-07 11:35:41 +01:00
- Bug fixes
2022-09-06 20:18:03 +05:00
## v1.0.34 (2022-09-06)
2022-09-22 15:17:17 +02:00
2022-09-06 20:18:03 +05:00
- Fix schedule notification spam
2022-09-06 13:11:12 +01:00
## v1.0.33 (2022-09-06)
2022-09-22 15:17:17 +02:00
2022-09-06 13:11:12 +01:00
- Add raw alert view
- Add GitHub star button for OSS installations
- Restore alert group search functionality
- Bug fixes
2022-09-01 14:48:14 +01:00
## v1.0.32 (2022-09-01)
2022-09-22 15:17:17 +02:00
2022-09-01 14:48:14 +01:00
- Bug fixes
2022-09-01 16:22:58 +05:00
## v1.0.31 (2022-09-01)
2022-09-22 15:17:17 +02:00
2022-09-01 16:22:58 +05:00
- Bump celery version
- Fix oss to cloud connection
2022-08-31 12:29:56 -06:00
## v1.0.30 (2022-08-31)
2022-09-22 15:17:17 +02:00
2022-08-31 12:29:56 -06:00
- Bug fix: check user notification policy before access
2022-08-31 11:56:03 +01:00
## v1.0.29 (2022-08-31)
2022-09-22 15:17:17 +02:00
2022-08-31 11:56:03 +01:00
- Add arm64 docker image
## v1.0.28 (2022-08-31)
2022-09-22 15:17:17 +02:00
2022-08-31 11:56:03 +01:00
- Bug fixes
2022-08-30 14:31:04 +01:00
## v1.0.27 (2022-08-30)
2022-09-22 15:17:17 +02:00
2022-08-30 14:31:04 +01:00
- Bug fixes
2022-08-26 16:06:21 +05:00
## v1.0.26 (2022-08-26)
2022-09-22 15:17:17 +02:00
2022-08-26 16:06:21 +05:00
- Insight log's format fixes
- Remove UserNotificationPolicy auto-recreating
2022-08-24 16:16:27 -03:00
## v1.0.25 (2022-08-24)
2022-09-22 15:17:17 +02:00
2022-08-24 16:16:27 -03:00
- Bug fixes
2022-08-24 13:27:23 +05:00
## v1.0.24 (2022-08-24)
2022-09-22 15:17:17 +02:00
2022-08-24 13:27:04 +05:00
- Insight logs
- Default DATA_UPLOAD_MAX_MEMORY_SIZE to 1mb
2022-08-23 17:20:08 -03:00
## v1.0.23 (2022-08-23)
2022-09-22 15:17:17 +02:00
2022-08-23 17:20:08 -03:00
- Bug fixes
2022-08-16 09:47:23 -06:00
## v1.0.22 (2022-08-16)
2022-09-22 15:17:17 +02:00
2022-08-16 09:47:23 -06:00
- Make STATIC_URL configurable from environment variable
2022-08-12 10:23:15 -06:00
## v1.0.21 (2022-08-12)
2022-09-22 15:17:17 +02:00
2022-08-12 10:23:15 -06:00
- Bug fixes
2022-08-16 09:47:23 -06:00
2022-08-10 12:33:46 -03:00
## v1.0.19 (2022-08-10)
2022-09-22 15:17:17 +02:00
2022-08-10 12:33:46 -03:00
- Bug fixes
2022-08-03 12:54:36 +01:00
## v1.0.15 (2022-08-03)
2022-09-22 15:17:17 +02:00
2022-08-03 11:57:44 +01:00
- Bug fixes
2022-07-27 13:03:05 +01:00
## v1.0.13 (2022-07-27)
2022-09-22 15:17:17 +02:00
2022-07-27 13:03:05 +01:00
- Optimize alert group list view
- Fix a bug related to Twilio setup
2022-07-26 10:13:02 -03:00
## v1.0.12 (2022-07-26)
2022-09-22 15:17:17 +02:00
2022-07-26 10:13:02 -03:00
- 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
2022-07-22 15:24:24 +04:00
## v1.0.10 (2022-07-22)
2022-09-22 15:17:17 +02:00
2022-07-22 15:24:24 +04:00
- Speed-up of alert group web caching
- Internal api for OnCall shifts
2022-07-21 16:00:38 +01:00
## v1.0.9 (2022-07-21)
2022-09-22 15:17:17 +02:00
2022-07-21 10:46:44 +01:00
- Frontend bug fixes & improvements
- Support regex_replace() in templates
2022-07-21 16:00:38 +01:00
- Bring back alert group caching and list view
2022-06-03 08:09:47 -06:00
2022-07-18 16:21:15 +01:00
## v1.0.7 (2022-07-18)
2022-09-22 15:17:17 +02:00
2022-07-18 16:21:15 +01:00
- 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)
2022-09-22 15:17:17 +02:00
2022-07-12 14:15:46 +04:00
- Manual Incidents enabled for teams
- Fix phone notifications for OSS
- Public API improvements
2022-07-18 16:21:15 +01:00
## v1.0.5 (2022-07-06)
2022-09-22 15:17:17 +02:00
2022-07-18 16:21:15 +01:00
- Bump Django to 3.2.14
- Fix PagerDuty iCal parsing
2022-06-28 16:02:37 -03:00
## 1.0.4 (2022-06-28)
2022-09-22 15:17:17 +02:00
2022-06-28 16:02:37 -03:00
- Allow Telegram DMs without channel connection.
2022-06-27 13:42:24 +04:00
## 1.0.3 (2022-06-27)
2022-09-22 15:17:17 +02:00
2022-06-27 13:42:24 +04:00
- Fix users public api endpoint. Now it returns users with all roles.
- Fix redundant notifications about gaps in schedules.
- Frontend fixes.
2022-06-17 10:23:38 -06:00
## 1.0.2 (2022-06-17)
- Fix Grafana Alerting integration to handle API changes in Grafana 9
2022-12-01 14:26:54 +01:00
- Improve public api endpoint for outgoing webhooks (/actions) by adding ability to create, update and delete
outgoing webhook instance
2022-06-17 10:23:38 -06:00
## 1.0.0 (2022-06-14)
- First Public Release
2022-06-13 16:39:58 -06:00
## 0.0.71 (2022-06-06)
2022-06-28 16:02:37 -03:00
- Initial Commit Release