Commit graph

307 commits

Author SHA1 Message Date
Julia
f24aacfddc Fix rotation index calculation 2022-09-08 12:51:39 +03:00
Julia
e029464fa2 Update calculating rotation index for updated shift, fix schedule preview with respect to rotation index 2022-09-07 19:02:24 +03:00
Julia
9f71b5d72f Merge branch 'dev' into on-call-shifts-rotation-index 2022-09-07 18:54:39 +03:00
Matias Bordese
026474b43b
Merge pull request #486 from grafana/matiasb/update-preview-shift-pk-reuse
Update web schedule shift preview PK reusing logic
2022-09-07 11:35:34 -03:00
Matias Bordese
a7c44b4c08 Update preview to keep final behavior when changing a future shift 2022-09-07 11:23:40 -03:00
Matias Bordese
02326d81fa
Merge pull request #485 from grafana/matiasb/schedules-related-escalation-chains
Add related escalation chains details to schedule API
2022-09-07 11:17:05 -03:00
Matias Bordese
5a68847557 Refactoring schedule API annotations 2022-09-07 11:12:38 -03:00
Michael Derynck
c83b769023
Merge pull request #497 from grafana/switch-org-title-to-stack-slug
Use stack-slug instead of org-title
2022-09-07 08:00:04 -06:00
Matias Bordese
0a9c9eb59a
Merge pull request #487 from grafana/matiasb/next-shifts-per-user-list-all
Update next shifts per user to list all (web) schedule users
2022-09-07 10:26:28 -03:00
Matias Bordese
f929d18d6e
Merge pull request #496 from grafana/matiasb/events-fallback-rotation-id
Add rotation ID fallback for ical events
2022-09-07 10:10:47 -03:00
Matias Bordese
b48aadc01c
Merge pull request #473 from grafana/matiasb/fix-update-channel-filter-api-multiple-backends
Fix channel filter updates when there are multiple backends
2022-09-06 17:14:07 -03:00
Michael Derynck
c8fc19b402 Use stack-slug instead of org-title 2022-09-06 13:45:34 -06:00
Matias Bordese
1a133d33ff Add rotation ID fallback for ical events 2022-09-06 15:33:58 -03:00
Michael Derynck
a8fd2d96e2
Merge pull request #467 from grafana/retrying-tasks-fixes
Handle exceptions on some retrying tasks
2022-09-06 09:20:24 -06:00
Innokentii Konstantinov
66be6378f3 Style fix 2022-09-06 19:43:48 +05:00
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
Julia
5c0d0ace3e Remove user group rotation reordering 2022-09-06 12:59:38 +03:00
Matias Bordese
d74f4cc2be Update next shifts per user to list all (web) schedule users 2022-09-05 17:23:35 -03:00
Matias Bordese
c413c54329 Update web schedule shift preview PK reusing logic 2022-09-05 15:50:58 -03:00
Matias Bordese
b41fec5439 Add related escalation chains details to schedule API 2022-09-05 15:00:14 -03: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
Julia
a444fe260c Add tests for rotation index 2022-09-05 13:37:52 +03:00
Michael Derynck
c3b054ae61 Retry on exception first 5 times 2022-09-02 15:03:08 -06: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
Matias Bordese
ecbc3ea778 Fix channel filter updates when there are multiple backends 2022-09-02 14:26:47 -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
Michael Derynck
0ef2cbf77b Fix message typo 2022-09-01 11:41:52 -06:00
Michael Derynck
50dc7d6240 Handle a exceptions on some retrying tasks 2022-09-01 11:39:47 -06: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