oncall-engine/engine/apps
Innokentii Konstantinov 17f448c506
Prepare OnCall for Unified Slack App (#4232)
This PR does a bunch of changes to prepare OnCall for Unified Slack App:
1. Install Slack via Chatops-Proxy. This change contains two parts:
getting a Slack install link from chatops-proxy
([code](https://github.com/grafana/oncall/pull/4232/files#diff-437a77d49fc04b92d315651b3df5991000b1ab74cf60aabb21aa77cb2823bf52R46))
and receiving a "slack installed" event from chatops-proxy
([code](https://github.com/grafana/oncall/pull/4232/files#diff-976d106f0962be5c1de5e35582193f68435ed0c17f2defd6bd2857bf6e27f65d)).
Also it means that OnCall doesn't need to register slack_links anymore
when slack is connected/disconnected. These changes are behind
UNIFIED_SLACK_APP_ENABLED flag and should be no-op if flag is not
enabled.
2. Get rid of Multiregionatily restrictions - instrument all slack
interactions with a ProxyMeta - json data telling chatops-proxy where to
route the interaction. Note, that it doesn't apply for "Add to
resolution notes" message action - it will be handled differently in
following PR.
3. Move all chatops-proxy related stuff from common/oncall-gateway to
apps/chatops-proxy

Minor changes:
1. Remove usage of **CHATOPS_V3** flag. Chatops v3 is already released
(It's a refactoring from previous quarter)

---------

Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Rares Mardare <rares.mardare@grafana.com>
2024-06-03 09:07:10 +00:00
..
alerts Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
api Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Google OAuth2 flow + fetch Google Calendar OOO events (#4067) 2024-04-02 14:59:03 -04:00
base Add endpoint for organization config checks (#4204) 2024-04-11 14:51:56 +00:00
chatops_proxy Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
email Allow setting email app to use SSL instead of TLS (#3911) 2024-02-20 03:38:09 -05:00
google Update out of office task to not retry on HttpError (#4328) 2024-05-09 16:16:46 +00:00
grafana_plugin remove unnecessary CI step bash command (#4397) 2024-05-24 15:13:38 -04:00
heartbeat Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
integrations Add test for caching deleted integration, fix test wrap methods (#4173) 2024-04-05 20:35:38 +00:00
labels Support prescribed labels (#3848) 2024-02-20 14:42:51 +08:00
metrics_exporter Add service_name label to insight metrics (#4300) 2024-05-22 14:17:42 +00:00
mobile_app rename settings/ci-test.py to settings/ci_test.py (#4391) 2024-05-24 13:55:08 +00:00
oss_installation Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
phone_notifications Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
public_api Make type required when creating an escalation policy step (#4356) 2024-05-20 13:49:19 +00:00
schedules Update cached schedule users to consider deleted users (#4246) 2024-04-23 11:40:02 +00:00
slack Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
social_auth Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
telegram Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
twilioapp Update alert group state by backsync (#4089) 2024-03-27 12:37:01 +00:00
user_management Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
webhooks fix bad redirects (#4413) 2024-05-28 18:24:57 +00:00
zvonok Update alert group state by backsync (#4089) 2024-03-27 12:37:01 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00