Innokentii Konstantinov
4e8727d1a1
New ical comparision func ( #480 )
...
* New ical comparision func
* Add support for field `sequence` for custom on-call shifts
* Fix ical comparison
* New ical comparision func 2
* fix
* Revert "Add support for field `sequence` for custom on-call shifts"
This reverts commit b7b18d5a
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
2022-09-06 19:12:10 +05:00
Vadim Stepanov
afe13550da
Alert group search ( #488 )
...
* use web title template to render alert group verbose name
* remove group_verbose_name from tests
* clean up group_verbose_name
* remove verbose_name from API & plugin
* verbose_name migration
* update verbose name on web title template change
* use long queue for updating verbose name
* use first alert for updating verbose name
* improve batch_ids
* fix update_verbose_name
* post-review fixes
* post-review fixes
2022-09-06 11:30:12 +01:00
Matias Bordese
b5a892a9c2
Merge pull request #381 from grafana/matiasb/fix-final-schedule-event-splitting
...
Fixes for final event calculation when splitting/combining events
2022-09-05 10:10:11 -03:00
Matias Bordese
8ff2f41550
Add comment about possible missing rrule in get_rotation_date
2022-09-05 09:48:02 -03:00
Matias Bordese
7fd0e5ecf7
Skip empty events in final schedule
2022-09-02 16:45:35 -03:00
Matias Bordese
37eefe8e08
Allow empty users when previewing a web schedule shift
2022-09-02 16:45:35 -03:00
Matias Bordese
2a058b4acc
Fix issue post-refactoring
2022-09-02 16:45:35 -03:00
Matias Bordese
84dd4eebf5
Update shift preview to reuse shift PK when previewing update
2022-09-02 16:45:35 -03:00
Matias Bordese
c84f53c2b7
Handle shift previews for rotation updates
2022-09-02 16:45:35 -03:00
Matias Bordese
11175e27e5
Combine same-shift schedule events early
2022-09-02 16:45:35 -03:00
Matias Bordese
bfe0ab2d1e
Fix higher priority overlapping multiple same-start events
2022-09-02 16:45:35 -03:00
Matias Bordese
5d9ce99631
Refactoring schedules _resolve_schedule method
2022-09-02 16:45:35 -03:00
Matias Bordese
d771caa999
Fix for final event calculation when splitting events
2022-09-02 16:45:35 -03:00
Matias Bordese
c9ea6e4728
Add web_schedules feature flag
2022-09-02 15:37:33 -03:00
Yulya Artyukhina
dc19586da5
Merge pull request #372 from grafana/on-call-shifts-update-logic
...
Update calculation web schedule events start and end dates with respect to rotation_start and until
2022-09-02 17:59:42 +03:00
Vadim Stepanov
1207ea0fb4
Revert "Bump libs in requirements.txt" ( #470 )
2022-09-02 15:44:19 +01:00
Julia
7d869f7ff9
Merge branch 'dev' into on-call-shifts-update-logic
2022-09-02 17:19:53 +03:00
Vadim Stepanov
2fdce0504b
Improve version mismatch warning ( #469 )
2022-09-02 15:16:00 +01:00
Yulya Artyukhina
4ada990ba4
Merge pull request #432 from grafana/fix-getting-rotation-start-date
...
Fix events start date calculation
2022-09-02 17:13:38 +03:00
Ildar Iskhakov
06e35c1ca2
Merge pull request #459 from grafana/iskhakov/bump-lib
...
Bump libs in requirements.txt
2022-09-02 10:37:02 +03:00
Vadim Stepanov
cc67d49047
Remove outdated tasks & DynamicSettingsManager ( #465 )
2022-09-01 17:50:17 +01:00
Michael Derynck
1d3cb8761e
Merge pull request #461 from grafana/fix-slack-message-blocks
...
Remove unused footer/duplicate block_id from post message to channel
2022-09-01 07:40:46 -06:00
Vadim Stepanov
5f69350679
Handle JSONDecodeError for outgoing webhooks ( #460 )
2022-09-01 14:36:34 +01:00
Michael Derynck
5ad172f704
Remove unused footer/duplicate block_id from post message to channel
2022-09-01 07:29:57 -06:00
Ildar Iskhakov
9c5ce34880
Bump libs in requirements.txt
2022-09-01 15:09:51 +03:00
Ildar Iskhakov
3394def43e
Merge pull request #455 from grafana/iskhakov/bump-celery
...
Iskhakov/bump celery
2022-09-01 14:03:03 +03:00
Innokentii Konstantinov
f6f29b061e
Add logging
2022-09-01 16:02:53 +05:00
Ildar Iskhakov
27afa18e6d
Change flags position for celery 5
2022-09-01 13:54:19 +03:00
Ildar Iskhakov
4f6968fc4b
Bump celery version, telegram version ( #454 )
...
* Bump celery version, telegram version
* Bump kombu version
2022-09-01 11:37:52 +01:00
Ildar Iskhakov
7fa26b1664
Bump kombu version
2022-09-01 13:03:05 +03:00
Ildar Iskhakov
6c7193f11a
Bump celery version, telegram version
2022-09-01 12:56:06 +03:00
Innokentii Konstantinov
b119f4a094
Merge pull request #453 from grafana/fix_cloud_url
...
Fix GRAFANA_CLOUD_ONCALL_API_URL
2022-09-01 14:52:55 +05:00
Innokentii Konstantinov
ba1dfd853f
Fix GRAFANA_CLOUD_ONCALL_API_URL
2022-08-31 14:27:12 +05:00
Michael Derynck
53b9bb638c
Check if notification policies is empty
2022-08-30 15:29:10 -06:00
Michael Derynck
c26158ba9d
Check if notification policies is empty
2022-08-30 15:26:04 -06:00
Matias Bordese
6339b13a2f
Merge pull request #423 from grafana/matiasb/unlink-slack-account
...
Add unlink slack account option to profile
2022-08-30 10:57:36 -03:00
Julia
36ce64b57a
Revert changes in events start date calculation, fix bug with getting wrong events start date
2022-08-30 16:43:36 +03:00
Innokentii Konstantinov
45a2d46405
Fix deletion of public api tokens ( #422 )
2022-08-30 14:25:19 +01:00
Matias Bordese
6b2dad72d6
Add insight log entry
2022-08-30 09:55:57 -03:00
Matias Bordese
a8124b6afe
Add unlink slack account option to profile
2022-08-29 14:41:26 -03:00
Matias Bordese
363e90c861
Fix custom on call shift test
2022-08-29 14:33:19 -03:00
Innokentii Konstantinov
b703130dcb
Revert "Fix GRAFANA_CLOUD_ONCALL_API_URL"
...
This reverts commit fb67003f1e .
2022-08-29 17:36:27 +05:00
Innokentii Konstantinov
fb67003f1e
Fix GRAFANA_CLOUD_ONCALL_API_URL
2022-08-29 17:34:27 +05:00
Innokentii Konstantinov
76901a564b
Handle case when user somehow deleted all their notification policies
2022-08-26 14:26:01 +05:00
Innokentii Konstantinov
356aa336ad
Remove auto-recreating logic for UserNotificationPolicy ( #414 )
...
* Remove auto-recreating logic for UserNotificationPolicy
It's removed to get rid of select_for_update on User on each notify_user_task
* Fix and add tests
* remove get_user_policies method
2022-08-26 13:46:50 +05:00
Innokentii Konstantinov
434fe17617
user_id -> linked_user_id ( #410 )
2022-08-25 13:34:19 +05:00
Vadim Stepanov
b32d24a85e
Generate unique distinction for alert groups with broken templates / unrenderable distinction ( #405 )
...
* Generate unique distinction for alert groups with broken templates
* insert_demo_uuid -> insert_random_uuid
2022-08-24 16:40:10 +01:00
Vadim Stepanov
eba799abb4
Handle Telegram BadRequest ( #404 )
2022-08-24 15:35:01 +01:00
Innokentii Konstantinov
8730a8c7e4
use insight instead of insight_logs
2022-08-24 13:39:05 +05:00
Innokentii Konstantinov
4765c9b07c
Insight logs ( #348 )
...
* Entity events insight logs
* Insight logging
* Fix event for updating templates
* Format fixes
* Remove organization_log_type.py
* Simplify signature of chatops_insight_log
* insight logs formatting
* Add possibility to enable all insight logging via DynamicSetting
* Fixes
* Style fixes
* Add migration
* Fix migration
2022-08-24 12:04:44 +05:00