oncall-engine/engine/apps/slack
Joey Orlando c5cd675738
cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544)
# What this PR does

- removes unused "custom button" backend code now that we've migrated to
outgoing webhooks
- adds new e2e test for webhooks asserting that an `ngrok`/`express`
webhook handler receives the call as expected + payload is as expected
(related to https://github.com/grafana/oncall/issues/2691) - skipped for
now, the test passes locally but fails on GitHub Actions CI, seems to be
networking related
 
## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)

---------

Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
2024-03-28 15:37:22 +00:00
..
migrations Fix Slack access token length issue (#3016) 2023-09-13 11:53:17 +01:00
models attempt to address some SlackAPIRatelimitError exceptions (#3820) 2024-02-01 14:47:12 -05:00
representatives cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
scenarios cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
tests Check for permissions on Slack escalate command (#3891) 2024-02-14 19:02:09 +00:00
types Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_slack_service.py Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
client.py Update when slack client ratelimit retry handler is enabled (#3447) 2023-11-30 12:35:46 +00:00
constants.py Truncate resolution note text in slack message to satisfy block limits (#3351) 2023-11-16 13:15:04 +00:00
errors.py Update slack user group update not to retry on some errors (#3363) 2023-11-16 13:41:42 +00:00
slack_formatter.py Fix alert group rendering (#3424) 2023-11-24 15:39:37 +00:00
tasks.py fix slack API rate limit errors in send_message_to_thread_if_bot_not_in_channel task (#3803) 2024-01-31 13:42:52 -05:00
test_slack_message.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
urls.py Slack and telegram routes to test chatops-proxy v3 (#3723) 2024-01-22 13:48:19 +08:00
utils.py attempt to address some SlackAPIRatelimitError exceptions (#3820) 2024-02-01 14:47:12 -05:00
views.py remove manual alert group (/oncall) slack slash command + force_route_id (#3790) 2024-01-30 17:28:23 -05:00