oncall-engine/engine/apps/slack
Joey Orlando cf949ac8fe
Revert "Revert slack org does not exist changes breaking escalate command (#2057)" (#2096)
# What this PR does

Closes https://github.com/grafana/oncall-private/issues/1836

- Revert "Revert slack org does not exist changes breaking escalate
command (#2057)" + add some unit tests to ensure we don't break the
`/escalate` command in the future
- cleanup how we destructure the `payload` dict in the endpoint handler

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [ ] 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-06 12:53:45 +00:00
..
migrations Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
models Fix orphaned messages in Slack (#2023) 2023-06-01 10:21:30 +00:00
representatives Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
scenarios Fix orphaned messages in Slack (#2023) 2023-06-01 10:21:30 +00:00
slack_client Add Slack Api error "message_limit_exceeded" to SlackAPIRateLimitException (#1721) 2023-04-11 12:49:19 +02:00
templates/admin World, meet OnCall! 2022-06-03 08:09:47 -06:00
tests Revert "Revert slack org does not exist changes breaking escalate command (#2057)" (#2096) 2023-06-06 12:53:45 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_slack_service.py Cleanup ScenarioStep (#1213) 2023-02-21 20:22:11 +01:00
constants.py Handle slack payload metadata limit in paging command (#2007) 2023-05-25 13:42:59 +00:00
slack_formatter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
tasks.py Fix ratelimit message: incident -> alert groups (#1481) 2023-03-09 03:37:16 +00:00
urls.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
utils.py Use formatted UTC time for fallback in slack message (#225) 2022-07-18 07:55:05 -06:00
views.py Revert "Revert slack org does not exist changes breaking escalate command (#2057)" (#2096) 2023-06-06 12:53:45 +00:00