oncall-engine/engine/apps
Matias Bordese 5d383c7d1d
Trigger slack shift notifications on current shift change (#2080)
Before this change, a diff ical check (which happens with frequency with
imported ical), particularly with overrides in an API/terraform schedule
would trigger unexpected slack notifications because the prev vs current
ical comparison will flag a diff, but when comparing current and
previous shifts, `current_shifts` will have the shift in progress while
the `prev_shifts` calculated from the overrides-only diff will most of
the time be empty (unless you set/change an override at current time).

Simplified the checks to always compare previous current shifts (ie. the
ones in the schedule from the DB) vs the recalculated ones using the
(refreshed) ical data from the schedule.
2023-06-01 16:27:14 +00:00
..
alerts Trigger slack shift notifications on current shift change (#2080) 2023-06-01 16:27:14 +00:00
api Better english (#1959) 2023-06-01 12:37:37 +00:00
api_for_grafana_incident Include alert details in Grafana Incident alert-group endpoint (#1280) 2023-02-03 13:43:21 +00:00
auth_token Improve plugin authentication (#1995) 2023-05-23 16:13:25 +00:00
base Map country code to different Twilio resources (#1976) 2023-05-25 21:56:44 +00:00
email Change email message on_delete to not block organization delete (#2060) 2023-05-31 13:44:55 +00:00
grafana_plugin Improve plugin authentication (#1995) 2023-05-23 16:13:25 +00:00
heartbeat Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
integrations Add ratelimit for AmazonSNS (#2032) 2023-05-26 09:57:26 +00:00
metrics_exporter OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
mobile_app changed notification title and subtitle; removed body (#2027) 2023-05-26 12:52:09 +00:00
oss_installation Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
phone_notifications Fix status callbacks (#2014) 2023-05-25 13:53:58 +08:00
public_api Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
schedules Handle date values coming from ical in final schedule caching (#2025) 2023-05-25 18:17:09 +00:00
slack Fix orphaned messages in Slack (#2023) 2023-06-01 10:21:30 +00:00
social_auth Fix insight_logs exceptions (#1757) 2023-04-17 07:16:18 +00:00
telegram Fix SQLite permission issue (#1984) 2023-05-22 19:16:31 +00:00
twilioapp Map country code to different Twilio resources (#1976) 2023-05-25 21:56:44 +00:00
user_management OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
webhooks Webhook response check content length instead of header for length limit (#1900) 2023-05-09 13:55:05 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00